(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+KNX":function(e){e.exports=JSON.parse('{"name":"@aws-sdk/client-cognito-identity","description":"AWS SDK for JavaScript Cognito Identity Client for Node.js, Browser and React Native","version":"1.0.0-rc.4","scripts":{"clean":"npm run remove-definitions && npm run remove-dist","build-documentation":"npm run clean && typedoc ./","prepublishOnly":"yarn build","pretest":"yarn build:cjs","remove-definitions":"rimraf ./types","remove-dist":"rimraf ./dist","remove-documentation":"rimraf ./docs","test:unit":"mocha **/cjs/**/*.spec.js","test:e2e":"mocha **/cjs/**/*.ispec.js && karma start karma.conf.js","test":"yarn test:unit","build:cjs":"tsc -p tsconfig.json","build:es":"tsc -p tsconfig.es.json","build":"yarn build:cjs && yarn build:es"},"main":"./dist/cjs/index.js","types":"./types/index.d.ts","module":"./dist/es/index.js","browser":{"./runtimeConfig":"./runtimeConfig.browser"},"react-native":{"./runtimeConfig":"./runtimeConfig.native"},"sideEffects":false,"dependencies":{"@aws-crypto/sha256-browser":"^1.0.0","@aws-crypto/sha256-js":"^1.0.0","@aws-sdk/config-resolver":"1.0.0-rc.3","@aws-sdk/credential-provider-node":"1.0.0-rc.3","@aws-sdk/fetch-http-handler":"1.0.0-rc.3","@aws-sdk/hash-node":"1.0.0-rc.3","@aws-sdk/invalid-dependency":"1.0.0-rc.3","@aws-sdk/middleware-content-length":"1.0.0-rc.3","@aws-sdk/middleware-host-header":"1.0.0-rc.3","@aws-sdk/middleware-logger":"1.0.0-rc.4","@aws-sdk/middleware-retry":"1.0.0-rc.4","@aws-sdk/middleware-serde":"1.0.0-rc.3","@aws-sdk/middleware-signing":"1.0.0-rc.3","@aws-sdk/middleware-stack":"1.0.0-rc.4","@aws-sdk/middleware-user-agent":"1.0.0-rc.3","@aws-sdk/node-config-provider":"1.0.0-rc.3","@aws-sdk/node-http-handler":"1.0.0-rc.3","@aws-sdk/protocol-http":"1.0.0-rc.3","@aws-sdk/smithy-client":"1.0.0-rc.4","@aws-sdk/types":"1.0.0-rc.3","@aws-sdk/url-parser-browser":"1.0.0-rc.3","@aws-sdk/url-parser-node":"1.0.0-rc.3","@aws-sdk/util-base64-browser":"1.0.0-rc.3","@aws-sdk/util-base64-node":"1.0.0-rc.3","@aws-sdk/util-body-length-browser":"1.0.0-rc.3","@aws-sdk/util-body-length-node":"1.0.0-rc.3","@aws-sdk/util-user-agent-browser":"1.0.0-rc.3","@aws-sdk/util-user-agent-node":"1.0.0-rc.3","@aws-sdk/util-utf8-browser":"1.0.0-rc.3","@aws-sdk/util-utf8-node":"1.0.0-rc.3","tslib":"^2.0.0"},"devDependencies":{"@aws-sdk/client-documentation-generator":"1.0.0-rc.3","@aws-sdk/client-iam":"1.0.0-rc.4","@types/chai":"^4.2.11","@types/mocha":"^7.0.2","@types/node":"^12.7.5","jest":"^26.1.0","rimraf":"^3.0.0","typedoc":"^0.17.8","typescript":"~4.0.2"},"engines":{"node":">=10.0.0"},"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","homepage":"https://github.com/aws/aws-sdk-js-v3/tree/master/clients/client-cognito-identity","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"clients/client-cognito-identity"}}')},"+qE3":function(e,t,n){"use strict";var i,r="object"==typeof Reflect?Reflect:null,s=r&&"function"==typeof r.apply?r.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};i=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise(function(n,i){function r(){void 0!==s&&e.removeListener("error",s),n([].slice.call(arguments))}var s;"error"!==t&&(s=function(n){e.removeListener(t,r),i(n)},e.once("error",s)),e.once(t,r)})},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var l=10;function c(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function d(e,t,n,i){var r,s,a;if(c(n),void 0===(s=e._events)?(s=e._events=Object.create(null),e._eventsCount=0):(void 0!==s.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),s=e._events),a=s[t]),void 0===a)a=s[t]=n,++e._eventsCount;else if("function"==typeof a?a=s[t]=i?[n,a]:[a,n]:i?a.unshift(n):a.push(n),(r=u(e))>0&&a.length>r&&!a.warned){a.warned=!0;var o=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");o.name="MaxListenersExceededWarning",o.emitter=e,o.type=t,o.count=a.length,console&&console.warn&&console.warn(o)}return e}function h(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,n){var i={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},r=h.bind(i);return r.listener=n,i.wrapFn=r,r}function f(e,t,n){var i=e._events;if(void 0===i)return[];var r=i[t];return void 0===r?[]:"function"==typeof r?n?[r.listener||r]:[r]:n?function(e){for(var t=new Array(e.length),n=0;n0&&(a=t[0]),a instanceof Error)throw a;var o=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw o.context=a,o}var l=r[e];if(void 0===l)return!1;if("function"==typeof l)s(l,this,t);else{var c=l.length,u=_(l,c);for(n=0;n=0;s--)if(n[s]===t||n[s].listener===t){a=n[s].listener,r=s;break}if(r<0)return this;0===r?n.shift():function(e,t){for(;t+1=0;i--)this.removeListener(e,t[i]);return this},o.prototype.listeners=function(e){return f(this,e,!0)},o.prototype.rawListeners=function(e){return f(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},o.prototype.listenerCount=m,o.prototype.eventNames=function(){return this._eventsCount>0?i(this._events):[]}},"+rSW":function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return s});var i="aws-amplify/3.8.10",r={userAgent:i+" js",product:"",navigator:null,isReactNative:!1};if("undefined"!=typeof navigator&&navigator.product)switch(r.product=navigator.product||"",r.navigator=navigator||null,navigator.product){case"ReactNative":r.userAgent=i+" react-native",r.isReactNative=!0;break;default:r.userAgent=i+" js",r.isReactNative=!1}var s=function(){return r.userAgent}},"+s0g":function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"+tRG":function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("mB6T"),r={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize"},s=function(e){return{applyToStack:function(e){e.add(function(e,t){return function(n){return Object(i.__awaiter)(void 0,void 0,void 0,function(){var r,s,a,o;return Object(i.__generator)(this,function(i){switch(i.label){case 0:return r=t.logger,[4,e(n)];case 1:return s=i.sent(),r?(a=s.response,"function"==typeof r.info&&r.info({metadata:{statusCode:a.statusCode,requestId:null!==(o=a.headers["x-amzn-requestid"])&&void 0!==o?o:a.headers["x-amzn-request-id"],extendedRequestId:a.headers["x-amz-id-2"],cfId:a.headers["x-amz-cf-id"]}}),[2,s]):[2,s]}})})}},r)}}}},"//9w":function(e,t,n){!function(e){"use strict";e.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"/X5v":function(e,t,n){!function(e){"use strict";e.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},0:function(e,t,n){e.exports=n("uzFj")},"0mo+":function(e,t,n){!function(e){"use strict";var t={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},n={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};e.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(e){return e.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===t&&e>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===t&&e<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===t?e+12:e},meridiem:function(e,t,n){return e<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":e<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":e<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":e<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(n("wd/R"))},"0tRk":function(e,t,n){!function(e){"use strict";e.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(n("wd/R"))},"1ppg":function(e,t,n){!function(e){"use strict";e.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n("wd/R"))},"1rYy":function(e,t,n){!function(e){"use strict";e.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(e){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(e)},meridiem:function(e){return e<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":e<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":e<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-\u056b\u0576":e+"-\u0580\u0564";default:return e}},week:{dow:1,doy:7}})}(n("wd/R"))},"1xZ4":function(e,t,n){!function(e){"use strict";e.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n("wd/R"))},"2Lx6":function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i={},r=function(){function e(){}return e.setItem=function(e,t){return i[e]=t,i[e]},e.getItem=function(e){return Object.prototype.hasOwnProperty.call(i,e)?i[e]:void 0},e.removeItem=function(e){return delete i[e]},e.clear=function(){return i={}},e}(),s=function(){function e(){try{this.storageWindow=window.localStorage,this.storageWindow.setItem("aws.amplify.test-ls",1),this.storageWindow.removeItem("aws.amplify.test-ls")}catch(e){this.storageWindow=r}}return e.prototype.getStorage=function(){return this.storageWindow},e}()},"2SVd":function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},"2XnK":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("mB6T");function r(e){var t,n,r={};if(e=e.replace(/^\?/,""))try{for(var s=Object(i.__values)(e.split("&")),a=s.next();!a.done;a=s.next()){var o=a.value,l=Object(i.__read)(o.split("="),2),c=l[0],u=l[1],d=void 0===u?null:u;c=decodeURIComponent(c),d&&(d=decodeURIComponent(d)),c in r?Array.isArray(r[c])?r[c].push(d):r[c]=[r[c],d]:r[c]=d}}catch(h){t={error:h}}finally{try{a&&!a.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}return r}},"2fjn":function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(n("wd/R"))},"2ykv":function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"3E1r":function(e,t,n){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},i=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];e.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:i,longMonthsParse:i,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924"===t?e<4?e:e+12:"\u0938\u0941\u092c\u0939"===t?e:"\u0926\u094b\u092a\u0939\u0930"===t?e>=10?e:e+12:"\u0936\u093e\u092e"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0930\u093e\u0924":e<10?"\u0938\u0941\u092c\u0939":e<17?"\u0926\u094b\u092a\u0939\u0930":e<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(n("wd/R"))},"3tHY":function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("mB6T"),r=n("TARy");function s(e){var t,n,s=[];try{for(var a=Object(i.__values)(Object.keys(e).sort()),o=a.next();!o.done;o=a.next()){var l=o.value,c=e[l];if(l=Object(r.a)(l),Array.isArray(c))for(var u=0,d=c.length;u=10?e:e+12:"\u0ab8\u0abe\u0a82\u0a9c"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0ab0\u0abe\u0aa4":e<10?"\u0ab8\u0ab5\u0abe\u0ab0":e<17?"\u0aac\u0aaa\u0acb\u0ab0":e<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(n("wd/R"))},"4abu":function(e,t,n){"use strict";const i="[:A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*",r=new RegExp("^"+i+"$");t.isExist=function(e){return void 0!==e},t.isEmptyObject=function(e){return 0===Object.keys(e).length},t.merge=function(e,t,n){if(t){const i=Object.keys(t),r=i.length;for(let s=0;s>>((3&t)<<3)&255;return r}}},"5oMp":function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},"6+QB":function(e,t,n){!function(e){"use strict";e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},"6B0Y":function(e,t,n){!function(e){"use strict";var t={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},n={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};e.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(e){return"\u179b\u17d2\u1784\u17b6\u1785"===e},meridiem:function(e,t,n){return e<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(e){return e.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},week:{dow:1,doy:4}})}(n("wd/R"))},"6MUB":function(e,t,n){"use strict";var i=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,r){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map(function(r){var s=encodeURIComponent(i(r))+n;return Array.isArray(e[r])?e[r].map(function(e){return s+encodeURIComponent(i(e))}).join(t):s+encodeURIComponent(i(e[r]))}).join(t):r?encodeURIComponent(i(r))+n+encodeURIComponent(i(e)):""}},"7BjC":function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[e+" minuti",e+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[e+" tunni",e+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[e+" kuu",e+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[e+" aasta",e+" aastat"]};return t?r[n][2]?r[n][2]:r[n][1]:i?r[n][0]:r[n][1]}e.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d p\xe4eva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"7C5Q":function(e,t,n){!function(e){"use strict";e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:6}})}(n("wd/R"))},"7Z+r":function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return l});for(var i={},r={},s=0;s<256;s++){var a=s.toString(16).toLowerCase();1===a.length&&(a="0"+a),i[s]=a,r[a]=s}function o(e){if(e.length%2!=0)throw new Error("Hex encoded strings must have an even number length");for(var t=new Uint8Array(e.length/2),n=0;n11?n?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":n?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(n("wd/R"))},"8/+R":function(e,t,n){!function(e){"use strict";var t={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},n={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};e.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(e){return e.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0a30\u0a3e\u0a24"===t?e<4?e:e+12:"\u0a38\u0a35\u0a47\u0a30"===t?e:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===t?e>=10?e:e+12:"\u0a38\u0a3c\u0a3e\u0a2e"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0a30\u0a3e\u0a24":e<10?"\u0a38\u0a35\u0a47\u0a30":e<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":e<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(n("wd/R"))},"87YT":function(e,t,n){"use strict";function i(e){return e}n.d(t,"b",function(){return i}),n.d(t,"a",function(){return o});var r=n("mB6T"),s=n("Enk7"),a={name:"getUserAgentMiddleware",step:"build",tags:["SET_USER_AGENT","USER_AGENT"]},o=function(e){return{applyToStack:function(t){var n;t.add((n=e,function(e){return function(t){var i=t.request;if(!s.a.isInstance(i))return e(t);var a=i.headers,o="node"===n.runtime?"user-agent":"x-amz-user-agent";return a[o]?a[o]+=" "+n.defaultUserAgent:a[o]=""+n.defaultUserAgent,n.customUserAgent&&(a[o]+=" "+n.customUserAgent),e(Object(r.__assign)(Object(r.__assign)({},t),{request:i}))}}),a)}}}},"8mBD":function(e,t,n){!function(e){"use strict";e.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},"9rRi":function(e,t,n){!function(e){"use strict";e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("wd/R"))},"9rSQ":function(e,t,n){"use strict";var i=n("xTJ+");function r(){this.handlers=[]}r.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(e){i.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=r},"A+xa":function(e,t,n){!function(e){"use strict";e.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(e){return e+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(e)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(e)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(n("wd/R"))},AL3R:function(e,t,n){"use strict";var i=n("fQM2"),r=n("UFnQ"),s=n("v4IS"),a=n("gr/K");n("l1VB"),n("vYnt"),i.a.Auth=s.a,i.a.Cache=a.a,i.a.ServiceWorker=r.a,t.default=i.a},"AO/9":function(e,t,n){"use strict";var i=n("v4IS");n("TESy"),t.a=i.a},AQ68:function(e,t,n){!function(e){"use strict";e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(n("wd/R"))},AvvY:function(e,t,n){!function(e){"use strict";e.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===t&&e>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===t||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===t?e+12:e},meridiem:function(e,t,n){return e<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":e<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":e<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":e<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(n("wd/R"))},B55N:function(e,t,n){!function(e){"use strict";e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(e,t){return"\u5143"===t[1]?1:parseInt(t[1]||e,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(e){return"\u5348\u5f8c"===e},meridiem:function(e,t,n){return e<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(e){return e.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(e){return this.week()!==e.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(e,t){switch(t){case"y":return 1===e?"\u5143\u5e74":e+"\u5e74";case"d":case"D":case"DDD":return e+"\u65e5";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(n("wd/R"))},BVg3:function(e,t,n){!function(e){"use strict";function t(e){return e%100==11||e%10!=1}function n(e,n,i,r){var s=e+" ";switch(i){case"s":return n||r?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return t(e)?s+(n||r?"sek\xfandur":"sek\xfandum"):s+"sek\xfanda";case"m":return n?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return t(e)?s+(n||r?"m\xedn\xfatur":"m\xedn\xfatum"):n?s+"m\xedn\xfata":s+"m\xedn\xfatu";case"hh":return t(e)?s+(n||r?"klukkustundir":"klukkustundum"):s+"klukkustund";case"d":return n?"dagur":r?"dag":"degi";case"dd":return t(e)?n?s+"dagar":s+(r?"daga":"d\xf6gum"):n?s+"dagur":s+(r?"dag":"degi");case"M":return n?"m\xe1nu\xf0ur":r?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return t(e)?n?s+"m\xe1nu\xf0ir":s+(r?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):n?s+"m\xe1nu\xf0ur":s+(r?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return n||r?"\xe1r":"\xe1ri";case"yy":return t(e)?s+(n||r?"\xe1r":"\xe1rum"):s+(n||r?"\xe1r":"\xe1ri")}}e.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},BvrG:function(e,t,n){var i;e.exports=(i=n("tpLz"),function(){if("function"==typeof ArrayBuffer){var e=i.lib.WordArray,t=e.init;(e.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var n=e.byteLength,i=[],r=0;r>>2]|=e[r]<<24-r%4*8;t.call(this,i,n)}else t.apply(this,arguments)}).prototype=e}}(),i.lib.WordArray)},ByF4:function(e,t,n){!function(e){"use strict";e.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},CgaS:function(e,t,n){"use strict";var i=n("xTJ+"),r=n("MLWZ"),s=n("9rSQ"),a=n("UnBK"),o=n("SntB");function l(e){this.defaults=e,this.interceptors={request:new s,response:new s}}l.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=o(this.defaults,e)).method=e.method?e.method.toLowerCase():this.defaults.method?this.defaults.method.toLowerCase():"get";var t=[a,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)n=n.then(t.shift(),t.shift());return n},l.prototype.getUri=function(e){return e=o(this.defaults,e),r(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},i.forEach(["delete","get","head","options"],function(e){l.prototype[e]=function(t,n){return this.request(o(n||{},{method:e,url:t,data:(n||{}).data}))}}),i.forEach(["post","put","patch"],function(e){l.prototype[e]=function(t,n,i){return this.request(o(i||{},{method:e,url:t,data:n}))}}),e.exports=l},CjzT:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^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;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},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:i,longMonthsParse:i,shortMonthsParse:i,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 A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"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:"%d 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}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},CoRJ:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(n("wd/R"))},CxY0:function(e,t,n){"use strict";var i=n("rWzI"),r=n("Nehr");function s(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=b,t.resolve=function(e,t){return b(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?b(e,!1,!0).resolveObject(t):t},t.format=function(e){return r.isString(e)&&(e=b(e)),e instanceof s?e.format():s.prototype.format.call(e)},t.Url=s;var a=/^([a-z0-9.+-]+:)/i,o=/:[0-9]*$/,l=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(c),d=["%","/","?",";","#"].concat(u),h=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,f=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},_={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=n("r8II");function b(e,t,n){if(e&&r.isObject(e)&&e instanceof s)return e;var i=new s;return i.parse(e,t,n),i}s.prototype.parse=function(e,t,n){if(!r.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var s=e.indexOf("?"),o=-1!==s&&s127?I+="x":I+=A[P];if(!I.match(p)){var j=E.slice(0,D),Y=E.slice(D+1),F=A.match(f);F&&(j.push(F[1]),Y.unshift(F[2])),Y.length&&(b="/"+Y.join(".")+b),this.hostname=j.join(".");break}}}this.hostname=this.hostname.length>255?"":this.hostname.toLowerCase(),O||(this.hostname=i.toASCII(this.hostname)),this.host=(this.hostname||"")+(this.port?":"+this.port:""),this.href+=this.host,O&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!m[k])for(D=0,T=u.length;D0)&&n.host.split("@"))&&(n.auth=D.shift(),n.host=n.hostname=D.shift())),n.search=e.search,n.query=e.query,r.isNull(n.pathname)&&r.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n;if(!w.length)return n.pathname=null,n.path=n.search?"/"+n.search:null,n.href=n.format(),n;for(var S=w.slice(-1)[0],C=(n.host||e.host||w.length>1)&&("."===S||".."===S)||""===S,x=0,M=w.length;M>=0;M--)"."===(S=w[M])?w.splice(M,1):".."===S?(w.splice(M,1),x++):x&&(w.splice(M,1),x--);if(!b&&!v)for(;x--;x)w.unshift("..");!b||""===w[0]||w[0]&&"/"===w[0].charAt(0)||w.unshift(""),C&&"/"!==w.join("/").substr(-1)&&w.push("");var D,L=""===w[0]||w[0]&&"/"===w[0].charAt(0);return k&&(n.hostname=n.host=L?"":w.length?w.shift():"",(D=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=D.shift(),n.host=n.hostname=D.shift())),(b=b||n.host&&w.length)&&!L&&w.unshift(""),w.length?n.pathname=w.join("/"):(n.pathname=null,n.path=null),r.isNull(n.pathname)&&r.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},s.prototype.parseHost=function(){var e=this.host,t=o.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},"D/JM":function(e,t,n){!function(e){"use strict";e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},"DKr+":function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return i?r[n][0]:r[n][1]}e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}})}(n("wd/R"))},DfZB:function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},Dkky:function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n("wd/R"))},Dmvi:function(e,t,n){!function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:4}})}(n("wd/R"))},DoHr:function(e,t,n){!function(e){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};e.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(e,t,n){return e<12?n?"\xf6\xf6":"\xd6\xd6":n?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(e){return"\xf6s"===e||"\xd6S"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'\u0131nc\u0131";var i=e%10;return e+(t[i]||t[e%100-i]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(n("wd/R"))},DxQv:function(e,t,n){!function(e){"use strict";e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},Dzi0:function(e,t,n){!function(e){"use strict";e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n("wd/R"))},"E+lV":function(e,t,n){!function(e){"use strict";var t={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u0435 \u043c\u0438\u043d\u0443\u0442\u0435"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0435","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],yy:["\u0433\u043e\u0434\u0438\u043d\u0430","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var r=t.words[i];return 1===i.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};e.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"\u0434\u0430\u043d",dd:t.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:t.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},E1E9:function(e,t,n){"use strict";const i=n("4abu"),r=n("4abu").buildOptions,s=n("Y81X");"<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)".replace(/NAME/g,i.nameRegexp),!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt),!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);const a={attributeNamePrefix:"@_",attrNodeName:!1,textNodeName:"#text",ignoreAttributes:!0,ignoreNameSpace:!1,allowBooleanAttributes:!1,parseNodeValue:!0,parseAttributeValue:!1,arrayMode:!1,trimValues:!0,cdataTagName:!1,cdataPositionChar:"\\c",tagValueProcessor:function(e,t){return e},attrValueProcessor:function(e,t){return e},stopNodes:[]};t.defaultOptions=a;const o=["attributeNamePrefix","attrNodeName","textNodeName","ignoreAttributes","ignoreNameSpace","allowBooleanAttributes","parseNodeValue","parseAttributeValue","arrayMode","trimValues","cdataTagName","cdataPositionChar","tagValueProcessor","attrValueProcessor","parseTrueNumberOnly","stopNodes"];function l(e,t,n){return t&&(n.trimValues&&(t=t.trim()),t=u(t=n.tagValueProcessor(t,e),n.parseNodeValue,n.parseTrueNumberOnly)),t}function c(e,t){if(t.ignoreNameSpace){const t=e.split(":"),n="/"===e.charAt(0)?"/":"";if("xmlns"===t[0])return"";2===t.length&&(e=n+t[1])}return e}function u(e,t,n){if(t&&"string"==typeof e){let t;return""===e.trim()||isNaN(e)?t="true"===e||"false"!==e&&e:(-1!==e.indexOf("0x")?t=Number.parseInt(e,16):-1!==e.indexOf(".")?(t=Number.parseFloat(e),e=e.replace(/\.?0+$/,"")):t=Number.parseInt(e,10),n&&(t=String(t)===e?t:e)),t}return i.isExist(e)?e:""}t.props=o;const d=new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])(.*?)\\3)?","g");function h(e,t){if(!t.ignoreAttributes&&"string"==typeof e){e=e.replace(/\r?\n/g," ");const n=i.getAllMatches(e,d),r=n.length,s={};for(let e=0;e"===t)return{data:i,index:r};"\t"===t&&(t=" ")}i+=t}}function f(e,t,n,i){const r=e.indexOf(t,n);if(-1===r)throw new Error(i);return r+t.length-1}t.getTraversalObj=function(e,t){e=e.replace(/\r\n?/g,"\n"),t=r(t,a,o);const n=new s("!xml");let c=n,u="";for(let r=0;r",r,"Closing Tag is not closed.");let s=e.substring(r+2,n).trim();if(t.ignoreNameSpace){const e=s.indexOf(":");-1!==e&&(s=s.substr(e+1))}c&&(c.val=c.val?i.getValue(c.val)+""+l(s,u,t):l(s,u,t)),t.stopNodes.length&&t.stopNodes.includes(c.tagname)&&(c.child=[],null==c.attrsMap&&(c.attrsMap={}),c.val=e.substr(c.startIndex+1,r-c.startIndex-1)),c=c.parent,u="",r=n}else if("?"===e[r+1])r=f(e,"?>",r,"Pi Tag is not closed.");else if("!--"===e.substr(r+1,3))r=f(e,"--\x3e",r,"Comment is not closed.");else if("!D"===e.substr(r+1,2)){const t=f(e,">",r,"DOCTYPE is not closed.");r=e.substring(r,t).indexOf("[")>=0?e.indexOf("]>",r)+1:t}else if("!["===e.substr(r+1,2)){const n=f(e,"]]>",r,"CDATA is not closed.")-2,a=e.substring(r+9,n);if(u&&(c.val=i.getValue(c.val)+""+l(c.tagname,u,t),u=""),t.cdataTagName){const e=new s(t.cdataTagName,c,a);c.addChild(e),c.val=i.getValue(c.val)+t.cdataPositionChar,a&&(e.val=a)}else c.val=(c.val||"")+(a||"");r=n+2}else{const n=p(e,r+1);let a=n.data;const o=n.index,d=a.indexOf(" ");let f=a;if(-1!==d&&(f=a.substr(0,d).replace(/\s\s*$/,""),a=a.substr(d+1)),t.ignoreNameSpace){const e=f.indexOf(":");-1!==e&&(f=f.substr(e+1))}if(c&&u&&"!xml"!==c.tagname&&(c.val=i.getValue(c.val)+""+l(c.tagname,u,t)),a.length>0&&a.lastIndexOf("/")===a.length-1){"/"===f[f.length-1]?(f=f.substr(0,f.length-1),a=f):a=a.substr(0,a.length-1);const e=new s(f,c,"");f!==a&&(e.attrsMap=h(a,t)),c.addChild(e)}else{const e=new s(f,c);t.stopNodes.length&&t.stopNodes.includes(e.tagname)&&(e.startIndex=o),f!==a&&(e.attrsMap=h(a,t)),c.addChild(e),c=e}u="",r=o}else u+=e[r];return n}},EI00:function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return l}),n.d(t,"e",function(){return c}),n.d(t,"f",function(){return u}),n.d(t,"g",function(){return d}),n.d(t,"d",function(){return m}),n.d(t,"c",function(){return _});var i=n("mB6T"),r=function(){var e=[],t=[],n=new Set,o=function(n){return e.forEach(function(e){n.add(e.middleware,Object(i.__assign)({},e))}),t.forEach(function(e){n.addRelativeTo(e.middleware,Object(i.__assign)({},e))}),n},l=function(e){var t=[];return e.before.forEach(function(e){0===e.before.length&&0===e.after.length?t.push(e):t.push.apply(t,Object(i.__spread)(l(e)))}),t.push(e),e.after.reverse().forEach(function(e){0===e.before.length&&0===e.after.length?t.push(e):t.push.apply(t,Object(i.__spread)(l(e)))}),t},c={add:function(t,r){void 0===r&&(r={});var s=r.name,a=Object(i.__assign)({step:"initialize",priority:"normal",middleware:t},r);if(s){if(n.has(s))throw new Error("Duplicate middleware name '"+s+"'");n.add(s)}e.push(a)},addRelativeTo:function(e,r){var s=r.name,a=Object(i.__assign)({middleware:e},r);if(s){if(n.has(s))throw new Error("Duplicated middleware name '"+s+"'");n.add(s)}t.push(a)},clone:function(){return o(r())},use:function(e){e.applyToStack(c)},remove:function(i){return"string"==typeof i?function(i){var r=!1,s=function(e){return!e.name||e.name!==i||(r=!0,n.delete(i),!1)};return e=e.filter(s),t=t.filter(s),r}(i):function(i){var r=!1,s=function(e){return e.middleware!==i||(r=!0,e.name&&n.delete(e.name),!1)};return e=e.filter(s),t=t.filter(s),r}(i)},removeByTag:function(i){var r=!1,s=function(e){var t=e.tags,s=e.name;return!t||!t.includes(i)||(s&&n.delete(s),r=!0,!1)};return e=e.filter(s),t=t.filter(s),r},concat:function(e){var t=o(r());return t.use(e),t},applyToStack:o,resolve:function(n,r){var o,c;try{for(var u=Object(i.__values)(function(){var n,r=[],o=[],c={};return e.forEach(function(e){var t=Object(i.__assign)(Object(i.__assign)({},e),{before:[],after:[]});t.name&&(c[t.name]=t),r.push(t)}),t.forEach(function(e){var t=Object(i.__assign)(Object(i.__assign)({},e),{before:[],after:[]});t.name&&(c[t.name]=t),o.push(t)}),o.forEach(function(e){if(e.toMiddleware){var t=c[e.toMiddleware];if(void 0===t)throw new Error(e.toMiddleware+" is not found when adding "+(e.name||"anonymous")+" middleware "+e.relation+" "+e.toMiddleware);"after"===e.relation&&t.after.push(e),"before"===e.relation&&t.before.push(e)}}),(n=r,n.sort(function(e,t){return s[t.step]-s[e.step]||a[t.priority||"normal"]-a[e.priority||"normal"]})).map(l).reduce(function(e,t){return e.push.apply(e,Object(i.__spread)(t)),e},[]).map(function(e){return e.middleware})}().reverse()),d=u.next();!d.done;d=u.next())n=(0,d.value)(n,r)}catch(h){o={error:h}}finally{try{d&&!d.done&&(c=u.return)&&c.call(u)}finally{if(o)throw o.error}}return n}};return c},s={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},a={high:3,normal:2,low:1},o=function(){function e(e){this.middlewareStack=r(),this.config=e}return e.prototype.send=function(e,t,n){var i="function"==typeof t?t:n,r=e.resolveMiddleware(this.middlewareStack,this.config,"function"!=typeof t?t:void 0);if(!i)return r(e).then(function(e){return e.output});r(e).then(function(e){return i(null,e.output)},function(e){return i(e)}).catch(function(){})},e.prototype.destroy=function(){this.config.requestHandler.destroy&&this.config.requestHandler.destroy()},e}(),l=function(){this.middlewareStack=r()};function c(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16)})}var u=function(e){return Array.isArray(e)?e:[e]},d=function(e){for(var t in e)e.hasOwnProperty(t)&&void 0!==e[t]["#text"]?e[t]=e[t]["#text"]:"object"==typeof e[t]&&null!==e[t]&&(e[t]=d(e[t]));return e},h=function(){var e=Object.getPrototypeOf(this).constructor,t=Function.bind.apply(String,Object(i.__spread)([null],arguments)),n=new t;return Object.setPrototypeOf(n,e.prototype),n};h.prototype=Object.create(String.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(h,String),function(e){function t(){return null!==e&&e.apply(this,arguments)||this}Object(i.__extends)(t,e),t.prototype.deserializeJSON=function(){return JSON.parse(e.prototype.toString.call(this))},t.prototype.toJSON=function(){return e.prototype.toString.call(this)},t.fromObject=function(e){return e instanceof t?e:new t(e instanceof String||"string"==typeof e?e:JSON.stringify(e))}}(h);var p=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],f=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function m(e){var t=e.getUTCFullYear(),n=e.getUTCMonth(),i=e.getUTCDay(),r=e.getUTCDate(),s=e.getUTCHours(),a=e.getUTCMinutes(),o=e.getUTCSeconds();return p[i]+", "+(r<10?"0"+r:""+r)+" "+f[n]+" "+t+" "+(s<10?"0"+s:""+s)+":"+(a<10?"0"+a:""+a)+":"+(o<10?"0"+o:""+o)+" GMT"}var _="***SensitiveInformation***"},EOgW:function(e,t,n){!function(e){"use strict";e.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(e){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===e},meridiem:function(e,t,n){return e<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(n("wd/R"))},EcEN:function(e,t,n){var i=n("xDdU"),r=n("xk4V"),s=r;s.v1=i,s.v4=r,e.exports=s},Enk7:function(e,t,n){"use strict";n.d(t,"b",function(){return i}),n.d(t,"a",function(){return s});var i=function(){function e(e){this.statusCode=e.statusCode,this.headers=e.headers||{},this.body=e.body}return e.isInstance=function(e){return!!e&&"number"==typeof e.statusCode&&"object"==typeof e.headers},e}(),r=n("mB6T"),s=function(){function e(e){this.method=e.method||"GET",this.hostname=e.hostname||"localhost",this.port=e.port,this.query=e.query||{},this.headers=e.headers||{},this.body=e.body,this.protocol=e.protocol?":"!==e.protocol.substr(-1)?e.protocol+":":e.protocol:"https:",this.path=e.path?"/"!==e.path.charAt(0)?"/"+e.path:e.path:"/"}return e.isInstance=function(e){return!!e&&"method"in e&&"protocol"in e&&"hostname"in e&&"path"in e&&"object"==typeof e.query&&"object"==typeof e.headers},e.prototype.clone=function(){var t,n=new e(Object(r.__assign)(Object(r.__assign)({},this),{headers:Object(r.__assign)({},this.headers)}));return n.query&&(n.query=(t=n.query,Object.keys(t).reduce(function(e,n){var i,s=t[n];return Object(r.__assign)(Object(r.__assign)({},e),((i={})[n]=Array.isArray(s)?Object(r.__spread)(s):s,i))},{}))),n},e}()},Fnuy:function(e,t,n){!function(e){"use strict";e.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n("wd/R"))},G0Uy:function(e,t,n){!function(e){"use strict";e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},GDOE:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=function(e){return"function"==typeof ArrayBuffer&&e instanceof ArrayBuffer||"[object ArrayBuffer]"===Object.prototype.toString.call(e)}},H7XF:function(e,t,n){"use strict";t.byteLength=function(e){var t=c(e),n=t[1];return 3*(t[0]+n)/4-n},t.toByteArray=function(e){var t,n,i=c(e),a=i[0],o=i[1],l=new s(function(e,t,n){return 3*(t+n)/4-n}(0,a,o)),u=0,d=o>0?a-4:a;for(n=0;n>16&255,l[u++]=t>>8&255,l[u++]=255&t;return 2===o&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,l[u++]=255&t),1===o&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,l[u++]=t>>8&255,l[u++]=255&t),l},t.fromByteArray=function(e){for(var t,n=e.length,r=n%3,s=[],a=16383,o=0,l=n-r;ol?l:o+a));return 1===r?s.push(i[(t=e[n-1])>>2]+i[t<<4&63]+"=="):2===r&&s.push(i[(t=(e[n-2]<<8)+e[n-1])>>10]+i[t>>4&63]+i[t<<2&63]+"="),s.join("")};for(var i=[],r=[],s="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,l=a.length;o0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,n){for(var r,s=[],a=t;a>18&63]+i[r>>12&63]+i[r>>6&63]+i[63&r]);return s.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},H8ED:function(e,t,n){!function(e){"use strict";function t(e,t,n){return"m"===n?t?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===n?t?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":e+" "+(i=+e,r={ss:t?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:t?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:t?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2]);var i,r}e.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:t,mm:t,h:t,hh:t,d:"\u0434\u0437\u0435\u043d\u044c",dd:t,M:"\u043c\u0435\u0441\u044f\u0446",MM:t,y:"\u0433\u043e\u0434",yy:t},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(e)},meridiem:function(e,t,n){return e<4?"\u043d\u043e\u0447\u044b":e<12?"\u0440\u0430\u043d\u0456\u0446\u044b":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-\u044b":e+"-\u0456";case"D":return e+"-\u0433\u0430";default:return e}},week:{dow:1,doy:7}})}(n("wd/R"))},HP3h:function(e,t,n){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},i={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},r=function(e){return function(t,r,s,a){var o=n(t),l=i[e][n(t)];return 2===o&&(l=l[r?0:1]),l.replace(/%d/i,t)}},s=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar-ly",{months:s,monthsShort:s,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},HSsa:function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),i=0;is?1*i:0}),!0},a=function(e,t){var n=Object.assign({},e);return t&&("string"==typeof t?delete n[t]:t.forEach(function(e){delete n[e]})),n},o=function(e,t){void 0===t&&(t="application/octet-stream");var n=e.toLowerCase(),r=i.filter(function(e){return n.endsWith("."+e.ext)});return r.length>0?r[0].type:t},l=function(e){var t=e.toLowerCase();return!!t.startsWith("text/")||"application/json"===t||"application/xml"===t||"application/sh"===t},c=function(){for(var e="",t="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",n=32;n>0;n-=1)e+=t[Math.floor(Math.random()*t.length)];return e},u=function(e){if(e.isResolved)return e;var t=!0,n=!1,i=!1,r=e.then(function(e){return i=!0,t=!1,e},function(e){throw n=!0,t=!1,e});return r.isFullfilled=function(){return i},r.isPending=function(){return t},r.isRejected=function(){return n},r},d=function(){if("undefined"==typeof self)return!1;var e=self;return void 0!==e.WorkerGlobalScope&&self instanceof e.WorkerGlobalScope},h=function(){return{isBrowser:"undefined"!=typeof window&&void 0!==window.document,isNode:"undefined"!=typeof process&&null!=process.versions&&null!=process.versions.node}},p=function(e,t,n){if(void 0===t&&(t=[]),void 0===n&&(n=[]),!m(e))return e;var i={};for(var r in e)e.hasOwnProperty(r)&&(i[t.includes(r)?r:r[0].toLowerCase()+r.slice(1)]=n.includes(r)?e[r]:p(e[r],t,n));return i},f=function(e,t,n){if(void 0===t&&(t=[]),void 0===n&&(n=[]),!m(e))return e;var i={};for(var r in e)e.hasOwnProperty(r)&&(i[t.includes(r)?r:r[0].toUpperCase()+r.slice(1)]=n.includes(r)?e[r]:f(e[r],t,n));return i},m=function(e){return!(!(e instanceof Object)||e instanceof Array||e instanceof Function||e instanceof Number||e instanceof String||e instanceof Boolean)},_=function(){function e(){}return e.isEmpty=r,e.sortByField=s,e.objectLessAttributes=a,e.filenameToContentType=o,e.isTextFile=l,e.generateRandomString=c,e.makeQuerablePromise=u,e.isWebWorker=d,e.browserOrNode=h,e.transferKeyToLowerCase=p,e.transferKeyToUpperCase=f,e.isStrictObject=m,e}()},I2ZF:function(e,t){for(var n=[],i=0;i<256;++i)n[i]=(i+256).toString(16).substr(1);e.exports=function(e,t){var i=t||0;return[n[e[i++]],n[e[i++]],n[e[i++]],n[e[i++]],"-",n[e[i++]],n[e[i++]],"-",n[e[i++]],n[e[i++]],"-",n[e[i++]],n[e[i++]],"-",n[e[i++]],n[e[i++]],n[e[i++]],n[e[i++]],n[e[i++]],n[e[i++]]].join("")}},IBtZ:function(e,t,n){!function(e){"use strict";e.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(e,t,n){return"\u10d8"===n?t+"\u10e8\u10d8":t+n+"\u10e8\u10d8"})},past:function(e){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(e)?e.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(e)?e.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):e},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(e){return 0===e?e:1===e?e+"-\u10da\u10d8":e<20||e<=100&&e%20==0||e%100==0?"\u10db\u10d4-"+e:e+"-\u10d4"},week:{dow:1,doy:7}})}(n("wd/R"))},ISa7:function(e,t,n){var i,r;e.exports=(i=n("tpLz"),r=i.lib.WordArray,i.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,i=this._map;e.clamp();for(var r=[],s=0;s>>2]>>>24-s%4*8&255)<<16|(t[s+1>>>2]>>>24-(s+1)%4*8&255)<<8|t[s+2>>>2]>>>24-(s+2)%4*8&255,o=0;o<4&&s+.75*o>>6*(3-o)&63));var l=i.charAt(64);if(l)for(;r.length%4;)r.push(l);return r.join("")},parse:function(e){var t=e.length,n=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var s=0;s>>6-a%4*2;i[s>>>2]|=(o|l)<<24-s%4*8,s++}return r.create(i,s)}(e,t,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},i.enc.Base64)},"Ivi+":function(e,t,n){!function(e){"use strict";e.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\uc77c";case"M":return e+"\uc6d4";case"w":case"W":return e+"\uc8fc";default:return e}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(e){return"\uc624\ud6c4"===e},meridiem:function(e,t,n){return e<12?"\uc624\uc804":"\uc624\ud6c4"}})}(n("wd/R"))},J2eM:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=function(e){return function(){throw new Error(e)}}},JBVX:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},"JCF/":function(e,t,n){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},i=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];e.defineLocale("ku",{months:i,monthsShort:i,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(e){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(e)},meridiem:function(e,t,n){return e<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return n[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},JEQr:function(e,t,n){"use strict";var i=n("xTJ+"),r=n("yK9s"),s={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!i.isUndefined(e)&&i.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var o,l={adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(o=n("tQ2B")),o),transformRequest:[function(e,t){return r(t,"Accept"),r(t,"Content-Type"),i.isFormData(e)||i.isArrayBuffer(e)||i.isBuffer(e)||i.isStream(e)||i.isFile(e)||i.isBlob(e)?e:i.isArrayBufferView(e)?e.buffer:i.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):i.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(t){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],function(e){l.headers[e]={}}),i.forEach(["post","put","patch"],function(e){l.headers[e]=i.merge(s)}),e.exports=l},JEbH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},JVSJ:function(e,t,n){!function(e){"use strict";function t(e,t,n){var i=e+" ";switch(n){case"ss":return i+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"m":return t?"jedna minuta":"jedne minute";case"mm":return i+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return i+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return i+(1===e?"dan":"dana");case"MM":return i+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return i+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},JvlW:function(e,t,n){!function(e){"use strict";var t={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function n(e,t,n,i){return t?r(n)[0]:i?r(n)[1]:r(n)[2]}function i(e){return e%10==0||e>10&&e<20}function r(e){return t[e].split("_")}function s(e,t,s,a){var o=e+" ";return 1===e?o+n(0,t,s[0],a):t?o+(i(e)?r(s)[1]:r(s)[0]):a?o+r(s)[1]:o+(i(e)?r(s)[1]:r(s)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function(e,t,n,i){return t?"kelios sekund\u0117s":i?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:s,m:n,mm:s,h:n,hh:s,d:n,dd:s,M:n,MM:s,y:n,yy:s},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(n("wd/R"))},"K/tc":function(e,t,n){!function(e){"use strict";e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},KSF8:function(e,t,n){!function(e){"use strict";e.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n("wd/R"))},KTz0:function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var r=t.words[i];return 1===i.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},LUnR:function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return l});var i=n("mB6T"),r=n("Enk7"),s=n("3tHY"),a=function(){function e(e){void 0===e&&(e={}),this.httpOptions=e}return e.prototype.destroy=function(){},e.prototype.handle=function(e,t){var n=null==t?void 0:t.abortSignal,a=this.httpOptions.requestTimeout;if(null==n?void 0:n.aborted){var o=new Error("Request aborted");return o.name="AbortError",Promise.reject(o)}var l=e.path;if(e.query){var c=Object(s.a)(e.query);c&&(l+="?"+c)}var u=e.port,d=e.protocol+"//"+e.hostname+(u?":"+u:"")+l,h={body:e.body,headers:new Headers(e.headers),method:e.method};"undefined"!=typeof AbortController&&(h.signal=n);var p,f=new Request(d,h),m=[fetch(f).then(function(e){var t,n,s=e.headers,a={};try{for(var o=Object(i.__values)(s.entries()),l=o.next();!l.done;l=o.next()){var c=l.value;a[c[0]]=c[1]}}catch(u){t={error:u}}finally{try{l&&!l.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return void 0!==e.body?{response:new r.b({headers:a,statusCode:e.status,body:e.body})}:e.blob().then(function(t){return{response:new r.b({headers:a,statusCode:e.status,body:t})}})}),(p=a,void 0===p&&(p=0),new Promise(function(e,t){p&&setTimeout(function(){var e=new Error("Request did not complete within "+p+" ms");e.name="TimeoutError",t(e)},p)}))];return n&&m.push(new Promise(function(e,t){n.onabort=function(){var e=new Error("Request aborted");e.name="AbortError",t(e)}})),Promise.race(m)},e}(),o=n("S3Uu"),l=function(e){return"function"==typeof Blob&&e instanceof Blob?function(e){return Object(i.__awaiter)(this,void 0,void 0,function(){var t,n;return Object(i.__generator)(this,function(i){switch(i.label){case 0:return[4,c(e)];case 1:return t=i.sent(),n=Object(o.a)(t),[2,new Uint8Array(n)]}})})}(e):function(e){return Object(i.__awaiter)(this,void 0,void 0,function(){var t,n,r,s,a,o,l;return Object(i.__generator)(this,function(i){switch(i.label){case 0:t=new Uint8Array(0),n=e.getReader(),r=!1,i.label=1;case 1:return r?[3,3]:[4,n.read()];case 2:return s=i.sent(),a=s.done,(o=s.value)&&(l=t,(t=new Uint8Array(l.length+o.length)).set(l),t.set(o,l.length)),r=a,[3,1];case 3:return[2,t]}})})}(e)};function c(e){return new Promise(function(t,n){var i=new FileReader;i.onloadend=function(){var e;if(2!==i.readyState)return n(new Error("Reader aborted too early"));var r=null!==(e=i.result)&&void 0!==e?e:"",s=r.indexOf(",");t(r.substring(s>-1?s+1:r.length))},i.onabort=function(){return n(new Error("Read aborted"))},i.onerror=function(){return n(i.error)},i.readAsDataURL(e)})}},LVIV:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},LYNF:function(e,t,n){"use strict";var i=n("OH9c");e.exports=function(e,t,n,r,s){var a=new Error(e);return i(a,t,n,r,s)}},Lmem:function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},Loxo:function(e,t,n){!function(e){"use strict";e.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(n("wd/R"))},MLWZ:function(e,t,n){"use strict";var i=n("xTJ+");function r(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var s;if(n)s=n(t);else if(i.isURLSearchParams(t))s=t.toString();else{var a=[];i.forEach(t,function(e,t){null!=e&&(i.isArray(e)?t+="[]":e=[e],i.forEach(e,function(e){i.isDate(e)?e=e.toISOString():i.isObject(e)&&(e=JSON.stringify(e)),a.push(r(t)+"="+r(e))}))}),s=a.join("&")}if(s){var o=e.indexOf("#");-1!==o&&(e=e.slice(0,o)),e+=(-1===e.indexOf("?")?"?":"&")+s}return e}},N9sX:function(e,t,n){"use strict";function i(e){if("string"==typeof e){for(var t=e.length,n=t-1;n>=0;n--){var i=e.charCodeAt(n);i>127&&i<=2047?t++:i>2047&&i<=65535&&(t+=2)}return t}return"number"==typeof e.byteLength?e.byteLength:"number"==typeof e.size?e.size:void 0}n.d(t,"a",function(){return i})},Nehr:function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},Nl9j:function(e,t,n){"use strict";n.d(t,"b",function(){return s}),n.d(t,"a",function(){return o});var i=n("mB6T"),r=n("Enk7");function s(e){return e}var a={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"]},o=function(e){return{applyToStack:function(t){t.add(function(e){return function(t){return function(n){return Object(i.__awaiter)(void 0,void 0,void 0,function(){var s,a;return Object(i.__generator)(this,function(i){return r.a.isInstance(n.request)?(s=n.request,(void 0===(a=(e.requestHandler.metadata||{}).handlerProtocol)?"":a).indexOf("h2")>=0&&!s.headers[":authority"]?(delete s.headers.host,s.headers[":authority"]=""):s.headers.host||(s.headers.host=s.hostname),[2,t(n)]):[2,t(n)]})})}}}(e),a)}}}},Nt7R:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,s=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=s.next()).done;)a.push(i.value)}catch(o){r={error:o}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return a},r=function(){for(var e=[],t=0;t=a){var l=console.log.bind(console);"ERROR"===t&&console.error&&(l=console.error.bind(console)),"WARN"===t&&console.warn&&(l=console.warn.bind(console));var c="["+t+"] "+this._ts()+" "+this.name;if(1===n.length&&"string"==typeof n[0])l(c+" - "+n[0]);else if(1===n.length)l(c,n[0]);else if("string"==typeof n[0]){var u=n.slice(1);1===u.length&&(u=u[0]),l(c+" - "+n[0],u)}else l(c,n)}},e.prototype.log=function(){for(var e=[],t=0;t=12?e:e+12:void 0},meridiem:function(e,t,n){return e>=0&&e<6?"\u092a\u0939\u093e\u091f\u0947":e<12?"\u0938\u0915\u093e\u0933\u0940":e<17?"\u0926\u0941\u092a\u093e\u0930\u0940":e<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(n("wd/R"))},OjkT:function(e,t,n){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};e.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924\u093f"===t?e<4?e:e+12:"\u092c\u093f\u0939\u093e\u0928"===t?e:"\u0926\u093f\u0909\u0901\u0938\u094b"===t?e>=10?e:e+12:"\u0938\u093e\u0901\u091d"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"\u0930\u093e\u0924\u093f":e<12?"\u092c\u093f\u0939\u093e\u0928":e<16?"\u0926\u093f\u0909\u0901\u0938\u094b":e<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(n("wd/R"))},OmwH:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},Oxv6:function(e,t,n){!function(e){"use strict";var t={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};e.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0448\u0430\u0431"===t?e<4?e:e+12:"\u0441\u0443\u0431\u04b3"===t?e:"\u0440\u04ef\u0437"===t?e>=11?e:e+12:"\u0431\u0435\u0433\u043e\u04b3"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0448\u0430\u0431":e<11?"\u0441\u0443\u0431\u04b3":e<16?"\u0440\u04ef\u0437":e<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},PA2r:function(e,t,n){!function(e){"use strict";var t="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),n="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),i=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],r=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function s(e){return e>1&&e<5&&1!=~~(e/10)}function a(e,t,n,i){var r=e+" ";switch(n){case"s":return t||i?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return t||i?r+(s(e)?"sekundy":"sekund"):r+"sekundami";case"m":return t?"minuta":i?"minutu":"minutou";case"mm":return t||i?r+(s(e)?"minuty":"minut"):r+"minutami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?r+(s(e)?"hodiny":"hodin"):r+"hodinami";case"d":return t||i?"den":"dnem";case"dd":return t||i?r+(s(e)?"dny":"dn\xed"):r+"dny";case"M":return t||i?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return t||i?r+(s(e)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):r+"m\u011bs\xedci";case"y":return t||i?"rok":"rokem";case"yy":return t||i?r+(s(e)?"roky":"let"):r+"lety"}}e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},PeUW:function(e,t,n){!function(e){"use strict";var t={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},n={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};e.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(e){return e+"\u0bb5\u0ba4\u0bc1"},preparse:function(e){return e.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(e,t,n){return e<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":e<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":e<10?" \u0b95\u0bbe\u0bb2\u0bc8":e<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":e<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":e<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(e,t){return 12===e&&(e=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===t?e<2?e:e+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===t||"\u0b95\u0bbe\u0bb2\u0bc8"===t||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(n("wd/R"))},PpIw:function(e,t,n){!function(e){"use strict";var t={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},n={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};e.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(e){return e.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===t?e<4?e:e+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===t?e:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===t?e>=10?e:e+12:"\u0cb8\u0c82\u0c9c\u0cc6"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":e<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":e<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":e<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(e){return e+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(n("wd/R"))},Qj4J:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(n("wd/R"))},QuJe:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=new(n("Nt7R").a)("Parser"),r=function(e){var t,n={};return e.aws_mobile_analytics_app_id&&(n.Analytics={AWSPinpoint:{appId:e.aws_mobile_analytics_app_id,region:e.aws_mobile_analytics_app_region}}),(e.aws_cognito_identity_pool_id||e.aws_user_pools_id)&&(n.Auth={userPoolId:e.aws_user_pools_id,userPoolWebClientId:e.aws_user_pools_web_client_id,region:e.aws_cognito_region,identityPoolId:e.aws_cognito_identity_pool_id,identityPoolRegion:e.aws_cognito_region,mandatorySignIn:"enable"===e.aws_mandatory_sign_in}),t=e.aws_user_files_s3_bucket?{AWSS3:{bucket:e.aws_user_files_s3_bucket,region:e.aws_user_files_s3_bucket_region,dangerouslyConnectToHttpEndpointForTesting:e.aws_user_files_s3_dangerously_connect_to_http_endpoint_for_testing}}:e?e.Storage||e:{},n.Analytics=Object.assign({},n.Analytics,e.Analytics),n.Auth=Object.assign({},n.Auth,e.Auth),n.Storage=Object.assign({},t),i.debug("parse config",e,"to amplifyconfig",n),n},s=function(){function e(){}return e.parseMobilehubConfig=r,e}()},Qycn:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var i=n("Nt7R"),r=function(){return(r=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0)&&!(i=s.next()).done;)a.push(i.value)}catch(o){r={error:o}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return a},a=function(){for(var e=[],t=0;t-1&&(i===l||o.warn("WARNING: "+e+" is protected and dispatching on it can have unintended consequences"));var s={channel:e,payload:r({},t),source:n,patternInfo:[]};try{this._toListeners(s)}catch(a){o.error(a)}},e.prototype.listen=function(e,t,n){var i,r=this;if(void 0===n&&(n="noname"),function(e){return void 0!==e.onHubCapsule}(t))o.warn("WARNING onHubCapsule is Deprecated. Please pass in a callback."),i=t.onHubCapsule.bind(t);else{if("function"!=typeof t)throw new Error("No callback supplied to Hub");i=t}if(e instanceof RegExp)this.patterns.push({pattern:e,callback:i});else{var s=this.listeners[e];s||(this.listeners[e]=s=[]),s.push({name:n,callback:i})}return function(){r.remove(e,i)}},e.prototype._toListeners=function(e){var t=e.channel,n=e.payload,i=this.listeners[t];if(i&&i.forEach(function(i){o.debug("Dispatching to "+t+" with ",n);try{i.callback(e)}catch(r){o.error(r)}}),this.patterns.length>0){if(!n.message)return void o.warn("Cannot perform pattern matching without a message key");var a=n.message;this.patterns.forEach(function(t){var n=a.match(t.pattern);if(n){var i=s(n).slice(1),l=r(r({},e),{patternInfo:i});try{t.callback(l)}catch(c){o.error(c)}}})}},e}())("__default__")},R10A:function(e,t,n){"use strict";n.d(t,"a",function(){return Nt});var i,r=n("Nt7R"),s=n("2Lx6"),a=n("HzrR"),o=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,s=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=s.next()).done;)a.push(i.value)}catch(o){r={error:o}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return a},c=function(){for(var e=[],t=0;t0&&r[r.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]0&&r[r.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]0&&r[r.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]=300?[2,Oe(e,t)]:[4,Ze(e.body,t)];case 1:return n=s.sent(),i=function(e,t){return{Credentials:null!=e.Credentials?Ve(e.Credentials):void 0,IdentityId:null!=e.IdentityId?e.IdentityId:void 0}}(n),r=Object(De.a)({$metadata:Qe(e)},i),[2,Promise.resolve(r)]}})})}(e,t)},t}(tt.b),it=function(e){function t(t,n){void 0===n&&(n=!0);var i=e.call(this,t)||this;return i.tryNextLink=n,i}return Object(Me.__extends)(t,e),t}(Error);function rt(e){return Promise.all(Object.keys(e).reduce(function(t,n){var i=e[n];return t.push("string"==typeof i?[n,i]:i().then(function(e){return[n,e]})),t},[])).then(function(e){return e.reduce(function(e,t){var n=Object(Me.__read)(t,2);return e[n[0]]=n[1],e},{})})}function st(e){var t=this;return function(){return Object(Me.__awaiter)(t,void 0,void 0,function(){var t,n,i,r,s,a,o,l,c,u,d,h;return Object(Me.__generator)(this,function(p){switch(p.label){case 0:return c=(l=e.client).send,u=nt.bind,h={CustomRoleArn:e.customRoleArn,IdentityId:e.identityId},e.logins?[4,rt(e.logins)]:[3,2];case 1:return d=p.sent(),[3,3];case 2:d=void 0,p.label=3;case 3:return[4,c.apply(l,[new(u.apply(nt,[void 0,(h.Logins=d,h)]))])];case 4:return t=p.sent().Credentials,n=void 0===t?function(){throw new it("Response from Amazon Cognito contained no credentials")}():t,r=void 0===(i=n.AccessKeyId)?function(){throw new it("Response from Amazon Cognito contained no access key ID")}():i,s=n.Expiration,o=void 0===(a=n.SecretKey)?function(){throw new it("Response from Amazon Cognito contained no secret key")}():a,[2,{identityId:e.identityId,accessKeyId:r,secretAccessKey:o,sessionToken:n.SessionToken,expiration:s}]}})})}}var at=function(e){function t(t){var n=e.call(this)||this;return n.input=t,n}return Object(De.c)(t,e),t.prototype.resolveMiddleware=function(e,t,n){this.middlewareStack.use(Object(et.a)(t,this.serialize,this.deserialize));var i=e.concat(this.middlewareStack),r=t.logger,s="CognitoIdentityClient",a="GetIdCommand",o={logger:r,clientName:s,commandName:a,inputFilterSensitiveLog:Y.filterSensitiveLog,outputFilterSensitiveLog:F.filterSensitiveLog};"function"==typeof r.info&&r.info({clientName:s,commandName:a});var l=t.requestHandler;return i.resolve(function(e){return l.handle(e.request,n||{})},o)},t.prototype.serialize=function(e,t){return function(e,t){return Object(De.b)(void 0,void 0,void 0,function(){var n,i;return Object(De.d)(this,function(r){return n={"Content-Type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetId"},i=JSON.stringify(function(e,t){return Object(De.a)(Object(De.a)(Object(De.a)({},void 0!==e.AccountId&&{AccountId:e.AccountId}),void 0!==e.IdentityPoolId&&{IdentityPoolId:e.IdentityPoolId}),void 0!==e.Logins&&{Logins:He(e.Logins)})}(e)),[2,Xe(t,n,"/",void 0,i)]})})}(e,t)},t.prototype.deserialize=function(e,t){return function(e,t){return Object(De.b)(void 0,void 0,void 0,function(){var n,i,r;return Object(De.d)(this,function(s){switch(s.label){case 0:return e.statusCode>=300?[2,Ee(e,t)]:[4,Ze(e.body,t)];case 1:return n=s.sent(),i=function(e,t){return{IdentityId:null!=e.IdentityId?e.IdentityId:void 0}}(n),r=Object(De.a)({$metadata:Qe(e)},i),[2,Promise.resolve(r)]}})})}(e,t)},t}(tt.b),ot="IdentityIds",lt=function(){function e(e){void 0===e&&(e="aws:cognito-identity-ids"),this.dbName=e}return e.prototype.getItem=function(e){return this.withObjectStore("readonly",function(t){var n=t.get(e);return new Promise(function(e){n.onerror=function(){return e(null)},n.onsuccess=function(){return e(n.result?n.result.value:null)}})}).catch(function(){return null})},e.prototype.removeItem=function(e){return this.withObjectStore("readwrite",function(t){var n=t.delete(e);return new Promise(function(e,t){n.onerror=function(){return t(n.error)},n.onsuccess=function(){return e()}})})},e.prototype.setItem=function(e,t){return this.withObjectStore("readwrite",function(n){var i=n.put({id:e,value:t});return new Promise(function(e,t){i.onerror=function(){return t(i.error)},i.onsuccess=function(){return e()}})})},e.prototype.getDb=function(){var e=self.indexedDB.open(this.dbName,1);return new Promise(function(t,n){e.onsuccess=function(){t(e.result)},e.onerror=function(){n(e.error)},e.onblocked=function(){n(new Error("Unable to access DB"))},e.onupgradeneeded=function(){var t=e.result;t.onerror=function(){n(new Error("Failed to create object store"))},t.createObjectStore(ot,{keyPath:"id"})}})},e.prototype.withObjectStore=function(e,t){return this.getDb().then(function(n){var i=n.transaction(ot,e);return i.oncomplete=function(){return n.close()},new Promise(function(e,n){i.onerror=function(){return n(i.error)},e(t(i.objectStore(ot)))}).catch(function(e){throw n.close(),e})})},e}(),ct=new(function(){function e(e){void 0===e&&(e={}),this.store=e}return e.prototype.getItem=function(e){return e in this.store?this.store[e]:null},e.prototype.removeItem=function(e){delete this.store[e]},e.prototype.setItem=function(e,t){this.store[e]=t},e}()),ut=n("+KNX"),dt=n("viNG"),ht=n("LUnR"),pt=n("J2eM"),ft=n("UMev"),mt=n("c14h"),_t=n("S3Uu"),gt=n("N9sX"),yt=n("wU8f"),bt=n("XWO8"),vt="cognito-identity.{region}.amazonaws.com",wt=new Set(["ap-east-1","ap-northeast-1","ap-northeast-2","ap-south-1","ap-southeast-1","ap-southeast-2","ca-central-1","eu-central-1","eu-north-1","eu-west-1","eu-west-2","eu-west-3","me-south-1","sa-east-1","us-east-1","us-east-2","us-west-1","us-west-2"]),kt=new Set(["cn-north-1","cn-northwest-1"]),St=new Set(["us-iso-east-1"]),Ct=new Set(["us-isob-east-1"]),xt=new Set(["us-gov-east-1","us-gov-west-1"]),Mt={apiVersion:"2014-06-30",disableHostPrefix:!1,logger:{},regionInfoProvider:function(e,t){var n=void 0;switch(e){case"ap-northeast-1":n={hostname:"cognito-identity.ap-northeast-1.amazonaws.com",partition:"aws"};break;case"ap-northeast-2":n={hostname:"cognito-identity.ap-northeast-2.amazonaws.com",partition:"aws"};break;case"ap-south-1":n={hostname:"cognito-identity.ap-south-1.amazonaws.com",partition:"aws"};break;case"ap-southeast-1":n={hostname:"cognito-identity.ap-southeast-1.amazonaws.com",partition:"aws"};break;case"ap-southeast-2":n={hostname:"cognito-identity.ap-southeast-2.amazonaws.com",partition:"aws"};break;case"ca-central-1":n={hostname:"cognito-identity.ca-central-1.amazonaws.com",partition:"aws"};break;case"cn-north-1":n={hostname:"cognito-identity.cn-north-1.amazonaws.com.cn",partition:"aws-cn"};break;case"eu-central-1":n={hostname:"cognito-identity.eu-central-1.amazonaws.com",partition:"aws"};break;case"eu-west-1":n={hostname:"cognito-identity.eu-west-1.amazonaws.com",partition:"aws"};break;case"eu-west-2":n={hostname:"cognito-identity.eu-west-2.amazonaws.com",partition:"aws"};break;case"us-east-1":n={hostname:"cognito-identity.us-east-1.amazonaws.com",partition:"aws"};break;case"us-east-2":n={hostname:"cognito-identity.us-east-2.amazonaws.com",partition:"aws"};break;case"us-west-2":n={hostname:"cognito-identity.us-west-2.amazonaws.com",partition:"aws"};break;default:wt.has(e)&&(n={hostname:vt.replace("{region}",e),partition:"aws"}),kt.has(e)&&(n={hostname:"cognito-identity.{region}.amazonaws.com.cn".replace("{region}",e),partition:"aws-cn"}),St.has(e)&&(n={hostname:"cognito-identity.{region}.c2s.ic.gov".replace("{region}",e),partition:"aws-iso"}),Ct.has(e)&&(n={hostname:"cognito-identity.{region}.sc2s.sgov.gov".replace("{region}",e),partition:"aws-iso-b"}),xt.has(e)&&(n={hostname:"cognito-identity.{region}.amazonaws.com".replace("{region}",e),partition:"aws-us-gov"}),void 0===n&&(n={hostname:vt.replace("{region}",e),partition:"aws"})}return Promise.resolve(n)},signingName:"cognito-identity"},Dt=Object(De.a)(Object(De.a)({},Mt),{runtime:"browser",base64Decoder:_t.a,base64Encoder:_t.b,bodyLengthChecker:gt.a,credentialDefaultProvider:function(){},defaultUserAgent:Object(yt.a)(ut.name,ut.version),maxAttempts:ft.a,region:Object(pt.a)("Region is missing"),requestHandler:new ht.a,sha256:dt.Sha256,streamCollector:ht.b,urlParser:mt.a,utf8Decoder:bt.a,utf8Encoder:bt.b}),Lt=n("NtRE"),Ot=n("naxo"),Et=n("Nl9j"),Tt=n("+tRG"),At=n("qcsT"),It=n("87YT"),Pt=function(e){function t(t){var n=this,i=Object(De.a)(Object(De.a)({},Dt),t),r=Object(Lt.b)(i),s=Object(Lt.a)(r),a=Object(At.b)(s),o=Object(ft.c)(a),l=Object(It.b)(o),c=Object(Et.b)(l);return(n=e.call(this,c)||this).config=c,n.middlewareStack.use(Object(ft.b)(n.config)),n.middlewareStack.use(Object(It.a)(n.config)),n.middlewareStack.use(Object(Ot.a)(n.config)),n.middlewareStack.use(Object(Et.a)(n.config)),n.middlewareStack.use(Object(Tt.a)(n.config)),n}return Object(De.c)(t,e),t.prototype.destroy=function(){e.prototype.destroy.call(this)},t}(tt.a),Rt=function(){return(Rt=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&r[r.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1](new Date).getTime()?(Ft.debug("token not expired"),this._setCredentialsFromFederation({provider:t,token:i,user:n,identity_id:r,expires_at:s})):a._refreshHandlers[t]&&"function"==typeof a._refreshHandlers[t]?(Ft.debug("getting refreshed jwt token from federation provider"),this._providerRefreshWithRetry({refreshHandler:a._refreshHandlers[t],provider:t,user:n})):(Ft.debug("no refresh handler for provider:",t),this.clear(),Promise.reject("no refresh handler for provider"))},e.prototype._providerRefreshWithRetry=function(e){var t,n,i,r=this,s=e.provider,a=e.user;return(t=e.refreshHandler,n=[],i=1e4,void 0===i&&(i=3e5),h(t,n,function(e){return function(t){var n=100*Math.pow(2,t)+100*Math.random();return!(n>e)&&n}}(i))).then(function(e){return Ft.debug("refresh federated token sucessfully",e),r._setCredentialsFromFederation({provider:s,token:e.token,user:a,identity_id:e.identity_id,expires_at:e.expires_at})}).catch(function(e){return"string"==typeof e&&0===e.toLowerCase().lastIndexOf("network error",e.length)||r.clear(),Ft.debug("refresh federated token failed",e),Promise.reject("refreshing federation token failed: "+e)})},e.prototype._isExpired=function(e){if(!e)return Ft.debug("no credentials for expiration check"),!0;Ft.debug("are these credentials expired?",e);var t=Date.now();return e.expiration.getTime()<=t},e.prototype._isPastTTL=function(){return this._nextCredentialsRefresh<=Date.now()},e.prototype._setCredentialsForGuest=function(){return jt(this,void 0,void 0,function(){var e,t,n,i,r,s,a,o=this;return Yt(this,function(l){switch(l.label){case 0:if(Ft.debug("setting credentials for guest"),t=(e=this._config).identityPoolId,n=e.region,e.mandatorySignIn)return[2,Promise.reject("cannot get guest credentials when mandatory signin enabled")];if(!t)return Ft.debug("No Cognito Identity pool provided for unauthenticated access"),[2,Promise.reject("No Cognito Identity pool provided for unauthenticated access")];if(!n)return Ft.debug("region is not configured for getting the credentials"),[2,Promise.reject("region is not configured for getting the credentials")];i=void 0,l.label=1;case 1:return l.trys.push([1,3,,4]),[4,this._storageSync];case 2:return l.sent(),i=this._storage.getItem("CognitoIdentityId-"+t),this._identityId=i,[3,4];case 3:return r=l.sent(),Ft.debug("Failed to get the cached identityId",r),[3,4];case 4:return s=new Pt({region:n,customUserAgent:Object(Ce.b)()}),a=void 0,a=i?st({identityId:i,client:s})():jt(o,void 0,void 0,function(){var e;return Yt(this,function(n){switch(n.label){case 0:return[4,s.send(new at({IdentityPoolId:t}))];case 1:return e=n.sent().IdentityId,this._identityId=e,[2,st({client:s,identityId:e})()]}})}).catch(function(e){return jt(o,void 0,void 0,function(){return Yt(this,function(t){throw e})})}),[2,this._loadCredentials(a,"guest",!1,null).then(function(e){return e}).catch(function(e){return jt(o,void 0,void 0,function(){var n=this;return Yt(this,function(r){return"ResourceNotFoundException"===e.name&&e.message==="Identity '"+i+"' not found."?(Ft.debug("Failed to load guest credentials"),this._storage.removeItem("CognitoIdentityId-"+t),a=jt(n,void 0,void 0,function(){var e;return Yt(this,function(n){switch(n.label){case 0:return[4,s.send(new at({IdentityPoolId:t}))];case 1:return e=n.sent().IdentityId,this._identityId=e,[2,st({client:s,identityId:e})()]}})}).catch(function(e){return jt(n,void 0,void 0,function(){return Yt(this,function(t){throw e})})}),[2,this._loadCredentials(a,"guest",!1,null)]):[2,e]})})})]}})})},e.prototype._setCredentialsFromFederation=function(e){var t=e.provider,n=e.token,i=e.identity_id,r={google:"accounts.google.com",facebook:"graph.facebook.com",amazon:"www.amazon.com",developer:"cognito-identity.amazonaws.com"}[t]||t;if(!r)return Promise.reject("You must specify a federated provider");var s={};s[r]=n;var a=this._config,o=a.identityPoolId,l=a.region;if(!o)return Ft.debug("No Cognito Federated Identity pool provided"),Promise.reject("No Cognito Federated Identity pool provided");if(!l)return Ft.debug("region is not configured for getting the credentials"),Promise.reject("region is not configured for getting the credentials");var c,u=new Pt({region:l,customUserAgent:Object(Ce.b)()});return c=i?st({identityId:i,logins:s,client:u})():function(e){var t=this,n=e.accountId,i=e.cache,r=void 0===i?"object"==typeof self&&self.indexedDB?new lt:"object"==typeof window&&window.localStorage?window.localStorage:ct:i,s=e.client,a=e.customRoleArn,o=e.identityPoolId,l=e.logins,c=e.userIdentifier,u=void 0===c?l&&0!==Object.keys(l).length?void 0:"ANONYMOUS":c,d=u?"aws:cognito-identity-credentials:"+o+":"+u:void 0,h=function(){return Object(Me.__awaiter)(t,void 0,void 0,function(){var e,t,i,c,u,p,f,m,_;return Object(Me.__generator)(this,function(g){switch(g.label){case 0:return(t=d)?[4,r.getItem(d)]:[3,2];case 1:t=g.sent(),g.label=2;case 2:return(e=t)?[3,7]:(p=(u=s).send,f=at.bind,_={AccountId:n,IdentityPoolId:o},l?[4,rt(l)]:[3,4]);case 3:return m=g.sent(),[3,5];case 4:m=void 0,g.label=5;case 5:return[4,p.apply(u,[new(f.apply(at,[void 0,(_.Logins=m,_)]))])];case 6:i=g.sent().IdentityId,c=void 0===i?function(){throw new it("Response from Amazon Cognito contained no identity ID")}():i,e=c,d&&Promise.resolve(r.setItem(d,e)).catch(function(){}),g.label=7;case 7:return[2,(h=st({client:s,customRoleArn:a,logins:l,identityId:e}))()]}})})};return function(){return h().catch(function(e){return Object(Me.__awaiter)(t,void 0,void 0,function(){return Object(Me.__generator)(this,function(t){throw d&&Promise.resolve(r.removeItem(d)).catch(function(){}),e})})})}}({logins:s,identityPoolId:o,client:u})(),this._loadCredentials(c,"federated",!0,e)},e.prototype._setCredentialsFromSession=function(e){var t=this;Ft.debug("set credentials from session");var n=e.getIdToken().getJwtToken(),i=this._config,r=i.region,s=i.userPoolId,a=i.identityPoolId;if(!a)return Ft.debug("No Cognito Federated Identity pool provided"),Promise.reject("No Cognito Federated Identity pool provided");if(!r)return Ft.debug("region is not configured for getting the credentials"),Promise.reject("region is not configured for getting the credentials");var o={};o["cognito-idp."+r+".amazonaws.com/"+s]=n;var l=new Pt({region:r,customUserAgent:Object(Ce.b)()}),c=jt(t,void 0,void 0,function(){var e;return Yt(this,function(t){switch(t.label){case 0:return[4,l.send(new at({IdentityPoolId:a,Logins:o}))];case 1:return e=t.sent().IdentityId,this._identityId=e,[2,st({client:l,logins:o,identityId:e})()]}})}).catch(function(e){return jt(t,void 0,void 0,function(){return Yt(this,function(t){throw e})})});return this._loadCredentials(c,"userPool",!0,null)},e.prototype._loadCredentials=function(e,t,n,i){var r=this,s=this,a=this._config.identityPoolId;return new Promise(function(o,l){e.then(function(e){return jt(r,void 0,void 0,function(){var r,l,c,u,d,h;return Yt(this,function(p){switch(p.label){case 0:if(Ft.debug("Load credentials successfully",e),this._identityId&&!e.identityId&&(e.identityId=this._identityId),s._credentials=e,s._credentials.authenticated=n,s._credentials_source=t,s._nextCredentialsRefresh=(new Date).getTime()+3e6,"federated"===t){r=Object.assign({id:this._credentials.identityId},i.user),l=i.provider,c=i.token,u=i.expires_at,d=i.identity_id;try{this._storage.setItem("aws-amplify-federatedInfo",JSON.stringify({provider:l,token:c,user:r,expires_at:u,identity_id:d}))}catch(f){Ft.debug("Failed to put federated info into auth storage",f)}}if("guest"!==t)return[3,4];p.label=1;case 1:return p.trys.push([1,3,,4]),[4,this._storageSync];case 2:return p.sent(),this._storage.setItem("CognitoIdentityId-"+a,e.identityId),[3,4];case 3:return h=p.sent(),Ft.debug("Failed to cache identityId",h),[3,4];case 4:return o(s._credentials),[2]}})})}).catch(function(t){if(t)return Ft.debug("Failed to load credentials",e),Ft.debug("Error loading credentials",t),void l(t)})})},e.prototype.set=function(e,t){return"session"===t?this._setCredentialsFromSession(e):"federation"===t?this._setCredentialsFromFederation(e):"guest"===t?this._setCredentialsForGuest():(Ft.debug("no source specified for setting credentials"),Promise.reject("invalid source"))},e.prototype.clear=function(){return jt(this,void 0,void 0,function(){return Yt(this,function(e){return this._credentials=null,this._credentials_source=null,Ft.debug("removing aws-amplify-federatedInfo from storage"),this._storage.removeItem("aws-amplify-federatedInfo"),[2]})})},e.prototype.shear=function(e){return{accessKeyId:e.accessKeyId,sessionToken:e.sessionToken,secretAccessKey:e.secretAccessKey,identityId:e.identityId,authenticated:e.authenticated}},e}())(null);xe.a.register(Nt)},RAwQ:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?r[n][0]:r[n][1]}function n(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return n(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return n(e)}return n(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return n(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return n(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d M\xe9int",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"Rn+g":function(e,t,n){"use strict";var i=n("LYNF");e.exports=function(e,t,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(i("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},RnhZ:function(e,t,n){var i={"./af":"K/tc","./af.js":"K/tc","./ar":"jnO4","./ar-dz":"o1bE","./ar-dz.js":"o1bE","./ar-kw":"Qj4J","./ar-kw.js":"Qj4J","./ar-ly":"HP3h","./ar-ly.js":"HP3h","./ar-ma":"CoRJ","./ar-ma.js":"CoRJ","./ar-sa":"gjCT","./ar-sa.js":"gjCT","./ar-tn":"bYM6","./ar-tn.js":"bYM6","./ar.js":"jnO4","./az":"SFxW","./az.js":"SFxW","./be":"H8ED","./be.js":"H8ED","./bg":"hKrs","./bg.js":"hKrs","./bm":"p/rL","./bm.js":"p/rL","./bn":"kEOa","./bn-bd":"loYQ","./bn-bd.js":"loYQ","./bn.js":"kEOa","./bo":"0mo+","./bo.js":"0mo+","./br":"aIdf","./br.js":"aIdf","./bs":"JVSJ","./bs.js":"JVSJ","./ca":"1xZ4","./ca.js":"1xZ4","./cs":"PA2r","./cs.js":"PA2r","./cv":"A+xa","./cv.js":"A+xa","./cy":"l5ep","./cy.js":"l5ep","./da":"DxQv","./da.js":"DxQv","./de":"tGlX","./de-at":"s+uk","./de-at.js":"s+uk","./de-ch":"u3GI","./de-ch.js":"u3GI","./de.js":"tGlX","./dv":"WYrj","./dv.js":"WYrj","./el":"jUeY","./el.js":"jUeY","./en-au":"Dmvi","./en-au.js":"Dmvi","./en-ca":"OIYi","./en-ca.js":"OIYi","./en-gb":"Oaa7","./en-gb.js":"Oaa7","./en-ie":"4dOw","./en-ie.js":"4dOw","./en-il":"czMo","./en-il.js":"czMo","./en-in":"7C5Q","./en-in.js":"7C5Q","./en-nz":"b1Dy","./en-nz.js":"b1Dy","./en-sg":"t+mt","./en-sg.js":"t+mt","./eo":"Zduo","./eo.js":"Zduo","./es":"iYuL","./es-do":"CjzT","./es-do.js":"CjzT","./es-mx":"tbfe","./es-mx.js":"tbfe","./es-us":"Vclq","./es-us.js":"Vclq","./es.js":"iYuL","./et":"7BjC","./et.js":"7BjC","./eu":"D/JM","./eu.js":"D/JM","./fa":"jfSC","./fa.js":"jfSC","./fi":"gekB","./fi.js":"gekB","./fil":"1ppg","./fil.js":"1ppg","./fo":"ByF4","./fo.js":"ByF4","./fr":"nyYc","./fr-ca":"2fjn","./fr-ca.js":"2fjn","./fr-ch":"Dkky","./fr-ch.js":"Dkky","./fr.js":"nyYc","./fy":"cRix","./fy.js":"cRix","./ga":"USCx","./ga.js":"USCx","./gd":"9rRi","./gd.js":"9rRi","./gl":"iEDd","./gl.js":"iEDd","./gom-deva":"qvJo","./gom-deva.js":"qvJo","./gom-latn":"DKr+","./gom-latn.js":"DKr+","./gu":"4MV3","./gu.js":"4MV3","./he":"x6pH","./he.js":"x6pH","./hi":"3E1r","./hi.js":"3E1r","./hr":"S6ln","./hr.js":"S6ln","./hu":"WxRl","./hu.js":"WxRl","./hy-am":"1rYy","./hy-am.js":"1rYy","./id":"UDhR","./id.js":"UDhR","./is":"BVg3","./is.js":"BVg3","./it":"bpih","./it-ch":"bxKX","./it-ch.js":"bxKX","./it.js":"bpih","./ja":"B55N","./ja.js":"B55N","./jv":"tUCv","./jv.js":"tUCv","./ka":"IBtZ","./ka.js":"IBtZ","./kk":"bXm7","./kk.js":"bXm7","./km":"6B0Y","./km.js":"6B0Y","./kn":"PpIw","./kn.js":"PpIw","./ko":"Ivi+","./ko.js":"Ivi+","./ku":"JCF/","./ku.js":"JCF/","./ky":"lgnt","./ky.js":"lgnt","./lb":"RAwQ","./lb.js":"RAwQ","./lo":"sp3z","./lo.js":"sp3z","./lt":"JvlW","./lt.js":"JvlW","./lv":"uXwI","./lv.js":"uXwI","./me":"KTz0","./me.js":"KTz0","./mi":"aIsn","./mi.js":"aIsn","./mk":"aQkU","./mk.js":"aQkU","./ml":"AvvY","./ml.js":"AvvY","./mn":"lYtQ","./mn.js":"lYtQ","./mr":"Ob0Z","./mr.js":"Ob0Z","./ms":"6+QB","./ms-my":"ZAMP","./ms-my.js":"ZAMP","./ms.js":"6+QB","./mt":"G0Uy","./mt.js":"G0Uy","./my":"honF","./my.js":"honF","./nb":"bOMt","./nb.js":"bOMt","./ne":"OjkT","./ne.js":"OjkT","./nl":"+s0g","./nl-be":"2ykv","./nl-be.js":"2ykv","./nl.js":"+s0g","./nn":"uEye","./nn.js":"uEye","./oc-lnc":"Fnuy","./oc-lnc.js":"Fnuy","./pa-in":"8/+R","./pa-in.js":"8/+R","./pl":"jVdC","./pl.js":"jVdC","./pt":"8mBD","./pt-br":"0tRk","./pt-br.js":"0tRk","./pt.js":"8mBD","./ro":"lyxo","./ro.js":"lyxo","./ru":"lXzo","./ru.js":"lXzo","./sd":"Z4QM","./sd.js":"Z4QM","./se":"//9w","./se.js":"//9w","./si":"7aV9","./si.js":"7aV9","./sk":"e+ae","./sk.js":"e+ae","./sl":"gVVK","./sl.js":"gVVK","./sq":"yPMs","./sq.js":"yPMs","./sr":"zx6S","./sr-cyrl":"E+lV","./sr-cyrl.js":"E+lV","./sr.js":"zx6S","./ss":"Ur1D","./ss.js":"Ur1D","./sv":"X709","./sv.js":"X709","./sw":"dNwA","./sw.js":"dNwA","./ta":"PeUW","./ta.js":"PeUW","./te":"XLvN","./te.js":"XLvN","./tet":"V2x9","./tet.js":"V2x9","./tg":"Oxv6","./tg.js":"Oxv6","./th":"EOgW","./th.js":"EOgW","./tk":"Wv91","./tk.js":"Wv91","./tl-ph":"Dzi0","./tl-ph.js":"Dzi0","./tlh":"z3Vd","./tlh.js":"z3Vd","./tr":"DoHr","./tr.js":"DoHr","./tzl":"z1FC","./tzl.js":"z1FC","./tzm":"wQk9","./tzm-latn":"tT3J","./tzm-latn.js":"tT3J","./tzm.js":"wQk9","./ug-cn":"YRex","./ug-cn.js":"YRex","./uk":"raLr","./uk.js":"raLr","./ur":"UpQW","./ur.js":"UpQW","./uz":"Loxo","./uz-latn":"AQ68","./uz-latn.js":"AQ68","./uz.js":"Loxo","./vi":"KSF8","./vi.js":"KSF8","./x-pseudo":"/X5v","./x-pseudo.js":"/X5v","./yo":"fzPg","./yo.js":"fzPg","./zh-cn":"XDpg","./zh-cn.js":"XDpg","./zh-hk":"SatO","./zh-hk.js":"SatO","./zh-mo":"OmwH","./zh-mo.js":"OmwH","./zh-tw":"kOpN","./zh-tw.js":"kOpN"};function r(e){var t=s(e);return n(t)}function s(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=s,e.exports=r,r.id="RnhZ"},S3Uu:function(e,t,n){"use strict";n.d(t,"a",function(){return u}),n.d(t,"b",function(){return d});for(var i={},r=new Array(64),s=0,a="A".charCodeAt(0),o="Z".charCodeAt(0);s+a<=o;s++){var l=String.fromCharCode(s+a);i[l]=s,r[s]=l}for(s=0,a="a".charCodeAt(0),o="z".charCodeAt(0);s+a<=o;s++)l=String.fromCharCode(s+a),i[l]=c=s+26,r[c]=l;for(s=0;s<10;s++){var c;i[s.toString(10)]=s+52,l=s.toString(10),i[l]=c=s+52,r[c]=l}function u(e){var t=e.length/4*3;"=="===e.substr(-2)?t-=2:"="===e.substr(-1)&&t--;for(var n=new ArrayBuffer(t),r=new DataView(n),s=0;s>=6;var u=s/4*3;a>>=o%8;for(var d=Math.floor(o/8),h=0;h>p)}}return new Uint8Array(n)}function d(e){for(var t="",n=0;n>u]}t+="==".slice(0,4-l)}return t}i["+"]=62,r[62]="+",i["/"]=63,r[63]="/"},S6ln:function(e,t,n){!function(e){"use strict";function t(e,t,n){var i=e+" ";switch(n){case"ss":return i+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"m":return t?"jedna minuta":"jedne minute";case"mm":return i+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return i+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return i+(1===e?"dan":"dana");case"MM":return i+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return i+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},SFxW:function(e,t,n){!function(e){"use strict";var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(e){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gec\u0259":e<12?"s\u0259h\u0259r":e<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(e){if(0===e)return e+"-\u0131nc\u0131";var n=e%10;return e+(t[n]||t[e%100-n]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},SatO:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1200?"\u4e0a\u5348":1200===i?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},SntB:function(e,t,n){"use strict";var i=n("xTJ+");e.exports=function(e,t){t=t||{};var n={},r=["url","method","data"],s=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],o=["validateStatus"];function l(e,t){return i.isPlainObject(e)&&i.isPlainObject(t)?i.merge(e,t):i.isPlainObject(t)?i.merge({},t):i.isArray(t)?t.slice():t}function c(r){i.isUndefined(t[r])?i.isUndefined(e[r])||(n[r]=l(void 0,e[r])):n[r]=l(e[r],t[r])}i.forEach(r,function(e){i.isUndefined(t[e])||(n[e]=l(void 0,t[e]))}),i.forEach(s,c),i.forEach(a,function(r){i.isUndefined(t[r])?i.isUndefined(e[r])||(n[r]=l(void 0,e[r])):n[r]=l(void 0,t[r])}),i.forEach(o,function(i){i in t?n[i]=l(e[i],t[i]):i in e&&(n[i]=l(void 0,e[i]))});var u=r.concat(s).concat(a).concat(o),d=Object.keys(e).concat(Object.keys(t)).filter(function(e){return-1===u.indexOf(e)});return i.forEach(d,c),n}},TARy:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,r)},r=function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}},TESy:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return E}),n.d(t,"c",function(){return T}),n.d(t,"d",function(){return A}),n.d(t,"e",function(){return z}),n.d(t,"f",function(){return N}),n.d(t,"g",function(){return ee}),n.d(t,"h",function(){return R}),n.d(t,"i",function(){return ne});var i,r=function(){function e(e){var t=e||{},n=t.Username,i=t.Password,r=t.AuthParameters,s=t.ClientMetadata;this.validationData=t.ValidationData||{},this.authParameters=r||{},this.clientMetadata=s||{},this.username=n,this.password=i}var t=e.prototype;return t.getUsername=function(){return this.username},t.getPassword=function(){return this.password},t.getValidationData=function(){return this.validationData},t.getAuthParameters=function(){return this.authParameters},t.getClientMetadata=function(){return this.clientMetadata},e}(),s=n("r0jy"),a=n("tpLz"),o=n.n(a),l=(n("BvrG"),n("pebb")),c=n.n(l),u=n("ZDt5"),d=n.n(u);if("undefined"!=typeof window&&window.crypto&&(i=window.crypto),!i&&"undefined"!=typeof window&&window.msCrypto&&(i=window.msCrypto),!i&&"undefined"!=typeof global&&global.crypto&&(i=global.crypto),!i)try{i=n(!function(){var e=new Error("Cannot find module 'crypto'");throw e.code="MODULE_NOT_FOUND",e}())}catch(ie){}function h(){if(i){if("function"==typeof i.getRandomValues)try{return i.getRandomValues(new Uint32Array(1))[0]}catch(ie){}if("function"==typeof i.randomBytes)try{return i.randomBytes(4).readInt32LE()}catch(ie){}}throw new Error("Native crypto module could not be used to get secure random number.")}var p,f=function(){function e(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length}var t=e.prototype;return t.random=function(t){for(var n=[],i=0;i>>2]>>>24-r%4*8&255;i.push((s>>>4).toString(16)),i.push((15&s).toString(16))}return i.join("")}(this)},e}(),m=_;function _(e,t){null!=e&&this.fromString(e,t)}function g(){return new _(null)}var y="undefined"!=typeof navigator;y&&"Microsoft Internet Explorer"==navigator.appName?(_.prototype.am=function(e,t,n,i,r,s){for(var a=32767&t,o=t>>15;--s>=0;){var l=32767&this[e],c=this[e++]>>15,u=o*l+c*a;r=((l=a*l+((32767&u)<<15)+n[i]+(1073741823&r))>>>30)+(u>>>15)+o*c+(r>>>30),n[i++]=1073741823&l}return r},p=30):y&&"Netscape"!=navigator.appName?(_.prototype.am=function(e,t,n,i,r,s){for(;--s>=0;){var a=t*this[e++]+n[i]+r;r=Math.floor(a/67108864),n[i++]=67108863&a}return r},p=26):(_.prototype.am=function(e,t,n,i,r,s){for(var a=16383&t,o=t>>14;--s>=0;){var l=16383&this[e],c=this[e++]>>14,u=o*l+c*a;r=((l=a*l+((16383&u)<<14)+n[i]+r)>>28)+(u>>14)+o*c,n[i++]=268435455&l}return r},p=28),_.prototype.DB=p,_.prototype.DM=(1<>>16)&&(e=t,n+=16),0!=(t=e>>8)&&(e=t,n+=8),0!=(t=e>>4)&&(e=t,n+=4),0!=(t=e>>2)&&(e=t,n+=2),0!=(t=e>>1)&&(e=t,n+=1),n}function M(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<0&&this.m.subTo(t,t),t},M.prototype.revert=function(e){var t=g();return e.copyTo(t),this.reduce(t),t},M.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var t=0;t>15)*this.mpl&this.um)<<15)&e.DM;for(e[n=t+this.m.t]+=this.m.am(0,i,e,t,0,this.m.t);e[n]>=e.DV;)e[n]-=e.DV,e[++n]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},M.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},M.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},_.prototype.copyTo=function(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s},_.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0},_.prototype.fromString=function(e,t){var n;if(16==t)n=4;else if(8==t)n=3;else if(2==t)n=1;else if(32==t)n=5;else{if(4!=t)throw new Error("Only radix 2, 4, 8, 16, 32 are supported");n=2}this.t=0,this.s=0;for(var i=e.length,r=!1,s=0;--i>=0;){var a=S(e,i);a<0?"-"==e.charAt(i)&&(r=!0):(r=!1,0==s?this[this.t++]=a:s+n>this.DB?(this[this.t-1]|=(a&(1<>this.DB-s):this[this.t-1]|=a<=this.DB&&(s-=this.DB))}this.clamp(),r&&_.ZERO.subTo(this,this)},_.prototype.clamp=function(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t},_.prototype.dlShiftTo=function(e,t){var n;for(n=this.t-1;n>=0;--n)t[n+e]=this[n];for(n=e-1;n>=0;--n)t[n]=0;t.t=this.t+e,t.s=this.s},_.prototype.drShiftTo=function(e,t){for(var n=e;n=0;--n)t[n+a+1]=this[n]>>r|o,o=(this[n]&s)<=0;--n)t[n]=0;t[a]=o,t.t=this.t+a+1,t.s=this.s,t.clamp()},_.prototype.rShiftTo=function(e,t){t.s=this.s;var n=Math.floor(e/this.DB);if(n>=this.t)t.t=0;else{var i=e%this.DB,r=this.DB-i,s=(1<>i;for(var a=n+1;a>i;i>0&&(t[this.t-n-1]|=(this.s&s)<>=this.DB;if(e.t>=this.DB;i+=this.s}else{for(i+=this.s;n>=this.DB;i-=e.s}t.s=i<0?-1:0,i<-1?t[n++]=this.DV+i:i>0&&(t[n++]=i),t.t=n,t.clamp()},_.prototype.multiplyTo=function(e,t){var n=this.abs(),i=e.abs(),r=n.t;for(t.t=r+i.t;--r>=0;)t[r]=0;for(r=0;r=0;)e[n]=0;for(n=0;n=t.DV&&(e[n+t.t]-=t.DV,e[n+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(n,t[n],e,2*n,0,1)),e.s=0,e.clamp()},_.prototype.divRemTo=function(e,t,n){var i=e.abs();if(!(i.t<=0)){var r=this.abs();if(r.t0?(i.lShiftTo(l,s),r.lShiftTo(l,n)):(i.copyTo(s),r.copyTo(n));var c=s.t,u=s[c-1];if(0!=u){var d=u*(1<1?s[c-2]>>this.F2:0),h=this.FV/d,p=(1<=0&&(n[n.t++]=1,n.subTo(b,n)),_.ONE.dlShiftTo(c,b),b.subTo(s,s);s.t=0;){var v=n[--m]==u?this.DM:Math.floor(n[m]*h+(n[m-1]+f)*p);if((n[m]+=s.am(0,v,n,y,0,c))0&&n.rShiftTo(l,n),a<0&&_.ZERO.subTo(n,n)}}},_.prototype.invDigit=function(){if(this.t<1)return 0;var e=this[0];if(0==(1&e))return 0;var t=3&e;return(t=(t=(t=(t=t*(2-(15&e)*t)&15)*(2-(255&e)*t)&255)*(2-((65535&e)*t&65535))&65535)*(2-e*t%this.DV)%this.DV)>0?this.DV-t:-t},_.prototype.addTo=function(e,t){for(var n=0,i=0,r=Math.min(e.t,this.t);n>=this.DB;if(e.t>=this.DB;i+=this.s}else{for(i+=this.s;n>=this.DB;i+=e.s}t.s=i<0?-1:0,i>0?t[n++]=i:i<-1&&(t[n++]=this.DV+i),t.t=n,t.clamp()},_.prototype.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);var t;if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else{if(4!=e)throw new Error("Only radix 2, 4, 8, 16, 32 are supported");t=2}var n,i=(1<0)for(o>o)>0&&(r=!0,s=k(n));a>=0;)o>(o+=this.DB-t)):(n=this[a]>>(o-=t)&i,o<=0&&(o+=this.DB,--a)),n>0&&(r=!0),r&&(s+=k(n));return r?s:"0"},_.prototype.negate=function(){var e=g();return _.ZERO.subTo(this,e),e},_.prototype.abs=function(){return this.s<0?this.negate():this},_.prototype.compareTo=function(e){var t=this.s-e.s;if(0!=t)return t;var n=this.t;if(0!=(t=n-e.t))return this.s<0?-t:t;for(;--n>=0;)if(0!=(t=this[n]-e[n]))return t;return 0},_.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+x(this[this.t-1]^this.s&this.DM)},_.prototype.mod=function(e){var t=g();return this.abs().divRemTo(e,null,t),this.s<0&&t.compareTo(_.ZERO)>0&&e.subTo(t,t),t},_.prototype.equals=function(e){return 0==this.compareTo(e)},_.prototype.add=function(e){var t=g();return this.addTo(e,t),t},_.prototype.subtract=function(e){var t=g();return this.subTo(e,t),t},_.prototype.multiply=function(e){var t=g();return this.multiplyTo(e,t),t},_.prototype.divide=function(e){var t=g();return this.divRemTo(e,t,null),t},_.prototype.modPow=function(e,t,n){var i,r=e.bitLength(),s=C(1),a=new M(t);if(r<=0)return s;i=r<18?1:r<48?3:r<144?4:r<768?5:6;var o=new Array,l=3,c=i-1,u=(1<1){var d=g();for(a.sqrTo(o[1],d);l<=u;)o[l]=g(),a.mulTo(d,o[l-2],o[l]),l+=2}var h,p,f=e.t-1,m=!0,_=g();for(r=x(e[f])-1;f>=0;){for(r>=c?h=e[f]>>r-c&u:(h=(e[f]&(1<0&&(h|=e[f-1]>>this.DB+r-c)),l=i;0==(1&h);)h>>=1,--l;if((r-=l)<0&&(r+=this.DB,--f),m)o[h].copyTo(s),m=!1;else{for(;l>1;)a.sqrTo(s,_),a.sqrTo(_,s),l-=2;l>0?a.sqrTo(s,_):(p=s,s=_,_=p),a.mulTo(_,o[h],s)}for(;f>=0&&0==(e[f]&1<=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(n("wd/R"))},UFnQ:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("Nt7R"),r=n("HzrR"),s=n("fQM2"),a=function(){function e(){this._logger=new i.a("ServiceWorker")}return Object.defineProperty(e.prototype,"serviceWorker",{get:function(){return this._serviceWorker},enumerable:!0,configurable:!0}),e.prototype.register=function(e,t){var n=this;return void 0===e&&(e="/service-worker.js"),void 0===t&&(t="/"),this._logger.debug("registering "+e),this._logger.debug("registering service worker with scope "+t),new Promise(function(i,r){if(!navigator||!("serviceWorker"in navigator))return r(new Error("Service Worker not available"));navigator.serviceWorker.register(e,{scope:t}).then(function(e){return e.installing?n._serviceWorker=e.installing:e.waiting?n._serviceWorker=e.waiting:e.active&&(n._serviceWorker=e.active),n._registration=e,n._setupListeners(),n._logger.debug("Service Worker Registration Success: "+e),i(e)}).catch(function(e){return n._logger.debug("Service Worker Registration Failed "+e),r(e)})})},e.prototype.enablePush=function(e){var t=this;if(!this._registration)throw new Error("Service Worker not registered");return this._publicKey=e,new Promise(function(n,i){if(!Object(r.b)().isBrowser)return i(new Error("Service Worker not available"));t._registration.pushManager.getSubscription().then(function(i){if(!i)return t._logger.debug("User is NOT subscribed to push"),t._registration.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:t._urlB64ToUint8Array(e)}).then(function(e){t._subscription=e,t._logger.debug("User subscribed: "+JSON.stringify(e)),n(e)}).catch(function(e){t._logger.error(e)});t._subscription=i,t._logger.debug("User is subscribed to push: "+JSON.stringify(i)),n(i)})})},e.prototype._urlB64ToUint8Array=function(e){for(var t=(e+"=".repeat((4-e.length%4)%4)).replace(/\-/g,"+").replace(/_/g,"/"),n=window.atob(t),i=new Uint8Array(n.length),r=0;r=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n("wd/R"))},V2x9:function(e,t,n){!function(e){"use strict";e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},Vclq:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^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;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},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:i,longMonthsParse:i,shortMonthsParse:i,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 A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"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:"%d 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}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(n("wd/R"))},WYrj:function(e,t,n){!function(e){"use strict";var t=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],n=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(e){return"\u0789\u078a"===e},meridiem:function(e,t,n){return e<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(n("wd/R"))},Wv91:function(e,t,n){!function(e){"use strict";var t={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};e.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'unjy";var i=e%10;return e+(t[i]||t[e%100-i]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(n("wd/R"))},WxRl:function(e,t,n){!function(e){"use strict";var t="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function n(e,t,n,i){var r=e;switch(n){case"s":return i||t?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return r+(i||t)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(i||t?" perc":" perce");case"mm":return r+(i||t?" perc":" perce");case"h":return"egy"+(i||t?" \xf3ra":" \xf3r\xe1ja");case"hh":return r+(i||t?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(i||t?" nap":" napja");case"dd":return r+(i||t?" nap":" napja");case"M":return"egy"+(i||t?" h\xf3nap":" h\xf3napja");case"MM":return r+(i||t?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(i||t?" \xe9v":" \xe9ve");case"yy":return r+(i||t?" \xe9v":" \xe9ve")}return""}function i(e){return(e?"":"[m\xfalt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return i.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return i.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},X709:function(e,t,n){!function(e){"use strict";e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?":e":1===t||2===t?":a":":e")},week:{dow:1,doy:4}})}(n("wd/R"))},XDpg:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(e){return e.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(e){return this.week()!==e.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u5468";default:return e}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(n("wd/R"))},XLvN:function(e,t,n){!function(e){"use strict";e.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===t?e<4?e:e+12:"\u0c09\u0c26\u0c2f\u0c02"===t?e:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===t?e>=10?e:e+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":e<10?"\u0c09\u0c26\u0c2f\u0c02":e<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":e<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(n("wd/R"))},XWO8:function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return r});var i=function(e){return"function"==typeof TextEncoder?function(e){return(new TextEncoder).encode(e)}(e):function(e){for(var t=[],n=0,i=e.length;n>6|192,63&r|128);else if(n+1>18|240,s>>12&63|128,s>>6&63|128,63&s|128)}else t.push(r>>12|224,r>>6&63|128,63&r|128)}return Uint8Array.from(t)}(e)},r=function(e){return"function"==typeof TextDecoder?function(e){return new TextDecoder("utf-8").decode(e)}(e):function(e){for(var t="",n=0,i=e.length;n=11?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":i<900?"\u0633\u06d5\u06be\u06d5\u0631":i<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":i<1230?"\u0686\u06c8\u0634":i<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return e+"-\u06be\u06d5\u067e\u062a\u06d5";default:return e}},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(n("wd/R"))},YX4P:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("mB6T");i.__exportStar(n("rU8T"),t),i.__exportStar(n("LVIV"),t),i.__exportStar(n("JBVX"),t),i.__exportStar(n("JEbH"),t),i.__exportStar(n("duQQ"),t)},YcCt:function(e,t,n){"use strict";function i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,r){n=n||"=";var s={};if("string"!=typeof e||0===e.length)return s;var a=/\+/g;e=e.split(t=t||"&");var o=1e3;r&&"number"==typeof r.maxKeys&&(o=r.maxKeys);var l=e.length;o>0&&l>o&&(l=o);for(var c=0;c=0?(u=f.substr(0,m),d=f.substr(m+1)):(u=f,d=""),h=decodeURIComponent(u),p=decodeURIComponent(d),i(s,h)?Array.isArray(s[h])?s[h].push(p):s[h]=[s[h],p]:s[h]=p}return s}},YuTi:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},Z4QM:function(e,t,n){!function(e){"use strict";var t=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],n=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(n("wd/R"))},ZAMP:function(e,t,n){!function(e){"use strict";e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},ZDt5:function(e,t,n){var i;e.exports=(i=n("tpLz"),n("pebb"),n("cA0R"),i.HmacSHA256)},ZIxo:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sha256=void 0;var i=n("dFEU"),r=n("b4Ml"),s=n("xxdO"),a=n("bVud"),o=n("YX4P"),l=n("tlIM"),c=function(){function e(e){this.hash=a.supportsWebCrypto(l.locateWindow())?new r.Sha256(e):o.isMsWindow(l.locateWindow())?new i.Sha256(e):new s.Sha256(e)}return e.prototype.update=function(e,t){this.hash.update(e,t)},e.prototype.digest=function(){return this.hash.digest()},e}();t.Sha256=c},Zduo:function(e,t,n){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n("wd/R"))},aIdf:function(e,t,n){!function(e){"use strict";function t(e,t,n){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],e)}function n(e){return e>9?n(e%10):e}var i=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],r=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,s=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];e.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:s,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:s,monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(n(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(e){return e+(1===e?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,n){return e<12?"a.m.":"g.m."}})}(n("wd/R"))},aIsn:function(e,t,n){!function(e){"use strict";e.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},aQkU:function(e,t,n){!function(e){"use strict";e.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-\u0435\u0432":0===n?e+"-\u0435\u043d":n>10&&n<20?e+"-\u0442\u0438":1===t?e+"-\u0432\u0438":2===t?e+"-\u0440\u0438":7===t||8===t?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n("wd/R"))},b1Dy:function(e,t,n){!function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},b4Ml:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sha256=void 0;var i=n("bS4T"),r=n("kQNw"),s=n("p72H"),a=n("tlIM"),o=function(){function e(e){this.toHash=new Uint8Array(0),void 0!==e&&(this.key=new Promise(function(t,n){a.locateWindow().crypto.subtle.importKey("raw",l(e),s.SHA_256_HMAC_ALGO,!1,["sign"]).then(t,n)}),this.key.catch(function(){}))}return e.prototype.update=function(e){if(!r.isEmptyData(e)){var t=l(e),n=new Uint8Array(this.toHash.byteLength+t.byteLength);n.set(this.toHash,0),n.set(t,this.toHash.byteLength),this.toHash=n}},e.prototype.digest=function(){var e=this;return this.key?this.key.then(function(t){return a.locateWindow().crypto.subtle.sign(s.SHA_256_HMAC_ALGO,t,e.toHash).then(function(e){return new Uint8Array(e)})}):r.isEmptyData(this.toHash)?Promise.resolve(s.EMPTY_DATA_SHA_256):Promise.resolve().then(function(){return a.locateWindow().crypto.subtle.digest(s.SHA_256_HASH,e.toHash)}).then(function(e){return Promise.resolve(new Uint8Array(e))})},e}();function l(e){return"string"==typeof e?i.fromUtf8(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}t.Sha256=o},bOMt:function(e,t,n){!function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},bS4T:function(e,t,n){"use strict";n.r(t),n.d(t,"fromUtf8",function(){return i}),n.d(t,"toUtf8",function(){return r});var i=function(e){return"function"==typeof TextEncoder?function(e){return(new TextEncoder).encode(e)}(e):function(e){for(var t=[],n=0,i=e.length;n>6|192,63&r|128);else if(n+1>18|240,s>>12&63|128,s>>6&63|128,63&s|128)}else t.push(r>>12|224,r>>6&63|128,63&r|128)}return Uint8Array.from(t)}(e)},r=function(e){return"function"==typeof TextDecoder?function(e){return new TextDecoder("utf-8").decode(e)}(e):function(e){for(var t="",n=0,i=e.length;n=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},bYM6:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(n("wd/R"))},bpih:function(e,t,n){!function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},bxKX:function(e,t,n){!function(e){"use strict";e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},c14h:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("2XnK"),r=function(e){var t,n=new URL(e),r=n.hostname,s=n.pathname,a=n.port,o=n.protocol,l=n.search;return l&&(t=Object(i.a)(l)),{hostname:r,port:a?parseInt(a):void 0,protocol:o,path:s,query:t}}},cA0R:function(e,t,n){var i,r;e.exports=(i=n("tpLz"),r=i.enc.Utf8,void(i.algo.HMAC=i.lib.Base.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=r.parse(t));var n=e.blockSize,i=4*n;t.sigBytes>i&&(t=e.finalize(t)),t.clamp();for(var s=this._oKey=t.clone(),a=this._iKey=t.clone(),o=s.words,l=a.words,c=0;c5&&"xml"===i)return h("InvalidXml","XML declaration allowed only at the start of the document.",f(e,t));if("?"==e[t]&&">"==e[t+1]){t++;break}}return t}function o(e,t){if(e.length>t+5&&"-"===e[t+1]&&"-"===e[t+2]){for(t+=3;t"===e[t+2]){t+=2;break}}else if(e.length>t+8&&"D"===e[t+1]&&"O"===e[t+2]&&"C"===e[t+3]&&"T"===e[t+4]&&"Y"===e[t+5]&&"P"===e[t+6]&&"E"===e[t+7]){let n=1;for(t+=8;t"===e[t]&&(n--,0===n))break}else if(e.length>t+9&&"["===e[t+1]&&"C"===e[t+2]&&"D"===e[t+3]&&"A"===e[t+4]&&"T"===e[t+5]&&"A"===e[t+6]&&"["===e[t+7])for(t+=8;t"===e[t+2]){t+=2;break}return t}function l(e,t){let n="",i="",r=!1;for(;t"===e[t]&&""===i){r=!0;break}n+=e[t]}return""===i&&{value:n,index:t,tagClosed:r}}t.validate=function(e,t){t=i.buildOptions(t,r,s);const n=[];let c=!1,p=!1;"\ufeff"===e[0]&&(e=e.substr(1));for(let r=0;r"!==e[r]&&" "!==e[r]&&"\t"!==e[r]&&"\n"!==e[r]&&"\r"!==e[r];r++)a+=e[r];if(a=a.trim(),"/"===a[a.length-1]&&(a=a.substring(0,a.length-1),r--),!i.isName(a)){let t;return t=0===a.trim().length?"There is an unnecessary space between tag name and backward slash '0)return h("InvalidTag","Closing tag '"+a+"' can't have attributes or invalid starting.",f(e,r));{const t=n.pop();if(a!==t)return h("InvalidTag","Closing tag '"+t+"' is expected inplace of '"+a+"'.",f(e,r));0==n.length&&(p=!0)}}else{const i=u(_,t);if(!0!==i)return h(i.err.code,i.err.msg,f(e,r-_.length+i.err.line));if(!0===p)return h("InvalidXml","Multiple possible root nodes found.",f(e,r));n.push(a),c=!0}for(r++;r0)||h("InvalidXml","Invalid '"+JSON.stringify(n,null,4).replace(/\r?\n/g,"")+"' found.",1):h("InvalidXml","Start tag expected.",1)};const c=new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function u(e,t){const n=i.getAllMatches(e,c),r={};for(let i=0;i=10.0.0"},"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","homepage":"https://github.com/aws/aws-sdk-js-v3/tree/master/clients/client-s3","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"clients/client-s3"}}')},cRix:function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},cZ61:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RawSha256=void 0;var i=n("vdHl"),r=function(){function e(){this.state=Int32Array.from(i.INIT),this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return e.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");var t=0,n=e.byteLength;if(this.bytesHashed+=n,8*this.bytesHashed>i.MAX_HASHABLE_LENGTH)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;n>0;)this.buffer[this.bufferLength++]=e[t++],n--,this.bufferLength===i.BLOCK_SIZE&&(this.hashBuffer(),this.bufferLength=0)},e.prototype.digest=function(){if(!this.finished){var e=8*this.bytesHashed,t=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),n=this.bufferLength;if(t.setUint8(this.bufferLength++,128),n%i.BLOCK_SIZE>=i.BLOCK_SIZE-8){for(var r=this.bufferLength;r>>24&255,s[4*r+1]=this.state[r]>>>16&255,s[4*r+2]=this.state[r]>>>8&255,s[4*r+3]=this.state[r]>>>0&255;return s},e.prototype.hashBuffer=function(){for(var e=this.buffer,t=this.state,n=t[0],r=t[1],s=t[2],a=t[3],o=t[4],l=t[5],c=t[6],u=t[7],d=0;d>>17|h<<15)^(h>>>19|h<<13)^h>>>10)+this.temp[d-7]|0)+((((h=this.temp[d-15])>>>7|h<<25)^(h>>>18|h<<14)^h>>>3)+this.temp[d-16]|0)}var p=(((o>>>6|o<<26)^(o>>>11|o<<21)^(o>>>25|o<<7))+(o&l^~o&c)|0)+(u+(i.KEY[d]+this.temp[d]|0)|0)|0,f=((n>>>2|n<<30)^(n>>>13|n<<19)^(n>>>22|n<<10))+(n&r^n&s^r&s)|0;u=c,c=l,l=o,o=a+p|0,a=s,s=r,r=n,n=p+f|0}t[0]+=n,t[1]+=r,t[2]+=s,t[3]+=a,t[4]+=o,t[5]+=l,t[6]+=c,t[7]+=u},e}();t.RawSha256=r},czMo:function(e,t,n){!function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n("wd/R"))},dFEU:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sha256=void 0;var i=n("kQNw"),r=n("p72H"),s=n("bS4T"),a=n("tlIM"),o=function(){function e(e){e?(this.operation=function(e){return new Promise(function(t,n){var i=a.locateWindow().msCrypto.subtle.importKey("raw",l(e),r.SHA_256_HMAC_ALGO,!1,["sign"]);i.oncomplete=function(){i.result&&t(i.result),n("ImportKey completed without importing key.")},i.onerror=function(){n("ImportKey failed to import key.")}})}(e).then(function(e){return a.locateWindow().msCrypto.subtle.sign(r.SHA_256_HMAC_ALGO,e)}),this.operation.catch(function(){})):this.operation=Promise.resolve(a.locateWindow().msCrypto.subtle.digest("SHA-256"))}return e.prototype.update=function(e){var t=this;i.isEmptyData(e)||(this.operation=this.operation.then(function(n){return n.onerror=function(){t.operation=Promise.reject(new Error("Error encountered updating hash"))},n.process(l(e)),n}),this.operation.catch(function(){}))},e.prototype.digest=function(){return this.operation.then(function(e){return new Promise(function(t,n){e.onerror=function(){n("Error encountered finalizing hash")},e.oncomplete=function(){e.result&&t(new Uint8Array(e.result)),n("Error encountered finalizing hash")},e.finish()})})},e}();function l(e){return"string"==typeof e?s.fromUtf8(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}t.Sha256=o},dNwA:function(e,t,n){!function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n("wd/R"))},duQQ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isMsWindow=void 0;var i=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];t.isMsWindow=function(e){if(function(e){return"MSInputMethodContext"in e&&"msCrypto"in e}(e)&&void 0!==e.msCrypto.subtle){var t=e.msCrypto,n=t.getRandomValues,r=t.subtle;return i.map(function(e){return r[e]}).concat(n).every(function(e){return"function"==typeof e})}return!1}},"e+ae":function(e,t,n){!function(e){"use strict";var t="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),n="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function i(e){return e>1&&e<5}function r(e,t,n,r){var s=e+" ";switch(n){case"s":return t||r?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return t||r?s+(i(e)?"sekundy":"sek\xfand"):s+"sekundami";case"m":return t?"min\xfata":r?"min\xfatu":"min\xfatou";case"mm":return t||r?s+(i(e)?"min\xfaty":"min\xfat"):s+"min\xfatami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?s+(i(e)?"hodiny":"hod\xedn"):s+"hodinami";case"d":return t||r?"de\u0148":"d\u0148om";case"dd":return t||r?s+(i(e)?"dni":"dn\xed"):s+"d\u0148ami";case"M":return t||r?"mesiac":"mesiacom";case"MM":return t||r?s+(i(e)?"mesiace":"mesiacov"):s+"mesiacmi";case"y":return t||r?"rok":"rokom";case"yy":return t||r?s+(i(e)?"roky":"rokov"):s+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:n,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 4:case 5:return"[minul\xfd] dddd [o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},elGS:function(e,t,n){"use strict";const i=n("j/LU"),r=n("E1E9"),s=n("E1E9"),a=n("4abu").buildOptions,o=n("cIfH");t.parse=function(e,t,n){if(n){!0===n&&(n={});const t=o.validate(e,n);if(!0!==t)throw Error(t.err.msg)}t=a(t,s.defaultOptions,s.props);const l=r.getTraversalObj(e,t);return i.convertToJson(l,t)},t.convertTonimn=n("vtNb").convert2nimn,t.getTraversalObj=r.getTraversalObj,t.convertToJson=i.convertToJson,t.convertToJsonString=n("t6xR").convertToJsonString,t.validate=o.validate,t.j2xParser=n("p1mf"),t.parseToNimn=function(e,n,i){return t.convertTonimn(t.getTraversalObj(e,i),n,i)}},endd:function(e,t,n){"use strict";function i(e){this.message=e}i.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},i.prototype.__CANCEL__=!0,e.exports=i},eqyj:function(e,t,n){"use strict";var i=n("xTJ+");e.exports=i.isStandardBrowserEnv()?{write:function(e,t,n,r,s,a){var o=[];o.push(e+"="+encodeURIComponent(t)),i.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),i.isString(r)&&o.push("path="+r),i.isString(s)&&o.push("domain="+s),!0===a&&o.push("secure"),document.cookie=o.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},fQM2:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("Nt7R"),r=new i.a("Amplify"),s=new(function(){function e(){this._components=[],this._config={},this._modules={},this.Auth=null,this.Analytics=null,this.API=null,this.Credentials=null,this.Storage=null,this.I18n=null,this.Cache=null,this.PubSub=null,this.Interactions=null,this.Pushnotification=null,this.UI=null,this.XR=null,this.Predictions=null,this.DataStore=null,this.Logger=i.a,this.ServiceWorker=null}return e.prototype.register=function(e){r.debug("component registered in amplify",e),this._components.push(e),"function"==typeof e.getModuleName?(this._modules[e.getModuleName()]=e,this[e.getModuleName()]=e):r.debug("no getModuleName method for component",e),e.configure(this._config)},e.prototype.configure=function(e){var t=this;return e?(this._config=Object.assign(this._config,e),r.debug("amplify config",this._config),Object.entries(this._modules).forEach(function(e){var n=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,s=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=s.next()).done;)a.push(i.value)}catch(o){r={error:o}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return a}(e,2)[1];Object.keys(n).forEach(function(e){t._modules[e]&&(n[e]=t._modules[e])})}),this._components.map(function(e){e.configure(t._config)}),this._config):this._config},e.prototype.addPluggable=function(e){e&&e.getCategory&&"function"==typeof e.getCategory&&this._components.map(function(t){t.addPluggable&&"function"==typeof t.addPluggable&&t.addPluggable(e)})},e}())},fzPg:function(e,t,n){!function(e){"use strict";e.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(n("wd/R"))},g7np:function(e,t,n){"use strict";var i=n("2SVd"),r=n("5oMp");e.exports=function(e,t){return e&&!i(t)?r(e,t):t}},gVVK:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r=e+" ";switch(n){case"s":return t||i?"nekaj sekund":"nekaj sekundami";case"ss":return r+(1===e?t?"sekundo":"sekundi":2===e?t||i?"sekundi":"sekundah":e<5?t||i?"sekunde":"sekundah":"sekund");case"m":return t?"ena minuta":"eno minuto";case"mm":return r+(1===e?t?"minuta":"minuto":2===e?t||i?"minuti":"minutama":e<5?t||i?"minute":"minutami":t||i?"minut":"minutami");case"h":return t?"ena ura":"eno uro";case"hh":return r+(1===e?t?"ura":"uro":2===e?t||i?"uri":"urama":e<5?t||i?"ure":"urami":t||i?"ur":"urami");case"d":return t||i?"en dan":"enim dnem";case"dd":return r+(1===e?t||i?"dan":"dnem":2===e?t||i?"dni":"dnevoma":t||i?"dni":"dnevi");case"M":return t||i?"en mesec":"enim mesecem";case"MM":return r+(1===e?t||i?"mesec":"mesecem":2===e?t||i?"meseca":"mesecema":e<5?t||i?"mesece":"meseci":t||i?"mesecev":"meseci");case"y":return t||i?"eno leto":"enim letom";case"yy":return r+(1===e?t||i?"leto":"letom":2===e?t||i?"leti":"letoma":e<5?t||i?"leta":"leti":t||i?"let":"leti")}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},gekB:function(e,t,n){!function(e){"use strict";var t="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),n=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",t[7],t[8],t[9]];function i(e,i,r,s){var a="";switch(r){case"s":return s?"muutaman sekunnin":"muutama sekunti";case"ss":a=s?"sekunnin":"sekuntia";break;case"m":return s?"minuutin":"minuutti";case"mm":a=s?"minuutin":"minuuttia";break;case"h":return s?"tunnin":"tunti";case"hh":a=s?"tunnin":"tuntia";break;case"d":return s?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":a=s?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return s?"kuukauden":"kuukausi";case"MM":a=s?"kuukauden":"kuukautta";break;case"y":return s?"vuoden":"vuosi";case"yy":a=s?"vuoden":"vuotta"}return function(e,i){return e<10?i?n[e]:t[e]:e}(e,s)+" "+a}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},gjCT:function(e,t,n){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};e.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return n[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(n("wd/R"))},"gr/K":function(e,t,n){"use strict";var i=n("fQM2"),r={keyPrefix:"aws-amplify-cache",capacityInBytes:1048576,itemMaxSize:21e4,defaultTTL:2592e5,defaultPriority:5,warningThreshold:.8,storage:(new(n("2Lx6").a)).getStorage()};function s(e){var t=0;t=e.length;for(var n=e.length;n>=0;n-=1){var i=e.charCodeAt(n);i>127&&i<=2047?t+=1:i>2047&&i<=65535&&(t+=2),i>=56320&&i<=57343&&(n-=1)}return t}function a(){return(new Date).getTime()}function o(e){return Number.isInteger?Number.isInteger(e):function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}(e)}var l,c=n("Nt7R"),u=new c.a("StorageCache"),d=function(){function e(e){this.config=Object.assign({},e),this.cacheCurSizeKey=this.config.keyPrefix+"CurSize",this.checkConfig()}return e.prototype.getModuleName=function(){return"Cache"},e.prototype.checkConfig=function(){o(this.config.capacityInBytes)||(u.error("Invalid parameter: capacityInBytes. It should be an Integer. Setting back to default."),this.config.capacityInBytes=r.capacityInBytes),o(this.config.itemMaxSize)||(u.error("Invalid parameter: itemMaxSize. It should be an Integer. Setting back to default."),this.config.itemMaxSize=r.itemMaxSize),o(this.config.defaultTTL)||(u.error("Invalid parameter: defaultTTL. It should be an Integer. Setting back to default."),this.config.defaultTTL=r.defaultTTL),o(this.config.defaultPriority)||(u.error("Invalid parameter: defaultPriority. It should be an Integer. Setting back to default."),this.config.defaultPriority=r.defaultPriority),this.config.itemMaxSize>this.config.capacityInBytes&&(u.error("Invalid parameter: itemMaxSize. It should be smaller than capacityInBytes. Setting back to default."),this.config.itemMaxSize=r.itemMaxSize),(this.config.defaultPriority>5||this.config.defaultPriority<1)&&(u.error("Invalid parameter: defaultPriority. It should be between 1 and 5. Setting back to default."),this.config.defaultPriority=r.defaultPriority),(Number(this.config.warningThreshold)>1||Number(this.config.warningThreshold)<0)&&(u.error("Invalid parameter: warningThreshold. It should be between 0 and 1. Setting back to default."),this.config.warningThreshold=r.warningThreshold),this.config.capacityInBytes>5242880&&(u.error("Cache Capacity should be less than 5MB. Setting back to default. Setting back to default."),this.config.capacityInBytes=r.capacityInBytes)},e.prototype.fillCacheItem=function(e,t,n){var i={key:e,data:t,timestamp:a(),visitedTime:a(),priority:n.priority,expires:n.expires,type:typeof t,byteSize:0};return i.byteSize=s(JSON.stringify(i)),i.byteSize=s(JSON.stringify(i)),i},e.prototype.configure=function(e){return e?(e.keyPrefix&&u.warn("Don't try to configure keyPrefix!"),this.config=Object.assign({},this.config,e,e.Cache),this.checkConfig(),this.config):this.config},e}(),h=(l=function(e,t){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),p=new c.a("Cache"),f=new(function(e){function t(t){var n=this,i=t?Object.assign({},r,t):r;return(n=e.call(this,i)||this).config.storage=i.storage,n.getItem=n.getItem.bind(n),n.setItem=n.setItem.bind(n),n.removeItem=n.removeItem.bind(n),n}return h(t,e),t.prototype._decreaseCurSizeInBytes=function(e){var t=this.getCacheCurSize();this.config.storage.setItem(this.cacheCurSizeKey,(t-e).toString())},t.prototype._increaseCurSizeInBytes=function(e){var t=this.getCacheCurSize();this.config.storage.setItem(this.cacheCurSizeKey,(t+e).toString())},t.prototype._refreshItem=function(e,t){return e.visitedTime=a(),this.config.storage.setItem(t,JSON.stringify(e)),e},t.prototype._isExpired=function(e){var t=this.config.storage.getItem(e),n=JSON.parse(t);return a()>=n.expires},t.prototype._removeItem=function(e,t){var n=t||JSON.parse(this.config.storage.getItem(e)).byteSize;this._decreaseCurSizeInBytes(n),this.config.storage.removeItem(e)},t.prototype._setItem=function(e,t){this._increaseCurSizeInBytes(t.byteSize);try{this.config.storage.setItem(e,JSON.stringify(t))}catch(n){this._decreaseCurSizeInBytes(t.byteSize),p.error("Failed to set item "+n)}},t.prototype._sizeToPop=function(e){var t=this.getCacheCurSize()+e-this.config.capacityInBytes,n=(1-this.config.warningThreshold)*this.config.capacityInBytes;return t>n?t:n},t.prototype._isCacheFull=function(e){return e+this.getCacheCurSize()>this.config.capacityInBytes},t.prototype._findValidKeys=function(){for(var e=[],t=[],n=0;nt.priority?-1:e.priority5)p.warn("Invalid parameter: priority due to out or range. It should be within 1 and 5.");else{var s=this.fillCacheItem(i,t,r);if(s.byteSize>this.config.itemMaxSize)p.warn("Item with key: "+e+" you are trying to put into is too big!");else try{var o=this.config.storage.getItem(i);if(o&&this._removeItem(i,JSON.parse(o).byteSize),this._isCacheFull(s.byteSize)){var l=this._findValidKeys();if(this._isCacheFull(s.byteSize)){var c=this._sizeToPop(s.byteSize);this._popOutItems(l,c)}}this._setItem(i,s)}catch(u){p.warn("setItem failed! "+u)}}}else p.warn("The value of item should not be undefined!");else p.warn("Invalid key: should not be empty or 'CurSize'")},t.prototype.getItem=function(e,t){p.log("Get item: key is "+e+" with options "+t);var n=null,i=this.config.keyPrefix+e;if(i===this.config.keyPrefix||i===this.cacheCurSizeKey)return p.warn("Invalid key: should not be empty or 'CurSize'"),null;try{if(null!=(n=this.config.storage.getItem(i))){if(!this._isExpired(i)){var r=JSON.parse(n);return(r=this._refreshItem(r,i)).data}this._removeItem(i,JSON.parse(n).byteSize),n=null}if(t&&void 0!==t.callback){var s=t.callback();return null!==s&&this.setItem(e,s,t),s}return null}catch(a){return p.warn("getItem failed! "+a),null}},t.prototype.removeItem=function(e){p.log("Remove item: key is "+e);var t=this.config.keyPrefix+e;if(t!==this.config.keyPrefix&&t!==this.cacheCurSizeKey)try{var n=this.config.storage.getItem(t);n&&this._removeItem(t,JSON.parse(n).byteSize)}catch(i){p.warn("removeItem failed! "+i)}},t.prototype.clear=function(){p.log("Clear Cache");for(var e=[],t=0;t10&&n<20?e+"-\u0442\u0438":1===t?e+"-\u0432\u0438":2===t?e+"-\u0440\u0438":7===t||8===t?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n("wd/R"))},honF:function(e,t,n){!function(e){"use strict";var t={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},n={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};e.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(e){return e.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},week:{dow:1,doy:4}})}(n("wd/R"))},iEDd:function(e,t,n){!function(e){"use strict";e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_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"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},"iVi/":function(e,t,n){"use strict";t.parse=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");for(var n={},r=t||{},a=e.split(s),l=r.decode||i,c=0;c1)for(var o in n[a]=[],e.child[a])e.child[a].hasOwnProperty(o)&&n[a].push(r(e.child[a][o],t));else if(!0===t.arrayMode){const i=r(e.child[a][0],t);n[a]="object"==typeof i?[i]:i}else n[a]="strict"===t.arrayMode?[r(e.child[a][0],t)]:r(e.child[a][0],t)}return n};t.convertToJson=r},jUeY:function(e,t,n){!function(e){"use strict";e.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(e,t,n){return e>11?n?"\u03bc\u03bc":"\u039c\u039c":n?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(e){return"\u03bc"===(e+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT";default:return"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var n,i=this._calendarEl[e],r=t&&t.hours();return n=i,("undefined"!=typeof Function&&n instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(i=i.apply(t)),i.replace("{}",r%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(n("wd/R"))},jVdC:function(e,t,n){!function(e){"use strict";var t="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),i=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function r(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function s(e,t,n){var i=e+" ";switch(n){case"ss":return i+(r(e)?"sekundy":"sekund");case"m":return t?"minuta":"minut\u0119";case"mm":return i+(r(e)?"minuty":"minut");case"h":return t?"godzina":"godzin\u0119";case"hh":return i+(r(e)?"godziny":"godzin");case"ww":return i+(r(e)?"tygodnie":"tygodni");case"MM":return i+(r(e)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return i+(r(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,i){return e?/D MMMM/.test(i)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:s,m:s,mm:s,h:s,hh:s,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:s,M:"miesi\u0105c",MM:s,y:"rok",yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},je3o:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sha256=void 0;var i=n("mB6T"),r=n("vdHl"),s=n("cZ61"),a=n("bS4T"),o=function(){function e(e){if(this.hash=new s.RawSha256,e){this.outer=new s.RawSha256;var t=function(e){var t=l(e);if(t.byteLength>r.BLOCK_SIZE){var n=new s.RawSha256;n.update(t),t=n.digest()}var i=new Uint8Array(r.BLOCK_SIZE);return i.set(t),i}(e),n=new Uint8Array(r.BLOCK_SIZE);n.set(t);for(var i=0;i=3&&e%100<=10?3:e%100>=11?4:5},r={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},s=function(e){return function(t,n,s,a){var o=i(t),l=r[e][i(t)];return 2===o&&(l=l[n?0:1]),l.replace(/%d/i,t)}},a=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar",{months:a,monthsShort:a,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:s("s"),ss:s("s"),m:s("m"),mm:s("m"),h:s("h"),hh:s("h"),d:s("d"),dd:s("d"),M:s("M"),MM:s("M"),y:s("y"),yy:s("y")},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return n[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},kEOa:function(e,t,n){!function(e){"use strict";var t={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},n={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};e.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(e){return e.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===t&&e>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===t&&e<5||"\u09ac\u09bf\u0995\u09be\u09b2"===t?e+12:e},meridiem:function(e,t,n){return e<4?"\u09b0\u09be\u09a4":e<10?"\u09b8\u0995\u09be\u09b2":e<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":e<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(n("wd/R"))},kOpN:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},kQNw:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEmptyData=void 0,t.isEmptyData=function(e){return"string"==typeof e?0===e.length:0===e.byteLength}},"kVK+":function(e,t){t.read=function(e,t,n,i,r){var s,a,o=8*r-i-1,l=(1<>1,u=-7,d=n?r-1:0,h=n?-1:1,p=e[t+d];for(d+=h,s=p&(1<<-u)-1,p>>=-u,u+=o;u>0;s=256*s+e[t+d],d+=h,u-=8);for(a=s&(1<<-u)-1,s>>=-u,u+=i;u>0;a=256*a+e[t+d],d+=h,u-=8);if(0===s)s=1-c;else{if(s===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,i),s-=c}return(p?-1:1)*a*Math.pow(2,s-i)},t.write=function(e,t,n,i,r,s){var a,o,l,c=8*s-r-1,u=(1<>1,h=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,p=i?0:s-1,f=i?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+d>=1?h/l:h*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=u?(o=0,a=u):a+d>=1?(o=(t*l-1)*Math.pow(2,r),a+=d):(o=t*Math.pow(2,d-1)*Math.pow(2,r),a=0));r>=8;e[n+p]=255&o,p+=f,o/=256,r-=8);for(a=a<0;e[n+p]=255&a,p+=f,a/=256,c-=8);e[n+p-f]|=128*m}},"ko+D":function(e,t,n){"use strict";n.d(t,"a",function(){return L});var i=n("mB6T"),r="X-Amz-Signature",s="X-Amz-Security-Token",a="authorization",o="X-Amz-Date".toLowerCase(),l=[a,o,"date"],c=r.toLowerCase(),u="x-amz-content-sha256",d=s.toLowerCase(),h={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},p=/^proxy-/,f=/^sec-/,m="AWS4-HMAC-SHA256-PAYLOAD",_="aws4_request",g={},y=[];function b(e,t,n){return e+"/"+t+"/"+n+"/"+_}var v=n("7Z+r");function w(e,t,n){var r,s,a=e.headers,o={};try{for(var l=Object(i.__values)(Object.keys(a).sort()),c=l.next();!c.done;c=l.next()){var u=c.value,d=u.toLowerCase();(d in h||(null==t?void 0:t.has(d))||p.test(d)||f.test(d))&&(!n||n&&!n.has(d))||(o[d]=a[u].trim().replace(/\s+/g," "))}}catch(m){r={error:m}}finally{try{c&&!c.done&&(s=l.return)&&s.call(l)}finally{if(r)throw r.error}}return o}var k=n("TARy"),S=n("GDOE");function C(e,t){var n=e.headers,r=e.body;return Object(i.__awaiter)(this,void 0,void 0,function(){var e,s,a,o,l,c,d;return Object(i.__generator)(this,function(h){switch(h.label){case 0:try{for(e=Object(i.__values)(Object.keys(n)),s=e.next();!s.done;s=e.next())if((a=s.value).toLowerCase()===u)return[2,n[a]]}catch(p){c={error:p}}finally{try{s&&!s.done&&(d=e.return)&&d.call(e)}finally{if(c)throw c.error}}return null!=r?[3,1]:[2,"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"];case 1:return"string"==typeof r||ArrayBuffer.isView(r)||Object(S.a)(r)?((o=new t).update(r),l=v.b,[4,o.digest()]):[3,3];case 2:return[2,l.apply(void 0,[h.sent()])];case 3:return[2,"UNSIGNED-PAYLOAD"]}})})}function x(e){var t=e.headers,n=e.query,r=Object(i.__rest)(e,["headers","query"]);return Object(i.__assign)(Object(i.__assign)({},r),{headers:Object(i.__assign)({},t),query:n?M(n):void 0})}function M(e){return Object.keys(e).reduce(function(t,n){var r,s=e[n];return Object(i.__assign)(Object(i.__assign)({},t),((r={})[n]=Array.isArray(s)?Object(i.__spread)(s):s,r))},{})}function D(e){var t,n;e="function"==typeof e.clone?e.clone():x(e);try{for(var r=Object(i.__values)(Object.keys(e.headers)),s=r.next();!s.done;s=r.next()){var a=s.value;l.indexOf(a.toLowerCase())>-1&&delete e.headers[a]}}catch(o){t={error:o}}finally{try{s&&!s.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return e}var L=function(){function e(e){var t=e.applyChecksum,n=e.credentials,i=e.region,r=e.sha256,s=e.uriEscapePath,a=void 0===s||s;this.service=e.service,this.sha256=r,this.uriEscapePath=a,this.applyChecksum="boolean"!=typeof t||t,this.regionProvider=T(i),this.credentialProvider=A(n)}return e.prototype.presign=function(e,t){return void 0===t&&(t={}),Object(i.__awaiter)(this,void 0,void 0,function(){var n,a,o,l,c,u,d,h,p,f,m,_,g,y,v,k,S,M,L,T,A,I,P;return Object(i.__generator)(this,function(R){switch(R.label){case 0:return a=void 0===(n=t.signingDate)?new Date:n,l=void 0===(o=t.expiresIn)?3600:o,c=t.unsignableHeaders,u=t.signableHeaders,d=t.signingRegion,h=t.signingService,[4,this.credentialProvider()];case 1:return p=R.sent(),null==d?[3,2]:(m=d,[3,4]);case 2:return[4,this.regionProvider()];case 3:m=R.sent(),R.label=4;case 4:return f=m,_=O(a),g=_.longDate,y=_.shortDate,l>604800?[2,Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future")]:(v=b(y,f,null!=h?h:this.service),k=function(e){var t,n,r="function"==typeof e.clone?e.clone():x(e),s=r.headers,a=r.query,o=void 0===a?{}:a;try{for(var l=Object(i.__values)(Object.keys(s)),c=l.next();!c.done;c=l.next()){var u=c.value;"x-amz-"===u.toLowerCase().substr(0,6)&&(o[u]=s[u],delete s[u])}}catch(d){t={error:d}}finally{try{c&&!c.done&&(n=l.return)&&n.call(l)}finally{if(t)throw t.error}}return Object(i.__assign)(Object(i.__assign)({},e),{headers:s,query:o})}(D(e)),p.sessionToken&&(k.query[s]=p.sessionToken),k.query["X-Amz-Algorithm"]="AWS4-HMAC-SHA256",k.query["X-Amz-Credential"]=p.accessKeyId+"/"+v,k.query["X-Amz-Date"]=g,k.query["X-Amz-Expires"]=l.toString(10),S=w(k,c,u),k.query["X-Amz-SignedHeaders"]=E(S),M=k.query,L=r,T=this.getSignature,A=[g,v,this.getSigningKey(p,f,y,h)],I=this.createCanonicalRequest,P=[k,S],[4,C(e,this.sha256)]);case 5:return[4,T.apply(this,A.concat([I.apply(this,P.concat([R.sent()]))]))];case 6:return M[L]=R.sent(),[2,k]}})})},e.prototype.sign=function(e,t){return Object(i.__awaiter)(this,void 0,void 0,function(){return Object(i.__generator)(this,function(n){return"string"==typeof e?[2,this.signString(e,t)]:e.headers&&e.payload?[2,this.signEvent(e,t)]:[2,this.signRequest(e,t)]})})},e.prototype.signEvent=function(e,t){var n=e.headers,r=e.payload,s=t.signingDate,a=void 0===s?new Date:s,o=t.priorSignature,l=t.signingRegion,c=t.signingService;return Object(i.__awaiter)(this,void 0,void 0,function(){var e,t,s,u,d,h,p,f,_,g;return Object(i.__generator)(this,function(i){switch(i.label){case 0:return null==l?[3,1]:(t=l,[3,3]);case 1:return[4,this.regionProvider()];case 2:t=i.sent(),i.label=3;case 3:return e=t,s=O(a),u=s.longDate,d=b(s.shortDate,e,null!=c?c:this.service),[4,C({headers:{},body:r},this.sha256)];case 4:return h=i.sent(),(p=new this.sha256).update(n),_=v.b,[4,p.digest()];case 5:return f=_.apply(void 0,[i.sent()]),g=[m,u,d,o,f,h].join("\n"),[2,this.signString(g,{signingDate:a,signingRegion:e,signingService:c})]}})})},e.prototype.signString=function(e,t){var n=void 0===t?{}:t,r=n.signingDate,s=void 0===r?new Date:r,a=n.signingRegion,o=n.signingService;return Object(i.__awaiter)(this,void 0,void 0,function(){var t,n,r,l,c,u,d,h;return Object(i.__generator)(this,function(i){switch(i.label){case 0:return[4,this.credentialProvider()];case 1:return t=i.sent(),null==a?[3,2]:(r=a,[3,4]);case 2:return[4,this.regionProvider()];case 3:r=i.sent(),i.label=4;case 4:return n=r,l=O(s).shortDate,d=(u=this.sha256).bind,[4,this.getSigningKey(t,n,l,o)];case 5:return(c=new(d.apply(u,[void 0,i.sent()]))).update(e),h=v.b,[4,c.digest()];case 6:return[2,h.apply(void 0,[i.sent()])]}})})},e.prototype.signRequest=function(e,t){var n=void 0===t?{}:t,r=n.signingDate,s=void 0===r?new Date:r,l=n.signableHeaders,c=n.unsignableHeaders,h=n.signingRegion,p=n.signingService;return Object(i.__awaiter)(this,void 0,void 0,function(){var t,n,r,f,m,_,g,y,v,k,S;return Object(i.__generator)(this,function(x){switch(x.label){case 0:return[4,this.credentialProvider()];case 1:return t=x.sent(),null==h?[3,2]:(r=h,[3,4]);case 2:return[4,this.regionProvider()];case 3:r=x.sent(),x.label=4;case 4:return n=r,f=D(e),m=O(s),_=m.longDate,y=b(g=m.shortDate,n,null!=p?p:this.service),f.headers[o]=_,t.sessionToken&&(f.headers[d]=t.sessionToken),[4,C(f,this.sha256)];case 5:return v=x.sent(),!function(e,t){var n,r;e=e.toLowerCase();try{for(var s=Object(i.__values)(Object.keys(t)),a=s.next();!a.done;a=s.next())if(e===a.value.toLowerCase())return!0}catch(o){n={error:o}}finally{try{a&&!a.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return!1}(u,f.headers)&&this.applyChecksum&&(f.headers[u]=v),k=w(f,c,l),[4,this.getSignature(_,y,this.getSigningKey(t,n,g,p),this.createCanonicalRequest(f,k,v))];case 6:return S=x.sent(),f.headers[a]="AWS4-HMAC-SHA256 Credential="+t.accessKeyId+"/"+y+", SignedHeaders="+E(k)+", Signature="+S,[2,f]}})})},e.prototype.createCanonicalRequest=function(e,t,n){var r=Object.keys(t).sort();return e.method+"\n"+this.getCanonicalPath(e)+"\n"+function(e){var t,n,r=e.query,s=void 0===r?{}:r,a=[],o={},l=function(e){if(e.toLowerCase()===c)return"continue";a.push(e);var t=s[e];"string"==typeof t?o[e]=Object(k.a)(e)+"="+Object(k.a)(t):Array.isArray(t)&&(o[e]=t.slice(0).sort().reduce(function(t,n){return t.concat([Object(k.a)(e)+"="+Object(k.a)(n)])},[]).join("&"))};try{for(var u=Object(i.__values)(Object.keys(s).sort()),d=u.next();!d.done;d=u.next())l(d.value)}catch(h){t={error:h}}finally{try{d&&!d.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}return a.map(function(e){return o[e]}).filter(function(e){return e}).join("&")}(e)+"\n"+r.map(function(e){return e+":"+t[e]}).join("\n")+"\n\n"+r.join(";")+"\n"+n},e.prototype.createStringToSign=function(e,t,n){return Object(i.__awaiter)(this,void 0,void 0,function(){var r,s;return Object(i.__generator)(this,function(i){switch(i.label){case 0:return(r=new this.sha256).update(n),[4,r.digest()];case 1:return s=i.sent(),[2,"AWS4-HMAC-SHA256\n"+e+"\n"+t+"\n"+Object(v.b)(s)]}})})},e.prototype.getCanonicalPath=function(e){var t=e.path;return this.uriEscapePath?"/"+encodeURIComponent(t.replace(/^\//,"")).replace(/%2F/g,"/"):t},e.prototype.getSignature=function(e,t,n,r){return Object(i.__awaiter)(this,void 0,void 0,function(){var s,a,o,l,c;return Object(i.__generator)(this,function(i){switch(i.label){case 0:return[4,this.createStringToSign(e,t,r)];case 1:return s=i.sent(),l=(o=this.sha256).bind,[4,n];case 2:return(a=new(l.apply(o,[void 0,i.sent()]))).update(s),c=v.b,[4,a.digest()];case 3:return[2,c.apply(void 0,[i.sent()])]}})})},e.prototype.getSigningKey=function(e,t,n,r){return function(e,t,n,r,s){var a=n+":"+r+":"+s+":"+t.accessKeyId+":"+t.sessionToken;if(a in g)return g[a];for(y.push(a);y.length>50;)delete g[y.shift()];return g[a]=new Promise(function(o,l){var c,u,d=Promise.resolve("AWS4"+t.secretAccessKey),h=function(t){(d=d.then(function(n){return i=t,(r=new e(n)).update(i),r.digest();var i,r})).catch(function(){})};try{for(var p=Object(i.__values)([n,r,s,_]),f=p.next();!f.done;f=p.next())h(f.value)}catch(m){c={error:m}}finally{try{f&&!f.done&&(u=p.return)&&u.call(p)}finally{if(c)throw c.error}}d.then(o,function(e){delete g[a],l(e)})})}(this.sha256,e,n,t,r||this.service)},e}(),O=function(e){var t,n=(t=e,function(e){return"number"==typeof e?new Date(1e3*e):"string"==typeof e?Number(e)?new Date(1e3*Number(e)):new Date(e):e}(t).toISOString().replace(/\.\d{3}Z$/,"Z")).replace(/[\-:]/g,"");return{longDate:n,shortDate:n.substr(0,8)}},E=function(e){return Object.keys(e).sort().join(";")},T=function(e){if("string"==typeof e){var t=Promise.resolve(e);return function(){return t}}return e},A=function(e){if("object"==typeof e){var t=Promise.resolve(e);return function(){return t}}return e}},l1VB:function(e,t,n){"use strict";var i,r,s,a,o,l,c,u,d,h,p,f,m,_,g,y,b,v,w,k,S,C,x,M,D,L,O,E,T,A,I,P,R,j,Y,F,N,H,V,U,B,z,W,q,K,$,G,J,Q,X,Z,ee,te,ne,ie,re,se,ae,oe,le,ce,ue,de,he,pe,fe,me,_e,ge,ye,be,ve,we,ke,Se,Ce,xe,Me,De,Le,Oe,Ee,Te,Ae,Ie,Pe,Re,je,Ye,Fe,Ne,He,Ve,Ue,Be,ze,We,qe,Ke,$e,Ge,Je,Qe,Xe,Ze,et,tt,nt,it,rt,st,at,ot,lt,ct,ut,dt,ht,pt,ft,mt,_t,gt,yt,bt,vt,wt,kt,St,Ct,xt,Mt,Dt,Lt,Ot,Et,Tt,At,It,Pt,Rt,jt,Yt,Ft,Nt,Ht,Vt,Ut,Bt,zt,Wt,qt,Kt,$t,Gt,Jt,Qt,Xt,Zt,en,tn,nn,rn,sn,an,on,ln,cn,un,dn,hn,pn,fn,mn,_n,gn,yn,bn,vn,wn,kn,Sn,Cn,xn,Mn,Dn,Ln,On,En,Tn,An,In,Pn,Rn,jn,Yn,Fn,Nn,Hn,Vn,Un,Bn,zn,Wn,qn,Kn,$n,Gn,Jn,Qn,Xn,Zn,ei,ti,ni,ii,ri,si,ai,oi,li,ci,ui,di,hi,pi,fi,mi,_i,gi,yi,bi,vi,wi,ki,Si,Ci,xi,Mi,Di,Li,Oi,Ei,Ti,Ai,Ii,Pi,Ri,ji,Yi,Fi,Ni,Hi,Vi=n("Nt7R"),Ui=n("QuJe"),Bi=n("Qycn"),zi=n("R10A"),Wi=n("+rSW"),qi=n("mrSG"),Ki=n("EI00");(i||(i={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(r||(r={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(s||(s={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(a||(a={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(o||(o={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(l||(l={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(c||(c={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(u||(u={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(d||(d={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(h||(h={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(p||(p={})).filterSensitiveLog=function(e){return Object(qi.a)(Object(qi.a)({},e),e.SSEKMSKeyId&&{SSEKMSKeyId:Ki.c})},(f||(f={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(m||(m={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(_||(_={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(g||(g={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(y||(y={})).filterSensitiveLog=function(e){return Object(qi.a)(Object(qi.a)(Object(qi.a)({},e),e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Ki.c}),e.SSEKMSKeyId&&{SSEKMSKeyId:Ki.c})},(b||(b={})).filterSensitiveLog=function(e){return Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)({},e),e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Ki.c}),e.SSECustomerKey&&{SSECustomerKey:Ki.c}),e.CopySourceSSECustomerKey&&{CopySourceSSECustomerKey:Ki.c}),e.SSEKMSKeyId&&{SSEKMSKeyId:Ki.c})},(v||(v={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(w||(w={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(k||(k={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(S||(S={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(C||(C={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(x||(x={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(M||(M={})).filterSensitiveLog=function(e){return Object(qi.a)(Object(qi.a)(Object(qi.a)({},e),e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Ki.c}),e.SSEKMSKeyId&&{SSEKMSKeyId:Ki.c})},(D||(D={})).filterSensitiveLog=function(e){return Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)({},e),e.SSEKMSKeyId&&{SSEKMSKeyId:Ki.c}),e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Ki.c}),e.SSECustomerKey&&{SSECustomerKey:Ki.c})},(L||(L={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(O||(O={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(E||(E={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(T||(T={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(A||(A={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(I||(I={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(P||(P={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(R||(R={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(j||(j={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Y||(Y={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(F||(F={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(N||(N={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(H||(H={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(V||(V={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(U||(U={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(B||(B={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(z||(z={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(W||(W={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(q||(q={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(K||(K={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},($||($={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(G||(G={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(J||(J={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Q||(Q={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(X||(X={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Z||(Z={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(ee||(ee={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(te||(te={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(ne||(ne={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(ie||(ie={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(re||(re={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(se||(se={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(ae||(ae={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(oe||(oe={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(le||(le={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(ce||(ce={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(ue||(ue={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(de||(de={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(he||(he={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(pe||(pe={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(fe||(fe={})).filterSensitiveLog=function(e){return Object(qi.a)(Object(qi.a)({},e),e.KMSMasterKeyID&&{KMSMasterKeyID:Ki.c})},(me||(me={})).filterSensitiveLog=function(e){return Object(qi.a)(Object(qi.a)({},e),e.ApplyServerSideEncryptionByDefault&&{ApplyServerSideEncryptionByDefault:fe.filterSensitiveLog(e.ApplyServerSideEncryptionByDefault)})},(_e||(_e={})).filterSensitiveLog=function(e){return Object(qi.a)(Object(qi.a)({},e),e.Rules&&{Rules:e.Rules.map(function(e){return me.filterSensitiveLog(e)})})},(ge||(ge={})).filterSensitiveLog=function(e){return Object(qi.a)(Object(qi.a)({},e),e.ServerSideEncryptionConfiguration&&{ServerSideEncryptionConfiguration:_e.filterSensitiveLog(e.ServerSideEncryptionConfiguration)})},(ye||(ye={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(be||(be={})).filterSensitiveLog=function(e){return Object(qi.a)(Object(qi.a)({},e),e.KeyId&&{KeyId:Ki.c})},(ve||(ve={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(we||(we={})).filterSensitiveLog=function(e){return Object(qi.a)(Object(qi.a)({},e),e.SSEKMS&&{SSEKMS:be.filterSensitiveLog(e.SSEKMS)})},(ke||(ke={})).filterSensitiveLog=function(e){return Object(qi.a)(Object(qi.a)({},e),e.Encryption&&{Encryption:we.filterSensitiveLog(e.Encryption)})},(Se||(Se={})).filterSensitiveLog=function(e){return Object(qi.a)(Object(qi.a)({},e),e.S3BucketDestination&&{S3BucketDestination:ke.filterSensitiveLog(e.S3BucketDestination)})},(Ce||(Ce={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(xe||(xe={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Me||(Me={})).filterSensitiveLog=function(e){return Object(qi.a)(Object(qi.a)({},e),e.Destination&&{Destination:Se.filterSensitiveLog(e.Destination)})},(De||(De={})).filterSensitiveLog=function(e){return Object(qi.a)(Object(qi.a)({},e),e.InventoryConfiguration&&{InventoryConfiguration:Me.filterSensitiveLog(e.InventoryConfiguration)})},(Le||(Le={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Oe||(Oe={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Ee||(Ee={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Te||(Te={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Ae||(Ae={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Ie||(Ie={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Pe||(Pe={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Re||(Re={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(je||(je={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Ye||(Ye={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Fe||(Fe={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Ne||(Ne={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(He||(He={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Ve||(Ve={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Ue||(Ue={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Be||(Be={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(ze||(ze={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(We||(We={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(qe||(qe={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Ke||(Ke={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},($e||($e={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Ge||(Ge={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Je||(Je={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Qe||(Qe={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Xe||(Xe={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Ze||(Ze={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(et||(et={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(tt||(tt={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(nt||(nt={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(it||(it={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(rt||(rt={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(st||(st={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(at||(at={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(ot||(ot={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(lt||(lt={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(ct||(ct={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(ut||(ut={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(dt||(dt={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(ht||(ht={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(pt||(pt={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(ft||(ft={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(mt||(mt={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(_t||(_t={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(gt||(gt={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(yt||(yt={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(bt||(bt={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(vt||(vt={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(wt||(wt={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(kt||(kt={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(St||(St={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Ct||(Ct={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(xt||(xt={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Mt||(Mt={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Dt||(Dt={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Lt||(Lt={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Ot||(Ot={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Et||(Et={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Tt||(Tt={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(At||(At={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(It||(It={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Pt||(Pt={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Rt||(Rt={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(jt||(jt={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Yt||(Yt={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Ft||(Ft={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Nt||(Nt={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Ht||(Ht={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Vt||(Vt={})).filterSensitiveLog=function(e){return Object(qi.a)(Object(qi.a)({},e),e.SSEKMSKeyId&&{SSEKMSKeyId:Ki.c})},(Ut||(Ut={})).filterSensitiveLog=function(e){return Object(qi.a)(Object(qi.a)({},e),e.SSECustomerKey&&{SSECustomerKey:Ki.c})},(Bt||(Bt={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(zt||(zt={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Wt||(Wt={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(qt||(qt={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Kt||(Kt={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},($t||($t={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Gt||(Gt={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Jt||(Jt={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Qt||(Qt={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Xt||(Xt={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Zt||(Zt={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(en||(en={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(tn||(tn={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(nn||(nn={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(rn||(rn={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(sn||(sn={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(an||(an={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(on||(on={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(ln||(ln={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(cn||(cn={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(un||(un={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(dn||(dn={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(hn||(hn={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(pn||(pn={})).filterSensitiveLog=function(e){return Object(qi.a)(Object(qi.a)({},e),e.SSEKMSKeyId&&{SSEKMSKeyId:Ki.c})},(fn||(fn={})).filterSensitiveLog=function(e){return Object(qi.a)(Object(qi.a)({},e),e.SSECustomerKey&&{SSECustomerKey:Ki.c})},(mn||(mn={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(_n||(_n={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(gn||(gn={})).filterSensitiveLog=function(e){return Object(qi.a)(Object(qi.a)({},e),e.InventoryConfigurationList&&{InventoryConfigurationList:e.InventoryConfigurationList.map(function(e){return Me.filterSensitiveLog(e)})})},(yn||(yn={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(bn||(bn={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(vn||(vn={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(wn||(wn={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(kn||(kn={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Sn||(Sn={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Cn||(Cn={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(xn||(xn={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Mn||(Mn={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Dn||(Dn={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Ln||(Ln={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(On||(On={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(En||(En={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Tn||(Tn={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(An||(An={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(In||(In={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Pn||(Pn={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Rn||(Rn={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(jn||(jn={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Yn||(Yn={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Fn||(Fn={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Nn||(Nn={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Hn||(Hn={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Vn||(Vn={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Un||(Un={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Bn||(Bn={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(zn||(zn={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Wn||(Wn={})).filterSensitiveLog=function(e){return Object(qi.a)(Object(qi.a)({},e),e.ServerSideEncryptionConfiguration&&{ServerSideEncryptionConfiguration:_e.filterSensitiveLog(e.ServerSideEncryptionConfiguration)})},(qn||(qn={})).filterSensitiveLog=function(e){return Object(qi.a)(Object(qi.a)({},e),e.InventoryConfiguration&&{InventoryConfiguration:Me.filterSensitiveLog(e.InventoryConfiguration)})},(Kn||(Kn={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},($n||($n={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Gn||(Gn={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Jn||(Jn={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Qn||(Qn={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Xn||(Xn={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Zn||(Zn={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(ei||(ei={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(ti||(ti={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(ni||(ni={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(ii||(ii={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(ri||(ri={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(si||(si={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(ai||(ai={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(oi||(oi={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(li||(li={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(ci||(ci={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(ui||(ui={})).filterSensitiveLog=function(e){return Object(qi.a)(Object(qi.a)(Object(qi.a)({},e),e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Ki.c}),e.SSEKMSKeyId&&{SSEKMSKeyId:Ki.c})},(di||(di={})).filterSensitiveLog=function(e){return Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)({},e),e.SSECustomerKey&&{SSECustomerKey:Ki.c}),e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Ki.c}),e.SSEKMSKeyId&&{SSEKMSKeyId:Ki.c})},(hi||(hi={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(pi||(pi={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(fi||(fi={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(mi||(mi={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(_i||(_i={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(gi||(gi={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(yi||(yi={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(bi||(bi={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(vi||(vi={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(wi||(wi={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(ki||(ki={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Si||(Si={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Ci||(Ci={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(xi||(xi={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Mi||(Mi={})).filterSensitiveLog=function(e){return Object(qi.a)(Object(qi.a)({},e),e.KMSKeyId&&{KMSKeyId:Ki.c})},(Di||(Di={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Li||(Li={})).filterSensitiveLog=function(e){return Object(qi.a)(Object(qi.a)({},e),e.Encryption&&{Encryption:Mi.filterSensitiveLog(e.Encryption)})},(Oi||(Oi={})).filterSensitiveLog=function(e){return Object(qi.a)(Object(qi.a)({},e),e.S3&&{S3:Li.filterSensitiveLog(e.S3)})},function(e){e.IGNORE="IGNORE",e.NONE="NONE",e.USE="USE"}(Ei||(Ei={})),(Ti||(Ti={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},function(e){e.DOCUMENT="DOCUMENT",e.LINES="LINES"}(Ai||(Ai={})),(Ii||(Ii={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Pi||(Pi={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Ri||(Ri={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},function(e){e.ALWAYS="ALWAYS",e.ASNEEDED="ASNEEDED"}(ji||(ji={})),(Yi||(Yi={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Fi||(Fi={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Ni||(Ni={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Hi||(Hi={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)};var $i=n("Enk7"),Gi=n("mB6T"),Ji=function(){function e(e,t){void 0===t&&(t=[]),this.name=e,this.children=t,this.attributes={}}return e.prototype.withName=function(e){return this.name=e,this},e.prototype.addAttribute=function(e,t){return this.attributes[e]=t,this},e.prototype.addChildNode=function(e){return this.children.push(e),this},e.prototype.removeAttribute=function(e){return delete this.attributes[e],this},e.prototype.toString=function(){var e,t,n=Boolean(this.children.length),i="<"+this.name,r=this.attributes;try{for(var s=Object(Gi.__values)(Object.keys(r)),a=s.next();!a.done;a=s.next()){var o=a.value,l=r[o];null!=l&&(i+=" "+o+'="'+(""+l).replace(/&/g,"&").replace(//g,">").replace(/"/g,""")+'"')}}catch(c){e={error:c}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}return i+(n?">"+this.children.map(function(e){return e.toString()}).join("")+"":"/>")},e}(),Qi=function(){function e(e){this.value=e}return e.prototype.toString=function(){return(""+this.value).replace(/&/g,"&").replace(//g,">")},e}(),Xi=n("elGS"),Zi=function(e,t){return Object(qi.b)(void 0,void 0,void 0,function(){var n,i,r,s,a,o,l,c;return Object(qi.d)(this,function(u){switch(u.label){case 0:return i=[Object(qi.a)({},e)],c={},[4,mr(e.body,t)];case 1:switch(n=qi.a.apply(void 0,i.concat([(c.body=u.sent(),c)])),s="UnknownError",s=_r(e,n.body)){case"NoSuchUpload":case"com.amazonaws.s3#NoSuchUpload":return[3,2]}return[3,4];case 2:return a=[{}],[4,ur(n,t)];case 3:return r=qi.a.apply(void 0,[qi.a.apply(void 0,a.concat([u.sent()])),{name:s,$metadata:hr(e)}]),[3,5];case 4:s=(o=n.body).code||o.Code||s,r=Object(qi.a)(Object(qi.a)({},o),{name:""+s,message:o.message||o.Message||s,$fault:"client",$metadata:hr(e)}),u.label=5;case 5:return r.message=l=r.message||r.Message||s,delete r.Message,[2,Promise.reject(Object.assign(new Error(l),r))]}})})},er=function(e,t){return Object(qi.b)(void 0,void 0,void 0,function(){var n,i,r,s,a,o,l;return Object(qi.d)(this,function(c){switch(c.label){case 0:return i=[Object(qi.a)({},e)],l={},[4,mr(e.body,t)];case 1:return n=qi.a.apply(void 0,i.concat([(l.body=c.sent(),l)])),s="UnknownError",s=_r(e,n.body),s=(a=n.body).code||a.Code||s,(r=Object(qi.a)(Object(qi.a)({},a),{name:""+s,message:a.message||a.Message||s,$fault:"client",$metadata:hr(e)})).message=o=r.message||r.Message||s,delete r.Message,[2,Promise.reject(Object.assign(new Error(o),r))]}})})},tr=function(e,t){return Object(qi.b)(void 0,void 0,void 0,function(){var n,i,r,s,a,o,l;return Object(qi.d)(this,function(c){switch(c.label){case 0:return i=[Object(qi.a)({},e)],l={},[4,mr(e.body,t)];case 1:return n=qi.a.apply(void 0,i.concat([(l.body=c.sent(),l)])),s="UnknownError",s=_r(e,n.body),s=(a=n.body).code||a.Code||s,(r=Object(qi.a)(Object(qi.a)({},a),{name:""+s,message:a.message||a.Message||s,$fault:"client",$metadata:hr(e)})).message=o=r.message||r.Message||s,delete r.Message,[2,Promise.reject(Object.assign(new Error(o),r))]}})})},nr=function(e,t){return Object(qi.b)(void 0,void 0,void 0,function(){var n,i,r,s,a,o,l;return Object(qi.d)(this,function(c){switch(c.label){case 0:return i=[Object(qi.a)({},e)],l={},[4,mr(e.body,t)];case 1:return n=qi.a.apply(void 0,i.concat([(l.body=c.sent(),l)])),s="UnknownError",s=_r(e,n.body),s=(a=n.body).code||a.Code||s,(r=Object(qi.a)(Object(qi.a)({},a),{name:""+s,message:a.message||a.Message||s,$fault:"client",$metadata:hr(e)})).message=o=r.message||r.Message||s,delete r.Message,[2,Promise.reject(Object.assign(new Error(o),r))]}})})},ir=function(e,t){return Object(qi.b)(void 0,void 0,void 0,function(){var n,i,r,s,a,o,l,c;return Object(qi.d)(this,function(u){switch(u.label){case 0:return i=[Object(qi.a)({},e)],c={},[4,mr(e.body,t)];case 1:switch(n=qi.a.apply(void 0,i.concat([(c.body=u.sent(),c)])),s="UnknownError",s=_r(e,n.body)){case"NoSuchKey":case"com.amazonaws.s3#NoSuchKey":return[3,2]}return[3,4];case 2:return a=[{}],[4,cr(n,t)];case 3:return r=qi.a.apply(void 0,[qi.a.apply(void 0,a.concat([u.sent()])),{name:s,$metadata:hr(e)}]),[3,5];case 4:s=(o=n.body).code||o.Code||s,r=Object(qi.a)(Object(qi.a)({},o),{name:""+s,message:o.message||o.Message||s,$fault:"client",$metadata:hr(e)}),u.label=5;case 5:return r.message=l=r.message||r.Message||s,delete r.Message,[2,Promise.reject(Object.assign(new Error(l),r))]}})})},rr=function(e,t){return Object(qi.b)(void 0,void 0,void 0,function(){var n,i,r,s,a,o,l,c;return Object(qi.d)(this,function(u){switch(u.label){case 0:return i=[Object(qi.a)({},e)],c={},[4,mr(e.body,t)];case 1:switch(n=qi.a.apply(void 0,i.concat([(c.body=u.sent(),c)])),s="UnknownError",s=_r(e,n.body)){case"NoSuchBucket":case"com.amazonaws.s3#NoSuchBucket":return[3,2]}return[3,4];case 2:return a=[{}],[4,lr(n,t)];case 3:return r=qi.a.apply(void 0,[qi.a.apply(void 0,a.concat([u.sent()])),{name:s,$metadata:hr(e)}]),[3,5];case 4:s=(o=n.body).code||o.Code||s,r=Object(qi.a)(Object(qi.a)({},o),{name:""+s,message:o.message||o.Message||s,$fault:"client",$metadata:hr(e)}),u.label=5;case 5:return r.message=l=r.message||r.Message||s,delete r.Message,[2,Promise.reject(Object.assign(new Error(l),r))]}})})},sr=function(e,t){return Object(qi.b)(void 0,void 0,void 0,function(){var n,i,r,s,a,o,l;return Object(qi.d)(this,function(c){switch(c.label){case 0:return i=[Object(qi.a)({},e)],l={},[4,mr(e.body,t)];case 1:return n=qi.a.apply(void 0,i.concat([(l.body=c.sent(),l)])),s="UnknownError",s=_r(e,n.body),s=(a=n.body).code||a.Code||s,(r=Object(qi.a)(Object(qi.a)({},a),{name:""+s,message:a.message||a.Message||s,$fault:"client",$metadata:hr(e)})).message=o=r.message||r.Message||s,delete r.Message,[2,Promise.reject(Object.assign(new Error(o),r))]}})})},ar=function(e,t){return Object(qi.b)(void 0,void 0,void 0,function(){var n,i,r,s,a,o,l;return Object(qi.d)(this,function(c){switch(c.label){case 0:return i=[Object(qi.a)({},e)],l={},[4,mr(e.body,t)];case 1:return n=qi.a.apply(void 0,i.concat([(l.body=c.sent(),l)])),s="UnknownError",s=_r(e,n.body),s=(a=n.body).code||a.Code||s,(r=Object(qi.a)(Object(qi.a)({},a),{name:""+s,message:a.message||a.Message||s,$fault:"client",$metadata:hr(e)})).message=o=r.message||r.Message||s,delete r.Message,[2,Promise.reject(Object.assign(new Error(o),r))]}})})},or=function(e,t){return Object(qi.b)(void 0,void 0,void 0,function(){var n,i,r,s,a,o,l;return Object(qi.d)(this,function(c){switch(c.label){case 0:return i=[Object(qi.a)({},e)],l={},[4,mr(e.body,t)];case 1:return n=qi.a.apply(void 0,i.concat([(l.body=c.sent(),l)])),s="UnknownError",s=_r(e,n.body),s=(a=n.body).code||a.Code||s,(r=Object(qi.a)(Object(qi.a)({},a),{name:""+s,message:a.message||a.Message||s,$fault:"client",$metadata:hr(e)})).message=o=r.message||r.Message||s,delete r.Message,[2,Promise.reject(Object.assign(new Error(o),r))]}})})},lr=function(e,t){return Object(qi.b)(void 0,void 0,void 0,function(){return Object(qi.d)(this,function(t){return[2,{name:"NoSuchBucket",$fault:"client",$metadata:hr(e)}]})})},cr=function(e,t){return Object(qi.b)(void 0,void 0,void 0,function(){return Object(qi.d)(this,function(t){return[2,{name:"NoSuchKey",$fault:"client",$metadata:hr(e)}]})})},ur=function(e,t){return Object(qi.b)(void 0,void 0,void 0,function(){return Object(qi.d)(this,function(t){return[2,{name:"NoSuchUpload",$fault:"client",$metadata:hr(e)}]})})},dr=function(e,t){var n={DisplayName:void 0,ID:void 0};return void 0!==e.DisplayName&&(n.DisplayName=e.DisplayName),void 0!==e.ID&&(n.ID=e.ID),n},hr=function(e){return{httpStatusCode:e.statusCode,httpHeaders:e.headers,requestId:e.headers["x-amzn-requestid"]}},pr=function(e,t){return void 0===e&&(e=new Uint8Array),e instanceof Uint8Array?Promise.resolve(e):t.streamCollector(e)||Promise.resolve(new Uint8Array)},fr=function(e){return!(void 0===e||""===e||Object.getOwnPropertyNames(e).includes("length")&&0==e.length||Object.getOwnPropertyNames(e).includes("size")&&0==e.size)},mr=function(e,t){return function(e,t){return pr(e,t).then(function(e){return t.utf8Encoder(e)})}(e,t).then(function(e){if(e.length){var t=Object(Xi.parse)(e,{attributeNamePrefix:"",ignoreAttributes:!1,parseNodeValue:!1,tagValueProcessor:function(e,t){return e.replace(/&/g,"&").replace(/'/g,"'").replace(/"/g,'"').replace(/>/g,">").replace(/</g,"<")}}),n=Object.keys(t)[0],i=t[n];return i["#text"]&&(i[n]=i["#text"],delete i["#text"]),Object(Ki.g)(i)}return{}})},_r=function(e,t){return void 0!==t.Code?t.Code:404==e.statusCode?"NotFound":""},gr=function(e){return"string"==typeof e&&0===e.indexOf("arn:")&&e.split(":").length>=6},yr=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,br=/(\d+\.){3}\d+/,vr=/\.\./,wr=/\./,kr=/^(.+\.)?s3[.-]([a-z0-9-]+)\./,Sr=/^s3(-external-1)?\.amazonaws\.com$/,Cr="amazonaws.com",xr=function(e){return Dr(e)?e.replace(/fips-|-fips/,""):e},Mr=function(e){var t=e.match(kr);return[t[2],e.replace(new RegExp("^"+t[0]),"")]},Dr=function(e){return e.startsWith("fips-")||e.endsWith("-fips")},Lr=function(e,t){return e===t||xr(e)===t||e===xr(t)},Or=function(e,t){if(void 0===t&&(t={tlsCompatible:!0}),e.length>=64||!/^[a-z0-9][a-z0-9.-]+[a-z0-9]$/.test(e)||/(\d+\.){3}\d+/.test(e)||/[.-]{2}/.test(e)||(null==t?void 0:t.tlsCompatible)&&wr.test(e))throw new Error("Invalid DNS label "+e)},Er=function(e){var t=e.baseHostname;return kr.test(t)?function(e){return"string"==typeof e.bucketName}(e)?Ar(e):Tr(e):{bucketEndpoint:!1,hostname:t}},Tr=function(e){var t,n=Object(Gi.__read)(Sr.test(t=e.baseHostname)?[t.replace(".amazonaws.com",""),Cr]:Mr(t),2),i=n[0],r=n[1],s=e.dualstackEndpoint,a=void 0!==s&&s,o=e.accelerateEndpoint,l=e.tlsCompatible,c=void 0===l||l,u=e.useArnRegion,d=e.bucketName,h=e.clientPartition,p=void 0===h?"aws":h,f=e.clientSigningRegion,m=void 0===f?i:f;!function(e){if(e.pathStyleEndpoint)throw new Error("Path-style S3 endpoint is not supported when bucket is an ARN");if(e.accelerateEndpoint)throw new Error("Accelerate endpoint is not supported when bucket is an ARN");if(!e.tlsCompatible)throw new Error("HTTPS is required when bucket is an ARN")}({pathStyleEndpoint:e.pathStyleEndpoint,accelerateEndpoint:void 0!==o&&o,tlsCompatible:c});var _=d.service,g=d.partition,y=d.accountId,b=d.region,v=d.resource;!function(e){if("s3"!==e&&"s3-outposts"!==e)throw new Error("Expect 's3' or 's3-outposts' in ARN service component")}(_),function(e,t){if(e!==t.clientPartition)throw new Error('Partition in ARN is incompatible, got "'+e+'" but expected "'+t.clientPartition+'"')}(g,{clientPartition:p}),function(e){if(!/[0-9]{12}/.exec(e))throw new Error("Access point ARN accountID does not match regex '[0-9]{12}'")}(y),function(e,t){if(""===e)throw new Error("ARN region is empty");if(!t.useArnRegion&&!Lr(e,t.clientRegion)&&!Lr(e,t.clientSigningRegion))throw new Error("Region in ARN is incompatible, got "+e+" but expected "+t.clientRegion);if(t.useArnRegion&&Dr(e))throw new Error("Endpoint does not support FIPS region")}(b,{useArnRegion:u,clientRegion:i,clientSigningRegion:m});var w=function(e){var t=e.includes(":")?":":"/",n=Object(Gi.__read)(e.split(t)),i=n[0],r=n.slice(1);if("accesspoint"===i){if(1!==r.length||""===r[0])throw new Error("Access Point ARN should have one resource accesspoint"+t+"{accesspointname}");return{accesspointName:r[0]}}if("outpost"===i){if(!r[0]||"accesspoint"!==r[1]||!r[2]||3!==r.length)throw new Error("Outpost ARN should have resource outpost"+t+"{outpostId}"+t+"accesspoint"+t+"{accesspointName}");var s=Object(Gi.__read)(r,3);return{outpostId:s[0],accesspointName:s[2]}}throw new Error("ARN resource should begin with 'accesspoint"+t+"' or 'outpost"+t+"'")}(v),k=w.accesspointName,S=w.outpostId;Or(k+"-"+y,{tlsCompatible:c});var C=u?b:i,x=u?b:m;return S?(function(e){if("s3-outposts"!==e)throw new Error("Expect 's3-posts' in Outpost ARN service component")}(_),Or(S,{tlsCompatible:c}),function(e){if(e)throw new Error("Dualstack endpoint is not supported with Outpost")}(a),function(e){if(Dr(null!=e?e:""))throw new Error("FIPS region is not supported with Outpost, got "+e)}(C),{bucketEndpoint:!0,hostname:k+"-"+y+"."+S+".s3-outposts."+C+"."+r,signingRegion:x,signingService:"s3-outposts"}):(function(e){if("s3"!==e)throw new Error("Expect 's3' in Accesspoint ARN service component")}(_),{bucketEndpoint:!0,hostname:k+"-"+y+".s3-accesspoint"+(a?".dualstack":"")+"."+C+"."+r,signingRegion:x})},Ar=function(e){var t,n=e.accelerateEndpoint,i=void 0!==n&&n,r=e.baseHostname,s=e.bucketName,a=e.dualstackEndpoint,o=void 0!==a&&a,l=e.pathStyleEndpoint,c=void 0!==l&&l,u=e.tlsCompatible,d=void 0===u||u,h=Object(Gi.__read)(Sr.test(t=r)?["us-east-1",Cr]:Mr(t),2),p=h[0],f=h[1];return c||!function(e){return yr.test(e)&&!br.test(e)&&!vr.test(e)}(s)||d&&wr.test(s)?{bucketEndpoint:!1,hostname:o?"s3.dualstack."+p+"."+f:r}:(i?r="s3-accelerate"+(o?".dualstack":"")+"."+f:o&&(r="s3.dualstack."+p+"."+f),{bucketEndpoint:!0,hostname:s+"."+r})},Ir={tags:["BUCKET_ENDPOINT"],name:"bucketEndpointMiddleware",relation:"before",toMiddleware:"hostHeaderMiddleware"},Pr=function(e){return{applyToStack:function(t){t.addRelativeTo(function(e){return function(t,n){return function(i){return Object(Gi.__awaiter)(void 0,void 0,void 0,function(){var r,s,a,o,l,c,u,d,h,p,f,m,_,g,y,b,v;return Object(Gi.__generator)(this,function(w){switch(w.label){case 0:return r=i.input.Bucket,s=e.bucketEndpoint,$i.a.isInstance(a=i.request)?e.bucketEndpoint?(a.hostname=r,[3,6]):[3,1]:[3,7];case 1:return gr(r)?(o=function(e){var t=e.split(":");if(t.length<6||"arn"!==t[0])throw new Error("Malformed ARN");var n=Object(Gi.__read)(t);return{partition:n[1],service:n[2],region:n[3],accountId:n[4],resource:n.slice(5).join(":")}}(r),c=xr,[4,e.region()]):[3,5];case 2:return l=c.apply(void 0,[w.sent()]),[4,e.regionInfoProvider(l)];case 3:return u=w.sent()||{},d=u.partition,p=void 0===(h=u.signingRegion)?l:h,[4,e.useArnRegion()];case 4:return f=w.sent(),m=Er({bucketName:o,baseHostname:a.hostname,accelerateEndpoint:e.useAccelerateEndpoint,dualstackEndpoint:e.useDualstackEndpoint,pathStyleEndpoint:e.forcePathStyle,tlsCompatible:"https:"===a.protocol,useArnRegion:f,clientPartition:d,clientSigningRegion:p}),b=m.hostname,v=m.bucketEndpoint,g=m.signingService,(_=m.signingRegion)&&_!==p&&(n.signing_region=_),g&&"s3"!==g&&(n.signing_service=g),a.hostname=b,s=v,[3,6];case 5:y=Er({bucketName:r,baseHostname:a.hostname,accelerateEndpoint:e.useAccelerateEndpoint,dualstackEndpoint:e.useDualstackEndpoint,pathStyleEndpoint:e.forcePathStyle,tlsCompatible:"https:"===a.protocol}),v=y.bucketEndpoint,a.hostname=b=y.hostname,s=v,w.label=6;case 6:s&&(a.path=a.path.replace(/^(\/)?[^\/]+/,""),""===a.path&&(a.path="/")),w.label=7;case 7:return[2,t(Object(Gi.__assign)(Object(Gi.__assign)({},i),{request:a}))]}})})}}}(e),Ir)}}},Rr=n("mRvm"),jr={name:"ssecMiddleware",step:"initialize",tags:["SSE"]},Yr=function(e){return{applyToStack:function(t){t.add(function(e){var t=this;return function(n){return function(i){return Object(Gi.__awaiter)(t,void 0,void 0,function(){var t,r,s,a,o,l,c,u,d,h,p,f,m,_,g,y,b;return Object(Gi.__generator)(this,function(v){switch(v.label){case 0:t=Object(Gi.__assign)({},i.input),r=[{target:"SSECustomerKey",hash:"SSECustomerKeyMD5"},{target:"CopySourceSSECustomerKey",hash:"CopySourceSSECustomerKeyMD5"}],v.label=1;case 1:v.trys.push([1,6,7,8]),s=Object(Gi.__values)(r),a=s.next(),v.label=2;case 2:return a.done?[3,5]:(l=t[(o=a.value).target])?(c=ArrayBuffer.isView(l)?new Uint8Array(l.buffer,l.byteOffset,l.byteLength):"string"==typeof l?e.utf8Decoder(l):new Uint8Array(l),u=e.base64Encoder(c),(d=new e.md5).update(c),h=[Object(Gi.__assign)({},t)],(b={})[o.target]=u,p=o.hash,m=(f=e).base64Encoder,[4,d.digest()]):[3,4];case 3:t=Gi.__assign.apply(void 0,h.concat([(b[p]=m.apply(f,[v.sent()]),b)])),v.label=4;case 4:return a=s.next(),[3,2];case 5:return[3,8];case 6:return _=v.sent(),g={error:_},[3,8];case 7:try{a&&!a.done&&(y=s.return)&&y.call(s)}finally{if(g)throw g.error}return[7];case 8:return[2,n(Object(Gi.__assign)(Object(Gi.__assign)({},i),{input:t}))]}})})}}}(e),jr)}}},Fr=function(e){function t(t){var n=e.call(this)||this;return n.input=t,n}return Object(qi.c)(t,e),t.prototype.resolveMiddleware=function(e,t,n){this.middlewareStack.use(Object(Rr.a)(t,this.serialize,this.deserialize)),this.middlewareStack.use(Yr(t)),this.middlewareStack.use(Pr(t));var i=e.concat(this.middlewareStack),r=t.logger,s="S3Client",a="GetObjectCommand",o={logger:r,clientName:s,commandName:a,inputFilterSensitiveLog:Ut.filterSensitiveLog,outputFilterSensitiveLog:Vt.filterSensitiveLog};"function"==typeof r.info&&r.info({clientName:s,commandName:a});var l=t.requestHandler;return i.resolve(function(e){return l.handle(e.request,n||{})},o)},t.prototype.serialize=function(e,t){return function(e,t){return Object(qi.b)(void 0,void 0,void 0,function(){var n,i,r,s,a,o;return Object(qi.d)(this,function(l){switch(l.label){case 0:if(n=Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)({"Content-Type":""},fr(e.SSECustomerKey)&&{"x-amz-server-side-encryption-customer-key":e.SSECustomerKey}),fr(e.SSECustomerAlgorithm)&&{"x-amz-server-side-encryption-customer-algorithm":e.SSECustomerAlgorithm}),fr(e.SSECustomerKeyMD5)&&{"x-amz-server-side-encryption-customer-key-MD5":e.SSECustomerKeyMD5}),fr(e.RequestPayer)&&{"x-amz-request-payer":e.RequestPayer}),fr(e.ExpectedBucketOwner)&&{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),fr(e.IfUnmodifiedSince)&&{"If-Unmodified-Since":Object(Ki.d)(e.IfUnmodifiedSince).toString()}),fr(e.IfModifiedSince)&&{"If-Modified-Since":Object(Ki.d)(e.IfModifiedSince).toString()}),fr(e.IfNoneMatch)&&{"If-None-Match":e.IfNoneMatch}),fr(e.IfMatch)&&{"If-Match":e.IfMatch}),fr(e.Range)&&{Range:e.Range}),i="/{Bucket}/{Key+}",void 0===e.Bucket)throw new Error("No value provided for input HTTP label: Bucket.");if((r=e.Bucket).length<=0)throw new Error("Empty value provided for input HTTP label: Bucket.");if(i=i.replace("{Bucket}",Object(Ki.e)(r)),void 0===e.Key)throw new Error("No value provided for input HTTP label: Key.");if((r=e.Key).length<=0)throw new Error("Empty value provided for input HTTP label: Key.");return i=i.replace("{Key+}",r.split("/").map(function(e){return Object(Ki.e)(e)}).join("/")),s=Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)({"x-id":"GetObject"},void 0!==e.ResponseContentEncoding&&{"response-content-encoding":e.ResponseContentEncoding}),void 0!==e.ResponseCacheControl&&{"response-cache-control":e.ResponseCacheControl}),void 0!==e.ResponseContentLanguage&&{"response-content-language":e.ResponseContentLanguage}),void 0!==e.ResponseContentDisposition&&{"response-content-disposition":e.ResponseContentDisposition}),void 0!==e.PartNumber&&{partNumber:e.PartNumber.toString()}),void 0!==e.VersionId&&{versionId:e.VersionId}),void 0!==e.ResponseExpires&&{"response-expires":(e.ResponseExpires.toISOString().split(".")[0]+"Z").toString()}),void 0!==e.ResponseContentType&&{"response-content-type":e.ResponseContentType}),[4,t.endpoint()];case 1:return a=l.sent(),[2,new $i.a({protocol:void 0===(o=a.protocol)?"https":o,hostname:a.hostname,port:a.port,method:"GET",headers:n,path:i,query:s,body:void 0})]}})})}(e,t)},t.prototype.deserialize=function(e,t){return function(e,t){return Object(qi.b)(void 0,void 0,void 0,function(){var n;return Object(qi.d)(this,function(i){return 200!==e.statusCode&&e.statusCode>=300?[2,ir(e,t)]:(n={$metadata:hr(e),AcceptRanges:void 0,Body:void 0,CacheControl:void 0,ContentDisposition:void 0,ContentEncoding:void 0,ContentLanguage:void 0,ContentLength:void 0,ContentRange:void 0,ContentType:void 0,DeleteMarker:void 0,ETag:void 0,Expiration:void 0,Expires:void 0,LastModified:void 0,Metadata:void 0,MissingMeta:void 0,ObjectLockLegalHoldStatus:void 0,ObjectLockMode:void 0,ObjectLockRetainUntilDate:void 0,PartsCount:void 0,ReplicationStatus:void 0,RequestCharged:void 0,Restore:void 0,SSECustomerAlgorithm:void 0,SSECustomerKeyMD5:void 0,SSEKMSKeyId:void 0,ServerSideEncryption:void 0,StorageClass:void 0,TagCount:void 0,VersionId:void 0,WebsiteRedirectLocation:void 0},void 0!==e.headers["x-amz-object-lock-mode"]&&(n.ObjectLockMode=e.headers["x-amz-object-lock-mode"]),void 0!==e.headers["content-language"]&&(n.ContentLanguage=e.headers["content-language"]),void 0!==e.headers["content-disposition"]&&(n.ContentDisposition=e.headers["content-disposition"]),void 0!==e.headers["cache-control"]&&(n.CacheControl=e.headers["cache-control"]),void 0!==e.headers["content-type"]&&(n.ContentType=e.headers["content-type"]),void 0!==e.headers["content-range"]&&(n.ContentRange=e.headers["content-range"]),void 0!==e.headers["x-amz-server-side-encryption-aws-kms-key-id"]&&(n.SSEKMSKeyId=e.headers["x-amz-server-side-encryption-aws-kms-key-id"]),void 0!==e.headers["content-length"]&&(n.ContentLength=parseInt(e.headers["content-length"],10)),void 0!==e.headers["x-amz-object-lock-retain-until-date"]&&(n.ObjectLockRetainUntilDate=new Date(e.headers["x-amz-object-lock-retain-until-date"])),void 0!==e.headers["x-amz-object-lock-legal-hold"]&&(n.ObjectLockLegalHoldStatus=e.headers["x-amz-object-lock-legal-hold"]),void 0!==e.headers["x-amz-delete-marker"]&&(n.DeleteMarker="true"===e.headers["x-amz-delete-marker"]),void 0!==e.headers["x-amz-storage-class"]&&(n.StorageClass=e.headers["x-amz-storage-class"]),void 0!==e.headers["content-encoding"]&&(n.ContentEncoding=e.headers["content-encoding"]),void 0!==e.headers["x-amz-restore"]&&(n.Restore=e.headers["x-amz-restore"]),void 0!==e.headers["x-amz-website-redirect-location"]&&(n.WebsiteRedirectLocation=e.headers["x-amz-website-redirect-location"]),void 0!==e.headers["x-amz-server-side-encryption"]&&(n.ServerSideEncryption=e.headers["x-amz-server-side-encryption"]),void 0!==e.headers["x-amz-mp-parts-count"]&&(n.PartsCount=parseInt(e.headers["x-amz-mp-parts-count"],10)),void 0!==e.headers["x-amz-server-side-encryption-customer-algorithm"]&&(n.SSECustomerAlgorithm=e.headers["x-amz-server-side-encryption-customer-algorithm"]),void 0!==e.headers["accept-ranges"]&&(n.AcceptRanges=e.headers["accept-ranges"]),void 0!==e.headers["x-amz-version-id"]&&(n.VersionId=e.headers["x-amz-version-id"]),void 0!==e.headers.expires&&(n.Expires=new Date(e.headers.expires)),void 0!==e.headers["x-amz-expiration"]&&(n.Expiration=e.headers["x-amz-expiration"]),void 0!==e.headers["x-amz-missing-meta"]&&(n.MissingMeta=parseInt(e.headers["x-amz-missing-meta"],10)),void 0!==e.headers["x-amz-replication-status"]&&(n.ReplicationStatus=e.headers["x-amz-replication-status"]),void 0!==e.headers["x-amz-tagging-count"]&&(n.TagCount=parseInt(e.headers["x-amz-tagging-count"],10)),void 0!==e.headers["x-amz-server-side-encryption-customer-key-md5"]&&(n.SSECustomerKeyMD5=e.headers["x-amz-server-side-encryption-customer-key-md5"]),void 0!==e.headers["last-modified"]&&(n.LastModified=new Date(e.headers["last-modified"])),void 0!==e.headers.etag&&(n.ETag=e.headers.etag),void 0!==e.headers["x-amz-request-charged"]&&(n.RequestCharged=e.headers["x-amz-request-charged"]),Object.keys(e.headers).forEach(function(t){void 0===n.Metadata&&(n.Metadata={}),t.startsWith("x-amz-meta-")&&(n.Metadata[t.substring(11)]=e.headers[t])}),n.Body=e.body,[2,Promise.resolve(n)])})})}(e,t)},t}(Ki.b),Nr=function(e){function t(t){var n=e.call(this)||this;return n.input=t,n}return Object(qi.c)(t,e),t.prototype.resolveMiddleware=function(e,t,n){this.middlewareStack.use(Object(Rr.a)(t,this.serialize,this.deserialize)),this.middlewareStack.use(Pr(t));var i=e.concat(this.middlewareStack),r=t.logger,s="S3Client",a="DeleteObjectCommand",o={logger:r,clientName:s,commandName:a,inputFilterSensitiveLog:V.filterSensitiveLog,outputFilterSensitiveLog:H.filterSensitiveLog};"function"==typeof r.info&&r.info({clientName:s,commandName:a});var l=t.requestHandler;return i.resolve(function(e){return l.handle(e.request,n||{})},o)},t.prototype.serialize=function(e,t){return function(e,t){return Object(qi.b)(void 0,void 0,void 0,function(){var n,i,r,s,a,o;return Object(qi.d)(this,function(l){switch(l.label){case 0:if(n=Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)({"Content-Type":""},fr(e.MFA)&&{"x-amz-mfa":e.MFA}),fr(e.ExpectedBucketOwner)&&{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),fr(e.BypassGovernanceRetention)&&{"x-amz-bypass-governance-retention":e.BypassGovernanceRetention.toString()}),fr(e.RequestPayer)&&{"x-amz-request-payer":e.RequestPayer}),i="/{Bucket}/{Key+}",void 0===e.Bucket)throw new Error("No value provided for input HTTP label: Bucket.");if((r=e.Bucket).length<=0)throw new Error("Empty value provided for input HTTP label: Bucket.");if(i=i.replace("{Bucket}",Object(Ki.e)(r)),void 0===e.Key)throw new Error("No value provided for input HTTP label: Key.");if((r=e.Key).length<=0)throw new Error("Empty value provided for input HTTP label: Key.");return i=i.replace("{Key+}",r.split("/").map(function(e){return Object(Ki.e)(e)}).join("/")),s=Object(qi.a)({"x-id":"DeleteObject"},void 0!==e.VersionId&&{versionId:e.VersionId}),[4,t.endpoint()];case 1:return a=l.sent(),[2,new $i.a({protocol:void 0===(o=a.protocol)?"https":o,hostname:a.hostname,port:a.port,method:"DELETE",headers:n,path:i,query:s,body:void 0})]}})})}(e,t)},t.prototype.deserialize=function(e,t){return function(e,t){return Object(qi.b)(void 0,void 0,void 0,function(){var n;return Object(qi.d)(this,function(i){switch(i.label){case 0:return 204!==e.statusCode&&e.statusCode>=300?[2,nr(e,t)]:(n={$metadata:hr(e),DeleteMarker:void 0,RequestCharged:void 0,VersionId:void 0},void 0!==e.headers["x-amz-delete-marker"]&&(n.DeleteMarker="true"===e.headers["x-amz-delete-marker"]),void 0!==e.headers["x-amz-request-charged"]&&(n.RequestCharged=e.headers["x-amz-request-charged"]),void 0!==e.headers["x-amz-version-id"]&&(n.VersionId=e.headers["x-amz-version-id"]),[4,pr(e.body,t)]);case 1:return i.sent(),[2,Promise.resolve(n)]}})})}(e,t)},t}(Ki.b),Hr=function(e){function t(t){var n=e.call(this)||this;return n.input=t,n}return Object(qi.c)(t,e),t.prototype.resolveMiddleware=function(e,t,n){this.middlewareStack.use(Object(Rr.a)(t,this.serialize,this.deserialize)),this.middlewareStack.use(Pr(t));var i=e.concat(this.middlewareStack),r=t.logger,s="S3Client",a="ListObjectsCommand",o={logger:r,clientName:s,commandName:a,inputFilterSensitiveLog:En.filterSensitiveLog,outputFilterSensitiveLog:On.filterSensitiveLog};"function"==typeof r.info&&r.info({clientName:s,commandName:a});var l=t.requestHandler;return i.resolve(function(e){return l.handle(e.request,n||{})},o)},t.prototype.serialize=function(e,t){return function(e,t){return Object(qi.b)(void 0,void 0,void 0,function(){var n,i,r,s,a,o;return Object(qi.d)(this,function(l){switch(l.label){case 0:if(n=Object(qi.a)(Object(qi.a)({"Content-Type":""},fr(e.ExpectedBucketOwner)&&{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),fr(e.RequestPayer)&&{"x-amz-request-payer":e.RequestPayer}),i="/{Bucket}",void 0===e.Bucket)throw new Error("No value provided for input HTTP label: Bucket.");if((r=e.Bucket).length<=0)throw new Error("Empty value provided for input HTTP label: Bucket.");return i=i.replace("{Bucket}",Object(Ki.e)(r)),s=Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)({},void 0!==e.MaxKeys&&{"max-keys":e.MaxKeys.toString()}),void 0!==e.Marker&&{marker:e.Marker}),void 0!==e.Prefix&&{prefix:e.Prefix}),void 0!==e.Delimiter&&{delimiter:e.Delimiter}),void 0!==e.EncodingType&&{"encoding-type":e.EncodingType}),[4,t.endpoint()];case 1:return a=l.sent(),[2,new $i.a({protocol:void 0===(o=a.protocol)?"https":o,hostname:a.hostname,port:a.port,method:"GET",headers:n,path:i,query:s,body:void 0})]}})})}(e,t)},t.prototype.deserialize=function(e,t){return function(e,t){return Object(qi.b)(void 0,void 0,void 0,function(){var n,i;return Object(qi.d)(this,function(r){switch(r.label){case 0:return 200!==e.statusCode&&e.statusCode>=300?[2,rr(e,t)]:(n={$metadata:hr(e),CommonPrefixes:void 0,Contents:void 0,Delimiter:void 0,EncodingType:void 0,IsTruncated:void 0,Marker:void 0,MaxKeys:void 0,Name:void 0,NextMarker:void 0,Prefix:void 0},[4,mr(e.body,t)]);case 1:return""===(i=r.sent()).CommonPrefixes&&(n.CommonPrefixes=[]),void 0!==i.CommonPrefixes&&(n.CommonPrefixes=function(e,t){return(e||[]).map(function(e){return function(e,t){var n={Prefix:void 0};return void 0!==e.Prefix&&(n.Prefix=e.Prefix),n}(e)})}(Object(Ki.f)(i.CommonPrefixes))),""===i.Contents&&(n.Contents=[]),void 0!==i.Contents&&(n.Contents=function(e,t){return(e||[]).map(function(e){return function(e,t){var n={Size:void 0,ETag:void 0,Owner:void 0,StorageClass:void 0,Key:void 0,LastModified:void 0};return void 0!==e.Size&&(n.Size=parseInt(e.Size)),void 0!==e.ETag&&(n.ETag=e.ETag),void 0!==e.Owner&&(n.Owner=dr(e.Owner)),void 0!==e.StorageClass&&(n.StorageClass=e.StorageClass),void 0!==e.Key&&(n.Key=e.Key),void 0!==e.LastModified&&(n.LastModified=new Date(e.LastModified)),n}(e)})}(Object(Ki.f)(i.Contents))),void 0!==i.Delimiter&&(n.Delimiter=i.Delimiter),void 0!==i.EncodingType&&(n.EncodingType=i.EncodingType),void 0!==i.IsTruncated&&(n.IsTruncated="true"==i.IsTruncated),void 0!==i.Marker&&(n.Marker=i.Marker),void 0!==i.MaxKeys&&(n.MaxKeys=parseInt(i.MaxKeys)),void 0!==i.Name&&(n.Name=i.Name),void 0!==i.NextMarker&&(n.NextMarker=i.NextMarker),void 0!==i.Prefix&&(n.Prefix=i.Prefix),[2,Promise.resolve(n)]}})})}(e,t)},t}(Ki.b),Vr=n("cQQO"),Ur=n("viNG"),Br=n("mX1g"),zr=n("7Z+r"),Wr=function(){function e(e){if(this.bytes=e,8!==e.byteLength)throw new Error("Int64 buffers must be exactly 8 bytes")}return e.fromNumber=function(t){if(t>0x8000000000000000||t<-0x8000000000000000)throw new Error(t+" is too large (or, if negative, too small) to represent as an Int64");for(var n=new Uint8Array(8),i=7,r=Math.abs(Math.round(t));i>-1&&r>0;i--,r/=256)n[i]=r;return t<0&&qr(n),new e(n)},e.prototype.valueOf=function(){var e=this.bytes.slice(0),t=128&e[0];return t&&qr(e),parseInt(Object(zr.b)(e),16)*(t?-1:1)},e.prototype.toString=function(){return String(this.valueOf())},e}();function qr(e){for(var t=0;t<8;t++)e[t]^=255;for(t=7;t>-1&&(e[t]++,0===e[t]);t--);}var Kr,$r=function(){function e(e,t){this.toUtf8=e,this.fromUtf8=t}return e.prototype.format=function(e){var t,n,i,r,s=[];try{for(var a=Object(Gi.__values)(Object.keys(e)),o=a.next();!o.done;o=a.next()){var l=o.value,c=this.fromUtf8(l);s.push(Uint8Array.from([c.byteLength]),c,this.formatHeaderValue(e[l]))}}catch(m){t={error:m}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}var u=new Uint8Array(s.reduce(function(e,t){return e+t.byteLength},0)),d=0;try{for(var h=Object(Gi.__values)(s),p=h.next();!p.done;p=h.next()){var f=p.value;u.set(f,d),d+=f.byteLength}}catch(_){i={error:_}}finally{try{p&&!p.done&&(r=h.return)&&r.call(h)}finally{if(i)throw i.error}}return u},e.prototype.formatHeaderValue=function(e){switch(e.type){case"boolean":return Uint8Array.from([e.value?0:1]);case"byte":return Uint8Array.from([2,e.value]);case"short":var t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case"integer":var n=new DataView(new ArrayBuffer(5));return n.setUint8(0,4),n.setInt32(1,e.value,!1),new Uint8Array(n.buffer);case"long":var i=new Uint8Array(9);return i[0]=5,i.set(e.value.bytes,1),i;case"binary":var r=new DataView(new ArrayBuffer(3+e.value.byteLength));r.setUint8(0,6),r.setUint16(1,e.value.byteLength,!1);var s=new Uint8Array(r.buffer);return s.set(e.value,3),s;case"string":var a=this.fromUtf8(e.value),o=new DataView(new ArrayBuffer(3+a.byteLength));o.setUint8(0,7),o.setUint16(1,a.byteLength,!1);var l=new Uint8Array(o.buffer);return l.set(a,3),l;case"timestamp":var c=new Uint8Array(9);return c[0]=8,c.set(Wr.fromNumber(e.value.valueOf()).bytes,1),c;case"uuid":if(!rs.test(e.value))throw new Error("Invalid UUID received: "+e.value);var u=new Uint8Array(17);return u[0]=9,u.set(Object(zr.a)(e.value.replace(/\-/g,"")),1),u}},e.prototype.parse=function(e){for(var t={},n=0;n=a?i():s.readAsArrayBuffer(e.slice(o,Math.min(a,o+n)))}s.addEventListener("load",function(e){var n=e.target.result;t(new Uint8Array(n)),o+=n.byteLength,l()}),l()})}var ds=n("J2eM"),hs=n("XWO8"),ps=[1732584193,4023233417,2562383102,271733878],fs=function(){function e(){this.state=Uint32Array.from(ps),this.buffer=new DataView(new ArrayBuffer(64)),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return e.prototype.update=function(e){if(!function(e){return"string"==typeof e?0===e.length:0===e.byteLength}(e)){if(this.finished)throw new Error("Attempted to update an already finished hash.");var t=function(e){return"string"==typeof e?Object(hs.a)(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}(e),n=0,i=t.byteLength;for(this.bytesHashed+=i;i>0;)this.buffer.setUint8(this.bufferLength++,t[n++]),i--,64===this.bufferLength&&(this.hashBuffer(),this.bufferLength=0)}},e.prototype.digest=function(){return Object(Gi.__awaiter)(this,void 0,void 0,function(){var e,t,n,i,r,s;return Object(Gi.__generator)(this,function(a){if(!this.finished){if(n=(e=this).bufferLength,i=8*e.bytesHashed,(t=e.buffer).setUint8(this.bufferLength++,128),n%64>=56){for(s=this.bufferLength;s<64;s++)t.setUint8(s,0);this.hashBuffer(),this.bufferLength=0}for(s=this.bufferLength;s<56;s++)t.setUint8(s,0);t.setUint32(56,i>>>0,!0),t.setUint32(60,Math.floor(i/4294967296),!0),this.hashBuffer(),this.finished=!0}for(r=new DataView(new ArrayBuffer(16)),s=0;s<4;s++)r.setUint32(4*s,this.state[s],!0);return[2,new Uint8Array(r.buffer,r.byteOffset,r.byteLength)]})})},e.prototype.hashBuffer=function(){var e=this.buffer,t=this.state,n=t[0],i=t[1],r=t[2],s=t[3];n=_s(n,i,r,s,e.getUint32(0,!0),7,3614090360),s=_s(s,n,i,r,e.getUint32(4,!0),12,3905402710),r=_s(r,s,n,i,e.getUint32(8,!0),17,606105819),i=_s(i,r,s,n,e.getUint32(12,!0),22,3250441966),n=_s(n,i,r,s,e.getUint32(16,!0),7,4118548399),s=_s(s,n,i,r,e.getUint32(20,!0),12,1200080426),r=_s(r,s,n,i,e.getUint32(24,!0),17,2821735955),i=_s(i,r,s,n,e.getUint32(28,!0),22,4249261313),n=_s(n,i,r,s,e.getUint32(32,!0),7,1770035416),s=_s(s,n,i,r,e.getUint32(36,!0),12,2336552879),r=_s(r,s,n,i,e.getUint32(40,!0),17,4294925233),i=_s(i,r,s,n,e.getUint32(44,!0),22,2304563134),n=_s(n,i,r,s,e.getUint32(48,!0),7,1804603682),s=_s(s,n,i,r,e.getUint32(52,!0),12,4254626195),r=_s(r,s,n,i,e.getUint32(56,!0),17,2792965006),n=gs(n,i=_s(i,r,s,n,e.getUint32(60,!0),22,1236535329),r,s,e.getUint32(4,!0),5,4129170786),s=gs(s,n,i,r,e.getUint32(24,!0),9,3225465664),r=gs(r,s,n,i,e.getUint32(44,!0),14,643717713),i=gs(i,r,s,n,e.getUint32(0,!0),20,3921069994),n=gs(n,i,r,s,e.getUint32(20,!0),5,3593408605),s=gs(s,n,i,r,e.getUint32(40,!0),9,38016083),r=gs(r,s,n,i,e.getUint32(60,!0),14,3634488961),i=gs(i,r,s,n,e.getUint32(16,!0),20,3889429448),n=gs(n,i,r,s,e.getUint32(36,!0),5,568446438),s=gs(s,n,i,r,e.getUint32(56,!0),9,3275163606),r=gs(r,s,n,i,e.getUint32(12,!0),14,4107603335),i=gs(i,r,s,n,e.getUint32(32,!0),20,1163531501),n=gs(n,i,r,s,e.getUint32(52,!0),5,2850285829),s=gs(s,n,i,r,e.getUint32(8,!0),9,4243563512),r=gs(r,s,n,i,e.getUint32(28,!0),14,1735328473),n=ys(n,i=gs(i,r,s,n,e.getUint32(48,!0),20,2368359562),r,s,e.getUint32(20,!0),4,4294588738),s=ys(s,n,i,r,e.getUint32(32,!0),11,2272392833),r=ys(r,s,n,i,e.getUint32(44,!0),16,1839030562),i=ys(i,r,s,n,e.getUint32(56,!0),23,4259657740),n=ys(n,i,r,s,e.getUint32(4,!0),4,2763975236),s=ys(s,n,i,r,e.getUint32(16,!0),11,1272893353),r=ys(r,s,n,i,e.getUint32(28,!0),16,4139469664),i=ys(i,r,s,n,e.getUint32(40,!0),23,3200236656),n=ys(n,i,r,s,e.getUint32(52,!0),4,681279174),s=ys(s,n,i,r,e.getUint32(0,!0),11,3936430074),r=ys(r,s,n,i,e.getUint32(12,!0),16,3572445317),i=ys(i,r,s,n,e.getUint32(24,!0),23,76029189),n=ys(n,i,r,s,e.getUint32(36,!0),4,3654602809),s=ys(s,n,i,r,e.getUint32(48,!0),11,3873151461),r=ys(r,s,n,i,e.getUint32(60,!0),16,530742520),n=bs(n,i=ys(i,r,s,n,e.getUint32(8,!0),23,3299628645),r,s,e.getUint32(0,!0),6,4096336452),s=bs(s,n,i,r,e.getUint32(28,!0),10,1126891415),r=bs(r,s,n,i,e.getUint32(56,!0),15,2878612391),i=bs(i,r,s,n,e.getUint32(20,!0),21,4237533241),n=bs(n,i,r,s,e.getUint32(48,!0),6,1700485571),s=bs(s,n,i,r,e.getUint32(12,!0),10,2399980690),r=bs(r,s,n,i,e.getUint32(40,!0),15,4293915773),i=bs(i,r,s,n,e.getUint32(4,!0),21,2240044497),n=bs(n,i,r,s,e.getUint32(32,!0),6,1873313359),s=bs(s,n,i,r,e.getUint32(60,!0),10,4264355552),r=bs(r,s,n,i,e.getUint32(24,!0),15,2734768916),i=bs(i,r,s,n,e.getUint32(52,!0),21,1309151649),n=bs(n,i,r,s,e.getUint32(16,!0),6,4149444226),s=bs(s,n,i,r,e.getUint32(44,!0),10,3174756917),r=bs(r,s,n,i,e.getUint32(8,!0),15,718787259),i=bs(i,r,s,n,e.getUint32(36,!0),21,3951481745),t[0]=n+t[0]&4294967295,t[1]=i+t[1]&4294967295,t[2]=r+t[2]&4294967295,t[3]=s+t[3]&4294967295},e}();function ms(e,t,n,i,r,s){return((t=(t+e&4294967295)+(i+s&4294967295)&4294967295)<>>32-r)+n&4294967295}function _s(e,t,n,i,r,s,a){return ms(t&n|~t&i,e,t,r,s,a)}function gs(e,t,n,i,r,s,a){return ms(t&i|n&~i,e,t,r,s,a)}function ys(e,t,n,i,r,s,a){return ms(t^n^i,e,t,r,s,a)}function bs(e,t,n,i,r,s,a){return ms(n^(t|~i),e,t,r,s,a)}var vs=n("UMev"),ws=n("c14h"),ks=n("S3Uu"),Ss=n("N9sX"),Cs=n("wU8f"),xs="s3.{region}.amazonaws.com",Ms=new Set(["ap-east-1","ap-northeast-1","ap-northeast-2","ap-south-1","ap-southeast-1","ap-southeast-2","ca-central-1","eu-central-1","eu-north-1","eu-west-1","eu-west-2","eu-west-3","me-south-1","sa-east-1","us-east-1","us-east-2","us-west-1","us-west-2"]),Ds=new Set(["cn-north-1","cn-northwest-1"]),Ls=new Set(["us-iso-east-1"]),Os=new Set(["us-isob-east-1"]),Es=new Set(["us-gov-east-1","us-gov-west-1"]),Ts={apiVersion:"2006-03-01",disableHostPrefix:!1,logger:{},regionInfoProvider:function(e,t){var n=void 0;switch(e){case"ap-east-1":n={hostname:"s3.ap-east-1.amazonaws.com",partition:"aws"};break;case"ap-northeast-1":n={hostname:"s3.ap-northeast-1.amazonaws.com",partition:"aws"};break;case"ap-northeast-2":n={hostname:"s3.ap-northeast-2.amazonaws.com",partition:"aws"};break;case"ap-south-1":n={hostname:"s3.ap-south-1.amazonaws.com",partition:"aws"};break;case"ap-southeast-1":n={hostname:"s3.ap-southeast-1.amazonaws.com",partition:"aws"};break;case"ap-southeast-2":n={hostname:"s3.ap-southeast-2.amazonaws.com",partition:"aws"};break;case"ca-central-1":n={hostname:"s3.ca-central-1.amazonaws.com",partition:"aws"};break;case"cn-north-1":n={hostname:"s3.cn-north-1.amazonaws.com.cn",partition:"aws-cn"};break;case"cn-northwest-1":n={hostname:"s3.cn-northwest-1.amazonaws.com.cn",partition:"aws-cn"};break;case"eu-central-1":n={hostname:"s3.eu-central-1.amazonaws.com",partition:"aws"};break;case"eu-north-1":n={hostname:"s3.eu-north-1.amazonaws.com",partition:"aws"};break;case"eu-west-1":n={hostname:"s3.eu-west-1.amazonaws.com",partition:"aws"};break;case"eu-west-2":n={hostname:"s3.eu-west-2.amazonaws.com",partition:"aws"};break;case"eu-west-3":n={hostname:"s3.eu-west-3.amazonaws.com",partition:"aws"};break;case"fips-us-gov-west-1":n={hostname:"s3-fips-us-gov-west-1.amazonaws.com",partition:"aws-us-gov",signingRegion:"us-gov-west-1"};break;case"me-south-1":n={hostname:"s3.me-south-1.amazonaws.com",partition:"aws"};break;case"s3-external-1":n={hostname:"s3-external-1.amazonaws.com",partition:"aws",signingRegion:"us-east-1"};break;case"sa-east-1":n={hostname:"s3.sa-east-1.amazonaws.com",partition:"aws"};break;case"us-east-1":n={hostname:"s3.amazonaws.com",partition:"aws"};break;case"us-east-2":n={hostname:"s3.us-east-2.amazonaws.com",partition:"aws"};break;case"us-gov-east-1":n={hostname:"s3.us-gov-east-1.amazonaws.com",partition:"aws-us-gov"};break;case"us-gov-west-1":n={hostname:"s3.us-gov-west-1.amazonaws.com",partition:"aws-us-gov"};break;case"us-iso-east-1":n={hostname:"s3.us-iso-east-1.c2s.ic.gov",partition:"aws-iso"};break;case"us-isob-east-1":n={hostname:"s3.us-isob-east-1.sc2s.sgov.gov",partition:"aws-iso-b"};break;case"us-west-1":n={hostname:"s3.us-west-1.amazonaws.com",partition:"aws"};break;case"us-west-2":n={hostname:"s3.us-west-2.amazonaws.com",partition:"aws"};break;default:Ms.has(e)&&(n={hostname:xs.replace("{region}",e),partition:"aws"}),Ds.has(e)&&(n={hostname:"s3.{region}.amazonaws.com.cn".replace("{region}",e),partition:"aws-cn"}),Ls.has(e)&&(n={hostname:"s3.{region}.c2s.ic.gov".replace("{region}",e),partition:"aws-iso"}),Os.has(e)&&(n={hostname:"s3.{region}.sc2s.sgov.gov".replace("{region}",e),partition:"aws-iso-b"}),Es.has(e)&&(n={hostname:"s3.{region}.amazonaws.com".replace("{region}",e),partition:"aws-us-gov"}),void 0===n&&(n={hostname:xs.replace("{region}",e),partition:"aws"})}return Promise.resolve(n)},signingEscapePath:!1,signingName:"s3",useArnRegion:!1},As=Object(qi.a)(Object(qi.a)({},Ts),{runtime:"browser",base64Decoder:ks.a,base64Encoder:ks.b,bodyLengthChecker:Ss.a,credentialDefaultProvider:Object(ds.a)("Credential is missing"),defaultUserAgent:Object(Cs.a)(Vr.name,Vr.version),eventStreamSerdeProvider:function(e){return new os(e)},maxAttempts:vs.a,md5:fs,region:Object(ds.a)("Region is missing"),requestHandler:new cs.a,sha256:Ur.Sha256,streamCollector:cs.b,streamHasher:function(e,t){return Object(Gi.__awaiter)(this,void 0,void 0,function(){var n;return Object(Gi.__generator)(this,function(i){switch(i.label){case 0:return n=new e,[4,us(t,function(e){n.update(e)})];case 1:return i.sent(),[2,n.digest()]}})})},urlParser:ws.a,utf8Decoder:hs.a,utf8Encoder:hs.b}),Is=n("NtRE"),Ps=n("naxo"),Rs={step:"build",tags:["SET_EXPECT_HEADER","EXPECT_HEADER"],name:"addExpectContinueMiddleware"},js=n("Nl9j"),Ys=n("+tRG"),Fs={step:"initialize",tags:["VALIDATE_BUCKET_NAME"],name:"validateBucketNameMiddleware"},Ns={step:"build",tags:["USE_REGIONAL_ENDPOINT","S3"],name:"useRegionalEndpointMiddleware"},Hs=n("qcsT"),Vs=n("87YT"),Us=function(e){function t(t){var n,i,r,s,a,o,l,c,u,d,h,p,f,m=this,_=Object(qi.a)(Object(qi.a)({},As),t),g=Object(Is.b)(_),y=Object(Is.a)(g),b=Object(Hs.b)(y),v=Object(vs.c)(b),w=(r=void 0!==(i=(n=Object(Vs.b)(v)).bucketEndpoint)&&i,a=void 0!==(s=n.forcePathStyle)&&s,l=void 0!==(o=n.useAccelerateEndpoint)&&o,u=void 0!==(c=n.useDualstackEndpoint)&&c,h=void 0!==(d=n.useArnRegion)&&d,Object(Gi.__assign)(Object(Gi.__assign)({},n),{bucketEndpoint:r,forcePathStyle:a,useAccelerateEndpoint:l,useDualstackEndpoint:u,useArnRegion:"function"==typeof h?h:function(){return Promise.resolve(h)}})),k=function(e){return Object(Gi.__assign)(Object(Gi.__assign)({},e),{eventStreamMarshaller:e.eventStreamSerdeProvider(e)})}(Object(js.b)(w));return(m=e.call(this,k)||this).config=k,m.middlewareStack.use(Object(Hs.a)(m.config)),m.middlewareStack.use(Object(vs.b)(m.config)),m.middlewareStack.use(Object(Vs.a)(m.config)),m.middlewareStack.use(Object(Ps.a)(m.config)),m.middlewareStack.use({applyToStack:function(e){e.add(function(){var e=this;return function(t){return function(n){return Object(Gi.__awaiter)(e,void 0,void 0,function(){var e,i;return Object(Gi.__generator)(this,function(r){if("string"==typeof(e=n.input.Bucket)&&!gr(e)&&e.indexOf("/")>=0)throw(i=new Error("Bucket name shouldn't contain '/', received '"+e+"'")).name="InvalidBucketName",i;return[2,t(Object(Gi.__assign)({},n))]})})}}}(),Fs)}}),m.middlewareStack.use((f=m.config,{applyToStack:function(e){e.add(function(e){return function(t){return function(n){return Object(Gi.__awaiter)(void 0,void 0,void 0,function(){var i,r;return Object(Gi.__generator)(this,function(s){switch(s.label){case 0:return!$i.a.isInstance(i=n.request)||e.isCustomEndpoint?[2,t(Object(Gi.__assign)({},n))]:"s3.amazonaws.com"!==i.hostname?[3,1]:(i.hostname="s3.us-east-1.amazonaws.com",[3,3]);case 1:return r="aws-global",[4,e.region()];case 2:r===s.sent()&&(i.hostname="s3.amazonaws.com"),s.label=3;case 3:return[2,t(Object(Gi.__assign)({},n))]}})})}}}(f),Ns)}})),m.middlewareStack.use((p=m.config,{applyToStack:function(e){e.add(function(e){var t=this;return function(n){return function(i){return Object(Gi.__awaiter)(t,void 0,void 0,function(){var t;return Object(Gi.__generator)(this,function(r){return $i.a.isInstance(t=i.request)&&t.body&&"node"===e.runtime&&(t.headers=Object(Gi.__assign)(Object(Gi.__assign)({},t.headers),{Expect:"100-continue"})),[2,n(Object(Gi.__assign)(Object(Gi.__assign)({},i),{request:t}))]})})}}}(p),Rs)}})),m.middlewareStack.use(Object(js.a)(m.config)),m.middlewareStack.use(Object(Ys.a)(m.config)),m}return Object(qi.c)(t,e),t.prototype.destroy=function(){e.prototype.destroy.call(this)},t}(Ki.a),Bs=n("3tHY");function zs(e){var t=e.port,n=e.query,i=e.protocol,r=e.path,s=e.hostname;i&&":"!==i.substr(-1)&&(i+=":"),t&&(s+=":"+t),r&&"/"!==r.charAt(0)&&(r="/"+r);var a=n?Object(Bs.a)(n):"";return a&&"?"!==a[0]&&(a="?"+a),i+"//"+s+r+a}function Ws(e,t){return Object(Gi.__awaiter)(this,void 0,void 0,function(){var n,i,r=this;return Object(Gi.__generator)(this,function(s){switch(s.label){case 0:return n=function(e){return function(e){return Object(Gi.__awaiter)(r,void 0,void 0,function(){return Object(Gi.__generator)(this,function(t){return[2,{output:{request:e.request},response:void 0}]})})}},(i=e.middlewareStack.clone()).add(n,{step:"build",priority:"low"}),[4,t.resolveMiddleware(i,e.config,void 0)(t).then(function(e){return e.output.request})];case 1:return[2,s.sent()]}})})}var qs,Ks,$s,Gs,Js,Qs,Xs,Zs,ea,ta,na,ia,ra,sa,aa,oa,la,ca,ua,da,ha=n("ko+D"),pa=function(){function e(e){var t=Object(Gi.__assign)({service:e.signingName||e.service||"s3",uriEscapePath:e.uriEscapePath||!1},e);this.signer=new ha.a(t)}return e.prototype.presign=function(e,t){void 0===t&&(t={});var n=t.unsignableHeaders,i=void 0===n?new Set:n,r=Object(Gi.__rest)(t,["unsignableHeaders"]);return Object(Gi.__awaiter)(this,void 0,void 0,function(){return Object(Gi.__generator)(this,function(t){return i.add("content-type"),e.headers["X-Amz-Content-Sha256"]="UNSIGNED-PAYLOAD",[2,this.signer.presign(e,Object(Gi.__assign)({expiresIn:900,unsignableHeaders:i},r))]})})},e}(),fa=n("vDqi"),ma=n.n(fa),_a=new Vi.a("axios-http-handler"),ga="sendProgress",ya=function(){function e(e,t){void 0===e&&(e={}),this.httpOptions=e,this.emitter=t}return e.prototype.destroy=function(){},e.prototype.handle=function(e,t){var n=this.httpOptions.requestTimeout,i=this.emitter,r=e.path;if(e.query){var s=Object(Bs.a)(e.query);s&&(r+="?"+s)}var a=e.port,o={};o.url=e.protocol+"//"+e.hostname+(a?":"+a:"")+r,o.method=e.method,o.headers=e.headers,delete o.headers.host,e.body?o.data=e.body:o.headers["Content-Type"]&&(o.data=null),i&&(o.onUploadProgress=function(e){i.emit(ga,e),_a.debug(e)}),o.responseType="blob";var l,c=[ma.a.request(o).then(function(e){return{response:new $i.b({headers:e.headers,statusCode:e.status,body:e.data})}}).catch(function(e){throw _a.error(e),e}),(l=n,void 0===l&&(l=0),new Promise(function(e,t){l&&setTimeout(function(){var e=new Error("Request did not complete within "+l+" ms");e.name="TimeoutError",t(e)},l)}))];return Promise.race(c)},e}(),ba=function(e){function t(t){var n=e.call(this)||this;return n.input=t,n}return Object(qi.c)(t,e),t.prototype.resolveMiddleware=function(e,t,n){this.middlewareStack.use(Object(Rr.a)(t,this.serialize,this.deserialize)),this.middlewareStack.use(Yr(t)),this.middlewareStack.use(Pr(t));var i=e.concat(this.middlewareStack),r=t.logger,s="S3Client",a="PutObjectCommand",o={logger:r,clientName:s,commandName:a,inputFilterSensitiveLog:di.filterSensitiveLog,outputFilterSensitiveLog:ui.filterSensitiveLog};"function"==typeof r.info&&r.info({clientName:s,commandName:a});var l=t.requestHandler;return i.resolve(function(e){return l.handle(e.request,n||{})},o)},t.prototype.serialize=function(e,t){return function(e,t){return Object(qi.b)(void 0,void 0,void 0,function(){var n,i,r,s,a,o,l;return Object(qi.d)(this,function(c){switch(c.label){case 0:if(n=Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)({"Content-Type":"application/octet-stream"},fr(e.GrantFullControl)&&{"x-amz-grant-full-control":e.GrantFullControl}),fr(e.ContentEncoding)&&{"Content-Encoding":e.ContentEncoding}),fr(e.RequestPayer)&&{"x-amz-request-payer":e.RequestPayer}),fr(e.GrantReadACP)&&{"x-amz-grant-read-acp":e.GrantReadACP}),fr(e.SSECustomerKeyMD5)&&{"x-amz-server-side-encryption-customer-key-MD5":e.SSECustomerKeyMD5}),fr(e.CacheControl)&&{"Cache-Control":e.CacheControl}),fr(e.WebsiteRedirectLocation)&&{"x-amz-website-redirect-location":e.WebsiteRedirectLocation}),fr(e.ObjectLockLegalHoldStatus)&&{"x-amz-object-lock-legal-hold":e.ObjectLockLegalHoldStatus}),fr(e.GrantWriteACP)&&{"x-amz-grant-write-acp":e.GrantWriteACP}),fr(e.ContentLength)&&{"Content-Length":e.ContentLength.toString()}),fr(e.ObjectLockRetainUntilDate)&&{"x-amz-object-lock-retain-until-date":(e.ObjectLockRetainUntilDate.toISOString().split(".")[0]+"Z").toString()}),fr(e.SSECustomerAlgorithm)&&{"x-amz-server-side-encryption-customer-algorithm":e.SSECustomerAlgorithm}),fr(e.ContentDisposition)&&{"Content-Disposition":e.ContentDisposition}),fr(e.SSECustomerKey)&&{"x-amz-server-side-encryption-customer-key":e.SSECustomerKey}),fr(e.SSEKMSEncryptionContext)&&{"x-amz-server-side-encryption-context":e.SSEKMSEncryptionContext}),fr(e.Tagging)&&{"x-amz-tagging":e.Tagging}),fr(e.Expires)&&{Expires:Object(Ki.d)(e.Expires).toString()}),fr(e.StorageClass)&&{"x-amz-storage-class":e.StorageClass}),fr(e.ExpectedBucketOwner)&&{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),fr(e.ContentMD5)&&{"Content-MD5":e.ContentMD5}),fr(e.ServerSideEncryption)&&{"x-amz-server-side-encryption":e.ServerSideEncryption}),fr(e.ObjectLockMode)&&{"x-amz-object-lock-mode":e.ObjectLockMode}),fr(e.SSEKMSKeyId)&&{"x-amz-server-side-encryption-aws-kms-key-id":e.SSEKMSKeyId}),fr(e.ContentLanguage)&&{"Content-Language":e.ContentLanguage}),fr(e.GrantRead)&&{"x-amz-grant-read":e.GrantRead}),fr(e.ACL)&&{"x-amz-acl":e.ACL}),fr(e.ContentType)&&{"Content-Type":e.ContentType}),void 0!==e.Metadata&&Object.keys(e.Metadata).reduce(function(t,n){return t["x-amz-meta-"+n]=e.Metadata[n],t},{})),i="/{Bucket}/{Key+}",void 0===e.Bucket)throw new Error("No value provided for input HTTP label: Bucket.");if((r=e.Bucket).length<=0)throw new Error("Empty value provided for input HTTP label: Bucket.");if(i=i.replace("{Bucket}",Object(Ki.e)(r)),void 0===e.Key)throw new Error("No value provided for input HTTP label: Key.");if((r=e.Key).length<=0)throw new Error("Empty value provided for input HTTP label: Key.");return i=i.replace("{Key+}",r.split("/").map(function(e){return Object(Ki.e)(e)}).join("/")),s={"x-id":"PutObject"},void 0!==e.Body&&(a=e.Body),[4,t.endpoint()];case 1:return o=c.sent(),[2,new $i.a({protocol:void 0===(l=o.protocol)?"https":l,hostname:o.hostname,port:o.port,method:"PUT",headers:n,path:i,query:s,body:a})]}})})}(e,t)},t.prototype.deserialize=function(e,t){return function(e,t){return Object(qi.b)(void 0,void 0,void 0,function(){var n;return Object(qi.d)(this,function(i){switch(i.label){case 0:return 200!==e.statusCode&&e.statusCode>=300?[2,ar(e,t)]:(n={$metadata:hr(e),ETag:void 0,Expiration:void 0,RequestCharged:void 0,SSECustomerAlgorithm:void 0,SSECustomerKeyMD5:void 0,SSEKMSEncryptionContext:void 0,SSEKMSKeyId:void 0,ServerSideEncryption:void 0,VersionId:void 0},void 0!==e.headers["x-amz-server-side-encryption-context"]&&(n.SSEKMSEncryptionContext=e.headers["x-amz-server-side-encryption-context"]),void 0!==e.headers["x-amz-expiration"]&&(n.Expiration=e.headers["x-amz-expiration"]),void 0!==e.headers["x-amz-server-side-encryption-customer-key-md5"]&&(n.SSECustomerKeyMD5=e.headers["x-amz-server-side-encryption-customer-key-md5"]),void 0!==e.headers.etag&&(n.ETag=e.headers.etag),void 0!==e.headers["x-amz-server-side-encryption-customer-algorithm"]&&(n.SSECustomerAlgorithm=e.headers["x-amz-server-side-encryption-customer-algorithm"]),void 0!==e.headers["x-amz-version-id"]&&(n.VersionId=e.headers["x-amz-version-id"]),void 0!==e.headers["x-amz-request-charged"]&&(n.RequestCharged=e.headers["x-amz-request-charged"]),void 0!==e.headers["x-amz-server-side-encryption-aws-kms-key-id"]&&(n.SSEKMSKeyId=e.headers["x-amz-server-side-encryption-aws-kms-key-id"]),void 0!==e.headers["x-amz-server-side-encryption"]&&(n.ServerSideEncryption=e.headers["x-amz-server-side-encryption"]),[4,pr(e.body,t)]);case 1:return i.sent(),[2,Promise.resolve(n)]}})})}(e,t)},t}(Ki.b),va=function(e){function t(t){var n=e.call(this)||this;return n.input=t,n}return Object(qi.c)(t,e),t.prototype.resolveMiddleware=function(e,t,n){this.middlewareStack.use(Object(Rr.a)(t,this.serialize,this.deserialize)),this.middlewareStack.use(Yr(t)),this.middlewareStack.use(Pr(t));var i=e.concat(this.middlewareStack),r=t.logger,s="S3Client",a="CreateMultipartUploadCommand",o={logger:r,clientName:s,commandName:a,inputFilterSensitiveLog:D.filterSensitiveLog,outputFilterSensitiveLog:M.filterSensitiveLog};"function"==typeof r.info&&r.info({clientName:s,commandName:a});var l=t.requestHandler;return i.resolve(function(e){return l.handle(e.request,n||{})},o)},t.prototype.serialize=function(e,t){return function(e,t){return Object(qi.b)(void 0,void 0,void 0,function(){var n,i,r,s,a,o;return Object(qi.d)(this,function(l){switch(l.label){case 0:if(n=Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)({"Content-Type":""},fr(e.GrantFullControl)&&{"x-amz-grant-full-control":e.GrantFullControl}),fr(e.SSECustomerKeyMD5)&&{"x-amz-server-side-encryption-customer-key-MD5":e.SSECustomerKeyMD5}),fr(e.SSECustomerAlgorithm)&&{"x-amz-server-side-encryption-customer-algorithm":e.SSECustomerAlgorithm}),fr(e.SSEKMSKeyId)&&{"x-amz-server-side-encryption-aws-kms-key-id":e.SSEKMSKeyId}),fr(e.ObjectLockLegalHoldStatus)&&{"x-amz-object-lock-legal-hold":e.ObjectLockLegalHoldStatus}),fr(e.RequestPayer)&&{"x-amz-request-payer":e.RequestPayer}),fr(e.GrantRead)&&{"x-amz-grant-read":e.GrantRead}),fr(e.GrantWriteACP)&&{"x-amz-grant-write-acp":e.GrantWriteACP}),fr(e.WebsiteRedirectLocation)&&{"x-amz-website-redirect-location":e.WebsiteRedirectLocation}),fr(e.ContentType)&&{"Content-Type":e.ContentType}),fr(e.ContentLanguage)&&{"Content-Language":e.ContentLanguage}),fr(e.CacheControl)&&{"Cache-Control":e.CacheControl}),fr(e.GrantReadACP)&&{"x-amz-grant-read-acp":e.GrantReadACP}),fr(e.Tagging)&&{"x-amz-tagging":e.Tagging}),fr(e.SSEKMSEncryptionContext)&&{"x-amz-server-side-encryption-context":e.SSEKMSEncryptionContext}),fr(e.ACL)&&{"x-amz-acl":e.ACL}),fr(e.SSECustomerKey)&&{"x-amz-server-side-encryption-customer-key":e.SSECustomerKey}),fr(e.ExpectedBucketOwner)&&{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),fr(e.Expires)&&{Expires:Object(Ki.d)(e.Expires).toString()}),fr(e.ObjectLockRetainUntilDate)&&{"x-amz-object-lock-retain-until-date":(e.ObjectLockRetainUntilDate.toISOString().split(".")[0]+"Z").toString()}),fr(e.ServerSideEncryption)&&{"x-amz-server-side-encryption":e.ServerSideEncryption}),fr(e.ContentDisposition)&&{"Content-Disposition":e.ContentDisposition}),fr(e.ObjectLockMode)&&{"x-amz-object-lock-mode":e.ObjectLockMode}),fr(e.StorageClass)&&{"x-amz-storage-class":e.StorageClass}),fr(e.ContentEncoding)&&{"Content-Encoding":e.ContentEncoding}),void 0!==e.Metadata&&Object.keys(e.Metadata).reduce(function(t,n){return t["x-amz-meta-"+n]=e.Metadata[n],t},{})),i="/{Bucket}/{Key+}",void 0===e.Bucket)throw new Error("No value provided for input HTTP label: Bucket.");if((r=e.Bucket).length<=0)throw new Error("Empty value provided for input HTTP label: Bucket.");if(i=i.replace("{Bucket}",Object(Ki.e)(r)),void 0===e.Key)throw new Error("No value provided for input HTTP label: Key.");if((r=e.Key).length<=0)throw new Error("Empty value provided for input HTTP label: Key.");return i=i.replace("{Key+}",r.split("/").map(function(e){return Object(Ki.e)(e)}).join("/")),s={uploads:""},[4,t.endpoint()];case 1:return a=l.sent(),[2,new $i.a({protocol:void 0===(o=a.protocol)?"https":o,hostname:a.hostname,port:a.port,method:"POST",headers:n,path:i,query:s,body:void 0})]}})})}(e,t)},t.prototype.deserialize=function(e,t){return function(e,t){return Object(qi.b)(void 0,void 0,void 0,function(){var n,i;return Object(qi.d)(this,function(r){switch(r.label){case 0:return 200!==e.statusCode&&e.statusCode>=300?[2,tr(e,t)]:(n={$metadata:hr(e),AbortDate:void 0,AbortRuleId:void 0,Bucket:void 0,Key:void 0,RequestCharged:void 0,SSECustomerAlgorithm:void 0,SSECustomerKeyMD5:void 0,SSEKMSEncryptionContext:void 0,SSEKMSKeyId:void 0,ServerSideEncryption:void 0,UploadId:void 0},void 0!==e.headers["x-amz-server-side-encryption-context"]&&(n.SSEKMSEncryptionContext=e.headers["x-amz-server-side-encryption-context"]),void 0!==e.headers["x-amz-server-side-encryption"]&&(n.ServerSideEncryption=e.headers["x-amz-server-side-encryption"]),void 0!==e.headers["x-amz-request-charged"]&&(n.RequestCharged=e.headers["x-amz-request-charged"]),void 0!==e.headers["x-amz-abort-date"]&&(n.AbortDate=new Date(e.headers["x-amz-abort-date"])),void 0!==e.headers["x-amz-server-side-encryption-customer-algorithm"]&&(n.SSECustomerAlgorithm=e.headers["x-amz-server-side-encryption-customer-algorithm"]),void 0!==e.headers["x-amz-server-side-encryption-aws-kms-key-id"]&&(n.SSEKMSKeyId=e.headers["x-amz-server-side-encryption-aws-kms-key-id"]),void 0!==e.headers["x-amz-abort-rule-id"]&&(n.AbortRuleId=e.headers["x-amz-abort-rule-id"]),void 0!==e.headers["x-amz-server-side-encryption-customer-key-md5"]&&(n.SSECustomerKeyMD5=e.headers["x-amz-server-side-encryption-customer-key-md5"]),[4,mr(e.body,t)]);case 1:return void 0!==(i=r.sent()).Bucket&&(n.Bucket=i.Bucket),void 0!==i.Key&&(n.Key=i.Key),void 0!==i.UploadId&&(n.UploadId=i.UploadId),[2,Promise.resolve(n)]}})})}(e,t)},t}(Ki.b);!function(e){e.SELECT="SELECT"}(qs||(qs={})),(Ks||(Ks={})).filterSensitiveLog=function(e){return Object(qi.a)(Object(qi.a)({},e),e.OutputLocation&&{OutputLocation:Oi.filterSensitiveLog(e.OutputLocation)})},($s||($s={})).filterSensitiveLog=function(e){return Object(qi.a)(Object(qi.a)({},e),e.RestoreRequest&&{RestoreRequest:Ks.filterSensitiveLog(e.RestoreRequest)})},(Gs||(Gs={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Js||(Js={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Qs||(Qs={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Xs||(Xs={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(Zs||(Zs={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(ea||(ea={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(ta||(ta={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},function(e){e.visit=function(e,t){return void 0!==e.Cont?t.Cont(e.Cont):void 0!==e.Progress?t.Progress(e.Progress):void 0!==e.Stats?t.Stats(e.Stats):void 0!==e.End?t.End(e.End):void 0!==e.Records?t.Records(e.Records):t._(e.$unknown[0],e.$unknown[1])},e.filterSensitiveLog=function(e){var t;return void 0!==e.Cont?{Cont:Gs.filterSensitiveLog(e.Cont)}:void 0!==e.Progress?{Progress:Xs.filterSensitiveLog(e.Progress)}:void 0!==e.Stats?{Stats:ta.filterSensitiveLog(e.Stats)}:void 0!==e.End?{End:Js.filterSensitiveLog(e.End)}:void 0!==e.Records?{Records:Zs.filterSensitiveLog(e.Records)}:void 0!==e.$unknown?((t={})[e.$unknown[0]]="UNKNOWN",t):void 0}}(na||(na={})),(ia||(ia={})).filterSensitiveLog=function(e){return Object(qi.a)(Object(qi.a)({},e),e.Payload&&{Payload:"STREAMING_CONTENT"})},(ra||(ra={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(sa||(sa={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(aa||(aa={})).filterSensitiveLog=function(e){return Object(qi.a)(Object(qi.a)({},e),e.SSECustomerKey&&{SSECustomerKey:Ki.c})},(oa||(oa={})).filterSensitiveLog=function(e){return Object(qi.a)(Object(qi.a)({},e),e.SSEKMSKeyId&&{SSEKMSKeyId:Ki.c})},(la||(la={})).filterSensitiveLog=function(e){return Object(qi.a)(Object(qi.a)({},e),e.SSECustomerKey&&{SSECustomerKey:Ki.c})},(ca||(ca={})).filterSensitiveLog=function(e){return Object(qi.a)({},e)},(ua||(ua={})).filterSensitiveLog=function(e){return Object(qi.a)(Object(qi.a)({},e),e.SSEKMSKeyId&&{SSEKMSKeyId:Ki.c})},(da||(da={})).filterSensitiveLog=function(e){return Object(qi.a)(Object(qi.a)(Object(qi.a)({},e),e.SSECustomerKey&&{SSECustomerKey:Ki.c}),e.CopySourceSSECustomerKey&&{CopySourceSSECustomerKey:Ki.c})};var wa=function(e){function t(t){var n=e.call(this)||this;return n.input=t,n}return Object(qi.c)(t,e),t.prototype.resolveMiddleware=function(e,t,n){this.middlewareStack.use(Object(Rr.a)(t,this.serialize,this.deserialize)),this.middlewareStack.use(Yr(t)),this.middlewareStack.use(Pr(t));var i=e.concat(this.middlewareStack),r=t.logger,s="S3Client",a="UploadPartCommand",o={logger:r,clientName:s,commandName:a,inputFilterSensitiveLog:la.filterSensitiveLog,outputFilterSensitiveLog:oa.filterSensitiveLog};"function"==typeof r.info&&r.info({clientName:s,commandName:a});var l=t.requestHandler;return i.resolve(function(e){return l.handle(e.request,n||{})},o)},t.prototype.serialize=function(e,t){return function(e,t){return Object(qi.b)(void 0,void 0,void 0,function(){var n,i,r,s,a,o,l;return Object(qi.d)(this,function(c){switch(c.label){case 0:if(n=Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)(Object(qi.a)({"Content-Type":"application/octet-stream"},fr(e.ExpectedBucketOwner)&&{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),fr(e.RequestPayer)&&{"x-amz-request-payer":e.RequestPayer}),fr(e.ContentLength)&&{"Content-Length":e.ContentLength.toString()}),fr(e.SSECustomerKey)&&{"x-amz-server-side-encryption-customer-key":e.SSECustomerKey}),fr(e.SSECustomerAlgorithm)&&{"x-amz-server-side-encryption-customer-algorithm":e.SSECustomerAlgorithm}),fr(e.SSECustomerKeyMD5)&&{"x-amz-server-side-encryption-customer-key-MD5":e.SSECustomerKeyMD5}),fr(e.ContentMD5)&&{"Content-MD5":e.ContentMD5}),i="/{Bucket}/{Key+}",void 0===e.Bucket)throw new Error("No value provided for input HTTP label: Bucket.");if((r=e.Bucket).length<=0)throw new Error("Empty value provided for input HTTP label: Bucket.");if(i=i.replace("{Bucket}",Object(Ki.e)(r)),void 0===e.Key)throw new Error("No value provided for input HTTP label: Key.");if((r=e.Key).length<=0)throw new Error("Empty value provided for input HTTP label: Key.");return i=i.replace("{Key+}",r.split("/").map(function(e){return Object(Ki.e)(e)}).join("/")),s=Object(qi.a)(Object(qi.a)({"x-id":"UploadPart"},void 0!==e.PartNumber&&{partNumber:e.PartNumber.toString()}),void 0!==e.UploadId&&{uploadId:e.UploadId}),void 0!==e.Body&&(a=e.Body),[4,t.endpoint()];case 1:return o=c.sent(),[2,new $i.a({protocol:void 0===(l=o.protocol)?"https":l,hostname:o.hostname,port:o.port,method:"PUT",headers:n,path:i,query:s,body:a})]}})})}(e,t)},t.prototype.deserialize=function(e,t){return function(e,t){return Object(qi.b)(void 0,void 0,void 0,function(){var n;return Object(qi.d)(this,function(i){switch(i.label){case 0:return 200!==e.statusCode&&e.statusCode>=300?[2,or(e,t)]:(n={$metadata:hr(e),ETag:void 0,RequestCharged:void 0,SSECustomerAlgorithm:void 0,SSECustomerKeyMD5:void 0,SSEKMSKeyId:void 0,ServerSideEncryption:void 0},void 0!==e.headers["x-amz-server-side-encryption-customer-key-md5"]&&(n.SSECustomerKeyMD5=e.headers["x-amz-server-side-encryption-customer-key-md5"]),void 0!==e.headers["x-amz-server-side-encryption"]&&(n.ServerSideEncryption=e.headers["x-amz-server-side-encryption"]),void 0!==e.headers["x-amz-server-side-encryption-aws-kms-key-id"]&&(n.SSEKMSKeyId=e.headers["x-amz-server-side-encryption-aws-kms-key-id"]),void 0!==e.headers["x-amz-server-side-encryption-customer-algorithm"]&&(n.SSECustomerAlgorithm=e.headers["x-amz-server-side-encryption-customer-algorithm"]),void 0!==e.headers["x-amz-request-charged"]&&(n.RequestCharged=e.headers["x-amz-request-charged"]),void 0!==e.headers.etag&&(n.ETag=e.headers.etag),[4,pr(e.body,t)]);case 1:return i.sent(),[2,Promise.resolve(n)]}})})}(e,t)},t}(Ki.b),ka=function(e){function t(t){var n=e.call(this)||this;return n.input=t,n}return Object(qi.c)(t,e),t.prototype.resolveMiddleware=function(e,t,n){this.middlewareStack.use(Object(Rr.a)(t,this.serialize,this.deserialize)),this.middlewareStack.use(Pr(t));var i=e.concat(this.middlewareStack),r=t.logger,s="S3Client",a="CompleteMultipartUploadCommand",o={logger:r,clientName:s,commandName:a,inputFilterSensitiveLog:_.filterSensitiveLog,outputFilterSensitiveLog:p.filterSensitiveLog};"function"==typeof r.info&&r.info({clientName:s,commandName:a});var l=t.requestHandler;return i.resolve(function(e){return l.handle(e.request,n||{})},o)},t.prototype.serialize=function(e,t){return function(e,t){return Object(qi.b)(void 0,void 0,void 0,function(){var n,i,r,s,a,o,l,c;return Object(qi.d)(this,function(u){switch(u.label){case 0:if(n=Object(qi.a)(Object(qi.a)({"Content-Type":"application/xml"},fr(e.ExpectedBucketOwner)&&{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),fr(e.RequestPayer)&&{"x-amz-request-payer":e.RequestPayer}),i="/{Bucket}/{Key+}",void 0===e.Key)throw new Error("No value provided for input HTTP label: Key.");if((r=e.Key).length<=0)throw new Error("Empty value provided for input HTTP label: Key.");if(i=i.replace("{Key+}",r.split("/").map(function(e){return Object(Ki.e)(e)}).join("/")),void 0===e.Bucket)throw new Error("No value provided for input HTTP label: Bucket.");if((r=e.Bucket).length<=0)throw new Error("Empty value provided for input HTTP label: Bucket.");return i=i.replace("{Bucket}",Object(Ki.e)(r)),s=Object(qi.a)({},void 0!==e.UploadId&&{uploadId:e.UploadId}),void 0!==e.MultipartUpload&&(o=function(e,t){var n=new Ji("CompletedMultipartUpload");return void 0!==e.Parts&&function(e,t){return e.map(function(e){return function(e,t){var n=new Ji("CompletedPart");if(void 0!==e.ETag){var i=new Ji("ETag").addChildNode(new Qi(e.ETag)).withName("ETag");n.addChildNode(i)}return void 0!==e.PartNumber&&(i=new Ji("PartNumber").addChildNode(new Qi(String(e.PartNumber))).withName("PartNumber"),n.addChildNode(i)),n}(e).withName("member")})}(e.Parts).map(function(e){e=e.withName("Part"),n.addChildNode(e)}),n}(e.MultipartUpload),a='',o.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),a+=o.toString()),[4,t.endpoint()];case 1:return l=u.sent(),[2,new $i.a({protocol:void 0===(c=l.protocol)?"https":c,hostname:l.hostname,port:l.port,method:"POST",headers:n,path:i,query:s,body:a})]}})})}(e,t)},t.prototype.deserialize=function(e,t){return function(e,t){return Object(qi.b)(void 0,void 0,void 0,function(){var n,i;return Object(qi.d)(this,function(r){switch(r.label){case 0:return 200!==e.statusCode&&e.statusCode>=300?[2,er(e,t)]:(n={$metadata:hr(e),Bucket:void 0,ETag:void 0,Expiration:void 0,Key:void 0,Location:void 0,RequestCharged:void 0,SSEKMSKeyId:void 0,ServerSideEncryption:void 0,VersionId:void 0},void 0!==e.headers["x-amz-expiration"]&&(n.Expiration=e.headers["x-amz-expiration"]),void 0!==e.headers["x-amz-server-side-encryption"]&&(n.ServerSideEncryption=e.headers["x-amz-server-side-encryption"]),void 0!==e.headers["x-amz-server-side-encryption-aws-kms-key-id"]&&(n.SSEKMSKeyId=e.headers["x-amz-server-side-encryption-aws-kms-key-id"]),void 0!==e.headers["x-amz-version-id"]&&(n.VersionId=e.headers["x-amz-version-id"]),void 0!==e.headers["x-amz-request-charged"]&&(n.RequestCharged=e.headers["x-amz-request-charged"]),[4,mr(e.body,t)]);case 1:return void 0!==(i=r.sent()).Bucket&&(n.Bucket=i.Bucket),void 0!==i.ETag&&(n.ETag=i.ETag),void 0!==i.Key&&(n.Key=i.Key),void 0!==i.Location&&(n.Location=i.Location),[2,Promise.resolve(n)]}})})}(e,t)},t}(Ki.b),Sa=function(e){function t(t){var n=e.call(this)||this;return n.input=t,n}return Object(qi.c)(t,e),t.prototype.resolveMiddleware=function(e,t,n){this.middlewareStack.use(Object(Rr.a)(t,this.serialize,this.deserialize)),this.middlewareStack.use(Pr(t));var i=e.concat(this.middlewareStack),a=t.logger,o="S3Client",l="AbortMultipartUploadCommand",c={logger:a,clientName:o,commandName:l,inputFilterSensitiveLog:s.filterSensitiveLog,outputFilterSensitiveLog:r.filterSensitiveLog};"function"==typeof a.info&&a.info({clientName:o,commandName:l});var u=t.requestHandler;return i.resolve(function(e){return u.handle(e.request,n||{})},c)},t.prototype.serialize=function(e,t){return function(e,t){return Object(qi.b)(void 0,void 0,void 0,function(){var n,i,r,s,a,o;return Object(qi.d)(this,function(l){switch(l.label){case 0:if(n=Object(qi.a)(Object(qi.a)({"Content-Type":""},fr(e.RequestPayer)&&{"x-amz-request-payer":e.RequestPayer}),fr(e.ExpectedBucketOwner)&&{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i="/{Bucket}/{Key+}",void 0===e.Key)throw new Error("No value provided for input HTTP label: Key.");if((r=e.Key).length<=0)throw new Error("Empty value provided for input HTTP label: Key.");if(i=i.replace("{Key+}",r.split("/").map(function(e){return Object(Ki.e)(e)}).join("/")),void 0===e.Bucket)throw new Error("No value provided for input HTTP label: Bucket.");if((r=e.Bucket).length<=0)throw new Error("Empty value provided for input HTTP label: Bucket.");return i=i.replace("{Bucket}",Object(Ki.e)(r)),s=Object(qi.a)({"x-id":"AbortMultipartUpload"},void 0!==e.UploadId&&{uploadId:e.UploadId}),[4,t.endpoint()];case 1:return a=l.sent(),[2,new $i.a({protocol:void 0===(o=a.protocol)?"https":o,hostname:a.hostname,port:a.port,method:"DELETE",headers:n,path:i,query:s,body:void 0})]}})})}(e,t)},t.prototype.deserialize=function(e,t){return function(e,t){return Object(qi.b)(void 0,void 0,void 0,function(){var n;return Object(qi.d)(this,function(i){switch(i.label){case 0:return 204!==e.statusCode&&e.statusCode>=300?[2,Zi(e,t)]:(n={$metadata:hr(e),RequestCharged:void 0},void 0!==e.headers["x-amz-request-charged"]&&(n.RequestCharged=e.headers["x-amz-request-charged"]),[4,pr(e.body,t)]);case 1:return i.sent(),[2,Promise.resolve(n)]}})})}(e,t)},t}(Ki.b),Ca=function(e){function t(t){var n=e.call(this)||this;return n.input=t,n}return Object(qi.c)(t,e),t.prototype.resolveMiddleware=function(e,t,n){this.middlewareStack.use(Object(Rr.a)(t,this.serialize,this.deserialize)),this.middlewareStack.use(Pr(t));var i=e.concat(this.middlewareStack),r=t.logger,s="S3Client",a="ListPartsCommand",o={logger:r,clientName:s,commandName:a,inputFilterSensitiveLog:Nn.filterSensitiveLog,outputFilterSensitiveLog:Fn.filterSensitiveLog};"function"==typeof r.info&&r.info({clientName:s,commandName:a});var l=t.requestHandler;return i.resolve(function(e){return l.handle(e.request,n||{})},o)},t.prototype.serialize=function(e,t){return function(e,t){return Object(qi.b)(void 0,void 0,void 0,function(){var n,i,r,s,a,o;return Object(qi.d)(this,function(l){switch(l.label){case 0:if(n=Object(qi.a)(Object(qi.a)({"Content-Type":""},fr(e.RequestPayer)&&{"x-amz-request-payer":e.RequestPayer}),fr(e.ExpectedBucketOwner)&&{"x-amz-expected-bucket-owner":e.ExpectedBucketOwner}),i="/{Bucket}/{Key+}",void 0===e.Bucket)throw new Error("No value provided for input HTTP label: Bucket.");if((r=e.Bucket).length<=0)throw new Error("Empty value provided for input HTTP label: Bucket.");if(i=i.replace("{Bucket}",Object(Ki.e)(r)),void 0===e.Key)throw new Error("No value provided for input HTTP label: Key.");if((r=e.Key).length<=0)throw new Error("Empty value provided for input HTTP label: Key.");return i=i.replace("{Key+}",r.split("/").map(function(e){return Object(Ki.e)(e)}).join("/")),s=Object(qi.a)(Object(qi.a)(Object(qi.a)({"x-id":"ListParts"},void 0!==e.UploadId&&{uploadId:e.UploadId}),void 0!==e.MaxParts&&{"max-parts":e.MaxParts.toString()}),void 0!==e.PartNumberMarker&&{"part-number-marker":e.PartNumberMarker.toString()}),[4,t.endpoint()];case 1:return a=l.sent(),[2,new $i.a({protocol:void 0===(o=a.protocol)?"https":o,hostname:a.hostname,port:a.port,method:"GET",headers:n,path:i,query:s,body:void 0})]}})})}(e,t)},t.prototype.deserialize=function(e,t){return function(e,t){return Object(qi.b)(void 0,void 0,void 0,function(){var n,i;return Object(qi.d)(this,function(r){switch(r.label){case 0:return 200!==e.statusCode&&e.statusCode>=300?[2,sr(e,t)]:(n={$metadata:hr(e),AbortDate:void 0,AbortRuleId:void 0,Bucket:void 0,Initiator:void 0,IsTruncated:void 0,Key:void 0,MaxParts:void 0,NextPartNumberMarker:void 0,Owner:void 0,PartNumberMarker:void 0,Parts:void 0,RequestCharged:void 0,StorageClass:void 0,UploadId:void 0},void 0!==e.headers["x-amz-abort-rule-id"]&&(n.AbortRuleId=e.headers["x-amz-abort-rule-id"]),void 0!==e.headers["x-amz-request-charged"]&&(n.RequestCharged=e.headers["x-amz-request-charged"]),void 0!==e.headers["x-amz-abort-date"]&&(n.AbortDate=new Date(e.headers["x-amz-abort-date"])),[4,mr(e.body,t)]);case 1:return void 0!==(i=r.sent()).Bucket&&(n.Bucket=i.Bucket),void 0!==i.Initiator&&(n.Initiator=function(e,t){var n={ID:void 0,DisplayName:void 0};return void 0!==e.ID&&(n.ID=e.ID),void 0!==e.DisplayName&&(n.DisplayName=e.DisplayName),n}(i.Initiator)),void 0!==i.IsTruncated&&(n.IsTruncated="true"==i.IsTruncated),void 0!==i.Key&&(n.Key=i.Key),void 0!==i.MaxParts&&(n.MaxParts=parseInt(i.MaxParts)),void 0!==i.NextPartNumberMarker&&(n.NextPartNumberMarker=parseInt(i.NextPartNumberMarker)),void 0!==i.Owner&&(n.Owner=dr(i.Owner)),void 0!==i.PartNumberMarker&&(n.PartNumberMarker=parseInt(i.PartNumberMarker)),""===i.Part&&(n.Parts=[]),void 0!==i.Part&&(n.Parts=function(e,t){return(e||[]).map(function(e){return function(e,t){var n={Size:void 0,LastModified:void 0,PartNumber:void 0,ETag:void 0};return void 0!==e.Size&&(n.Size=parseInt(e.Size)),void 0!==e.LastModified&&(n.LastModified=new Date(e.LastModified)),void 0!==e.PartNumber&&(n.PartNumber=parseInt(e.PartNumber)),void 0!==e.ETag&&(n.ETag=e.ETag),n}(e)})}(Object(Ki.f)(i.Part))),void 0!==i.StorageClass&&(n.StorageClass=i.StorageClass),void 0!==i.UploadId&&(n.UploadId=i.UploadId),[2,Promise.resolve(n)]}})})}(e,t)},t}(Ki.b),xa=n("+qE3"),Ma=n("2XnK"),Da=n("CxY0"),La=function(e){var t,n=Object(Da.parse)(e),i=n.hostname,r=void 0===i?"localhost":i,s=n.pathname,a=void 0===s?"/":s,o=n.port,l=n.protocol,c=void 0===l?"https:":l,u=n.search;return u&&(t=Object(Ma.a)(u)),{hostname:r,port:o?parseInt(o):void 0,protocol:c,path:a,query:t}},Oa=function(){return(Oa=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&r[r.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),r=i.next(),f.label=2;case 2:return r.done?[3,5]:(this.setupEventListener(s=r.value),a=new wa({PartNumber:s.partNumber,Body:s.bodyPart,UploadId:e,Key:this.params.Key,Bucket:this.params.Bucket}),[4,this._createNewS3Client(this.opts,s.emitter)]);case 3:o=f.sent(),n.push(o.send(a)),f.label=4;case 4:return r=i.next(),[3,2];case 5:return[3,8];case 6:return l=f.sent(),h={error:l},[3,8];case 7:try{r&&!r.done&&(p=i.return)&&p.call(i)}finally{if(h)throw h.error}return[7];case 8:return f.trys.push([8,10,,11]),[4,Promise.all(n)];case 9:for(c=f.sent(),u=0;u0)throw new Error("Multi Part upload clean up failed");return[2]}})})},e.prototype.setupEventListener=function(e){var t=this;e.emitter.on(ga,function(n){t.progressChanged(e.partNumber,n.loaded-e._lastUploadedBytes),e._lastUploadedBytes=n.loaded})},e.prototype.progressChanged=function(e,t){this.bytesUploaded+=t,this.emitter.emit(ga,{loaded:this.bytesUploaded,total:this.totalBytesToUpload,part:e,key:this.params.Key})},e.prototype.byteLength=function(e){if(null==e)return 0;if("number"==typeof e.byteLength)return e.byteLength;if("number"==typeof e.length)return e.length;if("number"==typeof e.size)return e.size;if("string"!=typeof e.path)throw new Error("Cannot determine length of "+e)},e.prototype.validateAndSanitizeBody=function(e){return Ea(this,void 0,void 0,function(){return Ta(this,function(t){switch(t.label){case 0:return this.isGenericObject(e)?[2,JSON.stringify(e)]:[3,1];case 1:return this.isBlob(e)?Wi.a.isReactNative?[4,Object(cs.b)(e)]:[3,3]:[3,4];case 2:return[2,t.sent()];case 3:case 4:return[2,e]}})})},e.prototype.isBlob=function(e){return"undefined"!=typeof Blob&&e instanceof Blob},e.prototype.isGenericObject=function(e){if(null!==e&&"object"==typeof e)try{return!(this.byteLength(e)>=0)}catch(t){return!0}return!1},e.prototype._createNewS3Client=function(e,t){return Ea(this,void 0,void 0,function(){var n,i,r;return Ta(this,function(s){switch(s.label){case 0:return[4,this._getCredentials()];case 1:return n=s.sent(),i={},e.dangerouslyConnectToHttpEndpointForTesting&&(i={endpoint:"http://localhost:20005",tls:!1,bucketEndpoint:!1,forcePathStyle:!0}),(r=new Us(Oa(Oa({region:e.region,credentials:n},i),{requestHandler:new ya({},t),customUserAgent:Object(Wi.b)(),urlParser:La}))).middlewareStack.remove("contentLengthMiddleware"),[2,r]}})})},e.prototype._getCredentials=function(){return zi.a.get().then(function(e){if(!e)return!1;var t=zi.a.shear(e);return Aa.debug("set credentials for storage",t),t}).catch(function(e){return Aa.warn("ensure credentials error",e),!1})},e}(),Pa=function(){return(Pa=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&r[r.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]0&&r[r.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]0)&&!(i=s.next()).done;)a.push(i.value)}catch(o){r={error:o}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return a}(e,2),i=t[0],r=t[1];i&&s(i)&&void 0!==r&&(n.Storage.AWSS3[i]=r,delete n.Storage[i])}),Object.keys(n.Storage).forEach(function(e){"string"!=typeof n.Storage[e]&&(t._config[e]=Va(Va({},t._config[e]),n.Storage[e]))}),this._pluggables.forEach(function(e){e.configure(t._config[e.getProviderName()])}),0===this._pluggables.length&&this.addPluggable(new Ha),this._config},e.prototype.get=function(e,t){return Ua(this,void 0,void 0,function(){var n,i,r;return Ba(this,function(s){return i=void 0===(n=(t||{}).provider)?Wa:n,void 0===(r=this._pluggables.find(function(e){return e.getProviderName()===i}))&&(za.debug("No plugin found with providerName",i),Promise.reject("No plugin found in Storage for the provider")),[2,r.get(e,t)]})})},e.prototype.put=function(e,t,n){return Ua(this,void 0,void 0,function(){var i,r,s;return Ba(this,function(a){return r=void 0===(i=(n||{}).provider)?Wa:i,void 0===(s=this._pluggables.find(function(e){return e.getProviderName()===r}))&&(za.debug("No plugin found with providerName",r),Promise.reject("No plugin found in Storage for the provider")),[2,s.put(e,t,n)]})})},e.prototype.remove=function(e,t){return Ua(this,void 0,void 0,function(){var n,i,r;return Ba(this,function(s){return i=void 0===(n=(t||{}).provider)?Wa:n,void 0===(r=this._pluggables.find(function(e){return e.getProviderName()===i}))&&(za.debug("No plugin found with providerName",i),Promise.reject("No plugin found in Storage for the provider")),[2,r.remove(e,t)]})})},e.prototype.list=function(e,t){return Ua(this,void 0,void 0,function(){var n,i,r;return Ba(this,function(s){return i=void 0===(n=(t||{}).provider)?Wa:n,void 0===(r=this._pluggables.find(function(e){return e.getProviderName()===i}))&&(za.debug("No plugin found with providerName",i),Promise.reject("No plugin found in Storage for the provider")),[2,r.list(e,t)]})})},e}(),Ka=n("fQM2"),$a=function(){return($a=Object.assign||function(e){for(var t,n=1,i=arguments.length;n20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(n("wd/R"))},lXzo:function(e,t,n){!function(e){"use strict";function t(e,t,n){return"m"===n?t?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":e+" "+(i=+e,r={ss:t?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:t?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2]);var i,r}var n=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];e.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:t,m:t,mm:t,h:"\u0447\u0430\u0441",hh:t,d:"\u0434\u0435\u043d\u044c",dd:t,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:t,M:"\u043c\u0435\u0441\u044f\u0446",MM:t,y:"\u0433\u043e\u0434",yy:t},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(e)},meridiem:function(e,t,n){return e<4?"\u043d\u043e\u0447\u0438":e<12?"\u0443\u0442\u0440\u0430":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-\u0439";case"D":return e+"-\u0433\u043e";case"w":case"W":return e+"-\u044f";default:return e}},week:{dow:1,doy:4}})}(n("wd/R"))},lYtQ:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){switch(n){case"s":return t?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return e+(t?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return e+(t?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return e+(t?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return e+(t?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return e+(t?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return e+(t?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return e}}e.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(e){return"\u04ae\u0425"===e},meridiem:function(e,t,n){return e<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" \u04e9\u0434\u04e9\u0440";default:return e}}})}(n("wd/R"))},lgnt:function(e,t,n){!function(e){"use strict";var t={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};e.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},loYQ:function(e,t,n){!function(e){"use strict";var t={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},n={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};e.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(e){return e.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===t?e<4?e:e+12:"\u09ad\u09cb\u09b0"===t||"\u09b8\u0995\u09be\u09b2"===t?e:"\u09a6\u09c1\u09aa\u09c1\u09b0"===t?e>=3?e:e+12:"\u09ac\u09bf\u0995\u09be\u09b2"===t||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u09b0\u09be\u09a4":e<6?"\u09ad\u09cb\u09b0":e<12?"\u09b8\u0995\u09be\u09b2":e<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":e<18?"\u09ac\u09bf\u0995\u09be\u09b2":e<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(n("wd/R"))},lyxo:function(e,t,n){!function(e){"use strict";function t(e,t,n){var i=" ";return(e%100>=20||e>=100&&e%100==0)&&(i=" de "),e+i+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[n]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:t,m:"un minut",mm:t,h:"o or\u0103",hh:t,d:"o zi",dd:t,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:t,M:"o lun\u0103",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(n("wd/R"))},m0iZ:function(e,t,n){"use strict";n.d(t,"b",function(){return i}),n.d(t,"e",function(){return r}),n.d(t,"f",function(){return s}),n.d(t,"c",function(){return a}),n.d(t,"d",function(){return o}),n.d(t,"a",function(){return l}),n.d(t,"g",function(){return c});var i=function(e){return e.Cognito="COGNITO",e.Google="Google",e.Facebook="Facebook",e.Amazon="LoginWithAmazon",e.Apple="SignInWithApple",e}({});function r(e){return e&&!!["provider"].find(function(t){return e.hasOwnProperty(t)})}function s(e){return e&&!!["customProvider"].find(function(t){return e.hasOwnProperty(t)})}function a(e){return e&&!!["customState"].find(function(t){return e.hasOwnProperty(t)})}function o(e){return void 0!==e.redirectSignIn}var l=function(e){return e.NoConfig="noConfig",e.MissingAuthConfig="missingAuthConfig",e.EmptyUsername="emptyUsername",e.InvalidUsername="invalidUsername",e.EmptyPassword="emptyPassword",e.EmptyCode="emptyCode",e.SignUpError="signUpError",e.NoMFA="noMFA",e.InvalidMFA="invalidMFA",e.EmptyChallengeResponse="emptyChallengeResponse",e.NoUserSession="noUserSession",e.Default="default",e}({});function c(e){return!!e.username}},mB6T:function(e,t,n){"use strict";n.r(t),n.d(t,"__extends",function(){return r}),n.d(t,"__assign",function(){return s}),n.d(t,"__rest",function(){return a}),n.d(t,"__decorate",function(){return o}),n.d(t,"__param",function(){return l}),n.d(t,"__metadata",function(){return c}),n.d(t,"__awaiter",function(){return u}),n.d(t,"__generator",function(){return d}),n.d(t,"__createBinding",function(){return h}),n.d(t,"__exportStar",function(){return p}),n.d(t,"__values",function(){return f}),n.d(t,"__read",function(){return m}),n.d(t,"__spread",function(){return _}),n.d(t,"__spreadArrays",function(){return g}),n.d(t,"__await",function(){return y}),n.d(t,"__asyncGenerator",function(){return b}),n.d(t,"__asyncDelegator",function(){return v}),n.d(t,"__asyncValues",function(){return w}),n.d(t,"__makeTemplateObject",function(){return k}),n.d(t,"__importStar",function(){return S}),n.d(t,"__importDefault",function(){return C}),n.d(t,"__classPrivateFieldGet",function(){return x}),n.d(t,"__classPrivateFieldSet",function(){return M});var i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function r(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var s=function(){return(s=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,n,a):r(t,n))||a);return s>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){return function(n,i){t(n,i,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function u(e,t,n,i){return new(n||(n=Promise))(function(r,s){function a(e){try{l(i.next(e))}catch(t){s(t)}}function o(e){try{l(i.throw(e))}catch(t){s(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,o)}l((i=i.apply(e,t||[])).next())})}function d(e,t){var n,i,r,s,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return s={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function o(s){return function(o){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&s[0]?i.return:s[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;switch(i=0,r&&(s=[2&s[0],r.value]),s[0]){case 0:case 1:r=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function m(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,s=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=s.next()).done;)a.push(i.value)}catch(o){r={error:o}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return a}function _(){for(var e=[],t=0;t1||o(e,t)})})}function o(e,t){try{(n=r[e](t)).value instanceof y?Promise.resolve(n.value.v).then(l,c):u(s[0][2],n)}catch(i){u(s[0][3],i)}var n}function l(e){o("next",e)}function c(e){o("throw",e)}function u(e,t){e(t),s.shift(),s.length&&o(s[0][0],s[0][1])}}function v(e){var t,n;return t={},i("next"),i("throw",function(e){throw e}),i("return"),t[Symbol.iterator]=function(){return this},t;function i(i,r){t[i]=e[i]?function(t){return(n=!n)?{value:y(e[i](t)),done:"return"===i}:r?r(t):t}:r}}function w(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=f(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(n){t[n]=e[n]&&function(t){return new Promise(function(i,r){!function(e,t,n,i){Promise.resolve(i).then(function(t){e({value:t,done:n})},t)}(i,r,(t=e[n](t)).done,t.value)})}}}function k(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function S(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function C(e){return e&&e.__esModule?e:{default:e}}function x(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function M(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}},mRvm:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("mB6T"),r={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"]},s={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"]};function a(e,t,n){return{applyToStack:function(a){a.add(function(e,t){return function(n,r){return function(s){return Object(i.__awaiter)(void 0,void 0,void 0,function(){var a,o,l,c,u;return Object(i.__generator)(this,function(d){switch(d.label){case 0:return a=r.logger,o=r.outputFilterSensitiveLog,[4,n(s)];case 1:return l=d.sent().response,"function"==typeof(null==a?void 0:a.debug)&&a.debug({httpResponse:l}),[4,t(l,e)];case 2:return c=d.sent(),u=Object(i.__rest)(c,["$metadata"]),"function"==typeof(null==a?void 0:a.info)&&a.info({output:o(u)}),[2,{response:l,output:c}]}})})}}}(e,n),r),a.add(function(e,t){return function(n,r){return function(s){return Object(i.__awaiter)(void 0,void 0,void 0,function(){var a,o,l;return Object(i.__generator)(this,function(c){switch(c.label){case 0:return o=r.inputFilterSensitiveLog,"function"==typeof(null==(a=r.logger)?void 0:a.info)&&a.info({input:o(s.input)}),[4,t(s.input,e)];case 1:return l=c.sent(),"function"==typeof(null==a?void 0:a.debug)&&a.debug({httpRequest:l}),[2,n(Object(i.__assign)(Object(i.__assign)({},s),{request:l}))]}})})}}}(e,t),s)}}}},mX1g:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Crc32=t.crc32=void 0;var i=n("mB6T");t.crc32=function(e){return(new r).update(e).digest()};var r=function(){function e(){this.checksum=4294967295}return e.prototype.update=function(e){var t,n;try{for(var r=i.__values(e),a=r.next();!a.done;a=r.next())this.checksum=this.checksum>>>8^s[255&(this.checksum^a.value)]}catch(o){t={error:o}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return this},e.prototype.digest=function(){return(4294967295^this.checksum)>>>0},e}();t.Crc32=r;var s=Uint32Array.from([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117])},mrSG:function(e,t,n){"use strict";n.d(t,"c",function(){return r}),n.d(t,"a",function(){return s}),n.d(t,"b",function(){return a}),n.d(t,"d",function(){return o}),n.d(t,"e",function(){return l});var i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var s=function(){return(s=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&r[r.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]0)&&!(i=s.next()).done;)a.push(i.value)}catch(o){r={error:o}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return a}},naxo:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("mB6T"),r=n("Enk7"),s={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware"},a=function(e){return{applyToStack:function(t){t.add(function(e){var t=this;return function(n){return function(s){return Object(i.__awaiter)(t,void 0,void 0,function(){var t,a,o,l,c;return Object(i.__generator)(this,function(u){return r.a.isInstance(t=s.request)&&(o=t.headers,(a=t.body)&&-1===Object.keys(o).map(function(e){return e.toLowerCase()}).indexOf("content-length")&&void 0!==(l=e(a))&&(t.headers=Object(i.__assign)(Object(i.__assign)({},t.headers),((c={})["content-length"]=String(l),c)))),[2,n(Object(i.__assign)(Object(i.__assign)({},s),{request:t}))]})})}}}(e.bodyLengthChecker),s)}}}},ntEb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.supportsZeroByteGCM=t.supportsSubtleCrypto=t.supportsSecureRandom=t.supportsWebCrypto=void 0;var i=n("mB6T"),r=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];function s(e){return"object"==typeof e&&"object"==typeof e.crypto&&"function"==typeof e.crypto.getRandomValues}function a(e){return e&&r.every(function(t){return"function"==typeof e[t]})}t.supportsWebCrypto=function(e){return!(!s(e)||"object"!=typeof e.crypto.subtle)&&a(e.crypto.subtle)},t.supportsSecureRandom=s,t.supportsSubtleCrypto=a,t.supportsZeroByteGCM=function(e){return i.__awaiter(this,void 0,void 0,function(){var t;return i.__generator(this,function(n){switch(n.label){case 0:if(!a(e))return[2,!1];n.label=1;case 1:return n.trys.push([1,4,,5]),[4,e.generateKey({name:"AES-GCM",length:128},!1,["encrypt"])];case 2:return t=n.sent(),[4,e.encrypt({name:"AES-GCM",iv:new Uint8Array(Array(12)),additionalData:new Uint8Array(Array(16)),tagLength:128},t,new Uint8Array(0))];case 3:return[2,16===n.sent().byteLength];case 4:return n.sent(),[2,!1];case 5:return[2]}})})}},nyYc:function(e,t,n){!function(e){"use strict";var t=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,n=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];e.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:t,monthsShortRegex:t,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n("wd/R"))},o1bE:function(e,t,n){!function(e){"use strict";var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},i=function(e){return function(i,r,s,a){var o=t(i),l=n[e][t(i)];return 2===o&&(l=l[r?0:1]),l.replace(/%d/i,i)}},r=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar-dz",{months:r,monthsShort:r,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(n("wd/R"))},"p/rL":function(e,t,n){!function(e){"use strict";e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(n("wd/R"))},p1mf:function(e,t,n){"use strict";const i=n("4abu").buildOptions,r={attributeNamePrefix:"@_",attrNodeName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataTagName:!1,cdataPositionChar:"\\c",format:!1,indentBy:" ",supressEmptyNode:!1,tagValueProcessor:function(e){return e},attrValueProcessor:function(e){return e}},s=["attributeNamePrefix","attrNodeName","textNodeName","ignoreAttributes","cdataTagName","cdataPositionChar","format","indentBy","supressEmptyNode","tagValueProcessor","attrValueProcessor"];function a(e){this.options=i(e,r,s),this.options.ignoreAttributes||this.options.attrNodeName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=f),this.isCDATA=this.options.cdataTagName?m:function(){return!1},this.replaceCDATAstr=o,this.replaceCDATAarr=l,this.options.format?(this.indentate=p,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine=""),this.options.supressEmptyNode?(this.buildTextNode=h,this.buildObjNode=u):(this.buildTextNode=d,this.buildObjNode=c),this.buildTextValNode=d,this.buildObjectNode=c}function o(e,t){return e=this.options.tagValueProcessor(""+e),""===this.options.cdataPositionChar||""===e?e+"");return e+this.newLine}function c(e,t,n,i){return n&&!e.includes("<")?this.indentate(i)+"<"+t+n+">"+e+""+this.options.tagValueProcessor(e)+">>7)^(f<<14|f>>>18)^f>>>3)+c[p-7]+((m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10)+c[p-16]}var _=i&r^i&s^r&s,g=h+((o<<26|o>>>6)^(o<<21|o>>>11)^(o<<7|o>>>25))+(o&u^~o&d)+l[p]+c[p];h=d,d=u,u=o,o=a+g|0,a=s,s=r,r=i,i=g+(((i<<30|i>>>2)^(i<<19|i>>>13)^(i<<10|i>>>22))+_)|0}n[0]=n[0]+i|0,n[1]=n[1]+r|0,n[2]=n[2]+s|0,n[3]=n[3]+a|0,n[4]=n[4]+o|0,n[5]=n[5]+u|0,n[6]=n[6]+d|0,n[7]=n[7]+h|0},_doFinalize:function(){var t=this._data,n=t.words,i=8*this._nDataBytes,r=8*t.sigBytes;return n[r>>>5]|=128<<24-r%32,n[14+(r+64>>>9<<4)]=e.floor(i/4294967296),n[15+(r+64>>>9<<4)]=i,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=s.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=s._createHelper(u),t.HmacSHA256=s._createHmacHelper(u)}(Math),i.SHA256)},qcsT:function(e,t,n){"use strict";n.d(t,"b",function(){return s}),n.d(t,"a",function(){return c});var i=n("mB6T"),r=n("ko+D");function s(e){var t,n=this,s=a(e.credentials||e.credentialDefaultProvider(e)),o=e.signingEscapePath,l=void 0===o||o,c=e.systemClockOffset,u=void 0===c?e.systemClockOffset||0:c,d=e.sha256;return t=e.signer?a(e.signer):function(){return a(e.region)().then(function(t){return Object(i.__awaiter)(n,void 0,void 0,function(){return Object(i.__generator)(this,function(n){switch(n.label){case 0:return[4,e.regionInfoProvider(t)];case 1:return[2,[n.sent()||{},t]]}})})}).then(function(t){var n=Object(i.__read)(t,2),a=n[0],o=a.signingRegion,c=a.signingService,u=void 0===c?e.signingName:c;return e.signingRegion=e.signingRegion||(void 0===o?e.signingRegion:o)||n[1],e.signingName=e.signingName||u,new r.a({credentials:s,region:e.signingRegion,service:e.signingName,sha256:d,uriEscapePath:l})})},Object(i.__assign)(Object(i.__assign)({},e),{systemClockOffset:u,signingEscapePath:l,credentials:s,signer:t})}function a(e){if("object"==typeof e){var t=Promise.resolve(e);return function(){return t}}return e}var o=n("Enk7");var l={name:"awsAuthMiddleware",tags:["SIGNATURE","AWSAUTH"],relation:"after",toMiddleware:"retryMiddleware"},c=function(e){return{applyToStack:function(t){t.addRelativeTo(function(e){return function(t,n){return function(r){return Object(i.__awaiter)(this,void 0,void 0,function(){var s,a,l,c,u,d,h,p,f;return Object(i.__generator)(this,function(m){switch(m.label){case 0:return o.a.isInstance(r.request)?"function"!=typeof e.signer?[3,2]:[4,e.signer()]:[2,t(r)];case 1:return a=m.sent(),[3,3];case 2:a=e.signer,m.label=3;case 3:return s=a,c=t,u=[Object(i.__assign)({},r)],f={},[4,s.sign(r.request,{signingDate:new Date(Date.now()+e.systemClockOffset),signingRegion:n.signing_region,signingService:n.signing_service})];case 4:return[4,c.apply(void 0,[i.__assign.apply(void 0,u.concat([(f.request=m.sent(),f)]))])];case 5:return l=m.sent(),(h=(d=l.response.headers)&&(d.date||d.Date))&&(g=p=Date.parse(h),Math.abs((_=e.systemClockOffset,new Date(Date.now()+_)).getTime()-g)>=3e5&&(e.systemClockOffset=p-Date.now())),[2,l]}var _,g})})}}}(e),l)}}}},qvJo:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[e+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",e+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[e+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",e+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[e+" \u0935\u0930\u093e\u0902\u0928\u0940",e+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[e+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",e+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[e+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",e+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[e+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",e+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return i?r[n][0]:r[n][1]}e.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(e,t){switch(t){case"D":return e+"\u0935\u0947\u0930";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924\u0940"===t?e<4?e:e+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===t?e:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===t?e>12?e:e+12:"\u0938\u093e\u0902\u091c\u0947"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0930\u093e\u0924\u0940":e<12?"\u0938\u0915\u093e\u0933\u0940\u0902":e<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":e<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(n("wd/R"))},r0jy:function(e,t,n){"use strict";var i=n("H7XF"),r=n("kVK+"),s=n("49sm");function a(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(e,t){if(a()=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function f(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return H(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return V(e).length;default:if(i)return H(e).length;t=(""+t).toLowerCase(),i=!0}}function m(e,t,n){var i=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return E(this,t,n);case"utf8":case"utf-8":return M(this,t,n);case"ascii":return L(this,t,n);case"latin1":case"binary":return O(this,t,n);case"base64":return x(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,n);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function _(e,t,n){var i=e[t];e[t]=e[n],e[n]=i}function g(e,t,n,i,r){if(0===e.length)return-1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(r)return-1;n=e.length-1}else if(n<0){if(!r)return-1;n=0}if("string"==typeof t&&(t=l.from(t,i)),l.isBuffer(t))return 0===t.length?-1:y(e,t,n,i,r);if("number"==typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):y(e,[t],n,i,r);throw new TypeError("val must be string, number or Buffer")}function y(e,t,n,i,r){var s,a=1,o=e.length,l=t.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return-1;a=2,o/=2,l/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(r){var u=-1;for(s=n;so&&(n=o-l),s=n;s>=0;s--){for(var d=!0,h=0;hr&&(i=r):i=r;var s=t.length;if(s%2!=0)throw new TypeError("Invalid hex string");i>s/2&&(i=s/2);for(var a=0;a>8,r.push(n%256),r.push(i);return r}(t,e.length-n),e,n,i)}function x(e,t,n){return i.fromByteArray(0===t&&n===e.length?e:e.slice(t,n))}function M(e,t,n){n=Math.min(e.length,n);for(var i=[],r=t;r239?4:c>223?3:c>191?2:1;if(r+d<=n)switch(d){case 1:c<128&&(u=c);break;case 2:128==(192&(s=e[r+1]))&&(l=(31&c)<<6|63&s)>127&&(u=l);break;case 3:a=e[r+2],128==(192&(s=e[r+1]))&&128==(192&a)&&(l=(15&c)<<12|(63&s)<<6|63&a)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:a=e[r+2],o=e[r+3],128==(192&(s=e[r+1]))&&128==(192&a)&&128==(192&o)&&(l=(15&c)<<18|(63&s)<<12|(63&a)<<6|63&o)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(i.push((u-=65536)>>>10&1023|55296),u=56320|1023&u),i.push(u),r+=d}return function(e){var t=e.length;if(t<=D)return String.fromCharCode.apply(String,e);for(var n="",i=0;i0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},l.prototype.compare=function(e,t,n,i,r){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),t<0||n>e.length||i<0||r>this.length)throw new RangeError("out of range index");if(i>=r&&t>=n)return 0;if(i>=r)return-1;if(t>=n)return 1;if(this===e)return 0;for(var s=(r>>>=0)-(i>>>=0),a=(n>>>=0)-(t>>>=0),o=Math.min(s,a),c=this.slice(i,r),u=e.slice(t,n),d=0;dr)&&(n=r),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var s=!1;;)switch(i){case"hex":return b(this,e,t,n);case"utf8":case"utf-8":return v(this,e,t,n);case"ascii":return w(this,e,t,n);case"latin1":case"binary":return k(this,e,t,n);case"base64":return S(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,t,n);default:if(s)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),s=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var D=4096;function L(e,t,n){var i="";n=Math.min(e.length,n);for(var r=t;rr)&&(n=r);for(var s="",a=t;an)throw new RangeError("Trying to access beyond buffer length")}function I(e,t,n,i,r,s){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>r||te.length)throw new RangeError("Index out of range")}function P(e,t,n,i){t<0&&(t=65535+t+1);for(var r=0,s=Math.min(e.length-n,2);r>>8*(i?r:1-r)}function R(e,t,n,i){t<0&&(t=4294967295+t+1);for(var r=0,s=Math.min(e.length-n,4);r>>8*(i?r:3-r)&255}function j(e,t,n,i,r,s){if(n+i>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Y(e,t,n,i,s){return s||j(e,0,n,4),r.write(e,t,n,i,23,4),n+4}function F(e,t,n,i,s){return s||j(e,0,n,8),r.write(e,t,n,i,52,8),n+8}l.prototype.slice=function(e,t){var n,i=this.length;if((e=~~e)<0?(e+=i)<0&&(e=0):e>i&&(e=i),(t=void 0===t?i:~~t)<0?(t+=i)<0&&(t=0):t>i&&(t=i),t0&&(r*=256);)i+=this[e+--t]*r;return i},l.prototype.readUInt8=function(e,t){return t||A(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return t||A(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return t||A(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return t||A(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return t||A(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||A(e,t,this.length);for(var i=this[e],r=1,s=0;++s=(r*=128)&&(i-=Math.pow(2,8*t)),i},l.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||A(e,t,this.length);for(var i=t,r=1,s=this[e+--i];i>0&&(r*=256);)s+=this[e+--i]*r;return s>=(r*=128)&&(s-=Math.pow(2,8*t)),s},l.prototype.readInt8=function(e,t){return t||A(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){t||A(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){t||A(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return t||A(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return t||A(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return t||A(e,4,this.length),r.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return t||A(e,4,this.length),r.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return t||A(e,8,this.length),r.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return t||A(e,8,this.length),r.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,n,i){e=+e,t|=0,n|=0,i||I(this,e,t,n,Math.pow(2,8*n)-1,0);var r=1,s=0;for(this[t]=255&e;++s=0&&(s*=256);)this[t+r]=e/s&255;return t+n},l.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,1,255,0),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):P(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):P(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):R(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):R(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t|=0,!i){var r=Math.pow(2,8*n-1);I(this,e,t,n,r-1,-r)}var s=0,a=1,o=0;for(this[t]=255&e;++s>0)-o&255;return t+n},l.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t|=0,!i){var r=Math.pow(2,8*n-1);I(this,e,t,n,r-1,-r)}var s=n-1,a=1,o=0;for(this[t+s]=255&e;--s>=0&&(a*=256);)e<0&&0===o&&0!==this[t+s+1]&&(o=1),this[t+s]=(e/a>>0)-o&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,1,127,-128),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):P(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):P(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):R(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):R(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,n){return Y(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return Y(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return F(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return F(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,i){if(n||(n=0),i||0===i||(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t=0;--r)e[r+t]=this[r+n];else if(s<1e3||!l.TYPED_ARRAY_SUPPORT)for(r=0;r>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(s=t;s55295&&n<57344){if(!r){if(n>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(a+1===i){(t-=3)>-1&&s.push(239,191,189);continue}r=n;continue}if(n<56320){(t-=3)>-1&&s.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(t-=3)>-1&&s.push(239,191,189);if(r=null,n<128){if((t-=1)<0)break;s.push(n)}else if(n<2048){if((t-=2)<0)break;s.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;s.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return s}function V(e){return i.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(N,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function U(e,t,n,i){for(var r=0;r=t.length||r>=e.length);++r)t[r+n]=e[r];return r}},r8II:function(e,t,n){"use strict";t.decode=t.parse=n("YcCt"),t.encode=t.stringify=n("6MUB")},rU8T:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},rWzI:function(e,t,n){(function(e){var i;!function(r){"object"==typeof global&&global;var s,a=2147483647,o=36,l=/^xn--/,c=/[^\x20-\x7E]/,u=/[\x2E\u3002\uFF0E\uFF61]/g,d={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},h=Math.floor,p=String.fromCharCode;function f(e){throw RangeError(d[e])}function m(e,t){for(var n=e.length,i=[];n--;)i[n]=t(e[n]);return i}function _(e,t){var n=e.split("@"),i="";return n.length>1&&(i=n[0]+"@",e=n[1]),i+m((e=e.replace(u,".")).split("."),t).join(".")}function g(e){for(var t,n,i=[],r=0,s=e.length;r=55296&&t<=56319&&r65535&&(t+=p((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+p(e)}).join("")}function b(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function v(e,t,n){var i=0;for(e=n?h(e/700):e>>1,e+=h(e/t);e>455;i+=o)e=h(e/35);return h(i+36*e/(e+38))}function w(e){var t,n,i,r,s,l,c,u,d,p,m,_=[],g=e.length,b=0,w=128,k=72;for((n=e.lastIndexOf("-"))<0&&(n=0),i=0;i=128&&f("not-basic"),_.push(e.charCodeAt(i));for(r=n>0?n+1:0;r=g&&f("invalid-input"),((u=(m=e.charCodeAt(r++))-48<10?m-22:m-65<26?m-65:m-97<26?m-97:o)>=o||u>h((a-b)/l))&&f("overflow"),b+=u*l,!(u<(d=c<=k?1:c>=k+26?26:c-k));c+=o)l>h(a/(p=o-d))&&f("overflow"),l*=p;k=v(b-s,t=_.length+1,0==s),h(b/t)>a-w&&f("overflow"),w+=h(b/t),b%=t,_.splice(b++,0,w)}return y(_)}function k(e){var t,n,i,r,s,l,c,u,d,m,_,y,w,k,S,C=[];for(y=(e=g(e)).length,t=128,n=0,s=72,l=0;l=t&&_h((a-n)/(w=i+1))&&f("overflow"),n+=(c-t)*w,t=c,l=0;la&&f("overflow"),_==t){for(u=n,d=o;!(u<(m=d<=s?1:d>=s+26?26:d-s));d+=o)C.push(p(b(m+(S=u-m)%(k=o-m),0))),u=h(S/k);C.push(p(b(u,0))),s=v(n,w,i==r),n=0,++i}++n,++t}return C.join("")}s={version:"1.3.2",ucs2:{decode:g,encode:y},decode:w,encode:k,toASCII:function(e){return _(e,function(e){return c.test(e)?"xn--"+k(e):e})},toUnicode:function(e){return _(e,function(e){return l.test(e)?w(e.slice(4).toLowerCase()):e})}},void 0===(i=(function(){return s}).call(t,n,t,e))||(e.exports=i)}()}).call(this,n("YuTi")(e))},raLr:function(e,t,n){!function(e){"use strict";function t(e,t,n){return"m"===n?t?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===n?t?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":e+" "+(i=+e,r={ss:t?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:t?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:t?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2]);var i,r}function n(e){return function(){return e+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}e.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function(e,t){var n={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===e?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):e?n[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(t)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:n.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:n("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:n("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:n("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:n("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return n("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:t,m:t,mm:t,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:t,d:"\u0434\u0435\u043d\u044c",dd:t,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:t,y:"\u0440\u0456\u043a",yy:t},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(e)},meridiem:function(e,t,n){return e<4?"\u043d\u043e\u0447\u0456":e<12?"\u0440\u0430\u043d\u043a\u0443":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-\u0439";case"D":return e+"-\u0433\u043e";default:return e}},week:{dow:1,doy:7}})}(n("wd/R"))},"s+uk":function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}e.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},sEj0:function(e,t,n){"use strict";n.r(t),t.default=function(e,t){return t=t||{},new Promise(function(n,i){var r=new XMLHttpRequest,s=[],a=[],o={},l=function(){return{ok:2==(r.status/100|0),statusText:r.statusText,status:r.status,url:r.responseURL,text:function(){return Promise.resolve(r.responseText)},json:function(){return Promise.resolve(r.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([r.response]))},clone:l,headers:{keys:function(){return s},entries:function(){return a},get:function(e){return o[e.toLowerCase()]},has:function(e){return e.toLowerCase()in o}}}};for(var c in r.open(t.method||"get",e,!0),r.onload=function(){r.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(e,t,n){s.push(t=t.toLowerCase()),a.push([t,n]),o[t]=o[t]?o[t]+","+n:n}),n(l())},r.onerror=i,r.withCredentials="include"==t.credentials,t.headers)r.setRequestHeader(c,t.headers[c]);r.send(t.body||null)})}},sp3z:function(e,t,n){!function(e){"use strict";e.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(e){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===e},meridiem:function(e,t,n){return e<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(e){return"\u0e97\u0eb5\u0ec8"+e}})}(n("wd/R"))},"t+mt":function(e,t,n){!function(e){"use strict";e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},t6xR:function(e,t,n){"use strict";const i=n("4abu"),r=n("4abu").buildOptions,s=n("E1E9"),a=function(e,t,n){let r="{";const s=Object.keys(e.child);for(let i=0;i1){for(var l in r+='"'+o+'" : [ ',e.child[o])r+=a(e.child[o][l],t)+" , ";r=r.substr(0,r.length-1)+" ] "}else r+='"'+o+'" : '+a(e.child[o][0],t)+" ,"}return i.merge(r,e.attrsMap),i.isEmptyObject(r)?i.isExist(e.val)?e.val:"":(i.isExist(e.val)&&("string"!=typeof e.val||""!==e.val&&e.val!==t.cdataPositionChar)&&(r+='"'+t.textNodeName+'" : '+(!0!==(c=e.val)&&!1!==c&&isNaN(c)?'"'+c+'"':c)),","===r[r.length-1]&&(r=r.substr(0,r.length-2)),r+"}");var c};t.convertToJsonString=function(e,t){return(t=r(t,s.defaultOptions,s.props)).indentBy=t.indentBy||"",a(e,t,0)}},tGlX:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}e.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},tQ2B:function(e,t,n){"use strict";var i=n("xTJ+"),r=n("Rn+g"),s=n("eqyj"),a=n("MLWZ"),o=n("g7np"),l=n("w0Vi"),c=n("OTTw"),u=n("LYNF");e.exports=function(e){return new Promise(function(t,n){var d=e.data,h=e.headers;i.isFormData(d)&&delete h["Content-Type"];var p=new XMLHttpRequest;if(e.auth){var f=e.auth.username||"",m=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";h.Authorization="Basic "+btoa(f+":"+m)}var _=o(e.baseURL,e.url);if(p.open(e.method.toUpperCase(),a(_,e.params,e.paramsSerializer),!0),p.timeout=e.timeout,p.onreadystatechange=function(){if(p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var i="getAllResponseHeaders"in p?l(p.getAllResponseHeaders()):null;r(t,n,{data:e.responseType&&"text"!==e.responseType?p.response:p.responseText,status:p.status,statusText:p.statusText,headers:i,config:e,request:p}),p=null}},p.onabort=function(){p&&(n(u("Request aborted",e,"ECONNABORTED",p)),p=null)},p.onerror=function(){n(u("Network Error",e,null,p)),p=null},p.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(u(t,e,"ECONNABORTED",p)),p=null},i.isStandardBrowserEnv()){var g=(e.withCredentials||c(_))&&e.xsrfCookieName?s.read(e.xsrfCookieName):void 0;g&&(h[e.xsrfHeaderName]=g)}if("setRequestHeader"in p&&i.forEach(h,function(e,t){void 0===d&&"content-type"===t.toLowerCase()?delete h[t]:p.setRequestHeader(t,e)}),i.isUndefined(e.withCredentials)||(p.withCredentials=!!e.withCredentials),e.responseType)try{p.responseType=e.responseType}catch(y){if("json"!==e.responseType)throw y}"function"==typeof e.onDownloadProgress&&p.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){p&&(p.abort(),n(e),p=null)}),d||(d=null),p.send(d)})}},tT3J:function(e,t,n){!function(e){"use strict";e.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(n("wd/R"))},tUCv:function(e,t,n){!function(e){"use strict";e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n("wd/R"))},tbfe:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^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;e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},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:i,longMonthsParse:i,shortMonthsParse:i,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"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"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:"%d 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}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(n("wd/R"))},tlIM:function(e,t,n){"use strict";n.r(t),n.d(t,"locateWindow",function(){return r});var i={};function r(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:i}},tpLz:function(e,t,n){var i;e.exports=i=i||function(e,t){var n=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),i={},r=i.lib={},s=r.Base={extend:function(e){var t=n(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},a=r.WordArray=s.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||l).stringify(this)},concat:function(e){var t=this.words,n=e.words,i=this.sigBytes,r=e.sigBytes;if(this.clamp(),i%4)for(var s=0;s>>2]|=(n[s>>>2]>>>24-s%4*8&255)<<24-(i+s)%4*8;else for(s=0;s>>2]=n[s>>>2];return this.sigBytes+=r,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=s.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var n,i=[],r=function(t){t=t;var n=987654321,i=4294967295;return function(){var r=((n=36969*(65535&n)+(n>>16)&i)<<16)+(t=18e3*(65535&t)+(t>>16)&i)&i;return r/=4294967296,(r+=.5)*(e.random()>.5?1:-1)}},s=0;s>>2]>>>24-r%4*8&255;i.push((s>>>4).toString(16)),i.push((15&s).toString(16))}return i.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i>>3]|=parseInt(e.substr(i,2),16)<<24-i%8*4;return new a.init(n,t/2)}},c=o.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,i=[],r=0;r>>2]>>>24-r%4*8&255));return i.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i>>2]|=(255&e.charCodeAt(i))<<24-i%4*8;return new a.init(n,t)}},u=o.Utf8={stringify:function(e){try{return decodeURIComponent(escape(c.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return c.parse(unescape(encodeURIComponent(e)))}},d=r.BufferedBlockAlgorithm=s.extend({reset:function(){this._data=new a.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=u.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n=this._data,i=n.words,r=n.sigBytes,s=this.blockSize,o=r/(4*s),l=(o=t?e.ceil(o):e.max((0|o)-this._minBufferSize,0))*s,c=e.min(4*l,r);if(l){for(var u=0;u{throw e},0)}const o={closed:!0,next(e){},error(e){if(s.useDeprecatedSynchronousErrorHandling)throw e;a(e)},complete(){}},l=(()=>Array.isArray||(e=>e&&"number"==typeof e.length))();function c(e){return null!==e&&"object"==typeof e}const u=(()=>{function e(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e})();let d=(()=>{class e{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:r,_unsubscribe:s,_subscriptions:a}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(let e=0;ee.concat(t instanceof u?t.errors:t),[])}const p=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class f extends d{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=o;break;case 1:if(!e){this.destination=o;break}if("object"==typeof e){e instanceof f?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new m(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new m(this,e,t,n)}}[p](){return this}static create(e,t,n){const i=new f(e,t,n);return i.syncErrorThrowable=!1,i}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class m extends f{constructor(e,t,n,r){let s;super(),this._parentSubscriber=e;let a=this;i(t)?s=t:t&&(s=t.next,n=t.error,r=t.complete,t!==o&&(a=Object.create(t),i(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=s,this._error=n,this._complete=r}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;s.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:n}=s;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):a(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;a(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);s.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),s.useDeprecatedSynchronousErrorHandling)throw n;a(n)}}__tryOrSetError(e,t,n){if(!s.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(i){return s.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=i,e.syncErrorThrown=!0,!0):(a(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const _=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function g(e){return e}let y=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const n=new e;return n.source=this,n.operator=t,n}subscribe(e,t,n){const{operator:i}=this,r=function(e,t,n){if(e){if(e instanceof f)return e;if(e[p])return e[p]()}return e||t||n?new f(e,t,n):new f(o)}(e,t,n);if(r.add(i?i.call(r,this.source):this.source||s.useDeprecatedSynchronousErrorHandling&&!r.syncErrorThrowable?this._subscribe(r):this._trySubscribe(r)),s.useDeprecatedSynchronousErrorHandling&&r.syncErrorThrowable&&(r.syncErrorThrowable=!1,r.syncErrorThrown))throw r.syncErrorValue;return r}_trySubscribe(e){try{return this._subscribe(e)}catch(t){s.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:n,isStopped:i}=e;if(t||i)return!1;e=n&&n instanceof f?n:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=b(t))((t,n)=>{let i;i=this.subscribe(t=>{try{e(t)}catch(r){n(r),i&&i.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[_](){return this}pipe(...e){return 0===e.length?this:(0===(t=e).length?g:1===t.length?t[0]:function(e){return t.reduce((e,t)=>t(e),e)})(this);var t}toPromise(e){return new(e=b(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=t=>new e(t),e})();function b(e){if(e||(e=s.Promise||Promise),!e)throw new Error("no Promise impl found");return e}const v=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})();class w extends d{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}class k extends f{constructor(e){super(e),this.destination=e}}let S=(()=>{class e extends y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[p](){return new k(this)}lift(e){const t=new C(this,this);return t.operator=e,t}next(e){if(this.closed)throw new v;if(!this.isStopped){const{observers:t}=this,n=t.length,i=t.slice();for(let r=0;rnew C(e,t),e})();class C extends S{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):d.EMPTY}}function x(e){return e&&"function"==typeof e.schedule}function M(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new D(e,t))}}class D{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new L(e,this.project,this.thisArg))}}class L extends f{constructor(e,t,n){super(e),this.project=t,this.count=0,this.thisArg=n||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}const O=e=>t=>{for(let n=0,i=e.length;ne&&"number"==typeof e.length&&"function"!=typeof e;function I(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}const P=e=>{if(e&&"function"==typeof e[_])return i=e,e=>{const t=i[_]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(A(e))return O(e);if(I(e))return n=e,e=>(n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,a),e);if(e&&"function"==typeof e[T])return t=e,e=>{const n=t[T]();for(;;){let t;try{t=n.next()}catch(i){return e.error(i),e}if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e};{const t=c(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var t,n,i};function R(e,t){return new y(n=>{const i=new d;let r=0;return i.add(t.schedule(function(){r!==e.length?(n.next(e[r++]),n.closed||i.add(this.schedule())):n.complete()})),i})}function j(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[_]}(e))return function(e,t){return new y(n=>{const i=new d;return i.add(t.schedule(()=>{const r=e[_]();i.add(r.subscribe({next(e){i.add(t.schedule(()=>n.next(e)))},error(e){i.add(t.schedule(()=>n.error(e)))},complete(){i.add(t.schedule(()=>n.complete()))}}))})),i})}(e,t);if(I(e))return function(e,t){return new y(n=>{const i=new d;return i.add(t.schedule(()=>e.then(e=>{i.add(t.schedule(()=>{n.next(e),i.add(t.schedule(()=>n.complete()))}))},e=>{i.add(t.schedule(()=>n.error(e)))}))),i})}(e,t);if(A(e))return R(e,t);if(function(e){return e&&"function"==typeof e[T]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new y(n=>{const i=new d;let r;return i.add(()=>{r&&"function"==typeof r.return&&r.return()}),i.add(t.schedule(()=>{r=e[T](),i.add(t.schedule(function(){if(n.closed)return;let e,t;try{const n=r.next();e=n.value,t=n.done}catch(i){return void n.error(i)}t?n.complete():(n.next(e),this.schedule())}))})),i})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof y?e:new y(P(e))}class Y extends f{constructor(e){super(),this.parent=e}_next(e){this.parent.notifyNext(e)}_error(e){this.parent.notifyError(e),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class F extends f{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}function N(e,t){if(!t.closed)return e instanceof y?e.subscribe(t):P(e)(t)}function H(e,t,n=Number.POSITIVE_INFINITY){return"function"==typeof t?i=>i.pipe(H((n,i)=>j(e(n,i)).pipe(M((e,r)=>t(n,e,i,r))),n)):("number"==typeof t&&(n=t),t=>t.lift(new V(e,n)))}class V{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new U(e,this.project,this.concurrent))}}class U extends F{constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function B(e=Number.POSITIVE_INFINITY){return H(g,e)}function z(e,t){return t?R(e,t):new y(O(e))}function W(...e){let t=Number.POSITIVE_INFINITY,n=null,i=e[e.length-1];return x(i)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof i&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof y?e[0]:B(t)(z(e,n))}function q(){return function(e){return e.lift(new K(e))}}class K{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const i=new $(e,n),r=t.subscribe(i);return i.closed||(i.connection=n.connect()),r}}class $ extends f{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:n}=this,i=e._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}class G extends y{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new d,e.add(this.source.subscribe(new Q(this.getSubject(),this))),e.closed&&(this._connection=null,e=d.EMPTY)),e}refCount(){return q()(this)}}const J=(()=>{const e=G.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}})();class Q extends k{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}function X(){return new S}function Z(){return e=>{return q()((t=X,function(e){let n;n="function"==typeof t?t:function(){return t};const i=Object.create(e,J);return i.source=e,i.subjectFactory=n,i})(e));var t}}function ee(e){for(let t in e)if(e[t]===ee)return t;throw Error("Could not find renamed property on target object.")}function te(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ne(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ne).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function ie(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const re=ee({__forward_ref__:ee});function se(e){return e.__forward_ref__=se,e.toString=function(){return ne(this())},e}function ae(e){return oe(e)?e():e}function oe(e){return"function"==typeof e&&e.hasOwnProperty(re)&&e.__forward_ref__===se}function le(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const ce=le;function ue(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function de(e){return he(e,fe)||he(e,_e)}function he(e,t){return e.hasOwnProperty(t)?e[t]:null}function pe(e){return e&&(e.hasOwnProperty(me)||e.hasOwnProperty(ge))?e[me]:null}const fe=ee({"\u0275prov":ee}),me=ee({"\u0275inj":ee}),_e=ee({ngInjectableDef:ee}),ge=ee({ngInjectorDef:ee});var ye=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});let be;function ve(e){const t=be;return be=e,t}function we(e,t,n){const i=de(e);if(i&&"root"==i.providedIn)return void 0===i.value?i.value=i.factory():i.value;if(n&ye.Optional)return null;if(void 0!==t)return t;throw new Error(`Injector: NOT_FOUND [${ne(e)}]`)}function ke(e){return{toString:e}.toString()}var Se=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),Ce=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({});const xe="undefined"!=typeof globalThis&&globalThis,Me="undefined"!=typeof window&&window,De="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Le="undefined"!=typeof global&&global,Oe=xe||Le||Me||De,Ee={},Te=[],Ae=ee({"\u0275cmp":ee}),Ie=ee({"\u0275dir":ee}),Pe=ee({"\u0275pipe":ee}),Re=ee({"\u0275mod":ee}),je=ee({"\u0275loc":ee}),Ye=ee({"\u0275fac":ee}),Fe=ee({__NG_ELEMENT_ID__:ee});let Ne=0;function He(e){return ke(()=>{const t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Se.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Te,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Ce.Emulated,id:"c",styles:e.styles||Te,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.directives,r=e.features,s=e.pipes;return n.id+=Ne++,n.inputs=We(e.inputs,t),n.outputs=We(e.outputs),r&&r.forEach(e=>e(n)),n.directiveDefs=i?()=>("function"==typeof i?i():i).map(Ve):null,n.pipeDefs=s?()=>("function"==typeof s?s():s).map(Ue):null,n})}function Ve(e){return $e(e)||function(e){return e[Ie]||null}(e)}function Ue(e){return function(e){return e[Pe]||null}(e)}const Be={};function ze(e){const t={type:e.type,bootstrap:e.bootstrap||Te,declarations:e.declarations||Te,imports:e.imports||Te,exports:e.exports||Te,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&ke(()=>{Be[e.id]=e.type}),t}function We(e,t){if(null==e)return Ee;const n={};for(const i in e)if(e.hasOwnProperty(i)){let r=e[i],s=r;Array.isArray(r)&&(s=r[1],r=r[0]),n[r]=i,t&&(t[r]=s)}return n}const qe=He;function Ke(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function $e(e){return e[Ae]||null}function Ge(e,t){const n=e[Re]||null;if(!n&&!0===t)throw new Error(`Type ${ne(e)} does not have '\u0275mod' property.`);return n}const Je=20,Qe=10;function Xe(e){return Array.isArray(e)&&"object"==typeof e[1]}function Ze(e){return Array.isArray(e)&&!0===e[1]}function et(e){return 0!=(8&e.flags)}function tt(e){return 2==(2&e.flags)}function nt(e){return 1==(1&e.flags)}function it(e){return null!==e.template}function rt(e,t){return e.hasOwnProperty(Ye)?e[Ye]:null}class st extends Error{constructor(e,t){super(function(e,t){return`${e?`NG0${e}: `:""}${t}`}(e,t)),this.code=e}}function at(e){return"string"==typeof e?e:null==e?"":String(e)}function ot(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():at(e)}function lt(e,t){const n=t?` in ${t}`:"";throw new st("201",`No provider for ${ot(e)} found${n}`)}class ct{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}function ut(){return dt}function dt(e){return e.type.prototype.ngOnChanges&&(e.setInput=pt),ht}function ht(){const e=ft(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===Ee)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}}function pt(e,t,n,i){const r=ft(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:Ee,current:null}),s=r.current||(r.current={}),a=r.previous,o=this.declaredInputs[n],l=a[o];s[o]=new ct(l&&l.currentValue,t,a===Ee),e[i]=t}function ft(e){return e.__ngSimpleChanges__||null}ut.ngInherit=!0;const mt="http://www.w3.org/2000/svg";let _t;function gt(){return void 0!==_t?_t:"undefined"!=typeof document?document:void 0}function yt(e){return!!e.listen}const bt={createRenderer:(e,t)=>gt()};function vt(e){for(;Array.isArray(e);)e=e[0];return e}function wt(e,t){return vt(t[e])}function kt(e,t){return vt(t[e.index])}function St(e,t){return e.data[t]}function Ct(e,t){return e[t]}function xt(e,t){const n=t[e];return Xe(n)?n:n[0]}function Mt(e){const t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Dt(e){return 4==(4&e[2])}function Lt(e){return 128==(128&e[2])}function Ot(e,t){return null==t?null:e[t]}function Et(e){e[18]=0}function Tt(e,t){e[5]+=t;let n=e,i=e[3];for(;null!==i&&(1===t&&1===n[5]||-1===t&&0===n[5]);)i[5]+=t,n=i,i=i[3]}const At={lFrame:rn(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function It(){return At.bindingsEnabled}function Pt(){return At.lFrame.lView}function Rt(){return At.lFrame.tView}function jt(e){At.lFrame.contextLView=e}function Yt(){let e=Ft();for(;null!==e&&64===e.type;)e=e.parent;return e}function Ft(){return At.lFrame.currentTNode}function Nt(e,t){const n=At.lFrame;n.currentTNode=e,n.isParent=t}function Ht(){return At.lFrame.isParent}function Vt(){At.lFrame.isParent=!1}function Ut(){return At.isInCheckNoChangesMode}function Bt(e){At.isInCheckNoChangesMode=e}function zt(){const e=At.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Wt(){return At.lFrame.bindingIndex}function qt(){return At.lFrame.bindingIndex++}function Kt(e){const t=At.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function $t(e,t){const n=At.lFrame;n.bindingIndex=n.bindingRootIndex=e,Gt(t)}function Gt(e){At.lFrame.currentDirectiveIndex=e}function Jt(e){const t=At.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Qt(){return At.lFrame.currentQueryIndex}function Xt(e){At.lFrame.currentQueryIndex=e}function Zt(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function en(e,t,n){if(n&ye.SkipSelf){let i=t,r=e;for(;i=i.parent,!(null!==i||n&ye.Host||(i=Zt(r),null===i)||(r=r[15],10&i.type)););if(null===i)return!1;t=i,e=r}const i=At.lFrame=nn();return i.currentTNode=t,i.lView=e,!0}function tn(e){const t=nn(),n=e[1];At.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function nn(){const e=At.lFrame,t=null===e?null:e.child;return null===t?rn(e):t}function rn(e){const t={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:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function sn(){const e=At.lFrame;return At.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const an=sn;function on(){const e=sn();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function ln(){return At.lFrame.selectedIndex}function cn(e){At.lFrame.selectedIndex=e}function un(){const e=At.lFrame;return St(e.tView,e.selectedIndex)}function dn(){At.lFrame.currentNamespace=mt}function hn(){At.lFrame.currentNamespace=null}function pn(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n=i)break}else t[o]<0&&(e[18]+=65536),(a>11>16&&(3&e[2])===t&&(e[2]+=2048,s.call(a)):s.call(a)}const bn=-1;class vn{constructor(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}}function wn(e,t,n){const i=yt(e);let r=0;for(;rt){a=s-1;break}}}for(;s>16,i=t;for(;n>0;)i=i[15],n--;return i}let On=!0;function En(e){const t=On;return On=e,t}let Tn=0;function An(e,t){const n=Pn(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,In(i.data,e),In(t,null),In(i.blueprint,null));const r=Rn(e,t),s=e.injectorIndex;if(Mn(r)){const e=Dn(r),n=Ln(r,t),i=n[1].data;for(let r=0;r<8;r++)t[s+r]=n[e+r]|i[e+r]}return t[s+8]=r,s}function In(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Pn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Rn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,r=t;for(;null!==r;){const e=r[1],t=e.type;if(i=2===t?e.declTNode:1===t?r[6]:null,null===i)return bn;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return bn}function jn(e,t,n){!function(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(Fe)&&(i=n[Fe]),null==i&&(i=n[Fe]=Tn++);const r=255&i;t.data[e+(r>>5)]|=1<=0?255&t:Vn:t}(n);if("function"==typeof s){if(!en(t,e,i))return i&ye.Host?Yn(r,n,i):Fn(t,n,i,r);try{const e=s();if(null!=e||i&ye.Optional)return e;lt(n)}finally{an()}}else if("number"==typeof s){let r=null,a=Pn(e,t),o=bn,l=i&ye.Host?t[16][6]:null;for((-1===a||i&ye.SkipSelf)&&(o=-1===a?Rn(e,t):t[a+8],o!==bn&&qn(i,!1)?(r=t[1],a=Dn(o),t=Ln(o,t)):a=-1);-1!==a;){const e=t[1];if(Wn(s,a,e.data)){const e=Un(a,t,n,r,i,l);if(e!==Hn)return e}o=t[a+8],o!==bn&&qn(i,t[1].data[a+8]===l)&&Wn(s,a,t)?(r=e,a=Dn(o),t=Ln(o,t)):a=-1}}}return Fn(t,n,i,r)}const Hn={};function Vn(){return new Kn(Yt(),Pt())}function Un(e,t,n,i,r,s){const a=t[1],o=a.data[e+8],l=Bn(o,a,n,null==i?tt(o)&&On:i!=a&&0!=(3&o.type),r&ye.Host&&s===o);return null!==l?zn(t,a,l,o):Hn}function Bn(e,t,n,i,r){const s=e.providerIndexes,a=t.data,o=1048575&s,l=e.directiveStart,c=s>>20,u=r?o+c:e.directiveEnd;for(let d=i?o:o+c;d=l&&e.type===n)return d}if(r){const e=a[l];if(e&&it(e)&&e.type===n)return l}return null}function zn(e,t,n,i){let r=e[n];const s=t.data;if(r instanceof vn){const a=r;a.resolving&&function(e,t){throw new st("200",`Circular dependency in DI detected for ${e}`)}(ot(s[n]));const o=En(a.canSeeViewProviders);a.resolving=!0;const l=a.injectImpl?ve(a.injectImpl):null;en(e,i,ye.Default);try{r=e[n]=a.factory(void 0,s,e,i),t.firstCreatePass&&n>=i.directiveStart&&function(e,t,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:s}=t.type.prototype;if(i){const i=dt(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i)}r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,r),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s))}(n,s[n],t)}finally{null!==l&&ve(l),En(o),a.resolving=!1,an()}}return r}function Wn(e,t,n){return!!(n[t+(e>>5)]&1<{const e=$n(ae(t));return e?e():null};let n=rt(t);if(null===n){const e=pe(t);n=e&&e.factory}return n||null}function Gn(e){return ke(()=>{const t=e.prototype.constructor,n=t[Ye]||$n(t),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const e=r[Ye]||$n(r);if(e&&e!==n)return e;r=Object.getPrototypeOf(r)}return e=>new e})}function Jn(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const e=n.length;let i=0;for(;i{const i=function(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}(t);function r(...e){if(this instanceof r)return i.apply(this,e),this;const t=new r(...e);return n.annotation=t,n;function n(e,n,i){const r=e.hasOwnProperty(Qn)?e[Qn]:Object.defineProperty(e,Qn,{value:[]})[Qn];for(;r.length<=i;)r.push(null);return(r[i]=r[i]||[]).push(t),e}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}class Zn{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=le({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return`InjectionToken ${this._desc}`}}const ei=new Zn("AnalyzeForEntryComponents"),ti=Function;function ni(e,t){void 0===t&&(t=e);for(let n=0;nArray.isArray(e)?ii(e,t):t(e))}function ri(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function si(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ai(e,t){const n=[];for(let i=0;i=0?e[1|i]=n:(i=~i,function(e,t,n,i){let r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function li(e,t){const n=ci(e,t);if(n>=0)return e[1|n]}function ci(e,t){return function(e,t,n){let i=0,r=e.length>>1;for(;r!==i;){const n=i+(r-i>>1),s=e[n<<1];if(t===s)return n<<1;s>t?r=n:i=n+1}return~(r<<1)}(e,t)}const ui={},di=/\n/gm,hi="__source",pi=ee({provide:String,useValue:ee});let fi;function mi(e){const t=fi;return fi=e,t}function _i(e,t=ye.Default){if(void 0===fi)throw new Error("inject() must be called from an injection context");return null===fi?we(e,void 0,t):fi.get(e,t&ye.Optional?null:void 0,t)}function gi(e,t=ye.Default){return(be||_i)(ae(e),t)}const yi=gi;function bi(e){const t=[];for(let n=0;n({token:e})),-1),ki=vi(Xn("Optional"),8),Si=vi(Xn("SkipSelf"),4);let Ci,xi;function Mi(e){var t;return(null===(t=function(){if(void 0===Ci&&(Ci=null,Oe.trustedTypes))try{Ci=Oe.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(t){}return Ci}())||void 0===t?void 0:t.createHTML(e))||e}function Di(e){var t;return(null===(t=function(){if(void 0===xi&&(xi=null,Oe.trustedTypes))try{xi=Oe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(t){}return xi}())||void 0===t?void 0:t.createHTML(e))||e}class Li{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Oi extends Li{getTypeName(){return"HTML"}}class Ei extends Li{getTypeName(){return"Style"}}class Ti extends Li{getTypeName(){return"Script"}}class Ai extends Li{getTypeName(){return"URL"}}class Ii extends Li{getTypeName(){return"ResourceURL"}}function Pi(e){return e instanceof Li?e.changingThisBreaksApplicationSecurity:e}function Ri(e,t){const n=ji(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function ji(e){return e instanceof Li&&e.getTypeName()||null}class Yi{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{const t=(new window.DOMParser).parseFromString(Mi(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.removeChild(t.firstChild),t)}catch(t){return null}}}class Fi{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const t=this.inertDocument.createElement("body");e.appendChild(t)}}getInertBodyElement(e){const t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=Mi(e),t;const n=this.inertDocument.createElement("body");return n.innerHTML=Mi(e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(e){const t=e.attributes;for(let i=t.length-1;0Vi(e.trim())).join(", ")),this.buf.push(" ",t,'="',nr(a),'"')}var i;return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();$i.hasOwnProperty(t)&&!zi.hasOwnProperty(t)&&(this.buf.push(""))}chars(e){this.buf.push(nr(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return t}}const er=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,tr=/([^\#-~ |!])/g;function nr(e){return e.replace(/&/g,"&").replace(er,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(tr,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}let ir;function rr(e,t){let n=null;try{ir=ir||function(e){const t=new Fi(e);return function(){try{return!!(new window.DOMParser).parseFromString(Mi(""),"text/html")}catch(e){return!1}}()?new Yi(t):t}(e);let i=t?String(t):"";n=ir.getInertBodyElement(i);let r=5,s=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=s,s=n.innerHTML,n=ir.getInertBodyElement(i)}while(i!==s);return Mi((new Zi).sanitizeChildren(sr(n)||n))}finally{if(n){const e=sr(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}function sr(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ar=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({});function or(e){const t=cr();return t?Di(t.sanitize(ar.HTML,e)||""):Ri(e,"HTML")?Di(Pi(e)):rr(gt(),at(e))}function lr(e){const t=cr();return t?t.sanitize(ar.URL,e)||"":Ri(e,"URL")?Pi(e):Vi(at(e))}function cr(){const e=Pt();return e&&e[12]}function ur(e){return e.ngDebugContext}function dr(e){return e.ngOriginalError}function hr(e,...t){e.error(...t)}class pr{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),i=function(e){return e.ngErrorLogger||hr}(e);i(this._console,"ERROR",e),t&&i(this._console,"ORIGINAL ERROR",t),n&&i(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?ur(e)?ur(e):this._findContext(dr(e)):null}_findOriginalError(e){let t=dr(e);for(;t&&dr(t);)t=dr(t);return t}}function fr(e,t){e.__ngContext__=t}const mr=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Oe))();function _r(e){return{name:"body",target:e.ownerDocument.body}}function gr(e){return e instanceof Function?e():e}var yr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({});function br(e,t){return(void 0)(e,t)}function vr(e){const t=e[3];return Ze(t)?t[3]:t}function wr(e){return Sr(e[13])}function kr(e){return Sr(e[4])}function Sr(e){for(;null!==e&&!Ze(e);)e=e[4];return e}function Cr(e,t,n,i,r){if(null!=i){let s,a=!1;Ze(i)?s=i:Xe(i)&&(a=!0,i=i[0]);const o=vt(i);0===e&&null!==n?null==r?Ar(t,n,o):Tr(t,n,o,r||null,!0):1===e&&null!==n?Tr(t,n,o,r||null,!0):2===e?function(e,t,n){const i=Pr(e,t);i&&function(e,t,n,i){yt(e)?e.removeChild(t,n,i):t.removeChild(n)}(e,i,t,n)}(t,o,a):3===e&&t.destroyNode(o),null!=s&&function(e,t,n,i,r){const s=n[7];s!==vt(n)&&Cr(t,e,i,s,r);for(let a=Qe;a0&&(e[n-1][4]=i[4]);const a=si(e,Qe+t);Vr(i[1],r=i,r[11],2,null,null),r[0]=null,r[6]=null;const o=a[19];null!==o&&o.detachView(a[1]),i[3]=null,i[4]=null,i[2]&=-129}var r;return i}function Lr(e,t){if(!(256&t[2])){const n=t[11];yt(n)&&n.destroyNode&&Vr(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return Or(e[1],e);for(;t;){let n=null;if(Xe(t))n=t[13];else{const e=t[10];e&&(n=e)}if(!n){for(;t&&!t[4]&&t!==e;)Xe(t)&&Or(t[1],t),t=t[3];null===t&&(t=e),Xe(t)&&Or(t[1],t),n=t&&t[4]}t=n}}(t)}}function Or(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i=0?i[r=l]():i[r=-l].unsubscribe(),s+=2}else{const e=i[r=n[s+1]];n[s].call(e)}if(null!==i){for(let e=r+1;es?"":r[u+1].toLowerCase();const t=8&i?e:null;if(t&&-1!==Wr(t,c,0)||2&i&&c!==e){if(Qr(i))return!1;a=!0}}}}else{if(!a&&!Qr(i)&&!Qr(l))return!1;if(a&&Qr(l))continue;a=!1,i=l|1&i}}return Qr(i)||a}function Qr(e){return 0==(1&e)}function Xr(e,t,n,i){if(null===t)return-1;let r=0;if(i||!n){let n=!1;for(;r-1)for(n++;n0?'="'+t+'"':"")+"]"}else 8&i?r+="."+a:4&i&&(r+=" "+a);else""===r||Qr(a)||(t+=ts(s,r),r=""),i=a,s=s||!Qr(i);n++}return""!==r&&(t+=ts(s,r)),t}const is={};function rs(e){ss(Rt(),Pt(),ln()+e,Ut())}function ss(e,t,n,i){if(!i)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&fn(t,i,n)}else{const i=e.preOrderHooks;null!==i&&mn(t,i,0,n)}cn(n)}function as(e,t){return e<<17|t<<2}function os(e){return e>>17&32767}function ls(e){return 2|e}function cs(e){return(131068&e)>>2}function us(e,t){return-131069&e|t<<2}function ds(e){return 1|e}function hs(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;iJe&&ss(e,t,Je,Ut()),n(i,r)}finally{cn(s)}}function vs(e,t,n){if(et(t)){const i=t.directiveEnd;for(let r=t.directiveStart;r0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(n)!=s&&n.push(s),n.push(i,r,a)}}function Es(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Ts(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function As(e,t,n){if(n){if(t.exportAs)for(let i=0;i0&&Hs(n)}}function Hs(e){for(let n=wr(e);null!==n;n=kr(n))for(let e=Qe;e0&&Hs(t)}const t=e[1].components;if(null!==t)for(let n=0;n0&&Hs(i)}}function Vs(e,t){const n=xt(t,e),i=n[1];!function(e,t){for(let n=t.length;nPromise.resolve(null))();function $s(e){return e[7]||(e[7]=[])}function Gs(e){return e.cleanup||(e.cleanup=[])}function Js(e,t,n){return(null===e||it(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function Qs(e,t){const n=e[9],i=n?n.get(pr,null):null;i&&i.handleError(t)}function Xs(e,t,n,i,r){for(let s=0;sthis.processProvider(n,e,t)),ii([e],e=>this.processInjectorType(e,[],r)),this.records.set(ta,pa(void 0,this));const s=this.records.get(ia);this.scope=null!=s?s.value:null,this.source=i||("object"==typeof e?null:ne(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=ui,n=ye.Default){this.assertNotDestroyed();const i=mi(this);try{if(!(n&ye.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(r=e)||"object"==typeof r&&r instanceof Zn)&&de(e);t=n&&this.injectableDefInScope(n)?pa(da(e),ra):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}return(n&ye.Self?la():this.parent).get(e,t=n&ye.Optional&&t===ui?null:t)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(ne(e)),i)throw s;return function(e,t,n,i){const r=e.ngTempTokenPath;throw t[hi]&&r.unshift(t[hi]),e.message=function(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let r=ne(t);if(Array.isArray(t))r=t.map(ne).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let i=t[n];e.push(n+":"+("string"==typeof i?JSON.stringify(i):ne(i)))}r=`{${e.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${e.replace(di,"\n ")}`}("\n"+e.message,r,n,i),e.ngTokenPath=r,e.ngTempTokenPath=null,e}(s,e,"R3InjectorError",this.source)}throw s}finally{mi(i)}var r}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((t,n)=>e.push(ne(n))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,n){if(!(e=ae(e)))return!1;let i=pe(e);const r=null==i&&e.ngModule||void 0,s=void 0===r?e:r,a=-1!==n.indexOf(s);if(void 0!==r&&(i=pe(r)),null==i)return!1;if(null!=i.imports&&!a){let e;n.push(s);try{ii(i.imports,i=>{this.processInjectorType(i,t,n)&&(void 0===e&&(e=[]),e.push(i))})}finally{}if(void 0!==e)for(let t=0;tthis.processProvider(e,n,i||aa))}}this.injectorDefTypes.add(s),this.records.set(s,pa(i.factory,ra));const o=i.providers;if(null!=o&&!a){const t=e;ii(o,e=>this.processProvider(e,t,o))}return void 0!==r&&void 0!==e.providers}processProvider(e,t,n){let i=ma(e=ae(e))?e:ae(e&&e.provide);const r=function(e,t,n){return fa(e)?pa(void 0,e.useValue):pa(ha(e),ra)}(e);if(ma(e)||!0!==e.multi)this.records.get(i);else{let t=this.records.get(i);t||(t=pa(void 0,ra,!0),t.factory=()=>bi(t.multi),this.records.set(i,t)),i=e,t.multi.push(e)}this.records.set(i,r)}hydrate(e,t){var n;return t.value===ra&&(t.value=sa,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value}injectableDefInScope(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}}function da(e){const t=de(e),n=null!==t?t.factory:rt(e);if(null!==n)return n;const i=pe(e);if(null!==i)return i.factory;if(e instanceof Zn)throw new Error(`Token ${ne(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const n=ai(t,"?");throw new Error(`Can't resolve all parameters for ${ne(e)}: (${n.join(", ")}).`)}const n=function(e){const t=e&&(e[fe]||e[_e]);if(t){const n=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function ha(e,t,n){let i;if(ma(e)){const t=ae(e);return rt(t)||da(t)}if(fa(e))i=()=>ae(e.useValue);else if((r=e)&&r.useFactory)i=()=>e.useFactory(...bi(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))i=()=>gi(ae(e.useExisting));else{const t=ae(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return rt(t)||da(t);i=()=>new t(...bi(e.deps))}var r;return i}function pa(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function fa(e){return null!==e&&"object"==typeof e&&pi in e}function ma(e){return"function"==typeof e}const _a=function(e,t,n){return function(e,t=null,n=null,i){const r=ca(e,t,n,i);return r._resolveInjectorDefTypes(),r}({name:n},t,e,n)};let ga=(()=>{class e{static create(e,t){return Array.isArray(e)?_a(e,t,""):_a(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=ui,e.NULL=new na,e.\u0275prov=le({token:e,providedIn:"any",factory:()=>gi(ta)}),e.__NG_ELEMENT_ID__=-1,e})();function ya(e,t){pn(Mt(e)[1],Yt())}function ba(e){let t=Object.getPrototypeOf(e.type.prototype).constructor,n=!0;const i=[e];for(;t;){let r;if(it(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");r=t.\u0275dir}if(r){if(n){i.push(r);const t=e;t.inputs=va(e.inputs),t.declaredInputs=va(e.declaredInputs),t.outputs=va(e.outputs);const n=r.hostBindings;n&&Sa(e,n);const s=r.viewQuery,a=r.contentQueries;if(s&&wa(e,s),a&&ka(e,a),te(e.inputs,r.inputs),te(e.declaredInputs,r.declaredInputs),te(e.outputs,r.outputs),it(r)&&r.data.animation){const t=e.data;t.animation=(t.animation||[]).concat(r.data.animation)}}const t=r.features;if(t)for(let i=0;i=0;i--){const r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=Cn(r.hostAttrs,n=Cn(n,r.hostAttrs))}}(i)}function va(e){return e===Ee?{}:e===Te?[]:e}function wa(e,t){const n=e.viewQuery;e.viewQuery=n?(e,i)=>{t(e,i),n(e,i)}:t}function ka(e,t){const n=e.contentQueries;e.contentQueries=n?(e,i,r)=>{t(e,i,r),n(e,i,r)}:t}function Sa(e,t){const n=e.hostBindings;e.hostBindings=n?(e,i)=>{t(e,i),n(e,i)}:t}let Ca=null;function xa(){if(!Ca){const e=Oe.Symbol;if(e&&e.iterator)Ca=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;to(vt(e[i.index])).target:i.index;if(yt(n)){let a=null;if(!o&&l&&(a=function(e,t,n,i){const r=e.cleanup;if(null!=r)for(let s=0;sn?e[n]:null}"string"==typeof e&&(s+=2)}return null}(e,t,r,i.index)),null!==a)(a.__ngLastListenerFn__||a).__ngNextListenerFn__=s,a.__ngLastListenerFn__=s,d=!1;else{s=Za(i,t,s,!1);const e=n.listen(p.name||f,r,s);u.push(s,e),c&&c.push(r,_,m,m+1)}}else s=Za(i,t,s,!0),f.addEventListener(r,s,a),u.push(s),c&&c.push(r,_,m,a)}else s=Za(i,t,s,!1);const h=i.outputs;let p;if(d&&null!==h&&(p=h[r])){const e=p.length;if(e)for(let n=0;n0;)t=t[15],e--;return t}(e,At.lFrame.contextLView))[8]}(e)}function to(e,t){let n=null;const i=function(e){const t=e.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(e);for(let r=0;r=0}const lo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function co(e){return e.substring(lo.key,lo.keyEnd)}function uo(e,t){const n=lo.textEnd;return n===t?-1:(t=lo.keyEnd=function(e,t,n){for(;t32;)t++;return t}(e,lo.key=t,n),ho(e,t,n))}function ho(e,t,n){for(;t=0;n=uo(t,n))oi(e,co(t),!0)}function _o(e,t,n,i){const r=Pt(),s=Rt(),a=Kt(2);s.firstUpdatePass&&bo(s,e,a,i),t!==is&&Ea(r,a,t)&&ko(s,s.data[ln()],r,r[11],e,r[a+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ne(Pi(e)))),e}(t,n),i,a)}function go(e,t,n,i){const r=Rt(),s=Kt(2);r.firstUpdatePass&&bo(r,null,s,i);const a=Pt();if(n!==is&&Ea(a,s,n)){const o=r.data[ln()];if(xo(o,i)&&!yo(r,s)){let e=i?o.classesWithoutHost:o.stylesWithoutHost;null!==e&&(n=ie(e,n||"")),Fa(r,o,a,n,i)}else!function(e,t,n,i,r,s,a,o){r===is&&(r=so);let l=0,c=0,u=0=e.expandoStartIndex}function bo(e,t,n,i){const r=e.data;if(null===r[n+1]){const s=r[ln()],a=yo(e,n);xo(s,i)&&null===t&&!a&&(t=!1),t=function(e,t,n,i){const r=Jt(e);let s=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=wo(n=vo(null,e,t,n,i),t.attrs,i),s=null);else{const a=t.directiveStylingLast;if(-1===a||e[a]!==r)if(n=vo(r,e,t,n,i),null===s){let n=function(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==cs(i))return e[os(i)]}(e,t,i);void 0!==n&&Array.isArray(n)&&(n=vo(null,e,t,n[1],i),n=wo(n,t.attrs,i),function(e,t,n,i){e[os(n?t.classBindings:t.styleBindings)]=i}(e,t,i,n))}else s=function(e,t,n){let i;const r=t.directiveEnd;for(let s=1+t.directiveStylingLast;s0)&&(u=!0)}else c=n;if(r)if(0!==l){const t=os(e[o+1]);e[i+1]=as(t,o),0!==t&&(e[t+1]=us(e[t+1],i)),e[o+1]=131071&e[o+1]|i<<17}else e[i+1]=as(o,0),0!==o&&(e[o+1]=us(e[o+1],i)),o=i;else e[i+1]=as(l,0),0===o?o=i:e[l+1]=us(e[l+1],i),l=i;u&&(e[i+1]=ls(e[i+1])),ao(e,c,i,!0),ao(e,c,i,!1),function(e,t,n,i,r){const s=r?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&ci(s,t)>=0&&(n[i+1]=ds(n[i+1]))}(t,c,e,i,s),a=as(o,l),s?t.classBindings=a:t.styleBindings=a}(r,s,t,n,a,i)}}function vo(e,t,n,i,r){let s=null;const a=n.directiveEnd;let o=n.directiveStylingLast;for(-1===o?o=n.directiveStart:o++;o0;){const t=e[r],s=Array.isArray(t),l=s?t[1]:t,c=null===l;let u=n[r+1];u===is&&(u=c?so:void 0);let d=c?li(u,i):l===i?u:void 0;if(s&&!Co(d)&&(d=li(t,i)),Co(d)&&(o=d,a))return o;const h=e[r+1];r=a?os(h):cs(h)}if(null!==t){let e=s?t.residualClasses:t.residualStyles;null!=e&&(o=li(e,i))}return o}function Co(e){return void 0!==e}function xo(e,t){return 0!=(e.flags&(t?16:32))}function Mo(e,t=""){const n=Pt(),i=Rt(),r=e+Je,s=i.firstCreatePass?fs(i,r,1,t,null):i.data[r],a=n[r]=function(e,t){return yt(e)?e.createText(t):e.createTextNode(t)}(n[11],t);Yr(i,n,a,s),Nt(s,!1)}function Do(e){return Lo("",e,""),Do}function Lo(e,t,n){const i=Pt(),r=Ia(i,e,t,n);return r!==is&&Zs(i,ln(),r),Lo}function Oo(e,t,n,i,r,s,a,o,l){const c=Pt(),u=function(e,t,n,i,r,s,a,o,l,c){const u=function(e,t,n,i,r,s){const a=Ta(e,t,n,i);return Ta(e,t+2,r,s)||a}(e,Wt(),n,r,a,l);return Kt(4),u?t+at(n)+i+at(r)+s+at(a)+o+at(l)+c:is}(c,e,t,n,i,r,s,a,o,l);return u!==is&&Zs(c,ln(),u),Oo}function Eo(e,t,n){const i=Pt();return Ea(i,qt(),t)&&Ds(Rt(),un(),i,e,t,i[11],n,!0),Eo}function To(e,t,n){const i=Pt();if(Ea(i,qt(),t)){const r=Rt(),s=un();Ds(r,s,i,e,t,Js(Jt(r.data),s,i),n,!0)}return To}const Ao=void 0;var Io=["en",[["a","p"],["AM","PM"],Ao],[["AM","PM"],Ao,Ao],[["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"]],Ao,[["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"]],Ao,[["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}",Ao,"{1} 'at' {0}",Ao],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let Po={};function Ro(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=jo(t);if(n)return n;const i=t.split("-")[0];if(n=jo(i),n)return n;if("en"===i)return Io;throw new Error(`Missing locale data for the locale "${e}".`)}function jo(e){return e in Po||(Po[e]=Oe.ng&&Oe.ng.common&&Oe.ng.common.locales&&Oe.ng.common.locales[e]),Po[e]}var Yo=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}({});const Fo="en-US";let No=Fo;function Ho(e){var t,n;n="Expected localeId to be defined",null==(t=e)&&function(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e} [Expected=> null != ${t} <=Actual]`)}(n,t),"string"==typeof e&&(No=e.toLowerCase().replace(/_/g,"-"))}function Vo(e,t,n,i,r){if(e=ae(e),Array.isArray(e))for(let s=0;s>20;if(ma(e)||!e.multi){const i=new vn(l,r,ja),p=zo(o,t,r?u:u+h,d);-1===p?(jn(An(c,a),s,o),Uo(s,e,t.length),t.push(o),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(i),a.push(i)):(n[p]=i,a[p]=i)}else{const p=zo(o,t,u+h,d),f=zo(o,t,u,u+h),m=p>=0&&n[p],_=f>=0&&n[f];if(r&&!_||!r&&!m){jn(An(c,a),s,o);const u=function(e,t,n,i,r){const s=new vn(e,n,ja);return s.multi=[],s.index=t,s.componentProviders=0,Bo(s,r,i&&!n),s}(r?qo:Wo,n.length,r,i,l);!r&&_&&(n[f].providerFactory=u),Uo(s,e,t.length,0),t.push(o),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(u),a.push(u)}else Uo(s,e,p>-1?p:f,Bo(n[r?f:p],l,!r&&i));!r&&i&&_&&n[f].componentProviders++}}}function Uo(e,t,n,i){const r=ma(t);if(r||t.useClass){const s=(t.useClass||t).prototype.ngOnDestroy;if(s){const a=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){const e=a.indexOf(n);-1===e?a.push(n,[i,s]):a[e+1].push(i,s)}else a.push(n,s)}}}function Bo(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function zo(e,t,n,i){for(let r=n;r{n.providersResolver=(n,i)=>function(e,t,n){const i=Rt();if(i.firstCreatePass){const r=it(e);Vo(n,i.data,i.blueprint,r,!0),Vo(t,i.data,i.blueprint,r,!1)}}(n,i?i(e):e,t)}}class Go{}class Jo{resolveComponentFactory(e){throw function(e){const t=Error(`No component factory found for ${ne(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(e)}}let Qo=(()=>{class e{}return e.NULL=new Jo,e})();function Xo(...e){}function Zo(e,t){return new tl(kt(e,t))}const el=function(){return Zo(Yt(),Pt())};let tl=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=el,e})();function nl(e){return e instanceof tl?e.nativeElement:e}class il{}let rl=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>sl(),e})();const sl=function(){const e=Pt(),t=xt(Yt().index,e);return function(e){return e[11]}(Xe(t)?t:e)};let al=(()=>{class e{}return e.\u0275prov=le({token:e,providedIn:"root",factory:()=>null}),e})();class ol{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const ll=new ol("11.1.1");class cl{constructor(){}supports(e){return Da(e)}create(e){return new dl(e)}}const ul=(e,t)=>t;class dl{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||ul}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,i=0,r=null;for(;t||n;){const s=!n||t&&t.currentIndex{i=this._trackByFn(t,e),null!==r&&Object.is(r.trackById,i)?(s&&(r=this._verifyReinsertion(r,e,i,t)),Object.is(r.item,e)||this._addIdentityChange(r,e)):(r=this._mismatch(r,e,i,t),s=!0),r=r._next,t++}),this.length=t;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;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,i){let r;return null===e?r=this._itTail:(r=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,r,i)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,r,i)):e=this._addAfter(new hl(t,n),r,i),e}_verifyReinsertion(e,t,n,i){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?e=this._reinsertAfter(r,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const i=e._prevRemoved,r=e._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,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._nextAdded=e,e}_insertAfter(e,t,n){const i=null===t?this._itHead:t._next;return e._next=i,e._prev=t,null===i?this._itTail=e:i._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new fl),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new fl),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(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._nextIdentityChange=e,e}}class hl{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class pl{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(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;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class fl{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new pl,this.map.set(t,n)),n.add(e)}get(e,t){const n=this.map.get(e);return n?n.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function ml(e,t,n){const i=e.previousIndex;if(null===i)return i;let r=0;return n&&i{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const i=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,i)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const 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)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const i=n._prev,r=n._next;return i&&(i._next=r),r&&(r._prev=i),n._next=null,n._prev=null,n}const n=new yl(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;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;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){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?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))}}class yl{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function bl(){return new vl([new cl])}let vl=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>e.create(t,n||bl()),deps:[[e,new Si,new ki]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n}}return e.\u0275prov=le({token:e,providedIn:"root",factory:bl}),e})();function wl(){return new kl([new _l])}let kl=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>e.create(t,n||wl()),deps:[[e,new Si,new ki]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.\u0275prov=le({token:e,providedIn:"root",factory:wl}),e})();function Sl(e,t,n,i,r=!1){for(;null!==n;){const s=t[n.index];if(null!==s&&i.push(vt(s)),Ze(s))for(let e=Qe;e-1&&(Dr(e,n),si(t,n))}this._attachedToViewContainer=!1}Lr(this._lView[1],this._lView)}onDestroy(e){xs(this._lView[1],this._lView,null,e)}markForCheck(){Bs(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){zs(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){Bt(!0);try{zs(e,t,n)}finally{Bt(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var e;this._appRef=null,Vr(this._lView[1],e=this._lView,e[11],2,null,null)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class xl extends Cl{constructor(e){super(e),this._view=e}detectChanges(){Ws(this._view)}checkNoChanges(){!function(e){Bt(!0);try{Ws(e)}finally{Bt(!1)}}(this._view)}get context(){return null}}const Ml=Ll;let Dl=(()=>{class e{}return e.__NG_ELEMENT_ID__=Ml,e.__ChangeDetectorRef__=!0,e})();function Ll(e=!1){return function(e,t,n){if(!n&&tt(e)){const n=xt(e.index,t);return new Cl(n,n)}return 47&e.type?new Cl(t[16],t):null}(Yt(),Pt(),e)}const Ol=[new _l],El=new vl([new cl]),Tl=new kl(Ol),Al=function(){return jl(Yt(),Pt())};let Il=(()=>{class e{}return e.__NG_ELEMENT_ID__=Al,e})();const Pl=Il,Rl=class extends Pl{constructor(e,t,n){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=n}createEmbeddedView(e){const t=this._declarationTContainer.tViews,n=ps(this._declarationLView,t,e,16,null,t.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(t)),_s(t,n,e),new Cl(n)}};function jl(e,t){return 4&e.type?new Rl(t,e,Zo(e,t)):null}class Yl{}class Fl{}const Nl=function(){return Wl(Yt(),Pt())};let Hl=(()=>{class e{}return e.__NG_ELEMENT_ID__=Nl,e})();const Vl=Hl,Ul=class extends Vl{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=n}get element(){return Zo(this._hostTNode,this._hostLView)}get injector(){return new Kn(this._hostTNode,this._hostLView)}get parentInjector(){const e=Rn(this._hostTNode,this._hostLView);if(Mn(e)){const t=Ln(e,this._hostLView),n=Dn(e);return new Kn(t[1].data[n+8],t)}return new Kn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const t=Bl(this._lContainer);return null!==t&&t[e]||null}get length(){return this._lContainer.length-Qe}createEmbeddedView(e,t,n){const i=e.createEmbeddedView(t||{});return this.insert(i,n),i}createComponent(e,t,n,i,r){const s=n||this.parentInjector;if(!r&&null==e.ngModule&&s){const e=s.get(Yl,null);e&&(r=e)}const a=e.create(s,i,void 0,r);return this.insert(a.hostView,t),a}insert(e,t){const n=e._lView,i=n[1];if(Ze(n[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=n[3],i=new Ul(t,t[6],t[3]);i.detach(i.indexOf(e))}}const r=this._adjustIndex(t),s=this._lContainer;!function(e,t,n,i){const r=Qe+i,s=n.length;i>0&&(n[r-1][4]=t),imr});class Jl extends Go{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(ns).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return $l(this.componentDef.inputs)}get outputs(){return $l(this.componentDef.outputs)}create(e,t,n,i){const r=(i=i||this.ngModule)?function(e,t){return{get:(n,i,r)=>{const s=e.get(n,ql,r);return s!==ql||i===ql?s:t.get(n,i,r)}}}(e,i.injector):e,s=r.get(il,bt),a=r.get(al,null),o=s.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(e,t,n){if(yt(e))return e.selectRootElement(t,n===Ce.ShadowDom);let i="string"==typeof t?e.querySelector(t):t;return i.textContent="",i}(o,n,this.componentDef.encapsulation):xr(s.createRenderer(null,this.componentDef),l,function(e){const t=e.toLowerCase();return"svg"===t?mt:"math"===t?"http://www.w3.org/1998/MathML/":null}(l)),u=this.componentDef.onPush?576:528,d={components:[],scheduler:mr,clean:Ks,playerHandler:null,flags:0},h=Cs(0,null,null,1,0,null,null,null,null,null),p=ps(null,h,d,u,null,null,s,o,a,r);let f,m;tn(p);try{const e=function(e,t,n,i,r,s){const a=n[1];n[20]=e;const o=fs(a,20,2,"#host",null),l=o.mergedAttrs=t.hostAttrs;null!==l&&(ea(o,l,!0),null!==e&&(wn(r,e,l),null!==o.classes&&zr(r,e,o.classes),null!==o.styles&&Br(r,e,o.styles)));const c=i.createRenderer(e,t),u=ps(n,Ss(t),null,t.onPush?64:16,n[20],o,i,c,null,null);return a.firstCreatePass&&(jn(An(o,n),a,t.type),Ts(a,o),Is(o,n.length,1)),Us(n,u),n[20]=u}(c,this.componentDef,p,s,o);if(c)if(n)wn(o,c,["ng-version",ll.full]);else{const{attrs:e,classes:t}=function(e){const t=[],n=[];let i=1,r=2;for(;i0&&zr(o,c,t.join(" "))}if(m=St(h,Je),void 0!==t){const e=m.projection=[];for(let n=0;ne(a,t)),t.contentQueries){const e=Yt();t.contentQueries(1,a,e.directiveStart)}const o=Yt();return!s.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(cn(o.index),Os(n[1],o,0,o.directiveStart,o.directiveEnd,t),Es(t,a)),a}(e,this.componentDef,p,d,[ya]),_s(h,p,null)}finally{on()}return new Ql(this.componentType,f,Zo(m,p),p,m)}}class Ql extends class{}{constructor(e,t,n,i,r){super(),this.location=n,this._rootLView=i,this._tNode=r,this.instance=t,this.hostView=this.changeDetectorRef=new xl(i),this.componentType=e}get injector(){return new Kn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}}const Xl=new Map;class Zl extends Yl{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Kl(this);const n=Ge(e),i=e[je]||null;i&&Ho(i),this._bootstrapComponents=gr(n.bootstrap),this._r3Injector=ca(e,t,[{provide:Yl,useValue:this},{provide:Qo,useValue:this.componentFactoryResolver}],ne(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=ga.THROW_IF_NOT_FOUND,n=ye.Default){return e===ga||e===Yl||e===ta?this:this._r3Injector.get(e,t,n)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class ec extends Fl{constructor(e){super(),this.moduleType=e,null!==Ge(e)&&function(e){const t=new Set;!function e(n){const i=Ge(n,!0),r=i.id;null!==r&&(function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${ne(t)} vs ${ne(t.name)}`)}(r,Xl.get(r),n),Xl.set(r,n));const s=gr(i.imports);for(const a of s)t.has(a)||(t.add(a),e(a))}(e)}(e)}create(e){return new Zl(this.moduleType,e)}}function tc(e,t,n){const i=zt()+e,r=Pt();return r[i]===is?Oa(r,i,n?t.call(n):t()):function(e,t){return e[t]}(r,i)}function nc(e,t,n,i){return rc(Pt(),zt(),e,t,n,i)}function ic(e,t){const n=e[t];return n===is?void 0:n}function rc(e,t,n,i,r,s){const a=t+n;return Ea(e,a,r)?Oa(e,a+1,s?i.call(s,r):i(r)):ic(e,a+1)}function sc(e,t,n,i,r,s,a){const o=t+n;return Ta(e,o,r,s)?Oa(e,o+2,a?i.call(a,r,s):i(r,s)):ic(e,o+2)}function ac(e,t){const n=Rt();let i;const r=e+Je;n.firstCreatePass?(i=function(e,t){if(t)for(let n=t.length-1;n>=0;n--){const i=t[n];if(e===i.name)return i}throw new st("302",`The pipe '${e}' could not be found!`)}(t,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(r,i.onDestroy)):i=n.data[r];const s=i.factory||(i.factory=rt(i.type)),a=ve(ja);try{const e=En(!1),t=s();return En(e),function(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(n,Pt(),r,t),t}finally{ve(a)}}function oc(e,t,n){const i=e+Je,r=Pt(),s=Ct(r,i);return uc(r,cc(r,i)?rc(r,zt(),t,s.transform,n,s):s.transform(n))}function lc(e,t,n,i){const r=e+Je,s=Pt(),a=Ct(s,r);return uc(s,cc(s,r)?sc(s,zt(),t,a.transform,n,i,a):a.transform(n,i))}function cc(e,t){return e[1].data[t].pure}function uc(e,t){return Ma.isWrapped(t)&&(t=Ma.unwrap(t),e[Wt()]=is),t}const dc=class extends S{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let i,r=e=>null,s=()=>null;e&&"object"==typeof e?(i=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(r=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(s=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(i=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(r=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),n&&(s=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const a=super.subscribe(i,r,s);return e instanceof d&&e.add(a),a}};function hc(){return this._results[xa()]()}class pc{constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=xa(),n=pc.prototype;n[t]||(n[t]=hc)}get changes(){return this._changes||(this._changes=new dc)}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){const n=this;n.dirty=!1;const i=ni(e);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i0)i.push(a[e/2]);else{const r=s[e+1],a=t[-n];for(let e=Qe;e{class e{constructor(e){this.appInits=e,this.resolve=Xo,this.reject=Xo,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}return e.\u0275fac=function(t){return new(t||e)(gi(Tc,8))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();const Ic=new Zn("AppId"),Pc={provide:Ic,useFactory:function(){return`${Rc()}${Rc()}${Rc()}`},deps:[]};function Rc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const jc=new Zn("Platform Initializer"),Yc=new Zn("Platform ID"),Fc=new Zn("appBootstrapListener");let Nc=(()=>{class e{log(e){console.log(e)}warn(e){console.warn(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();const Hc=new Zn("LocaleId"),Vc=new Zn("DefaultCurrencyCode");class Uc{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const Bc=function(e){return new ec(e)},zc=Bc,Wc=function(e){return Promise.resolve(Bc(e))},qc=function(e){const t=Bc(e),n=gr(Ge(e).declarations).reduce((e,t)=>{const n=$e(t);return n&&e.push(new Jl(n)),e},[]);return new Uc(t,n)},Kc=qc,$c=function(e){return Promise.resolve(qc(e))};let Gc=(()=>{class e{constructor(){this.compileModuleSync=zc,this.compileModuleAsync=Wc,this.compileModuleAndAllComponentsSync=Kc,this.compileModuleAndAllComponentsAsync=$c}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();const Jc=(()=>Promise.resolve(0))();function Qc(e){"undefined"==typeof Zone?Jc.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Xc{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new dc(!1),this.onMicrotaskEmpty=new dc(!1),this.onStable=new dc(!1),this.onError=new dc(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!n&&t,i.shouldCoalesceRunChangeDetection=n,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function(){let e=Oe.requestAnimationFrame,t=Oe.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=()=>{!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Oe,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,tu(e),eu(e)},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),tu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,s,a,o)=>{try{return nu(e),n.invokeTask(r,s,a,o)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),iu(e)}},onInvoke:(n,i,r,s,a,o,l)=>{try{return nu(e),n.invoke(r,s,a,o,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),iu(e)}},onHasTask:(t,n,i,r)=>{t.hasTask(i,r),n===i&&("microTask"==r.change?(e._hasPendingMicrotasks=r.microTask,tu(e),eu(e)):"macroTask"==r.change&&(e.hasPendingMacrotasks=r.macroTask))},onHandleError:(t,n,i,r)=>(t.handleError(i,r),e.runOutsideAngular(()=>e.onError.emit(r)),!1)})}(i)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Xc.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Xc.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,i){const r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+i,e,Zc,Xo,Xo);try{return r.runTask(s,t,n)}finally{r.cancelTask(s)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}const Zc={};function eu(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function tu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function nu(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function iu(e){e._nesting--,eu(e)}class ru{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new dc,this.onMicrotaskEmpty=new dc,this.onStable=new dc,this.onError=new dc}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,i){return e.apply(t,n)}}let su=(()=>{class e{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Xc.assertNotInAngularZone(),Qc(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Qc(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let i=-1;t&&t>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==i),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:n})}whenStable(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}return e.\u0275fac=function(t){return new(t||e)(gi(Xc))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),au=(()=>{class e{constructor(){this._applications=new Map,cu.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return cu.findTestabilityInTree(this,e,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();class ou{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}let lu,cu=new ou,uu=!0,du=!1;function hu(){return du=!0,uu}const pu=new Zn("AllowMultipleToken");class fu{constructor(e,t){this.name=e,this.token=t}}function mu(e,t,n=[]){const i=`Platform: ${t}`,r=new Zn(i);return(t=[])=>{let s=_u();if(!s||s.injector.get(pu,!1))if(e)e(n.concat(t).concat({provide:r,useValue:!0}));else{const e=n.concat(t).concat({provide:r,useValue:!0},{provide:ia,useValue:"platform"});!function(e){if(lu&&!lu.destroyed&&!lu.injector.get(pu,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");lu=e.get(gu);const t=e.get(jc,null);t&&t.forEach(e=>e())}(ga.create({providers:e,name:i}))}return function(e){const t=_u();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(r)}}function _u(){return lu&&!lu.destroyed?lu:null}let gu=(()=>{class e{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n=function(e,t){let n;return n="noop"===e?new ru:("zone.js"===e?void 0:e)||new Xc({enableLongStackTrace:hu(),shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(t?t.ngZone:void 0,{ngZoneEventCoalescing:t&&t.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:t&&t.ngZoneRunCoalescing||!1}),i=[{provide:Xc,useValue:n}];return n.run(()=>{const t=ga.create({providers:i,parent:this.injector,name:e.moduleType.name}),r=e.create(t),s=r.injector.get(pr,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const e=n.onError.subscribe({next:e=>{s.handleError(e)}});r.onDestroy(()=>{vu(this._modules,r),e.unsubscribe()})}),function(e,t,n){try{const i=n();return qa(i)?i.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(s,n,()=>{const e=r.injector.get(Ac);return e.runInitializers(),e.donePromise.then(()=>(Ho(r.injector.get(Hc,Fo)||Fo),this._moduleDoBootstrap(r),r))})})}bootstrapModule(e,t=[]){const n=yu({},t);return function(e,t,n){const i=new ec(n);return Promise.resolve(i)}(0,0,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(bu);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${ne(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(t){return new(t||e)(gi(ga))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();function yu(e,t){return Array.isArray(t)?t.reduce(yu,e):Object.assign(Object.assign({},e),t)}let bu=(()=>{class e{constructor(e,t,n,i,r,s){this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=i,this._componentFactoryResolver=r,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const a=new y(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),o=new y(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{Xc.assertNotInAngularZone(),Qc(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Xc.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=W(a,o.pipe(Z()))}bootstrap(e,t){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=e instanceof Go?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const i=n.isBoundToModule?void 0:this._injector.get(Yl),r=n.create(ga.NULL,[],t||n.selector,i),s=r.location.nativeElement,a=r.injector.get(su,null),o=a&&r.injector.get(au);return a&&o&&o.registerApplication(s,a),r.onDestroy(()=>{this.detachView(r.hostView),vu(this.components,r),o&&o.unregisterApplication(s)}),this._loadComponent(r),hu()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),r}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;vu(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Fc,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(t){return new(t||e)(gi(Xc),gi(Nc),gi(ga),gi(pr),gi(Qo),gi(Ac))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();function vu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class wu{}class ku{}const Su={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let Cu=(()=>{class e{constructor(e,t){this._compiler=e,this._config=t||Su}load(e){return this.loadAndCompile(e)}loadAndCompile(e){let[t,i]=e.split("#");return void 0===i&&(i="default"),n("zn8P")(t).then(e=>e[i]).then(e=>xu(e,t,i)).then(e=>this._compiler.compileModuleAsync(e))}loadFactory(e){let[t,i]=e.split("#"),r="NgFactory";return void 0===i&&(i="default",r=""),n("zn8P")(this._config.factoryPathPrefix+t+this._config.factoryPathSuffix).then(e=>e[i+r]).then(e=>xu(e,t,i))}}return e.\u0275fac=function(t){return new(t||e)(gi(Gc),gi(ku,8))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();function xu(e,t,n){if(!e)throw new Error(`Cannot find '${n}' in '${t}'`);return e}const Mu=mu(null,"core",[{provide:Yc,useValue:"unknown"},{provide:gu,deps:[ga]},{provide:au,deps:[]},{provide:Nc,deps:[]}]),Du=[{provide:bu,useClass:bu,deps:[Xc,Nc,ga,pr,Qo,Ac]},{provide:Gl,deps:[Xc],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:Ac,useClass:Ac,deps:[[new ki,Tc]]},{provide:Gc,useClass:Gc,deps:[]},Pc,{provide:vl,useFactory:function(){return El},deps:[]},{provide:kl,useFactory:function(){return Tl},deps:[]},{provide:Hc,useFactory:function(e){return Ho(e=e||"undefined"!=typeof $localize&&$localize.locale||Fo),e},deps:[[new wi(Hc),new ki,new Si]]},{provide:Vc,useValue:"USD"}];let Lu=(()=>{class e{constructor(e){}}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)(gi(bu))},providers:Du}),e})(),Ou=null;function Eu(){return Ou}const Tu=new Zn("DocumentToken");let Au=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({factory:Iu,token:e,providedIn:"platform"}),e})();function Iu(){return gi(Ru)}const Pu=new Zn("Location Initialized");let Ru=(()=>{class e extends Au{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=Eu().getLocation(),this._history=Eu().getHistory()}getBaseHrefFromDOM(){return Eu().getBaseHref(this._doc)}onPopState(e){Eu().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}onHashChange(e){Eu().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(e){this.location.pathname=e}pushState(e,t,n){ju()?this._history.pushState(e,t,n):this.location.hash=n}replaceState(e,t,n){ju()?this._history.replaceState(e,t,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return e.\u0275fac=function(t){return new(t||e)(gi(Tu))},e.\u0275prov=le({factory:Yu,token:e,providedIn:"platform"}),e})();function ju(){return!!window.history.pushState}function Yu(){return new Ru(gi(Tu))}function Fu(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function Nu(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function Hu(e){return e&&"?"!==e[0]?"?"+e:e}let Vu=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({factory:Uu,token:e,providedIn:"root"}),e})();function Uu(e){const t=gi(Tu).location;return new zu(gi(Au),t&&t.origin||"")}const Bu=new Zn("appBaseHref");let zu=(()=>{class e extends Vu{constructor(e,t){if(super(),this._platformLocation=e,null==t&&(t=this._platformLocation.getBaseHrefFromDOM()),null==t)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=t}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return Fu(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+Hu(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?`${t}${n}`:t}pushState(e,t,n,i){const r=this.prepareExternalUrl(n+Hu(i));this._platformLocation.pushState(e,t,r)}replaceState(e,t,n,i){const r=this.prepareExternalUrl(n+Hu(i));this._platformLocation.replaceState(e,t,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)(gi(Au),gi(Bu,8))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),Wu=(()=>{class e extends Vu{constructor(e,t){super(),this._platformLocation=e,this._baseHref="",null!=t&&(this._baseHref=t)}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}path(e=!1){let t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}prepareExternalUrl(e){const t=Fu(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,n,i){let r=this.prepareExternalUrl(n+Hu(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(e,t,r)}replaceState(e,t,n,i){let r=this.prepareExternalUrl(n+Hu(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)(gi(Au),gi(Bu,8))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),qu=(()=>{class e{constructor(e,t){this._subject=new dc,this._urlChangeListeners=[],this._platformStrategy=e;const n=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=Nu($u(n)),this._platformStrategy.onPopState(e=>{this._subject.emit({url:this.path(!0),pop:!0,state:e.state,type:e.type})})}path(e=!1){return this.normalize(this._platformStrategy.path(e))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+Hu(t))}normalize(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,$u(t)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}go(e,t="",n=null){this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Hu(t)),n)}replaceState(e,t="",n=null){this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Hu(t)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(e){this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(e=>{this._notifyUrlChangeListeners(e.url,e.state)}))}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(n=>n(e,t))}subscribe(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}return e.\u0275fac=function(t){return new(t||e)(gi(Vu),gi(Au))},e.normalizeQueryParams=Hu,e.joinWithSlash=Fu,e.stripTrailingSlash=Nu,e.\u0275prov=le({factory:Ku,token:e,providedIn:"root"}),e})();function Ku(){return new qu(gi(Vu),gi(Au))}function $u(e){return e.replace(/\/index.html$/,"")}var Gu=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({}),Ju=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}({}),Qu=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}({}),Xu=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}({}),Zu=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e[1/0]=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}({});function ed(e,t){return sd(Ro(e)[Yo.DateFormat],t)}function td(e,t){return sd(Ro(e)[Yo.TimeFormat],t)}function nd(e,t){return sd(Ro(e)[Yo.DateTimeFormat],t)}function id(e,t){const n=Ro(e),i=n[Yo.NumberSymbols][t];if(void 0===i){if(t===Zu.CurrencyDecimal)return n[Yo.NumberSymbols][Zu.Decimal];if(t===Zu.CurrencyGroup)return n[Yo.NumberSymbols][Zu.Group]}return i}function rd(e){if(!e[Yo.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[Yo.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function sd(e,t){for(let n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function ad(e){const[t,n]=e.split(":");return{hours:+t,minutes:+n}}const od=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,ld={},cd=/((?:[^GyYMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?: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}|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]*)/;var ud=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}({}),dd=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}({}),hd=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}({});function pd(e,t,n,i){let r=function(e){if(Md(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){const[t,n=1,i=1]=e.split("-").map(e=>+e);return fd(t,n-1,i)}const t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let n;if(n=e.match(od))return function(e){const t=new Date(0);let n=0,i=0;const r=e[8]?t.setUTCFullYear:t.setFullYear,s=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),i=Number(e[9]+e[11])),r.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));const a=Number(e[4]||0)-n,o=Number(e[5]||0)-i,l=Number(e[6]||0),c=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return s.call(t,a,o,l,c),t}(n)}const t=new Date(e);if(!Md(t))throw new Error(`Unable to convert "${e}" into a date`);return t}(e);t=md(n,t)||t;let s,a=[];for(;t;){if(s=cd.exec(t),!s){a.push(t);break}{a=a.concat(s.slice(1));const e=a.pop();if(!e)break;t=e}}let o=r.getTimezoneOffset();i&&(o=xd(i,o),r=function(e,t,n){const i=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(xd(t,i)-i))}(r,i));let l="";return a.forEach(e=>{const t=function(e){if(Cd[e])return Cd[e];let t;switch(e){case"G":case"GG":case"GGG":t=bd(hd.Eras,Qu.Abbreviated);break;case"GGGG":t=bd(hd.Eras,Qu.Wide);break;case"GGGGG":t=bd(hd.Eras,Qu.Narrow);break;case"y":t=yd(dd.FullYear,1,0,!1,!0);break;case"yy":t=yd(dd.FullYear,2,0,!0,!0);break;case"yyy":t=yd(dd.FullYear,3,0,!1,!0);break;case"yyyy":t=yd(dd.FullYear,4,0,!1,!0);break;case"Y":t=Sd(1);break;case"YY":t=Sd(2,!0);break;case"YYY":t=Sd(3);break;case"YYYY":t=Sd(4);break;case"M":case"L":t=yd(dd.Month,1,1);break;case"MM":case"LL":t=yd(dd.Month,2,1);break;case"MMM":t=bd(hd.Months,Qu.Abbreviated);break;case"MMMM":t=bd(hd.Months,Qu.Wide);break;case"MMMMM":t=bd(hd.Months,Qu.Narrow);break;case"LLL":t=bd(hd.Months,Qu.Abbreviated,Ju.Standalone);break;case"LLLL":t=bd(hd.Months,Qu.Wide,Ju.Standalone);break;case"LLLLL":t=bd(hd.Months,Qu.Narrow,Ju.Standalone);break;case"w":t=kd(1);break;case"ww":t=kd(2);break;case"W":t=kd(1,!0);break;case"d":t=yd(dd.Date,1);break;case"dd":t=yd(dd.Date,2);break;case"E":case"EE":case"EEE":t=bd(hd.Days,Qu.Abbreviated);break;case"EEEE":t=bd(hd.Days,Qu.Wide);break;case"EEEEE":t=bd(hd.Days,Qu.Narrow);break;case"EEEEEE":t=bd(hd.Days,Qu.Short);break;case"a":case"aa":case"aaa":t=bd(hd.DayPeriods,Qu.Abbreviated);break;case"aaaa":t=bd(hd.DayPeriods,Qu.Wide);break;case"aaaaa":t=bd(hd.DayPeriods,Qu.Narrow);break;case"b":case"bb":case"bbb":t=bd(hd.DayPeriods,Qu.Abbreviated,Ju.Standalone,!0);break;case"bbbb":t=bd(hd.DayPeriods,Qu.Wide,Ju.Standalone,!0);break;case"bbbbb":t=bd(hd.DayPeriods,Qu.Narrow,Ju.Standalone,!0);break;case"B":case"BB":case"BBB":t=bd(hd.DayPeriods,Qu.Abbreviated,Ju.Format,!0);break;case"BBBB":t=bd(hd.DayPeriods,Qu.Wide,Ju.Format,!0);break;case"BBBBB":t=bd(hd.DayPeriods,Qu.Narrow,Ju.Format,!0);break;case"h":t=yd(dd.Hours,1,-12);break;case"hh":t=yd(dd.Hours,2,-12);break;case"H":t=yd(dd.Hours,1);break;case"HH":t=yd(dd.Hours,2);break;case"m":t=yd(dd.Minutes,1);break;case"mm":t=yd(dd.Minutes,2);break;case"s":t=yd(dd.Seconds,1);break;case"ss":t=yd(dd.Seconds,2);break;case"S":t=yd(dd.FractionalSeconds,1);break;case"SS":t=yd(dd.FractionalSeconds,2);break;case"SSS":t=yd(dd.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=vd(ud.Short);break;case"ZZZZZ":t=vd(ud.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=vd(ud.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=vd(ud.Long);break;default:return null}return Cd[e]=t,t}(e);l+=t?t(r,n,o):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function fd(e,t,n){const i=new Date(0);return i.setFullYear(e,t,n),i.setHours(0,0,0),i}function md(e,t){const n=function(e){return Ro(e)[Yo.LocaleId]}(e);if(ld[n]=ld[n]||{},ld[n][t])return ld[n][t];let i="";switch(t){case"shortDate":i=ed(e,Xu.Short);break;case"mediumDate":i=ed(e,Xu.Medium);break;case"longDate":i=ed(e,Xu.Long);break;case"fullDate":i=ed(e,Xu.Full);break;case"shortTime":i=td(e,Xu.Short);break;case"mediumTime":i=td(e,Xu.Medium);break;case"longTime":i=td(e,Xu.Long);break;case"fullTime":i=td(e,Xu.Full);break;case"short":const t=md(e,"shortTime"),n=md(e,"shortDate");i=_d(nd(e,Xu.Short),[t,n]);break;case"medium":const r=md(e,"mediumTime"),s=md(e,"mediumDate");i=_d(nd(e,Xu.Medium),[r,s]);break;case"long":const a=md(e,"longTime"),o=md(e,"longDate");i=_d(nd(e,Xu.Long),[a,o]);break;case"full":const l=md(e,"fullTime"),c=md(e,"fullDate");i=_d(nd(e,Xu.Full),[l,c])}return i&&(ld[n][t]=i),i}function _d(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(e,n){return null!=t&&n in t?t[n]:e})),e}function gd(e,t,n="-",i,r){let s="";(e<0||r&&e<=0)&&(r?e=1-e:(e=-e,s=n));let a=String(e);for(;a.length0||o>-n)&&(o+=n),e===dd.Hours)0===o&&-12===n&&(o=12);else if(e===dd.FractionalSeconds)return l=t,gd(o,3).substr(0,l);var l;const c=id(a,Zu.MinusSign);return gd(o,t,c,i,r)}}function bd(e,t,n=Ju.Format,i=!1){return function(r,s){return function(e,t,n,i,r,s){switch(n){case hd.Months:return function(e,t,n){const i=Ro(e),r=sd([i[Yo.MonthsFormat],i[Yo.MonthsStandalone]],t);return sd(r,n)}(t,r,i)[e.getMonth()];case hd.Days:return function(e,t,n){const i=Ro(e),r=sd([i[Yo.DaysFormat],i[Yo.DaysStandalone]],t);return sd(r,n)}(t,r,i)[e.getDay()];case hd.DayPeriods:const a=e.getHours(),o=e.getMinutes();if(s){const e=function(e){const t=Ro(e);return rd(t),(t[Yo.ExtraData][2]||[]).map(e=>"string"==typeof e?ad(e):[ad(e[0]),ad(e[1])])}(t),n=function(e,t,n){const i=Ro(e);rd(i);const r=sd([i[Yo.ExtraData][0],i[Yo.ExtraData][1]],t)||[];return sd(r,n)||[]}(t,r,i),s=e.findIndex(e=>{if(Array.isArray(e)){const[t,n]=e,i=a>=t.hours&&o>=t.minutes,r=a0?Math.floor(r/60):Math.ceil(r/60);switch(e){case ud.Short:return(r>=0?"+":"")+gd(a,2,s)+gd(Math.abs(r%60),2,s);case ud.ShortGMT:return"GMT"+(r>=0?"+":"")+gd(a,1,s);case ud.Long:return"GMT"+(r>=0?"+":"")+gd(a,2,s)+":"+gd(Math.abs(r%60),2,s);case ud.Extended:return 0===i?"Z":(r>=0?"+":"")+gd(a,2,s)+":"+gd(Math.abs(r%60),2,s);default:throw new Error(`Unknown zone width "${e}"`)}}}function wd(e){return fd(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function kd(e,t=!1){return function(n,i){let r;if(t){const e=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,t=n.getDate();r=1+Math.floor((t+e)/7)}else{const e=wd(n),t=function(e){const t=fd(e,0,1).getDay();return fd(e,0,1+(t<=4?4:11)-t)}(e.getFullYear()),i=e.getTime()-t.getTime();r=1+Math.round(i/6048e5)}return gd(r,e,id(i,Zu.MinusSign))}}function Sd(e,t=!1){return function(n,i){return gd(wd(n).getFullYear(),e,id(i,Zu.MinusSign),t)}}const Cd={};function xd(e,t){e=e.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function Md(e){return e instanceof Date&&!isNaN(e.valueOf())}class Dd{}let Ld=(()=>{class e extends Dd{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(function(e){return Ro(e)[Yo.PluralCase]}(t||this.locale)(e)){case Gu.Zero:return"zero";case Gu.One:return"one";case Gu.Two:return"two";case Gu.Few:return"few";case Gu.Many:return"many";default:return"other"}}}return e.\u0275fac=function(t){return new(t||e)(gi(Hc))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();function Od(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[i,r]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(i.trim()===t)return decodeURIComponent(r)}return null}let Ed=(()=>{class e{constructor(e,t,n,i){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Da(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachChangedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachRemovedItem(e=>{e.previousValue&&this._toggleClass(e.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(e=>{if("string"!=typeof e.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${ne(e.item)}`);this._toggleClass(e.item,!0)}),e.forEachRemovedItem(e=>this._toggleClass(e.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!0)):Object.keys(e).forEach(t=>this._toggleClass(t,!!e[t])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!1)):Object.keys(e).forEach(e=>this._toggleClass(e,!1)))}_toggleClass(e,t){(e=e.trim())&&e.split(/\s+/g).forEach(e=>{t?this._renderer.addClass(this._ngEl.nativeElement,e):this._renderer.removeClass(this._ngEl.nativeElement,e)})}}return e.\u0275fac=function(t){return new(t||e)(ja(vl),ja(kl),ja(tl),ja(rl))},e.\u0275dir=qe({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e})();class Td{constructor(e,t,n,i){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=i}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Ad=(()=>{class e{constructor(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${n}' of type '${e=n,e.name||typeof e}'. NgFor only supports binding to Iterables such as Arrays.`)}}var e;if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=[];e.forEachOperation((e,n,i)=>{if(null==e.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new Td(null,this._ngForOf,-1,-1),null===i?void 0:i),r=new Id(e,n);t.push(r)}else if(null==i)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const r=this._viewContainer.get(n);this._viewContainer.move(r,i);const s=new Id(e,r);t.push(s)}});for(let n=0;n{this._viewContainer.get(e.currentIndex).context.$implicit=e.item})}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(ja(Hl),ja(Il),ja(vl))},e.\u0275dir=qe({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();class Id{constructor(e,t){this.record=e,this.view=t}}let Pd=(()=>{class e{constructor(e,t){this._viewContainer=e,this._context=new Rd,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){jd("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){jd("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(ja(Hl),ja(Il))},e.\u0275dir=qe({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class Rd{constructor(){this.$implicit=null,this.ngIf=null}}function jd(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${ne(t)}'.`)}class Yd{constructor(e,t){this._viewContainerRef=e,this._templateRef=t,this._created=!1}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()}}let Fd=(()=>{class e{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const t=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let t=0;t{class e{constructor(e,t,n){this.ngSwitch=n,n._addCase(),this._view=new Yd(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return e.\u0275fac=function(t){return new(t||e)(ja(Hl),ja(Il),ja(Fd,1))},e.\u0275dir=qe({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),e})(),Hd=(()=>{class e{constructor(e,t,n){n._addDefault(new Yd(e,t))}}return e.\u0275fac=function(t){return new(t||e)(ja(Hl),ja(Il),ja(Fd,1))},e.\u0275dir=qe({type:e,selectors:[["","ngSwitchDefault",""]]}),e})(),Vd=(()=>{class e{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(e){if(this._shouldRecreateView(e)){const e=this._viewContainerRef;this._viewRef&&e.remove(e.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?e.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}_shouldRecreateView(e){const t=e.ngTemplateOutletContext;return!!e.ngTemplateOutlet||t&&this._hasContextShapeChanged(t)}_hasContextShapeChanged(e){const t=Object.keys(e.previousValue||{}),n=Object.keys(e.currentValue||{});if(t.length===n.length){for(let e of n)if(-1===t.indexOf(e))return!0;return!1}return!0}_updateExistingContext(e){for(let t of Object.keys(e))this._viewRef.context[t]=this.ngTemplateOutletContext[t]}}return e.\u0275fac=function(t){return new(t||e)(ja(Hl))},e.\u0275dir=qe({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[ut]}),e})();function Ud(e,t){return Error(`InvalidPipeArgument: '${t}' for pipe '${ne(e)}'`)}class Bd{createSubscription(e,t){return e.subscribe({next:t,error:e=>{throw e}})}dispose(e){e.unsubscribe()}onDestroy(e){e.unsubscribe()}}class zd{createSubscription(e,t){return e.then(t,e=>{throw e})}dispose(e){}onDestroy(e){}}const Wd=new zd,qd=new Bd;let Kd=(()=>{class e{constructor(e){this._ref=e,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t))}_selectStrategy(t){if(qa(t))return Wd;if(Ka(t))return qd;throw Ud(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}return e.\u0275fac=function(t){return new(t||e)(function(e=ye.Default){const t=Ll(!0);if(null!=t||e&ye.Optional)return t;lt("ChangeDetectorRef")}())},e.\u0275pipe=Ke({name:"async",type:e,pure:!1}),e})(),$d=(()=>{class e{constructor(e){this.locale=e}transform(t,n="mediumDate",i,r){if(null==t||""===t||t!=t)return null;try{return pd(t,n,r||this.locale,i)}catch(s){throw Ud(e,s.message)}}}return e.\u0275fac=function(t){return new(t||e)(ja(Hc))},e.\u0275pipe=Ke({name:"date",type:e,pure:!0}),e})(),Gd=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[{provide:Dd,useClass:Ld}]}),e})();function Jd(e){return"browser"===e}function Qd(e){return"server"===e}let Xd=(()=>{class e{}return e.\u0275prov=le({token:e,providedIn:"root",factory:()=>new Zd(gi(Tu),window)}),e})();class Zd{constructor(e,t){this.document=e,this.window=t,this.offset=()=>[0,0]}setOffset(e){this.offset=Array.isArray(e)?()=>e:e}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){var t;if(!this.supportsScrolling())return;const n=null!==(t=this.document.getElementById(e))&&void 0!==t?t:this.document.getElementsByName(e)[0];void 0!==n&&(this.scrollToElement(n),this.attemptFocus(n))}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}scrollToElement(e){const t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,i=t.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}attemptFocus(e){return e.focus(),this.document.activeElement===e}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const e=eh(this.window.history)||eh(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch(e){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(e){return!1}}}function eh(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class th extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var e;e=new th,Ou||(Ou=e)}getProperty(e,t){return e[t]}log(e){window.console&&window.console.log&&window.console.log(e)}logGroup(e){window.console&&window.console.group&&window.console.group(e)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}getValue(e){return e.value}createElement(e,t){return(t=t||this.getDefaultDocument()).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"window"===t?window:"document"===t?e:"body"===t?e.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(e){const t=ih||(ih=document.querySelector("base"),ih)?ih.getAttribute("href"):null;return null==t?null:(n=t,nh||(nh=document.createElement("a")),nh.setAttribute("href",n),"/"===nh.pathname.charAt(0)?nh.pathname:"/"+nh.pathname);var n}resetBaseElement(){ih=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return Od(document.cookie,e)}}let nh,ih=null;const rh=new Zn("TRANSITION_ID"),sh=[{provide:Tc,useFactory:function(e,t,n){return()=>{n.get(Ac).donePromise.then(()=>{const n=Eu();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(t=>t.getAttribute("ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[rh,Tu,ga],multi:!0}];class ah{static init(){var e;e=new ah,cu=e}addToWindow(e){Oe.getAngularTestability=(t,n=!0)=>{const i=e.findTestabilityInTree(t,n);if(null==i)throw new Error("Could not find testability for element.");return i},Oe.getAllAngularTestabilities=()=>e.getAllTestabilities(),Oe.getAllAngularRootElements=()=>e.getAllRootElements(),Oe.frameworkStabilizers||(Oe.frameworkStabilizers=[]),Oe.frameworkStabilizers.push(e=>{const t=Oe.getAllAngularTestabilities();let n=t.length,i=!1;const r=function(t){i=i||t,n--,0==n&&e(i)};t.forEach(function(e){e.whenStable(r)})})}findTestabilityInTree(e,t,n){if(null==t)return null;const i=e.getTestability(t);return null!=i?i:n?Eu().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}const oh=new Zn("EventManagerPlugins");let lh=(()=>{class e{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}addGlobalEventListener(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const n=this._plugins;for(let i=0;i{class e{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),dh=(()=>{class e extends uh{constructor(e){super(),this._doc=e,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(e.head)}_addStylesToHost(e,t){e.forEach(e=>{const n=this._doc.createElement("style");n.textContent=e,this._styleNodes.add(t.appendChild(n))})}addHost(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}removeHost(e){this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach(t=>this._addStylesToHost(e,t))}ngOnDestroy(){this._styleNodes.forEach(e=>Eu().remove(e))}}return e.\u0275fac=function(t){return new(t||e)(gi(Tu))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();const hh={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/"},ph=/%COMP%/g;function fh(e,t,n){for(let i=0;i{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let _h=(()=>{class e{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new gh(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case Ce.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new yh(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case 1:case Ce.ShadowDom:return new bh(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=fh(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(t){return new(t||e)(gi(lh),gi(dh),gi(Ic))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();class gh{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(hh[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,n){e&&e.insertBefore(t,n)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error(`The selector "${e}" did not match any elements`);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,i){if(i){t=i+":"+t;const r=hh[i];r?e.setAttributeNS(r,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const i=hh[n];i?e.removeAttributeNS(i,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,i){i&(yr.DashCase|yr.Important)?e.style.setProperty(t,n,i&yr.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&yr.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,mh(n)):this.eventManager.addEventListener(e,t,mh(n))}}class yh extends gh{constructor(e,t,n,i){super(e),this.component=n;const r=fh(i+"-"+n.id,n.styles,[]);t.addStyles(r),this.contentAttr="_ngcontent-%COMP%".replace(ph,i+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(ph,i+"-"+n.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class bh extends gh{constructor(e,t,n,i){super(e),this.sharedStylesHost=t,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const r=fh(i.id,i.styles,[]);for(let s=0;s{class e extends ch{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n){return e.addEventListener(t,n,!1),()=>this.removeEventListener(e,t,n)}removeEventListener(e,t,n){return e.removeEventListener(t,n)}}return e.\u0275fac=function(t){return new(t||e)(gi(Tu))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();const wh=["alt","control","meta","shift"],kh={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Sh={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Ch={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let xh=(()=>{class e extends ch{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,n,i){const r=e.parseEventName(n),s=e.eventCallback(r.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Eu().onAndCancel(t,r.domEventName,s))}static parseEventName(t){const n=t.toLowerCase().split("."),i=n.shift();if(0===n.length||"keydown"!==i&&"keyup"!==i)return null;const r=e._normalizeKey(n.pop());let s="";if(wh.forEach(e=>{const t=n.indexOf(e);t>-1&&(n.splice(t,1),s+=e+".")}),s+=r,0!=n.length||0===r.length)return null;const a={};return a.domEventName=i,a.fullKey=s,a}static getEventFullKey(e){let t="",n=function(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&Sh.hasOwnProperty(t)&&(t=Sh[t]))}return kh[t]||t}(e);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),wh.forEach(i=>{i!=n&&(0,Ch[i])(e)&&(t+=i+".")}),t+=n,t}static eventCallback(t,n,i){return r=>{e.getEventFullKey(r)===t&&i.runGuarded(()=>n(r))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}return e.\u0275fac=function(t){return new(t||e)(gi(Tu))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),Mh=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({factory:function(){return gi(Dh)},token:e,providedIn:"root"}),e})(),Dh=(()=>{class e extends Mh{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case ar.NONE:return t;case ar.HTML:return Ri(t,"HTML")?Pi(t):rr(this._doc,String(t)).toString();case ar.STYLE:return Ri(t,"Style")?Pi(t):t;case ar.SCRIPT:if(Ri(t,"Script"))return Pi(t);throw new Error("unsafe value used in a script context");case ar.URL:return ji(t),Ri(t,"URL")?Pi(t):Vi(String(t));case ar.RESOURCE_URL:if(Ri(t,"ResourceURL"))return Pi(t);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return new Oi(e)}bypassSecurityTrustStyle(e){return new Ei(e)}bypassSecurityTrustScript(e){return new Ti(e)}bypassSecurityTrustUrl(e){return new Ai(e)}bypassSecurityTrustResourceUrl(e){return new Ii(e)}}return e.\u0275fac=function(t){return new(t||e)(gi(Tu))},e.\u0275prov=le({factory:function(){return e=gi(ta),new Dh(e.get(Tu));var e},token:e,providedIn:"root"}),e})();const Lh=mu(Mu,"browser",[{provide:Yc,useValue:"browser"},{provide:jc,useValue:function(){th.makeCurrent(),ah.init()},multi:!0},{provide:Tu,useFactory:function(){return function(e){_t=e}(document),document},deps:[]}]),Oh=[[],{provide:ia,useValue:"root"},{provide:pr,useFactory:function(){return new pr},deps:[]},{provide:oh,useClass:vh,multi:!0,deps:[Tu,Xc,Yc]},{provide:oh,useClass:xh,multi:!0,deps:[Tu]},[],{provide:_h,useClass:_h,deps:[lh,dh,Ic]},{provide:il,useExisting:_h},{provide:uh,useExisting:dh},{provide:dh,useClass:dh,deps:[Tu]},{provide:su,useClass:su,deps:[Xc]},{provide:lh,useClass:lh,deps:[oh,Xc]},[]];let Eh=(()=>{class e{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(t){return{ngModule:e,providers:[{provide:Ic,useValue:t.appId},{provide:rh,useExisting:Ic},sh]}}}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)(gi(e,12))},providers:Oh,imports:[Gd,Lu]}),e})();function Th(...e){let t=e[e.length-1];return x(t)?(e.pop(),R(e,t)):z(e)}function Ah(e,t){return H(e,t,1)}function Ih(e,t){return function(n){return n.lift(new Ph(e,t))}}"undefined"!=typeof window&&window;class Ph{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new Rh(e,this.predicate,this.thisArg))}}class Rh extends f{constructor(e,t,n){super(e),this.predicate=t,this.thisArg=n,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}class jh{}class Yh{}class Fh{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>{this.headers=new Map,e.split("\n").forEach(e=>{const t=e.indexOf(":");if(t>0){const n=e.slice(0,t),i=n.toLowerCase(),r=e.slice(t+1).trim();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(r):this.headers.set(i,[r])}})}:()=>{this.headers=new Map,Object.keys(e).forEach(t=>{let n=e[t];const i=t.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(i,n),this.maybeSetNormalizedName(t,i))})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const 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 Fh?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){const t=new Fh;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof Fh?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);const i=("a"===e.op?this.headers.get(t):void 0)||[];i.push(...n),this.headers.set(t,i);break;case"d":const r=e.value;if(r){let e=this.headers.get(t);if(!e)return;e=e.filter(e=>-1===r.indexOf(e)),0===e.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,e)}else this.headers.delete(t),this.normalizedNames.delete(t)}}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}}class Nh{encodeKey(e){return Hh(e)}encodeValue(e){return Hh(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}function Hh(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}class Vh{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Nh,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(e=>{const i=e.indexOf("="),[r,s]=-1==i?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,i)),t.decodeValue(e.slice(i+1))],a=n.get(r)||[];a.push(s),n.set(r,a)}),n}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{const n=e.fromObject[t];this.map.set(t,Array.isArray(n)?n:[n])})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const 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){const t=[];return Object.keys(e).forEach(n=>{const i=e[n];Array.isArray(i)?i.forEach(e=>{t.push({param:n,value:e,op:"a"})}):t.push({param:n,value:i,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=>{const t=this.encoder.encodeKey(e);return this.map.get(e).map(e=>t+"="+this.encoder.encodeValue(e)).join("&")}).filter(e=>""!==e).join("&")}clone(e){const t=new Vh({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(e),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(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":const t=("a"===e.op?this.map.get(e.param):void 0)||[];t.push(e.value),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let t=this.map.get(e.param)||[];const n=t.indexOf(e.value);-1!==n&&t.splice(n,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}function Uh(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function Bh(e){return"undefined"!=typeof Blob&&e instanceof Blob}function zh(e){return"undefined"!=typeof FormData&&e instanceof FormData}class Wh{constructor(e,t,n,i){let r;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==n?n:null,r=i):r=n,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.params&&(this.params=r.params)),this.headers||(this.headers=new Fh),this.params){const e=this.params.toString();if(0===e.length)this.urlWithParams=t;else{const n=t.indexOf("?");this.urlWithParams=t+(-1===n?"?":nt.set(n,e.setHeaders[n]),o)),e.setParams&&(l=Object.keys(e.setParams).reduce((t,n)=>t.set(n,e.setParams[n]),l)),new Wh(t,n,r,{params:l,headers:o,reportProgress:a,responseType:i,withCredentials:s})}}var qh=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}({});class Kh{constructor(e,t=200,n="OK"){this.headers=e.headers||new Fh,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class $h extends Kh{constructor(e={}){super(e),this.type=qh.ResponseHeader}clone(e={}){return new $h({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class Gh extends Kh{constructor(e={}){super(e),this.type=qh.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new Gh({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class Jh extends Kh{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${e.url||"(unknown url)"}`:`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}function Qh(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let Xh=(()=>{class e{constructor(e){this.handler=e}request(e,t,n={}){let i;if(e instanceof Wh)i=e;else{let r,s;r=n.headers instanceof Fh?n.headers:new Fh(n.headers),n.params&&(s=n.params instanceof Vh?n.params:new Vh({fromObject:n.params})),i=new Wh(e,t,void 0!==n.body?n.body:null,{headers:r,params:s,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const r=Th(i).pipe(Ah(e=>this.handler.handle(e)));if(e instanceof Wh||"events"===n.observe)return r;const s=r.pipe(Ih(e=>e instanceof Gh));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return s.pipe(M(e=>{if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return s.pipe(M(e=>{if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return s.pipe(M(e=>{if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return s.pipe(M(e=>e.body))}case"response":return s;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:(new Vh).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,n={}){return this.request("PATCH",e,Qh(n,t))}post(e,t,n={}){return this.request("POST",e,Qh(n,t))}put(e,t,n={}){return this.request("PUT",e,Qh(n,t))}}return e.\u0275fac=function(t){return new(t||e)(gi(jh))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();class Zh{constructor(e,t){this.next=e,this.interceptor=t}handle(e){return this.interceptor.intercept(e,this.next)}}const ep=new Zn("HTTP_INTERCEPTORS");let tp=(()=>{class e{intercept(e,t){return t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();const np=/^\)\]\}',?\n/;class ip{}let rp=(()=>{class e{constructor(){}build(){return new XMLHttpRequest}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),sp=(()=>{class e{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new y(t=>{const n=this.xhrFactory.build();if(n.open(e.method,e.urlWithParams),e.withCredentials&&(n.withCredentials=!0),e.headers.forEach((e,t)=>n.setRequestHeader(e,t.join(","))),e.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const t=e.detectContentTypeHeader();null!==t&&n.setRequestHeader("Content-Type",t)}if(e.responseType){const t=e.responseType.toLowerCase();n.responseType="json"!==t?t:"text"}const i=e.serializeBody();let r=null;const s=()=>{if(null!==r)return r;const t=1223===n.status?204:n.status,i=n.statusText||"OK",s=new Fh(n.getAllResponseHeaders()),a=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(n)||e.url;return r=new $h({headers:s,status:t,statusText:i,url:a}),r},a=()=>{let{headers:i,status:r,statusText:a,url:o}=s(),l=null;204!==r&&(l=void 0===n.response?n.responseText:n.response),0===r&&(r=l?200:0);let c=r>=200&&r<300;if("json"===e.responseType&&"string"==typeof l){const e=l;l=l.replace(np,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=e,c&&(c=!1,l={error:u,text:l})}}c?(t.next(new Gh({body:l,headers:i,status:r,statusText:a,url:o||void 0})),t.complete()):t.error(new Jh({error:l,headers:i,status:r,statusText:a,url:o||void 0}))},o=e=>{const{url:i}=s(),r=new Jh({error:e,status:n.status||0,statusText:n.statusText||"Unknown Error",url:i||void 0});t.error(r)};let l=!1;const c=i=>{l||(t.next(s()),l=!0);let r={type:qh.DownloadProgress,loaded:i.loaded};i.lengthComputable&&(r.total=i.total),"text"===e.responseType&&n.responseText&&(r.partialText=n.responseText),t.next(r)},u=e=>{let n={type:qh.UploadProgress,loaded:e.loaded};e.lengthComputable&&(n.total=e.total),t.next(n)};return n.addEventListener("load",a),n.addEventListener("error",o),n.addEventListener("timeout",o),n.addEventListener("abort",o),e.reportProgress&&(n.addEventListener("progress",c),null!==i&&n.upload&&n.upload.addEventListener("progress",u)),n.send(i),t.next({type:qh.Sent}),()=>{n.removeEventListener("error",o),n.removeEventListener("abort",o),n.removeEventListener("load",a),n.removeEventListener("timeout",o),e.reportProgress&&(n.removeEventListener("progress",c),null!==i&&n.upload&&n.upload.removeEventListener("progress",u)),n.readyState!==n.DONE&&n.abort()}})}}return e.\u0275fac=function(t){return new(t||e)(gi(ip))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();const ap=new Zn("XSRF_COOKIE_NAME"),op=new Zn("XSRF_HEADER_NAME");class lp{}let cp=(()=>{class e{constructor(e,t,n){this.doc=e,this.platform=t,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Od(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return e.\u0275fac=function(t){return new(t||e)(gi(Tu),gi(Yc),gi(ap))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),up=(()=>{class e{constructor(e,t){this.tokenService=e,this.headerName=t}intercept(e,t){const n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);const i=this.tokenService.getToken();return null===i||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,i)})),t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(gi(lp),gi(op))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),dp=(()=>{class e{constructor(e,t){this.backend=e,this.injector=t,this.chain=null}handle(e){if(null===this.chain){const e=this.injector.get(ep,[]);this.chain=e.reduceRight((e,t)=>new Zh(e,t),this.backend)}return this.chain.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(gi(Yh),gi(ga))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),hp=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:up,useClass:tp}]}}static withOptions(t={}){return{ngModule:e,providers:[t.cookieName?{provide:ap,useValue:t.cookieName}:[],t.headerName?{provide:op,useValue:t.headerName}:[]]}}}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[up,{provide:ep,useExisting:up,multi:!0},{provide:lp,useClass:cp},{provide:ap,useValue:"XSRF-TOKEN"},{provide:op,useValue:"X-XSRF-TOKEN"}]}),e})(),pp=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[Xh,{provide:jh,useClass:dp},sp,{provide:Yh,useExisting:sp},rp,{provide:ip,useExisting:rp}],imports:[[hp.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e})();class fp{}const mp="*";function _p(e,t){return{type:7,name:e,definitions:t,options:{}}}function gp(e,t=null){return{type:4,styles:t,timings:e}}function yp(e,t=null){return{type:2,steps:e,options:t}}function bp(e){return{type:6,styles:e,offset:null}}function vp(e,t,n){return{type:0,name:e,styles:t,options:n}}function wp(e){return{type:5,steps:e}}function kp(e,t,n=null){return{type:1,expr:e,animation:t,options:n}}function Sp(e=null){return{type:9,options:e}}function Cp(e,t,n=null){return{type:11,selector:e,animation:t,options:n}}function xp(e){Promise.resolve(null).then(e)}class Mp{constructor(e=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._onStartFns.push(e)}onDone(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(){xp(()=>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(){}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class Dp{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,n=0,i=0;const r=this.players.length;0==r?xp(()=>this._onFinish()):this.players.forEach(e=>{e.onDone(()=>{++t==r&&this._onFinish()}),e.onDestroy(()=>{++n==r&&this._onDestroy()}),e.onStart(()=>{++i==r&&this._onStart()})}),this.totalTime=this.players.reduce((e,t)=>Math.max(e,t.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){const t=e*this.totalTime;this.players.forEach(e=>{const n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)})}getPosition(){const e=this.players.reduce((e,t)=>null===e||t.totalTime>e.totalTime?t:e,null);return null!=e?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}function Lp(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Op(e){switch(e.length){case 0:return new Mp;case 1:return e[0];default:return new Dp(e)}}function Ep(e,t,n,i,r={},s={}){const a=[],o=[];let l=-1,c=null;if(i.forEach(e=>{const n=e.offset,i=n==l,u=i&&c||{};Object.keys(e).forEach(n=>{let i=n,o=e[n];if("offset"!==n)switch(i=t.normalizePropertyName(i,a),o){case"!":o=r[n];break;case mp:o=s[n];break;default:o=t.normalizeStyleValue(n,i,o,a)}u[i]=o}),i||o.push(u),c=u,l=n}),a.length){const e="\n - ";throw new Error(`Unable to animate due to the following errors:${e}${a.join(e)}`)}return o}function Tp(e,t,n,i){switch(t){case"start":e.onStart(()=>i(n&&Ap(n,"start",e)));break;case"done":e.onDone(()=>i(n&&Ap(n,"done",e)));break;case"destroy":e.onDestroy(()=>i(n&&Ap(n,"destroy",e)))}}function Ap(e,t,n){const i=n.totalTime,r=Ip(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==i?e.totalTime:i,!!n.disabled),s=e._data;return null!=s&&(r._data=s),r}function Ip(e,t,n,i,r="",s=0,a){return{element:e,triggerName:t,fromState:n,toState:i,phaseName:r,totalTime:s,disabled:!!a}}function Pp(e,t,n){let i;return e instanceof Map?(i=e.get(t),i||e.set(t,i=n)):(i=e[t],i||(i=e[t]=n)),i}function Rp(e){const t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}let jp=(e,t)=>!1,Yp=(e,t)=>!1,Fp=(e,t,n)=>[];const Np=Lp();(Np||"undefined"!=typeof Element)&&(jp=(e,t)=>e.contains(t),Yp=(()=>{if(Np||Element.prototype.matches)return(e,t)=>e.matches(t);{const e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?(e,n)=>t.apply(e,[n]):Yp}})(),Fp=(e,t,n)=>{let i=[];if(n){const n=e.querySelectorAll(t);for(let e=0;e{const i=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[i]=e[n]}),t}let Kp=(()=>{class e{validateStyleProperty(e){return Up(e)}matchesElement(e,t){return Bp(e,t)}containsElement(e,t){return zp(e,t)}query(e,t,n){return Wp(e,t,n)}computeStyle(e,t,n){return n||""}animate(e,t,n,i,r,s=[],a){return new Mp(n,i)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),$p=(()=>{class e{}return e.NOOP=new Kp,e})();const Gp="ng-enter",Jp="ng-leave",Qp="ng-trigger",Xp=".ng-trigger",Zp="ng-animating",ef=".ng-animating";function tf(e){if("number"==typeof e)return e;const t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:nf(parseFloat(t[1]),t[2])}function nf(e,t){switch(t){case"s":return 1e3*e;default:return e}}function rf(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){let i,r=0,s="";if("string"==typeof e){const n=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return t.push(`The provided timing value "${e}" is invalid.`),{duration:0,delay:0,easing:""};i=nf(parseFloat(n[1]),n[2]);const a=n[3];null!=a&&(r=nf(parseFloat(a),n[4]));const o=n[5];o&&(s=o)}else i=e;if(!n){let n=!1,s=t.length;i<0&&(t.push("Duration values below 0 are not allowed for this animation step."),n=!0),r<0&&(t.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&t.splice(s,0,`The provided timing value "${e}" is invalid.`)}return{duration:i,delay:r,easing:s}}(e,t,n)}function sf(e,t={}){return Object.keys(e).forEach(n=>{t[n]=e[n]}),t}function af(e,t,n={}){if(t)for(let i in e)n[i]=e[i];else sf(e,n);return n}function of(e,t,n){return n?t+":"+n+";":""}function lf(e){let t="";for(let n=0;n{const r=gf(i);n&&!n.hasOwnProperty(i)&&(n[i]=e.style[r]),e.style[r]=t[i]}),Lp()&&lf(e))}function uf(e,t){e.style&&(Object.keys(t).forEach(t=>{const n=gf(t);e.style[n]=""}),Lp()&&lf(e))}function df(e){return Array.isArray(e)?1==e.length?e[0]:yp(e):e}const hf=new RegExp("{{\\s*(.+?)\\s*}}","g");function pf(e){let t=[];if("string"==typeof e){let n;for(;n=hf.exec(e);)t.push(n[1]);hf.lastIndex=0}return t}function ff(e,t,n){const i=e.toString(),r=i.replace(hf,(e,i)=>{let r=t[i];return t.hasOwnProperty(i)||(n.push(`Please provide a value for the animation param ${i}`),r=""),r.toString()});return r==i?e:r}function mf(e){const t=[];let n=e.next();for(;!n.done;)t.push(n.value),n=e.next();return t}const _f=/-+([a-z0-9])/g;function gf(e){return e.replace(_f,(...e)=>e[1].toUpperCase())}function yf(e,t){return 0===e||0===t}function bf(e,t,n){const i=Object.keys(n);if(i.length&&t.length){let s=t[0],a=[];if(i.forEach(e=>{s.hasOwnProperty(e)||a.push(e),s[e]=n[e]}),a.length)for(var r=1;rfunction(e,t,n){if(":"==e[0]){const i=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t) *"}}(e,n);if("function"==typeof i)return void t.push(i);e=i}const i=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push(`The provided transition expression "${e}" is not supported`),t;const r=i[1],s=i[2],a=i[3];t.push(Mf(r,a)),"<"!=s[0]||r==kf&&a==kf||t.push(Mf(a,r))}(e,n,t)):n.push(e),n}const Cf=new Set(["true","1"]),xf=new Set(["false","0"]);function Mf(e,t){const n=Cf.has(e)||xf.has(e),i=Cf.has(t)||xf.has(t);return(r,s)=>{let a=e==kf||e==r,o=t==kf||t==s;return!a&&n&&"boolean"==typeof r&&(a=r?Cf.has(e):xf.has(e)),!o&&i&&"boolean"==typeof s&&(o=s?Cf.has(t):xf.has(t)),a&&o}}const Df=new RegExp("s*:selfs*,?","g");function Lf(e,t,n){return new Of(e).build(t,n)}class Of{constructor(e){this._driver=e}build(e,t){const n=new Ef(t);return this._resetContextStyleTimingState(n),vf(this,df(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}visitTrigger(e,t){let n=t.queryCount=0,i=t.depCount=0;const r=[],s=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach(e=>{if(this._resetContextStyleTimingState(t),0==e.type){const n=e,i=n.name;i.toString().split(/\s*,\s*/).forEach(e=>{n.name=e,r.push(this.visitState(n,t))}),n.name=i}else if(1==e.type){const r=this.visitTransition(e,t);n+=r.queryCount,i+=r.depCount,s.push(r)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:e.name,states:r,transitions:s,queryCount:n,depCount:i,options:null}}visitState(e,t){const n=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(n.containsDynamicStyles){const r=new Set,s=i||{};if(n.styles.forEach(e=>{if(Tf(e)){const t=e;Object.keys(t).forEach(e=>{pf(t[e]).forEach(e=>{s.hasOwnProperty(e)||r.add(e)})})}}),r.size){const n=mf(r.values());t.errors.push(`state("${e.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:e.name,style:n,options:i?{params:i}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const n=vf(this,df(e.animation),t);return{type:1,matchers:Sf(e.expr,t.errors),animation:n,queryCount:t.queryCount,depCount:t.depCount,options:Af(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(e=>vf(this,e,t)),options:Af(e.options)}}visitGroup(e,t){const n=t.currentTime;let i=0;const r=e.steps.map(e=>{t.currentTime=n;const r=vf(this,e,t);return i=Math.max(i,t.currentTime),r});return t.currentTime=i,{type:3,steps:r,options:Af(e.options)}}visitAnimate(e,t){const n=function(e,t){let n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return If(rf(e,t).duration,0,"");const i=e;if(i.split(/\s+/).some(e=>"{"==e.charAt(0)&&"{"==e.charAt(1))){const e=If(0,0,"");return e.dynamic=!0,e.strValue=i,e}return n=n||rf(i,t),If(n.duration,n.delay,n.easing)}(e.timings,t.errors);let i;t.currentAnimateTimings=n;let r=e.styles?e.styles:bp({});if(5==r.type)i=this.visitKeyframes(r,t);else{let r=e.styles,s=!1;if(!r){s=!0;const e={};n.easing&&(e.easing=n.easing),r=bp(e)}t.currentTime+=n.duration+n.delay;const a=this.visitStyle(r,t);a.isEmptyStep=s,i=a}return t.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}visitStyle(e,t){const n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}_makeStyleAst(e,t){const n=[];Array.isArray(e.styles)?e.styles.forEach(e=>{"string"==typeof e?e==mp?n.push(e):t.errors.push(`The provided style string value ${e} is not allowed.`):n.push(e)}):n.push(e.styles);let i=!1,r=null;return n.forEach(e=>{if(Tf(e)){const t=e,n=t.easing;if(n&&(r=n,delete t.easing),!i)for(let e in t)if(t[e].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:r,offset:e.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(e,t){const n=t.currentAnimateTimings;let i=t.currentTime,r=t.currentTime;n&&r>0&&(r-=n.duration+n.delay),e.styles.forEach(e=>{"string"!=typeof e&&Object.keys(e).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void t.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const s=t.collectedStyles[t.currentQuerySelector],a=s[n];let o=!0;a&&(r!=i&&r>=a.startTime&&i<=a.endTime&&(t.errors.push(`The CSS property "${n}" that exists between the times of "${a.startTime}ms" and "${a.endTime}ms" is also being animated in a parallel animation between the times of "${r}ms" and "${i}ms"`),o=!1),r=a.startTime),o&&(s[n]={startTime:r,endTime:i}),t.options&&function(e,t,n){const i=t.params||{},r=pf(e);r.length&&r.forEach(e=>{i.hasOwnProperty(e)||n.push(`Unable to resolve the local animation param ${e} in the given list of values`)})}(e[n],t.options,t.errors)})})}visitKeyframes(e,t){const n={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),n;let i=0;const r=[];let s=!1,a=!1,o=0;const l=e.steps.map(e=>{const n=this._makeStyleAst(e,t);let l=null!=n.offset?n.offset:function(e){if("string"==typeof e)return null;let t=null;if(Array.isArray(e))e.forEach(e=>{if(Tf(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}});else if(Tf(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}return t}(n.styles),c=0;return null!=l&&(i++,c=n.offset=l),a=a||c<0||c>1,s=s||c0&&i{const s=u>0?i==d?1:u*i:r[i],a=s*f;t.currentTime=h+p.delay+a,p.duration=a,this._validateStyleAst(e,t),e.offset=s,n.styles.push(e)}),n}visitReference(e,t){return{type:8,animation:vf(this,df(e.animation),t),options:Af(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:Af(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:Af(e.options)}}visitQuery(e,t){const n=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;const[r,s]=function(e){const t=!!e.split(/\s*,\s*/).find(e=>":self"==e);return t&&(e=e.replace(Df,"")),[e=e.replace(/@\*/g,Xp).replace(/@\w+/g,e=>".ng-trigger-"+e.substr(1)).replace(/:animating/g,ef),t]}(e.selector);t.currentQuerySelector=n.length?n+" "+r:r,Pp(t.collectedStyles,t.currentQuerySelector,{});const a=vf(this,df(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:Af(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");const n="full"===e.timings?{duration:0,delay:0,easing:"full"}:rf(e.timings,t.errors,!0);return{type:12,animation:vf(this,df(e.animation),t),timings:n,options:null}}}class Ef{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function Tf(e){return!Array.isArray(e)&&"object"==typeof e}function Af(e){var t;return e?(e=sf(e)).params&&(e.params=(t=e.params)?sf(t):null):e={},e}function If(e,t,n){return{duration:e,delay:t,easing:n}}function Pf(e,t,n,i,r,s,a=null,o=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:i,duration:r,delay:s,totalTime:r+s,easing:a,subTimeline:o}}class Rf{constructor(){this._map=new Map}consume(e){let t=this._map.get(e);return t?this._map.delete(e):t=[],t}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()}}const jf=new RegExp(":enter","g"),Yf=new RegExp(":leave","g");function Ff(e,t,n,i,r,s={},a={},o,l,c=[]){return(new Nf).buildKeyframes(e,t,n,i,r,s,a,o,l,c)}class Nf{buildKeyframes(e,t,n,i,r,s,a,o,l,c=[]){l=l||new Rf;const u=new Vf(e,t,l,i,r,c,[]);u.options=o,u.currentTimeline.setStyles([s],null,u.errors,o),vf(this,n,u);const d=u.timelines.filter(e=>e.containsAnimation());if(d.length&&Object.keys(a).length){const e=d[d.length-1];e.allowOnlyTimelineStyles()||e.setStyles([a],null,u.errors,o)}return d.length?d.map(e=>e.buildKeyframes()):[Pf(t,[],[],[],0,0,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const n=t.subInstructions.consume(t.element);if(n){const i=t.createSubContext(e.options),r=t.currentTimeline.currentTime,s=this._visitSubInstructions(n,i,i.options);r!=s&&t.transformIntoNewTimeline(s)}t.previousNode=e}visitAnimateRef(e,t){const n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}_visitSubInstructions(e,t,n){let i=t.currentTimeline.currentTime;const r=null!=n.duration?tf(n.duration):null,s=null!=n.delay?tf(n.delay):null;return 0!==r&&e.forEach(e=>{const n=t.appendInstructionToTimeline(e,r,s);i=Math.max(i,n.duration+n.delay)}),i}visitReference(e,t){t.updateOptions(e.options,!0),vf(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const n=t.subContextCount;let i=t;const r=e.options;if(r&&(r.params||r.delay)&&(i=t.createSubContext(r),i.transformIntoNewTimeline(),null!=r.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Hf);const e=tf(r.delay);i.delayNextStep(e)}e.steps.length&&(e.steps.forEach(e=>vf(this,e,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const n=[];let i=t.currentTimeline.currentTime;const r=e.options&&e.options.delay?tf(e.options.delay):0;e.steps.forEach(s=>{const a=t.createSubContext(e.options);r&&a.delayNextStep(r),vf(this,s,a),i=Math.max(i,a.currentTimeline.currentTime),n.push(a.currentTimeline)}),n.forEach(e=>t.currentTimeline.mergeTimelineCollectedStyles(e)),t.transformIntoNewTimeline(i),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const n=e.strValue;return rf(t.params?ff(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const n=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),i.snapshotCurrentStyles());const r=e.style;5==r.type?this.visitKeyframes(r,t):(t.incrementTime(n.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const n=t.currentTimeline,i=t.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();const r=i&&i.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(r):n.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const n=t.currentAnimateTimings,i=t.currentTimeline.duration,r=n.duration,s=t.createSubContext().currentTimeline;s.easing=n.easing,e.styles.forEach(e=>{s.forwardTime((e.offset||0)*r),s.setStyles(e.styles,e.easing,t.errors,t.options),s.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(s),t.transformIntoNewTimeline(i+r),t.previousNode=e}visitQuery(e,t){const n=t.currentTimeline.currentTime,i=e.options||{},r=i.delay?tf(i.delay):0;r&&(6===t.previousNode.type||0==n&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Hf);let s=n;const a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=a.length;let o=null;a.forEach((n,i)=>{t.currentQueryIndex=i;const a=t.createSubContext(e.options,n);r&&a.delayNextStep(r),n===t.element&&(o=a.currentTimeline),vf(this,e.animation,a),a.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,a.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),o&&(t.currentTimeline.mergeTimelineCollectedStyles(o),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const n=t.parentContext,i=t.currentTimeline,r=e.timings,s=Math.abs(r.duration),a=s*(t.currentQueryTotal-1);let o=s*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":o=a-o;break;case"full":o=n.currentStaggerTime}const l=t.currentTimeline;o&&l.delayNextStep(o);const c=l.currentTime;vf(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=i.currentTime-c+(i.startTime-n.currentTimeline.startTime)}}const Hf={};class Vf{constructor(e,t,n,i,r,s,a,o){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=r,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Hf,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=o||new Uf(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const n=e;let i=this.options;null!=n.duration&&(i.duration=tf(n.duration)),null!=n.delay&&(i.delay=tf(n.delay));const r=n.params;if(r){let e=i.params;e||(e=this.options.params={}),Object.keys(r).forEach(n=>{t&&e.hasOwnProperty(n)||(e[n]=ff(r[n],e,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const n=e.params={};Object.keys(t).forEach(e=>{n[e]=t[e]})}}return e}createSubContext(e=null,t,n){const i=t||this.element,r=new Vf(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=Hf,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,n){const i={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},r=new Bf(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,n,i,r,s){let a=[];if(i&&a.push(this.element),e.length>0){e=(e=e.replace(jf,"."+this._enterClassName)).replace(Yf,"."+this._leaveClassName);let t=this._driver.query(this.element,e,1!=n);0!==n&&(t=n<0?t.slice(t.length+n,t.length):t.slice(0,n)),a.push(...t)}return r||0!=a.length||s.push(`\`query("${t}")\` returned zero elements. (Use \`query("${t}", { optional: true })\` if you wish to allow this.)`),a}}class Uf{constructor(e,t,n,i){this._driver=e,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),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.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new Uf(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=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||mp,this._currentKeyframe[e]=mp}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,n,i){t&&(this._previousKeyframe.easing=t);const r=i&&i.params||{},s=function(e,t){const n={};let i;return e.forEach(e=>{"*"===e?(i=i||Object.keys(t),i.forEach(e=>{n[e]=mp})):af(e,!1,n)}),n}(e,this._globalTimelineStyles);Object.keys(s).forEach(e=>{const t=ff(s[e],r,n);this._pendingStyles[e]=t,this._localTimelineStyles.hasOwnProperty(e)||(this._backFill[e]=this._globalTimelineStyles.hasOwnProperty(e)?this._globalTimelineStyles[e]:mp),this._updateStyle(e,t)})}applyStylesToKeyframe(){const e=this._pendingStyles,t=Object.keys(e);0!=t.length&&(this._pendingStyles={},t.forEach(t=>{this._currentKeyframe[t]=e[t]}),Object.keys(this._localTimelineStyles).forEach(e=>{this._currentKeyframe.hasOwnProperty(e)||(this._currentKeyframe[e]=this._localTimelineStyles[e])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(e=>{const t=this._localTimelineStyles[e];this._pendingStyles[e]=t,this._updateStyle(e,t)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){Object.keys(e._styleSummary).forEach(t=>{const n=this._styleSummary[t],i=e._styleSummary[t];(!n||i.time>n.time)&&this._updateStyle(t,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,n=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((r,s)=>{const a=af(r,!0);Object.keys(a).forEach(n=>{const i=a[n];"!"==i?e.add(n):i==mp&&t.add(n)}),n||(a.offset=s/this.duration),i.push(a)});const r=e.size?mf(e.values()):[],s=t.size?mf(t.values()):[];if(n){const e=i[0],t=sf(e);e.offset=0,t.offset=1,i=[e,t]}return Pf(this.element,i,r,s,this.duration,this.startTime,this.easing,!1)}}class Bf extends Uf{constructor(e,t,n,i,r,s,a=!1){super(e,t,s.delay),this.element=t,this.keyframes=n,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&t){const r=[],s=n+t,a=t/s,o=af(e[0],!1);o.offset=0,r.push(o);const l=af(e[0],!1);l.offset=zf(a),r.push(l);const c=e.length-1;for(let i=1;i<=c;i++){let a=af(e[i],!1);a.offset=zf((t+a.offset*n)/s),r.push(a)}n=s,t=0,i="",e=r}return Pf(this.element,e,this.preStyleProps,this.postStyleProps,n,t,i,!0)}}function zf(e,t=3){const n=Math.pow(10,t-1);return Math.round(e*n)/n}class Wf{}class qf extends Wf{normalizePropertyName(e,t){return gf(e)}normalizeStyleValue(e,t,n,i){let r="";const s=n.toString().trim();if(Kf[t]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{const t=n.match(/^[+-]?[\d\.]+([a-z]*)$/);t&&0==t[1].length&&i.push(`Please provide a CSS unit value for ${e}:${n}`)}return s+r}}const Kf=(()=>function(e){const t={};return e.forEach(e=>t[e]=!0),t}("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".split(",")))();function $f(e,t,n,i,r,s,a,o,l,c,u,d,h){return{type:0,element:e,triggerName:t,isRemovalTransition:r,fromState:n,fromStyles:s,toState:i,toStyles:a,timelines:o,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:h}}const Gf={};class Jf{constructor(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}match(e,t,n,i){return function(e,t,n,i,r){return e.some(e=>e(t,n,i,r))}(this.ast.matchers,e,t,n,i)}buildStyles(e,t,n){const i=this._stateStyles["*"],r=this._stateStyles[e],s=i?i.buildStyles(t,n):{};return r?r.buildStyles(t,n):s}build(e,t,n,i,r,s,a,o,l,c){const u=[],d=this.ast.options&&this.ast.options.params||Gf,h=this.buildStyles(n,a&&a.params||Gf,u),p=o&&o.params||Gf,f=this.buildStyles(i,p,u),m=new Set,_=new Map,g=new Map,y="void"===i,b={params:Object.assign(Object.assign({},d),p)},v=c?[]:Ff(e,t,this.ast.animation,r,s,h,f,b,l,u);let w=0;if(v.forEach(e=>{w=Math.max(e.duration+e.delay,w)}),u.length)return $f(t,this._triggerName,n,i,y,h,f,[],[],_,g,w,u);v.forEach(e=>{const n=e.element,i=Pp(_,n,{});e.preStyleProps.forEach(e=>i[e]=!0);const r=Pp(g,n,{});e.postStyleProps.forEach(e=>r[e]=!0),n!==t&&m.add(n)});const k=mf(m.values());return $f(t,this._triggerName,n,i,y,h,f,v,k,_,g,w)}}class Qf{constructor(e,t){this.styles=e,this.defaultParams=t}buildStyles(e,t){const n={},i=sf(this.defaultParams);return Object.keys(e).forEach(t=>{const n=e[t];null!=n&&(i[t]=n)}),this.styles.styles.forEach(e=>{if("string"!=typeof e){const r=e;Object.keys(r).forEach(e=>{let s=r[e];s.length>1&&(s=ff(s,i,t)),n[e]=s})}}),n}}class Xf{constructor(e,t){this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach(e=>{this.states[e.name]=new Qf(e.style,e.options&&e.options.params||{})}),Zf(this.states,"true","1"),Zf(this.states,"false","0"),t.transitions.forEach(t=>{this.transitionFactories.push(new Jf(e,t,this.states))}),this.fallbackTransition=new Jf(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[(e,t)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,n,i){return this.transitionFactories.find(r=>r.match(e,t,n,i))||null}matchStyles(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}}function Zf(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}const em=new Rf;class tm{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(e,t){const n=[],i=Lf(this._driver,t,n);if(n.length)throw new Error(`Unable to build the animation due to the following errors: ${n.join("\n")}`);this._animations[e]=i}_buildPlayer(e,t,n){const i=e.element,r=Ep(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(i,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,n={}){const i=[],r=this._animations[e];let s;const a=new Map;if(r?(s=Ff(this._driver,t,r,Gp,Jp,{},{},n,em,i),s.forEach(e=>{const t=Pp(a,e.element,{});e.postStyleProps.forEach(e=>t[e]=null)})):(i.push("The requested animation doesn't exist or has already been destroyed"),s=[]),i.length)throw new Error(`Unable to create the animation due to the following errors: ${i.join("\n")}`);a.forEach((e,t)=>{Object.keys(e).forEach(n=>{e[n]=this._driver.computeStyle(t,n,mp)})});const o=Op(s.map(e=>{const t=a.get(e.element);return this._buildPlayer(e,{},t)}));return this._playersById[e]=o,o.onDestroy(()=>this.destroy(e)),this.players.push(o),o}destroy(e){const t=this._getPlayer(e);t.destroy(),delete this._playersById[e];const n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}_getPlayer(e){const t=this._playersById[e];if(!t)throw new Error(`Unable to find the timeline player referenced by ${e}`);return t}listen(e,t,n,i){const r=Ip(t,"","","");return Tp(this._getPlayer(e),n,r,i),()=>{}}command(e,t,n,i){if("register"==n)return void this.register(e,i[0]);if("create"==n)return void this.create(e,t,i[0]||{});const r=this._getPlayer(e);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e)}}}const nm="ng-animate-queued",im="ng-animate-disabled",rm=".ng-animate-disabled",sm=[],am={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},om={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class lm{constructor(e,t=""){this.namespaceId=t;const n=e&&e.hasOwnProperty("value");if(this.value=null!=(i=n?e.value:e)?i:null,n){const t=sf(e);delete t.value,this.options=t}else this.options={};var i;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const t=e.params;if(t){const e=this.options.params;Object.keys(t).forEach(n=>{null==e[n]&&(e[n]=t[n])})}}}const cm="void",um=new lm(cm);class dm{constructor(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,ym(t,this._hostClassName)}listen(e,t,n,i){if(!this._triggers.hasOwnProperty(t))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${t}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${t}" because the provided event is undefined!`);if("start"!=(r=n)&&"done"!=r)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${t}" is not supported!`);var r;const s=Pp(this._elementListeners,e,[]),a={name:t,phase:n,callback:i};s.push(a);const o=Pp(this._engine.statesByElement,e,{});return o.hasOwnProperty(t)||(ym(e,Qp),ym(e,"ng-trigger-"+t),o[t]=um),()=>{this._engine.afterFlush(()=>{const e=s.indexOf(a);e>=0&&s.splice(e,1),this._triggers[t]||delete o[t]})}}register(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}_getTrigger(e){const t=this._triggers[e];if(!t)throw new Error(`The provided animation trigger "${e}" has not been registered!`);return t}trigger(e,t,n,i=!0){const r=this._getTrigger(t),s=new pm(this.id,t,e);let a=this._engine.statesByElement.get(e);a||(ym(e,Qp),ym(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,a={}));let o=a[t];const l=new lm(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&o&&l.absorbOptions(o.options),a[t]=l,o||(o=um),l.value!==cm&&o.value===l.value){if(!function(e,t){const n=Object.keys(e),i=Object.keys(t);if(n.length!=i.length)return!1;for(let r=0;r{uf(e,n),cf(e,i)})}return}const c=Pp(this._engine.playersByElement,e,[]);c.forEach(e=>{e.namespaceId==this.id&&e.triggerName==t&&e.queued&&e.destroy()});let u=r.matchTransition(o.value,l.value,e,l.params),d=!1;if(!u){if(!i)return;u=r.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:u,fromState:o,toState:l,player:s,isFallbackTransition:d}),d||(ym(e,nm),s.onStart(()=>{bm(e,nm)})),s.onDone(()=>{let t=this.players.indexOf(s);t>=0&&this.players.splice(t,1);const n=this._engine.playersByElement.get(e);if(n){let e=n.indexOf(s);e>=0&&n.splice(e,1)}}),this.players.push(s),c.push(s),s}deregister(e){delete this._triggers[e],this._engine.statesByElement.forEach((t,n)=>{delete t[e]}),this._elementListeners.forEach((t,n)=>{this._elementListeners.set(n,t.filter(t=>t.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(e=>e.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const n=this._engine.driver.query(e,Xp,!0);n.forEach(e=>{if(e.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(e);n.size?n.forEach(n=>n.triggerLeaveAnimation(e,t,!1,!0)):this.clearElementCache(e)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(e=>this.clearElementCache(e)))}triggerLeaveAnimation(e,t,n,i){const r=this._engine.statesByElement.get(e);if(r){const s=[];if(Object.keys(r).forEach(t=>{if(this._triggers[t]){const n=this.trigger(e,t,cm,i);n&&s.push(n)}}),s.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&Op(s).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e);if(t){const n=new Set;t.forEach(t=>{const i=t.name;if(n.has(i))return;n.add(i);const r=this._triggers[i].fallbackTransition,s=this._engine.statesByElement.get(e)[i]||um,a=new lm(cm),o=new pm(this.id,i,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:i,transition:r,fromState:s,toState:a,player:o,isFallbackTransition:!0})})}}removeNode(e,t){const n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let i=!1;if(n.totalAnimations){const t=n.players.length?n.playersByQueriedElement.get(e):[];if(t&&t.length)i=!0;else{let t=e;for(;t=t.parentNode;)if(n.statesByElement.get(t)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)n.markElementAsRemoved(this.id,e,!1,t);else{const i=e.__ng_removed;i&&i!==am||(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,t))}}insertNode(e,t){ym(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(n=>{const i=n.player;if(i.destroyed)return;const r=n.element,s=this._elementListeners.get(r);s&&s.forEach(t=>{if(t.name==n.triggerName){const i=Ip(r,n.triggerName,n.fromState.value,n.toState.value);i._data=e,Tp(n.player,t.phase,i,t.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(n)}),this._queue=[],t.sort((e,t)=>{const n=e.transition.ast.depCount,i=t.transition.ast.depCount;return 0==n||0==i?n-i:this._engine.driver.containsElement(e.element,t.element)?1:-1})}destroy(e){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(t=>t.element===e)||t,t}}class hm{constructor(e,t,n){this.bodyNode=e,this.driver=t,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(e,t)=>{}}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(t=>{t.queued&&e.push(t)})}),e}createNamespace(e,t){const n=new dm(e,t,this);return t.parentNode?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,t){const n=this._namespaceList.length-1;if(n>=0){let i=!1;for(let r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,t)){this._namespaceList.splice(r+1,0,e),i=!0;break}i||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.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 i=this._namespaceLookup[e];i&&i.register(t,n)&&this.totalAnimations++}destroy(e,t){if(!e)return;const n=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[e];const t=this._namespaceList.indexOf(n);t>=0&&this._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(()=>n.destroy(t))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,n=this.statesByElement.get(e);if(n){const e=Object.keys(n);for(let i=0;i=0&&this.collectedLeaveElements.splice(e,1)}if(e){const i=this._fetchNamespace(e);i&&i.insertNode(t,n)}i&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),ym(e,im)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),bm(e,im))}removeNode(e,t,n,i){if(fm(t)){const r=e?this._fetchNamespace(e):null;if(r?r.removeNode(t,i):this.markElementAsRemoved(e,t,!1,i),n){const n=this.namespacesByHostElement.get(t);n&&n.id!==e&&n.removeNode(t,i)}}else this._onRemovalComplete(t,i)}markElementAsRemoved(e,t,n,i){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}listen(e,t,n,i,r){return fm(t)?this._fetchNamespace(e).listen(t,n,i,r):()=>{}}_buildInstruction(e,t,n,i,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,i,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,Xp,!0);t.forEach(e=>this.destroyActiveAnimationsForElement(e)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,ef,!0),t.forEach(e=>this.finishActiveQueriedAnimationOnElement(e)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(e=>{e.queued?e.markedForDestroy=!0:e.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(e=>e.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Op(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e.__ng_removed;if(t&&t.setForRemoval){if(e.__ng_removed=am,t.namespaceId){this.destroyInnerAnimations(e);const n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}this.driver.matchesElement(e,rm)&&this.markElementAsDisabled(e,!1),this.driver.query(e,rm,!0).forEach(e=>{this.markElementAsDisabled(e,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((e,t)=>this._balanceNamespaceList(e,t)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;ne()),this._flushFns=[],this._whenQuietFns.length){const e=this._whenQuietFns;this._whenQuietFns=[],t.length?Op(t).onDone(()=>{e.forEach(e=>e())}):e.forEach(e=>e())}}reportError(e){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${e.join("\n")}`)}_flushAnimations(e,t){const n=new Rf,i=[],r=new Map,s=[],a=new Map,o=new Map,l=new Map,c=new Set;this.disabledNodes.forEach(e=>{c.add(e);const t=this.driver.query(e,".ng-animate-queued",!0);for(let n=0;n{const n=Gp+f++;p.set(t,n),e.forEach(e=>ym(e,n))});const m=[],_=new Set,g=new Set;for(let E=0;E_.add(e)):g.add(e))}const y=new Map,b=gm(d,Array.from(_));b.forEach((e,t)=>{const n=Jp+f++;y.set(t,n),e.forEach(e=>ym(e,n))}),e.push(()=>{h.forEach((e,t)=>{const n=p.get(t);e.forEach(e=>bm(e,n))}),b.forEach((e,t)=>{const n=y.get(t);e.forEach(e=>bm(e,n))}),m.forEach(e=>{this.processLeaveNode(e)})});const v=[],w=[];for(let E=this._namespaceList.length-1;E>=0;E--)this._namespaceList[E].drainQueuedTransitions(t).forEach(e=>{const t=e.player,r=e.element;if(v.push(t),this.collectedEnterElements.length){const e=r.__ng_removed;if(e&&e.setForMove)return void t.destroy()}const c=!u||!this.driver.containsElement(u,r),d=y.get(r),h=p.get(r),f=this._buildInstruction(e,n,h,d,c);if(f.errors&&f.errors.length)w.push(f);else{if(c)return t.onStart(()=>uf(r,f.fromStyles)),t.onDestroy(()=>cf(r,f.toStyles)),void i.push(t);if(e.isFallbackTransition)return t.onStart(()=>uf(r,f.fromStyles)),t.onDestroy(()=>cf(r,f.toStyles)),void i.push(t);f.timelines.forEach(e=>e.stretchStartingKeyframe=!0),n.append(r,f.timelines),s.push({instruction:f,player:t,element:r}),f.queriedElements.forEach(e=>Pp(a,e,[]).push(t)),f.preStyleProps.forEach((e,t)=>{const n=Object.keys(e);if(n.length){let e=o.get(t);e||o.set(t,e=new Set),n.forEach(t=>e.add(t))}}),f.postStyleProps.forEach((e,t)=>{const n=Object.keys(e);let i=l.get(t);i||l.set(t,i=new Set),n.forEach(e=>i.add(e))})}});if(w.length){const e=[];w.forEach(t=>{e.push(`@${t.triggerName} has failed due to:\n`),t.errors.forEach(t=>e.push(`- ${t}\n`))}),v.forEach(e=>e.destroy()),this.reportError(e)}const k=new Map,S=new Map;s.forEach(e=>{const t=e.element;n.has(t)&&(S.set(t,t),this._beforeAnimationBuild(e.player.namespaceId,e.instruction,k))}),i.forEach(e=>{const t=e.element;this._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(e=>{Pp(k,t,[]).push(e),e.destroy()})});const C=m.filter(e=>km(e,o,l)),x=new Map;_m(x,this.driver,g,l,mp).forEach(e=>{km(e,o,l)&&C.push(e)});const M=new Map;h.forEach((e,t)=>{_m(M,this.driver,new Set(e),o,"!")}),C.forEach(e=>{const t=x.get(e),n=M.get(e);x.set(e,Object.assign(Object.assign({},t),n))});const D=[],L=[],O={};s.forEach(e=>{const{element:t,player:s,instruction:a}=e;if(n.has(t)){if(c.has(t))return s.onDestroy(()=>cf(t,a.toStyles)),s.disabled=!0,s.overrideTotalTime(a.totalTime),void i.push(s);let e=O;if(S.size>1){let n=t;const i=[];for(;n=n.parentNode;){const t=S.get(n);if(t){e=t;break}i.push(n)}i.forEach(t=>S.set(t,e))}const n=this._buildAnimation(s.namespaceId,a,k,r,M,x);if(s.setRealPlayer(n),e===O)D.push(s);else{const t=this.playersByElement.get(e);t&&t.length&&(s.parentPlayer=Op(t)),i.push(s)}}else uf(t,a.fromStyles),s.onDestroy(()=>cf(t,a.toStyles)),L.push(s),c.has(t)&&i.push(s)}),L.forEach(e=>{const t=r.get(e.element);if(t&&t.length){const n=Op(t);e.setRealPlayer(n)}}),i.forEach(e=>{e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(let E=0;E!e.destroyed);i.length?vm(this,e,i):this.processLeaveNode(e)}return m.length=0,D.forEach(e=>{this.players.push(e),e.onDone(()=>{e.destroy();const t=this.players.indexOf(e);this.players.splice(t,1)}),e.play()}),D}elementContainsData(e,t){let n=!1;const i=t.__ng_removed;return i&&i.setForRemoval&&(n=!0),this.playersByElement.has(t)&&(n=!0),this.playersByQueriedElement.has(t)&&(n=!0),this.statesByElement.has(t)&&(n=!0),this._fetchNamespace(e).elementContainsData(t)||n}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,n,i,r){let s=[];if(t){const t=this.playersByQueriedElement.get(e);t&&(s=t)}else{const t=this.playersByElement.get(e);if(t){const e=!r||r==cm;t.forEach(t=>{t.queued||(e||t.triggerName==i)&&s.push(t)})}}return(n||i)&&(s=s.filter(e=>!(n&&n!=e.namespaceId||i&&i!=e.triggerName))),s}_beforeAnimationBuild(e,t,n){const i=t.element,r=t.isRemovalTransition?void 0:e,s=t.isRemovalTransition?void 0:t.triggerName;for(const a of t.timelines){const e=a.element,o=e!==i,l=Pp(n,e,[]);this._getPreviousPlayers(e,o,r,s,t.toState).forEach(e=>{const t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),l.push(e)})}uf(i,t.fromStyles)}_buildAnimation(e,t,n,i,r,s){const a=t.triggerName,o=t.element,l=[],c=new Set,u=new Set,d=t.timelines.map(t=>{const d=t.element;c.add(d);const h=d.__ng_removed;if(h&&h.removedBeforeQueried)return new Mp(t.duration,t.delay);const p=d!==o,f=function(e){const t=[];return wm(e,t),t}((n.get(d)||sm).map(e=>e.getRealPlayer())).filter(e=>!!e.element&&e.element===d),m=r.get(d),_=s.get(d),g=Ep(0,this._normalizer,0,t.keyframes,m,_),y=this._buildPlayer(t,g,f);if(t.subTimeline&&i&&u.add(d),p){const t=new pm(e,a,d);t.setRealPlayer(y),l.push(t)}return y});l.forEach(e=>{Pp(this.playersByQueriedElement,e.element,[]).push(e),e.onDone(()=>function(e,t,n){let i;if(e instanceof Map){if(i=e.get(t),i){if(i.length){const e=i.indexOf(n);i.splice(e,1)}0==i.length&&e.delete(t)}}else if(i=e[t],i){if(i.length){const e=i.indexOf(n);i.splice(e,1)}0==i.length&&delete e[t]}return i}(this.playersByQueriedElement,e.element,e))}),c.forEach(e=>ym(e,Zp));const h=Op(d);return h.onDestroy(()=>{c.forEach(e=>bm(e,Zp)),cf(o,t.toStyles)}),u.forEach(e=>{Pp(i,e,[]).push(h)}),h}_buildPlayer(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new Mp(e.duration,e.delay)}}class pm{constructor(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new Mp,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(t=>{this._queuedCallbacks[t].forEach(n=>Tp(e,t,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){Pp(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&&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){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function fm(e){return e&&1===e.nodeType}function mm(e,t){const n=e.style.display;return e.style.display=null!=t?t:"none",n}function _m(e,t,n,i,r){const s=[];n.forEach(e=>s.push(mm(e)));const a=[];i.forEach((n,i)=>{const s={};n.forEach(e=>{const n=s[e]=t.computeStyle(i,e,r);n&&0!=n.length||(i.__ng_removed=om,a.push(i))}),e.set(i,s)});let o=0;return n.forEach(e=>mm(e,s[o++])),a}function gm(e,t){const n=new Map;if(e.forEach(e=>n.set(e,[])),0==t.length)return n;const i=new Set(t),r=new Map;function s(e){if(!e)return 1;let t=r.get(e);if(t)return t;const a=e.parentNode;return t=n.has(a)?a:i.has(a)?1:s(a),r.set(e,t),t}return t.forEach(e=>{const t=s(e);1!==t&&n.get(t).push(e)}),n}function ym(e,t){if(e.classList)e.classList.add(t);else{let n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function bm(e,t){if(e.classList)e.classList.remove(t);else{let n=e.$$classes;n&&delete n[t]}}function vm(e,t,n){Op(n).onDone(()=>e.processLeaveNode(t))}function wm(e,t){for(let n=0;nr.add(e)):t.set(e,i),n.delete(e),!0}class Sm{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=(e,t)=>{},this._transitionEngine=new hm(e,t,n),this._timelineEngine=new tm(e,t,n),this._transitionEngine.onRemovalComplete=(e,t)=>this.onRemovalComplete(e,t)}registerTrigger(e,t,n,i,r){const s=e+"-"+i;let a=this._triggerCache[s];if(!a){const e=[],t=Lf(this._driver,r,e);if(e.length)throw new Error(`The animation trigger "${i}" has failed to build due to the following errors:\n - ${e.join("\n - ")}`);a=function(e,t){return new Xf(e,t)}(i,t),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(t,i,a)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,n,i){this._transitionEngine.insertNode(e,t,n,i)}onRemove(e,t,n,i){this._transitionEngine.removeNode(e,t,i||!1,n)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,n,i){if("@"==n.charAt(0)){const[e,r]=Rp(n);this._timelineEngine.command(e,t,r,i)}else this._transitionEngine.trigger(e,t,n,i)}listen(e,t,n,i,r){if("@"==n.charAt(0)){const[e,i]=Rp(n);return this._timelineEngine.listen(e,t,i,r)}return this._transitionEngine.listen(e,t,n,i,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Cm(e,t){let n=null,i=null;return Array.isArray(t)&&t.length?(n=Mm(t[0]),t.length>1&&(i=Mm(t[t.length-1]))):t&&(n=Mm(t)),n||i?new xm(e,n,i):null}let xm=(()=>{class e{constructor(t,n,i){this._element=t,this._startStyles=n,this._endStyles=i,this._state=0;let r=e.initialStylesByElement.get(t);r||e.initialStylesByElement.set(t,r={}),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&cf(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(cf(this._element,this._initialStyles),this._endStyles&&(cf(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(uf(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(uf(this._element,this._endStyles),this._endStyles=null),cf(this._element,this._initialStyles),this._state=3)}}return e.initialStylesByElement=new WeakMap,e})();function Mm(e){let t=null;const n=Object.keys(e);for(let i=0;ithis._handleCallback(e)}apply(){!function(e,t){const n=jm(e,"").trim();n.length&&(function(e,t){let n=0;for(let i=0;i=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Pm(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,t){const n=jm(e,"").split(","),i=Im(n,t);i>=0&&(n.splice(i,1),Rm(e,"",n.join(",")))}(this._element,this._name))}}function Tm(e,t,n){Rm(e,"PlayState",n,Am(e,t))}function Am(e,t){const n=jm(e,"");return n.indexOf(",")>0?Im(n.split(","),t):Im([n],t)}function Im(e,t){for(let n=0;n=0)return n;return-1}function Pm(e,t,n){n?e.removeEventListener(Om,t):e.addEventListener(Om,t)}function Rm(e,t,n,i){const r=Lm+t;if(null!=i){const t=e.style[r];if(t.length){const e=t.split(",");e[i]=n,n=e.join(",")}}e.style[r]=n}function jm(e,t){return e.style[Lm+t]||""}class Ym{constructor(e,t,n,i,r,s,a,o){this.element=e,this.keyframes=t,this.animationName=n,this._duration=i,this._delay=r,this._finalStyles=a,this._specialStyles=o,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=s||"linear",this.totalTime=i+r,this._buildStyler()}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(e=>e()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(e){this._styler.setPosition(e)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new Em(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}beforeDestroy(){this.init();const e={};if(this.hasStarted()){const t=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(e[n]=t?this._finalStyles[n]:wf(this.element,n))})}this.currentSnapshot=e}}class Fm extends Mp{constructor(e,t){super(),this.element=e,this._startingStyles={},this.__initialized=!1,this._styles=qp(t)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(e=>{this._startingStyles[e]=this.element.style[e]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(e=>this.element.style.setProperty(e,this._styles[e])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(e=>{const t=this._startingStyles[e];t?this.element.style.setProperty(e,t):this.element.style.removeProperty(e)}),this._startingStyles=null,super.destroy())}}class Nm{constructor(){this._count=0,this._head=document.querySelector("head")}validateStyleProperty(e){return Up(e)}matchesElement(e,t){return Bp(e,t)}containsElement(e,t){return zp(e,t)}query(e,t,n){return Wp(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}buildKeyframeElement(e,t,n){n=n.map(e=>qp(e));let i=`@keyframes ${t} {\n`,r="";n.forEach(e=>{r=" ";const t=parseFloat(e.offset);i+=`${r}${100*t}% {\n`,r+=" ",Object.keys(e).forEach(t=>{const n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(i+=`${r}animation-timing-function: ${n};\n`));default:return void(i+=`${r}${t}: ${n};\n`)}}),i+=`${r}}\n`}),i+="}\n";const s=document.createElement("style");return s.textContent=i,s}animate(e,t,n,i,r,s=[],a){const o=s.filter(e=>e instanceof Ym),l={};yf(n,i)&&o.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const c=function(e){let t={};return e&&(Array.isArray(e)?e:[e]).forEach(e=>{Object.keys(e).forEach(n=>{"offset"!=n&&"easing"!=n&&(t[n]=e[n])})}),t}(t=bf(e,t,l));if(0==n)return new Fm(e,c);const u="gen_css_kf_"+this._count++,d=this.buildKeyframeElement(e,u,t);document.querySelector("head").appendChild(d);const h=Cm(e,t),p=new Ym(e,t,u,n,i,r,c,h);return p.onDestroy(()=>{var e;(e=d).parentNode.removeChild(e)}),p}}class Hm{constructor(e,t,n,i){this.element=e,this.keyframes=t,this.options=n,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},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;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(e,t,n){return e.animate(t,n)}onStart(e){this._onStartFns.push(e)}onDone(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}_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.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(t=>{"offset"!=t&&(e[t]=this._finished?this._finalKeyframe[t]:wf(this.element,t))}),this.currentSnapshot=e}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class Vm{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Um().toString()),this._cssKeyframesDriver=new Nm}validateStyleProperty(e){return Up(e)}matchesElement(e,t){return Bp(e,t)}containsElement(e,t){return zp(e,t)}query(e,t,n){return Wp(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}overrideWebAnimationsSupport(e){this._isNativeImpl=e}animate(e,t,n,i,r,s=[],a){if(!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,i,r,s);const o={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(o.easing=r);const l={},c=s.filter(e=>e instanceof Hm);yf(n,i)&&c.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const u=Cm(e,t=bf(e,t=t.map(e=>af(e,!1)),l));return new Hm(e,t,o,u)}}function Um(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}let Bm=(()=>{class e extends fp{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:Ce.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(e)?yp(e):e;return qm(this._renderer,null,t,"register",[n]),new zm(t,this._renderer)}}return e.\u0275fac=function(t){return new(t||e)(gi(il),gi(Tu))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();class zm extends class{}{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new Wm(this._id,e,t||{},this._renderer)}}class Wm{constructor(e,t,n,i){this.id=e,this.element=t,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){return qm(this._renderer,this.element,this.id,e,t)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset")}setPosition(e){this._command("setPosition",e)}getPosition(){var e,t;return null!==(t=null===(e=this._renderer.engine.players[+this.id])||void 0===e?void 0:e.getPosition())&&void 0!==t?t:0}}function qm(e,t,n,i,r){return e.setProperty(t,`@@${n}:${i}`,r)}const Km="@",$m="@.disabled";let Gm=(()=>{class e{constructor(e,t,n){this.delegate=e,this.engine=t,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(e,t)=>{t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}createRenderer(e,t){const n=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let e=this._rendererCache.get(n);return e||(e=new Jm("",n,this.engine),this._rendererCache.set(n,e)),e}const i=t.id,r=t.id+"-"+this._currentId;this._currentId++,this.engine.register(r,e);const s=t=>{Array.isArray(t)?t.forEach(s):this.engine.registerTrigger(i,r,e,t.name,t)};return t.data.animation.forEach(s),new Qm(this,r,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,n){e>=0&&et(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(e=>{const[t,n]=e;t(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return e.\u0275fac=function(t){return new(t||e)(gi(il),gi(Sm),gi(Xc))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();class Jm{constructor(e,t,n){this.namespaceId=e,this.delegate=t,this.engine=n,this.destroyNode=this.delegate.destroyNode?e=>t.destroyNode(e):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}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,i=!0){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,i)}removeChild(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)}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,i){this.delegate.setAttribute(e,t,n,i)}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,i){this.delegate.setStyle(e,t,n,i)}removeStyle(e,t,n){this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){t.charAt(0)==Km&&t==$m?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,n){return this.delegate.listen(e,t,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class Qm extends Jm{constructor(e,t,n,i){super(t,n,i),this.factory=e,this.namespaceId=t}setProperty(e,t,n){t.charAt(0)==Km?"."==t.charAt(1)&&t==$m?this.disableAnimations(e,n=void 0===n||!!n):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)}listen(e,t,n){if(t.charAt(0)==Km){const i=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e);let r=t.substr(1),s="";return r.charAt(0)!=Km&&([r,s]=function(e){const t=e.indexOf(".");return[e.substring(0,t),e.substr(t+1)]}(r)),this.engine.listen(this.namespaceId,i,r,s,e=>{this.factory.scheduleListenerCallback(e._data||-1,n,e)})}return this.delegate.listen(e,t,n)}}let Xm=(()=>{class e extends Sm{constructor(e,t,n){super(e.body,t,n)}}return e.\u0275fac=function(t){return new(t||e)(gi(Tu),gi($p),gi(Wf))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();const Zm=new Zn("AnimationModuleType"),e_=[{provide:$p,useFactory:function(){return"function"==typeof Um()?new Vm:new Nm}},{provide:Zm,useValue:"BrowserAnimations"},{provide:fp,useClass:Bm},{provide:Wf,useFactory:function(){return new qf}},{provide:Sm,useClass:Xm},{provide:il,useFactory:function(e,t,n){return new Gm(e,t,n)},deps:[_h,Sm,Xc]}];let t_=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:e_,imports:[Eh]}),e})();var n_=n("mrSG");function i_(e,t){return new y(t?n=>t.schedule(r_,0,{error:e,subscriber:n}):t=>t.error(e))}function r_({error:e,subscriber:t}){t.error(e)}function s_(e){return null!=e&&"false"!=`${e}`}function a_(e,t=0){return o_(e)?Number(e):t}function o_(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function l_(e){return Array.isArray(e)?e:[e]}function c_(e){return null==e?"":"string"==typeof e?e:`${e}px`}function u_(e){return e instanceof tl?e.nativeElement:e}function d_(e,t,n,r){return i(n)&&(r=n,n=void 0),r?d_(e,t,n).pipe(M(e=>l(e)?r(...e):r(e))):new y(i=>{h_(e,t,function(e){i.next(arguments.length>1?Array.prototype.slice.call(arguments):e)},i,n)})}function h_(e,t,n,i,r){let s;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){const i=e;e.addEventListener(t,n,r),s=()=>i.removeEventListener(t,n,r)}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){const i=e;e.on(t,n),s=()=>i.off(t,n)}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){const i=e;e.addListener(t,n),s=()=>i.removeListener(t,n)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let s=0,a=e.length;s{class e{constructor(t,n=e.now){this.SchedulerAction=t,this.now=n}schedule(e,t=0,n){return new this.SchedulerAction(this,e).schedule(n,t)}}return e.now=()=>Date.now(),e})();class __ extends m_{constructor(e,t=m_.now){super(e,()=>__.delegate&&__.delegate!==this?__.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,n){return __.delegate&&__.delegate!==this?__.delegate.schedule(e,t,n):super.schedule(e,t,n)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);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}}}let g_=1;const y_=(()=>Promise.resolve())(),b_={};function v_(e){return e in b_&&(delete b_[e],!0)}const w_={setImmediate(e){const t=g_++;return b_[t]=!0,y_.then(()=>v_(t)&&e()),t},clearImmediate(e){v_(e)}};class k_ extends f_{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,n=0){return null!==n&&n>0?super.requestAsyncId(e,t,n):(e.actions.push(this),e.scheduled||(e.scheduled=w_.setImmediate(e.flush.bind(e,null))))}recycleAsyncId(e,t,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(e,t,n);0===e.actions.length&&(w_.clearImmediate(t),e.scheduled=void 0)}}class S_ extends __{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let n,i=-1,r=t.length;e=e||t.shift();do{if(n=e.execute(e.state,e.delay))break}while(++in.lift(new D_(e,t))}class D_{constructor(e,t){this.compare=e,this.keySelector=t}call(e,t){return t.subscribe(new L_(e,this.compare,this.keySelector))}}class L_ extends f{constructor(e,t,n){super(e),this.keySelector=n,this.hasKey=!1,"function"==typeof t&&(this.compare=t)}compare(e,t){return e===t}_next(e){let t;try{const{keySelector:n}=this;t=n?n(e):e}catch(i){return this.destination.error(i)}let n=!1;if(this.hasKey)try{const{compare:e}=this;n=e(this.key,t)}catch(i){return this.destination.error(i)}else this.hasKey=!0;n||(this.key=t,this.destination.next(e))}}const O_=new __(f_);class E_{constructor(e){this.durationSelector=e}call(e,t){return t.subscribe(new T_(e,this.durationSelector))}}class T_ extends F{constructor(e,t){super(e),this.durationSelector=t,this.hasValue=!1}_next(e){if(this.value=e,this.hasValue=!0,!this.throttled){let n;try{const{durationSelector:t}=this;n=t(e)}catch(t){return this.destination.error(t)}const i=N(n,new Y(this));!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}clearThrottle(){const{value:e,hasValue:t,throttled:n}=this;n&&(this.remove(n),this.throttled=void 0,n.unsubscribe()),t&&(this.value=void 0,this.hasValue=!1,this.destination.next(e))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function A_(e){return!l(e)&&e-parseFloat(e)+1>=0}function I_(e=0,t,n){let i=-1;return A_(t)?i=Number(t)<1?1:Number(t):x(t)&&(n=t),x(n)||(n=O_),new y(t=>{const r=A_(e)?e:+e-n.now();return n.schedule(P_,r,{index:0,period:i,subscriber:t})})}function P_(e){const{index:t,period:n,subscriber:i}=e;if(i.next(t),!i.closed){if(-1===n)return i.complete();e.index=t+1,this.schedule(e,n)}}function R_(e,t=O_){return n=()=>I_(e,t),function(e){return e.lift(new E_(n))};var n}function j_(e){return t=>t.lift(new Y_(e))}class Y_{constructor(e){this.notifier=e}call(e,t){const n=new F_(e),i=N(this.notifier,new Y(n));return i&&!n.seenValue?(n.add(i),t.subscribe(n)):n}}class F_ extends F{constructor(e){super(e),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}function N_(...e){return B(1)(Th(...e))}function H_(...e){const t=e[e.length-1];return x(t)?(e.pop(),n=>N_(e,n,t)):t=>N_(e,t)}function V_(e,t){return"function"==typeof t?n=>n.pipe(V_((n,i)=>j(e(n,i)).pipe(M((e,r)=>t(n,e,i,r))))):t=>t.lift(new U_(e))}class U_{constructor(e){this.project=e}call(e,t){return t.subscribe(new B_(e,this.project))}}class B_ extends F{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(i){return void this.destination.error(i)}this._innerSub(t)}_innerSub(e){const t=this.innerSubscription;t&&t.unsubscribe();const n=new Y(this),i=this.destination;i.add(n),this.innerSubscription=N(e,n),this.innerSubscription!==n&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(e){this.destination.next(e)}}class z_ extends f_{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}schedule(e,t=0){return t>0?super.schedule(e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}execute(e,t){return t>0||this.closed?super.execute(e,t):this._execute(e,t)}requestAsyncId(e,t,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(e,t,n):e.flush(this)}}class W_ extends __{}const q_=new W_(z_),K_=new y(e=>e.complete());function $_(e){return e?function(e){return new y(t=>e.schedule(()=>t.complete()))}(e):K_}let G_,J_=(()=>{class e{constructor(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}observe(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}do(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}}accept(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}toObservable(){switch(this.kind){case"N":return Th(this.value);case"E":return i_(this.error);case"C":return $_()}throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}static createError(t){return new e("E",void 0,t)}static createComplete(){return e.completeNotification}}return e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e})();class Q_ extends f{constructor(e,t,n=0){super(e),this.scheduler=t,this.delay=n}static dispatch(e){const{notification:t,destination:n}=e;t.observe(n),this.unsubscribe()}scheduleMessage(e){this.destination.add(this.scheduler.schedule(Q_.dispatch,this.delay,new X_(e,this.destination)))}_next(e){this.scheduleMessage(J_.createNext(e))}_error(e){this.scheduleMessage(J_.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(J_.createComplete()),this.unsubscribe()}}class X_{constructor(e,t){this.notification=e,this.destination=t}}class Z_ extends S{constructor(e=Number.POSITIVE_INFINITY,t=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=e<1?1:e,this._windowTime=t<1?1:t,t===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(e){if(!this.isStopped){const t=this._events;t.push(e),t.length>this._bufferSize&&t.shift()}super.next(e)}nextTimeWindow(e){this.isStopped||(this._events.push(new eg(this._getNow(),e)),this._trimBufferThenGetEvents()),super.next(e)}_subscribe(e){const t=this._infiniteTimeWindow,n=t?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,r=n.length;let s;if(this.closed)throw new v;if(this.isStopped||this.hasError?s=d.EMPTY:(this.observers.push(e),s=new w(this,e)),i&&e.add(e=new Q_(e,i)),t)for(let a=0;at&&(s=Math.max(s,r-t)),s>0&&i.splice(0,s),i}}class eg{constructor(e,t){this.time=e,this.value=t}}try{G_="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(NU){G_=!1}let tg,ng=(()=>{class e{constructor(e){this._platformId=e,this.isBrowser=this._platformId?Jd(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!G_)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return e.\u0275fac=function(t){return new(t||e)(gi(Yc))},e.\u0275prov=le({factory:function(){return new e(gi(Yc))},token:e,providedIn:"root"}),e})(),ig=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)}}),e})();const rg=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function sg(){if(tg)return tg;if("object"!=typeof document||!document)return tg=new Set(rg),tg;let e=document.createElement("input");return tg=new Set(rg.filter(t=>(e.setAttribute("type",t),e.type===t))),tg}let ag,og,lg;function cg(e){return function(){if(null==ag&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ag=!0}))}finally{ag=ag||!1}return ag}()?e:!!e.capture}function ug(){if(null==og){if("object"!=typeof document||!document)return og=!1,og;if("scrollBehavior"in document.documentElement.style)og=!0;else{const e=Element.prototype.scrollTo;og=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return og}function dg(e){if(function(){if(null==lg){const e="undefined"!=typeof document?document.head:null;lg=!(!e||!e.createShadowRoot&&!e.attachShadow)}return lg}()){const t=e.getRootNode?e.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}const hg=new Zn("cdk-dir-doc",{providedIn:"root",factory:function(){return yi(Tu)}});let pg=(()=>{class e{constructor(e){if(this.value="ltr",this.change=new dc,e){const t=e.documentElement?e.documentElement.dir:null,n=(e.body?e.body.dir:null)||t;this.value="ltr"===n||"rtl"===n?n:"ltr"}}ngOnDestroy(){this.change.complete()}}return e.\u0275fac=function(t){return new(t||e)(gi(hg,8))},e.\u0275prov=le({factory:function(){return new e(gi(hg,8))},token:e,providedIn:"root"}),e})(),fg=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)}}),e})();function mg(e){return e&&"function"==typeof e.connect}class _g{applyChanges(e,t,n,i,r){e.forEachOperation((e,i,s)=>{let a,o;if(null==e.previousIndex){const r=n(e,i,s);a=t.createEmbeddedView(r.templateRef,r.context,r.index),o=1}else null==s?(t.remove(i),o=3):(a=t.get(i),t.move(a,s),o=2);r&&r({context:null==a?void 0:a.context,operation:o,record:e})})}detach(){}}class gg{constructor(e=!1,t,n=!0){this._multiple=e,this._emitChanges=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new S,t&&t.length&&(e?t.forEach(e=>this._markSelected(e)):this._markSelected(t[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...e){this._verifyValueAssignment(e),e.forEach(e=>this._markSelected(e)),this._emitChangeEvent()}deselect(...e){this._verifyValueAssignment(e),e.forEach(e=>this._unmarkSelected(e)),this._emitChangeEvent()}toggle(e){this.isSelected(e)?this.deselect(e):this.select(e)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(e){return this._selection.has(e)}isEmpty(){return 0===this._selection.size}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){this.isSelected(e)||(this._multiple||this._unmarkAll(),this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(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){}}let yg=(()=>{class e{constructor(){this._listeners=[]}notify(e,t){for(let n of this._listeners)n(e,t)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(t=>e!==t)}}ngOnDestroy(){this._listeners=[]}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({factory:function(){return new e},token:e,providedIn:"root"}),e})();const bg=new Zn("_ViewRepeater");let vg=(()=>{class e{constructor(e,t,n){this._ngZone=e,this._platform=t,this._scrolled=new S,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new y(t=>{this._globalSubscription||this._addGlobalListener();const n=e>0?this._scrolled.pipe(R_(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Th()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){const n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(Ih(e=>!e||n.indexOf(e)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((n,i)=>{this._scrollableContainsElement(i,e)&&t.push(i)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let n=u_(t),i=e.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>d_(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return e.\u0275fac=function(t){return new(t||e)(gi(Xc),gi(ng),gi(Tu,8))},e.\u0275prov=le({factory:function(){return new e(gi(Xc),gi(ng),gi(Tu,8))},token:e,providedIn:"root"}),e})(),wg=(()=>{class e{constructor(e,t,n){this._platform=e,this._change=new S,this._changeListener=e=>{this._change.next(e)},this._document=n,t.runOutsideAngular(()=>{if(e.isBrowser){const e=this._getWindow();e.addEventListener("resize",this._changeListener),e.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:t,height:n}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+n,right:e.left+t,height:n,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,t=this._getWindow(),n=e.documentElement,i=n.getBoundingClientRect();return{top:-i.top||e.body.scrollTop||t.scrollY||n.scrollTop||0,left:-i.left||e.body.scrollLeft||t.scrollX||n.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(R_(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return e.\u0275fac=function(t){return new(t||e)(gi(ng),gi(Xc),gi(Tu,8))},e.\u0275prov=le({factory:function(){return new e(gi(ng),gi(Xc),gi(Tu,8))},token:e,providedIn:"root"}),e})(),kg=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)}}),e})(),Sg=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[fg,ig,kg],fg,kg]}),e})();class Cg{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;null!=e&&(this._attachedHost=null,e.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(e){this._attachedHost=e}}class xg extends Cg{constructor(e,t,n,i){super(),this.component=e,this.viewContainerRef=t,this.injector=n,this.componentFactoryResolver=i}}class Mg extends Cg{constructor(e,t,n){super(),this.templateRef=e,this.viewContainerRef=t,this.context=n}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()}}class Dg extends Cg{constructor(e){super(),this.element=e instanceof tl?e.nativeElement:e}}class Lg{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){return e instanceof xg?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof Mg?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof Dg?(this._attachedPortal=e,this.attachDomPortal(e)):void 0}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)}}class Og extends Lg{constructor(e,t,n,i,r){super(),this.outletElement=e,this._componentFactoryResolver=t,this._appRef=n,this._defaultInjector=i,this.attachDomPortal=e=>{const t=e.element,n=this._document.createComment("dom-portal");t.parentNode.insertBefore(n,t),this.outletElement.appendChild(t),super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(t,n)})},this._document=r}attachComponentPortal(e){const t=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);let n;return e.viewContainerRef?(n=e.viewContainerRef.createComponent(t,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn(()=>n.destroy())):(n=t.create(e.injector||this._defaultInjector),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),n}attachTemplatePortal(e){let t=e.viewContainerRef,n=t.createEmbeddedView(e.templateRef,e.context);return n.rootNodes.forEach(e=>this.outletElement.appendChild(e)),n.detectChanges(),this.setDisposeFn(()=>{let e=t.indexOf(n);-1!==e&&t.remove(e)}),n}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(e){return e.hostView.rootNodes[0]}}let Eg=(()=>{class e extends Lg{constructor(e,t,n){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new dc,this.attachDomPortal=e=>{const t=e.element,n=this._document.createComment("dom-portal");e.setAttachedHost(this),t.parentNode.insertBefore(n,t),this._getRootNode().appendChild(t),super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(t,n)})},this._document=n}get portal(){return this._attachedPortal}set portal(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,n=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),i=t.createComponent(n,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(i.hostView.rootNodes[0]),super.setDisposeFn(()=>i.destroy()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}attachTemplatePortal(e){e.setAttachedHost(this);const t=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=t,this.attached.emit(t),t}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return e.\u0275fac=function(t){return new(t||e)(ja(Qo),ja(Hl),ja(Tu))},e.\u0275dir=qe({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[ba]}),e})(),Tg=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)}}),e})();const Ag=(()=>{function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e})();function Ig(e){return t=>0===e?$_():t.lift(new Pg(e))}class Pg{constructor(e){if(this.total=e,this.total<0)throw new Ag}call(e,t){return t.subscribe(new Rg(e,this.total))}}class Rg extends f{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}class jg{constructor(e,t){this.predicate=e,this.inclusive=t}call(e,t){return t.subscribe(new Yg(e,this.predicate,this.inclusive))}}class Yg extends f{constructor(e,t,n){super(e),this.predicate=t,this.inclusive=n,this.index=0}_next(e){const t=this.destination;let n;try{n=this.predicate(e,this.index++)}catch(i){return void t.error(i)}this.nextOrComplete(e,n)}nextOrComplete(e,t){const n=this.destination;Boolean(t)?n.next(e):(this.inclusive&&n.next(e),n.complete())}}const Fg=13,Ng=27,Hg=32,Vg=33,Ug=34,Bg=35,zg=36,Wg=37,qg=38,Kg=39,$g=40;function Gg(e,...t){return t.length?t.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}const Jg=ug();class Qg{constructor(e,t){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=c_(-this._previousScrollPosition.left),e.style.top=c_(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const e=this._document.documentElement,t=e.style,n=this._document.body.style,i=t.scrollBehavior||"",r=n.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),Jg&&(t.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Jg&&(t.scrollBehavior=i,n.scrollBehavior=r)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}}class Xg{constructor(e,t,n,i){this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=n,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef=e}enable(){if(this._scrollSubscription)return;const e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-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}}class Zg{enable(){}disable(){}attach(){}}function ey(e,t){return t.some(t=>e.bottomt.bottom||e.rightt.right)}function ty(e,t){return t.some(t=>e.topt.bottom||e.leftt.right)}class ny{constructor(e,t,n,i){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this._config=i,this._scrollSubscription=null}attach(e){this._overlayRef=e}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:n}=this._viewportRuler.getViewportSize();ey(e,[{width:t,height:n,bottom:n,right:t,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}}let iy=(()=>{class e{constructor(e,t,n,i){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this.noop=()=>new Zg,this.close=e=>new Xg(this._scrollDispatcher,this._ngZone,this._viewportRuler,e),this.block=()=>new Qg(this._viewportRuler,this._document),this.reposition=e=>new ny(this._scrollDispatcher,this._viewportRuler,this._ngZone,e),this._document=i}}return e.\u0275fac=function(t){return new(t||e)(gi(vg),gi(wg),gi(Xc),gi(Tu))},e.\u0275prov=le({factory:function(){return new e(gi(vg),gi(wg),gi(Xc),gi(Tu))},token:e,providedIn:"root"}),e})();class ry{constructor(e){if(this.scrollStrategy=new Zg,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){const t=Object.keys(e);for(const n of t)void 0!==e[n]&&(this[n]=e[n])}}}class sy{constructor(e,t,n,i,r){this.offsetX=n,this.offsetY=i,this.panelClass=r,this.originX=e.originX,this.originY=e.originY,this.overlayX=t.overlayX,this.overlayY=t.overlayY}}class ay{constructor(e,t){this.connectionPair=e,this.scrollableViewProperties=t}}let oy=(()=>{class e{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this.detach()}}return e.\u0275fac=function(t){return new(t||e)(gi(Tu))},e.\u0275prov=le({factory:function(){return new e(gi(Tu))},token:e,providedIn:"root"}),e})(),ly=(()=>{class e extends oy{constructor(e){super(e),this._keydownListener=e=>{const t=this._attachedOverlays;for(let n=t.length-1;n>-1;n--)if(t[n]._keydownEvents.observers.length>0){t[n]._keydownEvents.next(e);break}}}add(e){super.add(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return e.\u0275fac=function(t){return new(t||e)(gi(Tu))},e.\u0275prov=le({factory:function(){return new e(gi(Tu))},token:e,providedIn:"root"}),e})(),cy=(()=>{class e extends oy{constructor(e,t){super(e),this._platform=t,this._cursorStyleIsSet=!1,this._clickListener=e=>{const t=e.composedPath?e.composedPath()[0]:e.target,n=this._attachedOverlays.slice();for(let i=n.length-1;i>-1;i--){const r=n[i];if(!(r._outsidePointerEvents.observers.length<1)&&r.hasAttached()){if(r.overlayElement.contains(t))break;r._outsidePointerEvents.next(e)}}}}add(e){super.add(e),this._isAttached||(this._document.body.addEventListener("click",this._clickListener,!0),this._document.body.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=this._document.body.style.cursor,this._document.body.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("click",this._clickListener,!0),this._document.body.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}}return e.\u0275fac=function(t){return new(t||e)(gi(Tu),gi(ng))},e.\u0275prov=le({factory:function(){return new e(gi(Tu),gi(ng))},token:e,providedIn:"root"}),e})();const uy=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine);let dy=(()=>{class e{constructor(e,t){this._platform=t,this._document=e}ngOnDestroy(){const e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||uy){const t=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let e=0;ethis._backdropClick.next(e),this._keydownEvents=new S,this._outsidePointerEvents=new S,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){let t=this._portalOutlet.attach(e);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Ig(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){const e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),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&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,e&&this._detachments.next(),this._detachments.complete()}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=Object.assign(Object.assign({},this._config),e),this._updateElementSize()}setDirection(e){this._config=Object.assign(Object.assign({},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(){const e=this._config.direction;return e?"string"==typeof e?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;const e=this._pane.style;e.width=c_(this._config.width),e.height=c_(this._config.height),e.minWidth=c_(this._config.minWidth),e.minHeight=c_(this._config.minHeight),e.maxWidth=c_(this._config.maxWidth),e.maxHeight=c_(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){const e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e,t=this._backdropElement;if(!t)return;let n=()=>{t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",n),t.parentNode&&t.parentNode.removeChild(t)),this._backdropElement==t&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(t,this._config.backdropClass,!1),clearTimeout(e)};t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",n)}),t.style.pointerEvents="none",e=this._ngZone.runOutsideAngular(()=>setTimeout(n,500))}_toggleClasses(e,t,n){const i=e.classList;l_(t).forEach(e=>{e&&(n?i.add(e):i.remove(e))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const e=this._ngZone.onStable.pipe(j_(W(this._attachments,this._detachments))).subscribe(()=>{this._pane&&this._host&&0!==this._pane.children.length||(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._previousHostParent.removeChild(this._host)),e.unsubscribe())})})}_disposeScrollStrategy(){const e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}}const py="cdk-overlay-connected-position-bounding-box",fy=/([A-Za-z%]+)$/;class my{constructor(e,t,n,i,r){this._viewportRuler=t,this._document=n,this._platform=i,this._overlayContainer=r,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new S,this._resizeSubscription=d.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}get positions(){return this._preferredPositions}attach(e){this._validatePositions(),e.hostElement.classList.add(py),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)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const e=this._originRect,t=this._overlayRect,n=this._viewportRect,i=[];let r;for(let s of this._preferredPositions){let a=this._getOriginPoint(e,s),o=this._getOverlayPoint(a,t,s),l=this._getOverlayFit(o,t,n,s);if(l.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,a);this._canFitWithFlexibleDimensions(l,o,n)?i.push({position:s,origin:a,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(a,s)}):(!r||r.overlayFit.visibleAreat&&(t=i,e=n)}return this._isPushed=!1,void this._applyPosition(e.position,e.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(r.position,r.originPoint);this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&_y(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(py),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(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){let n,i;if("center"==t.originX)n=e.left+e.width/2;else{const i=this._isRtl()?e.right:e.left,r=this._isRtl()?e.left:e.right;n="start"==t.originX?i:r}return i="center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom,{x:n,y:i}}_getOverlayPoint(e,t,n){let i,r;return i="center"==n.overlayX?-t.width/2:"start"===n.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,r="center"==n.overlayY?-t.height/2:"top"==n.overlayY?0:-t.height,{x:e.x+i,y:e.y+r}}_getOverlayFit(e,t,n,i){const r=yy(t);let{x:s,y:a}=e,o=this._getOffset(i,"x"),l=this._getOffset(i,"y");o&&(s+=o),l&&(a+=l);let c=0-a,u=a+r.height-n.height,d=this._subtractOverflows(r.width,0-s,s+r.width-n.width),h=this._subtractOverflows(r.height,c,u),p=d*h;return{visibleArea:p,isCompletelyWithinViewport:r.width*r.height===p,fitsInViewportVertically:h===r.height,fitsInViewportHorizontally:d==r.width}}_canFitWithFlexibleDimensions(e,t,n){if(this._hasFlexibleDimensions){const i=n.bottom-t.y,r=n.right-t.x,s=gy(this._overlayRef.getConfig().minHeight),a=gy(this._overlayRef.getConfig().minWidth),o=e.fitsInViewportHorizontally||null!=a&&a<=r;return(e.fitsInViewportVertically||null!=s&&s<=i)&&o}return!1}_pushOverlayOnScreen(e,t,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};const i=yy(t),r=this._viewportRect,s=Math.max(e.x+i.width-r.width,0),a=Math.max(e.y+i.height-r.height,0),o=Math.max(r.top-n.top-e.y,0),l=Math.max(r.left-n.left-e.x,0);let c=0,u=0;return c=i.width<=r.width?l||-s:e.xi&&!this._isInitialRender&&!this._growAfterOpen&&(s=e.y-i/2)}if("end"===t.overlayX&&!i||"start"===t.overlayX&&i)c=n.width-e.x+this._viewportMargin,o=e.x-this._viewportMargin;else if("start"===t.overlayX&&!i||"end"===t.overlayX&&i)l=e.x,o=n.right-e.x;else{const t=Math.min(n.right-e.x+n.left,e.x),i=this._lastBoundingBoxSize.width;o=2*t,l=e.x-t,o>i&&!this._isInitialRender&&!this._growAfterOpen&&(l=e.x-i/2)}return{top:s,left:l,bottom:a,right:c,width:o,height:r}}_setBoundingBoxStyles(e,t){const 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));const i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{const e=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;i.height=c_(n.height),i.top=c_(n.top),i.bottom=c_(n.bottom),i.width=c_(n.width),i.left=c_(n.left),i.right=c_(n.right),i.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",i.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",e&&(i.maxHeight=c_(e)),r&&(i.maxWidth=c_(r))}this._lastBoundingBoxSize=n,_y(this._boundingBox.style,i)}_resetBoundingBoxStyles(){_y(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){_y(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){const n={},i=this._hasExactPosition(),r=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(i){const i=this._viewportRuler.getViewportScrollPosition();_y(n,this._getExactOverlayY(t,e,i)),_y(n,this._getExactOverlayX(t,e,i))}else n.position="static";let a="",o=this._getOffset(t,"x"),l=this._getOffset(t,"y");o&&(a+=`translateX(${o}px) `),l&&(a+=`translateY(${l}px)`),n.transform=a.trim(),s.maxHeight&&(i?n.maxHeight=c_(s.maxHeight):r&&(n.maxHeight="")),s.maxWidth&&(i?n.maxWidth=c_(s.maxWidth):r&&(n.maxWidth="")),_y(this._pane.style,n)}_getExactOverlayY(e,t,n){let i={top:"",bottom:""},r=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));let s=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=s,"bottom"===e.overlayY?i.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":i.top=c_(r.y),i}_getExactOverlayX(e,t,n){let i,r={left:"",right:""},s=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,n)),i=this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left","right"===i?r.right=this._document.documentElement.clientWidth-(s.x+this._overlayRect.width)+"px":r.left=c_(s.x),r}_getScrollVisibility(){const e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),n=this._scrollables.map(e=>e.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ty(e,n),isOriginOutsideView:ey(e,n),isOverlayClipped:ty(t,n),isOverlayOutsideView:ey(t,n)}}_subtractOverflows(e,...t){return t.reduce((e,t)=>e-Math.max(t,0),e)}_getNarrowedViewportRect(){const 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"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,t){return"x"===t?null==e.offsetX?this._offsetX:e.offsetX:null==e.offsetY?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&l_(e).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){const e=this._origin;if(e instanceof tl)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();const 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 _y(e,t){for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function gy(e){if("number"!=typeof e&&null!=e){const[t,n]=e.split(fy);return n&&"px"!==n?null:parseFloat(t)}return e||null}function yy(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}class by{constructor(e,t,n,i,r,s,a){this._preferredPositions=[],this._positionStrategy=new my(n,i,r,s,a).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(e,t),this.onPositionChange=this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(e){this._overlayRef=e,this._positionStrategy.attach(e),this._direction&&(e.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(e){this._positionStrategy.withScrollableContainers(e)}withFallbackPosition(e,t,n,i){const r=new sy(e,t,n,i);return this._preferredPositions.push(r),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(e){return this._overlayRef?this._overlayRef.setDirection(e):this._direction=e,this}withOffsetX(e){return this._positionStrategy.withDefaultOffsetX(e),this}withOffsetY(e){return this._positionStrategy.withDefaultOffsetY(e),this}withLockedPosition(e){return this._positionStrategy.withLockedPosition(e),this}withPositions(e){return this._preferredPositions=e.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(e){return this._positionStrategy.setOrigin(e),this}}const vy="cdk-global-overlay-wrapper";class wy{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(e){const 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(vy),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-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._justifyContent="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:i,height:r,maxWidth:s,maxHeight:a}=n,o=!("100%"!==i&&"100vw"!==i||s&&"100%"!==s&&"100vw"!==s),l=!("100%"!==r&&"100vh"!==r||a&&"100%"!==a&&"100vh"!==a);e.position=this._cssPosition,e.marginLeft=o?"0":this._leftOffset,e.marginTop=l?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,o?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?t.justifyContent="flex-end":"flex-end"===this._justifyContent&&(t.justifyContent="flex-start"):t.justifyContent=this._justifyContent,t.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,n=t.style;t.classList.remove(vy),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}let ky=(()=>{class e{constructor(e,t,n,i){this._viewportRuler=e,this._document=t,this._platform=n,this._overlayContainer=i}global(){return new wy}connectedTo(e,t,n){return new by(t,n,e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(e){return new my(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return e.\u0275fac=function(t){return new(t||e)(gi(wg),gi(Tu),gi(ng),gi(dy))},e.\u0275prov=le({factory:function(){return new e(gi(wg),gi(Tu),gi(ng),gi(dy))},token:e,providedIn:"root"}),e})(),Sy=0,Cy=(()=>{class e{constructor(e,t,n,i,r,s,a,o,l,c,u){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=n,this._positionBuilder=i,this._keyboardDispatcher=r,this._injector=s,this._ngZone=a,this._document=o,this._directionality=l,this._location=c,this._outsideClickDispatcher=u}create(e){const t=this._createHostElement(),n=this._createPaneElement(t),i=this._createPortalOutlet(n),r=new ry(e);return r.direction=r.direction||this._directionality.value,new hy(i,t,n,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(e){const t=this._document.createElement("div");return t.id="cdk-overlay-"+Sy++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(bu)),new Og(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return e.\u0275fac=function(t){return new(t||e)(gi(iy),gi(dy),gi(Qo),gi(ky),gi(ly),gi(ga),gi(Xc),gi(Tu),gi(pg),gi(qu),gi(cy))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();const xy=[{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"}],My=new Zn("cdk-connected-overlay-scroll-strategy");let Dy=(()=>{class e{constructor(e){this.elementRef=e}}return e.\u0275fac=function(t){return new(t||e)(ja(tl))},e.\u0275dir=qe({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),e})(),Ly=(()=>{class e{constructor(e,t,n,i,r){this._overlay=e,this._dir=r,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=d.EMPTY,this._attachSubscription=d.EMPTY,this._detachSubscription=d.EMPTY,this._positionSubscription=d.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new dc,this.positionChange=new dc,this.attach=new dc,this.detach=new dc,this.overlayKeydown=new dc,this.overlayOutsideClick=new dc,this._templatePortal=new Mg(t,n),this._scrollStrategyFactory=i,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=s_(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=s_(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=s_(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=s_(e)}get push(){return this._push}set push(e){this._push=s_(e)}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&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){this.positions&&this.positions.length||(this.positions=xy);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(e=>{this.overlayKeydown.next(e),e.keyCode!==Ng||this.disableClose||Gg(e)||(e.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(e=>{this.overlayOutsideClick.next(e)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new ry({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(t.width=this.width),(this.height||0===this.height)&&(t.height=this.height),(this.minWidth||0===this.minWidth)&&(t.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}_updatePositionStrategy(e){const t=this.positions.map(e=>({originX:e.originX,originY:e.originY,overlayX:e.overlayX,overlayY:e.overlayY,offsetX:e.offsetX||this.offsetX,offsetY:e.offsetY||this.offsetY,panelClass:e.panelClass||void 0}));return e.setOrigin(this.origin.elementRef).withPositions(t).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(e),e}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(e,t=!1){return n=>n.lift(new jg(e,t))}(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(ja(Cy),ja(Il),ja(Hl),ja(My),ja(pg,8))},e.\u0275dir=qe({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[ut]}),e})();const Oy={provide:My,deps:[Cy],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};let Ey=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[Cy,Oy],imports:[[fg,Tg,Sg],Sg]}),e})();function Ty(){}function Ay(e,t,n){return function(i){return i.lift(new Iy(e,t,n))}}class Iy{constructor(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}call(e,t){return t.subscribe(new Py(e,this.nextOrObserver,this.error,this.complete))}}class Py extends f{constructor(e,t,n,r){super(e),this._tapNext=Ty,this._tapError=Ty,this._tapComplete=Ty,this._tapError=n||Ty,this._tapComplete=r||Ty,i(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||Ty,this._tapError=t.error||Ty,this._tapComplete=t.complete||Ty)}_next(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}function Ry(e,t=O_){return n=>n.lift(new jy(e,t))}class jy{constructor(e,t){this.dueTime=e,this.scheduler=t}call(e,t){return t.subscribe(new Yy(e,this.dueTime,this.scheduler))}}class Yy extends f{constructor(e,t,n){super(e),this.dueTime=t,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(Fy,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:e}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}clearDebounce(){const e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}function Fy(e){e.debouncedNext()}let Ny=(()=>{class e{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({factory:function(){return new e},token:e,providedIn:"root"}),e})(),Hy=(()=>{class e{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){const t=u_(e);return new y(e=>{const n=this._observeElement(t).subscribe(e);return()=>{n.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const t=new S,n=this._mutationObserverFactory.create(e=>t.next(e));n&&n.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:n,stream:t,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:t,stream:n}=this._observedElements.get(e);t&&t.disconnect(),n.complete(),this._observedElements.delete(e)}}}return e.\u0275fac=function(t){return new(t||e)(gi(Ny))},e.\u0275prov=le({factory:function(){return new e(gi(Ny))},token:e,providedIn:"root"}),e})(),Vy=(()=>{class e{constructor(e,t,n){this._contentObserver=e,this._elementRef=t,this._ngZone=n,this.event=new dc,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=s_(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=a_(e),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(Ry(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(ja(Hy),ja(tl),ja(Xc))},e.\u0275dir=qe({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),e})(),Uy=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[Ny]}),e})();function By(e,t){return(e.getAttribute(t)||"").match(/\S+/g)||[]}const zy="cdk-describedby-message-container",Wy="cdk-describedby-host";let qy=0;const Ky=new Map;let $y=null,Gy=(()=>{class e{constructor(e){this._document=e}describe(e,t,n){if(!this._canBeDescribed(e,t))return;const i=Jy(t,n);"string"!=typeof t?(Qy(t),Ky.set(i,{messageElement:t,referenceCount:0})):Ky.has(i)||this._createMessageElement(t,n),this._isElementDescribedByMessage(e,i)||this._addMessageReference(e,i)}removeDescription(e,t,n){if(!t||!this._isElementNode(e))return;const i=Jy(t,n);if(this._isElementDescribedByMessage(e,i)&&this._removeMessageReference(e,i),"string"==typeof t){const e=Ky.get(i);e&&0===e.referenceCount&&this._deleteMessageElement(i)}$y&&0===$y.childNodes.length&&this._deleteMessagesContainer()}ngOnDestroy(){const e=this._document.querySelectorAll("[cdk-describedby-host]");for(let t=0;t0!=e.indexOf("cdk-describedby-message"));e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){const n=Ky.get(t);!function(e,t,n){const i=By(e,t);i.some(e=>e.trim()==n.trim())||(i.push(n.trim()),e.setAttribute(t,i.join(" ")))}(e,"aria-describedby",n.messageElement.id),e.setAttribute(Wy,""),n.referenceCount++}_removeMessageReference(e,t){const n=Ky.get(t);n.referenceCount--,function(e,t,n){const i=By(e,t).filter(e=>e!=n.trim());i.length?e.setAttribute(t,i.join(" ")):e.removeAttribute(t)}(e,"aria-describedby",n.messageElement.id),e.removeAttribute(Wy)}_isElementDescribedByMessage(e,t){const n=By(e,"aria-describedby"),i=Ky.get(t),r=i&&i.messageElement.id;return!!r&&-1!=n.indexOf(r)}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;const n=null==t?"":`${t}`.trim(),i=e.getAttribute("aria-label");return!(!n||i&&i.trim()===n)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return e.\u0275fac=function(t){return new(t||e)(gi(Tu))},e.\u0275prov=le({factory:function(){return new e(gi(Tu))},token:e,providedIn:"root"}),e})();function Jy(e,t){return"string"==typeof e?`${t||""}/${e}`:e}function Qy(e){e.id||(e.id="cdk-describedby-message-"+qy++)}class Xy{constructor(e){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new S,this._typeaheadSubscription=d.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new S,this.change=new S,e instanceof pc&&e.changes.subscribe(e=>{if(this._activeItem){const t=e.toArray().indexOf(this._activeItem);t>-1&&t!==this._activeItemIndex&&(this._activeItemIndex=t)}})}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){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Ay(e=>this._pressedLetters.push(e)),Ry(e),Ih(()=>this._pressedLetters.length>0),M(()=>this._pressedLetters.join(""))).subscribe(e=>{const t=this._getItemsArray();for(let n=1;n!e[t]||this._allowedModifierKeys.indexOf(t)>-1);switch(t){case 9:return void this.tabOut.next();case $g:if(this._vertical&&n){this.setNextItemActive();break}return;case qg:if(this._vertical&&n){this.setPreviousItemActive();break}return;case Kg:if(this._horizontal&&n){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case Wg:if(this._horizontal&&n){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case zg:if(this._homeAndEnd&&n){this.setFirstItemActive();break}return;case Bg:if(this._homeAndEnd&&n){this.setLastItemActive();break}return;default:return void((n||Gg(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(t>=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))))}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.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){const t=this._getItemsArray(),n="number"==typeof e?e:t.indexOf(e),i=t[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){const t=this._getItemsArray();for(let n=1;n<=t.length;n++){const i=(this._activeItemIndex+e*n+t.length)%t.length;if(!this._skipPredicateFn(t[i]))return void this.setActiveItem(i)}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,t){const n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(!n[e+=t])return;this.setActiveItem(e)}}_getItemsArray(){return this._items instanceof pc?this._items.toArray():this._items}}class Zy extends Xy{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}}class eb extends Xy{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}}let tb=(()=>{class e{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const t=function(e){try{return e.frameElement}catch(NU){return null}}((n=e).ownerDocument&&n.ownerDocument.defaultView||window);var n;if(t){if(-1===ib(t))return!1;if(!this.isVisible(t))return!1}let i=e.nodeName.toLowerCase(),r=ib(e);return e.hasAttribute("contenteditable")?-1!==r:"iframe"!==i&&"object"!==i&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(e){let t=e.nodeName.toLowerCase(),n="input"===t&&e.type;return"text"===n||"password"===n||"select"===t||"textarea"===t}(e))&&("audio"===i?!!e.hasAttribute("controls")&&-1!==r:"video"===i?-1!==r&&(null!==r||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,t){return function(e){return!function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function(e){let t=e.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(e)||function(e){return function(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||nb(e))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}return e.\u0275fac=function(t){return new(t||e)(gi(ng))},e.\u0275prov=le({factory:function(){return new e(gi(ng))},token:e,providedIn:"root"}),e})();function nb(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;let t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function ib(e){if(!nb(e))return null;const t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}class rb{constructor(e,t,n,i,r=!1){this._element=e,this._checker=t,this._ngZone=n,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,r||this.attachAnchors()}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))}destroy(){const e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),t&&(t.removeEventListener("focus",this.endAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(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(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement()))})}_getRegionBoundary(e){let t=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);for(let n=0;n=0;n--){let e=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(e)return e}return null}_createAnchor(){const 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._ngZone.isStable?e():this._ngZone.onStable.pipe(Ig(1)).subscribe(e)}}let sb=(()=>{class e{constructor(e,t,n){this._checker=e,this._ngZone=t,this._document=n}create(e,t=!1){return new rb(e,this._checker,this._ngZone,this._document,t)}}return e.\u0275fac=function(t){return new(t||e)(gi(tb),gi(Xc),gi(Tu))},e.\u0275prov=le({factory:function(){return new e(gi(tb),gi(Xc),gi(Tu))},token:e,providedIn:"root"}),e})(),ab=(()=>{class e{constructor(e,t,n){this._elementRef=e,this._focusTrapFactory=t,this._previouslyFocusedElement=null,this._document=n,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(e){this.focusTrap.enabled=s_(e)}get autoCapture(){return this._autoCapture}set autoCapture(e){this._autoCapture=s_(e)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(e){const t=e.autoCapture;t&&!t.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady()}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(sb),ja(Tu))},e.\u0275dir=qe({type:e,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[ut]}),e})();"undefined"!=typeof Element&∈const ob=new Zn("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),lb=new Zn("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let cb=(()=>{class e{constructor(e,t,n,i){this._ngZone=t,this._defaultOptions=i,this._document=n,this._liveElement=e||this._createLiveElement()}announce(e,...t){const n=this._defaultOptions;let i,r;return 1===t.length&&"number"==typeof t[0]?r=t[0]:[i,r]=t,this.clear(),clearTimeout(this._previousTimeout),i||(i=n&&n.politeness?n.politeness:"polite"),null==r&&n&&(r=n.duration),this._liveElement.setAttribute("aria-live",i),this._ngZone.runOutsideAngular(()=>new Promise(t=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,t(),"number"==typeof r&&(this._previousTimeout=setTimeout(()=>this.clear(),r))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}_createLiveElement(){const e="cdk-live-announcer-element",t=this._document.getElementsByClassName(e),n=this._document.createElement("div");for(let i=0;i{class e{constructor(e,t,n,i){this._elementRef=e,this._liveAnnouncer=t,this._contentObserver=n,this._ngZone=i,this._politeness="polite"}get politeness(){return this._politeness}set politeness(e){this._politeness="off"===e||"assertive"===e?e:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const e=this._elementRef.nativeElement.textContent;e!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(e,this._politeness),this._previousAnnouncedText=e)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(cb),ja(Hy),ja(Xc))},e.\u0275dir=qe({type:e,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),e})();function db(e){return 0===e.buttons}const hb=new Zn("cdk-focus-monitor-default-options"),pb=cg({passive:!0,capture:!0});let fb=(()=>{class e{constructor(e,t,n,i){this._ngZone=e,this._platform=t,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=e=>{if(!this._lastTouchTarget){const t=db(e)?"keyboard":"mouse";this._setOriginForCurrentEventQueue(t)}},this._documentTouchstartListener=e=>{!function(e){const t=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}(e)?(null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=mb(e),this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650)):this._lastTouchTarget||this._setOriginForCurrentEventQueue("keyboard")},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._rootNodeFocusAndBlurListener=e=>{const t=mb(e),n="focus"===e.type?this._onFocus:this._onBlur;for(let i=t;i;i=i.parentElement)n.call(this,e,i)},this._document=n,this._detectionMode=(null==i?void 0:i.detectionMode)||0}monitor(e,t=!1){const n=u_(e);if(!this._platform.isBrowser||1!==n.nodeType)return Th(null);const i=dg(n)||this._getDocument(),r=this._elementInfo.get(n);if(r)return t&&(r.checkChildren=!0),r.subject;const s={checkChildren:t,subject:new S,rootNode:i};return this._elementInfo.set(n,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){const t=u_(e),n=this._elementInfo.get(t);n&&(n.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(n))}focusVia(e,t,n){const i=u_(e);i===this._getDocument().activeElement?this._getClosestElementsInfo(i).forEach(([e,n])=>this._originChanged(e,t,n)):(this._setOriginForCurrentEventQueue(t),"function"==typeof i.focus&&i.focus(n))}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(e,t,n){n?e.classList.add(t):e.classList.remove(t)}_getFocusOrigin(e){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"}_setClasses(e,t){this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t)}_setOriginForCurrentEventQueue(e){this._ngZone.runOutsideAngular(()=>{this._origin=e,0===this._detectionMode&&(this._originTimeoutId=setTimeout(()=>this._origin=null,1))})}_wasCausedByTouch(e){const t=mb(e);return this._lastTouchTarget instanceof Node&&t instanceof Node&&(t===this._lastTouchTarget||t.contains(this._lastTouchTarget))}_onFocus(e,t){const n=this._elementInfo.get(t);n&&(n.checkChildren||t===mb(e))&&this._originChanged(t,this._getFocusOrigin(e),n)}_onBlur(e,t){const n=this._elementInfo.get(t);!n||n.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(n.subject,null))}_emitOrigin(e,t){this._ngZone.run(()=>e.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const t=e.rootNode,n=this._rootNodeFocusListenerCount.get(t)||0;n||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,pb),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,pb)}),this._rootNodeFocusListenerCount.set(t,n+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(()=>{const e=this._getDocument(),t=this._getWindow();e.addEventListener("keydown",this._documentKeydownListener,pb),e.addEventListener("mousedown",this._documentMousedownListener,pb),e.addEventListener("touchstart",this._documentTouchstartListener,pb),t.addEventListener("focus",this._windowFocusListener)})}_removeGlobalListeners(e){const t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){const e=this._rootNodeFocusListenerCount.get(t);e>1?this._rootNodeFocusListenerCount.set(t,e-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,pb),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,pb),this._rootNodeFocusListenerCount.delete(t))}if(!--this._monitoredElementCount){const e=this._getDocument(),t=this._getWindow();e.removeEventListener("keydown",this._documentKeydownListener,pb),e.removeEventListener("mousedown",this._documentMousedownListener,pb),e.removeEventListener("touchstart",this._documentTouchstartListener,pb),t.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}_originChanged(e,t,n){this._setClasses(e,t),this._emitOrigin(n.subject,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){const t=[];return this._elementInfo.forEach((n,i)=>{(i===e||n.checkChildren&&i.contains(e))&&t.push([i,n])}),t}}return e.\u0275fac=function(t){return new(t||e)(gi(Xc),gi(ng),gi(Tu,8),gi(hb,8))},e.\u0275prov=le({factory:function(){return new e(gi(Xc),gi(ng),gi(Tu,8),gi(hb,8))},token:e,providedIn:"root"}),e})();function mb(e){return e.composedPath?e.composedPath()[0]:e.target}let _b=(()=>{class e{constructor(e,t){this._elementRef=e,this._focusMonitor=t,this.cdkFocusChange=new dc}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(e=>this.cdkFocusChange.emit(e))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(fb))},e.\u0275dir=qe({type:e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),e})();const gb="cdk-high-contrast-black-on-white",yb="cdk-high-contrast-white-on-black",bb="cdk-high-contrast-active";let vb=(()=>{class e{constructor(e,t){this._platform=e,this._document=t}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const t=this._document.defaultView||window,n=t&&t.getComputedStyle?t.getComputedStyle(e):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(e),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(bb),e.remove(gb),e.remove(yb);const t=this.getHighContrastMode();1===t?(e.add(bb),e.add(gb)):2===t&&(e.add(bb),e.add(yb))}}}return e.\u0275fac=function(t){return new(t||e)(gi(ng),gi(Tu))},e.\u0275prov=le({factory:function(){return new e(gi(ng),gi(Tu))},token:e,providedIn:"root"}),e})(),wb=(()=>{class e{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)(gi(vb))},imports:[[ig,Uy]]}),e})();const kb=new ol("11.2.4"),Sb=["*",[["mat-option"],["ng-container"]]],Cb=["*","mat-option, ng-container"];function xb(e,t){if(1&e&&Va(0,"mat-pseudo-checkbox",4),2&e){const e=eo();Ya("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function Mb(e,t){if(1&e&&(Na(0,"span",5),Mo(1),Ha()),2&e){const e=eo();rs(1),Lo("(",e.group.label,")")}}const Db=["*"];let Lb=(()=>{class e{}return e.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",e.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",e.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",e.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",e})(),Ob=(()=>{class e{}return e.COMPLEX="375ms",e.ENTERING="225ms",e.EXITING="195ms",e})();const Eb=new ol("11.1.1"),Tb=new Zn("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let Ab=(()=>{class e{constructor(e,t,n){this._hasDoneGlobalChecks=!1,this._document=n,e._applyBodyHighContrastModeCssClasses(),this._sanityChecks=t,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_getWindow(){const e=this._document.defaultView||window;return"object"==typeof e&&e?e:null}_checksAreEnabled(){return hu()&&!this._isTestEnv()}_isTestEnv(){const e=this._getWindow();return e&&(e.__karma__||e.jasmine)}_checkDoctypeIsDefined(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){if(!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme||!this._document.body||"function"!=typeof getComputedStyle)return;const e=this._document.createElement("div");e.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(e);const t=getComputedStyle(e);t&&"none"!==t.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(e)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&Eb.full!==kb.full&&console.warn("The Angular Material version ("+Eb.full+") does not match the Angular CDK version ("+kb.full+").\nPlease ensure the versions of these two packages exactly match.")}}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)(gi(vb),gi(Tb,8),gi(Tu))},imports:[[fg],fg]}),e})();function Ib(e){return class extends e{constructor(...e){super(...e),this._disabled=!1}get disabled(){return this._disabled}set disabled(e){this._disabled=s_(e)}}}function Pb(e,t){return class extends e{constructor(...e){super(...e),this.defaultColor=t,this.color=t}get color(){return this._color}set color(e){const t=e||this.defaultColor;t!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),t&&this._elementRef.nativeElement.classList.add(`mat-${t}`),this._color=t)}}}function Rb(e){return class extends e{constructor(...e){super(...e),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=s_(e)}}}function jb(e,t=0){return class extends e{constructor(...e){super(...e),this._tabIndex=t,this.defaultTabIndex=t}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?a_(e):this.defaultTabIndex}}}function Yb(e){return class extends e{constructor(...e){super(...e),this.errorState=!1,this.stateChanges=new S}updateErrorState(){const e=this.errorState,t=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);t!==e&&(this.errorState=t,this.stateChanges.next())}}}function Fb(e){return class extends e{constructor(...e){super(...e),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new y(e=>{this._isInitialized?this._notifySubscriber(e):this._pendingSubscribers.push(e)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(e){e.next(),e.complete()}}}const Nb=new Zn("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return yi(Hc)}});class Hb{constructor(){this._localeChanges=new S,this.localeChanges=this._localeChanges}getValidDateOrNull(e){return this.isDateInstance(e)&&this.isValid(e)?e:null}deserialize(e){return null==e||this.isDateInstance(e)&&this.isValid(e)?e:this.invalid()}setLocale(e){this.locale=e,this._localeChanges.next()}compareDate(e,t){return this.getYear(e)-this.getYear(t)||this.getMonth(e)-this.getMonth(t)||this.getDate(e)-this.getDate(t)}sameDate(e,t){if(e&&t){let n=this.isValid(e),i=this.isValid(t);return n&&i?!this.compareDate(e,t):n==i}return e==t}clampDate(e,t,n){return t&&this.compareDate(e,t)<0?t:n&&this.compareDate(e,n)>0?n:e}}const Vb=new Zn("mat-date-formats");let Ub;try{Ub="undefined"!=typeof Intl}catch(NU){Ub=!1}const Bb={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"]},zb=Kb(31,e=>String(e+1)),Wb={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},qb=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Kb(e,t){const n=Array(e);for(let i=0;i{class e extends Hb{constructor(e,t){super(),this.useUtcForDisplay=!0,super.setLocale(e),this.useUtcForDisplay=!t.TRIDENT,this._clampDate=t.TRIDENT||t.EDGE}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){if(Ub){const t=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return Kb(12,e=>this._stripDirectionalityCharacters(this._format(t,new Date(2017,e,1))))}return Bb[e]}getDateNames(){if(Ub){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Kb(31,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,0,t+1))))}return zb}getDayOfWeekNames(e){if(Ub){const t=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return Kb(7,e=>this._stripDirectionalityCharacters(this._format(t,new Date(2017,0,e+1))))}return Wb[e]}getYearName(e){if(Ub){const t=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(t,e))}return String(this.getYear(e))}getFirstDayOfWeek(){return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,t,n){let i=this._createDateWithOverflow(e,t,n);return i.getMonth(),i}today(){return new Date}parse(e){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null}format(e,t){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");if(Ub){this._clampDate&&(e.getFullYear()<1||e.getFullYear()>9999)&&(e=this.clone(e)).setFullYear(Math.max(1,Math.min(9999,e.getFullYear()))),t=Object.assign(Object.assign({},t),{timeZone:"utc"});const n=new Intl.DateTimeFormat(this.locale,t);return this._stripDirectionalityCharacters(this._format(n,e))}return this._stripDirectionalityCharacters(e.toDateString())}addCalendarYears(e,t){return this.addCalendarMonths(e,12*t)}addCalendarMonths(e,t){let n=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+t,this.getDate(e));return this.getMonth(n)!=((this.getMonth(e)+t)%12+12)%12&&(n=this._createDateWithOverflow(this.getYear(n),this.getMonth(n),0)),n}addCalendarDays(e,t){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+t)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if("string"==typeof e){if(!e)return null;if(qb.test(e)){let t=new Date(e);if(this.isValid(t))return t}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(e,t,n){const i=new Date;return i.setFullYear(e,t,n),i.setHours(0,0,0,0),i}_2digit(e){return("00"+e).slice(-2)}_stripDirectionalityCharacters(e){return e.replace(/[\u200e\u200f]/g,"")}_format(e,t){const n=new Date;return n.setUTCFullYear(t.getFullYear(),t.getMonth(),t.getDate()),n.setUTCHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),e.format(n)}}return e.\u0275fac=function(t){return new(t||e)(gi(Nb,8),gi(ng))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),Gb=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[{provide:Hb,useClass:$b}],imports:[[ig]]}),e})();const Jb={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"}}};let Qb=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[{provide:Vb,useValue:Jb}],imports:[[Gb]]}),e})(),Xb=(()=>{class e{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({factory:function(){return new e},token:e,providedIn:"root"}),e})(),Zb=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=qe({type:e,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),e})(),ev=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Ab],Ab]}),e})();class tv{constructor(e,t,n){this._renderer=e,this.element=t,this.config=n,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const nv={enterDuration:450,exitDuration:400},iv=cg({passive:!0}),rv=["mousedown","touchstart"],sv=["mouseup","mouseleave","touchend","touchcancel"];class av{constructor(e,t,n,i){this._target=e,this._ngZone=t,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=u_(n))}fadeInRipple(e,t,n={}){const i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=Object.assign(Object.assign({},nv),n.animation);n.centered&&(e=i.left+i.width/2,t=i.top+i.height/2);const s=n.radius||function(e,t,n){const i=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),r=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(i*i+r*r)}(e,t,i),a=e-i.left,o=t-i.top,l=r.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=a-s+"px",c.style.top=o-s+"px",c.style.height=2*s+"px",c.style.width=2*s+"px",null!=n.color&&(c.style.backgroundColor=n.color),c.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue("opacity"),c.style.transform="scale(1)";const u=new tv(this,c,n);return u.state=0,this._activeRipples.add(u),n.persistent||(this._mostRecentTransientRipple=u),this._runTimeoutOutsideZone(()=>{const e=u===this._mostRecentTransientRipple;u.state=1,n.persistent||e&&this._isPointerDown||u.fadeOut()},l),u}fadeOutRipple(e){const t=this._activeRipples.delete(e);if(e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!t)return;const n=e.element,i=Object.assign(Object.assign({},nv),e.config.animation);n.style.transitionDuration=`${i.exitDuration}ms`,n.style.opacity="0",e.state=2,this._runTimeoutOutsideZone(()=>{e.state=3,n.parentNode.removeChild(n)},i.exitDuration)}fadeOutAll(){this._activeRipples.forEach(e=>e.fadeOut())}setupTriggerEvents(e){const t=u_(e);t&&t!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=t,this._registerEvents(rv))}handleEvent(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(sv),this._pointerUpEventsRegistered=!0)}_onMousedown(e){const t=db(e),n=this._lastTouchStartEvent&&Date.now(){!e.config.persistent&&(1===e.state||e.config.terminateOnPointerUp&&0===e.state)&&e.fadeOut()}))}_runTimeoutOutsideZone(e,t=0){this._ngZone.runOutsideAngular(()=>setTimeout(e,t))}_registerEvents(e){this._ngZone.runOutsideAngular(()=>{e.forEach(e=>{this._triggerElement.addEventListener(e,this,iv)})})}_removeTriggerEvents(){this._triggerElement&&(rv.forEach(e=>{this._triggerElement.removeEventListener(e,this,iv)}),this._pointerUpEventsRegistered&&sv.forEach(e=>{this._triggerElement.removeEventListener(e,this,iv)}))}}const ov=new Zn("mat-ripple-global-options");let lv=(()=>{class e{constructor(e,t,n,i,r){this._elementRef=e,this._animationMode=r,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=i||{},this._rippleRenderer=new av(this,t,e,n)}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,t=0,n){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(Xc),ja(ng),ja(ov,8),ja(Zm,8))},e.\u0275dir=qe({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&fo("mat-ripple-unbounded",t.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),e})(),cv=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Ab,ig],Ab]}),e})(),uv=(()=>{class e{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return e.\u0275fac=function(t){return new(t||e)(ja(Zm,8))},e.\u0275cmp=He({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,t){2&e&&fo("mat-pseudo-checkbox-indeterminate","indeterminate"===t.state)("mat-pseudo-checkbox-checked","checked"===t.state)("mat-pseudo-checkbox-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,t){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),e})(),dv=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Ab]]}),e})();const hv=new Zn("MAT_OPTION_PARENT_COMPONENT");class pv{}const fv=Ib(pv);let mv=0,_v=(()=>{class e extends fv{constructor(e){var t;super(),this._labelId="mat-optgroup-label-"+mv++,this._inert=null!==(t=null==e?void 0:e.inertGroups)&&void 0!==t&&t}}return e.\u0275fac=function(t){return new(t||e)(ja(hv,8))},e.\u0275dir=qe({type:e,inputs:{label:"label"},features:[ba]}),e})();const gv=new Zn("MatOptgroup");let yv=(()=>{class e extends _v{}return e.\u0275fac=function(t){return bv(t||e)},e.\u0275cmp=He({type:e,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-optgroup"],hostVars:5,hostBindings:function(e,t){2&e&&(Aa("role",t._inert?null:"group")("aria-disabled",t._inert?null:t.disabled.toString())("aria-labelledby",t._inert?null:t._labelId),fo("mat-optgroup-disabled",t.disabled))},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[$o([{provide:gv,useExisting:e}]),ba],ngContentSelectors:Cb,decls:4,vars:2,consts:[[1,"mat-optgroup-label",3,"id"]],template:function(e,t){1&e&&(no(Sb),Na(0,"label",0),Mo(1),io(2),Ha(),io(3,1)),2&e&&(Ya("id",t._labelId),rs(1),Lo("",t.label," "))},styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),e})();const bv=Gn(yv);let vv=0;class wv{constructor(e,t=!1){this.source=e,this.isUserInput=t}}let kv=(()=>{class e{constructor(e,t,n,i){this._element=e,this._changeDetectorRef=t,this._parent=n,this.group=i,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+vv++,this.onSelectionChange=new dc,this._stateChanges=new S}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=s_(e)}get disableRipple(){return this._parent&&this._parent.disableRipple}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,t){const n=this._getHostElement();"function"==typeof n.focus&&n.focus(t)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){e.keyCode!==Fg&&e.keyCode!==Hg||Gg(e)||(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new wv(this,e))}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(Dl),ja(void 0),ja(_v))},e.\u0275dir=qe({type:e,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),e})(),Sv=(()=>{class e extends kv{constructor(e,t,n,i){super(e,t,n,i)}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(Dl),ja(hv,8),ja(gv,8))},e.\u0275cmp=He({type:e,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,t){1&e&&Ga("click",function(){return t._selectViaInteraction()})("keydown",function(e){return t._handleKeydown(e)}),2&e&&(Eo("id",t.id),Aa("tabindex",t._getTabIndex())("aria-selected",t._getAriaSelected())("aria-disabled",t.disabled.toString()),fo("mat-selected",t.selected)("mat-option-multiple",t.multiple)("mat-active",t.active)("mat-option-disabled",t.disabled))},exportAs:["matOption"],features:[ba],ngContentSelectors:Db,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,t){1&e&&(no(),Pa(0,xb,1,2,"mat-pseudo-checkbox",0),Na(1,"span",1),io(2),Ha(),Pa(3,Mb,2,1,"span",2),Va(4,"div",3)),2&e&&(Ya("ngIf",t.multiple),rs(3),Ya("ngIf",t.group&&t.group._inert),rs(1),Ya("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},directives:[Pd,lv,uv],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),e})();function Cv(e,t,n){if(n.length){let i=t.toArray(),r=n.toArray(),s=0;for(let t=0;t{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[cv,Gd,Ab,dv]]}),e})();function Mv(e){return new y(t=>{let n;try{n=e()}catch(i){return void t.error(i)}return(n?j(n):$_()).subscribe(t)})}function Dv(e,t){}class Lv{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}const Ov={dialogContainer:_p("dialogContainer",[vp("void, exit",bp({opacity:0,transform:"scale(0.7)"})),vp("enter",bp({transform:"none"})),kp("* => enter",gp("150ms cubic-bezier(0, 0, 0.2, 1)",bp({transform:"none",opacity:1}))),kp("* => void, * => exit",gp("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",bp({opacity:0})))])};let Ev=(()=>{class e extends Lg{constructor(e,t,n,i,r,s){super(),this._elementRef=e,this._focusTrapFactory=t,this._changeDetectorRef=n,this._config=r,this._focusMonitor=s,this._animationStateChanged=new dc,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=e=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(e)),this._ariaLabelledBy=r.ariaLabelledBy||null,this._document=i}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}attachComponentPortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(e)}_recaptureFocus(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}_trapFocus(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}_restoreFocus(){const e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){const t=this._document.activeElement,n=this._elementRef.nativeElement;t&&t!==this._document.body&&t!==n&&!n.contains(t)||(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement)}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,t=this._document.activeElement;return e===t||e.contains(t)}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(sb),ja(Dl),ja(Tu,8),ja(Lv),ja(fb))},e.\u0275dir=qe({type:e,viewQuery:function(e,t){if(1&e&&Cc(Eg,3),2&e){let e;Sc(e=Mc())&&(t._portalOutlet=e.first)}},features:[ba]}),e})(),Tv=(()=>{class e extends Ev{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:e,totalTime:t}){"enter"===e?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})):"exit"===e&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:t}))}_onAnimationStart({toState:e,totalTime:t}){"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:t}):"exit"!==e&&"void"!==e||this._animationStateChanged.next({state:"closing",totalTime:t})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return e.\u0275fac=function(t){return Av(t||e)},e.\u0275cmp=He({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&Ja("@dialogContainer.start",function(e){return t._onAnimationStart(e)})("@dialogContainer.done",function(e){return t._onAnimationDone(e)}),2&e&&(Eo("id",t._id),Aa("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),To("@dialogContainer",t._state))},features:[ba],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&Pa(0,Dv,0,0,"ng-template",0)},directives:[Eg],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[Ov.dialogContainer]}}),e})();const Av=Gn(Tv);let Iv=0;class Pv{constructor(e,t,n="mat-dialog-"+Iv++){this._overlayRef=e,this._containerInstance=t,this.id=n,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new S,this._afterClosed=new S,this._beforeClosed=new S,this._state=0,t._id=n,t._animationStateChanged.pipe(Ih(e=>"opened"===e.state),Ig(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(Ih(e=>"closed"===e.state),Ig(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),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(Ih(e=>e.keyCode===Ng&&!this.disableClose&&!Gg(e))).subscribe(e=>{e.preventDefault(),Rv(this,"keyboard")}),e.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():Rv(this,"mouse")})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(Ih(e=>"closing"===e.state),Ig(1)).subscribe(t=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}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._overlayRef.updateSize({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}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function Rv(e,t,n){return void 0!==e._containerInstance&&(e._containerInstance._closeInteractionType=t),e.close(n)}const jv=new Zn("MatDialogData"),Yv=new Zn("mat-dialog-default-options"),Fv=new Zn("mat-dialog-scroll-strategy"),Nv={provide:Fv,deps:[Cy],useFactory:function(e){return()=>e.scrollStrategies.block()}};let Hv=(()=>{class e{constructor(e,t,n,i,r,s,a,o,l){this._overlay=e,this._injector=t,this._defaultOptions=n,this._parentDialog=i,this._overlayContainer=r,this._dialogRefConstructor=a,this._dialogContainerType=o,this._dialogDataToken=l,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new S,this._afterOpenedAtThisLevel=new S,this._ariaHiddenElements=new Map,this.afterAllClosed=Mv(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(H_(void 0))),this._scrollStrategy=s}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(e,t){(t=function(e,t){return Object.assign(Object.assign({},t),e)}(t,this._defaultOptions||new Lv)).id&&this.getDialogById(t.id);const n=this._createOverlay(t),i=this._attachDialogContainer(n,t),r=this._attachDialogContent(e,i,n,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(r),r.afterClosed().subscribe(()=>this._removeOpenDialog(r)),this.afterOpened.next(r),i._initializeWithAttachedContent(),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(e){const t=this._getOverlayConfig(e);return this._overlay.create(t)}_getOverlayConfig(e){const t=new ry({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}_attachDialogContainer(e,t){const n=ga.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:Lv,useValue:t}]}),i=new xg(this._dialogContainerType,t.viewContainerRef,n,t.componentFactoryResolver);return e.attach(i).instance}_attachDialogContent(e,t,n,i){const r=new this._dialogRefConstructor(n,t,i.id);if(e instanceof Il)t.attachTemplatePortal(new Mg(e,null,{$implicit:i.data,dialogRef:r}));else{const n=this._createInjector(i,r,t),s=t.attachComponentPortal(new xg(e,i.viewContainerRef,n));r.componentInstance=s.instance}return r.updateSize(i.width,i.height).updatePosition(i.position),r}_createInjector(e,t,n){const i=e&&e.viewContainerRef&&e.viewContainerRef.injector,r=[{provide:this._dialogContainerType,useValue:n},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return!e.direction||i&&i.get(pg,null)||r.push({provide:pg,useValue:{value:e.direction,change:Th()}}),ga.create({parent:i||this._injector,providers:r})}_removeOpenDialog(e){const t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((e,t)=>{e?t.setAttribute("aria-hidden",e):t.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const t=e.parentElement.children;for(let n=t.length-1;n>-1;n--){let i=t[n];i===e||"SCRIPT"===i.nodeName||"STYLE"===i.nodeName||i.hasAttribute("aria-live")||(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}}return e.\u0275fac=function(t){return new(t||e)(ja(Cy),ja(ga),ja(void 0),ja(void 0),ja(dy),ja(void 0),ja(ti),ja(ti),ja(Zn))},e.\u0275dir=qe({type:e}),e})(),Vv=(()=>{class e extends Hv{constructor(e,t,n,i,r,s,a){super(e,t,i,s,a,r,Pv,Tv,jv)}}return e.\u0275fac=function(t){return new(t||e)(gi(Cy),gi(ga),gi(qu,8),gi(Yv,8),gi(Fv),gi(e,12),gi(dy))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),Uv=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[Vv,Nv],imports:[[Ey,Tg,Ab],Ab]}),e})();function Bv(e,t){if(1&e&&(dn(),Va(0,"circle",3)),2&e){const e=eo();po("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%"),Aa("r",e._getCircleRadius())}}function zv(e,t){if(1&e&&(dn(),Va(0,"circle",3)),2&e){const e=eo();po("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%"),Aa("r",e._getCircleRadius())}}function Wv(e,t){if(1&e&&(dn(),Va(0,"circle",3)),2&e){const e=eo();po("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%"),Aa("r",e._getCircleRadius())}}function qv(e,t){if(1&e&&(dn(),Va(0,"circle",3)),2&e){const e=eo();po("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%"),Aa("r",e._getCircleRadius())}}const Kv=".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:currentColor}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{animation:mat-progress-spinner-stroke-rotate-fallback 10000ms cubic-bezier(0.87, 0.03, 0.33, 1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0deg)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}\n";class $v{constructor(e){this._elementRef=e}}const Gv=Pb($v,"primary"),Jv=new Zn("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}});let Qv=(()=>{class e extends Gv{constructor(t,n,i,r,s){super(t),this._elementRef=t,this._document=i,this._diameter=100,this._value=0,this._fallbackAnimation=!1,this.mode="determinate";const a=e._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),a.has(i.head)||a.set(i.head,new Set([100])),this._fallbackAnimation=n.EDGE||n.TRIDENT,this._noopAnimations="NoopAnimations"===r&&!!s&&!s._forceAnimations,s&&(s.diameter&&(this.diameter=s.diameter),s.strokeWidth&&(this.strokeWidth=s.strokeWidth))}get diameter(){return this._diameter}set diameter(e){this._diameter=a_(e),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(e){this._strokeWidth=a_(e)}get value(){return"determinate"===this.mode?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,a_(e)))}ngOnInit(){const e=this._elementRef.nativeElement;this._styleRoot=dg(e)||this._document.head,this._attachStyleNode(),e.classList.add(`mat-progress-spinner-indeterminate${this._fallbackAnimation?"-fallback":""}-animation`)}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const e=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${e} ${e}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._getStrokeCircumference():null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_attachStyleNode(){const t=this._styleRoot,n=this._diameter,i=e._diameters;let r=i.get(t);if(!r||!r.has(n)){const e=this._document.createElement("style");e.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),e.textContent=this._getAnimationText(),t.appendChild(e),r||(r=new Set,i.set(t,r)),r.add(n)}}_getAnimationText(){const e=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*e).replace(/END_VALUE/g,""+.2*e).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(ng),ja(Tu,8),ja(Zm,8),ja(Jv))},e.\u0275cmp=He({type:e,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(e,t){2&e&&(Aa("aria-valuemin","determinate"===t.mode?0:null)("aria-valuemax","determinate"===t.mode?100:null)("aria-valuenow","determinate"===t.mode?t.value:null)("mode",t.mode),po("width",t.diameter,"px")("height",t.diameter,"px"),fo("_mat-animation-noopable",t._noopAnimations))},inputs:{color:"color",mode:"mode",diameter:"diameter",strokeWidth:"strokeWidth",value:"value"},exportAs:["matProgressSpinner"],features:[ba],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(e,t){1&e&&(dn(),Na(0,"svg",0),Pa(1,Bv,1,9,"circle",1),Pa(2,zv,1,7,"circle",2),Ha()),2&e&&(po("width",t.diameter,"px")("height",t.diameter,"px"),Ya("ngSwitch","indeterminate"===t.mode),Aa("viewBox",t._getViewBox()),rs(1),Ya("ngSwitchCase",!0),rs(1),Ya("ngSwitchCase",!1))},directives:[Fd,Nd],styles:[Kv],encapsulation:2,changeDetection:0}),e._diameters=new WeakMap,e})(),Xv=(()=>{class e extends Qv{constructor(e,t,n,i,r){super(e,t,n,i,r),this.mode="indeterminate"}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(ng),ja(Tu,8),ja(Zm,8),ja(Jv))},e.\u0275cmp=He({type:e,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(e,t){2&e&&(po("width",t.diameter,"px")("height",t.diameter,"px"),fo("_mat-animation-noopable",t._noopAnimations))},inputs:{color:"color"},features:[ba],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(e,t){1&e&&(dn(),Na(0,"svg",0),Pa(1,Wv,1,9,"circle",1),Pa(2,qv,1,7,"circle",2),Ha()),2&e&&(po("width",t.diameter,"px")("height",t.diameter,"px"),Ya("ngSwitch","indeterminate"===t.mode),Aa("viewBox",t._getViewBox()),rs(1),Ya("ngSwitchCase",!0),rs(1),Ya("ngSwitchCase",!1))},directives:[Fd,Nd],styles:[Kv],encapsulation:2,changeDetection:0}),e})(),Zv=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Ab,Gd],Ab]}),e})();class ew{constructor(e,t){this.count=e,this.source=t}call(e,t){return t.subscribe(new tw(e,this.count,this.source))}}class tw extends f{constructor(e,t,n){super(e),this.count=t,this.source=n}error(e){if(!this.isStopped){const{source:t,count:n}=this;if(0===n)return super.error(e);n>-1&&(this.count=n-1),t.subscribe(this._unsubscribeAndRecycle())}}}function nw(e){return function(t){const n=new iw(e),i=t.lift(n);return n.caught=i}}class iw{constructor(e){this.selector=e}call(e,t){return t.subscribe(new rw(e,this.selector,this.caught))}}class rw extends F{constructor(e,t,n){super(e),this.selector=t,this.caught=n}error(e){if(!this.isStopped){let n;try{n=this.selector(e,this.caught)}catch(t){return void super.error(t)}this._unsubscribeAndRecycle();const i=new Y(this);this.add(i);const r=N(n,i);r!==i&&this.add(r)}}}function sw(e){return t=>t.lift(new aw(e))}class aw{constructor(e){this.callback=e}call(e,t){return t.subscribe(new ow(e,this.callback))}}class ow extends f{constructor(e,t){super(e),this.add(new d(t))}}const lw=["mat-button",""],cw=["*"],uw=".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n",dw=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class hw{constructor(e){this._elementRef=e}}const pw=Pb(Ib(Rb(hw)));let fw=(()=>{class e extends pw{constructor(e,t,n){super(e),this._focusMonitor=t,this._animationMode=n,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const i of dw)this._hasHostAttributes(i)&&this._getHostElement().classList.add(i);e.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,t){e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(e=>this._getHostElement().hasAttribute(e))}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(fb),ja(Zm,8))},e.\u0275cmp=He({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,t){if(1&e&&Cc(lv,1),2&e){let e;Sc(e=Mc())&&(t.ripple=e.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,t){2&e&&(Aa("disabled",t.disabled||null),fo("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[ba],attrs:lw,ngContentSelectors:cw,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(no(),Na(0,"span",0),io(1),Ha(),Va(2,"span",1),Va(3,"span",2)),2&e&&(rs(2),fo("mat-button-ripple-round",t.isRoundButton||t.isIconButton),Ya("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[lv],styles:[uw],encapsulation:2,changeDetection:0}),e})(),mw=(()=>{class e extends fw{constructor(e,t,n){super(t,e,n)}_haltDisabledEvents(e){this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}}return e.\u0275fac=function(t){return new(t||e)(ja(fb),ja(tl),ja(Zm,8))},e.\u0275cmp=He({type:e,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(e,t){1&e&&Ga("click",function(e){return t._haltDisabledEvents(e)}),2&e&&(Aa("tabindex",t.disabled?-1:t.tabIndex||0)("disabled",t.disabled||null)("aria-disabled",t.disabled.toString()),fo("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[ba],attrs:lw,ngContentSelectors:cw,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(no(),Na(0,"span",0),io(1),Ha(),Va(2,"span",1),Va(3,"span",2)),2&e&&(rs(2),fo("mat-button-ripple-round",t.isRoundButton||t.isIconButton),Ya("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[lv],styles:[uw],encapsulation:2,changeDetection:0}),e})(),_w=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[cv,Ab],Ab]}),e})();class gw extends f{notifyNext(e,t,n,i,r){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}class yw extends f{constructor(e,t,n){super(),this.parent=e,this.outerValue=t,this.outerIndex=n,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}function bw(e,t,n,i,r=new yw(e,n,i)){if(!r.closed)return t instanceof y?t.subscribe(r):P(t)(r)}const vw={};function ww(...e){let t,n;return x(e[e.length-1])&&(n=e.pop()),"function"==typeof e[e.length-1]&&(t=e.pop()),1===e.length&&l(e[0])&&(e=e[0]),z(e,n).lift(new kw(t))}class kw{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new Sw(e,this.resultSelector))}}class Sw extends gw{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(vw),this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let n=0;nthis.total&&this.destination.next(e)}}const Mw=new Set;let Dw,Lw=(()=>{class e{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Ow}matchMedia(e){return this._platform.WEBKIT&&function(e){if(!Mw.has(e))try{Dw||(Dw=document.createElement("style"),Dw.setAttribute("type","text/css"),document.head.appendChild(Dw)),Dw.sheet&&(Dw.sheet.insertRule(`@media ${e} {.fx-query-test{ }}`,0),Mw.add(e))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}return e.\u0275fac=function(t){return new(t||e)(gi(ng))},e.\u0275prov=le({factory:function(){return new e(gi(ng))},token:e,providedIn:"root"}),e})();function Ow(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}let Ew=(()=>{class e{constructor(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new S}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return Tw(l_(e)).some(e=>this._registerQuery(e).mql.matches)}observe(e){let t=ww(Tw(l_(e)).map(e=>this._registerQuery(e).observable));return t=N_(t.pipe(Ig(1)),t.pipe(e=>e.lift(new Cw(1)),Ry(0))),t.pipe(M(e=>{const t={matches:!1,breakpoints:{}};return e.forEach(({matches:e,query:n})=>{t.matches=t.matches||e,t.breakpoints[n]=e}),t}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const t=this._mediaMatcher.matchMedia(e),n={observable:new y(e=>{const n=t=>this._zone.run(()=>e.next(t));return t.addListener(n),()=>{t.removeListener(n)}}).pipe(H_(t),M(({matches:t})=>({query:e,matches:t})),j_(this._destroySubject)),mql:t};return this._queries.set(e,n),n}}return e.\u0275fac=function(t){return new(t||e)(gi(Lw),gi(Xc))},e.\u0275prov=le({factory:function(){return new e(gi(Lw),gi(Xc))},token:e,providedIn:"root"}),e})();function Tw(e){return e.map(e=>e.split(",")).reduce((e,t)=>e.concat(t)).map(e=>e.trim())}function Aw(e,t){if(1&e){const e=Wa();Na(0,"div",1),Na(1,"button",2),Ga("click",function(){return jt(e),eo().action()}),Mo(2),Ha(),Ha()}if(2&e){const e=eo();rs(2),Do(e.data.action)}}function Iw(e,t){}const Pw=new Zn("MatSnackBarData");class Rw{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}const jw=Math.pow(2,31)-1;class Yw{constructor(e,t){this._overlayRef=t,this._afterDismissed=new S,this._afterOpened=new S,this._onAction=new S,this._dismissedByAction=!1,this.containerInstance=e,this.onAction().subscribe(()=>this.dismiss()),e._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete())}closeWithAction(){this.dismissWithAction()}_dismissAfter(e){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(e,jw))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}let Fw=(()=>{class e{constructor(e,t){this.snackBarRef=e,this.data=t}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return e.\u0275fac=function(t){return new(t||e)(ja(Yw),ja(Pw))},e.\u0275cmp=He({type:e,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(e,t){1&e&&(Na(0,"span"),Mo(1),Ha(),Pa(2,Aw,3,1,"div",0)),2&e&&(rs(1),Do(t.data.message),rs(1),Ya("ngIf",t.hasAction))},directives:[Pd,fw],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}\n"],encapsulation:2,changeDetection:0}),e})();const Nw={snackBarState:_p("state",[vp("void, hidden",bp({transform:"scale(0.8)",opacity:0})),vp("visible",bp({transform:"scale(1)",opacity:1})),kp("* => visible",gp("150ms cubic-bezier(0, 0, 0.2, 1)")),kp("* => void, * => hidden",gp("75ms cubic-bezier(0.4, 0.0, 1, 1)",bp({opacity:0})))])};let Hw=(()=>{class e extends Lg{constructor(e,t,n,i,r){super(),this._ngZone=e,this._elementRef=t,this._changeDetectorRef=n,this._platform=i,this.snackBarConfig=r,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new S,this._onExit=new S,this._onEnter=new S,this._animationState="void",this.attachDomPortal=e=>(this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachDomPortal(e)),this._live="assertive"!==r.politeness||r.announcementMessage?"off"===r.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(e){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(e)}onAnimationEnd(e){const{fromState:t,toState:n}=e;if(("void"===n&&"void"!==t||"hidden"===n)&&this._completeExit(),"visible"===n){const e=this._onEnter;this._ngZone.run(()=>{e.next(),e.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe(Ig(1)).subscribe(()=>{this._onExit.next(),this._onExit.complete()})}_applySnackBarClasses(){const e=this._elementRef.nativeElement,t=this.snackBarConfig.panelClass;t&&(Array.isArray(t)?t.forEach(t=>e.classList.add(t)):e.classList.add(t)),"center"===this.snackBarConfig.horizontalPosition&&e.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&e.classList.add("mat-snack-bar-top")}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const e=this._elementRef.nativeElement.querySelector("[aria-hidden]"),t=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&t){let n=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(n=document.activeElement),e.removeAttribute("aria-hidden"),t.appendChild(e),null==n||n.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return e.\u0275fac=function(t){return new(t||e)(ja(Xc),ja(tl),ja(Dl),ja(ng),ja(Rw))},e.\u0275cmp=He({type:e,selectors:[["snack-bar-container"]],viewQuery:function(e,t){if(1&e&&Cc(Eg,3),2&e){let e;Sc(e=Mc())&&(t._portalOutlet=e.first)}},hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(e,t){1&e&&Ja("@state.done",function(e){return t.onAnimationEnd(e)}),2&e&&To("@state",t._animationState)},features:[ba],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,t){1&e&&(Na(0,"div",0),Pa(1,Iw,0,0,"ng-template",1),Ha(),Va(2,"div")),2&e&&(rs(2),Aa("aria-live",t._live)("role",t._role))},directives:[Eg],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\n"],encapsulation:2,data:{animation:[Nw.snackBarState]}}),e})(),Vw=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Ey,Tg,Gd,_w,Ab],Ab]}),e})();const Uw=new Zn("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new Rw}});let Bw=(()=>{class e{constructor(e,t,n,i,r,s){this._overlay=e,this._live=t,this._injector=n,this._breakpointObserver=i,this._parentSnackBar=r,this._defaultConfig=s,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=Fw,this.snackBarContainerComponent=Hw,this.handsetCssClass="mat-snack-bar-handset"}get _openedSnackBarRef(){const e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}openFromComponent(e,t){return this._attach(e,t)}openFromTemplate(e,t){return this._attach(e,t)}open(e,t="",n){const i=Object.assign(Object.assign({},this._defaultConfig),n);return i.data={message:e,action:t},i.announcementMessage===e&&(i.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,i)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,t){const n=ga.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:Rw,useValue:t}]}),i=new xg(this.snackBarContainerComponent,t.viewContainerRef,n),r=e.attach(i);return r.instance.snackBarConfig=t,r.instance}_attach(e,t){const n=Object.assign(Object.assign(Object.assign({},new Rw),this._defaultConfig),t),i=this._createOverlay(n),r=this._attachSnackBarContainer(i,n),s=new Yw(r,i);if(e instanceof Il){const t=new Mg(e,null,{$implicit:n.data,snackBarRef:s});s.instance=r.attachTemplatePortal(t)}else{const t=this._createInjector(n,s),i=new xg(e,void 0,t),a=r.attachComponentPortal(i);s.instance=a.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(j_(i.detachments())).subscribe(e=>{const t=i.overlayElement.classList;e.matches?t.add(this.handsetCssClass):t.remove(this.handsetCssClass)}),n.announcementMessage&&r._onAnnounce.subscribe(()=>{this._live.announce(n.announcementMessage,n.politeness)}),this._animateSnackBar(s,n),this._openedSnackBarRef=s,this._openedSnackBarRef}_animateSnackBar(e,t){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),t.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),t.duration&&t.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(t.duration))}_createOverlay(e){const t=new ry;t.direction=e.direction;let n=this._overlay.position().global();const i="rtl"===e.direction,r="left"===e.horizontalPosition||"start"===e.horizontalPosition&&!i||"end"===e.horizontalPosition&&i,s=!r&&"center"!==e.horizontalPosition;return r?n.left("0"):s?n.right("0"):n.centerHorizontally(),"top"===e.verticalPosition?n.top("0"):n.bottom("0"),t.positionStrategy=n,this._overlay.create(t)}_createInjector(e,t){return ga.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:Yw,useValue:t},{provide:Pw,useValue:e.data}]})}}return e.\u0275fac=function(t){return new(t||e)(gi(Cy),gi(cb),gi(ga),gi(Ew),gi(e,12),gi(Uw))},e.\u0275prov=le({factory:function(){return new e(gi(Cy),gi(cb),gi(ta),gi(Ew),gi(e,12),gi(Uw))},token:e,providedIn:Vw}),e})();var zw=n("mB6T");function Ww(...e){if(1===e.length){const t=e[0];if(l(t))return qw(t,null);if(c(t)&&Object.getPrototypeOf(t)===Object.prototype){const e=Object.keys(t);return qw(e.map(e=>t[e]),e)}}if("function"==typeof e[e.length-1]){const t=e.pop();return qw(e=1===e.length&&l(e[0])?e[0]:e,null).pipe(M(e=>t(...e)))}return qw(e,null)}function qw(e,t){return new y(n=>{const i=e.length;if(0===i)return void n.complete();const r=new Array(i);let s=0,a=0;for(let o=0;o{c||(c=!0,a++),r[o]=e},error:e=>n.error(e),complete:()=>{s++,s!==i&&c||(a===i&&n.next(t?t.reduce((e,t,n)=>(e[t]=r[n],e),{}):r),n.complete())}}))}})}const Kw=new Zn("NgValueAccessor"),$w={provide:Kw,useExisting:se(()=>Gw),multi:!0};let Gw=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(ja(rl),ja(tl))},e.\u0275dir=qe({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,t){1&e&&Ga("change",function(e){return t.onChange(e.target.checked)})("blur",function(){return t.onTouched()})},features:[$o([$w])]}),e})();const Jw={provide:Kw,useExisting:se(()=>Xw),multi:!0},Qw=new Zn("CompositionEventMode");let Xw=(()=>{class e{constructor(e,t,n){this._renderer=e,this._elementRef=t,this._compositionMode=n,this.onChange=e=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const e=Eu()?Eu().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return e.\u0275fac=function(t){return new(t||e)(ja(rl),ja(tl),ja(Qw,8))},e.\u0275dir=qe({type:e,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(e,t){1&e&&Ga("input",function(e){return t._handleInput(e.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(e){return t._compositionEnd(e.target.value)})},features:[$o([Jw])]}),e})();function Zw(e){return null==e||0===e.length}function ek(e){return null!=e&&"number"==typeof e.length}const tk=new Zn("NgValidators"),nk=new Zn("NgAsyncValidators"),ik=/^(?=.{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])?)*$/;class rk{static min(e){return t=>{if(Zw(t.value)||Zw(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n{if(Zw(t.value)||Zw(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}static required(e){return Zw(e.value)?{required:!0}:null}static requiredTrue(e){return!0===e.value?null:{required:!0}}static email(e){return Zw(e.value)||ik.test(e.value)?null:{email:!0}}static minLength(e){return t=>Zw(t.value)||!ek(t.value)?null:t.value.lengthek(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}static pattern(e){if(!e)return rk.nullValidator;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),e=>{if(Zw(e.value))return null;const i=e.value;return t.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}static nullValidator(e){return null}static compose(e){if(!e)return null;const t=e.filter(sk);return 0==t.length?null:function(e){return ok(lk(e,t))}}static composeAsync(e){if(!e)return null;const t=e.filter(sk);return 0==t.length?null:function(e){return Ww(lk(e,t).map(ak)).pipe(M(ok))}}}function sk(e){return null!=e}function ak(e){const t=qa(e)?j(e):e;return $a(t),t}function ok(e){let t={};return e.forEach(e=>{t=null!=e?Object.assign(Object.assign({},t),e):t}),0===Object.keys(t).length?null:t}function lk(e,t){return t.map(t=>t(e))}function ck(e){return e.map(e=>function(e){return!e.validate}(e)?e:t=>e.validate(t))}function uk(e){return null!=e?rk.compose(ck(e)):null}function dk(e){return null!=e?rk.composeAsync(ck(e)):null}function hk(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function pk(e){return e._rawValidators}function fk(e){return e._rawAsyncValidators}let mk=(()=>{class e{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}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}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=uk(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=dk(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e){this.control&&this.control.reset(e)}hasError(e,t){return!!this.control&&this.control.hasError(e,t)}getError(e,t){return this.control?this.control.getError(e,t):null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=qe({type:e}),e})(),_k=(()=>{class e extends mk{get formDirective(){return null}get path(){return null}}return e.\u0275fac=function(t){return gk(t||e)},e.\u0275dir=qe({type:e,features:[ba]}),e})();const gk=Gn(_k);class yk extends mk{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class bk{constructor(e){this._cd=e}get ngClassUntouched(){var e,t,n;return null!==(n=null===(t=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===t?void 0:t.untouched)&&void 0!==n&&n}get ngClassTouched(){var e,t,n;return null!==(n=null===(t=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===t?void 0:t.touched)&&void 0!==n&&n}get ngClassPristine(){var e,t,n;return null!==(n=null===(t=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===t?void 0:t.pristine)&&void 0!==n&&n}get ngClassDirty(){var e,t,n;return null!==(n=null===(t=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===t?void 0:t.dirty)&&void 0!==n&&n}get ngClassValid(){var e,t,n;return null!==(n=null===(t=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===t?void 0:t.valid)&&void 0!==n&&n}get ngClassInvalid(){var e,t,n;return null!==(n=null===(t=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===t?void 0:t.invalid)&&void 0!==n&&n}get ngClassPending(){var e,t,n;return null!==(n=null===(t=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===t?void 0:t.pending)&&void 0!==n&&n}}let vk=(()=>{class e extends bk{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(ja(yk,2))},e.\u0275dir=qe({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&fo("ng-untouched",t.ngClassUntouched)("ng-touched",t.ngClassTouched)("ng-pristine",t.ngClassPristine)("ng-dirty",t.ngClassDirty)("ng-valid",t.ngClassValid)("ng-invalid",t.ngClassInvalid)("ng-pending",t.ngClassPending)},features:[ba]}),e})(),wk=(()=>{class e extends bk{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(ja(_k,10))},e.\u0275dir=qe({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(e,t){2&e&&fo("ng-untouched",t.ngClassUntouched)("ng-touched",t.ngClassTouched)("ng-pristine",t.ngClassPristine)("ng-dirty",t.ngClassDirty)("ng-valid",t.ngClassValid)("ng-invalid",t.ngClassInvalid)("ng-pending",t.ngClassPending)},features:[ba]}),e})();const kk={provide:Kw,useExisting:se(()=>Sk),multi:!0};let Sk=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(ja(rl),ja(tl))},e.\u0275dir=qe({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&Ga("input",function(e){return t.onChange(e.target.value)})("blur",function(){return t.onTouched()})},features:[$o([kk])]}),e})();const Ck={provide:Kw,useExisting:se(()=>Mk),multi:!0};let xk=(()=>{class e{constructor(){this._accessors=[]}add(e,t){this._accessors.push([e,t])}remove(e){for(let t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}select(e){this._accessors.forEach(t=>{this._isSameGroup(t,e)&&t[1]!==e&&t[1].fireUncheck(e.value)})}_isSameGroup(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),Mk=(()=>{class e{constructor(e,t,n,i){this._renderer=e,this._elementRef=t,this._registry=n,this._injector=i,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(yk),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(e){this._fn=e,this.onChange=()=>{e(this.value),this._registry.select(this)}}fireUncheck(e){this.writeValue(e)}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return e.\u0275fac=function(t){return new(t||e)(ja(rl),ja(tl),ja(xk),ja(ga))},e.\u0275dir=qe({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,t){1&e&&Ga("change",function(){return t.onChange()})("blur",function(){return t.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[$o([Ck])]}),e})();const Dk={provide:Kw,useExisting:se(()=>Lk),multi:!0};let Lk=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(ja(rl),ja(tl))},e.\u0275dir=qe({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,t){1&e&&Ga("change",function(e){return t.onChange(e.target.value)})("input",function(e){return t.onChange(e.target.value)})("blur",function(){return t.onTouched()})},features:[$o([Dk])]}),e})();const Ok={provide:Kw,useExisting:se(()=>Ek),multi:!0};let Ek=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){this.value=e;const t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const n=function(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}registerOnChange(e){this.onChange=t=>{this.value=this._getOptionValue(t),e(this.value)}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t),e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}}return e.\u0275fac=function(t){return new(t||e)(ja(rl),ja(tl))},e.\u0275dir=qe({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&Ga("change",function(e){return t.onChange(e.target.value)})("blur",function(){return t.onTouched()})},inputs:{compareWith:"compareWith"},features:[$o([Ok])]}),e})();const Tk={provide:Kw,useExisting:se(()=>Ak),multi:!0};let Ak=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){let t;if(this.value=e,Array.isArray(e)){const n=e.map(e=>this._getOptionId(e));t=(e,t)=>{e._setSelected(n.indexOf(t.toString())>-1)}}else t=(e,t)=>{e._setSelected(!1)};this._optionMap.forEach(t)}registerOnChange(e){this.onChange=t=>{const n=[];if(void 0!==t.selectedOptions){const e=t.selectedOptions;for(let t=0;t{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&Nk(e,t)})}(e,t),function(e,t){const n=(e,n)=>{t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&Nk(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function(e,t){if(t.valueAccessor.setDisabledState){const n=e=>{t.valueAccessor.setDisabledState(e)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function Rk(e,t,n=!0){const i=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),Fk(e,t,!0),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function jk(e,t){e.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function Yk(e,t,n){const i=pk(e);null!==t.validator?e.setValidators(hk(i,t.validator)):"function"==typeof i&&e.setValidators([i]);const r=fk(e);if(null!==t.asyncValidator?e.setAsyncValidators(hk(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]),n){const n=()=>e.updateValueAndValidity();jk(t._rawValidators,n),jk(t._rawAsyncValidators,n)}}function Fk(e,t,n){let i=!1;if(null!==e){if(null!==t.validator){const n=pk(e);if(Array.isArray(n)&&n.length>0){const r=n.filter(e=>e!==t.validator);r.length!==n.length&&(i=!0,e.setValidators(r))}}if(null!==t.asyncValidator){const n=fk(e);if(Array.isArray(n)&&n.length>0){const r=n.filter(e=>e!==t.asyncValidator);r.length!==n.length&&(i=!0,e.setAsyncValidators(r))}}}if(n){const e=()=>{};jk(t._rawValidators,e),jk(t._rawAsyncValidators,e)}return i}function Nk(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Hk(e,t){Yk(e,t,!1)}function Vk(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}const Uk=[Gw,Lk,Sk,Ek,Ak,Mk];function Bk(e,t){e._syncPendingControls(),t.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function zk(e,t){if(!t)return null;let n,i,r;return Array.isArray(t),t.forEach(e=>{var t;e.constructor===Xw?n=e:(t=e,Uk.some(e=>t.constructor===e)?i=e:r=e)}),r||i||n||null}function Wk(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const qk="VALID",Kk="INVALID",$k="PENDING",Gk="DISABLED";function Jk(e){return(eS(e)?e.validators:e)||null}function Qk(e){return Array.isArray(e)?uk(e):e||null}function Xk(e,t){return(eS(t)?t.asyncValidators:e)||null}function Zk(e){return Array.isArray(e)?dk(e):e||null}function eS(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class tS{constructor(e,t){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=e,this._rawAsyncValidators=t,this._composedValidatorFn=Qk(this._rawValidators),this._composedAsyncValidatorFn=Zk(this._rawAsyncValidators)}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 valid(){return this.status===qk}get invalid(){return this.status===Kk}get pending(){return this.status==$k}get disabled(){return this.status===Gk}get enabled(){return this.status!==Gk}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._rawValidators=e,this._composedValidatorFn=Qk(e)}setAsyncValidators(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=Zk(e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=$k,!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=Gk,this.errors=null,this._forEachChild(t=>{t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!0))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=qk,this._forEachChild(t=>{t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),this.status!==qk&&this.status!==$k||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Gk:qk}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=$k,this._hasOwnPendingAsyncValidator=!0;const t=ak(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}get(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;let i=e;return t.forEach(e=>{i=i instanceof iS?i.controls.hasOwnProperty(e)?i.controls[e]:null:i instanceof rS&&i.at(e)||null}),i}(this,e)}getError(e,t){const 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){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new dc,this.statusChanges=new dc}_calculateStatus(){return this._allControlsDisabled()?Gk:this.errors?Kk:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus($k)?$k:this._anyControlsHaveStatus(Kk)?Kk:qk}_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={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_isBoxedValue(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){eS(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class nS extends tS{constructor(e=null,t,n){super(Jk(t),Xk(n,t)),this._onChange=[],this._applyFormState(e),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(e=>e(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=null,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){Wk(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){Wk(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(e){this._isBoxedValue(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}}class iS extends tS{constructor(e,t,n){super(Jk(t),Xk(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}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){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){this._checkAllValuesPresent(e),Object.keys(e).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(Object.keys(e).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e={},t={}){this._forEachChild((n,i)=>{n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,n)=>(e[n]=t instanceof nS?t.value:t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error(`Cannot find form control with name: ${e}.`)}_forEachChild(e){Object.keys(this.controls).forEach(t=>{const 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(const t of Object.keys(this.controls)){const n=this.controls[t];if(this.contains(t)&&e(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},(e,t,n)=>((t.enabled||this.disabled)&&(e[n]=t.value),e))}_reduceChildren(e,t){let n=e;return this._forEachChild((e,i)=>{n=t(n,e,i)}),n}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(e){this._forEachChild((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class rS extends tS{constructor(e,t,n){super(Jk(t),Xk(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}at(e){return this.controls[e]}push(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()}insert(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()}removeAt(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),this.updateValueAndValidity()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){this._checkAllValuesPresent(e),e.forEach((e,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(e.forEach((e,n)=>{this.at(n)&&this.at(n).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e=[],t={}){this._forEachChild((n,i)=>{n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(e=>e instanceof nS?e.value:e.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let e=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error(`Cannot find form control at index ${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))}_checkAllValuesPresent(e){this._forEachChild((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const 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)}}const sS={provide:_k,useExisting:se(()=>oS)},aS=(()=>Promise.resolve(null))();let oS=(()=>{class e extends _k{constructor(e,t){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new dc,this.form=new iS({},uk(e),dk(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){aS.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),Pk(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){aS.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),Wk(this._directives,e)})}addFormGroup(e){aS.then(()=>{const t=this._findContainer(e.path),n=new iS({});Hk(n,e),t.registerControl(e.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){aS.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){aS.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,Bk(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return e.\u0275fac=function(t){return new(t||e)(ja(tk,10),ja(nk,10))},e.\u0275dir=qe({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&Ga("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[$o([sS]),ba]}),e})();const lS={provide:yk,useExisting:se(()=>uS)},cS=(()=>Promise.resolve(null))();let uS=(()=>{class e extends yk{constructor(e,t,n,i){super(),this.control=new nS,this._registered=!1,this.update=new dc,this._parent=e,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=zk(0,i)}ngOnChanges(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),Vk(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?Ik(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Pk(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){cS.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1})})}_updateDisabled(e){const t=e.isDisabled.currentValue,n=""===t||t&&"false"!==t;cS.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}return e.\u0275fac=function(t){return new(t||e)(ja(_k,9),ja(tk,10),ja(nk,10),ja(Kw,10))},e.\u0275dir=qe({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[$o([lS]),ba,ut]}),e})(),dS=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=qe({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})();const hS=new Zn("NgModelWithFormControlWarning"),pS={provide:yk,useExisting:se(()=>fS)};let fS=(()=>{class e extends yk{constructor(e,t,n,i){super(),this._ngModelWarningConfig=i,this.update=new dc,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=zk(0,n)}set isDisabled(e){}ngOnChanges(e){if(this._isControlChanged(e)){const t=e.form.previousValue;t&&Rk(t,this,!1),Pk(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}Vk(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Rk(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return e.\u0275fac=function(t){return new(t||e)(ja(tk,10),ja(nk,10),ja(Kw,10),ja(hS,8))},e.\u0275dir=qe({type:e,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[$o([pS]),ba,ut]}),e._ngModelWarningSentOnce=!1,e})();const mS={provide:_k,useExisting:se(()=>_S)};let _S=(()=>{class e extends _k{constructor(e,t){super(),this.validators=e,this.asyncValidators=t,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new dc,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Fk(this.form,this,!1),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return Pk(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){Rk(e.control||null,e,!1),Wk(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this.submitted=!0,Bk(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const t=this.form.get(e.path);e.control!==t&&(Rk(e.control||null,e),t&&Pk(t,e),e.control=t)}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);Hk(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);t&&function(e,t){return Fk(e,t,!1)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Yk(this.form,this,!1),this._oldForm&&Fk(this._oldForm,this,!1)}_checkFormPresent(){}}return e.\u0275fac=function(t){return new(t||e)(ja(tk,10),ja(nk,10))},e.\u0275dir=qe({type:e,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&Ga("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[$o([mS]),ba,ut]}),e})();const gS={provide:yk,useExisting:se(()=>yS)};let yS=(()=>{class e extends yk{constructor(e,t,n,i,r){super(),this._ngModelWarningConfig=r,this._added=!1,this.update=new dc,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=zk(0,i)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),Vk(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return Ik(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return e.\u0275fac=function(t){return new(t||e)(ja(_k,13),ja(tk,10),ja(nk,10),ja(Kw,10),ja(hS,8))},e.\u0275dir=qe({type:e,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[$o([gS]),ba,ut]}),e._ngModelWarningSentOnce=!1,e})();const bS={provide:tk,useExisting:se(()=>vS),multi:!0};let vS=(()=>{class e{constructor(){this._required=!1}get required(){return this._required}set required(e){this._required=null!=e&&!1!==e&&"false"!=`${e}`,this._onChange&&this._onChange()}validate(e){return this.required?rk.required(e):null}registerOnValidatorChange(e){this._onChange=e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=qe({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&Aa("required",t.required?"":null)},inputs:{required:"required"},features:[$o([bS])]}),e})();const wS={provide:tk,useExisting:se(()=>kS),multi:!0};let kS=(()=>{class e{constructor(){this._validator=rk.nullValidator}ngOnChanges(e){"maxlength"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return null!=this.maxlength?this._validator(e):null}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=rk.maxLength("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=qe({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&Aa("maxlength",t.maxlength?t.maxlength:null)},inputs:{maxlength:"maxlength"},features:[$o([wS]),ut]}),e})(),SS=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)}}),e})(),CS=(()=>{class e{group(e,t=null){const n=this._reduceControls(e);let i,r=null,s=null;return null!=t&&(function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(r=null!=t.validators?t.validators:null,s=null!=t.asyncValidators?t.asyncValidators:null,i=null!=t.updateOn?t.updateOn:void 0):(r=null!=t.validator?t.validator:null,s=null!=t.asyncValidator?t.asyncValidator:null)),new iS(n,{asyncValidators:s,updateOn:i,validators:r})}control(e,t,n){return new nS(e,t,n)}array(e,t,n){const i=e.map(e=>this._createControl(e));return new rS(i,t,n)}_reduceControls(e){const t={};return Object.keys(e).forEach(n=>{t[n]=this._createControl(e[n])}),t}_createControl(e){return e instanceof nS||e instanceof iS||e instanceof rS?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),xS=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[xk],imports:[SS]}),e})(),MS=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:hS,useValue:t.warnOnNgModelWithFormControl}]}}}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[CS,xk],imports:[SS]}),e})();const DS=["content"];function LS(e,t){if(1&e&&Va(0,"formly-field",2),2&e){const e=t.$implicit;Ya("form",e.form)("options",e.options)("model",e.model)("field",e)}}const OS=["*"],ES=["container"];function TS(e,t){}const AS=["fieldComponent"];function IS(e,t){1&e&&Va(0,"formly-field",1),2&e&&Ya("field",t.$implicit)}function PS(e,t,n){if(t.id)return t.id;let i=t.type;return!i&&t.template&&(i="template"),[e,i,t.key,n].join("_")}function RS(e){if(!e.key)return[];if(!e._keyPath||e._keyPath.key!==e.key){let t=[];if("string"==typeof e.key){const n=-1===e.key.indexOf("[")?e.key:e.key.replace(/\[(\w+)\]/g,".$1");t=-1!==n.indexOf(".")?n.split("."):[n]}else t=Array.isArray(e.key)?e.key.slice(0):[`${e.key}`];e._keyPath={key:e.key,path:t}}return e._keyPath.path.slice(0)}const jS=["required","pattern","minLength","maxLength","min","max"];function YS(e,t){let n=RS(e);if(0===n.length)return;let i=e;for(;i.parent;)i=i.parent,n=[...RS(i),...n];if(void 0===t&&e.resetOnHide){const e=n.pop();delete n.reduce((e,t)=>e[t]||{},i.model)[e]}else!function(e,t,n){for(let i=0;i{for(let r in t)HS(e[r])||""===e[r]?e[r]=zS(t[r]):(i=t[r],BS(n=e[r])&&BS(i)&&Object.getPrototypeOf(n)===Object.getPrototypeOf(i)&&!Array.isArray(n)&&!Array.isArray(i)&&NS(e[r],t[r]));var n,i}),e}function HS(e){return null==e}function VS(e){return void 0===e}function US(e){return"function"==typeof e}function BS(e){return null!=e&&"object"==typeof e}function zS(e){if(!BS(e)||x_(e)||e.changingThisBreaksApplicationSecurity||-1!==["RegExp","FileList","File","Blob"].indexOf(e.constructor.name))return e;if(e._isAMomentObject&&US(e.clone))return e.clone();if(e instanceof tS)return null;if(e instanceof Date)return new Date(e.getTime());if(Array.isArray(e))return e.slice(0).map(e=>zS(e));const t=Object.getPrototypeOf(e);let n=Object.create(t);return n=Object.setPrototypeOf(n,t),Object.keys(e).reduce((t,n)=>{const i=Object.getOwnPropertyDescriptor(e,n);return i.get?Object.defineProperty(t,n,i):t[n]=zS(e[n]),t},n)}function WS(e,t,n){Object.defineProperty(e,t,{enumerable:!1,writable:!0,configurable:!0}),e[t]=n}function qS(e,t,n){e._observers||WS(e,"_observers",{}),e._observers[t]||(e._observers[t]=[]);let i=e._observers[t];return-1===i.indexOf(n)&&(i.push(n),n({currentValue:e[t],firstChange:!0}),1===i.length&&(WS(e,`___$${t}`,e[t]),Object.defineProperty(e,t,{configurable:!0,get:()=>e[`___$${t}`],set:n=>{if(n!==e[`___$${t}`]){const r=e[`___$${t}`];e[`___$${t}`]=n,i.forEach(e=>e({previousValue:r,currentValue:n,firstChange:!1}))}}}))),()=>i.splice(i.indexOf(n),1)}function KS(e,t){const n=e._updateTreeValidity.bind(e);let i={called:!1,emitEvent:!1};e._updateTreeValidity=({emitEvent:e}={emitEvent:!0})=>i={called:!0,emitEvent:e||i.emitEvent},t(),i.called&&n({emitEvent:i.emitEvent}),e._updateTreeValidity=n}const $S=new Zn("FORMLY_CONFIG");let GS=(()=>{class e{constructor(){this.types={},this.validators={},this.wrappers={},this.messages={},this.templateManipulators={preWrapper:[],postWrapper:[]},this.extras={checkExpressionOn:"changeDetectionCheck",lazyRender:!1,showError:function(e){return e.formControl&&e.formControl.invalid&&(e.formControl.touched||e.options.parentForm&&e.options.parentForm.submitted||!(!e.field.validation||!e.field.validation.show))}},this.extensions={}}addConfig(e){e.types&&e.types.forEach(e=>this.setType(e)),e.validators&&e.validators.forEach(e=>this.setValidator(e)),e.wrappers&&e.wrappers.forEach(e=>this.setWrapper(e)),e.manipulators&&(console.warn("NgxFormly: passing 'manipulators' config is deprecated, use custom extension instead."),e.manipulators.forEach(e=>this.setManipulator(e))),e.validationMessages&&e.validationMessages.forEach(e=>this.addValidatorMessage(e.name,e.message)),e.extensions&&e.extensions.forEach(e=>this.extensions[e.name]=e.extension),e.extras&&(this.extras=Object.assign({},this.extras,e.extras))}setType(e){Array.isArray(e)?e.forEach(e=>this.setType(e)):(this.types[e.name]||(this.types[e.name]={name:e.name}),["component","extends","defaultOptions","wrappers"].forEach(t=>{e.hasOwnProperty(t)&&(this.types[e.name][t]=e[t])}))}getType(e){if(!this.types[e])throw new Error(`[Formly Error] The type "${e}" could not be found. Please make sure that is registered through the FormlyModule declaration.`);return this.mergeExtendedType(e),this.types[e]}getMergedField(e={}){const t=this.getType(e.type);t.defaultOptions&&NS(e,t.defaultOptions);const n=t.extends&&this.getType(t.extends).defaultOptions;n&&NS(e,n),e&&e.optionsTypes&&e.optionsTypes.forEach(t=>{const n=this.getType(t).defaultOptions;n&&NS(e,n)});const i=this.resolveFieldTypeRef(e);i&&i.instance&&i.instance.defaultOptions&&NS(e,i.instance.defaultOptions),!e.wrappers&&t.wrappers&&(e.wrappers=[...t.wrappers])}resolveFieldTypeRef(e={}){if(!e.type)return null;const t=this.getType(e.type);if(!t.component||t._componentRef)return t._componentRef;const{_resolver:n,_injector:i}=e.parent.options,r=n.resolveComponentFactory(t.component).create(i);return WS(t,"_componentRef",r),r.destroy(),t._componentRef}setWrapper(e){this.wrappers[e.name]=e,e.types&&e.types.forEach(t=>{this.setTypeWrapper(t,e.name)})}getWrapper(e){if(!this.wrappers[e])throw new Error(`[Formly Error] The wrapper "${e}" could not be found. Please make sure that is registered through the FormlyModule declaration.`);return this.wrappers[e]}setTypeWrapper(e,t){this.types[e]||(this.types[e]={}),this.types[e].wrappers||(this.types[e].wrappers=[]),-1===this.types[e].wrappers.indexOf(t)&&this.types[e].wrappers.push(t)}setValidator(e){this.validators[e.name]=e}getValidator(e){if(!this.validators[e])throw new Error(`[Formly Error] The validator "${e}" could not be found. Please make sure that is registered through the FormlyModule declaration.`);return this.validators[e]}addValidatorMessage(e,t){this.messages[e]=t}getValidatorMessage(e){return this.messages[e]}setManipulator(e){(new e.class)[e.method](this)}mergeExtendedType(e){if(!this.types[e].extends)return;const t=this.getType(this.types[e].extends);this.types[e].component||(this.types[e].component=t.component),this.types[e].wrappers||(this.types[e].wrappers=t.wrappers)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=ce({factory:function(){return new e},token:e,providedIn:"root"}),e})(),JS=(()=>{class e{constructor(e,t,n){this.formlyConfig=e,this.componentFactoryResolver=t,this.injector=n}buildForm(e,t=[],n,i){if(!this.formlyConfig.extensions.core)throw new Error("NgxFormly: missing `forRoot()` call. use `forRoot()` when registering the `FormlyModule`.");const r={fieldGroup:t,model:n,formControl:e,options:this._setOptions(i)};KS(e,()=>this._buildForm(r)),r.options._checkField(r,!0)}_buildForm(e){this.getExtensions().forEach(t=>t.prePopulate&&t.prePopulate(e)),this.getExtensions().forEach(t=>t.onPopulate&&t.onPopulate(e)),e.fieldGroup&&e.fieldGroup.forEach(e=>this._buildForm(e)),this.getExtensions().forEach(t=>t.postPopulate&&t.postPopulate(e))}getExtensions(){return Object.keys(this.formlyConfig.extensions).map(e=>this.formlyConfig.extensions[e])}_setOptions(e){return(e=e||{}).formState=e.formState||{},e.showError||(e.showError=this.formlyConfig.extras.showError),e.fieldChanges||WS(e,"fieldChanges",new S),e._resolver||WS(e,"_resolver",this.componentFactoryResolver),e._injector||WS(e,"_injector",this.injector),e._hiddenFieldsForCheck||(e._hiddenFieldsForCheck=[]),e._markForCheck||(e._markForCheck=t=>{t._componentRefs&&t._componentRefs.forEach(e=>{e.injector.get(Dl).markForCheck()}),t.fieldGroup&&t.fieldGroup.forEach(t=>e._markForCheck(t))}),e._buildField||(e._buildField=e=>(this.buildForm(e.form,e.fieldGroup,e.model,e.options),e)),e}}return e.\u0275fac=function(t){return new(t||e)(gi(GS),gi(Qo),gi(ga))},e.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=ce({factory:function(){return new e(yi(GS),yi(Qo),yi(ta))},token:e,providedIn:"root"}),e})();function QS(e,t,n=!1){(t=t||e.formControl)._fields||WS(t,"_fields",[]),-1===t._fields.indexOf(e)&&t._fields.push(e),!e.formControl&&t&&(WS(e,"formControl",t),e.templateOptions.disabled=!!e.templateOptions.disabled,qS(e.templateOptions,"disabled",({firstChange:t,currentValue:n})=>{t||(n?e.formControl.disable():e.formControl.enable())}),t.registerOnDisabledChange&&t.registerOnDisabledChange(t=>{e.templateOptions.___$disabled=t,e.options&&e.options._markForCheck(e)}));let i=e.parent.formControl;if(!i||!e.key)return;const r=RS(e),s=FS(e);HS(t.value)&&HS(s)||t.value===s||!(t instanceof nS)||t.patchValue(s);for(let o=0;oi.setControl(e,new iS({}))),i=i.get([e])}const a=r[r.length-1];e._hide||i.get([a])===t||ZS(i,{emitEvent:n},()=>i.setControl(a,t))}function XS(e){const t=e.status;e.updateValueAndValidity({emitEvent:!1}),t!==e.status&&e.statusChanges.emit(e.status)}function ZS(e,t,n){e instanceof iS&&!e.__patchForEachChild&&(WS(e,"__patchForEachChild",!0),e._forEachChild=t=>{Object.keys(e.controls).forEach(n=>e.controls[n]&&t(e.controls[n],n))});const i=e.updateValueAndValidity.bind(e);!1===t.emitEvent&&(e.updateValueAndValidity=e=>{i(Object.assign({},e||{},{emitEvent:!1}))}),n(),!1===t.emitEvent&&(e.updateValueAndValidity=i)}function eC(e){e._fields&&delete e._fields,e.setValidators(null),e.setAsyncValidators(null),(e instanceof iS||e instanceof rS)&&Object.keys(e.controls).forEach(t=>eC(e.controls[t]))}let tC=(()=>{class e{constructor(e,t,n,i,r){this.formlyBuilder=e,this.formlyConfig=t,this.ngZone=n,this.parentFormGroup=r,this.modelChange=new dc,this.immutable=!1,this._modelChangeValue={},this.modelChangeSubs=[],this.modelChange$=new S,this.modelChangeSub=this.modelChange$.pipe(V_(()=>this.ngZone.onStable.asObservable().pipe(Ig(1)))).subscribe(()=>this.ngZone.runGuarded(()=>{this.checkExpressionChange(),this.modelChange.emit(this._modelChangeValue=zS(this.model))})),null!==i&&console.warn("NgxFormly: passing 'immutable' attribute to 'formly-form' component is deprecated since v5.5, enable immutable mode through NgModule declaration instead."),this.immutable=null!==i||!!t.extras.immutable}set model(e){this._model=this.immutable?zS(e):e}get model(){return this._model||(this._model={}),this._model}set fields(e){this._fields=this.immutable?zS(e):e}get fields(){return this._fields||[]}set options(e){this._options=this.immutable?zS(e):e}get options(){return this._options}set content(e){if(e){let t=!1,n=e.nativeElement.nextSibling;for(;n&&!t;)(n.nodeType===Node.ELEMENT_NODE||n.nodeType===Node.TEXT_NODE&&n.textContent&&""!==n.textContent.trim())&&(t=!0),n=n.nextSibling;t&&console.warn("NgxFormly: content projection for 'formly-form' component is deprecated since v5.5, you should avoid passing content inside the 'formly-form' tag.")}}ngDoCheck(){"changeDetectionCheck"===this.formlyConfig.extras.checkExpressionOn&&this.checkExpressionChange()}ngOnChanges(e){e.model&&this.field&&(this.field.model=this.model),e.fields&&this.form&&eC(this.form),(e.fields||e.form||e.model&&this._modelChangeValue!==e.model.currentValue)&&(this.form=this.form||new iS({}),this.setOptions(),this.options.updateInitialValue(),this.clearModelSubscriptions(),this.formlyBuilder.buildForm(this.form,this.fields,this.model,this.options),this.trackModelChanges(this.fields))}ngOnDestroy(){this.modelChangeSub.unsubscribe(),this.clearModelSubscriptions()}changeModel({value:e,field:t}){YS(t,e),this.modelChange$.next()}setOptions(){this.options||(this.options={}),this.options.resetModel||(this.options.resetModel=e=>{e=zS(HS(e)?this.options._initialModel:e),this.model&&(Object.keys(this.model).forEach(e=>delete this.model[e]),Object.assign(this.model,e||{})),this.options._buildForm(),this.options.parentForm&&this.options.parentForm.control===this.form?this.options.parentForm.resetForm(this.model):this.form.reset(this.model)}),!this.options.parentForm&&this.parentFormGroup&&(WS(this.options,"parentForm",this.parentFormGroup),qS(this.options.parentForm,"submitted",({firstChange:e})=>{e||(this.checkExpressionChange(),this.options._markForCheck({fieldGroup:this.fields,model:this.model,formControl:this.form,options:this.options}))})),this.options.updateInitialValue||(this.options.updateInitialValue=()=>this.options._initialModel=zS(this.model)),this.options._buildForm||(this.options._buildForm=(e=!1)=>{this.clearModelSubscriptions(),this.formlyBuilder.buildForm(this.form,this.fields,this.model,this.options),this.trackModelChanges(this.fields),e&&this.modelChange.emit(this._modelChangeValue=zS(this.model))})}checkExpressionChange(){this.options&&this.options._checkField&&this.options._checkField({fieldGroup:this.fields,model:this.model,formControl:this.form,options:this.options})}trackModelChanges(e,t=[]){e.forEach(e=>{if(e.key&&!e.fieldGroup){const n=e.formControl;let i=n.valueChanges.pipe(M_((e,t)=>e===t&&!Array.isArray(e)&&!BS(e)));const{updateOn:r,debounce:s}=e.modelOptions;(!r||"change"===r)&&s&&s.default>0&&(i=n.valueChanges.pipe(Ry(s.default))),this.modelChangeSubs.push(i.subscribe(i=>{n instanceof nS&&n._fields&&n._fields.length>1&&n.patchValue(i,{emitEvent:!1,onlySelf:!0}),e.parsers&&e.parsers.length>0&&e.parsers.forEach(e=>i=e(i)),this.changeModel({key:[...t,...RS(e)].join("."),value:i,field:e})}));const a=n.valueChanges.observers;a&&a.length>1&&a.unshift(a.pop())}e.fieldGroup&&e.fieldGroup.length>0&&this.trackModelChanges(e.fieldGroup,e.key?[...t,...RS(e)]:t)})}clearModelSubscriptions(){this.modelChangeSubs.forEach(e=>e.unsubscribe()),this.modelChangeSubs=[]}get field(){return this.fields&&this.fields[0]&&this.fields[0].parent}}return e.\u0275fac=function(t){return new(t||e)(ja(JS),ja(GS),ja(Xc),Jn("immutable"),ja(_S,8))},e.\u0275cmp=He({type:e,selectors:[["formly-form"]],viewQuery:function(e,t){if(1&e&&Cc(DS,1),2&e){let e;Sc(e=Mc())&&(t.content=e.first)}},inputs:{model:"model",fields:"fields",options:"options",form:"form"},outputs:{modelChange:"modelChange"},features:[$o([JS]),ut],ngContentSelectors:OS,decls:4,vars:1,consts:[["hide-deprecation","",3,"form","options","model","field",4,"ngFor","ngForOf"],["content",""],["hide-deprecation","",3,"form","options","model","field"]],template:function(e,t){1&e&&(no(),Pa(0,LS,1,4,"formly-field",0),Ua(1,null,1),io(3),Ba()),2&e&&Ya("ngForOf",t.fields)},directives:function(){return[Ad,nC]},encapsulation:2}),e})(),nC=(()=>{class e{constructor(e,t,n,i,r){this.formlyConfig=e,this.renderer=t,this.resolver=n,this.elementRef=i,this.warnDeprecation=!1,this.modelChange=new dc,this.hostObservers=[],this.componentRefs=[],this.hooksObservers=[],this.warnDeprecation=null===r}set model(e){this.warnDeprecation&&console.warn(`NgxFormly: passing 'model' input to '${this.constructor.name}' component is not required anymore, you may remove it!`)}set form(e){this.warnDeprecation&&console.warn(`NgxFormly: passing 'form' input to '${this.constructor.name}' component is not required anymore, you may remove it!`)}set options(e){this.warnDeprecation&&console.warn(`NgxFormly: passing 'options' input to '${this.constructor.name}' component is not required anymore, you may remove it!`)}ngAfterContentInit(){this.triggerHook("afterContentInit")}ngAfterContentChecked(){this.triggerHook("afterContentChecked")}ngAfterViewInit(){this.triggerHook("afterViewInit")}ngAfterViewChecked(){this.triggerHook("afterViewChecked")}ngDoCheck(){this.triggerHook("doCheck")}ngOnInit(){this.triggerHook("onInit")}ngOnChanges(e){this.triggerHook("onChanges",e)}ngOnDestroy(){this.resetRefs(this.field),this.hostObservers.forEach(e=>e()),this.hooksObservers.forEach(e=>e()),this.triggerHook("onDestroy")}renderField(e,t,n=[]){if(this.containerRef===e&&(this.resetRefs(this.field),this.containerRef.clear(),n=this.field?this.field.wrappers:[]),n&&n.length>0){const[i,...r]=n,{component:s}=this.formlyConfig.getWrapper(i),a=e.createComponent(this.resolver.resolveComponentFactory(s));this.attachComponentRef(a,t),qS(a.instance,"fieldComponent",({firstChange:e,previousValue:n,currentValue:i})=>{if(i){const s=n?n.detach():null;s&&!s.destroyed?i.insert(s):this.renderField(i,t,r),!e&&a.changeDetectorRef.detectChanges()}})}else if(t&&t.type){const{component:n}=this.formlyConfig.getType(t.type),i=e.createComponent(this.resolver.resolveComponentFactory(n));this.attachComponentRef(i,t)}}triggerHook(e,t){if(this.field&&this.field.hooks&&this.field.hooks[e]&&(!t||t.field)){const t=this.field.hooks[e](this.field);if(x_(t)&&-1!==["onInit","afterContentInit","afterViewInit"].indexOf(e)){const e=t.subscribe();this.hooksObservers.push(()=>e.unsubscribe())}}this.field&&this.field.lifecycle&&this.field.lifecycle[e]&&this.field.lifecycle[e](this.field.form,this.field,this.field.model,this.field.options),"onChanges"===e&&t.field&&(this.resetRefs(t.field.previousValue),this.render())}attachComponentRef(e,t){this.componentRefs.push(e),t._componentRefs.push(e),Object.assign(e.instance,{field:t})}render(){this.field&&(this.hostObservers.forEach(e=>e()),this.hostObservers=[qS(this.field,"hide",({firstChange:e,currentValue:t})=>{this.formlyConfig.extras.lazyRender?t?this.containerRef.clear():this.renderField(this.containerRef,this.field):(e&&this.renderField(this.containerRef,this.field),(!e||e&&t)&&this.renderer.setStyle(this.elementRef.nativeElement,"display",t?"none":""))}),qS(this.field,"className",({firstChange:e,currentValue:t})=>{(!e||e&&t)&&this.renderer.setAttribute(this.elementRef.nativeElement,"class",t)})])}resetRefs(e){e&&(e._componentRefs?e._componentRefs=e._componentRefs.filter(e=>-1===this.componentRefs.indexOf(e)):WS(this.field,"_componentRefs",[])),this.componentRefs=[]}}return e.\u0275fac=function(t){return new(t||e)(ja(GS),ja(rl),ja(Qo),ja(tl),Jn("hide-deprecation"))},e.\u0275cmp=He({type:e,selectors:[["formly-field"]],viewQuery:function(e,t){if(1&e&&Cc(ES,3,Hl),2&e){let e;Sc(e=Mc())&&(t.containerRef=e.first)}},inputs:{model:"model",form:"form",options:"options",field:"field"},outputs:{modelChange:"modelChange"},features:[ut],decls:2,vars:0,consts:[["container",""]],template:function(e,t){1&e&&Pa(0,TS,0,0,"ng-template",null,0,Ec)},encapsulation:2}),e})(),iC=(()=>{class e{constructor(e,t,n){this.renderer=e,this.elementRef=t,this.uiAttributesCache={},this.uiAttributes=[...jS,"tabindex","placeholder","readonly","disabled","step"],this.uiEvents={listeners:[],events:["click","keyup","keydown","keypress"]},this.document=n}get to(){return this.field.templateOptions||{}}get fieldAttrElements(){return this.field&&this.field._elementRefs||[]}ngOnChanges(e){e.field&&(this.field.name&&this.setAttribute("name",this.field.name),this.uiEvents.listeners.forEach(e=>e()),this.uiEvents.events.forEach(e=>{this.to&&this.to[e]&&this.uiEvents.listeners.push(this.renderer.listen(this.elementRef.nativeElement,e,t=>this.to[e](this.field,t)))}),this.to&&this.to.attributes&&qS(this.to,"attributes",({currentValue:e,previousValue:t})=>{t&&Object.keys(t).forEach(e=>this.removeAttribute(e)),e&&Object.keys(e).forEach(t=>this.setAttribute(t,e[t]))}),this.detachElementRef(e.field.previousValue),this.attachElementRef(e.field.currentValue),1===this.fieldAttrElements.length&&(!this.id&&this.field.id&&this.setAttribute("id",this.field.id),qS(this.field,"focus",({currentValue:e})=>{this.toggleFocus(e)}))),e.id&&this.setAttribute("id",this.id)}ngDoCheck(){this.uiAttributes.forEach(e=>{const t=this.to[e];this.uiAttributesCache[e]!==t&&(this.uiAttributesCache[e]=t,t||0===t?this.setAttribute(e,!0===t?e:`${t}`):this.removeAttribute(e))})}ngOnDestroy(){this.uiEvents.listeners.forEach(e=>e()),this.detachElementRef(this.field)}toggleFocus(e){const t=this.fieldAttrElements?this.fieldAttrElements[0]:null;if(!t||!t.nativeElement.focus)return;const n=!!this.document.activeElement&&this.fieldAttrElements.some(({nativeElement:e})=>this.document.activeElement===e||e.contains(this.document.activeElement));e&&!n?t.nativeElement.focus():!e&&n&&t.nativeElement.blur()}onFocus(e){this.field.___$focus=!0,this.to.focus&&this.to.focus(this.field,e)}onBlur(e){this.field.___$focus=!1,this.to.blur&&this.to.blur(this.field,e)}onChange(e){this.to.change&&this.to.change(this.field,e),this.field.formControl&&this.field.formControl.markAsDirty()}attachElementRef(e){e&&(e._elementRefs&&-1===e._elementRefs.indexOf(this.elementRef)?e._elementRefs.push(this.elementRef):WS(e,"_elementRefs",[this.elementRef]))}detachElementRef(e){const t=e&&e._elementRefs?this.fieldAttrElements.indexOf(this.elementRef):-1;-1!==t&&this.field._elementRefs.splice(t,1)}setAttribute(e,t){this.renderer.setAttribute(this.elementRef.nativeElement,e,t)}removeAttribute(e){this.renderer.removeAttribute(this.elementRef.nativeElement,e)}}return e.\u0275fac=function(t){return new(t||e)(ja(rl),ja(tl),ja(Tu))},e.\u0275dir=qe({type:e,selectors:[["","formlyAttributes",""]],hostBindings:function(e,t){1&e&&Ga("focus",function(e){return t.onFocus(e)})("blur",function(e){return t.onBlur(e)})("change",function(e){return t.onChange(e)})},inputs:{field:["formlyAttributes","field"],id:"id"},features:[ut]}),e})(),rC=(()=>{class e{get model(){return this.field.model}set model(e){console.warn(`NgxFormly: passing 'model' input to '${this.constructor.name}' component is not required anymore, you may remove it!`)}get form(){return this.field.parent.formControl}set form(e){console.warn(`NgxFormly: passing 'form' input to '${this.constructor.name}' component is not required anymore, you may remove it!`)}get options(){return this.field.options}set options(e){console.warn(`NgxFormly: passing 'options' input to '${this.constructor.name}' component is not required anymore, you may remove it!`)}get key(){return this.field.key}get formControl(){return this.field.formControl}get to(){return this.field.templateOptions||{}}get showError(){return this.options.showError(this)}get id(){return this.field.id}get formState(){return this.options.formState||{}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=qe({type:e,inputs:{model:"model",form:"form",options:"options",field:"field"}}),e})(),sC=(()=>{class e extends rC{}return e.\u0275fac=function(t){return aC(t||e)},e.\u0275dir=qe({type:e,viewQuery:function(e,t){if(1&e&&Cc(AS,1,Hl),2&e){let e;Sc(e=Mc())&&(t.fieldComponent=e.first)}},features:[ba]}),e})();const aC=Gn(sC);let oC=(()=>{class e extends rC{constructor(){super(...arguments),this.defaultOptions={defaultValue:{}}}}return e.\u0275fac=function(t){return lC(t||e)},e.\u0275cmp=He({type:e,selectors:[["formly-group"]],hostVars:2,hostBindings:function(e,t){2&e&&go(oi,mo,t.field.fieldGroupClassName||"",!0)},features:[ba],ngContentSelectors:OS,decls:2,vars:1,consts:[[3,"field",4,"ngFor","ngForOf"],[3,"field"]],template:function(e,t){1&e&&(no(),Pa(0,IS,1,1,"formly-field",0),io(1)),2&e&&Ya("ngForOf",t.field.fieldGroup)},directives:[Ad,nC],encapsulation:2}),e})();const lC=Gn(oC);let cC=(()=>{class e{constructor(e){this.formlyConfig=e}ngOnChanges(){this.errorMessage$=this.field.formControl.statusChanges.pipe(H_(null),V_(()=>x_(this.errorMessage)?this.errorMessage:Th(this.errorMessage)))}get errorMessage(){const e=this.field.formControl;for(let t in e.errors)if(e.errors.hasOwnProperty(t)){let n=this.formlyConfig.getValidatorMessage(t);if(BS(e.errors[t])){if(e.errors[t].errorPath)return;e.errors[t].message&&(n=e.errors[t].message)}return this.field.validation&&this.field.validation.messages&&this.field.validation.messages[t]&&(n=this.field.validation.messages[t]),this.field.validators&&this.field.validators[t]&&this.field.validators[t].message&&(n=this.field.validators[t].message),this.field.asyncValidators&&this.field.asyncValidators[t]&&this.field.asyncValidators[t].message&&(n=this.field.asyncValidators[t].message),"function"==typeof n?n(e.errors[t],this.field):n}}}return e.\u0275fac=function(t){return new(t||e)(ja(GS))},e.\u0275cmp=He({type:e,selectors:[["formly-validation-message"]],inputs:{field:"field"},features:[ut],decls:2,vars:3,template:function(e,t){1&e&&(Mo(0),ac(1,"async")),2&e&&Do(oc(1,1,t.errorMessage$))},pipes:[Kd],encapsulation:2,changeDetection:0}),e})(),uC=(()=>{class e extends rC{constructor(e){super(),this.sanitizer=e,this.innerHtml={content:null,template:null}}get template(){return this.field&&this.field.template!==this.innerHtml.template&&(this.innerHtml={template:this.field.template,content:this.to.safeHtml?this.sanitizer.bypassSecurityTrustHtml(this.field.template):this.field.template}),this.innerHtml.content}}return e.\u0275fac=function(t){return new(t||e)(ja(Mh))},e.\u0275cmp=He({type:e,selectors:[["formly-template"]],features:[ba],decls:1,vars:1,consts:[[3,"innerHtml"]],template:function(e,t){1&e&&Va(0,"div",0),2&e&&Ya("innerHtml",t.template,or)},encapsulation:2}),e})();function dC(e,t,n){return e instanceof Function?e.apply(t,n):!!e}class hC{prePopulate(e){if(e.parent||e.options._checkField)return;let t=!1;e.options._checkField=(e,n)=>{t||(t=!0,KS(e.formControl,()=>this.checkField(e,n)),t=!1)}}postPopulate(e){if(e.parent&&!e._expressionProperties){if(WS(e,"_expressionProperties",{}),e.expressionProperties)for(const t in e.expressionProperties){const n=e.expressionProperties[t];if("string"==typeof n||US(n))e._expressionProperties[t]={expression:this._evalExpression(t,n,"templateOptions.disabled"===t&&e.parent.expressionProperties&&e.parent.expressionProperties.hasOwnProperty("templateOptions.disabled")?()=>e.parent.templateOptions.disabled:void 0)},"templateOptions.disabled"===t&&Object.defineProperty(e._expressionProperties[t],"expressionValue",{get:()=>e.templateOptions.disabled,set:()=>{},enumerable:!0,configurable:!0});else if(n instanceof y){const i=()=>n.subscribe(n=>{this.setExprValue(e,t,n),e.options&&e.options._markForCheck&&e.options._markForCheck(e)});let r=i();const s=e.hooks.onInit;e.hooks.onInit=()=>(null===r&&(r=i()),s&&s(e));const a=e.hooks.onDestroy;e.hooks.onDestroy=()=>{a&&a(e),r.unsubscribe(),r=null}}}e.hideExpression?(delete e.hide,e.hideExpression=this._evalExpression("hide",e.hideExpression,()=>{let t=e.parent;for(;t.parent&&!t.hide;)t=t.parent;return t.hide})):qS(e,"hide",({currentValue:t,firstChange:n})=>{e._hide=t,(!n||n&&!0===t)&&e.options._hiddenFieldsForCheck.push(e)})}}_evalExpression(e,t,n){return(i,r,s)=>{try{return"string"==typeof t&&(t=function(e,t){try{return-1!==e.indexOf("this.field")&&console.warn("NgxFormly: using 'this.field' in expressionProperties is deprecated since v5.1, use 'field' instead."),Function("model","formState","field",`return ${e};`)}catch(n){console.error(n)}}(t)),"function"!=typeof t&&(t=()=>!!t),n&&n()||t(i,r,s)}catch(a){throw a.message=`[Formly Error] [Expression "${e}"] ${a.message}`,a}}}checkField(e,t=!1){this._checkField(e,t),e.options._hiddenFieldsForCheck.sort(e=>e.hide?-1:1).forEach(e=>this.toggleFormControl(e,!!e.hide,!t)),e.options._hiddenFieldsForCheck=[]}_checkField(e,t=!1){let n=!1;e.fieldGroup.forEach(i=>{this.checkFieldExpressionChange(i,t)&&(n=!0),this.checkFieldVisibilityChange(i,t)&&(e.options._hiddenFieldsForCheck.push(i),n=!0),i.fieldGroup&&i.fieldGroup.length>0&&this._checkField(i,t)}),n&&e.options&&e.options._markForCheck&&e.options._markForCheck(e)}checkFieldExpressionChange(e,t){if(!e||!e._expressionProperties)return!1;let n=!1;const i=e._expressionProperties;for(const r in i){let s=dC(i[r].expression,{field:e},[e.model,e.options.formState,e]);"templateOptions.disabled"===r&&(s=!!s),!t&&(i[r].expressionValue===s||BS(s)&&JSON.stringify(s)===JSON.stringify(i[r].expressionValue))||(n=!0,i[r].expressionValue=s,this.setExprValue(e,r,s))}return n}checkFieldVisibilityChange(e,t){if(!e||HS(e.hideExpression))return!1;const n=!!dC(e.hideExpression,{field:e},[e.model,e.options.formState,e]);let i=!1;return(n!==e.hide||t)&&(i=!0,e.hide=n,e.templateOptions.hidden=n),i}setDisabledState(e,t){e.fieldGroup&&e.fieldGroup.filter(e=>!e.expressionProperties||!e.expressionProperties.hasOwnProperty("templateOptions.disabled")).forEach(e=>this.setDisabledState(e,t)),e.key&&e.templateOptions.disabled!==t&&(e.templateOptions.disabled=t)}toggleFormControl(e,t,n){if(e.formControl&&e.key){WS(e,"_hide",!(!t&&!e.hide));const i=e.formControl;i._fields.length>1&&XS(i),!0===t&&i._fields.every(e=>!!e._hide)?(function(e,t=!1){const n=e.formControl.parent;if(!n)return;const i=e.formControl,r={emitEvent:t};if(n instanceof rS){const e=n.controls.findIndex(e=>e===i);-1!==e&&ZS(n,r,()=>n.removeAt(e))}else if(n instanceof iS){const t=RS(e),s=t[t.length-1];n.get([s])===i&&ZS(n,r,()=>n.removeControl(s))}i.setParent(null)}(e,!0),n&&e.resetOnHide&&(e.formControl.reset({value:void 0,disabled:e.formControl.disabled}),e.fieldGroup&&(YS(e,void 0),e.formControl instanceof rS&&(e.fieldGroup.length=0)))):!1===t&&(e.resetOnHide&&e.parent&&!VS(e.defaultValue)&&VS(FS(e))&&YS(e,e.defaultValue),QS(e,void 0,!0),e.resetOnHide&&e.fieldArray&&(e.fieldGroup||[]).length!==(e.model||[]).length&&e.options._buildForm(!0))}e.fieldGroup&&e.fieldGroup.filter(e=>!e.hideExpression).forEach(e=>this.toggleFormControl(e,t,n)),e.options.fieldChanges&&e.options.fieldChanges.next({field:e,type:"hidden",value:t})}setExprValue(e,t,n){try{let i=e;const r=(-1===t.indexOf("[")?t:t.replace(/\[(\w+)\]/g,".$1")).split("."),s=r.length-1;for(let e=0;ethis.wrapNgValidatorFn(e,t))):n.push(this.wrapNgValidatorFn(e,e[t][i],i));WS(e,"_"+t,n)}getPredefinedFieldValidation(e){let t=[];return jS.forEach(n=>qS(e.templateOptions,n,({currentValue:i,firstChange:r})=>{t=t.filter(e=>e!==n),null!=i&&!1!==i&&t.push(n),!r&&e.formControl&&XS(e.formControl)})),n=>0===t.length?null:rk.compose(t.map(t=>()=>{const i=e.templateOptions[t];switch(t){case"required":return rk.required(n);case"pattern":return rk.pattern(i)(n);case"minLength":return rk.minLength(i)(n);case"maxLength":return rk.maxLength(i)(n);case"min":return rk.min(i)(n);case"max":return rk.max(i)(n)}}))(n)}wrapNgValidatorFn(e,t,n){let i=null;if("string"==typeof t&&(i=zS(this.formlyConfig.getValidator(t))),"object"==typeof t&&t.name&&(i=zS(this.formlyConfig.getValidator(t.name)),t.options&&(i.options=t.options)),"object"==typeof t&&t.expression){const{expression:e}=t,r=Object(zw.__rest)(t,["expression"]);i={name:n,validation:e,options:Object.keys(r).length>0?r:null}}return"function"==typeof t&&(i={name:n,validation:t}),t=>{const r=i.validation(t,e,i.options);return(s=r)&&"function"==typeof s.then?r.then(t=>this.handleAsyncResult(e,n?!!t:t,i)):x_(r)?r.pipe(M(t=>this.handleAsyncResult(e,n?!!t:t,i))):this.handleResult(e,n?!!r:r,i);var s}}handleAsyncResult(e,t,n){return e.options&&e.options._markForCheck&&e.options._markForCheck(e),this.handleResult(e,t,n)}handleResult(e,t,{name:n,options:i}){"boolean"==typeof t&&(t=t?null:{[n]:i||!0});const r=e.formControl;return r._childrenErrors&&r._childrenErrors[n]&&r._childrenErrors[n](),BS(t)&&Object.keys(t).forEach(n=>{const s=t[n].errorPath?t[n].errorPath:(i||{}).errorPath,a=s?e.formControl.get(s):null;if(a){const e=t[n],i=Object(zw.__rest)(e,["errorPath"]);a.setErrors(Object.assign({},a.errors||{},{[n]:i})),!r._childrenErrors&&WS(r,"_childrenErrors",{}),r._childrenErrors[n]=()=>{const e=a.errors||{},t=n,i=Object(zw.__rest)(e,["symbol"==typeof t?t:t+""]);a.setErrors(0===Object.keys(i).length?null:i)}}}),t}}class fC{constructor(e){this.config=e}onPopulate(e){e.parent&&(e.fieldGroup&&!e.key?WS(e,"formControl",e.parent.formControl):this.addFormControl(e))}postPopulate(e){if(e.parent)return;const t=this.setValidators(e);0!==t.length&&(1===t.length?t[0].formControl.updateValueAndValidity():e.formControl._updateTreeValidity())}addFormControl(e){let t=function(e){if(e.formControl)return e.formControl;if(!1===e.shareFormControl)return null;const t=e.parent.formControl;return t?t.get(RS(e)):null}(e);if(!t){const n={updateOn:e.modelOptions.updateOn},i=e.key?FS(e):e.defaultValue,r=this.config?this.config.resolveFieldTypeRef(e):null;if(r&&r.componentType&&r.componentType.createControl){const n=r.componentType;console.warn(`NgxFormly: '${n.name}::createControl' is deprecated since v5.0, use 'prePopulate' hook instead.`),t=n.createControl(i,e)}else t=e.fieldGroup?new iS({},n):new nS(i,n)}QS(e,t)}setValidators(e){let t=!1;if(e.key||!e.parent||!e.key&&!e.fieldGroup){const{formControl:n}=e;!!e.templateOptions&&e.templateOptions.disabled&&n.enabled&&(n.disable({emitEvent:!1,onlySelf:!0}),n.parent?t=!0:XS(n)),null!==n.validator&&null!==n.asyncValidator||(n.setValidators(()=>{const t=rk.compose(this.mergeValidators(e,"_validators"));return t?t(n):null}),n.setAsyncValidators(()=>{const t=rk.composeAsync(this.mergeValidators(e,"_asyncValidators"));return t?t(n):Th(null)}),n.parent?t=!0:XS(n))}const n=t?[e]:[];return(e.fieldGroup||[]).forEach(e=>{const i=this.setValidators(e);t||n.push(...i)}),n}mergeValidators(e,t){const n=[],i=e.formControl;return i&&i._fields&&i._fields.length>1?i._fields.filter(e=>!e._hide).forEach(e=>n.push(...e[t])):n.push(...e[t]),e.fieldGroup&&e.fieldGroup.filter(e=>!e.key&&e.fieldGroup).forEach(e=>n.push(...this.mergeValidators(e,t))),n}}class mC{constructor(e){this.formlyConfig=e,this.formId=0}prePopulate(e){if(this.getFieldComponentInstance(e).prePopulate(),e.parent)return;const t=e.options&&e.options.fieldTransform||this.formlyConfig.extras.fieldTransform;(Array.isArray(t)?t:[t]).forEach(t=>{if(t&&(console.warn("NgxFormly: fieldTransform is deprecated since v5.0, use custom extension instead."),!t(e.fieldGroup,e.model,e.formControl,e.options)))throw new Error("fieldTransform must return an array of fields")})}onPopulate(e){this.initFieldOptions(e),this.getFieldComponentInstance(e).onPopulate(),e.fieldGroup&&e.fieldGroup.forEach((t,n)=>{Object.defineProperty(t,"parent",{get:()=>e,configurable:!0}),Object.defineProperty(t,"index",{get:()=>n,configurable:!0}),this.formId++})}postPopulate(e){this.getFieldComponentInstance(e).postPopulate()}initFieldOptions(e){const t=e.parent;if(t){if(Object.defineProperty(e,"form",{get:()=>t.formControl,configurable:!0}),Object.defineProperty(e,"options",{get:()=>t.options,configurable:!0}),Object.defineProperty(e,"model",{get:()=>e.key&&e.fieldGroup?FS(e):t.model,configurable:!0}),NS(e,{id:PS(`formly_${this.formId}`,e,e.index),hooks:{},modelOptions:{},templateOptions:e.type&&e.key?{label:"",placeholder:"",focus:!1,disabled:!1}:{}}),this.formlyConfig.extras.resetFieldOnHide&&!1!==e.resetOnHide&&(e.resetOnHide=!0),e.lifecycle&&console.warn("NgxFormly: 'lifecycle' is deprecated since v5.0, use 'hooks' instead."),"formly-template"!==e.type&&(e.template||e.expressionProperties&&e.expressionProperties.template)&&(e.type&&console.warn("NgxFormly: passing 'type' property is not allowed when 'template' is set."),e.type="formly-template"),!e.type&&e.fieldGroup&&(e.type="formly-group"),e.type&&this.formlyConfig.getMergedField(e),e.parent){let t=!VS(e.key)&&!VS(e.defaultValue)&&VS(FS(e))&&(!e.resetOnHide||!(e.hide||e.hideExpression));if(t&&e.resetOnHide){let n=e.parent;for(;n&&!n.hideExpression&&!n.hide;)n=n.parent;t=!n||!(n.hideExpression||n.hide)}t&&YS(e,e.defaultValue)}this.initFieldWrappers(e)}}initFieldWrappers(e){e.wrappers=e.wrappers||[];const t=Object.assign({preWrapper:[],postWrapper:[]},e.templateOptions.templateManipulators||{});e.wrappers=[...this.formlyConfig.templateManipulators.preWrapper.map(t=>t(e)),...t.preWrapper.map(t=>t(e)),...e.wrappers,...this.formlyConfig.templateManipulators.postWrapper.map(t=>t(e)),...t.postWrapper.map(t=>t(e))].filter((e,t,n)=>e&&t===n.indexOf(e))}getFieldComponentInstance(e){const t=this.formlyConfig.resolveFieldTypeRef(e),n=t?t.instance:{};return{prePopulate:()=>n.prePopulate&&n.prePopulate(e),onPopulate:()=>n.onPopulate&&n.onPopulate(e),postPopulate:()=>n.postPopulate&&n.postPopulate(e)}}}function _C(e){return{types:[{name:"formly-group",component:oC},{name:"formly-template",component:uC}],extensions:[{name:"core",extension:new mC(e)},{name:"field-validation",extension:new pC(e)},{name:"field-form",extension:new fC(e)},{name:"field-expression",extension:new hC}]}}let gC=(()=>{class e{constructor(e,t=[]){t&&t.forEach(t=>e.addConfig(t))}static forRoot(t={}){return{ngModule:e,providers:[{provide:$S,multi:!0,useFactory:_C,deps:[GS]},{provide:$S,useValue:t,multi:!0},{provide:ei,useValue:t,multi:!0},GS,JS]}}static forChild(t={}){return{ngModule:e,providers:[{provide:$S,multi:!0,useFactory:_C,deps:[GS]},{provide:$S,useValue:t,multi:!0},{provide:ei,useValue:t,multi:!0},JS]}}}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)(gi(GS),gi($S,8))},imports:[[Gd]]}),e})();function yC(e){return""===e||null==e}function bC(e){return e.hasOwnProperty("const")||e.enum&&1===e.enum.length}function vC(e){return e.fieldGroup?e.fieldGroup.reduce((e,t)=>vC(t)+e,0):e.key&&void 0!==function(e){let t=e.options._initialModel,n=RS(e);for(;e.parent;)n=[...RS(e=e.parent),...n];for(const i of n){if(!t)return;t=t[i]}return t}(e)?1:0}let wC=(()=>{class e{toFieldConfig(e,t){return this._toFieldConfig(e,Object.assign({schema:e},t||{}))}_toFieldConfig(e,t){e=this.resolveSchema(e,t);let n={type:this.guessType(e),defaultValue:e.default,templateOptions:{label:e.title,readonly:e.readOnly,description:e.description}};switch(t.ignoreDefault||!e.readOnly&&!t.readOnly||(n.templateOptions.disabled=!0,t=Object.assign({},t,{readOnly:!0})),t.resetOnHide&&(n.resetOnHide=!0),!1===t.shareFormControl&&(n.shareFormControl=!1),t.ignoreDefault&&delete n.defaultValue,n.type){case"null":this.addValidator(n,"null",({value:e})=>null===e);break;case"number":case"integer":n.parsers=[e=>yC(e)?null:Number(e)],e.hasOwnProperty("minimum")&&(n.templateOptions.min=e.minimum),e.hasOwnProperty("maximum")&&(n.templateOptions.max=e.maximum),e.hasOwnProperty("exclusiveMinimum")&&(n.templateOptions.exclusiveMinimum=e.exclusiveMinimum,this.addValidator(n,"exclusiveMinimum",({value:t})=>yC(t)||t>e.exclusiveMinimum)),e.hasOwnProperty("exclusiveMaximum")&&(n.templateOptions.exclusiveMaximum=e.exclusiveMaximum,this.addValidator(n,"exclusiveMaximum",({value:t})=>yC(t)||t!!(yC(t)||"number"!=typeof t||0===t||e.multipleOf<=0)||function(e){return Number.isInteger?Number.isInteger(e):"number"==typeof e&&Math.floor(e)===e}(t/e.multipleOf)));break;case"string":{const t=e.type;Array.isArray(t)&&-1!==t.indexOf("null")&&(n.parsers=[e=>yC(e)?null:e]),["minLength","maxLength","pattern"].forEach(t=>{e.hasOwnProperty(t)&&(n.templateOptions[t]=e[t])});break}case"object":{n.fieldGroup=[];const[i,r]=this.resolveDependencies(e);Object.keys(e.properties||{}).forEach(s=>{const a=this._toFieldConfig(e.properties[s],t);if(n.fieldGroup.push(a),a.key=s,Array.isArray(e.required)&&-1!==e.required.indexOf(s)&&(a.templateOptions.required=!0),a.templateOptions&&!a.templateOptions.required&&i[s]&&(a.expressionProperties={"templateOptions.required":e=>e&&i[s].some(t=>!yC(e[t]))}),r[s]){const e=e=>e.hasOwnProperty("const")?e.const:e.enum[0],i=r[s].oneOf;i&&i.every(e=>e.properties&&e.properties[s]&&bC(e.properties[s]))?i.forEach(i=>{const r=i.properties,a=s,o=r[a],l=Object(zw.__rest)(r,["symbol"==typeof a?a:a+""]);n.fieldGroup.push(Object.assign({},this._toFieldConfig(Object.assign({},i,{properties:l}),Object.assign({},t,{resetOnHide:!0})),{hideExpression:t=>!t||e(o)!==t[s]}))}):n.fieldGroup.push(Object.assign({},this._toFieldConfig(r[s],t),{hideExpression:e=>!e||yC(e[s])}))}}),e.oneOf&&n.fieldGroup.push(this.resolveMultiSchema("oneOf",e.oneOf,Object.assign({},t,{shareFormControl:!1}))),e.anyOf&&n.fieldGroup.push(this.resolveMultiSchema("anyOf",e.anyOf,t));break}case"array":if(e.hasOwnProperty("minItems")&&(n.templateOptions.minItems=e.minItems,this.addValidator(n,"minItems",({value:t})=>yC(t)||t.length>=e.minItems)),e.hasOwnProperty("maxItems")&&(n.templateOptions.maxItems=e.maxItems,this.addValidator(n,"maxItems",({value:t})=>yC(t)||t.length<=e.maxItems)),e.hasOwnProperty("uniqueItems")&&(n.templateOptions.uniqueItems=e.uniqueItems,this.addValidator(n,"uniqueItems",({value:t})=>!(!yC(t)&&e.uniqueItems)||Array.from(new Set(t.map(e=>JSON.stringify(e)))).length===t.length)),e.items&&!Array.isArray(e.items)&&(e.items=this.resolveSchema(e.items,t)),!this.isEnum(e)){const i=this;Object.defineProperty(n,"fieldArray",{get:function(){if(!Array.isArray(e.items))return i._toFieldConfig(e.items,t);const n=this.fieldGroup?this.fieldGroup.length:0,r=e.items[n]?e.items[n]:e.additionalItems;return r?i._toFieldConfig(r,t):{}},enumerable:!0,configurable:!0})}}return e.hasOwnProperty("const")&&(n.templateOptions.const=e.const,this.addValidator(n,"const",({value:t})=>t===e.const),n.type||(n.defaultValue=e.const)),this.isEnum(e)&&(n.templateOptions.multiple="array"===n.type,n.type="enum",n.templateOptions.options=this.toEnumOptions(e)),e.widget&&e.widget.formlyConfig&&(n=NS(e.widget.formlyConfig,n)),t.map?t.map(n,e):n}resolveSchema(e,t){return e.$ref&&(e=this.resolveDefinition(e,t)),e.allOf&&(e=this.resolveAllOf(e,t)),e}resolveAllOf(e,t){var{allOf:n}=e,i=Object(zw.__rest)(e,["allOf"]);if(!n.length)throw Error(`allOf array can not be empty ${n}.`);return n.reduce((e,n)=>(n=this.resolveSchema(n,t),e.required&&n.required&&(e.required=[...e.required,...n.required]),n.uniqueItems&&(e.uniqueItems=n.uniqueItems),["maxLength","maximum","exclusiveMaximum","maxItems","maxProperties"].forEach(t=>{yC(e[t])||yC(n[t])||(e[t]=e[t]{yC(e[t])||yC(n[t])||(e[t]=e[t]>n[t]?e[t]:n[t])}),NS(e,n)),i)}resolveMultiSchema(e,t,n){return{type:"multischema",fieldGroup:[{type:"enum",defaultValue:-1,templateOptions:{multiple:"anyOf"===e,options:t.map((e,t)=>({label:e.title,value:t,disabled:e.readOnly}))}},{fieldGroup:t.map((i,r)=>Object.assign({},this._toFieldConfig(i,Object.assign({},n,{resetOnHide:!0})),{hideExpression:(i,s,a)=>{const o=a.parent.parent.fieldGroup[0].formControl;if(-1===o.value){const i=a.parent.fieldGroup.map((e,t)=>[e,t]).filter(([e,i])=>(console.warn("---",o.value),this.isFieldValid(e,t[i],n))).sort(([e],[t])=>{const n=vC(e),i=vC(t);return n===i?e.templateOptions.disabled===t.templateOptions.disabled?0:e.templateOptions.disabled?1:-1:i>n?1:-1}).map(([,e])=>e),r=[0===i.length?0:i[0]];o.setValue("anyOf"===e?r:r[0])}return Array.isArray(o.value)?-1===o.value.indexOf(r):o.value!==r}}))}]}}resolveDefinition(e,t){const[n,i]=e.$ref.split("#/");if(n)throw Error(`Remote schemas for ${e.$ref} not supported yet.`);const r=i?i.split("/").reduce((e,t)=>e&&e.hasOwnProperty(t)?e[t]:null,t.schema):null;if(!r)throw Error(`Cannot find a definition for ${e.$ref}.`);return r.$ref?this.resolveDefinition(r,t):Object.assign({},r,["title","description","default"].reduce((t,n)=>(e.hasOwnProperty(n)&&(t[n]=e[n]),t),{}))}resolveDependencies(e){const t={},n={};return Object.keys(e.dependencies||{}).forEach(i=>{const r=e.dependencies[i];Array.isArray(r)?r.forEach(e=>{t[e]?t[e].push(i):t[e]=[i]}):n[i]=r}),[t,n]}guessType(e){const t=e.type;if(!t&&e.properties)return"object";if(Array.isArray(t)){if(1===t.length)return t[0];if(2===t.length&&-1!==t.indexOf("null"))return t["null"===t[0]?1:0]}return t}addValidator(e,t,n){e.validators=e.validators||{},e.validators[t]=n}isEnum(e){return e.enum||e.anyOf&&e.anyOf.every(bC)||e.oneOf&&e.oneOf.every(bC)||e.uniqueItems&&e.items&&!Array.isArray(e.items)&&this.isEnum(e.items)}toEnumOptions(e){if(e.enum)return e.enum.map(e=>({value:e,label:e}));const t=e=>{const t=e.hasOwnProperty("const")?e.const:e.enum[0],n={value:t,label:e.title||t};return e.readOnly&&(n.disabled=!0),n};return e.anyOf?e.anyOf.map(t):e.oneOf?e.oneOf.map(t):this.toEnumOptions(e.items)}isFieldValid(e,t,n){const{form:i}=e.options._buildField({form:new iS({}),fieldGroup:[this._toFieldConfig(t,Object.assign({},n,{resetOnHide:!0,ignoreDefault:!0,map:null}))],model:e.model?zS(e.model):e.fieldArray?[]:{}});return i.valid}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=ce({factory:function(){return new e},token:e,providedIn:"root"}),e})();var kC=n("AO/9");class SC extends S{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new v;return this._value}next(e){super.next(this._value=e)}}const CC=(()=>{function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e})();function xC(e,t){let n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new MC(e,t,n))}}class MC{constructor(e,t,n=!1){this.accumulator=e,this.seed=t,this.hasSeed=n}call(e,t){return t.subscribe(new DC(e,this.accumulator,this.seed,this.hasSeed))}}class DC extends f{constructor(e,t,n,i){super(e),this.accumulator=t,this._seed=n,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(e){this.hasSeed=!0,this._seed=e}_next(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}_tryNext(e){const t=this.index++;let n;try{n=this.accumulator(this.seed,e,t)}catch(i){this.destination.error(i)}this.seed=n,this.destination.next(n)}}function LC(e){return function(t){return 0===e?$_():t.lift(new OC(e))}}class OC{constructor(e){if(this.total=e,this.total<0)throw new Ag}call(e,t){return t.subscribe(new EC(e,this.total))}}class EC extends f{constructor(e,t){super(e),this.total=t,this.ring=new Array,this.count=0}_next(e){const t=this.ring,n=this.total,i=this.count++;t.length0){const n=this.count>=this.total?this.total:this.count,i=this.ring;for(let r=0;rt.lift(new AC(e))}class AC{constructor(e){this.errorFactory=e}call(e,t){return t.subscribe(new IC(e,this.errorFactory))}}class IC extends f{constructor(e,t){super(e),this.errorFactory=t,this.hasValue=!1}_next(e){this.hasValue=!0,this.destination.next(e)}_complete(){if(this.hasValue)return this.destination.complete();{let t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}}function PC(){return new CC}function RC(e=null){return t=>t.lift(new jC(e))}class jC{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new YC(e,this.defaultValue))}}class YC extends f{constructor(e,t){super(e),this.defaultValue=t,this.isEmpty=!0}_next(e){this.isEmpty=!1,this.destination.next(e)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function FC(e,t){const n=arguments.length>=2;return i=>i.pipe(e?Ih((t,n)=>e(t,n,i)):g,Ig(1),n?RC(t):TC(()=>new CC))}class NC{constructor(e,t){this.id=e,this.url=t}}class HC extends NC{constructor(e,t,n="imperative",i=null){super(e,t),this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class VC extends NC{constructor(e,t,n){super(e,t),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class UC extends NC{constructor(e,t,n){super(e,t),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class BC extends NC{constructor(e,t,n){super(e,t),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class zC extends NC{constructor(e,t,n,i){super(e,t),this.urlAfterRedirects=n,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class WC extends NC{constructor(e,t,n,i){super(e,t),this.urlAfterRedirects=n,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qC extends NC{constructor(e,t,n,i,r){super(e,t),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=r}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class KC extends NC{constructor(e,t,n,i){super(e,t),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class $C extends NC{constructor(e,t,n,i){super(e,t),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class GC{constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class JC{constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class QC{constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class XC{constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ZC{constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ex{constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class tx{constructor(e,t,n){this.routerEvent=e,this.position=t,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const nx="primary";class ix{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t[0]:t}return null}getAll(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function rx(e){return new ix(e)}function sx(e){const t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function ax(e,t,n){const i=n.path.split("/");if(i.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||i.lengthi[t]===e)}return e===t}function cx(e){return Array.prototype.concat.apply([],e)}function ux(e){return e.length>0?e[e.length-1]:null}function dx(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function hx(e){return $a(e)?e:qa(e)?j(Promise.resolve(e)):Th(e)}function px(e,t,n){return n?function(e,t){return ox(e,t)}(e.queryParams,t.queryParams)&&fx(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>lx(e[n],t[n]))}(e.queryParams,t.queryParams)&&mx(e.root,t.root)}function fx(e,t){if(!vx(e.segments,t.segments))return!1;if(e.numberOfChildren!==t.numberOfChildren)return!1;for(const n in t.children){if(!e.children[n])return!1;if(!fx(e.children[n],t.children[n]))return!1}return!0}function mx(e,t){return _x(e,t,t.segments)}function _x(e,t,n){if(e.segments.length>n.length)return!!vx(e.segments.slice(0,n.length),n)&&!t.hasChildren();if(e.segments.length===n.length){if(!vx(e.segments,n))return!1;for(const n in t.children){if(!e.children[n])return!1;if(!mx(e.children[n],t.children[n]))return!1}return!0}{const i=n.slice(0,e.segments.length),r=n.slice(e.segments.length);return!!vx(e.segments,i)&&!!e.children.primary&&_x(e.children.primary,t,r)}}class gx{constructor(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=rx(this.queryParams)),this._queryParamMap}toString(){return Sx.serialize(this)}}class yx{constructor(e,t){this.segments=e,this.children=t,this.parent=null,dx(t,(e,t)=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Cx(this)}}class bx{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=rx(this.parameters)),this._parameterMap}toString(){return Tx(this)}}function vx(e,t){return e.length===t.length&&e.every((e,n)=>e.path===t[n].path)}class wx{}class kx{parse(e){const t=new jx(e);return new gx(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){var t;return`/${xx(e.root,!0)}${function(e){const t=Object.keys(e).map(t=>{const n=e[t];return Array.isArray(n)?n.map(e=>`${Dx(t)}=${Dx(e)}`).join("&"):`${Dx(t)}=${Dx(n)}`});return t.length?`?${t.join("&")}`:""}(e.queryParams)}${"string"==typeof e.fragment?`#${t=e.fragment,encodeURI(t)}`:""}`}}const Sx=new kx;function Cx(e){return e.segments.map(e=>Tx(e)).join("/")}function xx(e,t){if(!e.hasChildren())return Cx(e);if(t){const t=e.children.primary?xx(e.children.primary,!1):"",n=[];return dx(e.children,(e,t)=>{t!==nx&&n.push(`${t}:${xx(e,!1)}`)}),n.length>0?`${t}(${n.join("//")})`:t}{const t=function(e,t){let n=[];return dx(e.children,(e,i)=>{i===nx&&(n=n.concat(t(e,i)))}),dx(e.children,(e,i)=>{i!==nx&&(n=n.concat(t(e,i)))}),n}(e,(t,n)=>n===nx?[xx(e.children.primary,!1)]:[`${n}:${xx(t,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children.primary?`${Cx(e)}/${t[0]}`:`${Cx(e)}/(${t.join("//")})`}}function Mx(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Dx(e){return Mx(e).replace(/%3B/gi,";")}function Lx(e){return Mx(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ox(e){return decodeURIComponent(e)}function Ex(e){return Ox(e.replace(/\+/g,"%20"))}function Tx(e){return`${Lx(e.path)}${t=e.parameters,Object.keys(t).map(e=>`;${Lx(e)}=${Lx(t[e])}`).join("")}`;var t}const Ax=/^[^\/()?;=#]+/;function Ix(e){const t=e.match(Ax);return t?t[0]:""}const Px=/^[^=?&#]+/,Rx=/^[^?&#]+/;class jx{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new yx([],{}):new yx([],this.parseChildren())}parseQueryParams(){const 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("/");const 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.primary=new yx(e,t)),n}parseSegment(){const e=Ix(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(e),new bx(Ox(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=Ix(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=Ix(this.remaining);e&&(n=e,this.capture(n))}e[Ox(t)]=Ox(n)}parseQueryParam(e){const t=function(e){const t=e.match(Px);return t?t[0]:""}(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=function(e){const t=e.match(Rx);return t?t[0]:""}(this.remaining);e&&(n=e,this.capture(n))}const i=Ex(t),r=Ex(n);if(e.hasOwnProperty(i)){let t=e[i];Array.isArray(t)||(t=[t],e[i]=t),t.push(r)}else e[i]=r}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Ix(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error(`Cannot parse url '${this.url}'`);let r;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):e&&(r=nx);const s=this.parseChildren();t[r]=1===Object.keys(s).length?s.primary:new yx([],s),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)}capture(e){if(!this.consumeOptional(e))throw new Error(`Expected "${e}".`)}}class Yx{constructor(e){this._root=e}get root(){return this._root.value}parent(e){const t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){const t=Fx(e,this._root);return t?t.children.map(e=>e.value):[]}firstChild(e){const t=Fx(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=Nx(e,this._root);return t.length<2?[]:t[t.length-2].children.map(e=>e.value).filter(t=>t!==e)}pathFromRoot(e){return Nx(e,this._root).map(e=>e.value)}}function Fx(e,t){if(e===t.value)return t;for(const n of t.children){const t=Fx(e,n);if(t)return t}return null}function Nx(e,t){if(e===t.value)return[t];for(const n of t.children){const i=Nx(e,n);if(i.length)return i.unshift(t),i}return[]}class Hx{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function Vx(e){const t={};return e&&e.children.forEach(e=>t[e.value.outlet]=e),t}class Ux extends Yx{constructor(e,t){super(e),this.snapshot=t,$x(this,e)}toString(){return this.snapshot.toString()}}function Bx(e,t){const n=function(e,t){const n=new qx([],{},{},"",{},nx,t,null,e.root,-1,{});return new Kx("",new Hx(n,[]))}(e,t),i=new SC([new bx("",{})]),r=new SC({}),s=new SC({}),a=new SC({}),o=new SC(""),l=new zx(i,r,a,o,s,nx,t,n.root);return l.snapshot=n.root,new Ux(new Hx(l,[]),n)}class zx{constructor(e,t,n,i,r,s,a,o){this.url=e,this.params=t,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=s,this.component=a,this._futureSnapshot=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._paramMap=this.params.pipe(M(e=>rx(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(M(e=>rx(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Wx(e,t="emptyOnly"){const n=e.pathFromRoot;let i=0;if("always"!==t)for(i=n.length-1;i>=1;){const e=n[i],t=n[i-1];if(e.routeConfig&&""===e.routeConfig.path)i--;else{if(t.component)break;i--}}return function(e){return e.reduce((e,t)=>({params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(i))}class qx{constructor(e,t,n,i,r,s,a,o,l,c,u){this.url=e,this.params=t,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=s,this.component=a,this.routeConfig=o,this._urlSegment=l,this._lastPathIndex=c,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||(this._paramMap=rx(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=rx(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(e=>e.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Kx extends Yx{constructor(e,t){super(t),this.url=e,$x(this,t)}toString(){return Gx(this._root)}}function $x(e,t){t.value._routerState=e,t.children.forEach(t=>$x(e,t))}function Gx(e){const t=e.children.length>0?` { ${e.children.map(Gx).join(", ")} } `:"";return`${e.value}${t}`}function Jx(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,ox(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),ox(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(let n=0;nox(e.parameters,i[t].parameters))&&!(!e.parent!=!t.parent)&&(!e.parent||Qx(e.parent,t.parent))}function Xx(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const i=n.value;i._futureSnapshot=t.value;const r=function(e,t,n){return t.children.map(t=>{for(const i of n.children)if(e.shouldReuseRoute(t.value,i.value.snapshot))return Xx(e,t,i);return Xx(e,t)})}(e,t,n);return new Hx(i,r)}{const n=e.retrieve(t.value);if(n){const e=n.route;return Zx(t,e),e}{const n=new zx(new SC((i=t.value).url),new SC(i.params),new SC(i.queryParams),new SC(i.fragment),new SC(i.data),i.outlet,i.component,i),r=t.children.map(t=>Xx(e,t));return new Hx(n,r)}}var i}function Zx(e,t){if(e.value.routeConfig!==t.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==t.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");t.value._futureSnapshot=e.value;for(let n=0;n{s[t]=Array.isArray(e)?e.map(e=>`${e}`):`${e}`}),new gx(n.root===e?t:iM(n.root,e,t),s,r)}function iM(e,t,n){const i={};return dx(e.children,(e,r)=>{i[r]=e===t?n:iM(e,t,n)}),new yx(e.segments,i)}class rM{constructor(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&eM(n[0]))throw new Error("Root segment cannot have matrix parameters");const i=n.find(tM);if(i&&i!==ux(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class sM{constructor(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}function aM(e,t,n){if(e||(e=new yx([],{})),0===e.segments.length&&e.hasChildren())return oM(e,t,n);const i=function(e,t,n){let i=0,r=t;const s={match:!1,pathIndex:0,commandIndex:0};for(;r=n.length)return s;const t=e.segments[r],a=n[i];if(tM(a))break;const o=`${a}`,l=i0&&void 0===o)break;if(o&&l&&"object"==typeof l&&void 0===l.outlets){if(!dM(o,l,t))return s;i+=2}else{if(!dM(o,{},t))return s;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(e,t,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof n&&(n=[n]),null!==n&&(r[i]=aM(e.children[i],t,n))}),dx(e.children,(e,t)=>{void 0===i[t]&&(r[t]=e)}),new yx(e.segments,r)}}function lM(e,t,n){const i=e.segments.slice(0,t);let r=0;for(;r{"string"==typeof e&&(e=[e]),null!==e&&(t[n]=lM(new yx([],{}),0,e))}),t}function uM(e){const t={};return dx(e,(e,n)=>t[n]=`${e}`),t}function dM(e,t,n){return e==n.path&&ox(t,n.parameters)}class hM{constructor(e,t,n,i){this.routeReuseStrategy=e,this.futureState=t,this.currState=n,this.forwardEvent=i}activate(e){const t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),Jx(this.futureState.root),this.activateChildRoutes(t,n,e)}deactivateChildRoutes(e,t,n){const i=Vx(t);e.children.forEach(e=>{const t=e.value.outlet;this.deactivateRoutes(e,i[t],n),delete i[t]}),dx(i,(e,t)=>{this.deactivateRouteAndItsChildren(e,n)})}deactivateRoutes(e,t,n){const i=e.value,r=t?t.value:null;if(i===r)if(i.component){const r=n.getContext(i.outlet);r&&this.deactivateChildRoutes(e,t,r.children)}else this.deactivateChildRoutes(e,t,n);else r&&this.deactivateRouteAndItsChildren(t,n)}deactivateRouteAndItsChildren(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const n=t.getContext(e.value.outlet);if(n&&n.outlet){const t=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:t,route:e,contexts:i})}}deactivateRouteAndOutlet(e,t){const n=t.getContext(e.value.outlet),i=n&&e.value.component?n.children:t,r=Vx(e);for(const s of Object.keys(r))this.deactivateRouteAndItsChildren(r[s],i);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}activateChildRoutes(e,t,n){const i=Vx(t);e.children.forEach(e=>{this.activateRoutes(e,i[e.value.outlet],n),this.forwardEvent(new ex(e.value.snapshot))}),e.children.length&&this.forwardEvent(new XC(e.value.snapshot))}activateRoutes(e,t,n){const i=e.value,r=t?t.value:null;if(Jx(i),i===r)if(i.component){const r=n.getOrCreateContext(i.outlet);this.activateChildRoutes(e,t,r.children)}else this.activateChildRoutes(e,t,n);else if(i.component){const t=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const e=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),t.children.onOutletReAttached(e.contexts),t.attachRef=e.componentRef,t.route=e.route.value,t.outlet&&t.outlet.attach(e.componentRef,e.route.value),pM(e.route)}else{const n=function(e){for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(i.snapshot),r=n?n.module.componentFactoryResolver:null;t.attachRef=null,t.route=i,t.resolver=r,t.outlet&&t.outlet.activateWith(i,r),this.activateChildRoutes(e,null,t.children)}}else this.activateChildRoutes(e,null,n)}}function pM(e){Jx(e.value),e.children.forEach(pM)}class fM{constructor(e,t){this.routes=e,this.module=t}}function mM(e){return"function"==typeof e}function _M(e){return e instanceof gx}const gM=Symbol("INITIAL_VALUE");function yM(){return V_(e=>ww(e.map(e=>e.pipe(Ig(1),H_(gM)))).pipe(xC((e,t)=>{let n=!1;return t.reduce((e,i,r)=>{if(e!==gM)return e;if(i===gM&&(n=!0),!n){if(!1===i)return i;if(r===t.length-1||_M(i))return i}return e},e)},gM),Ih(e=>e!==gM),M(e=>_M(e)?e:!0===e),Ig(1)))}let bM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=He({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&Va(0,"router-outlet")},directives:function(){return[pD]},encapsulation:2}),e})();function vM(e,t=""){for(let n=0;nCM(e)===t);return n.push(...e.filter(e=>CM(e)!==t)),n}const MM={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function DM(e,t,n){var i;if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?Object.assign({},MM):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const r=(t.matcher||ax)(n,e,t);if(!r)return Object.assign({},MM);const s={};dx(r.posParams,(e,t)=>{s[t]=e.path});const a=r.consumed.length>0?Object.assign(Object.assign({},s),r.consumed[r.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:a,positionalParamSegments:null!==(i=r.posParams)&&void 0!==i?i:{}}}function LM(e,t,n,i,r="corrected"){if(n.length>0&&function(e,t,n){return n.some(n=>OM(e,t,n)&&CM(n)!==nx)}(e,n,i)){const r=new yx(t,function(e,t,n,i){const r={};r.primary=i,i._sourceSegment=e,i._segmentIndexShift=t.length;for(const s of n)if(""===s.path&&CM(s)!==nx){const n=new yx([],{});n._sourceSegment=e,n._segmentIndexShift=t.length,r[CM(s)]=n}return r}(e,t,i,new yx(n,e.children)));return r._sourceSegment=e,r._segmentIndexShift=t.length,{segmentGroup:r,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some(n=>OM(e,t,n))}(e,n,i)){const s=new yx(e.segments,function(e,t,n,i,r,s){const a={};for(const o of i)if(OM(e,n,o)&&!r[CM(o)]){const n=new yx([],{});n._sourceSegment=e,n._segmentIndexShift="legacy"===s?e.segments.length:t.length,a[CM(o)]=n}return Object.assign(Object.assign({},r),a)}(e,t,n,i,e.children,r));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}const s=new yx(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}function OM(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function EM(e,t,n,i){return!!(CM(e)===i||i!==nx&&OM(t,n,e))&&("**"===e.path||DM(t,e,n).matched)}function TM(e,t,n){return 0===t.length&&!e.children[n]}class AM{constructor(e){this.segmentGroup=e||null}}class IM{constructor(e){this.urlTree=e}}function PM(e){return new y(t=>t.error(new AM(e)))}function RM(e){return new y(t=>t.error(new IM(e)))}function jM(e){return new y(t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${e}'`)))}class YM{constructor(e,t,n,i,r){this.configLoader=t,this.urlSerializer=n,this.urlTree=i,this.config=r,this.allowRedirects=!0,this.ngModule=e.get(Yl)}apply(){const e=LM(this.urlTree.root,[],[],this.config).segmentGroup,t=new yx(e.segments,e.children);return this.expandSegmentGroup(this.ngModule,this.config,t,nx).pipe(M(e=>this.createUrlTree(FM(e),this.urlTree.queryParams,this.urlTree.fragment))).pipe(nw(e=>{if(e instanceof IM)return this.allowRedirects=!1,this.match(e.urlTree);if(e instanceof AM)throw this.noMatchError(e);throw e}))}match(e){return this.expandSegmentGroup(this.ngModule,this.config,e.root,nx).pipe(M(t=>this.createUrlTree(FM(t),e.queryParams,e.fragment))).pipe(nw(e=>{if(e instanceof AM)throw this.noMatchError(e);throw e}))}noMatchError(e){return new Error(`Cannot match any routes. URL Segment: '${e.segmentGroup}'`)}createUrlTree(e,t,n){const i=e.segments.length>0?new yx([],{[nx]:e}):e;return new gx(i,t,n)}expandSegmentGroup(e,t,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(M(e=>new yx([],e))):this.expandSegment(e,n,t,n.segments,i,!0)}expandChildren(e,t,n){const i=[];for(const r of Object.keys(n.children))"primary"===r?i.unshift(r):i.push(r);return j(i).pipe(Ah(i=>{const r=n.children[i],s=xM(t,i);return this.expandSegmentGroup(e,s,r,i).pipe(M(e=>({segment:e,outlet:i})))}),xC((e,t)=>(e[t.outlet]=t.segment,e),{}),function(e,t){const n=arguments.length>=2;return i=>i.pipe(e?Ih((t,n)=>e(t,n,i)):g,LC(1),n?RC(t):TC(()=>new CC))}())}expandSegment(e,t,n,i,r,s){return j(n).pipe(Ah(a=>this.expandSegmentAgainstRoute(e,t,n,a,i,r,s).pipe(nw(e=>{if(e instanceof AM)return Th(null);throw e}))),FC(e=>!!e),nw((e,n)=>{if(e instanceof CC||"EmptyError"===e.name){if(TM(t,i,r))return Th(new yx([],{}));throw new AM(t)}throw e}))}expandSegmentAgainstRoute(e,t,n,i,r,s,a){return EM(i,t,r,s)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(e,t,i,r,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,i,r,s):PM(t):PM(t)}expandSegmentAgainstRouteUsingRedirect(e,t,n,i,r,s){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,i,s):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,i,r,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,n,i){const r=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?RM(r):this.lineralizeSegments(n,r).pipe(H(n=>{const r=new yx(n,{});return this.expandSegment(e,r,t,n,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,i,r,s){const{matched:a,consumedSegments:o,lastChild:l,positionalParamSegments:c}=DM(t,i,r);if(!a)return PM(t);const u=this.applyRedirectCommands(o,i.redirectTo,c);return i.redirectTo.startsWith("/")?RM(u):this.lineralizeSegments(i,u).pipe(H(i=>this.expandSegment(e,t,n,i.concat(r.slice(l)),s,!1)))}matchSegmentAgainstRoute(e,t,n,i,r){if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(M(e=>(n._loadedConfig=e,new yx(i,{})))):Th(new yx(i,{}));const{matched:s,consumedSegments:a,lastChild:o}=DM(t,n,i);if(!s)return PM(t);const l=i.slice(o);return this.getChildConfig(e,n,i).pipe(H(e=>{const i=e.module,s=e.routes,{segmentGroup:o,slicedSegments:c}=LM(t,a,l,s),u=new yx(o.segments,o.children);if(0===c.length&&u.hasChildren())return this.expandChildren(i,s,u).pipe(M(e=>new yx(a,e)));if(0===s.length&&0===c.length)return Th(new yx(a,{}));const d=CM(n)===r;return this.expandSegment(i,u,s,c,d?nx:r,!0).pipe(M(e=>new yx(a.concat(e.segments),e.children)))}))}getChildConfig(e,t,n){return t.children?Th(new fM(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Th(t._loadedConfig):this.runCanLoadGuards(e.injector,t,n).pipe(H(n=>n?this.configLoader.load(e.injector,t).pipe(M(e=>(t._loadedConfig=e,e))):function(e){return new y(t=>t.error(sx(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`)))}(t))):Th(new fM([],e))}runCanLoadGuards(e,t,n){const i=t.canLoad;return i&&0!==i.length?Th(i.map(i=>{const r=e.get(i);let s;if(function(e){return e&&mM(e.canLoad)}(r))s=r.canLoad(t,n);else{if(!mM(r))throw new Error("Invalid CanLoad guard");s=r(t,n)}return hx(s)})).pipe(yM(),Ay(e=>{if(!_M(e))return;const t=sx(`Redirecting to "${this.urlSerializer.serialize(e)}"`);throw t.url=e,t}),M(e=>!0===e)):Th(!0)}lineralizeSegments(e,t){let n=[],i=t.root;for(;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return Th(n);if(i.numberOfChildren>1||!i.children.primary)return jM(e.redirectTo);i=i.children.primary}}applyRedirectCommands(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}applyRedirectCreatreUrlTree(e,t,n,i){const r=this.createSegmentGroup(e,t.root,n,i);return new gx(r,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const n={};return dx(e,(e,i)=>{if("string"==typeof e&&e.startsWith(":")){const r=e.substring(1);n[i]=t[r]}else n[i]=e}),n}createSegmentGroup(e,t,n,i){const r=this.createSegments(e,t.segments,n,i);let s={};return dx(t.children,(t,r)=>{s[r]=this.createSegmentGroup(e,t,n,i)}),new yx(r,s)}createSegments(e,t,n,i){return t.map(t=>t.path.startsWith(":")?this.findPosParam(e,t,i):this.findOrReturn(t,n))}findPosParam(e,t,n){const i=n[t.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${e}'. Cannot find '${t.path}'.`);return i}findOrReturn(e,t){let n=0;for(const i of t){if(i.path===e.path)return t.splice(n),i;n++}return e}}function FM(e){const t={};for(const n of Object.keys(e.children)){const i=FM(e.children[n]);(i.segments.length>0||i.hasChildren())&&(t[n]=i)}return function(e){if(1===e.numberOfChildren&&e.children.primary){const t=e.children.primary;return new yx(e.segments.concat(t.segments),t.children)}return e}(new yx(e.segments,t))}class NM{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class HM{constructor(e,t){this.component=e,this.route=t}}function VM(e,t,n){const i=e._root;return BM(i,t?t._root:null,n,[i.value])}function UM(e,t,n){const i=function(e){if(!e)return null;for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(t);return(i?i.module.injector:n).get(e)}function BM(e,t,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const s=Vx(t);return e.children.forEach(e=>{!function(e,t,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const s=e.value,a=t?t.value:null,o=n?n.getContext(e.value.outlet):null;if(a&&s.routeConfig===a.routeConfig){const l=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!vx(e.url,t.url);case"pathParamsOrQueryParamsChange":return!vx(e.url,t.url)||!ox(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Qx(e,t)||!ox(e.queryParams,t.queryParams);case"paramsChange":default:return!Qx(e,t)}}(a,s,s.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new NM(i)):(s.data=a.data,s._resolvedData=a._resolvedData),BM(e,t,s.component?o?o.children:null:n,i,r),l&&o&&o.outlet&&o.outlet.isActivated&&r.canDeactivateChecks.push(new HM(o.outlet.component,a))}else a&&zM(t,o,r),r.canActivateChecks.push(new NM(i)),BM(e,null,s.component?o?o.children:null:n,i,r)}(e,s[e.value.outlet],n,i.concat([e.value]),r),delete s[e.value.outlet]}),dx(s,(e,t)=>zM(e,n.getContext(t),r)),r}function zM(e,t,n){const i=Vx(e),r=e.value;dx(i,(e,i)=>{zM(e,r.component?t?t.children.getContext(i):null:t,n)}),n.canDeactivateChecks.push(new HM(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}class WM{}function qM(e){return new y(t=>t.error(e))}class KM{constructor(e,t,n,i,r,s){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=i,this.paramsInheritanceStrategy=r,this.relativeLinkResolution=s}recognize(){const e=LM(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,nx);if(null===t)return null;const n=new qx([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},nx,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Hx(n,t),r=new Kx(this.url,i);return this.inheritParamsAndData(r._root),r}inheritParamsAndData(e){const t=e.value,n=Wx(t,this.paramsInheritanceStrategy);t.params=Object.freeze(n.params),t.data=Object.freeze(n.data),e.children.forEach(e=>this.inheritParamsAndData(e))}processSegmentGroup(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}processChildren(e,t){const n=[];for(const r of Object.keys(t.children)){const i=t.children[r],s=xM(e,r),a=this.processSegmentGroup(s,i,r);if(null===a)return null;n.push(...a)}const i=function(e){const t=[];for(const n of e){if(!$M(n)){t.push(n);continue}const e=t.find(e=>n.value.routeConfig===e.value.routeConfig);void 0!==e?e.children.push(...n.children):t.push(n)}return t}(n);return i.sort((e,t)=>e.value.outlet===nx?-1:t.value.outlet===nx?1:e.value.outlet.localeCompare(t.value.outlet)),i}processSegment(e,t,n,i){for(const r of e){const e=this.processSegmentAgainstRoute(r,t,n,i);if(null!==e)return e}return TM(t,n,i)?[]:null}processSegmentAgainstRoute(e,t,n,i){if(e.redirectTo||!EM(e,t,n,i))return null;let r,s=[],a=[];if("**"===e.path){const i=n.length>0?ux(n).parameters:{};r=new qx(n,i,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,QM(e),CM(e),e.component,e,GM(t),JM(t)+n.length,XM(e))}else{const i=DM(t,e,n);if(!i.matched)return null;s=i.consumedSegments,a=n.slice(i.lastChild),r=new qx(s,i.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,QM(e),CM(e),e.component,e,GM(t),JM(t)+s.length,XM(e))}const o=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),{segmentGroup:l,slicedSegments:c}=LM(t,s,a,o.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const e=this.processChildren(o,l);return null===e?null:[new Hx(r,e)]}if(0===o.length&&0===c.length)return[new Hx(r,[])];const u=CM(e)===i,d=this.processSegment(o,l,c,u?nx:i);return null===d?null:[new Hx(r,d)]}}function $M(e){const t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function GM(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function JM(e){let t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift?t._segmentIndexShift:0;return n-1}function QM(e){return e.data||{}}function XM(e){return e.resolve||{}}function ZM(e){return V_(t=>{const n=e(t);return n?j(n).pipe(M(()=>t)):Th(t)})}class eD extends class{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}{}const tD=new Zn("ROUTES");class nD{constructor(e,t,n,i){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=i}load(e,t){return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(M(n=>{this.onLoadEndListener&&this.onLoadEndListener(t);const i=n.create(e);return new fM(cx(i.injector.get(tD,void 0,ye.Self|ye.Optional)).map(SM),i)}))}loadModuleFactory(e){return"string"==typeof e?j(this.loader.load(e)):hx(e()).pipe(H(e=>e instanceof Fl?Th(e):j(this.compiler.compileModuleAsync(e))))}}class iD{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new rD,this.attachRef=null}}class rD{constructor(){this.contexts=new Map}onChildOutletCreated(e,t){const n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}onChildOutletDestroyed(e){const t=this.getContext(e);t&&(t.outlet=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new iD,this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}}class sD{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}}function aD(e){throw e}function oD(e,t,n){return t.parse("/")}function lD(e,t){return Th(null)}let cD=(()=>{class e{constructor(e,t,n,i,r,s,a,o){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=i,this.config=o,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new S,this.errorHandler=aD,this.malformedUriErrorHandler=oD,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:lD,afterPreactivation:lD},this.urlHandlingStrategy=new sD,this.routeReuseStrategy=new eD,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.ngModule=r.get(Yl),this.console=r.get(Nc);const l=r.get(Xc);this.isNgZoneEnabled=l instanceof Xc&&Xc.isInAngularZone(),this.resetConfig(o),this.currentUrlTree=new gx(new yx([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new nD(s,a,e=>this.triggerEvent(new GC(e)),e=>this.triggerEvent(new JC(e))),this.routerState=Bx(this.currentUrlTree,this.rootComponentType),this.transitions=new SC({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(e){const t=this.events;return e.pipe(Ih(e=>0!==e.id),M(e=>Object.assign(Object.assign({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl)})),V_(e=>{let n=!1,i=!1;return Th(e).pipe(Ay(e=>{this.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),V_(e=>{const n=!this.navigated||e.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Th(e).pipe(V_(e=>{const n=this.transitions.getValue();return t.next(new HC(e.id,this.serializeUrl(e.extractedUrl),e.source,e.restoredState)),n!==this.transitions.getValue()?K_:Promise.resolve(e)}),(i=this.ngModule.injector,r=this.configLoader,s=this.urlSerializer,a=this.config,V_(e=>function(e,t,n,i,r){return new YM(e,t,n,i,r).apply()}(i,r,s,e.extractedUrl,a).pipe(M(t=>Object.assign(Object.assign({},e),{urlAfterRedirects:t}))))),Ay(e=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:e.urlAfterRedirects})}),function(e,t,n,i,r){return H(s=>function(e,t,n,i,r="emptyOnly",s="legacy"){try{const a=new KM(e,t,n,i,r,s).recognize();return null===a?qM(new WM):Th(a)}catch(a){return qM(a)}}(e,t,s.urlAfterRedirects,n(s.urlAfterRedirects),i,r).pipe(M(e=>Object.assign(Object.assign({},s),{targetSnapshot:e}))))}(this.rootComponentType,this.config,e=>this.serializeUrl(e),this.paramsInheritanceStrategy,this.relativeLinkResolution),Ay(e=>{"eager"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects);const n=new zC(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.next(n)}));var i,r,s,a;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:i,source:r,restoredState:s,extras:a}=e,o=new HC(n,this.serializeUrl(i),r,s);t.next(o);const l=Bx(i,this.rootComponentType).snapshot;return Th(Object.assign(Object.assign({},e),{targetSnapshot:l,urlAfterRedirects:i,extras:Object.assign(Object.assign({},a),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=e.rawUrl,this.browserUrlTree=e.urlAfterRedirects,e.resolve(null),K_}),ZM(e=>{const{targetSnapshot:t,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:s,replaceUrl:a}}=e;return this.hooks.beforePreactivation(t,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!a})}),Ay(e=>{const t=new WC(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),M(e=>Object.assign(Object.assign({},e),{guards:VM(e.targetSnapshot,e.currentSnapshot,this.rootContexts)})),function(e,t){return H(n=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:s,canDeactivateChecks:a}}=n;return 0===a.length&&0===s.length?Th(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,i){return j(e).pipe(H(e=>function(e,t,n,i,r){const s=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return s&&0!==s.length?Th(s.map(s=>{const a=UM(s,t,r);let o;if(function(e){return e&&mM(e.canDeactivate)}(a))o=hx(a.canDeactivate(e,t,n,i));else{if(!mM(a))throw new Error("Invalid CanDeactivate guard");o=hx(a(e,t,n,i))}return o.pipe(FC())})).pipe(yM()):Th(!0)}(e.component,e.route,n,t,i)),FC(e=>!0!==e,!0))}(a,i,r,e).pipe(H(n=>n&&"boolean"==typeof n?function(e,t,n,i){return j(t).pipe(Ah(t=>N_(function(e,t){return null!==e&&t&&t(new QC(e)),Th(!0)}(t.route.parent,i),function(e,t){return null!==e&&t&&t(new ZC(e)),Th(!0)}(t.route,i),function(e,t,n){const i=t[t.length-1],r=t.slice(0,t.length-1).reverse().map(e=>function(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)).filter(e=>null!==e).map(t=>Mv(()=>Th(t.guards.map(r=>{const s=UM(r,t.node,n);let a;if(function(e){return e&&mM(e.canActivateChild)}(s))a=hx(s.canActivateChild(i,e));else{if(!mM(s))throw new Error("Invalid CanActivateChild guard");a=hx(s(i,e))}return a.pipe(FC())})).pipe(yM())));return Th(r).pipe(yM())}(e,t.path,n),function(e,t,n){const i=t.routeConfig?t.routeConfig.canActivate:null;return i&&0!==i.length?Th(i.map(i=>Mv(()=>{const r=UM(i,t,n);let s;if(function(e){return e&&mM(e.canActivate)}(r))s=hx(r.canActivate(t,e));else{if(!mM(r))throw new Error("Invalid CanActivate guard");s=hx(r(t,e))}return s.pipe(FC())}))).pipe(yM()):Th(!0)}(e,t.route,n))),FC(e=>!0!==e,!0))}(i,s,e,t):Th(n)),M(e=>Object.assign(Object.assign({},n),{guardsResult:e})))})}(this.ngModule.injector,e=>this.triggerEvent(e)),Ay(e=>{if(_M(e.guardsResult)){const t=sx(`Redirecting to "${this.serializeUrl(e.guardsResult)}"`);throw t.url=e.guardsResult,t}const t=new qC(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);this.triggerEvent(t)}),Ih(e=>{if(!e.guardsResult){this.resetUrlToCurrentUrlTree();const n=new UC(e.id,this.serializeUrl(e.extractedUrl),"");return t.next(n),e.resolve(!1),!1}return!0}),ZM(e=>{if(e.guards.canActivateChecks.length)return Th(e).pipe(Ay(e=>{const t=new KC(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),V_(e=>{let n=!1;return Th(e).pipe((i=this.paramsInheritanceStrategy,r=this.ngModule.injector,H(e=>{const{targetSnapshot:t,guards:{canActivateChecks:n}}=e;if(!n.length)return Th(e);let s=0;return j(n).pipe(Ah(e=>function(e,t,n,i){return function(e,t,n,i){const r=Object.keys(e);if(0===r.length)return Th({});const s={};return j(r).pipe(H(r=>function(e,t,n,i){const r=UM(e,t,i);return hx(r.resolve?r.resolve(t,n):r(t,n))}(e[r],t,n,i).pipe(Ay(e=>{s[r]=e}))),LC(1),H(()=>Object.keys(s).length===r.length?Th(s):K_))}(e._resolve,e,t,i).pipe(M(t=>(e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),Wx(e,n).resolve),null)))}(e.route,t,i,r)),Ay(()=>s++),LC(1),H(t=>s===n.length?Th(e):K_))})),Ay({next:()=>n=!0,complete:()=>{if(!n){const n=new UC(e.id,this.serializeUrl(e.extractedUrl),"At least one route resolver didn't emit any value.");t.next(n),e.resolve(!1)}}}));var i,r}),Ay(e=>{const t=new $C(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}))}),ZM(e=>{const{targetSnapshot:t,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:s,replaceUrl:a}}=e;return this.hooks.afterPreactivation(t,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!a})}),M(e=>{const t=function(e,t,n){const i=Xx(e,t._root,n?n._root:void 0);return new Ux(i,t)}(this.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:t})}),Ay(e=>{this.currentUrlTree=e.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl),this.routerState=e.targetRouterState,"deferred"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),(r=this.rootContexts,s=this.routeReuseStrategy,a=e=>this.triggerEvent(e),M(e=>(new hM(s,e.targetRouterState,e.currentRouterState,a).activate(r),e))),Ay({next(){n=!0},complete(){n=!0}}),sw(()=>{if(!n&&!i){this.resetUrlToCurrentUrlTree();const n=new UC(e.id,this.serializeUrl(e.extractedUrl),`Navigation ID ${e.id} is not equal to the current navigation id ${this.navigationId}`);t.next(n),e.resolve(!1)}this.currentNavigation=null}),nw(n=>{if(i=!0,(r=n)&&r.ngNavigationCancelingError){const i=_M(n.url);i||(this.navigated=!0,this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));const r=new UC(e.id,this.serializeUrl(e.extractedUrl),n.message);t.next(r),i?setTimeout(()=>{const t=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);this.scheduleNavigation(t,"imperative",null,{skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:e.resolve,reject:e.reject,promise:e.promise})},0):e.resolve(!1)}else{this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);const i=new BC(e.id,this.serializeUrl(e.extractedUrl),n);t.next(i);try{e.resolve(this.errorHandler(n))}catch(s){e.reject(s)}}var r;return K_}));var r,s,a}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}getTransition(){const e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const t=this.extractLocationChangeInfoFromEvent(e);this.shouldScheduleNavigation(this.lastLocationChangeInfo,t)&&setTimeout(()=>{const{source:e,state:n,urlTree:i}=t,r={replaceUrl:!0};if(n){const e=Object.assign({},n);delete e.navigationId,0!==Object.keys(e).length&&(r.state=e)}this.scheduleNavigation(i,e,n,r)},0),this.lastLocationChangeInfo=t}))}extractLocationChangeInfoFromEvent(e){var t;return{source:"popstate"===e.type?"popstate":"hashchange",urlTree:this.parseUrl(e.url),state:(null===(t=e.state)||void 0===t?void 0:t.navigationId)?e.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(e,t){if(!e)return!0;const n=t.urlTree.toString()===e.urlTree.toString();return!(t.transitionId===e.transitionId&&n&&("hashchange"===t.source&&"popstate"===e.source||"popstate"===t.source&&"hashchange"===e.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){vM(e),this.config=e.map(SM),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0)}createUrlTree(e,t={}){const{relativeTo:n,queryParams:i,fragment:r,queryParamsHandling:s,preserveFragment:a}=t,o=n||this.routerState.root,l=a?this.currentUrlTree.fragment:r;let c=null;switch(s){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}return null!==c&&(c=this.removeEmptyProps(c)),function(e,t,n,i,r){if(0===n.length)return nM(t.root,t.root,t,i,r);const s=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new rM(!0,0,e);let t=0,n=!1;const i=e.reduce((e,i,r)=>{if("object"==typeof i&&null!=i){if(i.outlets){const t={};return dx(i.outlets,(e,n)=>{t[n]="string"==typeof e?e.split("/"):e}),[...e,{outlets:t}]}if(i.segmentPath)return[...e,i.segmentPath]}return"string"!=typeof i?[...e,i]:0===r?(i.split("/").forEach((i,r)=>{0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?t++:""!=i&&e.push(i))}),e):[...e,i]},[]);return new rM(n,t,i)}(n);if(s.toRoot())return nM(t.root,new yx([],{}),t,i,r);const a=function(e,t,n){if(e.isAbsolute)return new sM(t.root,!0,0);if(-1===n.snapshot._lastPathIndex){const e=n.snapshot._urlSegment;return new sM(e,e===t.root,0)}const i=eM(e.commands[0])?0:1;return function(e,t,n){let i=e,r=t,s=n;for(;s>r;){if(s-=r,i=i.parent,!i)throw new Error("Invalid number of '../'");r=i.segments.length}return new sM(i,!1,r-s)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,e.numberOfDoubleDots)}(s,t,e),o=a.processChildren?oM(a.segmentGroup,a.index,s.commands):aM(a.segmentGroup,a.index,s.commands);return nM(a.segmentGroup,o,t,i,r)}(o,this.currentUrlTree,e,c,l)}navigateByUrl(e,t={skipLocationChange:!1}){const n=_M(e)?e:this.parseUrl(e),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function(e){for(let t=0;t{const i=e[n];return null!=i&&(t[n]=i),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.events.next(new VC(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,e.resolve(!0)},e=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(e,t,n,i,r){const s=this.getTransition(),a="imperative"!==t&&"imperative"===(null==s?void 0:s.source),o=(this.lastSuccessfulId===s.id||this.currentNavigation?s.rawUrl:s.urlAfterRedirects).toString()===e.toString();if(a&&o)return Promise.resolve(!0);let l,c,u;r?(l=r.resolve,c=r.reject,u=r.promise):u=new Promise((e,t)=>{l=e,c=t});const d=++this.navigationId;return this.setTransition({id:d,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:i,resolve:l,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(e=>Promise.reject(e))}setBrowserUrl(e,t,n,i){const r=this.urlSerializer.serialize(e);i=i||{},this.location.isCurrentPathEqualTo(r)||t?this.location.replaceState(r,"",Object.assign(Object.assign({},i),{navigationId:n})):this.location.go(r,"",Object.assign(Object.assign({},i),{navigationId:n}))}resetStateAndUrl(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}return e.\u0275fac=function(t){return new(t||e)(gi(ti),gi(wx),gi(rD),gi(qu),gi(ga),gi(wu),gi(Gc),gi(void 0))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),uD=(()=>{class e{constructor(e,t,n,i,r){this.router=e,this.route=t,this.commands=[],this.onChanges=new S,null==n&&i.setAttribute(r.nativeElement,"tabindex","0")}ngOnChanges(e){this.onChanges.next(this)}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}onClick(){const e={skipLocationChange:hD(this.skipLocationChange),replaceUrl:hD(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:hD(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(ja(cD),ja(zx),Jn("tabindex"),ja(rl),ja(tl))},e.\u0275dir=qe({type:e,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&Ga("click",function(){return t.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[ut]}),e})(),dD=(()=>{class e{constructor(e,t,n){this.router=e,this.route=t,this.locationStrategy=n,this.commands=[],this.onChanges=new S,this.subscription=e.events.subscribe(e=>{e instanceof VC&&this.updateTargetUrlAndHref()})}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}ngOnChanges(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,t,n,i,r){if(0!==e||t||n||i||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const s={skipLocationChange:hD(this.skipLocationChange),replaceUrl:hD(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,s),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:hD(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(ja(cD),ja(zx),ja(Vu))},e.\u0275dir=qe({type:e,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&Ga("click",function(e){return t.onClick(e.button,e.ctrlKey,e.shiftKey,e.altKey,e.metaKey)}),2&e&&(Eo("href",t.href,lr),Aa("target",t.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[ut]}),e})();function hD(e){return""===e||!!e}let pD=(()=>{class e{constructor(e,t,n,i,r){this.parentContexts=e,this.location=t,this.resolver=n,this.changeDetector=r,this.activated=null,this._activatedRoute=null,this.activateEvents=new dc,this.deactivateEvents=new dc,this.name=i||nx,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const n=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,r=new fD(e,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(t){return new(t||e)(ja(rD),ja(Hl),ja(Qo),Jn("name"),ja(Dl))},e.\u0275dir=qe({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),e})();class fD{constructor(e,t,n){this.route=e,this.childContexts=t,this.parent=n}get(e,t){return e===zx?this.route:e===rD?this.childContexts:this.parent.get(e,t)}}class mD{}class _D{preload(e,t){return Th(null)}}let gD=(()=>{class e{constructor(e,t,n,i,r){this.router=e,this.injector=i,this.preloadingStrategy=r,this.loader=new nD(t,n,t=>e.triggerEvent(new GC(t)),t=>e.triggerEvent(new JC(t)))}setUpPreloading(){this.subscription=this.router.events.pipe(Ih(e=>e instanceof VC),Ah(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(Yl);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){const n=[];for(const i of t)if(i.loadChildren&&!i.canLoad&&i._loadedConfig){const e=i._loadedConfig;n.push(this.processRoutes(e.module,e.routes))}else i.loadChildren&&!i.canLoad?n.push(this.preloadConfig(e,i)):i.children&&n.push(this.processRoutes(e,i.children));return j(n).pipe(B(),M(e=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>this.loader.load(e.injector,t).pipe(H(e=>(t._loadedConfig=e,this.processRoutes(e.module,e.routes)))))}}return e.\u0275fac=function(t){return new(t||e)(gi(cD),gi(wu),gi(Gc),gi(ga),gi(mD))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),yD=(()=>{class e{constructor(e,t,n={}){this.router=e,this.viewportScroller=t,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof HC?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof VC&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof tx&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.router.triggerEvent(new tx(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(gi(cD),gi(Xd),gi(void 0))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();const bD=new Zn("ROUTER_CONFIGURATION"),vD=new Zn("ROUTER_FORROOT_GUARD"),wD=[qu,{provide:wx,useClass:kx},{provide:cD,useFactory:function(e,t,n,i,r,s,a,o={},l,c){const u=new cD(null,e,t,n,i,r,s,cx(a));if(l&&(u.urlHandlingStrategy=l),c&&(u.routeReuseStrategy=c),function(e,t){e.errorHandler&&(t.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(t.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(t.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(t.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(t.urlUpdateStrategy=e.urlUpdateStrategy)}(o,u),o.enableTracing){const e=Eu();u.events.subscribe(t=>{e.logGroup(`Router Event: ${t.constructor.name}`),e.log(t.toString()),e.log(t),e.logGroupEnd()})}return u},deps:[wx,rD,qu,ga,wu,Gc,tD,bD,[class{},new ki],[class{},new ki]]},rD,{provide:zx,useFactory:function(e){return e.routerState.root},deps:[cD]},{provide:wu,useClass:Cu},gD,_D,class{preload(e,t){return t().pipe(nw(()=>Th(null)))}},{provide:bD,useValue:{enableTracing:!1}}];function kD(){return new fu("Router",cD)}let SD=(()=>{class e{constructor(e,t){}static forRoot(t,n){return{ngModule:e,providers:[wD,DD(t),{provide:vD,useFactory:MD,deps:[[cD,new ki,new Si]]},{provide:bD,useValue:n||{}},{provide:Vu,useFactory:xD,deps:[Au,[new wi(Bu),new ki],bD]},{provide:yD,useFactory:CD,deps:[cD,Xd,bD]},{provide:mD,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:_D},{provide:fu,multi:!0,useFactory:kD},[LD,{provide:Tc,multi:!0,useFactory:OD,deps:[LD]},{provide:TD,useFactory:ED,deps:[LD]},{provide:Fc,multi:!0,useExisting:TD}]]}}static forChild(t){return{ngModule:e,providers:[DD(t)]}}}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)(gi(vD,8),gi(cD,8))}}),e})();function CD(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new yD(e,t,n)}function xD(e,t,n={}){return n.useHash?new Wu(e,t):new zu(e,t)}function MD(e){return"guarded"}function DD(e){return[{provide:ei,multi:!0,useValue:e},{provide:tD,multi:!0,useValue:e}]}let LD=(()=>{class e{constructor(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new S}appInitializer(){return this.injector.get(Pu,Promise.resolve(null)).then(()=>{let e=null;const t=new Promise(t=>e=t),n=this.injector.get(cD),i=this.injector.get(bD);return"disabled"===i.initialNavigation?(n.setUpLocationChangeListener(),e(!0)):"enabled"===i.initialNavigation||"enabledBlocking"===i.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?Th(null):(this.initNavigation=!0,e(!0),this.resultOfPreactivationDone),n.initialNavigation()):e(!0),t})}bootstrapListener(e){const t=this.injector.get(bD),n=this.injector.get(gD),i=this.injector.get(yD),r=this.injector.get(cD),s=this.injector.get(bu);e===s.components[0]&&("enabledNonBlocking"!==t.initialNavigation&&void 0!==t.initialNavigation||r.initialNavigation(),n.setUpPreloading(),i.init(),r.resetRootComponentType(s.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}}return e.\u0275fac=function(t){return new(t||e)(gi(ga))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();function OD(e){return e.appInitializer.bind(e)}function ED(e){return e.bootstrapListener.bind(e)}const TD=new Zn("Router Initializer");var AD=n("Qycn");const ID=["*"];function PD(e){return Error(`Unable to find icon with the name "${e}"`)}function RD(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function jD(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}class YD{constructor(e,t,n){this.url=e,this.svgText=t,this.options=n}}let FD=(()=>{class e{constructor(e,t,n,i){this._httpClient=e,this._sanitizer=t,this._errorHandler=i,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=n}addSvgIcon(e,t,n){return this.addSvgIconInNamespace("",e,t,n)}addSvgIconLiteral(e,t,n){return this.addSvgIconLiteralInNamespace("",e,t,n)}addSvgIconInNamespace(e,t,n,i){return this._addSvgIconConfig(e,t,new YD(n,null,i))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,n,i){const r=this._sanitizer.sanitize(ar.HTML,n);if(!r)throw jD(n);return this._addSvgIconConfig(e,t,new YD("",r,i))}addSvgIconSet(e,t){return this.addSvgIconSetInNamespace("",e,t)}addSvgIconSetLiteral(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}addSvgIconSetInNamespace(e,t,n){return this._addSvgIconSetConfig(e,new YD(t,null,n))}addSvgIconSetLiteralInNamespace(e,t,n){const i=this._sanitizer.sanitize(ar.HTML,t);if(!i)throw jD(t);return this._addSvgIconSetConfig(e,new YD("",i,n))}registerFontClassAlias(e,t=e){return this._fontCssClassesByAlias.set(e,t),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const t=this._sanitizer.sanitize(ar.RESOURCE_URL,e);if(!t)throw RD(e);const n=this._cachedIconsByUrl.get(t);return n?Th(ND(n)):this._loadSvgIconFromConfig(new YD(e,null)).pipe(Ay(e=>this._cachedIconsByUrl.set(t,e)),M(e=>ND(e)))}getNamedSvgIcon(e,t=""){const n=HD(t,e);let i=this._svgIconConfigs.get(n);if(i)return this._getSvgFromConfig(i);if(i=this._getIconConfigFromResolvers(t,e),i)return this._svgIconConfigs.set(n,i),this._getSvgFromConfig(i);const r=this._iconSetConfigs.get(t);return r?this._getSvgFromIconSetConfigs(e,r):i_(PD(n))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?Th(ND(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(M(e=>ND(e)))}_getSvgFromIconSetConfigs(e,t){const n=this._extractIconWithNameFromAnySet(e,t);return n?Th(n):Ww(t.filter(e=>!e.svgText).map(e=>this._loadSvgIconSetFromConfig(e).pipe(nw(t=>{const n=this._sanitizer.sanitize(ar.RESOURCE_URL,e.url);return this._errorHandler.handleError(new Error(`Loading icon set URL: ${n} failed: ${t.message}`)),Th(null)})))).pipe(M(()=>{const n=this._extractIconWithNameFromAnySet(e,t);if(!n)throw PD(e);return n}))}_extractIconWithNameFromAnySet(e,t){for(let n=t.length-1;n>=0;n--){const i=t[n];if(i.svgText&&i.svgText.indexOf(e)>-1){const t=this._svgElementFromConfig(i),n=this._extractSvgIconFromSet(t,e,i.options);if(n)return n}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(Ay(t=>e.svgText=t),M(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?Th(null):this._fetchIcon(e).pipe(Ay(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,n){const i=e.querySelector(`[id="${t}"]`);if(!i)return null;const r=i.cloneNode(!0);if(r.removeAttribute("id"),"svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r,n);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r),n);const s=this._svgElementFromString("");return s.appendChild(r),this._setSvgAttributes(s,n)}_svgElementFromString(e){const t=this._document.createElement("DIV");t.innerHTML=e;const n=t.querySelector("svg");if(!n)throw Error(" tag not found");return n}_toSvgElement(e){const t=this._svgElementFromString(""),n=e.attributes;for(let i=0;ithis._inProgressUrlFetches.delete(s)),Z());return this._inProgressUrlFetches.set(s,o),o}_addSvgIconConfig(e,t,n){return this._svgIconConfigs.set(HD(e,t),n),this}_addSvgIconSetConfig(e,t){const n=this._iconSetConfigs.get(e);return n?n.push(t):this._iconSetConfigs.set(e,[t]),this}_svgElementFromConfig(e){if(!e.svgElement){const t=this._svgElementFromString(e.svgText);this._setSvgAttributes(t,e.options),e.svgElement=t}return e.svgElement}_getIconConfigFromResolvers(e,t){for(let i=0;it?t.pathname+t.search:""}}}),zD=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],WD=zD.map(e=>`[${e}]`).join(", "),qD=/^url\(['"]?#(.*?)['"]?\)$/;let KD=(()=>{class e extends UD{constructor(e,t,n,i,r){super(e),this._iconRegistry=t,this._location=i,this._errorHandler=r,this._inline=!1,this._currentIconFetch=d.EMPTY,n||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=s_(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const t=this._cleanupFontValue(e);t!==this._fontSet&&(this._fontSet=t,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const t=this._cleanupFontValue(e);t!==this._fontIcon&&(this._fontIcon=t,this._updateFontIconClasses())}_splitIconName(e){if(!e)return["",""];const t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const e=this._location.getPathname();e!==this._previousPath&&(this._previousPath=e,this._prependPathToReferences(e))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const t=e.querySelectorAll("style");for(let i=0;i{t.forEach(t=>{n.setAttribute(t.name,`url('${e}#${t.value}')`)})})}_cacheChildrenWithExternalReferences(e){const t=e.querySelectorAll(WD),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let i=0;i{const r=t[i],s=r.getAttribute(e),a=s?s.match(qD):null;if(a){let t=n.get(r);t||(t=[],n.set(r,t)),t.push({name:e,value:a[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[t,n]=this._splitIconName(e);t&&(this._svgNamespace=t),n&&(this._svgName=n),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(n,t).pipe(Ig(1)).subscribe(e=>this._setSvgElement(e),e=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${t}:${n}! ${e.message}`))})}}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(FD),Jn("aria-hidden"),ja(BD),ja(pr))},e.\u0275cmp=He({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,t){2&e&&(Aa("data-mat-icon-type",t._usingFontIcon()?"font":"svg")("data-mat-icon-name",t._svgName||t.fontIcon)("data-mat-icon-namespace",t._svgNamespace||t.fontSet),fo("mat-icon-inline",t.inline)("mat-icon-no-color","primary"!==t.color&&"accent"!==t.color&&"warn"!==t.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[ba],ngContentSelectors:ID,decls:1,vars:0,template:function(e,t){1&e&&(no(),io(0))},styles:[".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),e})(),$D=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Ab],Ab]}),e})();const GD=["underline"],JD=["connectionContainer"],QD=["inputContainer"],XD=["label"];function ZD(e,t){1&e&&(Ua(0),Na(1,"div",14),Va(2,"div",15),Va(3,"div",16),Va(4,"div",17),Ha(),Na(5,"div",18),Va(6,"div",15),Va(7,"div",16),Va(8,"div",17),Ha(),Ba())}function eL(e,t){1&e&&(Na(0,"div",19),io(1,1),Ha())}function tL(e,t){if(1&e&&(Ua(0),io(1,2),Na(2,"span"),Mo(3),Ha(),Ba()),2&e){const e=eo(2);rs(3),Do(e._control.placeholder)}}function nL(e,t){1&e&&io(0,3,["*ngSwitchCase","true"])}function iL(e,t){1&e&&(Na(0,"span",23),Mo(1," *"),Ha())}function rL(e,t){if(1&e){const e=Wa();Na(0,"label",20,21),Ga("cdkObserveContent",function(){return jt(e),eo().updateOutlineGap()}),Pa(2,tL,4,1,"ng-container",12),Pa(3,nL,1,0,"ng-content",12),Pa(4,iL,2,0,"span",22),Ha()}if(2&e){const e=eo();fo("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),Ya("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),Aa("for",e._control.id)("aria-owns",e._control.id),rs(2),Ya("ngSwitchCase",!1),rs(1),Ya("ngSwitchCase",!0),rs(1),Ya("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function sL(e,t){1&e&&(Na(0,"div",24),io(1,4),Ha())}function aL(e,t){if(1&e&&(Na(0,"div",25,26),Va(2,"span",27),Ha()),2&e){const e=eo();rs(2),fo("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function oL(e,t){1&e&&(Na(0,"div"),io(1,5),Ha()),2&e&&Ya("@transitionMessages",eo()._subscriptAnimationState)}function lL(e,t){if(1&e&&(Na(0,"div",31),Mo(1),Ha()),2&e){const e=eo(2);Ya("id",e._hintLabelId),rs(1),Do(e.hintLabel)}}function cL(e,t){if(1&e&&(Na(0,"div",28),Pa(1,lL,2,2,"div",29),io(2,6),Va(3,"div",30),io(4,7),Ha()),2&e){const e=eo();Ya("@transitionMessages",e._subscriptAnimationState),rs(1),Ya("ngIf",e.hintLabel)}}const uL=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],dL=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let hL=0;const pL=new Zn("MatError");let fL=(()=>{class e{constructor(){this.id="mat-error-"+hL++}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=qe({type:e,selectors:[["mat-error"]],hostAttrs:["role","alert",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&Aa("id",t.id)},inputs:{id:"id"},features:[$o([{provide:pL,useExisting:e}])]}),e})();const mL={transitionMessages:_p("transitionMessages",[vp("enter",bp({opacity:1,transform:"translateY(0%)"})),kp("void => enter",[bp({opacity:0,transform:"translateY(-100%)"}),gp("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let _L=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=qe({type:e}),e})(),gL=0;const yL=new Zn("MatHint");let bL=(()=>{class e{constructor(){this.align="start",this.id="mat-hint-"+gL++}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=qe({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,t){2&e&&(Aa("id",t.id)("align",null),fo("mat-form-field-hint-end","end"===t.align))},inputs:{align:"align",id:"id"},features:[$o([{provide:yL,useExisting:e}])]}),e})(),vL=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=qe({type:e,selectors:[["mat-label"]]}),e})(),wL=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=qe({type:e,selectors:[["mat-placeholder"]]}),e})();const kL=new Zn("MatPrefix");let SL=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=qe({type:e,selectors:[["","matPrefix",""]],features:[$o([{provide:kL,useExisting:e}])]}),e})();const CL=new Zn("MatSuffix");let xL=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=qe({type:e,selectors:[["","matSuffix",""]],features:[$o([{provide:CL,useExisting:e}])]}),e})(),ML=0;class DL{constructor(e){this._elementRef=e}}const LL=Pb(DL,"primary"),OL=new Zn("MAT_FORM_FIELD_DEFAULT_OPTIONS"),EL=new Zn("MatFormField");let TL=(()=>{class e extends LL{constructor(e,t,n,i,r,s,a,o){super(e),this._elementRef=e,this._changeDetectorRef=t,this._dir=i,this._defaults=r,this._platform=s,this._ngZone=a,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new S,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+ML++,this._labelId="mat-form-field-label-"+ML++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==o,this.appearance=r&&r.appearance?r.appearance:"legacy",this._hideRequiredMarker=!(!r||null==r.hideRequiredMarker)&&r.hideRequiredMarker}get appearance(){return this._appearance}set appearance(e){const t=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&t!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=s_(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(H_(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(j_(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(j_(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),W(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(H_(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(H_(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(j_(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const t=this._control?this._control.ngControl:null;return t&&t[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,d_(this._label.nativeElement,"transitionend").pipe(Ig(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const t=this._hintChildren?this._hintChildren.find(e=>"start"===e.align):null,n=this._hintChildren?this._hintChildren.find(e=>"end"===e.align):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),n&&e.push(n.id)}else this._errorChildren&&e.push(...this._errorChildren.map(e=>e.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null;if("outline"!==this.appearance||!e||!e.children.length||!e.textContent.trim())return;if(!this._platform.isBrowser)return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let t=0,n=0;const i=this._connectionContainerRef.nativeElement,r=i.querySelectorAll(".mat-form-field-outline-start"),s=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const r=i.getBoundingClientRect();if(0===r.width&&0===r.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const s=this._getStartEnd(r),a=e.children,o=this._getStartEnd(a[0].getBoundingClientRect());let l=0;for(let e=0;e0?.75*l+10:0}for(let a=0;a{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Gd,Ab,Uy],Ab]}),e})();const IL=cg({passive:!0});let PL=(()=>{class e{constructor(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return K_;const t=u_(e),n=this._monitoredElements.get(t);if(n)return n.subject;const i=new S,r="cdk-text-field-autofilled",s=e=>{"cdk-text-field-autofill-start"!==e.animationName||t.classList.contains(r)?"cdk-text-field-autofill-end"===e.animationName&&t.classList.contains(r)&&(t.classList.remove(r),this._ngZone.run(()=>i.next({target:e.target,isAutofilled:!1}))):(t.classList.add(r),this._ngZone.run(()=>i.next({target:e.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",s,IL),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:i,unlisten:()=>{t.removeEventListener("animationstart",s,IL)}}),i}stopMonitoring(e){const t=u_(e),n=this._monitoredElements.get(t);n&&(n.unlisten(),n.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t))}}return e.\u0275fac=function(t){return new(t||e)(gi(ng),gi(Xc))},e.\u0275prov=le({factory:function(){return new e(gi(ng),gi(Xc))},token:e,providedIn:"root"}),e})(),RL=(()=>{class e{constructor(e,t,n,i){this._elementRef=e,this._platform=t,this._ngZone=n,this._destroyed=new S,this._enabled=!0,this._previousMinRows=-1,this._document=i,this._textareaElement=this._elementRef.nativeElement,this._measuringClass=t.FIREFOX?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring"}get minRows(){return this._minRows}set minRows(e){this._minRows=a_(e),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(e){this._maxRows=a_(e),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(e){e=s_(e),this._enabled!==e&&((this._enabled=e)?this.resizeToFitContent(!0):this.reset())}_setMinHeight(){const e=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;e&&(this._textareaElement.style.minHeight=e)}_setMaxHeight(){const e=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;e&&(this._textareaElement.style.maxHeight=e)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{d_(this._getWindow(),"resize").pipe(R_(16),j_(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0))}))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let e=this._textareaElement.cloneNode(!1);e.rows=1,e.style.position="absolute",e.style.visibility="hidden",e.style.border="none",e.style.padding="0",e.style.height="",e.style.minHeight="",e.style.maxHeight="",e.style.overflow="hidden",this._textareaElement.parentNode.appendChild(e),this._cachedLineHeight=e.clientHeight,this._textareaElement.parentNode.removeChild(e),this._setMinHeight(),this._setMaxHeight()}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(e=!1){if(!this._enabled)return;if(this._cacheTextareaLineHeight(),!this._cachedLineHeight)return;const t=this._elementRef.nativeElement,n=t.value;if(!e&&this._minRows===this._previousMinRows&&n===this._previousValue)return;const i=t.placeholder;t.classList.add(this._measuringClass),t.placeholder="",t.style.height=t.scrollHeight-4+"px",t.classList.remove(this._measuringClass),t.placeholder=i,this._ngZone.runOutsideAngular(()=>{"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(()=>this._scrollToCaretPosition(t)):setTimeout(()=>this._scrollToCaretPosition(t))}),this._previousValue=n,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(e){const{selectionStart:t,selectionEnd:n}=e,i=this._getDocument();this._destroyed.isStopped||i.activeElement!==e||e.setSelectionRange(t,n)}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(ng),ja(Xc),ja(Tu,8))},e.\u0275dir=qe({type:e,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(e,t){1&e&&Ga("input",function(){return t._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"]},exportAs:["cdkTextareaAutosize"]}),e})(),jL=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[ig]]}),e})();const YL=new Zn("MAT_INPUT_VALUE_ACCESSOR"),FL=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let NL=0;class HL{constructor(e,t,n,i){this._defaultErrorStateMatcher=e,this._parentForm=t,this._parentFormGroup=n,this.ngControl=i}}const VL=Yb(HL);let UL=(()=>{class e extends VL{constructor(e,t,n,i,r,s,a,o,l,c){super(s,i,r,n),this._elementRef=e,this._platform=t,this.ngControl=n,this._autofillMonitor=o,this._formField=c,this._uid="mat-input-"+NL++,this.focused=!1,this.stateChanges=new S,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._required=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(e=>sg().has(e));const u=this._elementRef.nativeElement,d=u.nodeName.toLowerCase();this._inputValueAccessor=a||u,this._previousNativeValue=this.value,this.id=this.id,t.IOS&&l.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",e=>{let t=e.target;t.value||t.selectionStart||t.selectionEnd||(t.setSelectionRange(1,1),t.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===d,this._isTextarea="textarea"===d,this._isNativeSelect&&(this.controlType=u.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=s_(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required}set required(e){this._required=s_(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&sg().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=s_(e)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e===this.focused||this.readonly&&e||(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var e,t;const n=(null===(t=null===(e=this._formField)||void 0===e?void 0:e._hideControlPlaceholder)||void 0===t?void 0:t.call(e))?null:this.placeholder;if(n!==this._previousPlaceholder){const e=this._elementRef.nativeElement;this._previousPlaceholder=n,n?e.setAttribute("placeholder",n):e.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){FL.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(ng),ja(yk,10),ja(oS,8),ja(_S,8),ja(Xb),ja(YL,10),ja(PL),ja(Xc),ja(EL,8))},e.\u0275dir=qe({type:e,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:9,hostBindings:function(e,t){1&e&&Ga("focus",function(){return t._focusChanged(!0)})("blur",function(){return t._focusChanged(!1)})("input",function(){return t._onInput()}),2&e&&(Eo("disabled",t.disabled)("required",t.required),Aa("id",t.id)("data-placeholder",t.placeholder)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-invalid",t.errorState)("aria-required",t.required.toString()),fo("mat-input-server",t._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"]},exportAs:["matInput"],features:[$o([{provide:_L,useExisting:e}]),ba,ut]}),e})(),BL=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[Xb],imports:[[jL,AL,Ab],jL,AL]}),e})();const zL=["mat-calendar-body",""];function WL(e,t){if(1&e&&(Na(0,"tr",2),Na(1,"td",3),Mo(2),Ha(),Ha()),2&e){const e=eo();rs(1),po("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),Aa("colspan",e.numCols),rs(1),Lo(" ",e.label," ")}}function qL(e,t){if(1&e&&(Na(0,"td",7),Mo(1),Ha()),2&e){const e=eo(2);po("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),Aa("colspan",e._firstRowOffset),rs(1),Lo(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function KL(e,t){if(1&e){const e=Wa();Na(0,"td",8),Ga("click",function(n){jt(e);const i=t.$implicit;return eo(2)._cellClicked(i,n)}),Na(1,"div",9),Mo(2),Ha(),Va(3,"div",10),Ha()}if(2&e){const e=t.$implicit,n=t.index,i=eo().index,r=eo();po("width",r._cellWidth)("padding-top",r._cellPadding)("padding-bottom",r._cellPadding),fo("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",r._isActiveCell(i,n))("mat-calendar-body-range-start",r._isRangeStart(e.compareValue))("mat-calendar-body-range-end",r._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",r._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",r._isComparisonBridgeStart(e.compareValue,i,n))("mat-calendar-body-comparison-bridge-end",r._isComparisonBridgeEnd(e.compareValue,i,n))("mat-calendar-body-comparison-start",r._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",r._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",r._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",r._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",r._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",r._isInPreview(e.compareValue)),Ya("ngClass",e.cssClasses)("tabindex",r._isActiveCell(i,n)?0:-1),Aa("data-mat-row",i)("data-mat-col",n)("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-selected",r._isSelected(e.compareValue)),rs(1),fo("mat-calendar-body-selected",r._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",r._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",r.todayValue===e.compareValue),rs(1),Lo(" ",e.displayValue," ")}}function $L(e,t){if(1&e&&(Na(0,"tr",4),Pa(1,qL,2,6,"td",5),Pa(2,KL,4,46,"td",6),Ha()),2&e){const e=t.$implicit,n=t.index,i=eo();rs(1),Ya("ngIf",0===n&&i._firstRowOffset),rs(1),Ya("ngForOf",e)}}function GL(e,t){if(1&e&&(Na(0,"th",5),Mo(1),Ha()),2&e){const e=t.$implicit;Aa("aria-label",e.long),rs(1),Do(e.narrow)}}const JL=["*"];function QL(e,t){}function XL(e,t){if(1&e){const e=Wa();Na(0,"mat-month-view",5),Ga("activeDateChange",function(t){return jt(e),eo().activeDate=t})("_userSelection",function(t){return jt(e),eo()._dateSelected(t)}),Ha()}if(2&e){const e=eo();Ya("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)}}function ZL(e,t){if(1&e){const e=Wa();Na(0,"mat-year-view",6),Ga("activeDateChange",function(t){return jt(e),eo().activeDate=t})("monthSelected",function(t){return jt(e),eo()._monthSelectedInYearView(t)})("selectedChange",function(t){return jt(e),eo()._goToDateInView(t,"month")}),Ha()}if(2&e){const e=eo();Ya("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function eO(e,t){if(1&e){const e=Wa();Na(0,"mat-multi-year-view",7),Ga("activeDateChange",function(t){return jt(e),eo().activeDate=t})("yearSelected",function(t){return jt(e),eo()._yearSelectedInMultiYearView(t)})("selectedChange",function(t){return jt(e),eo()._goToDateInView(t,"year")}),Ha()}if(2&e){const e=eo();Ya("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function tO(e,t){}const nO=["button"];function iO(e,t){1&e&&(dn(),Na(0,"svg",3),Va(1,"path",4),Ha())}const rO=[[["","matDatepickerToggleIcon",""]]],sO=["[matDatepickerToggleIcon]"];let aO=(()=>{class e{constructor(){this.changes=new S,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 20 years",this.nextMultiYearLabel="Next 20 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(e,t){return`${e} \u2013 ${t}`}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({factory:function(){return new e},token:e,providedIn:"root"}),e})();class oO{constructor(e,t,n,i,r={},s=e,a){this.value=e,this.displayValue=t,this.ariaLabel=n,this.enabled=i,this.cssClasses=r,this.compareValue=s,this.rawValue=a}}let lO=(()=>{class e{constructor(e,t){this._elementRef=e,this._ngZone=t,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new dc,this.previewChange=new dc,this._enterHandler=e=>{if(this._skipNextFocus&&"focus"===e.type)this._skipNextFocus=!1;else if(e.target&&this.isRange){const t=this._getCellFromElement(e.target);t&&this._ngZone.run(()=>this.previewChange.emit({value:t.enabled?t:null,event:e}))}},this._leaveHandler=e=>{null!==this.previewEnd&&this.isRange&&e.target&&cO(e.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:e}))},t.runOutsideAngular(()=>{const t=e.nativeElement;t.addEventListener("mouseenter",this._enterHandler,!0),t.addEventListener("focus",this._enterHandler,!0),t.addEventListener("mouseleave",this._leaveHandler,!0),t.addEventListener("blur",this._leaveHandler,!0)})}_cellClicked(e,t){e.enabled&&this.selectedValueChange.emit({value:e.value,event:t})}_isSelected(e){return this.startValue===e||this.endValue===e}ngOnChanges(e){const t=e.numCols,{rows:n,numCols:i}=this;(e.rows||t)&&(this._firstRowOffset=n&&n.length&&n[0].length?i-n[0].length:0),(e.cellAspectRatio||t||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/i+"%"),!t&&this._cellWidth||(this._cellWidth=100/i+"%")}ngOnDestroy(){const e=this._elementRef.nativeElement;e.removeEventListener("mouseenter",this._enterHandler,!0),e.removeEventListener("focus",this._enterHandler,!0),e.removeEventListener("mouseleave",this._leaveHandler,!0),e.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(e,t){let n=e*this.numCols+t;return e&&(n-=this._firstRowOffset),n==this.activeCell}_focusActiveCell(e=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Ig(1)).subscribe(()=>{const t=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");t&&(e||(this._skipNextFocus=!0),t.focus())})})}_isRangeStart(e){return uO(e,this.startValue,this.endValue)}_isRangeEnd(e){return dO(e,this.startValue,this.endValue)}_isInRange(e){return hO(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return uO(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,t,n){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let i=this.rows[t][n-1];if(!i){const e=this.rows[t-1];i=e&&e[e.length-1]}return i&&!this._isRangeEnd(i.compareValue)}_isComparisonBridgeEnd(e,t,n){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let i=this.rows[t][n+1];if(!i){const e=this.rows[t+1];i=e&&e[0]}return i&&!this._isRangeStart(i.compareValue)}_isComparisonEnd(e){return dO(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return hO(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return uO(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return dO(e,this.previewStart,this.previewEnd)}_isInPreview(e){return hO(e,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(e){let t;if(cO(e)?t=e:cO(e.parentNode)&&(t=e.parentNode),t){const e=t.getAttribute("data-mat-row"),n=t.getAttribute("data-mat-col");if(e&&n)return this.rows[parseInt(e)][parseInt(n)]}return null}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(Xc))},e.\u0275cmp=He({type:e,selectors:[["","mat-calendar-body",""]],hostAttrs:["role","grid","aria-readonly","true",1,"mat-calendar-body"],inputs:{numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",previewStart:"previewStart",previewEnd:"previewEnd",label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange"},exportAs:["matCalendarBody"],features:[ut],attrs:zL,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["aria-hidden","true","class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell",3,"ngClass","tabindex","mat-calendar-body-disabled","mat-calendar-body-active","mat-calendar-body-range-start","mat-calendar-body-range-end","mat-calendar-body-in-range","mat-calendar-body-comparison-bridge-start","mat-calendar-body-comparison-bridge-end","mat-calendar-body-comparison-start","mat-calendar-body-comparison-end","mat-calendar-body-in-comparison-range","mat-calendar-body-preview-start","mat-calendar-body-preview-end","mat-calendar-body-in-preview","width","paddingTop","paddingBottom","click",4,"ngFor","ngForOf"],["aria-hidden","true",1,"mat-calendar-body-label"],["role","gridcell",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],[1,"mat-calendar-body-cell-preview"]],template:function(e,t){1&e&&(Pa(0,WL,3,6,"tr",0),Pa(1,$L,3,2,"tr",1)),2&e&&(Ya("ngIf",t._firstRowOffset.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}[dir=rtl] .mat-calendar-body-label{text-align:right}@media(hover: none){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:transparent}}\n'],encapsulation:2,changeDetection:0}),e})();function cO(e){return"TD"===e.nodeName}function uO(e,t,n){return null!==n&&t!==n&&e=t&&e===n}function hO(e,t,n,i){return i&&null!==t&&null!==n&&t!==n&&e>=t&&e<=n}class pO{constructor(e,t){this.start=e,this.end=t}}let fO=(()=>{class e{constructor(e,t){this.selection=e,this._adapter=t,this._selectionChanged=new S,this.selectionChanged=this._selectionChanged,this.selection=e}updateSelection(e,t){this.selection=e,this._selectionChanged.next({selection:e,source:t})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(e){return this._adapter.isDateInstance(e)&&this._adapter.isValid(e)}clone(){return null}}return e.\u0275fac=function(t){return new(t||e)(ja(void 0),ja(Hb))},e.\u0275dir=qe({type:e}),e})(),mO=(()=>{class e extends fO{constructor(e){super(null,e)}add(e){super.updateSelection(e,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const t=new e(this._adapter);return t.updateSelection(this.selection,this),t}}return e.\u0275fac=function(t){return new(t||e)(gi(Hb))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();const _O={provide:fO,deps:[[new ki,new Si,fO],Hb],useFactory:function(e,t){return e||new mO(t)}},gO=new Zn("MAT_DATE_RANGE_SELECTION_STRATEGY");let yO=(()=>{class e{constructor(e,t,n,i,r){this._changeDetectorRef=e,this._dateFormats=t,this._dateAdapter=n,this._dir=i,this._rangeStrategy=r,this._rerenderSubscription=d.EMPTY,this.selectedChange=new dc,this._userSelection=new dc,this.activeDateChange=new dc,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){const t=this._activeDate,n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._hasSameMonthAndYear(t,this._activeDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof pO?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(H_(null)).subscribe(()=>this._init())}ngOnChanges(e){const t=e.comparisonStart||e.comparisonEnd;t&&!t.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(e){const t=e.value,n=this._dateAdapter.getYear(this.activeDate),i=this._dateAdapter.getMonth(this.activeDate),r=this._dateAdapter.createDate(n,i,t);let s,a;this._selected instanceof pO?(s=this._getDateInCurrentMonth(this._selected.start),a=this._getDateInCurrentMonth(this._selected.end)):s=a=this._getDateInCurrentMonth(this._selected),s===t&&a===t||this.selectedChange.emit(r),this._userSelection.emit({value:r,event:e.event})}_handleCalendarBodyKeydown(e){const t=this._activeDate,n=this._isRtl();switch(e.keyCode){case Wg:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?1:-1);break;case Kg:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?-1:1);break;case qg:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case $g:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case zg:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case Bg:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case Vg:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case Ug:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case Fg:case Hg:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:e}),e.preventDefault()));case Ng:return void(null==this._previewEnd||Gg(e)||(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:e}),e.preventDefault(),e.stopPropagation()));default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(e){this._matCalendarBody._focusActiveCell(e)}_previewChanged({event:e,value:t}){if(this._rangeStrategy){const n=this._rangeStrategy.createPreview(t?t.rawValue:null,this.selected,e);this._previewStart=this._getCellCompareValue(n.start),this._previewEnd=this._getCellCompareValue(n.end),this._changeDetectorRef.detectChanges()}}_initWeekdays(){const e=this._dateAdapter.getFirstDayOfWeek(),t=this._dateAdapter.getDayOfWeekNames("narrow");let n=this._dateAdapter.getDayOfWeekNames("long").map((e,n)=>({long:e,narrow:t[n]}));this._weekdays=n.slice(e).concat(n.slice(0,e))}_createWeekCells(){const e=this._dateAdapter.getNumDaysInMonth(this.activeDate),t=this._dateAdapter.getDateNames();this._weeks=[[]];for(let n=0,i=this._firstWeekOffset;n=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}_getDateInCurrentMonth(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}_hasSameMonthAndYear(e,t){return!(!e||!t||this._dateAdapter.getMonth(e)!=this._dateAdapter.getMonth(t)||this._dateAdapter.getYear(e)!=this._dateAdapter.getYear(t))}_getCellCompareValue(e){if(e){const t=this._dateAdapter.getYear(e),n=this._dateAdapter.getMonth(e),i=this._dateAdapter.getDate(e);return new Date(t,n,i).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(e){e instanceof pO?(this._rangeStart=this._getCellCompareValue(e.start),this._rangeEnd=this._getCellCompareValue(e.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(e),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}}return e.\u0275fac=function(t){return new(t||e)(ja(Dl),ja(Vb,8),ja(Hb,8),ja(pg,8),ja(gO,8))},e.\u0275cmp=He({type:e,selectors:[["mat-month-view"]],viewQuery:function(e,t){if(1&e&&Cc(lO,1),2&e){let e;Sc(e=Mc())&&(t._matCalendarBody=e.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[ut],decls:7,vars:13,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["colspan","7","aria-hidden","true",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","previewChange","keydown"],["scope","col"]],template:function(e,t){1&e&&(Na(0,"table",0),Na(1,"thead",1),Na(2,"tr"),Pa(3,GL,2,2,"th",2),Ha(),Na(4,"tr"),Va(5,"th",3),Ha(),Ha(),Na(6,"tbody",4),Ga("selectedValueChange",function(e){return t._dateSelected(e)})("previewChange",function(e){return t._previewChanged(e)})("keydown",function(e){return t._handleCalendarBodyKeydown(e)}),Ha(),Ha()),2&e&&(rs(3),Ya("ngForOf",t._weekdays),rs(3),Ya("label",t._monthLabel)("rows",t._weeks)("todayValue",t._todayDate)("startValue",t._rangeStart)("endValue",t._rangeEnd)("comparisonStart",t._comparisonRangeStart)("comparisonEnd",t._comparisonRangeEnd)("previewStart",t._previewStart)("previewEnd",t._previewEnd)("isRange",t._isRange)("labelMinRequiredCells",3)("activeCell",t._dateAdapter.getDate(t.activeDate)-1))},directives:[Ad,lO],encapsulation:2,changeDetection:0}),e})();const bO=24;let vO=(()=>{class e{constructor(e,t,n){this._changeDetectorRef=e,this._dateAdapter=t,this._dir=n,this._rerenderSubscription=d.EMPTY,this.selectedChange=new dc,this.yearSelected=new dc,this.activeDateChange=new dc,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){let t=this._activeDate;const n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),wO(this._dateAdapter,t,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof pO?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedYear(e)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(H_(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const e=this._dateAdapter.getYear(this._activeDate)-kO(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let t=0,n=[];tthis._createCellForYear(e))),n=[]);this._changeDetectorRef.markForCheck()}_yearSelected(e){const t=e.value;this.yearSelected.emit(this._dateAdapter.createDate(t,0,1));let n=this._dateAdapter.getMonth(this.activeDate),i=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(t,n,1));this.selectedChange.emit(this._dateAdapter.createDate(t,n,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}_handleCalendarBodyKeydown(e){const t=this._activeDate,n=this._isRtl();switch(e.keyCode){case Wg:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?1:-1);break;case Kg:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?-1:1);break;case qg:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case $g:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case zg:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-kO(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case Bg:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,bO-kO(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case Vg:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-240:-24);break;case Ug:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?240:bO);break;case Fg:case Hg:this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:e});break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}_getActiveCell(){return kO(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(e){const t=this._dateAdapter.createDate(e,0,1),n=this._dateAdapter.getYearName(t),i=this.dateClass?this.dateClass(t,"multi-year"):void 0;return new oO(e,n,n,this._shouldEnableYear(e),i)}_shouldEnableYear(e){if(null==e||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e{class e{constructor(e,t,n,i){this._changeDetectorRef=e,this._dateFormats=t,this._dateAdapter=n,this._dir=i,this._rerenderSubscription=d.EMPTY,this.selectedChange=new dc,this.monthSelected=new dc,this.activeDateChange=new dc,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){let t=this._activeDate;const n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._dateAdapter.getYear(t)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof pO?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedMonth(e)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(H_(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(e){const t=e.value,n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1);this.monthSelected.emit(n);const i=this._dateAdapter.getNumDaysInMonth(n);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}_handleCalendarBodyKeydown(e){const t=this._activeDate,n=this._isRtl();switch(e.keyCode){case Wg:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?1:-1);break;case Kg:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?-1:1);break;case qg:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case $g:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case zg:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case Bg:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case Vg:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case Ug:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case Fg:case Hg:this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:e});break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let e=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(t=>t.map(t=>this._createCellForMonth(t,e[t]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(e){return e&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(e):null}_createCellForMonth(e,t){const n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),i=this._dateAdapter.format(n,this._dateFormats.display.monthYearA11yLabel),r=this.dateClass?this.dateClass(n,"year"):void 0;return new oO(e,t.toLocaleUpperCase(),i,this._shouldEnableMonth(e),r)}_shouldEnableMonth(e){const t=this._dateAdapter.getYear(this.activeDate);if(null==e||this._isYearAndMonthAfterMaxDate(t,e)||this._isYearAndMonthBeforeMinDate(t,e))return!1;if(!this.dateFilter)return!0;for(let n=this._dateAdapter.createDate(t,e,1);this._dateAdapter.getMonth(n)==e;n=this._dateAdapter.addCalendarDays(n,1))if(this.dateFilter(n))return!0;return!1}_isYearAndMonthAfterMaxDate(e,t){if(this.maxDate){const n=this._dateAdapter.getYear(this.maxDate),i=this._dateAdapter.getMonth(this.maxDate);return e>n||e===n&&t>i}return!1}_isYearAndMonthBeforeMinDate(e,t){if(this.minDate){const n=this._dateAdapter.getYear(this.minDate),i=this._dateAdapter.getMonth(this.minDate);return e{class e{constructor(e,t,n,i,r){this._intl=e,this.calendar=t,this._dateAdapter=n,this._dateFormats=i,this._buttonDescriptionId="mat-calendar-button-"+xO++,this.calendar.stateChanges.subscribe(()=>r.markForCheck())}get periodButtonText(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const e=this._dateAdapter.getYear(this.calendar.activeDate)-kO(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),t=e+bO-1,n=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1)),i=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1));return this._intl.formatYearRange(n,i)}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:bO)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(e,t){return"month"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(t):"year"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t):wO(this._dateAdapter,e,t,this.calendar.minDate,this.calendar.maxDate)}}return e.\u0275fac=function(t){return new(t||e)(ja(aO),ja(se(()=>DO)),ja(Hb,8),ja(Vb,8),ja(Dl))},e.\u0275cmp=He({type:e,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:JL,decls:10,vars:10,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","cdkAriaLive","polite",1,"mat-calendar-period-button",3,"click"],[1,"mat-calendar-arrow"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(e,t){1&e&&(no(),Na(0,"div",0),Na(1,"div",1),Na(2,"button",2),Ga("click",function(){return t.currentPeriodClicked()}),Na(3,"span"),Mo(4),Ha(),Va(5,"div",3),Ha(),Va(6,"div",4),io(7),Na(8,"button",5),Ga("click",function(){return t.previousClicked()}),Ha(),Na(9,"button",6),Ga("click",function(){return t.nextClicked()}),Ha(),Ha(),Ha()),2&e&&(rs(2),Aa("aria-label",t.periodButtonLabel)("aria-describedby",t._buttonDescriptionId),rs(1),Aa("id",t._buttonDescriptionId),rs(1),Do(t.periodButtonText),rs(1),fo("mat-calendar-invert","month"!==t.calendar.currentView),rs(3),Ya("disabled",!t.previousEnabled()),Aa("aria-label",t.prevButtonLabel),rs(1),Ya("disabled",!t.nextEnabled()),Aa("aria-label",t.nextButtonLabel))},directives:[fw,ub],encapsulation:2,changeDetection:0}),e})(),DO=(()=>{class e{constructor(e,t,n,i){this._dateAdapter=t,this._dateFormats=n,this._changeDetectorRef=i,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new dc,this.yearSelected=new dc,this.monthSelected=new dc,this.viewChanged=new dc(!0),this._userSelection=new dc,this.stateChanges=new S,this._intlChanges=e.changes.subscribe(()=>{i.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get selected(){return this._selected}set selected(e){this._selected=e instanceof pO?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get activeDate(){return this._clampedActiveDate}set activeDate(e){this._clampedActiveDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(e){const t=this._currentView!==e?e:null;this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),t&&this.viewChanged.emit(t)}ngAfterContentInit(){this._calendarHeaderPortal=new xg(this.headerComponent||MO),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(e){const t=e.minDate||e.maxDate||e.dateFilter;if(t&&!t.firstChange){const e=this._getCurrentViewComponent();e&&(this._changeDetectorRef.detectChanges(),e._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){const e=this.currentView;let t;t="month"===e?this.monthView:"year"===e?this.yearView:this.multiYearView,t._init()}_dateSelected(e){const t=e.value;(this.selected instanceof pO||t&&!this._dateAdapter.sameDate(t,this.selected))&&this.selectedChange.emit(t),this._userSelection.emit(e)}_yearSelectedInMultiYearView(e){this.yearSelected.emit(e)}_monthSelectedInYearView(e){this.monthSelected.emit(e)}_goToDateInView(e,t){this.activeDate=e,this.currentView=t}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return e.\u0275fac=function(t){return new(t||e)(ja(aO),ja(Hb,8),ja(Vb,8),ja(Dl))},e.\u0275cmp=He({type:e,selectors:[["mat-calendar"]],viewQuery:function(e,t){if(1&e&&(Cc(yO,1),Cc(CO,1),Cc(vO,1)),2&e){let e;Sc(e=Mc())&&(t.monthView=e.first),Sc(e=Mc())&&(t.yearView=e.first),Sc(e=Mc())&&(t.multiYearView=e.first)}},hostAttrs:[1,"mat-calendar"],inputs:{startView:"startView",startAt:"startAt",selected:"selected",minDate:"minDate",maxDate:"maxDate",headerComponent:"headerComponent",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[$o([_O]),ut],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(e,t){1&e&&(Pa(0,QL,0,0,"ng-template",0),Na(1,"div",1),Pa(2,XL,1,8,"mat-month-view",2),Pa(3,ZL,1,6,"mat-year-view",3),Pa(4,eO,1,6,"mat-multi-year-view",4),Ha()),2&e&&(Ya("cdkPortalOutlet",t._calendarHeaderPortal),rs(1),Ya("ngSwitch",t.currentView),rs(1),Ya("ngSwitchCase","month"),rs(1),Ya("ngSwitchCase","year"),rs(1),Ya("ngSwitchCase","multi-year"))},directives:[Eg,_b,Fd,Nd,yO,CO,vO],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(33% / 7 - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top-width:5px;border-top-style:solid;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}\n'],encapsulation:2,changeDetection:0}),e})();const LO={transformPanel:_p("transformPanel",[vp("void",bp({opacity:0,transform:"scale(1, 0.8)"})),kp("void => enter",gp("120ms cubic-bezier(0, 0, 0.2, 1)",bp({opacity:1,transform:"scale(1, 1)"}))),kp("* => void",gp("100ms linear",bp({opacity:0})))]),fadeInCalendar:_p("fadeInCalendar",[vp("void",bp({opacity:0})),vp("enter",bp({opacity:1})),kp("void => *",gp("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let OO=0;const EO=new Zn("mat-datepicker-scroll-strategy"),TO={provide:EO,deps:[Cy],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};class AO{constructor(e){this._elementRef=e}}const IO=Pb(AO);let PO=(()=>{class e extends IO{constructor(e,t,n,i,r,s){super(e),this._changeDetectorRef=t,this._globalModel=n,this._dateAdapter=i,this._rangeSelectionStrategy=r,this._subscriptions=new d,this._animationState="enter",this._animationDone=new S,this._actionsPortal=null,this._closeButtonText=(null==s?void 0:s.closeCalendarLabel)||"Close calendar"}ngOnInit(){this._model=this._actionsPortal?this._globalModel.clone():this._globalModel}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(e){const t=this._model.selection,n=e.value,i=t instanceof pO;if(i&&this._rangeSelectionStrategy){const i=this._rangeSelectionStrategy.selectionFinished(n,t,e.event);this._model.updateSelection(i,this)}else!n||!i&&this._dateAdapter.sameDate(n,t)||this._model.add(n);this._model&&!this._model.isComplete()||this._actionsPortal||this.datepicker.close()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(Dl),ja(fO),ja(Hb),ja(gO,8),ja(aO))},e.\u0275cmp=He({type:e,selectors:[["mat-datepicker-content"]],viewQuery:function(e,t){if(1&e&&Cc(DO,1),2&e){let e;Sc(e=Mc())&&(t._calendar=e.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(e,t){1&e&&Ja("@transformPanel.done",function(){return t._animationDone.next()}),2&e&&(To("@transformPanel",t._animationState),fo("mat-datepicker-content-touch",t.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[ba],decls:5,vars:20,consts:[["cdkTrapFocus","",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","yearSelected","monthSelected","viewChanged","_userSelection"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(e,t){1&e&&(Na(0,"div",0),Na(1,"mat-calendar",1),Ga("yearSelected",function(e){return t.datepicker._selectYear(e)})("monthSelected",function(e){return t.datepicker._selectMonth(e)})("viewChanged",function(e){return t.datepicker._viewChanged(e)})("_userSelection",function(e){return t._handleUserSelection(e)}),Ha(),Pa(2,tO,0,0,"ng-template",2),Na(3,"button",3),Ga("focus",function(){return t._closeButtonFocused=!0})("blur",function(){return t._closeButtonFocused=!1})("click",function(){return t.datepicker.close()}),Mo(4),Ha(),Ha()),2&e&&(fo("mat-datepicker-content-container-with-actions",t._actionsPortal),rs(1),Ya("id",t.datepicker.id)("ngClass",t.datepicker.panelClass)("startAt",t.datepicker.startAt)("startView",t.datepicker.startView)("minDate",t.datepicker._getMinDate())("maxDate",t.datepicker._getMaxDate())("dateFilter",t.datepicker._getDateFilter())("headerComponent",t.datepicker.calendarHeaderComponent)("selected",t._getSelected())("dateClass",t.datepicker.dateClass)("comparisonStart",t.comparisonStart)("comparisonEnd",t.comparisonEnd)("@fadeInCalendar","enter"),rs(1),Ya("cdkPortalOutlet",t._actionsPortal),rs(1),fo("cdk-visually-hidden",!t._closeButtonFocused),Ya("color",t.color||"primary"),rs(1),Do(t._closeButtonText))},directives:[ab,DO,Ed,Eg,fw],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;overflow:auto;margin:-24px}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}\n"],encapsulation:2,data:{animation:[LO.transformPanel,LO.fadeInCalendar]},changeDetection:0}),e})(),RO=(()=>{class e{constructor(e,t,n,i,r,s,a,o,l){this._dialog=e,this._overlay=t,this._ngZone=n,this._viewContainerRef=i,this._dateAdapter=s,this._dir=a,this._document=o,this._model=l,this._inputStateChanges=d.EMPTY,this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this.yearSelected=new dc,this.monthSelected=new dc,this.viewChanged=new dc(!0),this.openedStream=new dc,this.closedStream=new dc,this._opened=!1,this.id="mat-datepicker-"+OO++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new S,this._scrollStrategy=r}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(e){this._color=e}get touchUi(){return this._touchUi}set touchUi(e){this._touchUi=s_(e)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(e){const t=s_(e);t!==this._disabled&&(this._disabled=t,this.stateChanges.next(void 0))}get panelClass(){return this._panelClass}set panelClass(e){this._panelClass=function(e,t=/\s+/){const n=[];if(null!=e){const i=Array.isArray(e)?e:`${e}`.split(t);for(const e of i){const t=`${e}`.trim();t&&n.push(t)}}return n}(e)}get opened(){return this._opened}set opened(e){s_(e)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}ngOnChanges(e){const t=e.xPosition||e.yPosition;t&&!t.firstChange&&this._popupRef&&(this._setConnectedPositions(this._popupRef.getConfig().positionStrategy),this.opened&&this._popupRef.updatePosition()),this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyPopup(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(e){this._model.add(e)}_selectYear(e){this.yearSelected.emit(e)}_selectMonth(e){this.monthSelected.emit(e)}_viewChanged(e){this.viewChanged.emit(e)}registerInput(e){return this._inputStateChanges.unsubscribe(),this.datepickerInput=e,this._inputStateChanges=e.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(e){this._actionsPortal=e}removeActions(e){e===this._actionsPortal&&(this._actionsPortal=null)}open(){this._opened||this.disabled||(this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this.touchUi?this._openAsDialog():this._openAsPopup(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened)return;if(this._popupComponentRef&&this._popupRef){const e=this._popupComponentRef.instance;e._startExitAnimation(),e._animationDone.pipe(Ig(1)).subscribe(()=>this._destroyPopup())}this._dialogRef&&(this._dialogRef.close(),this._dialogRef=null);const e=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(e)):e()}_applyPendingSelection(){var e,t;const n=(null===(e=this._popupComponentRef)||void 0===e?void 0:e.instance)||(null===(t=this._dialogRef)||void 0===t?void 0:t.componentInstance);null==n||n._applyPendingSelection()}_openAsDialog(){this._dialogRef&&this._dialogRef.close(),this._dialogRef=this._dialog.open(PO,{direction:this._dir?this._dir.value:"ltr",viewContainerRef:this._viewContainerRef,panelClass:"mat-datepicker-dialog",hasBackdrop:!0,disableClose:!1,backdropClass:["cdk-overlay-dark-backdrop",this._backdropHarnessClass],width:"",height:"",minWidth:"",minHeight:"",maxWidth:"80vw",maxHeight:"",position:{},autoFocus:!1,restoreFocus:!1}),this._dialogRef.afterClosed().subscribe(()=>this.close()),this._forwardContentValues(this._dialogRef.componentInstance)}_openAsPopup(){const e=new xg(PO,this._viewContainerRef);this._destroyPopup(),this._createPopup(),this._popupComponentRef=this._popupRef.attach(e),this._forwardContentValues(this._popupComponentRef.instance),this._ngZone.onStable.pipe(Ig(1)).subscribe(()=>{this._popupRef.updatePosition()})}_forwardContentValues(e){e.datepicker=this,e.color=this.color,e._actionsPortal=this._actionsPortal}_createPopup(){const e=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition(),t=new ry({positionStrategy:this._setConnectedPositions(e),hasBackdrop:!0,backdropClass:["mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:this._scrollStrategy(),panelClass:"mat-datepicker-popup"});this._popupRef=this._overlay.create(t),this._popupRef.overlayElement.setAttribute("role","dialog"),W(this._popupRef.backdropClick(),this._popupRef.detachments(),this._popupRef.keydownEvents().pipe(Ih(e=>e.keyCode===Ng&&!Gg(e)||this.datepickerInput&&Gg(e,"altKey")&&e.keyCode===qg))).subscribe(e=>{e&&e.preventDefault(),this.close()})}_destroyPopup(){this._popupRef&&(this._popupRef.dispose(),this._popupRef=this._popupComponentRef=null)}_setConnectedPositions(e){const t="end"===this.xPosition?"end":"start",n="start"===t?"end":"start",i="above"===this.yPosition?"bottom":"top",r="top"===i?"bottom":"top";return e.withPositions([{originX:t,originY:r,overlayX:t,overlayY:i},{originX:t,originY:i,overlayX:t,overlayY:r},{originX:n,originY:r,overlayX:n,overlayY:i},{originX:n,originY:i,overlayX:n,overlayY:r}])}}return e.\u0275fac=function(t){return new(t||e)(ja(Vv),ja(Cy),ja(Xc),ja(Hl),ja(EO),ja(Hb,8),ja(pg,8),ja(Tu,8),ja(fO))},e.\u0275dir=qe({type:e,inputs:{startView:"startView",xPosition:"xPosition",yPosition:"yPosition",startAt:"startAt",color:"color",touchUi:"touchUi",disabled:"disabled",panelClass:"panelClass",opened:"opened",calendarHeaderComponent:"calendarHeaderComponent",dateClass:"dateClass"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[ut]}),e})(),jO=(()=>{class e extends RO{}return e.\u0275fac=function(t){return YO(t||e)},e.\u0275cmp=He({type:e,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[$o([_O,{provide:RO,useExisting:e}]),ba],decls:0,vars:0,template:function(e,t){},encapsulation:2,changeDetection:0}),e})();const YO=Gn(jO);class FO{constructor(e,t){this.target=e,this.targetElement=t,this.value=this.target.value}}let NO=(()=>{class e{constructor(e,t,n){this._elementRef=e,this._dateAdapter=t,this._dateFormats=n,this.dateChange=new dc,this.dateInput=new dc,this.stateChanges=new S,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=d.EMPTY,this._localeSubscription=d.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=e=>{const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value));return!t||this._matchesFilter(t)?null:{matDatepickerFilter:!0}},this._minValidator=e=>{const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),n=this._getMinDate();return!n||!t||this._dateAdapter.compareDate(n,t)<=0?null:{matDatepickerMin:{min:n,actual:t}}},this._maxValidator=e=>{const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),n=this._getMaxDate();return!n||!t||this._dateAdapter.compareDate(n,t)>=0?null:{matDatepickerMax:{max:n,actual:t}}},this._lastValueValid=!1,this._localeSubscription=t.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(e){this._assignValueProgrammatically(e)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(e){const t=s_(e),n=this._elementRef.nativeElement;this._disabled!==t&&(this._disabled=t,this.stateChanges.next(void 0)),t&&this._isInitialized&&n.blur&&n.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(e){this._model=e,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(e=>{if(this._shouldHandleChangeEvent(e)){const t=this._getValueFromModel(e.selection);this._lastValueValid=this._isValidValue(t),this._cvaOnChange(t),this._onTouched(),this._formatValue(t),this.dateInput.emit(new FO(this,this._elementRef.nativeElement)),this.dateChange.emit(new FO(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(e){(function(e,t){const n=Object.keys(e);for(let i of n){const{previousValue:n,currentValue:r}=e[i];if(!t.isDateInstance(n)||!t.isDateInstance(r))return!0;if(!t.sameDate(n,r))return!0}return!1})(e,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(e){this._validatorOnChange=e}validate(e){return this._validator?this._validator(e):null}writeValue(e){this._assignValueProgrammatically(e)}registerOnChange(e){this._cvaOnChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_onKeydown(e){e.altKey&&e.keyCode===$g&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),e.preventDefault())}_onInput(e){const t=this._lastValueValid;let n=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(n),n=this._dateAdapter.getValidDateOrNull(n),this._dateAdapter.sameDate(n,this.value)?(e&&!this.value&&this._cvaOnChange(n),t!==this._lastValueValid&&this._validatorOnChange()):(this._assignValue(n),this._cvaOnChange(n),this.dateInput.emit(new FO(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new FO(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(e){this._elementRef.nativeElement.value=e?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}_assignValue(e){this._model?(this._assignValueToModel(e),this._pendingValue=null):this._pendingValue=e}_isValidValue(e){return!e||this._dateAdapter.isValid(e)}_parentDisabled(){return!1}_assignValueProgrammatically(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=this._isValidValue(e),e=this._dateAdapter.getValidDateOrNull(e),this._assignValue(e),this._formatValue(e)}_matchesFilter(e){const t=this._getDateFilter();return!t||t(e)}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(Hb,8),ja(Vb,8))},e.\u0275dir=qe({type:e,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[ut]}),e})();const HO={provide:Kw,useExisting:se(()=>UO),multi:!0},VO={provide:tk,useExisting:se(()=>UO),multi:!0};let UO=(()=>{class e extends NO{constructor(e,t,n,i){super(e,t,n),this._formField=i,this._closedSubscription=d.EMPTY,this._validator=rk.compose(super._getValidators())}set matDatepicker(e){e&&(this._datepicker=e,this._closedSubscription=e.closedStream.subscribe(()=>this._onTouched()),this._registerModel(e.registerInput(this)))}get min(){return this._min}set min(e){const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(t,this._min)||(this._min=t,this._validatorOnChange())}get max(){return this._max}set max(e){const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(t,this._max)||(this._max=t,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(e){const t=this._matchesFilter(this.value);this._dateFilter=e,this._matchesFilter(this.value)!==t&&this._validatorOnChange()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(e){return e}_assignValueToModel(e){this._model&&this._model.updateSelection(e,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(e){return e.source!==this}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(Hb,8),ja(Vb,8),ja(EL,8))},e.\u0275dir=qe({type:e,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(e,t){1&e&&Ga("input",function(e){return t._onInput(e.target.value)})("change",function(){return t._onChange()})("blur",function(){return t._onBlur()})("keydown",function(e){return t._onKeydown(e)}),2&e&&(Eo("disabled",t.disabled),Aa("aria-haspopup",t._datepicker?"dialog":null)("aria-owns",(null==t._datepicker?null:t._datepicker.opened)&&t._datepicker.id||null)("min",t.min?t._dateAdapter.toIso8601(t.min):null)("max",t.max?t._dateAdapter.toIso8601(t.max):null)("data-mat-calendar",t._datepicker?t._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[$o([HO,VO,{provide:YL,useExisting:e}]),ba]}),e})(),BO=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=qe({type:e,selectors:[["","matDatepickerToggleIcon",""]]}),e})(),zO=(()=>{class e{constructor(e,t,n){this._intl=e,this._changeDetectorRef=t,this._stateChanges=d.EMPTY;const i=Number(n);this.tabIndex=i||0===i?i:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(e){this._disabled=s_(e)}ngOnChanges(e){e.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())}_watchStateChanges(){const e=this.datepicker?this.datepicker.stateChanges:Th(),t=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:Th(),n=this.datepicker?W(this.datepicker.openedStream,this.datepicker.closedStream):Th();this._stateChanges.unsubscribe(),this._stateChanges=W(this._intl.changes,e,t,n).subscribe(()=>this._changeDetectorRef.markForCheck())}}return e.\u0275fac=function(t){return new(t||e)(ja(aO),ja(Dl),Jn("tabindex"))},e.\u0275cmp=He({type:e,selectors:[["mat-datepicker-toggle"]],contentQueries:function(e,t,n){if(1&e&&xc(n,BO,1),2&e){let e;Sc(e=Mc())&&(t._customIcon=e.first)}},viewQuery:function(e,t){if(1&e&&Cc(nO,1),2&e){let e;Sc(e=Mc())&&(t._button=e.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(e,t){2&e&&(Aa("tabindex",null)("data-mat-calendar",t.datepicker?t.datepicker.id:null),fo("mat-datepicker-toggle-active",t.datepicker&&t.datepicker.opened)("mat-accent",t.datepicker&&"accent"===t.datepicker.color)("mat-warn",t.datepicker&&"warn"===t.datepicker.color))},inputs:{tabIndex:"tabIndex",disabled:"disabled",datepicker:["for","datepicker"],ariaLabel:["aria-label","ariaLabel"],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[ut],ngContentSelectors:sO,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple","click"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(e,t){1&e&&(no(rO),Na(0,"button",0,1),Ga("click",function(e){return t._open(e)}),Pa(2,iO,2,0,"svg",2),io(3),Ha()),2&e&&(Ya("disabled",t.disabled)("disableRipple",t.disableRipple),Aa("aria-haspopup",t.datepicker?"dialog":null)("aria-label",t.ariaLabel||t._intl.openCalendarLabel)("tabindex",t.disabled?-1:t.tabIndex),rs(2),Ya("ngIf",!t._customIcon))},directives:[fw,Pd],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),e})(),WO=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[aO,TO],imports:[[Gd,_w,Uv,Ey,wb,Tg,Ab],kg]}),e})();const qO=["ngx-mat-calendar-body",""];function KO(e,t){if(1&e&&(Na(0,"tr",2),Na(1,"td",3),Mo(2),Ha(),Ha()),2&e){const e=eo();rs(1),po("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),Aa("colspan",e.numCols),rs(1),Lo(" ",e.label," ")}}function $O(e,t){if(1&e&&(Na(0,"td",7),Mo(1),Ha()),2&e){const e=eo(2);po("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),Aa("colspan",e._firstRowOffset),rs(1),Lo(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function GO(e,t){if(1&e){const e=Wa();Na(0,"td",8),Ga("click",function(n){jt(e);const i=t.$implicit;return eo(2)._cellClicked(i,n)}),Na(1,"div",9),Mo(2),Ha(),Va(3,"div",10),Ha()}if(2&e){const e=t.$implicit,n=t.index,i=eo().index,r=eo();po("width",r._cellWidth)("padding-top",r._cellPadding)("padding-bottom",r._cellPadding),fo("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",r._isActiveCell(i,n))("mat-calendar-body-range-start",r._isRangeStart(e.compareValue))("mat-calendar-body-range-end",r._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",r._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",r._isComparisonBridgeStart(e.compareValue,i,n))("mat-calendar-body-comparison-bridge-end",r._isComparisonBridgeEnd(e.compareValue,i,n))("mat-calendar-body-comparison-start",r._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",r._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",r._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",r._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",r._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",r._isInPreview(e.compareValue)),Ya("ngClass",e.cssClasses)("tabindex",r._isActiveCell(i,n)?0:-1),Aa("data-mat-row",i)("data-mat-col",n)("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-selected",r._isSelected(e)),rs(1),fo("mat-calendar-body-selected",r._isSelected(e))("mat-calendar-body-today",r.todayValue===e.compareValue),rs(1),Lo(" ",e.displayValue," ")}}function JO(e,t){if(1&e&&(Na(0,"tr",4),Pa(1,$O,2,6,"td",5),Pa(2,GO,4,44,"td",6),Ha()),2&e){const e=t.$implicit,n=t.index,i=eo();rs(1),Ya("ngIf",0===n&&i._firstRowOffset),rs(1),Ya("ngForOf",e)}}function QO(e,t){if(1&e&&(Na(0,"th",5),Mo(1),Ha()),2&e){const e=t.$implicit;Aa("aria-label",e.long),rs(1),Do(e.narrow)}}const XO=["*"];function ZO(e,t){}function eE(e,t){if(1&e){const e=Wa();Na(0,"ngx-mat-month-view",5),Ga("activeDateChange",function(t){return jt(e),eo().activeDate=t})("selectedChange",function(t){return jt(e),eo()._dateSelected(t)})("_userSelection",function(){return jt(e),eo()._userSelected()}),Ha()}if(2&e){const e=eo();Ya("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function tE(e,t){if(1&e){const e=Wa();Na(0,"ngx-mat-year-view",6),Ga("activeDateChange",function(t){return jt(e),eo().activeDate=t})("monthSelected",function(t){return jt(e),eo()._monthSelectedInYearView(t)})("selectedChange",function(t){return jt(e),eo()._goToDateInView(t,"month")}),Ha()}if(2&e){const e=eo();Ya("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)}}function nE(e,t){if(1&e){const e=Wa();Na(0,"ngx-mat-multi-year-view",7),Ga("activeDateChange",function(t){return jt(e),eo().activeDate=t})("yearSelected",function(t){return jt(e),eo()._yearSelectedInMultiYearView(t)})("selectedChange",function(t){return jt(e),eo()._goToDateInView(t,"year")}),Ha()}if(2&e){const e=eo();Ya("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)}}function iE(e,t){if(1&e){const e=Wa();Na(0,"td"),Na(1,"button",10),Ga("click",function(){return jt(e),eo(2).change("second",!0)}),Na(2,"mat-icon"),Mo(3,"expand_less"),Ha(),Ha(),Ha()}if(2&e){const e=eo(2);rs(1),Ya("disabled",e.disabled||e.disableMinute)}}function rE(e,t){1&e&&Va(0,"td",6)}function sE(e,t){1&e&&Va(0,"td")}function aE(e,t){if(1&e){const e=Wa();Na(0,"tr"),Na(1,"td"),Na(2,"button",10),Ga("click",function(){return jt(e),eo().change("hour",!0)}),Na(3,"mat-icon"),Mo(4,"expand_less"),Ha(),Ha(),Ha(),Va(5,"td"),Na(6,"td"),Na(7,"button",10),Ga("click",function(){return jt(e),eo().change("minute",!0)}),Na(8,"mat-icon"),Mo(9,"expand_less"),Ha(),Ha(),Ha(),Va(10,"td"),Pa(11,iE,4,1,"td",3),Pa(12,rE,1,0,"td",8),Pa(13,sE,1,0,"td",3),Ha()}if(2&e){const e=eo();rs(2),Ya("disabled",e.disabled),rs(5),Ya("disabled",e.disabled||e.disableMinute),rs(4),Ya("ngIf",e.showSeconds),rs(1),Ya("ngIf",e.enableMeridian),rs(1),Ya("ngIf",e.enableMeridian)}}function oE(e,t){1&e&&(Na(0,"td",6),Mo(1,":"),Ha())}function lE(e,t){if(1&e){const e=Wa();Na(0,"td"),Na(1,"mat-form-field",4),Na(2,"input",11),Ga("input",function(t){return jt(e),eo().formatInput(t.target)})("keydown.ArrowUp",function(t){return jt(e),eo().change("second",!0),t.preventDefault()})("keydown.ArrowDown",function(t){return jt(e),eo().change("second",!1),t.preventDefault()})("blur",function(){return jt(e),eo().change("second")}),Ha(),Ha(),Ha()}}function cE(e,t){1&e&&Va(0,"td",6)}function uE(e,t){if(1&e){const e=Wa();Na(0,"td",12),Na(1,"button",13),Ga("click",function(){return jt(e),eo().toggleMeridian()}),Mo(2),Ha(),Ha()}if(2&e){const e=eo();rs(1),Ya("color",e.color)("disabled",e.disabled),rs(1),Lo(" ",e.meridian," ")}}function dE(e,t){1&e&&Va(0,"td")}function hE(e,t){if(1&e){const e=Wa();Na(0,"td"),Na(1,"button",14),Ga("click",function(){return jt(e),eo(2).change("second",!1)}),Na(2,"mat-icon"),Mo(3,"expand_more"),Ha(),Ha(),Ha()}if(2&e){const e=eo(2);rs(1),Ya("disabled",e.disabled||e.disableMinute)}}function pE(e,t){1&e&&Va(0,"td",6)}function fE(e,t){1&e&&Va(0,"td")}function mE(e,t){if(1&e){const e=Wa();Na(0,"tr"),Na(1,"td"),Na(2,"button",14),Ga("click",function(){return jt(e),eo().change("hour",!1)}),Na(3,"mat-icon"),Mo(4,"expand_more"),Ha(),Ha(),Ha(),Va(5,"td"),Na(6,"td"),Na(7,"button",14),Ga("click",function(){return jt(e),eo().change("minute",!1)}),Na(8,"mat-icon"),Mo(9,"expand_more"),Ha(),Ha(),Ha(),Pa(10,dE,1,0,"td",3),Pa(11,hE,4,1,"td",3),Pa(12,pE,1,0,"td",8),Pa(13,fE,1,0,"td",3),Ha()}if(2&e){const e=eo();rs(2),Ya("disabled",e.disabled),rs(5),Ya("disabled",e.disabled||e.disableMinute),rs(3),Ya("ngIf",e.showSeconds),rs(1),Ya("ngIf",e.showSeconds),rs(1),Ya("ngIf",e.enableMeridian),rs(1),Ya("ngIf",e.enableMeridian)}}function _E(e,t){if(1&e){const e=Wa();Na(0,"div",6),Na(1,"ngx-mat-timepicker",7),Ga("ngModelChange",function(t){return jt(e),eo(2).datepicker._selected=t}),Ha(),Ha()}if(2&e){const e=eo(2);fo("disable-seconds",!e.datepicker._showSeconds),rs(1),Ya("showSpinners",e.datepicker._showSpinners)("showSeconds",e.datepicker._showSeconds)("disabled",e.datepicker._disabled)("stepHour",e.datepicker._stepHour)("stepMinute",e.datepicker._stepMinute)("stepSecond",e.datepicker._stepSecond)("ngModel",e.datepicker._selected)("color",e.datepicker._color)("enableMeridian",e.datepicker._enableMeridian)("disableMinute",e.datepicker._disableMinute)}}function gE(e,t){1&e&&(Na(0,"mat-icon"),Mo(1,"done"),Ha())}function yE(e,t){}function bE(e,t){if(1&e){const e=Wa();Ua(0),Pa(1,_E,2,12,"div",2),Na(2,"div",3),Na(3,"button",4),Ga("click",function(){return jt(e),eo().datepicker.ok()}),Pa(4,gE,2,0,"mat-icon",1),Pa(5,yE,0,0,"ng-template",5),Ha(),Ha(),Ba()}if(2&e){const e=eo();rs(1),Ya("ngIf",!e.datepicker._hideTime),rs(2),Ya("color",e.datepicker._color)("disabled",!e.valid),rs(1),Ya("ngIf",!e.datepicker._customIcon),rs(1),Ya("cdkPortalOutlet",e._templateCustomIconPortal)}}class vE extends Hb{isSameTime(e,t){return null==e||null==t||this.getHour(e)===this.getHour(t)&&this.getMinute(e)===this.getMinute(t)&&this.getSecond(e)===this.getSecond(t)}copyTime(e,t){this.setHour(e,this.getHour(t)),this.setMinute(e,this.getMinute(t)),this.setSecond(e,this.getSecond(t))}compareDateWithTime(e,t,n){let i=super.compareDate(e,t)||this.getHour(e)-this.getHour(t)||this.getMinute(e)-this.getMinute(t);return n&&(i=i||this.getSecond(e)-this.getSecond(t)),i}setTimeByDefaultValues(e,t){if(!Array.isArray(t))throw Error("@Input DefaultTime should be an array");this.setHour(e,t[0]||0),this.setMinute(e,t[1]||0),this.setSecond(e,t[2]||0)}}const wE=new Zn("ngx-mat-date-formats");class kE{constructor(e,t,n,i,r={},s=e,a){this.value=e,this.displayValue=t,this.ariaLabel=n,this.enabled=i,this.cssClasses=r,this.compareValue=s,this.rawValue=a}}let SE=(()=>{class e{constructor(e,t){this._elementRef=e,this._ngZone=t,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new dc,this.previewChange=new dc,this._enterHandler=e=>{if(this._skipNextFocus&&"focus"===e.type)this._skipNextFocus=!1;else if(e.target&&this.isRange){const t=this._getCellFromElement(e.target);t&&this._ngZone.run(()=>this.previewChange.emit({value:t.enabled?t:null,event:e}))}},this._leaveHandler=e=>{null!==this.previewEnd&&this.isRange&&e.target&&CE(e.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:e}))},t.runOutsideAngular(()=>{const t=e.nativeElement;t.addEventListener("mouseenter",this._enterHandler,!0),t.addEventListener("focus",this._enterHandler,!0),t.addEventListener("mouseleave",this._leaveHandler,!0),t.addEventListener("blur",this._leaveHandler,!0)})}_cellClicked(e,t){e.enabled&&this.selectedValueChange.emit({value:e.value,event:t})}_isSelected(e){return this.startValue===e.compareValue||this.endValue===e.compareValue}ngOnChanges(e){const t=e.numCols,{rows:n,numCols:i}=this;(e.rows||t)&&(this._firstRowOffset=n&&n.length&&n[0].length?i-n[0].length:0),(e.cellAspectRatio||t||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/i+"%"),!t&&this._cellWidth||(this._cellWidth=100/i+"%")}ngOnDestroy(){const e=this._elementRef.nativeElement;e.removeEventListener("mouseenter",this._enterHandler,!0),e.removeEventListener("focus",this._enterHandler,!0),e.removeEventListener("mouseleave",this._leaveHandler,!0),e.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(e,t){let n=e*this.numCols+t;return e&&(n-=this._firstRowOffset),n==this.activeCell}_focusActiveCell(e=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.asObservable().pipe(Ig(1)).subscribe(()=>{const t=this._elementRef.nativeElement.querySelector(".ngx-mat-calendar-body-active");t&&(e||(this._skipNextFocus=!0),t.focus())})})}_isRangeStart(e){return xE(e,this.startValue,this.endValue)}_isRangeEnd(e){return ME(e,this.startValue,this.endValue)}_isInRange(e){return DE(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return xE(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,t,n){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let i=this.rows[t][n-1];if(!i){const e=this.rows[t-1];i=e&&e[e.length-1]}return i&&!this._isRangeEnd(i.compareValue)}_isComparisonBridgeEnd(e,t,n){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let i=this.rows[t][n+1];if(!i){const e=this.rows[t+1];i=e&&e[0]}return i&&!this._isRangeStart(i.compareValue)}_isComparisonEnd(e){return ME(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return DE(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isPreviewStart(e){return xE(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return ME(e,this.previewStart,this.previewEnd)}_isInPreview(e){return DE(e,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(e){let t;if(CE(e)?t=e:CE(e.parentNode)&&(t=e.parentNode),t){const e=t.getAttribute("data-ngx-mat-row"),n=t.getAttribute("data-ngx-mat-col");if(e&&n)return this.rows[parseInt(e)][parseInt(n)]}return null}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(Xc))},e.\u0275cmp=He({type:e,selectors:[["","ngx-mat-calendar-body",""]],hostAttrs:["role","grid","aria-readonly","true",1,"ngx-mat-calendar-body"],inputs:{numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",previewStart:"previewStart",previewEnd:"previewEnd",label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange"},exportAs:["NgxMatCalendarBody"],features:[ut],attrs:qO,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["aria-hidden","true","class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell",3,"ngClass","tabindex","mat-calendar-body-disabled","mat-calendar-body-active","mat-calendar-body-range-start","mat-calendar-body-range-end","mat-calendar-body-in-range","mat-calendar-body-comparison-bridge-start","mat-calendar-body-comparison-bridge-end","mat-calendar-body-comparison-start","mat-calendar-body-comparison-end","mat-calendar-body-in-comparison-range","mat-calendar-body-preview-start","mat-calendar-body-preview-end","mat-calendar-body-in-preview","width","paddingTop","paddingBottom","click",4,"ngFor","ngForOf"],["aria-hidden","true",1,"mat-calendar-body-label"],["role","gridcell",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],[1,"mat-calendar-body-cell-preview"]],template:function(e,t){1&e&&(Pa(0,KO,3,6,"tr",0),Pa(1,JO,3,2,"tr",1)),2&e&&(Ya("ngIf",t._firstRowOffset.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:2px dotted}[dir=rtl] .mat-calendar-body-label{text-align:right}@media (hover:none){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:transparent}}'],encapsulation:2,changeDetection:0}),e})();function CE(e){return"TD"===e.nodeName}function xE(e,t,n){return null!==n&&t!==n&&e=t&&e===n}function DE(e,t,n,i){return i&&null!==t&&null!==n&&t!==n&&e>=t&&e<=n}const LE=new Zn("NGX_MAT_DATE_RANGE_SELECTION_STRATEGY");let OE=(()=>{class e{constructor(e){this._dateAdapter=e}selectionFinished(e,t){let{start:n,end:i}=t;return null==n?n=e:null==i&&e&&this._dateAdapter.compareDate(e,n)>=0?i=e:(n=e,i=null),new pO(n,i)}createPreview(e,t){let n=null,i=null;return t.start&&!t.end&&e&&(n=t.start,i=e),new pO(n,i)}}return e.\u0275fac=function(t){return new(t||e)(gi(vE))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();const EE={minHour:0,maxHour:24,minMinute:0,maxMinute:60,minSecond:0,maxSecond:60,meridian:12},TE="AM",AE="PM",IE=/[^0-9]/g,PE=/^(2[0-3]|[0-1][0-9]|[0-9])$/,RE=/^([0-5][0-9]|[0-9])$/,jE=/^([0-5][0-9]|[0-9])$/;function YE(e){const t=e.toString();return t.length>1?t:`0${t}`}function FE(e){return Error(`NgxMatDatepicker: No provider found for ${e}. You must import one of the following modules at your application root: NgxMatNativeDateModule, NgxMatMomentModule, or provide a custom implementation.`)}let NE=(()=>{class e{constructor(e,t,n,i,r){if(this._changeDetectorRef=e,this._dateFormats=t,this._dateAdapter=n,this._dir=i,this._rangeStrategy=r,this._rerenderSubscription=d.EMPTY,this.selectedChange=new dc,this._userSelection=new dc,this.activeDateChange=new dc,!this._dateAdapter)throw FE("NgxMatDateAdapter");if(!this._dateFormats)throw FE("NGX_MAT_DATE_FORMATS");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){const t=this._activeDate,n=this._getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._hasSameMonthAndYear(t,this._activeDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof pO?e:this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(H_(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(e){const t=e.value,n=this._dateAdapter.getYear(this.activeDate),i=this._dateAdapter.getMonth(this.activeDate),r=this._dateAdapter.createDate(n,i,t);let s,a;this._selected instanceof pO?(s=this._getDateInCurrentMonth(this._selected.start),a=this._getDateInCurrentMonth(this._selected.end)):s=a=this._getDateInCurrentMonth(this._selected),s===t&&a===t||this.selectedChange.emit(r),this._userSelection.emit({value:r,event:e.event})}_handleCalendarBodyKeydown(e){const t=this._activeDate,n=this._isRtl();switch(e.keyCode){case Wg:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?1:-1);break;case Kg:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?-1:1);break;case qg:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case $g:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case zg:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case Bg:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case Vg:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case Ug:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case Fg:case Hg:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:e}),e.preventDefault()));case Ng:return void(null!=this._previewEnd&&(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:e}),e.preventDefault(),e.stopPropagation()));default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(e){this._matCalendarBody._focusActiveCell(e)}_previewChanged({event:e,value:t}){if(this._rangeStrategy){const n=this._rangeStrategy.createPreview(t?t.rawValue:null,this.selected,e);this._previewStart=this._getCellCompareValue(n.start),this._previewEnd=this._getCellCompareValue(n.end),this._changeDetectorRef.detectChanges()}}_initWeekdays(){const e=this._dateAdapter.getFirstDayOfWeek(),t=this._dateAdapter.getDayOfWeekNames("narrow");let n=this._dateAdapter.getDayOfWeekNames("long").map((e,n)=>({long:e,narrow:t[n]}));this._weekdays=n.slice(e).concat(n.slice(0,e))}_createWeekCells(){const e=this._dateAdapter.getNumDaysInMonth(this.activeDate),t=this._dateAdapter.getDateNames();this._weeks=[[]];for(let n=0,i=this._firstWeekOffset;n=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}_getDateInCurrentMonth(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}_hasSameMonthAndYear(e,t){return!(!e||!t||this._dateAdapter.getMonth(e)!=this._dateAdapter.getMonth(t)||this._dateAdapter.getYear(e)!=this._dateAdapter.getYear(t))}_getCellCompareValue(e){if(e){const t=this._dateAdapter.getYear(e),n=this._dateAdapter.getMonth(e),i=this._dateAdapter.getDate(e);return new Date(t,n,i).getTime()}return null}_getValidDateOrNull(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(e){e instanceof pO?(this._rangeStart=this._getCellCompareValue(e.start),this._rangeEnd=this._getCellCompareValue(e.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(e),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}}return e.\u0275fac=function(t){return new(t||e)(ja(Dl),ja(wE,8),ja(vE,8),ja(pg,8),ja(LE,8))},e.\u0275cmp=He({type:e,selectors:[["ngx-mat-month-view"]],viewQuery:function(e,t){if(1&e&&Cc(SE,1),2&e){let e;Sc(e=Mc())&&(t._matCalendarBody=e.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["ngxMatMonthView"],decls:7,vars:13,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["colspan","7","aria-hidden","true",1,"mat-calendar-table-header-divider"],["ngx-mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","previewChange","keydown"],["scope","col"]],template:function(e,t){1&e&&(Na(0,"table",0),Na(1,"thead",1),Na(2,"tr"),Pa(3,QO,2,2,"th",2),Ha(),Na(4,"tr"),Va(5,"th",3),Ha(),Ha(),Na(6,"tbody",4),Ga("selectedValueChange",function(e){return t._dateSelected(e)})("previewChange",function(e){return t._previewChanged(e)})("keydown",function(e){return t._handleCalendarBodyKeydown(e)}),Ha(),Ha()),2&e&&(rs(3),Ya("ngForOf",t._weekdays),rs(3),Ya("label",t._monthLabel)("rows",t._weeks)("todayValue",t._todayDate)("startValue",t._rangeStart)("endValue",t._rangeEnd)("comparisonStart",t._comparisonRangeStart)("comparisonEnd",t._comparisonRangeEnd)("previewStart",t._previewStart)("previewEnd",t._previewEnd)("isRange",t._isRange)("labelMinRequiredCells",3)("activeCell",t._dateAdapter.getDate(t.activeDate)-1))},directives:[Ad,SE],encapsulation:2,changeDetection:0}),e})();const HE=24;let VE=(()=>{class e{constructor(e,t,n){if(this._changeDetectorRef=e,this._dateAdapter=t,this._dir=n,this._rerenderSubscription=d.EMPTY,this.selectedChange=new dc,this.yearSelected=new dc,this.activeDateChange=new dc,!this._dateAdapter)throw FE("NgxMatDateAdapter");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){let t=this._activeDate;const n=this._getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),UE(this._dateAdapter,t,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof pO?e:this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedYear(e)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(H_(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const e=this._dateAdapter.getYear(this._activeDate)-BE(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let t=0,n=[];tthis._createCellForYear(e))),n=[]);this._changeDetectorRef.markForCheck()}_yearSelected(e){const t=e.value;this.yearSelected.emit(this._dateAdapter.createDate(t,0,1));let n=this._dateAdapter.getMonth(this.activeDate),i=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(t,n,1));this.selectedChange.emit(this._dateAdapter.createDate(t,n,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}_handleCalendarBodyKeydown(e){const t=this._activeDate,n=this._isRtl();switch(e.keyCode){case Wg:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?1:-1);break;case Kg:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?-1:1);break;case qg:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case $g:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case zg:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-BE(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case Bg:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,HE-BE(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case Vg:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-240:-24);break;case Ug:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?240:HE);break;case Fg:case Hg:this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:e});break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}_getActiveCell(){return BE(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(e){let t=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1));return new kE(e,t,t,this._shouldEnableYear(e))}_shouldEnableYear(e){if(null==e||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e{class e{constructor(e,t,n,i){if(this._changeDetectorRef=e,this._dateFormats=t,this._dateAdapter=n,this._dir=i,this._rerenderSubscription=d.EMPTY,this.selectedChange=new dc,this.monthSelected=new dc,this.activeDateChange=new dc,!this._dateAdapter)throw FE("NgxMatDateAdapter");if(!this._dateFormats)throw FE("NGX_MAT_DATE_FORMATS");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){let t=this._activeDate;const n=this._getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._dateAdapter.getYear(t)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof pO?e:this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedMonth(e)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(H_(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(e){const t=e.value,n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1);this.monthSelected.emit(n);const i=this._dateAdapter.getNumDaysInMonth(n);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}_handleCalendarBodyKeydown(e){const t=this._activeDate,n=this._isRtl();switch(e.keyCode){case Wg:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?1:-1);break;case Kg:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?-1:1);break;case qg:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case $g:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case zg:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case Bg:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case Vg:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case Ug:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case Fg:case Hg:this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:e});break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let e=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(t=>t.map(t=>this._createCellForMonth(t,e[t]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(e){return e&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(e):null}_createCellForMonth(e,t){let n=this._dateAdapter.format(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),this._dateFormats.display.monthYearA11yLabel);return new kE(e,t.toLocaleUpperCase(),n,this._shouldEnableMonth(e))}_shouldEnableMonth(e){const t=this._dateAdapter.getYear(this.activeDate);if(null==e||this._isYearAndMonthAfterMaxDate(t,e)||this._isYearAndMonthBeforeMinDate(t,e))return!1;if(!this.dateFilter)return!0;for(let n=this._dateAdapter.createDate(t,e,1);this._dateAdapter.getMonth(n)==e;n=this._dateAdapter.addCalendarDays(n,1))if(this.dateFilter(n))return!0;return!1}_isYearAndMonthAfterMaxDate(e,t){if(this.maxDate){const n=this._dateAdapter.getYear(this.maxDate),i=this._dateAdapter.getMonth(this.maxDate);return e>n||e===n&&t>i}return!1}_isYearAndMonthBeforeMinDate(e,t){if(this.minDate){const n=this._dateAdapter.getYear(this.minDate),i=this._dateAdapter.getMonth(this.minDate);return e{class e{constructor(e,t,n,i,r){this._intl=e,this.calendar=t,this._dateAdapter=n,this._dateFormats=i,this.calendar.stateChanges.subscribe(()=>r.markForCheck())}get periodButtonText(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const e=this._dateAdapter.getYear(this.calendar.activeDate)-BE(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),t=e+HE-1;return`${this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1))} \u2013 ${this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1))}`}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:HE)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(e,t){return"month"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(t):"year"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t):UE(this._dateAdapter,e,t,this.calendar.minDate,this.calendar.maxDate)}}return e.\u0275fac=function(t){return new(t||e)(ja(aO),ja(se(()=>KE)),ja(vE,8),ja(wE,8),ja(Dl))},e.\u0275cmp=He({type:e,selectors:[["ngx-mat-calendar-header"]],exportAs:["ngxMatCalendarHeader"],ngContentSelectors:XO,decls:9,vars:8,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","cdkAriaLive","polite",1,"mat-calendar-period-button",3,"click"],[1,"mat-calendar-arrow"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(e,t){1&e&&(no(),Na(0,"div",0),Na(1,"div",1),Na(2,"button",2),Ga("click",function(){return t.currentPeriodClicked()}),Mo(3),Va(4,"div",3),Ha(),Va(5,"div",4),io(6),Na(7,"button",5),Ga("click",function(){return t.previousClicked()}),Ha(),Na(8,"button",6),Ga("click",function(){return t.nextClicked()}),Ha(),Ha(),Ha()),2&e&&(rs(2),Aa("aria-label",t.periodButtonLabel),rs(1),Lo(" ",t.periodButtonText," "),rs(1),fo("mat-calendar-invert","month"!=t.calendar.currentView),rs(3),Ya("disabled",!t.previousEnabled()),Aa("aria-label",t.prevButtonLabel),rs(1),Ya("disabled",!t.nextEnabled()),Aa("aria-label",t.nextButtonLabel))},directives:[fw],encapsulation:2,changeDetection:0}),e})(),KE=(()=>{class e{constructor(e,t,n,i){if(this._dateAdapter=t,this._dateFormats=n,this._changeDetectorRef=i,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new dc,this.yearSelected=new dc,this.monthSelected=new dc,this._userSelection=new dc,this.stateChanges=new S,!this._dateAdapter)throw FE("NgxDateAdapter");if(!this._dateFormats)throw FE("NGX_MAT_DATE_FORMATS");this._intlChanges=e.changes.subscribe(()=>{i.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(e){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}get selected(){return this._selected}set selected(e){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}get minDate(){return this._minDate}set minDate(e){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}get activeDate(){return this._clampedActiveDate}set activeDate(e){this._clampedActiveDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(e){this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck()}ngAfterContentInit(){this._calendarHeaderPortal=new xg(this.headerComponent||qE),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(e){const t=e.minDate||e.maxDate||e.dateFilter;if(t&&!t.firstChange){const e=this._getCurrentViewComponent();e&&(this._changeDetectorRef.detectChanges(),e._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell()}updateTodaysDate(){("month"==this.currentView?this.monthView:"year"==this.currentView?this.yearView:this.multiYearView).ngAfterContentInit()}_dateSelected(e){e&&!this._dateAdapter.sameDate(e,this.selected)&&this.selectedChange.emit(e)}_yearSelectedInMultiYearView(e){this.yearSelected.emit(e)}_monthSelectedInYearView(e){this.monthSelected.emit(e)}_userSelected(){this._userSelection.emit()}_goToDateInView(e,t){this.activeDate=e,this.currentView=t}_getValidDateOrNull(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return e.\u0275fac=function(t){return new(t||e)(ja(aO),ja(vE,8),ja(wE,8),ja(Dl))},e.\u0275cmp=He({type:e,selectors:[["ngx-mat-calendar"]],viewQuery:function(e,t){if(1&e&&(Cc(NE,1),Cc(WE,1),Cc(VE,1)),2&e){let e;Sc(e=Mc())&&(t.monthView=e.first),Sc(e=Mc())&&(t.yearView=e.first),Sc(e=Mc())&&(t.multiYearView=e.first)}},hostAttrs:[1,"mat-calendar"],inputs:{startView:"startView",startAt:"startAt",selected:"selected",minDate:"minDate",maxDate:"maxDate",headerComponent:"headerComponent",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",_userSelection:"_userSelection"},exportAs:["ngxMatCalendar"],features:[ut],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","selectedChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","selectedChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","yearSelected","selectedChange"]],template:function(e,t){1&e&&(Pa(0,ZO,0,0,"ng-template",0),Na(1,"div",1),Pa(2,eE,1,6,"ngx-mat-month-view",2),Pa(3,tE,1,5,"ngx-mat-year-view",3),Pa(4,nE,1,5,"ngx-mat-multi-year-view",4),Ha()),2&e&&(Ya("cdkPortalOutlet",t._calendarHeaderPortal),rs(1),Ya("ngSwitch",t.currentView),rs(1),Ya("ngSwitchCase","month"),rs(1),Ya("ngSwitchCase","year"),rs(1),Ya("ngSwitchCase","multi-year"))},directives:[Eg,Fd,Nd,NE,WE,VE],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0}.mat-calendar-content{outline:none;padding:0 8px 8px}.mat-calendar-controls{display:flex;margin:5% calc(4.71429% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{border-left:5px solid transparent;border-right:5px solid transparent;border-top-style:solid;border-top-width:5px;display:inline-block;height:0;margin:0 0 0 5px;vertical-align:middle;width:0}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.mat-calendar-next-button,.mat-calendar-previous-button{position:relative}.mat-calendar-next-button:after,.mat-calendar-previous-button:after{border:solid;border-width:2px 0 0;bottom:0;content:"";left:0;margin:15.5px;position:absolute;right:0;top:0}[dir=rtl] .mat-calendar-next-button,[dir=rtl] .mat-calendar-previous-button{transform:rotate(180deg)}.mat-calendar-previous-button:after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button:after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-collapse:collapse;border-spacing:0;width:100%}.mat-calendar-table-header th{padding:0 0 8px;text-align:center}.mat-calendar-table-header-divider{height:1px;position:relative}.mat-calendar-table-header-divider:after{content:"";height:1px;left:-8px;position:absolute;right:-8px;top:0}'],encapsulation:2,changeDetection:0}),e})(),$E=(()=>{class e{constructor(e,t,n){if(this._dateAdapter=e,this.cd=t,this.formBuilder=n,this.disabled=!1,this.showSpinners=!0,this.stepHour=1,this.stepMinute=1,this.stepSecond=1,this.showSeconds=!1,this.disableMinute=!1,this.enableMeridian=!1,this.color="primary",this.meridian=TE,this._onChange=()=>{},this._onTouched=()=>{},this._destroyed=new S,this.pattern=PE,!this._dateAdapter)throw FE("NgxMatDateAdapter");this.form=this.formBuilder.group({hour:[{value:null,disabled:this.disabled},[rk.required,rk.pattern(PE)]],minute:[{value:null,disabled:this.disabled},[rk.required,rk.pattern(RE)]],second:[{value:null,disabled:this.disabled},[rk.required,rk.pattern(jE)]]})}get hour(){let e=Number(this.form.controls.hour.value);return isNaN(e)?0:e}get minute(){let e=Number(this.form.controls.minute.value);return isNaN(e)?0:e}get second(){let e=Number(this.form.controls.second.value);return isNaN(e)?0:e}get valid(){return this.form.valid}ngOnInit(){this.form.valueChanges.pipe(j_(this._destroyed),Ry(400)).subscribe(e=>{this._updateModel()})}ngOnChanges(e){(e.disabled||e.disableMinute)&&this._setDisableStates()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}writeValue(e){null!=e?this._model=e:(this._model=this._dateAdapter.today(),null!=this.defaultTime&&this._dateAdapter.setTimeByDefaultValues(this._model,this.defaultTime)),this._updateHourMinuteSecond()}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._disabled=e,this.cd.markForCheck()}formatInput(e){e.value=e.value.replace(IE,"")}toggleMeridian(){this.meridian=this.meridian===TE?AE:TE,this.change("hour")}change(e,t){const n=this._getNextValueByProp(e,t);this.form.controls[e].setValue(YE(n),{onlySelf:!1,emitEvent:!1}),this._updateModel()}_updateHourMinuteSecond(){let e=this._dateAdapter.getHour(this._model);const t=this._dateAdapter.getMinute(this._model),n=this._dateAdapter.getSecond(this._model);this.enableMeridian&&(e>EE.meridian?(e-=EE.meridian,this.meridian=AE):this.meridian=TE),this.form.controls.hour.setValue(YE(e)),this.form.controls.minute.setValue(YE(t)),this.form.controls.second.setValue(YE(n))}_updateModel(){let e=this.hour;this.enableMeridian&&this.meridian===AE&&e!==EE.meridian&&(e+=EE.meridian),this._dateAdapter.setHour(this._model,e),this._dateAdapter.setMinute(this._model,this.minute),this._dateAdapter.setSecond(this._model,this.second),this._onChange(this._model)}_getNextValueByProp(e,t){const n=e[0].toUpperCase()+e.slice(1),i=EE[`min${n}`];let r,s=EE[`max${n}`];return"hour"===e&&this.enableMeridian&&(s=EE.meridian),null==t?r=this[e]%s:(r=t?this[e]+this[`step${n}`]:this[e]-this[`step${n}`],"hour"===e&&this.enableMeridian?(r%=s+1,0===r&&(r=t?1:s)):r%=s,r=t?r>s?r-s+i:r:re),multi:!0}]),ut],decls:18,vars:7,consts:[[3,"formGroup"],[1,"ngx-mat-timepicker-table"],[1,"ngx-mat-timepicker-tbody"],[4,"ngIf"],["appearance","legacy"],["type","text","matInput","","maxlength","2","formControlName","hour",3,"input","keydown.ArrowUp","keydown.ArrowDown","blur"],[1,"ngx-mat-timepicker-spacer"],["type","text","matInput","","maxlength","2","formControlName","minute",3,"input","keydown.ArrowUp","keydown.ArrowDown","blur"],["class","ngx-mat-timepicker-spacer",4,"ngIf"],["class","ngx-mat-timepicker-meridian",4,"ngIf"],["type","button","mat-icon-button","","aria-label","expand_less icon",3,"disabled","click"],["type","text","matInput","","maxlength","2","formControlName","second",3,"input","keydown.ArrowUp","keydown.ArrowDown","blur"],[1,"ngx-mat-timepicker-meridian"],["mat-button","","mat-stroked-button","",3,"color","disabled","click"],["type","button","mat-icon-button","","aria-label","expand_more icon",3,"disabled","click"]],template:function(e,t){1&e&&(Na(0,"form",0),Na(1,"table",1),Na(2,"tbody",2),Pa(3,aE,14,5,"tr",3),Na(4,"tr"),Na(5,"td"),Na(6,"mat-form-field",4),Na(7,"input",5),Ga("input",function(e){return t.formatInput(e.target)})("keydown.ArrowUp",function(e){return t.change("hour",!0),e.preventDefault()})("keydown.ArrowDown",function(e){return t.change("hour",!1),e.preventDefault()})("blur",function(){return t.change("hour")}),Ha(),Ha(),Ha(),Na(8,"td",6),Mo(9,":"),Ha(),Na(10,"td"),Na(11,"mat-form-field",4),Na(12,"input",7),Ga("input",function(e){return t.formatInput(e.target)})("keydown.ArrowUp",function(e){return t.change("minute",!0),e.preventDefault()})("keydown.ArrowDown",function(e){return t.change("minute",!1),e.preventDefault()})("blur",function(){return t.change("minute")}),Ha(),Ha(),Ha(),Pa(13,oE,2,0,"td",8),Pa(14,lE,3,0,"td",3),Pa(15,cE,1,0,"td",8),Pa(16,uE,3,3,"td",9),Ha(),Pa(17,mE,14,6,"tr",3),Ha(),Ha(),Ha()),2&e&&(Ya("formGroup",t.form),rs(3),Ya("ngIf",t.showSpinners),rs(10),Ya("ngIf",t.showSeconds),rs(1),Ya("ngIf",t.showSeconds),rs(1),Ya("ngIf",t.enableMeridian),rs(1),Ya("ngIf",t.enableMeridian),rs(1),Ya("ngIf",t.showSpinners))},directives:[dS,wk,_S,Pd,TL,UL,Xw,kS,vk,yS,fw,KD],styles:[".ngx-mat-timepicker{font-size:13px}.ngx-mat-timepicker form{min-width:90px}.ngx-mat-timepicker form .ngx-mat-timepicker-table .ngx-mat-timepicker-tbody tr td{text-align:center}.ngx-mat-timepicker form .ngx-mat-timepicker-table .ngx-mat-timepicker-tbody tr td.ngx-mat-timepicker-spacer{font-weight:700}.ngx-mat-timepicker form .ngx-mat-timepicker-table .ngx-mat-timepicker-tbody tr td.ngx-mat-timepicker-meridian .mat-button{border-radius:4px;border-radius:50%;flex-shrink:0;height:36px;line-height:36px;min-width:64px;min-width:0;padding:0;width:36px}.ngx-mat-timepicker form .ngx-mat-timepicker-table .ngx-mat-timepicker-tbody tr td .mat-icon-button{height:24px;line-height:24px;width:24px}.ngx-mat-timepicker form .ngx-mat-timepicker-table .ngx-mat-timepicker-tbody tr td .mat-icon-button .mat-icon{font-size:24px}.ngx-mat-timepicker form .ngx-mat-timepicker-table .ngx-mat-timepicker-tbody tr td .mat-form-field{max-width:20px;text-align:center;width:20px}"],encapsulation:2}),e})(),GE=0;const JE=Pb(class{constructor(e){this._elementRef=e}});let QE=(()=>{class e extends JE{constructor(e,t,n){super(e),this.cd=t,this._viewContainerRef=n}get valid(){return(this.datepicker.hideTime||this._timePicker&&this._timePicker.valid)&&this.datepicker.valid}get isViewMonth(){return!this._calendar||null==this._calendar.currentView||"month"==this._calendar.currentView}ngAfterViewInit(){this._calendar.focusActiveCell(),this.datepicker._customIcon&&(this._templateCustomIconPortal=new Mg(this.datepicker._customIcon,this._viewContainerRef),this.cd.detectChanges())}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(Dl),ja(Hl))},e.\u0275cmp=He({type:e,selectors:[["ngx-mat-datetime-content"]],viewQuery:function(e,t){if(1&e&&(Cc(KE,1),Cc($E,1)),2&e){let e;Sc(e=Mc())&&(t._calendar=e.first),Sc(e=Mc())&&(t._timePicker=e.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(e,t){2&e&&(To("@transformPanel","enter"),fo("mat-datepicker-content-touch",t.datepicker.touchUi))},inputs:{color:"color"},exportAs:["ngxMatDatetimeContent"],features:[ba],decls:2,vars:12,consts:[["cdkTrapFocus","",3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","selectedChange","yearSelected","monthSelected"],[4,"ngIf"],["class","time-container",3,"disable-seconds",4,"ngIf"],[1,"actions"],["mat-button","","mat-stroked-button","","cdkFocusInitial","",3,"color","disabled","click"],[3,"cdkPortalOutlet"],[1,"time-container"],[3,"showSpinners","showSeconds","disabled","stepHour","stepMinute","stepSecond","ngModel","color","enableMeridian","disableMinute","ngModelChange"]],template:function(e,t){1&e&&(Na(0,"ngx-mat-calendar",0),Ga("selectedChange",function(e){return t.datepicker.select(e)})("yearSelected",function(e){return t.datepicker._selectYear(e)})("monthSelected",function(e){return t.datepicker._selectMonth(e)}),Ha(),Pa(1,bE,6,5,"ng-container",1)),2&e&&(Ya("id",t.datepicker.id)("ngClass",t.datepicker.panelClass)("startAt",t.datepicker.startAt)("startView",t.datepicker.startView)("minDate",t.datepicker._minDate)("maxDate",t.datepicker._maxDate)("dateFilter",t.datepicker._dateFilter)("headerComponent",t.datepicker.calendarHeaderComponent)("selected",t.datepicker._selected)("dateClass",t.datepicker.dateClass)("@fadeInCalendar","enter"),rs(1),Ya("ngIf",t.isViewMonth))},directives:[KE,Ed,Pd,fw,Eg,$E,vk,uS,KD],styles:['.mat-datepicker-content{border-radius:4px;box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);display:block}.mat-datepicker-content .mat-calendar{width:296px}.mat-datepicker-content .time-container{display:flex;justify-content:center;padding-top:5px;position:relative}.mat-datepicker-content .time-container.disable-seconds .ngx-mat-timepicker .table{margin-left:9px}.mat-datepicker-content .time-container:before{background-color:rgba(0,0,0,.12);content:"";height:1px;left:0;position:absolute;right:0;top:0}.mat-datepicker-content .actions{display:flex;justify-content:flex-end;padding:5px 15px 10px}'],encapsulation:2,data:{animation:[LO.transformPanel,LO.fadeInCalendar]},changeDetection:0}),e})(),XE=(()=>{class e{constructor(e,t,n,i,r,s,a,o){if(this._dialog=e,this._overlay=t,this._ngZone=n,this._viewContainerRef=i,this._dateAdapter=s,this._dir=a,this._document=o,this.startView="month",this._defaultColor="primary",this._touchUi=!1,this._hideTime=!1,this.yearSelected=new dc,this.monthSelected=new dc,this.openedStream=new dc,this.closedStream=new dc,this._opened=!1,this._showSpinners=!0,this._showSeconds=!1,this._stepHour=1,this._stepMinute=1,this._stepSecond=1,this._enableMeridian=!1,this._hasBackdrop=!0,this.id="mat-datepicker-"+GE++,this._validSelected=null,this._focusedElementBeforeOpen=null,this._inputSubscription=d.EMPTY,this.stateChanges=new S,this._selectedChanged=new S,this._minValidator=()=>!this._minDate||!this._selected||this._dateAdapter.compareDateWithTime(this._minDate,this._selected,this.showSeconds)<=0?null:{matDatetimePickerMin:{min:this._minDate,actual:this._selected}},this._maxValidator=()=>!this._maxDate||!this._selected||this._dateAdapter.compareDateWithTime(this._maxDate,this._selected,this.showSeconds)>=0?null:{matDatetimePickerMax:{max:this._maxDate,actual:this._selected}},!this._dateAdapter)throw FE("NgxMatDateAdapter");this._scrollStrategy=r}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.value:null)}set startAt(e){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}get defaultColor(){return this._defaultColor}set defaultColor(e){this._defaultColor=e}get color(){return this._color||(this.datepickerInput?this.datepickerInput._getThemePalette():"primary")}set color(e){this._color=e}get touchUi(){return this._touchUi}set touchUi(e){this._touchUi=s_(e)}get hideTime(){return this._hideTime}set hideTime(e){this._hideTime=s_(e)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(e){const t=s_(e);t!==this._disabled&&(this._disabled=t,this.stateChanges.next(t))}get opened(){return this._opened}set opened(e){e?this.open():this.close()}get showSpinners(){return this._showSpinners}set showSpinners(e){this._showSpinners=e}get showSeconds(){return this._showSeconds}set showSeconds(e){this._showSeconds=e}get stepHour(){return this._stepHour}set stepHour(e){this._stepHour=e}get stepMinute(){return this._stepMinute}set stepMinute(e){this._stepMinute=e}get stepSecond(){return this._stepSecond}set stepSecond(e){this._stepSecond=e}get enableMeridian(){return this._enableMeridian}set enableMeridian(e){this._enableMeridian=e}get disableMinute(){return this._disableMinute}set disableMinute(e){this._disableMinute=e}get defaultTime(){return this._defaultTime}set defaultTime(e){this._defaultTime=e}get _selected(){return this._validSelected}set _selected(e){this._validSelected=e}get _minDate(){return this.datepickerInput&&this.datepickerInput.min}get _maxDate(){return this.datepickerInput&&this.datepickerInput.max}get valid(){const e=this._minValidator(),t=this._maxValidator();return null==e&&null==t}get _dateFilter(){return this.datepickerInput&&this.datepickerInput._dateFilter}ngOnDestroy(){this.close(),this._popupRef&&(this._popupRef.dispose(),this._popupComponentRef=null),this._inputSubscription.unsubscribe(),this.stateChanges.complete()}select(e){this._dateAdapter.copyTime(e,this._selected),this._selected=e}_selectYear(e){this.yearSelected.emit(e)}_selectMonth(e){this.monthSelected.emit(e)}ok(){const e=this._dateAdapter.clone(this._selected);this._selectedChanged.next(e),this.close()}cancel(){this._selected=this._rawValue,this.close()}_registerInput(e){if(this.datepickerInput)throw Error("A NgxMatDatepicker can only be associated with a single input.");this.datepickerInput=e,this._inputSubscription=this.datepickerInput._valueChange.subscribe(e=>this._selected=e)}open(){if(this._rawValue=null!=this._selected?this._dateAdapter.clone(this._selected):null,null==this._selected&&(this._selected=this._dateAdapter.today(),null!=this.defaultTime&&this._dateAdapter.setTimeByDefaultValues(this._selected,this.defaultTime)),!this._opened&&!this.disabled){if(!this.datepickerInput)throw Error("Attempted to open an NgxMatDatepicker with no associated input.");this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this.touchUi?this._openAsDialog():this._openAsPopup(),this._opened=!0,this.openedStream.emit()}}close(){if(!this._opened)return;this._popupRef&&this._popupRef.hasAttached()&&this._popupRef.detach(),this._dialogRef&&(this._dialogRef.close(),this._dialogRef=null),this._calendarPortal&&this._calendarPortal.isAttached&&this._calendarPortal.detach();const e=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(e)):e()}_openAsDialog(){this._dialogRef&&this._dialogRef.close(),this._dialogRef=this._dialog.open(QE,{direction:this._dir?this._dir.value:"ltr",viewContainerRef:this._viewContainerRef,panelClass:"mat-datepicker-dialog",hasBackdrop:this._hasBackdrop}),this._dialogRef.afterClosed().subscribe(()=>this.close()),this._dialogRef.componentInstance.datepicker=this,this._setColor()}_openAsPopup(){this._calendarPortal||(this._calendarPortal=new xg(QE,this._viewContainerRef)),this._popupRef||this._createPopup(),this._popupRef.hasAttached()||(this._popupComponentRef=this._popupRef.attach(this._calendarPortal),this._popupComponentRef.instance.datepicker=this,this._setColor(),this._ngZone.onStable.asObservable().pipe(Ig(1)).subscribe(()=>{this._popupRef.updatePosition()}))}_createPopup(){const e=new ry({positionStrategy:this._createPopupPositionStrategy(),hasBackdrop:this._hasBackdrop,backdropClass:"mat-overlay-transparent-backdrop",direction:this._dir,scrollStrategy:this._scrollStrategy(),panelClass:"mat-datepicker-popup"});this._popupRef=this._overlay.create(e),this._popupRef.overlayElement.setAttribute("role","dialog"),W(this._popupRef.backdropClick(),this._popupRef.detachments(),this._popupRef.keydownEvents().pipe(Ih(e=>e.keyCode===Ng||this.datepickerInput&&e.altKey&&e.keyCode===qg))).subscribe(e=>{e&&e.preventDefault(),this._hasBackdrop&&e?this.cancel():this.close()})}_createPopupPositionStrategy(){return this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-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(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}_setColor(){const e=this.color;this._popupComponentRef&&(this._popupComponentRef.instance.color=e),this._dialogRef&&(this._dialogRef.componentInstance.color=e)}}return e.\u0275fac=function(t){return new(t||e)(ja(Vv),ja(Cy),ja(Xc),ja(Hl),ja(EO),ja(vE,8),ja(pg,8),ja(Tu,8))},e.\u0275cmp=He({type:e,selectors:[["ngx-mat-datetime-picker"]],contentQueries:function(e,t,n){if(1&e&&xc(n,Il,1),2&e){let e;Sc(e=Mc())&&(t._customIcon=e.first)}},inputs:{startView:"startView",startAt:"startAt",defaultColor:"defaultColor",color:"color",touchUi:"touchUi",hideTime:"hideTime",disabled:"disabled",opened:"opened",showSpinners:"showSpinners",showSeconds:"showSeconds",stepHour:"stepHour",stepMinute:"stepMinute",stepSecond:"stepSecond",enableMeridian:"enableMeridian",disableMinute:"disableMinute",defaultTime:"defaultTime",calendarHeaderComponent:"calendarHeaderComponent",panelClass:"panelClass",dateClass:"dateClass"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",openedStream:"opened",closedStream:"closed"},exportAs:["ngxMatDatetimePicker"],decls:0,vars:0,template:function(e,t){},encapsulation:2,changeDetection:0}),e})();const ZE={provide:Kw,useExisting:se(()=>iT),multi:!0},eT={provide:tk,useExisting:se(()=>iT),multi:!0};class tT{constructor(e,t){this.target=e,this.targetElement=t,this.value=this.target.value}}let nT,iT=(()=>{class e{constructor(e,t,n,i){if(this._elementRef=e,this._dateAdapter=t,this._dateFormats=n,this._formField=i,this.dateChange=new dc,this.dateInput=new dc,this._valueChange=new dc,this.stateChanges=new dc,this._onTouched=()=>{},this._cvaOnChange=()=>{},this._validatorOnChange=()=>{},this._datepickerSubscription=d.EMPTY,this._localeSubscription=d.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatetimePickerParse:{text:this._elementRef.nativeElement.value}},this._minValidator=e=>{const t=this._getValidDateOrNull(this._dateAdapter.deserialize(e.value));return!this.min||!t||this._dateAdapter.compareDateWithTime(this.min,t,this._datepicker.showSeconds)<=0?null:{matDatetimePickerMin:{min:this.min,actual:t}}},this._maxValidator=e=>{const t=this._getValidDateOrNull(this._dateAdapter.deserialize(e.value));return!this.max||!t||this._dateAdapter.compareDateWithTime(this.max,t,this._datepicker.showSeconds)>=0?null:{matDatetimePickerMax:{max:this.max,actual:t}}},this._filterValidator=e=>{const t=this._getValidDateOrNull(this._dateAdapter.deserialize(e.value));return this._dateFilter&&t&&!this._dateFilter(t)?{matDatetimePickerFilter:!0}:null},this._validator=rk.compose([this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]),this._lastValueValid=!1,!this._dateAdapter)throw FE("NgxMatDateAdapter");if(!this._dateFormats)throw FE("NGX_MAT_DATE_FORMATS");this._localeSubscription=t.localeChanges.subscribe(()=>{this.value=this.value})}set ngxMatDatetimePicker(e){e&&(this._datepicker=e,this._datepicker._registerInput(this),this._datepickerSubscription.unsubscribe(),this._datepickerSubscription=this._datepicker._selectedChanged.subscribe(e=>{this.value=e,this._cvaOnChange(e),this._onTouched(),this.dateInput.emit(new tT(this,this._elementRef.nativeElement)),this.dateChange.emit(new tT(this,this._elementRef.nativeElement))}))}set ngxMatDatetimePickerFilter(e){this._dateFilter=e,this._validatorOnChange()}get value(){return this._value}set value(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=!e||this._dateAdapter.isValid(e),e=this._getValidDateOrNull(e);const t=this.value;this._value=e,this._formatValue(e),this._dateAdapter.sameDate(t,e)||this._valueChange.emit(e)}get min(){return this._min}set min(e){this._min=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._validatorOnChange()}get max(){return this._max}set max(e){this._max=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._validatorOnChange()}get disabled(){return!!this._disabled}set disabled(e){const t=null!=e&&"false"!=`${e}`,n=this._elementRef.nativeElement;this._disabled!==t&&(this._disabled=t,this.stateChanges.emit(void 0)),t&&n.blur&&n.blur()}ngOnDestroy(){this._datepickerSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this.stateChanges.complete()}registerOnValidatorChange(e){this._validatorOnChange=e}validate(e){return this._validator?this._validator(e):null}getPopupConnectionElementRef(){return this.getConnectedOverlayOrigin()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}writeValue(e){this.value=e}registerOnChange(e){this._cvaOnChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_onKeydown(e){this._datepicker&&e.altKey&&e.keyCode===$g&&!this._elementRef.nativeElement.readOnly&&(this._datepicker.open(),e.preventDefault())}_onInput(e){const t=this._lastValueValid;let n=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=!n||this._dateAdapter.isValid(n),n=this._getValidDateOrNull(n);const i=this._dateAdapter.isSameTime(n,this._value);null!=n&&(!i||!this._dateAdapter.sameDate(n,this._value))||null==n&&null!=this._value?(this._value=n,this._cvaOnChange(n),this._valueChange.emit(n),this.dateInput.emit(new tT(this,this._elementRef.nativeElement))):t!==this._lastValueValid&&this._validatorOnChange()}_onChange(){this.dateChange.emit(new tT(this,this._elementRef.nativeElement))}_getThemePalette(){return this._formField?this._formField.color:void 0}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_onFocus(){this._datepicker&&this._datepicker.opened&&this._datepicker.cancel()}_formatValue(e){this._elementRef.nativeElement.value=e?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}_getValidDateOrNull(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(vE,8),ja(wE,8),ja(TL,8))},e.\u0275dir=qe({type:e,selectors:[["input","ngxMatDatetimePicker",""]],hostVars:5,hostBindings:function(e,t){1&e&&Ga("input",function(e){return t._onInput(e.target.value)})("change",function(){return t._onChange()})("blur",function(){return t._onBlur()})("focus",function(){return t._onFocus()})("keydown",function(e){return t._onKeydown(e)}),2&e&&(Eo("disabled",t.disabled),Aa("aria-haspopup",t._datepicker?"dialog":null)("aria-owns",(null==t._datepicker?null:t._datepicker.opened)&&t._datepicker.id||null)("min",t.min?t._dateAdapter.toIso8601(t.min):null)("max",t.max?t._dateAdapter.toIso8601(t.max):null))},inputs:{value:"value",ngxMatDatetimePicker:"ngxMatDatetimePicker",ngxMatDatetimePickerFilter:"ngxMatDatetimePickerFilter",min:"min",max:"max",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},exportAs:["ngxMatDatetimePickerInput"],features:[$o([ZE,eT,{provide:YL,useExisting:e}])]}),e})(),rT=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Gd,BL,MS,xS,$D,_w]]}),e})(),sT=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[TO,{provide:LE,useClass:OE}],imports:[[Gd,WO,Uv,Tg,xS,$D,_w,BL,rT]]}),e})();try{nT="undefined"!=typeof Intl}catch(NU){nT=!1}!function(e,t){const n=Array(31);for(let i=0;i<31;i++)n[i]=t(i)}(0,e=>String(e+1));var aT=n("wd/R"),oT=n.n(aT);const lT=oT.a||aT,cT=new Zn("NGX_MAT_MOMENT_DATE_ADAPTER_OPTIONS",{providedIn:"root",factory:function(){return{useUtc:!1}}});function uT(e,t){const n=Array(e);for(let i=0;i{class e extends vE{constructor(e,t){super(),this._options=t,this.setLocale(e||lT.locale())}setLocale(e){super.setLocale(e);let t=lT.localeData(e);this._localeData={firstDayOfWeek:t.firstDayOfWeek(),longMonths:t.months(),shortMonths:t.monthsShort(),dates:uT(31,e=>this.createDate(2017,0,e+1).format("D")),longDaysOfWeek:t.weekdays(),shortDaysOfWeek:t.weekdaysShort(),narrowDaysOfWeek:t.weekdaysMin()}}getYear(e){return this.clone(e).year()}getMonth(e){return this.clone(e).month()}getDate(e){return this.clone(e).date()}getDayOfWeek(e){return this.clone(e).day()}getMonthNames(e){return"long"==e?this._localeData.longMonths:this._localeData.shortMonths}getDateNames(){return this._localeData.dates}getDayOfWeekNames(e){return"long"==e?this._localeData.longDaysOfWeek:"short"==e?this._localeData.shortDaysOfWeek:this._localeData.narrowDaysOfWeek}getYearName(e){return this.clone(e).format("YYYY")}getFirstDayOfWeek(){return this._localeData.firstDayOfWeek}getNumDaysInMonth(e){return this.clone(e).daysInMonth()}clone(e){return e.clone().locale(this.locale)}createDate(e,t,n){if(t<0||t>11)throw Error(`Invalid month index "${t}". Month index has to be between 0 and 11.`);if(n<1)throw Error(`Invalid date "${n}". Date has to be greater than 0.`);const i=this._createMoment({year:e,month:t,date:n}).locale(this.locale);if(!i.isValid())throw Error(`Invalid date "${n}" for month with index "${t}".`);return i}today(){return this._createMoment().locale(this.locale)}parse(e,t){return e&&"string"==typeof e?this._createMoment(e,t,this.locale):e?this._createMoment(e).locale(this.locale):null}format(e,t){if(e=this.clone(e),!this.isValid(e))throw Error("MomentDateAdapter: Cannot format invalid date.");return e.format(t)}addCalendarYears(e,t){return this.clone(e).add({years:t})}addCalendarMonths(e,t){return this.clone(e).add({months:t})}addCalendarDays(e,t){return this.clone(e).add({days:t})}toIso8601(e){return this.clone(e).format()}deserialize(e){let t;if(e instanceof Date)t=this._createMoment(e).locale(this.locale);else if(this.isDateInstance(e))return this.clone(e);if("string"==typeof e){if(!e)return null;t=this._createMoment(e,lT.ISO_8601).locale(this.locale)}return t&&this.isValid(t)?this._createMoment(t).locale(this.locale):super.deserialize(e)}isDateInstance(e){return lT.isMoment(e)}isValid(e){return this.clone(e).isValid()}invalid(){return lT.invalid()}getHour(e){return e.hours()}getMinute(e){return e.minutes()}getSecond(e){return e.seconds()}setHour(e,t){e.hours(t)}setMinute(e,t){e.minutes(t)}setSecond(e,t){e.seconds(t)}_createMoment(e,t,n){const{strict:i,useUtc:r}=this._options||{};return r?lT.utc(e,t,n,i):lT(e,t,n,i)}}return e.\u0275fac=function(t){return new(t||e)(gi(Nb,8),gi(cT,8))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();const hT=["matPrefix"],pT=["matSuffix"],fT=["fieldComponent"];function mT(e,t){1&e&&(Na(0,"span",8),Mo(1,"*"),Ha())}function _T(e,t){if(1&e&&(Na(0,"mat-label"),Mo(1),Pa(2,mT,2,0,"span",7),Ha()),2&e){const e=eo();rs(1),Lo(" ",e.to.label," "),rs(1),Ya("ngIf",e.to.required&&!0!==e.to.hideRequiredMarker)}}function gT(e,t){1&e&&za(0)}function yT(e,t){if(1&e&&(Ua(0,9),Pa(1,gT,1,0,"ng-container",10),Ba()),2&e){const e=eo();rs(1),Ya("ngTemplateOutlet",e.to.prefix?e.to.prefix:e.formlyField._matprefix)}}function bT(e,t){1&e&&za(0)}function vT(e,t){if(1&e&&(Ua(0,11),Pa(1,bT,1,0,"ng-container",10),Ba()),2&e){const e=eo();rs(1),Ya("ngTemplateOutlet",e.to.suffix?e.to.suffix:e.formlyField._matsuffix)}}function wT(e,t){if(1&e&&(Na(0,"mat-hint",12),Mo(1),Ha()),2&e){const e=eo();Ya("id",null),rs(1),Do(e.to.description)}}class kT{constructor(e){this.field=e}isErrorState(e,t){return this.field&&this.field.showError}}let ST=(()=>{class e extends rC{constructor(){super(...arguments),this.errorStateMatcher=new kT(this),this.stateChanges=new S,this._errorState=!1}get formFieldControl(){return this._control||this}set formFieldControl(e){this._control=e,this.formField&&e!==this.formField._control&&(this.formField._control=e)}ngOnInit(){this.formField&&(this.formField._control=this.formFieldControl)}ngAfterViewInit(){(this.matPrefix||this.matSuffix)&&setTimeout(()=>{WS(this.field,"_matprefix",this.matPrefix),WS(this.field,"_matsuffix",this.matSuffix),this.options._markForCheck(this.field)})}ngOnDestroy(){this.formField&&delete this.formField._control,this.stateChanges.complete()}setDescribedByIds(e){}onContainerClick(e){this.field.focus=!0,this.stateChanges.next()}get errorState(){const e=this.options.showError(this);return e!==this._errorState&&(this._errorState=e,this.stateChanges.next()),e}get controlType(){return this.to.type?this.to.type:this.field.type instanceof ti?this.field.type.constructor.name:this.field.type}get focused(){return!!this.field.focus&&!this.disabled}get disabled(){return!!this.to.disabled}get required(){return!!this.to.required}get placeholder(){return this.to.placeholder||""}get shouldPlaceholderFloat(){return this.shouldLabelFloat}get value(){return this.formControl.value}set value(e){this.formControl.patchValue(e)}get ngControl(){return this.formControl}get empty(){return null==this.value||""===this.value}get shouldLabelFloat(){return this.focused||!this.empty}get formField(){return this.field?this.field.__formField__:null}}return e.\u0275fac=function(t){return CT(t||e)},e.\u0275dir=qe({type:e,viewQuery:function(e,t){if(1&e&&(Cc(hT,1),Cc(pT,1)),2&e){let e;Sc(e=Mc())&&(t.matPrefix=e.first),Sc(e=Mc())&&(t.matSuffix=e.first)}},features:[ba]}),e})();const CT=Gn(ST);let xT=(()=>{class e extends sC{constructor(e,t,n,i){super(),this.config=e,this.renderer=t,this.elementRef=n,this.focusMonitor=i,this.stateChanges=new S,this._errorState=!1,this.initialGapCalculated=!1}ngOnInit(){this.formField._control=this,WS(this.field,"__formField__",this.formField);const e=this.config.resolveFieldTypeRef(this.formlyField);!e||e.instance instanceof ST||console.warn(`Component '${e.componentType.name}' must extend 'FieldType' from '@ngx-formly/material/form-field'.`),this.formlyField.hide&&"outline"===this.formlyField.templateOptions.appearance&&(this.initialGapCalculated=!0),this.focusMonitor.monitor(this.elementRef,!0).subscribe(e=>{!e&&this.field.focus&&(this.field.focus=!1),this.stateChanges.next()})}ngAfterContentChecked(){this.initialGapCalculated&&!this.formlyField.hide&&(this.formField.updateOutlineGap(),this.initialGapCalculated=!0)}ngAfterViewInit(){if("outline"!==this.formField.appearance&&!0===this.to.hideFieldUnderline){const e=this.formField._elementRef.nativeElement.querySelector(".mat-form-field-underline");e&&this.renderer.removeChild(e.parentNode,e)}}ngOnDestroy(){delete this.formlyField.__formField__,this.stateChanges.complete(),this.focusMonitor.stopMonitoring(this.elementRef)}setDescribedByIds(e){}onContainerClick(e){this.formlyField.focus=!0,this.stateChanges.next()}get errorState(){const e=this.options.showError(this);return e!==this._errorState&&(this._errorState=e,this.stateChanges.next()),e}get controlType(){return this.to.type}get focused(){return!!this.formlyField.focus&&!this.disabled}get disabled(){return!!this.to.disabled}get required(){return!!this.to.required}get placeholder(){return this.to.placeholder||""}get shouldPlaceholderFloat(){return this.shouldLabelFloat}get value(){return this.formControl.value}get ngControl(){return this.formControl}get empty(){return!this.formControl.value}get shouldLabelFloat(){return this.focused||!this.empty}get formlyField(){return this.field}}return e.\u0275fac=function(t){return new(t||e)(ja(GS),ja(rl),ja(tl),ja(fb))},e.\u0275cmp=He({type:e,selectors:[["formly-wrapper-mat-form-field"]],viewQuery:function(e,t){if(1&e&&(Cc(fT,3,Hl),Cc(TL,3)),2&e){let e;Sc(e=Mc())&&(t.fieldComponent=e.first),Sc(e=Mc())&&(t.formField=e.first)}},features:[$o([{provide:_L,useExisting:e}]),ba],decls:9,vars:11,consts:[[3,"hideRequiredMarker","floatLabel","appearance","color"],["fieldComponent",""],[4,"ngIf"],["matPrefix","",4,"ngIf"],["matSuffix","",4,"ngIf"],[3,"field"],[3,"id",4,"ngIf"],["class","mat-form-field-required-marker",4,"ngIf"],[1,"mat-form-field-required-marker"],["matPrefix",""],[4,"ngTemplateOutlet"],["matSuffix",""],[3,"id"]],template:function(e,t){1&e&&(Na(0,"mat-form-field",0),za(1,null,1),Pa(3,_T,3,2,"mat-label",2),Pa(4,yT,2,1,"ng-container",3),Pa(5,vT,2,1,"ng-container",4),Na(6,"mat-error"),Va(7,"formly-validation-message",5),Ha(),Pa(8,wT,2,2,"mat-hint",6),Ha()),2&e&&(po("width","100%"),Ya("hideRequiredMarker",!0)("floatLabel",t.to.floatLabel)("appearance",t.to.appearance)("color",t.to.color),rs(3),Ya("ngIf",t.to.label&&!0!==t.to.hideLabel),rs(1),Ya("ngIf",t.to.prefix||t.formlyField._matprefix),rs(1),Ya("ngIf",t.to.suffix||t.formlyField._matsuffix),rs(2),Ya("field",t.field),rs(1),Ya("ngIf",t.to.description))},directives:[TL,Pd,fL,cC,vL,SL,Vd,xL,bL],encapsulation:2}),e})(),MT=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Gd,MS,AL,gC.forChild({wrappers:[{name:"form-field",component:xT}]})]]}),e})();function DT(e,t){if(1&e&&Va(0,"input",2),2&e){const e=eo();Ya("id",e.id)("type",e.type||"text")("readonly",e.to.readonly)("required",e.to.required)("errorStateMatcher",e.errorStateMatcher)("formControl",e.formControl)("formlyAttributes",e.field)("tabindex",e.to.tabindex)("placeholder",e.to.placeholder)}}function LT(e,t){if(1&e&&Va(0,"input",3),2&e){const e=eo();Ya("id",e.id)("readonly",e.to.readonly)("required",e.to.required)("errorStateMatcher",e.errorStateMatcher)("formControl",e.formControl)("formlyAttributes",e.field)("tabIndex",e.to.tabindex)("placeholder",e.to.placeholder)}}let OT=(()=>{class e extends ST{get type(){return this.to.type||"text"}}return e.\u0275fac=function(t){return ET(t||e)},e.\u0275cmp=He({type:e,selectors:[["formly-field-mat-input"]],viewQuery:function(e,t){if(1&e&&Cc(UL,1),2&e){let e;Sc(e=Mc())&&(t.formFieldControl=e.first)}},features:[ba],decls:3,vars:2,consts:[["matInput","",3,"id","type","readonly","required","errorStateMatcher","formControl","formlyAttributes","tabindex","placeholder",4,"ngIf","ngIfElse"],["numberTmp",""],["matInput","",3,"id","type","readonly","required","errorStateMatcher","formControl","formlyAttributes","tabindex","placeholder"],["matInput","","type","number",3,"id","readonly","required","errorStateMatcher","formControl","formlyAttributes","tabIndex","placeholder"]],template:function(e,t){if(1&e&&(Pa(0,DT,1,9,"input",0),Pa(1,LT,1,8,"ng-template",null,1,Ec)),2&e){const e=Ra(2);Ya("ngIf","number"!==t.type)("ngIfElse",e)}},directives:[Pd,UL,Xw,vS,vk,fS,iC,Sk],encapsulation:2}),e})();const ET=Gn(OT);let TT=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Gd,MS,BL,MT,gC.forChild({types:[{name:"input",component:OT,wrappers:["form-field"]}]})]]}),e})(),AT=(()=>{class e extends ST{constructor(){super(...arguments),this.defaultOptions={templateOptions:{cols:1,rows:1}}}}return e.\u0275fac=function(t){return IT(t||e)},e.\u0275cmp=He({type:e,selectors:[["formly-field-mat-textarea"]],viewQuery:function(e,t){if(1&e&&Cc(UL,3),2&e){let e;Sc(e=Mc())&&(t.formFieldControl=e.first)}},features:[$o([{provide:YL,useExisting:e}]),ba],decls:2,vars:15,consts:[["matInput","",3,"id","readonly","required","formControl","errorStateMatcher","cols","rows","formlyAttributes","placeholder","tabindex","cdkTextareaAutosize","cdkAutosizeMinRows","cdkAutosizeMaxRows"]],template:function(e,t){1&e&&(Na(0,"textarea",0),Mo(1," "),Ha()),2&e&&(fo("cdk-textarea-autosize",t.to.autosize),Ya("id",t.id)("readonly",t.to.readonly)("required",t.to.required)("formControl",t.formControl)("errorStateMatcher",t.errorStateMatcher)("cols",t.to.cols)("rows",t.to.rows)("formlyAttributes",t.field)("placeholder",t.to.placeholder)("tabindex",t.to.tabindex)("cdkTextareaAutosize",t.to.autosize)("cdkAutosizeMinRows",t.to.autosizeMinRows)("cdkAutosizeMaxRows",t.to.autosizeMaxRows))},directives:[UL,Xw,RL,vS,vk,fS,iC],encapsulation:2}),e})();const IT=Gn(AT);let PT=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Gd,MS,BL,MT,gC.forChild({types:[{name:"textarea",component:AT,wrappers:["form-field"]}]})]]}),e})(),RT=(()=>{class e{transform(e,t){return e instanceof y||(e=Th(e)),e.pipe(M(e=>this.toOptions(e,t||{})))}toOptions(e,t){const n=[],i={},r=t.templateOptions||{};return r._flatOptions=!0,e.map(e=>{this.getGroupProp(e,r)?(r._flatOptions=!1,i[this.getGroupProp(e,r)]||(i[this.getGroupProp(e,r)]=[],n.push({label:this.getGroupProp(e,r),group:i[this.getGroupProp(e,r)]})),i[this.getGroupProp(e,r)].push(this.toOption(e,r))):n.push(this.toOption(e,r))}),n}toOption(e,t){return{label:this.getLabelProp(e,t),value:this.getValueProp(e,t),disabled:this.getDisabledProp(e,t)||!1}}getLabelProp(e,t){return"function"==typeof t.labelProp?t.labelProp(e):this.shouldUseLegacyOption(e,t)?(console.warn("NgxFormly: legacy select option '{key, value}' is deprecated since v5.5, use '{value, label}' instead."),e.value):e[t.labelProp||"label"]}getValueProp(e,t){return"function"==typeof t.valueProp?t.valueProp(e):this.shouldUseLegacyOption(e,t)?e.key:e[t.valueProp||"value"]}getDisabledProp(e,t){return"function"==typeof t.disabledProp?t.disabledProp(e):e[t.disabledProp||"disabled"]}getGroupProp(e,t){return"function"==typeof t.groupProp?t.groupProp(e):e[t.groupProp||"group"]}shouldUseLegacyOption(e,t){return!t.valueProp&&!t.labelProp&&null!=e&&"object"==typeof e&&"key"in e&&"value"in e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=Ke({name:"formlySelectOptions",type:e,pure:!0}),e})(),jT=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)}}),e})();const YT=["input"],FT=function(){return{enterDuration:150}},NT=["*"],HT=new Zn("mat-radio-default-options",{providedIn:"root",factory:function(){return{color:"accent"}}});let VT=0;const UT={provide:Kw,useExisting:se(()=>qT),multi:!0};class BT{constructor(e,t){this.source=e,this.value=t}}const zT=new Zn("MatRadioGroup");let WT=(()=>{class e{constructor(e){this._changeDetector=e,this._value=null,this._name="mat-radio-group-"+VT++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new dc}get name(){return this._name}set name(e){this._name=e,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(e){this._labelPosition="before"===e?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(e){this._selected=e,this.value=e?e.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(e){this._disabled=s_(e),this._markRadiosForCheck()}get required(){return this._required}set required(e){this._required=s_(e),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(e=>{e.name=this.name,e._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(e=>{e.checked=this.value===e.value,e.checked&&(this._selected=e)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new BT(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(e=>e._markForCheck())}writeValue(e){this.value=e,this._changeDetector.markForCheck()}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetector.markForCheck()}}return e.\u0275fac=function(t){return new(t||e)(ja(Dl))},e.\u0275dir=qe({type:e,inputs:{name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"}}),e})(),qT=(()=>{class e extends WT{}return e.\u0275fac=function(t){return KT(t||e)},e.\u0275dir=qe({type:e,selectors:[["mat-radio-group"]],contentQueries:function(e,t,n){if(1&e&&xc(n,QT,1),2&e){let e;Sc(e=Mc())&&(t._radios=e)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[$o([UT,{provide:zT,useExisting:e}]),ba]}),e})();const KT=Gn(qT);class $T{constructor(e){this._elementRef=e}}const GT=Rb(jb($T));let JT=(()=>{class e extends GT{constructor(e,t,n,i,r,s,a,o){super(t),this._changeDetector=n,this._focusMonitor=i,this._radioDispatcher=r,this._animationMode=s,this._providerOverride=a,this._uniqueId="mat-radio-"+ ++VT,this.id=this._uniqueId,this.change=new dc,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=e,o&&(this.tabIndex=a_(o,0)),this._removeUniqueSelectionListener=r.listen((e,t)=>{e!==this.id&&t===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(e){const t=s_(e);this._checked!==t&&(this._checked=t,t&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!t&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),t&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===e),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(e){this._labelPosition=e}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(e){this._setDisabled(s_(e))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(e){this._required=s_(e)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(e){this._color=e}get inputId(){return`${this.id||this._uniqueId}-input`}focus(e,t){t?this._focusMonitor.focusVia(this._inputElement,t,e):this._inputElement.nativeElement.focus(e)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{!e&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new BT(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(e){e.stopPropagation()}_onInputChange(e){e.stopPropagation();const t=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),t&&this.radioGroup._emitChangeEvent())}_setDisabled(e){this._disabled!==e&&(this._disabled=e,this._changeDetector.markForCheck())}}return e.\u0275fac=function(t){return new(t||e)(ja(WT),ja(tl),ja(Dl),ja(fb),ja(yg),ja(String),ja(void 0),ja(String))},e.\u0275dir=qe({type:e,viewQuery:function(e,t){if(1&e&&Cc(YT,1),2&e){let e;Sc(e=Mc())&&(t._inputElement=e.first)}},inputs:{id:"id",checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{change:"change"},features:[ba]}),e})(),QT=(()=>{class e extends JT{constructor(e,t,n,i,r,s,a,o){super(e,t,n,i,r,s,a,o)}}return e.\u0275fac=function(t){return new(t||e)(ja(zT,8),ja(tl),ja(Dl),ja(fb),ja(yg),ja(Zm,8),ja(HT,8),Jn("tabindex"))},e.\u0275cmp=He({type:e,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(e,t){1&e&&Ga("focus",function(){return t._inputElement.nativeElement.focus()}),2&e&&(Aa("tabindex",null)("id",t.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),fo("mat-radio-checked",t.checked)("mat-radio-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-primary","primary"===t.color)("mat-accent","accent"===t.color)("mat-warn","warn"===t.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[ba],ngContentSelectors:NT,decls:13,vars:19,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input","cdk-visually-hidden",3,"id","checked","disabled","tabIndex","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(e,t){if(1&e&&(no(),Na(0,"label",0,1),Na(2,"span",2),Va(3,"span",3),Va(4,"span",4),Na(5,"input",5,6),Ga("change",function(e){return t._onInputChange(e)})("click",function(e){return t._onInputClick(e)}),Ha(),Na(7,"span",7),Va(8,"span",8),Ha(),Ha(),Na(9,"span",9),Na(10,"span",10),Mo(11,"\xa0"),Ha(),io(12),Ha(),Ha()),2&e){const e=Ra(1);Aa("for",t.inputId),rs(5),Ya("id",t.inputId)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex)("required",t.required),Aa("name",t.name)("value",t.value)("aria-label",t.ariaLabel)("aria-labelledby",t.ariaLabelledby)("aria-describedby",t.ariaDescribedby),rs(2),Ya("matRippleTrigger",e)("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",tc(18,FT)),rs(2),fo("mat-radio-label-before","before"==t.labelPosition)}},directives:[lv],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:transform ease 280ms,background-color ease 280ms;width:20px;transform:scale(0.001)}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5)}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),e})(),XT=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[cv,Ab],Ab]}),e})();function ZT(e,t){if(1&e&&(Na(0,"mat-radio-button",2),Mo(1),Ha()),2&e){const e=t.$implicit,n=t.index,i=eo();Ya("id",i.id+"_"+n)("color",i.to.color)("labelPosition",i.to.labelPosition)("disabled",e.disabled)("value",e.value),rs(1),Lo(" ",e.label," ")}}let eA=(()=>{class e extends ST{constructor(){super(...arguments),this.defaultOptions={templateOptions:{hideFieldUnderline:!0,floatLabel:"always",options:[],tabindex:-1}}}ngAfterViewInit(){this.focusObserver=qS(this.field,"focus",({currentValue:e})=>{-1===this.to.tabindex&&e&&this.radioGroup._radios.length>0&&setTimeout(()=>{(this.radioGroup.selected?this.radioGroup.selected:this.radioGroup._radios.first)._elementRef.nativeElement.focus({preventScroll:!0})})})}onContainerClick(){}ngOnDestroy(){this.focusObserver&&this.focusObserver()}}return e.\u0275fac=function(t){return tA(t||e)},e.\u0275cmp=He({type:e,selectors:[["formly-field-mat-radio"]],viewQuery:function(e,t){if(1&e&&Cc(qT,1),2&e){let e;Sc(e=Mc())&&(t.radioGroup=e.first)}},features:[ba],decls:4,vars:10,consts:[[3,"formControl","formlyAttributes","required","tabindex"],[3,"id","color","labelPosition","disabled","value",4,"ngFor","ngForOf"],[3,"id","color","labelPosition","disabled","value"]],template:function(e,t){1&e&&(Na(0,"mat-radio-group",0),Pa(1,ZT,2,6,"mat-radio-button",1),ac(2,"async"),ac(3,"formlySelectOptions"),Ha()),2&e&&(Ya("formControl",t.formControl)("formlyAttributes",t.field)("required",t.to.required)("tabindex",t.to.tabindex),rs(1),Ya("ngForOf",oc(2,5,lc(3,7,t.to.options,t.field))))},directives:[qT,vk,fS,iC,vS,Ad,QT],pipes:[Kd,RT],encapsulation:2}),e})();const tA=Gn(eA);let nA=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Gd,MS,XT,MT,jT,gC.forChild({types:[{name:"radio",component:eA,wrappers:["form-field"]}]})]]}),e})();const iA=["input"],rA=function(){return{enterDuration:150}},sA=["*"],aA=new Zn("mat-checkbox-default-options",{providedIn:"root",factory:oA});function oA(){return{color:"accent",clickAction:"check-indeterminate"}}let lA=0;const cA=oA(),uA={provide:Kw,useExisting:se(()=>fA),multi:!0};class dA{}class hA{constructor(e){this._elementRef=e}}const pA=jb(Pb(Rb(Ib(hA))));let fA=(()=>{class e extends pA{constructor(e,t,n,i,r,s,a){super(e),this._changeDetectorRef=t,this._focusMonitor=n,this._ngZone=i,this._animationMode=s,this._options=a,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++lA,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new dc,this.indeterminateChange=new dc,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||cA,this.color=this.defaultColor=this._options.color||cA.color,this.tabIndex=parseInt(r)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=s_(e)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e||Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const t=s_(e);t!==this.disabled&&(this._disabled=t,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){const t=e!=this._indeterminate;this._indeterminate=s_(e),t&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(e){let t=this._currentCheckState,n=this._elementRef.nativeElement;if(t!==e&&(this._currentAnimationClass.length>0&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){n.classList.add(this._currentAnimationClass);const e=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{n.classList.remove(e)},1e3)})}}_emitChangeEvent(){const e=new dA;e.source=this,e.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(e)}toggle(){this.checked=!this.checked}_onInputClick(e){var t;const n=null===(t=this._options)||void 0===t?void 0:t.clickAction;e.stopPropagation(),this.disabled||"noop"===n?this.disabled||"noop"!==n||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==n&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(e,t){e?this._focusMonitor.focusVia(this._inputElement,e,t):this._inputElement.nativeElement.focus(t)}_onInteractionEvent(e){e.stopPropagation()}_getAnimationClassForCheckStateTransition(e,t){if("NoopAnimations"===this._animationMode)return"";let n="";switch(e){case 0:if(1===t)n="unchecked-checked";else{if(3!=t)return"";n="unchecked-indeterminate"}break;case 2:n=1===t?"unchecked-checked":"unchecked-indeterminate";break;case 1:n=2===t?"checked-unchecked":"checked-indeterminate";break;case 3:n=1===t?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${n}`}_syncIndeterminate(e){const t=this._inputElement;t&&(t.nativeElement.indeterminate=e)}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(Dl),ja(fb),ja(Xc),Jn("tabindex"),ja(Zm,8),ja(aA,8))},e.\u0275cmp=He({type:e,selectors:[["mat-checkbox"]],viewQuery:function(e,t){if(1&e&&(Cc(iA,1),Cc(lv,1)),2&e){let e;Sc(e=Mc())&&(t._inputElement=e.first),Sc(e=Mc())&&(t.ripple=e.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(e,t){2&e&&(Eo("id",t.id),Aa("tabindex",null),fo("mat-checkbox-indeterminate",t.indeterminate)("mat-checkbox-checked",t.checked)("mat-checkbox-disabled",t.disabled)("mat-checkbox-label-before","before"==t.labelPosition)("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",ariaDescribedby:["aria-describedby","ariaDescribedby"],value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[$o([uA]),ba],ngContentSelectors:sA,decls:17,vars:20,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(e,t){if(1&e&&(no(),Na(0,"label",0,1),Na(2,"span",2),Na(3,"input",3,4),Ga("change",function(e){return t._onInteractionEvent(e)})("click",function(e){return t._onInputClick(e)}),Ha(),Na(5,"span",5),Va(6,"span",6),Ha(),Va(7,"span",7),Na(8,"span",8),dn(),Na(9,"svg",9),Va(10,"path",10),Ha(),hn(),Va(11,"span",11),Ha(),Ha(),Na(12,"span",12,13),Ga("cdkObserveContent",function(){return t._onLabelTextChange()}),Na(14,"span",14),Mo(15,"\xa0"),Ha(),io(16),Ha(),Ha()),2&e){const e=Ra(1),n=Ra(13);Aa("for",t.inputId),rs(2),fo("mat-checkbox-inner-container-no-side-margin",!n.textContent||!n.textContent.trim()),rs(1),Ya("id",t.inputId)("required",t.required)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex),Aa("value",t.value)("name",t.name)("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby)("aria-checked",t._getAriaChecked())("aria-describedby",t.ariaDescribedby),rs(2),Ya("matRippleTrigger",e)("matRippleDisabled",t._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",tc(19,rA))}},directives:[lv,Vy],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-frame{border-style:dotted}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}\n"],encapsulation:2,changeDetection:0}),e})(),mA=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)}}),e})(),_A=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[cv,Ab,Uy,mA],Ab,mA]}),e})();function gA(e,t){1&e&&(Na(0,"span",2),Mo(1,"*"),Ha())}let yA=(()=>{class e extends ST{constructor(e,t){super(),this.renderer=e,this.focusMonitor=t,this.defaultOptions={templateOptions:{hideFieldUnderline:!0,indeterminate:!0,floatLabel:"always",hideLabel:!0,align:"start",color:"accent"}}}onContainerClick(e){this.checkbox.focus(),super.onContainerClick(e)}ngAfterViewInit(){this.focusMonitor.monitor(this.checkbox._inputElement,!0).subscribe(e=>{e?this.to.focus&&this.to.focus(this.field):this.to.blur&&this.to.blur(this.field)})}ngAfterViewChecked(){if(this.required!==this._required&&this.checkbox&&this.checkbox._inputElement){this._required=this.required;const e=this.checkbox._inputElement.nativeElement;this.required?this.renderer.setAttribute(e,"required","required"):this.renderer.removeAttribute(e,"required")}}ngOnDestroy(){this.checkbox&&this.focusMonitor.stopMonitoring(this.checkbox._inputElement)}}return e.\u0275fac=function(t){return new(t||e)(ja(rl),ja(fb))},e.\u0275cmp=He({type:e,selectors:[["formly-field-mat-checkbox"]],viewQuery:function(e,t){if(1&e&&Cc(fA,1),2&e){let e;Sc(e=Mc())&&(t.checkbox=e.first)}},features:[ba],decls:3,vars:9,consts:[[3,"formControl","id","formlyAttributes","tabIndex","indeterminate","color","labelPosition"],["class","mat-form-field-required-marker",4,"ngIf"],[1,"mat-form-field-required-marker"]],template:function(e,t){1&e&&(Na(0,"mat-checkbox",0),Mo(1),Pa(2,gA,2,0,"span",1),Ha()),2&e&&(Ya("formControl",t.formControl)("id",t.id)("formlyAttributes",t.field)("tabIndex",t.to.tabindex)("indeterminate",t.to.indeterminate&&null===t.formControl.value)("color",t.to.color)("labelPosition",t.to.align||t.to.labelPosition),rs(1),Lo(" ",t.to.label," "),rs(1),Ya("ngIf",t.to.required&&!0!==t.to.hideRequiredMarker))},directives:[fA,vk,fS,iC,Pd],encapsulation:2}),e})(),bA=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Gd,MS,_A,MT,gC.forChild({types:[{name:"checkbox",component:yA,wrappers:["form-field"]}]})]]}),e})();function vA(e,t){if(1&e){const e=Wa();Ua(0),Na(1,"mat-checkbox",1),Ga("change",function(n){jt(e);const i=t.$implicit;return eo().onChange(i.value,n.checked)}),Mo(2),Ha(),Ba()}if(2&e){const e=t.$implicit,n=t.index,i=eo();rs(1),Ya("id",i.id+"_"+n)("formlyAttributes",i.field)("tabIndex",i.to.tabindex)("color",i.to.color)("labelPosition",i.to.labelPosition)("checked",i.isChecked(e))("disabled",i.formControl.disabled),rs(1),Lo(" ",e.label," ")}}let wA=(()=>{class e extends ST{constructor(){super(...arguments),this.defaultOptions={templateOptions:{hideFieldUnderline:!0,floatLabel:"always",options:[],color:"accent"}}}onChange(e,t){this.formControl.patchValue("array"===this.to.type?t?[...this.formControl.value||[],e]:[...this.formControl.value||[]].filter(t=>t!==e):Object.assign({},this.formControl.value,{[e]:t})),this.formControl.markAsTouched()}onContainerClick(){}isChecked(e){const t=this.formControl.value;return t&&("array"===this.to.type?-1!==t.indexOf(e.value):t[e.value])}}return e.\u0275fac=function(t){return kA(t||e)},e.\u0275cmp=He({type:e,selectors:[["formly-field-mat-multicheckbox"]],viewQuery:function(e,t){if(1&e&&Cc(fA,1),2&e){let e;Sc(e=Mc())&&(t.checkboxes=e)}},features:[ba],decls:3,vars:6,consts:[[4,"ngFor","ngForOf"],[3,"id","formlyAttributes","tabIndex","color","labelPosition","checked","disabled","change"]],template:function(e,t){1&e&&(Pa(0,vA,3,8,"ng-container",0),ac(1,"async"),ac(2,"formlySelectOptions")),2&e&&Ya("ngForOf",oc(1,1,lc(2,3,t.to.options,t.field)))},directives:[Ad,fA,iC],pipes:[Kd,RT],encapsulation:2}),e})();const kA=Gn(wA);let SA=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Gd,MS,_A,MT,jT,gC.forChild({types:[{name:"multicheckbox",component:wA,wrappers:["form-field"]}]})]]}),e})();const CA=["trigger"],xA=["panel"];function MA(e,t){if(1&e&&(Na(0,"span",8),Mo(1),Ha()),2&e){const e=eo();rs(1),Do(e.placeholder||"\xa0")}}function DA(e,t){if(1&e&&(Na(0,"span"),Mo(1),Ha()),2&e){const e=eo(2);rs(1),Do(e.triggerValue||"\xa0")}}function LA(e,t){1&e&&io(0,0,["*ngSwitchCase","true"])}function OA(e,t){1&e&&(Na(0,"span",9),Pa(1,DA,2,1,"span",10),Pa(2,LA,1,0,"ng-content",11),Ha()),2&e&&(Ya("ngSwitch",!!eo().customTrigger),rs(2),Ya("ngSwitchCase",!0))}function EA(e,t){if(1&e){const e=Wa();Na(0,"div",12),Na(1,"div",13,14),Ga("@transformPanel.done",function(t){return jt(e),eo()._panelDoneAnimatingStream.next(t.toState)})("keydown",function(t){return jt(e),eo()._handleKeydown(t)}),io(3,1),Ha(),Ha()}if(2&e){const e=eo();Ya("@transformPanelWrap",void 0),rs(1),"mat-select-panel ",n=e._getPanelTheme(),"",go(oi,mo,Ia(Pt(),"mat-select-panel ",n,""),!0),po("transform-origin",e._transformOrigin)("font-size",e._triggerFontSize,"px"),Ya("ngClass",e.panelClass)("@transformPanel",e.multiple?"showing-multiple":"showing"),Aa("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}var n}const TA=[[["mat-select-trigger"]],"*"],AA=["mat-select-trigger","*"],IA={transformPanelWrap:_p("transformPanelWrap",[kp("* => void",Cp("@transformPanel",[Sp()],{optional:!0}))]),transformPanel:_p("transformPanel",[vp("void",bp({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),vp("showing",bp({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),vp("showing-multiple",bp({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),kp("void => *",gp("120ms cubic-bezier(0, 0, 0.2, 1)")),kp("* => void",gp("100ms 25ms linear",bp({opacity:0})))])};let PA=0;const RA=256,jA=new Zn("mat-select-scroll-strategy"),YA=new Zn("MAT_SELECT_CONFIG"),FA={provide:jA,deps:[Cy],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};class NA{constructor(e,t){this.source=e,this.value=t}}class HA{constructor(e,t,n,i,r){this._elementRef=e,this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=i,this.ngControl=r}}const VA=Rb(jb(Ib(Yb(HA)))),UA=new Zn("MatSelectTrigger");let BA=(()=>{class e extends VA{constructor(e,t,n,i,r,s,a,o,l,c,u,d,h,p){var f,m,_;super(r,i,a,o,c),this._viewportRuler=e,this._changeDetectorRef=t,this._ngZone=n,this._dir=s,this._parentFormField=l,this.ngControl=c,this._liveAnnouncer=h,this._defaultOptions=p,this._panelOpen=!1,this._compareWith=(e,t)=>e===t,this._uid="mat-select-"+PA++,this._triggerAriaLabelledBy=null,this._destroy=new S,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+PA++,this._panelDoneAnimatingStream=new S,this._overlayPanelClass=(null===(f=this._defaultOptions)||void 0===f?void 0:f.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._required=!1,this._multiple=!1,this._disableOptionCentering=null!==(_=null===(m=this._defaultOptions)||void 0===m?void 0:m.disableOptionCentering)&&void 0!==_&&_,this.ariaLabel="",this.optionSelectionChanges=Mv(()=>{const e=this.options;return e?e.changes.pipe(H_(e),V_(()=>W(...e.map(e=>e.onSelectionChange)))):this._ngZone.onStable.pipe(Ig(1),V_(()=>this.optionSelectionChanges))}),this.openedChange=new dc,this._openedStream=this.openedChange.pipe(Ih(e=>e),M(()=>{})),this._closedStream=this.openedChange.pipe(Ih(e=>!e),M(()=>{})),this.selectionChange=new dc,this.valueChange=new dc,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==p?void 0:p.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=p.typeaheadDebounceInterval),this._scrollStrategyFactory=d,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(u)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required}set required(e){this._required=s_(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=s_(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=s_(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){e!==this._value&&(this.options&&this._setSelectionByValue(e),this._value=e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=a_(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new gg(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(M_(),j_(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(j_(this._destroy)).subscribe(e=>{e.added.forEach(e=>e.select()),e.removed.forEach(e=>e.deselect())}),this.options.changes.pipe(H_(null),j_(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby();if(e!==this._triggerAriaLabelledBy){const t=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?t.setAttribute("aria-labelledby",e):t.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(e){e.disabled&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this.value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(e=>e.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const t=e.keyCode,n=t===$g||t===qg||t===Wg||t===Kg,i=t===Fg||t===Hg,r=this._keyManager;if(!r.isTyping()&&i&&!Gg(e)||(this.multiple||e.altKey)&&n)e.preventDefault(),this.open();else if(!this.multiple){const t=this.selected;r.onKeydown(e);const n=this.selected;n&&t!==n&&this._liveAnnouncer.announce(n.viewValue,1e4)}}_handleOpenKeydown(e){const t=this._keyManager,n=e.keyCode,i=n===$g||n===qg,r=t.isTyping();if(i&&e.altKey)e.preventDefault(),this.close();else if(r||n!==Fg&&n!==Hg||!t.activeItem||Gg(e))if(!r&&this._multiple&&65===n&&e.ctrlKey){e.preventDefault();const t=this.options.some(e=>!e.disabled&&!e.selected);this.options.forEach(e=>{e.disabled||(t?e.select():e.deselect())})}else{const n=t.activeItemIndex;t.onKeydown(e),this._multiple&&i&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==n&&t.activeItem._selectViaInteraction()}else e.preventDefault(),t.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this.overlayDir.positionChange.pipe(Ig(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this._selectionModel.selected.forEach(e=>e.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(e=>this._selectValue(e)),this._sortValues();else{const t=this._selectValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(e){const t=this.options.find(t=>{try{return null!=t.value&&this._compareWith(t.value,e)}catch(n){return!1}});return t&&this._selectionModel.select(t),t}_initKeyManager(){this._keyManager=new Zy(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(j_(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(j_(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):this._panelOpen||this.multiple||!this._keyManager.activeItem||this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=W(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(j_(e)).subscribe(e=>{this._onSelect(e.source,e.isUserInput),e.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),W(...this.options.map(e=>e._stateChanges)).pipe(j_(e)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(e,t){const n=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(n!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),n!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((t,n)=>this.sortComparator?this.sortComparator(t,n,e):e.indexOf(t)-e.indexOf(n)),this.stateChanges.next()}}_propagateChanges(e){let t=null;t=this.multiple?this.selected.map(e=>e.value):this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var e;return!this._panelOpen&&!this.disabled&&(null===(e=this.options)||void 0===e?void 0:e.length)>0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const e=this._getLabelId();return this.ariaLabelledby?e+" "+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getLabelId(){var e;return(null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId())||""}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._getLabelId()+" "+this._valueId;return this.ariaLabelledby&&(e+=" "+this.ariaLabelledby),e}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){this._ariaDescribedby=e.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty}}return e.\u0275fac=function(t){return new(t||e)(ja(wg),ja(Dl),ja(Xc),ja(Xb),ja(tl),ja(pg,8),ja(oS,8),ja(_S,8),ja(EL,8),ja(yk,10),Jn("tabindex"),ja(jA),ja(cb),ja(YA,8))},e.\u0275dir=qe({type:e,viewQuery:function(e,t){if(1&e&&(Cc(CA,1),Cc(xA,1),Cc(Ly,1)),2&e){let e;Sc(e=Mc())&&(t.trigger=e.first),Sc(e=Mc())&&(t.panel=e.first),Sc(e=Mc())&&(t.overlayDir=e.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[ba,ut]}),e})(),zA=(()=>{class e extends BA{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(e,t,n){const i=this._getItemHeight();return Math.min(Math.max(0,i*e-t+i/2),n)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(j_(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(Ig(1)).subscribe(()=>{this._triggerFontSize&&this.overlayDir.overlayRef&&this.overlayDir.overlayRef.overlayElement&&(this.overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(e){const t=Cv(e,this.options,this.optionGroups),n=this._getItemHeight();var i,r,s;this.panel.nativeElement.scrollTop=(r=n,(i=(e+t)*n)<(s=this.panel.nativeElement.scrollTop)?i:i+r>s+256?Math.max(0,i-256+r):s)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(e){this.panelOpen?this._scrollTop=0:(this.overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(e)}_getChangeEvent(e){return new NA(this,e)}_calculateOverlayOffsetX(){const e=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),t=this._viewportRuler.getViewportSize(),n=this._isRtl(),i=this.multiple?56:32;let r;if(this.multiple)r=40;else{let e=this._selectionModel.selected[0]||this.options.first;r=e&&e.group?32:16}n||(r*=-1);const s=0-(e.left+r-(n?i:0)),a=e.right+r-t.width+(n?0:i);s>0?r+=s+8:a>0&&(r-=a+8),this.overlayDir.offsetX=Math.round(r),this.overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,t,n){const i=this._getItemHeight(),r=(i-this._triggerRect.height)/2,s=Math.floor(RA/i);let a;return this.disableOptionCentering?0:(a=0===this._scrollTop?e*i:this._scrollTop===n?(e-(this._getItemCount()-s))*i+(i-(this._getItemCount()*i-RA)%i):t-i/2,Math.round(-1*a-r))}_checkOverlayWithinViewport(e){const t=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,r=n.height-this._triggerRect.bottom-8,s=Math.abs(this._offsetY),a=Math.min(this._getItemCount()*t,RA)-s-this._triggerRect.height;a>r?this._adjustPanelUp(a,r):s>i?this._adjustPanelDown(s,i,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,t){const n=Math.round(e-t);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,t,n){const i=Math.round(e-t);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const e=this._getItemHeight(),t=this._getItemCount(),n=Math.min(t*e,RA),i=t*e-n;let r;r=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),r+=Cv(r,this.options,this.optionGroups);const s=n/2;this._scrollTop=this._calculateOverlayScroll(r,s,i),this._offsetY=this._calculateOverlayOffsetY(r,s,i),this._checkOverlayWithinViewport(i)}_getOriginBasedOnOption(){const e=this._getItemHeight(),t=(e-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-t+e/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return e.\u0275fac=function(t){return WA(t||e)},e.\u0275cmp=He({type:e,selectors:[["mat-select"]],contentQueries:function(e,t,n){if(1&e&&(xc(n,UA,1),xc(n,Sv,1),xc(n,gv,1)),2&e){let e;Sc(e=Mc())&&(t.customTrigger=e.first),Sc(e=Mc())&&(t.options=e),Sc(e=Mc())&&(t.optionGroups=e)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(e,t){1&e&&Ga("keydown",function(e){return t._handleKeydown(e)})("focus",function(){return t._onFocus()})("blur",function(){return t._onBlur()}),2&e&&(Aa("id",t.id)("tabindex",t.tabIndex)("aria-controls",t.panelOpen?t.id+"-panel":null)("aria-expanded",t.panelOpen)("aria-label",t.ariaLabel||null)("aria-required",t.required.toString())("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-describedby",t._ariaDescribedby||null)("aria-activedescendant",t._getAriaActiveDescendant()),fo("mat-select-disabled",t.disabled)("mat-select-invalid",t.errorState)("mat-select-required",t.required)("mat-select-empty",t.empty)("mat-select-multiple",t.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[$o([{provide:_L,useExisting:e},{provide:hv,useExisting:e}]),ba],ngContentSelectors:AA,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder"],[1,"mat-select-value-text",3,"ngSwitch"],[4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,t){if(1&e&&(no(TA),Na(0,"div",0,1),Ga("click",function(){return t.toggle()}),Na(3,"div",2),Pa(4,MA,2,1,"span",3),Pa(5,OA,3,2,"span",4),Ha(),Na(6,"div",5),Va(7,"div",6),Ha(),Ha(),Pa(8,EA,4,14,"ng-template",7),Ga("backdropClick",function(){return t.close()})("attach",function(){return t._onAttached()})("detach",function(){return t.close()})),2&e){const e=Ra(1);Aa("aria-owns",t.panelOpen?t.id+"-panel":null),rs(3),Ya("ngSwitch",t.empty),Aa("id",t._valueId),rs(1),Ya("ngSwitchCase",!0),rs(1),Ya("ngSwitchCase",!1),rs(3),Ya("cdkConnectedOverlayPanelClass",t._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",t._scrollStrategy)("cdkConnectedOverlayOrigin",e)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[Dy,Fd,Nd,Ly,Hd,Ed],styles:[".mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}\n"],encapsulation:2,data:{animation:[IA.transformPanelWrap,IA.transformPanel]},changeDetection:0}),e})();const WA=Gn(zA);let qA=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[FA],imports:[[Gd,Ey,xv,Ab],kg,AL,xv,Ab]}),e})();function KA(e,t){if(1&e){const e=Wa();Na(0,"mat-option",3),Ga("click",function(){jt(e);const n=t.selectOptions;return eo().toggleSelectAll(n)}),Va(1,"mat-pseudo-checkbox",4),Mo(2),Ha()}if(2&e){const e=t.selectOptions,n=eo();rs(1),Ya("state",n.getSelectAllState(e)),rs(1),Lo(" ",n.to.selectAllOption," ")}}const $A=function(e){return{selectOptions:e}};function GA(e,t){if(1&e&&za(0,7),2&e){const e=eo().ngIf;eo(),Ya("ngTemplateOutlet",Ra(1))("ngTemplateOutletContext",nc(2,$A,e))}}function JA(e,t){if(1&e&&(Na(0,"mat-option",12),Mo(1),Ha()),2&e){const e=t.$implicit;Ya("value",e.value)("disabled",e.disabled),rs(1),Lo(" ",e.label," ")}}function QA(e,t){if(1&e&&(Na(0,"mat-optgroup",10),Pa(1,JA,2,3,"mat-option",11),Ha()),2&e){const e=eo().$implicit;Ya("label",e.label),rs(1),Ya("ngForOf",e.group)}}function XA(e,t){if(1&e&&(Na(0,"mat-option",12),Mo(1),Ha()),2&e){const e=eo().$implicit;Ya("value",e.value)("disabled",e.disabled),rs(1),Do(e.label)}}function ZA(e,t){if(1&e&&(Ua(0),Pa(1,QA,2,2,"mat-optgroup",8),Pa(2,XA,2,3,"mat-option",9),Ba()),2&e){const e=t.$implicit;rs(1),Ya("ngIf",e.group),rs(1),Ya("ngIf",!e.group)}}function eI(e,t){if(1&e&&(Ua(0),Pa(1,GA,1,4,"ng-container",5),Pa(2,ZA,3,2,"ng-container",6),Ba()),2&e){const e=t.ngIf,n=eo();rs(1),Ya("ngIf",n.to.multiple&&n.to.selectAllOption),rs(1),Ya("ngForOf",e)}}let tI=(()=>{class e extends ST{constructor(){super(...arguments),this.defaultOptions={templateOptions:{options:[],compareWith:(e,t)=>e===t}}}getSelectAllState(e){return this.empty||0===this.value.length?"":this.value.length!==this.getSelectAllValue(e).length?"indeterminate":"checked"}toggleSelectAll(e){const t=this.getSelectAllValue(e);this.formControl.setValue(this.value&&this.value.length===t.length?[]:t)}change(e){this.to.change&&this.to.change(this.field,e)}_getAriaLabelledby(){return this.to.attributes&&this.to.attributes["aria-labelledby"]?this.to.attributes["aria-labelledby"]:this.formField&&this.formField._labelId?this.formField._labelId:null}getSelectAllValue(e){if(!this.selectAllValue||e!==this.selectAllValue.options){const t=[];e.forEach(e=>e.group?t.push(...e.group):t.push(e)),this.selectAllValue={options:e,value:t.filter(e=>!e.disabled).map(e=>e.value)}}return this.selectAllValue.value}}return e.\u0275fac=function(t){return nI(t||e)},e.\u0275cmp=He({type:e,selectors:[["formly-field-mat-select"]],viewQuery:function(e,t){if(1&e&&Cc(zA,3),2&e){let e;Sc(e=Mc())&&(t.formFieldControl=e.first)}},features:[ba],decls:6,vars:17,consts:[["selectAll",""],[3,"id","formControl","formlyAttributes","placeholder","tabIndex","required","compareWith","multiple","errorStateMatcher","aria-labelledby","disableOptionCentering","selectionChange"],[4,"ngIf"],[3,"click"],[1,"mat-option-pseudo-checkbox",3,"state"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],[4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"label",4,"ngIf"],[3,"value","disabled",4,"ngIf"],[3,"label"],[3,"value","disabled",4,"ngFor","ngForOf"],[3,"value","disabled"]],template:function(e,t){1&e&&(Pa(0,KA,3,2,"ng-template",null,0,Ec),Na(2,"mat-select",1),Ga("selectionChange",function(e){return t.change(e)}),Pa(3,eI,3,2,"ng-container",2),ac(4,"async"),ac(5,"formlySelectOptions"),Ha()),2&e&&(rs(2),Ya("id",t.id)("formControl",t.formControl)("formlyAttributes",t.field)("placeholder",t.to.placeholder)("tabIndex",t.to.tabindex)("required",t.to.required)("compareWith",t.to.compareWith)("multiple",t.to.multiple)("errorStateMatcher",t.errorStateMatcher)("aria-labelledby",t._getAriaLabelledby())("disableOptionCentering",t.to.disableOptionCentering),rs(1),Ya("ngIf",oc(4,12,lc(5,14,t.to.options,t.field))))},directives:[zA,vk,fS,iC,vS,Pd,Sv,uv,Ad,Vd,yv],pipes:[Kd,RT],encapsulation:2}),e})();const nI=Gn(tI);let iI=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Gd,MS,qA,dv,MT,jT,gC.forChild({types:[{name:"select",component:tI,wrappers:["form-field"]}]})]]}),e})(),rI=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[MT,TT,PT,nA,bA,SA,iI]]}),e})();const sI=["datepickerToggle"];function aI(e,t){if(1&e&&Va(0,"mat-datepicker-toggle",4),2&e){const e=eo(),t=Ra(4);Ya("disabled",e.to.disabled)("for",t)}}let oI=(()=>{class e extends ST{constructor(){super(...arguments),this.defaultOptions={templateOptions:{datepickerOptions:{startView:"month",datepickerTogglePosition:"suffix",dateInput:()=>{},dateChange:()=>{},monthSelected:()=>{},yearSelected:()=>{}}}}}ngAfterViewInit(){super.ngAfterViewInit(),this.datepickerInput._formField=this.formField,setTimeout(()=>{WS(this.field,"_mat"+this.to.datepickerOptions.datepickerTogglePosition,this.datepickerToggle),this.options._markForCheck(this.field)})}}return e.\u0275fac=function(t){return lI(t||e)},e.\u0275cmp=He({type:e,selectors:[["formly-field-mat-datepicker"]],viewQuery:function(e,t){if(1&e&&(Cc(UL,3),Cc(UO,1),Cc(sI,1)),2&e){let e;Sc(e=Mc())&&(t.formFieldControl=e.first),Sc(e=Mc())&&(t.datepickerInput=e.first),Sc(e=Mc())&&(t.datepickerToggle=e.first)}},features:[ba],decls:5,vars:20,consts:[["matInput","",3,"id","errorStateMatcher","formControl","matDatepicker","matDatepickerFilter","max","min","formlyAttributes","placeholder","tabindex","readonly","required","dateInput","dateChange"],["datepickerToggle",""],[3,"color","dateClass","disabled","opened","panelClass","startAt","startView","touchUi","monthSelected","yearSelected"],["picker",""],[3,"disabled","for"]],template:function(e,t){if(1&e){const e=Wa();Na(0,"input",0),Ga("dateInput",function(e){return t.to.datepickerOptions.dateInput(t.field,e)})("dateChange",function(e){return t.to.datepickerOptions.dateChange(t.field,e)}),Ha(),Pa(1,aI,1,2,"ng-template",null,1,Ec),Na(3,"mat-datepicker",2,3),Ga("monthSelected",function(n){jt(e);const i=Ra(4);return t.to.datepickerOptions.monthSelected(t.field,n,i)})("yearSelected",function(n){jt(e);const i=Ra(4);return t.to.datepickerOptions.yearSelected(t.field,n,i)}),Ha()}if(2&e){const e=Ra(4);Ya("id",t.id)("errorStateMatcher",t.errorStateMatcher)("formControl",t.formControl)("matDatepicker",e)("matDatepickerFilter",t.to.datepickerOptions.filter)("max",t.to.datepickerOptions.max)("min",t.to.datepickerOptions.min)("formlyAttributes",t.field)("placeholder",t.to.placeholder)("tabindex",t.to.tabindex)("readonly",t.to.readonly)("required",t.to.required),rs(3),Ya("color",t.to.color)("dateClass",t.to.datepickerOptions.dateClass)("disabled",t.to.datepickerOptions.disabled)("opened",t.to.datepickerOptions.opened)("panelClass",t.to.datepickerOptions.panelClass)("startAt",t.to.datepickerOptions.startAt)("startView",t.to.datepickerOptions.startView)("touchUi",t.to.datepickerOptions.touchUi)}},directives:[UL,Xw,UO,vk,fS,iC,vS,jO,zO],encapsulation:2}),e})();const lI=Gn(oI);let cI=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Gd,MS,BL,WO,MT,gC.forChild({types:[{name:"datepicker",component:oI,wrappers:["form-field"]}]})]]}),e})();const uI=[[["caption"]],[["colgroup"],["col"]]],dI=["caption","colgroup, col"];function hI(e){return class extends e{constructor(...e){super(...e),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(e){const t=this._sticky;this._sticky=s_(e),this._hasStickyChanged=t!==this._sticky}hasStickyChanged(){const e=this._hasStickyChanged;return this._hasStickyChanged=!1,e}resetStickyChanged(){this._hasStickyChanged=!1}}}const pI=new Zn("CDK_TABLE");let fI=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(ja(Il))},e.\u0275dir=qe({type:e,selectors:[["","cdkCellDef",""]]}),e})(),mI=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(ja(Il))},e.\u0275dir=qe({type:e,selectors:[["","cdkHeaderCellDef",""]]}),e})(),_I=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(ja(Il))},e.\u0275dir=qe({type:e,selectors:[["","cdkFooterCellDef",""]]}),e})();class gI{}const yI=hI(gI);let bI=(()=>{class e extends yI{constructor(e){super(),this._table=e,this._stickyEnd=!1}get name(){return this._name}set name(e){this._setNameInput(e)}get stickyEnd(){return this._stickyEnd}set stickyEnd(e){const t=this._stickyEnd;this._stickyEnd=s_(e),this._hasStickyChanged=t!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return e.\u0275fac=function(t){return new(t||e)(ja(pI,8))},e.\u0275dir=qe({type:e,selectors:[["","cdkColumnDef",""]],contentQueries:function(e,t,n){if(1&e&&(xc(n,fI,1),xc(n,mI,1),xc(n,_I,1)),2&e){let e;Sc(e=Mc())&&(t.cell=e.first),Sc(e=Mc())&&(t.headerCell=e.first),Sc(e=Mc())&&(t.footerCell=e.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[$o([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),ba]}),e})();class vI{constructor(e,t){const n=t.nativeElement.classList;for(const i of e._columnCssClassName)n.add(i)}}let wI=(()=>{class e extends vI{constructor(e,t){super(e,t)}}return e.\u0275fac=function(t){return new(t||e)(ja(bI),ja(tl))},e.\u0275dir=qe({type:e,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[ba]}),e})(),kI=(()=>{class e extends vI{constructor(e,t){super(e,t)}}return e.\u0275fac=function(t){return new(t||e)(ja(bI),ja(tl))},e.\u0275dir=qe({type:e,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:["role","gridcell",1,"cdk-footer-cell"],features:[ba]}),e})(),SI=(()=>{class e extends vI{constructor(e,t){super(e,t)}}return e.\u0275fac=function(t){return new(t||e)(ja(bI),ja(tl))},e.\u0275dir=qe({type:e,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:["role","gridcell",1,"cdk-cell"],features:[ba]}),e})();class CI{constructor(){this.tasks=[],this.endTasks=[]}}const xI=new Zn("_COALESCED_STYLE_SCHEDULER");let MI=(()=>{class e{constructor(e){this._ngZone=e,this._currentSchedule=null,this._destroyed=new S}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new CI,this._getScheduleObservable().pipe(j_(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const e=this._currentSchedule;this._currentSchedule=new CI;for(const t of e.tasks)t();for(const t of e.endTasks)t()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?j(Promise.resolve(void 0)):this._ngZone.onStable.pipe(Ig(1))}}return e.\u0275fac=function(t){return new(t||e)(gi(Xc))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),DI=(()=>{class e{constructor(e,t){this.template=e,this._differs=t}ngOnChanges(e){if(!this._columnsDiffer){const t=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(t).create(),this._columnsDiffer.diff(t)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof EI?e.headerCell.template:this instanceof II?e.footerCell.template:e.cell.template}}return e.\u0275fac=function(t){return new(t||e)(ja(Il),ja(vl))},e.\u0275dir=qe({type:e,features:[ut]}),e})();class LI extends DI{}const OI=hI(LI);let EI=(()=>{class e extends OI{constructor(e,t,n){super(e,t),this._table=n}ngOnChanges(e){super.ngOnChanges(e)}}return e.\u0275fac=function(t){return new(t||e)(ja(Il),ja(vl),ja(pI,8))},e.\u0275dir=qe({type:e,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[ba,ut]}),e})();class TI extends DI{}const AI=hI(TI);let II=(()=>{class e extends AI{constructor(e,t,n){super(e,t),this._table=n}ngOnChanges(e){super.ngOnChanges(e)}}return e.\u0275fac=function(t){return new(t||e)(ja(Il),ja(vl),ja(pI,8))},e.\u0275dir=qe({type:e,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[ba,ut]}),e})(),PI=(()=>{class e extends DI{constructor(e,t,n){super(e,t),this._table=n}}return e.\u0275fac=function(t){return new(t||e)(ja(Il),ja(vl),ja(pI,8))},e.\u0275dir=qe({type:e,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[ba]}),e})(),RI=(()=>{class e{constructor(t){this._viewContainer=t,e.mostRecentCellOutlet=this}ngOnDestroy(){e.mostRecentCellOutlet===this&&(e.mostRecentCellOutlet=null)}}return e.\u0275fac=function(t){return new(t||e)(ja(Hl))},e.\u0275dir=qe({type:e,selectors:[["","cdkCellOutlet",""]]}),e.mostRecentCellOutlet=null,e})(),jI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=He({type:e,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&za(0,0)},directives:[RI],encapsulation:2}),e})(),YI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=He({type:e,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&za(0,0)},directives:[RI],encapsulation:2}),e})(),FI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=He({type:e,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&za(0,0)},directives:[RI],encapsulation:2}),e})(),NI=(()=>{class e{constructor(e){this.templateRef=e}}return e.\u0275fac=function(t){return new(t||e)(ja(Il))},e.\u0275dir=qe({type:e,selectors:[["ng-template","cdkNoDataRow",""]]}),e})();const HI=["top","bottom","left","right"];class VI{constructor(e,t,n,i,r=!0,s=!0,a){this._isNativeHtmlTable=e,this._stickCellCss=t,this.direction=n,this._coalescedStyleScheduler=i,this._isBrowser=r,this._needsPositionStickyOnElement=s,this._positionListener=a,this._cachedCellWidths=[],this._borderCellCss={top:`${t}-border-elem-top`,bottom:`${t}-border-elem-bottom`,left:`${t}-border-elem-left`,right:`${t}-border-elem-right`}}clearStickyPositioning(e,t){const n=[];for(const i of e)if(i.nodeType===i.ELEMENT_NODE){n.push(i);for(let e=0;e{for(const e of n)this._removeStickyStyle(e,t)})}updateStickyColumns(e,t,n,i=!0){if(!e.length||!this._isBrowser||!t.some(e=>e)&&!n.some(e=>e))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const r=e[0],s=r.children.length,a=this._getCellWidths(r,i),o=this._getStickyStartColumnPositions(a,t),l=this._getStickyEndColumnPositions(a,n),c=t.lastIndexOf(!0),u=n.indexOf(!0);this._scheduleStyleChanges(()=>{const i="rtl"===this.direction,r=i?"right":"left",d=i?"left":"right";for(const a of e)for(let e=0;et[n]?e:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===u?[]:a.slice(u).map((e,t)=>n[t+u]?e:null).reverse()}))})}stickRows(e,t,n){if(!this._isBrowser)return;const i="bottom"===n?e.slice().reverse():e,r="bottom"===n?t.slice().reverse():t,s=[],a=[],o=[];for(let c=0,u=0;c{var e,t;for(let a=0;a{t.some(e=>!e)?this._removeStickyStyle(n,["bottom"]):this._addStickyStyle(n,"bottom",0,!1)})}_removeStickyStyle(e,t){for(const n of t)e.style[n]="",e.classList.remove(this._borderCellCss[n]);HI.some(n=>-1===t.indexOf(n)&&e.style[n])?e.style.zIndex=this._getCalculatedZIndex(e):(e.style.zIndex="",this._needsPositionStickyOnElement&&(e.style.position=""),e.classList.remove(this._stickCellCss))}_addStickyStyle(e,t,n,i){e.classList.add(this._stickCellCss),i&&e.classList.add(this._borderCellCss[t]),e.style[t]=`${n}px`,e.style.zIndex=this._getCalculatedZIndex(e),this._needsPositionStickyOnElement&&(e.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(e){const t={top:100,bottom:10,left:1,right:1};let n=0;for(const i of HI)e.style[i]&&(n+=t[i]);return n?`${n}`:""}_getCellWidths(e,t=!0){if(!t&&this._cachedCellWidths.length)return this._cachedCellWidths;const n=[],i=e.children;for(let r=0;r0;r--)t[r]&&(n[r]=i,i+=e[r]);return n}_scheduleStyleChanges(e){this._coalescedStyleScheduler?this._coalescedStyleScheduler.schedule(e):e()}}const UI=new Zn("CDK_SPL");let BI=(()=>{class e{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return e.\u0275fac=function(t){return new(t||e)(ja(Hl),ja(tl))},e.\u0275dir=qe({type:e,selectors:[["","rowOutlet",""]]}),e})(),zI=(()=>{class e{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return e.\u0275fac=function(t){return new(t||e)(ja(Hl),ja(tl))},e.\u0275dir=qe({type:e,selectors:[["","headerRowOutlet",""]]}),e})(),WI=(()=>{class e{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return e.\u0275fac=function(t){return new(t||e)(ja(Hl),ja(tl))},e.\u0275dir=qe({type:e,selectors:[["","footerRowOutlet",""]]}),e})(),qI=(()=>{class e{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return e.\u0275fac=function(t){return new(t||e)(ja(Hl),ja(tl))},e.\u0275dir=qe({type:e,selectors:[["","noDataRowOutlet",""]]}),e})(),KI=(()=>{class e{constructor(e,t,n,i,r,s,a,o,l,c,u){this._differs=e,this._changeDetectorRef=t,this._elementRef=n,this._dir=r,this._platform=a,this._viewRepeater=o,this._coalescedStyleScheduler=l,this._stickyPositioningListener=c,this._viewportRuler=u,this._onDestroy=new S,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.viewChange=new SC({start:0,end:Number.MAX_VALUE}),i||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=s,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=s_(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=s_(e),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((e,t)=>this.trackBy?this.trackBy(t.dataIndex,t.data):t),this._viewportRuler&&this._viewportRuler.change().pipe(j_(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const e=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||e,this._forceRecalculateCellWidths=e,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){this._rowOutlet.viewContainer.clear(),this._noDataRowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),mg(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const e=this._dataDiffer.diff(this._renderRows);if(!e)return void this._updateNoDataRow();const t=this._rowOutlet.viewContainer;this._viewRepeater?this._viewRepeater.applyChanges(e,t,(e,t,n)=>this._getEmbeddedViewArgs(e.item,n),e=>e.item.data,e=>{1===e.operation&&e.context&&this._renderCellTemplateForItem(e.record.item.rowDef,e.context)}):e.forEachOperation((e,n,i)=>{if(null==e.previousIndex){const t=e.item;this._renderRow(this._rowOutlet,t.rowDef,i,{$implicit:t.data})}else if(null==i)t.remove(n);else{const e=t.get(n);t.move(e,i)}}),this._updateRowIndexContext(),e.forEachIdentityChange(e=>{t.get(e.currentIndex).context.$implicit=e.item.data}),this._updateNoDataRow(),this.updateStickyColumnStyles()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){const e=this._getRenderedRows(this._headerRowOutlet),t=this._elementRef.nativeElement.querySelector("thead");t&&(t.style.display=e.length?"":"none");const n=this._headerRowDefs.map(e=>e.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,n,"top"),this._headerRowDefs.forEach(e=>e.resetStickyChanged())}updateStickyFooterRowStyles(){const e=this._getRenderedRows(this._footerRowOutlet),t=this._elementRef.nativeElement.querySelector("tfoot");t&&(t.style.display=e.length?"":"none");const n=this._footerRowDefs.map(e=>e.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,n,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,n),this._footerRowDefs.forEach(e=>e.resetStickyChanged())}updateStickyColumnStyles(){const e=this._getRenderedRows(this._headerRowOutlet),t=this._getRenderedRows(this._rowOutlet),n=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...t,...n],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((e,t)=>{this._addStickyColumnStyles([e],this._headerRowDefs[t])}),this._rowDefs.forEach(e=>{const n=[];for(let i=0;i{this._addStickyColumnStyles([e],this._footerRowDefs[t])}),Array.from(this._columnDefsByName.values()).forEach(e=>e.resetStickyChanged())}_getAllRenderRows(){const e=[],t=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let n=0;n{const r=n&&n.has(i)?n.get(i):[];if(r.length){const e=r.shift();return e.dataIndex=t,e}return{data:e,rowDef:i,dataIndex:t}})}_cacheColumnDefs(){this._columnDefsByName.clear(),$I(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(e=>{this._columnDefsByName.has(e.name),this._columnDefsByName.set(e.name,e)})}_cacheRowDefs(){this._headerRowDefs=$I(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=$I(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=$I(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const e=this._rowDefs.filter(e=>!e.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){const e=(e,t)=>e||!!t.getColumnsDiff(),t=this._rowDefs.reduce(e,!1);t&&this._forceRenderDataRows();const n=this._headerRowDefs.reduce(e,!1);n&&this._forceRenderHeaderRows();const i=this._footerRowDefs.reduce(e,!1);return i&&this._forceRenderFooterRows(),t||n||i}_switchDataSource(e){this._data=[],mg(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;mg(this.dataSource)?e=this.dataSource.connect(this):x_(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=Th(this.dataSource)),this._renderChangeSubscription=e.pipe(j_(this._onDestroy)).subscribe(e=>{this._data=e||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,t)=>this._renderRow(this._headerRowOutlet,e,t)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,t)=>this._renderRow(this._footerRowOutlet,e,t)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,t){const n=Array.from(t.columns||[]).map(e=>this._columnDefsByName.get(e)),i=n.map(e=>e.sticky),r=n.map(e=>e.stickyEnd);this._stickyStyler.updateStickyColumns(e,i,r,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){const t=[];for(let n=0;n!n.when||n.when(t,e));else{let i=this._rowDefs.find(n=>n.when&&n.when(t,e))||this._defaultRowDef;i&&n.push(i)}return n}_getEmbeddedViewArgs(e,t){return{templateRef:e.rowDef.template,context:{$implicit:e.data},index:t}}_renderRow(e,t,n,i={}){const r=e.viewContainer.createEmbeddedView(t.template,i,n);return this._renderCellTemplateForItem(t,i),r}_renderCellTemplateForItem(e,t){for(let n of this._getCellTemplates(e))RI.mostRecentCellOutlet&&RI.mostRecentCellOutlet._viewContainer.createEmbeddedView(n,t);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const e=this._rowOutlet.viewContainer;for(let t=0,n=e.length;t{const n=this._columnDefsByName.get(t);return e.extractCellTemplate(n)}):[]}_applyNativeTableSections(){const e=this._document.createDocumentFragment(),t=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const n of t){const t=this._document.createElement(n.tag);t.setAttribute("role","rowgroup");for(const e of n.outlets)t.appendChild(e.elementRef.nativeElement);e.appendChild(t)}this._elementRef.nativeElement.appendChild(e)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const e=(e,t)=>e||t.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new VI(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:Th()).pipe(j_(this._onDestroy)).subscribe(e=>{this._stickyStyler.direction=e,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(e=>!e._table||e._table===this)}_updateNoDataRow(){const e=this._customNoDataRow||this._noDataRow;if(e){const t=0===this._rowOutlet.viewContainer.length;if(t!==this._isShowingNoDataRow){const n=this._noDataRowOutlet.viewContainer;t?n.createEmbeddedView(e.templateRef):n.clear(),this._isShowingNoDataRow=t}}}}return e.\u0275fac=function(t){return new(t||e)(ja(vl),ja(Dl),ja(tl),Jn("role"),ja(pg,8),ja(Tu),ja(ng),ja(bg,8),ja(xI,8),ja(UI,12),ja(wg,8))},e.\u0275cmp=He({type:e,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(e,t,n){if(1&e&&(xc(n,NI,1),xc(n,bI,1),xc(n,PI,1),xc(n,EI,1),xc(n,II,1)),2&e){let e;Sc(e=Mc())&&(t._noDataRow=e.first),Sc(e=Mc())&&(t._contentColumnDefs=e),Sc(e=Mc())&&(t._contentRowDefs=e),Sc(e=Mc())&&(t._contentHeaderRowDefs=e),Sc(e=Mc())&&(t._contentFooterRowDefs=e)}},viewQuery:function(e,t){if(1&e&&(Cc(BI,3),Cc(zI,3),Cc(WI,3),Cc(qI,3)),2&e){let e;Sc(e=Mc())&&(t._rowOutlet=e.first),Sc(e=Mc())&&(t._headerRowOutlet=e.first),Sc(e=Mc())&&(t._footerRowOutlet=e.first),Sc(e=Mc())&&(t._noDataRowOutlet=e.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(e,t){2&e&&fo("cdk-table-fixed-layout",t.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},exportAs:["cdkTable"],features:[$o([{provide:pI,useExisting:e},{provide:bg,useClass:_g},{provide:xI,useClass:MI},{provide:UI,useValue:null}])],ngContentSelectors:dI,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(no(uI),io(0),io(1,1),za(2,0),za(3,1),za(4,2),za(5,3))},directives:[zI,BI,qI,WI],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),e})();function $I(e,t){return e.concat(Array.from(t))}let GI=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Sg]]}),e})(),JI=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)}}),e})();const QI=["*",[["mat-toolbar-row"]]],XI=["*","mat-toolbar-row"];class ZI{constructor(e){this._elementRef=e}}const eP=Pb(ZI);let tP=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=qe({type:e,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),e})(),nP=(()=>{class e extends eP{constructor(e,t,n){super(e),this._platform=t,this._document=n}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(ng),ja(Tu))},e.\u0275cmp=He({type:e,selectors:[["mat-toolbar"]],contentQueries:function(e,t,n){if(1&e&&xc(n,tP,1),2&e){let e;Sc(e=Mc())&&(t._toolbarRows=e)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,t){2&e&&fo("mat-toolbar-multiple-rows",t._toolbarRows.length>0)("mat-toolbar-single-row",0===t._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[ba],ngContentSelectors:XI,decls:2,vars:0,template:function(e,t){1&e&&(no(QI),io(0),io(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\n"],encapsulation:2,changeDetection:0}),e})(),iP=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Ab],Ab]}),e})(),rP=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Gd,Ab,ig,kg],kg,Ab]}),e})(),sP=(()=>{class e{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(e){this._vertical=s_(e)}get inset(){return this._inset}set inset(e){this._inset=s_(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=He({type:e,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(e,t){2&e&&(Aa("aria-orientation",t.vertical?"vertical":"horizontal"),fo("mat-divider-vertical",t.vertical)("mat-divider-horizontal",!t.vertical)("mat-divider-inset",t.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(e,t){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0}),e})(),aP=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Ab],Ab]}),e})(),oP=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[ev,cv,Ab,dv,Gd],ev,Ab,dv,aP]}),e})();const lP=[[["caption"]],[["colgroup"],["col"]]],cP=["caption","colgroup, col"];let uP=(()=>{class e extends KI{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return e.\u0275fac=function(t){return dP(t||e)},e.\u0275cmp=He({type:e,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(e,t){2&e&&fo("mat-table-fixed-layout",t.fixedLayout)},exportAs:["matTable"],features:[$o([{provide:bg,useClass:_g},{provide:KI,useExisting:e},{provide:pI,useExisting:e},{provide:xI,useClass:MI}]),ba],ngContentSelectors:cP,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(no(lP),io(0),io(1,1),za(2,0),za(3,1),za(4,2),za(5,3))},directives:[zI,BI,qI,WI],styles:['mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-row::after,mat-header-row::after,mat-footer-row::after{display:inline-block;min-height:inherit;content:""}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:-webkit-sticky !important;position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n'],encapsulation:2}),e})();const dP=Gn(uP);let hP=(()=>{class e extends fI{}return e.\u0275fac=function(t){return pP(t||e)},e.\u0275dir=qe({type:e,selectors:[["","matCellDef",""]],features:[$o([{provide:fI,useExisting:e}]),ba]}),e})();const pP=Gn(hP);let fP=(()=>{class e extends mI{}return e.\u0275fac=function(t){return mP(t||e)},e.\u0275dir=qe({type:e,selectors:[["","matHeaderCellDef",""]],features:[$o([{provide:mI,useExisting:e}]),ba]}),e})();const mP=Gn(fP);let _P=(()=>{class e extends _I{}return e.\u0275fac=function(t){return gP(t||e)},e.\u0275dir=qe({type:e,selectors:[["","matFooterCellDef",""]],features:[$o([{provide:_I,useExisting:e}]),ba]}),e})();const gP=Gn(_P);let yP=(()=>{class e extends bI{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return e.\u0275fac=function(t){return bP(t||e)},e.\u0275dir=qe({type:e,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[$o([{provide:bI,useExisting:e},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),ba]}),e})();const bP=Gn(yP);let vP=(()=>{class e extends wI{}return e.\u0275fac=function(t){return wP(t||e)},e.\u0275dir=qe({type:e,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[ba]}),e})();const wP=Gn(vP);let kP=(()=>{class e extends kI{}return e.\u0275fac=function(t){return SP(t||e)},e.\u0275dir=qe({type:e,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:["role","gridcell",1,"mat-footer-cell"],features:[ba]}),e})();const SP=Gn(kP);let CP=(()=>{class e extends SI{}return e.\u0275fac=function(t){return xP(t||e)},e.\u0275dir=qe({type:e,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[ba]}),e})();const xP=Gn(CP);let MP=(()=>{class e extends EI{}return e.\u0275fac=function(t){return DP(t||e)},e.\u0275dir=qe({type:e,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[$o([{provide:EI,useExisting:e}]),ba]}),e})();const DP=Gn(MP);let LP=(()=>{class e extends II{}return e.\u0275fac=function(t){return OP(t||e)},e.\u0275dir=qe({type:e,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[$o([{provide:II,useExisting:e}]),ba]}),e})();const OP=Gn(LP);let EP=(()=>{class e extends PI{}return e.\u0275fac=function(t){return TP(t||e)},e.\u0275dir=qe({type:e,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[$o([{provide:PI,useExisting:e}]),ba]}),e})();const TP=Gn(EP);let AP=(()=>{class e extends jI{}return e.\u0275fac=function(t){return IP(t||e)},e.\u0275cmp=He({type:e,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[$o([{provide:jI,useExisting:e}]),ba],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&za(0,0)},directives:[RI],encapsulation:2}),e})();const IP=Gn(AP);let PP=(()=>{class e extends YI{}return e.\u0275fac=function(t){return RP(t||e)},e.\u0275cmp=He({type:e,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-footer-row"],exportAs:["matFooterRow"],features:[$o([{provide:YI,useExisting:e}]),ba],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&za(0,0)},directives:[RI],encapsulation:2}),e})();const RP=Gn(PP);let jP=(()=>{class e extends FI{}return e.\u0275fac=function(t){return YP(t||e)},e.\u0275cmp=He({type:e,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[$o([{provide:FI,useExisting:e}]),ba],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&za(0,0)},directives:[RI],encapsulation:2}),e})();const YP=Gn(jP);let FP=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[GI,Ab],Ab]}),e})();class NP extends class extends class{}{constructor(e=[]){super(),this._renderData=new SC([]),this._filter=new SC(""),this._internalPageChanges=new S,this._renderChangesSubscription=null,this.sortingDataAccessor=(e,t)=>{const n=e[t];if(o_(n)){const e=Number(n);return e<9007199254740991?e:n}return n},this.sortData=(e,t)=>{const n=t.active,i=t.direction;return n&&""!=i?e.sort((e,t)=>{let r=this.sortingDataAccessor(e,n),s=this.sortingDataAccessor(t,n);const a=typeof r,o=typeof s;a!==o&&("number"===a&&(r+=""),"number"===o&&(s+=""));let l=0;return null!=r&&null!=s?r>s?l=1:r{const n=Object.keys(e).reduce((t,n)=>t+e[n]+"\u25ec","").toLowerCase(),i=t.trim().toLowerCase();return-1!=n.indexOf(i)},this._data=new SC(e),this._updateChangeSubscription()}get data(){return this._data.value}set data(e){this._data.next(e)}get filter(){return this._filter.value}set filter(e){this._filter.next(e)}get sort(){return this._sort}set sort(e){this._sort=e,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(e){this._paginator=e,this._updateChangeSubscription()}_updateChangeSubscription(){var e;const t=this._sort?W(this._sort.sortChange,this._sort.initialized):Th(null),n=this._paginator?W(this._paginator.page,this._internalPageChanges,this._paginator.initialized):Th(null),i=ww([this._data,this._filter]).pipe(M(([e])=>this._filterData(e))),r=ww([i,t]).pipe(M(([e])=>this._orderData(e))),s=ww([r,n]).pipe(M(([e])=>this._pageData(e)));null===(e=this._renderChangesSubscription)||void 0===e||e.unsubscribe(),this._renderChangesSubscription=s.subscribe(e=>this._renderData.next(e))}_filterData(e){return this.filteredData=null==this.filter||""===this.filter?e:e.filter(e=>this.filterPredicate(e,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(e){return this.sort?this.sortData(e.slice(),this.sort):e}_pageData(e){if(!this.paginator)return e;const t=this.paginator.pageIndex*this.paginator.pageSize;return e.slice(t,t+this.paginator.pageSize)}_updatePaginator(e){Promise.resolve().then(()=>{const t=this.paginator;if(t&&(t.length=e,t.pageIndex>0)){const e=Math.ceil(t.length/t.pageSize)-1||0,n=Math.min(t.pageIndex,e);n!==t.pageIndex&&(t.pageIndex=n,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var e;null===(e=this._renderChangesSubscription)||void 0===e||e.unsubscribe(),this._renderChangesSubscription=null}}{}function HP(e,t){1&e&&io(0)}const VP=["*"];function UP(e,t){}const BP=function(e){return{animationDuration:e}},zP=function(e,t){return{value:e,params:t}},WP=["tabBodyWrapper"],qP=["tabHeader"];function KP(e,t){}function $P(e,t){1&e&&Pa(0,KP,0,0,"ng-template",9),2&e&&Ya("cdkPortalOutlet",eo().$implicit.templateLabel)}function GP(e,t){1&e&&Mo(0),2&e&&Do(eo().$implicit.textLabel)}function JP(e,t){if(1&e){const e=Wa();Na(0,"div",6),Ga("click",function(){jt(e);const n=t.$implicit,i=t.index,r=eo(),s=Ra(1);return r._handleClick(n,s,i)}),Na(1,"div",7),Pa(2,$P,1,1,"ng-template",8),Pa(3,GP,1,1,"ng-template",8),Ha(),Ha()}if(2&e){const e=t.$implicit,n=t.index,i=eo();fo("mat-tab-label-active",i.selectedIndex==n),Ya("id",i._getTabLabelId(n))("disabled",e.disabled)("matRippleDisabled",e.disabled||i.disableRipple),Aa("tabIndex",i._getTabIndex(e,n))("aria-posinset",n+1)("aria-setsize",i._tabs.length)("aria-controls",i._getTabContentId(n))("aria-selected",i.selectedIndex==n)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),rs(2),Ya("ngIf",e.templateLabel),rs(1),Ya("ngIf",!e.templateLabel)}}function QP(e,t){if(1&e){const e=Wa();Na(0,"mat-tab-body",10),Ga("_onCentered",function(){return jt(e),eo()._removeTabBodyWrapperHeight()})("_onCentering",function(t){return jt(e),eo()._setTabBodyWrapperHeight(t)}),Ha()}if(2&e){const e=t.$implicit,n=t.index,i=eo();fo("mat-tab-body-active",i.selectedIndex==n),Ya("id",i._getTabContentId(n))("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",i.animationDuration),Aa("aria-labelledby",i._getTabLabelId(n))}}const XP=["tabListContainer"],ZP=["tabList"],eR=["nextPaginator"],tR=["previousPaginator"],nR=new Zn("MatInkBarPositioner",{providedIn:"root",factory:function(){return e=>({left:e?(e.offsetLeft||0)+"px":"0",width:e?(e.offsetWidth||0)+"px":"0"})}});let iR=(()=>{class e{constructor(e,t,n,i){this._elementRef=e,this._ngZone=t,this._inkBarPositioner=n,this._animationMode=i}alignToElement(e){this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._setStyles(e))}):this._setStyles(e)}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}_setStyles(e){const t=this._inkBarPositioner(e),n=this._elementRef.nativeElement;n.style.left=t.left,n.style.width=t.width}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(Xc),ja(nR),ja(Zm,8))},e.\u0275dir=qe({type:e,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(e,t){2&e&&fo("_mat-animation-noopable","NoopAnimations"===t._animationMode)}}),e})();const rR=new Zn("MatTabContent");let sR=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(ja(Il))},e.\u0275dir=qe({type:e,selectors:[["","matTabContent",""]],features:[$o([{provide:rR,useExisting:e}])]}),e})();const aR=new Zn("MatTabLabel");class oR{}const lR=Ib(oR),cR=new Zn("MAT_TAB_GROUP");let uR=(()=>{class e extends lR{constructor(e,t){super(),this._viewContainerRef=e,this._closestTabGroup=t,this.textLabel="",this._contentPortal=null,this._stateChanges=new S,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}get content(){return this._contentPortal}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new Mg(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&(this._templateLabel=e)}}return e.\u0275fac=function(t){return new(t||e)(ja(Hl),ja(cR))},e.\u0275cmp=He({type:e,selectors:[["mat-tab"]],contentQueries:function(e,t,n){if(1&e&&(xc(n,aR,1),xc(n,rR,3,Il)),2&e){let e;Sc(e=Mc())&&(t.templateLabel=e.first),Sc(e=Mc())&&(t._explicitContent=e.first)}},viewQuery:function(e,t){if(1&e&&Cc(Il,3),2&e){let e;Sc(e=Mc())&&(t._implicitContent=e.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},exportAs:["matTab"],features:[ba,ut],ngContentSelectors:VP,decls:1,vars:0,template:function(e,t){1&e&&(no(),Pa(0,HP,1,0,"ng-template"))},encapsulation:2}),e})();const dR={translateTab:_p("translateTab",[vp("center, void, left-origin-center, right-origin-center",bp({transform:"none"})),vp("left",bp({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),vp("right",bp({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),kp("* => left, * => right, left => center, right => center",gp("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),kp("void => left-origin-center",[bp({transform:"translate3d(-100%, 0, 0)"}),gp("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),kp("void => right-origin-center",[bp({transform:"translate3d(100%, 0, 0)"}),gp("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let hR=(()=>{class e extends Eg{constructor(e,t,n,i){super(e,t,i),this._host=n,this._centeringSub=d.EMPTY,this._leavingSub=d.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(H_(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(ja(Qo),ja(Hl),ja(se(()=>fR)),ja(Tu))},e.\u0275dir=qe({type:e,selectors:[["","matTabBodyHost",""]],features:[ba]}),e})(),pR=(()=>{class e{constructor(e,t,n){this._elementRef=e,this._dir=t,this._dirChangeSubscription=d.EMPTY,this._translateTabComplete=new S,this._onCentering=new dc,this._beforeCentering=new dc,this._afterLeavingCenter=new dc,this._onCentered=new dc(!0),this.animationDuration="500ms",t&&(this._dirChangeSubscription=t.change.subscribe(e=>{this._computePositionAnimationState(e),n.markForCheck()})),this._translateTabComplete.pipe(M_((e,t)=>e.fromState===t.fromState&&e.toState===t.toState)).subscribe(e=>{this._isCenterPosition(e.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(e.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(e){this._positionIndex=e,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){const t=this._isCenterPosition(e.toState);this._beforeCentering.emit(t),t&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}_computePositionAnimationState(e=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}_computePositionFromOrigin(e){const t=this._getLayoutDirection();return"ltr"==t&&e<=0||"rtl"==t&&e>0?"left-origin-center":"right-origin-center"}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(pg,8),ja(Dl))},e.\u0275dir=qe({type:e,inputs:{animationDuration:"animationDuration",position:"position",_content:["content","_content"],origin:"origin"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),e})(),fR=(()=>{class e extends pR{constructor(e,t,n){super(e,t,n)}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(pg,8),ja(Dl))},e.\u0275cmp=He({type:e,selectors:[["mat-tab-body"]],viewQuery:function(e,t){if(1&e&&Cc(Eg,1),2&e){let e;Sc(e=Mc())&&(t._portalHost=e.first)}},hostAttrs:[1,"mat-tab-body"],features:[ba],decls:3,vars:6,consts:[[1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,t){var n,i,r;1&e&&(Na(0,"div",0,1),Ga("@translateTab.start",function(e){return t._onTranslateTabStarted(e)})("@translateTab.done",function(e){return t._translateTabComplete.next(e)}),Pa(2,UP,0,0,"ng-template",2),Ha()),2&e&&Ya("@translateTab",(3,n=zP,i=t._position,r=nc(1,BP,t.animationDuration),sc(Pt(),zt(),3,n,i,r,undefined)))},directives:[hR],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[dR.translateTab]}}),e})();const mR=new Zn("MAT_TABS_CONFIG");let _R=0;class gR{}class yR{constructor(e){this._elementRef=e}}const bR=Pb(Rb(yR),"primary");let vR=(()=>{class e extends bR{constructor(e,t,n,i){super(e),this._changeDetectorRef=t,this._animationMode=i,this._tabs=new pc,this._indexToSelect=0,this._tabBodyWrapperHeight=0,this._tabsSubscription=d.EMPTY,this._tabLabelSubscription=d.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new dc,this.focusChange=new dc,this.animationDone=new dc,this.selectedTabChange=new dc(!0),this._groupId=_R++,this.animationDuration=n&&n.animationDuration?n.animationDuration:"500ms",this.disablePagination=!(!n||null==n.disablePagination)&&n.disablePagination,this.dynamicHeight=!(!n||null==n.dynamicHeight)&&n.dynamicHeight}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(e){this._dynamicHeight=s_(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=a_(e,null)}get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e)?e+"ms":e}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const t=this._elementRef.nativeElement;t.classList.remove(`mat-background-${this.backgroundColor}`),e&&t.classList.add(`mat-background-${e}`),this._backgroundColor=e}ngAfterContentChecked(){const e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){const t=null==this._selectedIndex;t||this.selectedTabChange.emit(this._createChangeEvent(e)),Promise.resolve().then(()=>{this._tabs.forEach((t,n)=>t.isActive=n===e),t||this.selectedIndexChange.emit(e)})}this._tabs.forEach((t,n)=>{t.position=n-e,null==this._selectedIndex||0!=t.position||t.origin||(t.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{if(this._clampTabIndex(this._indexToSelect)===this._selectedIndex){const e=this._tabs.toArray();for(let t=0;t{this._tabs.reset(e.filter(e=>e._closestTabGroup===this)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}_focusChanged(e){this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){const t=new gR;return t.index=e,this._tabs&&this._tabs.length&&(t.tab=this._tabs.toArray()[e]),t}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=W(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const t=this._tabBodyWrapper.nativeElement;t.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(t.style.height=e+"px")}_removeTabBodyWrapperHeight(){const e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,t,n){e.disabled||(this.selectedIndex=t.focusIndex=n)}_getTabIndex(e,t){return e.disabled?null:this.selectedIndex===t?0:-1}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(Dl),ja(mR,8),ja(Zm,8))},e.\u0275dir=qe({type:e,inputs:{headerPosition:"headerPosition",animationDuration:"animationDuration",disablePagination:"disablePagination",dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[ba]}),e})(),wR=(()=>{class e extends vR{constructor(e,t,n,i){super(e,t,n,i)}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(Dl),ja(mR,8),ja(Zm,8))},e.\u0275cmp=He({type:e,selectors:[["mat-tab-group"]],contentQueries:function(e,t,n){if(1&e&&xc(n,uR,1),2&e){let e;Sc(e=Mc())&&(t._allTabs=e)}},viewQuery:function(e,t){if(1&e&&(Cc(WP,1),Cc(qP,1)),2&e){let e;Sc(e=Mc())&&(t._tabBodyWrapper=e.first),Sc(e=Mc())&&(t._tabHeader=e.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(e,t){2&e&&fo("mat-tab-group-dynamic-height",t.dynamicHeight)("mat-tab-group-inverted-header","below"===t.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[$o([{provide:cR,useExisting:e}]),ba],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","disabled","matRippleDisabled","click",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","disabled","matRippleDisabled","click"],[1,"mat-tab-label-content"],[3,"ngIf"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(e,t){1&e&&(Na(0,"mat-tab-header",0,1),Ga("indexFocused",function(e){return t._focusChanged(e)})("selectFocusedIndex",function(e){return t.selectedIndex=e}),Pa(2,JP,4,14,"div",2),Ha(),Na(3,"div",3,4),Pa(5,QP,1,8,"mat-tab-body",5),Ha()),2&e&&(Ya("selectedIndex",t.selectedIndex||0)("disableRipple",t.disableRipple)("disablePagination",t.disablePagination),rs(2),Ya("ngForOf",t._tabs),rs(1),fo("_mat-animation-noopable","NoopAnimations"===t._animationMode),rs(2),Ya("ngForOf",t._tabs))},directives:function(){return[LR,Ad,CR,lv,_b,Pd,Eg,fR]},styles:[".mat-tab-group{display:flex;flex-direction:column}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),e})();class kR{}const SR=Ib(kR);let CR=(()=>{class e extends SR{constructor(e){super(),this.elementRef=e}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return e.\u0275fac=function(t){return new(t||e)(ja(tl))},e.\u0275dir=qe({type:e,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,t){2&e&&(Aa("aria-disabled",!!t.disabled),fo("mat-tab-disabled",t.disabled))},inputs:{disabled:"disabled"},features:[ba]}),e})();const xR=cg({passive:!0});let MR=(()=>{class e{constructor(e,t,n,i,r,s,a){this._elementRef=e,this._changeDetectorRef=t,this._viewportRuler=n,this._dir=i,this._ngZone=r,this._platform=s,this._animationMode=a,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new S,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new S,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new dc,this.indexFocused=new dc,r.runOutsideAngular(()=>{d_(e.nativeElement,"mouseleave").pipe(j_(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=a_(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}ngAfterViewInit(){d_(this._previousPaginator.nativeElement,"touchstart",xR).pipe(j_(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),d_(this._nextPaginator.nativeElement,"touchstart",xR).pipe(j_(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:Th(null),t=this._viewportRuler.change(150),n=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new eb(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(n):n(),W(e,t,this._items.changes).pipe(j_(this._destroyed)).subscribe(()=>{Promise.resolve().then(n),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe(j_(this._destroyed)).subscribe(e=>{this.indexFocused.emit(e),this._setTabFocus(e)})}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!Gg(e))switch(e.keyCode){case Fg:case Hg:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e));break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){const e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){this._isValidIndex(e)&&this.focusIndex!==e&&this._keyManager&&this._keyManager.setActiveItem(e)}_isValidIndex(e){if(!this._items)return!0;const t=this._items?this._items.toArray()[e]:null;return!!t&&!t.disabled}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();const t=this._tabListContainer.nativeElement,n=this._getLayoutDirection();t.scrollLeft="ltr"==n?0:t.scrollWidth-t.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const e=this.scrollDistance,t="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(t)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;const t=this._items?this._items.toArray()[e]:null;if(!t)return;const n=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:i,offsetWidth:r}=t.elementRef.nativeElement;let s,a;"ltr"==this._getLayoutDirection()?(s=i,a=s+r):(a=this._tabList.nativeElement.offsetWidth-i,s=a-r);const o=this.scrollDistance,l=this.scrollDistance+n;sl&&(this.scrollDistance+=a-l+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const e=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,t=e?e.elementRef.nativeElement:null;t?this._inkBar.alignToElement(t):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,t){t&&null!=t.button&&0!==t.button||(this._stopInterval(),I_(650,100).pipe(j_(W(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:t,distance:n}=this._scrollHeader(e);(0===n||n>=t)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const t=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(t,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:t,distance:this._scrollDistance}}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(Dl),ja(wg),ja(pg,8),ja(Xc),ja(ng),ja(Zm,8))},e.\u0275dir=qe({type:e,inputs:{disablePagination:"disablePagination"}}),e})(),DR=(()=>{class e extends MR{constructor(e,t,n,i,r,s,a){super(e,t,n,i,r,s,a),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=s_(e)}_itemSelected(e){e.preventDefault()}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(Dl),ja(wg),ja(pg,8),ja(Xc),ja(ng),ja(Zm,8))},e.\u0275dir=qe({type:e,inputs:{disableRipple:"disableRipple"},features:[ba]}),e})(),LR=(()=>{class e extends DR{constructor(e,t,n,i,r,s,a){super(e,t,n,i,r,s,a)}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(Dl),ja(wg),ja(pg,8),ja(Xc),ja(ng),ja(Zm,8))},e.\u0275cmp=He({type:e,selectors:[["mat-tab-header"]],contentQueries:function(e,t,n){if(1&e&&xc(n,CR,0),2&e){let e;Sc(e=Mc())&&(t._items=e)}},viewQuery:function(e,t){if(1&e&&(Cc(iR,3),Cc(XP,3),Cc(ZP,3),Cc(eR,1),Cc(tR,1)),2&e){let e;Sc(e=Mc())&&(t._inkBar=e.first),Sc(e=Mc())&&(t._tabListContainer=e.first),Sc(e=Mc())&&(t._tabList=e.first),Sc(e=Mc())&&(t._nextPaginator=e.first),Sc(e=Mc())&&(t._previousPaginator=e.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(e,t){2&e&&fo("mat-tab-header-pagination-controls-enabled",t._showPaginationControls)("mat-tab-header-rtl","rtl"==t._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[ba],ngContentSelectors:VP,decls:13,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,t){1&e&&(no(),Na(0,"div",0,1),Ga("click",function(){return t._handlePaginatorClick("before")})("mousedown",function(e){return t._handlePaginatorPress("before",e)})("touchend",function(){return t._stopInterval()}),Va(2,"div",2),Ha(),Na(3,"div",3,4),Ga("keydown",function(e){return t._handleKeydown(e)}),Na(5,"div",5,6),Ga("cdkObserveContent",function(){return t._onContentChanges()}),Na(7,"div",7),io(8),Ha(),Va(9,"mat-ink-bar"),Ha(),Ha(),Na(10,"div",8,9),Ga("mousedown",function(e){return t._handlePaginatorPress("after",e)})("click",function(){return t._handlePaginatorClick("after")})("touchend",function(){return t._stopInterval()}),Va(12,"div",2),Ha()),2&e&&(fo("mat-tab-header-pagination-disabled",t._disableScrollBefore),Ya("matRippleDisabled",t._disableScrollBefore||t.disableRipple),rs(5),fo("_mat-animation-noopable","NoopAnimations"===t._animationMode),rs(5),fo("mat-tab-header-pagination-disabled",t._disableScrollAfter),Ya("matRippleDisabled",t._disableScrollAfter||t.disableRipple))},directives:[lv,Vy,iR],styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:"";height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n'],encapsulation:2}),e})(),OR=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Gd,Ab,Tg,cv,Uy,wb],Ab]}),e})();const ER=["*"],TR=".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-figure{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}\n",AR=new Zn("MAT_GRID_LIST");let IR=(()=>{class e{constructor(e,t){this._element=e,this._gridList=t,this._rowspan=1,this._colspan=1}get rowspan(){return this._rowspan}set rowspan(e){this._rowspan=Math.round(a_(e))}get colspan(){return this._colspan}set colspan(e){this._colspan=Math.round(a_(e))}_setStyle(e,t){this._element.nativeElement.style[e]=t}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(AR,8))},e.\u0275cmp=He({type:e,selectors:[["mat-grid-tile"]],hostAttrs:[1,"mat-grid-tile"],hostVars:2,hostBindings:function(e,t){2&e&&Aa("rowspan",t.rowspan)("colspan",t.colspan)},inputs:{rowspan:"rowspan",colspan:"colspan"},exportAs:["matGridTile"],ngContentSelectors:ER,decls:2,vars:0,consts:[[1,"mat-figure"]],template:function(e,t){1&e&&(no(),Na(0,"figure",0),io(1),Ha())},styles:[TR],encapsulation:2,changeDetection:0}),e})();class PR{constructor(){this.columnIndex=0,this.rowIndex=0}get rowCount(){return this.rowIndex+1}get rowspan(){const e=Math.max(...this.tracker);return e>1?this.rowCount+e-1:this.rowCount}update(e,t){this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(e),this.tracker.fill(0,0,this.tracker.length),this.positions=t.map(e=>this._trackTile(e))}_trackTile(e){const t=this._findMatchingGap(e.colspan);return this._markTilePosition(t,e),this.columnIndex=t+e.colspan,new RR(this.rowIndex,t)}_findMatchingGap(e){let t=-1,n=-1;do{this.columnIndex+e>this.tracker.length?(this._nextRow(),t=this.tracker.indexOf(0,this.columnIndex),n=this._findGapEndIndex(t)):(t=this.tracker.indexOf(0,this.columnIndex),-1!=t?(n=this._findGapEndIndex(t),this.columnIndex=t+1):(this._nextRow(),t=this.tracker.indexOf(0,this.columnIndex),n=this._findGapEndIndex(t)))}while(n-t{e._setStyle("top",null),e._setStyle("height",null)})}}class NR extends YR{constructor(e){super(),this._parseRatio(e)}setRowStyles(e,t,n,i){this.baseTileHeight=this.getBaseTileSize(n/this.rowHeightRatio,i),e._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,t)),e._setStyle("paddingTop",VR(this.getTileSize(this.baseTileHeight,e.rowspan)))}getComputedHeight(){return["paddingBottom",VR(`${this.getTileSpan(this.baseTileHeight)} + ${this.getGutterSpan()}`)]}reset(e){e._setListStyle(["paddingBottom",null]),e._tiles.forEach(e=>{e._setStyle("marginTop",null),e._setStyle("paddingTop",null)})}_parseRatio(e){const t=e.split(":");this.rowHeightRatio=parseFloat(t[0])/parseFloat(t[1])}}class HR extends YR{setRowStyles(e,t){let n=this.getBaseTileSize(100/this._rowspan,(this._rows-1)/this._rows);e._setStyle("top",this.getTilePosition(n,t)),e._setStyle("height",VR(this.getTileSize(n,e.rowspan)))}reset(e){e._tiles&&e._tiles.forEach(e=>{e._setStyle("top",null),e._setStyle("height",null)})}}function VR(e){return`calc(${e})`}function UR(e){return e.match(/([A-Za-z%]+)$/)?e:`${e}px`}let BR=(()=>{class e{constructor(e,t){this._element=e,this._dir=t,this._gutter="1px"}get cols(){return this._cols}set cols(e){this._cols=Math.max(1,Math.round(a_(e)))}get gutterSize(){return this._gutter}set gutterSize(e){this._gutter=`${null==e?"":e}`}get rowHeight(){return this._rowHeight}set rowHeight(e){const t=`${null==e?"":e}`;t!==this._rowHeight&&(this._rowHeight=t,this._setTileStyler(this._rowHeight))}ngOnInit(){this._checkCols(),this._checkRowHeight()}ngAfterContentChecked(){this._layoutTiles()}_checkCols(){}_checkRowHeight(){this._rowHeight||this._setTileStyler("1:1")}_setTileStyler(e){this._tileStyler&&this._tileStyler.reset(this),this._tileStyler="fit"===e?new HR:e&&e.indexOf(":")>-1?new NR(e):new FR(e)}_layoutTiles(){this._tileCoordinator||(this._tileCoordinator=new PR);const e=this._tileCoordinator,t=this._tiles.filter(e=>!e._gridList||e._gridList===this),n=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,t),this._tileStyler.init(this.gutterSize,e,this.cols,n),t.forEach((t,n)=>{const i=e.positions[n];this._tileStyler.setStyle(t,i.row,i.col)}),this._setListStyle(this._tileStyler.getComputedHeight())}_setListStyle(e){e&&(this._element.nativeElement.style[e[0]]=e[1])}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(pg,8))},e.\u0275cmp=He({type:e,selectors:[["mat-grid-list"]],contentQueries:function(e,t,n){if(1&e&&xc(n,IR,1),2&e){let e;Sc(e=Mc())&&(t._tiles=e)}},hostAttrs:[1,"mat-grid-list"],hostVars:1,hostBindings:function(e,t){2&e&&Aa("cols",t.cols)},inputs:{cols:"cols",gutterSize:"gutterSize",rowHeight:"rowHeight"},exportAs:["matGridList"],features:[$o([{provide:AR,useExisting:e}])],ngContentSelectors:ER,decls:2,vars:0,template:function(e,t){1&e&&(no(),Na(0,"div"),io(1),Ha())},styles:[TR],encapsulation:2,changeDetection:0}),e})(),zR=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[ev,Ab],ev,Ab]}),e})(),WR=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[fg]]}),e})(),qR=(()=>{class e{constructor(){this.changes=new S,this.optionalLabel="Optional"}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({factory:function(){return new e},token:e,providedIn:"root"}),e})();const KR={provide:qR,deps:[[new ki,new Si,qR]],useFactory:function(e){return e||new qR}};let $R=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[KR,Xb],imports:[[Ab,Gd,Tg,_w,WR,$D,cv],Ab]}),e})(),GR=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Ey,Ab,Tg],Ab]}),e})();const JR=["*",[["mat-card-footer"]]],QR=["*","mat-card-footer"],XR=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],ZR=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"];let ej=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=qe({type:e,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),e})(),tj=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=qe({type:e,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),e})(),nj=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=qe({type:e,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),e})(),ij=(()=>{class e{constructor(e){this._animationMode=e}}return e.\u0275fac=function(t){return new(t||e)(ja(Zm,8))},e.\u0275cmp=He({type:e,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(e,t){2&e&&fo("_mat-animation-noopable","NoopAnimations"===t._animationMode)},exportAs:["matCard"],ngContentSelectors:QR,decls:2,vars:0,template:function(e,t){1&e&&(no(JR),io(0),io(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child,.mat-card-actions .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),e})(),rj=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=He({type:e,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:ZR,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(e,t){1&e&&(no(XR),io(0),Na(1,"div",0),io(2,1),Ha(),io(3,2))},encapsulation:2,changeDetection:0}),e})(),sj=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Ab],Ab]}),e})();const aj={provide:Fc,useFactory:function(e,t){return()=>{if(Jd(t)){const t=Array.from(e.querySelectorAll(`[class*=${oj}]`)),n=/\bflex-layout-.+?\b/g;t.forEach(e=>{e.classList.contains(`${oj}ssr`)&&e.parentNode?e.parentNode.removeChild(e):e.className.replace(n,"")})}}},deps:[Tu,Yc],multi:!0},oj="flex-layout-";let lj=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[aj]}),e})();class cj{constructor(e=!1,t="all",n="",i="",r=0){this.matches=e,this.mediaQuery=t,this.mqAlias=n,this.suffix=i,this.priority=r,this.property=""}clone(){return new cj(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let uj=(()=>{class e{constructor(){this.stylesheet=new Map}addStyleToElement(e,t,n){const i=this.stylesheet.get(e);i?i.set(t,n):this.stylesheet.set(e,new Map([[t,n]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(e,t){const n=this.stylesheet.get(e);let i="";if(n){const e=n.get(t);"number"!=typeof e&&"string"!=typeof e||(i=e+"")}return i}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({factory:function(){return new e},token:e,providedIn:"root"}),e})();const dj={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[]},hj=new Zn("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>dj}),pj=new Zn("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),fj=new Zn("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function mj(e,t){return e=e?e.clone():new cj,t&&(e.mqAlias=t.alias,e.mediaQuery=t.mediaQuery,e.suffix=t.suffix,e.priority=t.priority),e}const _j="inline",gj=["row","column","row-reverse","column-reverse"];function yj(e){if(e)switch(e.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":e="wrap-reverse";break;case"no":case"none":case"nowrap":e="nowrap";break;default:e="wrap"}return e}let bj=(()=>{class e{constructor(e,t,n,i){this.elementRef=e,this.styleBuilder=t,this.styler=n,this.marshal=i,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new S,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)}ngOnChanges(e){Object.keys(e).forEach(t=>{if(-1!==this.inputs.indexOf(t)){const n=t.split(".").slice(1).join(".");this.setValue(e[t].currentValue,n)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(e=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)}addStyles(e,t){const n=this.styleBuilder,i=n.shouldCache;let r=this.styleCache.get(e);r&&i||(r=n.buildStyles(e,t),i&&this.styleCache.set(e,r)),this.mru=Object.assign({},r),this.applyStyleToElement(r),n.sideEffect(e,r,t)}clearStyles(){Object.keys(this.mru).forEach(e=>{this.mru[e]=""}),this.applyStyleToElement(this.mru),this.mru={}}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(e,t=!1){if(e){const[n,i]=this.styler.getFlowDirection(e);if(!i&&t){const t=function(e){let[t,n,i]=function(e){e=e?e.toLowerCase():"";let[t,n,i]=e.split(" ");return gj.find(e=>e===t)||(t=gj[0]),n===_j&&(n=i!==_j?i:"",i=_j),[t,yj(n),!!i]}(e);return function(e,t=null,n=!1){return{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":e,"flex-wrap":t||null}}(t,n,i)}(n);this.styler.applyStyleToElements(t,[e])}return n.trim()}return"row"}hasWrap(e){return this.styler.hasWrap(e)}applyStyleToElement(e,t,n=this.nativeElement){this.styler.applyStyleToElement(n,e,t)}setValue(e,t){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,t)}updateWithValue(e){this.currentValue!==e&&(this.addStyles(e),this.currentValue=e)}}return e.\u0275fac=function(e){!function(){throw new Error("invalid")}()},e.\u0275dir=qe({type:e,features:[ut]}),e})();const vj=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],wj="(orientation: portrait) and (max-width: 599.98px)",kj="(orientation: landscape) and (max-width: 959.98px)",Sj="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",Cj="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",xj="(orientation: portrait) and (min-width: 840px)",Mj="(orientation: landscape) and (min-width: 1280px)",Dj={HANDSET:`${wj}, ${kj}`,TABLET:`${Sj} , ${Cj}`,WEB:`${xj}, ${Mj} `,HANDSET_PORTRAIT:`${wj}`,TABLET_PORTRAIT:`${Sj} `,WEB_PORTRAIT:`${xj}`,HANDSET_LANDSCAPE:`${kj}`,TABLET_LANDSCAPE:`${Cj}`,WEB_LANDSCAPE:`${Mj}`},Lj=[{alias:"handset",priority:2e3,mediaQuery:Dj.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:Dj.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:Dj.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:Dj.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:Dj.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:Dj.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:Dj.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:Dj.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:Dj.WEB_PORTRAIT,overlapping:!0}],Oj=/(\.|-|_)/g;function Ej(e){let t=e.length>0?e.charAt(0):"",n=e.length>1?e.slice(1):"";return t.toUpperCase()+n}const Tj=new Zn("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const e=yi(fj),t=yi(hj),n=[].concat.apply([],(e||[]).map(e=>Array.isArray(e)?e:[e]));return function(e,t=[]){const n={};return e.forEach(e=>{n[e.alias]=e}),t.forEach(e=>{n[e.alias]?function(e,...t){if(null==e)throw TypeError("Cannot convert undefined or null to object");for(let n of t)if(null!=n)for(let t in n)n.hasOwnProperty(t)&&(e[t]=n[t])}(n[e.alias],e):n[e.alias]=e}),(i=Object.keys(n).map(e=>n[e])).forEach(e=>{e.suffix||(e.suffix=e.alias.replace(Oj,"|").split("|").map(Ej).join(""),e.overlapping=!!e.overlapping)}),i;var i}((t.disableDefaultBps?[]:vj).concat(t.addOrientationBps?Lj:[]),n)}});function Aj(e,t){return(t&&t.priority||0)-(e&&e.priority||0)}function Ij(e,t){return(e.priority||0)-(t.priority||0)}let Pj=(()=>{class e{constructor(e){this.findByMap=new Map,this.items=[...e].sort(Ij)}findByAlias(e){return e?this.findWithPredicate(e,t=>t.alias==e):null}findByQuery(e){return this.findWithPredicate(e,t=>t.mediaQuery==e)}get overlappings(){return this.items.filter(e=>1==e.overlapping)}get aliases(){return this.items.map(e=>e.alias)}get suffixes(){return this.items.map(e=>e.suffix?e.suffix:"")}findWithPredicate(e,t){let n=this.findByMap.get(e);return n||(n=this.items.find(t)||null,this.findByMap.set(e,n)),n||null}}return e.\u0275fac=function(t){return new(t||e)(gi(Tj))},e.\u0275prov=le({factory:function(){return new e(gi(Tj))},token:e,providedIn:"root"}),e})(),Rj=(()=>{class e{constructor(e,t,n){this._zone=e,this._platformId=t,this._document=n,this.source=new SC(new cj(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const e=[];return this.registry.forEach((t,n)=>{t.matches&&e.push(n)}),e}isActive(e){const t=this.registry.get(e);return t?t.matches:this.registerQuery(e).some(e=>e.matches)}observe(e,t=!1){if(e&&e.length){const n=this._observable$.pipe(Ih(n=>!t||e.indexOf(n.mediaQuery)>-1));return W(new y(t=>{const n=this.registerQuery(e);if(n.length){const e=n.pop();n.forEach(e=>{t.next(e)}),this.source.next(e)}t.complete()}),n)}return this._observable$}registerQuery(e){const t=Array.isArray(e)?e:[e],n=[];return function(e,t){const n=e.filter(e=>!jj[e]);if(n.length>0){const e=n.join(", ");try{const i=t.createElement("style");i.setAttribute("type","text/css"),i.styleSheet||i.appendChild(t.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${e} {.fx-query-test{ }}\n`)),t.head.appendChild(i),n.forEach(e=>jj[e]=i)}catch(i){console.error(i)}}}(t,this._document),t.forEach(e=>{const t=t=>{this._zone.run(()=>this.source.next(new cj(t.matches,e)))};let i=this.registry.get(e);i||(i=this.buildMQL(e),i.addListener(t),this.pendingRemoveListenerFns.push(()=>i.removeListener(t)),this.registry.set(e,i)),i.matches&&n.push(new cj(!0,e))}),n}ngOnDestroy(){let e;for(;e=this.pendingRemoveListenerFns.pop();)e()}buildMQL(e){return function(e,t){return t&&window.matchMedia("all").addListener?window.matchMedia(e):{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{},onchange:null,addEventListener(){},removeEventListener(){},dispatchEvent:()=>!1}}(e,Jd(this._platformId))}}return e.\u0275fac=function(t){return new(t||e)(gi(Xc),gi(Yc),gi(Tu))},e.\u0275prov=le({factory:function(){return new e(gi(Xc),gi(Yc),gi(Tu))},token:e,providedIn:"root"}),e})();const jj={},Yj="print",Fj={alias:Yj,mediaQuery:Yj,priority:1e3};let Nj=(()=>{class e{constructor(e,t,n){this.breakpoints=e,this.layoutConfig=t,this._document=n,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.isPrinting=!1,this.queue=new Hj,this.deactivations=[]}withPrintQuery(e){return[...e,Yj]}isPrintEvent(e){return e.mediaQuery.startsWith(Yj)}get printAlias(){return this.layoutConfig.printWithBreakpoints||[]}get printBreakPoints(){return this.printAlias.map(e=>this.breakpoints.findByAlias(e)).filter(e=>null!==e)}getEventBreakpoints({mediaQuery:e}){const t=this.breakpoints.findByQuery(e);return(t?[...this.printBreakPoints,t]:this.printBreakPoints).sort(Aj)}updateEvent(e){let t=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(t=this.getEventBreakpoints(e)[0],e.mediaQuery=t?t.mediaQuery:""),mj(e,t)}registerBeforeAfterPrintHooks(e){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const t=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(e,this.getEventBreakpoints(new cj(!0,Yj))),e.updateStyles())},n=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(e),e.updateStyles())};this._document.defaultView.addEventListener("beforeprint",t),this._document.defaultView.addEventListener("afterprint",n),this.beforePrintEventListeners.push(t),this.afterPrintEventListeners.push(n)}interceptEvents(e){return this.registerBeforeAfterPrintHooks(e),t=>{this.isPrintEvent(t)?t.matches&&!this.isPrinting?(this.startPrinting(e,this.getEventBreakpoints(t)),e.updateStyles()):t.matches||!this.isPrinting||this.isPrintingBeforeAfterEvent||(this.stopPrinting(e),e.updateStyles()):this.collectActivations(t)}}blockPropagation(){return e=>!(this.isPrinting||this.isPrintEvent(e))}startPrinting(e,t){this.isPrinting=!0,e.activatedBreakpoints=this.queue.addPrintBreakpoints(t)}stopPrinting(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.queue.clear(),this.isPrinting=!1}collectActivations(e){if(!this.isPrinting||this.isPrintingBeforeAfterEvent)if(e.matches)this.isPrintingBeforeAfterEvent||(this.deactivations=[]);else{const t=this.breakpoints.findByQuery(e.mediaQuery);t&&(this.deactivations.push(t),this.deactivations.sort(Aj))}}ngOnDestroy(){this.beforePrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("beforeprint",e)),this.afterPrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("afterprint",e))}}return e.\u0275fac=function(t){return new(t||e)(gi(Pj),gi(hj),gi(Tu))},e.\u0275prov=le({factory:function(){return new e(gi(Pj),gi(hj),gi(Tu))},token:e,providedIn:"root"}),e})();class Hj{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(e){return e.push(Fj),e.sort(Aj),e.forEach(e=>this.addBreakpoint(e)),this.printBreakpoints}addBreakpoint(e){e&&void 0===this.printBreakpoints.find(t=>t.mediaQuery===e.mediaQuery)&&(this.printBreakpoints=function(e){return!!e&&e.mediaQuery.startsWith(Yj)}(e)?[e,...this.printBreakpoints]:[...this.printBreakpoints,e])}clear(){this.printBreakpoints=[]}}let Vj=(()=>{class e{constructor(e,t,n){this.breakpoints=e,this.matchMedia=t,this.hook=n,this.filterOverlaps=!1,this.destroyed$=new S,this._media$=this.watchActivations(),this.media$=this._media$.pipe(Ih(e=>e.length>0),M(e=>e[0]))}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}asObservable(){return this._media$}isActive(e){return function(e){return Array.isArray(e)?e:[e]}(e).map(e=>e.split(",")).reduce((e,t)=>e.concat(t)).map(e=>e.trim()).some(e=>{const t=function(e,t){const n=t.findByAlias(e)||t.findByQuery(e);return n?n.mediaQuery:null}(e,this.breakpoints);return null!==t&&this.matchMedia.isActive(t)})}watchActivations(){const e=this.breakpoints.items.map(e=>e.mediaQuery);return this.buildObservable(e)}buildObservable(e){return this.matchMedia.observe(this.hook.withPrintQuery(e)).pipe(Ih(e=>e.matches),Ry(0,C_),V_(e=>Th(this.findAllActivations())),M(e=>this.filterOverlaps?e.filter(e=>{const t=this.breakpoints.findByQuery(e.mediaQuery);return!t||!t.overlapping}):e),Ih(e=>e.filter(e=>e.mediaQuery.length>0).length>0),j_(this.destroyed$))}findAllActivations(){return this.matchMedia.activations.map(e=>new cj(!0,e)).map(e=>this.hook.isPrintEvent(e)?this.hook.updateEvent(e):e).map(e=>mj(e,this.breakpoints.findByQuery(e.mediaQuery))).sort(Aj)}}return e.\u0275fac=function(t){return new(t||e)(gi(Pj),gi(Rj),gi(Nj))},e.\u0275prov=le({factory:function(){return new e(gi(Pj),gi(Rj),gi(Nj))},token:e,providedIn:"root"}),e})();function Uj(e){for(let t in e){let n=e[t]||"";switch(t){case"display":e.display="flex"===n?["-webkit-flex","flex"]:"inline-flex"===n?["-webkit-inline-flex","inline-flex"]:n;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":e["-webkit-"+t]=n;break;case"flex-direction":n=n||"row",e["-webkit-flex-direction"]=n,e["flex-direction"]=n;break;case"order":e.order=e["-webkit-"+t]=isNaN(+n)?"0":n}}return e}let Bj=(()=>{class e{constructor(e,t,n,i){this._serverStylesheet=e,this._serverModuleLoaded=t,this._platformId=n,this.layoutConfig=i}applyStyleToElement(e,t,n=null){let i={};"string"==typeof t&&(i[t]=n,t=i),i=this.layoutConfig.disableVendorPrefixes?t:Uj(t),this._applyMultiValueStyleToElement(i,e)}applyStyleToElements(e,t=[]){const n=this.layoutConfig.disableVendorPrefixes?e:Uj(e);t.forEach(e=>{this._applyMultiValueStyleToElement(n,e)})}getFlowDirection(e){const t="flex-direction";let n=this.lookupStyle(e,t);return[n||"row",this.lookupInlineStyle(e,t)||Qd(this._platformId)&&this._serverModuleLoaded?n:""]}hasWrap(e){return"wrap"===this.lookupStyle(e,"flex-wrap")}lookupAttributeValue(e,t){return e.getAttribute(t)||""}lookupInlineStyle(e,t){return Jd(this._platformId)?e.style.getPropertyValue(t):this._getServerStyle(e,t)}lookupStyle(e,t,n=!1){let i="";return e&&((i=this.lookupInlineStyle(e,t))||(Jd(this._platformId)?n||(i=getComputedStyle(e).getPropertyValue(t)):this._serverModuleLoaded&&(i=this._serverStylesheet.getStyleForElement(e,t)))),i?i.trim():""}_applyMultiValueStyleToElement(e,t){Object.keys(e).sort().forEach(n=>{const i=e[n],r=Array.isArray(i)?i:[i];r.sort();for(let e of r)e=e?e+"":"",Jd(this._platformId)||!this._serverModuleLoaded?Jd(this._platformId)?t.style.setProperty(n,e):this._setServerStyle(t,n,e):this._serverStylesheet.addStyleToElement(t,n,e)})}_setServerStyle(e,t,n){t=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const i=this._readStyleAttribute(e);i[t]=n||"",this._writeStyleAttribute(e,i)}_getServerStyle(e,t){return this._readStyleAttribute(e)[t]||""}_readStyleAttribute(e){const t={},n=e.getAttribute("style");if(n){const e=n.split(/;+/g);for(let n=0;n0){const e=i.indexOf(":");if(-1===e)throw new Error(`Invalid CSS style: ${i}`);t[i.substr(0,e).trim()]=i.substr(e+1).trim()}}}return t}_writeStyleAttribute(e,t){let n="";for(const i in t)t[i]&&(n+=i+":"+t[i]+";");e.setAttribute("style",n)}}return e.\u0275fac=function(t){return new(t||e)(gi(uj),gi(pj),gi(Yc),gi(hj))},e.\u0275prov=le({factory:function(){return new e(gi(uj),gi(pj),gi(Yc),gi(hj))},token:e,providedIn:"root"}),e})();class zj{constructor(){this.shouldCache=!0}sideEffect(e,t,n){}}function Wj(e,t="1",n="1"){let i=[t,n,e],r=e.indexOf("calc");if(r>0){i[2]=qj(e.substring(r).trim());let t=e.substr(0,r).trim().split(" ");2==t.length&&(i[0]=t[0],i[1]=t[1])}else if(0==r)i[2]=qj(e.trim());else{let r=e.split(" ");i=3===r.length?r:[t,n,e]}return i}function qj(e){return e.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}let Kj=(()=>{class e{constructor(e,t,n){this.matchMedia=e,this.breakpoints=t,this.hook=n,this.activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new S,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?this.activatedBreakpoints[0].alias:""}onMediaChange(e){const t=this.findByQuery(e.mediaQuery);t&&((e=mj(e,t)).matches&&-1===this.activatedBreakpoints.indexOf(t)?(this.activatedBreakpoints.push(t),this.activatedBreakpoints.sort(Aj),this.updateStyles()):e.matches||-1===this.activatedBreakpoints.indexOf(t)||(this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(t),1),this.activatedBreakpoints.sort(Aj),this.updateStyles()))}init(e,t,n,i,r=[]){$j(this.updateMap,e,t,n),$j(this.clearMap,e,t,i),this.buildElementKeyMap(e,t),this.watchExtraTriggers(e,t,r)}getValue(e,t,n){const i=this.elementMap.get(e);if(i){const e=void 0!==n?i.get(n):this.getActivatedValues(i,t);if(e)return e.get(t)}}hasValue(e,t){const n=this.elementMap.get(e);if(n){const e=this.getActivatedValues(n,t);if(e)return void 0!==e.get(t)||!1}return!1}setValue(e,t,n,i){let r=this.elementMap.get(e);if(r){const s=(r.get(i)||new Map).set(t,n);r.set(i,s),this.elementMap.set(e,r)}else r=(new Map).set(i,(new Map).set(t,n)),this.elementMap.set(e,r);const s=this.getValue(e,t);void 0!==s&&this.updateElement(e,t,s)}trackValue(e,t){return this.subject.asObservable().pipe(Ih(n=>n.element===e&&n.key===t))}updateStyles(){this.elementMap.forEach((e,t)=>{const n=new Set(this.elementKeyMap.get(t));let i=this.getActivatedValues(e);i&&i.forEach((e,i)=>{this.updateElement(t,i,e),n.delete(i)}),n.forEach(n=>{if(i=this.getActivatedValues(e,n),i){const e=i.get(n);this.updateElement(t,n,e)}else this.clearElement(t,n)})})}clearElement(e,t){const n=this.clearMap.get(e);if(n){const i=n.get(t);i&&(i(),this.subject.next({element:e,key:t,value:""}))}}updateElement(e,t,n){const i=this.updateMap.get(e);if(i){const r=i.get(t);r&&(r(n),this.subject.next({element:e,key:t,value:n}))}}releaseElement(e){const t=this.watcherMap.get(e);t&&(t.forEach(e=>e.unsubscribe()),this.watcherMap.delete(e));const n=this.elementMap.get(e);n&&(n.forEach((e,t)=>n.delete(t)),this.elementMap.delete(e))}triggerUpdate(e,t){const n=this.elementMap.get(e);if(n){const i=this.getActivatedValues(n,t);i&&(t?this.updateElement(e,t,i.get(t)):i.forEach((t,n)=>this.updateElement(e,n,t)))}}buildElementKeyMap(e,t){let n=this.elementKeyMap.get(e);n||(n=new Set,this.elementKeyMap.set(e,n)),n.add(t)}watchExtraTriggers(e,t,n){if(n&&n.length){let i=this.watcherMap.get(e);if(i||(i=new Map,this.watcherMap.set(e,i)),!i.get(t)){const r=W(...n).subscribe(()=>{const n=this.getValue(e,t);this.updateElement(e,t,n)});i.set(t,r)}}}findByQuery(e){return this.breakpoints.findByQuery(e)}getActivatedValues(e,t){for(let i=0;ie.mediaQuery);this.matchMedia.observe(this.hook.withPrintQuery(e)).pipe(Ay(this.hook.interceptEvents(this)),Ih(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return e.\u0275fac=function(t){return new(t||e)(gi(Rj),gi(Pj),gi(Nj))},e.\u0275prov=le({factory:function(){return new e(gi(Rj),gi(Pj),gi(Nj))},token:e,providedIn:"root"}),e})();function $j(e,t,n,i){if(void 0!==i){let r=e.get(t);r||(r=new Map,e.set(t,r)),r.set(n,i)}}new Map,new WeakMap;let Gj=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[lj]]}),e})();const Jj="inline",Qj=["row","column","row-reverse","column-reverse"];function Xj(e){e=e?e.toLowerCase():"";let[t,n,i]=e.split(" ");return Qj.find(e=>e===t)||(t=Qj[0]),n===Jj&&(n=i!==Jj?i:"",i=Jj),[t,eY(n),!!i]}function Zj(e){let[t]=Xj(e);return t.indexOf("row")>-1}function eY(e){if(e)switch(e.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":e="wrap-reverse";break;case"no":case"none":case"nowrap":e="nowrap";break;default:e="wrap"}return e}let tY=(()=>{class e extends zj{buildStyles(e){return function(e){let[t,n,i]=Xj(e);return function(e,t=null,n=!1){return{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":e,"flex-wrap":t||null}}(t,n,i)}(e)}}return e.\u0275fac=function(t){return nY(t||e)},e.\u0275prov=le({factory:function(){return new e},token:e,providedIn:"root"}),e})();const nY=Gn(tY),iY=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];let rY=(()=>{class e extends bj{constructor(e,t,n,i){super(e,n,t,i),this.DIRECTIVE_KEY="layout",this.styleCache=oY,this.init()}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(Bj),ja(tY),ja(Kj))},e.\u0275dir=qe({type:e,features:[ba]}),e})(),sY=(()=>{class e extends rY{constructor(){super(...arguments),this.inputs=iY}}return e.\u0275fac=function(t){return aY(t||e)},e.\u0275dir=qe({type:e,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[ba]}),e})();const aY=Gn(sY),oY=new Map,lY={"margin-left":null,"margin-right":null,"margin-top":null,"margin-bottom":null};let cY=(()=>{class e extends zj{constructor(e){super(),this._styler=e}buildStyles(e,t){return e.endsWith(yY)?function(e,t){const[n,i]=e.split(" "),r=e=>`-${e}`;let s="0px",a=r(i||n),o="0px";return"rtl"===t?o=r(n):s=r(n),{margin:`0px ${s} ${a} ${o}`}}(e=e.slice(0,e.indexOf(yY)),t.directionality):{}}sideEffect(e,t,n){const i=n.items;if(e.endsWith(yY)){const t=function(e,t){const[n,i]=e.split(" ");let r="0px",s="0px";return"rtl"===t?s=n:r=n,{padding:`0px ${r} ${i||n} ${s}`}}(e=e.slice(0,e.indexOf(yY)),n.directionality);this._styler.applyStyleToElements(t,n.items)}else{const t=i.pop(),r=function(e,t){const n=bY(t.directionality,t.layout),i=Object.assign({},lY);return i[n]=e,i}(e,n);this._styler.applyStyleToElements(r,i),this._styler.applyStyleToElements(lY,[t])}}}return e.\u0275fac=function(t){return new(t||e)(gi(Bj))},e.\u0275prov=le({factory:function(){return new e(gi(Bj))},token:e,providedIn:"root"}),e})();const uY=["fxLayoutGap","fxLayoutGap.xs","fxLayoutGap.sm","fxLayoutGap.md","fxLayoutGap.lg","fxLayoutGap.xl","fxLayoutGap.lt-sm","fxLayoutGap.lt-md","fxLayoutGap.lt-lg","fxLayoutGap.lt-xl","fxLayoutGap.gt-xs","fxLayoutGap.gt-sm","fxLayoutGap.gt-md","fxLayoutGap.gt-lg"];let dY=(()=>{class e extends bj{constructor(e,t,n,i,r,s){super(e,r,i,s),this.zone=t,this.directionality=n,this.styleUtils=i,this.layout="row",this.DIRECTIVE_KEY="layout-gap",this.observerSubject=new S;const a=[this.directionality.change,this.observerSubject.asObservable()];this.init(a),this.marshal.trackValue(this.nativeElement,"layout").pipe(j_(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}get childrenNodes(){const e=this.nativeElement.children,t=[];for(let n=e.length;n--;)t[n]=e[n];return t}ngAfterContentInit(){this.buildChildObservable(),this.triggerUpdate()}ngOnDestroy(){super.ngOnDestroy(),this.observer&&this.observer.disconnect()}onLayoutChange(e){const t=e.value.split(" ");this.layout=t[0],Qj.find(e=>e===this.layout)||(this.layout="row"),this.triggerUpdate()}updateWithValue(e){const t=this.childrenNodes.filter(e=>1===e.nodeType&&this.willDisplay(e)).sort((e,t)=>{const n=+this.styler.lookupStyle(e,"order"),i=+this.styler.lookupStyle(t,"order");return isNaN(n)||isNaN(i)||n===i?0:n>i?1:-1});if(t.length>0){const n=this.directionality.value,i=this.layout;"row"===i&&"rtl"===n?this.styleCache=fY:"row"===i&&"rtl"!==n?this.styleCache=_Y:"column"===i&&"rtl"===n?this.styleCache=mY:"column"===i&&"rtl"!==n&&(this.styleCache=gY),this.addStyles(e,{directionality:n,items:t,layout:i})}}clearStyles(){const e=Object.keys(this.mru).length>0,t=e?"padding":bY(this.directionality.value,this.layout);e&&super.clearStyles(),this.styleUtils.applyStyleToElements({[t]:""},this.childrenNodes)}willDisplay(e){const t=this.marshal.getValue(e,"show-hide");return!0===t||void 0===t&&"none"!==this.styleUtils.lookupStyle(e,"display")}buildChildObservable(){this.zone.runOutsideAngular(()=>{"undefined"!=typeof MutationObserver&&(this.observer=new MutationObserver(e=>{e.some(e=>e.addedNodes&&e.addedNodes.length>0||e.removedNodes&&e.removedNodes.length>0)&&this.observerSubject.next()}),this.observer.observe(this.nativeElement,{childList:!0}))})}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(Xc),ja(pg),ja(Bj),ja(cY),ja(Kj))},e.\u0275dir=qe({type:e,features:[ba]}),e})(),hY=(()=>{class e extends dY{constructor(){super(...arguments),this.inputs=uY}}return e.\u0275fac=function(t){return pY(t||e)},e.\u0275dir=qe({type:e,selectors:[["","fxLayoutGap",""],["","fxLayoutGap.xs",""],["","fxLayoutGap.sm",""],["","fxLayoutGap.md",""],["","fxLayoutGap.lg",""],["","fxLayoutGap.xl",""],["","fxLayoutGap.lt-sm",""],["","fxLayoutGap.lt-md",""],["","fxLayoutGap.lt-lg",""],["","fxLayoutGap.lt-xl",""],["","fxLayoutGap.gt-xs",""],["","fxLayoutGap.gt-sm",""],["","fxLayoutGap.gt-md",""],["","fxLayoutGap.gt-lg",""]],inputs:{fxLayoutGap:"fxLayoutGap","fxLayoutGap.xs":"fxLayoutGap.xs","fxLayoutGap.sm":"fxLayoutGap.sm","fxLayoutGap.md":"fxLayoutGap.md","fxLayoutGap.lg":"fxLayoutGap.lg","fxLayoutGap.xl":"fxLayoutGap.xl","fxLayoutGap.lt-sm":"fxLayoutGap.lt-sm","fxLayoutGap.lt-md":"fxLayoutGap.lt-md","fxLayoutGap.lt-lg":"fxLayoutGap.lt-lg","fxLayoutGap.lt-xl":"fxLayoutGap.lt-xl","fxLayoutGap.gt-xs":"fxLayoutGap.gt-xs","fxLayoutGap.gt-sm":"fxLayoutGap.gt-sm","fxLayoutGap.gt-md":"fxLayoutGap.gt-md","fxLayoutGap.gt-lg":"fxLayoutGap.gt-lg"},features:[ba]}),e})();const pY=Gn(hY),fY=new Map,mY=new Map,_Y=new Map,gY=new Map,yY=" grid";function bY(e,t){switch(t){case"column":return"margin-bottom";case"column-reverse":return"margin-top";case"row":return"rtl"===e?"margin-left":"margin-right";case"row-reverse":return"rtl"===e?"margin-right":"margin-left";default:return"rtl"===e?"margin-left":"margin-right"}}function vY(e,...t){if(null==e)throw TypeError("Cannot convert undefined or null to object");for(let n of t)if(null!=n)for(let t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e}let wY=(()=>{class e extends zj{constructor(e){super(),this.layoutConfig=e}buildStyles(e,t){let[n,i,...r]=e.split(" "),s=r.join(" ");const a=t.direction.indexOf("column")>-1?"column":"row",o=Zj(a)?"max-width":"max-height",l=Zj(a)?"min-width":"min-height",c=String(s).indexOf("calc")>-1,u=c||"auto"===s,d=String(s).indexOf("%")>-1&&!c,h=String(s).indexOf("px")>-1||String(s).indexOf("rem")>-1||String(s).indexOf("em")>-1||String(s).indexOf("vw")>-1||String(s).indexOf("vh")>-1;let p=c||h;n="0"==n?0:n,i="0"==i?0:i;const f=!n&&!i;let m={};const _={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(s||""){case"":const e=!1!==this.layoutConfig.useColumnBasisZero;s="row"===a?"0%":e?"0.000000001px":"auto";break;case"initial":case"nogrow":n=0,s="auto";break;case"grow":s="100%";break;case"noshrink":i=0,s="auto";break;case"auto":break;case"none":n=0,i=0,s="auto";break;default:p||d||isNaN(s)||(s+="%"),"0%"===s&&(p=!0),"0px"===s&&(s="0%"),m=vY(_,c?{"flex-grow":n,"flex-shrink":i,"flex-basis":p?s:"100%"}:{flex:`${n} ${i} ${p?s:"100%"}`})}return m.flex||m["flex-grow"]||(m=vY(_,c?{"flex-grow":n,"flex-shrink":i,"flex-basis":s}:{flex:`${n} ${i} ${s}`})),"0%"!==s&&"0px"!==s&&"0.000000001px"!==s&&"auto"!==s&&(m[l]=f||p&&n?s:null,m[o]=f||!u&&i?s:null),m[l]||m[o]?t.hasWrap&&(m[c?"flex-basis":"flex"]=m[o]?c?m[o]:`${n} ${i} ${m[o]}`:c?m[l]:`${n} ${i} ${m[l]}`):m=vY(_,c?{"flex-grow":n,"flex-shrink":i,"flex-basis":s}:{flex:`${n} ${i} ${s}`}),vY(m,{"box-sizing":"border-box"})}}return e.\u0275fac=function(t){return new(t||e)(gi(hj))},e.\u0275prov=le({factory:function(){return new e(gi(hj))},token:e,providedIn:"root"}),e})();const kY=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"];let SY=(()=>{class e extends bj{constructor(e,t,n,i,r){super(e,i,t,r),this.layoutConfig=n,this.marshal=r,this.DIRECTIVE_KEY="flex",this.direction=void 0,this.wrap=void 0,this.flexGrow="1",this.flexShrink="1",this.init()}get shrink(){return this.flexShrink}set shrink(e){this.flexShrink=e||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(e){this.flexGrow=e||"1",this.triggerReflow()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe(j_(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe(j_(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(e){const t=e.value.split(" ");this.direction=t[0],this.wrap=void 0!==t[1]&&"wrap"===t[1],this.triggerUpdate()}updateWithValue(e){void 0===this.direction&&(this.direction=this.getFlexFlowDirection(this.parentElement,!1!==this.layoutConfig.addFlexToParent)),void 0===this.wrap&&(this.wrap=this.hasWrap(this.parentElement));const t=this.direction,n=t.startsWith("row"),i=this.wrap;n&&i?this.styleCache=LY:n&&!i?this.styleCache=MY:!n&&i?this.styleCache=OY:n||i||(this.styleCache=DY);const r=Wj(String(e).replace(";",""),this.flexGrow,this.flexShrink);this.addStyles(r.join(" "),{direction:t,hasWrap:i})}triggerReflow(){const e=this.activatedValue;if(void 0!==e){const t=Wj(e+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,t.join(" "))}}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(Bj),ja(hj),ja(wY),ja(Kj))},e.\u0275dir=qe({type:e,inputs:{shrink:["fxShrink","shrink"],grow:["fxGrow","grow"]},features:[ba]}),e})(),CY=(()=>{class e extends SY{constructor(){super(...arguments),this.inputs=kY}}return e.\u0275fac=function(t){return xY(t||e)},e.\u0275dir=qe({type:e,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[ba]}),e})();const xY=Gn(CY),MY=new Map,DY=new Map,LY=new Map,OY=new Map;new Map;let EY=(()=>{class e extends zj{buildStyles(e,t){""===e&&(e="0");const n=String(e).indexOf("%")>-1;String(e).indexOf("px")>-1||n||isNaN(+e)||(e+="%");const i=t.isRtl?"margin-right":"margin-left";return Zj(t.layout)?{[i]:`${e}`}:{"margin-top":`${e}`}}}return e.\u0275fac=function(t){return TY(t||e)},e.\u0275prov=le({factory:function(){return new e},token:e,providedIn:"root"}),e})();const TY=Gn(EY),AY=["fxFlexOffset","fxFlexOffset.xs","fxFlexOffset.sm","fxFlexOffset.md","fxFlexOffset.lg","fxFlexOffset.xl","fxFlexOffset.lt-sm","fxFlexOffset.lt-md","fxFlexOffset.lt-lg","fxFlexOffset.lt-xl","fxFlexOffset.gt-xs","fxFlexOffset.gt-sm","fxFlexOffset.gt-md","fxFlexOffset.gt-lg"];let IY=(()=>{class e extends bj{constructor(e,t,n,i,r){super(e,n,r,i),this.directionality=t,this.DIRECTIVE_KEY="flex-offset",this.init([this.directionality.change]),this.parentElement&&this.marshal.trackValue(this.parentElement,"layout-gap").pipe(j_(this.destroySubject)).subscribe(this.triggerUpdate.bind(this))}updateWithValue(e=""){const t=this.getFlexFlowDirection(this.parentElement,!0),n="rtl"===this.directionality.value;"row"===t&&n?this.styleCache=jY:"row"!==t||n?"column"===t&&n?this.styleCache=YY:"column"!==t||n||(this.styleCache=NY):this.styleCache=FY,this.addStyles(e+"",{layout:t,isRtl:n})}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(pg),ja(EY),ja(Kj),ja(Bj))},e.\u0275dir=qe({type:e,features:[ba]}),e})(),PY=(()=>{class e extends IY{constructor(){super(...arguments),this.inputs=AY}}return e.\u0275fac=function(t){return RY(t||e)},e.\u0275dir=qe({type:e,selectors:[["","fxFlexOffset",""],["","fxFlexOffset.xs",""],["","fxFlexOffset.sm",""],["","fxFlexOffset.md",""],["","fxFlexOffset.lg",""],["","fxFlexOffset.xl",""],["","fxFlexOffset.lt-sm",""],["","fxFlexOffset.lt-md",""],["","fxFlexOffset.lt-lg",""],["","fxFlexOffset.lt-xl",""],["","fxFlexOffset.gt-xs",""],["","fxFlexOffset.gt-sm",""],["","fxFlexOffset.gt-md",""],["","fxFlexOffset.gt-lg",""]],inputs:{fxFlexOffset:"fxFlexOffset","fxFlexOffset.xs":"fxFlexOffset.xs","fxFlexOffset.sm":"fxFlexOffset.sm","fxFlexOffset.md":"fxFlexOffset.md","fxFlexOffset.lg":"fxFlexOffset.lg","fxFlexOffset.xl":"fxFlexOffset.xl","fxFlexOffset.lt-sm":"fxFlexOffset.lt-sm","fxFlexOffset.lt-md":"fxFlexOffset.lt-md","fxFlexOffset.lt-lg":"fxFlexOffset.lt-lg","fxFlexOffset.lt-xl":"fxFlexOffset.lt-xl","fxFlexOffset.gt-xs":"fxFlexOffset.gt-xs","fxFlexOffset.gt-sm":"fxFlexOffset.gt-sm","fxFlexOffset.gt-md":"fxFlexOffset.gt-md","fxFlexOffset.gt-lg":"fxFlexOffset.gt-lg"},features:[ba]}),e})();const RY=Gn(PY),jY=new Map,YY=new Map,FY=new Map,NY=new Map;new Map;const HY={margin:0,width:"100%",height:"100%","min-width":"100%","min-height":"100%"};let VY=(()=>{class e extends zj{buildStyles(e){return HY}}return e.\u0275fac=function(t){return UY(t||e)},e.\u0275prov=le({factory:function(){return new e},token:e,providedIn:"root"}),e})();const UY=Gn(VY);let BY=(()=>{class e extends bj{constructor(e,t,n,i){super(e,n,t,i),this.styleCache=zY,this.addStyles("")}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(Bj),ja(VY),ja(Kj))},e.\u0275dir=qe({type:e,selectors:[["","fxFill",""],["","fxFlexFill",""]],features:[ba]}),e})();const zY=new Map;let WY=(()=>{class e extends zj{buildStyles(e,t){const n={},[i,r]=e.split(" ");switch(i){case"center":n["justify-content"]="center";break;case"space-around":n["justify-content"]="space-around";break;case"space-between":n["justify-content"]="space-between";break;case"space-evenly":n["justify-content"]="space-evenly";break;case"end":case"flex-end":n["justify-content"]="flex-end";break;case"start":case"flex-start":default:n["justify-content"]="flex-start"}switch(r){case"start":case"flex-start":n["align-items"]=n["align-content"]="flex-start";break;case"center":n["align-items"]=n["align-content"]="center";break;case"end":case"flex-end":n["align-items"]=n["align-content"]="flex-end";break;case"space-between":n["align-content"]="space-between",n["align-items"]="stretch";break;case"space-around":n["align-content"]="space-around",n["align-items"]="stretch";break;case"baseline":n["align-content"]="stretch",n["align-items"]="baseline";break;case"stretch":default:n["align-items"]=n["align-content"]="stretch"}return vY(n,{display:t.inline?"inline-flex":"flex","flex-direction":t.layout,"box-sizing":"border-box","max-width":"stretch"===r?Zj(t.layout)?null:"100%":null,"max-height":"stretch"===r&&Zj(t.layout)?"100%":null})}}return e.\u0275fac=function(t){return qY(t||e)},e.\u0275prov=le({factory:function(){return new e},token:e,providedIn:"root"}),e})();const qY=Gn(WY),KY=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"];let $Y=(()=>{class e extends bj{constructor(e,t,n,i){super(e,n,t,i),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe(j_(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(e){const t=this.layout||"row",n=this.inline;"row"===t&&n?this.styleCache=tF:"row"!==t||n?"row-reverse"===t&&n?this.styleCache=iF:"row-reverse"!==t||n?"column"===t&&n?this.styleCache=nF:"column"!==t||n?"column-reverse"===t&&n?this.styleCache=rF:"column-reverse"!==t||n||(this.styleCache=eF):this.styleCache=XY:this.styleCache=ZY:this.styleCache=QY,this.addStyles(e,{layout:t,inline:n})}onLayoutChange(e){const t=e.value.split(" ");this.layout=t[0],this.inline=e.value.includes("inline"),Qj.find(e=>e===this.layout)||(this.layout="row"),this.triggerUpdate()}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(Bj),ja(WY),ja(Kj))},e.\u0275dir=qe({type:e,features:[ba]}),e})(),GY=(()=>{class e extends $Y{constructor(){super(...arguments),this.inputs=KY}}return e.\u0275fac=function(t){return JY(t||e)},e.\u0275dir=qe({type:e,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},features:[ba]}),e})();const JY=Gn(GY),QY=new Map,XY=new Map,ZY=new Map,eF=new Map,tF=new Map,nF=new Map,iF=new Map,rF=new Map;let sF=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[lj,fg]]}),e})();new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map;let aF=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[lj]]}),e})();new ol("11.0.0-beta.33");let oF=(()=>{class e{constructor(e,t){Qd(t)&&!e&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(t,n=[]){return{ngModule:e,providers:t.serverLoaded?[{provide:hj,useValue:Object.assign(Object.assign({},dj),t)},{provide:fj,useValue:n,multi:!0},{provide:pj,useValue:!0}]:[{provide:hj,useValue:Object.assign(Object.assign({},dj),t)},{provide:fj,useValue:n,multi:!0}]}}}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)(gi(pj),gi(Yc))},imports:[[sF,Gj,aF],sF,Gj,aF]}),e})();function lF(e,t=O_){var n;const i=(n=e)instanceof Date&&!isNaN(+n)?+e-t.now():Math.abs(e);return e=>e.lift(new cF(i,t))}class cF{constructor(e,t){this.delay=e,this.scheduler=t}call(e,t){return t.subscribe(new uF(e,this.delay,this.scheduler))}}class uF extends f{constructor(e,t,n){super(e),this.delay=t,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(e){const t=e.source,n=t.queue,i=e.scheduler,r=e.destination;for(;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){const t=Math.max(0,n[0].time-i.now());this.schedule(e,t)}else this.unsubscribe(),t.active=!1}_schedule(e){this.active=!0,this.destination.add(e.schedule(uF.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}scheduleNotification(e){if(!0===this.errored)return;const t=this.scheduler,n=new dF(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}_next(e){this.scheduleNotification(J_.createNext(e))}_error(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}_complete(){this.scheduleNotification(J_.createComplete()),this.unsubscribe()}}class dF{constructor(e,t){this.time=e,this.notification=t}}const hF=["mat-menu-item",""],pF=["*"];function fF(e,t){if(1&e){const e=Wa();Na(0,"div",0),Ga("keydown",function(t){return jt(e),eo()._handleKeydown(t)})("click",function(){return jt(e),eo().closed.emit("click")})("@transformMenu.start",function(t){return jt(e),eo()._onAnimationStart(t)})("@transformMenu.done",function(t){return jt(e),eo()._onAnimationDone(t)}),Na(1,"div",1),io(2),Ha(),Ha()}if(2&e){const e=eo();Ya("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),Aa("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const mF={transformMenu:_p("transformMenu",[vp("void",bp({opacity:0,transform:"scale(0.8)"})),kp("void => enter",gp("120ms cubic-bezier(0, 0, 0.2, 1)",bp({opacity:1,transform:"scale(1)"}))),kp("* => void",gp("100ms 25ms linear",bp({opacity:0})))]),fadeInItems:_p("fadeInItems",[vp("showing",bp({opacity:1})),kp("void => *",[bp({opacity:0}),gp("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},_F=new Zn("MatMenuContent"),gF=new Zn("MAT_MENU_PANEL");class yF{}const bF=Rb(Ib(yF));let vF=(()=>{class e extends bF{constructor(e,t,n,i){super(),this._elementRef=e,this._focusMonitor=n,this._parentMenu=i,this.role="menuitem",this._hovered=new S,this._focused=new S,this._highlighted=!1,this._triggersSubmenu=!1,i&&i.addItem&&i.addItem(this)}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var e,t;const n=this._elementRef.nativeElement.cloneNode(!0),i=n.querySelectorAll("mat-icon, .material-icons");for(let r=0;r{class e{constructor(e,t,n){this._elementRef=e,this._ngZone=t,this._defaultOptions=n,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new pc,this._tabSubscription=d.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new S,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new dc,this.close=this.closed,this.panelId="mat-menu-panel-"+kF++}get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=s_(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=s_(e)}set panelClass(e){const t=this._previousPanelClass;t&&t.length&&t.split(" ").forEach(e=>{this._classList[e]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(e=>{this._classList[e]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new eb(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(H_(this._directDescendantItems),V_(e=>W(...e.map(e=>e._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(H_(this._directDescendantItems),V_(e=>W(...e.map(e=>e._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const t=e.keyCode,n=this._keyManager;switch(t){case Ng:Gg(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case Wg:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case Kg:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:t!==qg&&t!==$g||n.setFocusOrigin("keyboard"),n.onKeydown(e)}}focusFirstItem(e="program"){this.lazyContent?this._ngZone.onStable.pipe(Ig(1)).subscribe(()=>this._focusFirstItem(e)):this._focusFirstItem(e)}_focusFirstItem(e){const t=this._keyManager;if(t.setFocusOrigin(e).setFirstItemActive(),!t.activeItem&&this._directDescendantItems.length){let e=this._directDescendantItems.first._getHostElement().parentElement;for(;e;){if("menu"===e.getAttribute("role")){e.focus();break}e=e.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const t=`mat-elevation-z${Math.min(4+e,24)}`,n=Object.keys(this._classList).find(e=>e.startsWith("mat-elevation-z"));n&&n!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[t]=!0,this._previousElevation=t)}setPositionClasses(e=this.xPosition,t=this.yPosition){const n=this._classList;n["mat-menu-before"]="before"===e,n["mat-menu-after"]="after"===e,n["mat-menu-above"]="above"===t,n["mat-menu-below"]="below"===t}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(H_(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(e=>e._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(Xc),ja(wF))},e.\u0275dir=qe({type:e,contentQueries:function(e,t,n){if(1&e&&(xc(n,_F,1),xc(n,vF,1),xc(n,vF,0)),2&e){let e;Sc(e=Mc())&&(t.lazyContent=e.first),Sc(e=Mc())&&(t._allItems=e),Sc(e=Mc())&&(t.items=e)}},viewQuery:function(e,t){if(1&e&&Cc(Il,1),2&e){let e;Sc(e=Mc())&&(t.templateRef=e.first)}},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),e})(),CF=(()=>{class e extends SF{constructor(e,t,n){super(e,t,n)}}return e.\u0275fac=function(t){return new(t||e)(ja(tl),ja(Xc),ja(wF))},e.\u0275cmp=He({type:e,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,t){2&e&&Aa("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[$o([{provide:gF,useExisting:e}]),ba],ngContentSelectors:pF,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,t){1&e&&(no(),Pa(0,fF,3,6,"ng-template"))},directives:[Ed],styles:['.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:"";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],encapsulation:2,data:{animation:[mF.transformMenu,mF.fadeInItems]},changeDetection:0}),e})();const xF=new Zn("mat-menu-scroll-strategy"),MF={provide:xF,deps:[Cy],useFactory:function(e){return()=>e.scrollStrategies.reposition()}},DF=cg({passive:!0});let LF=(()=>{class e{constructor(e,t,n,i,r,s,a,o){this._overlay=e,this._element=t,this._viewContainerRef=n,this._menuItemInstance=s,this._dir=a,this._focusMonitor=o,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=d.EMPTY,this._hoverSubscription=d.EMPTY,this._menuCloseSubscription=d.EMPTY,this._handleTouchStart=()=>this._openedBy="touch",this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new dc,this.onMenuOpen=this.menuOpened,this.menuClosed=new dc,this.onMenuClose=this.menuClosed,this._scrollStrategy=i,this._parentMaterialMenu=r instanceof SF?r:void 0,t.nativeElement.addEventListener("touchstart",this._handleTouchStart,DF),s&&(s._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(e=>{this._destroyMenu(),"click"!==e&&"tab"!==e||!this._parentMaterialMenu||this._parentMaterialMenu.closed.emit(e)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,DF),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const e=this._createOverlay(),t=e.getConfig();this._setPosition(t.positionStrategy),t.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,e.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof SF&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}_destroyMenu(){if(!this._overlayRef||!this.menuOpen)return;const e=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this._restoreFocus(),e instanceof SF?(e._resetAnimation(),e.lazyContent?e._animationDone.pipe(Ih(e=>"void"===e.toState),Ig(1),j_(e.lazyContent._attached)).subscribe({next:()=>e.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),e.lazyContent&&e.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")}_setMenuElevation(){if(this.menu.setElevation){let e=0,t=this.menu.parentMenu;for(;t;)e++,t=t.parentMenu;this.menu.setElevation(e)}}_restoreFocus(){this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null}_setIsMenuOpen(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=e)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new ry({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e){this.menu.setPositionClasses&&e.positionChanges.subscribe(e=>{this.menu.setPositionClasses("start"===e.connectionPair.overlayX?"after":"before","top"===e.connectionPair.overlayY?"below":"above")})}_setPosition(e){let[t,n]="before"===this.menu.xPosition?["end","start"]:["start","end"],[i,r]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[s,a]=[i,r],[o,l]=[t,n],c=0;this.triggersSubmenu()?(l=t="before"===this.menu.xPosition?"start":"end",n=o="end"===t?"start":"end",c="bottom"===i?8:-8):this.menu.overlapTrigger||(s="top"===i?"bottom":"top",a="top"===r?"bottom":"top"),e.withPositions([{originX:t,originY:s,overlayX:o,overlayY:i,offsetY:c},{originX:n,originY:s,overlayX:l,overlayY:i,offsetY:c},{originX:t,originY:a,overlayX:o,overlayY:r,offsetY:-c},{originX:n,originY:a,overlayX:l,overlayY:r,offsetY:-c}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),t=this._overlayRef.detachments();return W(e,this._parentMaterialMenu?this._parentMaterialMenu.closed:Th(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Ih(e=>e!==this._menuItemInstance),Ih(()=>this._menuOpen)):Th(),t)}_handleMousedown(e){db(e)||(this._openedBy=0===e.button?"mouse":null,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const t=e.keyCode;t!==Fg&&t!==Hg||(this._openedBy="keyboard"),this.triggersSubmenu()&&(t===Kg&&"ltr"===this.dir||t===Wg&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Ih(e=>e===this._menuItemInstance&&!e.disabled),lF(0,C_)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof SF&&this.menu._isAnimating?this.menu._animationDone.pipe(Ig(1),lF(0,C_),j_(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new Mg(this.menu.templateRef,this._viewContainerRef)),this._portal}}return e.\u0275fac=function(t){return new(t||e)(ja(Cy),ja(tl),ja(Hl),ja(xF),ja(gF,8),ja(vF,10),ja(pg,8),ja(fb))},e.\u0275dir=qe({type:e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(e,t){1&e&&Ga("mousedown",function(e){return t._handleMousedown(e)})("keydown",function(e){return t._handleKeydown(e)})("click",function(e){return t._handleClick(e)}),2&e&&Aa("aria-expanded",t.menuOpen||null)("aria-controls",t.menuOpen?t.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),e})(),OF=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[MF],imports:[Ab]}),e})(),EF=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[MF],imports:[[Gd,Ab,cv,Ey,OF],kg,Ab,OF]}),e})();const TF=["mat-sort-header",""];function AF(e,t){if(1&e){const e=Wa();Na(0,"div",3),Ga("@arrowPosition.start",function(){return jt(e),eo()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return jt(e),eo()._disableViewStateAnimation=!1}),Va(1,"div",4),Na(2,"div",5),Va(3,"div",6),Va(4,"div",7),Va(5,"div",8),Ha(),Ha()}if(2&e){const e=eo();Ya("@arrowOpacity",e._getArrowViewState())("@arrowPosition",e._getArrowViewState())("@allowChildren",e._getArrowDirectionState()),rs(2),Ya("@indicator",e._getArrowDirectionState()),rs(1),Ya("@leftPointer",e._getArrowDirectionState()),rs(1),Ya("@rightPointer",e._getArrowDirectionState())}}const IF=["*"];class PF{}const RF=Fb(Ib(PF));let jF=(()=>{class e extends RF{constructor(){super(...arguments),this.sortables=new Map,this._stateChanges=new S,this.start="asc",this._direction="",this.sortChange=new dc}get direction(){return this._direction}set direction(e){this._direction=e}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=s_(e)}register(e){this.sortables.set(e.id,e)}deregister(e){this.sortables.delete(e.id)}sort(e){this.active!=e.id?(this.active=e.id,this.direction=e.start?e.start:this.start):this.direction=this.getNextSortDirection(e),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(e){if(!e)return"";let t=function(e,t){let n=["asc","desc"];return"desc"==e&&n.reverse(),t||n.push(""),n}(e.start||this.start,null!=e.disableClear?e.disableClear:this.disableClear),n=t.indexOf(this.direction)+1;return n>=t.length&&(n=0),t[n]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return e.\u0275fac=function(t){return YF(t||e)},e.\u0275dir=qe({type:e,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"],active:["matSortActive","active"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[ba,ut]}),e})();const YF=Gn(jF),FF=Ob.ENTERING+" "+Lb.STANDARD_CURVE,NF={indicator:_p("indicator",[vp("active-asc, asc",bp({transform:"translateY(0px)"})),vp("active-desc, desc",bp({transform:"translateY(10px)"})),kp("active-asc <=> active-desc",gp(FF))]),leftPointer:_p("leftPointer",[vp("active-asc, asc",bp({transform:"rotate(-45deg)"})),vp("active-desc, desc",bp({transform:"rotate(45deg)"})),kp("active-asc <=> active-desc",gp(FF))]),rightPointer:_p("rightPointer",[vp("active-asc, asc",bp({transform:"rotate(45deg)"})),vp("active-desc, desc",bp({transform:"rotate(-45deg)"})),kp("active-asc <=> active-desc",gp(FF))]),arrowOpacity:_p("arrowOpacity",[vp("desc-to-active, asc-to-active, active",bp({opacity:1})),vp("desc-to-hint, asc-to-hint, hint",bp({opacity:.54})),vp("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",bp({opacity:0})),kp("* => asc, * => desc, * => active, * => hint, * => void",gp("0ms")),kp("* <=> *",gp(FF))]),arrowPosition:_p("arrowPosition",[kp("* => desc-to-hint, * => desc-to-active",gp(FF,wp([bp({transform:"translateY(-25%)"}),bp({transform:"translateY(0)"})]))),kp("* => hint-to-desc, * => active-to-desc",gp(FF,wp([bp({transform:"translateY(0)"}),bp({transform:"translateY(25%)"})]))),kp("* => asc-to-hint, * => asc-to-active",gp(FF,wp([bp({transform:"translateY(25%)"}),bp({transform:"translateY(0)"})]))),kp("* => hint-to-asc, * => active-to-asc",gp(FF,wp([bp({transform:"translateY(0)"}),bp({transform:"translateY(-25%)"})]))),vp("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",bp({transform:"translateY(0)"})),vp("hint-to-desc, active-to-desc, desc",bp({transform:"translateY(-25%)"})),vp("hint-to-asc, active-to-asc, asc",bp({transform:"translateY(25%)"}))]),allowChildren:_p("allowChildren",[kp("* <=> *",[Cp("@*",Sp(),{optional:!0})])])};let HF=(()=>{class e{constructor(){this.changes=new S,this.sortButtonLabel=e=>`Change sorting for ${e}`}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({factory:function(){return new e},token:e,providedIn:"root"}),e})();const VF={provide:HF,deps:[[new ki,new Si,HF]],useFactory:function(e){return e||new HF}};class UF{}const BF=Ib(UF);let zF=(()=>{class e extends BF{constructor(e,t,n,i,r,s){super(),this._intl=e,this._changeDetectorRef=t,this._sort=n,this._columnDef=i,this._focusMonitor=r,this._elementRef=s,this._showIndicatorHint=!1,this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._rerenderSubscription=W(n.sortChange,n._stateChanges,e.changes).subscribe(()=>{this._isSorted()&&this._updateArrowDirection(),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),t.markForCheck()})}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=s_(e)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{const t=!!e;t!==this._showIndicatorHint&&(this._setIndicatorHintVisible(t),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(e){this._isDisabled()&&e||(this._showIndicatorHint=e,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(e){this._viewState=e,this._disableViewStateAnimation&&(this._viewState={toState:e.toState})}_toggleOnInteraction(){this._sort.sort(this),"hint"!==this._viewState.toState&&"active"!==this._viewState.toState||(this._disableViewStateAnimation=!0);const e=this._isSorted()?{fromState:this._arrowDirection,toState:"active"}:{fromState:"active",toState:this._arrowDirection};this._setAnimationTransitionState(e),this._showIndicatorHint=!1}_handleClick(){this._isDisabled()||this._toggleOnInteraction()}_handleKeydown(e){this._isDisabled()||e.keyCode!==Hg&&e.keyCode!==Fg||(e.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const e=this._viewState.fromState;return(e?`${e}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}}return e.\u0275fac=function(t){return new(t||e)(ja(HF),ja(Dl),ja(jF,8),ja("MAT_SORT_HEADER_COLUMN_DEF",8),ja(fb),ja(tl))},e.\u0275cmp=He({type:e,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(e,t){1&e&&Ga("click",function(){return t._handleClick()})("keydown",function(e){return t._handleKeydown(e)})("mouseenter",function(){return t._setIndicatorHintVisible(!0)})("mouseleave",function(){return t._setIndicatorHintVisible(!1)}),2&e&&(Aa("aria-sort",t._getAriaSortAttribute()),fo("mat-sort-header-disabled",t._isDisabled()))},inputs:{disabled:"disabled",arrowPosition:"arrowPosition",disableClear:"disableClear",id:["mat-sort-header","id"],start:"start"},exportAs:["matSortHeader"],features:[ba],attrs:TF,ngContentSelectors:IF,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(e,t){1&e&&(no(),Na(0,"div",0),Na(1,"div",1),io(2),Ha(),Pa(3,AF,6,6,"div",2),Ha()),2&e&&(fo("mat-sort-header-sorted",t._isSorted())("mat-sort-header-position-before","before"==t.arrowPosition),Aa("tabindex",t._isDisabled()?null:0),rs(3),Ya("ngIf",t._renderArrow()))},directives:[Pd],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],encapsulation:2,data:{animation:[NF.indicator,NF.leftPointer,NF.rightPointer,NF.arrowOpacity,NF.arrowPosition,NF.allowChildren]},changeDetection:0}),e})(),WF=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[VF],imports:[[Gd,Ab]]}),e})(),qF=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)}}),e})(),KF=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Gd,Ab,qF,Tg]]}),e})();const $F={tooltipState:_p("state",[vp("initial, void, hidden",bp({opacity:0,transform:"scale(0)"})),vp("visible",bp({transform:"scale(1)"})),kp("* => visible",gp("200ms cubic-bezier(0, 0, 0.2, 1)",wp([bp({opacity:0,transform:"scale(0)",offset:0}),bp({opacity:.5,transform:"scale(0.99)",offset:.5}),bp({opacity:1,transform:"scale(1)",offset:1})]))),kp("* => hidden",gp("100ms cubic-bezier(0, 0, 0.2, 1)",bp({opacity:0})))])},GF=cg({passive:!0}),JF=new Zn("mat-tooltip-scroll-strategy"),QF={provide:JF,deps:[Cy],useFactory:function(e){return()=>e.scrollStrategies.reposition({scrollThrottle:20})}},XF=new Zn("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let ZF=(()=>{class e{constructor(e,t,n,i,r,s,a,o,l,c,u,d){this._overlay=e,this._elementRef=t,this._scrollDispatcher=n,this._viewContainerRef=i,this._ngZone=r,this._platform=s,this._ariaDescriber=a,this._focusMonitor=o,this._dir=c,this._defaultOptions=u,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new S,this._handleKeydown=e=>{this._isTooltipVisible()&&e.keyCode===Ng&&!Gg(e)&&(e.preventDefault(),e.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=l,u&&(u.position&&(this.position=u.position),u.touchGestures&&(this.touchGestures=u.touchGestures)),r.runOutsideAngular(()=>{t.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(e){this._disabled=s_(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(j_(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),e.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(([t,n])=>{e.removeEventListener(t,n,GF)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const t=this._createOverlay();this._detach(),this._portal=this._portal||new xg(eN,this._viewContainerRef),this._tooltipInstance=t.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(j_(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(e)}hide(e=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(e)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),t=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(e);return t.positionChanges.pipe(j_(this._destroyed)).subscribe(e=>{this._tooltipInstance&&e.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:t,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(j_(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(){const e=this._overlayRef.getConfig().positionStrategy,t=this._getOrigin(),n=this._getOverlayPosition();e.withPositions([Object.assign(Object.assign({},t.main),n.main),Object.assign(Object.assign({},t.fallback),n.fallback)])}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let n;"above"==t||"below"==t?n={originX:"center",originY:"above"==t?"top":"bottom"}:"before"==t||"left"==t&&e||"right"==t&&!e?n={originX:"start",originY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(n={originX:"end",originY:"center"});const{x:i,y:r}=this._invertPosition(n.originX,n.originY);return{main:n,fallback:{originX:i,originY:r}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let n;"above"==t?n={overlayX:"center",overlayY:"bottom"}:"below"==t?n={overlayX:"center",overlayY:"top"}:"before"==t||"left"==t&&e||"right"==t&&!e?n={overlayX:"end",overlayY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(n={overlayX:"start",overlayY:"center"});const{x:i,y:r}=this._invertPosition(n.overlayX,n.overlayY);return{main:n,fallback:{overlayX:i,overlayY:r}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Ig(1),j_(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,t){return"above"===this.position||"below"===this.position?"top"===t?t="bottom":"bottom"===t&&(t="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:t}}_setupPointerEnterEventsIfNeeded(){!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.length&&(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",()=>this.hide()],["wheel",e=>this._wheelListener(e)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const t=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",t],["touchcancel",t])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([e,t])=>{this._elementRef.nativeElement.addEventListener(e,t,GF)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const t=(this._document||document).elementFromPoint(e.clientX,e.clientY),n=this._elementRef.nativeElement;t===n||n.contains(t)||this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const t=this._elementRef.nativeElement,n=t.style;("on"===e||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(n.userSelect=n.msUserSelect=n.webkitUserSelect=n.MozUserSelect="none"),"on"!==e&&t.draggable||(n.webkitUserDrag="none"),n.touchAction="none",n.webkitTapHighlightColor="transparent"}}}return e.\u0275fac=function(t){return new(t||e)(ja(Cy),ja(tl),ja(vg),ja(Hl),ja(Xc),ja(ng),ja(Gy),ja(fb),ja(JF),ja(pg,8),ja(XF,8),ja(Tu))},e.\u0275dir=qe({type:e,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]}),e})(),eN=(()=>{class e{constructor(e,t){this._changeDetectorRef=e,this._breakpointObserver=t,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new S,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}show(e){this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=null,this._markForCheck()},e)}hide(e){this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=null,this._markForCheck()},e)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(e){const t=e.toState;"hidden"!==t||this.isVisible()||this._onHide.next(),"visible"!==t&&"hidden"!==t||(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}}return e.\u0275fac=function(t){return new(t||e)(ja(Dl),ja(Ew))},e.\u0275cmp=He({type:e,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){1&e&&Ga("click",function(){return t._handleBodyInteraction()},!1,_r)("auxclick",function(){return t._handleBodyInteraction()},!1,_r),2&e&&po("zoom","visible"===t._visibility?1:null)},decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){if(1&e&&(Na(0,"div",0),Ga("@state.start",function(){return t._animationStart()})("@state.done",function(e){return t._animationDone(e)}),ac(1,"async"),Mo(2),Ha()),2&e){let e=null;fo("mat-tooltip-handset",null==(e=oc(1,5,t._isHandset))?null:e.matches),Ya("ngClass",t.tooltipClass)("@state",t._visibility),rs(2),Do(t.message)}},directives:[Ed],pipes:[Kd],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[$F.tooltipState]},changeDetection:0}),e})(),tN=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[QF],imports:[[wb,Gd,Ey,Ab],Ab,kg]}),e})();function nN(e,t){if(1&e&&(Na(0,"mat-option",19),Mo(1),Ha()),2&e){const e=t.$implicit;Ya("value",e),rs(1),Lo(" ",e," ")}}function iN(e,t){if(1&e){const e=Wa();Na(0,"mat-form-field",16),Na(1,"mat-select",17),Ga("selectionChange",function(t){return jt(e),eo(2)._changePageSize(t.value)}),Pa(2,nN,2,2,"mat-option",18),Ha(),Ha()}if(2&e){const e=eo(2);Ya("appearance",e._formFieldAppearance)("color",e.color),rs(1),Ya("value",e.pageSize)("disabled",e.disabled)("aria-label",e._intl.itemsPerPageLabel),rs(1),Ya("ngForOf",e._displayedPageSizeOptions)}}function rN(e,t){if(1&e&&(Na(0,"div",20),Mo(1),Ha()),2&e){const e=eo(2);rs(1),Do(e.pageSize)}}function sN(e,t){if(1&e&&(Na(0,"div",12),Na(1,"div",13),Mo(2),Ha(),Pa(3,iN,3,6,"mat-form-field",14),Pa(4,rN,2,1,"div",15),Ha()),2&e){const e=eo();rs(2),Lo(" ",e._intl.itemsPerPageLabel," "),rs(1),Ya("ngIf",e._displayedPageSizeOptions.length>1),rs(1),Ya("ngIf",e._displayedPageSizeOptions.length<=1)}}function aN(e,t){if(1&e){const e=Wa();Na(0,"button",21),Ga("click",function(){return jt(e),eo().firstPage()}),dn(),Na(1,"svg",7),Va(2,"path",22),Ha(),Ha()}if(2&e){const e=eo();Ya("matTooltip",e._intl.firstPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),Aa("aria-label",e._intl.firstPageLabel)}}function oN(e,t){if(1&e){const e=Wa();dn(),hn(),Na(0,"button",23),Ga("click",function(){return jt(e),eo().lastPage()}),dn(),Na(1,"svg",7),Va(2,"path",24),Ha(),Ha()}if(2&e){const e=eo();Ya("matTooltip",e._intl.lastPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),Aa("aria-label",e._intl.lastPageLabel)}}let lN=(()=>{class e{constructor(){this.changes=new S,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(e,t,n)=>{if(0==n||0==t)return`0 of ${n}`;const i=e*t;return`${i+1} \u2013 ${i<(n=Math.max(n,0))?Math.min(i+t,n):i+t} of ${n}`}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({factory:function(){return new e},token:e,providedIn:"root"}),e})();const cN={provide:lN,deps:[[new ki,new Si,lN]],useFactory:function(e){return e||new lN}},uN=new Zn("MAT_PAGINATOR_DEFAULT_OPTIONS");class dN{}const hN=Ib(Fb(dN));let pN=(()=>{class e extends hN{constructor(e,t,n){if(super(),this._intl=e,this._changeDetectorRef=t,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new dc,this._intlChanges=e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),n){const{pageSize:e,pageSizeOptions:t,hidePageSize:i,showFirstLastButtons:r}=n;null!=e&&(this._pageSize=e),null!=t&&(this._pageSizeOptions=t),null!=i&&(this._hidePageSize=i),null!=r&&(this._showFirstLastButtons=r)}}get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(a_(e),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(e){this._length=a_(e),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(a_(e),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(e=>a_(e)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(e){this._hidePageSize=s_(e)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(e){this._showFirstLastButtons=s_(e)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex++,this._emitPageEvent(e)}previousPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex--,this._emitPageEvent(e)}firstPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=0,this._emitPageEvent(e)}lastPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(e)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const e=this.getNumberOfPages()-1;return this.pageIndexe-t),this._changeDetectorRef.markForCheck())}_emitPageEvent(e){this.page.emit({previousPageIndex:e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return e.\u0275fac=function(t){return new(t||e)(ja(lN),ja(Dl),ja(void 0))},e.\u0275dir=qe({type:e,inputs:{pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",color:"color"},outputs:{page:"page"},features:[ba]}),e})(),fN=(()=>{class e extends pN{constructor(e,t,n){super(e,t,n),n&&null!=n.formFieldAppearance&&(this._formFieldAppearance=n.formFieldAppearance)}}return e.\u0275fac=function(t){return new(t||e)(ja(lN),ja(Dl),ja(uN,8))},e.\u0275cmp=He({type:e,selectors:[["mat-paginator"]],hostAttrs:[1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[ba],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(e,t){1&e&&(Na(0,"div",0),Na(1,"div",1),Pa(2,sN,5,3,"div",2),Na(3,"div",3),Na(4,"div",4),Mo(5),Ha(),Pa(6,aN,3,5,"button",5),Na(7,"button",6),Ga("click",function(){return t.previousPage()}),dn(),Na(8,"svg",7),Va(9,"path",8),Ha(),Ha(),hn(),Na(10,"button",9),Ga("click",function(){return t.nextPage()}),dn(),Na(11,"svg",7),Va(12,"path",10),Ha(),Ha(),Pa(13,oN,3,5,"button",11),Ha(),Ha(),Ha()),2&e&&(rs(2),Ya("ngIf",!t.hidePageSize),rs(3),Lo(" ",t._intl.getRangeLabel(t.pageIndex,t.pageSize,t.length)," "),rs(1),Ya("ngIf",t.showFirstLastButtons),rs(1),Ya("matTooltip",t._intl.previousPageLabel)("matTooltipDisabled",t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",t._previousButtonsDisabled()),Aa("aria-label",t._intl.previousPageLabel),rs(3),Ya("matTooltip",t._intl.nextPageLabel)("matTooltipDisabled",t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",t._nextButtonsDisabled()),Aa("aria-label",t._intl.nextPageLabel),rs(3),Ya("ngIf",t.showFirstLastButtons))},directives:[Pd,fw,ZF,TL,zA,Ad,Sv],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}\n"],encapsulation:2,changeDetection:0}),e})(),mN=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[cN],imports:[[Gd,_w,qA,tN,Ab]]}),e})(),_N=(()=>{class e{constructor(e){this.data=e,this.message="Please wait...",e.message&&(this.message=e.message)}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)(ja(jv))},e.\u0275cmp=He({type:e,selectors:[["app-loader"]],decls:4,vars:1,consts:[[1,"loader"]],template:function(e,t){1&e&&(Na(0,"div",0),Va(1,"mat-spinner"),Na(2,"p"),Mo(3),Ha(),Ha()),2&e&&(rs(3),Lo(" ",t.message," "))},directives:[Xv],styles:[".loader[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{text-align:center;margin:0 auto}.loader[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:1em}"]}),e})(),gN=(()=>{class e{constructor(e){this._dialog=e,this.initValues()}initValues(){this.dialogRef=void 0,this.lazyDismissTimer=void 0,this.loadingRequestsStream$=new S,this.loadingRequestsStream$.pipe(M_(),Ah(e=>e?this.createLoader():this.dismissLoader())).subscribe()}showLoader(){var e;null===(e=null==this?void 0:this.loadingRequestsStream$)||void 0===e||e.next(!0)}hideLoader(){var e;null===(e=null==this?void 0:this.loadingRequestsStream$)||void 0===e||e.next(!1)}createLoader(){return Object(n_.b)(this,void 0,void 0,function*(){return this.dialogRef?Promise.resolve():(this.dialogRef=this._dialog.open(_N,{width:"80%",data:{message:"Please wait..."},closeOnNavigation:!1}),this.dialogRef.afterOpened().toPromise())})}dismissLoader(){return Object(n_.b)(this,void 0,void 0,function*(){if(!this.dialogRef||this.lazyDismissTimer)return Promise.resolve();this.lazyDismissTimer=setTimeout(()=>Object(n_.b)(this,void 0,void 0,function*(){var e,t;return null===(e=this.dialogRef)||void 0===e||e.close(),yield null===(t=this.dialogRef)||void 0===t?void 0:t.afterClosed().toPromise(),this.dialogRef=void 0,void 0!==this.lazyDismissTimer&&clearTimeout(this.lazyDismissTimer),this.lazyDismissTimer=void 0,Promise.resolve()}),700)})}}return e.\u0275fac=function(t){return new(t||e)(gi(Vv))},e.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),yN=(()=>{class e{constructor(e){this.toast=e}ngOnDestroy(){var e;null===(e=this._configState)||void 0===e||e.unsubscribe()}show(e,t="OK"){return this.toast.open(e,t,{duration:8e3})}}return e.\u0275fac=function(t){return new(t||e)(gi(Bw))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),bN=(()=>{class e{constructor(e){this._notifier=e}handleError(e){console.error("Error from global error handler",e)}}return e.\u0275fac=function(t){return new(t||e)(gi(yN))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),vN=(()=>{class e{constructor(e,t){this._loader=e,this._notifier=t}intercept(e,t){return this._loader.showLoader(),t.handle(e).pipe(function(e=-1){return t=>t.lift(new ew(e,t))}(1),nw(e=>{let t="";return t=e.error instanceof ErrorEvent?`Error: ${e.error.message}`:`Error Code: ${e.status}\nMessage: ${e.message}`,this._notifier.show(t),i_(t)}),sw(()=>{this._loader.hideLoader()}))}}return e.\u0275fac=function(t){return new(t||e)(gi(gN),gi(yN))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),wN=(()=>{class e{constructor(e,t){this._http=e,this._formlyJsonSchema=t}loadSchema(e){return Object(n_.b)(this,void 0,void 0,function*(){var t=yield this._http.get(e).toPromise(),n=[];if(void 0!==t){const e=this._formlyJsonSchema.toFieldConfig(t);n=e.fieldGroup?e.fieldGroup:[]}return n})}}return e.\u0275fac=function(t){return new(t||e)(gi(Xh),gi(wC))},e.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),kN=(()=>{class e{constructor(e){this._router=e}canActivate(e,t){return kC.a.currentAuthenticatedUser().then(()=>!0).catch(()=>(this._router.navigate(["auth/signin"]),!1))}}return e.\u0275fac=function(t){return new(t||e)(gi(cD))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),SN=(()=>{class e{constructor(e){this._router=e}canActivate(e,t){return kC.a.currentAuthenticatedUser().then(()=>(this._router.navigate(["profile"]),!1)).catch(()=>!0)}}return e.\u0275fac=function(t){return new(t||e)(gi(cD))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),CN=(()=>{class e{constructor(){this._authState=new S,this.authState=this._authState.asObservable(),this._currentToken="",AD.a.listen("auth",e=>{const{channel:t,payload:n}=e;"auth"===t&&(this._authState.next(n.event),"signOut"==n.event?(this._currentUser=void 0,this._currentToken=""):"signIn"==n.event?(this._currentUser={id:n.data.attributes.sub,first_name:n.data.attributes.name,last_name:n.data.attributes.family_name,email:n.data.attributes.email,mobile:n.data.attributes.phone_number,email_verified:n.data.attributes.email_verified,mobile_verified:n.data.attributes.phone_number_verified},this._currentToken=n.data.signInUserSession.idToken.jwtToken):"tokenRefresh"==n.event&&this.getAccessToken())}),this.load()}get loggedIn(){return void 0!==this._currentUser}get CurrentUser(){return this._currentUser}load(){return Object(n_.b)(this,void 0,void 0,function*(){void 0!==(yield this.getUserInfo())&&(yield this.getAccessToken())})}CurrentToken(){return this._currentToken}getAccessToken(){return Object(n_.b)(this,void 0,void 0,function*(){var e=(yield kC.a.currentAuthenticatedUser()).signInUserSession.idToken.jwtToken;return this._currentToken=e||"",e})}getUserInfo(){return Object(n_.b)(this,void 0,void 0,function*(){var e=yield kC.a.currentUserInfo();return this._currentUser=null!=e&&"attributes"in e?{id:e.attributes.sub,first_name:e.attributes.name,last_name:e.attributes.family_name,email:e.attributes.email,mobile:e.attributes.phone_number,email_verified:e.attributes.email_verified,mobile_verified:e.attributes.mobile_verified}:void 0,this._currentUser})}resendConfirmationCode(e){return kC.a.resendSignUp(e)}confirmSignUp(e,t){return kC.a.confirmSignUp(e,t)}signUp(e){var t=["first_name","last_name","email","mobile","password"],n={};for(const[i,r]of Object.entries(e))t.includes(i)||(n[i]=r);return kC.a.signUp({username:e.email,password:e.password,attributes:{email:e.email,name:e.first_name,family_name:e.last_name,phone_number:e.mobile},clientMetadata:n})}signIn(e,t){return kC.a.signIn(e,t)}signOut(){return kC.a.signOut()}}return e.SIGN_IN="signIn",e.SIGN_OUT="signOut",e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();function xN(e,t){if(1&e){const e=Wa();Na(0,"button",2),Ga("click",function(){jt(e);const n=t.index;return eo().onClick(n+1)}),Na(1,"mat-icon"),Mo(2),Ha(),Ha()}if(2&e){const e=t.index,n=eo();fo("notclickable",n.readonly),Ya("color",n.color)("id","star_"+e),rs(2),Lo(" ",n.showIcon(e)," ")}}function MN(e,t){1&e&&(Na(0,"mat-error"),Mo(1," Star count is "),Na(2,"strong"),Mo(3,"required"),Ha(),Mo(4," and cannot be zero\n"),Ha())}let DN=(()=>{class e{constructor(){this.rating=0,this.starCount=5,this.readonly=!0,this.ratingUpdated=new dc,this.ratingArr=[]}ngOnInit(){for(let e=0;e=e+1?"star":"star_border"}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=He({type:e,selectors:[["mat-star-rating"]],inputs:{rating:"rating",starCount:"starCount",color:"color",readonly:"readonly"},outputs:{ratingUpdated:"ratingUpdated"},decls:2,vars:2,consts:[["mat-icon-button","",3,"notclickable","color","id","click",4,"ngFor","ngForOf"],[4,"ngIf"],["mat-icon-button","",3,"color","id","click"]],template:function(e,t){1&e&&(Pa(0,xN,3,5,"button",0),Pa(1,MN,5,0,"mat-error",1)),2&e&&(Ya("ngForOf",t.ratingArr),rs(1),Ya("ngIf",null==t.starCount||0==t.starCount))},directives:[Ad,Pd,fw,KD,fL],styles:["button[_ngcontent-%COMP%]{height:20px;width:25px;line-height:20px}.notclickable[_ngcontent-%COMP%]{cursor:default}"]}),e})();const LN=["datepickerToggle"];function ON(e,t){if(1&e&&Va(0,"mat-datepicker-toggle",5),2&e){const e=eo(),t=Ra(5);Ya("disabled",e.to.disabled)("for",t)}}let EN=(()=>{class e extends ST{constructor(){super(...arguments),this.defaultOptions={templateOptions:{datepickerOptions:{startView:"month",datepickerTogglePosition:"suffix",dateInput:()=>{},dateChange:()=>{},monthSelected:()=>{},yearSelected:()=>{}}}}}ngAfterViewInit(){super.ngAfterViewInit(),console.log(this.to),this.to[this.to.datepickerOptions.datepickerTogglePosition]=this.datepickerToggle,this.datepickerInput._formField=this.formField}}return e.\u0275fac=function(t){return TN(t||e)},e.\u0275cmp=He({type:e,selectors:[["lib-date-time-picker"]],viewQuery:function(e,t){if(1&e&&(Cc(UL,3),Cc(iT,3),Cc(LN,3)),2&e){let e;Sc(e=Mc())&&(t.formFieldControl=e.first),Sc(e=Mc())&&(t.datepickerInput=e.first),Sc(e=Mc())&&(t.datepickerToggle=e.first)}},features:[ba],decls:6,vars:19,consts:[["matInput","",3,"id","errorStateMatcher","formControl","ngxMatDatetimePicker","max","min","formlyAttributes","placeholder","tabindex","readonly","required"],["datepickerInput",""],["datepickerToggle",""],[3,"color","dateClass","disabled","opened","panelClass","startAt","startView","touchUi","monthSelected","yearSelected"],["picker",""],[3,"disabled","for"]],template:function(e,t){if(1&e){const e=Wa();Va(0,"input",0,1),Pa(2,ON,1,2,"ng-template",null,2,Ec),Na(4,"ngx-mat-datetime-picker",3,4),Ga("monthSelected",function(n){jt(e);const i=Ra(5);return t.to.datepickerOptions.monthSelected(t.field,n,i)})("yearSelected",function(n){jt(e);const i=Ra(5);return t.to.datepickerOptions.yearSelected(t.field,n,i)}),Ha()}if(2&e){const e=Ra(5);Ya("id",t.id)("errorStateMatcher",t.errorStateMatcher)("formControl",t.formControl)("ngxMatDatetimePicker",e)("max",t.to.datepickerOptions.max)("min",t.to.datepickerOptions.min)("formlyAttributes",t.field)("placeholder",t.to.placeholder)("tabindex",t.to.tabindex)("readonly",t.to.readonly)("required",t.to.required),rs(4),Ya("color",t.to.color)("dateClass",t.to.datepickerOptions.dateClass)("disabled",t.to.datepickerOptions.disabled)("opened",t.to.datepickerOptions.opened)("panelClass",t.to.datepickerOptions.panelClass)("startAt",t.to.datepickerOptions.startAt)("startView",t.to.datepickerOptions.startView)("touchUi",t.to.datepickerOptions.touchUi)}},directives:[UL,Xw,iT,vk,fS,iC,vS,XE,zO],styles:[""]}),e})();const TN=Gn(EN);let AN=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[GI,JI,iP,rP,_w,BL,$D,oP,FP,xS,MS,Vw,Uv,GR,Zv,OR,qA,zR,$R,WO,sj,EF,WF,KF,XT,oF,mN]}),e})();function IN(e,t){var n;return`should NOT have fewer than ${null===(n=null==t?void 0:t.templateOptions)||void 0===n?void 0:n.minItems} items`}function PN(e,t){var n;return`should NOT have more than ${null===(n=null==t?void 0:t.templateOptions)||void 0===n?void 0:n.maxItems} items`}function RN(e,t){var n;return`should NOT be shorter than ${null===(n=null==t?void 0:t.templateOptions)||void 0===n?void 0:n.minLength} characters`}function jN(e,t){var n;return`should NOT be longer than ${null===(n=null==t?void 0:t.templateOptions)||void 0===n?void 0:n.maxLength} characters`}function YN(e,t){var n;return`should be >= ${null===(n=null==t?void 0:t.templateOptions)||void 0===n?void 0:n.min}`}function FN(e,t){var n;return`should be <= ${null===(n=null==t?void 0:t.templateOptions)||void 0===n?void 0:n.max}`}function NN(e,t){var n;return`should be multiple of ${null===(n=null==t?void 0:t.templateOptions)||void 0===n?void 0:n.step}`}function HN(e,t){var n;return`should be > ${null===(n=null==t?void 0:t.templateOptions)||void 0===n?void 0:n.step}`}function VN(e,t){var n;return`should be < ${null===(n=null==t?void 0:t.templateOptions)||void 0===n?void 0:n.step}`}function UN(e,t){var n;return`should be equal to constant "${null===(n=null==t?void 0:t.templateOptions)||void 0===n?void 0:n.const}"`}const BN={parse:{dateInput:"l, LT"},display:{dateInput:"l, LT",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};let zN=(()=>{class e{constructor(e){if(e)throw new Error("WebCommonModule is already loaded. Import in your base AppModule only.")}static forRoot(){return{ngModule:e,providers:[yN,gN,{provide:pr,useClass:bN},{provide:ep,useClass:vN,multi:!0},{provide:$S,multi:!0,useFactory:()=>({validators:[],validationMessages:[{name:"required",message:"This field is required"},{name:"null",message:"should be null"},{name:"pattern",message:"Invalid input format"},{name:"minlength",message:RN},{name:"maxlength",message:jN},{name:"min",message:YN},{name:"max",message:FN},{name:"multipleOf",message:NN},{name:"exclusiveMinimum",message:HN},{name:"exclusiveMaximum",message:VN},{name:"minItems",message:IN},{name:"maxItems",message:PN},{name:"uniqueItems",message:"should NOT have duplicate items"},{name:"const",message:UN},{name:"email",message:"not a valid email"}],types:[{name:"datetime",component:EN,wrappers:["form-field"]},{name:"string",extends:"input"},{name:"number",extends:"input",defaultOptions:{templateOptions:{type:"number"}}},{name:"integer",extends:"input",defaultOptions:{templateOptions:{type:"number"}}},{name:"boolean",extends:"checkbox"},{name:"enum",extends:"select"}]})},{provide:wE,useValue:BN},{provide:vE,useClass:dT,deps:[Nb,cT]}]}}}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)(gi(e,12))},providers:[gN,bN,yN,wN],imports:[[Gd,AN,sT,rT,gC.forRoot(),rI],AN,MS,gC,rI,cI,sT,rT,Qb]}),e})(),WN=(()=>{class e{constructor(e){if(e)throw new Error("AuthenticationModule is already loaded. Import in your base AppModule only.")}static forRoot(){return{ngModule:e,providers:[kN,SN,CN]}}}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)(gi(e,12))},providers:[],imports:[[Gd]]}),e})();const qN=new Zn("basePath");class KN{constructor(e={}){this.apiKeys=e.apiKeys,this.username=e.username,this.password=e.password,this.accessToken=e.accessToken,this.basePath=e.basePath,this.withCredentials=e.withCredentials}selectHeaderContentType(e){if(0==e.length)return;let t=e.find(e=>this.isJsonMime(e));return void 0===t?e[0]:t}selectHeaderAccept(e){if(0==e.length)return;let t=e.find(e=>this.isJsonMime(e));return void 0===t?e[0]:t}isJsonMime(e){const t=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!=e&&(t.test(e)||"application/json-patch+json"===e.toLowerCase())}}let $N=(()=>{class e{constructor(e,t,n){this.httpClient=e,this.basePath="/",this.defaultHeaders=new Fh,this.configuration=new KN,t&&(this.basePath=t),n&&(this.configuration=n,this.basePath=t||n.basePath||this.basePath)}canConsumeForm(e){for(const t of e)if("multipart/form-data"===t)return!0;return!1}addressIdOptions(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling addressIdOptions.");let i=this.defaultHeaders;const r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.request("options",`${this.basePath}/address/${encodeURIComponent(String(e))}`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}addressOptions(e="body",t=!1){let n=this.defaultHeaders;const i=this.configuration.selectHeaderAccept(["application/json"]);return null!=i&&(n=n.set("Accept",i)),this.httpClient.request("options",`${this.basePath}/address`,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}deleteAddress(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteAddress.");let i=this.defaultHeaders;this.configuration.apiKeys&&this.configuration.apiKeys["X-CognitoUser"]&&(i=i.set("X-CognitoUser",this.configuration.apiKeys["X-CognitoUser"]));const r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.request("delete",`${this.basePath}/address/${encodeURIComponent(String(e))}`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}getAddresses(e="body",t=!1){let n=this.defaultHeaders;this.configuration.apiKeys&&this.configuration.apiKeys["X-CognitoUser"]&&(n=n.set("X-CognitoUser",this.configuration.apiKeys["X-CognitoUser"]));const i=this.configuration.selectHeaderAccept(["application/json"]);return null!=i&&(n=n.set("Accept",i)),this.httpClient.request("get",`${this.basePath}/address`,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}postAddress(e,t="body",n=!1){let i=this.defaultHeaders;this.configuration.apiKeys&&this.configuration.apiKeys["X-CognitoUser"]&&(i=i.set("X-CognitoUser",this.configuration.apiKeys["X-CognitoUser"]));const r=this.configuration.selectHeaderAccept(["application/json"]);null!=r&&(i=i.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return null!=s&&(i=i.set("Content-Type",s)),this.httpClient.request("post",`${this.basePath}/address`,{body:e,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}}return e.\u0275fac=function(t){return new(t||e)(gi(Xh),gi(qN,8),gi(KN,8))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),GN=(()=>{class e{constructor(e,t,n){this.httpClient=e,this.basePath="/",this.defaultHeaders=new Fh,this.configuration=new KN,t&&(this.basePath=t),n&&(this.configuration=n,this.basePath=t||n.basePath||this.basePath)}canConsumeForm(e){for(const t of e)if("multipart/form-data"===t)return!0;return!1}areaOptions(e="body",t=!1){let n=this.defaultHeaders;const i=this.configuration.selectHeaderAccept(["application/json"]);return null!=i&&(n=n.set("Accept",i)),this.httpClient.request("options",`${this.basePath}/area`,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}getAreas(e="body",t=!1){let n=this.defaultHeaders;const i=this.configuration.selectHeaderAccept(["application/json"]);return null!=i&&(n=n.set("Accept",i)),this.httpClient.request("get",`${this.basePath}/area`,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}}return e.\u0275fac=function(t){return new(t||e)(gi(Xh),gi(qN,8),gi(KN,8))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();class JN extends Nh{encodeKey(e){return(e=super.encodeKey(e)).replace(/\+/gi,"%2B")}encodeValue(e){return(e=super.encodeValue(e)).replace(/\+/gi,"%2B")}}let QN=(()=>{class e{constructor(e,t,n){this.httpClient=e,this.basePath="/",this.defaultHeaders=new Fh,this.configuration=new KN,t&&(this.basePath=t),n&&(this.configuration=n,this.basePath=t||n.basePath||this.basePath)}canConsumeForm(e){for(const t of e)if("multipart/form-data"===t)return!0;return!1}bookingIdAvailablevendorsOptions(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling bookingIdAvailablevendorsOptions.");let i=this.defaultHeaders;const r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.request("options",`${this.basePath}/booking/${encodeURIComponent(String(e))}/availablevendors`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}bookingIdMediaOptions(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling bookingIdMediaOptions.");let i=this.defaultHeaders;const r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.request("options",`${this.basePath}/booking/${encodeURIComponent(String(e))}/media`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}bookingIdOptions(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling bookingIdOptions.");let i=this.defaultHeaders;const r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.request("options",`${this.basePath}/booking/${encodeURIComponent(String(e))}`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}bookingIdVendorsOptions(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling bookingIdVendorsOptions.");let i=this.defaultHeaders;const r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.request("options",`${this.basePath}/booking/${encodeURIComponent(String(e))}/vendors`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}bookingOptions(e="body",t=!1){let n=this.defaultHeaders;const i=this.configuration.selectHeaderAccept(["application/json"]);return null!=i&&(n=n.set("Accept",i)),this.httpClient.request("options",`${this.basePath}/booking`,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}bookingVendorsIdOptions(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling bookingVendorsIdOptions.");let i=this.defaultHeaders;const r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.request("options",`${this.basePath}/booking/vendors/${encodeURIComponent(String(e))}`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}bookingVendorsIdReviewOptions(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling bookingVendorsIdReviewOptions.");let i=this.defaultHeaders;const r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.request("options",`${this.basePath}/booking/vendors/${encodeURIComponent(String(e))}/review`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}deleteBooking(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteBooking.");let i=this.defaultHeaders;this.configuration.apiKeys&&this.configuration.apiKeys["X-CognitoUser"]&&(i=i.set("X-CognitoUser",this.configuration.apiKeys["X-CognitoUser"]));const r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.request("delete",`${this.basePath}/booking/${encodeURIComponent(String(e))}`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}getBookingAvailableVendors(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getBookingAvailableVendors.");let i=this.defaultHeaders;this.configuration.apiKeys&&this.configuration.apiKeys["X-CognitoUser"]&&(i=i.set("X-CognitoUser",this.configuration.apiKeys["X-CognitoUser"]));const r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.request("get",`${this.basePath}/booking/${encodeURIComponent(String(e))}/availablevendors`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}getBookingId(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getBookingId.");let i=this.defaultHeaders;this.configuration.apiKeys&&this.configuration.apiKeys["X-CognitoUser"]&&(i=i.set("X-CognitoUser",this.configuration.apiKeys["X-CognitoUser"]));const r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.request("get",`${this.basePath}/booking/${encodeURIComponent(String(e))}`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}getBookingMedia(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getBookingMedia.");let i=this.defaultHeaders;this.configuration.apiKeys&&this.configuration.apiKeys["X-CognitoUser"]&&(i=i.set("X-CognitoUser",this.configuration.apiKeys["X-CognitoUser"]));const r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.request("get",`${this.basePath}/booking/${encodeURIComponent(String(e))}/media`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}getBookingVendorId(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getBookingVendorId.");let i=this.defaultHeaders;this.configuration.apiKeys&&this.configuration.apiKeys["X-CognitoUser"]&&(i=i.set("X-CognitoUser",this.configuration.apiKeys["X-CognitoUser"]));const r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.request("get",`${this.basePath}/booking/vendors/${encodeURIComponent(String(e))}`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}getBookings(e,t,n,i,r="body",s=!1){let a=new Vh({encoder:new JN});e&&e.forEach(e=>{a=a.append("status",e)}),null!=t&&(a=a.set("from_date",t.toISOString())),null!=n&&(a=a.set("to_date",n.toISOString())),null!=i&&(a=a.set("service_id",i));let o=this.defaultHeaders;this.configuration.apiKeys&&this.configuration.apiKeys["X-CognitoUser"]&&(o=o.set("X-CognitoUser",this.configuration.apiKeys["X-CognitoUser"]));const l=this.configuration.selectHeaderAccept(["application/json"]);return null!=l&&(o=o.set("Accept",l)),this.httpClient.request("get",`${this.basePath}/booking`,{params:a,withCredentials:this.configuration.withCredentials,headers:o,observe:r,reportProgress:s})}getVendorBookings(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getVendorBookings.");let i=this.defaultHeaders;this.configuration.apiKeys&&this.configuration.apiKeys["X-CognitoUser"]&&(i=i.set("X-CognitoUser",this.configuration.apiKeys["X-CognitoUser"]));const r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.request("get",`${this.basePath}/booking/${encodeURIComponent(String(e))}/vendors`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}postBooking(e,t="body",n=!1){let i=this.defaultHeaders;this.configuration.apiKeys&&this.configuration.apiKeys["X-CognitoUser"]&&(i=i.set("X-CognitoUser",this.configuration.apiKeys["X-CognitoUser"]));const r=this.configuration.selectHeaderAccept(["application/json"]);null!=r&&(i=i.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return null!=s&&(i=i.set("Content-Type",s)),this.httpClient.request("post",`${this.basePath}/booking`,{body:e,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}postBookingId(e,t,n="body",i=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling postBookingId.");let r=this.defaultHeaders;this.configuration.apiKeys&&this.configuration.apiKeys["X-CognitoUser"]&&(r=r.set("X-CognitoUser",this.configuration.apiKeys["X-CognitoUser"]));const s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(r=r.set("Accept",s));const a=this.configuration.selectHeaderContentType(["application/json"]);return null!=a&&(r=r.set("Content-Type",a)),this.httpClient.request("post",`${this.basePath}/booking/${encodeURIComponent(String(e))}`,{body:t,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:i})}postBookingVendorId(e,t,n="body",i=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling postBookingVendorId.");let r=this.defaultHeaders;this.configuration.apiKeys&&this.configuration.apiKeys["X-CognitoUser"]&&(r=r.set("X-CognitoUser",this.configuration.apiKeys["X-CognitoUser"]));const s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(r=r.set("Accept",s));const a=this.configuration.selectHeaderContentType(["application/json"]);return null!=a&&(r=r.set("Content-Type",a)),this.httpClient.request("post",`${this.basePath}/booking/vendors/${encodeURIComponent(String(e))}`,{body:t,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:i})}postBookingVendorReviewId(e,t,n="body",i=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling postBookingVendorReviewId.");let r=this.defaultHeaders;this.configuration.apiKeys&&this.configuration.apiKeys["X-CognitoUser"]&&(r=r.set("X-CognitoUser",this.configuration.apiKeys["X-CognitoUser"]));const s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(r=r.set("Accept",s));const a=this.configuration.selectHeaderContentType(["application/json"]);return null!=a&&(r=r.set("Content-Type",a)),this.httpClient.request("post",`${this.basePath}/booking/vendors/${encodeURIComponent(String(e))}/review`,{body:t,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:i})}postVendorBooking(e,t,n="body",i=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling postVendorBooking.");let r=this.defaultHeaders;this.configuration.apiKeys&&this.configuration.apiKeys["X-CognitoUser"]&&(r=r.set("X-CognitoUser",this.configuration.apiKeys["X-CognitoUser"]));const s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(r=r.set("Accept",s));const a=this.configuration.selectHeaderContentType(["application/json"]);return null!=a&&(r=r.set("Content-Type",a)),this.httpClient.request("post",`${this.basePath}/booking/${encodeURIComponent(String(e))}/vendors`,{body:t,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:i})}}return e.\u0275fac=function(t){return new(t||e)(gi(Xh),gi(qN,8),gi(KN,8))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),XN=(()=>{class e{constructor(e,t,n){this.httpClient=e,this.basePath="/",this.defaultHeaders=new Fh,this.configuration=new KN,t&&(this.basePath=t),n&&(this.configuration=n,this.basePath=t||n.basePath||this.basePath)}canConsumeForm(e){for(const t of e)if("multipart/form-data"===t)return!0;return!1}categoriesIdServicesOptions(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling categoriesIdServicesOptions.");let i=this.defaultHeaders;const r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.request("options",`${this.basePath}/categories/${encodeURIComponent(String(e))}/services`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}categoriesOptions(e="body",t=!1){let n=this.defaultHeaders;const i=this.configuration.selectHeaderAccept(["application/json"]);return null!=i&&(n=n.set("Accept",i)),this.httpClient.request("options",`${this.basePath}/categories`,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}getCategories(e="body",t=!1){let n=this.defaultHeaders;const i=this.configuration.selectHeaderAccept(["application/json"]);return null!=i&&(n=n.set("Accept",i)),this.httpClient.request("get",`${this.basePath}/categories`,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}getServicesByCategory(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getServicesByCategory.");let i=this.defaultHeaders;const r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.request("get",`${this.basePath}/categories/${encodeURIComponent(String(e))}/services`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}}return e.\u0275fac=function(t){return new(t||e)(gi(Xh),gi(qN,8),gi(KN,8))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),ZN=(()=>{class e{constructor(e,t,n){this.httpClient=e,this.basePath="/",this.defaultHeaders=new Fh,this.configuration=new KN,t&&(this.basePath=t),n&&(this.configuration=n,this.basePath=t||n.basePath||this.basePath)}canConsumeForm(e){for(const t of e)if("multipart/form-data"===t)return!0;return!1}checkoutOptions(e="body",t=!1){let n=this.defaultHeaders;const i=this.configuration.selectHeaderAccept(["application/json"]);return null!=i&&(n=n.set("Accept",i)),this.httpClient.request("options",`${this.basePath}/checkout`,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}postCheckout(e,t="body",n=!1){let i=this.defaultHeaders;this.configuration.apiKeys&&this.configuration.apiKeys["X-CognitoUser"]&&(i=i.set("X-CognitoUser",this.configuration.apiKeys["X-CognitoUser"]));const r=this.configuration.selectHeaderAccept(["application/json"]);null!=r&&(i=i.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return null!=s&&(i=i.set("Content-Type",s)),this.httpClient.request("post",`${this.basePath}/checkout`,{body:e,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}}return e.\u0275fac=function(t){return new(t||e)(gi(Xh),gi(qN,8),gi(KN,8))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),eH=(()=>{class e{constructor(e,t,n){this.httpClient=e,this.basePath="/",this.defaultHeaders=new Fh,this.configuration=new KN,t&&(this.basePath=t),n&&(this.configuration=n,this.basePath=t||n.basePath||this.basePath)}canConsumeForm(e){for(const t of e)if("multipart/form-data"===t)return!0;return!1}deleteMedia(e,t,n="body",i=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteMedia.");let r=this.defaultHeaders;this.configuration.apiKeys&&this.configuration.apiKeys["X-CognitoUser"]&&(r=r.set("X-CognitoUser",this.configuration.apiKeys["X-CognitoUser"]));const s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(r=r.set("Accept",s));const a=this.configuration.selectHeaderContentType(["application/json"]);return null!=a&&(r=r.set("Content-Type",a)),this.httpClient.request("delete",`${this.basePath}/media/${encodeURIComponent(String(e))}`,{body:t,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:i})}getMedia(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getMedia.");let i=this.defaultHeaders;this.configuration.apiKeys&&this.configuration.apiKeys["X-CognitoUser"]&&(i=i.set("X-CognitoUser",this.configuration.apiKeys["X-CognitoUser"]));const r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.request("get",`${this.basePath}/media/${encodeURIComponent(String(e))}`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}mediaIdOptions(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling mediaIdOptions.");let i=this.defaultHeaders;const r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.request("options",`${this.basePath}/media/${encodeURIComponent(String(e))}`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}mediaOptions(e="body",t=!1){let n=this.defaultHeaders;const i=this.configuration.selectHeaderAccept(["application/json"]);return null!=i&&(n=n.set("Accept",i)),this.httpClient.request("options",`${this.basePath}/media`,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}postMedia(e,t="body",n=!1){let i=this.defaultHeaders;this.configuration.apiKeys&&this.configuration.apiKeys["X-CognitoUser"]&&(i=i.set("X-CognitoUser",this.configuration.apiKeys["X-CognitoUser"]));const r=this.configuration.selectHeaderAccept(["application/json"]);null!=r&&(i=i.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return null!=s&&(i=i.set("Content-Type",s)),this.httpClient.request("post",`${this.basePath}/media`,{body:e,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}}return e.\u0275fac=function(t){return new(t||e)(gi(Xh),gi(qN,8),gi(KN,8))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),tH=(()=>{class e{constructor(e,t,n){this.httpClient=e,this.basePath="/",this.defaultHeaders=new Fh,this.configuration=new KN,t&&(this.basePath=t),n&&(this.configuration=n,this.basePath=t||n.basePath||this.basePath)}canConsumeForm(e){for(const t of e)if("multipart/form-data"===t)return!0;return!1}deleteQuoteItem(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling deleteQuoteItem.");let i=this.defaultHeaders;this.configuration.apiKeys&&this.configuration.apiKeys["X-CognitoUser"]&&(i=i.set("X-CognitoUser",this.configuration.apiKeys["X-CognitoUser"]));const r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.request("delete",`${this.basePath}/quote/item/${encodeURIComponent(String(e))}`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}getBookingQuote(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getBookingQuote.");let i=this.defaultHeaders;this.configuration.apiKeys&&this.configuration.apiKeys["X-CognitoUser"]&&(i=i.set("X-CognitoUser",this.configuration.apiKeys["X-CognitoUser"]));const r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.request("get",`${this.basePath}/quote/booking/${encodeURIComponent(String(e))}`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}getQuoteById(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getQuoteById.");let i=this.defaultHeaders;this.configuration.apiKeys&&this.configuration.apiKeys["X-CognitoUser"]&&(i=i.set("X-CognitoUser",this.configuration.apiKeys["X-CognitoUser"]));const r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.request("get",`${this.basePath}/quote/${encodeURIComponent(String(e))}`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}postBookingQuote(e,t,n="body",i=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling postBookingQuote.");let r=this.defaultHeaders;this.configuration.apiKeys&&this.configuration.apiKeys["X-CognitoUser"]&&(r=r.set("X-CognitoUser",this.configuration.apiKeys["X-CognitoUser"]));const s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(r=r.set("Accept",s));const a=this.configuration.selectHeaderContentType(["application/json"]);return null!=a&&(r=r.set("Content-Type",a)),this.httpClient.request("post",`${this.basePath}/quote/booking/${encodeURIComponent(String(e))}`,{body:t,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:i})}postQuoteItemById(e,t,n="body",i=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling postQuoteItemById.");let r=this.defaultHeaders;this.configuration.apiKeys&&this.configuration.apiKeys["X-CognitoUser"]&&(r=r.set("X-CognitoUser",this.configuration.apiKeys["X-CognitoUser"]));const s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(r=r.set("Accept",s));const a=this.configuration.selectHeaderContentType(["application/json"]);return null!=a&&(r=r.set("Content-Type",a)),this.httpClient.request("post",`${this.basePath}/quote/item/${encodeURIComponent(String(e))}`,{body:t,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:i})}postQuoteItems(e,t,n="body",i=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling postQuoteItems.");let r=this.defaultHeaders;this.configuration.apiKeys&&this.configuration.apiKeys["X-CognitoUser"]&&(r=r.set("X-CognitoUser",this.configuration.apiKeys["X-CognitoUser"]));const s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(r=r.set("Accept",s));const a=this.configuration.selectHeaderContentType(["application/json"]);return null!=a&&(r=r.set("Content-Type",a)),this.httpClient.request("post",`${this.basePath}/quote/${encodeURIComponent(String(e))}/item`,{body:t,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:i})}publishQuote(e,t,n="body",i=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling publishQuote.");let r=this.defaultHeaders;this.configuration.apiKeys&&this.configuration.apiKeys["X-CognitoUser"]&&(r=r.set("X-CognitoUser",this.configuration.apiKeys["X-CognitoUser"]));const s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(r=r.set("Accept",s));const a=this.configuration.selectHeaderContentType(["application/json"]);return null!=a&&(r=r.set("Content-Type",a)),this.httpClient.request("post",`${this.basePath}/quote/${encodeURIComponent(String(e))}/publish`,{body:t,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:i})}quoteBookingIdOptions(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling quoteBookingIdOptions.");let i=this.defaultHeaders;const r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.request("options",`${this.basePath}/quote/booking/${encodeURIComponent(String(e))}`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}quoteIdItemOptions(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling quoteIdItemOptions.");let i=this.defaultHeaders;const r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.request("options",`${this.basePath}/quote/${encodeURIComponent(String(e))}/item`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}quoteIdOptions(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling quoteIdOptions.");let i=this.defaultHeaders;const r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.request("options",`${this.basePath}/quote/${encodeURIComponent(String(e))}`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}quoteIdPublishOptions(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling quoteIdPublishOptions.");let i=this.defaultHeaders;const r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.request("options",`${this.basePath}/quote/${encodeURIComponent(String(e))}/publish`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}quoteItemIdOptions(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling quoteItemIdOptions.");let i=this.defaultHeaders;const r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.request("options",`${this.basePath}/quote/item/${encodeURIComponent(String(e))}`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}}return e.\u0275fac=function(t){return new(t||e)(gi(Xh),gi(qN,8),gi(KN,8))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),nH=(()=>{class e{constructor(e,t,n){this.httpClient=e,this.basePath="/",this.defaultHeaders=new Fh,this.configuration=new KN,t&&(this.basePath=t),n&&(this.configuration=n,this.basePath=t||n.basePath||this.basePath)}canConsumeForm(e){for(const t of e)if("multipart/form-data"===t)return!0;return!1}getServicesBySkillset(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getServicesBySkillset.");let i=this.defaultHeaders;const r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.request("get",`${this.basePath}/skillsets/${encodeURIComponent(String(e))}/services`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}getSkillsets(e="body",t=!1){let n=this.defaultHeaders;const i=this.configuration.selectHeaderAccept(["application/json"]);return null!=i&&(n=n.set("Accept",i)),this.httpClient.request("get",`${this.basePath}/skillsets`,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}skillsetsIdServicesOptions(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling skillsetsIdServicesOptions.");let i=this.defaultHeaders;const r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.request("options",`${this.basePath}/skillsets/${encodeURIComponent(String(e))}/services`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}skillsetsOptions(e="body",t=!1){let n=this.defaultHeaders;const i=this.configuration.selectHeaderAccept(["application/json"]);return null!=i&&(n=n.set("Accept",i)),this.httpClient.request("options",`${this.basePath}/skillsets`,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}}return e.\u0275fac=function(t){return new(t||e)(gi(Xh),gi(qN,8),gi(KN,8))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),iH=(()=>{class e{constructor(e,t,n){this.httpClient=e,this.basePath="/",this.defaultHeaders=new Fh,this.configuration=new KN,t&&(this.basePath=t),n&&(this.configuration=n,this.basePath=t||n.basePath||this.basePath)}canConsumeForm(e){for(const t of e)if("multipart/form-data"===t)return!0;return!1}getBookingById(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getBookingById.");let i=this.defaultHeaders;this.configuration.apiKeys&&this.configuration.apiKeys["X-CognitoUser"]&&(i=i.set("X-CognitoUser",this.configuration.apiKeys["X-CognitoUser"]));const r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.request("get",`${this.basePath}/vendorbooking/${encodeURIComponent(String(e))}`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}postBooking(e,t,n="body",i=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling postBooking.");let r=this.defaultHeaders;this.configuration.apiKeys&&this.configuration.apiKeys["X-CognitoUser"]&&(r=r.set("X-CognitoUser",this.configuration.apiKeys["X-CognitoUser"]));const s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(r=r.set("Accept",s));const a=this.configuration.selectHeaderContentType(["application/json"]);return null!=a&&(r=r.set("Content-Type",a)),this.httpClient.request("post",`${this.basePath}/vendorbooking/${encodeURIComponent(String(e))}`,{body:t,withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:i})}searchBookings(e,t,n,i,r,s,a,o,l="body",c=!1){let u=new Vh({encoder:new JN});e&&e.forEach(e=>{u=u.append("status",e)}),null!=t&&(u=u.set("from_date",t.toISOString())),null!=n&&(u=u.set("to_date",n.toISOString())),null!=i&&(u=u.set("schedule_start_time_from",i.toISOString())),null!=r&&(u=u.set("schedule_start_time_to",r.toISOString())),null!=s&&(u=u.set("schedule_end_time_from",s.toISOString())),null!=a&&(u=u.set("schedule_end_time_to",a.toISOString())),null!=o&&(u=u.set("service_id",o));let d=this.defaultHeaders;this.configuration.apiKeys&&this.configuration.apiKeys["X-CognitoUser"]&&(d=d.set("X-CognitoUser",this.configuration.apiKeys["X-CognitoUser"]));const h=this.configuration.selectHeaderAccept(["application/json"]);return null!=h&&(d=d.set("Accept",h)),this.httpClient.request("get",`${this.basePath}/vendorbooking/search`,{params:u,withCredentials:this.configuration.withCredentials,headers:d,observe:l,reportProgress:c})}vendorbookingIdOptions(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling vendorbookingIdOptions.");let i=this.defaultHeaders;const r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.request("options",`${this.basePath}/vendorbooking/${encodeURIComponent(String(e))}`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}vendorbookingSearchOptions(e="body",t=!1){let n=this.defaultHeaders;const i=this.configuration.selectHeaderAccept(["application/json"]);return null!=i&&(n=n.set("Accept",i)),this.httpClient.request("options",`${this.basePath}/vendorbooking/search`,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}}return e.\u0275fac=function(t){return new(t||e)(gi(Xh),gi(qN,8),gi(KN,8))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),rH=(()=>{class e{constructor(e,t,n){this.httpClient=e,this.basePath="/",this.defaultHeaders=new Fh,this.configuration=new KN,t&&(this.basePath=t),n&&(this.configuration=n,this.basePath=t||n.basePath||this.basePath)}canConsumeForm(e){for(const t of e)if("multipart/form-data"===t)return!0;return!1}deleteVendorSkillset(e,t="body",n=!1){let i=this.defaultHeaders;this.configuration.apiKeys&&this.configuration.apiKeys["X-CognitoUser"]&&(i=i.set("X-CognitoUser",this.configuration.apiKeys["X-CognitoUser"]));const r=this.configuration.selectHeaderAccept(["application/json"]);null!=r&&(i=i.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return null!=s&&(i=i.set("Content-Type",s)),this.httpClient.request("delete",`${this.basePath}/vendors/skillsets`,{body:e,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}getVendorConfig(e="body",t=!1){let n=this.defaultHeaders;this.configuration.apiKeys&&this.configuration.apiKeys["X-CognitoUser"]&&(n=n.set("X-CognitoUser",this.configuration.apiKeys["X-CognitoUser"]));const i=this.configuration.selectHeaderAccept(["application/json"]);return null!=i&&(n=n.set("Accept",i)),this.httpClient.request("get",`${this.basePath}/vendors/config`,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}getVendorFinance(e,t,n="body",i=!1){let r=new Vh({encoder:new JN});null!=e&&(r=r.set("start_time",e.toISOString())),null!=t&&(r=r.set("end_time",t.toISOString()));let s=this.defaultHeaders;this.configuration.apiKeys&&this.configuration.apiKeys["X-CognitoUser"]&&(s=s.set("X-CognitoUser",this.configuration.apiKeys["X-CognitoUser"]));const a=this.configuration.selectHeaderAccept(["application/json"]);return null!=a&&(s=s.set("Accept",a)),this.httpClient.request("get",`${this.basePath}/vendors/finance`,{params:r,withCredentials:this.configuration.withCredentials,headers:s,observe:n,reportProgress:i})}getVendorSkillsets(e="body",t=!1){let n=this.defaultHeaders;this.configuration.apiKeys&&this.configuration.apiKeys["X-CognitoUser"]&&(n=n.set("X-CognitoUser",this.configuration.apiKeys["X-CognitoUser"]));const i=this.configuration.selectHeaderAccept(["application/json"]);return null!=i&&(n=n.set("Accept",i)),this.httpClient.request("get",`${this.basePath}/vendors/skillsets`,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}getVendorStats(e="body",t=!1){let n=this.defaultHeaders;this.configuration.apiKeys&&this.configuration.apiKeys["X-CognitoUser"]&&(n=n.set("X-CognitoUser",this.configuration.apiKeys["X-CognitoUser"]));const i=this.configuration.selectHeaderAccept(["application/json"]);return null!=i&&(n=n.set("Accept",i)),this.httpClient.request("get",`${this.basePath}/vendors/stats`,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}modifyVendorConfig(e,t="body",n=!1){let i=this.defaultHeaders;this.configuration.apiKeys&&this.configuration.apiKeys["X-CognitoUser"]&&(i=i.set("X-CognitoUser",this.configuration.apiKeys["X-CognitoUser"]));const r=this.configuration.selectHeaderAccept(["application/json"]);null!=r&&(i=i.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return null!=s&&(i=i.set("Content-Type",s)),this.httpClient.request("post",`${this.basePath}/vendors/config`,{body:e,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}postVendorSkillset(e,t="body",n=!1){let i=this.defaultHeaders;this.configuration.apiKeys&&this.configuration.apiKeys["X-CognitoUser"]&&(i=i.set("X-CognitoUser",this.configuration.apiKeys["X-CognitoUser"]));const r=this.configuration.selectHeaderAccept(["application/json"]);null!=r&&(i=i.set("Accept",r));const s=this.configuration.selectHeaderContentType(["application/json"]);return null!=s&&(i=i.set("Content-Type",s)),this.httpClient.request("post",`${this.basePath}/vendors/skillsets`,{body:e,withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}vendorsConfigOptions(e="body",t=!1){let n=this.defaultHeaders;const i=this.configuration.selectHeaderAccept(["application/json"]);return null!=i&&(n=n.set("Accept",i)),this.httpClient.request("options",`${this.basePath}/vendors/config`,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}vendorsFinanceOptions(e="body",t=!1){let n=this.defaultHeaders;const i=this.configuration.selectHeaderAccept(["application/json"]);return null!=i&&(n=n.set("Accept",i)),this.httpClient.request("options",`${this.basePath}/vendors/finance`,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}vendorsSkillsetsOptions(e="body",t=!1){let n=this.defaultHeaders;const i=this.configuration.selectHeaderAccept(["application/json"]);return null!=i&&(n=n.set("Accept",i)),this.httpClient.request("options",`${this.basePath}/vendors/skillsets`,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}vendorsStatsOptions(e="body",t=!1){let n=this.defaultHeaders;const i=this.configuration.selectHeaderAccept(["application/json"]);return null!=i&&(n=n.set("Accept",i)),this.httpClient.request("options",`${this.basePath}/vendors/stats`,{withCredentials:this.configuration.withCredentials,headers:n,observe:e,reportProgress:t})}}return e.\u0275fac=function(t){return new(t||e)(gi(Xh),gi(qN,8),gi(KN,8))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();var sH,aH,oH,lH,cH,uH,dH,hH,pH,fH,mH,_H,gH;!function(e){e.StatusEnum={NewBooking:"new_booking",AwaitingQuote:"awaiting_quote",QuoteReceived:"quote_received",NewVendorSelect:"new_vendor_select",Confirmed:"confirmed",Resolved:"resolved",Completed:"completed",Cancelled:"cancelled",Expired:"expired"}}(sH||(sH={})),function(e){e.StatusEnum={NewBooking:"new_booking",AwaitingQuote:"awaiting_quote",QuoteReceived:"quote_received",NewVendorSelect:"new_vendor_select",Confirmed:"confirmed",Resolved:"resolved",Completed:"completed",Cancelled:"cancelled",Expired:"expired"}}(aH||(aH={})),function(e){e.StatusEnum={NewBooking:"new_booking",AwaitingQuote:"awaiting_quote",QuoteReceived:"quote_received",NewVendorSelect:"new_vendor_select",Confirmed:"confirmed",Resolved:"resolved",Completed:"completed",Cancelled:"cancelled",Expired:"expired"}}(oH||(oH={})),function(e){e.StatusEnum={NewBooking:"new_booking",Quoted:"quoted",Confirmed:"confirmed",Assigned:"assigned",Inprogress:"inprogress",Resolved:"resolved",UserRejected:"user_rejected",VendorRejected:"vendor_rejected",Cancelled:"cancelled"}}(lH||(lH={})),function(e){e.PaymentMethodEnum={Cash:"cash",CreditCard:"credit_card"}}(cH||(cH={})),function(e){e.ResultEnum={Success:"success",Redirect:"redirect",Declined:"declined"}}(uH||(uH={})),function(e){e.StatusEnum={Issued:"issued",Paid:"paid",Cancelled:"cancelled"},e.PaymentMethodEnum={Cash:"cash",CreditCard:"credit_card"}}(dH||(dH={})),function(e){e.StatusEnum={NewBooking:"new_booking",Quoted:"quoted",Confirmed:"confirmed",Assigned:"assigned",Inprogress:"inprogress",Resolved:"resolved",UserRejected:"user_rejected",VendorRejected:"vendor_rejected",Cancelled:"cancelled"}}(hH||(hH={})),function(e){e.StatusEnum={Draft:"draft",Finalized:"finalized"}}(pH||(pH={})),function(e){e.StatusEnum={NewBooking:"new_booking",Quoted:"quoted",Confirmed:"confirmed",Assigned:"assigned",Inprogress:"inprogress",Resolved:"resolved",UserRejected:"user_rejected",VendorRejected:"vendor_rejected",Cancelled:"cancelled"}}(fH||(fH={})),function(e){e.StatusEnum={NewBooking:"new_booking",Quoted:"quoted",Confirmed:"confirmed",Assigned:"assigned",Inprogress:"inprogress",Resolved:"resolved",UserRejected:"user_rejected",VendorRejected:"vendor_rejected",Cancelled:"cancelled"}}(mH||(mH={})),function(e){e.StatusEnum={NewBooking:"new_booking",Quoted:"quoted",Confirmed:"confirmed",Assigned:"assigned",Inprogress:"inprogress",Resolved:"resolved",UserRejected:"user_rejected",VendorRejected:"vendor_rejected",Cancelled:"cancelled"}}(_H||(_H={})),function(e){e.RoleEnum={Admin:"Admin",Employee:"Employee",Supervisor:"Supervisor"}}(gH||(gH={}));let yH=(()=>{class e{constructor(e,t){if(e)throw new Error("ApiModule is already loaded. Import in your base AppModule only.");if(!t)throw new Error("You need to import the HttpClientModule in your AppModule! \nSee also https://github.com/angular/angular/issues/20575")}static forRoot(t){return{ngModule:e,providers:[{provide:KN,useFactory:t}]}}}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)(gi(e,12),gi(Xh,8))},providers:[$N,GN,QN,XN,ZN,eH,tH,nH,iH,rH],imports:[[]]}),e})();const bH={production:!1,confirm:{email:"",password:""},api_path:"https://atefs3m948.execute-api.eu-west-1.amazonaws.com/uat",images_folder:"/assets/images",auth_config:{region:"eu-west-1",userPoolId:"eu-west-1_wBeveA88v",userPoolWebClientId:"3v5iphks5kl6b7rbpien3dfi8s",mandatorySignIn:!0,authenticationFlowType:"USER_SRP_AUTH"}};let vH=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=He({type:e,selectors:[["app-auth"]],decls:3,vars:0,consts:[["fxLayout","row","fxLayoutAlign","center space-around","fxLayoutGap","32px",1,"auth-container"],["fxFlex","60","fxFlex.lt-sm","80"]],template:function(e,t){1&e&&(Na(0,"div",0),Na(1,"div",1),Va(2,"router-outlet"),Ha(),Ha())},directives:[sY,GY,hY,CY,pD],styles:["[_nghost-%COMP%]{height:100%}.auth-btn-signup[_ngcontent-%COMP%]{position:absolute;bottom:1em;right:2em}"]}),e})();const wH=["grid"];function kH(e,t){if(1&e&&Va(0,"img",5),2&e){const e=eo().$implicit;ro("src","",eo().ImagesPath,"/",e.category_icon,"",lr)}}const SH=function(e){return["/services",e]};function CH(e,t){if(1&e&&(Na(0,"mat-grid-tile"),Na(1,"button",3),Mo(2),Va(3,"br"),Pa(4,kH,1,2,"img",4),Ha(),Ha()),2&e){const e=t.$implicit;rs(1),Ya("routerLink",nc(3,SH,e.id)),rs(1),Lo(" ",e.name," "),rs(2),Ya("ngIf",""!=e.category_icon)}}let xH=(()=>{class e{constructor(e,t){this._catSvc=e,this.observableMedia=t,this.gridByBreakpoint={xs:"2",sm:"3",md:"4",lg:"4",xl:"5"},this.cols=new S,this._allCategories=[]}get ImagesPath(){return bH.images_folder}get Categories(){return this._allCategories}load(){return Object(n_.b)(this,void 0,void 0,function*(){this._allCategories=yield this._catSvc.getCategories().toPromise()})}ngOnInit(){this.observableMedia.asObservable().subscribe(e=>{this.cols.next(this.gridByBreakpoint[e[0].mqAlias])}),this.load()}}return e.\u0275fac=function(t){return new(t||e)(ja(XN),ja(Vj))},e.\u0275cmp=He({type:e,selectors:[["app-category-list"]],viewQuery:function(e,t){if(1&e&&Cc(wH,3),2&e){let e;Sc(e=Mc())&&(t.catGrid=e.first)}},decls:4,vars:4,consts:[[1,"category-grid",3,"cols"],["catGrid",""],[4,"ngFor","ngForOf"],["mat-button","",1,"category-item",3,"routerLink"],["class","category-icon",3,"src",4,"ngIf"],[1,"category-icon",3,"src"]],template:function(e,t){1&e&&(Na(0,"mat-grid-list",0,1),ac(2,"async"),Pa(3,CH,5,5,"mat-grid-tile",2),Ha()),2&e&&(Ya("cols",oc(2,2,t.cols)),rs(3),Ya("ngForOf",t.Categories))},directives:[BR,Ad,IR,fw,uD,Pd],pipes:[Kd],styles:[""]}),e})(),MH=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=He({type:e,selectors:[["app-home"]],decls:3,vars:0,template:function(e,t){1&e&&(Na(0,"h2"),Mo(1,"Select a service category"),Ha(),Va(2,"app-category-list"))},directives:[xH],styles:[""]}),e})();function DH(e,t){1&e&&(Na(0,"mat-hint"),Mo(1,"Enter your email address"),Ha())}function LH(e,t){if(1&e&&(Na(0,"mat-error"),Mo(1),Ha()),2&e){const e=eo();rs(1),Lo(" ",e.getEmailInputError()," ")}}function OH(e,t){1&e&&(Na(0,"mat-hint"),Mo(1,"Enter your password"),Ha())}function EH(e,t){if(1&e&&(Na(0,"mat-error"),Mo(1),Ha()),2&e){const e=eo();rs(1),Lo(" ",e.getPasswordInputError()," ")}}let TH=(()=>{class e{constructor(e,t,n,i){this.auth=e,this._notification=t,this._router=n,this._loader=i,this.signinForm=new iS({email:new nS("",[rk.email,rk.required]),password:new nS("",[rk.required,rk.min(6)])}),this.hide=!0}get emailInput(){return this.signinForm.get("email")}get passwordInput(){return this.signinForm.get("password")}getEmailInputError(){var e,t;return(null===(e=this.emailInput)||void 0===e?void 0:e.hasError("email"))?"Please enter a valid email address.":(null===(t=this.emailInput)||void 0===t?void 0:t.hasError("required"))?"An Email is required.":null}getPasswordInputError(){var e;return(null===(e=this.passwordInput)||void 0===e?void 0:e.hasError("required"))?"A password is required.":null}signIn(){var e,t,n,i;return Object(n_.b)(this,void 0,void 0,function*(){this._loader.showLoader();try{yield this.auth.signIn(null===(e=this.emailInput)||void 0===e?void 0:e.value,null===(t=this.passwordInput)||void 0===t?void 0:t.value),this._router.navigate([""])}catch(r){if(void 0!==r.message)switch(this._notification.show(r.message),r.code){case"UserNotConfirmedException":bH.confirm.email=null===(n=this.emailInput)||void 0===n?void 0:n.value,bH.confirm.password=null===(i=this.passwordInput)||void 0===i?void 0:i.value,this._router.navigate(["auth/confirm"]);break;case"UsernameExistsException":this._router.navigate(["auth/signin"])}else this._notification.show(r)}finally{this._loader.hideLoader()}})}}return e.\u0275fac=function(t){return new(t||e)(ja(CN),ja(yN),ja(cD),ja(gN))},e.\u0275cmp=He({type:e,selectors:[["app-sign-in"]],decls:19,vars:8,consts:[[3,"formGroup"],["matInput","","placeholder","Email","type","email","formControlName","email","autocomplete","email","required",""],[4,"ngIf"],["matInput","","placeholder","Password","formControlName","password","required","",3,"type"],["matSuffix","",3,"click"],["mat-raised-button","","color","primary",3,"disabled","click"],["routerLink","/auth/signup"]],template:function(e,t){1&e&&(Na(0,"form",0),Na(1,"h2"),Mo(2,"Sign in to your account"),Ha(),Na(3,"mat-form-field"),Va(4,"input",1),Pa(5,DH,2,0,"mat-hint",2),Pa(6,LH,2,1,"mat-error",2),Ha(),Na(7,"mat-form-field"),Va(8,"input",3),Na(9,"mat-icon",4),Ga("click",function(){return t.hide=!t.hide}),Mo(10),Ha(),Pa(11,OH,2,0,"mat-hint",2),Pa(12,EH,2,1,"mat-error",2),Ha(),Na(13,"button",5),Ga("click",function(){return t.signIn()}),Mo(14,"Sign In"),Ha(),Na(15,"p"),Mo(16,"Don't have an account? "),Na(17,"a",6),Mo(18,"Sign up"),Ha(),Ha(),Ha()),2&e&&(Ya("formGroup",t.signinForm),rs(5),Ya("ngIf",!(null!=t.emailInput&&t.emailInput.value)),rs(1),Ya("ngIf",!(null!=t.emailInput&&t.emailInput.valid)),rs(2),Ya("type",t.hide?"password":"text"),rs(2),Do(t.hide?"visibility_off":"visibility"),rs(1),Ya("ngIf",!(null!=t.passwordInput&&t.passwordInput.value)),rs(1),Ya("ngIf",!(null!=t.passwordInput&&t.passwordInput.valid)),rs(1),Ya("disabled",!t.signinForm.valid))},directives:[dS,wk,_S,TL,UL,Xw,vk,yS,vS,Pd,KD,xL,fw,dD,bL,fL],styles:[""]}),e})(),AH=(()=>{class e{constructor(e,t,n,i,r){this._authService=e,this._router=t,this._http=n,this._formlyJson=i,this._notifier=r,this._newUser={},this.countryCode="+973",this.form=new iS({}),this.fields=[]}get currentEntry(){return this._newUser}ngOnInit(){this.load()}load(){return Object(n_.b)(this,void 0,void 0,function*(){var e=yield this._http.get("/assets/new-user.json").toPromise();if(void 0!==e){const n=this._formlyJson.toFieldConfig(e);console.log(n);var t=n.fieldGroup?n.fieldGroup:[];t.map(e=>(void 0!==e.templateOptions&&"password"==e.key&&(e.templateOptions.type="password"),e)),this.fields=t}})}onSubmit(){return Object(n_.b)(this,void 0,void 0,function*(){if(this.form.valid){var e=Object.assign({},this.currentEntry);e.mobile=this.countryCode+this.currentEntry.mobile;try{yield this._authService.signUp(e)}catch(t){return void this._notifier.show(t.message)}bH.confirm.email=this.currentEntry.email,bH.confirm.password=this.currentEntry.password,this._router.navigate(["auth/confirm"])}})}}return e.\u0275fac=function(t){return new(t||e)(ja(CN),ja(cD),ja(Xh),ja(wC),ja(yN))},e.\u0275cmp=He({type:e,selectors:[["app-sign-up"]],decls:6,vars:5,consts:[[3,"formGroup","ngSubmit"],[3,"form","fields","model"],["mat-raised-button","","color","primary","type","submit",1,"form-submit-button","btn","btn-default",3,"disabled"]],template:function(e,t){1&e&&(Na(0,"form",0),Ga("ngSubmit",function(){return t.onSubmit()}),Na(1,"h2"),Mo(2,"Create a new account"),Ha(),Va(3,"formly-form",1),Na(4,"button",2),Mo(5,"Submit"),Ha(),Ha()),2&e&&(Ya("formGroup",t.form),rs(3),Ya("form",t.form)("fields",t.fields)("model",t.currentEntry),rs(1),Ya("disabled",!(null!=t.form&&t.form.valid)))},directives:[dS,wk,_S,tC,fw],styles:[".auth-container[_ngcontent-%COMP%]{width:70%}"]}),e})();function IH(e,t){1&e&&(Na(0,"mat-hint"),Mo(1,"Enter the confirmation code that was emailed to you"),Ha())}let PH=(()=>{class e{constructor(e,t,n){this._auth=e,this._router=t,this._notification=n,this.email=bH.confirm.email,this.confirmForm=new iS({email:new nS({value:this.email,disabled:!0}),code:new nS("",[rk.required,rk.min(3)])})}get codeInput(){return this.confirmForm.get("code")}ngOnInit(){this.email||this._router.navigate(["auth/signup"])}sendAgain(){return Object(n_.b)(this,void 0,void 0,function*(){try{this._auth.resendConfirmationCode(this.email),this._notification.show("A code has been emailed to you")}catch(e){this._notification.show("An error has occured")}})}confirmCode(){var e;return Object(n_.b)(this,void 0,void 0,function*(){try{if("SUCCESS"===(yield this._auth.confirmSignUp(this.email,null===(e=this.codeInput)||void 0===e?void 0:e.value))&&bH.confirm.email&&bH.confirm.password)try{yield this._auth.signIn(this.email,bH.confirm.password),this._router.navigate([""])}catch(t){this._router.navigate(["auth/signin"])}}catch(n){console.log(n),this._notification.show(n.message)}})}}return e.\u0275fac=function(t){return new(t||e)(ja(CN),ja(cD),ja(yN))},e.\u0275cmp=He({type:e,selectors:[["app-confirm-code"]],decls:14,vars:2,consts:[[3,"formGroup"],["matInput","","placeholder","Email","type","email","formControlName","email"],["matInput","","placeholder","Confirmation Code","type","text","formControlName","code","required",""],[4,"ngIf"],["mat-raised-button","","color","primary",3,"click"],["href","javascript:void(null)",3,"click"]],template:function(e,t){1&e&&(Na(0,"form",0),Na(1,"h2"),Mo(2,"Confirm your email address"),Ha(),Na(3,"mat-form-field"),Va(4,"input",1),Ha(),Na(5,"mat-form-field"),Va(6,"input",2),Pa(7,IH,2,0,"mat-hint",3),Ha(),Na(8,"button",4),Ga("click",function(){return t.confirmCode()}),Mo(9,"Confirm"),Ha(),Na(10,"p"),Mo(11,"Didn't receive a code? "),Na(12,"a",5),Ga("click",function(){return t.sendAgain()}),Mo(13,"Send again"),Ha(),Ha(),Ha()),2&e&&(Ya("formGroup",t.confirmForm),rs(7),Ya("ngIf",!(null!=t.codeInput&&t.codeInput.value)))},directives:[dS,wk,_S,TL,UL,Xw,vk,yS,vS,Pd,fw,bL],styles:[""]}),e})(),RH=(()=>{class e{constructor(e,t,n){this._auth=e,this._loader=t,this._err=n,this.infoForm=new iS({email:new nS("",[rk.email,rk.required]),password:new nS("",[rk.required,rk.min(8)]),phone:new nS("",[rk.required,rk.min(8)]),fname:new nS("",[rk.min(2)]),lname:new nS("",[rk.min(2)])})}get emailInput(){return this.infoForm.get("email")}get passwordInput(){return this.infoForm.get("password")}get fnameInput(){return this.infoForm.get("fname")}get lnameInput(){return this.infoForm.get("lname")}get phoneInput(){return this.infoForm.get("phone")}ngOnInit(){this._loader.showLoader(),this._auth.getUserInfo().then(e=>{var t,n,i,r;null===(t=this.emailInput)||void 0===t||t.setValue(null==e?void 0:e.email),null===(n=this.phoneInput)||void 0===n||n.setValue(null==e?void 0:e.mobile),null===(i=this.fnameInput)||void 0===i||i.setValue(null==e?void 0:e.first_name),null===(r=this.lnameInput)||void 0===r||r.setValue(null==e?void 0:e.last_name)}).catch(e=>{this._err.handleError(e)}).finally(()=>{this._loader.hideLoader()})}}return e.\u0275fac=function(t){return new(t||e)(ja(CN),ja(gN),ja(bN))},e.\u0275cmp=He({type:e,selectors:[["app-info"]],decls:9,vars:1,consts:[[3,"formGroup"],["matInput","","placeholder","Email","type","email","formControlName","email","autocomplete","email","readonly",""],["type","tel","matInput","","placeholder","Mobile","formControlName","phone","autocomplete","tel","readonly",""],["matInput","","placeholder","First Name","type","text","formControlName","fname","autocomplete","given-name","readonly",""],["matInput","","placeholder","Last Name","type","text","formControlName","lname","autocomplete","family-name","readonly",""]],template:function(e,t){1&e&&(Na(0,"form",0),Na(1,"mat-form-field"),Va(2,"input",1),Ha(),Na(3,"mat-form-field"),Va(4,"input",2),Ha(),Na(5,"mat-form-field"),Va(6,"input",3),Ha(),Na(7,"mat-form-field"),Va(8,"input",4),Ha(),Ha()),2&e&&Ya("formGroup",t.infoForm)},directives:[dS,wk,_S,TL,UL,Xw,vk,yS],styles:[""]}),e})(),jH=(()=>{class e{constructor(e,t){this._areaSvc=e,this._addrSvc=t,this._areaDict=new Map,this.load()}GetCurrentAddress(){return this._currentAddress}SetCurrentAddress(e){this._currentAddress=e}NewAddress(){this._currentAddress={flat:"",building:"",block:"",road:"",extra_details:"",area_id:"",name:""}}getAreas(){return Object(n_.b)(this,void 0,void 0,function*(){return null==this._allAreas&&(this._allAreas=yield this._areaSvc.getAreas().toPromise()),this._allAreas.forEach(e=>{this._areaDict.set(e.id,e.name)}),this._allAreas?this._allAreas:[]})}getAreaName(e){return this._areaDict.get(e)}load(){return Object(n_.b)(this,void 0,void 0,function*(){yield this.getAreas()})}submitCurrent(){return Object(n_.b)(this,void 0,void 0,function*(){return this._addrSvc.postAddress(this._currentAddress).toPromise()})}deleteCurrent(){var e;return Object(n_.b)(this,void 0,void 0,function*(){if(void 0!==(null===(e=null==this?void 0:this._currentAddress)||void 0===e?void 0:e.id))return this._addrSvc.deleteAddress(this._currentAddress.id,void 0).toPromise()})}clear(){this._currentAddress=void 0}}return e.\u0275fac=function(t){return new(t||e)(gi(GN),gi($N))},e.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function YH(e,t){1&e&&(Na(0,"mat-header-cell"),Mo(1,"Name"),Ha())}function FH(e,t){if(1&e&&(Na(0,"mat-cell"),Na(1,"div",10),Mo(2,"Name"),Ha(),Mo(3),Ha()),2&e){const e=t.$implicit;rs(3),Lo(" ",e.name," ")}}function NH(e,t){1&e&&(Na(0,"mat-header-cell"),Mo(1," Area "),Ha())}function HH(e,t){if(1&e&&(Na(0,"mat-cell"),Na(1,"div",10),Mo(2,"Area"),Ha(),Mo(3),Ha()),2&e){const e=t.$implicit,n=eo();rs(3),Lo(" ",n._addrHandler.getAreaName(e.area_id)," ")}}function VH(e,t){1&e&&(Na(0,"mat-header-cell"),Mo(1," Details "),Ha())}function UH(e,t){if(1&e&&(Na(0,"mat-cell"),Na(1,"div",10),Mo(2,"Details"),Ha(),Mo(3),Ha()),2&e){const e=t.$implicit;rs(3),Oo("Flat ",e.flat,", Bldg ",e.building,", Road ",e.road,", Block ",e.block,"")}}function BH(e,t){1&e&&Va(0,"mat-header-row")}function zH(e,t){if(1&e){const e=Wa();Na(0,"mat-row",11),Ga("click",function(){jt(e);const n=t.$implicit;return eo().addressClicked(n)}),Ha()}}let WH=(()=>{class e{constructor(e,t){this._addrHandler=e,this._addrSvc=t,this.columnsToDisplay=["name","area","details"],this.currentAddreses=[]}load(){return Object(n_.b)(this,void 0,void 0,function*(){this.currentAddreses=yield this._addrSvc.getAddresses().toPromise()})}addressClicked(e){this._addrHandler.SetCurrentAddress(e)}addAddress(){this._addrHandler.NewAddress()}ngOnInit(){this.load()}}return e.\u0275fac=function(t){return new(t||e)(ja(jH),ja($N))},e.\u0275cmp=He({type:e,selectors:[["app-address-home"]],decls:16,vars:3,consts:[[1,"controls-div"],["mat-mini-fab","","color","primary",3,"click"],[1,"clickable-table","mat-elevation-z8",3,"dataSource"],["matColumnDef","name"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","area"],["matColumnDef","details"],[4,"matHeaderRowDef"],["mat-row","",3,"click",4,"matRowDef","matRowDefColumns"],[1,"mobile-label"],["mat-row","",3,"click"]],template:function(e,t){1&e&&(Na(0,"div",0),Na(1,"button",1),Ga("click",function(){return t.addAddress()}),Na(2,"mat-icon"),Mo(3,"add"),Ha(),Ha(),Ha(),Na(4,"mat-table",2),Ua(5,3),Pa(6,YH,2,0,"mat-header-cell",4),Pa(7,FH,4,1,"mat-cell",5),Ba(),Ua(8,6),Pa(9,NH,2,0,"mat-header-cell",4),Pa(10,HH,4,1,"mat-cell",5),Ba(),Ua(11,7),Pa(12,VH,2,0,"mat-header-cell",4),Pa(13,UH,4,4,"mat-cell",5),Ba(),Pa(14,BH,1,0,"mat-header-row",8),Pa(15,zH,1,0,"mat-row",9),Ha()),2&e&&(rs(4),Ya("dataSource",t.currentAddreses),rs(10),Ya("matHeaderRowDef",t.columnsToDisplay),rs(1),Ya("matRowDefColumns",t.columnsToDisplay))},directives:[fw,KD,uP,yP,fP,hP,MP,EP,vP,CP,AP,jP],styles:[""]}),e})();function qH(e,t){if(1&e){const e=Wa();Na(0,"button",8),Ga("click",function(){return jt(e),eo().onDelete()}),Na(1,"mat-icon"),Mo(2,"delete"),Ha(),Ha()}}let KH=(()=>{class e{constructor(e,t,n){this.addrService=e,this.http=t,this.formlyJsonSchema=n,this._areas=[],this.form=new iS({}),this.fields=[]}ngOnInit(){this.load()}load(){return Object(n_.b)(this,void 0,void 0,function*(){this._areas=yield this.addrService.getAreas();var e=yield this.http.get("/assets/address-form.json").toPromise();if(void 0!==e){const n=this.formlyJsonSchema.toFieldConfig(e);console.log(n);var t=n.fieldGroup?n.fieldGroup:[];t.map(e=>(void 0!==e.templateOptions&&("area_id"==e.key?(e.type="select",e.templateOptions.options=this._areas.map(e=>({value:e.id,label:e.name}))):"id"==e.key&&(e.templateOptions.required=!1,e.hide=!0)),e)),this.fields=t}})}onDelete(){return Object(n_.b)(this,void 0,void 0,function*(){this.form.valid&&(yield this.addrService.deleteCurrent(),this.addrService.clear())})}onSubmit(){return Object(n_.b)(this,void 0,void 0,function*(){this.form.valid&&(yield this.addrService.submitCurrent(),this.addrService.clear())})}close(){this.addrService.clear()}get currentEntry(){return this.addrService.GetCurrentAddress()}}return e.\u0275fac=function(t){return new(t||e)(ja(jH),ja(Xh),ja(wC))},e.\u0275cmp=He({type:e,selectors:[["app-address-form"]],decls:11,vars:5,consts:[[1,"controls-div"],["mat-mini-fab","","color","primary",3,"click"],["mat-mini-fab","","color","warn",3,"click",4,"ngIf"],["fxLayout","row","fxLayoutAlign","space-evenly center","fxLayoutGap","32px",1,"container",2,"margin-top","32px"],["fxFill","","fxFlex","80"],[3,"formGroup","ngSubmit"],[3,"form","fields","model"],["mat-raised-button","","color","primary","type","submit",1,"btn","btn-default",3,"disabled"],["mat-mini-fab","","color","warn",3,"click"]],template:function(e,t){1&e&&(Na(0,"div",0),Na(1,"button",1),Ga("click",function(){return t.close()}),Na(2,"mat-icon"),Mo(3,"arrow_back"),Ha(),Ha(),Pa(4,qH,3,0,"button",2),Ha(),Na(5,"div",3),Na(6,"div",4),Na(7,"form",5),Ga("ngSubmit",function(){return t.onSubmit()}),Va(8,"formly-form",6),Na(9,"button",7),Ga("disabled",function(){return null==t.form?null:t.form.valid}),Mo(10,"Submit"),Ha(),Ha(),Ha(),Ha()),2&e&&(rs(4),Ya("ngIf",void 0!==(null==t.currentEntry?null:t.currentEntry.id)),rs(3),Ya("formGroup",t.form),rs(1),Ya("form",t.form)("fields",t.fields)("model",t.currentEntry))},directives:[fw,KD,Pd,sY,GY,hY,BY,CY,dS,wk,_S,tC],styles:[""]}),e})();function $H(e,t){1&e&&(Na(0,"span",2),Va(1,"app-address-home"),Ha())}function GH(e,t){1&e&&Va(0,"app-address-form")}let JH=(()=>{class e{constructor(e){this.addrService=e}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)(ja(jH))},e.\u0275cmp=He({type:e,selectors:[["app-addresses"]],decls:3,vars:2,consts:[["whoami","",4,"ngIf","ngIfElse"],["formblock",""],["whoami",""]],template:function(e,t){if(1&e&&(Pa(0,$H,2,0,"span",0),Pa(1,GH,1,0,"ng-template",null,1,Ec)),2&e){const e=Ra(2);Ya("ngIf",null==t.addrService.GetCurrentAddress())("ngIfElse",e)}},directives:[Pd,WH,KH],styles:[""]}),e})();function QH(e,t){1&e&&Va(0,"app-info")}function XH(e,t){1&e&&Va(0,"app-addresses")}let ZH=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=He({type:e,selectors:[["app-profile"]],decls:5,vars:0,consts:[["label","Account Info"],["matTabContent",""],["label","Saved Addreses"]],template:function(e,t){1&e&&(Na(0,"mat-tab-group"),Na(1,"mat-tab",0),Pa(2,QH,1,0,"ng-template",1),Ha(),Na(3,"mat-tab",2),Pa(4,XH,1,0,"ng-template",1),Ha(),Ha())},directives:[wR,uR,sR,RH,JH],styles:[".mat-tab-body-content[_ngcontent-%COMP%]{margin:20px}"]}),e})();const eV=function(e){return["/booking/new",e]};function tV(e,t){if(1&e&&(Na(0,"mat-card",4),Na(1,"mat-card-header"),Na(2,"mat-card-title"),Mo(3),Ha(),Ha(),Na(4,"mat-card-content"),Na(5,"div",5),Va(6,"img",6),Ha(),Na(7,"div",7),Mo(8),Ha(),Na(9,"div",8),Mo(10),Ha(),Ha(),Ha()),2&e){const e=t.$implicit,n=eo();Ya("routerLink",nc(6,eV,e.id)),rs(3),Do(e.name),rs(3),ro("src","",n.ImagesPath,"/",e.service_icon,"",lr),rs(2),Lo(" ",e.name,""),rs(2),Do(e.description)}}let nV=(()=>{class e{constructor(e,t,n){this._catSvc=e,this._route=t,this.location=n,this._allServices=[]}get ImagesPath(){return bH.images_folder}get AllServices(){return this._allServices}ngOnInit(){this._route.params.subscribe(e=>{this._categoryId=e.categoryId,this.load()})}goBack(){this.location.back()}load(){return Object(n_.b)(this,void 0,void 0,function*(){void 0!==this._categoryId&&(this._allServices=yield this._catSvc.getServicesByCategory(this._categoryId).toPromise())})}}return e.\u0275fac=function(t){return new(t||e)(ja(XN),ja(zx),ja(qu))},e.\u0275cmp=He({type:e,selectors:[["app-services-list"]],decls:6,vars:1,consts:[[1,"controls-div"],["color","primary","mat-mini-fab","",1,"back-button",3,"click"],["fxLayout","row wrap","fxLayout.lt-sm","column","fxLayoutGap","32px","fxLayoutAlign","flex-space-between",1,"container","space-bottom"],["class","service-card clickable-card",3,"routerLink",4,"ngFor","ngForOf"],[1,"service-card","clickable-card",3,"routerLink"],["matLine","",1,"service-image"],[1,"service-icon",3,"src"],[1,"item","service-name"],[1,"item","service-dsc"]],template:function(e,t){1&e&&(Na(0,"div",0),Na(1,"button",1),Ga("click",function(){return t.goBack()}),Na(2,"mat-icon"),Mo(3,"arrow_back"),Ha(),Ha(),Ha(),Na(4,"div",2),Pa(5,tV,11,8,"mat-card",3),Ha()),2&e&&(rs(5),Ya("ngForOf",t.AllServices))},directives:[fw,KD,sY,hY,GY,Ad,ij,uD,rj,tj,ej,Zb],styles:[""]}),e})();function iV(e,t){1&e&&(Na(0,"mat-header-cell",15),Mo(1,"Created"),Ha())}function rV(e,t){if(1&e&&(Na(0,"mat-cell"),Na(1,"div",16),Mo(2,"Created"),Ha(),Mo(3),ac(4,"date"),Ha()),2&e){const e=t.$implicit;rs(3),Lo(" ",lc(4,1,e.created_at,"short")," ")}}function sV(e,t){1&e&&(Na(0,"mat-header-cell",15),Mo(1,"Modified"),Ha())}function aV(e,t){if(1&e&&(Na(0,"mat-cell"),Na(1,"div",16),Mo(2,"Modified"),Ha(),Mo(3),ac(4,"date"),Ha()),2&e){const e=t.$implicit;rs(3),Lo(" ",lc(4,1,e.modified_at,"short")," ")}}function oV(e,t){1&e&&(Na(0,"mat-header-cell",15),Mo(1,"Status"),Ha())}function lV(e,t){if(1&e&&(Na(0,"mat-cell"),Na(1,"div",16),Mo(2,"Status"),Ha(),Mo(3),Ha()),2&e){const e=t.$implicit;rs(3),Lo(" ",e.status," ")}}function cV(e,t){1&e&&(Na(0,"mat-header-cell",15),Mo(1,"Description"),Ha())}function uV(e,t){if(1&e&&(Na(0,"mat-cell"),Na(1,"div",16),Mo(2,"Description"),Ha(),Mo(3),Ha()),2&e){const e=t.$implicit;rs(3),Lo(" ",e.description," ")}}function dV(e,t){1&e&&Va(0,"mat-header-row")}const hV=function(e){return["/booking/",e]};function pV(e,t){1&e&&Va(0,"mat-row",17),2&e&&Ya("routerLink",nc(1,hV,t.$implicit.id))}const fV=function(){return[5,10,25,100]};let mV=(()=>{class e{constructor(e){this._svc=e,this.form=new iS({}),this.existingStatus=[sH.StatusEnum.NewBooking,sH.StatusEnum.NewVendorSelect,sH.StatusEnum.AwaitingQuote,sH.StatusEnum.QuoteReceived,sH.StatusEnum.Confirmed,sH.StatusEnum.Resolved],this.pastStatus=[sH.StatusEnum.Cancelled,sH.StatusEnum.Completed,sH.StatusEnum.Expired],this.dataSource=new NP,this.fields=[{key:"current_status",type:"select",defaultValue:"existing",templateOptions:{label:"Status",required:!0,change:(e,t)=>{this.load()},options:[{label:"Existing bookings",value:"existing"},{label:"Past bookings",value:"past"}]}}],this._searchQuery={start_time:void 0,end_time:void 0,current_status:"existing"},this.columnsToDisplay=["created_at","modified_at","description","status"],this._bookings=[]}ngAfterViewInit(){void 0!==this.sort&&(this.dataSource.sort=this.sort),void 0!==this.paginator&&(this.dataSource.paginator=this.paginator)}get searchQuery(){return this._searchQuery}get currentBookings(){return this.dataSource}ngOnInit(){this.load()}load(){var e;return Object(n_.b)(this,void 0,void 0,function*(){var t="past"===(null===(e=null==this?void 0:this._searchQuery)||void 0===e?void 0:e.current_status)?this.pastStatus:this.existingStatus;this._bookings=yield this._svc.getBookings(t).toPromise(),this.dataSource.data=this._bookings})}}return e.\u0275fac=function(t){return new(t||e)(ja(QN))},e.\u0275cmp=He({type:e,selectors:[["app-booking-list"]],viewQuery:function(e,t){if(1&e&&(Cc(fN,1),Cc(jF,1)),2&e){let e;Sc(e=Mc())&&(t.paginator=e.first),Sc(e=Mc())&&(t.sort=e.first)}},decls:21,vars:10,consts:[["fxLayout","column","fxLayoutAlign","space-evenly center","fxLayoutGap","32px",1,"container"],[3,"formGroup","ngSubmit"],["fxFlexOffset","25","fxFlex","50",1,"item"],[3,"form","fields","model"],["matSort","",1,"clickable-table","mat-elevation-z8",3,"dataSource"],["matColumnDef","created_at"],["mat-sort-header","",4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","modified_at"],["matColumnDef","status"],["matColumnDef","description"],[4,"matHeaderRowDef"],["mat-row","",3,"routerLink",4,"matRowDef","matRowDefColumns"],[3,"pageSize","pageSizeOptions"],["paginator",""],["mat-sort-header",""],[1,"mobile-label"],["mat-row","",3,"routerLink"]],template:function(e,t){1&e&&(Na(0,"div",0),Na(1,"form",1),Ga("ngSubmit",function(){return!0}),Na(2,"div",2),Va(3,"formly-form",3),Ha(),Ha(),Ha(),Na(4,"mat-table",4),Ua(5,5),Pa(6,iV,2,0,"mat-header-cell",6),Pa(7,rV,5,4,"mat-cell",7),Ba(),Ua(8,8),Pa(9,sV,2,0,"mat-header-cell",6),Pa(10,aV,5,4,"mat-cell",7),Ba(),Ua(11,9),Pa(12,oV,2,0,"mat-header-cell",6),Pa(13,lV,4,1,"mat-cell",7),Ba(),Ua(14,10),Pa(15,cV,2,0,"mat-header-cell",6),Pa(16,uV,4,1,"mat-cell",7),Ba(),Pa(17,dV,1,0,"mat-header-row",11),Pa(18,pV,1,3,"mat-row",12),Ha(),Va(19,"mat-paginator",13,14)),2&e&&(rs(1),Ya("formGroup",t.form),rs(2),Ya("form",t.form)("fields",t.fields)("model",t.searchQuery),rs(1),Ya("dataSource",t.currentBookings),rs(13),Ya("matHeaderRowDef",t.columnsToDisplay),rs(1),Ya("matRowDefColumns",t.columnsToDisplay),rs(1),Ya("pageSize",10)("pageSizeOptions",tc(9,fV)))},directives:[sY,GY,hY,dS,wk,_S,PY,CY,tC,uP,jF,yP,fP,hP,MP,EP,fN,vP,zF,CP,AP,jP,uD],pipes:[$d],styles:[""]}),e})(),_V=(()=>{class e{constructor(e,t,n){this._addrSvc=e,this.http=t,this.formlyJsonSchema=n,this.form=new iS({}),this.fields=[],this.saveBookingEvent=new dc,this._entry={},this._allAddr=[],this.minDate=new Date}ngOnChanges(e){void 0!==e.entry&&this.form.setValue(e.entry.currentValue)}get currentEntry(){return this._entry}ngOnInit(){this.load()}load(){return Object(n_.b)(this,void 0,void 0,function*(){void 0===this._entry&&(this._entry={}),this._allAddr=yield this._addrSvc.getAddresses().toPromise();var e=yield this.http.get("/assets/new-booking.json").toPromise();if(void 0!==e){const n=this.formlyJsonSchema.toFieldConfig(e);console.log(n);var t=n.fieldGroup?n.fieldGroup:[];t.map(e=>(void 0!==e.templateOptions&&("address_id"==e.key?(e.type="select",e.templateOptions.options=this._allAddr.map(e=>({value:e.id,label:e.name}))):"service_id"==e.key?e.hide=!0:"start_time"==e.key||"alternative_start_time"==e.key?(e.type="datetime",e.templateOptions.datepickerOptions={min:this.minDate}):"description"==e.key&&(e.type="textarea",e.templateOptions.rows=3,e.templateOptions.placeholder="Details about your requirements")),e)),this.fields=t}})}onSubmit(){return Object(n_.b)(this,void 0,void 0,function*(){this.form.valid&&this.saveBookingEvent.emit(this._entry)})}}return e.\u0275fac=function(t){return new(t||e)(ja($N),ja(Xh),ja(wC))},e.\u0275cmp=He({type:e,selectors:[["app-booking-details-form"]],inputs:{entry:"entry"},outputs:{saveBookingEvent:"saveBookingEvent"},features:[ut],decls:6,vars:4,consts:[["fxLayout","row","fxLayoutAlign","space-evenly center","fxLayoutGap","32px",1,"container",2,"margin-bottom","32px"],["fxFill","","fxFlex","80"],[3,"formGroup","ngSubmit"],[3,"form","fields","model"],["mat-raised-button","","color","primary","type","submit",1,"btn","btn-default",3,"disabled"]],template:function(e,t){1&e&&(Na(0,"div",0),Na(1,"div",1),Na(2,"form",2),Ga("ngSubmit",function(){return t.onSubmit()}),Va(3,"formly-form",3),Na(4,"button",4),Ga("disabled",function(){return null==t.form?null:t.form.valid}),Mo(5,"Proceed"),Ha(),Ha(),Ha(),Ha()),2&e&&(rs(2),Ya("formGroup",t.form),rs(1),Ya("form",t.form)("fields",t.fields)("model",t.currentEntry))},directives:[sY,GY,hY,BY,CY,dS,wk,_S,tC,fw],styles:[""]}),e})(),gV=(()=>{class e{constructor(e,t,n,i){this._bookingSvc=e,this.location=t,this._aroute=n,this._route=i,this._serviceId=""}get ServiceId(){return this._serviceId}get Entry(){return this._entry}ngOnInit(){this._aroute.params.subscribe(e=>{this._serviceId=e.serviceId})}entrySaved(e){return Object(n_.b)(this,void 0,void 0,function*(){e.service_id=this._serviceId,this._entry=yield this._bookingSvc.postBooking(e).toPromise(),this._route.navigate(["/booking/"+this._entry.id+"/vendors"])})}goBack(){this.location.back()}}return e.\u0275fac=function(t){return new(t||e)(ja(QN),ja(qu),ja(zx),ja(cD))},e.\u0275cmp=He({type:e,selectors:[["app-new-booking"]],decls:5,vars:0,consts:[[1,"controls-div"],["color","primary","mat-mini-fab","",1,"back-button",3,"click"],[3,"saveBookingEvent"]],template:function(e,t){1&e&&(Na(0,"div",0),Na(1,"button",1),Ga("click",function(){return t.goBack()}),Na(2,"mat-icon"),Mo(3,"arrow_back"),Ha(),Ha(),Ha(),Na(4,"app-booking-details-form",2),Ga("saveBookingEvent",function(e){return t.entrySaved(e)}),Ha())},directives:[fw,KD,_V],styles:[""]}),e})(),yV=(()=>{class e{constructor(e,t){this._bookingSvc=e,this._checkSvc=t,this._currentId="",this._currentBooking={},this._bookingSubject=new Z_(1),this.BookingEntry$=this._bookingSubject.asObservable()}get canRespond(){return this.currentEntry.status==sH.StatusEnum.QuoteReceived}get canCancel(){return void 0!==this._currentBooking.id&&(this._currentBooking.status==sH.StatusEnum.NewBooking||this._currentBooking.status==sH.StatusEnum.NewVendorSelect||this._currentBooking.status==sH.StatusEnum.AwaitingQuote)}get canCancelVendor(){var e;return void 0!==(null===(e=this.currentVendor)||void 0===e?void 0:e.id)&&this.currentVendor.status==fH.StatusEnum.NewBooking}get canSelectVendor(){return void 0!==this._currentBooking.id&&(this._currentBooking.status==sH.StatusEnum.NewBooking||this._currentBooking.status==sH.StatusEnum.NewVendorSelect)}get canReview(){return void 0!==this._currentBooking.id&&this._currentBooking.status==sH.StatusEnum.Resolved&&void 0===this.currentReview}get currentEntry(){return this._currentBooking}get currentVendor(){return this._currentVendor}get currentReview(){var e,t,n;if(null===(e=this._currentVendor)||void 0===e?void 0:e.user_rating)return{user_rating:null===(t=this._currentVendor)||void 0===t?void 0:t.user_rating,user_review:null===(n=this._currentVendor)||void 0===n?void 0:n.user_review}}avilableVendors(){return Object(n_.b)(this,void 0,void 0,function*(){return this._bookingSvc.getBookingAvailableVendors(this._currentId).toPromise()})}reviewVendor(e){var t;return Object(n_.b)(this,void 0,void 0,function*(){this.canReview&&void 0!==(null===(t=this.currentVendor)||void 0===t?void 0:t.id)&&(yield this._bookingSvc.postBookingVendorReviewId(this.currentVendor.id,e).toPromise(),this.refresh())})}rejectVendor(){var e;return Object(n_.b)(this,void 0,void 0,function*(){this.canRespond&&void 0!==(null===(e=this.currentVendor)||void 0===e?void 0:e.id)&&(yield this._bookingSvc.postBookingVendorId(this.currentVendor.id,{status:"user_rejected"}).toPromise(),this.refresh())})}cancelVendor(){var e;return Object(n_.b)(this,void 0,void 0,function*(){this.canCancel&&void 0!==(null===(e=this.currentVendor)||void 0===e?void 0:e.id)&&(yield this._bookingSvc.postBookingVendorId(this.currentVendor.id,{status:"cancelled"}).toPromise(),this.refresh())})}selectVendor(e){return Object(n_.b)(this,void 0,void 0,function*(){var t={booking_id:this._currentId,vendor_id:e};yield this._bookingSvc.postVendorBooking(this._currentId,t).toPromise(),this.refresh()})}set _currentEntry(e){var t;this._currentBooking=e,this._currentVendor=void 0,null===(t=this._currentBooking.vendors)||void 0===t||t.forEach(e=>{e.status!=fH.StatusEnum.Cancelled&&e.status!=fH.StatusEnum.UserRejected&&e.status!=fH.StatusEnum.VendorRejected&&(this._currentVendor=e)}),this._bookingSubject.next(this._currentBooking)}cancelBooking(){return Object(n_.b)(this,void 0,void 0,function*(){yield this._bookingSvc.deleteBooking(this._currentId).toPromise(),this.refresh()})}checkOut(e){return Object(n_.b)(this,void 0,void 0,function*(){var t=void 0;return this.canRespond&&(e.booking_id=this._currentId,t=yield this._checkSvc.postCheckout(e).toPromise(),this.refresh()),t})}load(e){return this._currentId=e,this.refresh(),this.BookingEntry$}getVendorBooking(e){return this._bookingSvc.getBookingVendorId(e).toPromise()}refresh(){return Object(n_.b)(this,void 0,void 0,function*(){this._currentEntry=yield this._bookingSvc.getBookingId(this._currentId).toPromise()})}}return e.\u0275fac=function(t){return new(t||e)(gi(QN),gi(ZN))},e.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function bV(e,t){1&e&&(Na(0,"div"),Mo(1," Sorry no available vendors. Please try to modify your timing. "),Ha())}function vV(e,t){if(1&e){const e=Wa();Na(0,"mat-card",6),Ga("click",function(){jt(e);const n=t.$implicit;return eo().vendorSelected(n)}),Na(1,"mat-card-header"),Na(2,"mat-card-title"),Mo(3),Ha(),Na(4,"mat-card-subtitle"),Mo(5),ac(6,"date"),Ha(),Ha(),Na(7,"mat-card-content"),Na(8,"div",7),Va(9,"mat-star-rating",8),Ha(),Na(10,"div",9),Mo(11,"Total ratings"),Ha(),Mo(12),Ha(),Ha()}if(2&e){const e=t.$implicit;rs(3),Do(e.name),rs(2),Lo("Since ",lc(6,5,e.created_at,"YYYY"),""),rs(4),Ya("readonly",!0)("rating",e.current_rating||0),rs(3),Lo(" ",e.rating_count||0," ")}}function wV(e,t){if(1&e&&(Na(0,"mat-card",17),Na(1,"mat-card-content"),Na(2,"div",7),Mo(3),Ha(),Na(4,"div",7),Va(5,"mat-star-rating",8),Ha(),Ha(),Ha()),2&e){const e=t.$implicit;rs(3),Lo(" ",e.user_review," "),rs(2),Ya("readonly",!0)("rating",e.user_rating||0)}}function kV(e,t){if(1&e&&(Na(0,"div",11),Na(1,"div",15),Mo(2,"Recent Reviews"),Ha(),Pa(3,wV,6,3,"mat-card",16),Ha()),2&e){const e=eo(2);rs(3),Ya("ngForOf",e.selectedVendor.last_five_reviews)}}function SV(e,t){if(1&e){const e=Wa();Na(0,"div",10),Na(1,"h2"),Mo(2,"Request quote"),Ha(),Na(3,"div",11),Mo(4),Ha(),Na(5,"div",7),Va(6,"mat-star-rating",8),Ha(),Pa(7,kV,4,1,"div",12),Na(8,"div",13),Na(9,"button",14),Ga("click",function(){return jt(e),eo().confirmSelection()}),Mo(10,"Proceed"),Ha(),Ha(),Ha()}if(2&e){const e=eo();rs(4),Lo(" ",e.selectedVendor.name," "),rs(2),Ya("readonly",!0)("rating",e.selectedVendor.current_rating||0),rs(1),Ya("ngIf",null==e.selectedVendor||null==e.selectedVendor.last_five_reviews?null:e.selectedVendor.last_five_reviews.length)}}let CV=(()=>{class e{constructor(e,t,n){this._booking=e,this._aroute=t,this._route=n,this._bookingId="",this._availableVendors=[]}get bookingEntry(){return this._booking.currentEntry}get selectedVendor(){return this._selectedVendor}get availableVendors(){return this._availableVendors}ngOnInit(){this._booking.BookingEntry$.subscribe(e=>{this.load()})}vendorSelected(e){return Object(n_.b)(this,void 0,void 0,function*(){this._selectedVendor=e})}confirmSelection(){return Object(n_.b)(this,void 0,void 0,function*(){void 0!==this._selectedVendor&&(yield this._booking.selectVendor(this._selectedVendor.id),this._route.navigate([".."],{relativeTo:this._aroute}))})}load(){var e;return Object(n_.b)(this,void 0,void 0,function*(){this._booking.canSelectVendor||this._route.navigate([".."],{relativeTo:this._aroute}),this._availableVendors=null!==(e=yield this._booking.avilableVendors())&&void 0!==e?e:[]})}}return e.\u0275fac=function(t){return new(t||e)(ja(yV),ja(zx),ja(cD))},e.\u0275cmp=He({type:e,selectors:[["app-vendor-selection-form"]],decls:8,vars:3,consts:[["fxLayout","","fxLayout.xs","column","fxLayoutAlign","start flex-space-between","fxLayoutWrap","wrap","fxLayoutGap","32px",1,"container"],["fxFlex","50%",1,"vendor-select"],[4,"ngIf"],["class","vendor-card mat-elevation-z8",3,"click",4,"ngFor","ngForOf"],["vertical",""],["fxFlex","50%","class","item vendor-details",4,"ngIf"],[1,"vendor-card","mat-elevation-z8",3,"click"],[1,"item"],[3,"readonly","rating"],[1,"label"],["fxFlex","50%",1,"item","vendor-details"],[1,"details","item"],["class","details item",4,"ngIf"],[1,"controls","item"],["mat-raised-button","","color","primary",3,"click"],[1,"item","label"],["class","vendor-review-card mat-elevation-z8",4,"ngFor","ngForOf"],[1,"vendor-review-card","mat-elevation-z8"]],template:function(e,t){1&e&&(Na(0,"div",0),Na(1,"div",1),Na(2,"h2"),Mo(3,"Select a vendor"),Ha(),Pa(4,bV,2,0,"div",2),Pa(5,vV,13,8,"mat-card",3),Ha(),Va(6,"mat-divider",4),Pa(7,SV,11,4,"div",5),Ha()),2&e&&(rs(4),Ya("ngIf",void 0!==t.bookingEntry&&0===t.availableVendors.length),rs(1),Ya("ngForOf",t.availableVendors),rs(2),Ya("ngIf",t.selectedVendor))},directives:[sY,GY,hY,CY,Pd,Ad,sP,ij,rj,tj,nj,ej,DN,fw],pipes:[$d],styles:[""]}),e})();function xV(e,t){if(1&e&&(Na(0,"button",4),Mo(1,"Review"),Ha()),2&e){const e=eo();Ya("disabled",!(null!=e.form&&e.form.valid&&e.currentEntry.user_rating))}}let MV=(()=>{class e{constructor(e){this._schemaLoader=e,this.saveEvent=new dc,this._entry={},this.form=new iS({}),this.fields=[],this.options={formState:{disabled:!0}}}ngOnChanges(e){void 0!==e.entry&&(this._entry=e.entry.currentValue)}ratingUpdate(e){this._entry.user_rating=e}get currentEntry(){return this._entry}get readonly(){return void 0!==this.entry}setReadOnly(e){e?this.form.disable():this.form.enable()}ngOnInit(){var e;return Object(n_.b)(this,void 0,void 0,function*(){this._entry=null!==(e=this.entry)&&void 0!==e?e:{};var t=yield this._schemaLoader.loadSchema("/assets/vendor-booking-review.json"),n=t.find(e=>"user_review"===e.key);void 0!==n&&void 0!==n.templateOptions&&(n.type="textarea",n.templateOptions.rows=4,n.templateOptions.placeholder="Your review",n.expressionProperties={"templateOptions.disabled":()=>this.readonly}),void 0!==(n=t.find(e=>"user_rating"===e.key))&&(n.hide=!0),this.fields=t})}onSubmit(){this.saveEvent.emit(this._entry)}}return e.\u0275fac=function(t){return new(t||e)(ja(wN))},e.\u0275cmp=He({type:e,selectors:[["app-booking-review-form"]],inputs:{entry:"entry"},outputs:{saveEvent:"saveEvent"},features:[ut],decls:5,vars:8,consts:[[3,"formGroup","ngSubmit"],[3,"rating","readonly","ratingUpdated"],[3,"form","fields","options","model"],["mat-raised-button","","color","primary","type","submit","class","btn btn-default",3,"disabled",4,"ngIf"],["mat-raised-button","","color","primary","type","submit",1,"btn","btn-default",3,"disabled"]],template:function(e,t){1&e&&(Na(0,"form",0),Ga("ngSubmit",function(){return t.onSubmit()}),Na(1,"div"),Na(2,"mat-star-rating",1),Ga("ratingUpdated",function(e){return t.ratingUpdate(e)}),Ha(),Ha(),Va(3,"formly-form",2),Pa(4,xV,2,1,"button",3),Ha()),2&e&&(Ya("formGroup",t.form),rs(2),Ya("rating",t.currentEntry.user_rating)("readonly",t.readonly),rs(1),Ya("form",t.form)("fields",t.fields)("options",t.options)("model",t.currentEntry),rs(1),Ya("ngIf",!t.readonly))},directives:[dS,wk,_S,DN,tC,Pd,fw],styles:[""]}),e})();function DV(e,t){1&e&&(Na(0,"mat-header-cell"),Mo(1," Created "),Ha())}function LV(e,t){if(1&e&&(Na(0,"mat-cell"),Na(1,"div",11),Mo(2,"Created"),Ha(),Mo(3),ac(4,"date"),Ha()),2&e){const e=t.$implicit;rs(3),Lo(" ",lc(4,1,e.created_at,"short")," ")}}function OV(e,t){1&e&&(Na(0,"mat-header-cell"),Mo(1,"Modified"),Ha())}function EV(e,t){if(1&e&&(Na(0,"mat-cell"),Na(1,"div",11),Mo(2,"Modified"),Ha(),Mo(3),ac(4,"date"),Ha()),2&e){const e=t.$implicit;rs(3),Lo(" ",lc(4,1,e.modified_at,"short")," ")}}function TV(e,t){1&e&&(Na(0,"mat-header-cell"),Mo(1,"Vendor"),Ha())}function AV(e,t){if(1&e&&(Na(0,"mat-cell"),Na(1,"div",11),Mo(2,"Vendor"),Ha(),Mo(3),Ha()),2&e){const e=t.$implicit;rs(3),Lo(" ",null==e||null==e.vendor?null:e.vendor.name," ")}}function IV(e,t){1&e&&(Na(0,"mat-header-cell",12),Mo(1," Status "),Ha())}function PV(e,t){if(1&e&&(Na(0,"mat-cell"),Na(1,"div",11),Mo(2,"Status"),Ha(),Mo(3),Ha()),2&e){const e=t.$implicit;rs(3),Lo(" ",e.status," ")}}function RV(e,t){1&e&&(Na(0,"mat-header-cell",12),Mo(1," Note "),Ha())}function jV(e,t){if(1&e&&(Na(0,"mat-cell"),Na(1,"div",11),Mo(2,"Note"),Ha(),Mo(3),Ha()),2&e){const e=t.$implicit;rs(3),Lo(" ",e.vendor_note," ")}}function YV(e,t){1&e&&Va(0,"mat-header-row")}const FV=function(e){return["vendor",e]};function NV(e,t){1&e&&Va(0,"mat-row",13),2&e&&Ya("routerLink",nc(1,FV,t.$implicit.id))}let HV=(()=>{class e{constructor(e){this._booking=e,this.columnsToDisplay=["modified_at","status","vendor","note"]}get VendorBookings(){var e;return null!==(e=this._booking.currentEntry.vendors)&&void 0!==e?e:[]}ngOnInit(){this._booking.BookingEntry$.subscribe(e=>{})}rowClicked(e){}}return e.\u0275fac=function(t){return new(t||e)(ja(yV))},e.\u0275cmp=He({type:e,selectors:[["app-vendor-booking-list"]],decls:20,vars:3,consts:[[1,"clickable-table","mat-elevation-z8",3,"dataSource"],["matColumnDef","created_at"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","modified_at"],["matColumnDef","vendor"],["matColumnDef","status"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","note"],[4,"matHeaderRowDef"],["mat-row","",3,"routerLink",4,"matRowDef","matRowDefColumns"],[1,"mobile-label"],["mat-header-cell",""],["mat-row","",3,"routerLink"]],template:function(e,t){1&e&&(Na(0,"h2"),Mo(1,"Vendors"),Ha(),Na(2,"mat-table",0),Ua(3,1),Pa(4,DV,2,0,"mat-header-cell",2),Pa(5,LV,5,4,"mat-cell",3),Ba(),Ua(6,4),Pa(7,OV,2,0,"mat-header-cell",2),Pa(8,EV,5,4,"mat-cell",3),Ba(),Ua(9,5),Pa(10,TV,2,0,"mat-header-cell",2),Pa(11,AV,4,1,"mat-cell",3),Ba(),Ua(12,6),Pa(13,IV,2,0,"mat-header-cell",7),Pa(14,PV,4,1,"mat-cell",3),Ba(),Ua(15,8),Pa(16,RV,2,0,"mat-header-cell",7),Pa(17,jV,4,1,"mat-cell",3),Ba(),Pa(18,YV,1,0,"mat-header-row",9),Pa(19,NV,1,3,"mat-row",10),Ha()),2&e&&(rs(2),Ya("dataSource",t.VendorBookings),rs(16),Ya("matHeaderRowDef",t.columnsToDisplay),rs(1),Ya("matRowDefColumns",t.columnsToDisplay))},directives:[uP,yP,fP,hP,MP,EP,vP,CP,AP,jP,uD],pipes:[$d],styles:[""]}),e})();const VV=function(){return["./vendors"]};function UV(e,t){1&e&&(Na(0,"button",14),Mo(1,"Select vendor"),Ha()),2&e&&Ya("routerLink",tc(1,VV))}function BV(e,t){if(1&e){const e=Wa();Na(0,"button",15),Ga("click",function(){return jt(e),eo().cancelBooking()}),Mo(1,"Cancel"),Ha()}}function zV(e,t){if(1&e){const e=Wa();Na(0,"mat-card",16),Na(1,"mat-card-header"),Na(2,"mat-card-title"),Mo(3,"Review"),Ha(),Ha(),Na(4,"mat-card-content"),Na(5,"app-booking-review-form",17),Ga("saveEvent",function(t){return jt(e),eo().reviewVendor(t)}),Ha(),Ha(),Ha()}if(2&e){const e=eo();rs(5),Ya("entry",e.currentReview)}}const WV=function(){return["./checkout"]};function qV(e,t){1&e&&(Na(0,"button",14),Mo(1,"Checkout"),Ha()),2&e&&Ya("routerLink",tc(1,WV))}function KV(e,t){if(1&e){const e=Wa();Na(0,"button",15),Ga("click",function(){return jt(e),eo(2).rejectVendor()}),Mo(1,"Reject"),Ha()}}const $V=function(e){return["vendor",e]};function GV(e,t){if(1&e&&(Na(0,"mat-card",18),Na(1,"mat-card-header"),Na(2,"mat-card-title"),Na(3,"a",19),Mo(4,"Current Quote"),Ha(),Ha(),Na(5,"mat-card-subtitle"),Mo(6),ac(7,"date"),Ha(),Ha(),Na(8,"mat-card-content"),Na(9,"div",4),Na(10,"div",3),Mo(11,"Total amount"),Ha(),Mo(12),Ha(),Na(13,"div",2),Na(14,"div",3),Mo(15,"Vendor"),Ha(),Mo(16),Ha(),Na(17,"div",2),Na(18,"div",3),Mo(19,"From"),Ha(),Mo(20),ac(21,"date"),Ha(),Na(22,"div",4),Na(23,"div",3),Mo(24,"To"),Ha(),Mo(25),ac(26,"date"),Ha(),Na(27,"div",4),Na(28,"div",3),Mo(29,"Note"),Ha(),Na(30,"div",5),Mo(31),Ha(),Ha(),Ha(),Pa(32,qV,2,2,"button",6),Pa(33,KV,2,0,"button",7),Ha()),2&e){const e=eo();rs(3),Ya("routerLink",nc(18,$V,null==e.currentVendor?null:e.currentVendor.id)),rs(3),Lo("Created ",lc(7,9,null==e.currentQuote?null:e.currentQuote.created_at,"short"),""),rs(6),Lo(" ",e.currentQuote.total_amount," "),rs(4),Lo(" ",null==e.currentVendor||null==e.currentVendor.vendor?null:e.currentVendor.vendor.name," "),rs(4),Lo(" ",lc(21,12,null==e.currentVendor?null:e.currentVendor.start_time,"short")," "),rs(5),Lo(" ",lc(26,15,null==e.currentVendor?null:e.currentVendor.end_time,"short")," "),rs(6),Do(null==e.currentVendor?null:e.currentVendor.vendor_note),rs(1),Ya("ngIf",e.canRespond),rs(1),Ya("ngIf",e.canRespond)}}function JV(e,t){if(1&e&&(Na(0,"mat-card",20),Na(1,"mat-card-header"),Na(2,"mat-card-title"),Na(3,"a",19),Mo(4,"Invoice"),Ha(),Ha(),Na(5,"mat-card-subtitle"),Mo(6),ac(7,"date"),Ha(),Ha(),Na(8,"mat-card-content"),Na(9,"div",2),Na(10,"div",3),Mo(11,"Total amount"),Ha(),Mo(12),Ha(),Na(13,"div",2),Na(14,"div",3),Mo(15,"Status"),Ha(),Mo(16),Ha(),Na(17,"div",4),Na(18,"div",3),Mo(19,"Payment method"),Ha(),Mo(20),Ha(),Na(21,"div",2),Na(22,"div",3),Mo(23,"Vendor"),Ha(),Mo(24),Ha(),Na(25,"div",2),Na(26,"div",3),Mo(27,"From"),Ha(),Mo(28),ac(29,"date"),Ha(),Na(30,"div",4),Na(31,"div",3),Mo(32,"To"),Ha(),Mo(33),ac(34,"date"),Ha(),Ha(),Ha()),2&e){const e=eo();rs(3),Ya("routerLink",nc(17,$V,null==e.currentVendor?null:e.currentVendor.id)),rs(3),Lo("Created ",lc(7,8,null==e.currentInvoice?null:e.currentInvoice.created_at,"short"),""),rs(6),Lo(" ",e.currentInvoice.total_amount," "),rs(4),Lo(" ",e.currentInvoice.status," "),rs(4),Lo(" ",e.currentInvoice.payment_method," "),rs(4),Lo(" ",null==e.currentVendor||null==e.currentVendor.vendor?null:e.currentVendor.vendor.name," "),rs(4),Lo(" ",lc(29,11,null==e.currentVendor?null:e.currentVendor.start_time,"short")," "),rs(5),Lo(" ",lc(34,14,null==e.currentVendor?null:e.currentVendor.end_time,"short")," ")}}function QV(e,t){1&e&&(Na(0,"div",21),Va(1,"app-vendor-booking-list",22),Ha())}let XV=(()=>{class e{constructor(e){this.bookingHandler=e}get currentEntry(){return this.bookingHandler.currentEntry}get currentVendor(){return this.bookingHandler.currentVendor}get currentQuote(){var e,t;return null===(t=null===(e=this.currentVendor)||void 0===e?void 0:e.quotes)||void 0===t?void 0:t[0]}get currentInvoice(){var e,t;return null===(t=null===(e=this.currentQuote)||void 0===e?void 0:e.invoices)||void 0===t?void 0:t[0]}get currentReview(){return this.bookingHandler.currentReview}get BookingId(){var e,t;return null!==(t=null===(e=this.bookingHandler)||void 0===e?void 0:e.currentEntry.id)&&void 0!==t?t:""}get canRespond(){return this.bookingHandler.canRespond}get canCancel(){return this.bookingHandler.canCancel}get canReview(){return this.bookingHandler.canReview}get canSelectVendor(){return this.bookingHandler.canSelectVendor}reviewVendor(e){this.bookingHandler.reviewVendor(e)}cancelBooking(){confirm("Are you sure you want to cancel ?")&&this.bookingHandler.cancelBooking()}rejectVendor(){confirm("Are you sure you want to reject ?")&&this.bookingHandler.rejectVendor()}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)(ja(yV))},e.\u0275cmp=He({type:e,selectors:[["app-current-booking"]],decls:70,vars:28,consts:[["fxLayout","row wrap","fxLayout.lt-sm","column","fxLayoutGap","32px","fxLayoutAlign","center flex-space-between",1,"container","space-bottom"],["fxFlex","20%",1,"booking-card","mat-elevation-z8"],[1,"item","lowpad"],[1,"label"],[1,"item"],[1,"item","long-text"],["mat-raised-button","","color","primary",3,"routerLink",4,"ngIf"],["mat-raised-button","","color","warn",3,"click",4,"ngIf"],["fxFlex","20%","class","invoice-card",4,"ngIf"],["fxFlex","20%",1,"address-card","mat-elevation-z8"],[1,"item","long-text-inline"],["fxFlex","20%","class","quote-card mat-elevation-z8",4,"ngIf"],["fxFlex","20%","class","invoice-card mat-elevation-z8",4,"ngIf"],["class","container","fxLayout","row wrap","fxLayout.lt-sm","column","fxLayoutGap","32px","fxLayoutAlign","flex-space-between","class","container vendor-booking-list",4,"ngIf"],["mat-raised-button","","color","primary",3,"routerLink"],["mat-raised-button","","color","warn",3,"click"],["fxFlex","20%",1,"invoice-card"],[3,"entry","saveEvent"],["fxFlex","20%",1,"quote-card","mat-elevation-z8"],[3,"routerLink"],["fxFlex","20%",1,"invoice-card","mat-elevation-z8"],["fxLayout","row wrap","fxLayout.lt-sm","column","fxLayoutGap","32px","fxLayoutAlign","flex-space-between",1,"container","vendor-booking-list"],["fxFlex","100%"]],template:function(e,t){1&e&&(Na(0,"div",0),Na(1,"mat-card",1),Na(2,"mat-card-header"),Na(3,"mat-card-title"),Mo(4,"Booking Details"),Ha(),Na(5,"mat-card-subtitle"),Mo(6),ac(7,"date"),Ha(),Ha(),Na(8,"mat-card-content"),Na(9,"div",2),Na(10,"div",3),Mo(11,"Service"),Ha(),Mo(12),Ha(),Na(13,"div",2),Na(14,"div",3),Mo(15,"Status"),Ha(),Mo(16),Ha(),Na(17,"div",2),Na(18,"div",3),Mo(19,"Time"),Ha(),Mo(20),ac(21,"date"),Ha(),Na(22,"div",4),Na(23,"div",3),Mo(24,"Alternative time"),Ha(),Mo(25),ac(26,"date"),Ha(),Na(27,"div",2),Na(28,"div",3),Mo(29,"Description"),Ha(),Na(30,"div",5),Mo(31),Ha(),Ha(),Ha(),Pa(32,UV,2,2,"button",6),Pa(33,BV,2,0,"button",7),Ha(),Pa(34,zV,6,1,"mat-card",8),Na(35,"mat-card",9),Na(36,"mat-card-header"),Na(37,"mat-card-title"),Mo(38,"Address"),Ha(),Na(39,"mat-card-subtitle"),Mo(40),Ha(),Ha(),Na(41,"mat-card-content"),Na(42,"div",2),Na(43,"div",3),Mo(44,"Area"),Ha(),Mo(45),Ha(),Na(46,"div",2),Na(47,"div",3),Mo(48,"Flat"),Ha(),Mo(49),Ha(),Na(50,"div",2),Na(51,"div",3),Mo(52,"Building"),Ha(),Mo(53),Ha(),Na(54,"div",2),Na(55,"div",3),Mo(56,"Road"),Ha(),Mo(57),Ha(),Na(58,"div",4),Na(59,"div",3),Mo(60,"Block"),Ha(),Mo(61),Ha(),Na(62,"div",2),Na(63,"div",3),Mo(64,"Extra details"),Ha(),Na(65,"div",10),Mo(66),Ha(),Ha(),Ha(),Ha(),Pa(67,GV,34,20,"mat-card",11),Pa(68,JV,35,19,"mat-card",12),Ha(),Pa(69,QV,2,0,"div",13)),2&e&&(rs(6),Lo("Created ",lc(7,19,null==t.currentEntry?null:t.currentEntry.created_at,"short"),""),rs(6),Lo(" ",null==t.currentEntry||null==t.currentEntry.service?null:t.currentEntry.service.name," "),rs(4),Lo(" ",null==t.currentEntry?null:t.currentEntry.status," "),rs(4),Lo(" ",lc(21,22,null==t.currentEntry?null:t.currentEntry.start_time,"short")," "),rs(5),Lo(" ",lc(26,25,null==t.currentEntry?null:t.currentEntry.alternative_start_time,"short")," "),rs(6),Do(null==t.currentEntry?null:t.currentEntry.description),rs(1),Ya("ngIf",t.canSelectVendor),rs(1),Ya("ngIf",t.canCancel),rs(1),Ya("ngIf",(null==t.currentVendor?null:t.currentVendor.user_rating)||"resolved"===(null==t.currentVendor?null:t.currentVendor.status)),rs(6),Do(null==t.currentEntry||null==t.currentEntry.address?null:t.currentEntry.address.name),rs(5),Lo(" ",null==t.currentEntry||null==t.currentEntry.address||null==t.currentEntry.address.area?null:t.currentEntry.address.area.name," "),rs(4),Lo(" ",null==t.currentEntry||null==t.currentEntry.address?null:t.currentEntry.address.flat," "),rs(4),Lo(" ",null==t.currentEntry||null==t.currentEntry.address?null:t.currentEntry.address.building," "),rs(4),Lo(" ",null==t.currentEntry||null==t.currentEntry.address?null:t.currentEntry.address.road," "),rs(4),Lo(" ",null==t.currentEntry||null==t.currentEntry.address?null:t.currentEntry.address.block," "),rs(5),Do(null==t.currentEntry||null==t.currentEntry.address?null:t.currentEntry.address.extra_details),rs(1),Ya("ngIf",t.currentQuote&&!t.currentInvoice),rs(1),Ya("ngIf",t.currentInvoice),rs(1),Ya("ngIf",t.currentEntry))},directives:[sY,hY,GY,ij,CY,rj,tj,nj,ej,Pd,fw,uD,MV,dD,HV],pipes:[$d],styles:[""]}),e})(),ZV=(()=>{class e{constructor(e,t,n){this._bookingHandler=e,this._aroute=t,this._router=n}goBack(){var e=this._aroute;this._aroute.children.length>0&&""!==this._aroute.children[0].snapshot.url.toString()&&(e=this._aroute.children[this._aroute.children.length-1]),e===this._aroute?this._router.navigate([".."],{relativeTo:this._aroute}):this._router.navigate(["."],{relativeTo:e.parent})}ngOnInit(){this._aroute.params.subscribe(e=>{this._bookingHandler.load(e.bookingId)})}}return e.\u0275fac=function(t){return new(t||e)(ja(yV),ja(zx),ja(cD))},e.\u0275cmp=He({type:e,selectors:[["app-booking"]],decls:5,vars:0,consts:[[1,"controls-div"],["color","primary","mat-mini-fab","",1,"back-button",3,"click"]],template:function(e,t){1&e&&(Na(0,"div",0),Na(1,"button",1),Ga("click",function(){return t.goBack()}),Na(2,"mat-icon"),Mo(3,"arrow_back"),Ha(),Ha(),Ha(),Va(4,"router-outlet"))},directives:[fw,KD,pD],styles:[""]}),e})();function eU(e,t){if(1&e&&(Na(0,"div",2),Na(1,"div",3),Mo(2,"From"),Ha(),Mo(3),ac(4,"date"),Ha()),2&e){const e=eo();rs(3),Lo(" ",lc(4,1,null==e.currentEntry?null:e.currentEntry.start_time,"short")," ")}}function tU(e,t){if(1&e&&(Na(0,"div",2),Na(1,"div",3),Mo(2,"To"),Ha(),Mo(3),ac(4,"date"),Ha()),2&e){const e=eo();rs(3),Lo(" ",lc(4,1,null==e.currentEntry?null:e.currentEntry.end_time,"short")," ")}}function nU(e,t){if(1&e){const e=Wa();Na(0,"button",9),Ga("click",function(){return jt(e),eo().cancelVendor()}),Mo(1,"Cancel"),Ha()}}function iU(e,t){if(1&e&&(Na(0,"mat-card",10),Na(1,"mat-card-header"),Na(2,"mat-card-title"),Mo(3,"Quote summary"),Ha(),Na(4,"mat-card-subtitle"),Mo(5),ac(6,"date"),Ha(),Ha(),Na(7,"mat-card-content"),Na(8,"div",2),Na(9,"div",3),Mo(10,"From"),Ha(),Mo(11),ac(12,"date"),Ha(),Na(13,"div",2),Na(14,"div",3),Mo(15,"To"),Ha(),Mo(16),ac(17,"date"),Ha(),Na(18,"div",4),Na(19,"div",3),Mo(20,"Note"),Ha(),Na(21,"div",4),Mo(22),Ha(),Ha(),Ha(),Ha()),2&e){const e=eo();rs(5),Lo("Created ",lc(6,4,null==e.currentQuote?null:e.currentQuote.created_at,"short"),""),rs(6),Lo(" ",lc(12,7,null==e.currentEntry?null:e.currentEntry.start_time,"short")," "),rs(5),Lo(" ",lc(17,10,null==e.currentEntry?null:e.currentEntry.end_time,"short")," "),rs(6),Do(null==e.currentEntry?null:e.currentEntry.vendor_note)}}function rU(e,t){if(1&e&&(Na(0,"mat-card",10),Na(1,"mat-card-header"),Na(2,"mat-card-title"),Mo(3,"Invoice summary"),Ha(),Na(4,"mat-card-subtitle"),Mo(5),ac(6,"date"),Ha(),Ha(),Na(7,"mat-card-content"),Na(8,"div",2),Na(9,"div",3),Mo(10,"Total amount"),Ha(),Mo(11),Ha(),Na(12,"div",2),Na(13,"div",3),Mo(14,"Status"),Ha(),Mo(15),Ha(),Na(16,"div",4),Na(17,"div",3),Mo(18,"Payment method"),Ha(),Mo(19),Ha(),Ha(),Ha()),2&e){const e=eo();rs(5),Lo("Created ",lc(6,4,null==e.currentInvoice?null:e.currentInvoice.created_at,"short"),""),rs(6),Lo(" ",e.currentInvoice.total_amount," "),rs(4),Lo(" ",e.currentInvoice.status," "),rs(4),Lo(" ",e.currentInvoice.payment_method," ")}}function sU(e,t){1&e&&(Na(0,"mat-header-cell",25),Mo(1,"Item Code"),Ha())}function aU(e,t){if(1&e&&(Na(0,"mat-cell",26),Na(1,"div",27),Mo(2,"Item Code"),Ha(),Mo(3),Ha()),2&e){const e=t.$implicit;rs(3),Lo(" ",e.item_code," ")}}function oU(e,t){1&e&&Va(0,"mat-footer-cell")}function lU(e,t){1&e&&(Na(0,"mat-header-cell",25),Mo(1," Name "),Ha())}function cU(e,t){if(1&e&&(Na(0,"mat-cell",26),Na(1,"div",27),Mo(2,"Name"),Ha(),Mo(3),Ha()),2&e){const e=t.$implicit;rs(3),Lo(" ",e.item_name," ")}}function uU(e,t){1&e&&Va(0,"mat-footer-cell")}function dU(e,t){1&e&&(Na(0,"mat-header-cell",25),Mo(1," Price "),Ha())}function hU(e,t){if(1&e&&(Na(0,"mat-cell",26),Na(1,"div",27),Mo(2,"Price"),Ha(),Mo(3),Ha()),2&e){const e=t.$implicit;rs(3),Lo(" ",e.price," ")}}function pU(e,t){1&e&&Va(0,"mat-footer-cell")}function fU(e,t){1&e&&(Na(0,"mat-header-cell",25),Mo(1," Quantity "),Ha())}function mU(e,t){if(1&e&&(Na(0,"mat-cell",26),Na(1,"div",27),Mo(2,"Quantity"),Ha(),Mo(3),Ha()),2&e){const e=t.$implicit;rs(3),Lo(" ",e.quantity," ")}}function _U(e,t){1&e&&(Na(0,"mat-footer-cell"),Mo(1,"Total"),Ha())}function gU(e,t){1&e&&(Na(0,"mat-header-cell",25),Mo(1," Total "),Ha())}function yU(e,t){if(1&e&&(Na(0,"mat-cell",26),Na(1,"div",27),Mo(2,"Total"),Ha(),Mo(3),Ha()),2&e){const e=t.$implicit;rs(3),Lo(" ",e.quantity*e.price||0," ")}}function bU(e,t){if(1&e&&(Na(0,"mat-footer-cell"),Mo(1),Ha()),2&e){const e=eo(2);rs(1),Lo(" ",null==e.currentQuote?null:e.currentQuote.total_amount," ")}}function vU(e,t){1&e&&Va(0,"mat-header-row")}function wU(e,t){1&e&&Va(0,"mat-row",28)}function kU(e,t){1&e&&Va(0,"mat-footer-row")}function SU(e,t){if(1&e&&(Na(0,"div",11),Na(1,"mat-table",12,13),Ua(3,14),Pa(4,sU,2,0,"mat-header-cell",15),Pa(5,aU,4,1,"mat-cell",16),Pa(6,oU,1,0,"mat-footer-cell",17),Ba(),Ua(7,18),Pa(8,lU,2,0,"mat-header-cell",15),Pa(9,cU,4,1,"mat-cell",16),Pa(10,uU,1,0,"mat-footer-cell",17),Ba(),Ua(11,19),Pa(12,dU,2,0,"mat-header-cell",15),Pa(13,hU,4,1,"mat-cell",16),Pa(14,pU,1,0,"mat-footer-cell",17),Ba(),Ua(15,20),Pa(16,fU,2,0,"mat-header-cell",15),Pa(17,mU,4,1,"mat-cell",16),Pa(18,_U,2,0,"mat-footer-cell",17),Ba(),Ua(19,21),Pa(20,gU,2,0,"mat-header-cell",15),Pa(21,yU,4,1,"mat-cell",16),Pa(22,bU,2,1,"mat-footer-cell",17),Ba(),Pa(23,vU,1,0,"mat-header-row",22),Pa(24,wU,1,0,"mat-row",23),Pa(25,kU,1,0,"mat-footer-row",24),Ha(),Ha()),2&e){const e=eo();rs(1),Ya("dataSource",null==e.currentQuote?null:e.currentQuote.items),rs(22),Ya("matHeaderRowDef",e.columnsToDisplay),rs(1),Ya("matRowDefColumns",e.columnsToDisplay),rs(1),Ya("matFooterRowDef",e.columnsToDisplay)("matFooterRowDefSticky",!0)}}let CU=(()=>{class e{constructor(e,t){this._bookingHandler=e,this._route=t,this.columnsToDisplay=["code","name","price","quantity","total"],this.footerCells=["quantity","total"]}get currentEntry(){return this._currentEntry}get currentQuote(){var e,t;return null===(t=null===(e=this._currentEntry)||void 0===e?void 0:e.quotes)||void 0===t?void 0:t[0]}get currentInvoice(){var e,t;return null===(t=null===(e=this.currentQuote)||void 0===e?void 0:e.invoices)||void 0===t?void 0:t[0]}get canCancel(){return this._bookingHandler.canCancelVendor}load(){return Object(n_.b)(this,void 0,void 0,function*(){void 0!==this._currentId&&(this._currentEntry=yield this._bookingHandler.getVendorBooking(this._currentId))})}ngOnInit(){this._route.params.subscribe(e=>{this._currentId=e.vendorId}),this._bookingHandler.BookingEntry$.subscribe(e=>Object(n_.b)(this,void 0,void 0,function*(){this.load()}))}cancelVendor(){return Object(n_.b)(this,void 0,void 0,function*(){confirm("Are you sure you want to cancel ?")&&this._bookingHandler.cancelVendor()})}}return e.\u0275fac=function(t){return new(t||e)(ja(yV),ja(zx))},e.\u0275cmp=He({type:e,selectors:[["app-current-vendor-booking"]],decls:23,vars:12,consts:[["fxLayout","row wrap","fxLayout.lt-sm","column","fxLayoutGap","32px","fxLayoutAlign","center flex-space-between",1,"container","space-bottom"],["fxFlex","30%",1,"booking-card","mat-elevation-z8"],[1,"item","lowpad"],[1,"label"],[1,"item"],["class","item lowpad",4,"ngIf"],["mat-raised-button","","color","warn",3,"click",4,"ngIf"],["fxFlex","60%","class","quote-card mat-elevation-z8",4,"ngIf"],["class","container","fxLayout","column","fxLayoutGap","32px",4,"ngIf"],["mat-raised-button","","color","warn",3,"click"],["fxFlex","60%",1,"quote-card","mat-elevation-z8"],["fxLayout","column","fxLayoutGap","32px",1,"container"],["multiTemplateDataRows","",1,"mat-elevation-z8",3,"dataSource"],["itemsTable",""],["matColumnDef","code"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],[4,"matFooterCellDef"],["matColumnDef","name"],["matColumnDef","price"],["matColumnDef","quantity"],["matColumnDef","total"],[4,"matHeaderRowDef"],["matRipple","","class","item-row",4,"matRowDef","matRowDefColumns"],[4,"matFooterRowDef","matFooterRowDefSticky"],["mat-header-cell",""],["mat-cell",""],[1,"mobile-label"],["matRipple","",1,"item-row"]],template:function(e,t){1&e&&(Na(0,"div",0),Na(1,"mat-card",1),Na(2,"mat-card-header"),Na(3,"mat-card-title"),Mo(4,"Booking Details"),Ha(),Na(5,"mat-card-subtitle"),Mo(6),ac(7,"date"),Ha(),Ha(),Na(8,"mat-card-content"),Na(9,"div",2),Na(10,"div",3),Mo(11,"Status"),Ha(),Mo(12),Ha(),Na(13,"div",4),Na(14,"div",3),Mo(15,"Vendor"),Ha(),Mo(16),Ha(),Pa(17,eU,5,4,"div",5),Pa(18,tU,5,4,"div",5),Pa(19,nU,2,0,"button",6),Ha(),Ha(),Pa(20,iU,23,13,"mat-card",7),Pa(21,rU,20,7,"mat-card",7),Ha(),Pa(22,SU,26,5,"div",8)),2&e&&(rs(6),Lo("Created ",lc(7,9,null==t.currentEntry?null:t.currentEntry.created_at,"short"),""),rs(6),Lo(" ",null==t.currentEntry?null:t.currentEntry.status," "),rs(4),Lo(" ",null==t.currentEntry||null==t.currentEntry.vendor?null:t.currentEntry.vendor.name," "),rs(1),Ya("ngIf",t.currentInvoice),rs(1),Ya("ngIf",t.currentInvoice),rs(1),Ya("ngIf",t.canCancel),rs(1),Ya("ngIf",t.currentQuote&&!t.currentInvoice),rs(1),Ya("ngIf",t.currentInvoice),rs(1),Ya("ngIf",null==t.currentQuote?null:t.currentQuote.items))},directives:[sY,hY,GY,ij,CY,rj,tj,nj,ej,Pd,fw,uP,yP,fP,hP,_P,MP,EP,LP,vP,CP,kP,AP,jP,PP],pipes:[$d],styles:[""]}),e})();const xU=oT.a||aT,MU=new Zn("MAT_MOMENT_DATE_ADAPTER_OPTIONS",{providedIn:"root",factory:function(){return{useUtc:!1}}});function DU(e,t){const n=Array(e);for(let i=0;i{class e extends Hb{constructor(e,t){super(),this._options=t,this.setLocale(e||xU.locale())}setLocale(e){super.setLocale(e);let t=xU.localeData(e);this._localeData={firstDayOfWeek:t.firstDayOfWeek(),longMonths:t.months(),shortMonths:t.monthsShort(),dates:DU(31,e=>this.createDate(2017,0,e+1).format("D")),longDaysOfWeek:t.weekdays(),shortDaysOfWeek:t.weekdaysShort(),narrowDaysOfWeek:t.weekdaysMin()}}getYear(e){return this.clone(e).year()}getMonth(e){return this.clone(e).month()}getDate(e){return this.clone(e).date()}getDayOfWeek(e){return this.clone(e).day()}getMonthNames(e){return"long"==e?this._localeData.longMonths:this._localeData.shortMonths}getDateNames(){return this._localeData.dates}getDayOfWeekNames(e){return"long"==e?this._localeData.longDaysOfWeek:"short"==e?this._localeData.shortDaysOfWeek:this._localeData.narrowDaysOfWeek}getYearName(e){return this.clone(e).format("YYYY")}getFirstDayOfWeek(){return this._localeData.firstDayOfWeek}getNumDaysInMonth(e){return this.clone(e).daysInMonth()}clone(e){return e.clone().locale(this.locale)}createDate(e,t,n){const i=this._createMoment({year:e,month:t,date:n}).locale(this.locale);return i.isValid(),i}today(){return this._createMoment().locale(this.locale)}parse(e,t){return e&&"string"==typeof e?this._createMoment(e,t,this.locale):e?this._createMoment(e).locale(this.locale):null}format(e,t){return e=this.clone(e),this.isValid(e),e.format(t)}addCalendarYears(e,t){return this.clone(e).add({years:t})}addCalendarMonths(e,t){return this.clone(e).add({months:t})}addCalendarDays(e,t){return this.clone(e).add({days:t})}toIso8601(e){return this.clone(e).format()}deserialize(e){let t;if(e instanceof Date)t=this._createMoment(e).locale(this.locale);else if(this.isDateInstance(e))return this.clone(e);if("string"==typeof e){if(!e)return null;t=this._createMoment(e,xU.ISO_8601).locale(this.locale)}return t&&this.isValid(t)?this._createMoment(t).locale(this.locale):super.deserialize(e)}isDateInstance(e){return xU.isMoment(e)}isValid(e){return this.clone(e).isValid()}invalid(){return xU.invalid()}_createMoment(e,t,n){const{strict:i,useUtc:r}=this._options||{};return r?xU.utc(e,t,n,i):xU(e,t,n,i)}}return e.\u0275fac=function(t){return new(t||e)(gi(Nb,8),gi(MU,8))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();const OU={parse:{dateInput:"MM/YYYY"},display:{dateInput:"MM/YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};let EU=(()=>{class e{constructor(e){this._schemaLoader=e,this.saveCheckoutEvent=new dc,this.form=new iS({}),this.fields=[],this._entry={payment_method:"cash"}}get currentEntry(){return this._entry}ngOnInit(){return Object(n_.b)(this,void 0,void 0,function*(){void 0===this._entry&&(this._entry={});var e=yield this._schemaLoader.loadSchema("/assets/checkout-schema.json"),t=e.find(e=>"booking_id"===e.key);void 0!==t&&(t.hide=!0,t.templateOptions={required:!1}),void 0!==(t=e.find(e=>"payment_method"===e.key))&&void 0!==t.templateOptions&&(t.templateOptions.options=[{value:"cash",label:"Cash"},{value:"credit_card",label:"Credit card"}]),void 0!==(t=e.find(e=>"expiration_date"===e.key))&&void 0!==t.templateOptions&&(t.type="datepicker",t.hideExpression="model.payment_method !== 'credit_card'",void 0===t.templateOptions.datepickerOptions&&(t.templateOptions.datepickerOptions={}),t.templateOptions.datepickerOptions.startView="multi-year",t.templateOptions.datepickerOptions.monthSelected=(e,t,n)=>{var i;null===(i=null==e?void 0:e.formControl)||void 0===i||i.setValue(t),n.close()}),void 0!==(t=e.find(e=>"card_number"===e.key))&&(t.hideExpression="model.payment_method !== 'credit_card'"),this.fields=e})}checkValidCard(){var e,t,n;return!!("credit_card"!==(null===(e=null==this?void 0:this.form.get("payment_method"))||void 0===e?void 0:e.value)||(null===(t=null==this?void 0:this.form.get("card_number"))||void 0===t?void 0:t.value)&&(null===(n=null==this?void 0:this.form.get("expiration_date"))||void 0===n?void 0:n.value))}onSubmit(){var e;return Object(n_.b)(this,void 0,void 0,function*(){var t=Object.assign({},this._entry);void 0!==t.expiration_date&&(t.expiration_date=null===(e=this.form.get("expiration_date"))||void 0===e?void 0:e.value.format("YYYY-MM-DD")),this.saveCheckoutEvent.emit(t)})}}return e.\u0275fac=function(t){return new(t||e)(ja(wN))},e.\u0275cmp=He({type:e,selectors:[["app-checkout-form"]],inputs:{entry:"entry"},outputs:{saveCheckoutEvent:"saveCheckoutEvent"},features:[$o([{provide:Hc,useValue:"en-GB"},{provide:Hb,useClass:LU,deps:[Nb]},{provide:Vb,useValue:OU}])],decls:4,vars:5,consts:[[3,"formGroup","ngSubmit"],[3,"form","fields","model"],["mat-raised-button","","color","primary","type","submit",1,"btn","btn-default",3,"disabled"]],template:function(e,t){1&e&&(Na(0,"form",0),Ga("ngSubmit",function(){return t.onSubmit()}),Va(1,"formly-form",1),Na(2,"button",2),Mo(3,"Confirm booking"),Ha(),Ha()),2&e&&(Ya("formGroup",t.form),rs(1),Ya("form",t.form)("fields",t.fields)("model",t.currentEntry),rs(1),Ya("disabled",!(null!=t.form&&t.form.valid&&t.checkValidCard())))},directives:[dS,wk,_S,tC,fw],styles:[""]}),e})();function TU(e,t){if(1&e){const e=Wa();Na(0,"div",6),Va(1,"mat-divider",7),Na(2,"app-checkout-form",8),Ga("saveCheckoutEvent",function(t){return jt(e),eo().bookingSubmit(t)}),Ha(),Ha()}2&e&&(rs(1),Ya("vertical",!0))}const AU=[{path:"auth",component:vH,children:[{path:"signin",component:TH,canActivate:[SN]},{path:"signup",component:AH,canActivate:[SN]},{path:"confirm",component:PH,canActivate:[SN]}]},{path:"",component:MH},{path:"profile",component:ZH,canActivate:[kN]},{path:"profile/address",component:JH,canActivate:[kN]},{path:"services/:categoryId",component:nV},{path:"booking",component:mV,canActivate:[kN]},{path:"booking/new/:serviceId",component:gV,canActivate:[kN]},{path:"booking/:bookingId",canActivate:[kN],component:ZV,children:[{path:"checkout",component:(()=>{class e{constructor(e,t,n,i){this.bookingHandler=e,this._aroute=t,this._route=n,this._notifier=i}ngOnInit(){}bookingSubmit(e){return Object(n_.b)(this,void 0,void 0,function*(){var t=yield this.bookingHandler.checkOut(e);(null==t?void 0:t.result)===uH.ResultEnum.Success?this._route.navigate([".."],{relativeTo:this._aroute}):(null==t?void 0:t.result)===uH.ResultEnum.Declined&&this._notifier.show("Sorry transaction declined")})}get canRespond(){return this.bookingHandler.canRespond}get currentVendor(){return this.bookingHandler.currentVendor}get currentQuote(){var e,t;return null===(t=null===(e=this.currentVendor)||void 0===e?void 0:e.quotes)||void 0===t?void 0:t[0]}get currentEntry(){return this.bookingHandler.currentEntry}}return e.\u0275fac=function(t){return new(t||e)(ja(yV),ja(zx),ja(cD),ja(yN))},e.\u0275cmp=He({type:e,selectors:[["app-booking-checkout"]],decls:22,vars:8,consts:[["fxLayout","row wrap","fxLayout.lt-sm","column","fxLayoutGap","32px","fxLayoutAlign","center flex-space-between",1,"container","space-bottom"],["fxFlex","40%",1,"booking-card"],[1,"item","lowpad"],[1,"label"],[1,"item"],["fxFlex","40%","class","payment-form",4,"ngIf"],["fxFlex","40%",1,"payment-form"],[3,"vertical"],[3,"saveCheckoutEvent"]],template:function(e,t){1&e&&(Na(0,"div",0),Na(1,"mat-card",1),Na(2,"mat-card-header"),Na(3,"mat-card-title"),Mo(4,"Payment Details"),Ha(),Na(5,"mat-card-subtitle"),Mo(6),ac(7,"date"),Ha(),Ha(),Na(8,"mat-card-content"),Na(9,"div",2),Na(10,"div",3),Mo(11,"Service"),Ha(),Mo(12),Ha(),Na(13,"div",2),Na(14,"div",3),Mo(15,"Vendor"),Ha(),Mo(16),Ha(),Na(17,"div",4),Na(18,"div",3),Mo(19,"Total amount"),Ha(),Mo(20),Ha(),Ha(),Ha(),Pa(21,TU,3,1,"div",5),Ha()),2&e&&(rs(6),Lo("Created ",lc(7,5,null==t.currentEntry?null:t.currentEntry.created_at,"short"),""),rs(6),Lo(" ",null==t.currentEntry||null==t.currentEntry.service?null:t.currentEntry.service.name," "),rs(4),Lo(" ",null==t.currentVendor||null==t.currentVendor.vendor?null:t.currentVendor.vendor.name," "),rs(4),Lo(" ",null==t.currentQuote?null:t.currentQuote.total_amount," "),rs(1),Ya("ngIf",t.canRespond))},directives:[sY,hY,GY,ij,CY,rj,tj,nj,ej,Pd,sP,EU],pipes:[$d],styles:[""]}),e})(),canActivate:[kN]},{path:"vendor/:vendorId",component:CU,canActivate:[kN]},{path:"vendors",component:CV,canActivate:[kN]},{path:"",component:XV,canActivate:[kN]}]}];let IU=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[SD.forRoot(AU)],SD]}),e})();function PU(e,t){if(1&e){const e=Wa();Na(0,"div",7),Na(1,"a",8),Mo(2,"My account"),Ha(),Na(3,"mat-menu",null,9),Na(5,"button",10),Mo(6,"Bookings"),Ha(),Na(7,"button",11),Mo(8,"Profile"),Ha(),Na(9,"button",12),Ga("click",function(){return jt(e),eo().signOut()}),Mo(10,"Sign out"),Ha(),Ha(),Ha()}if(2&e){const e=Ra(4);rs(1),Ya("matMenuTriggerFor",e)}}function RU(e,t){1&e&&(Na(0,"a",13),Mo(1,"Sign In"),Ha())}let jU=(()=>{class e{constructor(e,t){this.auth=e,this._router=t,this.title="FixBaity"}signOut(){this.auth.signOut().finally(()=>{this._router.navigate([""])})}}return e.\u0275fac=function(t){return new(t||e)(ja(CN),ja(cD))},e.\u0275cmp=He({type:e,selectors:[["app-root"]],decls:11,vars:3,consts:[[1,"container"],["color","primary"],["mat-button","","routerLink","/"],[1,"fill-space"],["class","header-name","whoami","",4,"ngIf","ngIfElse"],["loginblock",""],[1,"content"],["whoami","",1,"header-name"],["mat-button","",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","","routerLink","/booking"],["mat-menu-item","","routerLink","/profile"],["mat-menu-item","",3,"click"],["mat-raised-button","","routerLink","auth/signin"]],template:function(e,t){if(1&e&&(Na(0,"div",0),Na(1,"mat-toolbar",1),Na(2,"span"),Na(3,"a",2),Mo(4),Ha(),Ha(),Va(5,"div",3),Pa(6,PU,11,1,"div",4),Pa(7,RU,2,0,"ng-template",null,5,Ec),Ha(),Na(9,"div",6),Va(10,"router-outlet"),Ha(),Ha()),2&e){const e=Ra(8);rs(4),Do(t.title),rs(2),Ya("ngIf",t.auth.loggedIn)("ngIfElse",e)}},directives:[nP,mw,dD,Pd,pD,LF,CF,vF,uD],styles:[""]}),e})(),YU=(()=>{class e{}return e.\u0275mod=ze({type:e,bootstrap:[jU]}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[{provide:KN,useFactory:e=>{const t=new KN({basePath:bH.api_path});return e.getAccessToken().then(e=>{t.apiKeys={"X-CognitoUser":e}}),t},deps:[CN],multi:!1}],imports:[[Eh,pp,IU,Gd,t_,yH,zN.forRoot(),WN.forRoot()]]}),e})();var FU=n("AL3R");FU.default.configure({Auth:bH.auth_config}),FU.default.Logger.LOG_LEVEL="DEBUG",bH.production&&function(){if(du)throw new Error("Cannot enable prod mode after platform setup.");uu=!1}(),Lh().bootstrapModule(YU).catch(e=>console.error(e))},v4IS:function(e,t,n){"use strict";n.d(t,"a",function(){return K});var i=n("m0iZ"),r=n("Nt7R"),s=n("Qycn"),a=n("R10A"),o=n("QuJe"),l=n("iVi/");function c(e,t){void 0===t&&(t={});var n=function(e){return e&&"j"===e[0]&&":"===e[1]?e.substr(2):e}(e);if(function(e,t){return void 0===t&&(t=!e||"{"!==e[0]&&"["!==e[0]&&'"'!==e[0]),!t}(n,t.doNotParse))try{return JSON.parse(n)}catch(i){}return e}var u,d=function(){return(d=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0&&this.changeListeners.splice(t,1)},e}(),p=n("HzrR"),f=Object(p.b)().isBrowser,m=function(){function e(e){void 0===e&&(e={}),this.cookies=new h,this.store=f?window.localStorage:Object.create(null),this.cookies=e.req?new h(e.req.headers.cookie):new h,Object.assign(this.store,this.cookies.getAll())}return Object.defineProperty(e.prototype,"length",{get:function(){return Object.entries(this.store).length},enumerable:!0,configurable:!0}),e.prototype.clear=function(){var e=this;Array.from(new Array(this.length)).map(function(t,n){return e.key(n)}).forEach(function(t){return e.removeItem(t)})},e.prototype.getItem=function(e){return this.getLocalItem(e)},e.prototype.getLocalItem=function(e){return Object.prototype.hasOwnProperty.call(this.store,e)?this.store[e]:null},e.prototype.getUniversalItem=function(e){return this.cookies.get(e)},e.prototype.key=function(e){return Object.keys(this.store)[e]},e.prototype.removeItem=function(e){this.removeLocalItem(e),this.removeUniversalItem(e)},e.prototype.removeLocalItem=function(e){delete this.store[e]},e.prototype.removeUniversalItem=function(e){this.cookies.remove(e,{path:"/"})},e.prototype.setItem=function(e,t){switch(this.setLocalItem(e,t),e.split(".").pop()){case"LastAuthUser":case"accessToken":case"idToken":this.setUniversalItem(e,t)}},e.prototype.setLocalItem=function(e,t){this.store[e]=t},e.prototype.setUniversalItem=function(e,t){this.cookies.set(e,t,{path:"/",sameSite:!0,secure:"localhost"!==window.location.hostname})},e}(),_=n("2Lx6"),g=n("fQM2"),y=n("TESy"),b=n("CxY0"),v=function(e){var t=window.open(e,"_self");return t?Promise.resolve(t):Promise.reject()},w=n("pebb"),k=n.n(w),S=n("ISa7"),C=n.n(S),x=function(){return(x=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&r[r.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]0)&&!(i=s.next()).done;)a.push(i.value)}catch(o){r={error:o}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return a},O="undefined"!=typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default",E=function(e,t,n){s.a.dispatch("auth",{event:e,data:t,message:n},"Auth",O)},T=new r.a("OAuth"),A=function(){function e(e){var t=e.config,n=e.cognitoClientId,i=e.scopes,r=void 0===i?[]:i;if(this._urlOpener=t.urlOpener||v,this._config=t,this._cognitoClientId=n,!this.isValidScopes(r))throw Error("scopes must be a String Array");this._scopes=r}return e.prototype.isValidScopes=function(e){return Array.isArray(e)&&e.every(function(e){return"string"==typeof e})},e.prototype.oauthSignIn=function(e,t,n,r,s,a){void 0===e&&(e="code"),void 0===s&&(s=i.b.Cognito);var o=this._generateState(32),l=a?o+"-"+a.split("").map(function(e){return e.charCodeAt(0).toString(16).padStart(2,"0")}).join(""):o;!function(e){window.sessionStorage.setItem("oauth_state",e)}(l);var c=this._generateRandom(128);window.sessionStorage.setItem("ouath_pkce_key",c);var u=this._generateChallenge(c),d=this._scopes.join(" "),h="https://"+t+"/oauth2/authorize?"+Object.entries(x(x({redirect_uri:n,response_type:e,client_id:r,identity_provider:s,scope:d,state:l},"code"===e?{code_challenge:u}:{}),"code"===e?{code_challenge_method:"S256"}:{})).map(function(e){var t=L(e,2),n=t[1];return encodeURIComponent(t[0])+"="+encodeURIComponent(n)}).join("&");T.debug("Redirecting to "+h),this._urlOpener(h,n)},e.prototype._handleCodeFlow=function(e){return M(this,void 0,void 0,function(){var t,n,r,s,a,o,l,c,u,d,h,p;return D(this,function(f){switch(f.label){case 0:return(t=(Object(b.parse)(e).query||"").split("&").map(function(e){return e.split("=")}).reduce(function(e,t){var n,i=L(t,2),r=i[0],s=i[1];return x(x({},e),((n={})[r]=s,n))},{code:void 0}).code)&&Object(b.parse)(e).pathname===Object(b.parse)(this._config.redirectSignIn).pathname?(E("codeFlow",{},"Retrieving tokens from "+(n="https://"+this._config.domain+"/oauth2/token")),r=Object(i.d)(this._config)?this._cognitoClientId:this._config.clientID,s=Object(i.d)(this._config)?this._config.redirectSignIn:this._config.redirectUri,m=window.sessionStorage.getItem("ouath_pkce_key"),window.sessionStorage.removeItem("ouath_pkce_key"),o=x({grant_type:"authorization_code",code:t,client_id:r,redirect_uri:s},(a=m)?{code_verifier:a}:{}),T.debug("Calling token endpoint: "+n+" with",o),l=Object.entries(o).map(function(e){var t=L(e,2),n=t[1];return encodeURIComponent(t[0])+"="+encodeURIComponent(n)}).join("&"),[4,fetch(n,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:l})]):[2];case 1:return[4,f.sent().json()];case 2:if(c=f.sent(),u=c.access_token,d=c.refresh_token,h=c.id_token,p=c.error)throw new Error(p);return[2,{accessToken:u,refreshToken:d,idToken:h}]}var m})})},e.prototype._handleImplicitFlow=function(e){return M(this,void 0,void 0,function(){var t,n,i;return D(this,function(r){return t=(Object(b.parse)(e).hash||"#").substr(1).split("&").map(function(e){return e.split("=")}).reduce(function(e,t){var n,i=L(t,2),r=i[0],s=i[1];return x(x({},e),((n={})[r]=s,n))},{id_token:void 0,access_token:void 0}),n=t.id_token,i=t.access_token,E("implicitFlow",{},"Got tokens from "+e),T.debug("Retrieving implicit tokens from "+e+" with"),[2,{accessToken:i,idToken:n,refreshToken:null}]})})},e.prototype.handleAuthResponse=function(e){return M(this,void 0,void 0,function(){var t,n,i,r,s,a;return D(this,function(o){switch(o.label){case 0:if(o.trys.push([0,5,,6]),t=e?x(x({},(Object(b.parse)(e).hash||"#").substr(1).split("&").map(function(e){return e.split("=")}).reduce(function(e,t){var n=L(t,2);return e[n[0]]=n[1],e},{})),(Object(b.parse)(e).query||"").split("&").map(function(e){return e.split("=")}).reduce(function(e,t){var n=L(t,2);return e[n[0]]=n[1],e},{})):{},n=t.error_description,t.error)throw new Error(n);return i=this._validateState(t),T.debug("Starting "+this._config.responseType+" flow with "+e),"code"!==this._config.responseType?[3,2]:(r=[{}],[4,this._handleCodeFlow(e)]);case 1:return[2,x.apply(void 0,[x.apply(void 0,r.concat([o.sent()])),{state:i}])];case 2:return s=[{}],[4,this._handleImplicitFlow(e)];case 3:return[2,x.apply(void 0,[x.apply(void 0,s.concat([o.sent()])),{state:i}])];case 4:return[3,6];case 5:throw a=o.sent(),T.error("Error handling auth response.",a),a;case 6:return[2]}})})},e.prototype._validateState=function(e){if(e){var t,n=(t=window.sessionStorage.getItem("oauth_state"),window.sessionStorage.removeItem("oauth_state"),t),i=e.state;if(n&&n!==i)throw new Error("Invalid state in OAuth flow");return i}},e.prototype.signOut=function(){return M(this,void 0,void 0,function(){var e,t,n;return D(this,function(r){return e="https://"+this._config.domain+"/logout?",t=Object(i.d)(this._config)?this._cognitoClientId:this._config.oauth.clientID,n=Object(i.d)(this._config)?this._config.redirectSignOut:this._config.returnTo,e+=Object.entries({client_id:t,logout_uri:encodeURIComponent(n)}).map(function(e){var t=L(e,2);return t[0]+"="+t[1]}).join("&"),E("oAuthSignOut",{oAuth:"signOut"},"Signing out from "+e),T.debug("Signing out from "+e),[2,this._urlOpener(e)]})})},e.prototype._generateState=function(e){for(var t="",n=e,i="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";n>0;--n)t+=i[Math.round(Math.random()*(i.length-1))];return t},e.prototype._generateChallenge=function(e){return this._base64URL(k()(e))},e.prototype._base64URL=function(e){return e.toString(C.a).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")},e.prototype._generateRandom=function(e){var t=new Uint8Array(e);if("undefined"!=typeof window&&window.crypto)window.crypto.getRandomValues(t);else for(var n=0;n0&&r[r.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]0)&&!(i=s.next()).done;)a.push(i.value)}catch(o){r={error:o}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return a},B=new r.a("AuthClass"),z="aws.cognito.signin.user.admin",W="undefined"!=typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default",q=function(e,t,n){s.a.dispatch("auth",{event:e,data:t,message:n},"Auth",W)},K=new(function(){function e(e){var t=this;this.userPool=null,this.user=null,this.oAuthFlowInProgress=!1,this.Credentials=a.a,this.wrapRefreshSessionCallback=function(e){return function(t,n){return n?q("tokenRefresh",void 0,"New token retrieved"):q("tokenRefresh_failure",t,"Failed to retrieve new token"),e(t,n)}},this.configure(e),this.currentCredentials=this.currentCredentials.bind(this),this.currentUserCredentials=this.currentUserCredentials.bind(this),s.a.listen("auth",function(e){switch(e.payload.event){case"signIn":t._storage.setItem("amplify-signin-with-hostedUI","false");break;case"signOut":t._storage.removeItem("amplify-signin-with-hostedUI");break;case"cognitoHostedUI":t._storage.setItem("amplify-signin-with-hostedUI","true")}})}return e.prototype.getModuleName=function(){return"Auth"},e.prototype.configure=function(e){var t=this;if(!e)return this._config||{};B.debug("configure Auth");var n=Object.assign({},this._config,o.a.parseMobilehubConfig(e).Auth,e);this._config=n;var r=this._config,s=r.userPoolId,a=r.userPoolWebClientId,l=r.cookieStorage,c=r.oauth,u=r.region,d=r.identityPoolId,h=r.mandatorySignIn,f=r.refreshHandlers,g=r.identityPoolRegion,b=r.clientMetadata,v=r.endpoint;if(this._config.storage){if(!this._isValidAuthStorage(this._config.storage))throw B.error("The storage in the Auth config is not valid!"),new Error("Empty storage object");this._storage=this._config.storage}else this._storage=l?new y.i(l):e.ssr?new m:(new _.a).getStorage();if(this._storageSync=Promise.resolve(),"function"==typeof this._storage.sync&&(this._storageSync=this._storage.sync()),s){var w={UserPoolId:s,ClientId:a,endpoint:v};w.Storage=this._storage,this.userPool=new y.g(w,this.wrapRefreshSessionCallback)}this.Credentials.configure({mandatorySignIn:h,region:g||u,userPoolId:s,identityPoolId:d,refreshHandlers:f,storage:this._storage});var k=c?Object(i.d)(this._config.oauth)?c:c.awsCognito:void 0;if(k){var S=Object.assign({cognitoClientId:a,UserPoolId:s,domain:k.domain,scopes:k.scope,redirectSignIn:k.redirectSignIn,redirectSignOut:k.redirectSignOut,responseType:k.responseType,Storage:this._storage,urlOpener:k.urlOpener,clientMetadata:b},k.options);this._oAuthHandler=new A({scopes:S.scopes,config:S,cognitoClientId:S.cognitoClientId});var C={};!function(e){if(p.a.browserOrNode().isBrowser&&window.location)n=window.location.href,C[n]||(C[n]=!0,t._handleAuthResponse(n));else if(!p.a.browserOrNode().isNode)throw new Error("Not supported");var n}()}return q("configured",null,"The Auth category has been configured successfully"),this._config},e.prototype.signUp=function(e){for(var t=this,n=[],r=1;r=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}}),a):a}},wQk9:function(e,t,n){!function(e){"use strict";e.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(n("wd/R"))},wU8f:function(e,t,n){"use strict";function i(e,t){return"aws-sdk-js-v3-"+e+"/"+t+" "+("undefined"!=typeof navigator&&"string"==typeof navigator.userAgent?navigator.userAgent:"")}n.d(t,"a",function(){return i})},"wd/R":function(e,t,n){(function(e){e.exports=function(){"use strict";var t,i;function r(){return t.apply(null,arguments)}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(o(e,t))return!1;return!0}function c(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function h(e,t){var n,i=[];for(n=0;n>>0;for(t=0;t0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,t-i.length)).toString().substr(1)+i}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,x=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)o(e,t)&&n.push(t);return n};var A=/(\[[^\[]*\])|(\\)?([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,I=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,P={},R={};function j(e,t,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),e&&(R[e]=r),t&&(R[t[0]]=function(){return T(r.apply(this,arguments),t[1],t[2])}),n&&(R[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function Y(e,t){return e.isValid()?(t=F(t,e.localeData()),P[t]=P[t]||function(e){var t,n,i,r=e.match(A);for(t=0,n=r.length;t=0&&I.test(e);)e=e.replace(I,i),I.lastIndex=0,n-=1;return e}var N={};function H(e,t){var n=e.toLowerCase();N[n]=N[n+"s"]=N[t]=e}function V(e){return"string"==typeof e?N[e]||N[e.toLowerCase()]:void 0}function U(e){var t,n,i={};for(n in e)o(e,n)&&(t=V(n))&&(i[t]=e[n]);return i}var B={};function z(e,t){B[e]=t}function W(e){return e%4==0&&e%100!=0||e%400==0}function q(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function K(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=q(t)),n}function $(e,t){return function(n){return null!=n?(J(this,e,n),r.updateOffset(this,t),this):G(this,e)}}function G(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function J(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&W(e.year())&&1===e.month()&&29===e.date()?(n=K(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),ke(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var Q,X=/\d/,Z=/\d\d/,ee=/\d{3}/,te=/\d{4}/,ne=/[+-]?\d{6}/,ie=/\d\d?/,re=/\d\d\d\d?/,se=/\d\d\d\d\d\d?/,ae=/\d{1,3}/,oe=/\d{1,4}/,le=/[+-]?\d{1,6}/,ce=/\d+/,ue=/[+-]?\d+/,de=/Z|[+-]\d\d:?\d\d/gi,he=/Z|[+-]\d\d(?::?\d\d)?/gi,pe=/[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;function fe(e,t,n){Q[e]=L(t)?t:function(e,i){return e&&n?n:t}}function me(e,t){return o(Q,e)?Q[e](t._strict,t._locale):new RegExp(_e(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,r){return t||n||i||r})))}function _e(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Q={};var ge,ye={};function be(e,t){var n,i=t;for("string"==typeof e&&(e=[e]),u(t)&&(i=function(e,n){n[t]=K(e)}),n=0;n68?1900:2e3)};var Ie=$("FullYear",!0);function Pe(e,t,n,i,r,s,a){var o;return e<100&&e>=0?(o=new Date(e+400,t,n,i,r,s,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,n,i,r,s,a),o}function Re(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function je(e,t,n){var i=7+t-n;return-(7+Re(e,0,i).getUTCDay()-t)%7+i-1}function Ye(e,t,n,i,r){var s,a,o=1+7*(t-1)+(7+n-i)%7+je(e,i,r);return o<=0?a=Ae(s=e-1)+o:o>Ae(e)?(s=e+1,a=o-Ae(e)):(s=e,a=o),{year:s,dayOfYear:a}}function Fe(e,t,n){var i,r,s=je(e.year(),t,n),a=Math.floor((e.dayOfYear()-s-1)/7)+1;return a<1?i=a+Ne(r=e.year()-1,t,n):a>Ne(e.year(),t,n)?(i=a-Ne(e.year(),t,n),r=e.year()+1):(r=e.year(),i=a),{week:i,year:r}}function Ne(e,t,n){var i=je(e,t,n),r=je(e+1,t,n);return(Ae(e)-i+r)/7}function He(e,t){return e.slice(t,7).concat(e.slice(0,t))}j("w",["ww",2],"wo","week"),j("W",["WW",2],"Wo","isoWeek"),H("week","w"),H("isoWeek","W"),z("week",5),z("isoWeek",5),fe("w",ie),fe("ww",ie,Z),fe("W",ie),fe("WW",ie,Z),ve(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=K(e)}),j("d",0,"do","day"),j("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),j("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),j("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),j("e",0,0,"weekday"),j("E",0,0,"isoWeekday"),H("day","d"),H("weekday","e"),H("isoWeekday","E"),z("day",11),z("weekday",11),z("isoWeekday",11),fe("d",ie),fe("e",ie),fe("E",ie),fe("dd",function(e,t){return t.weekdaysMinRegex(e)}),fe("ddd",function(e,t){return t.weekdaysShortRegex(e)}),fe("dddd",function(e,t){return t.weekdaysRegex(e)}),ve(["dd","ddd","dddd"],function(e,t,n,i){var r=n._locale.weekdaysParse(e,i,n._strict);null!=r?t.d=r:m(n).invalidWeekday=e}),ve(["d","e","E"],function(e,t,n,i){t[i]=K(e)});var Ve="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ue="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Be="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ze=pe,We=pe,qe=pe;function Ke(e,t,n){var i,r,s,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)s=f([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(s,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=ge.call(this._weekdaysParse,a))?r:null:"ddd"===t?-1!==(r=ge.call(this._shortWeekdaysParse,a))?r:null:-1!==(r=ge.call(this._minWeekdaysParse,a))?r:null:"dddd"===t?-1!==(r=ge.call(this._weekdaysParse,a))||-1!==(r=ge.call(this._shortWeekdaysParse,a))||-1!==(r=ge.call(this._minWeekdaysParse,a))?r:null:"ddd"===t?-1!==(r=ge.call(this._shortWeekdaysParse,a))||-1!==(r=ge.call(this._weekdaysParse,a))||-1!==(r=ge.call(this._minWeekdaysParse,a))?r:null:-1!==(r=ge.call(this._minWeekdaysParse,a))||-1!==(r=ge.call(this._weekdaysParse,a))||-1!==(r=ge.call(this._shortWeekdaysParse,a))?r:null}function $e(){function e(e,t){return t.length-e.length}var t,n,i,r,s,a=[],o=[],l=[],c=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),i=_e(this.weekdaysMin(n,"")),r=_e(this.weekdaysShort(n,"")),s=_e(this.weekdays(n,"")),a.push(i),o.push(r),l.push(s),c.push(i),c.push(r),c.push(s);a.sort(e),o.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ge(){return this.hours()%12||12}function Je(e,t){j(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Qe(e,t){return t._meridiemParse}j("H",["HH",2],0,"hour"),j("h",["hh",2],0,Ge),j("k",["kk",2],0,function(){return this.hours()||24}),j("hmm",0,0,function(){return""+Ge.apply(this)+T(this.minutes(),2)}),j("hmmss",0,0,function(){return""+Ge.apply(this)+T(this.minutes(),2)+T(this.seconds(),2)}),j("Hmm",0,0,function(){return""+this.hours()+T(this.minutes(),2)}),j("Hmmss",0,0,function(){return""+this.hours()+T(this.minutes(),2)+T(this.seconds(),2)}),Je("a",!0),Je("A",!1),H("hour","h"),z("hour",13),fe("a",Qe),fe("A",Qe),fe("H",ie),fe("h",ie),fe("k",ie),fe("HH",ie,Z),fe("hh",ie,Z),fe("kk",ie,Z),fe("hmm",re),fe("hmmss",se),fe("Hmm",re),fe("Hmmss",se),be(["H","HH"],3),be(["k","kk"],function(e,t,n){var i=K(e);t[3]=24===i?0:i}),be(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),be(["h","hh"],function(e,t,n){t[3]=K(e),m(n).bigHour=!0}),be("hmm",function(e,t,n){var i=e.length-2;t[3]=K(e.substr(0,i)),t[4]=K(e.substr(i)),m(n).bigHour=!0}),be("hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[3]=K(e.substr(0,i)),t[4]=K(e.substr(i,2)),t[5]=K(e.substr(r)),m(n).bigHour=!0}),be("Hmm",function(e,t,n){var i=e.length-2;t[3]=K(e.substr(0,i)),t[4]=K(e.substr(i))}),be("Hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[3]=K(e.substr(0,i)),t[4]=K(e.substr(i,2)),t[5]=K(e.substr(r))});var Xe,Ze=$("Hours",!0),et={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{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"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{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"},months:Se,monthsShort:Ce,week:{dow:0,doy:6},weekdays:Ve,weekdaysMin:Be,weekdaysShort:Ue,meridiemParse:/[ap]\.?m?\.?/i},tt={},nt={};function it(e,t){var n,i=Math.min(e.length,t.length);for(n=0;n0;){if(i=st(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&it(r,n)>=t-1)break;t--}s++}return Xe}(e)}function ct(e){var t,n=e._a;return n&&-2===m(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>ke(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,m(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),m(e)._overflowWeeks&&-1===t&&(t=7),m(e)._overflowWeekday&&-1===t&&(t=8),m(e).overflow=t),e}var ut=/^\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)?)?$/,dt=/^\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)?)?$/,ht=/Z|[+-]\d\d(?::?\d\d)?/,pt=[["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]],ft=[["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/]],mt=/^\/?Date\((-?\d+)/i,_t=/^(?:(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}))$/,gt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function yt(e){var t,n,i,r,s,a,o=e._i,l=ut.exec(o)||dt.exec(o);if(l){for(m(e).iso=!0,t=0,n=pt.length;t7)&&(l=!0)):(s=e._locale._week.dow,a=e._locale._week.doy,c=Fe(xt(),s,a),n=vt(t.gg,e._a[0],c.year),i=vt(t.w,c.week),null!=t.d?((r=t.d)<0||r>6)&&(l=!0):null!=t.e?(r=t.e+s,(t.e<0||t.e>6)&&(l=!0)):r=s),i<1||i>Ne(n,s,a)?m(e)._overflowWeeks=!0:null!=l?m(e)._overflowWeekday=!0:(o=Ye(n,i,r,s,a),e._a[0]=o.year,e._dayOfYear=o.dayOfYear)}(e),null!=e._dayOfYear&&(a=vt(e._a[0],i[0]),(e._dayOfYear>Ae(a)||0===e._dayOfYear)&&(m(e)._overflowDayOfYear=!0),n=Re(a,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=i[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Re:Pe).apply(null,o),s=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==s&&(m(e).weekdayMismatch=!0)}}function kt(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],m(e).empty=!0;var t,n,i,s,a,o,l=""+e._i,c=l.length,u=0;for(i=F(e._f,e._locale).match(A)||[],t=0;t0&&m(e).unusedInput.push(a),l=l.slice(l.indexOf(n)+n.length),u+=n.length),R[s]?(n?m(e).empty=!1:m(e).unusedTokens.push(s),we(s,n,e)):e._strict&&!n&&m(e).unusedTokens.push(s);m(e).charsLeftOver=c-u,l.length>0&&m(e).unusedInput.push(l),e._a[3]<=12&&!0===m(e).bigHour&&e._a[3]>0&&(m(e).bigHour=void 0),m(e).parsedDateParts=e._a.slice(0),m(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var i;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((i=e.isPM(n))&&t<12&&(t+=12),i||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),null!==(o=m(e).era)&&(e._a[0]=e._locale.erasConvertYear(o,e._a[0])),wt(e),ct(e)}else bt(e);else yt(e)}function St(e){var t=e._i,n=e._f;return e._locale=e._locale||lt(e._l),null===t||void 0===n&&""===t?g({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),k(t)?new w(ct(t)):(d(t)?e._d=t:s(n)?function(e){var t,n,i,r,s,a,o=!1;if(0===e._f.length)return m(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;rthis?this:e:g()});function Lt(e,t){var n,i;if(1===t.length&&s(t[0])&&(t=t[0]),!t.length)return xt();for(n=t[0],i=1;i=0?new Date(e+400,t,n)-sn:new Date(e,t,n).valueOf()}function ln(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-sn:Date.UTC(e,t,n)}function cn(e,t){return t.erasAbbrRegex(e)}function un(){var e,t,n=[],i=[],r=[],s=[],a=this.eras();for(e=0,t=a.length;e(s=Ne(e,i,r))&&(t=s),pn.call(this,e,t,n,i,r))}function pn(e,t,n,i,r){var s=Ye(e,t,n,i,r),a=Re(s.year,0,s.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}j("N",0,0,"eraAbbr"),j("NN",0,0,"eraAbbr"),j("NNN",0,0,"eraAbbr"),j("NNNN",0,0,"eraName"),j("NNNNN",0,0,"eraNarrow"),j("y",["y",1],"yo","eraYear"),j("y",["yy",2],0,"eraYear"),j("y",["yyy",3],0,"eraYear"),j("y",["yyyy",4],0,"eraYear"),fe("N",cn),fe("NN",cn),fe("NNN",cn),fe("NNNN",function(e,t){return t.erasNameRegex(e)}),fe("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),be(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,i){var r=n._locale.erasParse(e,i,n._strict);r?m(n).era=r:m(n).invalidEra=e}),fe("y",ce),fe("yy",ce),fe("yyy",ce),fe("yyyy",ce),fe("yo",function(e,t){return t._eraYearOrdinalRegex||ce}),be(["y","yy","yyy","yyyy"],0),be(["yo"],function(e,t,n,i){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),t[0]=n._locale.eraYearOrdinalParse?n._locale.eraYearOrdinalParse(e,r):parseInt(e,10)}),j(0,["gg",2],0,function(){return this.weekYear()%100}),j(0,["GG",2],0,function(){return this.isoWeekYear()%100}),dn("gggg","weekYear"),dn("ggggg","weekYear"),dn("GGGG","isoWeekYear"),dn("GGGGG","isoWeekYear"),H("weekYear","gg"),H("isoWeekYear","GG"),z("weekYear",1),z("isoWeekYear",1),fe("G",ue),fe("g",ue),fe("GG",ie,Z),fe("gg",ie,Z),fe("GGGG",oe,te),fe("gggg",oe,te),fe("GGGGG",le,ne),fe("ggggg",le,ne),ve(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=K(e)}),ve(["gg","GG"],function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)}),j("Q",0,"Qo","quarter"),H("quarter","Q"),z("quarter",7),fe("Q",X),be("Q",function(e,t){t[1]=3*(K(e)-1)}),j("D",["DD",2],"Do","date"),H("date","D"),z("date",9),fe("D",ie),fe("DD",ie,Z),fe("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),be(["D","DD"],2),be("Do",function(e,t){t[2]=K(e.match(ie)[0])});var fn=$("Date",!0);j("DDD",["DDDD",3],"DDDo","dayOfYear"),H("dayOfYear","DDD"),z("dayOfYear",4),fe("DDD",ae),fe("DDDD",ee),be(["DDD","DDDD"],function(e,t,n){n._dayOfYear=K(e)}),j("m",["mm",2],0,"minute"),H("minute","m"),z("minute",14),fe("m",ie),fe("mm",ie,Z),be(["m","mm"],4);var mn=$("Minutes",!1);j("s",["ss",2],0,"second"),H("second","s"),z("second",15),fe("s",ie),fe("ss",ie,Z),be(["s","ss"],5);var _n,gn,yn=$("Seconds",!1);for(j("S",0,0,function(){return~~(this.millisecond()/100)}),j(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),j(0,["SSS",3],0,"millisecond"),j(0,["SSSS",4],0,function(){return 10*this.millisecond()}),j(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),j(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),j(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),j(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),j(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),H("millisecond","ms"),z("millisecond",16),fe("S",ae,X),fe("SS",ae,Z),fe("SSS",ae,ee),_n="SSSS";_n.length<=9;_n+="S")fe(_n,ce);function bn(e,t){t[6]=K(1e3*("0."+e))}for(_n="S";_n.length<=9;_n+="S")be(_n,bn);gn=$("Milliseconds",!1),j("z",0,0,"zoneAbbr"),j("zz",0,0,"zoneName");var vn=w.prototype;function wn(e){return e}vn.add=qt,vn.calendar=function(e,t){1===arguments.length&&(arguments[0]?Gt(arguments[0])?(e=arguments[0],t=void 0):Jt(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||xt(),i=jt(n,this).startOf("day"),s=r.calendarFormat(this,i)||"sameElse",a=t&&(L(t[s])?t[s].call(this,n):t[s]);return this.format(a||this.localeData().calendar(s,this,xt(n)))},vn.clone=function(){return new w(this)},vn.diff=function(e,t,n){var i,r,s;if(!this.isValid())return NaN;if(!(i=jt(e,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),t=V(t)){case"year":s=Qt(this,i)/12;break;case"month":s=Qt(this,i);break;case"quarter":s=Qt(this,i)/3;break;case"second":s=(this-i)/1e3;break;case"minute":s=(this-i)/6e4;break;case"hour":s=(this-i)/36e5;break;case"day":s=(this-i-r)/864e5;break;case"week":s=(this-i-r)/6048e5;break;default:s=this-i}return n?s:q(s)},vn.endOf=function(e){var t,n;if(void 0===(e=V(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?ln:on,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=rn-an(t+(this._isUTC?0:this.utcOffset()*nn),rn)-1;break;case"minute":t=this._d.valueOf(),t+=nn-an(t,nn)-1;break;case"second":t=this._d.valueOf(),t+=tn-an(t,tn)-1}return this._d.setTime(t),r.updateOffset(this,!0),this},vn.format=function(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=Y(this,e);return this.localeData().postformat(t)},vn.from=function(e,t){return this.isValid()&&(k(e)&&e.isValid()||xt(e).isValid())?Vt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},vn.fromNow=function(e){return this.from(xt(),e)},vn.to=function(e,t){return this.isValid()&&(k(e)&&e.isValid()||xt(e).isValid())?Vt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},vn.toNow=function(e){return this.to(xt(),e)},vn.get=function(e){return L(this[e=V(e)])?this[e]():this},vn.invalidAt=function(){return m(this).overflow},vn.isAfter=function(e,t){var n=k(e)?e:xt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=V(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()9999?Y(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):L(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Y(n,"Z")):Y(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},vn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n="moment",i="";return this.isLocal()||(n=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+n+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+i+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(vn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),vn.toJSON=function(){return this.isValid()?this.toISOString():null},vn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},vn.unix=function(){return Math.floor(this.valueOf()/1e3)},vn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},vn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},vn.eraName=function(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;ethis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},vn.isLocal=function(){return!!this.isValid()&&!this._isUTC},vn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},vn.isUtc=Ft,vn.isUTC=Ft,vn.zoneAbbr=function(){return this._isUTC?"UTC":""},vn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},vn.dates=C("dates accessor is deprecated. Use date instead.",fn),vn.months=C("months accessor is deprecated. Use month instead",Ee),vn.years=C("years accessor is deprecated. Use year instead",Ie),vn.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),vn.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return v(t,this),(t=St(t))._a?(e=t._isUTC?f(t._a):xt(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var i,r=Math.min(e.length,t.length),s=Math.abs(e.length-t.length),a=0;for(i=0;i0):this._isDSTShifted=!1,this._isDSTShifted});var kn=E.prototype;function Sn(e,t,n,i){var r=lt(),s=f().set(i,t);return r[n](s,e)}function Cn(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return Sn(e,t,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=Sn(e,i,n,"month");return r}function xn(e,t,n,i){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var r,s=lt(),a=e?s._week.dow:0,o=[];if(null!=n)return Sn(t,(n+a)%7,i,"day");for(r=0;r<7;r++)o[r]=Sn(t,(r+a)%7,i,"day");return o}kn.calendar=function(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return L(i)?i.call(t,n):i},kn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(A).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},kn.invalidDate=function(){return this._invalidDate},kn.ordinal=function(e){return this._ordinal.replace("%d",e)},kn.preparse=wn,kn.postformat=wn,kn.relativeTime=function(e,t,n,i){var r=this._relativeTime[n];return L(r)?r(e,t,n,i):r.replace(/%d/i,e)},kn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return L(n)?n(t):n.replace(/%s/i,t)},kn.set=function(e){var t,n;for(n in e)o(e,n)&&(L(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},kn.eras=function(e,t){var n,i,s,a=this._eras||lt("en")._eras;for(n=0,i=a.length;n=0)return l[i]},kn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n},kn.erasAbbrRegex=function(e){return o(this,"_erasAbbrRegex")||un.call(this),e?this._erasAbbrRegex:this._erasRegex},kn.erasNameRegex=function(e){return o(this,"_erasNameRegex")||un.call(this),e?this._erasNameRegex:this._erasRegex},kn.erasNarrowRegex=function(e){return o(this,"_erasNarrowRegex")||un.call(this),e?this._erasNarrowRegex:this._erasRegex},kn.months=function(e,t){return e?s(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||xe).test(t)?"format":"standalone"][e.month()]:s(this._months)?this._months:this._months.standalone},kn.monthsShort=function(e,t){return e?s(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[xe.test(t)?"format":"standalone"][e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},kn.monthsParse=function(e,t,n){var i,r,s;if(this._monthsParseExact)return Le.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=f([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(s="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(s.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},kn.monthsRegex=function(e){return this._monthsParseExact?(o(this,"_monthsRegex")||Te.call(this),e?this._monthsStrictRegex:this._monthsRegex):(o(this,"_monthsRegex")||(this._monthsRegex=De),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},kn.monthsShortRegex=function(e){return this._monthsParseExact?(o(this,"_monthsRegex")||Te.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(o(this,"_monthsShortRegex")||(this._monthsShortRegex=Me),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},kn.week=function(e){return Fe(e,this._week.dow,this._week.doy).week},kn.firstDayOfYear=function(){return this._week.doy},kn.firstDayOfWeek=function(){return this._week.dow},kn.weekdays=function(e,t){var n=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?He(n,this._week.dow):e?n[e.day()]:n},kn.weekdaysMin=function(e){return!0===e?He(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},kn.weekdaysShort=function(e){return!0===e?He(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},kn.weekdaysParse=function(e,t,n){var i,r,s;if(this._weekdaysParseExact)return Ke.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=f([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(s="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(s.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}},kn.weekdaysRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||$e.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(o(this,"_weekdaysRegex")||(this._weekdaysRegex=ze),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},kn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||$e.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(o(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=We),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},kn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||$e.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(o(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=qe),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},kn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},kn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},at("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(e){var t=e%10;return e+(1===K(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=C("moment.lang is deprecated. Use moment.locale instead.",at),r.langData=C("moment.langData is deprecated. Use moment.localeData instead.",lt);var Mn=Math.abs;function Dn(e,t,n,i){var r=Vt(t,n);return e._milliseconds+=i*r._milliseconds,e._days+=i*r._days,e._months+=i*r._months,e._bubble()}function Ln(e){return e<0?Math.floor(e):Math.ceil(e)}function On(e){return 4800*e/146097}function En(e){return 146097*e/4800}function Tn(e){return function(){return this.as(e)}}var An=Tn("ms"),In=Tn("s"),Pn=Tn("m"),Rn=Tn("h"),jn=Tn("d"),Yn=Tn("w"),Fn=Tn("M"),Nn=Tn("Q"),Hn=Tn("y");function Vn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Un=Vn("milliseconds"),Bn=Vn("seconds"),zn=Vn("minutes"),Wn=Vn("hours"),qn=Vn("days"),Kn=Vn("months"),$n=Vn("years"),Gn=Math.round,Jn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Qn(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}var Xn=Math.abs;function Zn(e){return(e>0)-(e<0)||+e}function ei(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,i,r,s,a,o,l=Xn(this._milliseconds)/1e3,c=Xn(this._days),u=Xn(this._months),d=this.asSeconds();return d?(e=q(l/60),t=q(e/60),l%=60,e%=60,n=q(u/12),u%=12,i=l?l.toFixed(3).replace(/\.?0+$/,""):"",r=d<0?"-":"",s=Zn(this._months)!==Zn(d)?"-":"",a=Zn(this._days)!==Zn(d)?"-":"",o=Zn(this._milliseconds)!==Zn(d)?"-":"",r+"P"+(n?s+n+"Y":"")+(u?s+u+"M":"")+(c?a+c+"D":"")+(t||e||l?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(l?o+i+"S":"")):"P0D"}var ti=Et.prototype;return ti.isValid=function(){return this._isValid},ti.abs=function(){var e=this._data;return this._milliseconds=Mn(this._milliseconds),this._days=Mn(this._days),this._months=Mn(this._months),e.milliseconds=Mn(e.milliseconds),e.seconds=Mn(e.seconds),e.minutes=Mn(e.minutes),e.hours=Mn(e.hours),e.months=Mn(e.months),e.years=Mn(e.years),this},ti.add=function(e,t){return Dn(this,e,t,1)},ti.subtract=function(e,t){return Dn(this,e,t,-1)},ti.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=V(e))||"quarter"===e||"year"===e)switch(n=this._months+On(t=this._days+i/864e5),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(En(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},ti.asMilliseconds=An,ti.asSeconds=In,ti.asMinutes=Pn,ti.asHours=Rn,ti.asDays=jn,ti.asWeeks=Yn,ti.asMonths=Fn,ti.asQuarters=Nn,ti.asYears=Hn,ti.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*K(this._months/12):NaN},ti._bubble=function(){var e,t,n,i,r,s=this._milliseconds,a=this._days,o=this._months,l=this._data;return s>=0&&a>=0&&o>=0||s<=0&&a<=0&&o<=0||(s+=864e5*Ln(En(o)+a),a=0,o=0),l.milliseconds=s%1e3,e=q(s/1e3),l.seconds=e%60,t=q(e/60),l.minutes=t%60,n=q(t/60),l.hours=n%24,a+=q(n/24),o+=r=q(On(a)),a-=Ln(En(r)),i=q(o/12),o%=12,l.days=a,l.months=o,l.years=i,this},ti.clone=function(){return Vt(this)},ti.get=function(e){return e=V(e),this.isValid()?this[e+"s"]():NaN},ti.milliseconds=Un,ti.seconds=Bn,ti.minutes=zn,ti.hours=Wn,ti.days=qn,ti.weeks=function(){return q(this.days()/7)},ti.months=Kn,ti.years=$n,ti.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,i,r=!1,s=Jn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(r=e),"object"==typeof t&&(s=Object.assign({},Jn,t),null!=t.s&&null==t.ss&&(s.ss=t.s-1)),i=function(e,t,n,i){var r=Vt(e).abs(),s=Gn(r.as("s")),a=Gn(r.as("m")),o=Gn(r.as("h")),l=Gn(r.as("d")),c=Gn(r.as("M")),u=Gn(r.as("w")),d=Gn(r.as("y")),h=s<=n.ss&&["s",s]||s0,h[4]=i,Qn.apply(null,h)}(this,!r,s,n=this.localeData()),r&&(i=n.pastFuture(+this,i)),n.postformat(i)},ti.toISOString=ei,ti.toString=ei,ti.toJSON=ei,ti.locale=Xt,ti.localeData=en,ti.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ei),ti.lang=Zt,j("X",0,0,"unix"),j("x",0,0,"valueOf"),fe("x",ue),fe("X",/[+-]?\d+(\.\d{1,3})?/),be("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),be("x",function(e,t,n){n._d=new Date(K(e))}),r.version="2.29.1",t=xt,r.fn=vn,r.min=function(){return Lt("isBefore",[].slice.call(arguments,0))},r.max=function(){return Lt("isAfter",[].slice.call(arguments,0))},r.now=function(){return Date.now?Date.now():+new Date},r.utc=f,r.unix=function(e){return xt(1e3*e)},r.months=function(e,t){return Cn(e,t,"months")},r.isDate=d,r.locale=at,r.invalid=g,r.duration=Vt,r.isMoment=k,r.weekdays=function(e,t,n){return xn(e,t,n,"weekdays")},r.parseZone=function(){return xt.apply(null,arguments).parseZone()},r.localeData=lt,r.isDuration=Tt,r.monthsShort=function(e,t){return Cn(e,t,"monthsShort")},r.weekdaysMin=function(e,t,n){return xn(e,t,n,"weekdaysMin")},r.defineLocale=ot,r.updateLocale=function(e,t){if(null!=t){var n,i,r=et;null!=tt[e]&&null!=tt[e].parentLocale?tt[e].set(O(tt[e]._config,t)):(null!=(i=st(e))&&(r=i._config),t=O(r,t),null==i&&(t.abbr=e),(n=new E(t)).parentLocale=tt[e],tt[e]=n),at(e)}else null!=tt[e]&&(null!=tt[e].parentLocale?(tt[e]=tt[e].parentLocale,e===at()&&at(e)):null!=tt[e]&&delete tt[e]);return tt[e]},r.locales=function(){return x(tt)},r.weekdaysShort=function(e,t,n){return xn(e,t,n,"weekdaysShort")},r.normalizeUnits=V,r.relativeTimeRounding=function(e){return void 0===e?Gn:"function"==typeof e&&(Gn=e,!0)},r.relativeTimeThreshold=function(e,t){return void 0!==Jn[e]&&(void 0===t?Jn[e]:(Jn[e]=t,"s"===e&&(Jn.ss=t-1),!0))},r.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},r.prototype=vn,r.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"},r}()}).call(this,n("YuTi")(e))},x6pH:function(e,t,n){!function(e){"use strict";e.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(e){return 2===e?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":e+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(e){return 2===e?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":e+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(e){return 2===e?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":e+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(e){return 2===e?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":e%10==0&&10!==e?e+" \u05e9\u05e0\u05d4":e+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(e){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(e)},meridiem:function(e,t,n){return e<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":e<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":e<12?n?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":e<18?n?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(n("wd/R"))},xAGQ:function(e,t,n){"use strict";var i=n("xTJ+");e.exports=function(e,t,n){return i.forEach(n,function(n){e=n(e,t)}),e}},xDdU:function(e,t,n){var i,r,s=n("4fRq"),a=n("I2ZF"),o=0,l=0;e.exports=function(e,t,n){var c=t&&n||0,u=t||[],d=(e=e||{}).node||i,h=void 0!==e.clockseq?e.clockseq:r;if(null==d||null==h){var p=s();null==d&&(d=i=[1|p[0],p[1],p[2],p[3],p[4],p[5]]),null==h&&(h=r=16383&(p[6]<<8|p[7]))}var f=void 0!==e.msecs?e.msecs:(new Date).getTime(),m=void 0!==e.nsecs?e.nsecs:l+1,_=f-o+(m-l)/1e4;if(_<0&&void 0===e.clockseq&&(h=h+1&16383),(_<0||f>o)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");o=f,l=m,r=h;var g=(1e4*(268435455&(f+=122192928e5))+m)%4294967296;u[c++]=g>>>24&255,u[c++]=g>>>16&255,u[c++]=g>>>8&255,u[c++]=255&g;var y=f/4294967296*1e4&268435455;u[c++]=y>>>8&255,u[c++]=255&y,u[c++]=y>>>24&15|16,u[c++]=y>>>16&255,u[c++]=h>>>8|128,u[c++]=255&h;for(var b=0;b<6;++b)u[c+b]=d[b];return t||a(u)}},"xTJ+":function(e,t,n){"use strict";var i=n("HSsa"),r=Object.prototype.toString;function s(e){return"[object Array]"===r.call(e)}function a(e){return void 0===e}function o(e){return null!==e&&"object"==typeof e}function l(e){if("[object Object]"!==r.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function c(e){return"[object Function]"===r.call(e)}function u(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),s(e))for(var n=0,i=e.length;n11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},z3Vd:function(e,t,n){!function(e){"use strict";var t="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e,n,i,r){var s=function(e){var n=Math.floor(e%1e3/100),i=Math.floor(e%100/10),r=e%10,s="";return n>0&&(s+=t[n]+"vatlh"),i>0&&(s+=(""!==s?" ":"")+t[i]+"maH"),r>0&&(s+=(""!==s?" ":"")+t[r]),""===s?"pagh":s}(e);switch(i){case"ss":return s+" lup";case"mm":return s+" tup";case"hh":return s+" rep";case"dd":return s+" jaj";case"MM":return s+" jar";case"yy":return s+" DIS"}}e.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu\u2019":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:n,m:"wa\u2019 tup",mm:n,h:"wa\u2019 rep",hh:n,d:"wa\u2019 jaj",dd:n,M:"wa\u2019 jar",MM:n,y:"wa\u2019 DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},zgjP:function(e,t,n){e.exports=self.fetch||(self.fetch=n("sEj0").default||n("sEj0"))},zn8P:function(e,t){function n(e){return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t})}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="zn8P"},zuR4:function(e,t,n){"use strict";var i=n("xTJ+"),r=n("HSsa"),s=n("CgaS"),a=n("SntB");function o(e){var t=new s(e),n=r(s.prototype.request,t);return i.extend(n,s.prototype,t),i.extend(n,t),n}var l=o(n("JEQr"));l.Axios=s,l.create=function(e){return o(a(l.defaults,e))},l.Cancel=n("endd"),l.CancelToken=n("jfS+"),l.isCancel=n("Lmem"),l.all=function(e){return Promise.all(e)},l.spread=n("DfZB"),l.isAxiosError=n("XwJu"),e.exports=l,e.exports.default=l},zx6S:function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var r=t.words[i];return 1===i.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))}},[[0,0]]]);