(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 o=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}e.exports=a,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)})},a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.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?a.defaultMaxListeners:e._maxListeners}function d(e,t,n,i){var r,s,o;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),o=s[t]),void 0===o)o=s[t]=n,++e._eventsCount;else if("function"==typeof o?o=s[t]=i?[n,o]:[o,n]:i?o.unshift(n):o.push(n),(r=u(e))>0&&o.length>r&&!o.warned){o.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=e,a.type=t,a.count=o.length,console&&console.warn&&console.warn(a)}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&&(o=t[0]),o instanceof Error)throw o;var a=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw a.context=o,a}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){o=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},a.prototype.listeners=function(e){return f(this,e,!0)},a.prototype.rawListeners=function(e){return f(this,e,!1)},a.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},a.prototype.listenerCount=m,a.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,o,a;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?(o=s.response,"function"==typeof r.info&&r.info({metadata:{statusCode:o.statusCode,requestId:null!==(a=o.headers["x-amzn-requestid"])&&void 0!==a?a:o.headers["x-amzn-request-id"],extendedRequestId:o.headers["x-amz-id-2"],cfId:o.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("Txbw")},"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("&")),o=s.next();!o.done;o=s.next()){var a=o.value,l=Object(i.__read)(a.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{o&&!o.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 o=Object(i.__values)(Object.keys(e).sort()),a=o.next();!a.done;a=o.next()){var l=a.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 a}),n.d(t,"b",function(){return l});for(var i={},r={},s=0;s<256;s++){var o=s.toString(16).toLowerCase();1===o.length&&(o="0"+o),i[s]=o,r[o]=s}function a(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 a});var r=n("mB6T"),s=n("Enk7"),o={name:"getUserAgentMiddleware",step:"build",tags:["SET_USER_AGENT","USER_AGENT"]},a=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 o=i.headers,a="node"===n.runtime?"user-agent":"x-amz-user-agent";return o[a]?o[a]+=" "+n.defaultUserAgent:o[a]=""+n.defaultUserAgent,n.customUserAgent&&(o[a]+=" "+n.customUserAgent),e(Object(r.__assign)(Object(r.__assign)({},t),{request:i}))}}),o)}}}},"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"),o=n("gr/K");n("l1VB"),n("vYnt"),i.a.Auth=s.a,i.a.Cache=o.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"),o=n("UnBK"),a=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=a(this.defaults,e)).method=e.method?e.method.toLowerCase():this.defaults.method?this.defaults.method.toLowerCase():"get";var t=[o,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=a(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(a(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(a(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 o=/^([a-z0-9.+-]+:)/i,a=/:[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("?"),a=-1!==s&&s127?I+="x":I+=A[P];if(!I.match(p)){var R=O.slice(0,D),Y=O.slice(D+1),F=A.match(f);F&&(R.push(F[1]),Y.unshift(F[2])),Y.length&&(b="/"+Y.join(".")+b),this.hostname=R.join(".");break}}}this.hostname=this.hostname.length>255?"":this.hostname.toLowerCase(),E||(this.hostname=i.toASCII(this.hostname)),this.host=(this.hostname||"")+(this.port?":"+this.port:""),this.href+=this.host,E&&(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=a.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 o={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=o;const a=["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=a;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,o,a);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,o=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,o);c.addChild(e),c.val=i.getValue(c.val)+t.cdataPositionChar,o&&(e.val=o)}else c.val=(c.val||"")+(o||"");r=n+2}else{const n=p(e,r+1);let o=n.data;const a=n.index,d=o.indexOf(" ");let f=o;if(-1!==d&&(f=o.substr(0,d).replace(/\s\s*$/,""),o=o.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)),o.length>0&&o.lastIndexOf("/")===o.length-1){"/"===f[f.length-1]?(f=f.substr(0,f.length-1),o=f):o=o.substr(0,o.length-1);const e=new s(f,c,"");f!==o&&(e.attrsMap=h(o,t)),c.addChild(e)}else{const e=new s(f,c);t.stopNodes.length&&t.stopNodes.includes(e.tagname)&&(e.startIndex=a),f!==o&&(e.attrsMap=h(o,t)),c.addChild(e),c=e}u="",r=a}else u+=e[r];return n}},EI00:function(e,t,n){"use strict";n.d(t,"a",function(){return a}),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,a=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,o=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(o)},addRelativeTo:function(e,r){var s=r.name,o=Object(i.__assign)({middleware:e},r);if(s){if(n.has(s))throw new Error("Duplicated middleware name '"+s+"'");n.add(s)}t.push(o)},clone:function(){return a(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=a(r());return t.use(e),t},applyToStack:a,resolve:function(n,r){var a,c;try{for(var u=Object(i.__values)(function(){var n,r=[],a=[],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),a.push(t)}),a.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]||o[t.priority||"normal"]-o[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){a={error:h}}finally{try{d&&!d.done&&(c=u.return)&&c.call(u)}finally{if(a)throw a.error}}return n}};return c},s={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},o={high:3,normal:2,low:1},a=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(),o=e.getUTCMinutes(),a=e.getUTCSeconds();return p[i]+", "+(r<10?"0"+r:""+r)+" "+f[n]+" "+t+" "+(s<10?"0"+s:""+s)+":"+(o<10?"0"+o:""+o)+":"+(a<10?"0"+a:""+a)+" 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),o=i[0],a=i[1],l=new s(function(e,t,n){return 3*(t+n)/4-n}(0,o,a)),u=0,d=a>0?o-4:o;for(n=0;n>16&255,l[u++]=t>>8&255,l[u++]=255&t;return 2===a&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,l[u++]=255&t),1===a&&(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=[],o=16383,a=0,l=n-r;al?l:a+o));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,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,l=o.length;a0)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=[],o=t;o>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,o){var a=n(t),l=i[e][n(t)];return 2===a&&(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},o=function(e,t){var n=Object.assign({},e);return t&&("string"==typeof t?delete n[t]:t.forEach(function(e){delete n[e]})),n},a=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=o,e.filenameToContentType=a,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,a=0;a<4&&s+.75*a>>6*(3-a)&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-o%4*2;i[s>>>2]|=(a|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 o(e,t){!i.isUndefined(e)&&i.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var a,l={adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(a=n("tQ2B")),a),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)?(o(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):i.isObject(e)?(o(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,o){var a=e+" ";return 1===e?a+n(0,t,s[0],o):t?a+(i(e)?r(s)[1]:r(s)[0]):o?a+r(s)[1]:a+(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 o}),n.d(t,"b",function(){return l});var i=n("mB6T"),r=n("Enk7"),s=n("3tHY"),o=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,o=this.httpOptions.requestTimeout;if(null==n?void 0:n.aborted){var a=new Error("Request aborted");return a.name="AbortError",Promise.reject(a)}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,o={};try{for(var a=Object(i.__values)(s.entries()),l=a.next();!l.done;l=a.next()){var c=l.value;o[c[0]]=c[1]}}catch(u){t={error:u}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return void 0!==e.body?{response:new r.b({headers:o,statusCode:e.status,body:e.body})}:e.blob().then(function(t){return{response:new r.b({headers:o,statusCode:e.status,body:t})}})}),(p=o,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}(),a=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(a.a)(t),[2,new Uint8Array(n)]}})})}(e):function(e){return Object(i.__awaiter)(this,void 0,void 0,function(){var t,n,r,s,o,a,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(),o=s.done,(a=s.value)&&(l=t,(t=new Uint8Array(l.length+a.length)).set(l),t.set(a,l.length)),r=o,[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 o=new Error(e);return i(o,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 o=[];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)),o.push(r(t)+"="+r(e))}))}),s=o.join("&")}if(s){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),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 a});var i=n("mB6T"),r=n("Enk7");function s(e){return e}var o={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"]},a=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,o;return Object(i.__generator)(this,function(i){return r.a.isInstance(n.request)?(s=n.request,(void 0===(o=(e.requestHandler.metadata||{}).handlerProtocol)?"":o).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),o)}}}},Nt7R:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,s=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(i=s.next()).done;)o.push(i.value)}catch(a){r={error:a}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return o},r=function(){for(var e=[],t=0;t=o){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 o(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:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},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;)o.push(i.value)}catch(a){r={error:a}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return o},o=function(){for(var e=[],t=0;t-1&&(i===l||a.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(o){a.error(o)}},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))a.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){a.debug("Dispatching to "+t+" with ",n);try{i.callback(e)}catch(r){a.error(r)}}),this.patterns.length>0){if(!n.message)return void a.warn("Cannot perform pattern matching without a message key");var o=n.message;this.patterns.forEach(function(t){var n=o.match(t.pattern);if(n){var i=s(n).slice(1),l=r(r({},e),{patternInfo:i});try{t.callback(l)}catch(c){a.error(c)}}})}},e}())("__default__")},R10A:function(e,t,n){"use strict";n.d(t,"a",function(){return Ht});var i,r=n("Nt7R"),s=n("2Lx6"),o=n("HzrR"),a=(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),o=[];try{for(;(void 0===t||t-- >0)&&!(i=s.next()).done;)o.push(i.value)}catch(a){r={error:a}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return o},c=function(){for(var e=[],t=0;t0&&r[r.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]0&&r[r.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]0&&r[r.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]=300?[2,Ee(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:Je(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,o,a,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,a=void 0===(o=n.SecretKey)?function(){throw new it("Response from Amazon Cognito contained no secret key")}():o,[2,{identityId:e.identityId,accessKeyId:r,secretAccessKey:a,sessionToken:n.SessionToken,expiration:s}]}})})}}var ot=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",o="GetIdCommand",a={logger:r,clientName:s,commandName:o,inputFilterSensitiveLog:Y.filterSensitiveLog,outputFilterSensitiveLog:F.filterSensitiveLog};"function"==typeof r.info&&r.info({clientName:s,commandName:o});var l=t.requestHandler;return i.resolve(function(e){return l.handle(e.request,n||{})},a)},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:Ne(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,Oe(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:Je(e)},i),[2,Promise.resolve(r)]}})})}(e,t)},t}(tt.b),at="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(at,{keyPath:"id"})}})},e.prototype.withObjectStore=function(e,t){return this.getDb().then(function(n){var i=n.transaction(at,e);return i.oncomplete=function(){return n.close()},new Promise(function(e,n){i.onerror=function(){return n(i.error)},e(t(i.objectStore(at)))}).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"),Et=n("naxo"),Ot=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),o=Object(At.b)(s),a=Object(ft.c)(o),l=Object(It.b)(a),c=Object(Ot.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(Et.a)(n.config)),n.middlewareStack.use(Object(Ot.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),jt=function(){return(jt=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&r[r.length-1])||6!==s[0]&&2!==s[0])){o=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})):o._refreshHandlers[t]&&"function"==typeof o._refreshHandlers[t]?(Ft.debug("getting refreshed jwt token from federation provider"),this._providerRefreshWithRetry({refreshHandler:o._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,o=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:o,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 Rt(this,void 0,void 0,function(){var e,t,n,i,r,s,o,a=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)()}),o=void 0,o=i?st({identityId:i,client:s})():Rt(a,void 0,void 0,function(){var e;return Yt(this,function(n){switch(n.label){case 0:return[4,s.send(new ot({IdentityPoolId:t}))];case 1:return e=n.sent().IdentityId,this._identityId=e,[2,st({client:s,identityId:e})()]}})}).catch(function(e){return Rt(a,void 0,void 0,function(){return Yt(this,function(t){throw e})})}),[2,this._loadCredentials(o,"guest",!1,null).then(function(e){return e}).catch(function(e){return Rt(a,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),o=Rt(n,void 0,void 0,function(){var e;return Yt(this,function(n){switch(n.label){case 0:return[4,s.send(new ot({IdentityPoolId:t}))];case 1:return e=n.sent().IdentityId,this._identityId=e,[2,st({client:s,identityId:e})()]}})}).catch(function(e){return Rt(n,void 0,void 0,function(){return Yt(this,function(t){throw e})})}),[2,this._loadCredentials(o,"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 o=this._config,a=o.identityPoolId,l=o.region;if(!a)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,o=e.customRoleArn,a=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:"+a+":"+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=ot.bind,_={AccountId:n,IdentityPoolId:a},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(ot,[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:o,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:a,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,o=i.identityPoolId;if(!o)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 a={};a["cognito-idp."+r+".amazonaws.com/"+s]=n;var l=new Pt({region:r,customUserAgent:Object(Ce.b)()}),c=Rt(t,void 0,void 0,function(){var e;return Yt(this,function(t){switch(t.label){case 0:return[4,l.send(new ot({IdentityPoolId:o,Logins:a}))];case 1:return e=t.sent().IdentityId,this._identityId=e,[2,st({client:l,logins:a,identityId:e})()]}})}).catch(function(e){return Rt(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,o=this._config.identityPoolId;return new Promise(function(a,l){e.then(function(e){return Rt(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-"+o,e.identityId),[3,4];case 3:return h=p.sent(),Ft.debug("Failed to cache identityId",h),[3,4];case 4:return a(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 Rt(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(Ht)},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,o="A".charCodeAt(0),a="Z".charCodeAt(0);s+o<=a;s++){var l=String.fromCharCode(s+o);i[l]=s,r[s]=l}for(s=0,o="a".charCodeAt(0),a="z".charCodeAt(0);s+o<=a;s++)l=String.fromCharCode(s+o),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;o>>=a%8;for(var d=Math.floor(a/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"],o=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],a=["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(o,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(a,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(o).concat(a),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 O}),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 H}),n.d(t,"g",function(){return ee}),n.d(t,"h",function(){return j}),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"),o=n("tpLz"),a=n.n(o),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 o=32767&t,a=t>>15;--s>=0;){var l=32767&this[e],c=this[e++]>>15,u=a*l+c*o;r=((l=o*l+((32767&u)<<15)+n[i]+(1073741823&r))>>>30)+(u>>>15)+a*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 o=t*this[e++]+n[i]+r;r=Math.floor(o/67108864),n[i++]=67108863&o}return r},p=26):(_.prototype.am=function(e,t,n,i,r,s){for(var o=16383&t,a=t>>14;--s>=0;){var l=16383&this[e],c=this[e++]>>14,u=a*l+c*o;r=((l=o*l+((16383&u)<<14)+n[i]+r)>>28)+(u>>14)+a*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 o=S(e,i);o<0?"-"==e.charAt(i)&&(r=!0):(r=!1,0==s?this[this.t++]=o:s+n>this.DB?(this[this.t-1]|=(o&(1<>this.DB-s):this[this.t-1]|=o<=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+o+1]=this[n]>>r|a,a=(this[n]&s)<=0;--n)t[n]=0;t[o]=a,t.t=this.t+o+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 o=n+1;o>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),o<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(a>a)>0&&(r=!0,s=k(n));o>=0;)a>(a+=this.DB-t)):(n=this[o]>>(a-=t)&i,a<=0&&(a+=this.DB,--o)),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),o=new M(t);if(r<=0)return s;i=r<18?1:r<48?3:r<144?4:r<768?5:6;var a=new Array,l=3,c=i-1,u=(1<1){var d=g();for(o.sqrTo(a[1],d);l<=u;)a[l]=g(),o.mulTo(d,a[l-2],a[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)a[h].copyTo(s),m=!1;else{for(;l>1;)o.sqrTo(s,_),o.sqrTo(_,s),l-=2;l>0?o.sqrTo(s,_):(p=s,s=_,_=p),o.mulTo(_,a[h],s)}for(;f>=0&&0==(e[f]&1<{throw e},0)}const a={closed:!0,next(e){},error(e){if(s.useDeprecatedSynchronousErrorHandling)throw e;o(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:o}=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=a;break;case 1:if(!e){this.destination=a;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 o=this;i(t)?s=t:t&&(s=t.next,n=t.error,r=t.complete,t!==a&&(o=Object.create(t),i(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,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):o(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;o(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;o(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):(o(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(a)}(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 E=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 E(e);if(I(e))return n=e,e=>(n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,o),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 j(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 R(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 j(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 H(e,t){if(!t.closed)return e instanceof y?e.subscribe(t):P(e)(t)}function N(e,t,n=Number.POSITIVE_INFINITY){return"function"==typeof t?i=>i.pipe(N((n,i)=>R(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 N(g,e)}function z(e,t){return t?j(e,t):new y(E(e))}function q(...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 W(){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 J(this.getSubject(),this))),e.closed&&(this._connection=null,e=d.EMPTY)),e}refCount(){return W()(this)}}const Q=(()=>{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 J 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 W()((t=X,function(e){let n;n="function"==typeof t?t:function(){return t};const i=Object.create(e,Q);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 oe(e){return ae(e)?e():e}function ae(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,Ee=xe||Le||Me||De,Oe={},Te=[],Ae=ee({"\u0275cmp":ee}),Ie=ee({"\u0275dir":ee}),Pe=ee({"\u0275pipe":ee}),je=ee({"\u0275mod":ee}),Re=ee({"\u0275loc":ee}),Ye=ee({"\u0275fac":ee}),Fe=ee({__NG_ELEMENT_ID__:ee});let He=0;function Ne(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+=He++,n.inputs=qe(e.inputs,t),n.outputs=qe(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 qe(e,t){if(null==e)return Oe;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 We=Ne;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[je]||null;if(!n&&!0===t)throw new Error(`Type ${ne(e)} does not have '\u0275mod' property.`);return n}const Qe=20,Je=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 ot(e){return"string"==typeof e?e:null==e?"":String(e)}function at(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ot(e)}function lt(e,t){const n=t?` in ${t}`:"";throw new st("201",`No provider for ${at(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===Oe)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:Oe,current:null}),s=r.current||(r.current={}),o=r.previous,a=this.declaredInputs[n],l=o[a];s[a]=new ct(l&&l.currentValue,t,o===Oe),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 Et(e,t){return null==t?null:e[t]}function Ot(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 jt(){return At.lFrame.tView}function Rt(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 Ht(e,t){const n=At.lFrame;n.currentTNode=e,n.isParent=t}function Nt(){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 qt(){return At.lFrame.bindingIndex}function Wt(){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 Qt(e){const t=At.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Jt(){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 on=sn;function an(){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[a]<0&&(e[18]+=65536),(o>11>16&&(3&e[2])===t&&(e[2]+=2048,s.call(o)):s.call(o)}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){o=s-1;break}}}for(;s>16,i=t;for(;n>0;)i=i[15],n--;return i}let En=!0;function On(e){const t=En;return En=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=jn(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 jn(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 Rn(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{on()}}else if("number"==typeof s){let r=null,o=Pn(e,t),a=bn,l=i&ye.Host?t[16][6]:null;for((-1===o||i&ye.SkipSelf)&&(a=-1===o?jn(e,t):t[o+8],a!==bn&&Wn(i,!1)?(r=t[1],o=Dn(a),t=Ln(a,t)):o=-1);-1!==o;){const e=t[1];if(qn(s,o,e.data)){const e=Un(o,t,n,r,i,l);if(e!==Nn)return e}a=t[o+8],a!==bn&&Wn(i,t[1].data[o+8]===l)&&qn(s,o,t)?(r=e,o=Dn(a),t=Ln(a,t)):o=-1}}}return Fn(t,n,i,r)}const Nn={};function Vn(){return new Kn(Yt(),Pt())}function Un(e,t,n,i,r,s){const o=t[1],a=o.data[e+8],l=Bn(a,o,n,null==i?tt(a)&&En:i!=o&&0!=(3&a.type),r&ye.Host&&s===a);return null!==l?zn(t,o,l,a):Nn}function Bn(e,t,n,i,r){const s=e.providerIndexes,o=t.data,a=1048575&s,l=e.directiveStart,c=s>>20,u=r?a+c:e.directiveEnd;for(let d=i?a:a+c;d=l&&e.type===n)return d}if(r){const e=o[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 o=r;o.resolving&&function(e,t){throw new st("200",`Circular dependency in DI detected for ${e}`)}(at(s[n]));const a=On(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?ve(o.injectImpl):null;en(e,i,ye.Default);try{r=e[n]=o.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),On(a),o.resolving=!1,on()}}return r}function qn(e,t,n){return!!(n[t+(e>>5)]&1<{const e=$n(oe(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 Qn(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(Jn)?e[Jn]:Object.defineProperty(e,Jn,{value:[]})[Jn];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 oi(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)(oe(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,Ee.trustedTypes))try{Ci=Ee.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,Ee.trustedTypes))try{xi=Ee.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 Ei extends Li{getTypeName(){return"HTML"}}class Oi 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 ji(e,t){const n=Ri(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 Ri(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(o),'"')}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 or=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 ar(e){const t=cr();return t?Di(t.sanitize(or.HTML,e)||""):ji(e,"HTML")?Di(Pi(e)):rr(gt(),ot(e))}function lr(e){const t=cr();return t?t.sanitize(or.URL,e)||"":ji(e,"URL")?Pi(e):Vi(ot(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(Ee))();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,o=!1;Ze(i)?s=i:Xe(i)&&(o=!0,i=i[0]);const a=vt(i);0===e&&null!==n?null==r?Ar(t,n,a):Tr(t,n,a,r||null,!0):1===e&&null!==n?Tr(t,n,a,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,a,o):3===e&&t.destroyNode(a),null!=s&&function(e,t,n,i,r){const s=n[7];s!==vt(n)&&Cr(t,e,i,s,r);for(let o=Je;o0&&(e[n-1][4]=i[4]);const o=si(e,Je+t);Vr(i[1],r=i,r[11],2,null,null),r[0]=null,r[6]=null;const a=o[19];null!==a&&a.detachView(o[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 Er(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)&&Er(t[1],t),t=t[3];null===t&&(t=e),Xe(t)&&Er(t[1],t),n=t&&t[4]}t=n}}(t)}}function Er(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!==qr(t,c,0)||2&i&&c!==e){if(Jr(i))return!1;o=!0}}}}else{if(!o&&!Jr(i)&&!Jr(l))return!1;if(o&&Jr(l))continue;o=!1,i=l|1&i}}return Jr(i)||o}function Jr(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+="."+o:4&i&&(r+=" "+o);else""===r||Jr(o)||(t+=ts(s,r),r=""),i=o,s=s||!Jr(i);n++}return""!==r&&(t+=ts(s,r)),t}const is={};function rs(e){ss(jt(),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 os(e,t){return e<<17|t<<2}function as(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;iQe&&ss(e,t,Qe,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,o)}}function Os(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&&Ns(n)}}function Ns(e){for(let n=wr(e);null!==n;n=kr(n))for(let e=Je;e0&&Ns(t)}const t=e[1].components;if(null!==t)for(let n=0;n0&&Ns(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 Qs(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 Js(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(to,fo(void 0,this));const s=this.records.get(io);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)?fo(ho(e),ro):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}return(n&ye.Self?lo():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=oe(e)))return!1;let i=pe(e);const r=null==i&&e.ngModule||void 0,s=void 0===r?e:r,o=-1!==n.indexOf(s);if(void 0!==r&&(i=pe(r)),null==i)return!1;if(null!=i.imports&&!o){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||oo))}}this.injectorDefTypes.add(s),this.records.set(s,fo(i.factory,ro));const a=i.providers;if(null!=a&&!o){const t=e;ii(a,e=>this.processProvider(e,t,a))}return void 0!==r&&void 0!==e.providers}processProvider(e,t,n){let i=_o(e=oe(e))?e:oe(e&&e.provide);const r=function(e,t,n){return mo(e)?fo(void 0,e.useValue):fo(po(e),ro)}(e);if(_o(e)||!0!==e.multi)this.records.get(i);else{let t=this.records.get(i);t||(t=fo(void 0,ro,!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===ro&&(t.value=so,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 ho(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=oi(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 po(e,t,n){let i;if(_o(e)){const t=oe(e);return rt(t)||ho(t)}if(mo(e))i=()=>oe(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(oe(e.useExisting));else{const t=oe(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return rt(t)||ho(t);i=()=>new t(...bi(e.deps))}var r;return i}function fo(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function mo(e){return null!==e&&"object"==typeof e&&pi in e}function _o(e){return"function"==typeof e}const go=function(e,t,n){return function(e,t=null,n=null,i){const r=co(e,t,n,i);return r._resolveInjectorDefTypes(),r}({name:n},t,e,n)};let yo=(()=>{class e{static create(e,t){return Array.isArray(e)?go(e,t,""):go(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=ui,e.NULL=new no,e.\u0275prov=le({token:e,providedIn:"any",factory:()=>gi(to)}),e.__NG_ELEMENT_ID__=-1,e})();function bo(e,t){pn(Mt(e)[1],Yt())}function vo(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=wo(e.inputs),t.declaredInputs=wo(e.declaredInputs),t.outputs=wo(e.outputs);const n=r.hostBindings;n&&Co(e,n);const s=r.viewQuery,o=r.contentQueries;if(s&&ko(e,s),o&&So(e,o),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 wo(e){return e===Oe?{}:e===Te?[]:e}function ko(e,t){const n=e.viewQuery;e.viewQuery=n?(e,i)=>{t(e,i),n(e,i)}:t}function So(e,t){const n=e.contentQueries;e.contentQueries=n?(e,i,r)=>{t(e,i,r),n(e,i,r)}:t}function Co(e,t){const n=e.hostBindings;e.hostBindings=n?(e,i)=>{t(e,i),n(e,i)}:t}let xo=null;function Mo(){if(!xo){const e=Ee.Symbol;if(e&&e.iterator)xo=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;ta(vt(e[i.index])).target:i.index;if(yt(n)){let o=null;if(!a&&l&&(o=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!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=s,o.__ngLastListenerFn__=s,d=!1;else{s=ea(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=ea(i,t,s,!0),f.addEventListener(r,s,o),u.push(s),c&&c.push(r,_,m,o)}else s=ea(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 na(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 la={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ca(e){return e.substring(la.key,la.keyEnd)}function ua(e,t){const n=la.textEnd;return n===t?-1:(t=la.keyEnd=function(e,t,n){for(;t32;)t++;return t}(e,la.key=t,n),da(e,t,n))}function da(e,t,n){for(;t=0;n=ua(t,n))ai(e,ca(t),!0)}function ma(e,t,n,i){const r=Pt(),s=jt(),o=Kt(2);s.firstUpdatePass&&ya(s,e,o,i),t!==is&&To(r,o,t)&&wa(s,s.data[ln()],r,r[11],e,r[o+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ne(Pi(e)))),e}(t,n),i,o)}function _a(e,t,n,i){const r=jt(),s=Kt(2);r.firstUpdatePass&&ya(r,null,s,i);const o=Pt();if(n!==is&&To(o,s,n)){const a=r.data[ln()];if(Ca(a,i)&&!ga(r,s)){let e=i?a.classesWithoutHost:a.stylesWithoutHost;null!==e&&(n=ie(e,n||"")),Ho(r,a,o,n,i)}else!function(e,t,n,i,r,s,o,a){r===is&&(r=sa);let l=0,c=0,u=0=e.expandoStartIndex}function ya(e,t,n,i){const r=e.data;if(null===r[n+1]){const s=r[ln()],o=ga(e,n);Ca(s,i)&&null===t&&!o&&(t=!1),t=function(e,t,n,i){const r=Qt(e);let s=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=va(n=ba(null,e,t,n,i),t.attrs,i),s=null);else{const o=t.directiveStylingLast;if(-1===o||e[o]!==r)if(n=ba(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[as(i)]}(e,t,i);void 0!==n&&Array.isArray(n)&&(n=ba(null,e,t,n[1],i),n=va(n,t.attrs,i),function(e,t,n,i){e[as(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=as(e[a+1]);e[i+1]=os(t,a),0!==t&&(e[t+1]=us(e[t+1],i)),e[a+1]=131071&e[a+1]|i<<17}else e[i+1]=os(a,0),0!==a&&(e[a+1]=us(e[a+1],i)),a=i;else e[i+1]=os(l,0),0===a?a=i:e[l+1]=us(e[l+1],i),l=i;u&&(e[i+1]=ls(e[i+1])),oa(e,c,i,!0),oa(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),o=os(a,l),s?t.classBindings=o:t.styleBindings=o}(r,s,t,n,o,i)}}function ba(e,t,n,i,r){let s=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){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?sa:void 0);let d=c?li(u,i):l===i?u:void 0;if(s&&!Sa(d)&&(d=li(t,i)),Sa(d)&&(a=d,o))return a;const h=e[r+1];r=o?as(h):cs(h)}if(null!==t){let e=s?t.residualClasses:t.residualStyles;null!=e&&(a=li(e,i))}return a}function Sa(e){return void 0!==e}function Ca(e,t){return 0!=(e.flags&(t?16:32))}function xa(e,t=""){const n=Pt(),i=jt(),r=e+Qe,s=i.firstCreatePass?fs(i,r,1,t,null):i.data[r],o=n[r]=function(e,t){return yt(e)?e.createText(t):e.createTextNode(t)}(n[11],t);Yr(i,n,o,s),Ht(s,!1)}function Ma(e){return Da("",e,""),Ma}function Da(e,t,n){const i=Pt(),r=Po(i,e,t,n);return r!==is&&Zs(i,ln(),r),Da}function La(e,t,n,i,r){const s=Pt(),o=function(e,t,n,i,r,s){const o=Ao(e,qt(),n,r);return Kt(2),o?t+ot(n)+i+ot(r)+s:is}(s,e,t,n,i,r);return o!==is&&Zs(s,ln(),o),La}function Ea(e,t,n){const i=Pt();return To(i,Wt(),t)&&Ds(jt(),un(),i,e,t,i[11],n,!0),Ea}function Oa(e,t,n){const i=Pt();if(To(i,Wt(),t)){const r=jt(),s=un();Ds(r,s,i,e,t,Qs(Qt(r.data),s,i),n,!0)}return Oa}const Ta=void 0;var Aa=["en",[["a","p"],["AM","PM"],Ta],[["AM","PM"],Ta,Ta],[["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"]],Ta,[["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"]],Ta,[["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}",Ta,"{1} 'at' {0}",Ta],[".",",",";","%","+","-","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 Ia={};function Pa(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=ja(t);if(n)return n;const i=t.split("-")[0];if(n=ja(i),n)return n;if("en"===i)return Aa;throw new Error(`Missing locale data for the locale "${e}".`)}function ja(e){return e in Ia||(Ia[e]=Ee.ng&&Ee.ng.common&&Ee.ng.common.locales&&Ee.ng.common.locales[e]),Ia[e]}var Ra=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 Ya="en-US";let Fa=Ya;function Ha(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&&(Fa=e.toLowerCase().replace(/_/g,"-"))}function Na(e,t,n,i,r){if(e=oe(e),Array.isArray(e))for(let s=0;s>20;if(_o(e)||!e.multi){const i=new vn(l,r,Yo),p=Ba(a,t,r?u:u+h,d);-1===p?(Rn(An(c,o),s,a),Va(s,e,t.length),t.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(i),o.push(i)):(n[p]=i,o[p]=i)}else{const p=Ba(a,t,u+h,d),f=Ba(a,t,u,u+h),m=p>=0&&n[p],_=f>=0&&n[f];if(r&&!_||!r&&!m){Rn(An(c,o),s,a);const u=function(e,t,n,i,r){const s=new vn(e,n,Yo);return s.multi=[],s.index=t,s.componentProviders=0,Ua(s,r,i&&!n),s}(r?qa:za,n.length,r,i,l);!r&&_&&(n[f].providerFactory=u),Va(s,e,t.length,0),t.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(u),o.push(u)}else Va(s,e,p>-1?p:f,Ua(n[r?f:p],l,!r&&i));!r&&i&&_&&n[f].componentProviders++}}}function Va(e,t,n,i){const r=_o(t);if(r||t.useClass){const s=(t.useClass||t).prototype.ngOnDestroy;if(s){const o=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){const e=o.indexOf(n);-1===e?o.push(n,[i,s]):o[e+1].push(i,s)}else o.push(n,s)}}}function Ua(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ba(e,t,n,i){for(let r=n;r{n.providersResolver=(n,i)=>function(e,t,n){const i=jt();if(i.firstCreatePass){const r=it(e);Na(n,i.data,i.blueprint,r,!0),Na(t,i.data,i.blueprint,r,!1)}}(n,i?i(e):e,t)}}class $a{}class Ga{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 Qa=(()=>{class e{}return e.NULL=new Ga,e})();function Ja(...e){}function Xa(e,t){return new el(kt(e,t))}const Za=function(){return Xa(Yt(),Pt())};let el=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=Za,e})();function tl(e){return e instanceof el?e.nativeElement:e}class nl{}let il=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>rl(),e})();const rl=function(){const e=Pt(),t=xt(Yt().index,e);return function(e){return e[11]}(Xe(t)?t:e)};let sl=(()=>{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 al=new ol("11.1.1");class ll{constructor(){}supports(e){return Lo(e)}create(e){return new ul(e)}}const cl=(e,t)=>t;class ul{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||cl}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 dl(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 pl),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 pl),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 dl{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 hl{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 pl{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new hl,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 fl(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 gl(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 gl{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 yl(){return new bl([new ll])}let bl=(()=>{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||yl()),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:yl}),e})();function vl(){return new wl([new ml])}let wl=(()=>{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||vl()),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:vl}),e})();function kl(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=Je;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 Cl extends Sl{constructor(e){super(e),this._view=e}detectChanges(){qs(this._view)}checkNoChanges(){!function(e){Bt(!0);try{qs(e)}finally{Bt(!1)}}(this._view)}get context(){return null}}const xl=Dl;let Ml=(()=>{class e{}return e.__NG_ELEMENT_ID__=xl,e.__ChangeDetectorRef__=!0,e})();function Dl(e=!1){return function(e,t,n){if(!n&&tt(e)){const n=xt(e.index,t);return new Sl(n,n)}return 47&e.type?new Sl(t[16],t):null}(Yt(),Pt(),e)}const Ll=[new ml],El=new bl([new ll]),Ol=new wl(Ll),Tl=function(){return jl(Yt(),Pt())};let Al=(()=>{class e{}return e.__NG_ELEMENT_ID__=Tl,e})();const Il=Al,Pl=class extends Il{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 Sl(n)}};function jl(e,t){return 4&e.type?new Pl(t,e,Xa(e,t)):null}class Rl{}class Yl{}const Fl=function(){return zl(Yt(),Pt())};let Hl=(()=>{class e{}return e.__NG_ELEMENT_ID__=Fl,e})();const Nl=Hl,Vl=class extends Nl{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=n}get element(){return Xa(this._hostTNode,this._hostLView)}get injector(){return new Kn(this._hostTNode,this._hostLView)}get parentInjector(){const e=jn(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=Ul(this._lContainer);return null!==t&&t[e]||null}get length(){return this._lContainer.length-Je}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(Rl,null);e&&(r=e)}const o=e.create(s,i,void 0,r);return this.insert(o.hostView,t),o}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 Vl(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=Je+i,s=n.length;i>0&&(n[r-1][4]=t),imr});class Gl extends $a{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 Kl(this.componentDef.inputs)}get outputs(){return Kl(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(nl,bt),o=r.get(sl,null),a=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}(a,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,a,o,r);let f,m;tn(p);try{const e=function(e,t,n,i,r,s){const o=n[1];n[20]=e;const a=fs(o,20,2,"#host",null),l=a.mergedAttrs=t.hostAttrs;null!==l&&(eo(a,l,!0),null!==e&&(wn(r,e,l),null!==a.classes&&zr(r,e,a.classes),null!==a.styles&&Br(r,e,a.styles)));const c=i.createRenderer(e,t),u=ps(n,Ss(t),null,t.onPush?64:16,n[20],a,i,c,null,null);return o.firstCreatePass&&(Rn(An(a,n),o,t.type),Ts(o,a),Is(a,n.length,1)),Us(n,u),n[20]=u}(c,this.componentDef,p,s,a);if(c)if(n)wn(a,c,["ng-version",al.full]);else{const{attrs:e,classes:t}=function(e){const t=[],n=[];let i=1,r=2;for(;i0&&zr(a,c,t.join(" "))}if(m=St(h,Qe),void 0!==t){const e=m.projection=[];for(let n=0;ne(o,t)),t.contentQueries){const e=Yt();t.contentQueries(1,o,e.directiveStart)}const a=Yt();return!s.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(cn(a.index),Es(n[1],a,0,a.directiveStart,a.directiveEnd,t),Os(t,o)),o}(e,this.componentDef,p,d,[bo]),_s(h,p,null)}finally{an()}return new Ql(this.componentType,f,Xa(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 Cl(i),this.componentType=e}get injector(){return new Kn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}}const Jl=new Map;class Xl extends Rl{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Wl(this);const n=Ge(e),i=e[Re]||null;i&&Ha(i),this._bootstrapComponents=gr(n.bootstrap),this._r3Injector=co(e,t,[{provide:Rl,useValue:this},{provide:Qa,useValue:this.componentFactoryResolver}],ne(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=yo.THROW_IF_NOT_FOUND,n=ye.Default){return e===yo||e===Rl||e===to?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 Zl extends Yl{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,Jl.get(r),n),Jl.set(r,n));const s=gr(i.imports);for(const o of s)t.has(o)||(t.add(o),e(o))}(e)}(e)}create(e){return new Xl(this.moduleType,e)}}function ec(e,t,n){const i=zt()+e,r=Pt();return r[i]===is?Oo(r,i,n?t.call(n):t()):function(e,t){return e[t]}(r,i)}function tc(e,t,n,i){return ic(Pt(),zt(),e,t,n,i)}function nc(e,t){const n=e[t];return n===is?void 0:n}function ic(e,t,n,i,r,s){const o=t+n;return To(e,o,r)?Oo(e,o+1,s?i.call(s,r):i(r)):nc(e,o+1)}function rc(e,t){const n=jt();let i;const r=e+Qe;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)),o=ve(Yo);try{const e=On(!1),t=s();return On(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(o)}}function sc(e,t,n){const i=e+Qe,r=Pt(),s=Ct(r,i);return lc(r,ac(r,i)?ic(r,zt(),t,s.transform,n,s):s.transform(n))}function oc(e,t,n,i){const r=e+Qe,s=Pt(),o=Ct(s,r);return lc(s,ac(s,r)?function(e,t,n,i,r,s,o){const a=t+n;return Ao(e,a,r,s)?Oo(e,a+2,o?i.call(o,r,s):i(r,s)):nc(e,a+2)}(s,zt(),t,o.transform,n,i,o):o.transform(n,i))}function ac(e,t){return e[1].data[t].pure}function lc(e,t){return Do.isWrapped(t)&&(t=Do.unwrap(t),e[qt()]=is),t}const cc=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 o=super.subscribe(i,r,s);return e instanceof d&&e.add(o),o}};function uc(){return this._results[Mo()]()}class dc{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=Mo(),n=dc.prototype;n[t]||(n[t]=uc)}get changes(){return this._changes||(this._changes=new cc)}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(o[e/2]);else{const r=s[e+1],o=t[-n];for(let e=Je;e{class e{constructor(e){this.appInits=e,this.resolve=Ja,this.reject=Ja,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(Ec,8))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();const Tc=new Zn("AppId"),Ac={provide:Tc,useFactory:function(){return`${Ic()}${Ic()}${Ic()}`},deps:[]};function Ic(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Pc=new Zn("Platform Initializer"),jc=new Zn("Platform ID"),Rc=new Zn("appBootstrapListener");let Yc=(()=>{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 Fc=new Zn("LocaleId"),Hc=new Zn("DefaultCurrencyCode");class Nc{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const Vc=function(e){return new Zl(e)},Uc=Vc,Bc=function(e){return Promise.resolve(Vc(e))},zc=function(e){const t=Vc(e),n=gr(Ge(e).declarations).reduce((e,t)=>{const n=$e(t);return n&&e.push(new Gl(n)),e},[]);return new Nc(t,n)},qc=zc,Wc=function(e){return Promise.resolve(zc(e))};let Kc=(()=>{class e{constructor(){this.compileModuleSync=Uc,this.compileModuleAsync=Bc,this.compileModuleAndAllComponentsSync=qc,this.compileModuleAndAllComponentsAsync=Wc}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();const $c=(()=>Promise.resolve(0))();function Gc(e){"undefined"==typeof Zone?$c.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Qc{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new cc(!1),this.onMicrotaskEmpty=new cc(!1),this.onStable=new cc(!1),this.onError=new cc(!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=Ee.requestAnimationFrame,t=Ee.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(Ee,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Zc(e),Xc(e)},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Zc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,s,o,a)=>{try{return eu(e),n.invokeTask(r,s,o,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),tu(e)}},onInvoke:(n,i,r,s,o,a,l)=>{try{return eu(e),n.invoke(r,s,o,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),tu(e)}},onHasTask:(t,n,i,r)=>{t.hasTask(i,r),n===i&&("microTask"==r.change?(e._hasPendingMicrotasks=r.microTask,Zc(e),Xc(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(!Qc.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Qc.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,Jc,Ja,Ja);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 Jc={};function Xc(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 Zc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function eu(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function tu(e){e._nesting--,Xc(e)}class nu{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new cc,this.onMicrotaskEmpty=new cc,this.onStable=new cc,this.onError=new cc}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 iu=(()=>{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:()=>{Qc.assertNotInAngularZone(),Gc(()=>{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())Gc(()=>{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(Qc))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),ru=(()=>{class e{constructor(){this._applications=new Map,au.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 au.findTestabilityInTree(this,e,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();class su{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}let ou,au=new su,lu=!0,cu=!1;function uu(){return cu=!0,lu}const du=new Zn("AllowMultipleToken");class hu{constructor(e,t){this.name=e,this.token=t}}function pu(e,t,n=[]){const i=`Platform: ${t}`,r=new Zn(i);return(t=[])=>{let s=fu();if(!s||s.injector.get(du,!1))if(e)e(n.concat(t).concat({provide:r,useValue:!0}));else{const e=n.concat(t).concat({provide:r,useValue:!0},{provide:io,useValue:"platform"});!function(e){if(ou&&!ou.destroyed&&!ou.injector.get(du,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");ou=e.get(mu);const t=e.get(Pc,null);t&&t.forEach(e=>e())}(yo.create({providers:e,name:i}))}return function(e){const t=fu();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 fu(){return ou&&!ou.destroyed?ou:null}let mu=(()=>{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 nu:("zone.js"===e?void 0:e)||new Qc({enableLongStackTrace:uu(),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:Qc,useValue:n}];return n.run(()=>{const t=yo.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(()=>{yu(this._modules,r),e.unsubscribe()})}),function(e,t,n){try{const i=n();return Ko(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(Oc);return e.runInitializers(),e.donePromise.then(()=>(Ha(r.injector.get(Fc,Ya)||Ya),this._moduleDoBootstrap(r),r))})})}bootstrapModule(e,t=[]){const n=_u({},t);return function(e,t,n){const i=new Zl(n);return Promise.resolve(i)}(0,0,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(gu);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(yo))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();function _u(e,t){return Array.isArray(t)?t.reduce(_u,e):Object.assign(Object.assign({},e),t)}let gu=(()=>{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 o=new y(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),a=new y(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{Qc.assertNotInAngularZone(),Gc(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Qc.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=q(o,a.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 $a?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const i=n.isBoundToModule?void 0:this._injector.get(Rl),r=n.create(yo.NULL,[],t||n.selector,i),s=r.location.nativeElement,o=r.injector.get(iu,null),a=o&&r.injector.get(ru);return o&&a&&a.registerApplication(s,o),r.onDestroy(()=>{this.detachView(r.hostView),yu(this.components,r),a&&a.unregisterApplication(s)}),this._loadComponent(r),uu()&&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;yu(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Rc,[]).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(Qc),gi(Yc),gi(yo),gi(pr),gi(Qa),gi(Oc))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();function yu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class bu{}class vu{}const wu={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let ku=(()=>{class e{constructor(e,t){this._compiler=e,this._config=t||wu}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=>Su(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=>Su(e,t,i))}}return e.\u0275fac=function(t){return new(t||e)(gi(Kc),gi(vu,8))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();function Su(e,t,n){if(!e)throw new Error(`Cannot find '${n}' in '${t}'`);return e}const Cu=pu(null,"core",[{provide:jc,useValue:"unknown"},{provide:mu,deps:[yo]},{provide:ru,deps:[]},{provide:Yc,deps:[]}]),xu=[{provide:gu,useClass:gu,deps:[Qc,Yc,yo,pr,Qa,Oc]},{provide:$l,deps:[Qc],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:Oc,useClass:Oc,deps:[[new ki,Ec]]},{provide:Kc,useClass:Kc,deps:[]},Ac,{provide:bl,useFactory:function(){return El},deps:[]},{provide:wl,useFactory:function(){return Ol},deps:[]},{provide:Fc,useFactory:function(e){return Ha(e=e||"undefined"!=typeof $localize&&$localize.locale||Ya),e},deps:[[new wi(Fc),new ki,new Si]]},{provide:Hc,useValue:"USD"}];let Mu=(()=>{class e{constructor(e){}}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)(gi(gu))},providers:xu}),e})(),Du=null;function Lu(){return Du}const Eu=new Zn("DocumentToken");let Ou=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({factory:Tu,token:e,providedIn:"platform"}),e})();function Tu(){return gi(Iu)}const Au=new Zn("Location Initialized");let Iu=(()=>{class e extends Ou{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=Lu().getLocation(),this._history=Lu().getHistory()}getBaseHrefFromDOM(){return Lu().getBaseHref(this._doc)}onPopState(e){Lu().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}onHashChange(e){Lu().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){Pu()?this._history.pushState(e,t,n):this.location.hash=n}replaceState(e,t,n){Pu()?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(Eu))},e.\u0275prov=le({factory:ju,token:e,providedIn:"platform"}),e})();function Pu(){return!!window.history.pushState}function ju(){return new Iu(gi(Eu))}function Ru(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 Yu(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 Fu(e){return e&&"?"!==e[0]?"?"+e:e}let Hu=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({factory:Nu,token:e,providedIn:"root"}),e})();function Nu(e){const t=gi(Eu).location;return new Uu(gi(Ou),t&&t.origin||"")}const Vu=new Zn("appBaseHref");let Uu=(()=>{class e extends Hu{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 Ru(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+Fu(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?`${t}${n}`:t}pushState(e,t,n,i){const r=this.prepareExternalUrl(n+Fu(i));this._platformLocation.pushState(e,t,r)}replaceState(e,t,n,i){const r=this.prepareExternalUrl(n+Fu(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(Ou),gi(Vu,8))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),Bu=(()=>{class e extends Hu{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=Ru(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,n,i){let r=this.prepareExternalUrl(n+Fu(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(e,t,r)}replaceState(e,t,n,i){let r=this.prepareExternalUrl(n+Fu(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(Ou),gi(Vu,8))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),zu=(()=>{class e{constructor(e,t){this._subject=new cc,this._urlChangeListeners=[],this._platformStrategy=e;const n=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=Yu(Wu(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+Fu(t))}normalize(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,Wu(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+Fu(t)),n)}replaceState(e,t="",n=null){this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Fu(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(Hu),gi(Ou))},e.normalizeQueryParams=Fu,e.joinWithSlash=Ru,e.stripTrailingSlash=Yu,e.\u0275prov=le({factory:qu,token:e,providedIn:"root"}),e})();function qu(){return new zu(gi(Hu),gi(Ou))}function Wu(e){return e.replace(/\/index.html$/,"")}var Ku=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}({}),$u=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}({}),Gu=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}({}),Qu=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}({}),Ju=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 Xu(e,t){return id(Pa(e)[Ra.DateFormat],t)}function Zu(e,t){return id(Pa(e)[Ra.TimeFormat],t)}function ed(e,t){return id(Pa(e)[Ra.DateTimeFormat],t)}function td(e,t){const n=Pa(e),i=n[Ra.NumberSymbols][t];if(void 0===i){if(t===Ju.CurrencyDecimal)return n[Ra.NumberSymbols][Ju.Decimal];if(t===Ju.CurrencyGroup)return n[Ra.NumberSymbols][Ju.Group]}return i}function nd(e){if(!e[Ra.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[Ra.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function id(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 rd(e){const[t,n]=e.split(":");return{hours:+t,minutes:+n}}const sd=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,od={},ad=/((?:[^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 ld=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}({}),cd=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}({}),ud=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 dd(e,t,n,i){let r=function(e){if(Cd(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 hd(t,n-1,i)}const t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let n;if(n=e.match(sd))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 o=Number(e[4]||0)-n,a=Number(e[5]||0)-i,l=Number(e[6]||0),c=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return s.call(t,o,a,l,c),t}(n)}const t=new Date(e);if(!Cd(t))throw new Error(`Unable to convert "${e}" into a date`);return t}(e);t=pd(n,t)||t;let s,o=[];for(;t;){if(s=ad.exec(t),!s){o.push(t);break}{o=o.concat(s.slice(1));const e=o.pop();if(!e)break;t=e}}let a=r.getTimezoneOffset();i&&(a=Sd(i,a),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*(Sd(t,i)-i))}(r,i));let l="";return o.forEach(e=>{const t=function(e){if(kd[e])return kd[e];let t;switch(e){case"G":case"GG":case"GGG":t=gd(ud.Eras,Gu.Abbreviated);break;case"GGGG":t=gd(ud.Eras,Gu.Wide);break;case"GGGGG":t=gd(ud.Eras,Gu.Narrow);break;case"y":t=_d(cd.FullYear,1,0,!1,!0);break;case"yy":t=_d(cd.FullYear,2,0,!0,!0);break;case"yyy":t=_d(cd.FullYear,3,0,!1,!0);break;case"yyyy":t=_d(cd.FullYear,4,0,!1,!0);break;case"Y":t=wd(1);break;case"YY":t=wd(2,!0);break;case"YYY":t=wd(3);break;case"YYYY":t=wd(4);break;case"M":case"L":t=_d(cd.Month,1,1);break;case"MM":case"LL":t=_d(cd.Month,2,1);break;case"MMM":t=gd(ud.Months,Gu.Abbreviated);break;case"MMMM":t=gd(ud.Months,Gu.Wide);break;case"MMMMM":t=gd(ud.Months,Gu.Narrow);break;case"LLL":t=gd(ud.Months,Gu.Abbreviated,$u.Standalone);break;case"LLLL":t=gd(ud.Months,Gu.Wide,$u.Standalone);break;case"LLLLL":t=gd(ud.Months,Gu.Narrow,$u.Standalone);break;case"w":t=vd(1);break;case"ww":t=vd(2);break;case"W":t=vd(1,!0);break;case"d":t=_d(cd.Date,1);break;case"dd":t=_d(cd.Date,2);break;case"E":case"EE":case"EEE":t=gd(ud.Days,Gu.Abbreviated);break;case"EEEE":t=gd(ud.Days,Gu.Wide);break;case"EEEEE":t=gd(ud.Days,Gu.Narrow);break;case"EEEEEE":t=gd(ud.Days,Gu.Short);break;case"a":case"aa":case"aaa":t=gd(ud.DayPeriods,Gu.Abbreviated);break;case"aaaa":t=gd(ud.DayPeriods,Gu.Wide);break;case"aaaaa":t=gd(ud.DayPeriods,Gu.Narrow);break;case"b":case"bb":case"bbb":t=gd(ud.DayPeriods,Gu.Abbreviated,$u.Standalone,!0);break;case"bbbb":t=gd(ud.DayPeriods,Gu.Wide,$u.Standalone,!0);break;case"bbbbb":t=gd(ud.DayPeriods,Gu.Narrow,$u.Standalone,!0);break;case"B":case"BB":case"BBB":t=gd(ud.DayPeriods,Gu.Abbreviated,$u.Format,!0);break;case"BBBB":t=gd(ud.DayPeriods,Gu.Wide,$u.Format,!0);break;case"BBBBB":t=gd(ud.DayPeriods,Gu.Narrow,$u.Format,!0);break;case"h":t=_d(cd.Hours,1,-12);break;case"hh":t=_d(cd.Hours,2,-12);break;case"H":t=_d(cd.Hours,1);break;case"HH":t=_d(cd.Hours,2);break;case"m":t=_d(cd.Minutes,1);break;case"mm":t=_d(cd.Minutes,2);break;case"s":t=_d(cd.Seconds,1);break;case"ss":t=_d(cd.Seconds,2);break;case"S":t=_d(cd.FractionalSeconds,1);break;case"SS":t=_d(cd.FractionalSeconds,2);break;case"SSS":t=_d(cd.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=yd(ld.Short);break;case"ZZZZZ":t=yd(ld.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=yd(ld.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=yd(ld.Long);break;default:return null}return kd[e]=t,t}(e);l+=t?t(r,n,a):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function hd(e,t,n){const i=new Date(0);return i.setFullYear(e,t,n),i.setHours(0,0,0),i}function pd(e,t){const n=function(e){return Pa(e)[Ra.LocaleId]}(e);if(od[n]=od[n]||{},od[n][t])return od[n][t];let i="";switch(t){case"shortDate":i=Xu(e,Qu.Short);break;case"mediumDate":i=Xu(e,Qu.Medium);break;case"longDate":i=Xu(e,Qu.Long);break;case"fullDate":i=Xu(e,Qu.Full);break;case"shortTime":i=Zu(e,Qu.Short);break;case"mediumTime":i=Zu(e,Qu.Medium);break;case"longTime":i=Zu(e,Qu.Long);break;case"fullTime":i=Zu(e,Qu.Full);break;case"short":const t=pd(e,"shortTime"),n=pd(e,"shortDate");i=fd(ed(e,Qu.Short),[t,n]);break;case"medium":const r=pd(e,"mediumTime"),s=pd(e,"mediumDate");i=fd(ed(e,Qu.Medium),[r,s]);break;case"long":const o=pd(e,"longTime"),a=pd(e,"longDate");i=fd(ed(e,Qu.Long),[o,a]);break;case"full":const l=pd(e,"fullTime"),c=pd(e,"fullDate");i=fd(ed(e,Qu.Full),[l,c])}return i&&(od[n][t]=i),i}function fd(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(e,n){return null!=t&&n in t?t[n]:e})),e}function md(e,t,n="-",i,r){let s="";(e<0||r&&e<=0)&&(r?e=1-e:(e=-e,s=n));let o=String(e);for(;o.length0||a>-n)&&(a+=n),e===cd.Hours)0===a&&-12===n&&(a=12);else if(e===cd.FractionalSeconds)return l=t,md(a,3).substr(0,l);var l;const c=td(o,Ju.MinusSign);return md(a,t,c,i,r)}}function gd(e,t,n=$u.Format,i=!1){return function(r,s){return function(e,t,n,i,r,s){switch(n){case ud.Months:return function(e,t,n){const i=Pa(e),r=id([i[Ra.MonthsFormat],i[Ra.MonthsStandalone]],t);return id(r,n)}(t,r,i)[e.getMonth()];case ud.Days:return function(e,t,n){const i=Pa(e),r=id([i[Ra.DaysFormat],i[Ra.DaysStandalone]],t);return id(r,n)}(t,r,i)[e.getDay()];case ud.DayPeriods:const o=e.getHours(),a=e.getMinutes();if(s){const e=function(e){const t=Pa(e);return nd(t),(t[Ra.ExtraData][2]||[]).map(e=>"string"==typeof e?rd(e):[rd(e[0]),rd(e[1])])}(t),n=function(e,t,n){const i=Pa(e);nd(i);const r=id([i[Ra.ExtraData][0],i[Ra.ExtraData][1]],t)||[];return id(r,n)||[]}(t,r,i),s=e.findIndex(e=>{if(Array.isArray(e)){const[t,n]=e,i=o>=t.hours&&a>=t.minutes,r=o0?Math.floor(r/60):Math.ceil(r/60);switch(e){case ld.Short:return(r>=0?"+":"")+md(o,2,s)+md(Math.abs(r%60),2,s);case ld.ShortGMT:return"GMT"+(r>=0?"+":"")+md(o,1,s);case ld.Long:return"GMT"+(r>=0?"+":"")+md(o,2,s)+":"+md(Math.abs(r%60),2,s);case ld.Extended:return 0===i?"Z":(r>=0?"+":"")+md(o,2,s)+":"+md(Math.abs(r%60),2,s);default:throw new Error(`Unknown zone width "${e}"`)}}}function bd(e){return hd(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function vd(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=bd(n),t=function(e){const t=hd(e,0,1).getDay();return hd(e,0,1+(t<=4?4:11)-t)}(e.getFullYear()),i=e.getTime()-t.getTime();r=1+Math.round(i/6048e5)}return md(r,e,td(i,Ju.MinusSign))}}function wd(e,t=!1){return function(n,i){return md(bd(n).getFullYear(),e,td(i,Ju.MinusSign),t)}}const kd={};function Sd(e,t){e=e.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function Cd(e){return e instanceof Date&&!isNaN(e.valueOf())}class xd{}let Md=(()=>{class e extends xd{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(function(e){return Pa(e)[Ra.PluralCase]}(t||this.locale)(e)){case Ku.Zero:return"zero";case Ku.One:return"one";case Ku.Two:return"two";case Ku.Few:return"few";case Ku.Many:return"many";default:return"other"}}}return e.\u0275fac=function(t){return new(t||e)(gi(Fc))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();function Dd(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 Ld=(()=>{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&&(Lo(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)(Yo(bl),Yo(wl),Yo(el),Yo(il))},e.\u0275dir=We({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e})();class Ed{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 Od=(()=>{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 Ed(null,this._ngForOf,-1,-1),null===i?void 0:i),r=new Td(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 Td(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)(Yo(Hl),Yo(Al),Yo(bl))},e.\u0275dir=We({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();class Td{constructor(e,t){this.record=e,this.view=t}}let Ad=(()=>{class e{constructor(e,t){this._viewContainer=e,this._context=new Id,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){Pd("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){Pd("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)(Yo(Hl),Yo(Al))},e.\u0275dir=We({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class Id{constructor(){this.$implicit=null,this.ngIf=null}}function Pd(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${ne(t)}'.`)}class jd{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 Rd=(()=>{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 jd(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return e.\u0275fac=function(t){return new(t||e)(Yo(Hl),Yo(Al),Yo(Rd,1))},e.\u0275dir=We({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),e})(),Fd=(()=>{class e{constructor(e,t,n){n._addDefault(new jd(e,t))}}return e.\u0275fac=function(t){return new(t||e)(Yo(Hl),Yo(Al),Yo(Rd,1))},e.\u0275dir=We({type:e,selectors:[["","ngSwitchDefault",""]]}),e})(),Hd=(()=>{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)(Yo(Hl))},e.\u0275dir=We({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[ut]}),e})();function Nd(e,t){return Error(`InvalidPipeArgument: '${t}' for pipe '${ne(e)}'`)}class Vd{createSubscription(e,t){return e.subscribe({next:t,error:e=>{throw e}})}dispose(e){e.unsubscribe()}onDestroy(e){e.unsubscribe()}}class Ud{createSubscription(e,t){return e.then(t,e=>{throw e})}dispose(e){}onDestroy(e){}}const Bd=new Ud,zd=new Vd;let qd=(()=>{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(Ko(t))return Bd;if($o(t))return zd;throw Nd(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=Dl(!0);if(null!=t||e&ye.Optional)return t;lt("ChangeDetectorRef")}())},e.\u0275pipe=Ke({name:"async",type:e,pure:!1}),e})(),Wd=(()=>{class e{constructor(e){this.locale=e}transform(t,n="mediumDate",i,r){if(null==t||""===t||t!=t)return null;try{return dd(t,n,r||this.locale,i)}catch(s){throw Nd(e,s.message)}}}return e.\u0275fac=function(t){return new(t||e)(Yo(Fc))},e.\u0275pipe=Ke({name:"date",type:e,pure:!0}),e})(),Kd=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[{provide:xd,useClass:Md}]}),e})();function $d(e){return"browser"===e}function Gd(e){return"server"===e}let Qd=(()=>{class e{}return e.\u0275prov=le({token:e,providedIn:"root",factory:()=>new Jd(gi(Eu),window)}),e})();class Jd{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=Xd(this.window.history)||Xd(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 Xd(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class Zd extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var e;e=new Zd,Du||(Du=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=th||(th=document.querySelector("base"),th)?th.getAttribute("href"):null;return null==t?null:(n=t,eh||(eh=document.createElement("a")),eh.setAttribute("href",n),"/"===eh.pathname.charAt(0)?eh.pathname:"/"+eh.pathname);var n}resetBaseElement(){th=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 Dd(document.cookie,e)}}let eh,th=null;const nh=new Zn("TRANSITION_ID"),ih=[{provide:Ec,useFactory:function(e,t,n){return()=>{n.get(Oc).donePromise.then(()=>{const n=Lu();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(t=>t.getAttribute("ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[nh,Eu,yo],multi:!0}];class rh{static init(){var e;e=new rh,au=e}addToWindow(e){Ee.getAngularTestability=(t,n=!0)=>{const i=e.findTestabilityInTree(t,n);if(null==i)throw new Error("Could not find testability for element.");return i},Ee.getAllAngularTestabilities=()=>e.getAllTestabilities(),Ee.getAllAngularRootElements=()=>e.getAllRootElements(),Ee.frameworkStabilizers||(Ee.frameworkStabilizers=[]),Ee.frameworkStabilizers.push(e=>{const t=Ee.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?Lu().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}const sh=new Zn("EventManagerPlugins");let oh=(()=>{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})(),ch=(()=>{class e extends lh{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=>Lu().remove(e))}}return e.\u0275fac=function(t){return new(t||e)(gi(Eu))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();const uh={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/"},dh=/%COMP%/g;function hh(e,t,n){for(let i=0;i{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let fh=(()=>{class e{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new mh(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 _h(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case 1:case Ce.ShadowDom:return new gh(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=hh(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(oh),gi(ch),gi(Tc))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();class mh{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(uh[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=uh[i];r?e.setAttributeNS(r,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const i=uh[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,ph(n)):this.eventManager.addEventListener(e,t,ph(n))}}class _h extends mh{constructor(e,t,n,i){super(e),this.component=n;const r=hh(i+"-"+n.id,n.styles,[]);t.addStyles(r),this.contentAttr="_ngcontent-%COMP%".replace(dh,i+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(dh,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 gh extends mh{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=hh(i.id,i.styles,[]);for(let s=0;s{class e extends ah{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(Eu))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();const bh=["alt","control","meta","shift"],vh={"\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"},wh={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"},kh={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let Sh=(()=>{class e extends ah{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(()=>Lu().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(bh.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 o={};return o.domEventName=i,o.fullKey=s,o}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&&wh.hasOwnProperty(t)&&(t=wh[t]))}return vh[t]||t}(e);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),bh.forEach(i=>{i!=n&&(0,kh[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(Eu))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),Ch=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({factory:function(){return gi(xh)},token:e,providedIn:"root"}),e})(),xh=(()=>{class e extends Ch{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case or.NONE:return t;case or.HTML:return ji(t,"HTML")?Pi(t):rr(this._doc,String(t)).toString();case or.STYLE:return ji(t,"Style")?Pi(t):t;case or.SCRIPT:if(ji(t,"Script"))return Pi(t);throw new Error("unsafe value used in a script context");case or.URL:return Ri(t),ji(t,"URL")?Pi(t):Vi(String(t));case or.RESOURCE_URL:if(ji(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 Ei(e)}bypassSecurityTrustStyle(e){return new Oi(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(Eu))},e.\u0275prov=le({factory:function(){return e=gi(to),new xh(e.get(Eu));var e},token:e,providedIn:"root"}),e})();const Mh=pu(Cu,"browser",[{provide:jc,useValue:"browser"},{provide:Pc,useValue:function(){Zd.makeCurrent(),rh.init()},multi:!0},{provide:Eu,useFactory:function(){return function(e){_t=e}(document),document},deps:[]}]),Dh=[[],{provide:io,useValue:"root"},{provide:pr,useFactory:function(){return new pr},deps:[]},{provide:sh,useClass:yh,multi:!0,deps:[Eu,Qc,jc]},{provide:sh,useClass:Sh,multi:!0,deps:[Eu]},[],{provide:fh,useClass:fh,deps:[oh,ch,Tc]},{provide:nl,useExisting:fh},{provide:lh,useExisting:ch},{provide:ch,useClass:ch,deps:[Eu]},{provide:iu,useClass:iu,deps:[Qc]},{provide:oh,useClass:oh,deps:[sh,Qc]},[]];let Lh=(()=>{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:Tc,useValue:t.appId},{provide:nh,useExisting:Tc},ih]}}}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)(gi(e,12))},providers:Dh,imports:[Kd,Mu]}),e})();"undefined"!=typeof window&&window;var Eh=n("AL3R");function Oh(...e){let t=e[e.length-1];return x(t)?(e.pop(),j(e,t)):z(e)}class Th 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)}}class Ah 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 Ih 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 Ph(e,t,n,i,r=new Ih(e,n,i)){if(!r.closed)return t instanceof y?t.subscribe(r):P(t)(r)}const jh={};function Rh(...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 Yh(t))}class Yh{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new Fh(e,this.resultSelector))}}class Fh extends Ah{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(jh),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;n{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 Nh(...e){return B(1)(Oh(...e))}const Vh=new y(e=>e.complete());function Uh(e){return e?function(e){return new y(t=>e.schedule(()=>t.complete()))}(e):Vh}function Bh(e){return new y(t=>{let n;try{n=e()}catch(i){return void t.error(i)}return(n?R(n):Uh()).subscribe(t)})}function zh(e,t){return"function"==typeof t?n=>n.pipe(zh((n,i)=>R(e(n,i)).pipe(M((e,r)=>t(n,e,i,r))))):t=>t.lift(new qh(e))}class qh{constructor(e){this.project=e}call(e,t){return t.subscribe(new Wh(e,this.project))}}class Wh 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=H(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)}}const Kh=(()=>{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 $h(e){return t=>0===e?Uh():t.lift(new Gh(e))}class Gh{constructor(e){if(this.total=e,this.total<0)throw new Kh}call(e,t){return t.subscribe(new Qh(e,this.total))}}class Qh 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()))}}function Jh(...e){const t=e[e.length-1];return x(t)?(e.pop(),n=>Nh(e,n,t)):t=>Nh(e,t)}function Xh(e,t){let n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new Zh(e,t,n))}}class Zh{constructor(e,t,n=!1){this.accumulator=e,this.seed=t,this.hasSeed=n}call(e,t){return t.subscribe(new ep(e,this.accumulator,this.seed,this.hasSeed))}}class ep 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 tp(e,t){return function(n){return n.lift(new np(e,t))}}class np{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new ip(e,this.predicate,this.thisArg))}}class ip 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)}}function rp(e){return function(t){const n=new sp(e),i=t.lift(n);return n.caught=i}}class sp{constructor(e){this.selector=e}call(e,t){return t.subscribe(new op(e,this.selector,this.caught))}}class op 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=H(n,i);r!==i&&this.add(r)}}}function ap(e,t){return N(e,t,1)}function lp(e){return function(t){return 0===e?Uh():t.lift(new cp(e))}}class cp{constructor(e){if(this.total=e,this.total<0)throw new Kh}call(e,t){return t.subscribe(new up(e,this.total))}}class up 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 hp(e))}class hp{constructor(e){this.errorFactory=e}call(e,t){return t.subscribe(new pp(e,this.errorFactory))}}class pp 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 fp(){return new Hh}function mp(e=null){return t=>t.lift(new _p(e))}class _p{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new gp(e,this.defaultValue))}}class gp 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 yp(e,t){const n=arguments.length>=2;return i=>i.pipe(e?tp((t,n)=>e(t,n,i)):g,$h(1),n?mp(t):dp(()=>new Hh))}function bp(){}function vp(e,t,n){return function(i){return i.lift(new wp(e,t,n))}}class wp{constructor(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}call(e,t){return t.subscribe(new kp(e,this.nextOrObserver,this.error,this.complete))}}class kp extends f{constructor(e,t,n,r){super(e),this._tapNext=bp,this._tapError=bp,this._tapComplete=bp,this._tapError=n||bp,this._tapComplete=r||bp,i(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||bp,this._tapError=t.error||bp,this._tapComplete=t.complete||bp)}_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 Sp(e){return t=>t.lift(new Cp(e))}class Cp{constructor(e){this.callback=e}call(e,t){return t.subscribe(new xp(e,this.callback))}}class xp extends f{constructor(e,t){super(e),this.add(new d(t))}}class Mp{constructor(e,t){this.id=e,this.url=t}}class Dp extends Mp{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 Lp extends Mp{constructor(e,t,n){super(e,t),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Ep extends Mp{constructor(e,t,n){super(e,t),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Op extends Mp{constructor(e,t,n){super(e,t),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Tp extends Mp{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 Ap extends Mp{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 Ip extends Mp{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 Pp extends Mp{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 jp extends Mp{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 Rp{constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Yp{constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Fp{constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Hp{constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Np{constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Vp{constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Up{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 Bp="primary";class zp{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 qp(e){return new zp(e)}function Wp(e){const t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function Kp(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 Qp(e){return Array.prototype.concat.apply([],e)}function Jp(e){return e.length>0?e[e.length-1]:null}function Xp(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function Zp(e){return Go(e)?e:Ko(e)?R(Promise.resolve(e)):Oh(e)}function ef(e,t,n){return n?function(e,t){return $p(e,t)}(e.queryParams,t.queryParams)&&tf(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>Gp(e[n],t[n]))}(e.queryParams,t.queryParams)&&nf(e.root,t.root)}function tf(e,t){if(!lf(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(!tf(e.children[n],t.children[n]))return!1}return!0}function nf(e,t){return rf(e,t,t.segments)}function rf(e,t,n){if(e.segments.length>n.length)return!!lf(e.segments.slice(0,n.length),n)&&!t.hasChildren();if(e.segments.length===n.length){if(!lf(e.segments,n))return!1;for(const n in t.children){if(!e.children[n])return!1;if(!nf(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!!lf(e.segments,i)&&!!e.children.primary&&rf(e.children.primary,t,r)}}class sf{constructor(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=qp(this.queryParams)),this._queryParamMap}toString(){return df.serialize(this)}}class of{constructor(e,t){this.segments=e,this.children=t,this.parent=null,Xp(t,(e,t)=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return hf(this)}}class af{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=qp(this.parameters)),this._parameterMap}toString(){return bf(this)}}function lf(e,t){return e.length===t.length&&e.every((e,n)=>e.path===t[n].path)}class cf{}class uf{parse(e){const t=new Cf(e);return new sf(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){var t;return`/${pf(e.root,!0)}${function(e){const t=Object.keys(e).map(t=>{const n=e[t];return Array.isArray(n)?n.map(e=>`${mf(t)}=${mf(e)}`).join("&"):`${mf(t)}=${mf(n)}`});return t.length?`?${t.join("&")}`:""}(e.queryParams)}${"string"==typeof e.fragment?`#${t=e.fragment,encodeURI(t)}`:""}`}}const df=new uf;function hf(e){return e.segments.map(e=>bf(e)).join("/")}function pf(e,t){if(!e.hasChildren())return hf(e);if(t){const t=e.children.primary?pf(e.children.primary,!1):"",n=[];return Xp(e.children,(e,t)=>{t!==Bp&&n.push(`${t}:${pf(e,!1)}`)}),n.length>0?`${t}(${n.join("//")})`:t}{const t=function(e,t){let n=[];return Xp(e.children,(e,i)=>{i===Bp&&(n=n.concat(t(e,i)))}),Xp(e.children,(e,i)=>{i!==Bp&&(n=n.concat(t(e,i)))}),n}(e,(t,n)=>n===Bp?[pf(e.children.primary,!1)]:[`${n}:${pf(t,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children.primary?`${hf(e)}/${t[0]}`:`${hf(e)}/(${t.join("//")})`}}function ff(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function mf(e){return ff(e).replace(/%3B/gi,";")}function _f(e){return ff(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function gf(e){return decodeURIComponent(e)}function yf(e){return gf(e.replace(/\+/g,"%20"))}function bf(e){return`${_f(e.path)}${t=e.parameters,Object.keys(t).map(e=>`;${_f(e)}=${_f(t[e])}`).join("")}`;var t}const vf=/^[^\/()?;=#]+/;function wf(e){const t=e.match(vf);return t?t[0]:""}const kf=/^[^=?&#]+/,Sf=/^[^?&#]+/;class Cf{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new of([],{}):new of([],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 of(e,t)),n}parseSegment(){const e=wf(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(e),new af(gf(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=wf(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=wf(this.remaining);e&&(n=e,this.capture(n))}e[gf(t)]=gf(n)}parseQueryParam(e){const t=function(e){const t=e.match(kf);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(Sf);return t?t[0]:""}(this.remaining);e&&(n=e,this.capture(n))}const i=yf(t),r=yf(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=wf(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=Bp);const s=this.parseChildren();t[r]=1===Object.keys(s).length?s.primary:new of([],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 xf{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=Mf(e,this._root);return t?t.children.map(e=>e.value):[]}firstChild(e){const t=Mf(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=Df(e,this._root);return t.length<2?[]:t[t.length-2].children.map(e=>e.value).filter(t=>t!==e)}pathFromRoot(e){return Df(e,this._root).map(e=>e.value)}}function Mf(e,t){if(e===t.value)return t;for(const n of t.children){const t=Mf(e,n);if(t)return t}return null}function Df(e,t){if(e===t.value)return[t];for(const n of t.children){const i=Df(e,n);if(i.length)return i.unshift(t),i}return[]}class Lf{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function Ef(e){const t={};return e&&e.children.forEach(e=>t[e.value.outlet]=e),t}class Of extends xf{constructor(e,t){super(e),this.snapshot=t,Rf(this,e)}toString(){return this.snapshot.toString()}}function Tf(e,t){const n=function(e,t){const n=new Pf([],{},{},"",{},Bp,t,null,e.root,-1,{});return new jf("",new Lf(n,[]))}(e,t),i=new Th([new af("",{})]),r=new Th({}),s=new Th({}),o=new Th({}),a=new Th(""),l=new Af(i,r,o,a,s,Bp,t,n.root);return l.snapshot=n.root,new Of(new Lf(l,[]),n)}class Af{constructor(e,t,n,i,r,s,o,a){this.url=e,this.params=t,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=s,this.component=o,this._futureSnapshot=a}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=>qp(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(M(e=>qp(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function If(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 Pf{constructor(e,t,n,i,r,s,o,a,l,c,u){this.url=e,this.params=t,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=s,this.component=o,this.routeConfig=a,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=qp(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=qp(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(e=>e.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class jf extends xf{constructor(e,t){super(t),this.url=e,Rf(this,t)}toString(){return Yf(this._root)}}function Rf(e,t){t.value._routerState=e,t.children.forEach(t=>Rf(e,t))}function Yf(e){const t=e.children.length>0?` { ${e.children.map(Yf).join(", ")} } `:"";return`${e.value}${t}`}function Ff(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,$p(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),$p(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(let n=0;n$p(e.parameters,i[t].parameters))&&!(!e.parent!=!t.parent)&&(!e.parent||Hf(e.parent,t.parent))}function Nf(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 Nf(e,t,i);return Nf(e,t)})}(e,t,n);return new Lf(i,r)}{const n=e.retrieve(t.value);if(n){const e=n.route;return Vf(t,e),e}{const n=new Af(new Th((i=t.value).url),new Th(i.params),new Th(i.queryParams),new Th(i.fragment),new Th(i.data),i.outlet,i.component,i),r=t.children.map(t=>Nf(e,t));return new Lf(n,r)}}var i}function Vf(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 sf(n.root===e?t:qf(n.root,e,t),s,r)}function qf(e,t,n){const i={};return Xp(e.children,(e,r)=>{i[r]=e===t?n:qf(e,t,n)}),new of(e.segments,i)}class Wf{constructor(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&Uf(n[0]))throw new Error("Root segment cannot have matrix parameters");const i=n.find(Bf);if(i&&i!==Jp(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Kf{constructor(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}function $f(e,t,n){if(e||(e=new of([],{})),0===e.segments.length&&e.hasChildren())return Gf(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],o=n[i];if(Bf(o))break;const a=`${o}`,l=i0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!Zf(a,l,t))return s;i+=2}else{if(!Zf(a,{},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]=$f(e.children[i],t,n))}),Xp(e.children,(e,t)=>{void 0===i[t]&&(r[t]=e)}),new of(e.segments,r)}}function Qf(e,t,n){const i=e.segments.slice(0,t);let r=0;for(;r{"string"==typeof e&&(e=[e]),null!==e&&(t[n]=Qf(new of([],{}),0,e))}),t}function Xf(e){const t={};return Xp(e,(e,n)=>t[n]=`${e}`),t}function Zf(e,t,n){return e==n.path&&$p(t,n.parameters)}class em{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),Ff(this.futureState.root),this.activateChildRoutes(t,n,e)}deactivateChildRoutes(e,t,n){const i=Ef(t);e.children.forEach(e=>{const t=e.value.outlet;this.deactivateRoutes(e,i[t],n),delete i[t]}),Xp(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=Ef(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=Ef(t);e.children.forEach(e=>{this.activateRoutes(e,i[e.value.outlet],n),this.forwardEvent(new Vp(e.value.snapshot))}),e.children.length&&this.forwardEvent(new Hp(e.value.snapshot))}activateRoutes(e,t,n){const i=e.value,r=t?t.value:null;if(Ff(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),tm(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 tm(e){Ff(e.value),e.children.forEach(tm)}class nm{constructor(e,t){this.routes=e,this.module=t}}function im(e){return"function"==typeof e}function rm(e){return e instanceof sf}const sm=Symbol("INITIAL_VALUE");function om(){return zh(e=>Rh(e.map(e=>e.pipe($h(1),Jh(sm)))).pipe(Xh((e,t)=>{let n=!1;return t.reduce((e,i,r)=>{if(e!==sm)return e;if(i===sm&&(n=!0),!n){if(!1===i)return i;if(r===t.length-1||rm(i))return i}return e},e)},sm),tp(e=>e!==sm),M(e=>rm(e)?e:!0===e),$h(1)))}let am=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ne({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&Uo(0,"router-outlet")},directives:function(){return[t_]},encapsulation:2}),e})();function lm(e,t=""){for(let n=0;nhm(e)===t);return n.push(...e.filter(e=>hm(e)!==t)),n}const fm={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function mm(e,t,n){var i;if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?Object.assign({},fm):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const r=(t.matcher||Kp)(n,e,t);if(!r)return Object.assign({},fm);const s={};Xp(r.posParams,(e,t)=>{s[t]=e.path});const o=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:o,positionalParamSegments:null!==(i=r.posParams)&&void 0!==i?i:{}}}function _m(e,t,n,i,r="corrected"){if(n.length>0&&function(e,t,n){return n.some(n=>gm(e,t,n)&&hm(n)!==Bp)}(e,n,i)){const r=new of(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&&hm(s)!==Bp){const n=new of([],{});n._sourceSegment=e,n._segmentIndexShift=t.length,r[hm(s)]=n}return r}(e,t,i,new of(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=>gm(e,t,n))}(e,n,i)){const s=new of(e.segments,function(e,t,n,i,r,s){const o={};for(const a of i)if(gm(e,n,a)&&!r[hm(a)]){const n=new of([],{});n._sourceSegment=e,n._segmentIndexShift="legacy"===s?e.segments.length:t.length,o[hm(a)]=n}return Object.assign(Object.assign({},r),o)}(e,t,n,i,e.children,r));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}const s=new of(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}function gm(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function ym(e,t,n,i){return!!(hm(e)===i||i!==Bp&&gm(t,n,e))&&("**"===e.path||mm(t,e,n).matched)}function bm(e,t,n){return 0===t.length&&!e.children[n]}class vm{constructor(e){this.segmentGroup=e||null}}class wm{constructor(e){this.urlTree=e}}function km(e){return new y(t=>t.error(new vm(e)))}function Sm(e){return new y(t=>t.error(new wm(e)))}function Cm(e){return new y(t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${e}'`)))}class xm{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(Rl)}apply(){const e=_m(this.urlTree.root,[],[],this.config).segmentGroup,t=new of(e.segments,e.children);return this.expandSegmentGroup(this.ngModule,this.config,t,Bp).pipe(M(e=>this.createUrlTree(Mm(e),this.urlTree.queryParams,this.urlTree.fragment))).pipe(rp(e=>{if(e instanceof wm)return this.allowRedirects=!1,this.match(e.urlTree);if(e instanceof vm)throw this.noMatchError(e);throw e}))}match(e){return this.expandSegmentGroup(this.ngModule,this.config,e.root,Bp).pipe(M(t=>this.createUrlTree(Mm(t),e.queryParams,e.fragment))).pipe(rp(e=>{if(e instanceof vm)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 of([],{[Bp]:e}):e;return new sf(i,t,n)}expandSegmentGroup(e,t,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(M(e=>new of([],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 R(i).pipe(ap(i=>{const r=n.children[i],s=pm(t,i);return this.expandSegmentGroup(e,s,r,i).pipe(M(e=>({segment:e,outlet:i})))}),Xh((e,t)=>(e[t.outlet]=t.segment,e),{}),function(e,t){const n=arguments.length>=2;return i=>i.pipe(e?tp((t,n)=>e(t,n,i)):g,lp(1),n?mp(t):dp(()=>new Hh))}())}expandSegment(e,t,n,i,r,s){return R(n).pipe(ap(o=>this.expandSegmentAgainstRoute(e,t,n,o,i,r,s).pipe(rp(e=>{if(e instanceof vm)return Oh(null);throw e}))),yp(e=>!!e),rp((e,n)=>{if(e instanceof Hh||"EmptyError"===e.name){if(bm(t,i,r))return Oh(new of([],{}));throw new vm(t)}throw e}))}expandSegmentAgainstRoute(e,t,n,i,r,s,o){return ym(i,t,r,s)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(e,t,i,r,s):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,i,r,s):km(t):km(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("/")?Sm(r):this.lineralizeSegments(n,r).pipe(N(n=>{const r=new of(n,{});return this.expandSegment(e,r,t,n,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,i,r,s){const{matched:o,consumedSegments:a,lastChild:l,positionalParamSegments:c}=mm(t,i,r);if(!o)return km(t);const u=this.applyRedirectCommands(a,i.redirectTo,c);return i.redirectTo.startsWith("/")?Sm(u):this.lineralizeSegments(i,u).pipe(N(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 of(i,{})))):Oh(new of(i,{}));const{matched:s,consumedSegments:o,lastChild:a}=mm(t,n,i);if(!s)return km(t);const l=i.slice(a);return this.getChildConfig(e,n,i).pipe(N(e=>{const i=e.module,s=e.routes,{segmentGroup:a,slicedSegments:c}=_m(t,o,l,s),u=new of(a.segments,a.children);if(0===c.length&&u.hasChildren())return this.expandChildren(i,s,u).pipe(M(e=>new of(o,e)));if(0===s.length&&0===c.length)return Oh(new of(o,{}));const d=hm(n)===r;return this.expandSegment(i,u,s,c,d?Bp:r,!0).pipe(M(e=>new of(o.concat(e.segments),e.children)))}))}getChildConfig(e,t,n){return t.children?Oh(new nm(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Oh(t._loadedConfig):this.runCanLoadGuards(e.injector,t,n).pipe(N(n=>n?this.configLoader.load(e.injector,t).pipe(M(e=>(t._loadedConfig=e,e))):function(e){return new y(t=>t.error(Wp(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`)))}(t))):Oh(new nm([],e))}runCanLoadGuards(e,t,n){const i=t.canLoad;return i&&0!==i.length?Oh(i.map(i=>{const r=e.get(i);let s;if(function(e){return e&&im(e.canLoad)}(r))s=r.canLoad(t,n);else{if(!im(r))throw new Error("Invalid CanLoad guard");s=r(t,n)}return Zp(s)})).pipe(om(),vp(e=>{if(!rm(e))return;const t=Wp(`Redirecting to "${this.urlSerializer.serialize(e)}"`);throw t.url=e,t}),M(e=>!0===e)):Oh(!0)}lineralizeSegments(e,t){let n=[],i=t.root;for(;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return Oh(n);if(i.numberOfChildren>1||!i.children.primary)return Cm(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 sf(r,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const n={};return Xp(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 Xp(t.children,(t,r)=>{s[r]=this.createSegmentGroup(e,t,n,i)}),new of(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 Mm(e){const t={};for(const n of Object.keys(e.children)){const i=Mm(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 of(e.segments.concat(t.segments),t.children)}return e}(new of(e.segments,t))}class Dm{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class Lm{constructor(e,t){this.component=e,this.route=t}}function Em(e,t,n){const i=e._root;return Tm(i,t?t._root:null,n,[i.value])}function Om(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 Tm(e,t,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const s=Ef(t);return e.children.forEach(e=>{!function(e,t,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const s=e.value,o=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){const l=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!lf(e.url,t.url);case"pathParamsOrQueryParamsChange":return!lf(e.url,t.url)||!$p(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Hf(e,t)||!$p(e.queryParams,t.queryParams);case"paramsChange":default:return!Hf(e,t)}}(o,s,s.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new Dm(i)):(s.data=o.data,s._resolvedData=o._resolvedData),Tm(e,t,s.component?a?a.children:null:n,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new Lm(a.outlet.component,o))}else o&&Am(t,a,r),r.canActivateChecks.push(new Dm(i)),Tm(e,null,s.component?a?a.children:null:n,i,r)}(e,s[e.value.outlet],n,i.concat([e.value]),r),delete s[e.value.outlet]}),Xp(s,(e,t)=>Am(e,n.getContext(t),r)),r}function Am(e,t,n){const i=Ef(e),r=e.value;Xp(i,(e,i)=>{Am(e,r.component?t?t.children.getContext(i):null:t,n)}),n.canDeactivateChecks.push(new Lm(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}class Im{}function Pm(e){return new y(t=>t.error(e))}class jm{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=_m(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,Bp);if(null===t)return null;const n=new Pf([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},Bp,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Lf(n,t),r=new jf(this.url,i);return this.inheritParamsAndData(r._root),r}inheritParamsAndData(e){const t=e.value,n=If(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=pm(e,r),o=this.processSegmentGroup(s,i,r);if(null===o)return null;n.push(...o)}const i=function(e){const t=[];for(const n of e){if(!Rm(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===Bp?-1:t.value.outlet===Bp?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 bm(t,n,i)?[]:null}processSegmentAgainstRoute(e,t,n,i){if(e.redirectTo||!ym(e,t,n,i))return null;let r,s=[],o=[];if("**"===e.path){const i=n.length>0?Jp(n).parameters:{};r=new Pf(n,i,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Hm(e),hm(e),e.component,e,Ym(t),Fm(t)+n.length,Nm(e))}else{const i=mm(t,e,n);if(!i.matched)return null;s=i.consumedSegments,o=n.slice(i.lastChild),r=new Pf(s,i.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Hm(e),hm(e),e.component,e,Ym(t),Fm(t)+s.length,Nm(e))}const a=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),{segmentGroup:l,slicedSegments:c}=_m(t,s,o,a.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const e=this.processChildren(a,l);return null===e?null:[new Lf(r,e)]}if(0===a.length&&0===c.length)return[new Lf(r,[])];const u=hm(e)===i,d=this.processSegment(a,l,c,u?Bp:i);return null===d?null:[new Lf(r,d)]}}function Rm(e){const t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function Ym(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function Fm(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 Hm(e){return e.data||{}}function Nm(e){return e.resolve||{}}function Vm(e){return zh(t=>{const n=e(t);return n?R(n).pipe(M(()=>t)):Oh(t)})}class Um 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 Bm=new Zn("ROUTES");class zm{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 nm(Qp(i.injector.get(Bm,void 0,ye.Self|ye.Optional)).map(dm),i)}))}loadModuleFactory(e){return"string"==typeof e?R(this.loader.load(e)):Zp(e()).pipe(N(e=>e instanceof Yl?Oh(e):R(this.compiler.compileModuleAsync(e))))}}class qm{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Wm,this.attachRef=null}}class Wm{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 qm,this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}}class Km{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}}function $m(e){throw e}function Gm(e,t,n){return t.parse("/")}function Qm(e,t){return Oh(null)}let Jm=(()=>{class e{constructor(e,t,n,i,r,s,o,a){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=i,this.config=a,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new S,this.errorHandler=$m,this.malformedUriErrorHandler=Gm,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Qm,afterPreactivation:Qm},this.urlHandlingStrategy=new Km,this.routeReuseStrategy=new Um,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.ngModule=r.get(Rl),this.console=r.get(Yc);const l=r.get(Qc);this.isNgZoneEnabled=l instanceof Qc&&Qc.isInAngularZone(),this.resetConfig(a),this.currentUrlTree=new sf(new of([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new zm(s,o,e=>this.triggerEvent(new Rp(e)),e=>this.triggerEvent(new Yp(e))),this.routerState=Tf(this.currentUrlTree,this.rootComponentType),this.transitions=new Th({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(tp(e=>0!==e.id),M(e=>Object.assign(Object.assign({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl)})),zh(e=>{let n=!1,i=!1;return Oh(e).pipe(vp(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}}),zh(e=>{const n=!this.navigated||e.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Oh(e).pipe(zh(e=>{const n=this.transitions.getValue();return t.next(new Dp(e.id,this.serializeUrl(e.extractedUrl),e.source,e.restoredState)),n!==this.transitions.getValue()?Vh:Promise.resolve(e)}),(i=this.ngModule.injector,r=this.configLoader,s=this.urlSerializer,o=this.config,zh(e=>function(e,t,n,i,r){return new xm(e,t,n,i,r).apply()}(i,r,s,e.extractedUrl,o).pipe(M(t=>Object.assign(Object.assign({},e),{urlAfterRedirects:t}))))),vp(e=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:e.urlAfterRedirects})}),function(e,t,n,i,r){return N(s=>function(e,t,n,i,r="emptyOnly",s="legacy"){try{const o=new jm(e,t,n,i,r,s).recognize();return null===o?Pm(new Im):Oh(o)}catch(o){return Pm(o)}}(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),vp(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 Tp(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.next(n)}));var i,r,s,o;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:i,source:r,restoredState:s,extras:o}=e,a=new Dp(n,this.serializeUrl(i),r,s);t.next(a);const l=Tf(i,this.rootComponentType).snapshot;return Oh(Object.assign(Object.assign({},e),{targetSnapshot:l,urlAfterRedirects:i,extras:Object.assign(Object.assign({},o),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=e.rawUrl,this.browserUrlTree=e.urlAfterRedirects,e.resolve(null),Vh}),Vm(e=>{const{targetSnapshot:t,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:s,replaceUrl:o}}=e;return this.hooks.beforePreactivation(t,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!o})}),vp(e=>{const t=new Ap(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),M(e=>Object.assign(Object.assign({},e),{guards:Em(e.targetSnapshot,e.currentSnapshot,this.rootContexts)})),function(e,t){return N(n=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:s,canDeactivateChecks:o}}=n;return 0===o.length&&0===s.length?Oh(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,i){return R(e).pipe(N(e=>function(e,t,n,i,r){const s=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return s&&0!==s.length?Oh(s.map(s=>{const o=Om(s,t,r);let a;if(function(e){return e&&im(e.canDeactivate)}(o))a=Zp(o.canDeactivate(e,t,n,i));else{if(!im(o))throw new Error("Invalid CanDeactivate guard");a=Zp(o(e,t,n,i))}return a.pipe(yp())})).pipe(om()):Oh(!0)}(e.component,e.route,n,t,i)),yp(e=>!0!==e,!0))}(o,i,r,e).pipe(N(n=>n&&"boolean"==typeof n?function(e,t,n,i){return R(t).pipe(ap(t=>Nh(function(e,t){return null!==e&&t&&t(new Fp(e)),Oh(!0)}(t.route.parent,i),function(e,t){return null!==e&&t&&t(new Np(e)),Oh(!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=>Bh(()=>Oh(t.guards.map(r=>{const s=Om(r,t.node,n);let o;if(function(e){return e&&im(e.canActivateChild)}(s))o=Zp(s.canActivateChild(i,e));else{if(!im(s))throw new Error("Invalid CanActivateChild guard");o=Zp(s(i,e))}return o.pipe(yp())})).pipe(om())));return Oh(r).pipe(om())}(e,t.path,n),function(e,t,n){const i=t.routeConfig?t.routeConfig.canActivate:null;return i&&0!==i.length?Oh(i.map(i=>Bh(()=>{const r=Om(i,t,n);let s;if(function(e){return e&&im(e.canActivate)}(r))s=Zp(r.canActivate(t,e));else{if(!im(r))throw new Error("Invalid CanActivate guard");s=Zp(r(t,e))}return s.pipe(yp())}))).pipe(om()):Oh(!0)}(e,t.route,n))),yp(e=>!0!==e,!0))}(i,s,e,t):Oh(n)),M(e=>Object.assign(Object.assign({},n),{guardsResult:e})))})}(this.ngModule.injector,e=>this.triggerEvent(e)),vp(e=>{if(rm(e.guardsResult)){const t=Wp(`Redirecting to "${this.serializeUrl(e.guardsResult)}"`);throw t.url=e.guardsResult,t}const t=new Ip(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);this.triggerEvent(t)}),tp(e=>{if(!e.guardsResult){this.resetUrlToCurrentUrlTree();const n=new Ep(e.id,this.serializeUrl(e.extractedUrl),"");return t.next(n),e.resolve(!1),!1}return!0}),Vm(e=>{if(e.guards.canActivateChecks.length)return Oh(e).pipe(vp(e=>{const t=new Pp(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),zh(e=>{let n=!1;return Oh(e).pipe((i=this.paramsInheritanceStrategy,r=this.ngModule.injector,N(e=>{const{targetSnapshot:t,guards:{canActivateChecks:n}}=e;if(!n.length)return Oh(e);let s=0;return R(n).pipe(ap(e=>function(e,t,n,i){return function(e,t,n,i){const r=Object.keys(e);if(0===r.length)return Oh({});const s={};return R(r).pipe(N(r=>function(e,t,n,i){const r=Om(e,t,i);return Zp(r.resolve?r.resolve(t,n):r(t,n))}(e[r],t,n,i).pipe(vp(e=>{s[r]=e}))),lp(1),N(()=>Object.keys(s).length===r.length?Oh(s):Vh))}(e._resolve,e,t,i).pipe(M(t=>(e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),If(e,n).resolve),null)))}(e.route,t,i,r)),vp(()=>s++),lp(1),N(t=>s===n.length?Oh(e):Vh))})),vp({next:()=>n=!0,complete:()=>{if(!n){const n=new Ep(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}),vp(e=>{const t=new jp(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}))}),Vm(e=>{const{targetSnapshot:t,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:s,replaceUrl:o}}=e;return this.hooks.afterPreactivation(t,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!o})}),M(e=>{const t=function(e,t,n){const i=Nf(e,t._root,n?n._root:void 0);return new Of(i,t)}(this.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:t})}),vp(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,o=e=>this.triggerEvent(e),M(e=>(new em(s,e.targetRouterState,e.currentRouterState,o).activate(r),e))),vp({next(){n=!0},complete(){n=!0}}),Sp(()=>{if(!n&&!i){this.resetUrlToCurrentUrlTree();const n=new Ep(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}),rp(n=>{if(i=!0,(r=n)&&r.ngNavigationCancelingError){const i=rm(n.url);i||(this.navigated=!0,this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));const r=new Ep(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 Op(e.id,this.serializeUrl(e.extractedUrl),n);t.next(i);try{e.resolve(this.errorHandler(n))}catch(s){e.reject(s)}}var r;return Vh}));var r,s,o}))}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){lm(e),this.config=e.map(dm),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:o}=t,a=n||this.routerState.root,l=o?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 zf(t.root,t.root,t,i,r);const s=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new Wf(!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 Xp(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 Wf(n,t,i)}(n);if(s.toRoot())return zf(t.root,new of([],{}),t,i,r);const o=function(e,t,n){if(e.isAbsolute)return new Kf(t.root,!0,0);if(-1===n.snapshot._lastPathIndex){const e=n.snapshot._urlSegment;return new Kf(e,e===t.root,0)}const i=Uf(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 Kf(i,!1,r-s)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,e.numberOfDoubleDots)}(s,t,e),a=o.processChildren?Gf(o.segmentGroup,o.index,s.commands):$f(o.segmentGroup,o.index,s.commands);return zf(o.segmentGroup,a,t,i,r)}(a,this.currentUrlTree,e,c,l)}navigateByUrl(e,t={skipLocationChange:!1}){const n=rm(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 Lp(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(),o="imperative"!==t&&"imperative"===(null==s?void 0:s.source),a=(this.lastSuccessfulId===s.id||this.currentNavigation?s.rawUrl:s.urlAfterRedirects).toString()===e.toString();if(o&&a)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(cf),gi(Wm),gi(zu),gi(yo),gi(bu),gi(Kc),gi(void 0))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),Xm=(()=>{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:e_(this.skipLocationChange),replaceUrl:e_(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:e_(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(Yo(Jm),Yo(Af),Qn("tabindex"),Yo(il),Yo(el))},e.\u0275dir=We({type:e,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&Qo("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})(),Zm=(()=>{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 Lp&&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:e_(this.skipLocationChange),replaceUrl:e_(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:e_(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(Yo(Jm),Yo(Af),Yo(Hu))},e.\u0275dir=We({type:e,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&Qo("click",function(e){return t.onClick(e.button,e.ctrlKey,e.shiftKey,e.altKey,e.metaKey)}),2&e&&(Ea("href",t.href,lr),Io("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 e_(e){return""===e||!!e}let t_=(()=>{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 cc,this.deactivateEvents=new cc,this.name=i||Bp,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 n_(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)(Yo(Wm),Yo(Hl),Yo(Qa),Qn("name"),Yo(Ml))},e.\u0275dir=We({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),e})();class n_{constructor(e,t,n){this.route=e,this.childContexts=t,this.parent=n}get(e,t){return e===Af?this.route:e===Wm?this.childContexts:this.parent.get(e,t)}}class i_{}class r_{preload(e,t){return Oh(null)}}let s_=(()=>{class e{constructor(e,t,n,i,r){this.router=e,this.injector=i,this.preloadingStrategy=r,this.loader=new zm(t,n,t=>e.triggerEvent(new Rp(t)),t=>e.triggerEvent(new Yp(t)))}setUpPreloading(){this.subscription=this.router.events.pipe(tp(e=>e instanceof Lp),ap(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(Rl);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 R(n).pipe(B(),M(e=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>this.loader.load(e.injector,t).pipe(N(e=>(t._loadedConfig=e,this.processRoutes(e.module,e.routes)))))}}return e.\u0275fac=function(t){return new(t||e)(gi(Jm),gi(bu),gi(Kc),gi(yo),gi(i_))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),o_=(()=>{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 Dp?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Lp&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof Up&&(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 Up(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(Jm),gi(Qd),gi(void 0))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();const a_=new Zn("ROUTER_CONFIGURATION"),l_=new Zn("ROUTER_FORROOT_GUARD"),c_=[zu,{provide:cf,useClass:uf},{provide:Jm,useFactory:function(e,t,n,i,r,s,o,a={},l,c){const u=new Jm(null,e,t,n,i,r,s,Qp(o));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)}(a,u),a.enableTracing){const e=Lu();u.events.subscribe(t=>{e.logGroup(`Router Event: ${t.constructor.name}`),e.log(t.toString()),e.log(t),e.logGroupEnd()})}return u},deps:[cf,Wm,zu,yo,bu,Kc,Bm,a_,[class{},new ki],[class{},new ki]]},Wm,{provide:Af,useFactory:function(e){return e.routerState.root},deps:[Jm]},{provide:bu,useClass:ku},s_,r_,class{preload(e,t){return t().pipe(rp(()=>Oh(null)))}},{provide:a_,useValue:{enableTracing:!1}}];function u_(){return new hu("Router",Jm)}let d_=(()=>{class e{constructor(e,t){}static forRoot(t,n){return{ngModule:e,providers:[c_,m_(t),{provide:l_,useFactory:f_,deps:[[Jm,new ki,new Si]]},{provide:a_,useValue:n||{}},{provide:Hu,useFactory:p_,deps:[Ou,[new wi(Vu),new ki],a_]},{provide:o_,useFactory:h_,deps:[Jm,Qd,a_]},{provide:i_,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:r_},{provide:hu,multi:!0,useFactory:u_},[__,{provide:Ec,multi:!0,useFactory:g_,deps:[__]},{provide:b_,useFactory:y_,deps:[__]},{provide:Rc,multi:!0,useExisting:b_}]]}}static forChild(t){return{ngModule:e,providers:[m_(t)]}}}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)(gi(l_,8),gi(Jm,8))}}),e})();function h_(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new o_(e,t,n)}function p_(e,t,n={}){return n.useHash?new Bu(e,t):new Uu(e,t)}function f_(e){return"guarded"}function m_(e){return[{provide:ei,multi:!0,useValue:e},{provide:Bm,multi:!0,useValue:e}]}let __=(()=>{class e{constructor(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new S}appInitializer(){return this.injector.get(Au,Promise.resolve(null)).then(()=>{let e=null;const t=new Promise(t=>e=t),n=this.injector.get(Jm),i=this.injector.get(a_);return"disabled"===i.initialNavigation?(n.setUpLocationChangeListener(),e(!0)):"enabled"===i.initialNavigation||"enabledBlocking"===i.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?Oh(null):(this.initNavigation=!0,e(!0),this.resultOfPreactivationDone),n.initialNavigation()):e(!0),t})}bootstrapListener(e){const t=this.injector.get(a_),n=this.injector.get(s_),i=this.injector.get(o_),r=this.injector.get(Jm),s=this.injector.get(gu);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(yo))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();function g_(e){return e.appInitializer.bind(e)}function y_(e){return e.bootstrapListener.bind(e)}const b_=new Zn("Router Initializer");var v_=n("mrSG");function w_(e,t){return new y(t?n=>t.schedule(k_,0,{error:e,subscriber:n}):t=>t.error(e))}function k_({error:e,subscriber:t}){t.error(e)}function S_(e){return null!=e&&"false"!=`${e}`}function C_(e,t=0){return x_(e)?Number(e):t}function x_(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function M_(e){return Array.isArray(e)?e:[e]}function D_(e){return null==e?"":"string"==typeof e?e:`${e}px`}function L_(e){return e instanceof el?e.nativeElement:e}function E_(e,t,n,r){return i(n)&&(r=n,n=void 0),r?E_(e,t,n).pipe(M(e=>l(e)?r(...e):r(e))):new y(i=>{O_(e,t,function(e){i.next(arguments.length>1?Array.prototype.slice.call(arguments):e)},i,n)})}function O_(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,o=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 P_ extends I_{constructor(e,t=I_.now){super(e,()=>P_.delegate&&P_.delegate!==this?P_.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,n){return P_.delegate&&P_.delegate!==this?P_.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 j_=1;const R_=(()=>Promise.resolve())(),Y_={};function F_(e){return e in Y_&&(delete Y_[e],!0)}const H_={setImmediate(e){const t=j_++;return Y_[t]=!0,R_.then(()=>F_(t)&&e()),t},clearImmediate(e){F_(e)}};class N_ extends A_{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=H_.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&&(H_.clearImmediate(t),e.scheduled=void 0)}}class V_ extends P_{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 q_(e,t))}class q_{constructor(e,t){this.compare=e,this.keySelector=t}call(e,t){return t.subscribe(new W_(e,this.compare,this.keySelector))}}class W_ 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 K_=new P_(A_);class $_{constructor(e){this.durationSelector=e}call(e,t){return t.subscribe(new G_(e,this.durationSelector))}}class G_ 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=H(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 Q_(e){return!l(e)&&e-parseFloat(e)+1>=0}function J_(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 X_(e,t=K_){return n=()=>function(e=0,t,n){let i=-1;return Q_(t)?i=Number(t)<1?1:Number(t):x(t)&&(n=t),x(n)||(n=K_),new y(t=>{const r=Q_(e)?e:+e-n.now();return n.schedule(J_,r,{index:0,period:i,subscriber:t})})}(e,t),function(e){return e.lift(new $_(n))};var n}function Z_(e){return t=>t.lift(new eg(e))}class eg{constructor(e){this.notifier=e}call(e,t){const n=new tg(e),i=H(this.notifier,new Y(n));return i&&!n.seenValue?(n.add(i),t.subscribe(n)):n}}class tg extends F{constructor(e){super(e),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}class ng extends A_{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 ig extends P_{}const rg=new ig(ng);let sg,og=(()=>{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 Oh(this.value);case"E":return w_(this.error);case"C":return Uh()}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 ag 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(ag.dispatch,this.delay,new lg(e,this.destination)))}_next(e){this.scheduleMessage(og.createNext(e))}_error(e){this.scheduleMessage(og.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(og.createComplete()),this.unsubscribe()}}class lg{constructor(e,t){this.notification=e,this.destination=t}}class cg 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 ug(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 ag(e,i)),t)for(let o=0;ot&&(s=Math.max(s,r-t)),s>0&&i.splice(0,s),i}}class ug{constructor(e,t){this.time=e,this.value=t}}try{sg="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(gV){sg=!1}let dg,hg=(()=>{class e{constructor(e){this._platformId=e,this.isBrowser=this._platformId?$d(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&&!sg)&&"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(jc))},e.\u0275prov=le({factory:function(){return new e(gi(jc))},token:e,providedIn:"root"}),e})(),pg=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)}}),e})();const fg=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function mg(){if(dg)return dg;if("object"!=typeof document||!document)return dg=new Set(fg),dg;let e=document.createElement("input");return dg=new Set(fg.filter(t=>(e.setAttribute("type",t),e.type===t))),dg}let _g,gg,yg;function bg(e){return function(){if(null==_g&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>_g=!0}))}finally{_g=_g||!1}return _g}()?e:!!e.capture}function vg(){if(null==gg){if("object"!=typeof document||!document)return gg=!1,gg;if("scrollBehavior"in document.documentElement.style)gg=!0;else{const e=Element.prototype.scrollTo;gg=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return gg}function wg(e){if(function(){if(null==yg){const e="undefined"!=typeof document?document.head:null;yg=!(!e||!e.createShadowRoot&&!e.attachShadow)}return yg}()){const t=e.getRootNode?e.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}const kg=new Zn("cdk-dir-doc",{providedIn:"root",factory:function(){return yi(Eu)}});let Sg=(()=>{class e{constructor(e){if(this.value="ltr",this.change=new cc,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(kg,8))},e.\u0275prov=le({factory:function(){return new e(gi(kg,8))},token:e,providedIn:"root"}),e})(),Cg=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)}}),e})();function xg(e){return e&&"function"==typeof e.connect}class Mg{applyChanges(e,t,n,i,r){e.forEachOperation((e,i,s)=>{let o,a;if(null==e.previousIndex){const r=n(e,i,s);o=t.createEmbeddedView(r.templateRef,r.context,r.index),a=1}else null==s?(t.remove(i),a=3):(o=t.get(i),t.move(o,s),a=2);r&&r({context:null==o?void 0:o.context,operation:a,record:e})})}detach(){}}class Dg{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 Lg=(()=>{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 Eg=new Zn("_ViewRepeater");let Og=(()=>{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(X_(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Oh()}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(tp(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=L_(t),i=e.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>E_(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(Qc),gi(hg),gi(Eu,8))},e.\u0275prov=le({factory:function(){return new e(gi(Qc),gi(hg),gi(Eu,8))},token:e,providedIn:"root"}),e})(),Tg=(()=>{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(X_(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(hg),gi(Qc),gi(Eu,8))},e.\u0275prov=le({factory:function(){return new e(gi(hg),gi(Qc),gi(Eu,8))},token:e,providedIn:"root"}),e})(),Ag=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)}}),e})(),Ig=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Cg,pg,Ag],Cg,Ag]}),e})();class Pg{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 jg extends Pg{constructor(e,t,n,i){super(),this.component=e,this.viewContainerRef=t,this.injector=n,this.componentFactoryResolver=i}}class Rg extends Pg{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 Yg extends Pg{constructor(e){super(),this.element=e instanceof el?e.nativeElement:e}}class Fg{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){return e instanceof jg?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof Rg?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof Yg?(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 Hg extends Fg{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 Ng=(()=>{class e extends Fg{constructor(e,t,n){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new cc,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)(Yo(Qa),Yo(Hl),Yo(Eu))},e.\u0275dir=We({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[vo]}),e})(),Vg=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)}}),e})();class Ug{constructor(e,t){this.predicate=e,this.inclusive=t}call(e,t){return t.subscribe(new Bg(e,this.predicate,this.inclusive))}}class Bg 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 zg=13,qg=27,Wg=32,Kg=33,$g=34,Gg=35,Qg=36,Jg=37,Xg=38,Zg=39,ey=40;function ty(e,...t){return t.length?t.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}const ny=vg();class iy{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=D_(-this._previousScrollPosition.left),e.style.top=D_(-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"),ny&&(t.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),ny&&(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 ry{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 sy{enable(){}disable(){}attach(){}}function oy(e,t){return t.some(t=>e.bottomt.bottom||e.rightt.right)}function ay(e,t){return t.some(t=>e.topt.bottom||e.leftt.right)}class ly{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();oy(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 cy=(()=>{class e{constructor(e,t,n,i){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this.noop=()=>new sy,this.close=e=>new ry(this._scrollDispatcher,this._ngZone,this._viewportRuler,e),this.block=()=>new iy(this._viewportRuler,this._document),this.reposition=e=>new ly(this._scrollDispatcher,this._viewportRuler,this._ngZone,e),this._document=i}}return e.\u0275fac=function(t){return new(t||e)(gi(Og),gi(Tg),gi(Qc),gi(Eu))},e.\u0275prov=le({factory:function(){return new e(gi(Og),gi(Tg),gi(Qc),gi(Eu))},token:e,providedIn:"root"}),e})();class uy{constructor(e){if(this.scrollStrategy=new sy,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 dy{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 hy{constructor(e,t){this.connectionPair=e,this.scrollableViewProperties=t}}let py=(()=>{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(Eu))},e.\u0275prov=le({factory:function(){return new e(gi(Eu))},token:e,providedIn:"root"}),e})(),fy=(()=>{class e extends py{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(Eu))},e.\u0275prov=le({factory:function(){return new e(gi(Eu))},token:e,providedIn:"root"}),e})(),my=(()=>{class e extends py{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(Eu),gi(hg))},e.\u0275prov=le({factory:function(){return new e(gi(Eu),gi(hg))},token:e,providedIn:"root"}),e})();const _y=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine);let gy=(()=>{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||_y){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($h(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=D_(this._config.width),e.height=D_(this._config.height),e.minWidth=D_(this._config.minWidth),e.minHeight=D_(this._config.minHeight),e.maxWidth=D_(this._config.maxWidth),e.maxHeight=D_(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;M_(t).forEach(e=>{e&&(n?i.add(e):i.remove(e))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const e=this._ngZone.onStable.pipe(Z_(q(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 by="cdk-overlay-connected-position-bounding-box",vy=/([A-Za-z%]+)$/;class wy{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(by),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 o=this._getOriginPoint(e,s),a=this._getOverlayPoint(o,t,s),l=this._getOverlayFit(a,t,n,s);if(l.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,o);this._canFitWithFlexibleDimensions(l,a,n)?i.push({position:s,origin:o,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(o,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&&ky(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(by),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=Cy(t);let{x:s,y:o}=e,a=this._getOffset(i,"x"),l=this._getOffset(i,"y");a&&(s+=a),l&&(o+=l);let c=0-o,u=o+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=Sy(this._overlayRef.getConfig().minHeight),o=Sy(this._overlayRef.getConfig().minWidth),a=e.fitsInViewportHorizontally||null!=o&&o<=r;return(e.fitsInViewportVertically||null!=s&&s<=i)&&a}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=Cy(t),r=this._viewportRect,s=Math.max(e.x+i.width-r.width,0),o=Math.max(e.y+i.height-r.height,0),a=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,a=e.x-this._viewportMargin;else if("start"===t.overlayX&&!i||"end"===t.overlayX&&i)l=e.x,a=n.right-e.x;else{const t=Math.min(n.right-e.x+n.left,e.x),i=this._lastBoundingBoxSize.width;a=2*t,l=e.x-t,a>i&&!this._isInitialRender&&!this._growAfterOpen&&(l=e.x-i/2)}return{top:s,left:l,bottom:o,right:c,width:a,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=D_(n.height),i.top=D_(n.top),i.bottom=D_(n.bottom),i.width=D_(n.width),i.left=D_(n.left),i.right=D_(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=D_(e)),r&&(i.maxWidth=D_(r))}this._lastBoundingBoxSize=n,ky(this._boundingBox.style,i)}_resetBoundingBoxStyles(){ky(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ky(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();ky(n,this._getExactOverlayY(t,e,i)),ky(n,this._getExactOverlayX(t,e,i))}else n.position="static";let o="",a=this._getOffset(t,"x"),l=this._getOffset(t,"y");a&&(o+=`translateX(${a}px) `),l&&(o+=`translateY(${l}px)`),n.transform=o.trim(),s.maxHeight&&(i?n.maxHeight=D_(s.maxHeight):r&&(n.maxHeight="")),s.maxWidth&&(i?n.maxWidth=D_(s.maxWidth):r&&(n.maxWidth="")),ky(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=D_(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=D_(s.x),r}_getScrollVisibility(){const e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),n=this._scrollables.map(e=>e.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ay(e,n),isOriginOutsideView:oy(e,n),isOverlayClipped:ay(t,n),isOverlayOutsideView:oy(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&&M_(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 el)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 ky(e,t){for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function Sy(e){if("number"!=typeof e&&null!=e){const[t,n]=e.split(vy);return n&&"px"!==n?null:parseFloat(t)}return e||null}function Cy(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 xy{constructor(e,t,n,i,r,s,o){this._preferredPositions=[],this._positionStrategy=new wy(n,i,r,s,o).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 dy(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 My="cdk-global-overlay-wrapper";class Dy{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(My),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:o}=n,a=!("100%"!==i&&"100vw"!==i||s&&"100%"!==s&&"100vw"!==s),l=!("100%"!==r&&"100vh"!==r||o&&"100%"!==o&&"100vh"!==o);e.position=this._cssPosition,e.marginLeft=a?"0":this._leftOffset,e.marginTop=l?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,a?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(My),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}let Ly=(()=>{class e{constructor(e,t,n,i){this._viewportRuler=e,this._document=t,this._platform=n,this._overlayContainer=i}global(){return new Dy}connectedTo(e,t,n){return new xy(t,n,e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(e){return new wy(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return e.\u0275fac=function(t){return new(t||e)(gi(Tg),gi(Eu),gi(hg),gi(gy))},e.\u0275prov=le({factory:function(){return new e(gi(Tg),gi(Eu),gi(hg),gi(gy))},token:e,providedIn:"root"}),e})(),Ey=0,Oy=(()=>{class e{constructor(e,t,n,i,r,s,o,a,l,c,u){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=n,this._positionBuilder=i,this._keyboardDispatcher=r,this._injector=s,this._ngZone=o,this._document=a,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 uy(e);return r.direction=r.direction||this._directionality.value,new yy(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-"+Ey++,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(gu)),new Hg(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return e.\u0275fac=function(t){return new(t||e)(gi(cy),gi(gy),gi(Qa),gi(Ly),gi(fy),gi(yo),gi(Qc),gi(Eu),gi(Sg),gi(zu),gi(my))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();const Ty=[{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"}],Ay=new Zn("cdk-connected-overlay-scroll-strategy");let Iy=(()=>{class e{constructor(e){this.elementRef=e}}return e.\u0275fac=function(t){return new(t||e)(Yo(el))},e.\u0275dir=We({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),e})(),Py=(()=>{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 cc,this.positionChange=new cc,this.attach=new cc,this.detach=new cc,this.overlayKeydown=new cc,this.overlayOutsideClick=new cc,this._templatePortal=new Rg(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=Ty);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!==qg||this.disableClose||ty(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 uy({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 Ug(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)(Yo(Oy),Yo(Al),Yo(Hl),Yo(Ay),Yo(Sg,8))},e.\u0275dir=We({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 jy={provide:Ay,deps:[Oy],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};let Ry=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[Oy,jy],imports:[[Cg,Vg,Ig],Ig]}),e})();function Yy(e,t=K_){return n=>n.lift(new Fy(e,t))}class Fy{constructor(e,t){this.dueTime=e,this.scheduler=t}call(e,t){return t.subscribe(new Hy(e,this.dueTime,this.scheduler))}}class Hy 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(Ny,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 Ny(e){e.debouncedNext()}let Vy=(()=>{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})(),Uy=(()=>{class e{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){const t=L_(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(Vy))},e.\u0275prov=le({factory:function(){return new e(gi(Vy))},token:e,providedIn:"root"}),e})(),By=(()=>{class e{constructor(e,t,n){this._contentObserver=e,this._elementRef=t,this._ngZone=n,this.event=new cc,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=C_(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(Yy(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)(Yo(Uy),Yo(el),Yo(Qc))},e.\u0275dir=We({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),e})(),zy=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[Vy]}),e})();function qy(e,t){return(e.getAttribute(t)||"").match(/\S+/g)||[]}const Wy="cdk-describedby-message-container",Ky="cdk-describedby-host";let $y=0;const Gy=new Map;let Qy=null,Jy=(()=>{class e{constructor(e){this._document=e}describe(e,t,n){if(!this._canBeDescribed(e,t))return;const i=Xy(t,n);"string"!=typeof t?(Zy(t),Gy.set(i,{messageElement:t,referenceCount:0})):Gy.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=Xy(t,n);if(this._isElementDescribedByMessage(e,i)&&this._removeMessageReference(e,i),"string"==typeof t){const e=Gy.get(i);e&&0===e.referenceCount&&this._deleteMessageElement(i)}Qy&&0===Qy.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=Gy.get(t);!function(e,t,n){const i=qy(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(Ky,""),n.referenceCount++}_removeMessageReference(e,t){const n=Gy.get(t);n.referenceCount--,function(e,t,n){const i=qy(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(Ky)}_isElementDescribedByMessage(e,t){const n=qy(e,"aria-describedby"),i=Gy.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(Eu))},e.\u0275prov=le({factory:function(){return new e(gi(Eu))},token:e,providedIn:"root"}),e})();function Xy(e,t){return"string"==typeof e?`${t||""}/${e}`:e}function Zy(e){e.id||(e.id="cdk-describedby-message-"+$y++)}class eb{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 dc&&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(vp(e=>this._pressedLetters.push(e)),Yy(e),tp(()=>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 ey:if(this._vertical&&n){this.setNextItemActive();break}return;case Xg:if(this._vertical&&n){this.setPreviousItemActive();break}return;case Zg:if(this._horizontal&&n){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case Jg:if(this._horizontal&&n){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case Qg:if(this._homeAndEnd&&n){this.setFirstItemActive();break}return;case Gg:if(this._homeAndEnd&&n){this.setLastItemActive();break}return;default:return void((n||ty(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 dc?this._items.toArray():this._items}}class tb extends eb{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}}class nb extends eb{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 ib=(()=>{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(gV){return null}}((n=e).ownerDocument&&n.ownerDocument.defaultView||window);var n;if(t){if(-1===sb(t))return!1;if(!this.isVisible(t))return!1}let i=e.nodeName.toLowerCase(),r=sb(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")||rb(e))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}return e.\u0275fac=function(t){return new(t||e)(gi(hg))},e.\u0275prov=le({factory:function(){return new e(gi(hg))},token:e,providedIn:"root"}),e})();function rb(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 sb(e){if(!rb(e))return null;const t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}class ob{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($h(1)).subscribe(e)}}let ab=(()=>{class e{constructor(e,t,n){this._checker=e,this._ngZone=t,this._document=n}create(e,t=!1){return new ob(e,this._checker,this._ngZone,this._document,t)}}return e.\u0275fac=function(t){return new(t||e)(gi(ib),gi(Qc),gi(Eu))},e.\u0275prov=le({factory:function(){return new e(gi(ib),gi(Qc),gi(Eu))},token:e,providedIn:"root"}),e})(),lb=(()=>{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)(Yo(el),Yo(ab),Yo(Eu))},e.\u0275dir=We({type:e,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[ut]}),e})();"undefined"!=typeof Element&∈const cb=new Zn("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),ub=new Zn("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let db=(()=>{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)(Yo(el),Yo(db),Yo(Uy),Yo(Qc))},e.\u0275dir=We({type:e,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),e})();function pb(e){return 0===e.buttons}const fb=new Zn("cdk-focus-monitor-default-options"),mb=bg({passive:!0,capture:!0});let _b=(()=>{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=pb(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=gb(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=gb(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=L_(e);if(!this._platform.isBrowser||1!==n.nodeType)return Oh(null);const i=wg(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=L_(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=L_(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=gb(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===gb(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,mb),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,mb)}),this._rootNodeFocusListenerCount.set(t,n+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(()=>{const e=this._getDocument(),t=this._getWindow();e.addEventListener("keydown",this._documentKeydownListener,mb),e.addEventListener("mousedown",this._documentMousedownListener,mb),e.addEventListener("touchstart",this._documentTouchstartListener,mb),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,mb),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,mb),this._rootNodeFocusListenerCount.delete(t))}if(!--this._monitoredElementCount){const e=this._getDocument(),t=this._getWindow();e.removeEventListener("keydown",this._documentKeydownListener,mb),e.removeEventListener("mousedown",this._documentMousedownListener,mb),e.removeEventListener("touchstart",this._documentTouchstartListener,mb),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(Qc),gi(hg),gi(Eu,8),gi(fb,8))},e.\u0275prov=le({factory:function(){return new e(gi(Qc),gi(hg),gi(Eu,8),gi(fb,8))},token:e,providedIn:"root"}),e})();function gb(e){return e.composedPath?e.composedPath()[0]:e.target}let yb=(()=>{class e{constructor(e,t){this._elementRef=e,this._focusMonitor=t,this.cdkFocusChange=new cc}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)(Yo(el),Yo(_b))},e.\u0275dir=We({type:e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),e})();const bb="cdk-high-contrast-black-on-white",vb="cdk-high-contrast-white-on-black",wb="cdk-high-contrast-active";let kb=(()=>{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(wb),e.remove(bb),e.remove(vb);const t=this.getHighContrastMode();1===t?(e.add(wb),e.add(bb)):2===t&&(e.add(wb),e.add(vb))}}}return e.\u0275fac=function(t){return new(t||e)(gi(hg),gi(Eu))},e.\u0275prov=le({factory:function(){return new e(gi(hg),gi(Eu))},token:e,providedIn:"root"}),e})(),Sb=(()=>{class e{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)(gi(kb))},imports:[[pg,zy]]}),e})();const Cb=new ol("11.2.4");class xb{}const Mb="*";function Db(e,t){return{type:7,name:e,definitions:t,options:{}}}function Lb(e,t=null){return{type:4,styles:t,timings:e}}function Eb(e,t=null){return{type:2,steps:e,options:t}}function Ob(e){return{type:6,styles:e,offset:null}}function Tb(e,t,n){return{type:0,name:e,styles:t,options:n}}function Ab(e){return{type:5,steps:e}}function Ib(e,t,n=null){return{type:1,expr:e,animation:t,options:n}}function Pb(e=null){return{type:9,options:e}}function jb(e,t,n=null){return{type:11,selector:e,animation:t,options:n}}function Rb(e){Promise.resolve(null).then(e)}class Yb{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(){Rb(()=>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 Fb{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?Rb(()=>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 Hb(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Nb(e){switch(e.length){case 0:return new Yb;case 1:return e[0];default:return new Fb(e)}}function Vb(e,t,n,i,r={},s={}){const o=[],a=[];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,a=e[n];if("offset"!==n)switch(i=t.normalizePropertyName(i,o),a){case"!":a=r[n];break;case Mb:a=s[n];break;default:a=t.normalizeStyleValue(n,i,a,o)}u[i]=a}),i||a.push(u),c=u,l=n}),o.length){const e="\n - ";throw new Error(`Unable to animate due to the following errors:${e}${o.join(e)}`)}return a}function Ub(e,t,n,i){switch(t){case"start":e.onStart(()=>i(n&&Bb(n,"start",e)));break;case"done":e.onDone(()=>i(n&&Bb(n,"done",e)));break;case"destroy":e.onDestroy(()=>i(n&&Bb(n,"destroy",e)))}}function Bb(e,t,n){const i=n.totalTime,r=zb(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 zb(e,t,n,i,r="",s=0,o){return{element:e,triggerName:t,fromState:n,toState:i,phaseName:r,totalTime:s,disabled:!!o}}function qb(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 Wb(e){const t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}let Kb=(e,t)=>!1,$b=(e,t)=>!1,Gb=(e,t,n)=>[];const Qb=Hb();(Qb||"undefined"!=typeof Element)&&(Kb=(e,t)=>e.contains(t),$b=(()=>{if(Qb||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]):$b}})(),Gb=(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 rv=(()=>{class e{validateStyleProperty(e){return Zb(e)}matchesElement(e,t){return ev(e,t)}containsElement(e,t){return tv(e,t)}query(e,t,n){return nv(e,t,n)}computeStyle(e,t,n){return n||""}animate(e,t,n,i,r,s=[],o){return new Yb(n,i)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),sv=(()=>{class e{}return e.NOOP=new rv,e})();const ov="ng-enter",av="ng-leave",lv="ng-trigger",cv=".ng-trigger",uv="ng-animating",dv=".ng-animating";function hv(e){if("number"==typeof e)return e;const t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:pv(parseFloat(t[1]),t[2])}function pv(e,t){switch(t){case"s":return 1e3*e;default:return e}}function fv(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=pv(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(r=pv(parseFloat(o),n[4]));const a=n[5];a&&(s=a)}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 mv(e,t={}){return Object.keys(e).forEach(n=>{t[n]=e[n]}),t}function _v(e,t,n={}){if(t)for(let i in e)n[i]=e[i];else mv(e,n);return n}function gv(e,t,n){return n?t+":"+n+";":""}function yv(e){let t="";for(let n=0;n{const r=Dv(i);n&&!n.hasOwnProperty(i)&&(n[i]=e.style[r]),e.style[r]=t[i]}),Hb()&&yv(e))}function vv(e,t){e.style&&(Object.keys(t).forEach(t=>{const n=Dv(t);e.style[n]=""}),Hb()&&yv(e))}function wv(e){return Array.isArray(e)?1==e.length?e[0]:Eb(e):e}const kv=new RegExp("{{\\s*(.+?)\\s*}}","g");function Sv(e){let t=[];if("string"==typeof e){let n;for(;n=kv.exec(e);)t.push(n[1]);kv.lastIndex=0}return t}function Cv(e,t,n){const i=e.toString(),r=i.replace(kv,(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 xv(e){const t=[];let n=e.next();for(;!n.done;)t.push(n.value),n=e.next();return t}const Mv=/-+([a-z0-9])/g;function Dv(e){return e.replace(Mv,(...e)=>e[1].toUpperCase())}function Lv(e,t){return 0===e||0===t}function Ev(e,t,n){const i=Object.keys(n);if(i.length&&t.length){let s=t[0],o=[];if(i.forEach(e=>{s.hasOwnProperty(e)||o.push(e),s[e]=n[e]}),o.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],o=i[3];t.push(Rv(r,o)),"<"!=s[0]||r==Av&&o==Av||t.push(Rv(o,r))}(e,n,t)):n.push(e),n}const Pv=new Set(["true","1"]),jv=new Set(["false","0"]);function Rv(e,t){const n=Pv.has(e)||jv.has(e),i=Pv.has(t)||jv.has(t);return(r,s)=>{let o=e==Av||e==r,a=t==Av||t==s;return!o&&n&&"boolean"==typeof r&&(o=r?Pv.has(e):jv.has(e)),!a&&i&&"boolean"==typeof s&&(a=s?Pv.has(t):jv.has(t)),o&&a}}const Yv=new RegExp("s*:selfs*,?","g");function Fv(e,t,n){return new Hv(e).build(t,n)}class Hv{constructor(e){this._driver=e}build(e,t){const n=new Nv(t);return this._resetContextStyleTimingState(n),Ov(this,wv(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(Vv(e)){const t=e;Object.keys(t).forEach(e=>{Sv(t[e]).forEach(e=>{s.hasOwnProperty(e)||r.add(e)})})}}),r.size){const n=xv(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=Ov(this,wv(e.animation),t);return{type:1,matchers:Iv(e.expr,t.errors),animation:n,queryCount:t.queryCount,depCount:t.depCount,options:Uv(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(e=>Ov(this,e,t)),options:Uv(e.options)}}visitGroup(e,t){const n=t.currentTime;let i=0;const r=e.steps.map(e=>{t.currentTime=n;const r=Ov(this,e,t);return i=Math.max(i,t.currentTime),r});return t.currentTime=i,{type:3,steps:r,options:Uv(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 Bv(fv(e,t).duration,0,"");const i=e;if(i.split(/\s+/).some(e=>"{"==e.charAt(0)&&"{"==e.charAt(1))){const e=Bv(0,0,"");return e.dynamic=!0,e.strValue=i,e}return n=n||fv(i,t),Bv(n.duration,n.delay,n.easing)}(e.timings,t.errors);let i;t.currentAnimateTimings=n;let r=e.styles?e.styles:Ob({});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=Ob(e)}t.currentTime+=n.duration+n.delay;const o=this.visitStyle(r,t);o.isEmptyStep=s,i=o}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==Mb?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(Vv(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],o=s[n];let a=!0;o&&(r!=i&&r>=o.startTime&&i<=o.endTime&&(t.errors.push(`The CSS property "${n}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${r}ms" and "${i}ms"`),a=!1),r=o.startTime),a&&(s[n]={startTime:r,endTime:i}),t.options&&function(e,t,n){const i=t.params||{},r=Sv(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,o=!1,a=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(Vv(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}});else if(Vv(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),o=o||c<0||c>1,s=s||c0&&i{const s=u>0?i==d?1:u*i:r[i],o=s*f;t.currentTime=h+p.delay+o,p.duration=o,this._validateStyleAst(e,t),e.offset=s,n.styles.push(e)}),n}visitReference(e,t){return{type:8,animation:Ov(this,wv(e.animation),t),options:Uv(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:Uv(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:Uv(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(Yv,"")),[e=e.replace(/@\*/g,cv).replace(/@\w+/g,e=>".ng-trigger-"+e.substr(1)).replace(/:animating/g,dv),t]}(e.selector);t.currentQuerySelector=n.length?n+" "+r:r,qb(t.collectedStyles,t.currentQuerySelector,{});const o=Ov(this,wv(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:o,originalSelector:e.selector,options:Uv(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"}:fv(e.timings,t.errors,!0);return{type:12,animation:Ov(this,wv(e.animation),t),timings:n,options:null}}}class Nv{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 Vv(e){return!Array.isArray(e)&&"object"==typeof e}function Uv(e){var t;return e?(e=mv(e)).params&&(e.params=(t=e.params)?mv(t):null):e={},e}function Bv(e,t,n){return{duration:e,delay:t,easing:n}}function zv(e,t,n,i,r,s,o=null,a=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:i,duration:r,delay:s,totalTime:r+s,easing:o,subTimeline:a}}class qv{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 Wv=new RegExp(":enter","g"),Kv=new RegExp(":leave","g");function $v(e,t,n,i,r,s={},o={},a,l,c=[]){return(new Gv).buildKeyframes(e,t,n,i,r,s,o,a,l,c)}class Gv{buildKeyframes(e,t,n,i,r,s,o,a,l,c=[]){l=l||new qv;const u=new Jv(e,t,l,i,r,c,[]);u.options=a,u.currentTimeline.setStyles([s],null,u.errors,a),Ov(this,n,u);const d=u.timelines.filter(e=>e.containsAnimation());if(d.length&&Object.keys(o).length){const e=d[d.length-1];e.allowOnlyTimelineStyles()||e.setStyles([o],null,u.errors,a)}return d.length?d.map(e=>e.buildKeyframes()):[zv(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?hv(n.duration):null,s=null!=n.delay?hv(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),Ov(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=Qv);const e=hv(r.delay);i.delayNextStep(e)}e.steps.length&&(e.steps.forEach(e=>Ov(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?hv(e.options.delay):0;e.steps.forEach(s=>{const o=t.createSubContext(e.options);r&&o.delayNextStep(r),Ov(this,s,o),i=Math.max(i,o.currentTimeline.currentTime),n.push(o.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 fv(t.params?Cv(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?hv(i.delay):0;r&&(6===t.previousNode.type||0==n&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Qv);let s=n;const o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=o.length;let a=null;o.forEach((n,i)=>{t.currentQueryIndex=i;const o=t.createSubContext(e.options,n);r&&o.delayNextStep(r),n===t.element&&(a=o.currentTimeline),Ov(this,e.animation,o),o.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,o.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),a&&(t.currentTimeline.mergeTimelineCollectedStyles(a),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const n=t.parentContext,i=t.currentTimeline,r=e.timings,s=Math.abs(r.duration),o=s*(t.currentQueryTotal-1);let a=s*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":a=o-a;break;case"full":a=n.currentStaggerTime}const l=t.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;Ov(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=i.currentTime-c+(i.startTime-n.currentTimeline.startTime)}}const Qv={};class Jv{constructor(e,t,n,i,r,s,o,a){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=r,this.errors=s,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Qv,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new Xv(this._driver,t,0),o.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=hv(n.duration)),null!=n.delay&&(i.delay=hv(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]=Cv(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 Jv(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=Qv,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 Zv(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 o=[];if(i&&o.push(this.element),e.length>0){e=(e=e.replace(Wv,"."+this._enterClassName)).replace(Kv,"."+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)),o.push(...t)}return r||0!=o.length||s.push(`\`query("${t}")\` returned zero elements. (Use \`query("${t}", { optional: true })\` if you wish to allow this.)`),o}}class Xv{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 Xv(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]||Mb,this._currentKeyframe[e]=Mb}),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]=Mb})):_v(e,!1,n)}),n}(e,this._globalTimelineStyles);Object.keys(s).forEach(e=>{const t=Cv(s[e],r,n);this._pendingStyles[e]=t,this._localTimelineStyles.hasOwnProperty(e)||(this._backFill[e]=this._globalTimelineStyles.hasOwnProperty(e)?this._globalTimelineStyles[e]:Mb),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 o=_v(r,!0);Object.keys(o).forEach(n=>{const i=o[n];"!"==i?e.add(n):i==Mb&&t.add(n)}),n||(o.offset=s/this.duration),i.push(o)});const r=e.size?xv(e.values()):[],s=t.size?xv(t.values()):[];if(n){const e=i[0],t=mv(e);e.offset=0,t.offset=1,i=[e,t]}return zv(this.element,i,r,s,this.duration,this.startTime,this.easing,!1)}}class Zv extends Xv{constructor(e,t,n,i,r,s,o=!1){super(e,t,s.delay),this.element=t,this.keyframes=n,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=o,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,o=t/s,a=_v(e[0],!1);a.offset=0,r.push(a);const l=_v(e[0],!1);l.offset=ew(o),r.push(l);const c=e.length-1;for(let i=1;i<=c;i++){let o=_v(e[i],!1);o.offset=ew((t+o.offset*n)/s),r.push(o)}n=s,t=0,i="",e=r}return zv(this.element,e,this.preStyleProps,this.postStyleProps,n,t,i,!0)}}function ew(e,t=3){const n=Math.pow(10,t-1);return Math.round(e*n)/n}class tw{}class nw extends tw{normalizePropertyName(e,t){return Dv(e)}normalizeStyleValue(e,t,n,i){let r="";const s=n.toString().trim();if(iw[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 iw=(()=>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 rw(e,t,n,i,r,s,o,a,l,c,u,d,h){return{type:0,element:e,triggerName:t,isRemovalTransition:r,fromState:n,fromStyles:s,toState:i,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:h}}const sw={};class ow{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,o,a,l,c){const u=[],d=this.ast.options&&this.ast.options.params||sw,h=this.buildStyles(n,o&&o.params||sw,u),p=a&&a.params||sw,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?[]:$v(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 rw(t,this._triggerName,n,i,y,h,f,[],[],_,g,w,u);v.forEach(e=>{const n=e.element,i=qb(_,n,{});e.preStyleProps.forEach(e=>i[e]=!0);const r=qb(g,n,{});e.postStyleProps.forEach(e=>r[e]=!0),n!==t&&m.add(n)});const k=xv(m.values());return rw(t,this._triggerName,n,i,y,h,f,v,k,_,g,w)}}class aw{constructor(e,t){this.styles=e,this.defaultParams=t}buildStyles(e,t){const n={},i=mv(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=Cv(s,i,t)),n[e]=s})}}),n}}class lw{constructor(e,t){this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach(e=>{this.states[e.name]=new aw(e.style,e.options&&e.options.params||{})}),cw(this.states,"true","1"),cw(this.states,"false","0"),t.transitions.forEach(t=>{this.transitionFactories.push(new ow(e,t,this.states))}),this.fallbackTransition=new ow(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 cw(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}const uw=new qv;class dw{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=Fv(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=Vb(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 o=new Map;if(r?(s=$v(this._driver,t,r,ov,av,{},{},n,uw,i),s.forEach(e=>{const t=qb(o,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")}`);o.forEach((e,t)=>{Object.keys(e).forEach(n=>{e[n]=this._driver.computeStyle(t,n,Mb)})});const a=Nb(s.map(e=>{const t=o.get(e.element);return this._buildPlayer(e,{},t)}));return this._playersById[e]=a,a.onDestroy(()=>this.destroy(e)),this.players.push(a),a}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=zb(t,"","","");return Ub(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 hw="ng-animate-queued",pw="ng-animate-disabled",fw=".ng-animate-disabled",mw=[],_w={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},gw={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class yw{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=mv(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 bw="void",vw=new yw(bw);class ww{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,Lw(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=qb(this._elementListeners,e,[]),o={name:t,phase:n,callback:i};s.push(o);const a=qb(this._engine.statesByElement,e,{});return a.hasOwnProperty(t)||(Lw(e,lv),Lw(e,"ng-trigger-"+t),a[t]=vw),()=>{this._engine.afterFlush(()=>{const e=s.indexOf(o);e>=0&&s.splice(e,1),this._triggers[t]||delete a[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 Sw(this.id,t,e);let o=this._engine.statesByElement.get(e);o||(Lw(e,lv),Lw(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,o={}));let a=o[t];const l=new yw(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),o[t]=l,a||(a=vw),l.value!==bw&&a.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{vv(e,n),bv(e,i)})}return}const c=qb(this._engine.playersByElement,e,[]);c.forEach(e=>{e.namespaceId==this.id&&e.triggerName==t&&e.queued&&e.destroy()});let u=r.matchTransition(a.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:a,toState:l,player:s,isFallbackTransition:d}),d||(Lw(e,hw),s.onStart(()=>{Ew(e,hw)})),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,cv,!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,bw,i);n&&s.push(n)}}),s.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&Nb(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]||vw,o=new yw(bw),a=new Sw(this.id,i,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:i,transition:r,fromState:s,toState:o,player:a,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!==_w||(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,t))}}insertNode(e,t){Lw(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=zb(r,n.triggerName,n.fromState.value,n.toState.value);i._data=e,Ub(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 kw{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 ww(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),Lw(e,pw)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Ew(e,pw))}removeNode(e,t,n,i){if(Cw(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 Cw(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,cv,!0);t.forEach(e=>this.destroyActiveAnimationsForElement(e)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,dv,!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 Nb(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e.__ng_removed;if(t&&t.setForRemoval){if(e.__ng_removed=_w,t.namespaceId){this.destroyInnerAnimations(e);const n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}this.driver.matchesElement(e,fw)&&this.markElementAsDisabled(e,!1),this.driver.query(e,fw,!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?Nb(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 qv,i=[],r=new Map,s=[],o=new Map,a=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=ov+f++;p.set(t,n),e.forEach(e=>Lw(e,n))});const m=[],_=new Set,g=new Set;for(let O=0;O_.add(e)):g.add(e))}const y=new Map,b=Dw(d,Array.from(_));b.forEach((e,t)=>{const n=av+f++;y.set(t,n),e.forEach(e=>Lw(e,n))}),e.push(()=>{h.forEach((e,t)=>{const n=p.get(t);e.forEach(e=>Ew(e,n))}),b.forEach((e,t)=>{const n=y.get(t);e.forEach(e=>Ew(e,n))}),m.forEach(e=>{this.processLeaveNode(e)})});const v=[],w=[];for(let O=this._namespaceList.length-1;O>=0;O--)this._namespaceList[O].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(()=>vv(r,f.fromStyles)),t.onDestroy(()=>bv(r,f.toStyles)),void i.push(t);if(e.isFallbackTransition)return t.onStart(()=>vv(r,f.fromStyles)),t.onDestroy(()=>bv(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=>qb(o,e,[]).push(t)),f.preStyleProps.forEach((e,t)=>{const n=Object.keys(e);if(n.length){let e=a.get(t);e||a.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=>{qb(k,t,[]).push(e),e.destroy()})});const C=m.filter(e=>Aw(e,a,l)),x=new Map;Mw(x,this.driver,g,l,Mb).forEach(e=>{Aw(e,a,l)&&C.push(e)});const M=new Map;h.forEach((e,t)=>{Mw(M,this.driver,new Set(e),a,"!")}),C.forEach(e=>{const t=x.get(e),n=M.get(e);x.set(e,Object.assign(Object.assign({},t),n))});const D=[],L=[],E={};s.forEach(e=>{const{element:t,player:s,instruction:o}=e;if(n.has(t)){if(c.has(t))return s.onDestroy(()=>bv(t,o.toStyles)),s.disabled=!0,s.overrideTotalTime(o.totalTime),void i.push(s);let e=E;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,o,k,r,M,x);if(s.setRealPlayer(n),e===E)D.push(s);else{const t=this.playersByElement.get(e);t&&t.length&&(s.parentPlayer=Nb(t)),i.push(s)}}else vv(t,o.fromStyles),s.onDestroy(()=>bv(t,o.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=Nb(t);e.setRealPlayer(n)}}),i.forEach(e=>{e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(let O=0;O!e.destroyed);i.length?Ow(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==bw;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 o of t.timelines){const e=o.element,a=e!==i,l=qb(n,e,[]);this._getPreviousPlayers(e,a,r,s,t.toState).forEach(e=>{const t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),l.push(e)})}vv(i,t.fromStyles)}_buildAnimation(e,t,n,i,r,s){const o=t.triggerName,a=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 Yb(t.duration,t.delay);const p=d!==a,f=function(e){const t=[];return Tw(e,t),t}((n.get(d)||mw).map(e=>e.getRealPlayer())).filter(e=>!!e.element&&e.element===d),m=r.get(d),_=s.get(d),g=Vb(0,this._normalizer,0,t.keyframes,m,_),y=this._buildPlayer(t,g,f);if(t.subTimeline&&i&&u.add(d),p){const t=new Sw(e,o,d);t.setRealPlayer(y),l.push(t)}return y});l.forEach(e=>{qb(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=>Lw(e,uv));const h=Nb(d);return h.onDestroy(()=>{c.forEach(e=>Ew(e,uv)),bv(a,t.toStyles)}),u.forEach(e=>{qb(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 Yb(e.duration,e.delay)}}class Sw{constructor(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new Yb,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=>Ub(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){qb(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 Cw(e){return e&&1===e.nodeType}function xw(e,t){const n=e.style.display;return e.style.display=null!=t?t:"none",n}function Mw(e,t,n,i,r){const s=[];n.forEach(e=>s.push(xw(e)));const o=[];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=gw,o.push(i))}),e.set(i,s)});let a=0;return n.forEach(e=>xw(e,s[a++])),o}function Dw(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 o=e.parentNode;return t=n.has(o)?o:i.has(o)?1:s(o),r.set(e,t),t}return t.forEach(e=>{const t=s(e);1!==t&&n.get(t).push(e)}),n}function Lw(e,t){if(e.classList)e.classList.add(t);else{let n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function Ew(e,t){if(e.classList)e.classList.remove(t);else{let n=e.$$classes;n&&delete n[t]}}function Ow(e,t,n){Nb(n).onDone(()=>e.processLeaveNode(t))}function Tw(e,t){for(let n=0;nr.add(e)):t.set(e,i),n.delete(e),!0}class Iw{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=(e,t)=>{},this._transitionEngine=new kw(e,t,n),this._timelineEngine=new dw(e,t,n),this._transitionEngine.onRemovalComplete=(e,t)=>this.onRemovalComplete(e,t)}registerTrigger(e,t,n,i,r){const s=e+"-"+i;let o=this._triggerCache[s];if(!o){const e=[],t=Fv(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 - ")}`);o=function(e,t){return new lw(e,t)}(i,t),this._triggerCache[s]=o}this._transitionEngine.registerTrigger(t,i,o)}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]=Wb(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]=Wb(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 Pw(e,t){let n=null,i=null;return Array.isArray(t)&&t.length?(n=Rw(t[0]),t.length>1&&(i=Rw(t[t.length-1]))):t&&(n=Rw(t)),n||i?new jw(e,n,i):null}let jw=(()=>{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&&bv(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(bv(this._element,this._initialStyles),this._endStyles&&(bv(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(vv(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(vv(this._element,this._endStyles),this._endStyles=null),bv(this._element,this._initialStyles),this._state=3)}}return e.initialStylesByElement=new WeakMap,e})();function Rw(e){let t=null;const n=Object.keys(e);for(let i=0;ithis._handleCallback(e)}apply(){!function(e,t){const n=Ww(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(),zw(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,t){const n=Ww(e,"").split(","),i=Bw(n,t);i>=0&&(n.splice(i,1),qw(e,"",n.join(",")))}(this._element,this._name))}}function Vw(e,t,n){qw(e,"PlayState",n,Uw(e,t))}function Uw(e,t){const n=Ww(e,"");return n.indexOf(",")>0?Bw(n.split(","),t):Bw([n],t)}function Bw(e,t){for(let n=0;n=0)return n;return-1}function zw(e,t,n){n?e.removeEventListener(Hw,t):e.addEventListener(Hw,t)}function qw(e,t,n,i){const r=Fw+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 Ww(e,t){return e.style[Fw+t]||""}class Kw{constructor(e,t,n,i,r,s,o,a){this.element=e,this.keyframes=t,this.animationName=n,this._duration=i,this._delay=r,this._finalStyles=o,this._specialStyles=a,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 Nw(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]:Tv(this.element,n))})}this.currentSnapshot=e}}class $w extends Yb{constructor(e,t){super(),this.element=e,this._startingStyles={},this.__initialized=!1,this._styles=iv(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 Gw{constructor(){this._count=0,this._head=document.querySelector("head")}validateStyleProperty(e){return Zb(e)}matchesElement(e,t){return ev(e,t)}containsElement(e,t){return tv(e,t)}query(e,t,n){return nv(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}buildKeyframeElement(e,t,n){n=n.map(e=>iv(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=[],o){const a=s.filter(e=>e instanceof Kw),l={};Lv(n,i)&&a.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=Ev(e,t,l));if(0==n)return new $w(e,c);const u="gen_css_kf_"+this._count++,d=this.buildKeyframeElement(e,u,t);document.querySelector("head").appendChild(d);const h=Pw(e,t),p=new Kw(e,t,u,n,i,r,c,h);return p.onDestroy(()=>{var e;(e=d).parentNode.removeChild(e)}),p}}class Qw{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]:Tv(this.element,t))}),this.currentSnapshot=e}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class Jw{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Xw().toString()),this._cssKeyframesDriver=new Gw}validateStyleProperty(e){return Zb(e)}matchesElement(e,t){return ev(e,t)}containsElement(e,t){return tv(e,t)}query(e,t,n){return nv(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}overrideWebAnimationsSupport(e){this._isNativeImpl=e}animate(e,t,n,i,r,s=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,i,r,s);const a={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(a.easing=r);const l={},c=s.filter(e=>e instanceof Qw);Lv(n,i)&&c.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const u=Pw(e,t=Ev(e,t=t.map(e=>_v(e,!1)),l));return new Qw(e,t,a,u)}}function Xw(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}let Zw=(()=>{class e extends xb{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)?Eb(e):e;return nk(this._renderer,null,t,"register",[n]),new ek(t,this._renderer)}}return e.\u0275fac=function(t){return new(t||e)(gi(nl),gi(Eu))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();class ek extends class{}{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new tk(this._id,e,t||{},this._renderer)}}class tk{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 nk(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 nk(e,t,n,i,r){return e.setProperty(t,`@@${n}:${i}`,r)}const ik="@",rk="@.disabled";let sk=(()=>{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 ok("",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 ak(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(nl),gi(Iw),gi(Qc))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();class ok{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)==ik&&t==rk?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 ak extends ok{constructor(e,t,n,i){super(t,n,i),this.factory=e,this.namespaceId=t}setProperty(e,t,n){t.charAt(0)==ik?"."==t.charAt(1)&&t==rk?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)==ik){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)!=ik&&([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 lk=(()=>{class e extends Iw{constructor(e,t,n){super(e.body,t,n)}}return e.\u0275fac=function(t){return new(t||e)(gi(Eu),gi(sv),gi(tw))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();const ck=new Zn("AnimationModuleType"),uk=[{provide:sv,useFactory:function(){return"function"==typeof Xw()?new Jw:new Gw}},{provide:ck,useValue:"BrowserAnimations"},{provide:xb,useClass:Zw},{provide:tw,useFactory:function(){return new nw}},{provide:Iw,useClass:lk},{provide:nl,useFactory:function(e,t,n){return new sk(e,t,n)},deps:[fh,Iw,Qc]}];let dk=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:uk,imports:[Lh]}),e})();const hk=["*",[["mat-option"],["ng-container"]]],pk=["*","mat-option, ng-container"];function fk(e,t){if(1&e&&Uo(0,"mat-pseudo-checkbox",4),2&e){const e=ta();Fo("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function mk(e,t){if(1&e&&(No(0,"span",5),xa(1),Vo()),2&e){const e=ta();rs(1),Da("(",e.group.label,")")}}const _k=["*"];let gk=(()=>{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})(),yk=(()=>{class e{}return e.COMPLEX="375ms",e.ENTERING="225ms",e.EXITING="195ms",e})();const bk=new ol("11.1.1"),vk=new Zn("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let wk=(()=>{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 uu()&&!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)&&bk.full!==Cb.full&&console.warn("The Angular Material version ("+bk.full+") does not match the Angular CDK version ("+Cb.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(kb),gi(vk,8),gi(Eu))},imports:[[Cg],Cg]}),e})();function kk(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 Sk(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 Ck(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 xk(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?C_(e):this.defaultTabIndex}}}function Mk(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 Dk(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 Lk=new Zn("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return yi(Fc)}});class Ek{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 Ok=new Zn("mat-date-formats");let Tk;try{Tk="undefined"!=typeof Intl}catch(gV){Tk=!1}const Ak={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"]},Ik=Rk(31,e=>String(e+1)),Pk={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},jk=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Rk(e,t){const n=Array(e);for(let i=0;i{class e extends Ek{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(Tk){const t=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return Rk(12,e=>this._stripDirectionalityCharacters(this._format(t,new Date(2017,e,1))))}return Ak[e]}getDateNames(){if(Tk){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Rk(31,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,0,t+1))))}return Ik}getDayOfWeekNames(e){if(Tk){const t=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return Rk(7,e=>this._stripDirectionalityCharacters(this._format(t,new Date(2017,0,e+1))))}return Pk[e]}getYearName(e){if(Tk){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(Tk){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(jk.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(Lk,8),gi(hg))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),Fk=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[{provide:Ek,useClass:Yk}],imports:[[pg]]}),e})();const Hk={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 Nk=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[{provide:Ok,useValue:Hk}],imports:[[Fk]]}),e})(),Vk=(()=>{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})(),Uk=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[wk],wk]}),e})();class Bk{constructor(e,t,n){this._renderer=e,this.element=t,this.config=n,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const zk={enterDuration:450,exitDuration:400},qk=bg({passive:!0}),Wk=["mousedown","touchstart"],Kk=["mouseup","mouseleave","touchend","touchcancel"];class $k{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=L_(n))}fadeInRipple(e,t,n={}){const i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=Object.assign(Object.assign({},zk),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),o=e-i.left,a=t-i.top,l=r.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=o-s+"px",c.style.top=a-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 Bk(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({},zk),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=L_(e);t&&t!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=t,this._registerEvents(Wk))}handleEvent(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Kk),this._pointerUpEventsRegistered=!0)}_onMousedown(e){const t=pb(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,qk)})})}_removeTriggerEvents(){this._triggerElement&&(Wk.forEach(e=>{this._triggerElement.removeEventListener(e,this,qk)}),this._pointerUpEventsRegistered&&Kk.forEach(e=>{this._triggerElement.removeEventListener(e,this,qk)}))}}const Gk=new Zn("mat-ripple-global-options");let Qk=(()=>{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 $k(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)(Yo(el),Yo(Qc),Yo(hg),Yo(Gk,8),Yo(ck,8))},e.\u0275dir=We({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&pa("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})(),Jk=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[wk,pg],wk]}),e})(),Xk=(()=>{class e{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return e.\u0275fac=function(t){return new(t||e)(Yo(ck,8))},e.\u0275cmp=Ne({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,t){2&e&&pa("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})(),Zk=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[wk]]}),e})();const eS=new Zn("MAT_OPTION_PARENT_COMPONENT");class tS{}const nS=kk(tS);let iS=0,rS=(()=>{class e extends nS{constructor(e){var t;super(),this._labelId="mat-optgroup-label-"+iS++,this._inert=null!==(t=null==e?void 0:e.inertGroups)&&void 0!==t&&t}}return e.\u0275fac=function(t){return new(t||e)(Yo(eS,8))},e.\u0275dir=We({type:e,inputs:{label:"label"},features:[vo]}),e})();const sS=new Zn("MatOptgroup");let oS=(()=>{class e extends rS{}return e.\u0275fac=function(t){return aS(t||e)},e.\u0275cmp=Ne({type:e,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-optgroup"],hostVars:5,hostBindings:function(e,t){2&e&&(Io("role",t._inert?null:"group")("aria-disabled",t._inert?null:t.disabled.toString())("aria-labelledby",t._inert?null:t._labelId),pa("mat-optgroup-disabled",t.disabled))},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[Ka([{provide:sS,useExisting:e}]),vo],ngContentSelectors:pk,decls:4,vars:2,consts:[[1,"mat-optgroup-label",3,"id"]],template:function(e,t){1&e&&(ia(hk),No(0,"label",0),xa(1),ra(2),Vo(),ra(3,1)),2&e&&(Fo("id",t._labelId),rs(1),Da("",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 aS=Gn(oS);let lS=0;class cS{constructor(e,t=!1){this.source=e,this.isUserInput=t}}let uS=(()=>{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-"+lS++,this.onSelectionChange=new cc,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!==zg&&e.keyCode!==Wg||ty(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 cS(this,e))}}return e.\u0275fac=function(t){return new(t||e)(Yo(el),Yo(Ml),Yo(void 0),Yo(rS))},e.\u0275dir=We({type:e,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),e})(),dS=(()=>{class e extends uS{constructor(e,t,n,i){super(e,t,n,i)}}return e.\u0275fac=function(t){return new(t||e)(Yo(el),Yo(Ml),Yo(eS,8),Yo(sS,8))},e.\u0275cmp=Ne({type:e,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,t){1&e&&Qo("click",function(){return t._selectViaInteraction()})("keydown",function(e){return t._handleKeydown(e)}),2&e&&(Ea("id",t.id),Io("tabindex",t._getTabIndex())("aria-selected",t._getAriaSelected())("aria-disabled",t.disabled.toString()),pa("mat-selected",t.selected)("mat-option-multiple",t.multiple)("mat-active",t.active)("mat-option-disabled",t.disabled))},exportAs:["matOption"],features:[vo],ngContentSelectors:_k,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&&(ia(),jo(0,fk,1,2,"mat-pseudo-checkbox",0),No(1,"span",1),ra(2),Vo(),jo(3,mk,2,1,"span",2),Uo(4,"div",3)),2&e&&(Fo("ngIf",t.multiple),rs(3),Fo("ngIf",t.group&&t.group._inert),rs(1),Fo("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},directives:[Ad,Qk,Xk],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 hS(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:[[Jk,Kd,wk,Zk]]}),e})();function fS(e,t){}class mS{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 _S={dialogContainer:Db("dialogContainer",[Tb("void, exit",Ob({opacity:0,transform:"scale(0.7)"})),Tb("enter",Ob({transform:"none"})),Ib("* => enter",Lb("150ms cubic-bezier(0, 0, 0.2, 1)",Ob({transform:"none",opacity:1}))),Ib("* => void, * => exit",Lb("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Ob({opacity:0})))])};let gS=(()=>{class e extends Fg{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 cc,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)(Yo(el),Yo(ab),Yo(Ml),Yo(Eu,8),Yo(mS),Yo(_b))},e.\u0275dir=We({type:e,viewQuery:function(e,t){if(1&e&&kc(Ng,3),2&e){let e;wc(e=Cc())&&(t._portalOutlet=e.first)}},features:[vo]}),e})(),yS=(()=>{class e extends gS{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 bS(t||e)},e.\u0275cmp=Ne({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&Jo("@dialogContainer.start",function(e){return t._onAnimationStart(e)})("@dialogContainer.done",function(e){return t._onAnimationDone(e)}),2&e&&(Ea("id",t._id),Io("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),Oa("@dialogContainer",t._state))},features:[vo],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&jo(0,fS,0,0,"ng-template",0)},directives:[Ng],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:[_S.dialogContainer]}}),e})();const bS=Gn(yS);let vS=0;class wS{constructor(e,t,n="mat-dialog-"+vS++){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(tp(e=>"opened"===e.state),$h(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(tp(e=>"closed"===e.state),$h(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(tp(e=>e.keyCode===qg&&!this.disableClose&&!ty(e))).subscribe(e=>{e.preventDefault(),kS(this,"keyboard")}),e.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():kS(this,"mouse")})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(tp(e=>"closing"===e.state),$h(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 kS(e,t,n){return void 0!==e._containerInstance&&(e._containerInstance._closeInteractionType=t),e.close(n)}const SS=new Zn("MatDialogData"),CS=new Zn("mat-dialog-default-options"),xS=new Zn("mat-dialog-scroll-strategy"),MS={provide:xS,deps:[Oy],useFactory:function(e){return()=>e.scrollStrategies.block()}};let DS=(()=>{class e{constructor(e,t,n,i,r,s,o,a,l){this._overlay=e,this._injector=t,this._defaultOptions=n,this._parentDialog=i,this._overlayContainer=r,this._dialogRefConstructor=o,this._dialogContainerType=a,this._dialogDataToken=l,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new S,this._afterOpenedAtThisLevel=new S,this._ariaHiddenElements=new Map,this.afterAllClosed=Bh(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Jh(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 mS)).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 uy({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=yo.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:mS,useValue:t}]}),i=new jg(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 Al)t.attachTemplatePortal(new Rg(e,null,{$implicit:i.data,dialogRef:r}));else{const n=this._createInjector(i,r,t),s=t.attachComponentPortal(new jg(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(Sg,null)||r.push({provide:Sg,useValue:{value:e.direction,change:Oh()}}),yo.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)(Yo(Oy),Yo(yo),Yo(void 0),Yo(void 0),Yo(gy),Yo(void 0),Yo(ti),Yo(ti),Yo(Zn))},e.\u0275dir=We({type:e}),e})(),LS=(()=>{class e extends DS{constructor(e,t,n,i,r,s,o){super(e,t,i,s,o,r,wS,yS,SS)}}return e.\u0275fac=function(t){return new(t||e)(gi(Oy),gi(yo),gi(zu,8),gi(CS,8),gi(xS),gi(e,12),gi(gy))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),ES=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[LS,MS],imports:[[Ry,Vg,wk],wk]}),e})();function OS(e,t){if(1&e&&(dn(),Uo(0,"circle",3)),2&e){const e=ta();ha("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%"),Io("r",e._getCircleRadius())}}function TS(e,t){if(1&e&&(dn(),Uo(0,"circle",3)),2&e){const e=ta();ha("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%"),Io("r",e._getCircleRadius())}}function AS(e,t){if(1&e&&(dn(),Uo(0,"circle",3)),2&e){const e=ta();ha("animation-name","mat-progress-spinner-stroke-rotate-"+e._spinnerAnimationLabel)("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%"),Io("r",e._getCircleRadius())}}function IS(e,t){if(1&e&&(dn(),Uo(0,"circle",3)),2&e){const e=ta();ha("stroke-dashoffset",e._getStrokeDashOffset(),"px")("stroke-dasharray",e._getStrokeCircumference(),"px")("stroke-width",e._getCircleStrokeWidth(),"%"),Io("r",e._getCircleRadius())}}const PS=".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 jS{constructor(e){this._elementRef=e}}const RS=Sk(jS,"primary"),YS=new Zn("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}});let FS=(()=>{class e extends RS{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 o=e._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),o.has(i.head)||o.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=C_(e),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(e){this._strokeWidth=C_(e)}get value(){return"determinate"===this.mode?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,C_(e)))}ngOnInit(){const e=this._elementRef.nativeElement;this._styleRoot=wg(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)(Yo(el),Yo(hg),Yo(Eu,8),Yo(ck,8),Yo(YS))},e.\u0275cmp=Ne({type:e,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(e,t){2&e&&(Io("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),ha("width",t.diameter,"px")("height",t.diameter,"px"),pa("_mat-animation-noopable",t._noopAnimations))},inputs:{color:"color",mode:"mode",diameter:"diameter",strokeWidth:"strokeWidth",value:"value"},exportAs:["matProgressSpinner"],features:[vo],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(),No(0,"svg",0),jo(1,OS,1,9,"circle",1),jo(2,TS,1,7,"circle",2),Vo()),2&e&&(ha("width",t.diameter,"px")("height",t.diameter,"px"),Fo("ngSwitch","indeterminate"===t.mode),Io("viewBox",t._getViewBox()),rs(1),Fo("ngSwitchCase",!0),rs(1),Fo("ngSwitchCase",!1))},directives:[Rd,Yd],styles:[PS],encapsulation:2,changeDetection:0}),e._diameters=new WeakMap,e})(),HS=(()=>{class e extends FS{constructor(e,t,n,i,r){super(e,t,n,i,r),this.mode="indeterminate"}}return e.\u0275fac=function(t){return new(t||e)(Yo(el),Yo(hg),Yo(Eu,8),Yo(ck,8),Yo(YS))},e.\u0275cmp=Ne({type:e,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(e,t){2&e&&(ha("width",t.diameter,"px")("height",t.diameter,"px"),pa("_mat-animation-noopable",t._noopAnimations))},inputs:{color:"color"},features:[vo],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(),No(0,"svg",0),jo(1,AS,1,9,"circle",1),jo(2,IS,1,7,"circle",2),Vo()),2&e&&(ha("width",t.diameter,"px")("height",t.diameter,"px"),Fo("ngSwitch","indeterminate"===t.mode),Io("viewBox",t._getViewBox()),rs(1),Fo("ngSwitchCase",!0),rs(1),Fo("ngSwitchCase",!1))},directives:[Rd,Yd],styles:[PS],encapsulation:2,changeDetection:0}),e})(),NS=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[wk,Kd],wk]}),e})();class VS{constructor(e,t){this.count=e,this.source=t}call(e,t){return t.subscribe(new US(e,this.count,this.source))}}class US 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())}}}const BS=["mat-button",""],zS=["*"],qS=".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",WS=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class KS{constructor(e){this._elementRef=e}}const $S=Sk(kk(Ck(KS)));let GS=(()=>{class e extends $S{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 WS)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)(Yo(el),Yo(_b),Yo(ck,8))},e.\u0275cmp=Ne({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&&kc(Qk,1),2&e){let e;wc(e=Cc())&&(t.ripple=e.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,t){2&e&&(Io("disabled",t.disabled||null),pa("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[vo],attrs:BS,ngContentSelectors:zS,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&&(ia(),No(0,"span",0),ra(1),Vo(),Uo(2,"span",1),Uo(3,"span",2)),2&e&&(rs(2),pa("mat-button-ripple-round",t.isRoundButton||t.isIconButton),Fo("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[Qk],styles:[qS],encapsulation:2,changeDetection:0}),e})(),QS=(()=>{class e extends GS{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)(Yo(_b),Yo(el),Yo(ck,8))},e.\u0275cmp=Ne({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&&Qo("click",function(e){return t._haltDisabledEvents(e)}),2&e&&(Io("tabindex",t.disabled?-1:t.tabIndex||0)("disabled",t.disabled||null)("aria-disabled",t.disabled.toString()),pa("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[vo],attrs:BS,ngContentSelectors:zS,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&&(ia(),No(0,"span",0),ra(1),Vo(),Uo(2,"span",1),Uo(3,"span",2)),2&e&&(rs(2),pa("mat-button-ripple-round",t.isRoundButton||t.isIconButton),Fo("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[Qk],styles:[qS],encapsulation:2,changeDetection:0}),e})(),JS=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Jk,wk],wk]}),e})();class XS{constructor(e){this.total=e}call(e,t){return t.subscribe(new ZS(e,this.total))}}class ZS extends f{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){++this.count>this.total&&this.destination.next(e)}}const eC=new Set;let tC,nC=(()=>{class e{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):iC}matchMedia(e){return this._platform.WEBKIT&&function(e){if(!eC.has(e))try{tC||(tC=document.createElement("style"),tC.setAttribute("type","text/css"),document.head.appendChild(tC)),tC.sheet&&(tC.sheet.insertRule(`@media ${e} {.fx-query-test{ }}`,0),eC.add(e))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}return e.\u0275fac=function(t){return new(t||e)(gi(hg))},e.\u0275prov=le({factory:function(){return new e(gi(hg))},token:e,providedIn:"root"}),e})();function iC(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}let rC=(()=>{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 sC(M_(e)).some(e=>this._registerQuery(e).mql.matches)}observe(e){let t=Rh(sC(M_(e)).map(e=>this._registerQuery(e).observable));return t=Nh(t.pipe($h(1)),t.pipe(e=>e.lift(new XS(1)),Yy(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(Jh(t),M(({matches:t})=>({query:e,matches:t})),Z_(this._destroySubject)),mql:t};return this._queries.set(e,n),n}}return e.\u0275fac=function(t){return new(t||e)(gi(nC),gi(Qc))},e.\u0275prov=le({factory:function(){return new e(gi(nC),gi(Qc))},token:e,providedIn:"root"}),e})();function sC(e){return e.map(e=>e.split(",")).reduce((e,t)=>e.concat(t)).map(e=>e.trim())}function oC(e,t){if(1&e){const e=Wo();No(0,"div",1),No(1,"button",2),Qo("click",function(){return Rt(e),ta().action()}),xa(2),Vo(),Vo()}if(2&e){const e=ta();rs(2),Ma(e.data.action)}}function aC(e,t){}const lC=new Zn("MatSnackBarData");class cC{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}const uC=Math.pow(2,31)-1;class dC{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,uC))}_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 hC=(()=>{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)(Yo(dC),Yo(lC))},e.\u0275cmp=Ne({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&&(No(0,"span"),xa(1),Vo(),jo(2,oC,3,1,"div",0)),2&e&&(rs(1),Ma(t.data.message),rs(1),Fo("ngIf",t.hasAction))},directives:[Ad,GS],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 pC={snackBarState:Db("state",[Tb("void, hidden",Ob({transform:"scale(0.8)",opacity:0})),Tb("visible",Ob({transform:"scale(1)",opacity:1})),Ib("* => visible",Lb("150ms cubic-bezier(0, 0, 0.2, 1)")),Ib("* => void, * => hidden",Lb("75ms cubic-bezier(0.4, 0.0, 1, 1)",Ob({opacity:0})))])};let fC=(()=>{class e extends Fg{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($h(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)(Yo(Qc),Yo(el),Yo(Ml),Yo(hg),Yo(cC))},e.\u0275cmp=Ne({type:e,selectors:[["snack-bar-container"]],viewQuery:function(e,t){if(1&e&&kc(Ng,3),2&e){let e;wc(e=Cc())&&(t._portalOutlet=e.first)}},hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(e,t){1&e&&Jo("@state.done",function(e){return t.onAnimationEnd(e)}),2&e&&Oa("@state",t._animationState)},features:[vo],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,t){1&e&&(No(0,"div",0),jo(1,aC,0,0,"ng-template",1),Vo(),Uo(2,"div")),2&e&&(rs(2),Io("aria-live",t._live)("role",t._role))},directives:[Ng],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:[pC.snackBarState]}}),e})(),mC=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Ry,Vg,Kd,JS,wk],wk]}),e})();const _C=new Zn("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new cC}});let gC=(()=>{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=hC,this.snackBarContainerComponent=fC,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=yo.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:cC,useValue:t}]}),i=new jg(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 cC),this._defaultConfig),t),i=this._createOverlay(n),r=this._attachSnackBarContainer(i,n),s=new dC(r,i);if(e instanceof Al){const t=new Rg(e,null,{$implicit:n.data,snackBarRef:s});s.instance=r.attachTemplatePortal(t)}else{const t=this._createInjector(n,s),i=new jg(e,void 0,t),o=r.attachComponentPortal(i);s.instance=o.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(Z_(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 uy;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 yo.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:dC,useValue:t},{provide:lC,useValue:e.data}]})}}return e.\u0275fac=function(t){return new(t||e)(gi(Oy),gi(db),gi(yo),gi(rC),gi(e,12),gi(_C))},e.\u0275prov=le({factory:function(){return new e(gi(Oy),gi(db),gi(to),gi(rC),gi(e,12),gi(_C))},token:e,providedIn:mC}),e})();class yC{}class bC{}class vC{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 vC?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 vC;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof vC?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 wC{encodeKey(e){return kC(e)}encodeValue(e){return kC(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}function kC(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 SC{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new wC,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))],o=n.get(r)||[];o.push(s),n.set(r,o)}),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 SC({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 CC(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function xC(e){return"undefined"!=typeof Blob&&e instanceof Blob}function MC(e){return"undefined"!=typeof FormData&&e instanceof FormData}class DC{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 vC),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]),a)),e.setParams&&(l=Object.keys(e.setParams).reduce((t,n)=>t.set(n,e.setParams[n]),l)),new DC(t,n,r,{params:l,headers:a,reportProgress:o,responseType:i,withCredentials:s})}}var LC=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 EC{constructor(e,t=200,n="OK"){this.headers=e.headers||new vC,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 OC extends EC{constructor(e={}){super(e),this.type=LC.ResponseHeader}clone(e={}){return new OC({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 TC extends EC{constructor(e={}){super(e),this.type=LC.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new TC({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 AC extends EC{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 IC(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let PC=(()=>{class e{constructor(e){this.handler=e}request(e,t,n={}){let i;if(e instanceof DC)i=e;else{let r,s;r=n.headers instanceof vC?n.headers:new vC(n.headers),n.params&&(s=n.params instanceof SC?n.params:new SC({fromObject:n.params})),i=new DC(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=Oh(i).pipe(ap(e=>this.handler.handle(e)));if(e instanceof DC||"events"===n.observe)return r;const s=r.pipe(tp(e=>e instanceof TC));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 SC).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,IC(n,t))}post(e,t,n={}){return this.request("POST",e,IC(n,t))}put(e,t,n={}){return this.request("PUT",e,IC(n,t))}}return e.\u0275fac=function(t){return new(t||e)(gi(yC))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();class jC{constructor(e,t){this.next=e,this.interceptor=t}handle(e){return this.interceptor.intercept(e,this.next)}}const RC=new Zn("HTTP_INTERCEPTORS");let YC=(()=>{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 FC=/^\)\]\}',?\n/;class HC{}let NC=(()=>{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})(),VC=(()=>{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 vC(n.getAllResponseHeaders()),o=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 OC({headers:s,status:t,statusText:i,url:o}),r},o=()=>{let{headers:i,status:r,statusText:o,url:a}=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(FC,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=e,c&&(c=!1,l={error:u,text:l})}}c?(t.next(new TC({body:l,headers:i,status:r,statusText:o,url:a||void 0})),t.complete()):t.error(new AC({error:l,headers:i,status:r,statusText:o,url:a||void 0}))},a=e=>{const{url:i}=s(),r=new AC({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:LC.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:LC.UploadProgress,loaded:e.loaded};e.lengthComputable&&(n.total=e.total),t.next(n)};return n.addEventListener("load",o),n.addEventListener("error",a),n.addEventListener("timeout",a),n.addEventListener("abort",a),e.reportProgress&&(n.addEventListener("progress",c),null!==i&&n.upload&&n.upload.addEventListener("progress",u)),n.send(i),t.next({type:LC.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("abort",a),n.removeEventListener("load",o),n.removeEventListener("timeout",a),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(HC))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();const UC=new Zn("XSRF_COOKIE_NAME"),BC=new Zn("XSRF_HEADER_NAME");class zC{}let qC=(()=>{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=Dd(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return e.\u0275fac=function(t){return new(t||e)(gi(Eu),gi(jc),gi(UC))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),WC=(()=>{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(zC),gi(BC))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),KC=(()=>{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(RC,[]);this.chain=e.reduceRight((e,t)=>new jC(e,t),this.backend)}return this.chain.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(gi(bC),gi(yo))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),$C=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:WC,useClass:YC}]}}static withOptions(t={}){return{ngModule:e,providers:[t.cookieName?{provide:UC,useValue:t.cookieName}:[],t.headerName?{provide:BC,useValue:t.headerName}:[]]}}}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[WC,{provide:RC,useExisting:WC,multi:!0},{provide:zC,useClass:qC},{provide:UC,useValue:"XSRF-TOKEN"},{provide:BC,useValue:"X-XSRF-TOKEN"}]}),e})(),GC=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[PC,{provide:yC,useClass:KC},VC,{provide:bC,useExisting:VC},NC,{provide:HC,useExisting:NC}],imports:[[$C.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e})();var QC=n("mB6T");function JC(...e){if(1===e.length){const t=e[0];if(l(t))return XC(t,null);if(c(t)&&Object.getPrototypeOf(t)===Object.prototype){const e=Object.keys(t);return XC(e.map(e=>t[e]),e)}}if("function"==typeof e[e.length-1]){const t=e.pop();return XC(e=1===e.length&&l(e[0])?e[0]:e,null).pipe(M(e=>t(...e)))}return XC(e,null)}function XC(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,o=0;for(let a=0;a{c||(c=!0,o++),r[a]=e},error:e=>n.error(e),complete:()=>{s++,s!==i&&c||(o===i&&n.next(t?t.reduce((e,t,n)=>(e[t]=r[n],e),{}):r),n.complete())}}))}})}const ZC=new Zn("NgValueAccessor"),ex={provide:ZC,useExisting:se(()=>tx),multi:!0};let tx=(()=>{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)(Yo(il),Yo(el))},e.\u0275dir=We({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,t){1&e&&Qo("change",function(e){return t.onChange(e.target.checked)})("blur",function(){return t.onTouched()})},features:[Ka([ex])]}),e})();const nx={provide:ZC,useExisting:se(()=>rx),multi:!0},ix=new Zn("CompositionEventMode");let rx=(()=>{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=Lu()?Lu().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)(Yo(il),Yo(el),Yo(ix,8))},e.\u0275dir=We({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&&Qo("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:[Ka([nx])]}),e})();function sx(e){return null==e||0===e.length}function ox(e){return null!=e&&"number"==typeof e.length}const ax=new Zn("NgValidators"),lx=new Zn("NgAsyncValidators"),cx=/^(?=.{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 ux{static min(e){return t=>{if(sx(t.value)||sx(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n{if(sx(t.value)||sx(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}static required(e){return sx(e.value)?{required:!0}:null}static requiredTrue(e){return!0===e.value?null:{required:!0}}static email(e){return sx(e.value)||cx.test(e.value)?null:{email:!0}}static minLength(e){return t=>sx(t.value)||!ox(t.value)?null:t.value.lengthox(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}static pattern(e){if(!e)return ux.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(sx(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(dx);return 0==t.length?null:function(e){return px(fx(e,t))}}static composeAsync(e){if(!e)return null;const t=e.filter(dx);return 0==t.length?null:function(e){return JC(fx(e,t).map(hx)).pipe(M(px))}}}function dx(e){return null!=e}function hx(e){const t=Ko(e)?R(e):e;return Go(t),t}function px(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 fx(e,t){return t.map(t=>t(e))}function mx(e){return e.map(e=>function(e){return!e.validate}(e)?e:t=>e.validate(t))}function _x(e){return null!=e?ux.compose(mx(e)):null}function gx(e){return null!=e?ux.composeAsync(mx(e)):null}function yx(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function bx(e){return e._rawValidators}function vx(e){return e._rawAsyncValidators}let wx=(()=>{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=_x(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=gx(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=We({type:e}),e})(),kx=(()=>{class e extends wx{get formDirective(){return null}get path(){return null}}return e.\u0275fac=function(t){return Sx(t||e)},e.\u0275dir=We({type:e,features:[vo]}),e})();const Sx=Gn(kx);class Cx extends wx{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class xx{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 Mx=(()=>{class e extends xx{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(Yo(Cx,2))},e.\u0275dir=We({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&pa("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:[vo]}),e})(),Dx=(()=>{class e extends xx{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(Yo(kx,10))},e.\u0275dir=We({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(e,t){2&e&&pa("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:[vo]}),e})();const Lx={provide:ZC,useExisting:se(()=>Ex),multi:!0};let Ex=(()=>{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)(Yo(il),Yo(el))},e.\u0275dir=We({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&Qo("input",function(e){return t.onChange(e.target.value)})("blur",function(){return t.onTouched()})},features:[Ka([Lx])]}),e})();const Ox={provide:ZC,useExisting:se(()=>Ax),multi:!0};let Tx=(()=>{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})(),Ax=(()=>{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(Cx),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)(Yo(il),Yo(el),Yo(Tx),Yo(yo))},e.\u0275dir=We({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,t){1&e&&Qo("change",function(){return t.onChange()})("blur",function(){return t.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[Ka([Ox])]}),e})();const Ix={provide:ZC,useExisting:se(()=>Px),multi:!0};let Px=(()=>{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)(Yo(il),Yo(el))},e.\u0275dir=We({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,t){1&e&&Qo("change",function(e){return t.onChange(e.target.value)})("input",function(e){return t.onChange(e.target.value)})("blur",function(){return t.onTouched()})},features:[Ka([Ix])]}),e})();const jx={provide:ZC,useExisting:se(()=>Rx),multi:!0};let Rx=(()=>{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)(Yo(il),Yo(el))},e.\u0275dir=We({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&Qo("change",function(e){return t.onChange(e.target.value)})("blur",function(){return t.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ka([jx])]}),e})();const Yx={provide:ZC,useExisting:se(()=>Fx),multi:!0};let Fx=(()=>{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&&qx(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&&qx(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 Vx(e,t,n=!0){const i=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),zx(e,t,!0),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function Ux(e,t){e.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function Bx(e,t,n){const i=bx(e);null!==t.validator?e.setValidators(yx(i,t.validator)):"function"==typeof i&&e.setValidators([i]);const r=vx(e);if(null!==t.asyncValidator?e.setAsyncValidators(yx(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]),n){const n=()=>e.updateValueAndValidity();Ux(t._rawValidators,n),Ux(t._rawAsyncValidators,n)}}function zx(e,t,n){let i=!1;if(null!==e){if(null!==t.validator){const n=bx(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=vx(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=()=>{};Ux(t._rawValidators,e),Ux(t._rawAsyncValidators,e)}return i}function qx(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Wx(e,t){Bx(e,t,!1)}function Kx(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}const $x=[tx,Px,Ex,Rx,Fx,Ax];function Gx(e,t){e._syncPendingControls(),t.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function Qx(e,t){if(!t)return null;let n,i,r;return Array.isArray(t),t.forEach(e=>{var t;e.constructor===rx?n=e:(t=e,$x.some(e=>t.constructor===e)?i=e:r=e)}),r||i||n||null}function Jx(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Xx="VALID",Zx="INVALID",eM="PENDING",tM="DISABLED";function nM(e){return(oM(e)?e.validators:e)||null}function iM(e){return Array.isArray(e)?_x(e):e||null}function rM(e,t){return(oM(t)?t.asyncValidators:e)||null}function sM(e){return Array.isArray(e)?gx(e):e||null}function oM(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class aM{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=iM(this._rawValidators),this._composedAsyncValidatorFn=sM(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===Xx}get invalid(){return this.status===Zx}get pending(){return this.status==eM}get disabled(){return this.status===tM}get enabled(){return this.status!==tM}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=iM(e)}setAsyncValidators(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=sM(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=eM,!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=tM,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=Xx,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!==Xx&&this.status!==eM||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()?tM:Xx}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=eM,this._hasOwnPendingAsyncValidator=!0;const t=hx(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 cM?i.controls.hasOwnProperty(e)?i.controls[e]:null:i instanceof uM&&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 cc,this.statusChanges=new cc}_calculateStatus(){return this._allControlsDisabled()?tM:this.errors?Zx:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(eM)?eM:this._anyControlsHaveStatus(Zx)?Zx:Xx}_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){oM(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class lM extends aM{constructor(e=null,t,n){super(nM(t),rM(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){Jx(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){Jx(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 cM extends aM{constructor(e,t,n){super(nM(t),rM(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 lM?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 uM extends aM{constructor(e,t,n){super(nM(t),rM(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 lM?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 dM={provide:kx,useExisting:se(()=>pM)},hM=(()=>Promise.resolve(null))();let pM=(()=>{class e extends kx{constructor(e,t){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new cc,this.form=new cM({},_x(e),gx(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){hM.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),Nx(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){hM.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),Jx(this._directives,e)})}addFormGroup(e){hM.then(()=>{const t=this._findContainer(e.path),n=new cM({});Wx(n,e),t.registerControl(e.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){hM.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){hM.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,Gx(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)(Yo(ax,10),Yo(lx,10))},e.\u0275dir=We({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&Qo("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ka([dM]),vo]}),e})();const fM={provide:Cx,useExisting:se(()=>_M)},mM=(()=>Promise.resolve(null))();let _M=(()=>{class e extends Cx{constructor(e,t,n,i){super(),this.control=new lM,this._registered=!1,this.update=new cc,this._parent=e,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=Qx(0,i)}ngOnChanges(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),Kx(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?Hx(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(){Nx(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){mM.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1})})}_updateDisabled(e){const t=e.isDisabled.currentValue,n=""===t||t&&"false"!==t;mM.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}return e.\u0275fac=function(t){return new(t||e)(Yo(kx,9),Yo(ax,10),Yo(lx,10),Yo(ZC,10))},e.\u0275dir=We({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:[Ka([fM]),vo,ut]}),e})(),gM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=We({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})();const yM=new Zn("NgModelWithFormControlWarning"),bM={provide:Cx,useExisting:se(()=>vM)};let vM=(()=>{class e extends Cx{constructor(e,t,n,i){super(),this._ngModelWarningConfig=i,this.update=new cc,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=Qx(0,n)}set isDisabled(e){}ngOnChanges(e){if(this._isControlChanged(e)){const t=e.form.previousValue;t&&Vx(t,this,!1),Nx(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}Kx(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Vx(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)(Yo(ax,10),Yo(lx,10),Yo(ZC,10),Yo(yM,8))},e.\u0275dir=We({type:e,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Ka([bM]),vo,ut]}),e._ngModelWarningSentOnce=!1,e})();const wM={provide:kx,useExisting:se(()=>kM)};let kM=(()=>{class e extends kx{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 cc,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&&(zx(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 Nx(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){Vx(e.control||null,e,!1),Jx(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,Gx(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&&(Vx(e.control||null,e),t&&Nx(t,e),e.control=t)}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);Wx(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);t&&function(e,t){return zx(e,t,!1)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Bx(this.form,this,!1),this._oldForm&&zx(this._oldForm,this,!1)}_checkFormPresent(){}}return e.\u0275fac=function(t){return new(t||e)(Yo(ax,10),Yo(lx,10))},e.\u0275dir=We({type:e,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&Qo("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ka([wM]),vo,ut]}),e})();const SM={provide:Cx,useExisting:se(()=>CM)};let CM=(()=>{class e extends Cx{constructor(e,t,n,i,r){super(),this._ngModelWarningConfig=r,this._added=!1,this.update=new cc,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=Qx(0,i)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),Kx(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 Hx(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)(Yo(kx,13),Yo(ax,10),Yo(lx,10),Yo(ZC,10),Yo(yM,8))},e.\u0275dir=We({type:e,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Ka([SM]),vo,ut]}),e._ngModelWarningSentOnce=!1,e})();const xM={provide:ax,useExisting:se(()=>MM),multi:!0};let MM=(()=>{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?ux.required(e):null}registerOnValidatorChange(e){this._onChange=e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=We({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&&Io("required",t.required?"":null)},inputs:{required:"required"},features:[Ka([xM])]}),e})();const DM={provide:ax,useExisting:se(()=>LM),multi:!0};let LM=(()=>{class e{constructor(){this._validator=ux.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=ux.maxLength("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=We({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&Io("maxlength",t.maxlength?t.maxlength:null)},inputs:{maxlength:"maxlength"},features:[Ka([DM]),ut]}),e})(),EM=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)}}),e})(),OM=(()=>{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 cM(n,{asyncValidators:s,updateOn:i,validators:r})}control(e,t,n){return new lM(e,t,n)}array(e,t,n){const i=e.map(e=>this._createControl(e));return new uM(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 lM||e instanceof cM||e instanceof uM?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})(),TM=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[Tx],imports:[EM]}),e})(),AM=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:yM,useValue:t.warnOnNgModelWithFormControl}]}}}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[OM,Tx],imports:[EM]}),e})();const IM=["content"];function PM(e,t){if(1&e&&Uo(0,"formly-field",2),2&e){const e=t.$implicit;Fo("form",e.form)("options",e.options)("model",e.model)("field",e)}}const jM=["*"],RM=["container"];function YM(e,t){}const FM=["fieldComponent"];function HM(e,t){1&e&&Uo(0,"formly-field",1),2&e&&Fo("field",t.$implicit)}function NM(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 VM(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 UM=["required","pattern","minLength","maxLength","min","max"];function BM(e,t){let n=VM(e);if(0===n.length)return;let i=e;for(;i.parent;)i=i.parent,n=[...VM(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)WM(e[r])||""===e[r]?e[r]=QM(t[r]):(i=t[r],GM(n=e[r])&&GM(i)&&Object.getPrototypeOf(n)===Object.getPrototypeOf(i)&&!Array.isArray(n)&&!Array.isArray(i)&&qM(e[r],t[r]));var n,i}),e}function WM(e){return null==e}function KM(e){return void 0===e}function $M(e){return"function"==typeof e}function GM(e){return null!=e&&"object"==typeof e}function QM(e){if(!GM(e)||B_(e)||e.changingThisBreaksApplicationSecurity||-1!==["RegExp","FileList","File","Blob"].indexOf(e.constructor.name))return e;if(e._isAMomentObject&&$M(e.clone))return e.clone();if(e instanceof aM)return null;if(e instanceof Date)return new Date(e.getTime());if(Array.isArray(e))return e.slice(0).map(e=>QM(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]=QM(e[n]),t},n)}function JM(e,t,n){Object.defineProperty(e,t,{enumerable:!1,writable:!0,configurable:!0}),e[t]=n}function XM(e,t,n){e._observers||JM(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&&(JM(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 ZM(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 eD=new Zn("FORMLY_CONFIG");let tD=(()=>{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&&qM(e,t.defaultOptions);const n=t.extends&&this.getType(t.extends).defaultOptions;n&&qM(e,n),e&&e.optionsTypes&&e.optionsTypes.forEach(t=>{const n=this.getType(t).defaultOptions;n&&qM(e,n)});const i=this.resolveFieldTypeRef(e);i&&i.instance&&i.instance.defaultOptions&&qM(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 JM(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})(),nD=(()=>{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)};ZM(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||JM(e,"fieldChanges",new S),e._resolver||JM(e,"_resolver",this.componentFactoryResolver),e._injector||JM(e,"_injector",this.injector),e._hiddenFieldsForCheck||(e._hiddenFieldsForCheck=[]),e._markForCheck||(e._markForCheck=t=>{t._componentRefs&&t._componentRefs.forEach(e=>{e.injector.get(Ml).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(tD),gi(Qa),gi(yo))},e.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=ce({factory:function(){return new e(yi(tD),yi(Qa),yi(to))},token:e,providedIn:"root"}),e})();function iD(e,t,n=!1){(t=t||e.formControl)._fields||JM(t,"_fields",[]),-1===t._fields.indexOf(e)&&t._fields.push(e),!e.formControl&&t&&(JM(e,"formControl",t),e.templateOptions.disabled=!!e.templateOptions.disabled,XM(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=VM(e),s=zM(e);WM(t.value)&&WM(s)||t.value===s||!(t instanceof lM)||t.patchValue(s);for(let a=0;ai.setControl(e,new cM({}))),i=i.get([e])}const o=r[r.length-1];e._hide||i.get([o])===t||sD(i,{emitEvent:n},()=>i.setControl(o,t))}function rD(e){const t=e.status;e.updateValueAndValidity({emitEvent:!1}),t!==e.status&&e.statusChanges.emit(e.status)}function sD(e,t,n){e instanceof cM&&!e.__patchForEachChild&&(JM(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 oD(e){e._fields&&delete e._fields,e.setValidators(null),e.setAsyncValidators(null),(e instanceof cM||e instanceof uM)&&Object.keys(e.controls).forEach(t=>oD(e.controls[t]))}let aD=(()=>{class e{constructor(e,t,n,i,r){this.formlyBuilder=e,this.formlyConfig=t,this.ngZone=n,this.parentFormGroup=r,this.modelChange=new cc,this.immutable=!1,this._modelChangeValue={},this.modelChangeSubs=[],this.modelChange$=new S,this.modelChangeSub=this.modelChange$.pipe(zh(()=>this.ngZone.onStable.asObservable().pipe($h(1)))).subscribe(()=>this.ngZone.runGuarded(()=>{this.checkExpressionChange(),this.modelChange.emit(this._modelChangeValue=QM(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?QM(e):e}get model(){return this._model||(this._model={}),this._model}set fields(e){this._fields=this.immutable?QM(e):e}get fields(){return this._fields||[]}set options(e){this._options=this.immutable?QM(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&&oD(this.form),(e.fields||e.form||e.model&&this._modelChangeValue!==e.model.currentValue)&&(this.form=this.form||new cM({}),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}){BM(t,e),this.modelChange$.next()}setOptions(){this.options||(this.options={}),this.options.resetModel||(this.options.resetModel=e=>{e=QM(WM(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&&(JM(this.options,"parentForm",this.parentFormGroup),XM(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=QM(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=QM(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(z_((e,t)=>e===t&&!Array.isArray(e)&&!GM(e)));const{updateOn:r,debounce:s}=e.modelOptions;(!r||"change"===r)&&s&&s.default>0&&(i=n.valueChanges.pipe(Yy(s.default))),this.modelChangeSubs.push(i.subscribe(i=>{n instanceof lM&&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,...VM(e)].join("."),value:i,field:e})}));const o=n.valueChanges.observers;o&&o.length>1&&o.unshift(o.pop())}e.fieldGroup&&e.fieldGroup.length>0&&this.trackModelChanges(e.fieldGroup,e.key?[...t,...VM(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)(Yo(nD),Yo(tD),Yo(Qc),Qn("immutable"),Yo(kM,8))},e.\u0275cmp=Ne({type:e,selectors:[["formly-form"]],viewQuery:function(e,t){if(1&e&&kc(IM,1),2&e){let e;wc(e=Cc())&&(t.content=e.first)}},inputs:{model:"model",fields:"fields",options:"options",form:"form"},outputs:{modelChange:"modelChange"},features:[Ka([nD]),ut],ngContentSelectors:jM,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&&(ia(),jo(0,PM,1,4,"formly-field",0),Bo(1,null,1),ra(3),zo()),2&e&&Fo("ngForOf",t.fields)},directives:function(){return[Od,lD]},encapsulation:2}),e})(),lD=(()=>{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 cc,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),o=e.createComponent(this.resolver.resolveComponentFactory(s));this.attachComponentRef(o,t),XM(o.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&&o.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(B_(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=[XM(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":""))}),XM(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)):JM(this.field,"_componentRefs",[])),this.componentRefs=[]}}return e.\u0275fac=function(t){return new(t||e)(Yo(tD),Yo(il),Yo(Qa),Yo(el),Qn("hide-deprecation"))},e.\u0275cmp=Ne({type:e,selectors:[["formly-field"]],viewQuery:function(e,t){if(1&e&&kc(RM,3,Hl),2&e){let e;wc(e=Cc())&&(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&&jo(0,YM,0,0,"ng-template",null,0,Lc)},encapsulation:2}),e})(),cD=(()=>{class e{constructor(e,t,n){this.renderer=e,this.elementRef=t,this.uiAttributesCache={},this.uiAttributes=[...UM,"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&&XM(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),XM(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):JM(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)(Yo(il),Yo(el),Yo(Eu))},e.\u0275dir=We({type:e,selectors:[["","formlyAttributes",""]],hostBindings:function(e,t){1&e&&Qo("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})(),uD=(()=>{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=We({type:e,inputs:{model:"model",form:"form",options:"options",field:"field"}}),e})(),dD=(()=>{class e extends uD{}return e.\u0275fac=function(t){return hD(t||e)},e.\u0275dir=We({type:e,viewQuery:function(e,t){if(1&e&&kc(FM,1,Hl),2&e){let e;wc(e=Cc())&&(t.fieldComponent=e.first)}},features:[vo]}),e})();const hD=Gn(dD);let pD=(()=>{class e extends uD{constructor(){super(...arguments),this.defaultOptions={defaultValue:{}}}}return e.\u0275fac=function(t){return fD(t||e)},e.\u0275cmp=Ne({type:e,selectors:[["formly-group"]],hostVars:2,hostBindings:function(e,t){2&e&&_a(ai,fa,t.field.fieldGroupClassName||"",!0)},features:[vo],ngContentSelectors:jM,decls:2,vars:1,consts:[[3,"field",4,"ngFor","ngForOf"],[3,"field"]],template:function(e,t){1&e&&(ia(),jo(0,HM,1,1,"formly-field",0),ra(1)),2&e&&Fo("ngForOf",t.field.fieldGroup)},directives:[Od,lD],encapsulation:2}),e})();const fD=Gn(pD);let mD=(()=>{class e{constructor(e){this.formlyConfig=e}ngOnChanges(){this.errorMessage$=this.field.formControl.statusChanges.pipe(Jh(null),zh(()=>B_(this.errorMessage)?this.errorMessage:Oh(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(GM(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)(Yo(tD))},e.\u0275cmp=Ne({type:e,selectors:[["formly-validation-message"]],inputs:{field:"field"},features:[ut],decls:2,vars:3,template:function(e,t){1&e&&(xa(0),rc(1,"async")),2&e&&Ma(sc(1,1,t.errorMessage$))},pipes:[qd],encapsulation:2,changeDetection:0}),e})(),_D=(()=>{class e extends uD{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)(Yo(Ch))},e.\u0275cmp=Ne({type:e,selectors:[["formly-template"]],features:[vo],decls:1,vars:1,consts:[[3,"innerHtml"]],template:function(e,t){1&e&&Uo(0,"div",0),2&e&&Fo("innerHtml",t.template,ar)},encapsulation:2}),e})();function gD(e,t,n){return e instanceof Function?e.apply(t,n):!!e}class yD{prePopulate(e){if(e.parent||e.options._checkField)return;let t=!1;e.options._checkField=(e,n)=>{t||(t=!0,ZM(e.formControl,()=>this.checkField(e,n)),t=!1)}}postPopulate(e){if(e.parent&&!e._expressionProperties){if(JM(e,"_expressionProperties",{}),e.expressionProperties)for(const t in e.expressionProperties){const n=e.expressionProperties[t];if("string"==typeof n||$M(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 o=e.hooks.onDestroy;e.hooks.onDestroy=()=>{o&&o(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})):XM(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(o){throw o.message=`[Formly Error] [Expression "${e}"] ${o.message}`,o}}}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=gD(i[r].expression,{field:e},[e.model,e.options.formState,e]);"templateOptions.disabled"===r&&(s=!!s),!t&&(i[r].expressionValue===s||GM(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||WM(e.hideExpression))return!1;const n=!!gD(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){JM(e,"_hide",!(!t&&!e.hide));const i=e.formControl;i._fields.length>1&&rD(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 uM){const e=n.controls.findIndex(e=>e===i);-1!==e&&sD(n,r,()=>n.removeAt(e))}else if(n instanceof cM){const t=VM(e),s=t[t.length-1];n.get([s])===i&&sD(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&&(BM(e,void 0),e.formControl instanceof uM&&(e.fieldGroup.length=0)))):!1===t&&(e.resetOnHide&&e.parent&&!KM(e.defaultValue)&&KM(zM(e))&&BM(e,e.defaultValue),iD(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));JM(e,"_"+t,n)}getPredefinedFieldValidation(e){let t=[];return UM.forEach(n=>XM(e.templateOptions,n,({currentValue:i,firstChange:r})=>{t=t.filter(e=>e!==n),null!=i&&!1!==i&&t.push(n),!r&&e.formControl&&rD(e.formControl)})),n=>0===t.length?null:ux.compose(t.map(t=>()=>{const i=e.templateOptions[t];switch(t){case"required":return ux.required(n);case"pattern":return ux.pattern(i)(n);case"minLength":return ux.minLength(i)(n);case"maxLength":return ux.maxLength(i)(n);case"min":return ux.min(i)(n);case"max":return ux.max(i)(n)}}))(n)}wrapNgValidatorFn(e,t,n){let i=null;if("string"==typeof t&&(i=QM(this.formlyConfig.getValidator(t))),"object"==typeof t&&t.name&&(i=QM(this.formlyConfig.getValidator(t.name)),t.options&&(i.options=t.options)),"object"==typeof t&&t.expression){const{expression:e}=t,r=Object(QC.__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)):B_(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](),GM(t)&&Object.keys(t).forEach(n=>{const s=t[n].errorPath?t[n].errorPath:(i||{}).errorPath,o=s?e.formControl.get(s):null;if(o){const e=t[n],i=Object(QC.__rest)(e,["errorPath"]);o.setErrors(Object.assign({},o.errors||{},{[n]:i})),!r._childrenErrors&&JM(r,"_childrenErrors",{}),r._childrenErrors[n]=()=>{const e=o.errors||{},t=n,i=Object(QC.__rest)(e,["symbol"==typeof t?t:t+""]);o.setErrors(0===Object.keys(i).length?null:i)}}}),t}}class vD{constructor(e){this.config=e}onPopulate(e){e.parent&&(e.fieldGroup&&!e.key?JM(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(VM(e)):null}(e);if(!t){const n={updateOn:e.modelOptions.updateOn},i=e.key?zM(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 cM({},n):new lM(i,n)}iD(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:rD(n)),null!==n.validator&&null!==n.asyncValidator||(n.setValidators(()=>{const t=ux.compose(this.mergeValidators(e,"_validators"));return t?t(n):null}),n.setAsyncValidators(()=>{const t=ux.composeAsync(this.mergeValidators(e,"_asyncValidators"));return t?t(n):Oh(null)}),n.parent?t=!0:rD(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 wD{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?zM(e):t.model,configurable:!0}),qM(e,{id:NM(`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=!KM(e.key)&&!KM(e.defaultValue)&&KM(zM(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&&BM(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 kD(e){return{types:[{name:"formly-group",component:pD},{name:"formly-template",component:_D}],extensions:[{name:"core",extension:new wD(e)},{name:"field-validation",extension:new bD(e)},{name:"field-form",extension:new vD(e)},{name:"field-expression",extension:new yD}]}}let SD=(()=>{class e{constructor(e,t=[]){t&&t.forEach(t=>e.addConfig(t))}static forRoot(t={}){return{ngModule:e,providers:[{provide:eD,multi:!0,useFactory:kD,deps:[tD]},{provide:eD,useValue:t,multi:!0},{provide:ei,useValue:t,multi:!0},tD,nD]}}static forChild(t={}){return{ngModule:e,providers:[{provide:eD,multi:!0,useFactory:kD,deps:[tD]},{provide:eD,useValue:t,multi:!0},{provide:ei,useValue:t,multi:!0},nD]}}}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)(gi(tD),gi(eD,8))},imports:[[Kd]]}),e})();function CD(e){return""===e||null==e}function xD(e){return e.hasOwnProperty("const")||e.enum&&1===e.enum.length}function MD(e){return e.fieldGroup?e.fieldGroup.reduce((e,t)=>MD(t)+e,0):e.key&&void 0!==function(e){let t=e.options._initialModel,n=VM(e);for(;e.parent;)n=[...VM(e=e.parent),...n];for(const i of n){if(!t)return;t=t[i]}return t}(e)?1:0}let DD=(()=>{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=>CD(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})=>CD(t)||t>e.exclusiveMinimum)),e.hasOwnProperty("exclusiveMaximum")&&(n.templateOptions.exclusiveMaximum=e.exclusiveMaximum,this.addValidator(n,"exclusiveMaximum",({value:t})=>CD(t)||t!!(CD(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=>CD(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 o=this._toFieldConfig(e.properties[s],t);if(n.fieldGroup.push(o),o.key=s,Array.isArray(e.required)&&-1!==e.required.indexOf(s)&&(o.templateOptions.required=!0),o.templateOptions&&!o.templateOptions.required&&i[s]&&(o.expressionProperties={"templateOptions.required":e=>e&&i[s].some(t=>!CD(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]&&xD(e.properties[s]))?i.forEach(i=>{const r=i.properties,o=s,a=r[o],l=Object(QC.__rest)(r,["symbol"==typeof o?o:o+""]);n.fieldGroup.push(Object.assign({},this._toFieldConfig(Object.assign({},i,{properties:l}),Object.assign({},t,{resetOnHide:!0})),{hideExpression:t=>!t||e(a)!==t[s]}))}):n.fieldGroup.push(Object.assign({},this._toFieldConfig(r[s],t),{hideExpression:e=>!e||CD(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})=>CD(t)||t.length>=e.minItems)),e.hasOwnProperty("maxItems")&&(n.templateOptions.maxItems=e.maxItems,this.addValidator(n,"maxItems",({value:t})=>CD(t)||t.length<=e.maxItems)),e.hasOwnProperty("uniqueItems")&&(n.templateOptions.uniqueItems=e.uniqueItems,this.addValidator(n,"uniqueItems",({value:t})=>!(!CD(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=qM(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(QC.__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=>{CD(e[t])||CD(n[t])||(e[t]=e[t]{CD(e[t])||CD(n[t])||(e[t]=e[t]>n[t]?e[t]:n[t])}),qM(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,o)=>{const a=o.parent.parent.fieldGroup[0].formControl;if(-1===a.value){const i=o.parent.fieldGroup.map((e,t)=>[e,t]).filter(([e,i])=>(console.warn("---",a.value),this.isFieldValid(e,t[i],n))).sort(([e],[t])=>{const n=MD(e),i=MD(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]];a.setValue("anyOf"===e?r:r[0])}return Array.isArray(a.value)?-1===a.value.indexOf(r):a.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(xD)||e.oneOf&&e.oneOf.every(xD)||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 cM({}),fieldGroup:[this._toFieldConfig(t,Object.assign({},n,{resetOnHide:!0,ignoreDefault:!0,map:null}))],model:e.model?QM(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 LD=n("AO/9"),ED=n("Qycn");const OD=["*"];function TD(e){return Error(`Unable to find icon with the name "${e}"`)}function AD(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function ID(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}class PD{constructor(e,t,n){this.url=e,this.svgText=t,this.options=n}}let jD=(()=>{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 PD(n,null,i))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,n,i){const r=this._sanitizer.sanitize(or.HTML,n);if(!r)throw ID(n);return this._addSvgIconConfig(e,t,new PD("",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 PD(t,null,n))}addSvgIconSetLiteralInNamespace(e,t,n){const i=this._sanitizer.sanitize(or.HTML,t);if(!i)throw ID(t);return this._addSvgIconSetConfig(e,new PD("",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(or.RESOURCE_URL,e);if(!t)throw AD(e);const n=this._cachedIconsByUrl.get(t);return n?Oh(RD(n)):this._loadSvgIconFromConfig(new PD(e,null)).pipe(vp(e=>this._cachedIconsByUrl.set(t,e)),M(e=>RD(e)))}getNamedSvgIcon(e,t=""){const n=YD(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):w_(TD(n))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?Oh(RD(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(M(e=>RD(e)))}_getSvgFromIconSetConfigs(e,t){const n=this._extractIconWithNameFromAnySet(e,t);return n?Oh(n):JC(t.filter(e=>!e.svgText).map(e=>this._loadSvgIconSetFromConfig(e).pipe(rp(t=>{const n=this._sanitizer.sanitize(or.RESOURCE_URL,e.url);return this._errorHandler.handleError(new Error(`Loading icon set URL: ${n} failed: ${t.message}`)),Oh(null)})))).pipe(M(()=>{const n=this._extractIconWithNameFromAnySet(e,t);if(!n)throw TD(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(vp(t=>e.svgText=t),M(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?Oh(null):this._fetchIcon(e).pipe(vp(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,a),a}_addSvgIconConfig(e,t,n){return this._svgIconConfigs.set(YD(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:""}}}),VD=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],UD=VD.map(e=>`[${e}]`).join(", "),BD=/^url\(['"]?#(.*?)['"]?\)$/;let zD=(()=>{class e extends HD{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(UD),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let i=0;i{const r=t[i],s=r.getAttribute(e),o=s?s.match(BD):null;if(o){let t=n.get(r);t||(t=[],n.set(r,t)),t.push({name:e,value:o[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($h(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)(Yo(el),Yo(jD),Qn("aria-hidden"),Yo(ND),Yo(pr))},e.\u0275cmp=Ne({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,t){2&e&&(Io("data-mat-icon-type",t._usingFontIcon()?"font":"svg")("data-mat-icon-name",t._svgName||t.fontIcon)("data-mat-icon-namespace",t._svgNamespace||t.fontSet),pa("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:[vo],ngContentSelectors:OD,decls:1,vars:0,template:function(e,t){1&e&&(ia(),ra(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})(),qD=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[wk],wk]}),e})();const WD=["underline"],KD=["connectionContainer"],$D=["inputContainer"],GD=["label"];function QD(e,t){1&e&&(Bo(0),No(1,"div",14),Uo(2,"div",15),Uo(3,"div",16),Uo(4,"div",17),Vo(),No(5,"div",18),Uo(6,"div",15),Uo(7,"div",16),Uo(8,"div",17),Vo(),zo())}function JD(e,t){1&e&&(No(0,"div",19),ra(1,1),Vo())}function XD(e,t){if(1&e&&(Bo(0),ra(1,2),No(2,"span"),xa(3),Vo(),zo()),2&e){const e=ta(2);rs(3),Ma(e._control.placeholder)}}function ZD(e,t){1&e&&ra(0,3,["*ngSwitchCase","true"])}function eL(e,t){1&e&&(No(0,"span",23),xa(1," *"),Vo())}function tL(e,t){if(1&e){const e=Wo();No(0,"label",20,21),Qo("cdkObserveContent",function(){return Rt(e),ta().updateOutlineGap()}),jo(2,XD,4,1,"ng-container",12),jo(3,ZD,1,0,"ng-content",12),jo(4,eL,2,0,"span",22),Vo()}if(2&e){const e=ta();pa("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),Fo("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),Io("for",e._control.id)("aria-owns",e._control.id),rs(2),Fo("ngSwitchCase",!1),rs(1),Fo("ngSwitchCase",!0),rs(1),Fo("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function nL(e,t){1&e&&(No(0,"div",24),ra(1,4),Vo())}function iL(e,t){if(1&e&&(No(0,"div",25,26),Uo(2,"span",27),Vo()),2&e){const e=ta();rs(2),pa("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function rL(e,t){1&e&&(No(0,"div"),ra(1,5),Vo()),2&e&&Fo("@transitionMessages",ta()._subscriptAnimationState)}function sL(e,t){if(1&e&&(No(0,"div",31),xa(1),Vo()),2&e){const e=ta(2);Fo("id",e._hintLabelId),rs(1),Ma(e.hintLabel)}}function oL(e,t){if(1&e&&(No(0,"div",28),jo(1,sL,2,2,"div",29),ra(2,6),Uo(3,"div",30),ra(4,7),Vo()),2&e){const e=ta();Fo("@transitionMessages",e._subscriptAnimationState),rs(1),Fo("ngIf",e.hintLabel)}}const aL=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],lL=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let cL=0;const uL=new Zn("MatError");let dL=(()=>{class e{constructor(){this.id="mat-error-"+cL++}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=We({type:e,selectors:[["mat-error"]],hostAttrs:["role","alert",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&Io("id",t.id)},inputs:{id:"id"},features:[Ka([{provide:uL,useExisting:e}])]}),e})();const hL={transitionMessages:Db("transitionMessages",[Tb("enter",Ob({opacity:1,transform:"translateY(0%)"})),Ib("void => enter",[Ob({opacity:0,transform:"translateY(-100%)"}),Lb("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let pL=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=We({type:e}),e})(),fL=0;const mL=new Zn("MatHint");let _L=(()=>{class e{constructor(){this.align="start",this.id="mat-hint-"+fL++}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=We({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,t){2&e&&(Io("id",t.id)("align",null),pa("mat-form-field-hint-end","end"===t.align))},inputs:{align:"align",id:"id"},features:[Ka([{provide:mL,useExisting:e}])]}),e})(),gL=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=We({type:e,selectors:[["mat-label"]]}),e})(),yL=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=We({type:e,selectors:[["mat-placeholder"]]}),e})();const bL=new Zn("MatPrefix");let vL=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=We({type:e,selectors:[["","matPrefix",""]],features:[Ka([{provide:bL,useExisting:e}])]}),e})();const wL=new Zn("MatSuffix");let kL=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=We({type:e,selectors:[["","matSuffix",""]],features:[Ka([{provide:wL,useExisting:e}])]}),e})(),SL=0;class CL{constructor(e){this._elementRef=e}}const xL=Sk(CL,"primary"),ML=new Zn("MAT_FORM_FIELD_DEFAULT_OPTIONS"),DL=new Zn("MatFormField");let LL=(()=>{class e extends xL{constructor(e,t,n,i,r,s,o,a){super(e),this._elementRef=e,this._changeDetectorRef=t,this._dir=i,this._defaults=r,this._platform=s,this._ngZone=o,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new S,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+SL++,this._labelId="mat-form-field-label-"+SL++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==a,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(Jh(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(Z_(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Z_(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),q(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Jh(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Jh(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(Z_(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,E_(this._label.nativeElement,"transitionend").pipe($h(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),o=e.children,a=this._getStartEnd(o[0].getBoundingClientRect());let l=0;for(let e=0;e0?.75*l+10:0}for(let o=0;o{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Kd,wk,zy],wk]}),e})();const OL=bg({passive:!0});let TL=(()=>{class e{constructor(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return Vh;const t=L_(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,OL),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:i,unlisten:()=>{t.removeEventListener("animationstart",s,OL)}}),i}stopMonitoring(e){const t=L_(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(hg),gi(Qc))},e.\u0275prov=le({factory:function(){return new e(gi(hg),gi(Qc))},token:e,providedIn:"root"}),e})(),AL=(()=>{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=C_(e),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(e){this._maxRows=C_(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(()=>{E_(this._getWindow(),"resize").pipe(X_(16),Z_(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)(Yo(el),Yo(hg),Yo(Qc),Yo(Eu,8))},e.\u0275dir=We({type:e,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(e,t){1&e&&Qo("input",function(){return t._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"]},exportAs:["cdkTextareaAutosize"]}),e})(),IL=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[pg]]}),e})();const PL=new Zn("MAT_INPUT_VALUE_ACCESSOR"),jL=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let RL=0;class YL{constructor(e,t,n,i){this._defaultErrorStateMatcher=e,this._parentForm=t,this._parentFormGroup=n,this.ngControl=i}}const FL=Mk(YL);let HL=(()=>{class e extends FL{constructor(e,t,n,i,r,s,o,a,l,c){super(s,i,r,n),this._elementRef=e,this._platform=t,this.ngControl=n,this._autofillMonitor=a,this._formField=c,this._uid="mat-input-"+RL++,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=>mg().has(e));const u=this._elementRef.nativeElement,d=u.nodeName.toLowerCase();this._inputValueAccessor=o||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&&mg().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(){jL.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)(Yo(el),Yo(hg),Yo(Cx,10),Yo(pM,8),Yo(kM,8),Yo(Vk),Yo(PL,10),Yo(TL),Yo(Qc),Yo(DL,8))},e.\u0275dir=We({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&&Qo("focus",function(){return t._focusChanged(!0)})("blur",function(){return t._focusChanged(!1)})("input",function(){return t._onInput()}),2&e&&(Ea("disabled",t.disabled)("required",t.required),Io("id",t.id)("data-placeholder",t.placeholder)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-invalid",t.errorState)("aria-required",t.required.toString()),pa("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:[Ka([{provide:pL,useExisting:e}]),vo,ut]}),e})(),NL=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[Vk],imports:[[IL,EL,wk],IL,EL]}),e})();const VL=["mat-calendar-body",""];function UL(e,t){if(1&e&&(No(0,"tr",2),No(1,"td",3),xa(2),Vo(),Vo()),2&e){const e=ta();rs(1),ha("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),Io("colspan",e.numCols),rs(1),Da(" ",e.label," ")}}function BL(e,t){if(1&e&&(No(0,"td",7),xa(1),Vo()),2&e){const e=ta(2);ha("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),Io("colspan",e._firstRowOffset),rs(1),Da(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function zL(e,t){if(1&e){const e=Wo();No(0,"td",8),Qo("click",function(n){Rt(e);const i=t.$implicit;return ta(2)._cellClicked(i,n)}),No(1,"div",9),xa(2),Vo(),Uo(3,"div",10),Vo()}if(2&e){const e=t.$implicit,n=t.index,i=ta().index,r=ta();ha("width",r._cellWidth)("padding-top",r._cellPadding)("padding-bottom",r._cellPadding),pa("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)),Fo("ngClass",e.cssClasses)("tabindex",r._isActiveCell(i,n)?0:-1),Io("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),pa("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),Da(" ",e.displayValue," ")}}function qL(e,t){if(1&e&&(No(0,"tr",4),jo(1,BL,2,6,"td",5),jo(2,zL,4,46,"td",6),Vo()),2&e){const e=t.$implicit,n=t.index,i=ta();rs(1),Fo("ngIf",0===n&&i._firstRowOffset),rs(1),Fo("ngForOf",e)}}function WL(e,t){if(1&e&&(No(0,"th",5),xa(1),Vo()),2&e){const e=t.$implicit;Io("aria-label",e.long),rs(1),Ma(e.narrow)}}const KL=["*"];function $L(e,t){}function GL(e,t){if(1&e){const e=Wo();No(0,"mat-month-view",5),Qo("activeDateChange",function(t){return Rt(e),ta().activeDate=t})("_userSelection",function(t){return Rt(e),ta()._dateSelected(t)}),Vo()}if(2&e){const e=ta();Fo("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 QL(e,t){if(1&e){const e=Wo();No(0,"mat-year-view",6),Qo("activeDateChange",function(t){return Rt(e),ta().activeDate=t})("monthSelected",function(t){return Rt(e),ta()._monthSelectedInYearView(t)})("selectedChange",function(t){return Rt(e),ta()._goToDateInView(t,"month")}),Vo()}if(2&e){const e=ta();Fo("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function JL(e,t){if(1&e){const e=Wo();No(0,"mat-multi-year-view",7),Qo("activeDateChange",function(t){return Rt(e),ta().activeDate=t})("yearSelected",function(t){return Rt(e),ta()._yearSelectedInMultiYearView(t)})("selectedChange",function(t){return Rt(e),ta()._goToDateInView(t,"year")}),Vo()}if(2&e){const e=ta();Fo("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function XL(e,t){}const ZL=["button"];function eE(e,t){1&e&&(dn(),No(0,"svg",3),Uo(1,"path",4),Vo())}const tE=[[["","matDatepickerToggleIcon",""]]],nE=["[matDatepickerToggleIcon]"];let iE=(()=>{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 rE{constructor(e,t,n,i,r={},s=e,o){this.value=e,this.displayValue=t,this.ariaLabel=n,this.enabled=i,this.cssClasses=r,this.compareValue=s,this.rawValue=o}}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 cc,this.previewChange=new cc,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&&oE(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($h(1)).subscribe(()=>{const t=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");t&&(e||(this._skipNextFocus=!0),t.focus())})})}_isRangeStart(e){return aE(e,this.startValue,this.endValue)}_isRangeEnd(e){return lE(e,this.startValue,this.endValue)}_isInRange(e){return cE(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return aE(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 lE(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return cE(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return aE(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return lE(e,this.previewStart,this.previewEnd)}_isInPreview(e){return cE(e,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(e){let t;if(oE(e)?t=e:oE(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)(Yo(el),Yo(Qc))},e.\u0275cmp=Ne({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:VL,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&&(jo(0,UL,3,6,"tr",0),jo(1,qL,3,2,"tr",1)),2&e&&(Fo("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 oE(e){return"TD"===e.nodeName}function aE(e,t,n){return null!==n&&t!==n&&e=t&&e===n}function cE(e,t,n,i){return i&&null!==t&&null!==n&&t!==n&&e>=t&&e<=n}class uE{constructor(e,t){this.start=e,this.end=t}}let dE=(()=>{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)(Yo(void 0),Yo(Ek))},e.\u0275dir=We({type:e}),e})(),hE=(()=>{class e extends dE{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(Ek))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();const pE={provide:dE,deps:[[new ki,new Si,dE],Ek],useFactory:function(e,t){return e||new hE(t)}},fE=new Zn("MAT_DATE_RANGE_SELECTION_STRATEGY");let mE=(()=>{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 cc,this._userSelection=new cc,this.activeDateChange=new cc,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 uE?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(Jh(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,o;this._selected instanceof uE?(s=this._getDateInCurrentMonth(this._selected.start),o=this._getDateInCurrentMonth(this._selected.end)):s=o=this._getDateInCurrentMonth(this._selected),s===t&&o===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 Jg:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?1:-1);break;case Zg:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?-1:1);break;case Xg:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case ey:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case Qg:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case Gg:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case Kg:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case $g:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case zg:case Wg:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:e}),e.preventDefault()));case qg:return void(null==this._previewEnd||ty(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 uE?(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)(Yo(Ml),Yo(Ok,8),Yo(Ek,8),Yo(Sg,8),Yo(fE,8))},e.\u0275cmp=Ne({type:e,selectors:[["mat-month-view"]],viewQuery:function(e,t){if(1&e&&kc(sE,1),2&e){let e;wc(e=Cc())&&(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&&(No(0,"table",0),No(1,"thead",1),No(2,"tr"),jo(3,WL,2,2,"th",2),Vo(),No(4,"tr"),Uo(5,"th",3),Vo(),Vo(),No(6,"tbody",4),Qo("selectedValueChange",function(e){return t._dateSelected(e)})("previewChange",function(e){return t._previewChanged(e)})("keydown",function(e){return t._handleCalendarBodyKeydown(e)}),Vo(),Vo()),2&e&&(rs(3),Fo("ngForOf",t._weekdays),rs(3),Fo("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:[Od,sE],encapsulation:2,changeDetection:0}),e})();const _E=24;let gE=(()=>{class e{constructor(e,t,n){this._changeDetectorRef=e,this._dateAdapter=t,this._dir=n,this._rerenderSubscription=d.EMPTY,this.selectedChange=new cc,this.yearSelected=new cc,this.activeDateChange=new cc,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),yE(this._dateAdapter,t,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof uE?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(Jh(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=[];t<_E;t++)n.push(e+t),4==n.length&&(this._years.push(n.map(e=>this._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 Jg:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?1:-1);break;case Zg:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?-1:1);break;case Xg:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case ey:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case Qg:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-bE(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case Gg:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,_E-bE(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case Kg:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-240:-24);break;case $g:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?240:_E);break;case zg:case Wg: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){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 rE(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 cc,this.monthSelected=new cc,this.activeDateChange=new cc,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 uE?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(Jh(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 Jg:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?1:-1);break;case Zg:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?-1:1);break;case Xg:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case ey:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case Qg:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case Gg:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case Kg:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case $g:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case zg:case Wg: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 rE(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-"+kE++,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+_E-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:_E)}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):yE(this._dateAdapter,e,t,this.calendar.minDate,this.calendar.maxDate)}}return e.\u0275fac=function(t){return new(t||e)(Yo(iE),Yo(se(()=>CE)),Yo(Ek,8),Yo(Ok,8),Yo(Ml))},e.\u0275cmp=Ne({type:e,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:KL,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&&(ia(),No(0,"div",0),No(1,"div",1),No(2,"button",2),Qo("click",function(){return t.currentPeriodClicked()}),No(3,"span"),xa(4),Vo(),Uo(5,"div",3),Vo(),Uo(6,"div",4),ra(7),No(8,"button",5),Qo("click",function(){return t.previousClicked()}),Vo(),No(9,"button",6),Qo("click",function(){return t.nextClicked()}),Vo(),Vo(),Vo()),2&e&&(rs(2),Io("aria-label",t.periodButtonLabel)("aria-describedby",t._buttonDescriptionId),rs(1),Io("id",t._buttonDescriptionId),rs(1),Ma(t.periodButtonText),rs(1),pa("mat-calendar-invert","month"!==t.calendar.currentView),rs(3),Fo("disabled",!t.previousEnabled()),Io("aria-label",t.prevButtonLabel),rs(1),Fo("disabled",!t.nextEnabled()),Io("aria-label",t.nextButtonLabel))},directives:[GS,hb],encapsulation:2,changeDetection:0}),e})(),CE=(()=>{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 cc,this.yearSelected=new cc,this.monthSelected=new cc,this.viewChanged=new cc(!0),this._userSelection=new cc,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 uE?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 jg(this.headerComponent||SE),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 uE||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)(Yo(iE),Yo(Ek,8),Yo(Ok,8),Yo(Ml))},e.\u0275cmp=Ne({type:e,selectors:[["mat-calendar"]],viewQuery:function(e,t){if(1&e&&(kc(mE,1),kc(wE,1),kc(gE,1)),2&e){let e;wc(e=Cc())&&(t.monthView=e.first),wc(e=Cc())&&(t.yearView=e.first),wc(e=Cc())&&(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:[Ka([pE]),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&&(jo(0,$L,0,0,"ng-template",0),No(1,"div",1),jo(2,GL,1,8,"mat-month-view",2),jo(3,QL,1,6,"mat-year-view",3),jo(4,JL,1,6,"mat-multi-year-view",4),Vo()),2&e&&(Fo("cdkPortalOutlet",t._calendarHeaderPortal),rs(1),Fo("ngSwitch",t.currentView),rs(1),Fo("ngSwitchCase","month"),rs(1),Fo("ngSwitchCase","year"),rs(1),Fo("ngSwitchCase","multi-year"))},directives:[Ng,yb,Rd,Yd,mE,wE,gE],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 xE={transformPanel:Db("transformPanel",[Tb("void",Ob({opacity:0,transform:"scale(1, 0.8)"})),Ib("void => enter",Lb("120ms cubic-bezier(0, 0, 0.2, 1)",Ob({opacity:1,transform:"scale(1, 1)"}))),Ib("* => void",Lb("100ms linear",Ob({opacity:0})))]),fadeInCalendar:Db("fadeInCalendar",[Tb("void",Ob({opacity:0})),Tb("enter",Ob({opacity:1})),Ib("void => *",Lb("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let ME=0;const DE=new Zn("mat-datepicker-scroll-strategy"),LE={provide:DE,deps:[Oy],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};class EE{constructor(e){this._elementRef=e}}const OE=Sk(EE);let TE=(()=>{class e extends OE{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 uE;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)(Yo(el),Yo(Ml),Yo(dE),Yo(Ek),Yo(fE,8),Yo(iE))},e.\u0275cmp=Ne({type:e,selectors:[["mat-datepicker-content"]],viewQuery:function(e,t){if(1&e&&kc(CE,1),2&e){let e;wc(e=Cc())&&(t._calendar=e.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(e,t){1&e&&Jo("@transformPanel.done",function(){return t._animationDone.next()}),2&e&&(Oa("@transformPanel",t._animationState),pa("mat-datepicker-content-touch",t.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[vo],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&&(No(0,"div",0),No(1,"mat-calendar",1),Qo("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)}),Vo(),jo(2,XL,0,0,"ng-template",2),No(3,"button",3),Qo("focus",function(){return t._closeButtonFocused=!0})("blur",function(){return t._closeButtonFocused=!1})("click",function(){return t.datepicker.close()}),xa(4),Vo(),Vo()),2&e&&(pa("mat-datepicker-content-container-with-actions",t._actionsPortal),rs(1),Fo("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),Fo("cdkPortalOutlet",t._actionsPortal),rs(1),pa("cdk-visually-hidden",!t._closeButtonFocused),Fo("color",t.color||"primary"),rs(1),Ma(t._closeButtonText))},directives:[lb,CE,Ld,Ng,GS],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:[xE.transformPanel,xE.fadeInCalendar]},changeDetection:0}),e})(),AE=(()=>{class e{constructor(e,t,n,i,r,s,o,a,l){this._dialog=e,this._overlay=t,this._ngZone=n,this._viewContainerRef=i,this._dateAdapter=s,this._dir=o,this._document=a,this._model=l,this._inputStateChanges=d.EMPTY,this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this.yearSelected=new cc,this.monthSelected=new cc,this.viewChanged=new cc(!0),this.openedStream=new cc,this.closedStream=new cc,this._opened=!1,this.id="mat-datepicker-"+ME++,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($h(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(TE,{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 jg(TE,this._viewContainerRef);this._destroyPopup(),this._createPopup(),this._popupComponentRef=this._popupRef.attach(e),this._forwardContentValues(this._popupComponentRef.instance),this._ngZone.onStable.pipe($h(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 uy({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"),q(this._popupRef.backdropClick(),this._popupRef.detachments(),this._popupRef.keydownEvents().pipe(tp(e=>e.keyCode===qg&&!ty(e)||this.datepickerInput&&ty(e,"altKey")&&e.keyCode===Xg))).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)(Yo(LS),Yo(Oy),Yo(Qc),Yo(Hl),Yo(DE),Yo(Ek,8),Yo(Sg,8),Yo(Eu,8),Yo(dE))},e.\u0275dir=We({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})(),IE=(()=>{class e extends AE{}return e.\u0275fac=function(t){return PE(t||e)},e.\u0275cmp=Ne({type:e,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[Ka([pE,{provide:AE,useExisting:e}]),vo],decls:0,vars:0,template:function(e,t){},encapsulation:2,changeDetection:0}),e})();const PE=Gn(IE);class jE{constructor(e,t){this.target=e,this.targetElement=t,this.value=this.target.value}}let RE=(()=>{class e{constructor(e,t,n){this._elementRef=e,this._dateAdapter=t,this._dateFormats=n,this.dateChange=new cc,this.dateInput=new cc,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 jE(this,this._elementRef.nativeElement)),this.dateChange.emit(new jE(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===ey&&!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 jE(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new jE(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)(Yo(el),Yo(Ek,8),Yo(Ok,8))},e.\u0275dir=We({type:e,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[ut]}),e})();const YE={provide:ZC,useExisting:se(()=>HE),multi:!0},FE={provide:ax,useExisting:se(()=>HE),multi:!0};let HE=(()=>{class e extends RE{constructor(e,t,n,i){super(e,t,n),this._formField=i,this._closedSubscription=d.EMPTY,this._validator=ux.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)(Yo(el),Yo(Ek,8),Yo(Ok,8),Yo(DL,8))},e.\u0275dir=We({type:e,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(e,t){1&e&&Qo("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&&(Ea("disabled",t.disabled),Io("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:[Ka([YE,FE,{provide:PL,useExisting:e}]),vo]}),e})(),NE=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=We({type:e,selectors:[["","matDatepickerToggleIcon",""]]}),e})(),VE=(()=>{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:Oh(),t=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:Oh(),n=this.datepicker?q(this.datepicker.openedStream,this.datepicker.closedStream):Oh();this._stateChanges.unsubscribe(),this._stateChanges=q(this._intl.changes,e,t,n).subscribe(()=>this._changeDetectorRef.markForCheck())}}return e.\u0275fac=function(t){return new(t||e)(Yo(iE),Yo(Ml),Qn("tabindex"))},e.\u0275cmp=Ne({type:e,selectors:[["mat-datepicker-toggle"]],contentQueries:function(e,t,n){if(1&e&&Sc(n,NE,1),2&e){let e;wc(e=Cc())&&(t._customIcon=e.first)}},viewQuery:function(e,t){if(1&e&&kc(ZL,1),2&e){let e;wc(e=Cc())&&(t._button=e.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(e,t){2&e&&(Io("tabindex",null)("data-mat-calendar",t.datepicker?t.datepicker.id:null),pa("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:nE,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&&(ia(tE),No(0,"button",0,1),Qo("click",function(e){return t._open(e)}),jo(2,eE,2,0,"svg",2),ra(3),Vo()),2&e&&(Fo("disabled",t.disabled)("disableRipple",t.disableRipple),Io("aria-haspopup",t.datepicker?"dialog":null)("aria-label",t.ariaLabel||t._intl.openCalendarLabel)("tabindex",t.disabled?-1:t.tabIndex),rs(2),Fo("ngIf",!t._customIcon))},directives:[GS,Ad],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})(),UE=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[iE,LE],imports:[[Kd,JS,ES,Ry,Sb,Vg,wk],Ag]}),e})();const BE=["ngx-mat-calendar-body",""];function zE(e,t){if(1&e&&(No(0,"tr",2),No(1,"td",3),xa(2),Vo(),Vo()),2&e){const e=ta();rs(1),ha("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),Io("colspan",e.numCols),rs(1),Da(" ",e.label," ")}}function qE(e,t){if(1&e&&(No(0,"td",7),xa(1),Vo()),2&e){const e=ta(2);ha("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),Io("colspan",e._firstRowOffset),rs(1),Da(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function WE(e,t){if(1&e){const e=Wo();No(0,"td",8),Qo("click",function(n){Rt(e);const i=t.$implicit;return ta(2)._cellClicked(i,n)}),No(1,"div",9),xa(2),Vo(),Uo(3,"div",10),Vo()}if(2&e){const e=t.$implicit,n=t.index,i=ta().index,r=ta();ha("width",r._cellWidth)("padding-top",r._cellPadding)("padding-bottom",r._cellPadding),pa("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)),Fo("ngClass",e.cssClasses)("tabindex",r._isActiveCell(i,n)?0:-1),Io("data-mat-row",i)("data-mat-col",n)("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-selected",r._isSelected(e)),rs(1),pa("mat-calendar-body-selected",r._isSelected(e))("mat-calendar-body-today",r.todayValue===e.compareValue),rs(1),Da(" ",e.displayValue," ")}}function KE(e,t){if(1&e&&(No(0,"tr",4),jo(1,qE,2,6,"td",5),jo(2,WE,4,44,"td",6),Vo()),2&e){const e=t.$implicit,n=t.index,i=ta();rs(1),Fo("ngIf",0===n&&i._firstRowOffset),rs(1),Fo("ngForOf",e)}}function $E(e,t){if(1&e&&(No(0,"th",5),xa(1),Vo()),2&e){const e=t.$implicit;Io("aria-label",e.long),rs(1),Ma(e.narrow)}}const GE=["*"];function QE(e,t){}function JE(e,t){if(1&e){const e=Wo();No(0,"ngx-mat-month-view",5),Qo("activeDateChange",function(t){return Rt(e),ta().activeDate=t})("selectedChange",function(t){return Rt(e),ta()._dateSelected(t)})("_userSelection",function(){return Rt(e),ta()._userSelected()}),Vo()}if(2&e){const e=ta();Fo("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function XE(e,t){if(1&e){const e=Wo();No(0,"ngx-mat-year-view",6),Qo("activeDateChange",function(t){return Rt(e),ta().activeDate=t})("monthSelected",function(t){return Rt(e),ta()._monthSelectedInYearView(t)})("selectedChange",function(t){return Rt(e),ta()._goToDateInView(t,"month")}),Vo()}if(2&e){const e=ta();Fo("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)}}function ZE(e,t){if(1&e){const e=Wo();No(0,"ngx-mat-multi-year-view",7),Qo("activeDateChange",function(t){return Rt(e),ta().activeDate=t})("yearSelected",function(t){return Rt(e),ta()._yearSelectedInMultiYearView(t)})("selectedChange",function(t){return Rt(e),ta()._goToDateInView(t,"year")}),Vo()}if(2&e){const e=ta();Fo("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)}}function eO(e,t){if(1&e){const e=Wo();No(0,"td"),No(1,"button",10),Qo("click",function(){return Rt(e),ta(2).change("second",!0)}),No(2,"mat-icon"),xa(3,"expand_less"),Vo(),Vo(),Vo()}if(2&e){const e=ta(2);rs(1),Fo("disabled",e.disabled||e.disableMinute)}}function tO(e,t){1&e&&Uo(0,"td",6)}function nO(e,t){1&e&&Uo(0,"td")}function iO(e,t){if(1&e){const e=Wo();No(0,"tr"),No(1,"td"),No(2,"button",10),Qo("click",function(){return Rt(e),ta().change("hour",!0)}),No(3,"mat-icon"),xa(4,"expand_less"),Vo(),Vo(),Vo(),Uo(5,"td"),No(6,"td"),No(7,"button",10),Qo("click",function(){return Rt(e),ta().change("minute",!0)}),No(8,"mat-icon"),xa(9,"expand_less"),Vo(),Vo(),Vo(),Uo(10,"td"),jo(11,eO,4,1,"td",3),jo(12,tO,1,0,"td",8),jo(13,nO,1,0,"td",3),Vo()}if(2&e){const e=ta();rs(2),Fo("disabled",e.disabled),rs(5),Fo("disabled",e.disabled||e.disableMinute),rs(4),Fo("ngIf",e.showSeconds),rs(1),Fo("ngIf",e.enableMeridian),rs(1),Fo("ngIf",e.enableMeridian)}}function rO(e,t){1&e&&(No(0,"td",6),xa(1,":"),Vo())}function sO(e,t){if(1&e){const e=Wo();No(0,"td"),No(1,"mat-form-field",4),No(2,"input",11),Qo("input",function(t){return Rt(e),ta().formatInput(t.target)})("keydown.ArrowUp",function(t){return Rt(e),ta().change("second",!0),t.preventDefault()})("keydown.ArrowDown",function(t){return Rt(e),ta().change("second",!1),t.preventDefault()})("blur",function(){return Rt(e),ta().change("second")}),Vo(),Vo(),Vo()}}function oO(e,t){1&e&&Uo(0,"td",6)}function aO(e,t){if(1&e){const e=Wo();No(0,"td",12),No(1,"button",13),Qo("click",function(){return Rt(e),ta().toggleMeridian()}),xa(2),Vo(),Vo()}if(2&e){const e=ta();rs(1),Fo("color",e.color)("disabled",e.disabled),rs(1),Da(" ",e.meridian," ")}}function lO(e,t){1&e&&Uo(0,"td")}function cO(e,t){if(1&e){const e=Wo();No(0,"td"),No(1,"button",14),Qo("click",function(){return Rt(e),ta(2).change("second",!1)}),No(2,"mat-icon"),xa(3,"expand_more"),Vo(),Vo(),Vo()}if(2&e){const e=ta(2);rs(1),Fo("disabled",e.disabled||e.disableMinute)}}function uO(e,t){1&e&&Uo(0,"td",6)}function dO(e,t){1&e&&Uo(0,"td")}function hO(e,t){if(1&e){const e=Wo();No(0,"tr"),No(1,"td"),No(2,"button",14),Qo("click",function(){return Rt(e),ta().change("hour",!1)}),No(3,"mat-icon"),xa(4,"expand_more"),Vo(),Vo(),Vo(),Uo(5,"td"),No(6,"td"),No(7,"button",14),Qo("click",function(){return Rt(e),ta().change("minute",!1)}),No(8,"mat-icon"),xa(9,"expand_more"),Vo(),Vo(),Vo(),jo(10,lO,1,0,"td",3),jo(11,cO,4,1,"td",3),jo(12,uO,1,0,"td",8),jo(13,dO,1,0,"td",3),Vo()}if(2&e){const e=ta();rs(2),Fo("disabled",e.disabled),rs(5),Fo("disabled",e.disabled||e.disableMinute),rs(3),Fo("ngIf",e.showSeconds),rs(1),Fo("ngIf",e.showSeconds),rs(1),Fo("ngIf",e.enableMeridian),rs(1),Fo("ngIf",e.enableMeridian)}}function pO(e,t){if(1&e){const e=Wo();No(0,"div",6),No(1,"ngx-mat-timepicker",7),Qo("ngModelChange",function(t){return Rt(e),ta(2).datepicker._selected=t}),Vo(),Vo()}if(2&e){const e=ta(2);pa("disable-seconds",!e.datepicker._showSeconds),rs(1),Fo("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 fO(e,t){1&e&&(No(0,"mat-icon"),xa(1,"done"),Vo())}function mO(e,t){}function _O(e,t){if(1&e){const e=Wo();Bo(0),jo(1,pO,2,12,"div",2),No(2,"div",3),No(3,"button",4),Qo("click",function(){return Rt(e),ta().datepicker.ok()}),jo(4,fO,2,0,"mat-icon",1),jo(5,mO,0,0,"ng-template",5),Vo(),Vo(),zo()}if(2&e){const e=ta();rs(1),Fo("ngIf",!e.datepicker._hideTime),rs(2),Fo("color",e.datepicker._color)("disabled",!e.valid),rs(1),Fo("ngIf",!e.datepicker._customIcon),rs(1),Fo("cdkPortalOutlet",e._templateCustomIconPortal)}}class gO extends Ek{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 yO=new Zn("ngx-mat-date-formats");class bO{constructor(e,t,n,i,r={},s=e,o){this.value=e,this.displayValue=t,this.ariaLabel=n,this.enabled=i,this.cssClasses=r,this.compareValue=s,this.rawValue=o}}let vO=(()=>{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 cc,this.previewChange=new cc,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&&wO(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($h(1)).subscribe(()=>{const t=this._elementRef.nativeElement.querySelector(".ngx-mat-calendar-body-active");t&&(e||(this._skipNextFocus=!0),t.focus())})})}_isRangeStart(e){return kO(e,this.startValue,this.endValue)}_isRangeEnd(e){return SO(e,this.startValue,this.endValue)}_isInRange(e){return CO(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return kO(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 SO(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return CO(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isPreviewStart(e){return kO(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return SO(e,this.previewStart,this.previewEnd)}_isInPreview(e){return CO(e,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(e){let t;if(wO(e)?t=e:wO(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)(Yo(el),Yo(Qc))},e.\u0275cmp=Ne({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:BE,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&&(jo(0,zE,3,6,"tr",0),jo(1,KE,3,2,"tr",1)),2&e&&(Fo("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 wO(e){return"TD"===e.nodeName}function kO(e,t,n){return null!==n&&t!==n&&e=t&&e===n}function CO(e,t,n,i){return i&&null!==t&&null!==n&&t!==n&&e>=t&&e<=n}const xO=new Zn("NGX_MAT_DATE_RANGE_SELECTION_STRATEGY");let MO=(()=>{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 uE(n,i)}createPreview(e,t){let n=null,i=null;return t.start&&!t.end&&e&&(n=t.start,i=e),new uE(n,i)}}return e.\u0275fac=function(t){return new(t||e)(gi(gO))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();const DO={minHour:0,maxHour:24,minMinute:0,maxMinute:60,minSecond:0,maxSecond:60,meridian:12},LO="AM",EO="PM",OO=/[^0-9]/g,TO=/^(2[0-3]|[0-1][0-9]|[0-9])$/,AO=/^([0-5][0-9]|[0-9])$/,IO=/^([0-5][0-9]|[0-9])$/;function PO(e){const t=e.toString();return t.length>1?t:`0${t}`}function jO(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 RO=(()=>{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 cc,this._userSelection=new cc,this.activeDateChange=new cc,!this._dateAdapter)throw jO("NgxMatDateAdapter");if(!this._dateFormats)throw jO("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 uE?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(Jh(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,o;this._selected instanceof uE?(s=this._getDateInCurrentMonth(this._selected.start),o=this._getDateInCurrentMonth(this._selected.end)):s=o=this._getDateInCurrentMonth(this._selected),s===t&&o===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 Jg:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?1:-1);break;case Zg:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?-1:1);break;case Xg:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case ey:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case Qg:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case Gg:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case Kg:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case $g:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case zg:case Wg:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:e}),e.preventDefault()));case qg: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 uE?(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)(Yo(Ml),Yo(yO,8),Yo(gO,8),Yo(Sg,8),Yo(xO,8))},e.\u0275cmp=Ne({type:e,selectors:[["ngx-mat-month-view"]],viewQuery:function(e,t){if(1&e&&kc(vO,1),2&e){let e;wc(e=Cc())&&(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&&(No(0,"table",0),No(1,"thead",1),No(2,"tr"),jo(3,$E,2,2,"th",2),Vo(),No(4,"tr"),Uo(5,"th",3),Vo(),Vo(),No(6,"tbody",4),Qo("selectedValueChange",function(e){return t._dateSelected(e)})("previewChange",function(e){return t._previewChanged(e)})("keydown",function(e){return t._handleCalendarBodyKeydown(e)}),Vo(),Vo()),2&e&&(rs(3),Fo("ngForOf",t._weekdays),rs(3),Fo("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:[Od,vO],encapsulation:2,changeDetection:0}),e})();const YO=24;let FO=(()=>{class e{constructor(e,t,n){if(this._changeDetectorRef=e,this._dateAdapter=t,this._dir=n,this._rerenderSubscription=d.EMPTY,this.selectedChange=new cc,this.yearSelected=new cc,this.activeDateChange=new cc,!this._dateAdapter)throw jO("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),HO(this._dateAdapter,t,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof uE?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(Jh(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const e=this._dateAdapter.getYear(this._activeDate)-NO(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 Jg:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?1:-1);break;case Zg:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?-1:1);break;case Xg:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case ey:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case Qg:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-NO(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case Gg:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,YO-NO(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case Kg:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-240:-24);break;case $g:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?240:YO);break;case zg:case Wg: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 NO(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 bO(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 cc,this.monthSelected=new cc,this.activeDateChange=new cc,!this._dateAdapter)throw jO("NgxMatDateAdapter");if(!this._dateFormats)throw jO("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 uE?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(Jh(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 Jg:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?1:-1);break;case Zg:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?-1:1);break;case Xg:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case ey:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case Qg:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case Gg:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case Kg:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case $g:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case zg:case Wg: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 bO(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)-NO(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),t=e+YO-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:YO)}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):HO(this._dateAdapter,e,t,this.calendar.minDate,this.calendar.maxDate)}}return e.\u0275fac=function(t){return new(t||e)(Yo(iE),Yo(se(()=>zO)),Yo(gO,8),Yo(yO,8),Yo(Ml))},e.\u0275cmp=Ne({type:e,selectors:[["ngx-mat-calendar-header"]],exportAs:["ngxMatCalendarHeader"],ngContentSelectors:GE,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&&(ia(),No(0,"div",0),No(1,"div",1),No(2,"button",2),Qo("click",function(){return t.currentPeriodClicked()}),xa(3),Uo(4,"div",3),Vo(),Uo(5,"div",4),ra(6),No(7,"button",5),Qo("click",function(){return t.previousClicked()}),Vo(),No(8,"button",6),Qo("click",function(){return t.nextClicked()}),Vo(),Vo(),Vo()),2&e&&(rs(2),Io("aria-label",t.periodButtonLabel),rs(1),Da(" ",t.periodButtonText," "),rs(1),pa("mat-calendar-invert","month"!=t.calendar.currentView),rs(3),Fo("disabled",!t.previousEnabled()),Io("aria-label",t.prevButtonLabel),rs(1),Fo("disabled",!t.nextEnabled()),Io("aria-label",t.nextButtonLabel))},directives:[GS],encapsulation:2,changeDetection:0}),e})(),zO=(()=>{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 cc,this.yearSelected=new cc,this.monthSelected=new cc,this._userSelection=new cc,this.stateChanges=new S,!this._dateAdapter)throw jO("NgxDateAdapter");if(!this._dateFormats)throw jO("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 jg(this.headerComponent||BO),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)(Yo(iE),Yo(gO,8),Yo(yO,8),Yo(Ml))},e.\u0275cmp=Ne({type:e,selectors:[["ngx-mat-calendar"]],viewQuery:function(e,t){if(1&e&&(kc(RO,1),kc(UO,1),kc(FO,1)),2&e){let e;wc(e=Cc())&&(t.monthView=e.first),wc(e=Cc())&&(t.yearView=e.first),wc(e=Cc())&&(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&&(jo(0,QE,0,0,"ng-template",0),No(1,"div",1),jo(2,JE,1,6,"ngx-mat-month-view",2),jo(3,XE,1,5,"ngx-mat-year-view",3),jo(4,ZE,1,5,"ngx-mat-multi-year-view",4),Vo()),2&e&&(Fo("cdkPortalOutlet",t._calendarHeaderPortal),rs(1),Fo("ngSwitch",t.currentView),rs(1),Fo("ngSwitchCase","month"),rs(1),Fo("ngSwitchCase","year"),rs(1),Fo("ngSwitchCase","multi-year"))},directives:[Ng,Rd,Yd,RO,UO,FO],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})(),qO=(()=>{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=LO,this._onChange=()=>{},this._onTouched=()=>{},this._destroyed=new S,this.pattern=TO,!this._dateAdapter)throw jO("NgxMatDateAdapter");this.form=this.formBuilder.group({hour:[{value:null,disabled:this.disabled},[ux.required,ux.pattern(TO)]],minute:[{value:null,disabled:this.disabled},[ux.required,ux.pattern(AO)]],second:[{value:null,disabled:this.disabled},[ux.required,ux.pattern(IO)]]})}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(Z_(this._destroyed),Yy(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(OO,"")}toggleMeridian(){this.meridian=this.meridian===LO?EO:LO,this.change("hour")}change(e,t){const n=this._getNextValueByProp(e,t);this.form.controls[e].setValue(PO(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>DO.meridian?(e-=DO.meridian,this.meridian=EO):this.meridian=LO),this.form.controls.hour.setValue(PO(e)),this.form.controls.minute.setValue(PO(t)),this.form.controls.second.setValue(PO(n))}_updateModel(){let e=this.hour;this.enableMeridian&&this.meridian===EO&&e!==DO.meridian&&(e+=DO.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=DO[`min${n}`];let r,s=DO[`max${n}`];return"hour"===e&&this.enableMeridian&&(s=DO.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&&(No(0,"form",0),No(1,"table",1),No(2,"tbody",2),jo(3,iO,14,5,"tr",3),No(4,"tr"),No(5,"td"),No(6,"mat-form-field",4),No(7,"input",5),Qo("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")}),Vo(),Vo(),Vo(),No(8,"td",6),xa(9,":"),Vo(),No(10,"td"),No(11,"mat-form-field",4),No(12,"input",7),Qo("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")}),Vo(),Vo(),Vo(),jo(13,rO,2,0,"td",8),jo(14,sO,3,0,"td",3),jo(15,oO,1,0,"td",8),jo(16,aO,3,3,"td",9),Vo(),jo(17,hO,14,6,"tr",3),Vo(),Vo(),Vo()),2&e&&(Fo("formGroup",t.form),rs(3),Fo("ngIf",t.showSpinners),rs(10),Fo("ngIf",t.showSeconds),rs(1),Fo("ngIf",t.showSeconds),rs(1),Fo("ngIf",t.enableMeridian),rs(1),Fo("ngIf",t.enableMeridian),rs(1),Fo("ngIf",t.showSpinners))},directives:[gM,Dx,kM,Ad,LL,HL,rx,LM,Mx,CM,GS,zD],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})(),WO=0;const KO=Sk(class{constructor(e){this._elementRef=e}});let $O=(()=>{class e extends KO{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 Rg(this.datepicker._customIcon,this._viewContainerRef),this.cd.detectChanges())}}return e.\u0275fac=function(t){return new(t||e)(Yo(el),Yo(Ml),Yo(Hl))},e.\u0275cmp=Ne({type:e,selectors:[["ngx-mat-datetime-content"]],viewQuery:function(e,t){if(1&e&&(kc(zO,1),kc(qO,1)),2&e){let e;wc(e=Cc())&&(t._calendar=e.first),wc(e=Cc())&&(t._timePicker=e.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(e,t){2&e&&(Oa("@transformPanel","enter"),pa("mat-datepicker-content-touch",t.datepicker.touchUi))},inputs:{color:"color"},exportAs:["ngxMatDatetimeContent"],features:[vo],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&&(No(0,"ngx-mat-calendar",0),Qo("selectedChange",function(e){return t.datepicker.select(e)})("yearSelected",function(e){return t.datepicker._selectYear(e)})("monthSelected",function(e){return t.datepicker._selectMonth(e)}),Vo(),jo(1,_O,6,5,"ng-container",1)),2&e&&(Fo("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),Fo("ngIf",t.isViewMonth))},directives:[zO,Ld,Ad,GS,Ng,qO,Mx,_M,zD],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:[xE.transformPanel,xE.fadeInCalendar]},changeDetection:0}),e})(),GO=(()=>{class e{constructor(e,t,n,i,r,s,o,a){if(this._dialog=e,this._overlay=t,this._ngZone=n,this._viewContainerRef=i,this._dateAdapter=s,this._dir=o,this._document=a,this.startView="month",this._defaultColor="primary",this._touchUi=!1,this._hideTime=!1,this.yearSelected=new cc,this.monthSelected=new cc,this.openedStream=new cc,this.closedStream=new cc,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-"+WO++,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 jO("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($O,{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 jg($O,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($h(1)).subscribe(()=>{this._popupRef.updatePosition()}))}_createPopup(){const e=new uy({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"),q(this._popupRef.backdropClick(),this._popupRef.detachments(),this._popupRef.keydownEvents().pipe(tp(e=>e.keyCode===qg||this.datepickerInput&&e.altKey&&e.keyCode===Xg))).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)(Yo(LS),Yo(Oy),Yo(Qc),Yo(Hl),Yo(DE),Yo(gO,8),Yo(Sg,8),Yo(Eu,8))},e.\u0275cmp=Ne({type:e,selectors:[["ngx-mat-datetime-picker"]],contentQueries:function(e,t,n){if(1&e&&Sc(n,Al,1),2&e){let e;wc(e=Cc())&&(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 QO={provide:ZC,useExisting:se(()=>eT),multi:!0},JO={provide:ax,useExisting:se(()=>eT),multi:!0};class XO{constructor(e,t){this.target=e,this.targetElement=t,this.value=this.target.value}}let ZO,eT=(()=>{class e{constructor(e,t,n,i){if(this._elementRef=e,this._dateAdapter=t,this._dateFormats=n,this._formField=i,this.dateChange=new cc,this.dateInput=new cc,this._valueChange=new cc,this.stateChanges=new cc,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=ux.compose([this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]),this._lastValueValid=!1,!this._dateAdapter)throw jO("NgxMatDateAdapter");if(!this._dateFormats)throw jO("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 XO(this,this._elementRef.nativeElement)),this.dateChange.emit(new XO(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===ey&&!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 XO(this,this._elementRef.nativeElement))):t!==this._lastValueValid&&this._validatorOnChange()}_onChange(){this.dateChange.emit(new XO(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)(Yo(el),Yo(gO,8),Yo(yO,8),Yo(LL,8))},e.\u0275dir=We({type:e,selectors:[["input","ngxMatDatetimePicker",""]],hostVars:5,hostBindings:function(e,t){1&e&&Qo("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&&(Ea("disabled",t.disabled),Io("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:[Ka([QO,JO,{provide:PL,useExisting:e}])]}),e})(),tT=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Kd,NL,AM,TM,qD,JS]]}),e})(),nT=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[LE,{provide:xO,useClass:MO}],imports:[[Kd,UE,ES,Vg,TM,qD,JS,NL,tT]]}),e})();try{ZO="undefined"!=typeof Intl}catch(gV){ZO=!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 iT=n("wd/R");const rT=n.n(iT).a||iT,sT=new Zn("NGX_MAT_MOMENT_DATE_ADAPTER_OPTIONS",{providedIn:"root",factory:function(){return{useUtc:!1}}});function oT(e,t){const n=Array(e);for(let i=0;i{class e extends gO{constructor(e,t){super(),this._options=t,this.setLocale(e||rT.locale())}setLocale(e){super.setLocale(e);let t=rT.localeData(e);this._localeData={firstDayOfWeek:t.firstDayOfWeek(),longMonths:t.months(),shortMonths:t.monthsShort(),dates:oT(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,rT.ISO_8601).locale(this.locale)}return t&&this.isValid(t)?this._createMoment(t).locale(this.locale):super.deserialize(e)}isDateInstance(e){return rT.isMoment(e)}isValid(e){return this.clone(e).isValid()}invalid(){return rT.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?rT.utc(e,t,n,i):rT(e,t,n,i)}}return e.\u0275fac=function(t){return new(t||e)(gi(Lk,8),gi(sT,8))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();const lT=["matPrefix"],cT=["matSuffix"],uT=["fieldComponent"];function dT(e,t){1&e&&(No(0,"span",8),xa(1,"*"),Vo())}function hT(e,t){if(1&e&&(No(0,"mat-label"),xa(1),jo(2,dT,2,0,"span",7),Vo()),2&e){const e=ta();rs(1),Da(" ",e.to.label," "),rs(1),Fo("ngIf",e.to.required&&!0!==e.to.hideRequiredMarker)}}function pT(e,t){1&e&&qo(0)}function fT(e,t){if(1&e&&(Bo(0,9),jo(1,pT,1,0,"ng-container",10),zo()),2&e){const e=ta();rs(1),Fo("ngTemplateOutlet",e.to.prefix?e.to.prefix:e.formlyField._matprefix)}}function mT(e,t){1&e&&qo(0)}function _T(e,t){if(1&e&&(Bo(0,11),jo(1,mT,1,0,"ng-container",10),zo()),2&e){const e=ta();rs(1),Fo("ngTemplateOutlet",e.to.suffix?e.to.suffix:e.formlyField._matsuffix)}}function gT(e,t){if(1&e&&(No(0,"mat-hint",12),xa(1),Vo()),2&e){const e=ta();Fo("id",null),rs(1),Ma(e.to.description)}}class yT{constructor(e){this.field=e}isErrorState(e,t){return this.field&&this.field.showError}}let bT=(()=>{class e extends uD{constructor(){super(...arguments),this.errorStateMatcher=new yT(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(()=>{JM(this.field,"_matprefix",this.matPrefix),JM(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 vT(t||e)},e.\u0275dir=We({type:e,viewQuery:function(e,t){if(1&e&&(kc(lT,1),kc(cT,1)),2&e){let e;wc(e=Cc())&&(t.matPrefix=e.first),wc(e=Cc())&&(t.matSuffix=e.first)}},features:[vo]}),e})();const vT=Gn(bT);let wT=(()=>{class e extends dD{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,JM(this.field,"__formField__",this.formField);const e=this.config.resolveFieldTypeRef(this.formlyField);!e||e.instance instanceof bT||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)(Yo(tD),Yo(il),Yo(el),Yo(_b))},e.\u0275cmp=Ne({type:e,selectors:[["formly-wrapper-mat-form-field"]],viewQuery:function(e,t){if(1&e&&(kc(uT,3,Hl),kc(LL,3)),2&e){let e;wc(e=Cc())&&(t.fieldComponent=e.first),wc(e=Cc())&&(t.formField=e.first)}},features:[Ka([{provide:pL,useExisting:e}]),vo],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&&(No(0,"mat-form-field",0),qo(1,null,1),jo(3,hT,3,2,"mat-label",2),jo(4,fT,2,1,"ng-container",3),jo(5,_T,2,1,"ng-container",4),No(6,"mat-error"),Uo(7,"formly-validation-message",5),Vo(),jo(8,gT,2,2,"mat-hint",6),Vo()),2&e&&(ha("width","100%"),Fo("hideRequiredMarker",!0)("floatLabel",t.to.floatLabel)("appearance",t.to.appearance)("color",t.to.color),rs(3),Fo("ngIf",t.to.label&&!0!==t.to.hideLabel),rs(1),Fo("ngIf",t.to.prefix||t.formlyField._matprefix),rs(1),Fo("ngIf",t.to.suffix||t.formlyField._matsuffix),rs(2),Fo("field",t.field),rs(1),Fo("ngIf",t.to.description))},directives:[LL,Ad,dL,mD,gL,vL,Hd,kL,_L],encapsulation:2}),e})(),kT=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Kd,AM,EL,SD.forChild({wrappers:[{name:"form-field",component:wT}]})]]}),e})();function ST(e,t){if(1&e&&Uo(0,"input",2),2&e){const e=ta();Fo("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 CT(e,t){if(1&e&&Uo(0,"input",3),2&e){const e=ta();Fo("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 xT=(()=>{class e extends bT{get type(){return this.to.type||"text"}}return e.\u0275fac=function(t){return MT(t||e)},e.\u0275cmp=Ne({type:e,selectors:[["formly-field-mat-input"]],viewQuery:function(e,t){if(1&e&&kc(HL,1),2&e){let e;wc(e=Cc())&&(t.formFieldControl=e.first)}},features:[vo],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&&(jo(0,ST,1,9,"input",0),jo(1,CT,1,8,"ng-template",null,1,Lc)),2&e){const e=Ro(2);Fo("ngIf","number"!==t.type)("ngIfElse",e)}},directives:[Ad,HL,rx,MM,Mx,vM,cD,Ex],encapsulation:2}),e})();const MT=Gn(xT);let DT=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Kd,AM,NL,kT,SD.forChild({types:[{name:"input",component:xT,wrappers:["form-field"]}]})]]}),e})(),LT=(()=>{class e extends bT{constructor(){super(...arguments),this.defaultOptions={templateOptions:{cols:1,rows:1}}}}return e.\u0275fac=function(t){return ET(t||e)},e.\u0275cmp=Ne({type:e,selectors:[["formly-field-mat-textarea"]],viewQuery:function(e,t){if(1&e&&kc(HL,3),2&e){let e;wc(e=Cc())&&(t.formFieldControl=e.first)}},features:[Ka([{provide:PL,useExisting:e}]),vo],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&&(No(0,"textarea",0),xa(1," "),Vo()),2&e&&(pa("cdk-textarea-autosize",t.to.autosize),Fo("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:[HL,rx,AL,MM,Mx,vM,cD],encapsulation:2}),e})();const ET=Gn(LT);let OT=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Kd,AM,NL,kT,SD.forChild({types:[{name:"textarea",component:LT,wrappers:["form-field"]}]})]]}),e})(),TT=(()=>{class e{transform(e,t){return e instanceof y||(e=Oh(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})(),AT=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)}}),e})();const IT=["input"],PT=function(){return{enterDuration:150}},jT=["*"],RT=new Zn("mat-radio-default-options",{providedIn:"root",factory:function(){return{color:"accent"}}});let YT=0;const FT={provide:ZC,useExisting:se(()=>UT),multi:!0};class HT{constructor(e,t){this.source=e,this.value=t}}const NT=new Zn("MatRadioGroup");let VT=(()=>{class e{constructor(e){this._changeDetector=e,this._value=null,this._name="mat-radio-group-"+YT++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new cc}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 HT(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)(Yo(Ml))},e.\u0275dir=We({type:e,inputs:{name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"}}),e})(),UT=(()=>{class e extends VT{}return e.\u0275fac=function(t){return BT(t||e)},e.\u0275dir=We({type:e,selectors:[["mat-radio-group"]],contentQueries:function(e,t,n){if(1&e&&Sc(n,KT,1),2&e){let e;wc(e=Cc())&&(t._radios=e)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[Ka([FT,{provide:NT,useExisting:e}]),vo]}),e})();const BT=Gn(UT);class zT{constructor(e){this._elementRef=e}}const qT=Ck(xk(zT));let WT=(()=>{class e extends qT{constructor(e,t,n,i,r,s,o,a){super(t),this._changeDetector=n,this._focusMonitor=i,this._radioDispatcher=r,this._animationMode=s,this._providerOverride=o,this._uniqueId="mat-radio-"+ ++YT,this.id=this._uniqueId,this.change=new cc,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=e,a&&(this.tabIndex=C_(a,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 HT(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)(Yo(VT),Yo(el),Yo(Ml),Yo(_b),Yo(Lg),Yo(String),Yo(void 0),Yo(String))},e.\u0275dir=We({type:e,viewQuery:function(e,t){if(1&e&&kc(IT,1),2&e){let e;wc(e=Cc())&&(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:[vo]}),e})(),KT=(()=>{class e extends WT{constructor(e,t,n,i,r,s,o,a){super(e,t,n,i,r,s,o,a)}}return e.\u0275fac=function(t){return new(t||e)(Yo(NT,8),Yo(el),Yo(Ml),Yo(_b),Yo(Lg),Yo(ck,8),Yo(RT,8),Qn("tabindex"))},e.\u0275cmp=Ne({type:e,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(e,t){1&e&&Qo("focus",function(){return t._inputElement.nativeElement.focus()}),2&e&&(Io("tabindex",null)("id",t.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),pa("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:[vo],ngContentSelectors:jT,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&&(ia(),No(0,"label",0,1),No(2,"span",2),Uo(3,"span",3),Uo(4,"span",4),No(5,"input",5,6),Qo("change",function(e){return t._onInputChange(e)})("click",function(e){return t._onInputClick(e)}),Vo(),No(7,"span",7),Uo(8,"span",8),Vo(),Vo(),No(9,"span",9),No(10,"span",10),xa(11,"\xa0"),Vo(),ra(12),Vo(),Vo()),2&e){const e=Ro(1);Io("for",t.inputId),rs(5),Fo("id",t.inputId)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex)("required",t.required),Io("name",t.name)("value",t.value)("aria-label",t.ariaLabel)("aria-labelledby",t.ariaLabelledby)("aria-describedby",t.ariaDescribedby),rs(2),Fo("matRippleTrigger",e)("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",ec(18,PT)),rs(2),pa("mat-radio-label-before","before"==t.labelPosition)}},directives:[Qk],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})(),$T=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Jk,wk],wk]}),e})();function GT(e,t){if(1&e&&(No(0,"mat-radio-button",2),xa(1),Vo()),2&e){const e=t.$implicit,n=t.index,i=ta();Fo("id",i.id+"_"+n)("color",i.to.color)("labelPosition",i.to.labelPosition)("disabled",e.disabled)("value",e.value),rs(1),Da(" ",e.label," ")}}let QT=(()=>{class e extends bT{constructor(){super(...arguments),this.defaultOptions={templateOptions:{hideFieldUnderline:!0,floatLabel:"always",options:[],tabindex:-1}}}ngAfterViewInit(){this.focusObserver=XM(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 JT(t||e)},e.\u0275cmp=Ne({type:e,selectors:[["formly-field-mat-radio"]],viewQuery:function(e,t){if(1&e&&kc(UT,1),2&e){let e;wc(e=Cc())&&(t.radioGroup=e.first)}},features:[vo],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&&(No(0,"mat-radio-group",0),jo(1,GT,2,6,"mat-radio-button",1),rc(2,"async"),rc(3,"formlySelectOptions"),Vo()),2&e&&(Fo("formControl",t.formControl)("formlyAttributes",t.field)("required",t.to.required)("tabindex",t.to.tabindex),rs(1),Fo("ngForOf",sc(2,5,oc(3,7,t.to.options,t.field))))},directives:[UT,Mx,vM,cD,MM,Od,KT],pipes:[qd,TT],encapsulation:2}),e})();const JT=Gn(QT);let XT=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Kd,AM,$T,kT,AT,SD.forChild({types:[{name:"radio",component:QT,wrappers:["form-field"]}]})]]}),e})();const ZT=["input"],eA=function(){return{enterDuration:150}},tA=["*"],nA=new Zn("mat-checkbox-default-options",{providedIn:"root",factory:iA});function iA(){return{color:"accent",clickAction:"check-indeterminate"}}let rA=0;const sA=iA(),oA={provide:ZC,useExisting:se(()=>uA),multi:!0};class aA{}class lA{constructor(e){this._elementRef=e}}const cA=xk(Sk(Ck(kk(lA))));let uA=(()=>{class e extends cA{constructor(e,t,n,i,r,s,o){super(e),this._changeDetectorRef=t,this._focusMonitor=n,this._ngZone=i,this._animationMode=s,this._options=o,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++rA,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new cc,this.indeterminateChange=new cc,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||sA,this.color=this.defaultColor=this._options.color||sA.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 aA;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)(Yo(el),Yo(Ml),Yo(_b),Yo(Qc),Qn("tabindex"),Yo(ck,8),Yo(nA,8))},e.\u0275cmp=Ne({type:e,selectors:[["mat-checkbox"]],viewQuery:function(e,t){if(1&e&&(kc(ZT,1),kc(Qk,1)),2&e){let e;wc(e=Cc())&&(t._inputElement=e.first),wc(e=Cc())&&(t.ripple=e.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(e,t){2&e&&(Ea("id",t.id),Io("tabindex",null),pa("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:[Ka([oA]),vo],ngContentSelectors:tA,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&&(ia(),No(0,"label",0,1),No(2,"span",2),No(3,"input",3,4),Qo("change",function(e){return t._onInteractionEvent(e)})("click",function(e){return t._onInputClick(e)}),Vo(),No(5,"span",5),Uo(6,"span",6),Vo(),Uo(7,"span",7),No(8,"span",8),dn(),No(9,"svg",9),Uo(10,"path",10),Vo(),hn(),Uo(11,"span",11),Vo(),Vo(),No(12,"span",12,13),Qo("cdkObserveContent",function(){return t._onLabelTextChange()}),No(14,"span",14),xa(15,"\xa0"),Vo(),ra(16),Vo(),Vo()),2&e){const e=Ro(1),n=Ro(13);Io("for",t.inputId),rs(2),pa("mat-checkbox-inner-container-no-side-margin",!n.textContent||!n.textContent.trim()),rs(1),Fo("id",t.inputId)("required",t.required)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex),Io("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),Fo("matRippleTrigger",e)("matRippleDisabled",t._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",ec(19,eA))}},directives:[Qk,By],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})(),dA=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)}}),e})(),hA=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Jk,wk,zy,dA],wk,dA]}),e})();function pA(e,t){1&e&&(No(0,"span",2),xa(1,"*"),Vo())}let fA=(()=>{class e extends bT{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)(Yo(il),Yo(_b))},e.\u0275cmp=Ne({type:e,selectors:[["formly-field-mat-checkbox"]],viewQuery:function(e,t){if(1&e&&kc(uA,1),2&e){let e;wc(e=Cc())&&(t.checkbox=e.first)}},features:[vo],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&&(No(0,"mat-checkbox",0),xa(1),jo(2,pA,2,0,"span",1),Vo()),2&e&&(Fo("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),Da(" ",t.to.label," "),rs(1),Fo("ngIf",t.to.required&&!0!==t.to.hideRequiredMarker))},directives:[uA,Mx,vM,cD,Ad],encapsulation:2}),e})(),mA=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Kd,AM,hA,kT,SD.forChild({types:[{name:"checkbox",component:fA,wrappers:["form-field"]}]})]]}),e})();function _A(e,t){if(1&e){const e=Wo();Bo(0),No(1,"mat-checkbox",1),Qo("change",function(n){Rt(e);const i=t.$implicit;return ta().onChange(i.value,n.checked)}),xa(2),Vo(),zo()}if(2&e){const e=t.$implicit,n=t.index,i=ta();rs(1),Fo("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),Da(" ",e.label," ")}}let gA=(()=>{class e extends bT{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 yA(t||e)},e.\u0275cmp=Ne({type:e,selectors:[["formly-field-mat-multicheckbox"]],viewQuery:function(e,t){if(1&e&&kc(uA,1),2&e){let e;wc(e=Cc())&&(t.checkboxes=e)}},features:[vo],decls:3,vars:6,consts:[[4,"ngFor","ngForOf"],[3,"id","formlyAttributes","tabIndex","color","labelPosition","checked","disabled","change"]],template:function(e,t){1&e&&(jo(0,_A,3,8,"ng-container",0),rc(1,"async"),rc(2,"formlySelectOptions")),2&e&&Fo("ngForOf",sc(1,1,oc(2,3,t.to.options,t.field)))},directives:[Od,uA,cD],pipes:[qd,TT],encapsulation:2}),e})();const yA=Gn(gA);let bA=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Kd,AM,hA,kT,AT,SD.forChild({types:[{name:"multicheckbox",component:gA,wrappers:["form-field"]}]})]]}),e})();const vA=["trigger"],wA=["panel"];function kA(e,t){if(1&e&&(No(0,"span",8),xa(1),Vo()),2&e){const e=ta();rs(1),Ma(e.placeholder||"\xa0")}}function SA(e,t){if(1&e&&(No(0,"span"),xa(1),Vo()),2&e){const e=ta(2);rs(1),Ma(e.triggerValue||"\xa0")}}function CA(e,t){1&e&&ra(0,0,["*ngSwitchCase","true"])}function xA(e,t){1&e&&(No(0,"span",9),jo(1,SA,2,1,"span",10),jo(2,CA,1,0,"ng-content",11),Vo()),2&e&&(Fo("ngSwitch",!!ta().customTrigger),rs(2),Fo("ngSwitchCase",!0))}function MA(e,t){if(1&e){const e=Wo();No(0,"div",12),No(1,"div",13,14),Qo("@transformPanel.done",function(t){return Rt(e),ta()._panelDoneAnimatingStream.next(t.toState)})("keydown",function(t){return Rt(e),ta()._handleKeydown(t)}),ra(3,1),Vo(),Vo()}if(2&e){const e=ta();Fo("@transformPanelWrap",void 0),rs(1),"mat-select-panel ",n=e._getPanelTheme(),"",_a(ai,fa,Po(Pt(),"mat-select-panel ",n,""),!0),ha("transform-origin",e._transformOrigin)("font-size",e._triggerFontSize,"px"),Fo("ngClass",e.panelClass)("@transformPanel",e.multiple?"showing-multiple":"showing"),Io("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}var n}const DA=[[["mat-select-trigger"]],"*"],LA=["mat-select-trigger","*"],EA={transformPanelWrap:Db("transformPanelWrap",[Ib("* => void",jb("@transformPanel",[Pb()],{optional:!0}))]),transformPanel:Db("transformPanel",[Tb("void",Ob({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Tb("showing",Ob({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Tb("showing-multiple",Ob({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Ib("void => *",Lb("120ms cubic-bezier(0, 0, 0.2, 1)")),Ib("* => void",Lb("100ms 25ms linear",Ob({opacity:0})))])};let OA=0;const TA=256,AA=new Zn("mat-select-scroll-strategy"),IA=new Zn("MAT_SELECT_CONFIG"),PA={provide:AA,deps:[Oy],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};class jA{constructor(e,t){this.source=e,this.value=t}}class RA{constructor(e,t,n,i,r){this._elementRef=e,this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=i,this.ngControl=r}}const YA=Ck(xk(kk(Mk(RA)))),FA=new Zn("MatSelectTrigger");let HA=(()=>{class e extends YA{constructor(e,t,n,i,r,s,o,a,l,c,u,d,h,p){var f,m,_;super(r,i,o,a,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-"+OA++,this._triggerAriaLabelledBy=null,this._destroy=new S,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+OA++,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=Bh(()=>{const e=this.options;return e?e.changes.pipe(Jh(e),zh(()=>q(...e.map(e=>e.onSelectionChange)))):this._ngZone.onStable.pipe($h(1),zh(()=>this.optionSelectionChanges))}),this.openedChange=new cc,this._openedStream=this.openedChange.pipe(tp(e=>e),M(()=>{})),this._closedStream=this.openedChange.pipe(tp(e=>!e),M(()=>{})),this.selectionChange=new cc,this.valueChange=new cc,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=C_(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new Dg(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(z_(),Z_(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(Z_(this._destroy)).subscribe(e=>{e.added.forEach(e=>e.select()),e.removed.forEach(e=>e.deselect())}),this.options.changes.pipe(Jh(null),Z_(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===ey||t===Xg||t===Jg||t===Zg,i=t===zg||t===Wg,r=this._keyManager;if(!r.isTyping()&&i&&!ty(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===ey||n===Xg,r=t.isTyping();if(i&&e.altKey)e.preventDefault(),this.close();else if(r||n!==zg&&n!==Wg||!t.activeItem||ty(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($h(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 tb(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Z_(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(Z_(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=q(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Z_(e)).subscribe(e=>{this._onSelect(e.source,e.isUserInput),e.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),q(...this.options.map(e=>e._stateChanges)).pipe(Z_(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)(Yo(Tg),Yo(Ml),Yo(Qc),Yo(Vk),Yo(el),Yo(Sg,8),Yo(pM,8),Yo(kM,8),Yo(DL,8),Yo(Cx,10),Qn("tabindex"),Yo(AA),Yo(db),Yo(IA,8))},e.\u0275dir=We({type:e,viewQuery:function(e,t){if(1&e&&(kc(vA,1),kc(wA,1),kc(Py,1)),2&e){let e;wc(e=Cc())&&(t.trigger=e.first),wc(e=Cc())&&(t.panel=e.first),wc(e=Cc())&&(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:[vo,ut]}),e})(),NA=(()=>{class e extends HA{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(Z_(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($h(1)).subscribe(()=>{this._triggerFontSize&&this.overlayDir.overlayRef&&this.overlayDir.overlayRef.overlayElement&&(this.overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(e){const t=hS(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 jA(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)),o=e.right+r-t.width+(n?0:i);s>0?r+=s+8:o>0&&(r-=o+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(TA/i);let o;return this.disableOptionCentering?0:(o=0===this._scrollTop?e*i:this._scrollTop===n?(e-(this._getItemCount()-s))*i+(i-(this._getItemCount()*i-TA)%i):t-i/2,Math.round(-1*o-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),o=Math.min(this._getItemCount()*t,TA)-s-this._triggerRect.height;o>r?this._adjustPanelUp(o,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,TA),i=t*e-n;let r;r=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),r+=hS(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 VA(t||e)},e.\u0275cmp=Ne({type:e,selectors:[["mat-select"]],contentQueries:function(e,t,n){if(1&e&&(Sc(n,FA,1),Sc(n,dS,1),Sc(n,sS,1)),2&e){let e;wc(e=Cc())&&(t.customTrigger=e.first),wc(e=Cc())&&(t.options=e),wc(e=Cc())&&(t.optionGroups=e)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(e,t){1&e&&Qo("keydown",function(e){return t._handleKeydown(e)})("focus",function(){return t._onFocus()})("blur",function(){return t._onBlur()}),2&e&&(Io("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()),pa("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:[Ka([{provide:pL,useExisting:e},{provide:eS,useExisting:e}]),vo],ngContentSelectors:LA,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&&(ia(DA),No(0,"div",0,1),Qo("click",function(){return t.toggle()}),No(3,"div",2),jo(4,kA,2,1,"span",3),jo(5,xA,3,2,"span",4),Vo(),No(6,"div",5),Uo(7,"div",6),Vo(),Vo(),jo(8,MA,4,14,"ng-template",7),Qo("backdropClick",function(){return t.close()})("attach",function(){return t._onAttached()})("detach",function(){return t.close()})),2&e){const e=Ro(1);Io("aria-owns",t.panelOpen?t.id+"-panel":null),rs(3),Fo("ngSwitch",t.empty),Io("id",t._valueId),rs(1),Fo("ngSwitchCase",!0),rs(1),Fo("ngSwitchCase",!1),rs(3),Fo("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:[Iy,Rd,Yd,Py,Fd,Ld],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:[EA.transformPanelWrap,EA.transformPanel]},changeDetection:0}),e})();const VA=Gn(NA);let UA=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[PA],imports:[[Kd,Ry,pS,wk],Ag,EL,pS,wk]}),e})();function BA(e,t){if(1&e){const e=Wo();No(0,"mat-option",3),Qo("click",function(){Rt(e);const n=t.selectOptions;return ta().toggleSelectAll(n)}),Uo(1,"mat-pseudo-checkbox",4),xa(2),Vo()}if(2&e){const e=t.selectOptions,n=ta();rs(1),Fo("state",n.getSelectAllState(e)),rs(1),Da(" ",n.to.selectAllOption," ")}}const zA=function(e){return{selectOptions:e}};function qA(e,t){if(1&e&&qo(0,7),2&e){const e=ta().ngIf;ta(),Fo("ngTemplateOutlet",Ro(1))("ngTemplateOutletContext",tc(2,zA,e))}}function WA(e,t){if(1&e&&(No(0,"mat-option",12),xa(1),Vo()),2&e){const e=t.$implicit;Fo("value",e.value)("disabled",e.disabled),rs(1),Da(" ",e.label," ")}}function KA(e,t){if(1&e&&(No(0,"mat-optgroup",10),jo(1,WA,2,3,"mat-option",11),Vo()),2&e){const e=ta().$implicit;Fo("label",e.label),rs(1),Fo("ngForOf",e.group)}}function $A(e,t){if(1&e&&(No(0,"mat-option",12),xa(1),Vo()),2&e){const e=ta().$implicit;Fo("value",e.value)("disabled",e.disabled),rs(1),Ma(e.label)}}function GA(e,t){if(1&e&&(Bo(0),jo(1,KA,2,2,"mat-optgroup",8),jo(2,$A,2,3,"mat-option",9),zo()),2&e){const e=t.$implicit;rs(1),Fo("ngIf",e.group),rs(1),Fo("ngIf",!e.group)}}function QA(e,t){if(1&e&&(Bo(0),jo(1,qA,1,4,"ng-container",5),jo(2,GA,3,2,"ng-container",6),zo()),2&e){const e=t.ngIf,n=ta();rs(1),Fo("ngIf",n.to.multiple&&n.to.selectAllOption),rs(1),Fo("ngForOf",e)}}let JA=(()=>{class e extends bT{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 XA(t||e)},e.\u0275cmp=Ne({type:e,selectors:[["formly-field-mat-select"]],viewQuery:function(e,t){if(1&e&&kc(NA,3),2&e){let e;wc(e=Cc())&&(t.formFieldControl=e.first)}},features:[vo],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&&(jo(0,BA,3,2,"ng-template",null,0,Lc),No(2,"mat-select",1),Qo("selectionChange",function(e){return t.change(e)}),jo(3,QA,3,2,"ng-container",2),rc(4,"async"),rc(5,"formlySelectOptions"),Vo()),2&e&&(rs(2),Fo("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),Fo("ngIf",sc(4,12,oc(5,14,t.to.options,t.field))))},directives:[NA,Mx,vM,cD,MM,Ad,dS,Xk,Od,Hd,oS],pipes:[qd,TT],encapsulation:2}),e})();const XA=Gn(JA);let ZA=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Kd,AM,UA,Zk,kT,AT,SD.forChild({types:[{name:"select",component:JA,wrappers:["form-field"]}]})]]}),e})(),eI=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[kT,DT,OT,XT,mA,bA,ZA]]}),e})();const tI=["datepickerToggle"];function nI(e,t){if(1&e&&Uo(0,"mat-datepicker-toggle",4),2&e){const e=ta(),t=Ro(4);Fo("disabled",e.to.disabled)("for",t)}}let iI=(()=>{class e extends bT{constructor(){super(...arguments),this.defaultOptions={templateOptions:{datepickerOptions:{startView:"month",datepickerTogglePosition:"suffix",dateInput:()=>{},dateChange:()=>{},monthSelected:()=>{},yearSelected:()=>{}}}}}ngAfterViewInit(){super.ngAfterViewInit(),this.datepickerInput._formField=this.formField,setTimeout(()=>{JM(this.field,"_mat"+this.to.datepickerOptions.datepickerTogglePosition,this.datepickerToggle),this.options._markForCheck(this.field)})}}return e.\u0275fac=function(t){return rI(t||e)},e.\u0275cmp=Ne({type:e,selectors:[["formly-field-mat-datepicker"]],viewQuery:function(e,t){if(1&e&&(kc(HL,3),kc(HE,1),kc(tI,1)),2&e){let e;wc(e=Cc())&&(t.formFieldControl=e.first),wc(e=Cc())&&(t.datepickerInput=e.first),wc(e=Cc())&&(t.datepickerToggle=e.first)}},features:[vo],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=Wo();No(0,"input",0),Qo("dateInput",function(e){return t.to.datepickerOptions.dateInput(t.field,e)})("dateChange",function(e){return t.to.datepickerOptions.dateChange(t.field,e)}),Vo(),jo(1,nI,1,2,"ng-template",null,1,Lc),No(3,"mat-datepicker",2,3),Qo("monthSelected",function(n){Rt(e);const i=Ro(4);return t.to.datepickerOptions.monthSelected(t.field,n,i)})("yearSelected",function(n){Rt(e);const i=Ro(4);return t.to.datepickerOptions.yearSelected(t.field,n,i)}),Vo()}if(2&e){const e=Ro(4);Fo("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),Fo("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:[HL,rx,HE,Mx,vM,cD,MM,IE,VE],encapsulation:2}),e})();const rI=Gn(iI);let sI=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Kd,AM,NL,UE,kT,SD.forChild({types:[{name:"datepicker",component:iI,wrappers:["form-field"]}]})]]}),e})();const oI=[[["caption"]],[["colgroup"],["col"]]],aI=["caption","colgroup, col"];function lI(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 cI=new Zn("CDK_TABLE");let uI=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(Yo(Al))},e.\u0275dir=We({type:e,selectors:[["","cdkCellDef",""]]}),e})(),dI=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(Yo(Al))},e.\u0275dir=We({type:e,selectors:[["","cdkHeaderCellDef",""]]}),e})(),hI=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(Yo(Al))},e.\u0275dir=We({type:e,selectors:[["","cdkFooterCellDef",""]]}),e})();class pI{}const fI=lI(pI);let mI=(()=>{class e extends fI{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)(Yo(cI,8))},e.\u0275dir=We({type:e,selectors:[["","cdkColumnDef",""]],contentQueries:function(e,t,n){if(1&e&&(Sc(n,uI,1),Sc(n,dI,1),Sc(n,hI,1)),2&e){let e;wc(e=Cc())&&(t.cell=e.first),wc(e=Cc())&&(t.headerCell=e.first),wc(e=Cc())&&(t.footerCell=e.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[Ka([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),vo]}),e})();class _I{constructor(e,t){const n=t.nativeElement.classList;for(const i of e._columnCssClassName)n.add(i)}}let gI=(()=>{class e extends _I{constructor(e,t){super(e,t)}}return e.\u0275fac=function(t){return new(t||e)(Yo(mI),Yo(el))},e.\u0275dir=We({type:e,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[vo]}),e})(),yI=(()=>{class e extends _I{constructor(e,t){super(e,t)}}return e.\u0275fac=function(t){return new(t||e)(Yo(mI),Yo(el))},e.\u0275dir=We({type:e,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:["role","gridcell",1,"cdk-footer-cell"],features:[vo]}),e})(),bI=(()=>{class e extends _I{constructor(e,t){super(e,t)}}return e.\u0275fac=function(t){return new(t||e)(Yo(mI),Yo(el))},e.\u0275dir=We({type:e,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:["role","gridcell",1,"cdk-cell"],features:[vo]}),e})();class vI{constructor(){this.tasks=[],this.endTasks=[]}}const wI=new Zn("_COALESCED_STYLE_SCHEDULER");let kI=(()=>{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 vI,this._getScheduleObservable().pipe(Z_(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const e=this._currentSchedule;this._currentSchedule=new vI;for(const t of e.tasks)t();for(const t of e.endTasks)t()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?R(Promise.resolve(void 0)):this._ngZone.onStable.pipe($h(1))}}return e.\u0275fac=function(t){return new(t||e)(gi(Qc))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),SI=(()=>{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 MI?e.headerCell.template:this instanceof EI?e.footerCell.template:e.cell.template}}return e.\u0275fac=function(t){return new(t||e)(Yo(Al),Yo(bl))},e.\u0275dir=We({type:e,features:[ut]}),e})();class CI extends SI{}const xI=lI(CI);let MI=(()=>{class e extends xI{constructor(e,t,n){super(e,t),this._table=n}ngOnChanges(e){super.ngOnChanges(e)}}return e.\u0275fac=function(t){return new(t||e)(Yo(Al),Yo(bl),Yo(cI,8))},e.\u0275dir=We({type:e,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[vo,ut]}),e})();class DI extends SI{}const LI=lI(DI);let EI=(()=>{class e extends LI{constructor(e,t,n){super(e,t),this._table=n}ngOnChanges(e){super.ngOnChanges(e)}}return e.\u0275fac=function(t){return new(t||e)(Yo(Al),Yo(bl),Yo(cI,8))},e.\u0275dir=We({type:e,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[vo,ut]}),e})(),OI=(()=>{class e extends SI{constructor(e,t,n){super(e,t),this._table=n}}return e.\u0275fac=function(t){return new(t||e)(Yo(Al),Yo(bl),Yo(cI,8))},e.\u0275dir=We({type:e,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[vo]}),e})(),TI=(()=>{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)(Yo(Hl))},e.\u0275dir=We({type:e,selectors:[["","cdkCellOutlet",""]]}),e.mostRecentCellOutlet=null,e})(),AI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ne({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&&qo(0,0)},directives:[TI],encapsulation:2}),e})(),II=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ne({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&&qo(0,0)},directives:[TI],encapsulation:2}),e})(),PI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ne({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&&qo(0,0)},directives:[TI],encapsulation:2}),e})(),jI=(()=>{class e{constructor(e){this.templateRef=e}}return e.\u0275fac=function(t){return new(t||e)(Yo(Al))},e.\u0275dir=We({type:e,selectors:[["ng-template","cdkNoDataRow",""]]}),e})();const RI=["top","bottom","left","right"];class YI{constructor(e,t,n,i,r=!0,s=!0,o){this._isNativeHtmlTable=e,this._stickCellCss=t,this.direction=n,this._coalescedStyleScheduler=i,this._isBrowser=r,this._needsPositionStickyOnElement=s,this._positionListener=o,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,o=this._getCellWidths(r,i),a=this._getStickyStartColumnPositions(o,t),l=this._getStickyEndColumnPositions(o,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 o of e)for(let e=0;et[n]?e:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===u?[]:o.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=[],o=[],a=[];for(let c=0,u=0;c{var e,t;for(let o=0;o{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]);RI.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 RI)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 FI=new Zn("CDK_SPL");let HI=(()=>{class e{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return e.\u0275fac=function(t){return new(t||e)(Yo(Hl),Yo(el))},e.\u0275dir=We({type:e,selectors:[["","rowOutlet",""]]}),e})(),NI=(()=>{class e{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return e.\u0275fac=function(t){return new(t||e)(Yo(Hl),Yo(el))},e.\u0275dir=We({type:e,selectors:[["","headerRowOutlet",""]]}),e})(),VI=(()=>{class e{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return e.\u0275fac=function(t){return new(t||e)(Yo(Hl),Yo(el))},e.\u0275dir=We({type:e,selectors:[["","footerRowOutlet",""]]}),e})(),UI=(()=>{class e{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return e.\u0275fac=function(t){return new(t||e)(Yo(Hl),Yo(el))},e.\u0275dir=We({type:e,selectors:[["","noDataRowOutlet",""]]}),e})(),BI=(()=>{class e{constructor(e,t,n,i,r,s,o,a,l,c,u){this._differs=e,this._changeDetectorRef=t,this._elementRef=n,this._dir=r,this._platform=o,this._viewRepeater=a,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 Th({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(Z_(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(),xg(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(),zI(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(e=>{this._columnDefsByName.has(e.name),this._columnDefsByName.set(e.name,e)})}_cacheRowDefs(){this._headerRowDefs=zI(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=zI(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=zI(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=[],xg(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;xg(this.dataSource)?e=this.dataSource.connect(this):B_(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=Oh(this.dataSource)),this._renderChangeSubscription=e.pipe(Z_(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))TI.mostRecentCellOutlet&&TI.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 YI(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:Oh()).pipe(Z_(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)(Yo(bl),Yo(Ml),Yo(el),Qn("role"),Yo(Sg,8),Yo(Eu),Yo(hg),Yo(Eg,8),Yo(wI,8),Yo(FI,12),Yo(Tg,8))},e.\u0275cmp=Ne({type:e,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(e,t,n){if(1&e&&(Sc(n,jI,1),Sc(n,mI,1),Sc(n,OI,1),Sc(n,MI,1),Sc(n,EI,1)),2&e){let e;wc(e=Cc())&&(t._noDataRow=e.first),wc(e=Cc())&&(t._contentColumnDefs=e),wc(e=Cc())&&(t._contentRowDefs=e),wc(e=Cc())&&(t._contentHeaderRowDefs=e),wc(e=Cc())&&(t._contentFooterRowDefs=e)}},viewQuery:function(e,t){if(1&e&&(kc(HI,3),kc(NI,3),kc(VI,3),kc(UI,3)),2&e){let e;wc(e=Cc())&&(t._rowOutlet=e.first),wc(e=Cc())&&(t._headerRowOutlet=e.first),wc(e=Cc())&&(t._footerRowOutlet=e.first),wc(e=Cc())&&(t._noDataRowOutlet=e.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(e,t){2&e&&pa("cdk-table-fixed-layout",t.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},exportAs:["cdkTable"],features:[Ka([{provide:cI,useExisting:e},{provide:Eg,useClass:Mg},{provide:wI,useClass:kI},{provide:FI,useValue:null}])],ngContentSelectors:aI,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(ia(oI),ra(0),ra(1,1),qo(2,0),qo(3,1),qo(4,2),qo(5,3))},directives:[NI,HI,UI,VI],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),e})();function zI(e,t){return e.concat(Array.from(t))}let qI=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Ig]]}),e})(),WI=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)}}),e})();const KI=["*",[["mat-toolbar-row"]]],$I=["*","mat-toolbar-row"];class GI{constructor(e){this._elementRef=e}}const QI=Sk(GI);let JI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=We({type:e,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),e})(),XI=(()=>{class e extends QI{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)(Yo(el),Yo(hg),Yo(Eu))},e.\u0275cmp=Ne({type:e,selectors:[["mat-toolbar"]],contentQueries:function(e,t,n){if(1&e&&Sc(n,JI,1),2&e){let e;wc(e=Cc())&&(t._toolbarRows=e)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,t){2&e&&pa("mat-toolbar-multiple-rows",t._toolbarRows.length>0)("mat-toolbar-single-row",0===t._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[vo],ngContentSelectors:$I,decls:2,vars:0,template:function(e,t){1&e&&(ia(KI),ra(0),ra(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})(),ZI=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[wk],wk]}),e})(),eP=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Kd,wk,pg,Ag],Ag,wk]}),e})(),tP=(()=>{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=Ne({type:e,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(e,t){2&e&&(Io("aria-orientation",t.vertical?"vertical":"horizontal"),pa("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})(),nP=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[wk],wk]}),e})(),iP=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Uk,Jk,wk,Zk,Kd],Uk,wk,Zk,nP]}),e})();const rP=[[["caption"]],[["colgroup"],["col"]]],sP=["caption","colgroup, col"];let oP=(()=>{class e extends BI{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return e.\u0275fac=function(t){return aP(t||e)},e.\u0275cmp=Ne({type:e,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(e,t){2&e&&pa("mat-table-fixed-layout",t.fixedLayout)},exportAs:["matTable"],features:[Ka([{provide:Eg,useClass:Mg},{provide:BI,useExisting:e},{provide:cI,useExisting:e},{provide:wI,useClass:kI}]),vo],ngContentSelectors:sP,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(ia(rP),ra(0),ra(1,1),qo(2,0),qo(3,1),qo(4,2),qo(5,3))},directives:[NI,HI,UI,VI],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 aP=Gn(oP);let lP=(()=>{class e extends uI{}return e.\u0275fac=function(t){return cP(t||e)},e.\u0275dir=We({type:e,selectors:[["","matCellDef",""]],features:[Ka([{provide:uI,useExisting:e}]),vo]}),e})();const cP=Gn(lP);let uP=(()=>{class e extends dI{}return e.\u0275fac=function(t){return dP(t||e)},e.\u0275dir=We({type:e,selectors:[["","matHeaderCellDef",""]],features:[Ka([{provide:dI,useExisting:e}]),vo]}),e})();const dP=Gn(uP);let hP=(()=>{class e extends hI{}return e.\u0275fac=function(t){return pP(t||e)},e.\u0275dir=We({type:e,selectors:[["","matFooterCellDef",""]],features:[Ka([{provide:hI,useExisting:e}]),vo]}),e})();const pP=Gn(hP);let fP=(()=>{class e extends mI{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 mP(t||e)},e.\u0275dir=We({type:e,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[Ka([{provide:mI,useExisting:e},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),vo]}),e})();const mP=Gn(fP);let _P=(()=>{class e extends gI{}return e.\u0275fac=function(t){return gP(t||e)},e.\u0275dir=We({type:e,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[vo]}),e})();const gP=Gn(_P);let yP=(()=>{class e extends yI{}return e.\u0275fac=function(t){return bP(t||e)},e.\u0275dir=We({type:e,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:["role","gridcell",1,"mat-footer-cell"],features:[vo]}),e})();const bP=Gn(yP);let vP=(()=>{class e extends bI{}return e.\u0275fac=function(t){return wP(t||e)},e.\u0275dir=We({type:e,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[vo]}),e})();const wP=Gn(vP);let kP=(()=>{class e extends MI{}return e.\u0275fac=function(t){return SP(t||e)},e.\u0275dir=We({type:e,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[Ka([{provide:MI,useExisting:e}]),vo]}),e})();const SP=Gn(kP);let CP=(()=>{class e extends EI{}return e.\u0275fac=function(t){return xP(t||e)},e.\u0275dir=We({type:e,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[Ka([{provide:EI,useExisting:e}]),vo]}),e})();const xP=Gn(CP);let MP=(()=>{class e extends OI{}return e.\u0275fac=function(t){return DP(t||e)},e.\u0275dir=We({type:e,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[Ka([{provide:OI,useExisting:e}]),vo]}),e})();const DP=Gn(MP);let LP=(()=>{class e extends AI{}return e.\u0275fac=function(t){return EP(t||e)},e.\u0275cmp=Ne({type:e,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[Ka([{provide:AI,useExisting:e}]),vo],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&qo(0,0)},directives:[TI],encapsulation:2}),e})();const EP=Gn(LP);let OP=(()=>{class e extends II{}return e.\u0275fac=function(t){return TP(t||e)},e.\u0275cmp=Ne({type:e,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-footer-row"],exportAs:["matFooterRow"],features:[Ka([{provide:II,useExisting:e}]),vo],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&qo(0,0)},directives:[TI],encapsulation:2}),e})();const TP=Gn(OP);let AP=(()=>{class e extends PI{}return e.\u0275fac=function(t){return IP(t||e)},e.\u0275cmp=Ne({type:e,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[Ka([{provide:PI,useExisting:e}]),vo],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&qo(0,0)},directives:[TI],encapsulation:2}),e})();const IP=Gn(AP);let PP=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[qI,wk],wk]}),e})();class jP extends class extends class{}{constructor(e=[]){super(),this._renderData=new Th([]),this._filter=new Th(""),this._internalPageChanges=new S,this._renderChangesSubscription=null,this.sortingDataAccessor=(e,t)=>{const n=e[t];if(x_(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 o=typeof r,a=typeof s;o!==a&&("number"===o&&(r+=""),"number"===a&&(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 Th(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?q(this._sort.sortChange,this._sort.initialized):Oh(null),n=this._paginator?q(this._paginator.page,this._internalPageChanges,this._paginator.initialized):Oh(null),i=Rh([this._data,this._filter]).pipe(M(([e])=>this._filterData(e))),r=Rh([i,t]).pipe(M(([e])=>this._orderData(e))),s=Rh([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}}{}let RP=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Kd,wk,Vg,Jk,zy,Sb],wk]}),e})(),YP=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Uk,wk],Uk,wk]}),e})(),FP=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Cg]]}),e})(),HP=(()=>{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 NP={provide:HP,deps:[[new ki,new Si,HP]],useFactory:function(e){return e||new HP}};let VP=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[NP,Vk],imports:[[wk,Kd,Vg,JS,FP,qD,Jk],wk]}),e})(),UP=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Ry,wk,Vg],wk]}),e})();const BP=["*",[["mat-card-footer"]]],zP=["*","mat-card-footer"],qP=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],WP=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"];let KP=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=We({type:e,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),e})(),$P=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=We({type:e,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),e})(),GP=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=We({type:e,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),e})(),QP=(()=>{class e{constructor(e){this._animationMode=e}}return e.\u0275fac=function(t){return new(t||e)(Yo(ck,8))},e.\u0275cmp=Ne({type:e,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(e,t){2&e&&pa("_mat-animation-noopable","NoopAnimations"===t._animationMode)},exportAs:["matCard"],ngContentSelectors:zP,decls:2,vars:0,template:function(e,t){1&e&&(ia(BP),ra(0),ra(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})(),JP=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ne({type:e,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:WP,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(e,t){1&e&&(ia(qP),ra(0),No(1,"div",0),ra(2,1),Vo(),ra(3,2))},encapsulation:2,changeDetection:0}),e})(),XP=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[wk],wk]}),e})();const ZP={provide:Rc,useFactory:function(e,t){return()=>{if($d(t)){const t=Array.from(e.querySelectorAll(`[class*=${ej}]`)),n=/\bflex-layout-.+?\b/g;t.forEach(e=>{e.classList.contains(`${ej}ssr`)&&e.parentNode?e.parentNode.removeChild(e):e.className.replace(n,"")})}}},deps:[Eu,jc],multi:!0},ej="flex-layout-";let tj=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[ZP]}),e})();class nj{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 nj(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let ij=(()=>{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 rj={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[]},sj=new Zn("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>rj}),oj=new Zn("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),aj=new Zn("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function lj(e,t){return e=e?e.clone():new nj,t&&(e.mqAlias=t.alias,e.mediaQuery=t.mediaQuery,e.suffix=t.suffix,e.priority=t.priority),e}const cj="inline",uj=["row","column","row-reverse","column-reverse"];function dj(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 hj=(()=>{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 uj.find(e=>e===t)||(t=uj[0]),n===cj&&(n=i!==cj?i:"",i=cj),[t,dj(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=We({type:e,features:[ut]}),e})();const pj=[{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}],fj="(orientation: portrait) and (max-width: 599.98px)",mj="(orientation: landscape) and (max-width: 959.98px)",_j="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",gj="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",yj="(orientation: portrait) and (min-width: 840px)",bj="(orientation: landscape) and (min-width: 1280px)",vj={HANDSET:`${fj}, ${mj}`,TABLET:`${_j} , ${gj}`,WEB:`${yj}, ${bj} `,HANDSET_PORTRAIT:`${fj}`,TABLET_PORTRAIT:`${_j} `,WEB_PORTRAIT:`${yj}`,HANDSET_LANDSCAPE:`${mj}`,TABLET_LANDSCAPE:`${gj}`,WEB_LANDSCAPE:`${bj}`},wj=[{alias:"handset",priority:2e3,mediaQuery:vj.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:vj.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:vj.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:vj.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:vj.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:vj.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:vj.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:vj.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:vj.WEB_PORTRAIT,overlapping:!0}],kj=/(\.|-|_)/g;function Sj(e){let t=e.length>0?e.charAt(0):"",n=e.length>1?e.slice(1):"";return t.toUpperCase()+n}const Cj=new Zn("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const e=yi(aj),t=yi(sj),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(kj,"|").split("|").map(Sj).join(""),e.overlapping=!!e.overlapping)}),i;var i}((t.disableDefaultBps?[]:pj).concat(t.addOrientationBps?wj:[]),n)}});function xj(e,t){return(t&&t.priority||0)-(e&&e.priority||0)}function Mj(e,t){return(e.priority||0)-(t.priority||0)}let Dj=(()=>{class e{constructor(e){this.findByMap=new Map,this.items=[...e].sort(Mj)}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(Cj))},e.\u0275prov=le({factory:function(){return new e(gi(Cj))},token:e,providedIn:"root"}),e})(),Lj=(()=>{class e{constructor(e,t,n){this._zone=e,this._platformId=t,this._document=n,this.source=new Th(new nj(!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(tp(n=>!t||e.indexOf(n.mediaQuery)>-1));return q(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=>!Ej[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=>Ej[e]=i)}catch(i){console.error(i)}}}(t,this._document),t.forEach(e=>{const t=t=>{this._zone.run(()=>this.source.next(new nj(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 nj(!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,$d(this._platformId))}}return e.\u0275fac=function(t){return new(t||e)(gi(Qc),gi(jc),gi(Eu))},e.\u0275prov=le({factory:function(){return new e(gi(Qc),gi(jc),gi(Eu))},token:e,providedIn:"root"}),e})();const Ej={},Oj="print",Tj={alias:Oj,mediaQuery:Oj,priority:1e3};let Aj=(()=>{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 Ij,this.deactivations=[]}withPrintQuery(e){return[...e,Oj]}isPrintEvent(e){return e.mediaQuery.startsWith(Oj)}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(xj)}updateEvent(e){let t=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(t=this.getEventBreakpoints(e)[0],e.mediaQuery=t?t.mediaQuery:""),lj(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 nj(!0,Oj))),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(xj))}}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(Dj),gi(sj),gi(Eu))},e.\u0275prov=le({factory:function(){return new e(gi(Dj),gi(sj),gi(Eu))},token:e,providedIn:"root"}),e})();class Ij{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(e){return e.push(Tj),e.sort(xj),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(Oj)}(e)?[e,...this.printBreakpoints]:[...this.printBreakpoints,e])}clear(){this.printBreakpoints=[]}}function Pj(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 jj=(()=>{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:Pj(t),this._applyMultiValueStyleToElement(i,e)}applyStyleToElements(e,t=[]){const n=this.layoutConfig.disableVendorPrefixes?e:Pj(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)||Gd(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 $d(this._platformId)?e.style.getPropertyValue(t):this._getServerStyle(e,t)}lookupStyle(e,t,n=!1){let i="";return e&&((i=this.lookupInlineStyle(e,t))||($d(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+"":"",$d(this._platformId)||!this._serverModuleLoaded?$d(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(ij),gi(oj),gi(jc),gi(sj))},e.\u0275prov=le({factory:function(){return new e(gi(ij),gi(oj),gi(jc),gi(sj))},token:e,providedIn:"root"}),e})();class Rj{constructor(){this.shouldCache=!0}sideEffect(e,t,n){}}function Yj(e,t="1",n="1"){let i=[t,n,e],r=e.indexOf("calc");if(r>0){i[2]=Fj(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]=Fj(e.trim());else{let r=e.split(" ");i=3===r.length?r:[t,n,e]}return i}function Fj(e){return e.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}let Hj=(()=>{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=lj(e,t)).matches&&-1===this.activatedBreakpoints.indexOf(t)?(this.activatedBreakpoints.push(t),this.activatedBreakpoints.sort(xj),this.updateStyles()):e.matches||-1===this.activatedBreakpoints.indexOf(t)||(this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(t),1),this.activatedBreakpoints.sort(xj),this.updateStyles()))}init(e,t,n,i,r=[]){Nj(this.updateMap,e,t,n),Nj(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(tp(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=q(...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(vp(this.hook.interceptEvents(this)),tp(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return e.\u0275fac=function(t){return new(t||e)(gi(Lj),gi(Dj),gi(Aj))},e.\u0275prov=le({factory:function(){return new e(gi(Lj),gi(Dj),gi(Aj))},token:e,providedIn:"root"}),e})();function Nj(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 Vj=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[tj]]}),e})();const Uj="inline",Bj=["row","column","row-reverse","column-reverse"];function zj(e){e=e?e.toLowerCase():"";let[t,n,i]=e.split(" ");return Bj.find(e=>e===t)||(t=Bj[0]),n===Uj&&(n=i!==Uj?i:"",i=Uj),[t,Wj(n),!!i]}function qj(e){let[t]=zj(e);return t.indexOf("row")>-1}function Wj(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 Kj=(()=>{class e extends Rj{buildStyles(e){return function(e){let[t,n,i]=zj(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 $j(t||e)},e.\u0275prov=le({factory:function(){return new e},token:e,providedIn:"root"}),e})();const $j=Gn(Kj),Gj=["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 Qj=(()=>{class e extends hj{constructor(e,t,n,i){super(e,n,t,i),this.DIRECTIVE_KEY="layout",this.styleCache=Zj,this.init()}}return e.\u0275fac=function(t){return new(t||e)(Yo(el),Yo(jj),Yo(Kj),Yo(Hj))},e.\u0275dir=We({type:e,features:[vo]}),e})(),Jj=(()=>{class e extends Qj{constructor(){super(...arguments),this.inputs=Gj}}return e.\u0275fac=function(t){return Xj(t||e)},e.\u0275dir=We({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:[vo]}),e})();const Xj=Gn(Jj),Zj=new Map,eR={"margin-left":null,"margin-right":null,"margin-top":null,"margin-bottom":null};let tR=(()=>{class e extends Rj{constructor(e){super(),this._styler=e}buildStyles(e,t){return e.endsWith(uR)?function(e,t){const[n,i]=e.split(" "),r=e=>`-${e}`;let s="0px",o=r(i||n),a="0px";return"rtl"===t?a=r(n):s=r(n),{margin:`0px ${s} ${o} ${a}`}}(e=e.slice(0,e.indexOf(uR)),t.directionality):{}}sideEffect(e,t,n){const i=n.items;if(e.endsWith(uR)){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(uR)),n.directionality);this._styler.applyStyleToElements(t,n.items)}else{const t=i.pop(),r=function(e,t){const n=dR(t.directionality,t.layout),i=Object.assign({},eR);return i[n]=e,i}(e,n);this._styler.applyStyleToElements(r,i),this._styler.applyStyleToElements(eR,[t])}}}return e.\u0275fac=function(t){return new(t||e)(gi(jj))},e.\u0275prov=le({factory:function(){return new e(gi(jj))},token:e,providedIn:"root"}),e})();const nR=["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 iR=(()=>{class e extends hj{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 o=[this.directionality.change,this.observerSubject.asObservable()];this.init(o),this.marshal.trackValue(this.nativeElement,"layout").pipe(Z_(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],Bj.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=oR:"row"===i&&"rtl"!==n?this.styleCache=lR:"column"===i&&"rtl"===n?this.styleCache=aR:"column"===i&&"rtl"!==n&&(this.styleCache=cR),this.addStyles(e,{directionality:n,items:t,layout:i})}}clearStyles(){const e=Object.keys(this.mru).length>0,t=e?"padding":dR(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)(Yo(el),Yo(Qc),Yo(Sg),Yo(jj),Yo(tR),Yo(Hj))},e.\u0275dir=We({type:e,features:[vo]}),e})(),rR=(()=>{class e extends iR{constructor(){super(...arguments),this.inputs=nR}}return e.\u0275fac=function(t){return sR(t||e)},e.\u0275dir=We({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:[vo]}),e})();const sR=Gn(rR),oR=new Map,aR=new Map,lR=new Map,cR=new Map,uR=" grid";function dR(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 hR(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 pR=(()=>{class e extends Rj{constructor(e){super(),this.layoutConfig=e}buildStyles(e,t){let[n,i,...r]=e.split(" "),s=r.join(" ");const o=t.direction.indexOf("column")>-1?"column":"row",a=qj(o)?"max-width":"max-height",l=qj(o)?"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"===o?"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=hR(_,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=hR(_,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[a]=f||!u&&i?s:null),m[l]||m[a]?t.hasWrap&&(m[c?"flex-basis":"flex"]=m[a]?c?m[a]:`${n} ${i} ${m[a]}`:c?m[l]:`${n} ${i} ${m[l]}`):m=hR(_,c?{"flex-grow":n,"flex-shrink":i,"flex-basis":s}:{flex:`${n} ${i} ${s}`}),hR(m,{"box-sizing":"border-box"})}}return e.\u0275fac=function(t){return new(t||e)(gi(sj))},e.\u0275prov=le({factory:function(){return new e(gi(sj))},token:e,providedIn:"root"}),e})();const fR=["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 mR=(()=>{class e extends hj{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(Z_(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe(Z_(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=vR:n&&!i?this.styleCache=yR:!n&&i?this.styleCache=wR:n||i||(this.styleCache=bR);const r=Yj(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=Yj(e+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,t.join(" "))}}}return e.\u0275fac=function(t){return new(t||e)(Yo(el),Yo(jj),Yo(sj),Yo(pR),Yo(Hj))},e.\u0275dir=We({type:e,inputs:{shrink:["fxShrink","shrink"],grow:["fxGrow","grow"]},features:[vo]}),e})(),_R=(()=>{class e extends mR{constructor(){super(...arguments),this.inputs=fR}}return e.\u0275fac=function(t){return gR(t||e)},e.\u0275dir=We({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:[vo]}),e})();const gR=Gn(_R),yR=new Map,bR=new Map,vR=new Map,wR=new Map;new Map;let kR=(()=>{class e extends Rj{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 qj(t.layout)?{[i]:`${e}`}:{"margin-top":`${e}`}}}return e.\u0275fac=function(t){return SR(t||e)},e.\u0275prov=le({factory:function(){return new e},token:e,providedIn:"root"}),e})();const SR=Gn(kR),CR=["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 xR=(()=>{class e extends hj{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(Z_(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=LR:"row"!==t||n?"column"===t&&n?this.styleCache=ER:"column"!==t||n||(this.styleCache=TR):this.styleCache=OR,this.addStyles(e+"",{layout:t,isRtl:n})}}return e.\u0275fac=function(t){return new(t||e)(Yo(el),Yo(Sg),Yo(kR),Yo(Hj),Yo(jj))},e.\u0275dir=We({type:e,features:[vo]}),e})(),MR=(()=>{class e extends xR{constructor(){super(...arguments),this.inputs=CR}}return e.\u0275fac=function(t){return DR(t||e)},e.\u0275dir=We({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:[vo]}),e})();const DR=Gn(MR),LR=new Map,ER=new Map,OR=new Map,TR=new Map;new Map;const AR={margin:0,width:"100%",height:"100%","min-width":"100%","min-height":"100%"};let IR=(()=>{class e extends Rj{buildStyles(e){return AR}}return e.\u0275fac=function(t){return PR(t||e)},e.\u0275prov=le({factory:function(){return new e},token:e,providedIn:"root"}),e})();const PR=Gn(IR);let jR=(()=>{class e extends hj{constructor(e,t,n,i){super(e,n,t,i),this.styleCache=RR,this.addStyles("")}}return e.\u0275fac=function(t){return new(t||e)(Yo(el),Yo(jj),Yo(IR),Yo(Hj))},e.\u0275dir=We({type:e,selectors:[["","fxFill",""],["","fxFlexFill",""]],features:[vo]}),e})();const RR=new Map;let YR=(()=>{class e extends Rj{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 hR(n,{display:t.inline?"inline-flex":"flex","flex-direction":t.layout,"box-sizing":"border-box","max-width":"stretch"===r?qj(t.layout)?null:"100%":null,"max-height":"stretch"===r&&qj(t.layout)?"100%":null})}}return e.\u0275fac=function(t){return FR(t||e)},e.\u0275prov=le({factory:function(){return new e},token:e,providedIn:"root"}),e})();const FR=Gn(YR),HR=["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 NR=(()=>{class e extends hj{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(Z_(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(e){const t=this.layout||"row",n=this.inline;"row"===t&&n?this.styleCache=KR:"row"!==t||n?"row-reverse"===t&&n?this.styleCache=GR:"row-reverse"!==t||n?"column"===t&&n?this.styleCache=$R:"column"!==t||n?"column-reverse"===t&&n?this.styleCache=QR:"column-reverse"!==t||n||(this.styleCache=WR):this.styleCache=zR:this.styleCache=qR:this.styleCache=BR,this.addStyles(e,{layout:t,inline:n})}onLayoutChange(e){const t=e.value.split(" ");this.layout=t[0],this.inline=e.value.includes("inline"),Bj.find(e=>e===this.layout)||(this.layout="row"),this.triggerUpdate()}}return e.\u0275fac=function(t){return new(t||e)(Yo(el),Yo(jj),Yo(YR),Yo(Hj))},e.\u0275dir=We({type:e,features:[vo]}),e})(),VR=(()=>{class e extends NR{constructor(){super(...arguments),this.inputs=HR}}return e.\u0275fac=function(t){return UR(t||e)},e.\u0275dir=We({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:[vo]}),e})();const UR=Gn(VR),BR=new Map,zR=new Map,qR=new Map,WR=new Map,KR=new Map,$R=new Map,GR=new Map,QR=new Map;let JR=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[tj,Cg]]}),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 XR=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[tj]]}),e})();new ol("11.0.0-beta.33");let ZR=(()=>{class e{constructor(e,t){Gd(t)&&!e&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(t,n=[]){return{ngModule:e,providers:t.serverLoaded?[{provide:sj,useValue:Object.assign(Object.assign({},rj),t)},{provide:aj,useValue:n,multi:!0},{provide:oj,useValue:!0}]:[{provide:sj,useValue:Object.assign(Object.assign({},rj),t)},{provide:aj,useValue:n,multi:!0}]}}}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)(gi(oj),gi(jc))},imports:[[JR,Vj,XR],JR,Vj,XR]}),e})();function eY(e,t=K_){var n;const i=(n=e)instanceof Date&&!isNaN(+n)?+e-t.now():Math.abs(e);return e=>e.lift(new tY(i,t))}class tY{constructor(e,t){this.delay=e,this.scheduler=t}call(e,t){return t.subscribe(new nY(e,this.delay,this.scheduler))}}class nY 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(nY.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}scheduleNotification(e){if(!0===this.errored)return;const t=this.scheduler,n=new iY(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}_next(e){this.scheduleNotification(og.createNext(e))}_error(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}_complete(){this.scheduleNotification(og.createComplete()),this.unsubscribe()}}class iY{constructor(e,t){this.time=e,this.notification=t}}const rY=["mat-menu-item",""],sY=["*"];function oY(e,t){if(1&e){const e=Wo();No(0,"div",0),Qo("keydown",function(t){return Rt(e),ta()._handleKeydown(t)})("click",function(){return Rt(e),ta().closed.emit("click")})("@transformMenu.start",function(t){return Rt(e),ta()._onAnimationStart(t)})("@transformMenu.done",function(t){return Rt(e),ta()._onAnimationDone(t)}),No(1,"div",1),ra(2),Vo(),Vo()}if(2&e){const e=ta();Fo("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),Io("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const aY={transformMenu:Db("transformMenu",[Tb("void",Ob({opacity:0,transform:"scale(0.8)"})),Ib("void => enter",Lb("120ms cubic-bezier(0, 0, 0.2, 1)",Ob({opacity:1,transform:"scale(1)"}))),Ib("* => void",Lb("100ms 25ms linear",Ob({opacity:0})))]),fadeInItems:Db("fadeInItems",[Tb("showing",Ob({opacity:1})),Ib("void => *",[Ob({opacity:0}),Lb("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},lY=new Zn("MatMenuContent"),cY=new Zn("MAT_MENU_PANEL");class uY{}const dY=Ck(kk(uY));let hY=(()=>{class e extends dY{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 dc,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 cc,this.close=this.closed,this.panelId="mat-menu-panel-"+fY++}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 nb(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Jh(this._directDescendantItems),zh(e=>q(...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(Jh(this._directDescendantItems),zh(e=>q(...e.map(e=>e._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const t=e.keyCode,n=this._keyManager;switch(t){case qg:ty(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case Jg:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case Zg:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:t!==Xg&&t!==ey||n.setFocusOrigin("keyboard"),n.onKeydown(e)}}focusFirstItem(e="program"){this.lazyContent?this._ngZone.onStable.pipe($h(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(Jh(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)(Yo(el),Yo(Qc),Yo(pY))},e.\u0275dir=We({type:e,contentQueries:function(e,t,n){if(1&e&&(Sc(n,lY,1),Sc(n,hY,1),Sc(n,hY,0)),2&e){let e;wc(e=Cc())&&(t.lazyContent=e.first),wc(e=Cc())&&(t._allItems=e),wc(e=Cc())&&(t.items=e)}},viewQuery:function(e,t){if(1&e&&kc(Al,1),2&e){let e;wc(e=Cc())&&(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})(),_Y=(()=>{class e extends mY{constructor(e,t,n){super(e,t,n)}}return e.\u0275fac=function(t){return new(t||e)(Yo(el),Yo(Qc),Yo(pY))},e.\u0275cmp=Ne({type:e,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,t){2&e&&Io("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[Ka([{provide:cY,useExisting:e}]),vo],ngContentSelectors:sY,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&&(ia(),jo(0,oY,3,6,"ng-template"))},directives:[Ld],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:[aY.transformMenu,aY.fadeInItems]},changeDetection:0}),e})();const gY=new Zn("mat-menu-scroll-strategy"),yY={provide:gY,deps:[Oy],useFactory:function(e){return()=>e.scrollStrategies.reposition()}},bY=bg({passive:!0});let vY=(()=>{class e{constructor(e,t,n,i,r,s,o,a){this._overlay=e,this._element=t,this._viewContainerRef=n,this._menuItemInstance=s,this._dir=o,this._focusMonitor=a,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 cc,this.onMenuOpen=this.menuOpened,this.menuClosed=new cc,this.onMenuClose=this.menuClosed,this._scrollStrategy=i,this._parentMaterialMenu=r instanceof mY?r:void 0,t.nativeElement.addEventListener("touchstart",this._handleTouchStart,bY),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,bY),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 mY&&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 mY?(e._resetAnimation(),e.lazyContent?e._animationDone.pipe(tp(e=>"void"===e.toState),$h(1),Z_(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 uy({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,o]=[i,r],[a,l]=[t,n],c=0;this.triggersSubmenu()?(l=t="before"===this.menu.xPosition?"start":"end",n=a="end"===t?"start":"end",c="bottom"===i?8:-8):this.menu.overlapTrigger||(s="top"===i?"bottom":"top",o="top"===r?"bottom":"top"),e.withPositions([{originX:t,originY:s,overlayX:a,overlayY:i,offsetY:c},{originX:n,originY:s,overlayX:l,overlayY:i,offsetY:c},{originX:t,originY:o,overlayX:a,overlayY:r,offsetY:-c},{originX:n,originY:o,overlayX:l,overlayY:r,offsetY:-c}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),t=this._overlayRef.detachments();return q(e,this._parentMaterialMenu?this._parentMaterialMenu.closed:Oh(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(tp(e=>e!==this._menuItemInstance),tp(()=>this._menuOpen)):Oh(),t)}_handleMousedown(e){pb(e)||(this._openedBy=0===e.button?"mouse":null,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const t=e.keyCode;t!==zg&&t!==Wg||(this._openedBy="keyboard"),this.triggersSubmenu()&&(t===Zg&&"ltr"===this.dir||t===Jg&&"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(tp(e=>e===this._menuItemInstance&&!e.disabled),eY(0,U_)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof mY&&this.menu._isAnimating?this.menu._animationDone.pipe($h(1),eY(0,U_),Z_(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new Rg(this.menu.templateRef,this._viewContainerRef)),this._portal}}return e.\u0275fac=function(t){return new(t||e)(Yo(Oy),Yo(el),Yo(Hl),Yo(gY),Yo(cY,8),Yo(hY,10),Yo(Sg,8),Yo(_b))},e.\u0275dir=We({type:e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(e,t){1&e&&Qo("mousedown",function(e){return t._handleMousedown(e)})("keydown",function(e){return t._handleKeydown(e)})("click",function(e){return t._handleClick(e)}),2&e&&Io("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})(),wY=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[yY],imports:[wk]}),e})(),kY=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[yY],imports:[[Kd,wk,Jk,Ry,wY],Ag,wk,wY]}),e})();const SY=["mat-sort-header",""];function CY(e,t){if(1&e){const e=Wo();No(0,"div",3),Qo("@arrowPosition.start",function(){return Rt(e),ta()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return Rt(e),ta()._disableViewStateAnimation=!1}),Uo(1,"div",4),No(2,"div",5),Uo(3,"div",6),Uo(4,"div",7),Uo(5,"div",8),Vo(),Vo()}if(2&e){const e=ta();Fo("@arrowOpacity",e._getArrowViewState())("@arrowPosition",e._getArrowViewState())("@allowChildren",e._getArrowDirectionState()),rs(2),Fo("@indicator",e._getArrowDirectionState()),rs(1),Fo("@leftPointer",e._getArrowDirectionState()),rs(1),Fo("@rightPointer",e._getArrowDirectionState())}}const xY=["*"];class MY{}const DY=Dk(kk(MY));let LY=(()=>{class e extends DY{constructor(){super(...arguments),this.sortables=new Map,this._stateChanges=new S,this.start="asc",this._direction="",this.sortChange=new cc}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 EY(t||e)},e.\u0275dir=We({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:[vo,ut]}),e})();const EY=Gn(LY),OY=yk.ENTERING+" "+gk.STANDARD_CURVE,TY={indicator:Db("indicator",[Tb("active-asc, asc",Ob({transform:"translateY(0px)"})),Tb("active-desc, desc",Ob({transform:"translateY(10px)"})),Ib("active-asc <=> active-desc",Lb(OY))]),leftPointer:Db("leftPointer",[Tb("active-asc, asc",Ob({transform:"rotate(-45deg)"})),Tb("active-desc, desc",Ob({transform:"rotate(45deg)"})),Ib("active-asc <=> active-desc",Lb(OY))]),rightPointer:Db("rightPointer",[Tb("active-asc, asc",Ob({transform:"rotate(45deg)"})),Tb("active-desc, desc",Ob({transform:"rotate(-45deg)"})),Ib("active-asc <=> active-desc",Lb(OY))]),arrowOpacity:Db("arrowOpacity",[Tb("desc-to-active, asc-to-active, active",Ob({opacity:1})),Tb("desc-to-hint, asc-to-hint, hint",Ob({opacity:.54})),Tb("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",Ob({opacity:0})),Ib("* => asc, * => desc, * => active, * => hint, * => void",Lb("0ms")),Ib("* <=> *",Lb(OY))]),arrowPosition:Db("arrowPosition",[Ib("* => desc-to-hint, * => desc-to-active",Lb(OY,Ab([Ob({transform:"translateY(-25%)"}),Ob({transform:"translateY(0)"})]))),Ib("* => hint-to-desc, * => active-to-desc",Lb(OY,Ab([Ob({transform:"translateY(0)"}),Ob({transform:"translateY(25%)"})]))),Ib("* => asc-to-hint, * => asc-to-active",Lb(OY,Ab([Ob({transform:"translateY(25%)"}),Ob({transform:"translateY(0)"})]))),Ib("* => hint-to-asc, * => active-to-asc",Lb(OY,Ab([Ob({transform:"translateY(0)"}),Ob({transform:"translateY(-25%)"})]))),Tb("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",Ob({transform:"translateY(0)"})),Tb("hint-to-desc, active-to-desc, desc",Ob({transform:"translateY(-25%)"})),Tb("hint-to-asc, active-to-asc, asc",Ob({transform:"translateY(25%)"}))]),allowChildren:Db("allowChildren",[Ib("* <=> *",[jb("@*",Pb(),{optional:!0})])])};let AY=(()=>{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 IY={provide:AY,deps:[[new ki,new Si,AY]],useFactory:function(e){return e||new AY}};class PY{}const jY=kk(PY);let RY=(()=>{class e extends jY{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=q(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!==Wg&&e.keyCode!==zg||(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)(Yo(AY),Yo(Ml),Yo(LY,8),Yo("MAT_SORT_HEADER_COLUMN_DEF",8),Yo(_b),Yo(el))},e.\u0275cmp=Ne({type:e,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(e,t){1&e&&Qo("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&&(Io("aria-sort",t._getAriaSortAttribute()),pa("mat-sort-header-disabled",t._isDisabled()))},inputs:{disabled:"disabled",arrowPosition:"arrowPosition",disableClear:"disableClear",id:["mat-sort-header","id"],start:"start"},exportAs:["matSortHeader"],features:[vo],attrs:SY,ngContentSelectors:xY,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&&(ia(),No(0,"div",0),No(1,"div",1),ra(2),Vo(),jo(3,CY,6,6,"div",2),Vo()),2&e&&(pa("mat-sort-header-sorted",t._isSorted())("mat-sort-header-position-before","before"==t.arrowPosition),Io("tabindex",t._isDisabled()?null:0),rs(3),Fo("ngIf",t._renderArrow()))},directives:[Ad],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:[TY.indicator,TY.leftPointer,TY.rightPointer,TY.arrowOpacity,TY.arrowPosition,TY.allowChildren]},changeDetection:0}),e})(),YY=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[IY],imports:[[Kd,wk]]}),e})(),FY=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)}}),e})(),HY=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Kd,wk,FY,Vg]]}),e})();const NY={tooltipState:Db("state",[Tb("initial, void, hidden",Ob({opacity:0,transform:"scale(0)"})),Tb("visible",Ob({transform:"scale(1)"})),Ib("* => visible",Lb("200ms cubic-bezier(0, 0, 0.2, 1)",Ab([Ob({opacity:0,transform:"scale(0)",offset:0}),Ob({opacity:.5,transform:"scale(0.99)",offset:.5}),Ob({opacity:1,transform:"scale(1)",offset:1})]))),Ib("* => hidden",Lb("100ms cubic-bezier(0, 0, 0.2, 1)",Ob({opacity:0})))])},VY=bg({passive:!0}),UY=new Zn("mat-tooltip-scroll-strategy"),BY={provide:UY,deps:[Oy],useFactory:function(e){return()=>e.scrollStrategies.reposition({scrollThrottle:20})}},zY=new Zn("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let qY=(()=>{class e{constructor(e,t,n,i,r,s,o,a,l,c,u,d){this._overlay=e,this._elementRef=t,this._scrollDispatcher=n,this._viewContainerRef=i,this._ngZone=r,this._platform=s,this._ariaDescriber=o,this._focusMonitor=a,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===qg&&!ty(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(Z_(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,VY)}),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 jg(WY,this._viewContainerRef),this._tooltipInstance=t.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Z_(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(Z_(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(Z_(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($h(1),Z_(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,VY)})}_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)(Yo(Oy),Yo(el),Yo(Og),Yo(Hl),Yo(Qc),Yo(hg),Yo(Jy),Yo(_b),Yo(UY),Yo(Sg,8),Yo(zY,8),Yo(Eu))},e.\u0275dir=We({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})(),WY=(()=>{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)(Yo(Ml),Yo(rC))},e.\u0275cmp=Ne({type:e,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){1&e&&Qo("click",function(){return t._handleBodyInteraction()},!1,_r)("auxclick",function(){return t._handleBodyInteraction()},!1,_r),2&e&&ha("zoom","visible"===t._visibility?1:null)},decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){if(1&e&&(No(0,"div",0),Qo("@state.start",function(){return t._animationStart()})("@state.done",function(e){return t._animationDone(e)}),rc(1,"async"),xa(2),Vo()),2&e){let e=null;pa("mat-tooltip-handset",null==(e=sc(1,5,t._isHandset))?null:e.matches),Fo("ngClass",t.tooltipClass)("@state",t._visibility),rs(2),Ma(t.message)}},directives:[Ld],pipes:[qd],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:[NY.tooltipState]},changeDetection:0}),e})(),KY=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[BY],imports:[[Sb,Kd,Ry,wk],wk,Ag]}),e})();function $Y(e,t){if(1&e&&(No(0,"mat-option",19),xa(1),Vo()),2&e){const e=t.$implicit;Fo("value",e),rs(1),Da(" ",e," ")}}function GY(e,t){if(1&e){const e=Wo();No(0,"mat-form-field",16),No(1,"mat-select",17),Qo("selectionChange",function(t){return Rt(e),ta(2)._changePageSize(t.value)}),jo(2,$Y,2,2,"mat-option",18),Vo(),Vo()}if(2&e){const e=ta(2);Fo("appearance",e._formFieldAppearance)("color",e.color),rs(1),Fo("value",e.pageSize)("disabled",e.disabled)("aria-label",e._intl.itemsPerPageLabel),rs(1),Fo("ngForOf",e._displayedPageSizeOptions)}}function QY(e,t){if(1&e&&(No(0,"div",20),xa(1),Vo()),2&e){const e=ta(2);rs(1),Ma(e.pageSize)}}function JY(e,t){if(1&e&&(No(0,"div",12),No(1,"div",13),xa(2),Vo(),jo(3,GY,3,6,"mat-form-field",14),jo(4,QY,2,1,"div",15),Vo()),2&e){const e=ta();rs(2),Da(" ",e._intl.itemsPerPageLabel," "),rs(1),Fo("ngIf",e._displayedPageSizeOptions.length>1),rs(1),Fo("ngIf",e._displayedPageSizeOptions.length<=1)}}function XY(e,t){if(1&e){const e=Wo();No(0,"button",21),Qo("click",function(){return Rt(e),ta().firstPage()}),dn(),No(1,"svg",7),Uo(2,"path",22),Vo(),Vo()}if(2&e){const e=ta();Fo("matTooltip",e._intl.firstPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),Io("aria-label",e._intl.firstPageLabel)}}function ZY(e,t){if(1&e){const e=Wo();dn(),hn(),No(0,"button",23),Qo("click",function(){return Rt(e),ta().lastPage()}),dn(),No(1,"svg",7),Uo(2,"path",24),Vo(),Vo()}if(2&e){const e=ta();Fo("matTooltip",e._intl.lastPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),Io("aria-label",e._intl.lastPageLabel)}}let eF=(()=>{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 tF={provide:eF,deps:[[new ki,new Si,eF]],useFactory:function(e){return e||new eF}},nF=new Zn("MAT_PAGINATOR_DEFAULT_OPTIONS");class iF{}const rF=kk(Dk(iF));let sF=(()=>{class e extends rF{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 cc,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(C_(e),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(e){this._length=C_(e),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(C_(e),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(e=>C_(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)(Yo(eF),Yo(Ml),Yo(void 0))},e.\u0275dir=We({type:e,inputs:{pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",color:"color"},outputs:{page:"page"},features:[vo]}),e})(),oF=(()=>{class e extends sF{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)(Yo(eF),Yo(Ml),Yo(nF,8))},e.\u0275cmp=Ne({type:e,selectors:[["mat-paginator"]],hostAttrs:[1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[vo],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&&(No(0,"div",0),No(1,"div",1),jo(2,JY,5,3,"div",2),No(3,"div",3),No(4,"div",4),xa(5),Vo(),jo(6,XY,3,5,"button",5),No(7,"button",6),Qo("click",function(){return t.previousPage()}),dn(),No(8,"svg",7),Uo(9,"path",8),Vo(),Vo(),hn(),No(10,"button",9),Qo("click",function(){return t.nextPage()}),dn(),No(11,"svg",7),Uo(12,"path",10),Vo(),Vo(),jo(13,ZY,3,5,"button",11),Vo(),Vo(),Vo()),2&e&&(rs(2),Fo("ngIf",!t.hidePageSize),rs(3),Da(" ",t._intl.getRangeLabel(t.pageIndex,t.pageSize,t.length)," "),rs(1),Fo("ngIf",t.showFirstLastButtons),rs(1),Fo("matTooltip",t._intl.previousPageLabel)("matTooltipDisabled",t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",t._previousButtonsDisabled()),Io("aria-label",t._intl.previousPageLabel),rs(3),Fo("matTooltip",t._intl.nextPageLabel)("matTooltipDisabled",t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",t._nextButtonsDisabled()),Io("aria-label",t._intl.nextPageLabel),rs(3),Fo("ngIf",t.showFirstLastButtons))},directives:[Ad,GS,qY,LL,NA,Od,dS],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})(),aF=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[tF],imports:[[Kd,JS,UA,KY,wk]]}),e})(),lF=(()=>{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)(Yo(SS))},e.\u0275cmp=Ne({type:e,selectors:[["app-loader"]],decls:4,vars:1,consts:[[1,"loader"]],template:function(e,t){1&e&&(No(0,"div",0),Uo(1,"mat-spinner"),No(2,"p"),xa(3),Vo(),Vo()),2&e&&(rs(3),Da(" ",t.message," "))},directives:[HS],styles:[".loader[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{text-align:center;margin:0 auto}.loader[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:1em}"]}),e})(),cF=(()=>{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(z_(),ap(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(v_.b)(this,void 0,void 0,function*(){return this.dialogRef?Promise.resolve():(this.dialogRef=this._dialog.open(lF,{width:"80%",data:{message:"Please wait..."},closeOnNavigation:!1}),this.dialogRef.afterOpened().toPromise())})}dismissLoader(){return Object(v_.b)(this,void 0,void 0,function*(){if(!this.dialogRef||this.lazyDismissTimer)return Promise.resolve();this.lazyDismissTimer=setTimeout(()=>Object(v_.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(LS))},e.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),uF=(()=>{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(gC))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),dF=(()=>{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(uF))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),hF=(()=>{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 VS(e,t))}(1),rp(e=>{let t="";return t=e.error instanceof ErrorEvent?`Error: ${e.error.message}`:`Error Code: ${e.status}\nMessage: ${e.message}`,this._notifier.show(t),w_(t)}),Sp(()=>{this._loader.hideLoader()}))}}return e.\u0275fac=function(t){return new(t||e)(gi(cF),gi(uF))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),pF=(()=>{class e{constructor(e,t){this._http=e,this._formlyJsonSchema=t}loadSchema(e){return Object(v_.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(PC),gi(DD))},e.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),fF=(()=>{class e{constructor(e){this._router=e}canActivate(e,t){return LD.a.currentAuthenticatedUser().then(()=>!0).catch(()=>(this._router.navigate(["auth/signin"]),!1))}}return e.\u0275fac=function(t){return new(t||e)(gi(Jm))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),mF=(()=>{class e{constructor(e){this._router=e}canActivate(e,t){return LD.a.currentAuthenticatedUser().then(()=>(this._router.navigate(["profile"]),!1)).catch(()=>!0)}}return e.\u0275fac=function(t){return new(t||e)(gi(Jm))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),_F=(()=>{class e{constructor(){this._authState=new S,this.authState=this._authState.asObservable(),this._currentToken="",ED.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(v_.b)(this,void 0,void 0,function*(){void 0!==(yield this.getUserInfo())&&(yield this.getAccessToken())})}CurrentToken(){return this._currentToken}getAccessToken(){return Object(v_.b)(this,void 0,void 0,function*(){var e=(yield LD.a.currentAuthenticatedUser()).signInUserSession.idToken.jwtToken;return this._currentToken=e||"",e})}getUserInfo(){return Object(v_.b)(this,void 0,void 0,function*(){var e=yield LD.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 LD.a.resendSignUp(e)}confirmSignUp(e,t){return LD.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 LD.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 LD.a.signIn(e,t)}signOut(){return LD.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 gF(e,t){if(1&e){const e=Wo();No(0,"button",2),Qo("click",function(){Rt(e);const n=t.index;return ta().onClick(n+1)}),No(1,"mat-icon"),xa(2),Vo(),Vo()}if(2&e){const e=t.index,n=ta();pa("notclickable",n.readonly),Fo("color",n.color)("id","star_"+e),rs(2),Da(" ",n.showIcon(e)," ")}}function yF(e,t){1&e&&(No(0,"mat-error"),xa(1," Star count is "),No(2,"strong"),xa(3,"required"),Vo(),xa(4," and cannot be zero\n"),Vo())}let bF=(()=>{class e{constructor(){this.rating=0,this.starCount=5,this.readonly=!0,this.ratingUpdated=new cc,this.ratingArr=[]}ngOnInit(){for(let e=0;e=e+1?"star":"star_border"}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ne({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&&(jo(0,gF,3,5,"button",0),jo(1,yF,5,0,"mat-error",1)),2&e&&(Fo("ngForOf",t.ratingArr),rs(1),Fo("ngIf",null==t.starCount||0==t.starCount))},directives:[Od,Ad,GS,zD,dL],styles:["button[_ngcontent-%COMP%]{height:20px;width:25px;line-height:20px}.notclickable[_ngcontent-%COMP%]{cursor:default}"]}),e})();const vF=["datepickerToggle"];function wF(e,t){if(1&e&&Uo(0,"mat-datepicker-toggle",5),2&e){const e=ta(),t=Ro(5);Fo("disabled",e.to.disabled)("for",t)}}let kF=(()=>{class e extends bT{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 SF(t||e)},e.\u0275cmp=Ne({type:e,selectors:[["lib-date-time-picker"]],viewQuery:function(e,t){if(1&e&&(kc(HL,3),kc(eT,3),kc(vF,3)),2&e){let e;wc(e=Cc())&&(t.formFieldControl=e.first),wc(e=Cc())&&(t.datepickerInput=e.first),wc(e=Cc())&&(t.datepickerToggle=e.first)}},features:[vo],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=Wo();Uo(0,"input",0,1),jo(2,wF,1,2,"ng-template",null,2,Lc),No(4,"ngx-mat-datetime-picker",3,4),Qo("monthSelected",function(n){Rt(e);const i=Ro(5);return t.to.datepickerOptions.monthSelected(t.field,n,i)})("yearSelected",function(n){Rt(e);const i=Ro(5);return t.to.datepickerOptions.yearSelected(t.field,n,i)}),Vo()}if(2&e){const e=Ro(5);Fo("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),Fo("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:[HL,rx,eT,Mx,vM,cD,MM,GO,VE],styles:[""]}),e})();const SF=Gn(kF);let CF=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[qI,WI,ZI,eP,JS,NL,qD,iP,PP,TM,AM,mC,ES,UP,NS,RP,UA,YP,VP,UE,XP,kY,YY,HY,$T,ZR,aF]}),e})();function xF(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 MF(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 DF(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 LF(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 EF(e,t){var n;return`should be >= ${null===(n=null==t?void 0:t.templateOptions)||void 0===n?void 0:n.min}`}function OF(e,t){var n;return`should be <= ${null===(n=null==t?void 0:t.templateOptions)||void 0===n?void 0:n.max}`}function TF(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 AF(e,t){var n;return`should be > ${null===(n=null==t?void 0:t.templateOptions)||void 0===n?void 0:n.step}`}function IF(e,t){var n;return`should be < ${null===(n=null==t?void 0:t.templateOptions)||void 0===n?void 0:n.step}`}function PF(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 jF={parse:{dateInput:"l, LT"},display:{dateInput:"l, LT",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};let RF=(()=>{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:[uF,cF,{provide:pr,useClass:dF},{provide:RC,useClass:hF,multi:!0},{provide:eD,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:DF},{name:"maxlength",message:LF},{name:"min",message:EF},{name:"max",message:OF},{name:"multipleOf",message:TF},{name:"exclusiveMinimum",message:AF},{name:"exclusiveMaximum",message:IF},{name:"minItems",message:xF},{name:"maxItems",message:MF},{name:"uniqueItems",message:"should NOT have duplicate items"},{name:"const",message:PF},{name:"email",message:"not a valid email"}],types:[{name:"datetime",component:kF,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:yO,useValue:jF},{provide:gO,useClass:aT,deps:[Lk,sT]}]}}}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)(gi(e,12))},providers:[cF,dF,uF,pF],imports:[[Kd,CF,nT,tT,SD.forRoot(),eI],CF,AM,SD,eI,sI,nT,tT,Nk]}),e})(),YF=(()=>{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:[fF,mF,_F]}}}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)(gi(e,12))},providers:[],imports:[[Kd]]}),e})(),FF=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ne({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&&(No(0,"div",0),No(1,"div",1),Uo(2,"router-outlet"),Vo(),Vo())},directives:[Jj,VR,rR,_R,t_],styles:["[_nghost-%COMP%]{height:100%}.auth-btn-signup[_ngcontent-%COMP%]{position:absolute;bottom:1em;right:2em}"]}),e})();const HF={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"}};function NF(e,t){1&e&&(No(0,"mat-hint"),xa(1,"Enter the confirmation code that was emailed to you"),Vo())}let VF=(()=>{class e{constructor(e,t,n){this._auth=e,this._router=t,this._notification=n,this.email=HF.confirm.email,this.confirmForm=new cM({email:new lM({value:this.email,disabled:!0}),code:new lM("",[ux.required,ux.min(3)])})}get codeInput(){return this.confirmForm.get("code")}ngOnInit(){this.email||this._router.navigate(["auth/signup"])}sendAgain(){return Object(v_.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(v_.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))&&HF.confirm.email&&HF.confirm.password)try{yield this._auth.signIn(this.email,HF.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)(Yo(_F),Yo(Jm),Yo(uF))},e.\u0275cmp=Ne({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&&(No(0,"form",0),No(1,"h2"),xa(2,"Confirm your email address"),Vo(),No(3,"mat-form-field"),Uo(4,"input",1),Vo(),No(5,"mat-form-field"),Uo(6,"input",2),jo(7,NF,2,0,"mat-hint",3),Vo(),No(8,"button",4),Qo("click",function(){return t.confirmCode()}),xa(9,"Confirm"),Vo(),No(10,"p"),xa(11,"Didn't receive a code? "),No(12,"a",5),Qo("click",function(){return t.sendAgain()}),xa(13,"Send again"),Vo(),Vo(),Vo()),2&e&&(Fo("formGroup",t.confirmForm),rs(7),Fo("ngIf",!(null!=t.codeInput&&t.codeInput.value)))},directives:[gM,Dx,kM,LL,HL,rx,Mx,CM,MM,Ad,GS,_L],styles:[""]}),e})();function UF(e,t){1&e&&(No(0,"mat-hint"),xa(1,"Enter your email address"),Vo())}function BF(e,t){if(1&e&&(No(0,"mat-error"),xa(1),Vo()),2&e){const e=ta();rs(1),Da(" ",e.getEmailInputError()," ")}}function zF(e,t){1&e&&(No(0,"mat-hint"),xa(1,"Enter your password"),Vo())}function qF(e,t){if(1&e&&(No(0,"mat-error"),xa(1),Vo()),2&e){const e=ta();rs(1),Da(" ",e.getPasswordInputError()," ")}}let WF=(()=>{class e{constructor(e,t,n,i){this.auth=e,this._notification=t,this._router=n,this._loader=i,this.signinForm=new cM({email:new lM("",[ux.email,ux.required]),password:new lM("",[ux.required,ux.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(v_.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":HF.confirm.email=null===(n=this.emailInput)||void 0===n?void 0:n.value,HF.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)(Yo(_F),Yo(uF),Yo(Jm),Yo(cF))},e.\u0275cmp=Ne({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&&(No(0,"form",0),No(1,"h2"),xa(2,"Sign in to your account"),Vo(),No(3,"mat-form-field"),Uo(4,"input",1),jo(5,UF,2,0,"mat-hint",2),jo(6,BF,2,1,"mat-error",2),Vo(),No(7,"mat-form-field"),Uo(8,"input",3),No(9,"mat-icon",4),Qo("click",function(){return t.hide=!t.hide}),xa(10),Vo(),jo(11,zF,2,0,"mat-hint",2),jo(12,qF,2,1,"mat-error",2),Vo(),No(13,"button",5),Qo("click",function(){return t.signIn()}),xa(14,"Sign In"),Vo(),No(15,"p"),xa(16,"Don't have an account? "),No(17,"a",6),xa(18,"Sign up"),Vo(),Vo(),Vo()),2&e&&(Fo("formGroup",t.signinForm),rs(5),Fo("ngIf",!(null!=t.emailInput&&t.emailInput.value)),rs(1),Fo("ngIf",!(null!=t.emailInput&&t.emailInput.valid)),rs(2),Fo("type",t.hide?"password":"text"),rs(2),Ma(t.hide?"visibility_off":"visibility"),rs(1),Fo("ngIf",!(null!=t.passwordInput&&t.passwordInput.value)),rs(1),Fo("ngIf",!(null!=t.passwordInput&&t.passwordInput.valid)),rs(1),Fo("disabled",!t.signinForm.valid))},directives:[gM,Dx,kM,LL,HL,rx,Mx,CM,MM,Ad,zD,kL,GS,Zm,_L,dL],styles:[""]}),e})(),KF=(()=>{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 cM({}),this.fields=[]}get currentEntry(){return this._newUser}ngOnInit(){this.load()}load(){return Object(v_.b)(this,void 0,void 0,function*(){var e=yield this._http.get("/assets/new-vendor.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.type="input",e.templateOptions.type="password"),e)),this.fields=t}})}onSubmit(){return Object(v_.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)}HF.confirm.email=this.currentEntry.email,HF.confirm.password=this.currentEntry.password,this._router.navigate(["auth/confirm"])}})}}return e.\u0275fac=function(t){return new(t||e)(Yo(_F),Yo(Jm),Yo(PC),Yo(DD),Yo(uF))},e.\u0275cmp=Ne({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&&(No(0,"form",0),Qo("ngSubmit",function(){return t.onSubmit()}),No(1,"h2"),xa(2,"Create a new account"),Vo(),Uo(3,"formly-form",1),No(4,"button",2),xa(5,"Submit"),Vo(),Vo()),2&e&&(Fo("formGroup",t.form),rs(3),Fo("form",t.form)("fields",t.fields)("model",t.currentEntry),rs(1),Fo("disabled",!(null!=t.form&&t.form.valid)))},directives:[gM,Dx,kM,aD,GS],styles:[".auth-container[_ngcontent-%COMP%]{width:70%}"]}),e})();const $F=new Zn("basePath");class GF{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 QF=(()=>{class e{constructor(e,t,n){this.httpClient=e,this.basePath="/",this.defaultHeaders=new vC,this.configuration=new GF,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(PC),gi($F,8),gi(GF,8))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),JF=(()=>{class e{constructor(e,t,n){this.httpClient=e,this.basePath="/",this.defaultHeaders=new vC,this.configuration=new GF,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(PC),gi($F,8),gi(GF,8))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();class XF extends wC{encodeKey(e){return(e=super.encodeKey(e)).replace(/\+/gi,"%2B")}encodeValue(e){return(e=super.encodeValue(e)).replace(/\+/gi,"%2B")}}let ZF=(()=>{class e{constructor(e,t,n){this.httpClient=e,this.basePath="/",this.defaultHeaders=new vC,this.configuration=new GF,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 o=new SC({encoder:new XF});e&&e.forEach(e=>{o=o.append("status",e)}),null!=t&&(o=o.set("from_date",t.toISOString())),null!=n&&(o=o.set("to_date",n.toISOString())),null!=i&&(o=o.set("service_id",i));let a=this.defaultHeaders;this.configuration.apiKeys&&this.configuration.apiKeys["X-CognitoUser"]&&(a=a.set("X-CognitoUser",this.configuration.apiKeys["X-CognitoUser"]));const l=this.configuration.selectHeaderAccept(["application/json"]);return null!=l&&(a=a.set("Accept",l)),this.httpClient.request("get",`${this.basePath}/booking`,{params:o,withCredentials:this.configuration.withCredentials,headers:a,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 o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(r=r.set("Content-Type",o)),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 o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(r=r.set("Content-Type",o)),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 o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(r=r.set("Content-Type",o)),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 o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(r=r.set("Content-Type",o)),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(PC),gi($F,8),gi(GF,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 vC,this.configuration=new GF,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(PC),gi($F,8),gi(GF,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 vC,this.configuration=new GF,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(PC),gi($F,8),gi(GF,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 vC,this.configuration=new GF,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 o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(r=r.set("Content-Type",o)),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(PC),gi($F,8),gi(GF,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 vC,this.configuration=new GF,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 o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(r=r.set("Content-Type",o)),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 o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(r=r.set("Content-Type",o)),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 o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(r=r.set("Content-Type",o)),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 o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(r=r.set("Content-Type",o)),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(PC),gi($F,8),gi(GF,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 vC,this.configuration=new GF,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(PC),gi($F,8),gi(GF,8))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),sH=(()=>{class e{constructor(e,t,n){this.httpClient=e,this.basePath="/",this.defaultHeaders=new vC,this.configuration=new GF,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 o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(r=r.set("Content-Type",o)),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,o,a,l="body",c=!1){let u=new SC({encoder:new XF});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!=o&&(u=u.set("schedule_end_time_to",o.toISOString())),null!=a&&(u=u.set("service_id",a));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(PC),gi($F,8),gi(GF,8))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})(),oH=(()=>{class e{constructor(e,t,n){this.httpClient=e,this.basePath="/",this.defaultHeaders=new vC,this.configuration=new GF,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 SC({encoder:new XF});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 o=this.configuration.selectHeaderAccept(["application/json"]);return null!=o&&(s=s.set("Accept",o)),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(PC),gi($F,8),gi(GF,8))},e.\u0275prov=le({token:e,factory:e.\u0275fac}),e})();var aH,lH,cH,uH,dH,hH,pH,fH,mH,_H,gH,yH,bH;!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"}}(lH||(lH={})),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"}}(cH||(cH={})),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"}}(uH||(uH={})),function(e){e.PaymentMethodEnum={Cash:"cash",CreditCard:"credit_card"}}(dH||(dH={})),function(e){e.ResultEnum={Success:"success",Redirect:"redirect",Declined:"declined"}}(hH||(hH={})),function(e){e.StatusEnum={Issued:"issued",Paid:"paid",Cancelled:"cancelled"},e.PaymentMethodEnum={Cash:"cash",CreditCard:"credit_card"}}(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={Draft:"draft",Finalized:"finalized"}}(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.StatusEnum={NewBooking:"new_booking",Quoted:"quoted",Confirmed:"confirmed",Assigned:"assigned",Inprogress:"inprogress",Resolved:"resolved",UserRejected:"user_rejected",VendorRejected:"vendor_rejected",Cancelled:"cancelled"}}(gH||(gH={})),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"}}(yH||(yH={})),function(e){e.RoleEnum={Admin:"Admin",Employee:"Employee",Supervisor:"Supervisor"}}(bH||(bH={}));let vH=(()=>{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:GF,useFactory:t}]}}}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)(gi(e,12),gi(PC,8))},providers:[QF,JF,ZF,eH,tH,nH,iH,rH,sH,oH],imports:[[]]}),e})(),wH=(()=>{class e{constructor(e,t){this._bookingSvc=e,this._quoteSvc=t,this._currentId="",this._currentBooking={},this._bookingSubject=new cg(1),this.BookingEntry$=this._bookingSubject.asObservable()}get BookingEntry(){return this._currentBooking}get QuoteEntry(){var e,t;return null===(t=null===(e=this._currentBooking)||void 0===e?void 0:e.quotes)||void 0===t?void 0:t[0]}get InvoiceEntry(){var e,t;return null===(t=null===(e=this.QuoteEntry)||void 0===e?void 0:e.invoices)||void 0===t?void 0:t[0]}modify(e){return Object(v_.b)(this,void 0,void 0,function*(){this.canModify&&(yield this._bookingSvc.postBooking(this._currentId,e).toPromise(),yield this.refresh())})}publishQuote(e){return Object(v_.b)(this,void 0,void 0,function*(){this.canQuote&&void 0!==this.QuoteEntry&&(yield this._quoteSvc.publishQuote(this.QuoteEntry.id,e).toPromise(),this.refresh())})}createQuote(){return Object(v_.b)(this,void 0,void 0,function*(){this.canQuote&&(yield this._quoteSvc.postBookingQuote(this._currentId).toPromise(),this.refresh())})}editQuoteItem(e,t){return Object(v_.b)(this,void 0,void 0,function*(){yield this._quoteSvc.postQuoteItemById(e,t).toPromise(),this.refresh()})}deleteQuoteItem(e){return Object(v_.b)(this,void 0,void 0,function*(){yield this._quoteSvc.deleteQuoteItem(e).toPromise(),this.refresh()})}addQuoteItem(e){var t;return Object(v_.b)(this,void 0,void 0,function*(){var n=[];return void 0!==(null===(t=this.QuoteEntry)||void 0===t?void 0:t.id)&&(n=yield this._quoteSvc.postQuoteItems(this.QuoteEntry.id,e).toPromise(),this.refresh()),n})}load(e){return this._currentId=e,this.refresh(),this.BookingEntry$}get allowedStatusValues(){return"new_booking"==this._currentBooking.status?[_H.StatusEnum.VendorRejected]:"confirmed"==this._currentBooking.status?[_H.StatusEnum.Assigned,_H.StatusEnum.Inprogress,_H.StatusEnum.Resolved]:"assigned"==this._currentBooking.status?[_H.StatusEnum.Inprogress,_H.StatusEnum.Resolved]:"inprogress"==this._currentBooking.status?[_H.StatusEnum.Resolved]:[]}get canQuote(){return void 0!==this._currentBooking&&this._currentBooking.status==_H.StatusEnum.NewBooking}get canModify(){return void 0!==this._currentBooking.id&&this._currentBooking.status!=_H.StatusEnum.Cancelled&&this._currentBooking.status!=_H.StatusEnum.UserRejected&&this._currentBooking.status!=_H.StatusEnum.VendorRejected&&this._currentBooking.status!=_H.StatusEnum.Quoted&&this._currentBooking.status!=_H.StatusEnum.Resolved}refresh(){return Object(v_.b)(this,void 0,void 0,function*(){this._currentBooking=yield this._bookingSvc.getBookingById(this._currentId).toPromise(),this._bookingSubject.next(this._currentBooking)})}}return e.\u0275fac=function(t){return new(t||e)(gi(sH),gi(iH))},e.\u0275prov=le({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const kH=function(){return["modify"]};function SH(e,t){1&e&&(No(0,"button",8),xa(1,"Modify"),Vo()),2&e&&Fo("routerLink",ec(1,kH))}function CH(e,t){if(1&e&&(No(0,"mat-card",15),No(1,"mat-card-header"),No(2,"mat-card-title"),xa(3,"Rating"),Vo(),Vo(),No(4,"mat-card-content"),No(5,"div",6),Uo(6,"mat-star-rating",16),Vo(),No(7,"div",6),No(8,"div",5),xa(9,"Review"),Vo(),xa(10),Vo(),Vo(),Vo()),2&e){const e=ta();rs(6),Fo("readonly",!0)("rating",e.bookingHandler.BookingEntry.user_rating),rs(4),Da(" ",e.bookingHandler.BookingEntry.user_review," ")}}function xH(e,t){if(1&e&&(No(0,"div",4),No(1,"div",5),xa(2,"Extra instructions"),Vo(),xa(3),Vo()),2&e){const e=ta();rs(3),Da(" ",null==e.bookingHandler.BookingEntry.user_booking?null:e.bookingHandler.BookingEntry.user_booking.extra_instructions," ")}}const MH=function(){return["quote"]};let DH=(()=>{class e{constructor(e,t,n){this.bookingHandler=e,this._aRoute=t,this._route=n}goBack(){this._route.navigate([".."],{relativeTo:this._aRoute})}ngOnInit(){this._aRoute.params.subscribe(e=>{this.bookingHandler.load(e.id)})}}return e.\u0275fac=function(t){return new(t||e)(Yo(wH),Yo(Af),Yo(Jm))},e.\u0275cmp=Ne({type:e,selectors:[["app-booking-details"]],decls:105,vars:36,consts:[[1,"controls-div"],["color","primary","mat-mini-fab","",1,"back-button",3,"click"],["fxLayout","row wrap","fxLayout.lt-sm","column","fxLayoutGap","32px","fxLayoutAlign","center flex-space-between",1,"container",2,"margin-bottom","32px"],[1,"case-card","mat-elevation-z8"],[1,"item","lowpad"],[1,"label"],[1,"item"],["class","button-spaced","mat-raised-button","","color","primary",3,"routerLink",4,"ngIf"],["mat-raised-button","","color","primary",1,"button-spaced",3,"routerLink"],["class","rating-card mat-elevation-z8",4,"ngIf"],[1,"booking-card","mat-elevation-z8"],["class","item lowpad",4,"ngIf"],[1,"user-card","mat-elevation-z8"],[1,"address-card","mat-elevation-z8"],[1,"sub-content"],[1,"rating-card","mat-elevation-z8"],[3,"readonly","rating"]],template:function(e,t){1&e&&(No(0,"div",0),No(1,"button",1),Qo("click",function(){return t.goBack()}),No(2,"mat-icon"),xa(3,"arrow_back"),Vo(),Vo(),Vo(),No(4,"div",2),No(5,"mat-card",3),No(6,"mat-card-header"),No(7,"mat-card-title"),xa(8,"Case Details"),Vo(),No(9,"mat-card-subtitle"),xa(10),rc(11,"date"),Vo(),Vo(),No(12,"mat-card-content"),No(13,"div",4),No(14,"div",5),xa(15,"Status"),Vo(),xa(16),Vo(),No(17,"div",6),No(18,"div",5),xa(19,"Note"),Vo(),xa(20),Vo(),No(21,"div",6),jo(22,SH,2,2,"button",7),No(23,"button",8),xa(24),Vo(),Vo(),Vo(),Vo(),jo(25,CH,11,3,"mat-card",9),No(26,"mat-card",10),No(27,"mat-card-header"),No(28,"mat-card-title"),xa(29,"Booking Details"),Vo(),No(30,"mat-card-subtitle"),xa(31),rc(32,"date"),Vo(),Vo(),No(33,"mat-card-content"),No(34,"div",4),No(35,"div",5),xa(36,"Time"),Vo(),xa(37),rc(38,"date"),Vo(),No(39,"div",4),No(40,"div",5),xa(41,"Alternative Time"),Vo(),xa(42),rc(43,"date"),Vo(),No(44,"div",4),No(45,"div",5),xa(46,"Service"),Vo(),xa(47),Vo(),jo(48,xH,4,1,"div",11),No(49,"div",4),No(50,"div",5),xa(51,"Description"),Vo(),xa(52),Vo(),Vo(),Vo(),No(53,"mat-card",12),No(54,"mat-card-header"),No(55,"mat-card-title"),xa(56,"Customer Details"),Vo(),Vo(),No(57,"mat-card-content"),No(58,"div",4),No(59,"div",5),xa(60,"First Name"),Vo(),xa(61),Vo(),No(62,"div",4),No(63,"div",5),xa(64,"Last Name"),Vo(),xa(65),Vo(),No(66,"div",4),No(67,"div",5),xa(68,"Mobile"),Vo(),xa(69),Vo(),No(70,"div",4),No(71,"div",5),xa(72,"Email"),Vo(),xa(73),Vo(),Vo(),Vo(),No(74,"mat-card",13),No(75,"mat-card-header"),No(76,"mat-card-title"),xa(77,"Address"),Vo(),Vo(),No(78,"mat-card-content"),No(79,"div",4),No(80,"div",5),xa(81,"Area"),Vo(),xa(82),Vo(),No(83,"div",4),No(84,"div",5),xa(85,"Flat/Office"),Vo(),xa(86),Vo(),No(87,"div",4),No(88,"div",5),xa(89,"Building"),Vo(),xa(90),Vo(),No(91,"div",4),No(92,"div",5),xa(93,"Road"),Vo(),xa(94),Vo(),No(95,"div",4),No(96,"div",5),xa(97,"Block"),Vo(),xa(98),Vo(),No(99,"div",4),No(100,"div",5),xa(101,"Extra details"),Vo(),xa(102),Vo(),Vo(),Vo(),Vo(),No(103,"div",14),Uo(104,"router-outlet"),Vo()),2&e&&(rs(10),Da("Last Modified ",oc(11,23,t.bookingHandler.BookingEntry.modified_at,"short"),""),rs(6),Da(" ",t.bookingHandler.BookingEntry.status," "),rs(4),Da(" ",t.bookingHandler.BookingEntry.vendor_note," "),rs(2),Fo("ngIf",t.bookingHandler.canModify),rs(1),Fo("routerLink",ec(35,MH)),rs(1),Ma(t.bookingHandler.InvoiceEntry?"Invoice":"Quote"),rs(1),Fo("ngIf",t.bookingHandler.BookingEntry.user_rating),rs(6),Da("Created ",oc(32,26,t.bookingHandler.BookingEntry.created_at,"short"),""),rs(6),Da(" ",oc(38,29,null==t.bookingHandler.BookingEntry.user_booking?null:t.bookingHandler.BookingEntry.user_booking.start_time,"short")," "),rs(5),Da(" ",oc(43,32,null==t.bookingHandler.BookingEntry.user_booking?null:t.bookingHandler.BookingEntry.user_booking.alternative_start_time,"short")," "),rs(5),Da(" ",null==t.bookingHandler.BookingEntry.user_booking||null==t.bookingHandler.BookingEntry.user_booking.service?null:t.bookingHandler.BookingEntry.user_booking.service.name," "),rs(1),Fo("ngIf",null==t.bookingHandler.BookingEntry.user_booking?null:t.bookingHandler.BookingEntry.user_booking.extra_instructions),rs(4),Da(" ",null==t.bookingHandler.BookingEntry.user_booking?null:t.bookingHandler.BookingEntry.user_booking.description," "),rs(9),Da(" ",null==t.bookingHandler.BookingEntry.user_booking||null==t.bookingHandler.BookingEntry.user_booking.address||null==t.bookingHandler.BookingEntry.user_booking.address.user?null:t.bookingHandler.BookingEntry.user_booking.address.user.first_name," "),rs(4),Da(" ",null==t.bookingHandler.BookingEntry.user_booking||null==t.bookingHandler.BookingEntry.user_booking.address||null==t.bookingHandler.BookingEntry.user_booking.address.user?null:t.bookingHandler.BookingEntry.user_booking.address.user.last_name," "),rs(4),Da(" ",null==t.bookingHandler.BookingEntry.user_booking||null==t.bookingHandler.BookingEntry.user_booking.address||null==t.bookingHandler.BookingEntry.user_booking.address.user?null:t.bookingHandler.BookingEntry.user_booking.address.user.mobile," "),rs(4),Da(" ",null==t.bookingHandler.BookingEntry.user_booking||null==t.bookingHandler.BookingEntry.user_booking.address||null==t.bookingHandler.BookingEntry.user_booking.address.user?null:t.bookingHandler.BookingEntry.user_booking.address.user.email," "),rs(9),Da(" ",null==t.bookingHandler.BookingEntry.user_booking||null==t.bookingHandler.BookingEntry.user_booking.address||null==t.bookingHandler.BookingEntry.user_booking.address.area?null:t.bookingHandler.BookingEntry.user_booking.address.area.name," "),rs(4),Da(" ",null==t.bookingHandler.BookingEntry.user_booking||null==t.bookingHandler.BookingEntry.user_booking.address?null:t.bookingHandler.BookingEntry.user_booking.address.flat," "),rs(4),Da(" ",null==t.bookingHandler.BookingEntry.user_booking||null==t.bookingHandler.BookingEntry.user_booking.address?null:t.bookingHandler.BookingEntry.user_booking.address.building," "),rs(4),Da(" ",null==t.bookingHandler.BookingEntry.user_booking||null==t.bookingHandler.BookingEntry.user_booking.address?null:t.bookingHandler.BookingEntry.user_booking.address.road," "),rs(4),Da(" ",null==t.bookingHandler.BookingEntry.user_booking||null==t.bookingHandler.BookingEntry.user_booking.address?null:t.bookingHandler.BookingEntry.user_booking.address.block," "),rs(4),Da(" ",null==t.bookingHandler.BookingEntry.user_booking||null==t.bookingHandler.BookingEntry.user_booking.address?null:t.bookingHandler.BookingEntry.user_booking.address.extra_details," "))},directives:[GS,zD,Jj,rR,VR,QP,JP,$P,GP,KP,Ad,Xm,t_,bF],pipes:[Wd],styles:[""]}),e})(),LH=(()=>{class e{constructor(e,t){this.http=e,this.formlyJsonSchema=t,this.form=new cM({}),this.fields=[],this._currentEntry={},this.submitEntry=new cc,this.cancelEntry=new cc}ngOnChanges(e){"allowedStatus"in e&&JSON.stringify(e.allowedStatus.currentValue)!==JSON.stringify(e.allowedStatus.previousValue)&&this.refreshSetup(),"selectedStatus"in e&&(this.currentEntry.status=this.selectedStatus)}get currentEntry(){return this._currentEntry}ngOnInit(){this.load()}onSubmit(){return Object(v_.b)(this,void 0,void 0,function*(){this.form.valid&&this.submitEntry.emit(this._currentEntry)})}refreshSetup(){if(void 0!==this.jsonSchema){const t=this.formlyJsonSchema.toFieldConfig(this.jsonSchema);var e=t.fieldGroup?t.fieldGroup:[];e.map(e=>{var t;if(void 0!==e.templateOptions)if("status"==e.key){e.type="select";var n=null!==(t=this.allowedStatus)&&void 0!==t?t:[];e.templateOptions.options=n.map(e=>({label:e,value:e}))}else"vendor_note"==e.key?(e.type="textarea",e.templateOptions.required=!0,e.templateOptions.rows=5,e.templateOptions.placeholder="Note for customer"):"start_time"!=e.key&&"end_time"!=e.key||(e.hideExpression="model.status !== 'quoted'",e.type="datetime");return e}),this.fields=e,void 0!==this.selectedStatus&&(this.currentEntry.status=this.selectedStatus)}}load(){return Object(v_.b)(this,void 0,void 0,function*(){void 0===this.jsonSchema&&(this.jsonSchema=yield this.http.get("/assets/modify-vendor-booking.json").toPromise()),this.refreshSetup()})}}return e.\u0275fac=function(t){return new(t||e)(Yo(PC),Yo(DD))},e.\u0275cmp=Ne({type:e,selectors:[["app-booking-modify-form"]],inputs:{selectedStatus:"selectedStatus",allowedStatus:"allowedStatus"},outputs:{submitEntry:"submitEntry",cancelEntry:"cancelEntry"},features:[ut],decls:6,vars:5,consts:[["fxLayout","row","fxLayoutAlign","center space-around","fxLayoutGap","32px",1,"container",2,"margin-bottom","32px"],["fxFlex","70"],[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&&(No(0,"div",0),No(1,"div",1),No(2,"form",2),Qo("ngSubmit",function(){return t.onSubmit()}),Uo(3,"formly-form",3),No(4,"button",4),xa(5,"Submit"),Vo(),Vo(),Vo(),Vo()),2&e&&(rs(2),Fo("formGroup",t.form),rs(1),Fo("form",t.form)("fields",t.fields)("model",t.currentEntry),rs(1),Fo("disabled",!(null!=t.form&&t.form.valid)))},directives:[Jj,VR,rR,_R,gM,Dx,kM,aD,GS],styles:[""]}),e})(),EH=(()=>{class e{constructor(e,t,n){this.bookingSvc=e,this._aroute=t,this._router=n}ngOnInit(){this.bookingSvc.BookingEntry$.subscribe(e=>{this.bookingSvc.canModify||this._router.navigate([".."],{relativeTo:this._aroute})})}onSubmit(e){return Object(v_.b)(this,void 0,void 0,function*(){this.bookingSvc.canModify&&(yield this.bookingSvc.modify(e),this._router.navigate([".."],{relativeTo:this._aroute}))})}}return e.\u0275fac=function(t){return new(t||e)(Yo(wH),Yo(Af),Yo(Jm))},e.\u0275cmp=Ne({type:e,selectors:[["app-booking-update-form"]],decls:1,vars:1,consts:[[3,"allowedStatus","submitEntry"]],template:function(e,t){1&e&&(No(0,"app-booking-modify-form",0),Qo("submitEntry",function(e){return t.onSubmit(e)}),Vo()),2&e&&Fo("allowedStatus",t.bookingSvc.allowedStatusValues)},directives:[LH],styles:[""]}),e})(),OH=(()=>{class e{constructor(e,t){this.http=e,this.formlyJsonSchema=t,this.form=new cM({}),this.fields=[],this.currentEntry={},this.entrySaved=new cc}ngOnInit(){this.load()}onSubmit(){return Object(v_.b)(this,void 0,void 0,function*(){this.form.valid&&this.entrySaved.emit(this.currentEntry)})}load(){return Object(v_.b)(this,void 0,void 0,function*(){if(void 0===this.jsonSchema&&(this.jsonSchema=yield this.http.get("/assets/new-quote-item.json").toPromise()),void 0!==this.jsonSchema){const t=this.formlyJsonSchema.toFieldConfig(this.jsonSchema);console.log(t);var e=t.fieldGroup?t.fieldGroup:[];e.map(e=>e),this.fields=e}})}}return e.\u0275fac=function(t){return new(t||e)(Yo(PC),Yo(DD))},e.\u0275cmp=Ne({type:e,selectors:[["app-quote-item-form"]],inputs:{currentEntry:"currentEntry"},outputs:{entrySaved:"entrySaved"},decls:4,vars:4,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&&(No(0,"form",0),Qo("ngSubmit",function(){return t.onSubmit()}),Uo(1,"formly-form",1),No(2,"button",2),Qo("disabled",function(){return null==t.form?null:t.form.valid}),xa(3,"Submit"),Vo(),Vo()),2&e&&(Fo("formGroup",t.form),rs(1),Fo("form",t.form)("fields",t.fields)("model",t.currentEntry))},directives:[gM,Dx,kM,aD,GS],styles:[""]}),e})();function TH(e,t){1&e&&(No(0,"mat-header-cell",26),xa(1,"Item Code"),Vo())}function AH(e,t){if(1&e&&(No(0,"mat-cell",27),No(1,"div",28),xa(2,"Item Code"),Vo(),xa(3),Vo()),2&e){const e=t.$implicit;rs(3),Da(" ",e.item_code," ")}}function IH(e,t){1&e&&(No(0,"mat-header-cell",26),xa(1," Name "),Vo())}function PH(e,t){if(1&e&&(No(0,"mat-cell",27),No(1,"div",28),xa(2,"Name"),Vo(),xa(3),Vo()),2&e){const e=t.$implicit;rs(3),Da(" ",e.item_name," ")}}function jH(e,t){1&e&&(No(0,"mat-header-cell",26),xa(1," Price "),Vo())}function RH(e,t){if(1&e&&(No(0,"mat-cell",27),No(1,"div",28),xa(2,"Price"),Vo(),xa(3),Vo()),2&e){const e=t.$implicit;rs(3),Da(" ",e.price," ")}}function YH(e,t){1&e&&(No(0,"mat-header-cell",26),xa(1," Quantity "),Vo())}function FH(e,t){if(1&e&&(No(0,"mat-cell",27),No(1,"div",28),xa(2,"Item Code"),Vo(),xa(3),Vo()),2&e){const e=t.$implicit;rs(3),Da(" ",e.quantity," ")}}function HH(e,t){1&e&&(No(0,"mat-footer-cell"),xa(1,"Total"),Vo())}function NH(e,t){1&e&&(No(0,"mat-header-cell",26),xa(1," Total "),Vo())}function VH(e,t){if(1&e&&(No(0,"mat-cell",27),No(1,"div",28),xa(2,"Total"),Vo(),xa(3),Vo()),2&e){const e=t.$implicit;rs(3),Da(" ",e.quantity*e.price||0," ")}}function UH(e,t){if(1&e&&(No(0,"mat-footer-cell"),xa(1),Vo()),2&e){const e=ta();rs(1),Da(" ",e.totalAmount," ")}}function BH(e,t){1&e&&Uo(0,"mat-header-cell",26)}function zH(e,t){1&e&&(No(0,"span",32),xa(1,"Unsaved"),Vo())}function qH(e,t){if(1&e){const e=Wo();No(0,"span"),No(1,"button",30),Qo("click",function(){Rt(e);const t=ta().$implicit;return ta().deleteItem(t)}),No(2,"mat-icon"),xa(3,"delete"),Vo(),Vo(),jo(4,zH,2,0,"span",31),Vo()}if(2&e){const e=ta().$implicit;rs(4),Fo("ngIf",e.id.startsWith("temp"))}}function WH(e,t){if(1&e&&(No(0,"mat-cell",27),jo(1,qH,5,1,"span",29),Vo()),2&e){const e=ta();rs(1),Fo("ngIf",e.bookingHandler.canQuote)}}function KH(e,t){if(1&e){const e=Wo();No(0,"mat-cell"),No(1,"div",33),No(2,"app-quote-item-form",34),Qo("entrySaved",function(t){return Rt(e),ta().saveItem(t)}),Vo(),Vo(),Vo()}if(2&e){const e=t.$implicit;Io("colspan",ta().columnsToDisplay.length),rs(2),Fo("currentEntry",e)}}function $H(e,t){1&e&&Uo(0,"mat-header-row")}function GH(e,t){if(1&e){const e=Wo();No(0,"mat-row",35),Qo("click",function(){Rt(e);const n=t.$implicit,i=ta();return i.selectedItem=i.selectedItem===n?null:n}),Vo()}if(2&e){const e=t.$implicit;pa("item-form",ta().selectedItem===e)}}function QH(e,t){1&e&&Uo(0,"mat-row",36),2&e&&Fo("@detailExpand",t.$implicit==ta().selectedItem?"expanded":"collapsed")}function JH(e,t){1&e&&Uo(0,"mat-footer-row")}function XH(e,t){if(1&e){const e=Wo();No(0,"button",37),Qo("click",function(){return Rt(e),ta().addItem()}),xa(1,"Add Item"),Vo()}}function ZH(e,t){if(1&e){const e=Wo();No(0,"button",37),Qo("click",function(){return Rt(e),ta().publishClicked()}),xa(1,"Publish"),Vo()}}function eN(e,t){if(1&e&&(No(0,"mat-card",38),No(1,"mat-card-header"),No(2,"mat-card-title"),xa(3,"Invoice"),Vo(),No(4,"mat-card-subtitle"),xa(5),rc(6,"date"),Vo(),Vo(),No(7,"mat-card-content"),No(8,"div",39),No(9,"div",22),xa(10,"Status"),Vo(),xa(11),Vo(),No(12,"div",39),No(13,"div",22),xa(14,"Payment method"),Vo(),xa(15),Vo(),No(16,"div",21),No(17,"div",22),xa(18,"Amount"),Vo(),xa(19),Vo(),No(20,"div",39),No(21,"div",22),xa(22,"Transaction"),Vo(),xa(23),Vo(),Vo(),Vo()),2&e){const e=ta();rs(5),Da("Created ",oc(6,5,null==e.bookingHandler.InvoiceEntry?null:e.bookingHandler.InvoiceEntry.created_at,"short"),""),rs(6),Da(" ",null==e.bookingHandler.InvoiceEntry?null:e.bookingHandler.InvoiceEntry.status," "),rs(4),Da(" ",null==e.bookingHandler.InvoiceEntry?null:e.bookingHandler.InvoiceEntry.payment_method," "),rs(4),Da(" ",null==e.bookingHandler.InvoiceEntry?null:e.bookingHandler.InvoiceEntry.total_amount," "),rs(4),Da(" ",null==e.bookingHandler.InvoiceEntry?null:e.bookingHandler.InvoiceEntry.id," ")}}const tN=function(e){return[e]};function nN(e,t){if(1&e){const e=Wo();No(0,"app-booking-modify-form",40),Qo("submitEntry",function(t){return Rt(e),ta().publishQuote(t)}),Vo()}if(2&e){const e=ta();Fo("allowedStatus",tc(2,tN,e.quoteStatus))("selectedStatus",e.quoteStatus)}}const iN=function(){return["expandedForm"]};let rN=(()=>{class e{constructor(e,t,n,i){this.bookingHandler=e,this._router=t,this._route=n,this.http=i,this.columnsToDisplay=["code","name","price","quantity","total","controls"],this.footerCells=["quantity","total"],this._currentItems=[],this.isExpansionDetailRow=(e,t)=>this.bookingHandler.canQuote,this._publishShow=!1,this._tempCounter=0}get quoteStatus(){return _H.StatusEnum.Quoted}get currentItems(){return this._currentItems}publishClicked(){this._publishShow=!this._publishShow}get showPublishForm(){return this._publishShow&&this.canPublish}get canPublish(){var e,t;return 0!==(null===(t=null===(e=this.bookingHandler.QuoteEntry)||void 0===e?void 0:e.items)||void 0===t?void 0:t.length)&&this.bookingHandler.canQuote}get totalAmount(){var e=0;return this.currentItems.forEach(t=>{void 0!==t.price&&void 0!==t.quantity&&(e+=t.price*t.quantity)}),e}publishQuote(e){void 0!==e.status&&void 0!==e.start_time&&void 0!==e.vendor_note&&this.bookingHandler.publishQuote({vendor_note:e.vendor_note,start_time:e.start_time,end_time:e.end_time})}addItem(){var e;this.bookingHandler.canQuote&&void 0===this.bookingHandler.QuoteEntry&&this.bookingHandler.createQuote();var t={id:"temp-"+this._tempCounter++};this.selectedItem=t,this._currentItems.push(t),null===(e=this.itemsTable)||void 0===e||e.renderRows()}deleteItem(e){var t,n;return Object(v_.b)(this,void 0,void 0,function*(){void 0===e.id||(null===(t=e.id)||void 0===t?void 0:t.startsWith("temp"))||this.bookingHandler.deleteQuoteItem(e.id);const i=this._currentItems.findIndex(t=>t.id==e.id);-1!=i&&(this._currentItems.splice(i,1),null===(n=this.itemsTable)||void 0===n||n.renderRows())})}saveItem(e){var t,n;return Object(v_.b)(this,void 0,void 0,function*(){var i={item_code:e.item_code,item_name:e.item_name,price:e.price,quantity:e.quantity},r=[];if(null===(t=e.id)||void 0===t?void 0:t.startsWith("temp")){if((r=yield this.bookingHandler.addQuoteItem([i])).length>0){const t=this._currentItems.findIndex(t=>t.id==e.id);-1!=t&&(this._currentItems[t]=r[0])}}else yield this.bookingHandler.editQuoteItem(e.id,i);this.selectedItem=void 0,null===(n=this.itemsTable)||void 0===n||n.renderRows()})}ngOnInit(){this.bookingHandler.BookingEntry$.subscribe(e=>{var t,n,i;(null===(t=this._currentQuote)||void 0===t?void 0:t.id)!==(null===(n=this.bookingHandler.QuoteEntry)||void 0===n?void 0:n.id)&&(this._currentQuote=Object.assign({},this.bookingHandler.QuoteEntry),this._currentItems=void 0===(null===(i=this.bookingHandler.QuoteEntry)||void 0===i?void 0:i.items)?[]:[...this.bookingHandler.QuoteEntry.items])})}}return e.\u0275fac=function(t){return new(t||e)(Yo(wH),Yo(Jm),Yo(Af),Yo(PC))},e.\u0275cmp=Ne({type:e,selectors:[["app-booking-quote-form"]],viewQuery:function(e,t){if(1&e&&kc(oP,1),2&e){let e;wc(e=Cc())&&(t.itemsTable=e.first)}},decls:48,vars:17,consts:[["fxLayout","column","fxLayoutGap","32px",1,"container",2,"margin-bottom","32px"],["multiTemplateDataRows","",1,"mat-elevation-z8",3,"dataSource"],["itemsTable",""],["matColumnDef","code"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","price"],["matColumnDef","quantity"],[4,"matFooterCellDef"],["matColumnDef","total"],["matColumnDef","controls"],["matColumnDef","expandedForm"],[4,"matCellDef"],[4,"matHeaderRowDef"],["matRipple","","class","item-row",3,"item-form","click",4,"matRowDef","matRowDefColumns"],["class","item-form-row",4,"matRowDef","matRowDefColumns","matRowDefWhen"],[4,"matFooterRowDef","matFooterRowDefSticky"],["mat-raised-button","","color","primary",3,"click",4,"ngIf"],["fxLayout","row wrap","fxLayout.lt-sm","column","fxLayoutGap","32px","fxLayoutAlign","flex-space-between",1,"container",2,"margin-bottom","32px"],[1,"quote-card","mat-elevation-z8"],[1,"item"],[1,"label"],["class","invoice-card mat-elevation-z8",4,"ngIf"],["fxLayout","column","fxLayoutGap","32px",2,"margin-bottom","32px"],[3,"allowedStatus","selectedStatus","submitEntry",4,"ngIf"],["mat-header-cell",""],["mat-cell",""],[1,"mobile-label"],[4,"ngIf"],["mat-mini-fab","","color","warn","aria-label","Delete item",3,"click"],["class","status-mark",4,"ngIf"],[1,"status-mark"],[1,"item-form","flex-container"],[3,"currentEntry","entrySaved"],["matRipple","",1,"item-row",3,"click"],[1,"item-form-row"],["mat-raised-button","","color","primary",3,"click"],[1,"invoice-card","mat-elevation-z8"],[1,"item","lowpad"],[3,"allowedStatus","selectedStatus","submitEntry"]],template:function(e,t){1&e&&(No(0,"div",0),No(1,"mat-table",1,2),Bo(3,3),jo(4,TH,2,0,"mat-header-cell",4),jo(5,AH,4,1,"mat-cell",5),zo(),Bo(6,6),jo(7,IH,2,0,"mat-header-cell",4),jo(8,PH,4,1,"mat-cell",5),zo(),Bo(9,7),jo(10,jH,2,0,"mat-header-cell",4),jo(11,RH,4,1,"mat-cell",5),zo(),Bo(12,8),jo(13,YH,2,0,"mat-header-cell",4),jo(14,FH,4,1,"mat-cell",5),jo(15,HH,2,0,"mat-footer-cell",9),zo(),Bo(16,10),jo(17,NH,2,0,"mat-header-cell",4),jo(18,VH,4,1,"mat-cell",5),jo(19,UH,2,1,"mat-footer-cell",9),zo(),Bo(20,11),jo(21,BH,1,0,"mat-header-cell",4),jo(22,WH,2,1,"mat-cell",5),zo(),Bo(23,12),jo(24,KH,3,2,"mat-cell",13),zo(),jo(25,$H,1,0,"mat-header-row",14),jo(26,GH,1,2,"mat-row",15),jo(27,QH,1,1,"mat-row",16),jo(28,JH,1,0,"mat-footer-row",17),Vo(),jo(29,XH,2,0,"button",18),Vo(),No(30,"div",19),No(31,"mat-card",20),No(32,"mat-card-header"),No(33,"mat-card-title"),xa(34,"Quote Details"),Vo(),No(35,"mat-card-subtitle"),xa(36),rc(37,"date"),Vo(),Vo(),No(38,"mat-card-content"),No(39,"div",21),No(40,"div",22),xa(41,"Status"),Vo(),xa(42),Vo(),No(43,"div",21),jo(44,ZH,2,0,"button",18),Vo(),Vo(),Vo(),jo(45,eN,24,8,"mat-card",23),Vo(),No(46,"div",24),jo(47,nN,1,4,"app-booking-modify-form",25),Vo()),2&e&&(rs(1),Fo("dataSource",t.currentItems),rs(24),Fo("matHeaderRowDef",t.columnsToDisplay),rs(1),Fo("matRowDefColumns",t.columnsToDisplay),rs(1),Fo("matRowDefColumns",ec(16,iN))("matRowDefWhen",t.isExpansionDetailRow),rs(1),Fo("matFooterRowDef",t.footerCells)("matFooterRowDefSticky",!0),rs(1),Fo("ngIf",t.bookingHandler.canQuote),rs(7),Da("Last Modified ",oc(37,13,null==t.bookingHandler.QuoteEntry?null:t.bookingHandler.QuoteEntry.modified_at,"short"),""),rs(6),Da(" ",null==t.bookingHandler.QuoteEntry?null:t.bookingHandler.QuoteEntry.status," "),rs(2),Fo("ngIf",t.bookingHandler.canQuote&&0!==(null==t.bookingHandler.QuoteEntry||null==t.bookingHandler.QuoteEntry.items?null:t.bookingHandler.QuoteEntry.items.length)),rs(1),Fo("ngIf",t.bookingHandler.InvoiceEntry),rs(2),Fo("ngIf",t.showPublishForm))},directives:[Jj,rR,oP,fP,uP,lP,hP,kP,MP,CP,Ad,VR,QP,JP,$P,GP,KP,_P,vP,yP,GS,zD,OH,LP,AP,OP,LH],pipes:[Wd],styles:["mat-footer-row[_ngcontent-%COMP%]{font-weight:700}.mat-table-sticky[_ngcontent-%COMP%]{border-top:1px solid #e0e0e0}.item-row[_ngcontent-%COMP%]{display:flex}.item-form-row[_ngcontent-%COMP%]:hover{cursor:pointer}.item-form-row[_ngcontent-%COMP%]{overflow:hidden;overflow-y:hidden;text-overflow:hidden}.item-form-row[_ngcontent-%COMP%] mat-cell[_ngcontent-%COMP%]{border-bottom-width:0;margin:20px}.status-mark[_ngcontent-%COMP%]{margin-left:10px;color:red}"],data:{animation:[Db("detailExpand",[Tb("collapsed",Ob({height:"0px",minHeight:"0",visibility:"hidden"})),Tb("expanded",Ob({height:"*"})),Ib("expanded <=> collapsed",Lb("225ms cubic-bezier(0.4, 0.0, 0.2, 1)")),Ib("expanded <=> void",Lb("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])]}}),e})();function sN(e,t){1&e&&(No(0,"mat-header-cell",18),xa(1," Created "),Vo())}function oN(e,t){if(1&e&&(No(0,"mat-cell"),No(1,"div",19),xa(2,"Created"),Vo(),xa(3),rc(4,"date"),Vo()),2&e){const e=t.$implicit;rs(3),Da(" ",oc(4,1,e.created_at,"short")," ")}}function aN(e,t){1&e&&(No(0,"mat-header-cell",20),xa(1," Modified "),Vo())}function lN(e,t){if(1&e&&(No(0,"mat-cell",21),No(1,"div",19),xa(2,"Modified"),Vo(),xa(3),rc(4,"date"),Vo()),2&e){const e=t.$implicit;rs(3),Da(" ",oc(4,1,e.modified_at,"short")," ")}}function cN(e,t){1&e&&(No(0,"mat-header-cell",20),xa(1," Service "),Vo())}function uN(e,t){if(1&e&&(No(0,"mat-cell",21),No(1,"div",19),xa(2,"Service"),Vo(),xa(3),Vo()),2&e){const e=t.$implicit;rs(3),Da(" ",e.user_booking.service.name," ")}}function dN(e,t){1&e&&(No(0,"mat-header-cell",20),xa(1," Name "),Vo())}function hN(e,t){if(1&e&&(No(0,"mat-cell",21),No(1,"div",19),xa(2,"Name"),Vo(),xa(3),Vo()),2&e){const e=t.$implicit;rs(3),La(" ",e.user_booking.address.user.first_name," ",e.user_booking.address.user.last_name," ")}}function pN(e,t){1&e&&(No(0,"mat-header-cell",20),xa(1," Email "),Vo())}function fN(e,t){if(1&e&&(No(0,"mat-cell",21),No(1,"div",19),xa(2,"Email"),Vo(),xa(3),Vo()),2&e){const e=t.$implicit;rs(3),Da(" ",e.user_booking.address.user.email," ")}}function mN(e,t){1&e&&(No(0,"mat-header-cell",20),xa(1," Mobile "),Vo())}function _N(e,t){if(1&e&&(No(0,"mat-cell",21),No(1,"div",19),xa(2,"Mobile"),Vo(),xa(3),Vo()),2&e){const e=t.$implicit;rs(3),Da(" ",e.user_booking.address.user.mobile," ")}}function gN(e,t){1&e&&(No(0,"mat-header-cell",20),xa(1," Time "),Vo())}function yN(e,t){if(1&e&&(No(0,"mat-cell",21),No(1,"div",19),xa(2,"Time"),Vo(),xa(3),rc(4,"date"),Vo()),2&e){const e=t.$implicit;rs(3),Da(" ",oc(4,1,e.user_booking.start_time,"short")," ")}}function bN(e,t){1&e&&(No(0,"mat-header-cell",20),xa(1," Alternative Time "),Vo())}function vN(e,t){if(1&e&&(No(0,"mat-cell",21),No(1,"div",19),xa(2,"Alternative Time"),Vo(),xa(3),rc(4,"date"),Vo()),2&e){const e=t.$implicit;rs(3),Da(" ",oc(4,1,e.user_booking.alternative_start_time,"short")," ")}}function wN(e,t){1&e&&(No(0,"mat-header-cell",20),xa(1," From "),Vo())}function kN(e,t){if(1&e&&(No(0,"mat-cell",21),No(1,"div",19),xa(2,"From"),Vo(),xa(3),rc(4,"date"),Vo()),2&e){const e=t.$implicit;rs(3),Da(" ",oc(4,1,e.start_time,"short")," ")}}function SN(e,t){1&e&&(No(0,"mat-header-cell",20),xa(1," To "),Vo())}function CN(e,t){if(1&e&&(No(0,"mat-cell",21),No(1,"div",19),xa(2,"To"),Vo(),xa(3),rc(4,"date"),Vo()),2&e){const e=t.$implicit;rs(3),Da(" ",oc(4,1,e.end_time,"short")," ")}}function xN(e,t){1&e&&Uo(0,"mat-header-row")}function MN(e,t){if(1&e){const e=Wo();No(0,"mat-row",22),Qo("click",function(){Rt(e);const n=t.$implicit;return ta().itemClicked.emit(n)}),Vo()}}const DN=function(){return[5,10,25,100]};let LN=(()=>{class e{constructor(e){this._booking=e,this._pendingBookings=[],this.columnsToDisplay=["created_at","modified_at","service","name","email","mobile","suggested_start_time","alternative_start_time"],this.scheduledView=!1,this.itemClicked=new cc,this._currentBookings=[],this.dataSource=new jP}ngAfterViewInit(){void 0!==this.sort&&(this.dataSource.sort=this.sort),void 0!==this.paginator&&(this.dataSource.paginator=this.paginator),this.dataSource.sortingDataAccessor=(e,t)=>{switch(t){case"service":return e.user_booking.service.name;case"name":return e.user_booking.address.user.first_name;case"email":return e.user_booking.address.user.email;case"mobile":return e.user_booking.address.user.mobile;case"suggested_start_time":return e.user_booking.start_time;case"alternative_start_time":return e.user_booking.alternative_start_time;default:return e[t]}}}get currentBookings(){return this.dataSource}ngOnChanges(e){this.load()}ngOnInit(){this.scheduledView&&(this.columnsToDisplay=["created_at","modified_at","service","name","email","mobile","start_time","end_time"])}load(){return Object(v_.b)(this,void 0,void 0,function*(){this.dataSource.data=yield this._booking.searchBookings(this.bookingStatus,this.createFrom,this.createTo,this.startFrom,this.startTo,this.endFrom,this.endTo).toPromise()})}}return e.\u0275fac=function(t){return new(t||e)(Yo(sH))},e.\u0275cmp=Ne({type:e,selectors:[["app-booking-list"]],viewQuery:function(e,t){if(1&e&&(kc(oF,1),kc(LY,1)),2&e){let e;wc(e=Cc())&&(t.paginator=e.first),wc(e=Cc())&&(t.sort=e.first)}},inputs:{bookingStatus:"bookingStatus",startFrom:"startFrom",startTo:"startTo",endFrom:"endFrom",endTo:"endTo",createFrom:"createFrom",createTo:"createTo",scheduledView:"scheduledView"},outputs:{itemClicked:"itemClicked"},features:[ut],decls:34,vars:5,consts:[["matSort","",1,"clickable-table","mat-elevation-z8",3,"dataSource"],["matColumnDef","created_at"],["mat-sort-header","",4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","modified_at"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","service"],["matColumnDef","name"],["matColumnDef","email"],["matColumnDef","mobile"],["matColumnDef","suggested_start_time"],["matColumnDef","alternative_start_time"],["matColumnDef","start_time"],["matColumnDef","end_time"],[4,"matHeaderRowDef"],["mat-row","",3,"click",4,"matRowDef","matRowDefColumns"],[3,"pageSizeOptions"],["mat-sort-header",""],[1,"mobile-label"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-row","",3,"click"]],template:function(e,t){1&e&&(No(0,"mat-table",0),Bo(1,1),jo(2,sN,2,0,"mat-header-cell",2),jo(3,oN,5,4,"mat-cell",3),zo(),Bo(4,4),jo(5,aN,2,0,"mat-header-cell",5),jo(6,lN,5,4,"mat-cell",6),zo(),Bo(7,7),jo(8,cN,2,0,"mat-header-cell",5),jo(9,uN,4,1,"mat-cell",6),zo(),Bo(10,8),jo(11,dN,2,0,"mat-header-cell",5),jo(12,hN,4,2,"mat-cell",6),zo(),Bo(13,9),jo(14,pN,2,0,"mat-header-cell",5),jo(15,fN,4,1,"mat-cell",6),zo(),Bo(16,10),jo(17,mN,2,0,"mat-header-cell",5),jo(18,_N,4,1,"mat-cell",6),zo(),Bo(19,11),jo(20,gN,2,0,"mat-header-cell",5),jo(21,yN,5,4,"mat-cell",6),zo(),Bo(22,12),jo(23,bN,2,0,"mat-header-cell",5),jo(24,vN,5,4,"mat-cell",6),zo(),Bo(25,13),jo(26,wN,2,0,"mat-header-cell",5),jo(27,kN,5,4,"mat-cell",6),zo(),Bo(28,14),jo(29,SN,2,0,"mat-header-cell",5),jo(30,CN,5,4,"mat-cell",6),zo(),jo(31,xN,1,0,"mat-header-row",15),jo(32,MN,1,0,"mat-row",16),Vo(),Uo(33,"mat-paginator",17)),2&e&&(Fo("dataSource",t.currentBookings),rs(31),Fo("matHeaderRowDef",t.columnsToDisplay),rs(1),Fo("matRowDefColumns",t.columnsToDisplay),rs(1),Fo("pageSizeOptions",ec(4,DN)))},directives:[oP,LY,fP,uP,lP,kP,MP,oF,_P,RY,vP,LP,AP],pipes:[Wd],styles:[".mat-footer-row[_ngcontent-%COMP%], .mat-header-row[_ngcontent-%COMP%], .mat-row[_ngcontent-%COMP%]{padding:5px}"]}),e})();function EN(e,t){1&e&&(No(0,"mat-header-cell",17),xa(1," Review time "),Vo())}function ON(e,t){if(1&e&&(No(0,"mat-cell",18),No(1,"div",19),xa(2,"Time"),Vo(),xa(3),rc(4,"date"),Vo()),2&e){const e=t.$implicit;rs(3),Da(" ",oc(4,1,e.modified_at,"short")," ")}}function TN(e,t){1&e&&(No(0,"mat-header-cell",17),xa(1," Rating "),Vo())}function AN(e,t){if(1&e&&(No(0,"mat-cell",18),No(1,"div",19),xa(2,"Rating"),Vo(),Uo(3,"mat-star-rating",5),Vo()),2&e){const e=t.$implicit;rs(3),Fo("readonly",!0)("rating",e.user_rating||0)}}function IN(e,t){1&e&&(No(0,"mat-header-cell",17),xa(1," Review "),Vo())}function PN(e,t){if(1&e&&(No(0,"mat-cell",18),No(1,"div",19),xa(2,"Review"),Vo(),xa(3),Vo()),2&e){const e=t.$implicit;rs(3),Da(" ",e.user_review," ")}}function jN(e,t){1&e&&Uo(0,"mat-header-row")}function RN(e,t){if(1&e){const e=Wo();No(0,"mat-row",20),Qo("click",function(){Rt(e);const n=t.$implicit;return ta().openBooking(n.id)}),Vo()}}const YN=function(){return[]};let FN=(()=>{class e{constructor(e,t){this._vendorSvc=e,this._router=t,this.columnsToDisplay=["modified","rating","review"],this.dayRangeStart=iT().startOf("day").toDate(),this.dayRangeEnd=iT().endOf("day").toDate(),this.timeNow=iT().local().toDate(),this.pendingStatus=_H.StatusEnum.NewBooking,this.confirmedStatus=_H.StatusEnum.Confirmed,this.dueStatus=[_H.StatusEnum.Confirmed,_H.StatusEnum.Assigned],this.lateStatus=[_H.StatusEnum.Confirmed,_H.StatusEnum.Assigned,_H.StatusEnum.Inprogress],this.allStatus=Object.values(_H.StatusEnum),this.currentStats={}}openBooking(e){this._router.navigate(["booking",e])}ngOnInit(){return Object(v_.b)(this,void 0,void 0,function*(){this.currentStats=yield this._vendorSvc.getVendorStats().toPromise()})}}return e.\u0275fac=function(t){return new(t||e)(Yo(oH),Yo(Jm))},e.\u0275cmp=Ne({type:e,selectors:[["app-home"]],decls:49,vars:16,consts:[["fxLayout","row wrap","fxLayout.lt-sm","column","fxLayoutGap","32px","fxLayoutAlign","center flex-space-between",1,"container",2,"margin-bottom","32px"],[1,"case-card","mat-elevation-z8"],[1,"item"],[1,"label"],[1,"stats-card","mat-elevation-z8"],[3,"readonly","rating"],["div","","fxLayout","column","fxLayout.lt-sm","column","fxLayoutGap","32px","fxLayoutAlign","center flex-space-between",1,"container",2,"margin-bottom","32px"],[3,"scheduledView","bookingStatus","startFrom","startTo","itemClicked"],[3,"scheduledView","bookingStatus","endTo","itemClicked"],[1,"clickable-table","mat-elevation-z8",3,"dataSource"],["matColumnDef","modified"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","rating"],["matColumnDef","review"],[4,"matHeaderRowDef"],["mat-row","",3,"click",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],[1,"mobile-label"],["mat-row","",3,"click"]],template:function(e,t){1&e&&(No(0,"div",0),No(1,"mat-card",1),No(2,"mat-card-header"),No(3,"mat-card-title"),xa(4,"Bookings count"),Vo(),Vo(),No(5,"mat-card-content"),No(6,"div",2),No(7,"div",3),xa(8,"Awaiting Quote"),Vo(),xa(9),Vo(),No(10,"div",2),No(11,"div",3),xa(12,"Confirmed"),Vo(),xa(13),Vo(),Vo(),Vo(),No(14,"mat-card",4),No(15,"mat-card-header"),No(16,"mat-card-title"),xa(17,"Statistics"),Vo(),Vo(),No(18,"mat-card-content"),No(19,"div",2),No(20,"div",3),xa(21,"Current rating"),Vo(),Uo(22,"mat-star-rating",5),Vo(),No(23,"div",2),No(24,"div",3),xa(25,"Total ratings"),Vo(),xa(26),Vo(),Vo(),Vo(),Vo(),No(27,"div",6),No(28,"h2"),xa(29,"Bookings due today"),Vo(),No(30,"app-booking-list",7),Qo("itemClicked",function(e){return t.openBooking(e.id)}),Vo(),No(31,"h2"),xa(32,"Late bookings"),Vo(),No(33,"app-booking-list",8),Qo("itemClicked",function(e){return t.openBooking(e.id)}),Vo(),No(34,"h2"),xa(35,"Latest reviews"),Vo(),No(36,"div"),No(37,"mat-table",9),Bo(38,10),jo(39,EN,2,0,"mat-header-cell",11),jo(40,ON,5,4,"mat-cell",12),zo(),Bo(41,13),jo(42,TN,2,0,"mat-header-cell",11),jo(43,AN,4,2,"mat-cell",12),zo(),Bo(44,14),jo(45,IN,2,0,"mat-header-cell",11),jo(46,PN,4,1,"mat-cell",12),zo(),jo(47,jN,1,0,"mat-header-row",15),jo(48,RN,1,0,"mat-row",16),Vo(),Vo(),Vo()),2&e&&(rs(9),Da(" ",t.currentStats.new_booking_count," "),rs(4),Da(" ",t.currentStats.confirmed_booking_count," "),rs(9),Fo("readonly",!0)("rating",t.currentStats.current_rating||0),rs(4),Da(" ",t.currentStats.rating_count," "),rs(4),Fo("scheduledView",!0)("bookingStatus",t.dueStatus)("startFrom",t.dayRangeStart)("startTo",t.dayRangeEnd),rs(3),Fo("scheduledView",!0)("bookingStatus",t.lateStatus)("endTo",t.timeNow),rs(4),Fo("dataSource",t.currentStats.last_five_reviews||ec(15,YN)),rs(10),Fo("matHeaderRowDef",t.columnsToDisplay),rs(1),Fo("matRowDefColumns",t.columnsToDisplay))},directives:[Jj,rR,VR,QP,JP,$P,KP,bF,LN,oP,fP,uP,lP,kP,MP,_P,vP,LP,AP],pipes:[Wd],styles:[""]}),e})();const HN=function(e){return[e]};let NN=(()=>{class e{constructor(e){this._router=e,this.allStatusSelect=Object.values(_H.StatusEnum).map(e=>({label:e,value:e})),this.form=new cM({}),this.fields=[{key:"current_status",type:"select",defaultValue:_H.StatusEnum.NewBooking,templateOptions:{label:"Status",required:!1,options:this.allStatusSelect}},{key:"start_time",type:"datetime",templateOptions:{label:"From",required:!1}},{key:"end_time",type:"datetime",templateOptions:{label:"To",required:!1}}],this._searchQuery={start_time:void 0,end_time:void 0,current_status:_H.StatusEnum.NewBooking}}get searchQuery(){return this._searchQuery}openBooking(e){this._router.navigate(["booking",e.id])}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)(Yo(Jm))},e.\u0275cmp=Ne({type:e,selectors:[["app-booking"]],decls:8,vars:9,consts:[["fxLayout","column","fxLayoutAlign","space-evenly center","fxLayoutGap","32px",1,"container"],[3,"formGroup","ngSubmit"],["fxFlexOffset","25","fxFlex","50",1,"item"],[3,"form","fields","model"],["fxLayout","column","fxLayoutAlign","space-between none","fxLayoutGap","32px",1,"flex-container",2,"margin-top","32px"],[1,"item"],[3,"createFrom","createTo","bookingStatus","itemClicked"]],template:function(e,t){1&e&&(No(0,"div",0),No(1,"form",1),Qo("ngSubmit",function(){return!0}),No(2,"div",2),Uo(3,"formly-form",3),Vo(),Vo(),Vo(),Uo(4,"mat-divider"),No(5,"div",4),No(6,"div",5),No(7,"app-booking-list",6),Qo("itemClicked",function(e){return t.openBooking(e)}),Vo(),Vo(),Vo()),2&e&&(rs(1),Fo("formGroup",t.form),rs(2),Fo("form",t.form)("fields",t.fields)("model",t.searchQuery),rs(4),Fo("createFrom",t.searchQuery.start_time)("createTo",t.searchQuery.end_time)("bookingStatus",tc(7,HN,t.searchQuery.current_status)))},directives:[Jj,VR,rR,gM,Dx,kM,MR,_R,aD,tP,LN],styles:[""]}),e})();function VN(e,t){if(1&e&&(No(0,"div",23),No(1,"div",10),xa(2,"From"),Vo(),xa(3),rc(4,"date"),Vo()),2&e){const e=ta();rs(3),Da(" ",oc(4,1,e.searchQuery.start_time,"short")," ")}}function UN(e,t){if(1&e&&(No(0,"div",23),No(1,"div",10),xa(2,"To"),Vo(),xa(3),rc(4,"date"),Vo()),2&e){const e=ta();rs(3),Da(" ",oc(4,1,e.searchQuery.end_time,"short")," ")}}function BN(e,t){1&e&&(No(0,"mat-header-cell",24),xa(1," Created "),Vo())}function zN(e,t){if(1&e&&(No(0,"mat-cell"),No(1,"div",25),xa(2,"Created"),Vo(),xa(3),rc(4,"date"),Vo()),2&e){const e=t.$implicit;rs(3),Da(" ",oc(4,1,e.invoices[0].created_at,"short")," ")}}function qN(e,t){1&e&&(No(0,"mat-header-cell",24),xa(1," Invoice ID "),Vo())}function WN(e,t){if(1&e&&(No(0,"mat-cell"),No(1,"div",25),xa(2,"Invoice ID"),Vo(),xa(3),Vo()),2&e){const e=t.$implicit;rs(3),Da(" ",e.invoices[0].id," ")}}function KN(e,t){1&e&&(No(0,"mat-header-cell",26),xa(1," Payment Method "),Vo())}function $N(e,t){if(1&e&&(No(0,"mat-cell",27),No(1,"div",25),xa(2,"Payment Method"),Vo(),xa(3),Vo()),2&e){const e=t.$implicit;rs(3),Da(" ",e.invoices[0].payment_method," ")}}function GN(e,t){1&e&&(No(0,"mat-header-cell",26),xa(1," Amount "),Vo())}function QN(e,t){if(1&e&&(No(0,"mat-cell",27),No(1,"div",25),xa(2,"Amount"),Vo(),xa(3),Vo()),2&e){const e=t.$implicit;rs(3),Da(" ",e.invoices[0].total_amount," ")}}function JN(e,t){1&e&&Uo(0,"mat-header-row")}const XN=function(e){return["/booking/",e,"quote"]};function ZN(e,t){1&e&&Uo(0,"mat-row",28),2&e&&Fo("routerLink",tc(1,XN,t.$implicit.vendor_booking_id))}const eV=function(){return[5,10,25,100]};let tV=(()=>{class e{constructor(e){this._vendorSvc=e,this._periodTotal=0,this._cashTotal=0,this._creditTotal=0,this.columnsToDisplay=["invoice_created","invoice_id","payment_method","total_amount"],this.form=new cM({}),this.fields=[{key:"start_time",type:"datetime",templateOptions:{label:"From",required:!1}},{key:"end_time",type:"datetime",templateOptions:{label:"To",required:!1}}],this.dataSource=new jP,this._searchQuery={start_time:void 0,end_time:void 0}}ngOnInit(){this.load()}ngAfterViewInit(){void 0!==this.sort&&(this.dataSource.sort=this.sort),void 0!==this.paginator&&(this.dataSource.paginator=this.paginator),this.dataSource.sortingDataAccessor=(e,t)=>{switch(t){case"invoice_created":return e.invoices[0].created_at;case"payment_method":return e.invoices[0].payment_method;case"total_amount":return e.invoices[0].total_amount;case"invoice_id":return e.invoices[0].id;default:return e[t]}}}get periodTotal(){return this._periodTotal}get cashTotal(){return this._cashTotal}get creditTotal(){return this._creditTotal}get searchQuery(){return this._searchQuery}get currentData(){return this.dataSource}load(){return Object(v_.b)(this,void 0,void 0,function*(){this._currentEntry=yield this._vendorSvc.getVendorFinance(this._searchQuery.start_time,this._searchQuery.end_time).toPromise(),void 0!==this._currentEntry.invoices&&(this.dataSource.data=this._currentEntry.invoices,this._currentEntry.invoices.forEach(e=>{var t=null==e?void 0:e.invoices[0];this._periodTotal+=t.total_amount,"cash"==t.payment_method&&(this._cashTotal+=t.total_amount),"credit_card"==t.payment_method&&(this._creditTotal+=t.total_amount)}))})}}return e.\u0275fac=function(t){return new(t||e)(Yo(oH))},e.\u0275cmp=Ne({type:e,selectors:[["app-finance"]],viewQuery:function(e,t){if(1&e&&(kc(oF,1),kc(LY,1)),2&e){let e;wc(e=Cc())&&(t.paginator=e.first),wc(e=Cc())&&(t.sort=e.first)}},decls:47,vars:15,consts:[["fxLayout","column","fxLayoutAlign","space-evenly center","fxLayoutGap","32px",1,"container",2,"margin-bottom","32px"],[3,"formGroup","ngSubmit"],["fxFlexOffset","20","fxFlex","50",1,"item"],[3,"form","fields","model"],["fxFlex","10","fxFlex.lt-sm","25",1,"item"],["fxFill","","mat-raised-button","","color","primary","type","submit",1,"btn","btn-default",3,"disabled"],["fxLayout","column","fxLayoutGap","32px","fxLayoutAlign","flex-space-between",1,"container",2,"margin","32px"],[1,"aggregate-card","mat-elevation-z8"],["class","item",4,"ngIf"],[1,"item","lowpad"],[1,"label"],["matSort","",1,"mat-elevation-z8","clickable-table",3,"dataSource"],["matColumnDef","invoice_created"],["mat-sort-header","",4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","invoice_id"],["matColumnDef","payment_method"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","total_amount"],[4,"matHeaderRowDef"],["mat-row","",3,"routerLink",4,"matRowDef","matRowDefColumns"],[3,"pageSizeOptions"],[1,"item"],["mat-sort-header",""],[1,"mobile-label"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-row","",3,"routerLink"]],template:function(e,t){1&e&&(No(0,"h2"),xa(1,"Finances"),Vo(),No(2,"div",0),No(3,"form",1),Qo("ngSubmit",function(){return t.load()}),No(4,"div",2),Uo(5,"formly-form",3),Vo(),No(6,"div",4),No(7,"button",5),xa(8,"Refresh"),Vo(),Vo(),Vo(),Vo(),Uo(9,"mat-divider"),No(10,"div",6),No(11,"mat-card",7),No(12,"mat-card-header"),No(13,"mat-card-title"),xa(14,"Finance Details"),Vo(),Vo(),No(15,"mat-card-content"),jo(16,VN,5,4,"div",8),jo(17,UN,5,4,"div",8),No(18,"div",9),No(19,"div",10),xa(20,"Period Total "),Vo(),xa(21),Vo(),No(22,"div",9),No(23,"div",10),xa(24,"Total cash payments "),Vo(),xa(25),Vo(),No(26,"div",9),No(27,"div",10),xa(28,"Total credit card payments "),Vo(),xa(29),Vo(),Vo(),Vo(),Vo(),Uo(30,"mat-divider"),No(31,"mat-table",11),Bo(32,12),jo(33,BN,2,0,"mat-header-cell",13),jo(34,zN,5,4,"mat-cell",14),zo(),Bo(35,15),jo(36,qN,2,0,"mat-header-cell",13),jo(37,WN,4,1,"mat-cell",14),zo(),Bo(38,16),jo(39,KN,2,0,"mat-header-cell",17),jo(40,$N,4,1,"mat-cell",18),zo(),Bo(41,19),jo(42,GN,2,0,"mat-header-cell",17),jo(43,QN,4,1,"mat-cell",18),zo(),jo(44,JN,1,0,"mat-header-row",20),jo(45,ZN,1,3,"mat-row",21),Vo(),Uo(46,"mat-paginator",22)),2&e&&(rs(3),Fo("formGroup",t.form),rs(2),Fo("form",t.form)("fields",t.fields)("model",t.searchQuery),rs(2),Fo("disabled",!(null!=t.form&&t.form.valid)),rs(9),Fo("ngIf",t.searchQuery.start_time),rs(1),Fo("ngIf",t.searchQuery.end_time),rs(4),Da(" ",t.periodTotal," "),rs(4),Da(" ",t.cashTotal," "),rs(4),Da(" ",t.creditTotal," "),rs(2),Fo("dataSource",t.currentData),rs(13),Fo("matHeaderRowDef",t.columnsToDisplay),rs(1),Fo("matRowDefColumns",t.columnsToDisplay),rs(1),Fo("pageSizeOptions",ec(14,eV)))},directives:[Jj,VR,rR,gM,Dx,kM,MR,_R,aD,GS,jR,tP,QP,JP,$P,KP,Ad,oP,LY,fP,uP,lP,kP,MP,oF,_P,RY,vP,LP,AP,Xm],pipes:[Wd],styles:[""]}),e})(),nV=(()=>{class e{constructor(e){this._vendorSvc=e,this.form=new cM({}),this.fields=[{key:"start_hours",type:"input",templateOptions:{label:"Start hours",placeholder:"HH:MM",required:!0,pattern:"^(2[0-3]|[01]?[0-9]):([0-5][0-9])$"}},{key:"end_hours",type:"input",templateOptions:{label:"End hours",placeholder:"HH:MM",required:!0,pattern:"^(2[0-3]|[01]?[0-9]):([0-5][0-9])$"}}],this._currentEntry={}}get currentEntry(){return this._currentEntry}ngOnInit(){return Object(v_.b)(this,void 0,void 0,function*(){var e=yield this._vendorSvc.getVendorConfig().toPromise();void 0!==e.start_hours&&(e.start_hours=e.start_hours.substring(0,e.start_hours.length-3)),void 0!==e.end_hours&&(e.end_hours=e.end_hours.substring(0,e.end_hours.length-3)),this._currentEntry=e})}onSubmit(){return Object(v_.b)(this,void 0,void 0,function*(){this.form.valid&&(yield this._vendorSvc.modifyVendorConfig(this.currentEntry).toPromise())})}}return e.\u0275fac=function(t){return new(t||e)(Yo(oH))},e.\u0275cmp=Ne({type:e,selectors:[["app-settings-form"]],decls:9,vars:5,consts:[["fxLayout","column","fxLayoutAlign","center space-around","fxLayoutGap","32px",1,"container",2,"margin-bottom","32px"],[3,"formGroup","ngSubmit"],["fxFlexOffset","20","fxFlex","50","fxFlex.lt-sm","70",1,"item"],[3,"form","fields","model"],["fxFlex","10","fxFlex.lt-sm","25",1,"item"],["fxFill","","mat-raised-button","","color","primary","type","submit",1,"btn","btn-default",3,"disabled"]],template:function(e,t){1&e&&(No(0,"h2"),xa(1,"Business Settings"),Vo(),No(2,"div",0),No(3,"form",1),Qo("ngSubmit",function(){return t.onSubmit()}),No(4,"div",2),Uo(5,"formly-form",3),Vo(),No(6,"div",4),No(7,"button",5),xa(8,"Modify"),Vo(),Vo(),Vo(),Vo()),2&e&&(rs(3),Fo("formGroup",t.form),rs(2),Fo("form",t.form)("fields",t.fields)("model",t.currentEntry),rs(2),Fo("disabled",!(null!=t.form&&t.form.valid)))},directives:[Jj,VR,rR,gM,Dx,kM,MR,_R,aD,GS,jR],styles:[""]}),e})();function iV(e,t){1&e&&(No(0,"mat-header-cell",14),xa(1,"Skill"),Vo())}function rV(e,t){if(1&e&&(No(0,"mat-cell"),No(1,"div",15),xa(2,"Skill"),Vo(),xa(3),Vo()),2&e){const e=t.$implicit,n=ta();rs(3),Da(" ",n.skillName(e.skillset_id)," ")}}function sV(e,t){1&e&&(No(0,"mat-header-cell",14),xa(1,"Remove Skill"),Vo())}function oV(e,t){if(1&e){const e=Wo();No(0,"mat-cell"),Uo(1,"div",15),No(2,"button",16),Qo("click",function(){Rt(e);const n=t.$implicit;return ta().deleteItem(n)}),No(3,"mat-icon"),xa(4,"delete"),Vo(),Vo(),Vo()}}function aV(e,t){1&e&&Uo(0,"mat-header-row")}function lV(e,t){1&e&&Uo(0,"mat-row",17)}let cV=(()=>{class e{constructor(e,t){this._skillSvc=e,this._vendorSvc=t,this.columnsToDisplay=["skillset","controls"],this._currentItems=[],this._allSkills=new Map,this._selectList=[],this._currentEntry={},this.form=new cM({}),this.fields=[{key:"skillset_id",type:"select",templateOptions:{label:"Skillset",required:!0,options:this._selectList}}]}get currentEntry(){return this._currentEntry}get currentItems(){return this._currentItems}skillName(e){var t;return null===(t=this._allSkills.get(e))||void 0===t?void 0:t.name}deleteItem(e){return Object(v_.b)(this,void 0,void 0,function*(){yield this._vendorSvc.deleteVendorSkillset(e).toPromise(),yield this.loadSkillsets()})}onSubmit(){return Object(v_.b)(this,void 0,void 0,function*(){this.form.valid&&(yield this._vendorSvc.postVendorSkillset(this._currentEntry).toPromise(),yield this.loadSkillsets())})}loadSkillsets(){var e,t,n;return Object(v_.b)(this,void 0,void 0,function*(){this._selectList=[],this._currentItems=yield this._vendorSvc.getVendorSkillsets().toPromise();var i=new Map(this._allSkills);this._currentItems.forEach(e=>{i.delete(e.skillset_id)}),i.forEach((e,t)=>{this._selectList.push({label:e.name,value:t})}),void 0!==(null===(n=null===(t=null===(e=this.fields)||void 0===e?void 0:e[0])||void 0===t?void 0:t.templateOptions)||void 0===n?void 0:n.options)&&(this.fields[0].templateOptions.options=this._selectList)})}ngOnInit(){return Object(v_.b)(this,void 0,void 0,function*(){this._allSkills.clear(),(yield this._skillSvc.getSkillsets().toPromise()).forEach(e=>{this._allSkills.set(e.id,e)}),this.loadSkillsets()})}}return e.\u0275fac=function(t){return new(t||e)(Yo(rH),Yo(oH))},e.\u0275cmp=Ne({type:e,selectors:[["app-skillsets-form"]],decls:19,vars:8,consts:[["fxLayout","row","fxLayoutAlign","center space-around","fxLayoutGap","32px",1,"container",2,"margin-bottom","32px"],[3,"formGroup","ngSubmit"],["fxFlexOffset","20","fxFlex","50",1,"item"],[3,"form","fields","model"],["fxFlex","10","fxFlex.lt-sm","25",1,"item"],["mat-raised-button","","color","primary","type","submit",1,"btn","btn-default",3,"disabled"],["fxLayout","column","fxLayoutGap","32px",1,"container",2,"margin-bottom","32px"],[1,"mat-elevation-z8",3,"dataSource"],["matColumnDef","skillset"],["mat-header-cell","",4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","controls"],[4,"matHeaderRowDef"],["class","item-row",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],[1,"mobile-label"],["color","warn","mat-mini-fab","",3,"click"],[1,"item-row"]],template:function(e,t){1&e&&(No(0,"h2"),xa(1,"Skillsets"),Vo(),No(2,"div",0),No(3,"form",1),Qo("ngSubmit",function(){return t.onSubmit()}),No(4,"div",2),Uo(5,"formly-form",3),Vo(),No(6,"div",4),No(7,"button",5),xa(8,"Add Skill"),Vo(),Vo(),Vo(),Vo(),No(9,"div",6),No(10,"mat-table",7),Bo(11,8),jo(12,iV,2,0,"mat-header-cell",9),jo(13,rV,4,1,"mat-cell",10),zo(),Bo(14,11),jo(15,sV,2,0,"mat-header-cell",9),jo(16,oV,5,0,"mat-cell",10),zo(),jo(17,aV,1,0,"mat-header-row",12),jo(18,lV,1,0,"mat-row",13),Vo(),Vo()),2&e&&(rs(3),Fo("formGroup",t.form),rs(2),Fo("form",t.form)("fields",t.fields)("model",t.currentEntry),rs(2),Fo("disabled",!(null!=t.form&&t.form.valid)),rs(3),Fo("dataSource",t.currentItems),rs(7),Fo("matHeaderRowDef",t.columnsToDisplay),rs(1),Fo("matRowDefColumns",t.columnsToDisplay))},directives:[Jj,VR,rR,gM,Dx,kM,MR,_R,aD,GS,oP,fP,uP,lP,kP,MP,_P,vP,zD,LP,AP],styles:[""]}),e})();const uV=[{path:"auth",component:FF,children:[{path:"signin",component:WF,canActivate:[mF]},{path:"signup",component:KF,canActivate:[mF]},{path:"confirm",component:VF,canActivate:[mF]}]},{path:"",component:FN,canActivate:[fF]},{path:"finance",component:tV,canActivate:[fF]},{path:"settings",component:(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ne({type:e,selectors:[["app-settings"]],decls:6,vars:0,consts:[["fxLayout","column","fxLayoutAlign","space-between none","fxLayoutGap","30px",1,"flex-container"]],template:function(e,t){1&e&&(No(0,"div",0),No(1,"div"),Uo(2,"app-settings-form"),Vo(),Uo(3,"mat-divider"),No(4,"div"),Uo(5,"app-skillsets-form"),Vo(),Vo())},directives:[Jj,VR,rR,nV,tP,cV],styles:[""]}),e})(),canActivate:[fF]},{path:"booking",component:NN,canActivate:[fF]},{path:"booking/:id",component:DH,canActivate:[fF],children:[{path:"quote",component:rN,canActivate:[fF]},{path:"modify",component:EH,canActivate:[fF]}]}];let dV=(()=>{class e{}return e.\u0275mod=ze({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[d_.forRoot(uV)],d_]}),e})();function hV(e,t){if(1&e){const e=Wo();No(0,"span",7),No(1,"a",8),xa(2,"Account"),Vo(),No(3,"mat-menu",null,9),No(5,"button",10),xa(6,"Bookings"),Vo(),No(7,"button",11),xa(8,"Finances"),Vo(),No(9,"button",12),xa(10,"Settings"),Vo(),No(11,"button",13),Qo("click",function(){return Rt(e),ta().signOut()}),xa(12,"Sign out"),Vo(),Vo(),Vo()}if(2&e){const e=Ro(4);rs(1),Fo("matMenuTriggerFor",e)}}function pV(e,t){1&e&&(No(0,"a",14),xa(1,"Sign In"),Vo())}let fV=(()=>{class e{constructor(e,t){this.auth=e,this._router=t,this.title="FixBaity Vendors"}signOut(){this.auth.signOut().then(()=>{this._router.navigate(["/auth/signin"])})}}return e.\u0275fac=function(t){return new(t||e)(Yo(_F),Yo(Jm))},e.\u0275cmp=Ne({type:e,selectors:[["app-root"]],decls:11,vars:3,consts:[[1,"container"],["color","primary"],["mat-button","","routerLink","/"],[1,"fill-space"],["whoami","",4,"ngIf","ngIfElse"],["loginblock",""],[1,"content"],["whoami",""],["mat-button","",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","","routerLink","/booking"],["mat-menu-item","","routerLink","/finance"],["mat-menu-item","","routerLink","/settings"],["mat-menu-item","",3,"click"],["mat-raised-button","","routerLink","auth/signin"]],template:function(e,t){if(1&e&&(No(0,"div",0),No(1,"mat-toolbar",1),No(2,"span"),No(3,"a",2),xa(4),Vo(),Vo(),Uo(5,"div",3),jo(6,hV,13,1,"span",4),jo(7,pV,2,0,"ng-template",null,5,Lc),Vo(),No(9,"div",6),Uo(10,"router-outlet"),Vo(),Vo()),2&e){const e=Ro(8);rs(4),Ma(t.title),rs(2),Fo("ngIf",t.auth.loggedIn)("ngIfElse",e)}},directives:[XI,QS,Zm,Ad,t_,vY,_Y,hY,Xm],styles:[""]}),e})();const mV={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_B2bjxnS03",userPoolWebClientId:"7ts9u981nrq501tbopsnuvdkpm",mandatorySignIn:!0}};let _V=(()=>{class e{}return e.\u0275mod=ze({type:e,bootstrap:[fV]}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[{provide:GF,useFactory:e=>{const t=new GF({basePath:mV.api_path});return e.getAccessToken().then(e=>{t.apiKeys={"X-CognitoUser":e}}),t},deps:[_F],multi:!1}],imports:[[GC,dV,Lh,Kd,dk,vH,RF.forRoot(),YF.forRoot()]]}),e})();Eh.default.configure({Auth:mV.auth_config}),Eh.default.Logger.LOG_LEVEL="DEBUG",mV.production&&function(){if(cu)throw new Error("Cannot enable prod mode after platform setup.");lu=!1}(),Mh().bootstrapModule(_V).catch(e=>console.error(e))},UDhR:function(e,t,n){!function(e){"use strict";e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_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|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=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 o});var i=n("Nt7R"),r=n("HzrR"),s=n("fQM2"),o=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 o=/\+/g;e=e.split(t=t||"&");var a=1e3;r&&"number"==typeof r.maxKeys&&(a=r.maxKeys);var l=e.length;a>0&&l>a&&(l=a);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"),o=n("bVud"),a=n("YX4P"),l=n("tlIM"),c=function(){function e(e){this.hash=o.supportsWebCrypto(l.locateWindow())?new r.Sha256(e):a.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"),o=n("tlIM"),a=function(){function e(e){this.toHash=new Uint8Array(0),void 0!==e&&(this.key=new Promise(function(t,n){o.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 o.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 o.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=a},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,o=n.port,a=n.protocol,l=n.search;return l&&(t=Object(i.a)(l)),{hostname:r,port:o?parseInt(o):void 0,protocol:a,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(),o=this._iKey=t.clone(),a=s.words,l=o.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 a(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++)o+=e[r];if(o=o.trim(),"/"===o[o.length-1]&&(o=o.substring(0,o.length-1),r--),!i.isName(o)){let t;return t=0===o.trim().length?"There is an unnecessary space between tag name and backward slash '0)return h("InvalidTag","Closing tag '"+o+"' can't have attributes or invalid starting.",f(e,r));{const t=n.pop();if(o!==t)return h("InvalidTag","Closing tag '"+t+"' is expected inplace of '"+o+"'.",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(o),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],o=t[3],a=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=(((a>>>6|a<<26)^(a>>>11|a<<21)^(a>>>25|a<<7))+(a&l^~a&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=a,a=o+p|0,o=s,s=r,r=n,n=p+f|0}t[0]+=n,t[1]+=r,t[2]+=s,t[3]+=o,t[4]+=a,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"),o=n("tlIM"),a=function(){function e(e){e?(this.operation=function(e){return new Promise(function(t,n){var i=o.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 o.locateWindow().msCrypto.subtle.sign(r.SHA_256_HMAC_ALGO,e)}),this.operation.catch(function(){})):this.operation=Promise.resolve(o.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=a},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"),o=n("4abu").buildOptions,a=n("cIfH");t.parse=function(e,t,n){if(n){!0===n&&(n={});const t=a.validate(e,n);if(!0!==t)throw Error(t.err.msg)}t=o(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=a.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,o){var a=[];a.push(e+"="+encodeURIComponent(t)),i.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),i.isString(r)&&a.push("path="+r),i.isString(s)&&a.push("domain="+s),!0===o&&a.push("secure"),document.cookie=a.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),o=[];try{for(;(void 0===t||t-- >0)&&!(i=s.next()).done;)o.push(i.value)}catch(a){r={error:a}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return o}(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 o="";switch(r){case"s":return s?"muutaman sekunnin":"muutama sekunti";case"ss":o=s?"sekunnin":"sekuntia";break;case"m":return s?"minuutin":"minuutti";case"mm":o=s?"minuutin":"minuuttia";break;case"h":return s?"tunnin":"tunti";case"hh":o=s?"tunnin":"tuntia";break;case"d":return s?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":o=s?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return s?"kuukauden":"kuukausi";case"MM":o=s?"kuukauden":"kuukautta";break;case"y":return s?"vuoden":"vuosi";case"yy":o=s?"vuoden":"vuotta"}return function(e,i){return e<10?i?n[e]:t[e]:e}(e,s)+" "+o}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 o(){return(new Date).getTime()}function a(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(){a(this.config.capacityInBytes)||(u.error("Invalid parameter: capacityInBytes. It should be an Integer. Setting back to default."),this.config.capacityInBytes=r.capacityInBytes),a(this.config.itemMaxSize)||(u.error("Invalid parameter: itemMaxSize. It should be an Integer. Setting back to default."),this.config.itemMaxSize=r.itemMaxSize),a(this.config.defaultTTL)||(u.error("Invalid parameter: defaultTTL. It should be an Integer. Setting back to default."),this.config.defaultTTL=r.defaultTTL),a(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:o(),visitedTime:o(),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=o(),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 o()>=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 a=this.config.storage.getItem(i);if(a&&this._removeItem(i,JSON.parse(a).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(o){return p.warn("getItem failed! "+o),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||{},o=e.split(s),l=r.decode||i,c=0;c1)for(var a in n[o]=[],e.child[o])e.child[o].hasOwnProperty(a)&&n[o].push(r(e.child[o][a],t));else if(!0===t.arrayMode){const i=r(e.child[o][0],t);n[o]="object"==typeof i?[i]:i}else n[o]="strict"===t.arrayMode?[r(e.child[o][0],t)]:r(e.child[o][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"),o=n("bS4T"),a=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,o){var a=i(t),l=r[e][i(t)];return 2===a&&(l=l[n?0:1]),l.replace(/%d/i,t)}},o=["\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:o,monthsShort:o,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,o,a=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+=a;u>0;s=256*s+e[t+d],d+=h,u-=8);for(o=s&(1<<-u)-1,s>>=-u,u+=i;u>0;o=256*o+e[t+d],d+=h,u-=8);if(0===s)s=1-c;else{if(s===l)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,i),s-=c}return(p?-1:1)*o*Math.pow(2,s-i)},t.write=function(e,t,n,i,r,s){var o,a,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?(a=isNaN(t)?1:0,o=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-o))<1&&(o--,l*=2),(t+=o+d>=1?h/l:h*Math.pow(2,1-d))*l>=2&&(o++,l/=2),o+d>=u?(a=0,o=u):o+d>=1?(a=(t*l-1)*Math.pow(2,r),o+=d):(a=t*Math.pow(2,d-1)*Math.pow(2,r),o=0));r>=8;e[n+p]=255&a,p+=f,a/=256,r-=8);for(o=o<0;e[n+p]=255&o,p+=f,o/=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",o="authorization",a="X-Amz-Date".toLowerCase(),l=[o,a,"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,o=e.headers,a={};try{for(var l=Object(i.__values)(Object.keys(o).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))||(a[d]=o[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 a}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,o,a,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((o=s.value).toLowerCase()===u)return[2,n[o]]}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)?((a=new t).update(r),l=v.b,[4,a.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 o=s.value;l.indexOf(o.toLowerCase())>-1&&delete e.headers[o]}}catch(a){t={error:a}}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,o=void 0===s||s;this.service=e.service,this.sha256=r,this.uriEscapePath=o,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,o,a,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(j){switch(j.label){case 0:return o=void 0===(n=t.signingDate)?new Date:n,l=void 0===(a=t.expiresIn)?3600:a,c=t.unsignableHeaders,u=t.signableHeaders,d=t.signingRegion,h=t.signingService,[4,this.credentialProvider()];case 1:return p=j.sent(),null==d?[3,2]:(m=d,[3,4]);case 2:return[4,this.regionProvider()];case 3:m=j.sent(),j.label=4;case 4:return f=m,_=E(o),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,o=r.query,a=void 0===o?{}:o;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)&&(a[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:a})}(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"]=O(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([j.sent()]))]))];case 6:return M[L]=j.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,o=void 0===s?new Date:s,a=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=E(o),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,a,f,h].join("\n"),[2,this.signString(g,{signingDate:o,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,o=n.signingRegion,a=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==o?[3,2]:(r=o,[3,4]);case 2:return[4,this.regionProvider()];case 3:r=i.sent(),i.label=4;case 4:return n=r,l=E(s).shortDate,d=(u=this.sha256).bind,[4,this.getSigningKey(t,n,l,a)];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=E(s),_=m.longDate,y=b(g=m.shortDate,n,null!=p?p:this.service),f.headers[a]=_,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)),o=s.next();!o.done;o=s.next())if(e===o.value.toLowerCase())return!0}catch(a){n={error:a}}finally{try{o&&!o.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[o]="AWS4-HMAC-SHA256 Credential="+t.accessKeyId+"/"+y+", SignedHeaders="+O(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,o=[],a={},l=function(e){if(e.toLowerCase()===c)return"continue";o.push(e);var t=s[e];"string"==typeof t?a[e]=Object(k.a)(e)+"="+Object(k.a)(t):Array.isArray(t)&&(a[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 o.map(function(e){return a[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,o,a,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=(a=this.sha256).bind,[4,n];case 2:return(o=new(l.apply(a,[void 0,i.sent()]))).update(s),c=v.b,[4,o.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 o=n+":"+r+":"+s+":"+t.accessKeyId+":"+t.sessionToken;if(o in g)return g[o];for(y.push(o);y.length>50;)delete g[y.shift()];return g[o]=new Promise(function(a,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(a,function(e){delete g[o],l(e)})})}(this.sha256,e,n,t,r||this.service)},e}(),E=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)}},O=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,o,a,l,c,u,d,h,p,f,m,_,g,y,b,v,w,k,S,C,x,M,D,L,E,O,T,A,I,P,j,R,Y,F,H,N,V,U,B,z,q,W,K,$,G,Q,J,X,Z,ee,te,ne,ie,re,se,oe,ae,le,ce,ue,de,he,pe,fe,me,_e,ge,ye,be,ve,we,ke,Se,Ce,xe,Me,De,Le,Ee,Oe,Te,Ae,Ie,Pe,je,Re,Ye,Fe,He,Ne,Ve,Ue,Be,ze,qe,We,Ke,$e,Ge,Qe,Je,Xe,Ze,et,tt,nt,it,rt,st,ot,at,lt,ct,ut,dt,ht,pt,ft,mt,_t,gt,yt,bt,vt,wt,kt,St,Ct,xt,Mt,Dt,Lt,Et,Ot,Tt,At,It,Pt,jt,Rt,Yt,Ft,Ht,Nt,Vt,Ut,Bt,zt,qt,Wt,Kt,$t,Gt,Qt,Jt,Xt,Zt,en,tn,nn,rn,sn,on,an,ln,cn,un,dn,hn,pn,fn,mn,_n,gn,yn,bn,vn,wn,kn,Sn,Cn,xn,Mn,Dn,Ln,En,On,Tn,An,In,Pn,jn,Rn,Yn,Fn,Hn,Nn,Vn,Un,Bn,zn,qn,Wn,Kn,$n,Gn,Qn,Jn,Xn,Zn,ei,ti,ni,ii,ri,si,oi,ai,li,ci,ui,di,hi,pi,fi,mi,_i,gi,yi,bi,vi,wi,ki,Si,Ci,xi,Mi,Di,Li,Ei,Oi,Ti,Ai,Ii,Pi,ji,Ri,Yi,Fi,Hi,Ni,Vi=n("Nt7R"),Ui=n("QuJe"),Bi=n("Qycn"),zi=n("R10A"),qi=n("+rSW"),Wi=n("mrSG"),Ki=n("EI00");(i||(i={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(r||(r={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(s||(s={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(o||(o={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(a||(a={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(l||(l={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(c||(c={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(u||(u={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(d||(d={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(h||(h={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(p||(p={})).filterSensitiveLog=function(e){return Object(Wi.a)(Object(Wi.a)({},e),e.SSEKMSKeyId&&{SSEKMSKeyId:Ki.c})},(f||(f={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(m||(m={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(_||(_={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(g||(g={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(y||(y={})).filterSensitiveLog=function(e){return Object(Wi.a)(Object(Wi.a)(Object(Wi.a)({},e),e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Ki.c}),e.SSEKMSKeyId&&{SSEKMSKeyId:Ki.c})},(b||(b={})).filterSensitiveLog=function(e){return Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.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(Wi.a)({},e)},(w||(w={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(k||(k={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(S||(S={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(C||(C={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(x||(x={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(M||(M={})).filterSensitiveLog=function(e){return Object(Wi.a)(Object(Wi.a)(Object(Wi.a)({},e),e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Ki.c}),e.SSEKMSKeyId&&{SSEKMSKeyId:Ki.c})},(D||(D={})).filterSensitiveLog=function(e){return Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)({},e),e.SSEKMSKeyId&&{SSEKMSKeyId:Ki.c}),e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Ki.c}),e.SSECustomerKey&&{SSECustomerKey:Ki.c})},(L||(L={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(E||(E={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(O||(O={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(T||(T={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(A||(A={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(I||(I={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(P||(P={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(j||(j={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(R||(R={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Y||(Y={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(F||(F={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(H||(H={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(N||(N={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(V||(V={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(U||(U={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(B||(B={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(z||(z={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(q||(q={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(W||(W={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(K||(K={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},($||($={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(G||(G={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Q||(Q={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(J||(J={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(X||(X={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Z||(Z={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(ee||(ee={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(te||(te={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(ne||(ne={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(ie||(ie={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(re||(re={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(se||(se={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(oe||(oe={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(ae||(ae={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(le||(le={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(ce||(ce={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(ue||(ue={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(de||(de={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(he||(he={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(pe||(pe={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(fe||(fe={})).filterSensitiveLog=function(e){return Object(Wi.a)(Object(Wi.a)({},e),e.KMSMasterKeyID&&{KMSMasterKeyID:Ki.c})},(me||(me={})).filterSensitiveLog=function(e){return Object(Wi.a)(Object(Wi.a)({},e),e.ApplyServerSideEncryptionByDefault&&{ApplyServerSideEncryptionByDefault:fe.filterSensitiveLog(e.ApplyServerSideEncryptionByDefault)})},(_e||(_e={})).filterSensitiveLog=function(e){return Object(Wi.a)(Object(Wi.a)({},e),e.Rules&&{Rules:e.Rules.map(function(e){return me.filterSensitiveLog(e)})})},(ge||(ge={})).filterSensitiveLog=function(e){return Object(Wi.a)(Object(Wi.a)({},e),e.ServerSideEncryptionConfiguration&&{ServerSideEncryptionConfiguration:_e.filterSensitiveLog(e.ServerSideEncryptionConfiguration)})},(ye||(ye={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(be||(be={})).filterSensitiveLog=function(e){return Object(Wi.a)(Object(Wi.a)({},e),e.KeyId&&{KeyId:Ki.c})},(ve||(ve={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(we||(we={})).filterSensitiveLog=function(e){return Object(Wi.a)(Object(Wi.a)({},e),e.SSEKMS&&{SSEKMS:be.filterSensitiveLog(e.SSEKMS)})},(ke||(ke={})).filterSensitiveLog=function(e){return Object(Wi.a)(Object(Wi.a)({},e),e.Encryption&&{Encryption:we.filterSensitiveLog(e.Encryption)})},(Se||(Se={})).filterSensitiveLog=function(e){return Object(Wi.a)(Object(Wi.a)({},e),e.S3BucketDestination&&{S3BucketDestination:ke.filterSensitiveLog(e.S3BucketDestination)})},(Ce||(Ce={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(xe||(xe={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Me||(Me={})).filterSensitiveLog=function(e){return Object(Wi.a)(Object(Wi.a)({},e),e.Destination&&{Destination:Se.filterSensitiveLog(e.Destination)})},(De||(De={})).filterSensitiveLog=function(e){return Object(Wi.a)(Object(Wi.a)({},e),e.InventoryConfiguration&&{InventoryConfiguration:Me.filterSensitiveLog(e.InventoryConfiguration)})},(Le||(Le={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Ee||(Ee={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Oe||(Oe={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Te||(Te={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Ae||(Ae={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Ie||(Ie={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Pe||(Pe={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(je||(je={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Re||(Re={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Ye||(Ye={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Fe||(Fe={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(He||(He={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Ne||(Ne={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Ve||(Ve={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Ue||(Ue={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Be||(Be={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(ze||(ze={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(qe||(qe={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(We||(We={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Ke||(Ke={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},($e||($e={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Ge||(Ge={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Qe||(Qe={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Je||(Je={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Xe||(Xe={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Ze||(Ze={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(et||(et={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(tt||(tt={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(nt||(nt={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(it||(it={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(rt||(rt={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(st||(st={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(ot||(ot={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(at||(at={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(lt||(lt={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(ct||(ct={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(ut||(ut={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(dt||(dt={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(ht||(ht={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(pt||(pt={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(ft||(ft={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(mt||(mt={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(_t||(_t={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(gt||(gt={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(yt||(yt={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(bt||(bt={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(vt||(vt={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(wt||(wt={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(kt||(kt={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(St||(St={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Ct||(Ct={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(xt||(xt={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Mt||(Mt={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Dt||(Dt={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Lt||(Lt={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Et||(Et={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Ot||(Ot={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Tt||(Tt={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(At||(At={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(It||(It={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Pt||(Pt={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(jt||(jt={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Rt||(Rt={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Yt||(Yt={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Ft||(Ft={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Ht||(Ht={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Nt||(Nt={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Vt||(Vt={})).filterSensitiveLog=function(e){return Object(Wi.a)(Object(Wi.a)({},e),e.SSEKMSKeyId&&{SSEKMSKeyId:Ki.c})},(Ut||(Ut={})).filterSensitiveLog=function(e){return Object(Wi.a)(Object(Wi.a)({},e),e.SSECustomerKey&&{SSECustomerKey:Ki.c})},(Bt||(Bt={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(zt||(zt={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(qt||(qt={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Wt||(Wt={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Kt||(Kt={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},($t||($t={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Gt||(Gt={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Qt||(Qt={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Jt||(Jt={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Xt||(Xt={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Zt||(Zt={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(en||(en={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(tn||(tn={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(nn||(nn={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(rn||(rn={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(sn||(sn={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(on||(on={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(an||(an={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(ln||(ln={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(cn||(cn={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(un||(un={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(dn||(dn={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(hn||(hn={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(pn||(pn={})).filterSensitiveLog=function(e){return Object(Wi.a)(Object(Wi.a)({},e),e.SSEKMSKeyId&&{SSEKMSKeyId:Ki.c})},(fn||(fn={})).filterSensitiveLog=function(e){return Object(Wi.a)(Object(Wi.a)({},e),e.SSECustomerKey&&{SSECustomerKey:Ki.c})},(mn||(mn={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(_n||(_n={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(gn||(gn={})).filterSensitiveLog=function(e){return Object(Wi.a)(Object(Wi.a)({},e),e.InventoryConfigurationList&&{InventoryConfigurationList:e.InventoryConfigurationList.map(function(e){return Me.filterSensitiveLog(e)})})},(yn||(yn={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(bn||(bn={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(vn||(vn={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(wn||(wn={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(kn||(kn={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Sn||(Sn={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Cn||(Cn={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(xn||(xn={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Mn||(Mn={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Dn||(Dn={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Ln||(Ln={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(En||(En={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(On||(On={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Tn||(Tn={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(An||(An={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(In||(In={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Pn||(Pn={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(jn||(jn={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Rn||(Rn={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Yn||(Yn={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Fn||(Fn={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Hn||(Hn={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Nn||(Nn={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Vn||(Vn={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Un||(Un={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Bn||(Bn={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(zn||(zn={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(qn||(qn={})).filterSensitiveLog=function(e){return Object(Wi.a)(Object(Wi.a)({},e),e.ServerSideEncryptionConfiguration&&{ServerSideEncryptionConfiguration:_e.filterSensitiveLog(e.ServerSideEncryptionConfiguration)})},(Wn||(Wn={})).filterSensitiveLog=function(e){return Object(Wi.a)(Object(Wi.a)({},e),e.InventoryConfiguration&&{InventoryConfiguration:Me.filterSensitiveLog(e.InventoryConfiguration)})},(Kn||(Kn={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},($n||($n={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Gn||(Gn={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Qn||(Qn={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Jn||(Jn={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Xn||(Xn={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Zn||(Zn={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(ei||(ei={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(ti||(ti={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(ni||(ni={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(ii||(ii={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(ri||(ri={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(si||(si={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(oi||(oi={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(ai||(ai={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(li||(li={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(ci||(ci={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(ui||(ui={})).filterSensitiveLog=function(e){return Object(Wi.a)(Object(Wi.a)(Object(Wi.a)({},e),e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Ki.c}),e.SSEKMSKeyId&&{SSEKMSKeyId:Ki.c})},(di||(di={})).filterSensitiveLog=function(e){return Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)({},e),e.SSECustomerKey&&{SSECustomerKey:Ki.c}),e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Ki.c}),e.SSEKMSKeyId&&{SSEKMSKeyId:Ki.c})},(hi||(hi={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(pi||(pi={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(fi||(fi={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(mi||(mi={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(_i||(_i={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(gi||(gi={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(yi||(yi={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(bi||(bi={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(vi||(vi={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(wi||(wi={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(ki||(ki={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Si||(Si={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Ci||(Ci={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(xi||(xi={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Mi||(Mi={})).filterSensitiveLog=function(e){return Object(Wi.a)(Object(Wi.a)({},e),e.KMSKeyId&&{KMSKeyId:Ki.c})},(Di||(Di={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Li||(Li={})).filterSensitiveLog=function(e){return Object(Wi.a)(Object(Wi.a)({},e),e.Encryption&&{Encryption:Mi.filterSensitiveLog(e.Encryption)})},(Ei||(Ei={})).filterSensitiveLog=function(e){return Object(Wi.a)(Object(Wi.a)({},e),e.S3&&{S3:Li.filterSensitiveLog(e.S3)})},function(e){e.IGNORE="IGNORE",e.NONE="NONE",e.USE="USE"}(Oi||(Oi={})),(Ti||(Ti={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},function(e){e.DOCUMENT="DOCUMENT",e.LINES="LINES"}(Ai||(Ai={})),(Ii||(Ii={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Pi||(Pi={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(ji||(ji={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},function(e){e.ALWAYS="ALWAYS",e.ASNEEDED="ASNEEDED"}(Ri||(Ri={})),(Yi||(Yi={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Fi||(Fi={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Hi||(Hi={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Ni||(Ni={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)};var $i=n("Enk7"),Gi=n("mB6T"),Qi=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)),o=s.next();!o.done;o=s.next()){var a=o.value,l=r[a];null!=l&&(i+=" "+a+'="'+(""+l).replace(/&/g,"&").replace(//g,">").replace(/"/g,""")+'"')}}catch(c){e={error:c}}finally{try{o&&!o.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}(),Ji=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(Wi.b)(void 0,void 0,void 0,function(){var n,i,r,s,o,a,l,c;return Object(Wi.d)(this,function(u){switch(u.label){case 0:return i=[Object(Wi.a)({},e)],c={},[4,mr(e.body,t)];case 1:switch(n=Wi.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 o=[{}],[4,ur(n,t)];case 3:return r=Wi.a.apply(void 0,[Wi.a.apply(void 0,o.concat([u.sent()])),{name:s,$metadata:hr(e)}]),[3,5];case 4:s=(a=n.body).code||a.Code||s,r=Object(Wi.a)(Object(Wi.a)({},a),{name:""+s,message:a.message||a.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(Wi.b)(void 0,void 0,void 0,function(){var n,i,r,s,o,a,l;return Object(Wi.d)(this,function(c){switch(c.label){case 0:return i=[Object(Wi.a)({},e)],l={},[4,mr(e.body,t)];case 1:return n=Wi.a.apply(void 0,i.concat([(l.body=c.sent(),l)])),s="UnknownError",s=_r(e,n.body),s=(o=n.body).code||o.Code||s,(r=Object(Wi.a)(Object(Wi.a)({},o),{name:""+s,message:o.message||o.Message||s,$fault:"client",$metadata:hr(e)})).message=a=r.message||r.Message||s,delete r.Message,[2,Promise.reject(Object.assign(new Error(a),r))]}})})},tr=function(e,t){return Object(Wi.b)(void 0,void 0,void 0,function(){var n,i,r,s,o,a,l;return Object(Wi.d)(this,function(c){switch(c.label){case 0:return i=[Object(Wi.a)({},e)],l={},[4,mr(e.body,t)];case 1:return n=Wi.a.apply(void 0,i.concat([(l.body=c.sent(),l)])),s="UnknownError",s=_r(e,n.body),s=(o=n.body).code||o.Code||s,(r=Object(Wi.a)(Object(Wi.a)({},o),{name:""+s,message:o.message||o.Message||s,$fault:"client",$metadata:hr(e)})).message=a=r.message||r.Message||s,delete r.Message,[2,Promise.reject(Object.assign(new Error(a),r))]}})})},nr=function(e,t){return Object(Wi.b)(void 0,void 0,void 0,function(){var n,i,r,s,o,a,l;return Object(Wi.d)(this,function(c){switch(c.label){case 0:return i=[Object(Wi.a)({},e)],l={},[4,mr(e.body,t)];case 1:return n=Wi.a.apply(void 0,i.concat([(l.body=c.sent(),l)])),s="UnknownError",s=_r(e,n.body),s=(o=n.body).code||o.Code||s,(r=Object(Wi.a)(Object(Wi.a)({},o),{name:""+s,message:o.message||o.Message||s,$fault:"client",$metadata:hr(e)})).message=a=r.message||r.Message||s,delete r.Message,[2,Promise.reject(Object.assign(new Error(a),r))]}})})},ir=function(e,t){return Object(Wi.b)(void 0,void 0,void 0,function(){var n,i,r,s,o,a,l,c;return Object(Wi.d)(this,function(u){switch(u.label){case 0:return i=[Object(Wi.a)({},e)],c={},[4,mr(e.body,t)];case 1:switch(n=Wi.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 o=[{}],[4,cr(n,t)];case 3:return r=Wi.a.apply(void 0,[Wi.a.apply(void 0,o.concat([u.sent()])),{name:s,$metadata:hr(e)}]),[3,5];case 4:s=(a=n.body).code||a.Code||s,r=Object(Wi.a)(Object(Wi.a)({},a),{name:""+s,message:a.message||a.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(Wi.b)(void 0,void 0,void 0,function(){var n,i,r,s,o,a,l,c;return Object(Wi.d)(this,function(u){switch(u.label){case 0:return i=[Object(Wi.a)({},e)],c={},[4,mr(e.body,t)];case 1:switch(n=Wi.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 o=[{}],[4,lr(n,t)];case 3:return r=Wi.a.apply(void 0,[Wi.a.apply(void 0,o.concat([u.sent()])),{name:s,$metadata:hr(e)}]),[3,5];case 4:s=(a=n.body).code||a.Code||s,r=Object(Wi.a)(Object(Wi.a)({},a),{name:""+s,message:a.message||a.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(Wi.b)(void 0,void 0,void 0,function(){var n,i,r,s,o,a,l;return Object(Wi.d)(this,function(c){switch(c.label){case 0:return i=[Object(Wi.a)({},e)],l={},[4,mr(e.body,t)];case 1:return n=Wi.a.apply(void 0,i.concat([(l.body=c.sent(),l)])),s="UnknownError",s=_r(e,n.body),s=(o=n.body).code||o.Code||s,(r=Object(Wi.a)(Object(Wi.a)({},o),{name:""+s,message:o.message||o.Message||s,$fault:"client",$metadata:hr(e)})).message=a=r.message||r.Message||s,delete r.Message,[2,Promise.reject(Object.assign(new Error(a),r))]}})})},or=function(e,t){return Object(Wi.b)(void 0,void 0,void 0,function(){var n,i,r,s,o,a,l;return Object(Wi.d)(this,function(c){switch(c.label){case 0:return i=[Object(Wi.a)({},e)],l={},[4,mr(e.body,t)];case 1:return n=Wi.a.apply(void 0,i.concat([(l.body=c.sent(),l)])),s="UnknownError",s=_r(e,n.body),s=(o=n.body).code||o.Code||s,(r=Object(Wi.a)(Object(Wi.a)({},o),{name:""+s,message:o.message||o.Message||s,$fault:"client",$metadata:hr(e)})).message=a=r.message||r.Message||s,delete r.Message,[2,Promise.reject(Object.assign(new Error(a),r))]}})})},ar=function(e,t){return Object(Wi.b)(void 0,void 0,void 0,function(){var n,i,r,s,o,a,l;return Object(Wi.d)(this,function(c){switch(c.label){case 0:return i=[Object(Wi.a)({},e)],l={},[4,mr(e.body,t)];case 1:return n=Wi.a.apply(void 0,i.concat([(l.body=c.sent(),l)])),s="UnknownError",s=_r(e,n.body),s=(o=n.body).code||o.Code||s,(r=Object(Wi.a)(Object(Wi.a)({},o),{name:""+s,message:o.message||o.Message||s,$fault:"client",$metadata:hr(e)})).message=a=r.message||r.Message||s,delete r.Message,[2,Promise.reject(Object.assign(new Error(a),r))]}})})},lr=function(e,t){return Object(Wi.b)(void 0,void 0,void 0,function(){return Object(Wi.d)(this,function(t){return[2,{name:"NoSuchBucket",$fault:"client",$metadata:hr(e)}]})})},cr=function(e,t){return Object(Wi.b)(void 0,void 0,void 0,function(){return Object(Wi.d)(this,function(t){return[2,{name:"NoSuchKey",$fault:"client",$metadata:hr(e)}]})})},ur=function(e,t){return Object(Wi.b)(void 0,void 0,void 0,function(){return Object(Wi.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)},Er=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)},Or=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,o=void 0!==s&&s,a=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!==a&&a,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;Er(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")}(_),Er(S,{tlsCompatible:c}),function(e){if(e)throw new Error("Dualstack endpoint is not supported with Outpost")}(o),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"+(o?".dualstack":"")+"."+C+"."+r,signingRegion:x})},Ar=function(e){var t,n=e.accelerateEndpoint,i=void 0!==n&&n,r=e.baseHostname,s=e.bucketName,o=e.dualstackEndpoint,a=void 0!==o&&o,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:a?"s3.dualstack."+p+"."+f:r}:(i?r="s3-accelerate"+(a?".dualstack":"")+"."+f:a&&(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,o,a,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(o=i.request)?e.bucketEndpoint?(o.hostname=r,[3,6]):[3,1]:[3,7];case 1:return gr(r)?(a=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=Or({bucketName:a,baseHostname:o.hostname,accelerateEndpoint:e.useAccelerateEndpoint,dualstackEndpoint:e.useDualstackEndpoint,pathStyleEndpoint:e.forcePathStyle,tlsCompatible:"https:"===o.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),o.hostname=b,s=v,[3,6];case 5:y=Or({bucketName:r,baseHostname:o.hostname,accelerateEndpoint:e.useAccelerateEndpoint,dualstackEndpoint:e.useDualstackEndpoint,pathStyleEndpoint:e.forcePathStyle,tlsCompatible:"https:"===o.protocol}),v=y.bucketEndpoint,o.hostname=b=y.hostname,s=v,w.label=6;case 6:s&&(o.path=o.path.replace(/^(\/)?[^\/]+/,""),""===o.path&&(o.path="/")),w.label=7;case 7:return[2,t(Object(Gi.__assign)(Object(Gi.__assign)({},i),{request:o}))]}})})}}}(e),Ir)}}},jr=n("mRvm"),Rr={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,o,a,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),o=s.next(),v.label=2;case 2:return o.done?[3,5]:(l=t[(a=o.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={})[a.target]=u,p=a.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 o=s.next(),[3,2];case 5:return[3,8];case 6:return _=v.sent(),g={error:_},[3,8];case 7:try{o&&!o.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),Rr)}}},Fr=function(e){function t(t){var n=e.call(this)||this;return n.input=t,n}return Object(Wi.c)(t,e),t.prototype.resolveMiddleware=function(e,t,n){this.middlewareStack.use(Object(jr.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",o="GetObjectCommand",a={logger:r,clientName:s,commandName:o,inputFilterSensitiveLog:Ut.filterSensitiveLog,outputFilterSensitiveLog:Vt.filterSensitiveLog};"function"==typeof r.info&&r.info({clientName:s,commandName:o});var l=t.requestHandler;return i.resolve(function(e){return l.handle(e.request,n||{})},a)},t.prototype.serialize=function(e,t){return function(e,t){return Object(Wi.b)(void 0,void 0,void 0,function(){var n,i,r,s,o,a;return Object(Wi.d)(this,function(l){switch(l.label){case 0:if(n=Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.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(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.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 o=l.sent(),[2,new $i.a({protocol:void 0===(a=o.protocol)?"https":a,hostname:o.hostname,port:o.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(Wi.b)(void 0,void 0,void 0,function(){var n;return Object(Wi.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),Hr=function(e){function t(t){var n=e.call(this)||this;return n.input=t,n}return Object(Wi.c)(t,e),t.prototype.resolveMiddleware=function(e,t,n){this.middlewareStack.use(Object(jr.a)(t,this.serialize,this.deserialize)),this.middlewareStack.use(Pr(t));var i=e.concat(this.middlewareStack),r=t.logger,s="S3Client",o="DeleteObjectCommand",a={logger:r,clientName:s,commandName:o,inputFilterSensitiveLog:V.filterSensitiveLog,outputFilterSensitiveLog:N.filterSensitiveLog};"function"==typeof r.info&&r.info({clientName:s,commandName:o});var l=t.requestHandler;return i.resolve(function(e){return l.handle(e.request,n||{})},a)},t.prototype.serialize=function(e,t){return function(e,t){return Object(Wi.b)(void 0,void 0,void 0,function(){var n,i,r,s,o,a;return Object(Wi.d)(this,function(l){switch(l.label){case 0:if(n=Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.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(Wi.a)({"x-id":"DeleteObject"},void 0!==e.VersionId&&{versionId:e.VersionId}),[4,t.endpoint()];case 1:return o=l.sent(),[2,new $i.a({protocol:void 0===(a=o.protocol)?"https":a,hostname:o.hostname,port:o.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(Wi.b)(void 0,void 0,void 0,function(){var n;return Object(Wi.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),Nr=function(e){function t(t){var n=e.call(this)||this;return n.input=t,n}return Object(Wi.c)(t,e),t.prototype.resolveMiddleware=function(e,t,n){this.middlewareStack.use(Object(jr.a)(t,this.serialize,this.deserialize)),this.middlewareStack.use(Pr(t));var i=e.concat(this.middlewareStack),r=t.logger,s="S3Client",o="ListObjectsCommand",a={logger:r,clientName:s,commandName:o,inputFilterSensitiveLog:On.filterSensitiveLog,outputFilterSensitiveLog:En.filterSensitiveLog};"function"==typeof r.info&&r.info({clientName:s,commandName:o});var l=t.requestHandler;return i.resolve(function(e){return l.handle(e.request,n||{})},a)},t.prototype.serialize=function(e,t){return function(e,t){return Object(Wi.b)(void 0,void 0,void 0,function(){var n,i,r,s,o,a;return Object(Wi.d)(this,function(l){switch(l.label){case 0:if(n=Object(Wi.a)(Object(Wi.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(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.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 o=l.sent(),[2,new $i.a({protocol:void 0===(a=o.protocol)?"https":a,hostname:o.hostname,port:o.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(Wi.b)(void 0,void 0,void 0,function(){var n,i;return Object(Wi.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"),qr=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&&Wr(n),new e(n)},e.prototype.valueOf=function(){var e=this.bytes.slice(0),t=128&e[0];return t&&Wr(e),parseInt(Object(zr.b)(e),16)*(t?-1:1)},e.prototype.toString=function(){return String(this.valueOf())},e}();function Wr(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 o=Object(Gi.__values)(Object.keys(e)),a=o.next();!a.done;a=o.next()){var l=a.value,c=this.fromUtf8(l);s.push(Uint8Array.from([c.byteLength]),c,this.formatHeaderValue(e[l]))}}catch(m){t={error:m}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}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 o=this.fromUtf8(e.value),a=new DataView(new ArrayBuffer(3+o.byteLength));a.setUint8(0,7),a.setUint16(1,o.byteLength,!1);var l=new Uint8Array(a.buffer);return l.set(o,3),l;case"timestamp":var c=new Uint8Array(9);return c[0]=8,c.set(qr.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=o?i():s.readAsArrayBuffer(e.slice(a,Math.min(o,a+n)))}s.addEventListener("load",function(e){var n=e.target.result;t(new Uint8Array(n)),a+=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(o){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,o){return ms(t&n|~t&i,e,t,r,s,o)}function gs(e,t,n,i,r,s,o){return ms(t&i|n&~i,e,t,r,s,o)}function ys(e,t,n,i,r,s,o){return ms(t^n^i,e,t,r,s,o)}function bs(e,t,n,i,r,s,o){return ms(n^(t|~i),e,t,r,s,o)}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"]),Es=new Set(["us-isob-east-1"]),Os=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"}),Es.has(e)&&(n={hostname:"s3.{region}.sc2s.sgov.gov".replace("{region}",e),partition:"aws-iso-b"}),Os.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(Wi.a)(Object(Wi.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 as(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"),js={step:"build",tags:["SET_EXPECT_HEADER","EXPECT_HEADER"],name:"addExpectContinueMiddleware"},Rs=n("Nl9j"),Ys=n("+tRG"),Fs={step:"initialize",tags:["VALIDATE_BUCKET_NAME"],name:"validateBucketNameMiddleware"},Hs={step:"build",tags:["USE_REGIONAL_ENDPOINT","S3"],name:"useRegionalEndpointMiddleware"},Ns=n("qcsT"),Vs=n("87YT"),Us=function(e){function t(t){var n,i,r,s,o,a,l,c,u,d,h,p,f,m=this,_=Object(Wi.a)(Object(Wi.a)({},As),t),g=Object(Is.b)(_),y=Object(Is.a)(g),b=Object(Ns.b)(y),v=Object(vs.c)(b),w=(r=void 0!==(i=(n=Object(Vs.b)(v)).bucketEndpoint)&&i,o=void 0!==(s=n.forcePathStyle)&&s,l=void 0!==(a=n.useAccelerateEndpoint)&&a,u=void 0!==(c=n.useDualstackEndpoint)&&c,h=void 0!==(d=n.useArnRegion)&&d,Object(Gi.__assign)(Object(Gi.__assign)({},n),{bucketEndpoint:r,forcePathStyle:o,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(Rs.b)(w));return(m=e.call(this,k)||this).config=k,m.middlewareStack.use(Object(Ns.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),Hs)}})),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),js)}})),m.middlewareStack.use(Object(Rs.a)(m.config)),m.middlewareStack.use(Object(Ys.a)(m.config)),m}return Object(Wi.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 o=n?Object(Bs.a)(n):"";return o&&"?"!==o[0]&&(o="?"+o),i+"//"+s+r+o}function qs(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 Ws,Ks,$s,Gs,Qs,Js,Xs,Zs,eo,to,no,io,ro,so,oo,ao,lo,co,uo,ho,po=n("ko+D"),fo=function(){function e(e){var t=Object(Gi.__assign)({service:e.signingName||e.service||"s3",uriEscapePath:e.uriEscapePath||!1},e);this.signer=new po.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}(),mo=n("vDqi"),_o=n.n(mo),go=new Vi.a("axios-http-handler"),yo="sendProgress",bo=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 o=e.port,a={};a.url=e.protocol+"//"+e.hostname+(o?":"+o:"")+r,a.method=e.method,a.headers=e.headers,delete a.headers.host,e.body?a.data=e.body:a.headers["Content-Type"]&&(a.data=null),i&&(a.onUploadProgress=function(e){i.emit(yo,e),go.debug(e)}),a.responseType="blob";var l,c=[_o.a.request(a).then(function(e){return{response:new $i.b({headers:e.headers,statusCode:e.status,body:e.data})}}).catch(function(e){throw go.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}(),vo=function(e){function t(t){var n=e.call(this)||this;return n.input=t,n}return Object(Wi.c)(t,e),t.prototype.resolveMiddleware=function(e,t,n){this.middlewareStack.use(Object(jr.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",o="PutObjectCommand",a={logger:r,clientName:s,commandName:o,inputFilterSensitiveLog:di.filterSensitiveLog,outputFilterSensitiveLog:ui.filterSensitiveLog};"function"==typeof r.info&&r.info({clientName:s,commandName:o});var l=t.requestHandler;return i.resolve(function(e){return l.handle(e.request,n||{})},a)},t.prototype.serialize=function(e,t){return function(e,t){return Object(Wi.b)(void 0,void 0,void 0,function(){var n,i,r,s,o,a,l;return Object(Wi.d)(this,function(c){switch(c.label){case 0:if(n=Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.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&&(o=e.Body),[4,t.endpoint()];case 1:return a=c.sent(),[2,new $i.a({protocol:void 0===(l=a.protocol)?"https":l,hostname:a.hostname,port:a.port,method:"PUT",headers:n,path:i,query:s,body:o})]}})})}(e,t)},t.prototype.deserialize=function(e,t){return function(e,t){return Object(Wi.b)(void 0,void 0,void 0,function(){var n;return Object(Wi.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,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),wo=function(e){function t(t){var n=e.call(this)||this;return n.input=t,n}return Object(Wi.c)(t,e),t.prototype.resolveMiddleware=function(e,t,n){this.middlewareStack.use(Object(jr.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",o="CreateMultipartUploadCommand",a={logger:r,clientName:s,commandName:o,inputFilterSensitiveLog:D.filterSensitiveLog,outputFilterSensitiveLog:M.filterSensitiveLog};"function"==typeof r.info&&r.info({clientName:s,commandName:o});var l=t.requestHandler;return i.resolve(function(e){return l.handle(e.request,n||{})},a)},t.prototype.serialize=function(e,t){return function(e,t){return Object(Wi.b)(void 0,void 0,void 0,function(){var n,i,r,s,o,a;return Object(Wi.d)(this,function(l){switch(l.label){case 0:if(n=Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.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 o=l.sent(),[2,new $i.a({protocol:void 0===(a=o.protocol)?"https":a,hostname:o.hostname,port:o.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(Wi.b)(void 0,void 0,void 0,function(){var n,i;return Object(Wi.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"}(Ws||(Ws={})),(Ks||(Ks={})).filterSensitiveLog=function(e){return Object(Wi.a)(Object(Wi.a)({},e),e.OutputLocation&&{OutputLocation:Ei.filterSensitiveLog(e.OutputLocation)})},($s||($s={})).filterSensitiveLog=function(e){return Object(Wi.a)(Object(Wi.a)({},e),e.RestoreRequest&&{RestoreRequest:Ks.filterSensitiveLog(e.RestoreRequest)})},(Gs||(Gs={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Qs||(Qs={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Js||(Js={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Xs||(Xs={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(Zs||(Zs={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(eo||(eo={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(to||(to={})).filterSensitiveLog=function(e){return Object(Wi.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:to.filterSensitiveLog(e.Stats)}:void 0!==e.End?{End:Qs.filterSensitiveLog(e.End)}:void 0!==e.Records?{Records:Zs.filterSensitiveLog(e.Records)}:void 0!==e.$unknown?((t={})[e.$unknown[0]]="UNKNOWN",t):void 0}}(no||(no={})),(io||(io={})).filterSensitiveLog=function(e){return Object(Wi.a)(Object(Wi.a)({},e),e.Payload&&{Payload:"STREAMING_CONTENT"})},(ro||(ro={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(so||(so={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(oo||(oo={})).filterSensitiveLog=function(e){return Object(Wi.a)(Object(Wi.a)({},e),e.SSECustomerKey&&{SSECustomerKey:Ki.c})},(ao||(ao={})).filterSensitiveLog=function(e){return Object(Wi.a)(Object(Wi.a)({},e),e.SSEKMSKeyId&&{SSEKMSKeyId:Ki.c})},(lo||(lo={})).filterSensitiveLog=function(e){return Object(Wi.a)(Object(Wi.a)({},e),e.SSECustomerKey&&{SSECustomerKey:Ki.c})},(co||(co={})).filterSensitiveLog=function(e){return Object(Wi.a)({},e)},(uo||(uo={})).filterSensitiveLog=function(e){return Object(Wi.a)(Object(Wi.a)({},e),e.SSEKMSKeyId&&{SSEKMSKeyId:Ki.c})},(ho||(ho={})).filterSensitiveLog=function(e){return Object(Wi.a)(Object(Wi.a)(Object(Wi.a)({},e),e.SSECustomerKey&&{SSECustomerKey:Ki.c}),e.CopySourceSSECustomerKey&&{CopySourceSSECustomerKey:Ki.c})};var ko=function(e){function t(t){var n=e.call(this)||this;return n.input=t,n}return Object(Wi.c)(t,e),t.prototype.resolveMiddleware=function(e,t,n){this.middlewareStack.use(Object(jr.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",o="UploadPartCommand",a={logger:r,clientName:s,commandName:o,inputFilterSensitiveLog:lo.filterSensitiveLog,outputFilterSensitiveLog:ao.filterSensitiveLog};"function"==typeof r.info&&r.info({clientName:s,commandName:o});var l=t.requestHandler;return i.resolve(function(e){return l.handle(e.request,n||{})},a)},t.prototype.serialize=function(e,t){return function(e,t){return Object(Wi.b)(void 0,void 0,void 0,function(){var n,i,r,s,o,a,l;return Object(Wi.d)(this,function(c){switch(c.label){case 0:if(n=Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.a)(Object(Wi.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(Wi.a)(Object(Wi.a)({"x-id":"UploadPart"},void 0!==e.PartNumber&&{partNumber:e.PartNumber.toString()}),void 0!==e.UploadId&&{uploadId:e.UploadId}),void 0!==e.Body&&(o=e.Body),[4,t.endpoint()];case 1:return a=c.sent(),[2,new $i.a({protocol:void 0===(l=a.protocol)?"https":l,hostname:a.hostname,port:a.port,method:"PUT",headers:n,path:i,query:s,body:o})]}})})}(e,t)},t.prototype.deserialize=function(e,t){return function(e,t){return Object(Wi.b)(void 0,void 0,void 0,function(){var n;return Object(Wi.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,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),So=function(e){function t(t){var n=e.call(this)||this;return n.input=t,n}return Object(Wi.c)(t,e),t.prototype.resolveMiddleware=function(e,t,n){this.middlewareStack.use(Object(jr.a)(t,this.serialize,this.deserialize)),this.middlewareStack.use(Pr(t));var i=e.concat(this.middlewareStack),r=t.logger,s="S3Client",o="CompleteMultipartUploadCommand",a={logger:r,clientName:s,commandName:o,inputFilterSensitiveLog:_.filterSensitiveLog,outputFilterSensitiveLog:p.filterSensitiveLog};"function"==typeof r.info&&r.info({clientName:s,commandName:o});var l=t.requestHandler;return i.resolve(function(e){return l.handle(e.request,n||{})},a)},t.prototype.serialize=function(e,t){return function(e,t){return Object(Wi.b)(void 0,void 0,void 0,function(){var n,i,r,s,o,a,l,c;return Object(Wi.d)(this,function(u){switch(u.label){case 0:if(n=Object(Wi.a)(Object(Wi.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(Wi.a)({},void 0!==e.UploadId&&{uploadId:e.UploadId}),void 0!==e.MultipartUpload&&(a=function(e,t){var n=new Qi("CompletedMultipartUpload");return void 0!==e.Parts&&function(e,t){return e.map(function(e){return function(e,t){var n=new Qi("CompletedPart");if(void 0!==e.ETag){var i=new Qi("ETag").addChildNode(new Ji(e.ETag)).withName("ETag");n.addChildNode(i)}return void 0!==e.PartNumber&&(i=new Qi("PartNumber").addChildNode(new Ji(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),o='',a.addAttribute("xmlns","http://s3.amazonaws.com/doc/2006-03-01/"),o+=a.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:o})]}})})}(e,t)},t.prototype.deserialize=function(e,t){return function(e,t){return Object(Wi.b)(void 0,void 0,void 0,function(){var n,i;return Object(Wi.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),Co=function(e){function t(t){var n=e.call(this)||this;return n.input=t,n}return Object(Wi.c)(t,e),t.prototype.resolveMiddleware=function(e,t,n){this.middlewareStack.use(Object(jr.a)(t,this.serialize,this.deserialize)),this.middlewareStack.use(Pr(t));var i=e.concat(this.middlewareStack),o=t.logger,a="S3Client",l="AbortMultipartUploadCommand",c={logger:o,clientName:a,commandName:l,inputFilterSensitiveLog:s.filterSensitiveLog,outputFilterSensitiveLog:r.filterSensitiveLog};"function"==typeof o.info&&o.info({clientName:a,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(Wi.b)(void 0,void 0,void 0,function(){var n,i,r,s,o,a;return Object(Wi.d)(this,function(l){switch(l.label){case 0:if(n=Object(Wi.a)(Object(Wi.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(Wi.a)({"x-id":"AbortMultipartUpload"},void 0!==e.UploadId&&{uploadId:e.UploadId}),[4,t.endpoint()];case 1:return o=l.sent(),[2,new $i.a({protocol:void 0===(a=o.protocol)?"https":a,hostname:o.hostname,port:o.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(Wi.b)(void 0,void 0,void 0,function(){var n;return Object(Wi.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),xo=function(e){function t(t){var n=e.call(this)||this;return n.input=t,n}return Object(Wi.c)(t,e),t.prototype.resolveMiddleware=function(e,t,n){this.middlewareStack.use(Object(jr.a)(t,this.serialize,this.deserialize)),this.middlewareStack.use(Pr(t));var i=e.concat(this.middlewareStack),r=t.logger,s="S3Client",o="ListPartsCommand",a={logger:r,clientName:s,commandName:o,inputFilterSensitiveLog:Hn.filterSensitiveLog,outputFilterSensitiveLog:Fn.filterSensitiveLog};"function"==typeof r.info&&r.info({clientName:s,commandName:o});var l=t.requestHandler;return i.resolve(function(e){return l.handle(e.request,n||{})},a)},t.prototype.serialize=function(e,t){return function(e,t){return Object(Wi.b)(void 0,void 0,void 0,function(){var n,i,r,s,o,a;return Object(Wi.d)(this,function(l){switch(l.label){case 0:if(n=Object(Wi.a)(Object(Wi.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(Wi.a)(Object(Wi.a)(Object(Wi.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 o=l.sent(),[2,new $i.a({protocol:void 0===(a=o.protocol)?"https":a,hostname:o.hostname,port:o.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(Wi.b)(void 0,void 0,void 0,function(){var n,i;return Object(Wi.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),Mo=n("+qE3"),Do=n("2XnK"),Lo=n("CxY0"),Eo=function(e){var t,n=Object(Lo.parse)(e),i=n.hostname,r=void 0===i?"localhost":i,s=n.pathname,o=void 0===s?"/":s,a=n.port,l=n.protocol,c=void 0===l?"https:":l,u=n.search;return u&&(t=Object(Do.a)(u)),{hostname:r,port:a?parseInt(a):void 0,protocol:c,path:o,query:t}},Oo=function(){return(Oo=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&r[r.length-1])||6!==s[0]&&2!==s[0])){o=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),o=new ko({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:a=f.sent(),n.push(a.send(o)),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(yo,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(yo,{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 To(this,void 0,void 0,function(){return Ao(this,function(t){switch(t.label){case 0:return this.isGenericObject(e)?[2,JSON.stringify(e)]:[3,1];case 1:return this.isBlob(e)?qi.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 To(this,void 0,void 0,function(){var n,i,r;return Ao(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(Oo(Oo({region:e.region,credentials:n},i),{requestHandler:new bo({},t),customUserAgent:Object(qi.b)(),urlParser:Eo}))).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 Io.debug("set credentials for storage",t),t}).catch(function(e){return Io.warn("ensure credentials error",e),!1})},e}(),jo=function(){return(jo=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&r[r.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]0&&r[r.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]0)&&!(i=s.next()).done;)o.push(i.value)}catch(a){r={error:a}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return o}(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]=Uo(Uo({},t._config[e]),n.Storage[e]))}),this._pluggables.forEach(function(e){e.configure(t._config[e.getProviderName()])}),0===this._pluggables.length&&this.addPluggable(new Vo),this._config},e.prototype.get=function(e,t){return Bo(this,void 0,void 0,function(){var n,i,r;return zo(this,function(s){return i=void 0===(n=(t||{}).provider)?Wo:n,void 0===(r=this._pluggables.find(function(e){return e.getProviderName()===i}))&&(qo.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 Bo(this,void 0,void 0,function(){var i,r,s;return zo(this,function(o){return r=void 0===(i=(n||{}).provider)?Wo:i,void 0===(s=this._pluggables.find(function(e){return e.getProviderName()===r}))&&(qo.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 Bo(this,void 0,void 0,function(){var n,i,r;return zo(this,function(s){return i=void 0===(n=(t||{}).provider)?Wo:n,void 0===(r=this._pluggables.find(function(e){return e.getProviderName()===i}))&&(qo.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 Bo(this,void 0,void 0,function(){var n,i,r;return zo(this,function(s){return i=void 0===(n=(t||{}).provider)?Wo:n,void 0===(r=this._pluggables.find(function(e){return e.getProviderName()===i}))&&(qo.debug("No plugin found with providerName",i),Promise.reject("No plugin found in Storage for the provider")),[2,r.list(e,t)]})})},e}(),$o=n("fQM2"),Go=function(){return(Go=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 o}),n.d(t,"d",function(){return a}),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 o(e){return e&&!!["customState"].find(function(t){return e.hasOwnProperty(t)})}function a(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 o}),n.d(t,"__decorate",function(){return a}),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;a--)(r=e[a])&&(o=(s<3?r(o):s>3?r(t,n,o):r(t,n))||o);return s>3&&o&&Object.defineProperty(t,n,o),o}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 o(e){try{l(i.next(e))}catch(t){s(t)}}function a(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(o,a)}l((i=i.apply(e,t||[])).next())})}function d(e,t){var n,i,r,s,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(s){return function(a){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o;)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 o.label++,{value:s[1],done:!1};case 5:o.label++,i=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!((r=(r=o.trys).length>0&&r[r.length-1])||6!==s[0]&&2!==s[0])){o=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),o=[];try{for(;(void 0===t||t-- >0)&&!(i=s.next()).done;)o.push(i.value)}catch(a){r={error:a}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return o}function _(){for(var e=[],t=0;t1||a(e,t)})})}function a(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){a("next",e)}function c(e){a("throw",e)}function u(e,t){e(t),s.shift(),s.length&&a(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 o});var i=n("mB6T"),r={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"]},s={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"]};function o(e,t,n){return{applyToStack:function(o){o.add(function(e,t){return function(n,r){return function(s){return Object(i.__awaiter)(void 0,void 0,void 0,function(){var o,a,l,c,u;return Object(i.__generator)(this,function(d){switch(d.label){case 0:return o=r.logger,a=r.outputFilterSensitiveLog,[4,n(s)];case 1:return l=d.sent().response,"function"==typeof(null==o?void 0:o.debug)&&o.debug({httpResponse:l}),[4,t(l,e)];case 2:return c=d.sent(),u=Object(i.__rest)(c,["$metadata"]),"function"==typeof(null==o?void 0:o.info)&&o.info({output:a(u)}),[2,{response:l,output:c}]}})})}}}(e,n),r),o.add(function(e,t){return function(n,r){return function(s){return Object(i.__awaiter)(void 0,void 0,void 0,function(){var o,a,l;return Object(i.__generator)(this,function(c){switch(c.label){case 0:return a=r.inputFilterSensitiveLog,"function"==typeof(null==(o=r.logger)?void 0:o.info)&&o.info({input:a(s.input)}),[4,t(s.input,e)];case 1:return l=c.sent(),"function"==typeof(null==o?void 0:o.debug)&&o.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),o=r.next();!o.done;o=r.next())this.checksum=this.checksum>>>8^s[255&(this.checksum^o.value)]}catch(a){t={error:a}}finally{try{o&&!o.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 o}),n.d(t,"d",function(){return a}),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])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]0)&&!(i=s.next()).done;)o.push(i.value)}catch(a){r={error:a}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return o}},naxo:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("mB6T"),r=n("Enk7"),s={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware"},o=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,o,a,l,c;return Object(i.__generator)(this,function(u){return r.a.isInstance(t=s.request)&&(a=t.headers,(o=t.body)&&-1===Object.keys(a).map(function(e){return e.toLowerCase()}).indexOf("content-length")&&void 0!==(l=e(o))&&(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 o(e){return e&&r.every(function(t){return"function"==typeof e[t]})}t.supportsWebCrypto=function(e){return!(!s(e)||"object"!=typeof e.crypto.subtle)&&o(e.crypto.subtle)},t.supportsSecureRandom=s,t.supportsSubtleCrypto=o,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(!o(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,o){var a=t(i),l=n[e][t(i)];return 2===a&&(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 o(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=a,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 a(e,t){return e=this.options.tagValueProcessor(""+e),""===this.options.cdataPositionChar||""===e?e+""+t+"]]"+this.tagEndChar:e.replace(this.options.cdataPositionChar,"<![CDATA["+t+"]]"+this.tagEndChar)}function l(e,t){if(e=this.options.tagValueProcessor(""+e),""===this.options.cdataPositionChar||""===e)return e+"<![CDATA["+t.join("")+"]]"+this.tagEndChar;for(let n in t)e=e.replace(this.options.cdataPositionChar,"<![CDATA["+t[n]+"");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+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&u^~a&d)+l[p]+c[p];h=d,d=u,u=a,a=o+g|0,o=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]+o|0,n[4]=n[4]+a|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=o(e.credentials||e.credentialDefaultProvider(e)),a=e.signingEscapePath,l=void 0===a||a,c=e.systemClockOffset,u=void 0===c?e.systemClockOffset||0:c,d=e.sha256;return t=e.signer?o(e.signer):function(){return o(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),o=n[0],a=o.signingRegion,c=o.signingService,u=void 0===c?e.signingName:c;return e.signingRegion=e.signingRegion||(void 0===a?e.signingRegion:a)||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 o(e){if("object"==typeof e){var t=Promise.resolve(e);return function(){return t}}return e}var a=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,o,l,c,u,d,h,p,f;return Object(i.__generator)(this,function(m){switch(m.label){case 0:return a.a.isInstance(r.request)?"function"!=typeof e.signer?[3,2]:[4,e.signer()]:[2,t(r)];case 1:return o=m.sent(),[3,3];case 2:o=e.signer,m.label=3;case 3:return s=o,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 o(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(e,t){if(o()=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().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 N(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 N(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 O(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 E(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,o=1,a=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;o=2,a/=2,l/=2,n/=2}function c(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(r){var u=-1;for(s=n;sa&&(n=a-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 o=0;o>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:o=e[r+2],128==(192&(s=e[r+1]))&&128==(192&o)&&(l=(15&c)<<12|(63&s)<<6|63&o)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:o=e[r+2],a=e[r+3],128==(192&(s=e[r+1]))&&128==(192&o)&&128==(192&a)&&(l=(15&c)<<18|(63&s)<<12|(63&o)<<6|63&a)>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),o=(n>>>=0)-(t>>>=0),a=Math.min(s,o),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="",o=t;on)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 j(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 R(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||R(e,0,n,4),r.write(e,t,n,i,23,4),n+4}function F(e,t,n,i,s){return s||R(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):j(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):j(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,o=1,a=0;for(this[t]=255&e;++s>0)-a&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,o=1,a=0;for(this[t+s]=255&e;--s>=0&&(o*=256);)e<0&&0===a&&0!==this[t+s+1]&&(a=1),this[t+s]=(e/o>>0)-a&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):j(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):j(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(o+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(H,"")).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,o=2147483647,a=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+=a)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:a)>=a||u>h((o-b)/l))&&f("overflow"),b+=u*l,!(u<(d=c<=k?1:c>=k+26?26:c-k));c+=a)l>h(o/(p=a-d))&&f("overflow"),l*=p;k=v(b-s,t=_.length+1,0==s),h(b/t)>o-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((o-n)/(w=i+1))&&f("overflow"),n+=(c-t)*w,t=c,l=0;lo&&f("overflow"),_==t){for(u=n,d=a;!(u<(m=d<=s?1:d>=s+26?26:d-s));d+=a)C.push(p(b(m+(S=u-m)%(k=a-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=[],o=[],a={},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 o},get:function(e){return a[e.toLowerCase()]},has:function(e){return e.toLowerCase()in a}}}};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()),o.push([t,n]),a[t]=a[t]?a[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"),o=function(e,t,n){let r="{";const s=Object.keys(e.child);for(let i=0;i1){for(var l in r+='"'+a+'" : [ ',e.child[a])r+=o(e.child[a][l],t)+" , ";r=r.substr(0,r.length-1)+" ] "}else r+='"'+a+'" : '+o(e.child[a][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||"",o(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"),o=n("MLWZ"),a=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 _=a(e.baseURL,e.url);if(p.open(e.method.toUpperCase(),o(_,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)}},o=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 o.init(n,t/2)}},c=a.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 o.init(n,t)}},u=a.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 o.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,a=r/(4*s),l=(a=t?e.ceil(a):e.max((0|a)-this._minBufferSize,0))*s,c=e.min(4*l,r);if(l){for(var u=0;u=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])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]0)&&!(i=s.next()).done;)o.push(i.value)}catch(a){r={error:a}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return o},E="undefined"!=typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default",O=function(e,t,n){s.a.dispatch("auth",{event:e,data:t,message:n},"Auth",E)},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,o){void 0===e&&(e="code"),void 0===s&&(s=i.b.Cognito);var a=this._generateState(32),l=o?a+"-"+o.split("").map(function(e){return e.charCodeAt(0).toString(16).padStart(2,"0")}).join(""):a;!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,o,a,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?(O("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"),a=x({grant_type:"authorization_code",code:t,client_id:r,redirect_uri:s},(o=m)?{code_verifier:o}:{}),T.debug("Calling token endpoint: "+n+" with",a),l=Object.entries(a).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,O("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,o;return D(this,function(a){switch(a.label){case 0:if(a.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([a.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([a.sent()])),{state:i}])];case 4:return[3,6];case 5:throw o=a.sent(),T.error("Error handling auth response.",o),o;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("&"),O("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])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]0)&&!(i=s.next()).done;)o.push(i.value)}catch(a){r={error:a}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return o},B=new r.a("AuthClass"),z="aws.cognito.signin.user.admin",q="undefined"!=typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default",W=function(e,t,n){s.a.dispatch("auth",{event:e,data:t,message:n},"Auth",q)},K=new(function(){function e(e){var t=this;this.userPool=null,this.user=null,this.oAuthFlowInProgress=!1,this.Credentials=o.a,this.wrapRefreshSessionCallback=function(e){return function(t,n){return n?W("tokenRefresh",void 0,"New token retrieved"):W("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,a.a.parseMobilehubConfig(e).Auth,e);this._config=n;var r=this._config,s=r.userPoolId,o=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:o,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:o,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 W("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;o[t]="set-cookie"===t?(o[t]?o[t]:[]).concat([n]):o[t]?o[t]+", "+n:n}}),o):o}},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 o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(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(a(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)a(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={},j={};function R(e,t,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),e&&(j[e]=r),t&&(j[t[0]]=function(){return T(r.apply(this,arguments),t[1],t[2])}),n&&(j[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 H={};function N(e,t){var n=e.toLowerCase();H[n]=H[n+"s"]=H[t]=e}function V(e){return"string"==typeof e?H[e]||H[e.toLowerCase()]:void 0}function U(e){var t,n,i={};for(n in e)a(e,n)&&(t=V(n))&&(i[t]=e[n]);return i}var B={};function z(e,t){B[e]=t}function q(e){return e%4==0&&e%100!=0||e%400==0}function W(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=W(t)),n}function $(e,t){return function(n){return null!=n?(Q(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 Q(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&q(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 J,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?/,oe=/\d{1,3}/,ae=/\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){J[e]=L(t)?t:function(e,i){return e&&n?n:t}}function me(e,t){return a(J,e)?J[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,"\\$&")}J={};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,o){var a;return e<100&&e>=0?(a=new Date(e+400,t,n,i,r,s,o),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,n,i,r,s,o),a}function je(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 Re(e,t,n){var i=7+t-n;return-(7+je(e,0,i).getUTCDay()-t)%7+i-1}function Ye(e,t,n,i,r){var s,o,a=1+7*(t-1)+(7+n-i)%7+Re(e,i,r);return a<=0?o=Ae(s=e-1)+a:a>Ae(e)?(s=e+1,o=a-Ae(e)):(s=e,o=a),{year:s,dayOfYear:o}}function Fe(e,t,n){var i,r,s=Re(e.year(),t,n),o=Math.floor((e.dayOfYear()-s-1)/7)+1;return o<1?i=o+He(r=e.year()-1,t,n):o>He(e.year(),t,n)?(i=o-He(e.year(),t,n),r=e.year()+1):(r=e.year(),i=o),{week:i,year:r}}function He(e,t,n){var i=Re(e,t,n),r=Re(e+1,t,n);return(Ae(e)-i+r)/7}function Ne(e,t){return e.slice(t,7).concat(e.slice(0,t))}R("w",["ww",2],"wo","week"),R("W",["WW",2],"Wo","isoWeek"),N("week","w"),N("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)}),R("d",0,"do","day"),R("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),R("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),R("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),R("e",0,0,"weekday"),R("E",0,0,"isoWeekday"),N("day","d"),N("weekday","e"),N("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,qe=pe,We=pe;function Ke(e,t,n){var i,r,s,o=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,o))?r:null:"ddd"===t?-1!==(r=ge.call(this._shortWeekdaysParse,o))?r:null:-1!==(r=ge.call(this._minWeekdaysParse,o))?r:null:"dddd"===t?-1!==(r=ge.call(this._weekdaysParse,o))||-1!==(r=ge.call(this._shortWeekdaysParse,o))||-1!==(r=ge.call(this._minWeekdaysParse,o))?r:null:"ddd"===t?-1!==(r=ge.call(this._shortWeekdaysParse,o))||-1!==(r=ge.call(this._weekdaysParse,o))||-1!==(r=ge.call(this._minWeekdaysParse,o))?r:null:-1!==(r=ge.call(this._minWeekdaysParse,o))||-1!==(r=ge.call(this._weekdaysParse,o))||-1!==(r=ge.call(this._shortWeekdaysParse,o))?r:null}function $e(){function e(e,t){return t.length-e.length}var t,n,i,r,s,o=[],a=[],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,"")),o.push(i),a.push(r),l.push(s),c.push(i),c.push(r),c.push(s);o.sort(e),a.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("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Ge(){return this.hours()%12||12}function Qe(e,t){R(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Je(e,t){return t._meridiemParse}R("H",["HH",2],0,"hour"),R("h",["hh",2],0,Ge),R("k",["kk",2],0,function(){return this.hours()||24}),R("hmm",0,0,function(){return""+Ge.apply(this)+T(this.minutes(),2)}),R("hmmss",0,0,function(){return""+Ge.apply(this)+T(this.minutes(),2)+T(this.seconds(),2)}),R("Hmm",0,0,function(){return""+this.hours()+T(this.minutes(),2)}),R("Hmmss",0,0,function(){return""+this.hours()+T(this.minutes(),2)+T(this.seconds(),2)}),Qe("a",!0),Qe("A",!1),N("hour","h"),z("hour",13),fe("a",Je),fe("A",Je),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,o,a=e._i,l=ut.exec(a)||dt.exec(a);if(l){for(m(e).iso=!0,t=0,n=pt.length;t7)&&(l=!0)):(s=e._locale._week.dow,o=e._locale._week.doy,c=Fe(xt(),s,o),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>He(n,s,o)?m(e)._overflowWeeks=!0:null!=l?m(e)._overflowWeekday=!0:(a=Ye(n,i,r,s,o),e._a[0]=a.year,e._dayOfYear=a.dayOfYear)}(e),null!=e._dayOfYear&&(o=vt(e._a[0],i[0]),(e._dayOfYear>Ae(o)||0===e._dayOfYear)&&(m(e)._overflowDayOfYear=!0),n=je(o,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]=a[t]=i[t];for(;t<7;t++)e._a[t]=a[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?je:Pe).apply(null,a),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,o,a,l=""+e._i,c=l.length,u=0;for(i=F(e._f,e._locale).match(A)||[],t=0;t0&&m(e).unusedInput.push(o),l=l.slice(l.indexOf(n)+n.length),u+=n.length),j[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!==(a=m(e).era)&&(e._a[0]=e._locale.erasConvertYear(a,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,o,a=!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=[],o=this.eras();for(e=0,t=o.length;e(s=He(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),o=je(s.year,0,s.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}R("N",0,0,"eraAbbr"),R("NN",0,0,"eraAbbr"),R("NNN",0,0,"eraAbbr"),R("NNNN",0,0,"eraName"),R("NNNNN",0,0,"eraNarrow"),R("y",["y",1],"yo","eraYear"),R("y",["yy",2],0,"eraYear"),R("y",["yyy",3],0,"eraYear"),R("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)}),R(0,["gg",2],0,function(){return this.weekYear()%100}),R(0,["GG",2],0,function(){return this.isoWeekYear()%100}),dn("gggg","weekYear"),dn("ggggg","weekYear"),dn("GGGG","isoWeekYear"),dn("GGGGG","isoWeekYear"),N("weekYear","gg"),N("isoWeekYear","GG"),z("weekYear",1),z("isoWeekYear",1),fe("G",ue),fe("g",ue),fe("GG",ie,Z),fe("gg",ie,Z),fe("GGGG",ae,te),fe("gggg",ae,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)}),R("Q",0,"Qo","quarter"),N("quarter","Q"),z("quarter",7),fe("Q",X),be("Q",function(e,t){t[1]=3*(K(e)-1)}),R("D",["DD",2],"Do","date"),N("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);R("DDD",["DDDD",3],"DDDo","dayOfYear"),N("dayOfYear","DDD"),z("dayOfYear",4),fe("DDD",oe),fe("DDDD",ee),be(["DDD","DDDD"],function(e,t,n){n._dayOfYear=K(e)}),R("m",["mm",2],0,"minute"),N("minute","m"),z("minute",14),fe("m",ie),fe("mm",ie,Z),be(["m","mm"],4);var mn=$("Minutes",!1);R("s",["ss",2],0,"second"),N("second","s"),z("second",15),fe("s",ie),fe("ss",ie,Z),be(["s","ss"],5);var _n,gn,yn=$("Seconds",!1);for(R("S",0,0,function(){return~~(this.millisecond()/100)}),R(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),R(0,["SSS",3],0,"millisecond"),R(0,["SSSS",4],0,function(){return 10*this.millisecond()}),R(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),R(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),R(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),R(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),R(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),N("millisecond","ms"),z("millisecond",16),fe("S",oe,X),fe("SS",oe,Z),fe("SSS",oe,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),R("z",0,0,"zoneAbbr"),R("zz",0,0,"zoneName");var vn=w.prototype;function wn(e){return e}vn.add=Wt,vn.calendar=function(e,t){1===arguments.length&&(arguments[0]?Gt(arguments[0])?(e=arguments[0],t=void 0):Qt(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||xt(),i=Rt(n,this).startOf("day"),s=r.calendarFormat(this,i)||"sameElse",o=t&&(L(t[s])?t[s].call(this,n):t[s]);return this.format(o||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=Rt(e,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),t=V(t)){case"year":s=Jt(this,i)/12;break;case"month":s=Jt(this,i);break;case"quarter":s=Jt(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:W(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:an,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-on(t+(this._isUTC?0:this.utcOffset()*nn),rn)-1;break;case"minute":t=this._d.valueOf(),t+=nn-on(t,nn)-1;break;case"second":t=this._d.valueOf(),t+=tn-on(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",Oe),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),o=0;for(i=0;i0):this._isDSTShifted=!1,this._isDSTShifted});var kn=O.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(),o=e?s._week.dow:0,a=[];if(null!=n)return Sn(t,(n+o)%7,i,"day");for(r=0;r<7;r++)a[r]=Sn(t,(r+o)%7,i,"day");return a}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)a(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,o=this._eras||lt("en")._eras;for(n=0,i=o.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 a(this,"_erasAbbrRegex")||un.call(this),e?this._erasAbbrRegex:this._erasRegex},kn.erasNameRegex=function(e){return a(this,"_erasNameRegex")||un.call(this),e?this._erasNameRegex:this._erasRegex},kn.erasNarrowRegex=function(e){return a(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?(a(this,"_monthsRegex")||Te.call(this),e?this._monthsStrictRegex:this._monthsRegex):(a(this,"_monthsRegex")||(this._monthsRegex=De),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},kn.monthsShortRegex=function(e){return this._monthsParseExact?(a(this,"_monthsRegex")||Te.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(a(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?Ne(n,this._week.dow):e?n[e.day()]:n},kn.weekdaysMin=function(e){return!0===e?Ne(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},kn.weekdaysShort=function(e){return!0===e?Ne(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?(a(this,"_weekdaysRegex")||$e.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=ze),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},kn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||$e.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=qe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},kn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||$e.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=We),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"},ot("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.",ot),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 En(e){return 4800*e/146097}function On(e){return 146097*e/4800}function Tn(e){return function(){return this.as(e)}}var An=Tn("ms"),In=Tn("s"),Pn=Tn("m"),jn=Tn("h"),Rn=Tn("d"),Yn=Tn("w"),Fn=Tn("M"),Hn=Tn("Q"),Nn=Tn("y");function Vn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Un=Vn("milliseconds"),Bn=Vn("seconds"),zn=Vn("minutes"),qn=Vn("hours"),Wn=Vn("days"),Kn=Vn("months"),$n=Vn("years"),Gn=Math.round,Qn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Jn(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,o,a,l=Xn(this._milliseconds)/1e3,c=Xn(this._days),u=Xn(this._months),d=this.asSeconds();return d?(e=W(l/60),t=W(e/60),l%=60,e%=60,n=W(u/12),u%=12,i=l?l.toFixed(3).replace(/\.?0+$/,""):"",r=d<0?"-":"",s=Zn(this._months)!==Zn(d)?"-":"",o=Zn(this._days)!==Zn(d)?"-":"",a=Zn(this._milliseconds)!==Zn(d)?"-":"",r+"P"+(n?s+n+"Y":"")+(u?s+u+"M":"")+(c?o+c+"D":"")+(t||e||l?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(l?a+i+"S":"")):"P0D"}var ti=Ot.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+En(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(On(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=jn,ti.asDays=Rn,ti.asWeeks=Yn,ti.asMonths=Fn,ti.asQuarters=Hn,ti.asYears=Nn,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,o=this._days,a=this._months,l=this._data;return s>=0&&o>=0&&a>=0||s<=0&&o<=0&&a<=0||(s+=864e5*Ln(On(a)+o),o=0,a=0),l.milliseconds=s%1e3,e=W(s/1e3),l.seconds=e%60,t=W(e/60),l.minutes=t%60,n=W(t/60),l.hours=n%24,o+=W(n/24),a+=r=W(En(o)),o-=Ln(On(r)),i=W(a/12),a%=12,l.days=o,l.months=a,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=qn,ti.days=Wn,ti.weeks=function(){return W(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=Qn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(r=e),"object"==typeof t&&(s=Object.assign({},Qn,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")),o=Gn(r.as("m")),a=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,Jn.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,R("X",0,0,"unix"),R("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=ot,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=at,r.updateLocale=function(e,t){if(null!=t){var n,i,r=et;null!=tt[e]&&null!=tt[e].parentLocale?tt[e].set(E(tt[e]._config,t)):(null!=(i=st(e))&&(r=i._config),t=E(r,t),null==i&&(t.abbr=e),(n=new O(t)).parentLocale=tt[e],tt[e]=n),ot(e)}else null!=tt[e]&&(null!=tt[e].parentLocale?(tt[e]=tt[e].parentLocale,e===ot()&&ot(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!==Qn[e]&&(void 0===t?Qn[e]:(Qn[e]=t,"s"===e&&(Qn.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"),o=n("I2ZF"),a=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-a+(m-l)/1e4;if(_<0&&void 0===e.clockseq&&(h=h+1&16383),(_<0||f>a)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");a=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||o(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 o(e){return void 0===e}function a(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"),o=n("SntB");function a(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=a(n("JEQr"));l.Axios=s,l.create=function(e){return a(o(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]]]);