@meltingspot/embed 1.19.0 → 1.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/index.cjs +1 -1
- package/index.mjs +4 -2
- package/index.standalone.js +3 -3
- package/meltingSpotEmbed.d.ts +2 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -15,6 +15,30 @@ Date: YYYY-MM-DD
|
|
|
15
15
|
|
|
16
16
|
-->
|
|
17
17
|
|
|
18
|
+
## Unreleased
|
|
19
|
+
|
|
20
|
+
### Minor Changes
|
|
21
|
+
|
|
22
|
+
- New `meltingspot:busy` / `meltingspot:idle` message types, posted by an
|
|
23
|
+
embedded widget to its parent while an audio or video practice session is
|
|
24
|
+
ongoing.
|
|
25
|
+
|
|
26
|
+
## v1.21.0
|
|
27
|
+
|
|
28
|
+
Date: 2026-11-25
|
|
29
|
+
|
|
30
|
+
### Minor Changes
|
|
31
|
+
|
|
32
|
+
- Bump `@meltingspot/core` to `1.21.0`.
|
|
33
|
+
|
|
34
|
+
## v1.20.0
|
|
35
|
+
|
|
36
|
+
Date: 2026-11-17
|
|
37
|
+
|
|
38
|
+
### Minor Changes
|
|
39
|
+
|
|
40
|
+
- Bump `@meltingspot/core` to `1.20.0`.
|
|
41
|
+
|
|
18
42
|
## v1.19.0
|
|
19
43
|
|
|
20
44
|
Date: 2026-11-09
|
package/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require("@meltingspot/core");var t=new e.Logger({appName:`Embed SDK`,appVersion:`1.
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require("@meltingspot/core");var t=new e.Logger({appName:`Embed SDK`,appVersion:`1.21.0`}),n=`EmbedRedirect`,r=/^\/spot\/([^/]+)\/sso\/oidc\/embed\/authorize$/,i=e=>{try{return new URL(e).origin}catch{return}},a=(e,t)=>{let a=t.find(({contentWindow:t})=>t!==null&&t===e.source);if(!a||!a.origin||e.origin!==a.origin)return;let o=e.data?.url;if(typeof o!=`string`)return;let s;try{s=new URL(o)}catch{return}let c=i(a.msCoreBaseUrl),l=r.exec(s.pathname)?.[1];if(!(!c||s.origin!==c||l?.toLowerCase()!==a.spotId.toLowerCase()||s.searchParams.get(`mode`)!==n))return{source:e.source,origin:e.origin,url:s.toString()}},o=e=>{window.location.assign(e)},s={ATTEMPT:`ms_oidc_attempt`,CODE:`ms_oidc_code`,ERROR:`ms_oidc_error`},c=(e=window.location,t=window.history)=>{let n=new URLSearchParams(e.hash.replace(/^#/,``)),r=Object.values(s);if(!r.some(e=>n.has(e)))return;let i=n.get(s.ATTEMPT),a=n.get(s.CODE)||void 0,o=n.get(s.ERROR)||void 0;r.forEach(e=>n.delete(e));let c=n.toString();return t.replaceState(t.state,``,e.pathname+e.search+(c?`#${c}`:``)),i&&(a||o)?{attemptId:i,code:a,error:o}:void 0},l=e=>{let t=new URLSearchParams({[s.ATTEMPT]:e.attemptId});return e.code&&t.set(s.CODE,e.code),e.error&&t.set(s.ERROR,e.error),t.toString()},u=class{#e=null;#t=null;constructor(e){this.content=e}set onRemove(e){this.#t=e}get contentWindow(){return this.#e?.contentWindow??null}get origin(){if(!this.#e)return null;try{return new URL(this.#e.src).origin}catch{return null}}inject(t){this.remove();let n=(0,e.getHTMLElement)({input:t,rootDocument:this.content.rootDocument});this.#e=this.content.iframe,this.#e.classList.add(`ms-embed`),n.appendChild(this.#e)}remove(){this.#e&&=(this.#e.contentWindow&&this.#t?.(this.#e.contentWindow),this.#e.remove(),null)}},d=class{#e;constructor(t){this.baseURL=(0,e.formatBaseUrl)(t.baseURL),this.spotId=(0,e.formatUUID)(t.spotId),this.authToken=t.authToken??null,this.themeMode=t.themeMode??`auto`,this.domain=t.domain??null,this.deeplink=t.deeplink?(0,e.formatDeeplink)({deeplink:t.deeplink,spotId:this.spotId}):null,this.utmParameters=t.utmParameters??null,this.rootDocument=t.rootDocument,this.#e=t.oidcReturn??null}get iframe(){let t=this.#e;this.#e=null;let n=t?null:this.authToken,r=this.getPath(t,n),i=new URL(`/spot/${this.spotId}${r}`,(0,e.trimSlashRight)(this.baseURL));t&&(i.hash=l(t));let a=(0,e.createIframe)({url:i,searchParams:{embed:this.spotId,themeMode:this.themeMode,ms_token:n,domain:this.domain,deeplink:this.deeplink,...(0,e.flattenUtmParameters)(this.utmParameters)},rootDocument:this.rootDocument});return a.classList.add(`ms-spot`),a}getPath(e,t){return e?`/sso/oidc/embed`:t&&t.trim().length>0?`/sso/jwt`:``}},f={READY:`meltingspot:ready`,ERROR:`meltingspot:error`,PREFILL_DRAFT:`meltingspot:prefillDraft`,OIDC_REDIRECT:`ms:sso:oidc:redirect`,OIDC_REDIRECT_ACK:`ms:sso:oidc:redirect:ack`,BUSY:`meltingspot:busy`,IDLE:`meltingspot:idle`},p=class n{static{this.embeds=[]}static{this.messageListened=!1}static{this.iframeCallbacks=new Map}static injectSpotInto(r,i){let{onReady:a,onError:o,...s}=i,{spotId:l,rootDocument:f,msCommunityWebBaseUrl:p,msCoreBaseUrl:m}=e.ConfigurationService.getConfiguration({spotId:s.spotId,rootDocument:s.rootDocument,msCommunityWebBaseUrl:s.baseURL});if(!l)throw t.error(`Spot ID is required`),Error(`Spot ID is not configured. Please set the spotId in the configuration.`);let h=new URLSearchParams(window.location.search),g={spotId:l,authToken:s.authToken??h.get(`ms_token`),domain:s.domain,deeplink:s.deeplink??h.get(`ms_url`),themeMode:s.themeMode,utmParameters:s.utmParameters??(0,e.parseUtmParameters)(h),baseURL:p,rootDocument:f},_=(0,e.getHTMLElement)({input:r,rootDocument:f}),v=new d({...g,oidcReturn:c()}),y=new u(v);if(y.inject(_),n.embeds.push({frame:y,spotId:v.spotId,msCoreBaseUrl:m}),n.ensureMessageListener(),a||o){let e=y.content.iframe.contentWindow;e&&(n.iframeCallbacks.set(e,{onReady:a,onError:o}),y.onRemove=e=>{n.iframeCallbacks.delete(e)})}return t.log(`Spot injected`,g,typeof r==`string`?r:r.id),y}static clear(){n.embeds.forEach(({frame:e})=>{e.remove()}),n.embeds=[],n.iframeCallbacks.clear(),n.messageListened&&=(window.removeEventListener(`message`,n.handleMessageEvent),!1),t.log(`All MeltingSpot embeds cleared`)}static handleMessageEvent(t){if(!t.data||typeof t.data!=`object`)return;if(t.data.type===f.OIDC_REDIRECT){n.handleOidcRedirect(t);return}if(t.data.type!==f.READY&&t.data.type!==f.ERROR)return;let r=t.source,i=n.iframeCallbacks.get(r);if(!i)return;let{msCommunityWebBaseUrl:a}=e.ConfigurationService.getConfiguration({});if(a)try{let e=new URL(a).origin;if(t.origin!==e)return}catch{}t.data.type===f.READY?i.onReady?.():i.onError?.(t.data.error)}static handleOidcRedirect(e){let r=a(e,n.embeds.map(({frame:e,spotId:t,msCoreBaseUrl:n})=>({contentWindow:e.contentWindow,origin:e.origin,spotId:t,msCoreBaseUrl:n})));if(!r){t.warn(`OpenID Connect login request ignored`);return}r.source.postMessage({type:f.OIDC_REDIRECT_ACK},r.origin),t.log(`Navigating to the OpenID Connect login`),o(r.url)}static ensureMessageListener(){n.messageListened||=(window.addEventListener(`message`,n.handleMessageEvent),!0)}},m=globalThis;m.MeltingSpot||={},m.MeltingSpot.Embed=p,exports.EMBED_POST_MESSAGE_TYPE=f,exports.Embed=p,exports.EmbedFrame=u;
|
package/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { ConfigurationService as e, Logger as t, createIframe as n, flattenUtmPa
|
|
|
3
3
|
//#region src/logger.ts
|
|
4
4
|
var u = new t({
|
|
5
5
|
appName: "Embed SDK",
|
|
6
|
-
appVersion: "1.
|
|
6
|
+
appVersion: "1.21.0"
|
|
7
7
|
}), d = "EmbedRedirect", f = /^\/spot\/([^/]+)\/sso\/oidc\/embed\/authorize$/, p = (e) => {
|
|
8
8
|
try {
|
|
9
9
|
return new URL(e).origin;
|
|
@@ -113,7 +113,9 @@ var u = new t({
|
|
|
113
113
|
ERROR: "meltingspot:error",
|
|
114
114
|
PREFILL_DRAFT: "meltingspot:prefillDraft",
|
|
115
115
|
OIDC_REDIRECT: "ms:sso:oidc:redirect",
|
|
116
|
-
OIDC_REDIRECT_ACK: "ms:sso:oidc:redirect:ack"
|
|
116
|
+
OIDC_REDIRECT_ACK: "ms:sso:oidc:redirect:ack",
|
|
117
|
+
BUSY: "meltingspot:busy",
|
|
118
|
+
IDLE: "meltingspot:idle"
|
|
117
119
|
}, S = class t {
|
|
118
120
|
static {
|
|
119
121
|
this.embeds = [];
|
package/index.standalone.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
(function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports):typeof define==`function`&&define.amd?define([`exports`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e.MeltingSpotEmbed={}))})(this,function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Object.create,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,o=Object.prototype.hasOwnProperty,s=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),c=(e,t)=>{let r={};for(var i in e)n(r,i,{get:e[i],enumerable:!0});return t||n(r,Symbol.toStringTag,{value:`Module`}),r},l=(e,t,a,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var c=i(t),l=0,u=c.length,d;l<u;l++)d=c[l],!o.call(e,d)&&d!==a&&n(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(s=r(t,d))||s.enumerable});return e},u=(e,r,i)=>(i=e==null?{}:t(a(e)),l(r||!e||!e.__esModule||!o.call(e,`default`)?n(i,`default`,{value:e,enumerable:!0}):i,e)),d={withStackTrace:!1},f=(e,t,n=d)=>({data:t.isOk()?{type:`Ok`,value:t.value}:{type:`Err`,value:t.error},message:e,stack:n.withStackTrace?Error().stack:void 0});function p(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})}function m(e){var t=typeof Symbol==`function`&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length==`number`)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?`Object is not iterable.`:`Symbol.iterator is not defined.`)}function h(e){return this instanceof h?(this.v=e,this):new h(e)}function g(e,t,n){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var r=n.apply(e,t||[]),i,a=[];return i={},o(`next`),o(`throw`),o(`return`),i[Symbol.asyncIterator]=function(){return this},i;function o(e){r[e]&&(i[e]=function(t){return new Promise(function(n,r){a.push([e,t,n,r])>1||s(e,t)})})}function s(e,t){try{c(r[e](t))}catch(e){d(a[0][3],e)}}function c(e){e.value instanceof h?Promise.resolve(e.value.v).then(l,u):d(a[0][2],e)}function l(e){s(`next`,e)}function u(e){s(`throw`,e)}function d(e,t){e(t),a.shift(),a.length&&s(a[0][0],a[0][1])}}function _(e){var t,n;return t={},r(`next`),r(`throw`,function(e){throw e}),r(`return`),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:h(e[r](t)),done:r===`return`}:i?i(t):t}:i}}function v(e){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof m==`function`?m(e):e[Symbol.iterator](),n={},r(`next`),r(`throw`),r(`return`),n[Symbol.asyncIterator]=function(){return this},n);function r(t){n[t]=e[t]&&function(n){return new Promise(function(r,a){n=e[t](n),i(r,a,n.done,n.value)})}}function i(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}}var y=class e{constructor(e){this._promise=e}static fromSafePromise(t){let n=t.then(e=>new te(e));return new e(n)}static fromPromise(t,n){let r=t.then(e=>new te(e)).catch(e=>new ne(n(e)));return new e(r)}static fromThrowable(t,n){return(...r)=>new e(p(this,void 0,void 0,function*(){try{return new te(yield t(...r))}catch(e){return new ne(n?n(e):e)}}))}static combine(e){return ee(e)}static combineWithAllErrors(e){return C(e)}map(t){return new e(this._promise.then(e=>p(this,void 0,void 0,function*(){return e.isErr()?new ne(e.error):new te(yield t(e.value))})))}mapErr(t){return new e(this._promise.then(e=>p(this,void 0,void 0,function*(){return e.isOk()?new te(e.value):new ne(yield t(e.error))})))}andThen(t){return new e(this._promise.then(n=>{if(n.isErr())return new ne(n.error);let r=t(n.value);return r instanceof e?r._promise:r}))}orElse(t){return new e(this._promise.then(e=>p(this,void 0,void 0,function*(){return e.isErr()?t(e.error):new te(e.value)})))}match(e,t){return this._promise.then(n=>n.match(e,t))}unwrapOr(e){return this._promise.then(t=>t.unwrapOr(e))}safeUnwrap(){return g(this,arguments,function*(){return yield h(yield h(yield*_(v(yield h(this._promise.then(e=>e.safeUnwrap()))))))})}then(e,t){return this._promise.then(e,t)}},b=e=>new y(Promise.resolve(new ne(e)));y.fromPromise,y.fromSafePromise,y.fromThrowable;var x=e=>{let t=T([]);for(let n of e)if(n.isErr()){t=E(n.error);break}else t.map(e=>e.push(n.value));return t},ee=e=>y.fromSafePromise(Promise.all(e)).andThen(x),S=e=>{let t=T([]);for(let n of e)n.isErr()&&t.isErr()?t.error.push(n.error):n.isErr()&&t.isOk()?t=E([n.error]):n.isOk()&&t.isOk()&&t.value.push(n.value);return t},C=e=>y.fromSafePromise(Promise.all(e)).andThen(S),w;(function(e){function t(e,t){return(...n)=>{try{return T(e(...n))}catch(e){return E(t?t(e):e)}}}e.fromThrowable=t;function n(e){return x(e)}e.combine=n;function r(e){return S(e)}e.combineWithAllErrors=r})(w||={});var T=e=>new te(e),E=e=>new ne(e),te=class{constructor(e){this.value=e}isOk(){return!0}isErr(){return!this.isOk()}map(e){return T(e(this.value))}mapErr(e){return T(this.value)}andThen(e){return e(this.value)}orElse(e){return T(this.value)}asyncAndThen(e){return e(this.value)}asyncMap(e){return y.fromSafePromise(e(this.value))}unwrapOr(e){return this.value}match(e,t){return e(this.value)}safeUnwrap(){let e=this.value;return(function*(){return e})()}_unsafeUnwrap(e){return this.value}_unsafeUnwrapErr(e){throw f("Called `_unsafeUnwrapErr` on an Ok",this,e)}},ne=class{constructor(e){this.error=e}isOk(){return!1}isErr(){return!this.isOk()}map(e){return E(this.error)}mapErr(e){return E(e(this.error))}andThen(e){return E(this.error)}orElse(e){return e(this.error)}asyncAndThen(e){return b(this.error)}asyncMap(e){return b(this.error)}unwrapOr(e){return e}match(e,t){return t(this.error)}safeUnwrap(){let e=this.error;return(function*(){throw yield E(e),Error("Do not use this generator out of `safeTry`")})()}_unsafeUnwrap(e){throw f("Called `_unsafeUnwrap` on an Err",this,e)}_unsafeUnwrapErr(e){return this.error}};w.fromThrowable;var D;(function(e){e[e.CONTINUE=100]=`CONTINUE`,e[e.SWITCHING_PROTOCOLS=101]=`SWITCHING_PROTOCOLS`,e[e.PROCESSING=102]=`PROCESSING`,e[e.EARLY_HINTS=103]=`EARLY_HINTS`,e[e.OK=200]=`OK`,e[e.CREATED=201]=`CREATED`,e[e.ACCEPTED=202]=`ACCEPTED`,e[e.NON_AUTHORITATIVE_INFORMATION=203]=`NON_AUTHORITATIVE_INFORMATION`,e[e.NO_CONTENT=204]=`NO_CONTENT`,e[e.RESET_CONTENT=205]=`RESET_CONTENT`,e[e.PARTIAL_CONTENT=206]=`PARTIAL_CONTENT`,e[e.MULTI_STATUS=207]=`MULTI_STATUS`,e[e.MULTIPLE_CHOICES=300]=`MULTIPLE_CHOICES`,e[e.MOVED_PERMANENTLY=301]=`MOVED_PERMANENTLY`,e[e.MOVED_TEMPORARILY=302]=`MOVED_TEMPORARILY`,e[e.SEE_OTHER=303]=`SEE_OTHER`,e[e.NOT_MODIFIED=304]=`NOT_MODIFIED`,e[e.USE_PROXY=305]=`USE_PROXY`,e[e.TEMPORARY_REDIRECT=307]=`TEMPORARY_REDIRECT`,e[e.PERMANENT_REDIRECT=308]=`PERMANENT_REDIRECT`,e[e.BAD_REQUEST=400]=`BAD_REQUEST`,e[e.UNAUTHORIZED=401]=`UNAUTHORIZED`,e[e.PAYMENT_REQUIRED=402]=`PAYMENT_REQUIRED`,e[e.FORBIDDEN=403]=`FORBIDDEN`,e[e.NOT_FOUND=404]=`NOT_FOUND`,e[e.METHOD_NOT_ALLOWED=405]=`METHOD_NOT_ALLOWED`,e[e.NOT_ACCEPTABLE=406]=`NOT_ACCEPTABLE`,e[e.PROXY_AUTHENTICATION_REQUIRED=407]=`PROXY_AUTHENTICATION_REQUIRED`,e[e.REQUEST_TIMEOUT=408]=`REQUEST_TIMEOUT`,e[e.CONFLICT=409]=`CONFLICT`,e[e.GONE=410]=`GONE`,e[e.LENGTH_REQUIRED=411]=`LENGTH_REQUIRED`,e[e.PRECONDITION_FAILED=412]=`PRECONDITION_FAILED`,e[e.REQUEST_TOO_LONG=413]=`REQUEST_TOO_LONG`,e[e.REQUEST_URI_TOO_LONG=414]=`REQUEST_URI_TOO_LONG`,e[e.UNSUPPORTED_MEDIA_TYPE=415]=`UNSUPPORTED_MEDIA_TYPE`,e[e.REQUESTED_RANGE_NOT_SATISFIABLE=416]=`REQUESTED_RANGE_NOT_SATISFIABLE`,e[e.EXPECTATION_FAILED=417]=`EXPECTATION_FAILED`,e[e.IM_A_TEAPOT=418]=`IM_A_TEAPOT`,e[e.INSUFFICIENT_SPACE_ON_RESOURCE=419]=`INSUFFICIENT_SPACE_ON_RESOURCE`,e[e.METHOD_FAILURE=420]=`METHOD_FAILURE`,e[e.MISDIRECTED_REQUEST=421]=`MISDIRECTED_REQUEST`,e[e.UNPROCESSABLE_ENTITY=422]=`UNPROCESSABLE_ENTITY`,e[e.LOCKED=423]=`LOCKED`,e[e.FAILED_DEPENDENCY=424]=`FAILED_DEPENDENCY`,e[e.UPGRADE_REQUIRED=426]=`UPGRADE_REQUIRED`,e[e.PRECONDITION_REQUIRED=428]=`PRECONDITION_REQUIRED`,e[e.TOO_MANY_REQUESTS=429]=`TOO_MANY_REQUESTS`,e[e.REQUEST_HEADER_FIELDS_TOO_LARGE=431]=`REQUEST_HEADER_FIELDS_TOO_LARGE`,e[e.UNAVAILABLE_FOR_LEGAL_REASONS=451]=`UNAVAILABLE_FOR_LEGAL_REASONS`,e[e.INTERNAL_SERVER_ERROR=500]=`INTERNAL_SERVER_ERROR`,e[e.NOT_IMPLEMENTED=501]=`NOT_IMPLEMENTED`,e[e.BAD_GATEWAY=502]=`BAD_GATEWAY`,e[e.SERVICE_UNAVAILABLE=503]=`SERVICE_UNAVAILABLE`,e[e.GATEWAY_TIMEOUT=504]=`GATEWAY_TIMEOUT`,e[e.HTTP_VERSION_NOT_SUPPORTED=505]=`HTTP_VERSION_NOT_SUPPORTED`,e[e.INSUFFICIENT_STORAGE=507]=`INSUFFICIENT_STORAGE`,e[e.NETWORK_AUTHENTICATION_REQUIRED=511]=`NETWORK_AUTHENTICATION_REQUIRED`})(D||={});var re=RegExp(`^/+`),ie=e=>e.replace(re,``),ae=RegExp(`/+$`),oe=e=>e.replace(ae,``);function se(e,t){let n=e.startsWith(`/`)?e.slice(1):e;return new URL(n,t).toString()}var ce=e=>{let{input:t,rootDocument:n=document}=e;if(typeof t==`string`){let e=n.getElementById(t);if(!e)throw Error(`Could not found an HTMLElement with ID '${t}'.`);return e}if(t.tagName)return t;throw Error(`Expected a string or an HTMLElement, but received: ${typeof t}`)},le=[`accelerometer *`,`autoplay`,`camera`,`clipboard-write *`,`display-capture`,`encrypted-media *`,`fullscreen`,`gyroscope *`,`microphone`,`picture-in-picture *`,`screen-wake-lock`],ue=e=>{let{url:t,searchParams:n={},permissionPolicies:r=[],rootDocument:i=document}=e;Object.entries(n).forEach(([e,n])=>{n!=null&&t.searchParams.set(e,String(n))});let a=i.createElement(`iframe`);return a.src=t.toString(),a.allow=le.concat(r).join(`; `),a.width=`100%`,a.height=`100%`,a.style.border=`0`,a},O=s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs=r()})(e,(function(){"use strict";var e=1e3,t=6e4,n=36e5,r=`millisecond`,i=`second`,a=`minute`,o=`hour`,s=`day`,c=`week`,l=`month`,u=`quarter`,d=`year`,f=`date`,p=`Invalid Date`,m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:`en`,weekdays:`Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday`.split(`_`),months:`January_February_March_April_May_June_July_August_September_October_November_December`.split(`_`),ordinal:function(e){var t=[`th`,`st`,`nd`,`rd`],n=e%100;return`[`+e+(t[(n-20)%10]||t[n]||t[0])+`]`}},_=function(e,t,n){var r=String(e);return!r||r.length>=t?e:``+Array(t+1-r.length).join(n)+e},v={s:_,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?`+`:`-`)+_(r,2,`0`)+`:`+_(i,2,`0`)},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,l),a=n-i<0,o=t.clone().add(r+(a?-1:1),l);return+(-(r+(n-i)/(a?i-o:o-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:d,w:c,d:s,D:f,h:o,m:a,s:i,ms:r,Q:u}[e]||String(e||``).toLowerCase().replace(/s$/,``)},u:function(e){return e===void 0}},y=`en`,b={};b[y]=g;var x=`$isDayjsObject`,ee=function(e){return e instanceof T||!(!e||!e[x])},S=function e(t,n,r){var i;if(!t)return y;if(typeof t==`string`){var a=t.toLowerCase();b[a]&&(i=a),n&&(b[a]=n,i=a);var o=t.split(`-`);if(!i&&o.length>1)return e(o[0])}else{var s=t.name;b[s]=t,i=s}return!r&&i&&(y=i),i||!r&&y},C=function(e,t){if(ee(e))return e.clone();var n=typeof t==`object`?t:{};return n.date=e,n.args=arguments,new T(n)},w=v;w.l=S,w.i=ee,w.w=function(e,t){return C(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var T=function(){function g(e){this.$L=S(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var _=g.prototype;return _.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(t===null)return new Date(NaN);if(w.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t==`string`&&!/Z$/i.test(t)){var r=t.match(m);if(r){var i=r[2]-1||0,a=(r[7]||`0`).substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.init()},_.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},_.$utils=function(){return w},_.isValid=function(){return this.$d.toString()!==p},_.isSame=function(e,t){var n=C(e);return this.startOf(t)<=n&&n<=this.endOf(t)},_.isAfter=function(e,t){return C(e)<this.startOf(t)},_.isBefore=function(e,t){return this.endOf(t)<C(e)},_.$g=function(e,t,n){return w.u(e)?this[t]:this.set(n,e)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(e,t){var n=this,r=!!w.u(t)||t,u=w.p(e),p=function(e,t){var i=w.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(s)},m=function(e,t){return w.w(n.toDate()[e].apply(n.toDate(`s`),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},h=this.$W,g=this.$M,_=this.$D,v=`set`+(this.$u?`UTC`:``);switch(u){case d:return r?p(1,0):p(31,11);case l:return r?p(1,g):p(0,g+1);case c:var y=this.$locale().weekStart||0,b=(h<y?h+7:h)-y;return p(r?_-b:_+(6-b),g);case s:case f:return m(v+`Hours`,0);case o:return m(v+`Minutes`,1);case a:return m(v+`Seconds`,2);case i:return m(v+`Milliseconds`,3);default:return this.clone()}},_.endOf=function(e){return this.startOf(e,!1)},_.$set=function(e,t){var n,c=w.p(e),u=`set`+(this.$u?`UTC`:``),p=(n={},n[s]=u+`Date`,n[f]=u+`Date`,n[l]=u+`Month`,n[d]=u+`FullYear`,n[o]=u+`Hours`,n[a]=u+`Minutes`,n[i]=u+`Seconds`,n[r]=u+`Milliseconds`,n)[c],m=c===s?this.$D+(t-this.$W):t;if(c===l||c===d){var h=this.clone().set(f,1);h.$d[p](m),h.init(),this.$d=h.set(f,Math.min(this.$D,h.daysInMonth())).$d}else p&&this.$d[p](m);return this.init(),this},_.set=function(e,t){return this.clone().$set(e,t)},_.get=function(e){return this[w.p(e)]()},_.add=function(r,u){var f,p=this;r=Number(r);var m=w.p(u),h=function(e){var t=C(p);return w.w(t.date(t.date()+Math.round(e*r)),p)};if(m===l)return this.set(l,this.$M+r);if(m===d)return this.set(d,this.$y+r);if(m===s)return h(1);if(m===c)return h(7);var g=(f={},f[a]=t,f[o]=n,f[i]=e,f)[m]||1,_=this.$d.getTime()+r*g;return w.w(_,this)},_.subtract=function(e,t){return this.add(-1*e,t)},_.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=e||`YYYY-MM-DDTHH:mm:ssZ`,i=w.z(this),a=this.$H,o=this.$m,s=this.$M,c=n.weekdays,l=n.months,u=n.meridiem,d=function(e,n,i,a){return e&&(e[n]||e(t,r))||i[n].slice(0,a)},f=function(e){return w.s(a%12||12,e,`0`)},m=u||function(e,t,n){var r=e<12?`AM`:`PM`;return n?r.toLowerCase():r};return r.replace(h,(function(e,r){return r||function(e){switch(e){case`YY`:return String(t.$y).slice(-2);case`YYYY`:return w.s(t.$y,4,`0`);case`M`:return s+1;case`MM`:return w.s(s+1,2,`0`);case`MMM`:return d(n.monthsShort,s,l,3);case`MMMM`:return d(l,s);case`D`:return t.$D;case`DD`:return w.s(t.$D,2,`0`);case`d`:return String(t.$W);case`dd`:return d(n.weekdaysMin,t.$W,c,2);case`ddd`:return d(n.weekdaysShort,t.$W,c,3);case`dddd`:return c[t.$W];case`H`:return String(a);case`HH`:return w.s(a,2,`0`);case`h`:return f(1);case`hh`:return f(2);case`a`:return m(a,o,!0);case`A`:return m(a,o,!1);case`m`:return String(o);case`mm`:return w.s(o,2,`0`);case`s`:return String(t.$s);case`ss`:return w.s(t.$s,2,`0`);case`SSS`:return w.s(t.$ms,3,`0`);case`Z`:return i}return null}(e)||i.replace(`:`,``)}))},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(r,f,p){var m,h=this,g=w.p(f),_=C(r),v=(_.utcOffset()-this.utcOffset())*t,y=this-_,b=function(){return w.m(h,_)};switch(g){case d:m=b()/12;break;case l:m=b();break;case u:m=b()/3;break;case c:m=(y-v)/6048e5;break;case s:m=(y-v)/864e5;break;case o:m=y/n;break;case a:m=y/t;break;case i:m=y/e;break;default:m=y}return p?m:w.a(m)},_.daysInMonth=function(){return this.endOf(l).$D},_.$locale=function(){return b[this.$L]},_.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=S(e,t,!0);return r&&(n.$L=r),n},_.clone=function(){return w.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},g}(),E=T.prototype;return C.prototype=E,[[`$ms`,r],[`$s`,i],[`$m`,a],[`$H`,o],[`$W`,s],[`$M`,l],[`$y`,d],[`$D`,f]].forEach((function(e){E[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),C.extend=function(e,t){return e.$i||=(e(t,T,C),!0),C},C.locale=S,C.isDayjs=ee,C.unix=function(e){return C(1e3*e)},C.en=b[y],C.Ls=b,C.p={},C}))})),de=s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_advancedFormat=r()})(e,(function(){"use strict";return function(e,t){var n=t.prototype,r=n.format;n.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return r.bind(this)(e);var i=this.$utils(),a=(e||`YYYY-MM-DDTHH:mm:ssZ`).replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(e){switch(e){case`Q`:return Math.ceil((t.$M+1)/3);case`Do`:return n.ordinal(t.$D);case`gggg`:return t.weekYear();case`GGGG`:return t.isoWeekYear();case`wo`:return n.ordinal(t.week(),`W`);case`w`:case`ww`:return i.s(t.week(),e===`w`?1:2,`0`);case`W`:case`WW`:return i.s(t.isoWeek(),e===`W`?1:2,`0`);case`k`:case`kk`:return i.s(String(t.$H===0?24:t.$H),e===`k`?1:2,`0`);case`X`:return Math.floor(t.$d.getTime()/1e3);case`x`:return t.$d.getTime();case`z`:return`[`+t.offsetName()+`]`;case`zzz`:return`[`+t.offsetName(`long`)+`]`;default:return e}}));return r.bind(this)(a)}}}))})),fe=s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_localizedFormat=r()})(e,(function(){"use strict";var e={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`};return function(t,n,r){var i=n.prototype,a=i.format;r.en.formats=e,i.format=function(t){t===void 0&&(t=`YYYY-MM-DDTHH:mm:ssZ`);var n=this.$locale().formats,r=function(t,n){return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,r,i){var a=i&&i.toUpperCase();return r||n[i]||e[i]||n[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))}(t,n===void 0?{}:n);return a.call(this,r)}}}))})),pe=s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_timezone=r()})(e,(function(){"use strict";var e={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(n,r,i){var a,o=function(e,n,r){r===void 0&&(r={});var i=new Date(e);return function(e,n){n===void 0&&(n={});var r=n.timeZoneName||`short`,i=e+`|`+r,a=t[i];return a||(a=new Intl.DateTimeFormat(`en-US`,{hour12:!1,timeZone:e,year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`,timeZoneName:r}),t[i]=a),a}(n,r).formatToParts(i)},s=function(t,n){for(var r=o(t,n),a=[],s=0;s<r.length;s+=1){var c=r[s],l=c.type,u=c.value,d=e[l];d>=0&&(a[d]=parseInt(u,10))}var f=a[3],p=f===24?0:f,m=a[0]+`-`+a[1]+`-`+a[2]+` `+p+`:`+a[4]+`:`+a[5]+`:000`,h=+t;return(i.utc(m).valueOf()-(h-=h%1e3))/6e4},c=r.prototype;c.tz=function(e,t){e===void 0&&(e=a);var n,r=this.utcOffset(),o=this.toDate(),s=o.toLocaleString(`en-US`,{timeZone:e}),c=Math.round((o-new Date(s))/1e3/60),l=15*-Math.round(o.getTimezoneOffset()/15)-c;if(!Number(l))n=this.utcOffset(0,t);else if(n=i(s,{locale:this.$L}).$set(`millisecond`,this.$ms).utcOffset(l,!0),t){var u=n.utcOffset();n=n.add(r-u,`minute`)}return n.$x.$timezone=e,n},c.offsetName=function(e){var t=this.$x.$timezone||i.tz.guess(),n=o(this.valueOf(),t,{timeZoneName:e}).find((function(e){return e.type.toLowerCase()===`timezonename`}));return n&&n.value};var l=c.startOf;c.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return l.call(this,e,t);var n=i(this.format(`YYYY-MM-DD HH:mm:ss:SSS`),{locale:this.$L});return l.call(n,e,t).tz(this.$x.$timezone,!0)},i.tz=function(e,t,n){var r=n&&t,o=n||t||a,c=s(+i(),o);if(typeof e!=`string`)return i(e).tz(o);var l=function(e,t,n){var r=e-60*t*1e3,i=s(r,n);if(t===i)return[r,t];var a=s(r-=60*(i-t)*1e3,n);return i===a?[r,i]:[e-60*Math.min(i,a)*1e3,Math.max(i,a)]}(i.utc(e,r).valueOf(),c,o),u=l[0],d=l[1],f=i(u).utcOffset(d);return f.$x.$timezone=o,f},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(e){a=e}}}))})),me=s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_utc=r()})(e,(function(){"use strict";var e=`minute`,t=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,i,a){var o=i.prototype;a.utc=function(e){return new i({date:e,utc:!0,args:arguments})},o.utc=function(t){var n=a(this.toDate(),{locale:this.$L,utc:!0});return t?n.add(this.utcOffset(),e):n},o.local=function(){return a(this.toDate(),{locale:this.$L,utc:!1})};var s=o.parse;o.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),s.call(this,e)};var c=o.init;o.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else c.call(this)};var l=o.utcOffset;o.utcOffset=function(r,i){var a=this.$utils().u;if(a(r))return this.$u?0:a(this.$offset)?l.call(this):this.$offset;if(typeof r==`string`&&(r=function(e){e===void 0&&(e=``);var r=e.match(t);if(!r)return null;var i=(``+r[0]).match(n)||[`-`,0,0],a=i[0],o=60*i[1]+ +i[2];return o===0?0:a===`+`?o:-o}(r),r===null))return this;var o=Math.abs(r)<=16?60*r:r,s=this;if(i)return s.$offset=o,s.$u=r===0,s;if(r!==0){var c=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(s=this.local().add(o+c,e)).$offset=o,s.$x.$localOffset=c}else s=this.utc();return s};var u=o.format;o.format=function(e){var t=e||(this.$u?`YYYY-MM-DDTHH:mm:ss[Z]`:``);return u.call(this,t)},o.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},o.isUTC=function(){return!!this.$u},o.toISOString=function(){return this.toDate().toISOString()},o.toString=function(){return this.toDate().toUTCString()};var d=o.toDate;o.toDate=function(e){return e===`s`&&this.$offset?a(this.format(`YYYY-MM-DD HH:mm:ss:SSS`)).toDate():d.call(this)};var f=o.diff;o.diff=function(e,t,n){if(e&&this.$u===e.$u)return f.call(this,e,t,n);var r=this.local(),i=a(e).local();return f.call(r,i,t,n)}}}))})),he=s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r(O()):typeof define==`function`&&define.amd?define([`dayjs`],r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_locale_de=r(n.dayjs)})(e,(function(e){"use strict";function t(e){return e&&typeof e==`object`&&`default`in e?e:{default:e}}var n=t(e),r={s:`ein paar Sekunden`,m:[`eine Minute`,`einer Minute`],mm:`%d Minuten`,h:[`eine Stunde`,`einer Stunde`],hh:`%d Stunden`,d:[`ein Tag`,`einem Tag`],dd:[`%d Tage`,`%d Tagen`],M:[`ein Monat`,`einem Monat`],MM:[`%d Monate`,`%d Monaten`],y:[`ein Jahr`,`einem Jahr`],yy:[`%d Jahre`,`%d Jahren`]};function i(e,t,n){var i=r[n];return Array.isArray(i)&&(i=i[+!t]),i.replace(`%d`,e)}var a={name:`de`,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(`_`),months:`Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember`.split(`_`),monthsShort:`Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.`.split(`_`),ordinal:function(e){return e+`.`},weekStart:1,yearStart:4,formats:{LTS:`HH:mm:ss`,LT:`HH:mm`,L:`DD.MM.YYYY`,LL:`D. MMMM YYYY`,LLL:`D. MMMM YYYY HH:mm`,LLLL:`dddd, D. MMMM YYYY HH:mm`},relativeTime:{future:`in %s`,past:`vor %s`,s:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i}};return n.default.locale(a,null,!0),a}))})),ge=s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r(O()):typeof define==`function`&&define.amd?define([`dayjs`],r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_locale_fr=r(n.dayjs)})(e,(function(e){"use strict";function t(e){return e&&typeof e==`object`&&`default`in e?e:{default:e}}var n=t(e),r={name:`fr`,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(`_`),months:`janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre`.split(`_`),monthsShort:`janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.`.split(`_`),weekStart:1,yearStart:4,formats:{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`},relativeTime:{future:`dans %s`,past:`il y a %s`,s:`quelques 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`},ordinal:function(e){return``+e+(e===1?`er`:``)}};return n.default.locale(r,null,!0),r}))})),_e=s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_locale_en=r()})(e,(function(){"use strict";return{name:`en`,weekdays:`Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday`.split(`_`),months:`January_February_March_April_May_June_July_August_September_October_November_December`.split(`_`),ordinal:function(e){var t=[`th`,`st`,`nd`,`rd`],n=e%100;return`[`+e+(t[(n-20)%10]||t[n]||t[0])+`]`}}}))})),ve=s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r(O()):typeof define==`function`&&define.amd?define([`dayjs`],r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_locale_es=r(n.dayjs)})(e,(function(e){"use strict";function t(e){return e&&typeof e==`object`&&`default`in e?e:{default:e}}var n=t(e),r={name:`es`,monthsShort:`ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic`.split(`_`),weekdays:`domingo_lunes_martes_miércoles_jueves_viernes_sábado`.split(`_`),weekdaysShort:`dom._lun._mar._mié._jue._vie._sáb.`.split(`_`),weekdaysMin:`do_lu_ma_mi_ju_vi_sá`.split(`_`),months:`enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre`.split(`_`),weekStart:1,formats:{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`},relativeTime:{future:`en %s`,past:`hace %s`,s:`unos segundos`,m:`un minuto`,mm:`%d minutos`,h:`una hora`,hh:`%d horas`,d:`un día`,dd:`%d días`,M:`un mes`,MM:`%d meses`,y:`un año`,yy:`%d años`},ordinal:function(e){return e+`º`}};return n.default.locale(r,null,!0),r}))})),ye=s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r(O()):typeof define==`function`&&define.amd?define([`dayjs`],r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_locale_it=r(n.dayjs)})(e,(function(e){"use strict";function t(e){return e&&typeof e==`object`&&`default`in e?e:{default:e}}var n=t(e),r={name:`it`,weekdays:`domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato`.split(`_`),weekdaysShort:`dom_lun_mar_mer_gio_ven_sab`.split(`_`),weekdaysMin:`do_lu_ma_me_gi_ve_sa`.split(`_`),months:`gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre`.split(`_`),weekStart:1,monthsShort:`gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic`.split(`_`),formats:{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`},relativeTime:{future:`tra %s`,past:`%s fa`,s:`qualche secondo`,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`},ordinal:function(e){return e+`º`}};return n.default.locale(r,null,!0),r}))})),be=s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r(O()):typeof define==`function`&&define.amd?define([`dayjs`],r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_locale_pt=r(n.dayjs)})(e,(function(e){"use strict";function t(e){return e&&typeof e==`object`&&`default`in e?e:{default:e}}var n=t(e),r={name:`pt`,weekdays:`domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado`.split(`_`),weekdaysShort:`dom_seg_ter_qua_qui_sex_sab`.split(`_`),weekdaysMin:`Do_2ª_3ª_4ª_5ª_6ª_Sa`.split(`_`),months:`janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro`.split(`_`),monthsShort:`jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez`.split(`_`),ordinal:function(e){return e+`º`},weekStart:1,yearStart:4,formats:{LT:`HH:mm`,LTS:`HH:mm:ss`,L:`DD/MM/YYYY`,LL:`D [de] MMMM [de] YYYY`,LLL:`D [de] MMMM [de] YYYY [às] HH:mm`,LLLL:`dddd, D [de] MMMM [de] YYYY [às] HH:mm`},relativeTime:{future:`em %s`,past:`há %s`,s:`alguns segundos`,m:`um minuto`,mm:`%d minutos`,h:`uma hora`,hh:`%d horas`,d:`um dia`,dd:`%d dias`,M:`um mês`,MM:`%d meses`,y:`um ano`,yy:`%d anos`}};return n.default.locale(r,null,!0),r}))})),xe=s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r(O()):typeof define==`function`&&define.amd?define([`dayjs`],r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_locale_nl=r(n.dayjs)})(e,(function(e){"use strict";function t(e){return e&&typeof e==`object`&&`default`in e?e:{default:e}}var n=t(e),r={name:`nl`,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(`_`),months:`januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december`.split(`_`),monthsShort:`jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec`.split(`_`),ordinal:function(e){return`[`+e+(e===1||e===8||e>=20?`ste`:`de`)+`]`},weekStart:1,yearStart:4,formats:{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`},relativeTime:{future:`over %s`,past:`%s geleden`,s:`een paar seconden`,m:`een minuut`,mm:`%d minuten`,h:`een uur`,hh:`%d uur`,d:`een dag`,dd:`%d dagen`,M:`een maand`,MM:`%d maanden`,y:`een jaar`,yy:`%d jaar`}};return n.default.locale(r,null,!0),r}))})),Se=u(O()),Ce=u(de()),we=u(fe()),Te=u(pe()),Ee=u(me());he(),ge(),_e(),ve(),ye(),be(),xe(),Se.default.extend(Ee.default),Se.default.extend(Te.default),Se.default.extend(we.default),Se.default.extend(Ce.default),s(((e,t)=>{(function(){var n,r=`Expected a function`,i=`__lodash_hash_undefined__`,a=`__lodash_placeholder__`,o=1,s=2,c=8,l=16,u=32,d=64,f=128,p=256,m=512,h=1/0,g=9007199254740991,_=17976931348623157e292,v=NaN,y=4294967295,b=y-1,x=y>>>1,ee=[[`ary`,f],[`bind`,o],[`bindKey`,s],[`curry`,c],[`curryRight`,l],[`flip`,m],[`partial`,u],[`partialRight`,d],[`rearg`,p]],S=`[object Arguments]`,C=`[object Array]`,w=`[object AsyncFunction]`,T=`[object Boolean]`,E=`[object Date]`,te=`[object DOMException]`,ne=`[object Error]`,D=`[object Function]`,re=`[object GeneratorFunction]`,ie=`[object Map]`,ae=`[object Number]`,oe=`[object Null]`,se=`[object Object]`,ce=`[object Promise]`,le=`[object Proxy]`,ue=`[object RegExp]`,O=`[object Set]`,de=`[object String]`,fe=`[object Symbol]`,pe=`[object Undefined]`,me=`[object WeakMap]`,he=`[object WeakSet]`,ge=`[object ArrayBuffer]`,_e=`[object DataView]`,ve=`[object Float32Array]`,ye=`[object Float64Array]`,be=`[object Int8Array]`,xe=`[object Int16Array]`,Se=`[object Int32Array]`,Ce=`[object Uint8Array]`,we=`[object Uint8ClampedArray]`,Te=`[object Uint16Array]`,Ee=`[object Uint32Array]`,De=/\b__p \+= '';/g,Oe=/\b(__p \+=) '' \+/g,ke=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ae=/&(?:amp|lt|gt|quot|#39);/g,je=/[&<>"']/g,Me=RegExp(Ae.source),Ne=RegExp(je.source),Pe=/<%-([\s\S]+?)%>/g,Fe=/<%([\s\S]+?)%>/g,Ie=/<%=([\s\S]+?)%>/g,Le=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Re=/^\w*$/,ze=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Be=/[\\^$.*+?()[\]{}|]/g,Ve=RegExp(Be.source),He=/^\s+/,k=/\s/,Ue=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,We=/\{\n\/\* \[wrapped with (.+)\] \*/,Ge=/,? & /,Ke=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,qe=/[()=,{}\[\]\/\s]/,Je=/\\(\\)?/g,Ye=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Xe=/\w*$/,A=/^[-+]0x[0-9a-f]+$/i,Ze=/^0b[01]+$/i,Qe=/^\[object .+?Constructor\]$/,$e=/^0o[0-7]+$/i,et=/^(?:0|[1-9]\d*)$/,tt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,nt=/($^)/,rt=/['\n\r\u2028\u2029\\]/g,it=`\\ud800-\\udfff`,at=`\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff`,ot=`\\u2700-\\u27bf`,j=`a-z\\xdf-\\xf6\\xf8-\\xff`,st=`\\xac\\xb1\\xd7\\xf7`,ct=`\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf`,M=`\\u2000-\\u206f`,N=` \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000`,lt=`A-Z\\xc0-\\xd6\\xd8-\\xde`,ut=`\\ufe0e\\ufe0f`,dt=st+ct+M+N,ft=`['’]`,P=`[`+it+`]`,pt=`[`+dt+`]`,mt=`[`+at+`]`,ht=`\\d+`,gt=`[`+ot+`]`,_t=`[`+j+`]`,vt=`[^`+it+dt+ht+ot+j+lt+`]`,yt=`\\ud83c[\\udffb-\\udfff]`,bt=`(?:`+mt+`|`+yt+`)`,xt=`[^`+it+`]`,St=`(?:\\ud83c[\\udde6-\\uddff]){2}`,Ct=`[\\ud800-\\udbff][\\udc00-\\udfff]`,wt=`[`+lt+`]`,Tt=`\\u200d`,Et=`(?:`+_t+`|`+vt+`)`,Dt=`(?:`+wt+`|`+vt+`)`,Ot=`(?:`+ft+`(?:d|ll|m|re|s|t|ve))?`,kt=`(?:`+ft+`(?:D|LL|M|RE|S|T|VE))?`,At=bt+`?`,jt=`[`+ut+`]?`,Mt=`(?:`+Tt+`(?:`+[xt,St,Ct].join(`|`)+`)`+jt+At+`)*`,Nt=`\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])`,Pt=`\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])`,Ft=jt+At+Mt,It=`(?:`+[gt,St,Ct].join(`|`)+`)`+Ft,Lt=`(?:`+[xt+mt+`?`,mt,St,Ct,P].join(`|`)+`)`,Rt=RegExp(ft,`g`),zt=RegExp(mt,`g`),Bt=RegExp(yt+`(?=`+yt+`)|`+Lt+Ft,`g`),Vt=RegExp([wt+`?`+_t+`+`+Ot+`(?=`+[pt,wt,`$`].join(`|`)+`)`,Dt+`+`+kt+`(?=`+[pt,wt+Et,`$`].join(`|`)+`)`,wt+`?`+Et+`+`+Ot,wt+`+`+kt,Pt,Nt,ht,It].join(`|`),`g`),Ht=RegExp(`[`+Tt+it+at+ut+`]`),F=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ut=`Array.Buffer.DataView.Date.Error.Float32Array.Float64Array.Function.Int8Array.Int16Array.Int32Array.Map.Math.Object.Promise.RegExp.Set.String.Symbol.TypeError.Uint8Array.Uint8ClampedArray.Uint16Array.Uint32Array.WeakMap._.clearTimeout.isFinite.parseInt.setTimeout`.split(`.`),Wt=-1,I={};I[ve]=I[ye]=I[be]=I[xe]=I[Se]=I[Ce]=I[we]=I[Te]=I[Ee]=!0,I[S]=I[C]=I[ge]=I[T]=I[_e]=I[E]=I[ne]=I[D]=I[ie]=I[ae]=I[se]=I[ue]=I[O]=I[de]=I[me]=!1;var L={};L[S]=L[C]=L[ge]=L[_e]=L[T]=L[E]=L[ve]=L[ye]=L[be]=L[xe]=L[Se]=L[ie]=L[ae]=L[se]=L[ue]=L[O]=L[de]=L[fe]=L[Ce]=L[we]=L[Te]=L[Ee]=!0,L[ne]=L[D]=L[me]=!1;var R={À:`A`,Á:`A`,Â:`A`,Ã:`A`,Ä:`A`,Å:`A`,à:`a`,á:`a`,â:`a`,ã:`a`,ä:`a`,å:`a`,Ç:`C`,ç:`c`,Ð:`D`,ð:`d`,È:`E`,É:`E`,Ê:`E`,Ë:`E`,è:`e`,é:`e`,ê:`e`,ë:`e`,Ì:`I`,Í:`I`,Î:`I`,Ï:`I`,ì:`i`,í:`i`,î:`i`,ï:`i`,Ñ:`N`,ñ:`n`,Ò:`O`,Ó:`O`,Ô:`O`,Õ:`O`,Ö:`O`,Ø:`O`,ò:`o`,ó:`o`,ô:`o`,õ:`o`,ö:`o`,ø:`o`,Ù:`U`,Ú:`U`,Û:`U`,Ü:`U`,ù:`u`,ú:`u`,û:`u`,ü:`u`,Ý:`Y`,ý:`y`,ÿ:`y`,Æ:`Ae`,æ:`ae`,Þ:`Th`,þ:`th`,ß:`ss`,Ā:`A`,Ă:`A`,Ą:`A`,ā:`a`,ă:`a`,ą:`a`,Ć:`C`,Ĉ:`C`,Ċ:`C`,Č:`C`,ć:`c`,ĉ:`c`,ċ:`c`,č:`c`,Ď:`D`,Đ:`D`,ď:`d`,đ:`d`,Ē:`E`,Ĕ:`E`,Ė:`E`,Ę:`E`,Ě:`E`,ē:`e`,ĕ:`e`,ė:`e`,ę:`e`,ě:`e`,Ĝ:`G`,Ğ:`G`,Ġ:`G`,Ģ:`G`,ĝ:`g`,ğ:`g`,ġ:`g`,ģ:`g`,Ĥ:`H`,Ħ:`H`,ĥ:`h`,ħ:`h`,Ĩ:`I`,Ī:`I`,Ĭ:`I`,Į:`I`,İ:`I`,ĩ:`i`,ī:`i`,ĭ:`i`,į:`i`,ı:`i`,Ĵ:`J`,ĵ:`j`,Ķ:`K`,ķ:`k`,ĸ:`k`,Ĺ:`L`,Ļ:`L`,Ľ:`L`,Ŀ:`L`,Ł:`L`,ĺ:`l`,ļ:`l`,ľ:`l`,ŀ:`l`,ł:`l`,Ń:`N`,Ņ:`N`,Ň:`N`,Ŋ:`N`,ń:`n`,ņ:`n`,ň:`n`,ŋ:`n`,Ō:`O`,Ŏ:`O`,Ő:`O`,ō:`o`,ŏ:`o`,ő:`o`,Ŕ:`R`,Ŗ:`R`,Ř:`R`,ŕ:`r`,ŗ:`r`,ř:`r`,Ś:`S`,Ŝ:`S`,Ş:`S`,Š:`S`,ś:`s`,ŝ:`s`,ş:`s`,š:`s`,Ţ:`T`,Ť:`T`,Ŧ:`T`,ţ:`t`,ť:`t`,ŧ:`t`,Ũ:`U`,Ū:`U`,Ŭ:`U`,Ů:`U`,Ű:`U`,Ų:`U`,ũ:`u`,ū:`u`,ŭ:`u`,ů:`u`,ű:`u`,ų:`u`,Ŵ:`W`,ŵ:`w`,Ŷ:`Y`,ŷ:`y`,Ÿ:`Y`,Ź:`Z`,Ż:`Z`,Ž:`Z`,ź:`z`,ż:`z`,ž:`z`,IJ:`IJ`,ij:`ij`,Œ:`Oe`,œ:`oe`,ʼn:`'n`,ſ:`s`},Gt={"&":`&`,"<":`<`,">":`>`,'"':`"`,"'":`'`},Kt={"&":`&`,"<":`<`,">":`>`,""":`"`,"'":`'`},qt={"\\":`\\`,"'":`'`,"\n":`n`,"\r":`r`,"\u2028":`u2028`,"\u2029":`u2029`},Jt=parseFloat,Yt=parseInt,Xt=typeof global==`object`&&global&&global.Object===Object&&global,Zt=typeof self==`object`&&self&&self.Object===Object&&self,z=Xt||Zt||Function(`return this`)(),Qt=typeof e==`object`&&e&&!e.nodeType&&e,$t=Qt&&typeof t==`object`&&t&&!t.nodeType&&t,en=$t&&$t.exports===Qt,tn=en&&Xt.process,B=function(){try{return $t&&$t.require&&$t.require(`util`).types||tn&&tn.binding&&tn.binding(`util`)}catch{}}(),nn=B&&B.isArrayBuffer,rn=B&&B.isDate,an=B&&B.isMap,on=B&&B.isRegExp,sn=B&&B.isSet,cn=B&&B.isTypedArray;function ln(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function un(e,t,n,r){for(var i=-1,a=e==null?0:e.length;++i<a;){var o=e[i];t(r,o,n(o),e)}return r}function dn(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function fn(e,t){for(var n=e==null?0:e.length;n--&&t(e[n],n,e)!==!1;);return e}function pn(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function mn(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}function hn(e,t){return!!(e!=null&&e.length)&&En(e,t,0)>-1}function gn(e,t,n){for(var r=-1,i=e==null?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function V(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function _n(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function vn(e,t,n,r){var i=-1,a=e==null?0:e.length;for(r&&a&&(n=e[++i]);++i<a;)n=t(n,e[i],i,e);return n}function yn(e,t,n,r){var i=e==null?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function bn(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var xn=An(`length`);function Sn(e){return e.split(``)}function Cn(e){return e.match(Ke)||[]}function wn(e,t,n){var r;return n(e,function(e,n,i){if(t(e,n,i))return r=n,!1}),r}function Tn(e,t,n,r){for(var i=e.length,a=n+(r?1:-1);r?a--:++a<i;)if(t(e[a],a,e))return a;return-1}function En(e,t,n){return t===t?nr(e,t,n):Tn(e,On,n)}function Dn(e,t,n,r){for(var i=n-1,a=e.length;++i<a;)if(r(e[i],t))return i;return-1}function On(e){return e!==e}function kn(e,t){var n=e==null?0:e.length;return n?Pn(e,t)/n:v}function An(e){return function(t){return t==null?n:t[e]}}function jn(e){return function(t){return e==null?n:e[t]}}function Mn(e,t,n,r,i){return i(e,function(e,i,a){n=r?(r=!1,e):t(n,e,i,a)}),n}function Nn(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function Pn(e,t){for(var r,i=-1,a=e.length;++i<a;){var o=t(e[i]);o!==n&&(r=r===n?o:r+o)}return r}function Fn(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function In(e,t){return V(t,function(t){return[t,e[t]]})}function Ln(e){return e&&e.slice(0,or(e)+1).replace(He,``)}function Rn(e){return function(t){return e(t)}}function zn(e,t){return V(t,function(t){return e[t]})}function Bn(e,t){return e.has(t)}function Vn(e,t){for(var n=-1,r=e.length;++n<r&&En(t,e[n],0)>-1;);return n}function Hn(e,t){for(var n=e.length;n--&&En(t,e[n],0)>-1;);return n}function Un(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var Wn=jn(R),Gn=jn(Gt);function Kn(e){return`\\`+qt[e]}function qn(e,t){return e==null?n:e[t]}function Jn(e){return Ht.test(e)}function Yn(e){return F.test(e)}function Xn(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function Zn(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function Qn(e,t){return function(n){return e(t(n))}}function $n(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var s=e[n];(s===t||s===a)&&(e[n]=a,o[i++]=n)}return o}function er(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function tr(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n}function nr(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}function rr(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}function ir(e){return Jn(e)?cr(e):xn(e)}function ar(e){return Jn(e)?lr(e):Sn(e)}function or(e){for(var t=e.length;t--&&k.test(e.charAt(t)););return t}var sr=jn(Kt);function cr(e){for(var t=Bt.lastIndex=0;Bt.test(e);)++t;return t}function lr(e){return e.match(Bt)||[]}function ur(e){return e.match(Vt)||[]}var dr=(function e(t){t=t==null?z:dr.defaults(z.Object(),t,dr.pick(z,Ut));var k=t.Array,Ke=t.Date,it=t.Error,at=t.Function,ot=t.Math,j=t.Object,st=t.RegExp,ct=t.String,M=t.TypeError,N=k.prototype,lt=at.prototype,ut=j.prototype,dt=t[`__core-js_shared__`],ft=lt.toString,P=ut.hasOwnProperty,pt=0,mt=function(){var e=/[^.]+$/.exec(dt&&dt.keys&&dt.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``}(),ht=ut.toString,gt=ft.call(j),_t=z._,vt=st(`^`+ft.call(P).replace(Be,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`),yt=en?t.Buffer:n,bt=t.Symbol,xt=t.Uint8Array,St=yt?yt.allocUnsafe:n,Ct=Qn(j.getPrototypeOf,j),wt=j.create,Tt=ut.propertyIsEnumerable,Et=N.splice,Dt=bt?bt.isConcatSpreadable:n,Ot=bt?bt.iterator:n,kt=bt?bt.toStringTag:n,At=function(){try{var e=Io(j,`defineProperty`);return e({},``,{}),e}catch{}}(),jt=t.clearTimeout!==z.clearTimeout&&t.clearTimeout,Mt=Ke&&Ke.now!==z.Date.now&&Ke.now,Nt=t.setTimeout!==z.setTimeout&&t.setTimeout,Pt=ot.ceil,Ft=ot.floor,It=j.getOwnPropertySymbols,Lt=yt?yt.isBuffer:n,Bt=t.isFinite,Vt=N.join,Ht=Qn(j.keys,j),F=ot.max,R=ot.min,Gt=Ke.now,Kt=t.parseInt,qt=ot.random,Xt=N.reverse,Zt=Io(t,`DataView`),Qt=Io(t,`Map`),$t=Io(t,`Promise`),tn=Io(t,`Set`),B=Io(t,`WeakMap`),xn=Io(j,`create`),Sn=B&&new B,jn={},nr=xs(Zt),cr=xs(Qt),lr=xs($t),fr=xs(tn),pr=xs(B),mr=bt?bt.prototype:n,hr=mr?mr.valueOf:n,gr=mr?mr.toString:n;function H(e){if(X(e)&&!q(e)&&!(e instanceof U)){if(e instanceof yr)return e;if(P.call(e,`__wrapped__`))return Cs(e)}return new yr(e)}var _r=function(){function e(){}return function(t){if(!Y(t))return{};if(wt)return wt(t);e.prototype=t;var r=new e;return e.prototype=n,r}}();function vr(){}function yr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=n}H.templateSettings={escape:Pe,evaluate:Fe,interpolate:Ie,variable:``,imports:{_:H}},H.prototype=vr.prototype,H.prototype.constructor=H,yr.prototype=_r(vr.prototype),yr.prototype.constructor=yr;function U(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=y,this.__views__=[]}function br(){var e=new U(this.__wrapped__);return e.__actions__=qa(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=qa(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=qa(this.__views__),e}function xr(){if(this.__filtered__){var e=new U(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function Sr(){var e=this.__wrapped__.value(),t=this.__dir__,n=q(e),r=t<0,i=n?e.length:0,a=Vo(0,i,this.__views__),o=a.start,s=a.end,c=s-o,l=r?s:o-1,u=this.__iteratees__,d=u.length,f=0,p=R(c,this.__takeCount__);if(!n||!r&&i==c&&p==c)return Oa(e,this.__actions__);var m=[];outer:for(;c--&&f<p;){l+=t;for(var h=-1,g=e[l];++h<d;){var _=u[h],v=_.iteratee,y=_.type,b=v(g);if(y==2)g=b;else if(!b){if(y==1)continue outer;break outer}}m[f++]=g}return m}U.prototype=_r(vr.prototype),U.prototype.constructor=U;function Cr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function wr(){this.__data__=xn?xn(null):{},this.size=0}function Tr(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=+!!t,t}function Er(e){var t=this.__data__;if(xn){var r=t[e];return r===i?n:r}return P.call(t,e)?t[e]:n}function Dr(e){var t=this.__data__;return xn?t[e]!==n:P.call(t,e)}function Or(e,t){var r=this.__data__;return this.size+=+!this.has(e),r[e]=xn&&t===n?i:t,this}Cr.prototype.clear=wr,Cr.prototype.delete=Tr,Cr.prototype.get=Er,Cr.prototype.has=Dr,Cr.prototype.set=Or;function kr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ar(){this.__data__=[],this.size=0}function jr(e){var t=this.__data__,n=ni(t,e);return n<0?!1:(n==t.length-1?t.pop():Et.call(t,n,1),--this.size,!0)}function Mr(e){var t=this.__data__,r=ni(t,e);return r<0?n:t[r][1]}function Nr(e){return ni(this.__data__,e)>-1}function Pr(e,t){var n=this.__data__,r=ni(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}kr.prototype.clear=Ar,kr.prototype.delete=jr,kr.prototype.get=Mr,kr.prototype.has=Nr,kr.prototype.set=Pr;function Fr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ir(){this.size=0,this.__data__={hash:new Cr,map:new(Qt||kr),string:new Cr}}function Lr(e){var t=Po(this,e).delete(e);return this.size-=+!!t,t}function Rr(e){return Po(this,e).get(e)}function zr(e){return Po(this,e).has(e)}function Br(e,t){var n=Po(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}Fr.prototype.clear=Ir,Fr.prototype.delete=Lr,Fr.prototype.get=Rr,Fr.prototype.has=zr,Fr.prototype.set=Br;function Vr(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new Fr;++t<n;)this.add(e[t])}function Hr(e){return this.__data__.set(e,i),this}function Ur(e){return this.__data__.has(e)}Vr.prototype.add=Vr.prototype.push=Hr,Vr.prototype.has=Ur;function Wr(e){var t=this.__data__=new kr(e);this.size=t.size}function Gr(){this.__data__=new kr,this.size=0}function Kr(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function qr(e){return this.__data__.get(e)}function Jr(e){return this.__data__.has(e)}function Yr(e,t){var n=this.__data__;if(n instanceof kr){var r=n.__data__;if(!Qt||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Fr(r)}return n.set(e,t),this.size=n.size,this}Wr.prototype.clear=Gr,Wr.prototype.delete=Kr,Wr.prototype.get=qr,Wr.prototype.has=Jr,Wr.prototype.set=Yr;function Xr(e,t){var n=q(e),r=!n&&Xl(e),i=!n&&!r&&eu(e),a=!n&&!r&&!i&&Tu(e),o=n||r||i||a,s=o?Fn(e.length,ct):[],c=s.length;for(var l in e)(t||P.call(e,l))&&!(o&&(l==`length`||i&&(l==`offset`||l==`parent`)||a&&(l==`buffer`||l==`byteLength`||l==`byteOffset`)||Yo(l,c)))&&s.push(l);return s}function Zr(e){var t=e.length;return t?e[ca(0,t-1)]:n}function Qr(e,t){return vs(qa(e),ci(t,0,e.length))}function $r(e){return vs(qa(e))}function ei(e,t,r){(r!==n&&!ql(e[t],r)||r===n&&!(t in e))&&oi(e,t,r)}function ti(e,t,r){var i=e[t];(!(P.call(e,t)&&ql(i,r))||r===n&&!(t in e))&&oi(e,t,r)}function ni(e,t){for(var n=e.length;n--;)if(ql(e[n][0],t))return n;return-1}function ri(e,t,n,r){return mi(e,function(e,i,a){t(r,e,n(e),a)}),r}function ii(e,t){return e&&Ja(t,$(t),e)}function ai(e,t){return e&&Ja(t,ad(t),e)}function oi(e,t,n){t==`__proto__`&&At?At(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function si(e,t){for(var r=-1,i=t.length,a=k(i),o=e==null;++r<i;)a[r]=o?n:$u(e,t[r]);return a}function ci(e,t,r){return e===e&&(r!==n&&(e=e<=r?e:r),t!==n&&(e=e>=t?e:t)),e}function li(e,t,r,i,a,o){var s,c=t&1,l=t&2,u=t&4;if(r&&(s=a?r(e,i,a,o):r(e)),s!==n)return s;if(!Y(e))return e;var d=q(e);if(d){if(s=Wo(e),!c)return qa(e,s)}else{var f=Bo(e),p=f==D||f==re;if(eu(e))return La(e,c);if(f==se||f==S||p&&!a){if(s=l||p?{}:Go(e),!c)return l?Xa(e,ai(s,e)):Ya(e,ii(s,e))}else{if(!L[f])return a?e:{};s=Ko(e,f,c)}}o||=new Wr;var m=o.get(e);if(m)return m;o.set(e,s),Su(e)?e.forEach(function(n){s.add(li(n,t,r,n,e,o))}):du(e)&&e.forEach(function(n,i){s.set(i,li(n,t,r,i,e,o))});var h=d?n:(u?l?Ao:ko:l?ad:$)(e);return dn(h||e,function(n,i){h&&(i=n,n=e[i]),ti(s,i,li(n,t,r,i,e,o))}),s}function ui(e){var t=$(e);return function(n){return di(n,e,t)}}function di(e,t,r){var i=r.length;if(e==null)return!i;for(e=j(e);i--;){var a=r[i],o=t[a],s=e[a];if(s===n&&!(a in e)||!o(s))return!1}return!0}function fi(e,t,i){if(typeof e!=`function`)throw new M(r);return ms(function(){e.apply(n,i)},t)}function pi(e,t,n,r){var i=-1,a=hn,o=!0,s=e.length,c=[],l=t.length;if(!s)return c;n&&(t=V(t,Rn(n))),r?(a=gn,o=!1):t.length>=200&&(a=Bn,o=!1,t=new Vr(t));outer:for(;++i<s;){var u=e[i],d=n==null?u:n(u);if(u=r||u!==0?u:0,o&&d===d){for(var f=l;f--;)if(t[f]===d)continue outer;c.push(u)}else a(t,d,r)||c.push(u)}return c}var mi=$a(Si),hi=$a(Ci,!0);function gi(e,t){var n=!0;return mi(e,function(e,r,i){return n=!!t(e,r,i),n}),n}function _i(e,t,r){for(var i=-1,a=e.length;++i<a;){var o=e[i],s=t(o);if(s!=null&&(c===n?s===s&&!wu(s):r(s,c)))var c=s,l=o}return l}function vi(e,t,r,i){var a=e.length;for(r=Z(r),r<0&&(r=-r>a?0:a+r),i=i===n||i>a?a:Z(i),i<0&&(i+=a),i=r>i?0:Nu(i);r<i;)e[r++]=t;return e}function yi(e,t){var n=[];return mi(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function W(e,t,n,r,i){var a=-1,o=e.length;for(n||=Jo,i||=[];++a<o;){var s=e[a];t>0&&n(s)?t>1?W(s,t-1,n,r,i):_n(i,s):r||(i[i.length]=s)}return i}var bi=eo(),xi=eo(!0);function Si(e,t){return e&&bi(e,t,$)}function Ci(e,t){return e&&xi(e,t,$)}function wi(e,t){return mn(t,function(t){return cu(e[t])})}function Ti(e,t){t=Na(t,e);for(var r=0,i=t.length;e!=null&&r<i;)e=e[bs(t[r++])];return r&&r==i?e:n}function Ei(e,t,n){var r=t(e);return q(e)?r:_n(r,n(e))}function Di(e){return e==null?e===n?pe:oe:kt&&kt in j(e)?Lo(e):cs(e)}function Oi(e,t){return e>t}function ki(e,t){return e!=null&&P.call(e,t)}function Ai(e,t){return e!=null&&t in j(e)}function ji(e,t,n){return e>=R(t,n)&&e<F(t,n)}function Mi(e,t,r){for(var i=r?gn:hn,a=e[0].length,o=e.length,s=o,c=k(o),l=1/0,u=[];s--;){var d=e[s];s&&t&&(d=V(d,Rn(t))),l=R(d.length,l),c[s]=!r&&(t||a>=120&&d.length>=120)?new Vr(s&&d):n}d=e[0];var f=-1,p=c[0];outer:for(;++f<a&&u.length<l;){var m=d[f],h=t?t(m):m;if(m=r||m!==0?m:0,!(p?Bn(p,h):i(u,h,r))){for(s=o;--s;){var g=c[s];if(!(g?Bn(g,h):i(e[s],h,r)))continue outer}p&&p.push(h),u.push(m)}}return u}function Ni(e,t,n,r){return Si(e,function(e,i,a){t(r,n(e),i,a)}),r}function Pi(e,t,r){t=Na(t,e),e=us(e,t);var i=e==null?e:e[bs(Js(t))];return i==null?n:ln(i,e,r)}function Fi(e){return X(e)&&Di(e)==S}function Ii(e){return X(e)&&Di(e)==ge}function Li(e){return X(e)&&Di(e)==E}function Ri(e,t,n,r,i){return e===t?!0:e==null||t==null||!X(e)&&!X(t)?e!==e&&t!==t:zi(e,t,n,r,Ri,i)}function zi(e,t,n,r,i,a){var o=q(e),s=q(t),c=o?C:Bo(e),l=s?C:Bo(t);c=c==S?se:c,l=l==S?se:l;var u=c==se,d=l==se,f=c==l;if(f&&eu(e)){if(!eu(t))return!1;o=!0,u=!1}if(f&&!u)return a||=new Wr,o||Tu(e)?To(e,t,n,r,i,a):Eo(e,t,c,n,r,i,a);if(!(n&1)){var p=u&&P.call(e,`__wrapped__`),m=d&&P.call(t,`__wrapped__`);if(p||m){var h=p?e.value():e,g=m?t.value():t;return a||=new Wr,i(h,g,n,r,a)}}return f?(a||=new Wr,Do(e,t,n,r,i,a)):!1}function Bi(e){return X(e)&&Bo(e)==ie}function Vi(e,t,r,i){var a=r.length,o=a,s=!i;if(e==null)return!o;for(e=j(e);a--;){var c=r[a];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<o;){c=r[a];var l=c[0],u=e[l],d=c[1];if(s&&c[2]){if(u===n&&!(l in e))return!1}else{var f=new Wr;if(i)var p=i(u,d,l,e,t,f);if(!(p===n?Ri(d,u,3,i,f):p))return!1}}return!0}function Hi(e){return!Y(e)||es(e)?!1:(cu(e)?vt:Qe).test(xs(e))}function Ui(e){return X(e)&&Di(e)==ue}function Wi(e){return X(e)&&Bo(e)==O}function Gi(e){return X(e)&&uu(e.length)&&!!I[Di(e)]}function Ki(e){return typeof e==`function`?e:e==null?pf:typeof e==`object`?q(e)?Qi(e[0],e[1]):Zi(e):Ef(e)}function qi(e){if(!ns(e))return Ht(e);var t=[];for(var n in j(e))P.call(e,n)&&n!=`constructor`&&t.push(n);return t}function Ji(e){if(!Y(e))return ss(e);var t=ns(e),n=[];for(var r in e)r==`constructor`&&(t||!P.call(e,r))||n.push(r);return n}function Yi(e,t){return e<t}function Xi(e,t){var n=-1,r=Ql(e)?k(e.length):[];return mi(e,function(e,i,a){r[++n]=t(e,i,a)}),r}function Zi(e){var t=Fo(e);return t.length==1&&t[0][2]?is(t[0][0],t[0][1]):function(n){return n===e||Vi(n,e,t)}}function Qi(e,t){return Zo(e)&&rs(t)?is(bs(e),t):function(r){var i=$u(r,e);return i===n&&i===t?td(r,e):Ri(t,i,3)}}function $i(e,t,r,i,a){e!==t&&bi(t,function(o,s){if(a||=new Wr,Y(o))ea(e,t,s,r,$i,i,a);else{var c=i?i(fs(e,s),o,s+``,e,t,a):n;c===n&&(c=o),ei(e,s,c)}},ad)}function ea(e,t,r,i,a,o,s){var c=fs(e,r),l=fs(t,r),u=s.get(l);if(u){ei(e,r,u);return}var d=o?o(c,l,r+``,e,t,s):n,f=d===n;if(f){var p=q(l),m=!p&&eu(l),h=!p&&!m&&Tu(l);d=l,p||m||h?q(c)?d=c:J(c)?d=qa(c):m?(f=!1,d=La(l,!0)):h?(f=!1,d=Ha(l,!0)):d=[]:yu(l)||Xl(l)?(d=c,Xl(c)?d=Fu(c):(!Y(c)||cu(c))&&(d=Go(l))):f=!1}f&&(s.set(l,d),a(d,l,i,o,s),s.delete(l)),ei(e,r,d)}function ta(e,t){var r=e.length;if(r)return t+=t<0?r:0,Yo(t,r)?e[t]:n}function na(e,t,n){t=t.length?V(t,function(e){return q(e)?function(t){return Ti(t,e.length===1?e[0]:e)}:e}):[pf];var r=-1;return t=V(t,Rn(K())),Nn(Xi(e,function(e,n,i){return{criteria:V(t,function(t){return t(e)}),index:++r,value:e}}),function(e,t){return Wa(e,t,n)})}function ra(e,t){return ia(e,t,function(t,n){return td(e,n)})}function ia(e,t,n){for(var r=-1,i=t.length,a={};++r<i;){var o=t[r],s=Ti(e,o);n(s,o)&&pa(a,Na(o,e),s)}return a}function aa(e){return function(t){return Ti(t,e)}}function oa(e,t,n,r){var i=r?Dn:En,a=-1,o=t.length,s=e;for(e===t&&(t=qa(t)),n&&(s=V(e,Rn(n)));++a<o;)for(var c=0,l=t[a],u=n?n(l):l;(c=i(s,u,c,r))>-1;)s!==e&&Et.call(s,c,1),Et.call(e,c,1);return e}function sa(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==a){var a=i;Yo(i)?Et.call(e,i,1):Ta(e,i)}}return e}function ca(e,t){return e+Ft(qt()*(t-e+1))}function la(e,t,n,r){for(var i=-1,a=F(Pt((t-e)/(n||1)),0),o=k(a);a--;)o[r?a:++i]=e,e+=n;return o}function ua(e,t){var n=``;if(!e||t<1||t>g)return n;do t%2&&(n+=e),t=Ft(t/2),t&&(e+=e);while(t);return n}function G(e,t){return hs(ls(e,t,pf),e+``)}function da(e){return Zr(Cd(e))}function fa(e,t){var n=Cd(e);return vs(n,ci(t,0,n.length))}function pa(e,t,r,i){if(!Y(e))return e;t=Na(t,e);for(var a=-1,o=t.length,s=o-1,c=e;c!=null&&++a<o;){var l=bs(t[a]),u=r;if(l===`__proto__`||l===`constructor`||l===`prototype`)return e;if(a!=s){var d=c[l];u=i?i(d,l,c):n,u===n&&(u=Y(d)?d:Yo(t[a+1])?[]:{})}ti(c,l,u),c=c[l]}return e}var ma=Sn?function(e,t){return Sn.set(e,t),e}:pf,ha=At?function(e,t){return At(e,`toString`,{configurable:!0,enumerable:!1,value:lf(t),writable:!0})}:pf;function ga(e){return vs(Cd(e))}function _a(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=k(i);++r<i;)a[r]=e[r+t];return a}function va(e,t){var n;return mi(e,function(e,r,i){return n=t(e,r,i),!n}),!!n}function ya(e,t,n){var r=0,i=e==null?r:e.length;if(typeof t==`number`&&t===t&&i<=x){for(;r<i;){var a=r+i>>>1,o=e[a];o!==null&&!wu(o)&&(n?o<=t:o<t)?r=a+1:i=a}return i}return ba(e,t,pf,n)}function ba(e,t,r,i){var a=0,o=e==null?0:e.length;if(o===0)return 0;t=r(t);for(var s=t!==t,c=t===null,l=wu(t),u=t===n;a<o;){var d=Ft((a+o)/2),f=r(e[d]),p=f!==n,m=f===null,h=f===f,g=wu(f);if(s)var _=i||h;else _=u?h&&(i||p):c?h&&p&&(i||!m):l?h&&p&&!m&&(i||!g):m||g?!1:i?f<=t:f<t;_?a=d+1:o=d}return R(o,b)}function xa(e,t){for(var n=-1,r=e.length,i=0,a=[];++n<r;){var o=e[n],s=t?t(o):o;if(!n||!ql(s,c)){var c=s;a[i++]=o===0?0:o}}return a}function Sa(e){return typeof e==`number`?e:wu(e)?v:+e}function Ca(e){if(typeof e==`string`)return e;if(q(e))return V(e,Ca)+``;if(wu(e))return gr?gr.call(e):``;var t=e+``;return t==`0`&&1/e==-1/0?`-0`:t}function wa(e,t,n){var r=-1,i=hn,a=e.length,o=!0,s=[],c=s;if(n)o=!1,i=gn;else if(a>=200){var l=t?null:yo(e);if(l)return er(l);o=!1,i=Bn,c=new Vr}else c=t?[]:s;outer:for(;++r<a;){var u=e[r],d=t?t(u):u;if(u=n||u!==0?u:0,o&&d===d){for(var f=c.length;f--;)if(c[f]===d)continue outer;t&&c.push(d),s.push(u)}else i(c,d,n)||(c!==s&&c.push(d),s.push(u))}return s}function Ta(e,t){return t=Na(t,e),e=us(e,t),e==null||delete e[bs(Js(t))]}function Ea(e,t,n,r){return pa(e,t,n(Ti(e,t)),r)}function Da(e,t,n,r){for(var i=e.length,a=r?i:-1;(r?a--:++a<i)&&t(e[a],a,e););return n?_a(e,r?0:a,r?a+1:i):_a(e,r?a+1:0,r?i:a)}function Oa(e,t){var n=e;return n instanceof U&&(n=n.value()),vn(t,function(e,t){return t.func.apply(t.thisArg,_n([e],t.args))},n)}function ka(e,t,n){var r=e.length;if(r<2)return r?wa(e[0]):[];for(var i=-1,a=k(r);++i<r;)for(var o=e[i],s=-1;++s<r;)s!=i&&(a[i]=pi(a[i]||o,e[s],t,n));return wa(W(a,1),t,n)}function Aa(e,t,r){for(var i=-1,a=e.length,o=t.length,s={};++i<a;){var c=i<o?t[i]:n;r(s,e[i],c)}return s}function ja(e){return J(e)?e:[]}function Ma(e){return typeof e==`function`?e:pf}function Na(e,t){return q(e)?e:Zo(e,t)?[e]:ys(Q(e))}var Pa=G;function Fa(e,t,r){var i=e.length;return r=r===n?i:r,!t&&r>=i?e:_a(e,t,r)}var Ia=jt||function(e){return z.clearTimeout(e)};function La(e,t){if(t)return e.slice();var n=e.length,r=St?St(n):new e.constructor(n);return e.copy(r),r}function Ra(e){var t=new e.constructor(e.byteLength);return new xt(t).set(new xt(e)),t}function za(e,t){var n=t?Ra(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Ba(e){var t=new e.constructor(e.source,Xe.exec(e));return t.lastIndex=e.lastIndex,t}function Va(e){return hr?j(hr.call(e)):{}}function Ha(e,t){var n=t?Ra(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Ua(e,t){if(e!==t){var r=e!==n,i=e===null,a=e===e,o=wu(e),s=t!==n,c=t===null,l=t===t,u=wu(t);if(!c&&!u&&!o&&e>t||o&&s&&l&&!c&&!u||i&&s&&l||!r&&l||!a)return 1;if(!i&&!o&&!u&&e<t||u&&r&&a&&!i&&!o||c&&r&&a||!s&&a||!l)return-1}return 0}function Wa(e,t,n){for(var r=-1,i=e.criteria,a=t.criteria,o=i.length,s=n.length;++r<o;){var c=Ua(i[r],a[r]);if(c)return r>=s?c:c*(n[r]==`desc`?-1:1)}return e.index-t.index}function Ga(e,t,n,r){for(var i=-1,a=e.length,o=n.length,s=-1,c=t.length,l=F(a-o,0),u=k(c+l),d=!r;++s<c;)u[s]=t[s];for(;++i<o;)(d||i<a)&&(u[n[i]]=e[i]);for(;l--;)u[s++]=e[i++];return u}function Ka(e,t,n,r){for(var i=-1,a=e.length,o=-1,s=n.length,c=-1,l=t.length,u=F(a-s,0),d=k(u+l),f=!r;++i<u;)d[i]=e[i];for(var p=i;++c<l;)d[p+c]=t[c];for(;++o<s;)(f||i<a)&&(d[p+n[o]]=e[i++]);return d}function qa(e,t){var n=-1,r=e.length;for(t||=k(r);++n<r;)t[n]=e[n];return t}function Ja(e,t,r,i){var a=!r;r||={};for(var o=-1,s=t.length;++o<s;){var c=t[o],l=i?i(r[c],e[c],c,r,e):n;l===n&&(l=e[c]),a?oi(r,c,l):ti(r,c,l)}return r}function Ya(e,t){return Ja(e,Ro(e),t)}function Xa(e,t){return Ja(e,zo(e),t)}function Za(e,t){return function(n,r){var i=q(n)?un:ri,a=t?t():{};return i(n,e,K(r,2),a)}}function Qa(e){return G(function(t,r){var i=-1,a=r.length,o=a>1?r[a-1]:n,s=a>2?r[2]:n;for(o=e.length>3&&typeof o==`function`?(a--,o):n,s&&Xo(r[0],r[1],s)&&(o=a<3?n:o,a=1),t=j(t);++i<a;){var c=r[i];c&&e(t,c,i,o)}return t})}function $a(e,t){return function(n,r){if(n==null)return n;if(!Ql(n))return e(n,r);for(var i=n.length,a=t?i:-1,o=j(n);(t?a--:++a<i)&&r(o[a],a,o)!==!1;);return n}}function eo(e){return function(t,n,r){for(var i=-1,a=j(t),o=r(t),s=o.length;s--;){var c=o[e?s:++i];if(n(a[c],c,a)===!1)break}return t}}function to(e,t,n){var r=t&o,i=io(e);function a(){return(this&&this!==z&&this instanceof a?i:e).apply(r?n:this,arguments)}return a}function no(e){return function(t){t=Q(t);var r=Jn(t)?ar(t):n,i=r?r[0]:t.charAt(0),a=r?Fa(r,1).join(``):t.slice(1);return i[e]()+a}}function ro(e){return function(t){return vn(rf(Ad(t).replace(Rt,``)),e,``)}}function io(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=_r(e.prototype),r=e.apply(n,t);return Y(r)?r:n}}function ao(e,t,r){var i=io(e);function a(){for(var o=arguments.length,s=k(o),c=o,l=No(a);c--;)s[c]=arguments[c];var u=o<3&&s[0]!==l&&s[o-1]!==l?[]:$n(s,l);return o-=u.length,o<r?_o(e,t,co,a.placeholder,n,s,u,n,n,r-o):ln(this&&this!==z&&this instanceof a?i:e,this,s)}return a}function oo(e){return function(t,r,i){var a=j(t);if(!Ql(t)){var o=K(r,3);t=$(t),r=function(e){return o(a[e],e,a)}}var s=e(t,r,i);return s>-1?a[o?t[s]:s]:n}}function so(e){return Oo(function(t){var i=t.length,a=i,o=yr.prototype.thru;for(e&&t.reverse();a--;){var s=t[a];if(typeof s!=`function`)throw new M(r);if(o&&!l&&Mo(s)==`wrapper`)var l=new yr([],!0)}for(a=l?a:i;++a<i;){s=t[a];var d=Mo(s),m=d==`wrapper`?jo(s):n;l=m&&$o(m[0])&&m[1]==(f|c|u|p)&&!m[4].length&&m[9]==1?l[Mo(m[0])].apply(l,m[3]):s.length==1&&$o(s)?l[d]():l.thru(s)}return function(){var e=arguments,n=e[0];if(l&&e.length==1&&q(n))return l.plant(n).value();for(var r=0,a=i?t[r].apply(this,e):n;++r<i;)a=t[r].call(this,a);return a}})}function co(e,t,r,i,a,u,d,p,h,g){var _=t&f,v=t&o,y=t&s,b=t&(c|l),x=t&m,ee=y?n:io(e);function S(){for(var n=arguments.length,o=k(n),s=n;s--;)o[s]=arguments[s];if(b)var c=No(S),l=Un(o,c);if(i&&(o=Ga(o,i,a,b)),u&&(o=Ka(o,u,d,b)),n-=l,b&&n<g){var f=$n(o,c);return _o(e,t,co,S.placeholder,r,o,f,p,h,g-n)}var m=v?r:this,C=y?m[e]:e;return n=o.length,p?o=ds(o,p):x&&n>1&&o.reverse(),_&&h<n&&(o.length=h),this&&this!==z&&this instanceof S&&(C=ee||io(C)),C.apply(m,o)}return S}function lo(e,t){return function(n,r){return Ni(n,e,t(r),{})}}function uo(e,t){return function(r,i){var a;if(r===n&&i===n)return t;if(r!==n&&(a=r),i!==n){if(a===n)return i;typeof r==`string`||typeof i==`string`?(r=Ca(r),i=Ca(i)):(r=Sa(r),i=Sa(i)),a=e(r,i)}return a}}function fo(e){return Oo(function(t){return t=V(t,Rn(K())),G(function(n){var r=this;return e(t,function(e){return ln(e,r,n)})})})}function po(e,t){t=t===n?` `:Ca(t);var r=t.length;if(r<2)return r?ua(t,e):t;var i=ua(t,Pt(e/ir(t)));return Jn(t)?Fa(ar(i),0,e).join(``):i.slice(0,e)}function mo(e,t,n,r){var i=t&o,a=io(e);function s(){for(var t=-1,o=arguments.length,c=-1,l=r.length,u=k(l+o),d=this&&this!==z&&this instanceof s?a:e;++c<l;)u[c]=r[c];for(;o--;)u[c++]=arguments[++t];return ln(d,i?n:this,u)}return s}function ho(e){return function(t,r,i){return i&&typeof i!=`number`&&Xo(t,r,i)&&(r=i=n),t=Mu(t),r===n?(r=t,t=0):r=Mu(r),i=i===n?t<r?1:-1:Mu(i),la(t,r,i,e)}}function go(e){return function(t,n){return(typeof t!=`string`||typeof n!=`string`)&&(t=Pu(t),n=Pu(n)),e(t,n)}}function _o(e,t,r,i,a,l,f,p,m,h){var g=t&c,_=g?f:n,v=g?n:f,y=g?l:n,b=g?n:l;t|=g?u:d,t&=~(g?d:u),t&4||(t&=~(o|s));var x=[e,t,a,y,_,b,v,p,m,h],ee=r.apply(n,x);return $o(e)&&ps(ee,x),ee.placeholder=i,gs(ee,e,t)}function vo(e){var t=ot[e];return function(e,n){if(e=Pu(e),n=n==null?0:R(Z(n),292),n&&Bt(e)){var r=(Q(e)+`e`).split(`e`);return r=(Q(t(r[0]+`e`+(+r[1]+n)))+`e`).split(`e`),+(r[0]+`e`+(+r[1]-n))}return t(e)}}var yo=tn&&1/er(new tn([,-0]))[1]==h?function(e){return new tn(e)}:xf;function bo(e){return function(t){var n=Bo(t);return n==ie?Zn(t):n==O?tr(t):In(t,e(t))}}function xo(e,t,i,a,f,p,m,h){var g=t&s;if(!g&&typeof e!=`function`)throw new M(r);var _=a?a.length:0;if(_||(t&=~(u|d),a=f=n),m=m===n?m:F(Z(m),0),h=h===n?h:Z(h),_-=f?f.length:0,t&d){var v=a,y=f;a=f=n}var b=g?n:jo(e),x=[e,t,i,a,f,v,y,p,m,h];if(b&&os(x,b),e=x[0],t=x[1],i=x[2],a=x[3],f=x[4],h=x[9]=x[9]===n?g?0:e.length:F(x[9]-_,0),!h&&t&(c|l)&&(t&=~(c|l)),!t||t==o)var ee=to(e,t,i);else ee=t==c||t==l?ao(e,t,h):(t==u||t==(o|u))&&!f.length?mo(e,t,i,a):co.apply(n,x);return gs((b?ma:ps)(ee,x),e,t)}function So(e,t,r,i){return e===n||ql(e,ut[r])&&!P.call(i,r)?t:e}function Co(e,t,r,i,a,o){return Y(e)&&Y(t)&&(o.set(t,e),$i(e,t,n,Co,o),o.delete(t)),e}function wo(e){return yu(e)?n:e}function To(e,t,r,i,a,o){var s=r&1,c=e.length,l=t.length;if(c!=l&&!(s&&l>c))return!1;var u=o.get(e),d=o.get(t);if(u&&d)return u==t&&d==e;var f=-1,p=!0,m=r&2?new Vr:n;for(o.set(e,t),o.set(t,e);++f<c;){var h=e[f],g=t[f];if(i)var _=s?i(g,h,f,t,e,o):i(h,g,f,e,t,o);if(_!==n){if(_)continue;p=!1;break}if(m){if(!bn(t,function(e,t){if(!Bn(m,t)&&(h===e||a(h,e,r,i,o)))return m.push(t)})){p=!1;break}}else if(!(h===g||a(h,g,r,i,o))){p=!1;break}}return o.delete(e),o.delete(t),p}function Eo(e,t,n,r,i,a,o){switch(n){case _e:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case ge:return!(e.byteLength!=t.byteLength||!a(new xt(e),new xt(t)));case T:case E:case ae:return ql(+e,+t);case ne:return e.name==t.name&&e.message==t.message;case ue:case de:return e==t+``;case ie:var s=Zn;case O:var c=r&1;if(s||=er,e.size!=t.size&&!c)return!1;var l=o.get(e);if(l)return l==t;r|=2,o.set(e,t);var u=To(s(e),s(t),r,i,a,o);return o.delete(e),u;case fe:if(hr)return hr.call(e)==hr.call(t)}return!1}function Do(e,t,r,i,a,o){var s=r&1,c=ko(e),l=c.length;if(l!=ko(t).length&&!s)return!1;for(var u=l;u--;){var d=c[u];if(!(s?d in t:P.call(t,d)))return!1}var f=o.get(e),p=o.get(t);if(f&&p)return f==t&&p==e;var m=!0;o.set(e,t),o.set(t,e);for(var h=s;++u<l;){d=c[u];var g=e[d],_=t[d];if(i)var v=s?i(_,g,d,t,e,o):i(g,_,d,e,t,o);if(!(v===n?g===_||a(g,_,r,i,o):v)){m=!1;break}h||=d==`constructor`}if(m&&!h){var y=e.constructor,b=t.constructor;y!=b&&`constructor`in e&&`constructor`in t&&!(typeof y==`function`&&y instanceof y&&typeof b==`function`&&b instanceof b)&&(m=!1)}return o.delete(e),o.delete(t),m}function Oo(e){return hs(ls(e,n,Ls),e+``)}function ko(e){return Ei(e,$,Ro)}function Ao(e){return Ei(e,ad,zo)}var jo=Sn?function(e){return Sn.get(e)}:xf;function Mo(e){for(var t=e.name+``,n=jn[t],r=P.call(jn,t)?n.length:0;r--;){var i=n[r],a=i.func;if(a==null||a==e)return i.name}return t}function No(e){return(P.call(H,`placeholder`)?H:e).placeholder}function K(){var e=H.iteratee||mf;return e=e===mf?Ki:e,arguments.length?e(arguments[0],arguments[1]):e}function Po(e,t){var n=e.__data__;return Qo(t)?n[typeof t==`string`?`string`:`hash`]:n.map}function Fo(e){for(var t=$(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,rs(i)]}return t}function Io(e,t){var r=qn(e,t);return Hi(r)?r:n}function Lo(e){var t=P.call(e,kt),r=e[kt];try{e[kt]=n;var i=!0}catch{}var a=ht.call(e);return i&&(t?e[kt]=r:delete e[kt]),a}var Ro=It?function(e){return e==null?[]:(e=j(e),mn(It(e),function(t){return Tt.call(e,t)}))}:Af,zo=It?function(e){for(var t=[];e;)_n(t,Ro(e)),e=Ct(e);return t}:Af,Bo=Di;(Zt&&Bo(new Zt(new ArrayBuffer(1)))!=_e||Qt&&Bo(new Qt)!=ie||$t&&Bo($t.resolve())!=ce||tn&&Bo(new tn)!=O||B&&Bo(new B)!=me)&&(Bo=function(e){var t=Di(e),r=t==se?e.constructor:n,i=r?xs(r):``;if(i)switch(i){case nr:return _e;case cr:return ie;case lr:return ce;case fr:return O;case pr:return me}return t});function Vo(e,t,n){for(var r=-1,i=n.length;++r<i;){var a=n[r],o=a.size;switch(a.type){case`drop`:e+=o;break;case`dropRight`:t-=o;break;case`take`:t=R(t,e+o);break;case`takeRight`:e=F(e,t-o)}}return{start:e,end:t}}function Ho(e){var t=e.match(We);return t?t[1].split(Ge):[]}function Uo(e,t,n){t=Na(t,e);for(var r=-1,i=t.length,a=!1;++r<i;){var o=bs(t[r]);if(!(a=e!=null&&n(e,o)))break;e=e[o]}return a||++r!=i?a:(i=e==null?0:e.length,!!i&&uu(i)&&Yo(o,i)&&(q(e)||Xl(e)))}function Wo(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]==`string`&&P.call(e,`index`)&&(n.index=e.index,n.input=e.input),n}function Go(e){return typeof e.constructor==`function`&&!ns(e)?_r(Ct(e)):{}}function Ko(e,t,n){var r=e.constructor;switch(t){case ge:return Ra(e);case T:case E:return new r(+e);case _e:return za(e,n);case ve:case ye:case be:case xe:case Se:case Ce:case we:case Te:case Ee:return Ha(e,n);case ie:return new r;case ae:case de:return new r(e);case ue:return Ba(e);case O:return new r;case fe:return Va(e)}}function qo(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?`& `:``)+t[r],t=t.join(n>2?`, `:` `),e.replace(Ue,`{
|
|
1
|
+
(function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports):typeof define==`function`&&define.amd?define([`exports`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e.MeltingSpotEmbed={}))})(this,function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Object.create,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,o=Object.prototype.hasOwnProperty,s=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),c=(e,t)=>{let r={};for(var i in e)n(r,i,{get:e[i],enumerable:!0});return t||n(r,Symbol.toStringTag,{value:`Module`}),r},l=(e,t,a,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var c=i(t),l=0,u=c.length,d;l<u;l++)d=c[l],!o.call(e,d)&&d!==a&&n(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(s=r(t,d))||s.enumerable});return e},u=(e,r,i)=>(i=e==null?{}:t(a(e)),l(r||!e||!e.__esModule||!o.call(e,`default`)?n(i,`default`,{value:e,enumerable:!0}):i,e)),d={withStackTrace:!1},f=(e,t,n=d)=>({data:t.isOk()?{type:`Ok`,value:t.value}:{type:`Err`,value:t.error},message:e,stack:n.withStackTrace?Error().stack:void 0});function p(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})}function m(e){var t=typeof Symbol==`function`&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length==`number`)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?`Object is not iterable.`:`Symbol.iterator is not defined.`)}function h(e){return this instanceof h?(this.v=e,this):new h(e)}function g(e,t,n){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var r=n.apply(e,t||[]),i,a=[];return i={},o(`next`),o(`throw`),o(`return`),i[Symbol.asyncIterator]=function(){return this},i;function o(e){r[e]&&(i[e]=function(t){return new Promise(function(n,r){a.push([e,t,n,r])>1||s(e,t)})})}function s(e,t){try{c(r[e](t))}catch(e){d(a[0][3],e)}}function c(e){e.value instanceof h?Promise.resolve(e.value.v).then(l,u):d(a[0][2],e)}function l(e){s(`next`,e)}function u(e){s(`throw`,e)}function d(e,t){e(t),a.shift(),a.length&&s(a[0][0],a[0][1])}}function _(e){var t,n;return t={},r(`next`),r(`throw`,function(e){throw e}),r(`return`),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:h(e[r](t)),done:r===`return`}:i?i(t):t}:i}}function v(e){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof m==`function`?m(e):e[Symbol.iterator](),n={},r(`next`),r(`throw`),r(`return`),n[Symbol.asyncIterator]=function(){return this},n);function r(t){n[t]=e[t]&&function(n){return new Promise(function(r,a){n=e[t](n),i(r,a,n.done,n.value)})}}function i(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}}var y=class e{constructor(e){this._promise=e}static fromSafePromise(t){let n=t.then(e=>new te(e));return new e(n)}static fromPromise(t,n){let r=t.then(e=>new te(e)).catch(e=>new ne(n(e)));return new e(r)}static fromThrowable(t,n){return(...r)=>new e(p(this,void 0,void 0,function*(){try{return new te(yield t(...r))}catch(e){return new ne(n?n(e):e)}}))}static combine(e){return ee(e)}static combineWithAllErrors(e){return C(e)}map(t){return new e(this._promise.then(e=>p(this,void 0,void 0,function*(){return e.isErr()?new ne(e.error):new te(yield t(e.value))})))}mapErr(t){return new e(this._promise.then(e=>p(this,void 0,void 0,function*(){return e.isOk()?new te(e.value):new ne(yield t(e.error))})))}andThen(t){return new e(this._promise.then(n=>{if(n.isErr())return new ne(n.error);let r=t(n.value);return r instanceof e?r._promise:r}))}orElse(t){return new e(this._promise.then(e=>p(this,void 0,void 0,function*(){return e.isErr()?t(e.error):new te(e.value)})))}match(e,t){return this._promise.then(n=>n.match(e,t))}unwrapOr(e){return this._promise.then(t=>t.unwrapOr(e))}safeUnwrap(){return g(this,arguments,function*(){return yield h(yield h(yield*_(v(yield h(this._promise.then(e=>e.safeUnwrap()))))))})}then(e,t){return this._promise.then(e,t)}},b=e=>new y(Promise.resolve(new ne(e)));y.fromPromise,y.fromSafePromise,y.fromThrowable;var x=e=>{let t=T([]);for(let n of e)if(n.isErr()){t=E(n.error);break}else t.map(e=>e.push(n.value));return t},ee=e=>y.fromSafePromise(Promise.all(e)).andThen(x),S=e=>{let t=T([]);for(let n of e)n.isErr()&&t.isErr()?t.error.push(n.error):n.isErr()&&t.isOk()?t=E([n.error]):n.isOk()&&t.isOk()&&t.value.push(n.value);return t},C=e=>y.fromSafePromise(Promise.all(e)).andThen(S),w;(function(e){function t(e,t){return(...n)=>{try{return T(e(...n))}catch(e){return E(t?t(e):e)}}}e.fromThrowable=t;function n(e){return x(e)}e.combine=n;function r(e){return S(e)}e.combineWithAllErrors=r})(w||={});var T=e=>new te(e),E=e=>new ne(e),te=class{constructor(e){this.value=e}isOk(){return!0}isErr(){return!this.isOk()}map(e){return T(e(this.value))}mapErr(e){return T(this.value)}andThen(e){return e(this.value)}orElse(e){return T(this.value)}asyncAndThen(e){return e(this.value)}asyncMap(e){return y.fromSafePromise(e(this.value))}unwrapOr(e){return this.value}match(e,t){return e(this.value)}safeUnwrap(){let e=this.value;return(function*(){return e})()}_unsafeUnwrap(e){return this.value}_unsafeUnwrapErr(e){throw f("Called `_unsafeUnwrapErr` on an Ok",this,e)}},ne=class{constructor(e){this.error=e}isOk(){return!1}isErr(){return!this.isOk()}map(e){return E(this.error)}mapErr(e){return E(e(this.error))}andThen(e){return E(this.error)}orElse(e){return e(this.error)}asyncAndThen(e){return b(this.error)}asyncMap(e){return b(this.error)}unwrapOr(e){return e}match(e,t){return t(this.error)}safeUnwrap(){let e=this.error;return(function*(){throw yield E(e),Error("Do not use this generator out of `safeTry`")})()}_unsafeUnwrap(e){throw f("Called `_unsafeUnwrap` on an Err",this,e)}_unsafeUnwrapErr(e){return this.error}};w.fromThrowable;var D;(function(e){e[e.CONTINUE=100]=`CONTINUE`,e[e.SWITCHING_PROTOCOLS=101]=`SWITCHING_PROTOCOLS`,e[e.PROCESSING=102]=`PROCESSING`,e[e.EARLY_HINTS=103]=`EARLY_HINTS`,e[e.OK=200]=`OK`,e[e.CREATED=201]=`CREATED`,e[e.ACCEPTED=202]=`ACCEPTED`,e[e.NON_AUTHORITATIVE_INFORMATION=203]=`NON_AUTHORITATIVE_INFORMATION`,e[e.NO_CONTENT=204]=`NO_CONTENT`,e[e.RESET_CONTENT=205]=`RESET_CONTENT`,e[e.PARTIAL_CONTENT=206]=`PARTIAL_CONTENT`,e[e.MULTI_STATUS=207]=`MULTI_STATUS`,e[e.MULTIPLE_CHOICES=300]=`MULTIPLE_CHOICES`,e[e.MOVED_PERMANENTLY=301]=`MOVED_PERMANENTLY`,e[e.MOVED_TEMPORARILY=302]=`MOVED_TEMPORARILY`,e[e.SEE_OTHER=303]=`SEE_OTHER`,e[e.NOT_MODIFIED=304]=`NOT_MODIFIED`,e[e.USE_PROXY=305]=`USE_PROXY`,e[e.TEMPORARY_REDIRECT=307]=`TEMPORARY_REDIRECT`,e[e.PERMANENT_REDIRECT=308]=`PERMANENT_REDIRECT`,e[e.BAD_REQUEST=400]=`BAD_REQUEST`,e[e.UNAUTHORIZED=401]=`UNAUTHORIZED`,e[e.PAYMENT_REQUIRED=402]=`PAYMENT_REQUIRED`,e[e.FORBIDDEN=403]=`FORBIDDEN`,e[e.NOT_FOUND=404]=`NOT_FOUND`,e[e.METHOD_NOT_ALLOWED=405]=`METHOD_NOT_ALLOWED`,e[e.NOT_ACCEPTABLE=406]=`NOT_ACCEPTABLE`,e[e.PROXY_AUTHENTICATION_REQUIRED=407]=`PROXY_AUTHENTICATION_REQUIRED`,e[e.REQUEST_TIMEOUT=408]=`REQUEST_TIMEOUT`,e[e.CONFLICT=409]=`CONFLICT`,e[e.GONE=410]=`GONE`,e[e.LENGTH_REQUIRED=411]=`LENGTH_REQUIRED`,e[e.PRECONDITION_FAILED=412]=`PRECONDITION_FAILED`,e[e.REQUEST_TOO_LONG=413]=`REQUEST_TOO_LONG`,e[e.REQUEST_URI_TOO_LONG=414]=`REQUEST_URI_TOO_LONG`,e[e.UNSUPPORTED_MEDIA_TYPE=415]=`UNSUPPORTED_MEDIA_TYPE`,e[e.REQUESTED_RANGE_NOT_SATISFIABLE=416]=`REQUESTED_RANGE_NOT_SATISFIABLE`,e[e.EXPECTATION_FAILED=417]=`EXPECTATION_FAILED`,e[e.IM_A_TEAPOT=418]=`IM_A_TEAPOT`,e[e.INSUFFICIENT_SPACE_ON_RESOURCE=419]=`INSUFFICIENT_SPACE_ON_RESOURCE`,e[e.METHOD_FAILURE=420]=`METHOD_FAILURE`,e[e.MISDIRECTED_REQUEST=421]=`MISDIRECTED_REQUEST`,e[e.UNPROCESSABLE_ENTITY=422]=`UNPROCESSABLE_ENTITY`,e[e.LOCKED=423]=`LOCKED`,e[e.FAILED_DEPENDENCY=424]=`FAILED_DEPENDENCY`,e[e.UPGRADE_REQUIRED=426]=`UPGRADE_REQUIRED`,e[e.PRECONDITION_REQUIRED=428]=`PRECONDITION_REQUIRED`,e[e.TOO_MANY_REQUESTS=429]=`TOO_MANY_REQUESTS`,e[e.REQUEST_HEADER_FIELDS_TOO_LARGE=431]=`REQUEST_HEADER_FIELDS_TOO_LARGE`,e[e.UNAVAILABLE_FOR_LEGAL_REASONS=451]=`UNAVAILABLE_FOR_LEGAL_REASONS`,e[e.INTERNAL_SERVER_ERROR=500]=`INTERNAL_SERVER_ERROR`,e[e.NOT_IMPLEMENTED=501]=`NOT_IMPLEMENTED`,e[e.BAD_GATEWAY=502]=`BAD_GATEWAY`,e[e.SERVICE_UNAVAILABLE=503]=`SERVICE_UNAVAILABLE`,e[e.GATEWAY_TIMEOUT=504]=`GATEWAY_TIMEOUT`,e[e.HTTP_VERSION_NOT_SUPPORTED=505]=`HTTP_VERSION_NOT_SUPPORTED`,e[e.INSUFFICIENT_STORAGE=507]=`INSUFFICIENT_STORAGE`,e[e.NETWORK_AUTHENTICATION_REQUIRED=511]=`NETWORK_AUTHENTICATION_REQUIRED`})(D||={});var re=RegExp(`^/+`),ie=e=>e.replace(re,``),ae=RegExp(`/+$`),oe=e=>e.replace(ae,``);function se(e,t){let n=e.startsWith(`/`)?e.slice(1):e;return new URL(n,t).toString()}var ce=e=>{let{input:t,rootDocument:n=document}=e;if(typeof t==`string`){let e=n.getElementById(t);if(!e)throw Error(`Could not found an HTMLElement with ID '${t}'.`);return e}if(t.tagName)return t;throw Error(`Expected a string or an HTMLElement, but received: ${typeof t}`)},le=[`accelerometer *`,`autoplay`,`camera`,`clipboard-write *`,`display-capture`,`encrypted-media *`,`fullscreen`,`gyroscope *`,`microphone`,`picture-in-picture *`,`screen-wake-lock`],ue=e=>{let{url:t,searchParams:n={},permissionPolicies:r=[],rootDocument:i=document}=e;Object.entries(n).forEach(([e,n])=>{n!=null&&t.searchParams.set(e,String(n))});let a=i.createElement(`iframe`);return a.src=t.toString(),a.allow=le.concat(r).join(`; `),a.width=`100%`,a.height=`100%`,a.style.border=`0`,a},O=s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs=r()})(e,(function(){"use strict";var e=1e3,t=6e4,n=36e5,r=`millisecond`,i=`second`,a=`minute`,o=`hour`,s=`day`,c=`week`,l=`month`,u=`quarter`,d=`year`,f=`date`,p=`Invalid Date`,m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:`en`,weekdays:`Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday`.split(`_`),months:`January_February_March_April_May_June_July_August_September_October_November_December`.split(`_`),ordinal:function(e){var t=[`th`,`st`,`nd`,`rd`],n=e%100;return`[`+e+(t[(n-20)%10]||t[n]||t[0])+`]`}},_=function(e,t,n){var r=String(e);return!r||r.length>=t?e:``+Array(t+1-r.length).join(n)+e},v={s:_,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?`+`:`-`)+_(r,2,`0`)+`:`+_(i,2,`0`)},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,l),a=n-i<0,o=t.clone().add(r+(a?-1:1),l);return+(-(r+(n-i)/(a?i-o:o-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:d,w:c,d:s,D:f,h:o,m:a,s:i,ms:r,Q:u}[e]||String(e||``).toLowerCase().replace(/s$/,``)},u:function(e){return e===void 0}},y=`en`,b={};b[y]=g;var x=`$isDayjsObject`,ee=function(e){return e instanceof T||!(!e||!e[x])},S=function e(t,n,r){var i;if(!t)return y;if(typeof t==`string`){var a=t.toLowerCase();b[a]&&(i=a),n&&(b[a]=n,i=a);var o=t.split(`-`);if(!i&&o.length>1)return e(o[0])}else{var s=t.name;b[s]=t,i=s}return!r&&i&&(y=i),i||!r&&y},C=function(e,t){if(ee(e))return e.clone();var n=typeof t==`object`?t:{};return n.date=e,n.args=arguments,new T(n)},w=v;w.l=S,w.i=ee,w.w=function(e,t){return C(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var T=function(){function g(e){this.$L=S(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var _=g.prototype;return _.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(t===null)return new Date(NaN);if(w.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t==`string`&&!/Z$/i.test(t)){var r=t.match(m);if(r){var i=r[2]-1||0,a=(r[7]||`0`).substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.init()},_.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},_.$utils=function(){return w},_.isValid=function(){return this.$d.toString()!==p},_.isSame=function(e,t){var n=C(e);return this.startOf(t)<=n&&n<=this.endOf(t)},_.isAfter=function(e,t){return C(e)<this.startOf(t)},_.isBefore=function(e,t){return this.endOf(t)<C(e)},_.$g=function(e,t,n){return w.u(e)?this[t]:this.set(n,e)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(e,t){var n=this,r=!!w.u(t)||t,u=w.p(e),p=function(e,t){var i=w.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(s)},m=function(e,t){return w.w(n.toDate()[e].apply(n.toDate(`s`),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},h=this.$W,g=this.$M,_=this.$D,v=`set`+(this.$u?`UTC`:``);switch(u){case d:return r?p(1,0):p(31,11);case l:return r?p(1,g):p(0,g+1);case c:var y=this.$locale().weekStart||0,b=(h<y?h+7:h)-y;return p(r?_-b:_+(6-b),g);case s:case f:return m(v+`Hours`,0);case o:return m(v+`Minutes`,1);case a:return m(v+`Seconds`,2);case i:return m(v+`Milliseconds`,3);default:return this.clone()}},_.endOf=function(e){return this.startOf(e,!1)},_.$set=function(e,t){var n,c=w.p(e),u=`set`+(this.$u?`UTC`:``),p=(n={},n[s]=u+`Date`,n[f]=u+`Date`,n[l]=u+`Month`,n[d]=u+`FullYear`,n[o]=u+`Hours`,n[a]=u+`Minutes`,n[i]=u+`Seconds`,n[r]=u+`Milliseconds`,n)[c],m=c===s?this.$D+(t-this.$W):t;if(c===l||c===d){var h=this.clone().set(f,1);h.$d[p](m),h.init(),this.$d=h.set(f,Math.min(this.$D,h.daysInMonth())).$d}else p&&this.$d[p](m);return this.init(),this},_.set=function(e,t){return this.clone().$set(e,t)},_.get=function(e){return this[w.p(e)]()},_.add=function(r,u){var f,p=this;r=Number(r);var m=w.p(u),h=function(e){var t=C(p);return w.w(t.date(t.date()+Math.round(e*r)),p)};if(m===l)return this.set(l,this.$M+r);if(m===d)return this.set(d,this.$y+r);if(m===s)return h(1);if(m===c)return h(7);var g=(f={},f[a]=t,f[o]=n,f[i]=e,f)[m]||1,_=this.$d.getTime()+r*g;return w.w(_,this)},_.subtract=function(e,t){return this.add(-1*e,t)},_.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=e||`YYYY-MM-DDTHH:mm:ssZ`,i=w.z(this),a=this.$H,o=this.$m,s=this.$M,c=n.weekdays,l=n.months,u=n.meridiem,d=function(e,n,i,a){return e&&(e[n]||e(t,r))||i[n].slice(0,a)},f=function(e){return w.s(a%12||12,e,`0`)},m=u||function(e,t,n){var r=e<12?`AM`:`PM`;return n?r.toLowerCase():r};return r.replace(h,(function(e,r){return r||function(e){switch(e){case`YY`:return String(t.$y).slice(-2);case`YYYY`:return w.s(t.$y,4,`0`);case`M`:return s+1;case`MM`:return w.s(s+1,2,`0`);case`MMM`:return d(n.monthsShort,s,l,3);case`MMMM`:return d(l,s);case`D`:return t.$D;case`DD`:return w.s(t.$D,2,`0`);case`d`:return String(t.$W);case`dd`:return d(n.weekdaysMin,t.$W,c,2);case`ddd`:return d(n.weekdaysShort,t.$W,c,3);case`dddd`:return c[t.$W];case`H`:return String(a);case`HH`:return w.s(a,2,`0`);case`h`:return f(1);case`hh`:return f(2);case`a`:return m(a,o,!0);case`A`:return m(a,o,!1);case`m`:return String(o);case`mm`:return w.s(o,2,`0`);case`s`:return String(t.$s);case`ss`:return w.s(t.$s,2,`0`);case`SSS`:return w.s(t.$ms,3,`0`);case`Z`:return i}return null}(e)||i.replace(`:`,``)}))},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(r,f,p){var m,h=this,g=w.p(f),_=C(r),v=(_.utcOffset()-this.utcOffset())*t,y=this-_,b=function(){return w.m(h,_)};switch(g){case d:m=b()/12;break;case l:m=b();break;case u:m=b()/3;break;case c:m=(y-v)/6048e5;break;case s:m=(y-v)/864e5;break;case o:m=y/n;break;case a:m=y/t;break;case i:m=y/e;break;default:m=y}return p?m:w.a(m)},_.daysInMonth=function(){return this.endOf(l).$D},_.$locale=function(){return b[this.$L]},_.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=S(e,t,!0);return r&&(n.$L=r),n},_.clone=function(){return w.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},g}(),E=T.prototype;return C.prototype=E,[[`$ms`,r],[`$s`,i],[`$m`,a],[`$H`,o],[`$W`,s],[`$M`,l],[`$y`,d],[`$D`,f]].forEach((function(e){E[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),C.extend=function(e,t){return e.$i||=(e(t,T,C),!0),C},C.locale=S,C.isDayjs=ee,C.unix=function(e){return C(1e3*e)},C.en=b[y],C.Ls=b,C.p={},C}))})),de=s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_advancedFormat=r()})(e,(function(){"use strict";return function(e,t){var n=t.prototype,r=n.format;n.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return r.bind(this)(e);var i=this.$utils(),a=(e||`YYYY-MM-DDTHH:mm:ssZ`).replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(e){switch(e){case`Q`:return Math.ceil((t.$M+1)/3);case`Do`:return n.ordinal(t.$D);case`gggg`:return t.weekYear();case`GGGG`:return t.isoWeekYear();case`wo`:return n.ordinal(t.week(),`W`);case`w`:case`ww`:return i.s(t.week(),e===`w`?1:2,`0`);case`W`:case`WW`:return i.s(t.isoWeek(),e===`W`?1:2,`0`);case`k`:case`kk`:return i.s(String(t.$H===0?24:t.$H),e===`k`?1:2,`0`);case`X`:return Math.floor(t.$d.getTime()/1e3);case`x`:return t.$d.getTime();case`z`:return`[`+t.offsetName()+`]`;case`zzz`:return`[`+t.offsetName(`long`)+`]`;default:return e}}));return r.bind(this)(a)}}}))})),fe=s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_localizedFormat=r()})(e,(function(){"use strict";var e={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`};return function(t,n,r){var i=n.prototype,a=i.format;r.en.formats=e,i.format=function(t){t===void 0&&(t=`YYYY-MM-DDTHH:mm:ssZ`);var n=this.$locale().formats,r=function(t,n){return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,r,i){var a=i&&i.toUpperCase();return r||n[i]||e[i]||n[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))}(t,n===void 0?{}:n);return a.call(this,r)}}}))})),pe=s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_timezone=r()})(e,(function(){"use strict";var e={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(n,r,i){var a,o=function(e,n,r){r===void 0&&(r={});var i=new Date(e);return function(e,n){n===void 0&&(n={});var r=n.timeZoneName||`short`,i=e+`|`+r,a=t[i];return a||(a=new Intl.DateTimeFormat(`en-US`,{hour12:!1,timeZone:e,year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`,timeZoneName:r}),t[i]=a),a}(n,r).formatToParts(i)},s=function(t,n){for(var r=o(t,n),a=[],s=0;s<r.length;s+=1){var c=r[s],l=c.type,u=c.value,d=e[l];d>=0&&(a[d]=parseInt(u,10))}var f=a[3],p=f===24?0:f,m=a[0]+`-`+a[1]+`-`+a[2]+` `+p+`:`+a[4]+`:`+a[5]+`:000`,h=+t;return(i.utc(m).valueOf()-(h-=h%1e3))/6e4},c=r.prototype;c.tz=function(e,t){e===void 0&&(e=a);var n,r=this.utcOffset(),o=this.toDate(),s=o.toLocaleString(`en-US`,{timeZone:e}),c=Math.round((o-new Date(s))/1e3/60),l=15*-Math.round(o.getTimezoneOffset()/15)-c;if(!Number(l))n=this.utcOffset(0,t);else if(n=i(s,{locale:this.$L}).$set(`millisecond`,this.$ms).utcOffset(l,!0),t){var u=n.utcOffset();n=n.add(r-u,`minute`)}return n.$x.$timezone=e,n},c.offsetName=function(e){var t=this.$x.$timezone||i.tz.guess(),n=o(this.valueOf(),t,{timeZoneName:e}).find((function(e){return e.type.toLowerCase()===`timezonename`}));return n&&n.value};var l=c.startOf;c.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return l.call(this,e,t);var n=i(this.format(`YYYY-MM-DD HH:mm:ss:SSS`),{locale:this.$L});return l.call(n,e,t).tz(this.$x.$timezone,!0)},i.tz=function(e,t,n){var r=n&&t,o=n||t||a,c=s(+i(),o);if(typeof e!=`string`)return i(e).tz(o);var l=function(e,t,n){var r=e-60*t*1e3,i=s(r,n);if(t===i)return[r,t];var a=s(r-=60*(i-t)*1e3,n);return i===a?[r,i]:[e-60*Math.min(i,a)*1e3,Math.max(i,a)]}(i.utc(e,r).valueOf(),c,o),u=l[0],d=l[1],f=i(u).utcOffset(d);return f.$x.$timezone=o,f},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(e){a=e}}}))})),me=s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_utc=r()})(e,(function(){"use strict";var e=`minute`,t=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,i,a){var o=i.prototype;a.utc=function(e){return new i({date:e,utc:!0,args:arguments})},o.utc=function(t){var n=a(this.toDate(),{locale:this.$L,utc:!0});return t?n.add(this.utcOffset(),e):n},o.local=function(){return a(this.toDate(),{locale:this.$L,utc:!1})};var s=o.parse;o.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),s.call(this,e)};var c=o.init;o.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else c.call(this)};var l=o.utcOffset;o.utcOffset=function(r,i){var a=this.$utils().u;if(a(r))return this.$u?0:a(this.$offset)?l.call(this):this.$offset;if(typeof r==`string`&&(r=function(e){e===void 0&&(e=``);var r=e.match(t);if(!r)return null;var i=(``+r[0]).match(n)||[`-`,0,0],a=i[0],o=60*i[1]+ +i[2];return o===0?0:a===`+`?o:-o}(r),r===null))return this;var o=Math.abs(r)<=16?60*r:r,s=this;if(i)return s.$offset=o,s.$u=r===0,s;if(r!==0){var c=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(s=this.local().add(o+c,e)).$offset=o,s.$x.$localOffset=c}else s=this.utc();return s};var u=o.format;o.format=function(e){var t=e||(this.$u?`YYYY-MM-DDTHH:mm:ss[Z]`:``);return u.call(this,t)},o.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},o.isUTC=function(){return!!this.$u},o.toISOString=function(){return this.toDate().toISOString()},o.toString=function(){return this.toDate().toUTCString()};var d=o.toDate;o.toDate=function(e){return e===`s`&&this.$offset?a(this.format(`YYYY-MM-DD HH:mm:ss:SSS`)).toDate():d.call(this)};var f=o.diff;o.diff=function(e,t,n){if(e&&this.$u===e.$u)return f.call(this,e,t,n);var r=this.local(),i=a(e).local();return f.call(r,i,t,n)}}}))})),he=s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r(O()):typeof define==`function`&&define.amd?define([`dayjs`],r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_locale_de=r(n.dayjs)})(e,(function(e){"use strict";function t(e){return e&&typeof e==`object`&&`default`in e?e:{default:e}}var n=t(e),r={s:`ein paar Sekunden`,m:[`eine Minute`,`einer Minute`],mm:`%d Minuten`,h:[`eine Stunde`,`einer Stunde`],hh:`%d Stunden`,d:[`ein Tag`,`einem Tag`],dd:[`%d Tage`,`%d Tagen`],M:[`ein Monat`,`einem Monat`],MM:[`%d Monate`,`%d Monaten`],y:[`ein Jahr`,`einem Jahr`],yy:[`%d Jahre`,`%d Jahren`]};function i(e,t,n){var i=r[n];return Array.isArray(i)&&(i=i[+!t]),i.replace(`%d`,e)}var a={name:`de`,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(`_`),months:`Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember`.split(`_`),monthsShort:`Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.`.split(`_`),ordinal:function(e){return e+`.`},weekStart:1,yearStart:4,formats:{LTS:`HH:mm:ss`,LT:`HH:mm`,L:`DD.MM.YYYY`,LL:`D. MMMM YYYY`,LLL:`D. MMMM YYYY HH:mm`,LLLL:`dddd, D. MMMM YYYY HH:mm`},relativeTime:{future:`in %s`,past:`vor %s`,s:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i}};return n.default.locale(a,null,!0),a}))})),ge=s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r(O()):typeof define==`function`&&define.amd?define([`dayjs`],r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_locale_fr=r(n.dayjs)})(e,(function(e){"use strict";function t(e){return e&&typeof e==`object`&&`default`in e?e:{default:e}}var n=t(e),r={name:`fr`,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(`_`),months:`janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre`.split(`_`),monthsShort:`janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.`.split(`_`),weekStart:1,yearStart:4,formats:{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`},relativeTime:{future:`dans %s`,past:`il y a %s`,s:`quelques 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`},ordinal:function(e){return``+e+(e===1?`er`:``)}};return n.default.locale(r,null,!0),r}))})),_e=s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_locale_en=r()})(e,(function(){"use strict";return{name:`en`,weekdays:`Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday`.split(`_`),months:`January_February_March_April_May_June_July_August_September_October_November_December`.split(`_`),ordinal:function(e){var t=[`th`,`st`,`nd`,`rd`],n=e%100;return`[`+e+(t[(n-20)%10]||t[n]||t[0])+`]`}}}))})),ve=s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r(O()):typeof define==`function`&&define.amd?define([`dayjs`],r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_locale_es=r(n.dayjs)})(e,(function(e){"use strict";function t(e){return e&&typeof e==`object`&&`default`in e?e:{default:e}}var n=t(e),r={name:`es`,monthsShort:`ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic`.split(`_`),weekdays:`domingo_lunes_martes_miércoles_jueves_viernes_sábado`.split(`_`),weekdaysShort:`dom._lun._mar._mié._jue._vie._sáb.`.split(`_`),weekdaysMin:`do_lu_ma_mi_ju_vi_sá`.split(`_`),months:`enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre`.split(`_`),weekStart:1,formats:{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`},relativeTime:{future:`en %s`,past:`hace %s`,s:`unos segundos`,m:`un minuto`,mm:`%d minutos`,h:`una hora`,hh:`%d horas`,d:`un día`,dd:`%d días`,M:`un mes`,MM:`%d meses`,y:`un año`,yy:`%d años`},ordinal:function(e){return e+`º`}};return n.default.locale(r,null,!0),r}))})),ye=s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r(O()):typeof define==`function`&&define.amd?define([`dayjs`],r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_locale_it=r(n.dayjs)})(e,(function(e){"use strict";function t(e){return e&&typeof e==`object`&&`default`in e?e:{default:e}}var n=t(e),r={name:`it`,weekdays:`domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato`.split(`_`),weekdaysShort:`dom_lun_mar_mer_gio_ven_sab`.split(`_`),weekdaysMin:`do_lu_ma_me_gi_ve_sa`.split(`_`),months:`gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre`.split(`_`),weekStart:1,monthsShort:`gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic`.split(`_`),formats:{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`},relativeTime:{future:`tra %s`,past:`%s fa`,s:`qualche secondo`,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`},ordinal:function(e){return e+`º`}};return n.default.locale(r,null,!0),r}))})),be=s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r(O()):typeof define==`function`&&define.amd?define([`dayjs`],r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_locale_pt=r(n.dayjs)})(e,(function(e){"use strict";function t(e){return e&&typeof e==`object`&&`default`in e?e:{default:e}}var n=t(e),r={name:`pt`,weekdays:`domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado`.split(`_`),weekdaysShort:`dom_seg_ter_qua_qui_sex_sab`.split(`_`),weekdaysMin:`Do_2ª_3ª_4ª_5ª_6ª_Sa`.split(`_`),months:`janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro`.split(`_`),monthsShort:`jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez`.split(`_`),ordinal:function(e){return e+`º`},weekStart:1,yearStart:4,formats:{LT:`HH:mm`,LTS:`HH:mm:ss`,L:`DD/MM/YYYY`,LL:`D [de] MMMM [de] YYYY`,LLL:`D [de] MMMM [de] YYYY [às] HH:mm`,LLLL:`dddd, D [de] MMMM [de] YYYY [às] HH:mm`},relativeTime:{future:`em %s`,past:`há %s`,s:`alguns segundos`,m:`um minuto`,mm:`%d minutos`,h:`uma hora`,hh:`%d horas`,d:`um dia`,dd:`%d dias`,M:`um mês`,MM:`%d meses`,y:`um ano`,yy:`%d anos`}};return n.default.locale(r,null,!0),r}))})),xe=s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r(O()):typeof define==`function`&&define.amd?define([`dayjs`],r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_locale_nl=r(n.dayjs)})(e,(function(e){"use strict";function t(e){return e&&typeof e==`object`&&`default`in e?e:{default:e}}var n=t(e),r={name:`nl`,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(`_`),months:`januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december`.split(`_`),monthsShort:`jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec`.split(`_`),ordinal:function(e){return`[`+e+(e===1||e===8||e>=20?`ste`:`de`)+`]`},weekStart:1,yearStart:4,formats:{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`},relativeTime:{future:`over %s`,past:`%s geleden`,s:`een paar seconden`,m:`een minuut`,mm:`%d minuten`,h:`een uur`,hh:`%d uur`,d:`een dag`,dd:`%d dagen`,M:`een maand`,MM:`%d maanden`,y:`een jaar`,yy:`%d jaar`}};return n.default.locale(r,null,!0),r}))})),Se=s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r(O()):typeof define==`function`&&define.amd?define([`dayjs`],r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_locale_ko=r(n.dayjs)})(e,(function(e){"use strict";function t(e){return e&&typeof e==`object`&&`default`in e?e:{default:e}}var n=t(e),r={name:`ko`,weekdays:`일요일_월요일_화요일_수요일_목요일_금요일_토요일`.split(`_`),weekdaysShort:`일_월_화_수_목_금_토`.split(`_`),weekdaysMin:`일_월_화_수_목_금_토`.split(`_`),months:`1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월`.split(`_`),monthsShort:`1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월`.split(`_`),ordinal:function(e){return e+`일`},formats:{LT:`A h:mm`,LTS:`A h:mm:ss`,L:`YYYY.MM.DD.`,LL:`YYYY년 MMMM D일`,LLL:`YYYY년 MMMM D일 A h:mm`,LLLL:`YYYY년 MMMM D일 dddd A h:mm`,l:`YYYY.MM.DD.`,ll:`YYYY년 MMMM D일`,lll:`YYYY년 MMMM D일 A h:mm`,llll:`YYYY년 MMMM D일 dddd A h:mm`},meridiem:function(e){return e<12?`오전`:`오후`},relativeTime:{future:`%s 후`,past:`%s 전`,s:`몇 초`,m:`1분`,mm:`%d분`,h:`한 시간`,hh:`%d시간`,d:`하루`,dd:`%d일`,M:`한 달`,MM:`%d달`,y:`일 년`,yy:`%d년`}};return n.default.locale(r,null,!0),r}))})),Ce=u(O()),we=u(de()),Te=u(fe()),Ee=u(pe()),De=u(me());he(),ge(),_e(),ve(),ye(),be(),xe(),Se(),Ce.default.extend(De.default),Ce.default.extend(Ee.default),Ce.default.extend(Te.default),Ce.default.extend(we.default),s(((e,t)=>{(function(){var n,r=`Expected a function`,i=`__lodash_hash_undefined__`,a=`__lodash_placeholder__`,o=1,s=2,c=8,l=16,u=32,d=64,f=128,p=256,m=512,h=1/0,g=9007199254740991,_=17976931348623157e292,v=NaN,y=4294967295,b=y-1,x=y>>>1,ee=[[`ary`,f],[`bind`,o],[`bindKey`,s],[`curry`,c],[`curryRight`,l],[`flip`,m],[`partial`,u],[`partialRight`,d],[`rearg`,p]],S=`[object Arguments]`,C=`[object Array]`,w=`[object AsyncFunction]`,T=`[object Boolean]`,E=`[object Date]`,te=`[object DOMException]`,ne=`[object Error]`,D=`[object Function]`,re=`[object GeneratorFunction]`,ie=`[object Map]`,ae=`[object Number]`,oe=`[object Null]`,se=`[object Object]`,ce=`[object Promise]`,le=`[object Proxy]`,ue=`[object RegExp]`,O=`[object Set]`,de=`[object String]`,fe=`[object Symbol]`,pe=`[object Undefined]`,me=`[object WeakMap]`,he=`[object WeakSet]`,ge=`[object ArrayBuffer]`,_e=`[object DataView]`,ve=`[object Float32Array]`,ye=`[object Float64Array]`,be=`[object Int8Array]`,xe=`[object Int16Array]`,Se=`[object Int32Array]`,Ce=`[object Uint8Array]`,we=`[object Uint8ClampedArray]`,Te=`[object Uint16Array]`,Ee=`[object Uint32Array]`,De=/\b__p \+= '';/g,Oe=/\b(__p \+=) '' \+/g,ke=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ae=/&(?:amp|lt|gt|quot|#39);/g,je=/[&<>"']/g,Me=RegExp(Ae.source),Ne=RegExp(je.source),Pe=/<%-([\s\S]+?)%>/g,Fe=/<%([\s\S]+?)%>/g,Ie=/<%=([\s\S]+?)%>/g,Le=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Re=/^\w*$/,ze=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Be=/[\\^$.*+?()[\]{}|]/g,Ve=RegExp(Be.source),He=/^\s+/,k=/\s/,Ue=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,We=/\{\n\/\* \[wrapped with (.+)\] \*/,Ge=/,? & /,Ke=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,qe=/[()=,{}\[\]\/\s]/,Je=/\\(\\)?/g,Ye=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Xe=/\w*$/,Ze=/^[-+]0x[0-9a-f]+$/i,Qe=/^0b[01]+$/i,$e=/^\[object .+?Constructor\]$/,A=/^0o[0-7]+$/i,et=/^(?:0|[1-9]\d*)$/,tt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,nt=/($^)/,rt=/['\n\r\u2028\u2029\\]/g,it=`\\ud800-\\udfff`,at=`\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff`,ot=`\\u2700-\\u27bf`,j=`a-z\\xdf-\\xf6\\xf8-\\xff`,st=`\\xac\\xb1\\xd7\\xf7`,ct=`\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf`,lt=`\\u2000-\\u206f`,ut=` \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000`,dt=`A-Z\\xc0-\\xd6\\xd8-\\xde`,M=`\\ufe0e\\ufe0f`,N=st+ct+lt+ut,ft=`['’]`,P=`[`+it+`]`,pt=`[`+N+`]`,mt=`[`+at+`]`,ht=`\\d+`,gt=`[`+ot+`]`,_t=`[`+j+`]`,vt=`[^`+it+N+ht+ot+j+dt+`]`,yt=`\\ud83c[\\udffb-\\udfff]`,bt=`(?:`+mt+`|`+yt+`)`,xt=`[^`+it+`]`,St=`(?:\\ud83c[\\udde6-\\uddff]){2}`,Ct=`[\\ud800-\\udbff][\\udc00-\\udfff]`,wt=`[`+dt+`]`,Tt=`\\u200d`,Et=`(?:`+_t+`|`+vt+`)`,Dt=`(?:`+wt+`|`+vt+`)`,Ot=`(?:`+ft+`(?:d|ll|m|re|s|t|ve))?`,kt=`(?:`+ft+`(?:D|LL|M|RE|S|T|VE))?`,At=bt+`?`,jt=`[`+M+`]?`,Mt=`(?:`+Tt+`(?:`+[xt,St,Ct].join(`|`)+`)`+jt+At+`)*`,Nt=`\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])`,Pt=`\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])`,Ft=jt+At+Mt,It=`(?:`+[gt,St,Ct].join(`|`)+`)`+Ft,Lt=`(?:`+[xt+mt+`?`,mt,St,Ct,P].join(`|`)+`)`,Rt=RegExp(ft,`g`),zt=RegExp(mt,`g`),Bt=RegExp(yt+`(?=`+yt+`)|`+Lt+Ft,`g`),Vt=RegExp([wt+`?`+_t+`+`+Ot+`(?=`+[pt,wt,`$`].join(`|`)+`)`,Dt+`+`+kt+`(?=`+[pt,wt+Et,`$`].join(`|`)+`)`,wt+`?`+Et+`+`+Ot,wt+`+`+kt,Pt,Nt,ht,It].join(`|`),`g`),Ht=RegExp(`[`+Tt+it+at+M+`]`),F=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ut=`Array.Buffer.DataView.Date.Error.Float32Array.Float64Array.Function.Int8Array.Int16Array.Int32Array.Map.Math.Object.Promise.RegExp.Set.String.Symbol.TypeError.Uint8Array.Uint8ClampedArray.Uint16Array.Uint32Array.WeakMap._.clearTimeout.isFinite.parseInt.setTimeout`.split(`.`),Wt=-1,I={};I[ve]=I[ye]=I[be]=I[xe]=I[Se]=I[Ce]=I[we]=I[Te]=I[Ee]=!0,I[S]=I[C]=I[ge]=I[T]=I[_e]=I[E]=I[ne]=I[D]=I[ie]=I[ae]=I[se]=I[ue]=I[O]=I[de]=I[me]=!1;var L={};L[S]=L[C]=L[ge]=L[_e]=L[T]=L[E]=L[ve]=L[ye]=L[be]=L[xe]=L[Se]=L[ie]=L[ae]=L[se]=L[ue]=L[O]=L[de]=L[fe]=L[Ce]=L[we]=L[Te]=L[Ee]=!0,L[ne]=L[D]=L[me]=!1;var R={À:`A`,Á:`A`,Â:`A`,Ã:`A`,Ä:`A`,Å:`A`,à:`a`,á:`a`,â:`a`,ã:`a`,ä:`a`,å:`a`,Ç:`C`,ç:`c`,Ð:`D`,ð:`d`,È:`E`,É:`E`,Ê:`E`,Ë:`E`,è:`e`,é:`e`,ê:`e`,ë:`e`,Ì:`I`,Í:`I`,Î:`I`,Ï:`I`,ì:`i`,í:`i`,î:`i`,ï:`i`,Ñ:`N`,ñ:`n`,Ò:`O`,Ó:`O`,Ô:`O`,Õ:`O`,Ö:`O`,Ø:`O`,ò:`o`,ó:`o`,ô:`o`,õ:`o`,ö:`o`,ø:`o`,Ù:`U`,Ú:`U`,Û:`U`,Ü:`U`,ù:`u`,ú:`u`,û:`u`,ü:`u`,Ý:`Y`,ý:`y`,ÿ:`y`,Æ:`Ae`,æ:`ae`,Þ:`Th`,þ:`th`,ß:`ss`,Ā:`A`,Ă:`A`,Ą:`A`,ā:`a`,ă:`a`,ą:`a`,Ć:`C`,Ĉ:`C`,Ċ:`C`,Č:`C`,ć:`c`,ĉ:`c`,ċ:`c`,č:`c`,Ď:`D`,Đ:`D`,ď:`d`,đ:`d`,Ē:`E`,Ĕ:`E`,Ė:`E`,Ę:`E`,Ě:`E`,ē:`e`,ĕ:`e`,ė:`e`,ę:`e`,ě:`e`,Ĝ:`G`,Ğ:`G`,Ġ:`G`,Ģ:`G`,ĝ:`g`,ğ:`g`,ġ:`g`,ģ:`g`,Ĥ:`H`,Ħ:`H`,ĥ:`h`,ħ:`h`,Ĩ:`I`,Ī:`I`,Ĭ:`I`,Į:`I`,İ:`I`,ĩ:`i`,ī:`i`,ĭ:`i`,į:`i`,ı:`i`,Ĵ:`J`,ĵ:`j`,Ķ:`K`,ķ:`k`,ĸ:`k`,Ĺ:`L`,Ļ:`L`,Ľ:`L`,Ŀ:`L`,Ł:`L`,ĺ:`l`,ļ:`l`,ľ:`l`,ŀ:`l`,ł:`l`,Ń:`N`,Ņ:`N`,Ň:`N`,Ŋ:`N`,ń:`n`,ņ:`n`,ň:`n`,ŋ:`n`,Ō:`O`,Ŏ:`O`,Ő:`O`,ō:`o`,ŏ:`o`,ő:`o`,Ŕ:`R`,Ŗ:`R`,Ř:`R`,ŕ:`r`,ŗ:`r`,ř:`r`,Ś:`S`,Ŝ:`S`,Ş:`S`,Š:`S`,ś:`s`,ŝ:`s`,ş:`s`,š:`s`,Ţ:`T`,Ť:`T`,Ŧ:`T`,ţ:`t`,ť:`t`,ŧ:`t`,Ũ:`U`,Ū:`U`,Ŭ:`U`,Ů:`U`,Ű:`U`,Ų:`U`,ũ:`u`,ū:`u`,ŭ:`u`,ů:`u`,ű:`u`,ų:`u`,Ŵ:`W`,ŵ:`w`,Ŷ:`Y`,ŷ:`y`,Ÿ:`Y`,Ź:`Z`,Ż:`Z`,Ž:`Z`,ź:`z`,ż:`z`,ž:`z`,IJ:`IJ`,ij:`ij`,Œ:`Oe`,œ:`oe`,ʼn:`'n`,ſ:`s`},Gt={"&":`&`,"<":`<`,">":`>`,'"':`"`,"'":`'`},Kt={"&":`&`,"<":`<`,">":`>`,""":`"`,"'":`'`},qt={"\\":`\\`,"'":`'`,"\n":`n`,"\r":`r`,"\u2028":`u2028`,"\u2029":`u2029`},Jt=parseFloat,Yt=parseInt,Xt=typeof global==`object`&&global&&global.Object===Object&&global,Zt=typeof self==`object`&&self&&self.Object===Object&&self,z=Xt||Zt||Function(`return this`)(),Qt=typeof e==`object`&&e&&!e.nodeType&&e,$t=Qt&&typeof t==`object`&&t&&!t.nodeType&&t,en=$t&&$t.exports===Qt,tn=en&&Xt.process,B=function(){try{return $t&&$t.require&&$t.require(`util`).types||tn&&tn.binding&&tn.binding(`util`)}catch{}}(),nn=B&&B.isArrayBuffer,rn=B&&B.isDate,an=B&&B.isMap,on=B&&B.isRegExp,sn=B&&B.isSet,cn=B&&B.isTypedArray;function ln(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function un(e,t,n,r){for(var i=-1,a=e==null?0:e.length;++i<a;){var o=e[i];t(r,o,n(o),e)}return r}function dn(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function fn(e,t){for(var n=e==null?0:e.length;n--&&t(e[n],n,e)!==!1;);return e}function pn(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function mn(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}function hn(e,t){return!!(e!=null&&e.length)&&En(e,t,0)>-1}function gn(e,t,n){for(var r=-1,i=e==null?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function V(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function _n(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function vn(e,t,n,r){var i=-1,a=e==null?0:e.length;for(r&&a&&(n=e[++i]);++i<a;)n=t(n,e[i],i,e);return n}function yn(e,t,n,r){var i=e==null?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function bn(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var xn=An(`length`);function Sn(e){return e.split(``)}function Cn(e){return e.match(Ke)||[]}function wn(e,t,n){var r;return n(e,function(e,n,i){if(t(e,n,i))return r=n,!1}),r}function Tn(e,t,n,r){for(var i=e.length,a=n+(r?1:-1);r?a--:++a<i;)if(t(e[a],a,e))return a;return-1}function En(e,t,n){return t===t?nr(e,t,n):Tn(e,On,n)}function Dn(e,t,n,r){for(var i=n-1,a=e.length;++i<a;)if(r(e[i],t))return i;return-1}function On(e){return e!==e}function kn(e,t){var n=e==null?0:e.length;return n?Pn(e,t)/n:v}function An(e){return function(t){return t==null?n:t[e]}}function jn(e){return function(t){return e==null?n:e[t]}}function Mn(e,t,n,r,i){return i(e,function(e,i,a){n=r?(r=!1,e):t(n,e,i,a)}),n}function Nn(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function Pn(e,t){for(var r,i=-1,a=e.length;++i<a;){var o=t(e[i]);o!==n&&(r=r===n?o:r+o)}return r}function Fn(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function In(e,t){return V(t,function(t){return[t,e[t]]})}function Ln(e){return e&&e.slice(0,or(e)+1).replace(He,``)}function Rn(e){return function(t){return e(t)}}function zn(e,t){return V(t,function(t){return e[t]})}function Bn(e,t){return e.has(t)}function Vn(e,t){for(var n=-1,r=e.length;++n<r&&En(t,e[n],0)>-1;);return n}function Hn(e,t){for(var n=e.length;n--&&En(t,e[n],0)>-1;);return n}function Un(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var Wn=jn(R),Gn=jn(Gt);function Kn(e){return`\\`+qt[e]}function qn(e,t){return e==null?n:e[t]}function Jn(e){return Ht.test(e)}function Yn(e){return F.test(e)}function Xn(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function Zn(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function Qn(e,t){return function(n){return e(t(n))}}function $n(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var s=e[n];(s===t||s===a)&&(e[n]=a,o[i++]=n)}return o}function er(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function tr(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n}function nr(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}function rr(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}function ir(e){return Jn(e)?cr(e):xn(e)}function ar(e){return Jn(e)?lr(e):Sn(e)}function or(e){for(var t=e.length;t--&&k.test(e.charAt(t)););return t}var sr=jn(Kt);function cr(e){for(var t=Bt.lastIndex=0;Bt.test(e);)++t;return t}function lr(e){return e.match(Bt)||[]}function ur(e){return e.match(Vt)||[]}var dr=(function e(t){t=t==null?z:dr.defaults(z.Object(),t,dr.pick(z,Ut));var k=t.Array,Ke=t.Date,it=t.Error,at=t.Function,ot=t.Math,j=t.Object,st=t.RegExp,ct=t.String,lt=t.TypeError,ut=k.prototype,dt=at.prototype,M=j.prototype,N=t[`__core-js_shared__`],ft=dt.toString,P=M.hasOwnProperty,pt=0,mt=function(){var e=/[^.]+$/.exec(N&&N.keys&&N.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``}(),ht=M.toString,gt=ft.call(j),_t=z._,vt=st(`^`+ft.call(P).replace(Be,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`),yt=en?t.Buffer:n,bt=t.Symbol,xt=t.Uint8Array,St=yt?yt.allocUnsafe:n,Ct=Qn(j.getPrototypeOf,j),wt=j.create,Tt=M.propertyIsEnumerable,Et=ut.splice,Dt=bt?bt.isConcatSpreadable:n,Ot=bt?bt.iterator:n,kt=bt?bt.toStringTag:n,At=function(){try{var e=Io(j,`defineProperty`);return e({},``,{}),e}catch{}}(),jt=t.clearTimeout!==z.clearTimeout&&t.clearTimeout,Mt=Ke&&Ke.now!==z.Date.now&&Ke.now,Nt=t.setTimeout!==z.setTimeout&&t.setTimeout,Pt=ot.ceil,Ft=ot.floor,It=j.getOwnPropertySymbols,Lt=yt?yt.isBuffer:n,Bt=t.isFinite,Vt=ut.join,Ht=Qn(j.keys,j),F=ot.max,R=ot.min,Gt=Ke.now,Kt=t.parseInt,qt=ot.random,Xt=ut.reverse,Zt=Io(t,`DataView`),Qt=Io(t,`Map`),$t=Io(t,`Promise`),tn=Io(t,`Set`),B=Io(t,`WeakMap`),xn=Io(j,`create`),Sn=B&&new B,jn={},nr=xs(Zt),cr=xs(Qt),lr=xs($t),fr=xs(tn),pr=xs(B),mr=bt?bt.prototype:n,hr=mr?mr.valueOf:n,gr=mr?mr.toString:n;function H(e){if(X(e)&&!q(e)&&!(e instanceof U)){if(e instanceof yr)return e;if(P.call(e,`__wrapped__`))return Cs(e)}return new yr(e)}var _r=function(){function e(){}return function(t){if(!Y(t))return{};if(wt)return wt(t);e.prototype=t;var r=new e;return e.prototype=n,r}}();function vr(){}function yr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=n}H.templateSettings={escape:Pe,evaluate:Fe,interpolate:Ie,variable:``,imports:{_:H}},H.prototype=vr.prototype,H.prototype.constructor=H,yr.prototype=_r(vr.prototype),yr.prototype.constructor=yr;function U(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=y,this.__views__=[]}function br(){var e=new U(this.__wrapped__);return e.__actions__=qa(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=qa(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=qa(this.__views__),e}function xr(){if(this.__filtered__){var e=new U(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function Sr(){var e=this.__wrapped__.value(),t=this.__dir__,n=q(e),r=t<0,i=n?e.length:0,a=Vo(0,i,this.__views__),o=a.start,s=a.end,c=s-o,l=r?s:o-1,u=this.__iteratees__,d=u.length,f=0,p=R(c,this.__takeCount__);if(!n||!r&&i==c&&p==c)return Oa(e,this.__actions__);var m=[];outer:for(;c--&&f<p;){l+=t;for(var h=-1,g=e[l];++h<d;){var _=u[h],v=_.iteratee,y=_.type,b=v(g);if(y==2)g=b;else if(!b){if(y==1)continue outer;break outer}}m[f++]=g}return m}U.prototype=_r(vr.prototype),U.prototype.constructor=U;function Cr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function wr(){this.__data__=xn?xn(null):{},this.size=0}function Tr(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=+!!t,t}function Er(e){var t=this.__data__;if(xn){var r=t[e];return r===i?n:r}return P.call(t,e)?t[e]:n}function Dr(e){var t=this.__data__;return xn?t[e]!==n:P.call(t,e)}function Or(e,t){var r=this.__data__;return this.size+=+!this.has(e),r[e]=xn&&t===n?i:t,this}Cr.prototype.clear=wr,Cr.prototype.delete=Tr,Cr.prototype.get=Er,Cr.prototype.has=Dr,Cr.prototype.set=Or;function kr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ar(){this.__data__=[],this.size=0}function jr(e){var t=this.__data__,n=ni(t,e);return n<0?!1:(n==t.length-1?t.pop():Et.call(t,n,1),--this.size,!0)}function Mr(e){var t=this.__data__,r=ni(t,e);return r<0?n:t[r][1]}function Nr(e){return ni(this.__data__,e)>-1}function Pr(e,t){var n=this.__data__,r=ni(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}kr.prototype.clear=Ar,kr.prototype.delete=jr,kr.prototype.get=Mr,kr.prototype.has=Nr,kr.prototype.set=Pr;function Fr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ir(){this.size=0,this.__data__={hash:new Cr,map:new(Qt||kr),string:new Cr}}function Lr(e){var t=Po(this,e).delete(e);return this.size-=+!!t,t}function Rr(e){return Po(this,e).get(e)}function zr(e){return Po(this,e).has(e)}function Br(e,t){var n=Po(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}Fr.prototype.clear=Ir,Fr.prototype.delete=Lr,Fr.prototype.get=Rr,Fr.prototype.has=zr,Fr.prototype.set=Br;function Vr(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new Fr;++t<n;)this.add(e[t])}function Hr(e){return this.__data__.set(e,i),this}function Ur(e){return this.__data__.has(e)}Vr.prototype.add=Vr.prototype.push=Hr,Vr.prototype.has=Ur;function Wr(e){var t=this.__data__=new kr(e);this.size=t.size}function Gr(){this.__data__=new kr,this.size=0}function Kr(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function qr(e){return this.__data__.get(e)}function Jr(e){return this.__data__.has(e)}function Yr(e,t){var n=this.__data__;if(n instanceof kr){var r=n.__data__;if(!Qt||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Fr(r)}return n.set(e,t),this.size=n.size,this}Wr.prototype.clear=Gr,Wr.prototype.delete=Kr,Wr.prototype.get=qr,Wr.prototype.has=Jr,Wr.prototype.set=Yr;function Xr(e,t){var n=q(e),r=!n&&Xl(e),i=!n&&!r&&eu(e),a=!n&&!r&&!i&&Tu(e),o=n||r||i||a,s=o?Fn(e.length,ct):[],c=s.length;for(var l in e)(t||P.call(e,l))&&!(o&&(l==`length`||i&&(l==`offset`||l==`parent`)||a&&(l==`buffer`||l==`byteLength`||l==`byteOffset`)||Yo(l,c)))&&s.push(l);return s}function Zr(e){var t=e.length;return t?e[ca(0,t-1)]:n}function Qr(e,t){return vs(qa(e),ci(t,0,e.length))}function $r(e){return vs(qa(e))}function ei(e,t,r){(r!==n&&!ql(e[t],r)||r===n&&!(t in e))&&oi(e,t,r)}function ti(e,t,r){var i=e[t];(!(P.call(e,t)&&ql(i,r))||r===n&&!(t in e))&&oi(e,t,r)}function ni(e,t){for(var n=e.length;n--;)if(ql(e[n][0],t))return n;return-1}function ri(e,t,n,r){return mi(e,function(e,i,a){t(r,e,n(e),a)}),r}function ii(e,t){return e&&Ja(t,$(t),e)}function ai(e,t){return e&&Ja(t,ad(t),e)}function oi(e,t,n){t==`__proto__`&&At?At(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function si(e,t){for(var r=-1,i=t.length,a=k(i),o=e==null;++r<i;)a[r]=o?n:$u(e,t[r]);return a}function ci(e,t,r){return e===e&&(r!==n&&(e=e<=r?e:r),t!==n&&(e=e>=t?e:t)),e}function li(e,t,r,i,a,o){var s,c=t&1,l=t&2,u=t&4;if(r&&(s=a?r(e,i,a,o):r(e)),s!==n)return s;if(!Y(e))return e;var d=q(e);if(d){if(s=Wo(e),!c)return qa(e,s)}else{var f=Bo(e),p=f==D||f==re;if(eu(e))return La(e,c);if(f==se||f==S||p&&!a){if(s=l||p?{}:Go(e),!c)return l?Xa(e,ai(s,e)):Ya(e,ii(s,e))}else{if(!L[f])return a?e:{};s=Ko(e,f,c)}}o||=new Wr;var m=o.get(e);if(m)return m;o.set(e,s),Su(e)?e.forEach(function(n){s.add(li(n,t,r,n,e,o))}):du(e)&&e.forEach(function(n,i){s.set(i,li(n,t,r,i,e,o))});var h=d?n:(u?l?Ao:ko:l?ad:$)(e);return dn(h||e,function(n,i){h&&(i=n,n=e[i]),ti(s,i,li(n,t,r,i,e,o))}),s}function ui(e){var t=$(e);return function(n){return di(n,e,t)}}function di(e,t,r){var i=r.length;if(e==null)return!i;for(e=j(e);i--;){var a=r[i],o=t[a],s=e[a];if(s===n&&!(a in e)||!o(s))return!1}return!0}function fi(e,t,i){if(typeof e!=`function`)throw new lt(r);return ms(function(){e.apply(n,i)},t)}function pi(e,t,n,r){var i=-1,a=hn,o=!0,s=e.length,c=[],l=t.length;if(!s)return c;n&&(t=V(t,Rn(n))),r?(a=gn,o=!1):t.length>=200&&(a=Bn,o=!1,t=new Vr(t));outer:for(;++i<s;){var u=e[i],d=n==null?u:n(u);if(u=r||u!==0?u:0,o&&d===d){for(var f=l;f--;)if(t[f]===d)continue outer;c.push(u)}else a(t,d,r)||c.push(u)}return c}var mi=$a(Si),hi=$a(Ci,!0);function gi(e,t){var n=!0;return mi(e,function(e,r,i){return n=!!t(e,r,i),n}),n}function _i(e,t,r){for(var i=-1,a=e.length;++i<a;){var o=e[i],s=t(o);if(s!=null&&(c===n?s===s&&!wu(s):r(s,c)))var c=s,l=o}return l}function vi(e,t,r,i){var a=e.length;for(r=Z(r),r<0&&(r=-r>a?0:a+r),i=i===n||i>a?a:Z(i),i<0&&(i+=a),i=r>i?0:Nu(i);r<i;)e[r++]=t;return e}function yi(e,t){var n=[];return mi(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function W(e,t,n,r,i){var a=-1,o=e.length;for(n||=Jo,i||=[];++a<o;){var s=e[a];t>0&&n(s)?t>1?W(s,t-1,n,r,i):_n(i,s):r||(i[i.length]=s)}return i}var bi=eo(),xi=eo(!0);function Si(e,t){return e&&bi(e,t,$)}function Ci(e,t){return e&&xi(e,t,$)}function wi(e,t){return mn(t,function(t){return cu(e[t])})}function Ti(e,t){t=Na(t,e);for(var r=0,i=t.length;e!=null&&r<i;)e=e[bs(t[r++])];return r&&r==i?e:n}function Ei(e,t,n){var r=t(e);return q(e)?r:_n(r,n(e))}function Di(e){return e==null?e===n?pe:oe:kt&&kt in j(e)?Lo(e):cs(e)}function Oi(e,t){return e>t}function ki(e,t){return e!=null&&P.call(e,t)}function Ai(e,t){return e!=null&&t in j(e)}function ji(e,t,n){return e>=R(t,n)&&e<F(t,n)}function Mi(e,t,r){for(var i=r?gn:hn,a=e[0].length,o=e.length,s=o,c=k(o),l=1/0,u=[];s--;){var d=e[s];s&&t&&(d=V(d,Rn(t))),l=R(d.length,l),c[s]=!r&&(t||a>=120&&d.length>=120)?new Vr(s&&d):n}d=e[0];var f=-1,p=c[0];outer:for(;++f<a&&u.length<l;){var m=d[f],h=t?t(m):m;if(m=r||m!==0?m:0,!(p?Bn(p,h):i(u,h,r))){for(s=o;--s;){var g=c[s];if(!(g?Bn(g,h):i(e[s],h,r)))continue outer}p&&p.push(h),u.push(m)}}return u}function Ni(e,t,n,r){return Si(e,function(e,i,a){t(r,n(e),i,a)}),r}function Pi(e,t,r){t=Na(t,e),e=us(e,t);var i=e==null?e:e[bs(Js(t))];return i==null?n:ln(i,e,r)}function Fi(e){return X(e)&&Di(e)==S}function Ii(e){return X(e)&&Di(e)==ge}function Li(e){return X(e)&&Di(e)==E}function Ri(e,t,n,r,i){return e===t?!0:e==null||t==null||!X(e)&&!X(t)?e!==e&&t!==t:zi(e,t,n,r,Ri,i)}function zi(e,t,n,r,i,a){var o=q(e),s=q(t),c=o?C:Bo(e),l=s?C:Bo(t);c=c==S?se:c,l=l==S?se:l;var u=c==se,d=l==se,f=c==l;if(f&&eu(e)){if(!eu(t))return!1;o=!0,u=!1}if(f&&!u)return a||=new Wr,o||Tu(e)?To(e,t,n,r,i,a):Eo(e,t,c,n,r,i,a);if(!(n&1)){var p=u&&P.call(e,`__wrapped__`),m=d&&P.call(t,`__wrapped__`);if(p||m){var h=p?e.value():e,g=m?t.value():t;return a||=new Wr,i(h,g,n,r,a)}}return f?(a||=new Wr,Do(e,t,n,r,i,a)):!1}function Bi(e){return X(e)&&Bo(e)==ie}function Vi(e,t,r,i){var a=r.length,o=a,s=!i;if(e==null)return!o;for(e=j(e);a--;){var c=r[a];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<o;){c=r[a];var l=c[0],u=e[l],d=c[1];if(s&&c[2]){if(u===n&&!(l in e))return!1}else{var f=new Wr;if(i)var p=i(u,d,l,e,t,f);if(!(p===n?Ri(d,u,3,i,f):p))return!1}}return!0}function Hi(e){return!Y(e)||es(e)?!1:(cu(e)?vt:$e).test(xs(e))}function Ui(e){return X(e)&&Di(e)==ue}function Wi(e){return X(e)&&Bo(e)==O}function Gi(e){return X(e)&&uu(e.length)&&!!I[Di(e)]}function Ki(e){return typeof e==`function`?e:e==null?pf:typeof e==`object`?q(e)?Qi(e[0],e[1]):Zi(e):Ef(e)}function qi(e){if(!ns(e))return Ht(e);var t=[];for(var n in j(e))P.call(e,n)&&n!=`constructor`&&t.push(n);return t}function Ji(e){if(!Y(e))return ss(e);var t=ns(e),n=[];for(var r in e)r==`constructor`&&(t||!P.call(e,r))||n.push(r);return n}function Yi(e,t){return e<t}function Xi(e,t){var n=-1,r=Ql(e)?k(e.length):[];return mi(e,function(e,i,a){r[++n]=t(e,i,a)}),r}function Zi(e){var t=Fo(e);return t.length==1&&t[0][2]?is(t[0][0],t[0][1]):function(n){return n===e||Vi(n,e,t)}}function Qi(e,t){return Zo(e)&&rs(t)?is(bs(e),t):function(r){var i=$u(r,e);return i===n&&i===t?td(r,e):Ri(t,i,3)}}function $i(e,t,r,i,a){e!==t&&bi(t,function(o,s){if(a||=new Wr,Y(o))ea(e,t,s,r,$i,i,a);else{var c=i?i(fs(e,s),o,s+``,e,t,a):n;c===n&&(c=o),ei(e,s,c)}},ad)}function ea(e,t,r,i,a,o,s){var c=fs(e,r),l=fs(t,r),u=s.get(l);if(u){ei(e,r,u);return}var d=o?o(c,l,r+``,e,t,s):n,f=d===n;if(f){var p=q(l),m=!p&&eu(l),h=!p&&!m&&Tu(l);d=l,p||m||h?q(c)?d=c:J(c)?d=qa(c):m?(f=!1,d=La(l,!0)):h?(f=!1,d=Ha(l,!0)):d=[]:yu(l)||Xl(l)?(d=c,Xl(c)?d=Fu(c):(!Y(c)||cu(c))&&(d=Go(l))):f=!1}f&&(s.set(l,d),a(d,l,i,o,s),s.delete(l)),ei(e,r,d)}function ta(e,t){var r=e.length;if(r)return t+=t<0?r:0,Yo(t,r)?e[t]:n}function na(e,t,n){t=t.length?V(t,function(e){return q(e)?function(t){return Ti(t,e.length===1?e[0]:e)}:e}):[pf];var r=-1;return t=V(t,Rn(K())),Nn(Xi(e,function(e,n,i){return{criteria:V(t,function(t){return t(e)}),index:++r,value:e}}),function(e,t){return Wa(e,t,n)})}function ra(e,t){return ia(e,t,function(t,n){return td(e,n)})}function ia(e,t,n){for(var r=-1,i=t.length,a={};++r<i;){var o=t[r],s=Ti(e,o);n(s,o)&&pa(a,Na(o,e),s)}return a}function aa(e){return function(t){return Ti(t,e)}}function oa(e,t,n,r){var i=r?Dn:En,a=-1,o=t.length,s=e;for(e===t&&(t=qa(t)),n&&(s=V(e,Rn(n)));++a<o;)for(var c=0,l=t[a],u=n?n(l):l;(c=i(s,u,c,r))>-1;)s!==e&&Et.call(s,c,1),Et.call(e,c,1);return e}function sa(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==a){var a=i;Yo(i)?Et.call(e,i,1):Ta(e,i)}}return e}function ca(e,t){return e+Ft(qt()*(t-e+1))}function la(e,t,n,r){for(var i=-1,a=F(Pt((t-e)/(n||1)),0),o=k(a);a--;)o[r?a:++i]=e,e+=n;return o}function ua(e,t){var n=``;if(!e||t<1||t>g)return n;do t%2&&(n+=e),t=Ft(t/2),t&&(e+=e);while(t);return n}function G(e,t){return hs(ls(e,t,pf),e+``)}function da(e){return Zr(Cd(e))}function fa(e,t){var n=Cd(e);return vs(n,ci(t,0,n.length))}function pa(e,t,r,i){if(!Y(e))return e;t=Na(t,e);for(var a=-1,o=t.length,s=o-1,c=e;c!=null&&++a<o;){var l=bs(t[a]),u=r;if(l===`__proto__`||l===`constructor`||l===`prototype`)return e;if(a!=s){var d=c[l];u=i?i(d,l,c):n,u===n&&(u=Y(d)?d:Yo(t[a+1])?[]:{})}ti(c,l,u),c=c[l]}return e}var ma=Sn?function(e,t){return Sn.set(e,t),e}:pf,ha=At?function(e,t){return At(e,`toString`,{configurable:!0,enumerable:!1,value:lf(t),writable:!0})}:pf;function ga(e){return vs(Cd(e))}function _a(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=k(i);++r<i;)a[r]=e[r+t];return a}function va(e,t){var n;return mi(e,function(e,r,i){return n=t(e,r,i),!n}),!!n}function ya(e,t,n){var r=0,i=e==null?r:e.length;if(typeof t==`number`&&t===t&&i<=x){for(;r<i;){var a=r+i>>>1,o=e[a];o!==null&&!wu(o)&&(n?o<=t:o<t)?r=a+1:i=a}return i}return ba(e,t,pf,n)}function ba(e,t,r,i){var a=0,o=e==null?0:e.length;if(o===0)return 0;t=r(t);for(var s=t!==t,c=t===null,l=wu(t),u=t===n;a<o;){var d=Ft((a+o)/2),f=r(e[d]),p=f!==n,m=f===null,h=f===f,g=wu(f);if(s)var _=i||h;else _=u?h&&(i||p):c?h&&p&&(i||!m):l?h&&p&&!m&&(i||!g):m||g?!1:i?f<=t:f<t;_?a=d+1:o=d}return R(o,b)}function xa(e,t){for(var n=-1,r=e.length,i=0,a=[];++n<r;){var o=e[n],s=t?t(o):o;if(!n||!ql(s,c)){var c=s;a[i++]=o===0?0:o}}return a}function Sa(e){return typeof e==`number`?e:wu(e)?v:+e}function Ca(e){if(typeof e==`string`)return e;if(q(e))return V(e,Ca)+``;if(wu(e))return gr?gr.call(e):``;var t=e+``;return t==`0`&&1/e==-1/0?`-0`:t}function wa(e,t,n){var r=-1,i=hn,a=e.length,o=!0,s=[],c=s;if(n)o=!1,i=gn;else if(a>=200){var l=t?null:yo(e);if(l)return er(l);o=!1,i=Bn,c=new Vr}else c=t?[]:s;outer:for(;++r<a;){var u=e[r],d=t?t(u):u;if(u=n||u!==0?u:0,o&&d===d){for(var f=c.length;f--;)if(c[f]===d)continue outer;t&&c.push(d),s.push(u)}else i(c,d,n)||(c!==s&&c.push(d),s.push(u))}return s}function Ta(e,t){return t=Na(t,e),e=us(e,t),e==null||delete e[bs(Js(t))]}function Ea(e,t,n,r){return pa(e,t,n(Ti(e,t)),r)}function Da(e,t,n,r){for(var i=e.length,a=r?i:-1;(r?a--:++a<i)&&t(e[a],a,e););return n?_a(e,r?0:a,r?a+1:i):_a(e,r?a+1:0,r?i:a)}function Oa(e,t){var n=e;return n instanceof U&&(n=n.value()),vn(t,function(e,t){return t.func.apply(t.thisArg,_n([e],t.args))},n)}function ka(e,t,n){var r=e.length;if(r<2)return r?wa(e[0]):[];for(var i=-1,a=k(r);++i<r;)for(var o=e[i],s=-1;++s<r;)s!=i&&(a[i]=pi(a[i]||o,e[s],t,n));return wa(W(a,1),t,n)}function Aa(e,t,r){for(var i=-1,a=e.length,o=t.length,s={};++i<a;){var c=i<o?t[i]:n;r(s,e[i],c)}return s}function ja(e){return J(e)?e:[]}function Ma(e){return typeof e==`function`?e:pf}function Na(e,t){return q(e)?e:Zo(e,t)?[e]:ys(Q(e))}var Pa=G;function Fa(e,t,r){var i=e.length;return r=r===n?i:r,!t&&r>=i?e:_a(e,t,r)}var Ia=jt||function(e){return z.clearTimeout(e)};function La(e,t){if(t)return e.slice();var n=e.length,r=St?St(n):new e.constructor(n);return e.copy(r),r}function Ra(e){var t=new e.constructor(e.byteLength);return new xt(t).set(new xt(e)),t}function za(e,t){var n=t?Ra(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Ba(e){var t=new e.constructor(e.source,Xe.exec(e));return t.lastIndex=e.lastIndex,t}function Va(e){return hr?j(hr.call(e)):{}}function Ha(e,t){var n=t?Ra(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Ua(e,t){if(e!==t){var r=e!==n,i=e===null,a=e===e,o=wu(e),s=t!==n,c=t===null,l=t===t,u=wu(t);if(!c&&!u&&!o&&e>t||o&&s&&l&&!c&&!u||i&&s&&l||!r&&l||!a)return 1;if(!i&&!o&&!u&&e<t||u&&r&&a&&!i&&!o||c&&r&&a||!s&&a||!l)return-1}return 0}function Wa(e,t,n){for(var r=-1,i=e.criteria,a=t.criteria,o=i.length,s=n.length;++r<o;){var c=Ua(i[r],a[r]);if(c)return r>=s?c:c*(n[r]==`desc`?-1:1)}return e.index-t.index}function Ga(e,t,n,r){for(var i=-1,a=e.length,o=n.length,s=-1,c=t.length,l=F(a-o,0),u=k(c+l),d=!r;++s<c;)u[s]=t[s];for(;++i<o;)(d||i<a)&&(u[n[i]]=e[i]);for(;l--;)u[s++]=e[i++];return u}function Ka(e,t,n,r){for(var i=-1,a=e.length,o=-1,s=n.length,c=-1,l=t.length,u=F(a-s,0),d=k(u+l),f=!r;++i<u;)d[i]=e[i];for(var p=i;++c<l;)d[p+c]=t[c];for(;++o<s;)(f||i<a)&&(d[p+n[o]]=e[i++]);return d}function qa(e,t){var n=-1,r=e.length;for(t||=k(r);++n<r;)t[n]=e[n];return t}function Ja(e,t,r,i){var a=!r;r||={};for(var o=-1,s=t.length;++o<s;){var c=t[o],l=i?i(r[c],e[c],c,r,e):n;l===n&&(l=e[c]),a?oi(r,c,l):ti(r,c,l)}return r}function Ya(e,t){return Ja(e,Ro(e),t)}function Xa(e,t){return Ja(e,zo(e),t)}function Za(e,t){return function(n,r){var i=q(n)?un:ri,a=t?t():{};return i(n,e,K(r,2),a)}}function Qa(e){return G(function(t,r){var i=-1,a=r.length,o=a>1?r[a-1]:n,s=a>2?r[2]:n;for(o=e.length>3&&typeof o==`function`?(a--,o):n,s&&Xo(r[0],r[1],s)&&(o=a<3?n:o,a=1),t=j(t);++i<a;){var c=r[i];c&&e(t,c,i,o)}return t})}function $a(e,t){return function(n,r){if(n==null)return n;if(!Ql(n))return e(n,r);for(var i=n.length,a=t?i:-1,o=j(n);(t?a--:++a<i)&&r(o[a],a,o)!==!1;);return n}}function eo(e){return function(t,n,r){for(var i=-1,a=j(t),o=r(t),s=o.length;s--;){var c=o[e?s:++i];if(n(a[c],c,a)===!1)break}return t}}function to(e,t,n){var r=t&o,i=io(e);function a(){return(this&&this!==z&&this instanceof a?i:e).apply(r?n:this,arguments)}return a}function no(e){return function(t){t=Q(t);var r=Jn(t)?ar(t):n,i=r?r[0]:t.charAt(0),a=r?Fa(r,1).join(``):t.slice(1);return i[e]()+a}}function ro(e){return function(t){return vn(rf(Ad(t).replace(Rt,``)),e,``)}}function io(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=_r(e.prototype),r=e.apply(n,t);return Y(r)?r:n}}function ao(e,t,r){var i=io(e);function a(){for(var o=arguments.length,s=k(o),c=o,l=No(a);c--;)s[c]=arguments[c];var u=o<3&&s[0]!==l&&s[o-1]!==l?[]:$n(s,l);return o-=u.length,o<r?_o(e,t,co,a.placeholder,n,s,u,n,n,r-o):ln(this&&this!==z&&this instanceof a?i:e,this,s)}return a}function oo(e){return function(t,r,i){var a=j(t);if(!Ql(t)){var o=K(r,3);t=$(t),r=function(e){return o(a[e],e,a)}}var s=e(t,r,i);return s>-1?a[o?t[s]:s]:n}}function so(e){return Oo(function(t){var i=t.length,a=i,o=yr.prototype.thru;for(e&&t.reverse();a--;){var s=t[a];if(typeof s!=`function`)throw new lt(r);if(o&&!l&&Mo(s)==`wrapper`)var l=new yr([],!0)}for(a=l?a:i;++a<i;){s=t[a];var d=Mo(s),m=d==`wrapper`?jo(s):n;l=m&&$o(m[0])&&m[1]==(f|c|u|p)&&!m[4].length&&m[9]==1?l[Mo(m[0])].apply(l,m[3]):s.length==1&&$o(s)?l[d]():l.thru(s)}return function(){var e=arguments,n=e[0];if(l&&e.length==1&&q(n))return l.plant(n).value();for(var r=0,a=i?t[r].apply(this,e):n;++r<i;)a=t[r].call(this,a);return a}})}function co(e,t,r,i,a,u,d,p,h,g){var _=t&f,v=t&o,y=t&s,b=t&(c|l),x=t&m,ee=y?n:io(e);function S(){for(var n=arguments.length,o=k(n),s=n;s--;)o[s]=arguments[s];if(b)var c=No(S),l=Un(o,c);if(i&&(o=Ga(o,i,a,b)),u&&(o=Ka(o,u,d,b)),n-=l,b&&n<g){var f=$n(o,c);return _o(e,t,co,S.placeholder,r,o,f,p,h,g-n)}var m=v?r:this,C=y?m[e]:e;return n=o.length,p?o=ds(o,p):x&&n>1&&o.reverse(),_&&h<n&&(o.length=h),this&&this!==z&&this instanceof S&&(C=ee||io(C)),C.apply(m,o)}return S}function lo(e,t){return function(n,r){return Ni(n,e,t(r),{})}}function uo(e,t){return function(r,i){var a;if(r===n&&i===n)return t;if(r!==n&&(a=r),i!==n){if(a===n)return i;typeof r==`string`||typeof i==`string`?(r=Ca(r),i=Ca(i)):(r=Sa(r),i=Sa(i)),a=e(r,i)}return a}}function fo(e){return Oo(function(t){return t=V(t,Rn(K())),G(function(n){var r=this;return e(t,function(e){return ln(e,r,n)})})})}function po(e,t){t=t===n?` `:Ca(t);var r=t.length;if(r<2)return r?ua(t,e):t;var i=ua(t,Pt(e/ir(t)));return Jn(t)?Fa(ar(i),0,e).join(``):i.slice(0,e)}function mo(e,t,n,r){var i=t&o,a=io(e);function s(){for(var t=-1,o=arguments.length,c=-1,l=r.length,u=k(l+o),d=this&&this!==z&&this instanceof s?a:e;++c<l;)u[c]=r[c];for(;o--;)u[c++]=arguments[++t];return ln(d,i?n:this,u)}return s}function ho(e){return function(t,r,i){return i&&typeof i!=`number`&&Xo(t,r,i)&&(r=i=n),t=Mu(t),r===n?(r=t,t=0):r=Mu(r),i=i===n?t<r?1:-1:Mu(i),la(t,r,i,e)}}function go(e){return function(t,n){return(typeof t!=`string`||typeof n!=`string`)&&(t=Pu(t),n=Pu(n)),e(t,n)}}function _o(e,t,r,i,a,l,f,p,m,h){var g=t&c,_=g?f:n,v=g?n:f,y=g?l:n,b=g?n:l;t|=g?u:d,t&=~(g?d:u),t&4||(t&=~(o|s));var x=[e,t,a,y,_,b,v,p,m,h],ee=r.apply(n,x);return $o(e)&&ps(ee,x),ee.placeholder=i,gs(ee,e,t)}function vo(e){var t=ot[e];return function(e,n){if(e=Pu(e),n=n==null?0:R(Z(n),292),n&&Bt(e)){var r=(Q(e)+`e`).split(`e`);return r=(Q(t(r[0]+`e`+(+r[1]+n)))+`e`).split(`e`),+(r[0]+`e`+(+r[1]-n))}return t(e)}}var yo=tn&&1/er(new tn([,-0]))[1]==h?function(e){return new tn(e)}:xf;function bo(e){return function(t){var n=Bo(t);return n==ie?Zn(t):n==O?tr(t):In(t,e(t))}}function xo(e,t,i,a,f,p,m,h){var g=t&s;if(!g&&typeof e!=`function`)throw new lt(r);var _=a?a.length:0;if(_||(t&=~(u|d),a=f=n),m=m===n?m:F(Z(m),0),h=h===n?h:Z(h),_-=f?f.length:0,t&d){var v=a,y=f;a=f=n}var b=g?n:jo(e),x=[e,t,i,a,f,v,y,p,m,h];if(b&&os(x,b),e=x[0],t=x[1],i=x[2],a=x[3],f=x[4],h=x[9]=x[9]===n?g?0:e.length:F(x[9]-_,0),!h&&t&(c|l)&&(t&=~(c|l)),!t||t==o)var ee=to(e,t,i);else ee=t==c||t==l?ao(e,t,h):(t==u||t==(o|u))&&!f.length?mo(e,t,i,a):co.apply(n,x);return gs((b?ma:ps)(ee,x),e,t)}function So(e,t,r,i){return e===n||ql(e,M[r])&&!P.call(i,r)?t:e}function Co(e,t,r,i,a,o){return Y(e)&&Y(t)&&(o.set(t,e),$i(e,t,n,Co,o),o.delete(t)),e}function wo(e){return yu(e)?n:e}function To(e,t,r,i,a,o){var s=r&1,c=e.length,l=t.length;if(c!=l&&!(s&&l>c))return!1;var u=o.get(e),d=o.get(t);if(u&&d)return u==t&&d==e;var f=-1,p=!0,m=r&2?new Vr:n;for(o.set(e,t),o.set(t,e);++f<c;){var h=e[f],g=t[f];if(i)var _=s?i(g,h,f,t,e,o):i(h,g,f,e,t,o);if(_!==n){if(_)continue;p=!1;break}if(m){if(!bn(t,function(e,t){if(!Bn(m,t)&&(h===e||a(h,e,r,i,o)))return m.push(t)})){p=!1;break}}else if(!(h===g||a(h,g,r,i,o))){p=!1;break}}return o.delete(e),o.delete(t),p}function Eo(e,t,n,r,i,a,o){switch(n){case _e:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case ge:return!(e.byteLength!=t.byteLength||!a(new xt(e),new xt(t)));case T:case E:case ae:return ql(+e,+t);case ne:return e.name==t.name&&e.message==t.message;case ue:case de:return e==t+``;case ie:var s=Zn;case O:var c=r&1;if(s||=er,e.size!=t.size&&!c)return!1;var l=o.get(e);if(l)return l==t;r|=2,o.set(e,t);var u=To(s(e),s(t),r,i,a,o);return o.delete(e),u;case fe:if(hr)return hr.call(e)==hr.call(t)}return!1}function Do(e,t,r,i,a,o){var s=r&1,c=ko(e),l=c.length;if(l!=ko(t).length&&!s)return!1;for(var u=l;u--;){var d=c[u];if(!(s?d in t:P.call(t,d)))return!1}var f=o.get(e),p=o.get(t);if(f&&p)return f==t&&p==e;var m=!0;o.set(e,t),o.set(t,e);for(var h=s;++u<l;){d=c[u];var g=e[d],_=t[d];if(i)var v=s?i(_,g,d,t,e,o):i(g,_,d,e,t,o);if(!(v===n?g===_||a(g,_,r,i,o):v)){m=!1;break}h||=d==`constructor`}if(m&&!h){var y=e.constructor,b=t.constructor;y!=b&&`constructor`in e&&`constructor`in t&&!(typeof y==`function`&&y instanceof y&&typeof b==`function`&&b instanceof b)&&(m=!1)}return o.delete(e),o.delete(t),m}function Oo(e){return hs(ls(e,n,Ls),e+``)}function ko(e){return Ei(e,$,Ro)}function Ao(e){return Ei(e,ad,zo)}var jo=Sn?function(e){return Sn.get(e)}:xf;function Mo(e){for(var t=e.name+``,n=jn[t],r=P.call(jn,t)?n.length:0;r--;){var i=n[r],a=i.func;if(a==null||a==e)return i.name}return t}function No(e){return(P.call(H,`placeholder`)?H:e).placeholder}function K(){var e=H.iteratee||mf;return e=e===mf?Ki:e,arguments.length?e(arguments[0],arguments[1]):e}function Po(e,t){var n=e.__data__;return Qo(t)?n[typeof t==`string`?`string`:`hash`]:n.map}function Fo(e){for(var t=$(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,rs(i)]}return t}function Io(e,t){var r=qn(e,t);return Hi(r)?r:n}function Lo(e){var t=P.call(e,kt),r=e[kt];try{e[kt]=n;var i=!0}catch{}var a=ht.call(e);return i&&(t?e[kt]=r:delete e[kt]),a}var Ro=It?function(e){return e==null?[]:(e=j(e),mn(It(e),function(t){return Tt.call(e,t)}))}:Af,zo=It?function(e){for(var t=[];e;)_n(t,Ro(e)),e=Ct(e);return t}:Af,Bo=Di;(Zt&&Bo(new Zt(new ArrayBuffer(1)))!=_e||Qt&&Bo(new Qt)!=ie||$t&&Bo($t.resolve())!=ce||tn&&Bo(new tn)!=O||B&&Bo(new B)!=me)&&(Bo=function(e){var t=Di(e),r=t==se?e.constructor:n,i=r?xs(r):``;if(i)switch(i){case nr:return _e;case cr:return ie;case lr:return ce;case fr:return O;case pr:return me}return t});function Vo(e,t,n){for(var r=-1,i=n.length;++r<i;){var a=n[r],o=a.size;switch(a.type){case`drop`:e+=o;break;case`dropRight`:t-=o;break;case`take`:t=R(t,e+o);break;case`takeRight`:e=F(e,t-o)}}return{start:e,end:t}}function Ho(e){var t=e.match(We);return t?t[1].split(Ge):[]}function Uo(e,t,n){t=Na(t,e);for(var r=-1,i=t.length,a=!1;++r<i;){var o=bs(t[r]);if(!(a=e!=null&&n(e,o)))break;e=e[o]}return a||++r!=i?a:(i=e==null?0:e.length,!!i&&uu(i)&&Yo(o,i)&&(q(e)||Xl(e)))}function Wo(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]==`string`&&P.call(e,`index`)&&(n.index=e.index,n.input=e.input),n}function Go(e){return typeof e.constructor==`function`&&!ns(e)?_r(Ct(e)):{}}function Ko(e,t,n){var r=e.constructor;switch(t){case ge:return Ra(e);case T:case E:return new r(+e);case _e:return za(e,n);case ve:case ye:case be:case xe:case Se:case Ce:case we:case Te:case Ee:return Ha(e,n);case ie:return new r;case ae:case de:return new r(e);case ue:return Ba(e);case O:return new r;case fe:return Va(e)}}function qo(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?`& `:``)+t[r],t=t.join(n>2?`, `:` `),e.replace(Ue,`{
|
|
2
2
|
/* [wrapped with `+t+`] */
|
|
3
|
-
`)}function Jo(e){return q(e)||Xl(e)||!!(Dt&&e&&e[Dt])}function Yo(e,t){var n=typeof e;return t??=g,!!t&&(n==`number`||n!=`symbol`&&et.test(e))&&e>-1&&e%1==0&&e<t}function Xo(e,t,n){if(!Y(n))return!1;var r=typeof t;return(r==`number`?Ql(n)&&Yo(t,n.length):r==`string`&&t in n)?ql(n[t],e):!1}function Zo(e,t){if(q(e))return!1;var n=typeof e;return n==`number`||n==`symbol`||n==`boolean`||e==null||wu(e)?!0:Re.test(e)||!Le.test(e)||t!=null&&e in j(t)}function Qo(e){var t=typeof e;return t==`string`||t==`number`||t==`symbol`||t==`boolean`?e!==`__proto__`:e===null}function $o(e){var t=Mo(e),n=H[t];if(typeof n!=`function`||!(t in U.prototype))return!1;if(e===n)return!0;var r=jo(n);return!!r&&e===r[0]}function es(e){return!!mt&&mt in e}var ts=dt?cu:jf;function ns(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||ut)}function rs(e){return e===e&&!Y(e)}function is(e,t){return function(r){return r!=null&&r[e]===t&&(t!==n||e in j(r))}}function as(e){var t=kl(e,function(e){return n.size===500&&n.clear(),e}),n=t.cache;return t}function os(e,t){var n=e[1],r=t[1],i=n|r,l=i<(o|s|f),u=r==f&&n==c||r==f&&n==p&&e[7].length<=t[8]||r==(f|p)&&t[7].length<=t[8]&&n==c;if(!(l||u))return e;r&o&&(e[2]=t[2],i|=n&o?0:4);var d=t[3];if(d){var m=e[3];e[3]=m?Ga(m,d,t[4]):d,e[4]=m?$n(e[3],a):t[4]}return d=t[5],d&&(m=e[5],e[5]=m?Ka(m,d,t[6]):d,e[6]=m?$n(e[5],a):t[6]),d=t[7],d&&(e[7]=d),r&f&&(e[8]=e[8]==null?t[8]:R(e[8],t[8])),e[9]??=t[9],e[0]=t[0],e[1]=i,e}function ss(e){var t=[];if(e!=null)for(var n in j(e))t.push(n);return t}function cs(e){return ht.call(e)}function ls(e,t,r){return t=F(t===n?e.length-1:t,0),function(){for(var n=arguments,i=-1,a=F(n.length-t,0),o=k(a);++i<a;)o[i]=n[t+i];i=-1;for(var s=k(t+1);++i<t;)s[i]=n[i];return s[t]=r(o),ln(e,this,s)}}function us(e,t){return t.length<2?e:Ti(e,_a(t,0,-1))}function ds(e,t){for(var r=e.length,i=R(t.length,r),a=qa(e);i--;){var o=t[i];e[i]=Yo(o,r)?a[o]:n}return e}function fs(e,t){if((t!==`constructor`||typeof e[t]!=`function`)&&t!=`__proto__`)return e[t]}var ps=_s(ma),ms=Nt||function(e,t){return z.setTimeout(e,t)},hs=_s(ha);function gs(e,t,n){var r=t+``;return hs(e,qo(r,Ss(Ho(r),n)))}function _s(e){var t=0,r=0;return function(){var i=Gt(),a=16-(i-r);if(r=i,a>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(n,arguments)}}function vs(e,t){var r=-1,i=e.length,a=i-1;for(t=t===n?i:t;++r<t;){var o=ca(r,a),s=e[o];e[o]=e[r],e[r]=s}return e.length=t,e}var ys=as(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(``),e.replace(ze,function(e,n,r,i){t.push(r?i.replace(Je,`$1`):n||e)}),t});function bs(e){if(typeof e==`string`||wu(e))return e;var t=e+``;return t==`0`&&1/e==-1/0?`-0`:t}function xs(e){if(e!=null){try{return ft.call(e)}catch{}try{return e+``}catch{}}return``}function Ss(e,t){return dn(ee,function(n){var r=`_.`+n[0];t&n[1]&&!hn(e,r)&&e.push(r)}),e.sort()}function Cs(e){if(e instanceof U)return e.clone();var t=new yr(e.__wrapped__,e.__chain__);return t.__actions__=qa(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function ws(e,t,r){t=(r?Xo(e,t,r):t===n)?1:F(Z(t),0);var i=e==null?0:e.length;if(!i||t<1)return[];for(var a=0,o=0,s=k(Pt(i/t));a<i;)s[o++]=_a(e,a,a+=t);return s}function Ts(e){for(var t=-1,n=e==null?0:e.length,r=0,i=[];++t<n;){var a=e[t];a&&(i[r++]=a)}return i}function Es(){var e=arguments.length;if(!e)return[];for(var t=k(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return _n(q(n)?qa(n):[n],W(t,1))}var Ds=G(function(e,t){return J(e)?pi(e,W(t,1,J,!0)):[]}),Os=G(function(e,t){var r=Js(t);return J(r)&&(r=n),J(e)?pi(e,W(t,1,J,!0),K(r,2)):[]}),ks=G(function(e,t){var r=Js(t);return J(r)&&(r=n),J(e)?pi(e,W(t,1,J,!0),n,r):[]});function As(e,t,r){var i=e==null?0:e.length;return i?(t=r||t===n?1:Z(t),_a(e,t<0?0:t,i)):[]}function js(e,t,r){var i=e==null?0:e.length;return i?(t=r||t===n?1:Z(t),t=i-t,_a(e,0,t<0?0:t)):[]}function Ms(e,t){return e&&e.length?Da(e,K(t,3),!0,!0):[]}function Ns(e,t){return e&&e.length?Da(e,K(t,3),!0):[]}function Ps(e,t,n,r){var i=e==null?0:e.length;return i?(n&&typeof n!=`number`&&Xo(e,t,n)&&(n=0,r=i),vi(e,t,n,r)):[]}function Fs(e,t,n){var r=e==null?0:e.length;if(!r)return-1;var i=n==null?0:Z(n);return i<0&&(i=F(r+i,0)),Tn(e,K(t,3),i)}function Is(e,t,r){var i=e==null?0:e.length;if(!i)return-1;var a=i-1;return r!==n&&(a=Z(r),a=r<0?F(i+a,0):R(a,i-1)),Tn(e,K(t,3),a,!0)}function Ls(e){return e!=null&&e.length?W(e,1):[]}function Rs(e){return e!=null&&e.length?W(e,h):[]}function zs(e,t){return e!=null&&e.length?(t=t===n?1:Z(t),W(e,t)):[]}function Bs(e){for(var t=-1,n=e==null?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r}function Vs(e){return e&&e.length?e[0]:n}function Hs(e,t,n){var r=e==null?0:e.length;if(!r)return-1;var i=n==null?0:Z(n);return i<0&&(i=F(r+i,0)),En(e,t,i)}function Us(e){return e!=null&&e.length?_a(e,0,-1):[]}var Ws=G(function(e){var t=V(e,ja);return t.length&&t[0]===e[0]?Mi(t):[]}),Gs=G(function(e){var t=Js(e),r=V(e,ja);return t===Js(r)?t=n:r.pop(),r.length&&r[0]===e[0]?Mi(r,K(t,2)):[]}),Ks=G(function(e){var t=Js(e),r=V(e,ja);return t=typeof t==`function`?t:n,t&&r.pop(),r.length&&r[0]===e[0]?Mi(r,n,t):[]});function qs(e,t){return e==null?``:Vt.call(e,t)}function Js(e){var t=e==null?0:e.length;return t?e[t-1]:n}function Ys(e,t,r){var i=e==null?0:e.length;if(!i)return-1;var a=i;return r!==n&&(a=Z(r),a=a<0?F(i+a,0):R(a,i-1)),t===t?rr(e,t,a):Tn(e,On,a,!0)}function Xs(e,t){return e&&e.length?ta(e,Z(t)):n}var Zs=G(Qs);function Qs(e,t){return e&&e.length&&t&&t.length?oa(e,t):e}function $s(e,t,n){return e&&e.length&&t&&t.length?oa(e,t,K(n,2)):e}function ec(e,t,r){return e&&e.length&&t&&t.length?oa(e,t,n,r):e}var tc=Oo(function(e,t){var n=e==null?0:e.length,r=si(e,t);return sa(e,V(t,function(e){return Yo(e,n)?+e:e}).sort(Ua)),r});function nc(e,t){var n=[];if(!(e&&e.length))return n;var r=-1,i=[],a=e.length;for(t=K(t,3);++r<a;){var o=e[r];t(o,r,e)&&(n.push(o),i.push(r))}return sa(e,i),n}function rc(e){return e==null?e:Xt.call(e)}function ic(e,t,r){var i=e==null?0:e.length;return i?(r&&typeof r!=`number`&&Xo(e,t,r)?(t=0,r=i):(t=t==null?0:Z(t),r=r===n?i:Z(r)),_a(e,t,r)):[]}function ac(e,t){return ya(e,t)}function oc(e,t,n){return ba(e,t,K(n,2))}function sc(e,t){var n=e==null?0:e.length;if(n){var r=ya(e,t);if(r<n&&ql(e[r],t))return r}return-1}function cc(e,t){return ya(e,t,!0)}function lc(e,t,n){return ba(e,t,K(n,2),!0)}function uc(e,t){if(e!=null&&e.length){var n=ya(e,t,!0)-1;if(ql(e[n],t))return n}return-1}function dc(e){return e&&e.length?xa(e):[]}function fc(e,t){return e&&e.length?xa(e,K(t,2)):[]}function pc(e){var t=e==null?0:e.length;return t?_a(e,1,t):[]}function mc(e,t,r){return e&&e.length?(t=r||t===n?1:Z(t),_a(e,0,t<0?0:t)):[]}function hc(e,t,r){var i=e==null?0:e.length;return i?(t=r||t===n?1:Z(t),t=i-t,_a(e,t<0?0:t,i)):[]}function gc(e,t){return e&&e.length?Da(e,K(t,3),!1,!0):[]}function _c(e,t){return e&&e.length?Da(e,K(t,3)):[]}var vc=G(function(e){return wa(W(e,1,J,!0))}),yc=G(function(e){var t=Js(e);return J(t)&&(t=n),wa(W(e,1,J,!0),K(t,2))}),bc=G(function(e){var t=Js(e);return t=typeof t==`function`?t:n,wa(W(e,1,J,!0),n,t)});function xc(e){return e&&e.length?wa(e):[]}function Sc(e,t){return e&&e.length?wa(e,K(t,2)):[]}function Cc(e,t){return t=typeof t==`function`?t:n,e&&e.length?wa(e,n,t):[]}function wc(e){if(!(e&&e.length))return[];var t=0;return e=mn(e,function(e){if(J(e))return t=F(e.length,t),!0}),Fn(t,function(t){return V(e,An(t))})}function Tc(e,t){if(!(e&&e.length))return[];var r=wc(e);return t==null?r:V(r,function(e){return ln(t,n,e)})}var Ec=G(function(e,t){return J(e)?pi(e,t):[]}),Dc=G(function(e){return ka(mn(e,J))}),Oc=G(function(e){var t=Js(e);return J(t)&&(t=n),ka(mn(e,J),K(t,2))}),kc=G(function(e){var t=Js(e);return t=typeof t==`function`?t:n,ka(mn(e,J),n,t)}),Ac=G(wc);function jc(e,t){return Aa(e||[],t||[],ti)}function Mc(e,t){return Aa(e||[],t||[],pa)}var Nc=G(function(e){var t=e.length,r=t>1?e[t-1]:n;return r=typeof r==`function`?(e.pop(),r):n,Tc(e,r)});function Pc(e){var t=H(e);return t.__chain__=!0,t}function Fc(e,t){return t(e),e}function Ic(e,t){return t(e)}var Lc=Oo(function(e){var t=e.length,r=t?e[0]:0,i=this.__wrapped__,a=function(t){return si(t,e)};return t>1||this.__actions__.length||!(i instanceof U)||!Yo(r)?this.thru(a):(i=i.slice(r,+r+ +!!t),i.__actions__.push({func:Ic,args:[a],thisArg:n}),new yr(i,this.__chain__).thru(function(e){return t&&!e.length&&e.push(n),e}))});function Rc(){return Pc(this)}function zc(){return new yr(this.value(),this.__chain__)}function Bc(){this.__values__===n&&(this.__values__=ju(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?n:this.__values__[this.__index__++]}}function Vc(){return this}function Hc(e){for(var t,r=this;r instanceof vr;){var i=Cs(r);i.__index__=0,i.__values__=n,t?a.__wrapped__=i:t=i;var a=i;r=r.__wrapped__}return a.__wrapped__=e,t}function Uc(){var e=this.__wrapped__;if(e instanceof U){var t=e;return this.__actions__.length&&(t=new U(this)),t=t.reverse(),t.__actions__.push({func:Ic,args:[rc],thisArg:n}),new yr(t,this.__chain__)}return this.thru(rc)}function Wc(){return Oa(this.__wrapped__,this.__actions__)}var Gc=Za(function(e,t,n){P.call(e,n)?++e[n]:oi(e,n,1)});function Kc(e,t,r){var i=q(e)?pn:gi;return r&&Xo(e,t,r)&&(t=n),i(e,K(t,3))}function qc(e,t){return(q(e)?mn:yi)(e,K(t,3))}var Jc=oo(Fs),Yc=oo(Is);function Xc(e,t){return W(al(e,t),1)}function Zc(e,t){return W(al(e,t),h)}function Qc(e,t,r){return r=r===n?1:Z(r),W(al(e,t),r)}function $c(e,t){return(q(e)?dn:mi)(e,K(t,3))}function el(e,t){return(q(e)?fn:hi)(e,K(t,3))}var tl=Za(function(e,t,n){P.call(e,n)?e[n].push(t):oi(e,n,[t])});function nl(e,t,n,r){e=Ql(e)?e:Cd(e),n=n&&!r?Z(n):0;var i=e.length;return n<0&&(n=F(i+n,0)),Cu(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&En(e,t,n)>-1}var rl=G(function(e,t,n){var r=-1,i=typeof t==`function`,a=Ql(e)?k(e.length):[];return mi(e,function(e){a[++r]=i?ln(t,e,n):Pi(e,t,n)}),a}),il=Za(function(e,t,n){oi(e,n,t)});function al(e,t){return(q(e)?V:Xi)(e,K(t,3))}function ol(e,t,r,i){return e==null?[]:(q(t)||(t=t==null?[]:[t]),r=i?n:r,q(r)||(r=r==null?[]:[r]),na(e,t,r))}var sl=Za(function(e,t,n){e[+!n].push(t)},function(){return[[],[]]});function cl(e,t,n){var r=q(e)?vn:Mn,i=arguments.length<3;return r(e,K(t,4),n,i,mi)}function ll(e,t,n){var r=q(e)?yn:Mn,i=arguments.length<3;return r(e,K(t,4),n,i,hi)}function ul(e,t){return(q(e)?mn:yi)(e,Al(K(t,3)))}function dl(e){return(q(e)?Zr:da)(e)}function fl(e,t,r){return t=(r?Xo(e,t,r):t===n)?1:Z(t),(q(e)?Qr:fa)(e,t)}function pl(e){return(q(e)?$r:ga)(e)}function ml(e){if(e==null)return 0;if(Ql(e))return Cu(e)?ir(e):e.length;var t=Bo(e);return t==ie||t==O?e.size:qi(e).length}function hl(e,t,r){var i=q(e)?bn:va;return r&&Xo(e,t,r)&&(t=n),i(e,K(t,3))}var gl=G(function(e,t){if(e==null)return[];var n=t.length;return n>1&&Xo(e,t[0],t[1])?t=[]:n>2&&Xo(t[0],t[1],t[2])&&(t=[t[0]]),na(e,W(t,1),[])}),_l=Mt||function(){return z.Date.now()};function vl(e,t){if(typeof t!=`function`)throw new M(r);return e=Z(e),function(){if(--e<1)return t.apply(this,arguments)}}function yl(e,t,r){return t=r?n:t,t=e&&t==null?e.length:t,xo(e,f,n,n,n,n,t)}function bl(e,t){var i;if(typeof t!=`function`)throw new M(r);return e=Z(e),function(){return--e>0&&(i=t.apply(this,arguments)),e<=1&&(t=n),i}}var xl=G(function(e,t,n){var r=o;if(n.length){var i=$n(n,No(xl));r|=u}return xo(e,r,t,n,i)}),Sl=G(function(e,t,n){var r=o|s;if(n.length){var i=$n(n,No(Sl));r|=u}return xo(t,r,e,n,i)});function Cl(e,t,r){t=r?n:t;var i=xo(e,c,n,n,n,n,n,t);return i.placeholder=Cl.placeholder,i}function wl(e,t,r){t=r?n:t;var i=xo(e,l,n,n,n,n,n,t);return i.placeholder=wl.placeholder,i}function Tl(e,t,i){var a,o,s,c,l,u,d=0,f=!1,p=!1,m=!0;if(typeof e!=`function`)throw new M(r);t=Pu(t)||0,Y(i)&&(f=!!i.leading,p=`maxWait`in i,s=p?F(Pu(i.maxWait)||0,t):s,m=`trailing`in i?!!i.trailing:m);function h(t){var r=a,i=o;return a=o=n,d=t,c=e.apply(i,r),c}function g(e){return d=e,l=ms(y,t),f?h(e):c}function _(e){var n=e-u,r=e-d,i=t-n;return p?R(i,s-r):i}function v(e){var r=e-u,i=e-d;return u===n||r>=t||r<0||p&&i>=s}function y(){var e=_l();if(v(e))return b(e);l=ms(y,_(e))}function b(e){return l=n,m&&a?h(e):(a=o=n,c)}function x(){l!==n&&Ia(l),d=0,a=u=o=l=n}function ee(){return l===n?c:b(_l())}function S(){var e=_l(),r=v(e);if(a=arguments,o=this,u=e,r){if(l===n)return g(u);if(p)return Ia(l),l=ms(y,t),h(u)}return l===n&&(l=ms(y,t)),c}return S.cancel=x,S.flush=ee,S}var El=G(function(e,t){return fi(e,1,t)}),Dl=G(function(e,t,n){return fi(e,Pu(t)||0,n)});function Ol(e){return xo(e,m)}function kl(e,t){if(typeof e!=`function`||t!=null&&typeof t!=`function`)throw new M(r);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(kl.Cache||Fr),n}kl.Cache=Fr;function Al(e){if(typeof e!=`function`)throw new M(r);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function jl(e){return bl(2,e)}var Ml=Pa(function(e,t){t=t.length==1&&q(t[0])?V(t[0],Rn(K())):V(W(t,1),Rn(K()));var n=t.length;return G(function(r){for(var i=-1,a=R(r.length,n);++i<a;)r[i]=t[i].call(this,r[i]);return ln(e,this,r)})}),Nl=G(function(e,t){return xo(e,u,n,t,$n(t,No(Nl)))}),Pl=G(function(e,t){return xo(e,d,n,t,$n(t,No(Pl)))}),Fl=Oo(function(e,t){return xo(e,p,n,n,n,t)});function Il(e,t){if(typeof e!=`function`)throw new M(r);return t=t===n?t:Z(t),G(e,t)}function Ll(e,t){if(typeof e!=`function`)throw new M(r);return t=t==null?0:F(Z(t),0),G(function(n){var r=n[t],i=Fa(n,0,t);return r&&_n(i,r),ln(e,this,i)})}function Rl(e,t,n){var i=!0,a=!0;if(typeof e!=`function`)throw new M(r);return Y(n)&&(i=`leading`in n?!!n.leading:i,a=`trailing`in n?!!n.trailing:a),Tl(e,t,{leading:i,maxWait:t,trailing:a})}function zl(e){return yl(e,1)}function Bl(e,t){return Nl(Ma(t),e)}function Vl(){if(!arguments.length)return[];var e=arguments[0];return q(e)?e:[e]}function Hl(e){return li(e,4)}function Ul(e,t){return t=typeof t==`function`?t:n,li(e,4,t)}function Wl(e){return li(e,5)}function Gl(e,t){return t=typeof t==`function`?t:n,li(e,5,t)}function Kl(e,t){return t==null||di(e,t,$(t))}function ql(e,t){return e===t||e!==e&&t!==t}var Jl=go(Oi),Yl=go(function(e,t){return e>=t}),Xl=Fi(function(){return arguments}())?Fi:function(e){return X(e)&&P.call(e,`callee`)&&!Tt.call(e,`callee`)},q=k.isArray,Zl=nn?Rn(nn):Ii;function Ql(e){return e!=null&&uu(e.length)&&!cu(e)}function J(e){return X(e)&&Ql(e)}function $l(e){return e===!0||e===!1||X(e)&&Di(e)==T}var eu=Lt||jf,tu=rn?Rn(rn):Li;function nu(e){return X(e)&&e.nodeType===1&&!yu(e)}function ru(e){if(e==null)return!0;if(Ql(e)&&(q(e)||typeof e==`string`||typeof e.splice==`function`||eu(e)||Tu(e)||Xl(e)))return!e.length;var t=Bo(e);if(t==ie||t==O)return!e.size;if(ns(e))return!qi(e).length;for(var n in e)if(P.call(e,n))return!1;return!0}function iu(e,t){return Ri(e,t)}function au(e,t,r){r=typeof r==`function`?r:n;var i=r?r(e,t):n;return i===n?Ri(e,t,n,r):!!i}function ou(e){if(!X(e))return!1;var t=Di(e);return t==ne||t==te||typeof e.message==`string`&&typeof e.name==`string`&&!yu(e)}function su(e){return typeof e==`number`&&Bt(e)}function cu(e){if(!Y(e))return!1;var t=Di(e);return t==D||t==re||t==w||t==le}function lu(e){return typeof e==`number`&&e==Z(e)}function uu(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=g}function Y(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}function X(e){return typeof e==`object`&&!!e}var du=an?Rn(an):Bi;function fu(e,t){return e===t||Vi(e,t,Fo(t))}function pu(e,t,r){return r=typeof r==`function`?r:n,Vi(e,t,Fo(t),r)}function mu(e){return vu(e)&&e!=+e}function hu(e){if(ts(e))throw new it(`Unsupported core-js use. Try https://npms.io/search?q=ponyfill.`);return Hi(e)}function gu(e){return e===null}function _u(e){return e==null}function vu(e){return typeof e==`number`||X(e)&&Di(e)==ae}function yu(e){if(!X(e)||Di(e)!=se)return!1;var t=Ct(e);if(t===null)return!0;var n=P.call(t,`constructor`)&&t.constructor;return typeof n==`function`&&n instanceof n&&ft.call(n)==gt}var bu=on?Rn(on):Ui;function xu(e){return lu(e)&&e>=-g&&e<=g}var Su=sn?Rn(sn):Wi;function Cu(e){return typeof e==`string`||!q(e)&&X(e)&&Di(e)==de}function wu(e){return typeof e==`symbol`||X(e)&&Di(e)==fe}var Tu=cn?Rn(cn):Gi;function Eu(e){return e===n}function Du(e){return X(e)&&Bo(e)==me}function Ou(e){return X(e)&&Di(e)==he}var ku=go(Yi),Au=go(function(e,t){return e<=t});function ju(e){if(!e)return[];if(Ql(e))return Cu(e)?ar(e):qa(e);if(Ot&&e[Ot])return Xn(e[Ot]());var t=Bo(e);return(t==ie?Zn:t==O?er:Cd)(e)}function Mu(e){return e?(e=Pu(e),e===h||e===-1/0?(e<0?-1:1)*_:e===e?e:0):e===0?e:0}function Z(e){var t=Mu(e),n=t%1;return t===t?n?t-n:t:0}function Nu(e){return e?ci(Z(e),0,y):0}function Pu(e){if(typeof e==`number`)return e;if(wu(e))return v;if(Y(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=Y(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=Ln(e);var n=Ze.test(e);return n||$e.test(e)?Yt(e.slice(2),n?2:8):A.test(e)?v:+e}function Fu(e){return Ja(e,ad(e))}function Iu(e){return e?ci(Z(e),-g,g):e===0?e:0}function Q(e){return e==null?``:Ca(e)}var Lu=Qa(function(e,t){if(ns(t)||Ql(t)){Ja(t,$(t),e);return}for(var n in t)P.call(t,n)&&ti(e,n,t[n])}),Ru=Qa(function(e,t){Ja(t,ad(t),e)}),zu=Qa(function(e,t,n,r){Ja(t,ad(t),e,r)}),Bu=Qa(function(e,t,n,r){Ja(t,$(t),e,r)}),Vu=Oo(si);function Hu(e,t){var n=_r(e);return t==null?n:ii(n,t)}var Uu=G(function(e,t){e=j(e);var r=-1,i=t.length,a=i>2?t[2]:n;for(a&&Xo(t[0],t[1],a)&&(i=1);++r<i;)for(var o=t[r],s=ad(o),c=-1,l=s.length;++c<l;){var u=s[c],d=e[u];(d===n||ql(d,ut[u])&&!P.call(e,u))&&(e[u]=o[u])}return e}),Wu=G(function(e){return e.push(n,Co),ln(ld,n,e)});function Gu(e,t){return wn(e,K(t,3),Si)}function Ku(e,t){return wn(e,K(t,3),Ci)}function qu(e,t){return e==null?e:bi(e,K(t,3),ad)}function Ju(e,t){return e==null?e:xi(e,K(t,3),ad)}function Yu(e,t){return e&&Si(e,K(t,3))}function Xu(e,t){return e&&Ci(e,K(t,3))}function Zu(e){return e==null?[]:wi(e,$(e))}function Qu(e){return e==null?[]:wi(e,ad(e))}function $u(e,t,r){var i=e==null?n:Ti(e,t);return i===n?r:i}function ed(e,t){return e!=null&&Uo(e,t,ki)}function td(e,t){return e!=null&&Uo(e,t,Ai)}var nd=lo(function(e,t,n){t!=null&&typeof t.toString!=`function`&&(t=ht.call(t)),e[t]=n},lf(pf)),rd=lo(function(e,t,n){t!=null&&typeof t.toString!=`function`&&(t=ht.call(t)),P.call(e,t)?e[t].push(n):e[t]=[n]},K),id=G(Pi);function $(e){return Ql(e)?Xr(e):qi(e)}function ad(e){return Ql(e)?Xr(e,!0):Ji(e)}function od(e,t){var n={};return t=K(t,3),Si(e,function(e,r,i){oi(n,t(e,r,i),e)}),n}function sd(e,t){var n={};return t=K(t,3),Si(e,function(e,r,i){oi(n,r,t(e,r,i))}),n}var cd=Qa(function(e,t,n){$i(e,t,n)}),ld=Qa(function(e,t,n,r){$i(e,t,n,r)}),ud=Oo(function(e,t){var n={};if(e==null)return n;var r=!1;t=V(t,function(t){return t=Na(t,e),r||=t.length>1,t}),Ja(e,Ao(e),n),r&&(n=li(n,7,wo));for(var i=t.length;i--;)Ta(n,t[i]);return n});function dd(e,t){return pd(e,Al(K(t)))}var fd=Oo(function(e,t){return e==null?{}:ra(e,t)});function pd(e,t){if(e==null)return{};var n=V(Ao(e),function(e){return[e]});return t=K(t),ia(e,n,function(e,n){return t(e,n[0])})}function md(e,t,r){t=Na(t,e);var i=-1,a=t.length;for(a||(a=1,e=n);++i<a;){var o=e==null?n:e[bs(t[i])];o===n&&(i=a,o=r),e=cu(o)?o.call(e):o}return e}function hd(e,t,n){return e==null?e:pa(e,t,n)}function gd(e,t,r,i){return i=typeof i==`function`?i:n,e==null?e:pa(e,t,r,i)}var _d=bo($),vd=bo(ad);function yd(e,t,n){var r=q(e),i=r||eu(e)||Tu(e);if(t=K(t,4),n==null){var a=e&&e.constructor;n=i?r?new a:[]:Y(e)&&cu(a)?_r(Ct(e)):{}}return(i?dn:Si)(e,function(e,r,i){return t(n,e,r,i)}),n}function bd(e,t){return e==null||Ta(e,t)}function xd(e,t,n){return e==null?e:Ea(e,t,Ma(n))}function Sd(e,t,r,i){return i=typeof i==`function`?i:n,e==null?e:Ea(e,t,Ma(r),i)}function Cd(e){return e==null?[]:zn(e,$(e))}function wd(e){return e==null?[]:zn(e,ad(e))}function Td(e,t,r){return r===n&&(r=t,t=n),r!==n&&(r=Pu(r),r=r===r?r:0),t!==n&&(t=Pu(t),t=t===t?t:0),ci(Pu(e),t,r)}function Ed(e,t,r){return t=Mu(t),r===n?(r=t,t=0):r=Mu(r),e=Pu(e),ji(e,t,r)}function Dd(e,t,r){if(r&&typeof r!=`boolean`&&Xo(e,t,r)&&(t=r=n),r===n&&(typeof t==`boolean`?(r=t,t=n):typeof e==`boolean`&&(r=e,e=n)),e===n&&t===n?(e=0,t=1):(e=Mu(e),t===n?(t=e,e=0):t=Mu(t)),e>t){var i=e;e=t,t=i}if(r||e%1||t%1){var a=qt();return R(e+a*(t-e+Jt(`1e-`+((a+``).length-1))),t)}return ca(e,t)}var Od=ro(function(e,t,n){return t=t.toLowerCase(),e+(n?kd(t):t)});function kd(e){return nf(Q(e).toLowerCase())}function Ad(e){return e=Q(e),e&&e.replace(tt,Wn).replace(zt,``)}function jd(e,t,r){e=Q(e),t=Ca(t);var i=e.length;r=r===n?i:ci(Z(r),0,i);var a=r;return r-=t.length,r>=0&&e.slice(r,a)==t}function Md(e){return e=Q(e),e&&Ne.test(e)?e.replace(je,Gn):e}function Nd(e){return e=Q(e),e&&Ve.test(e)?e.replace(Be,`\\$&`):e}var Pd=ro(function(e,t,n){return e+(n?`-`:``)+t.toLowerCase()}),Fd=ro(function(e,t,n){return e+(n?` `:``)+t.toLowerCase()}),Id=no(`toLowerCase`);function Ld(e,t,n){e=Q(e),t=Z(t);var r=t?ir(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return po(Ft(i),n)+e+po(Pt(i),n)}function Rd(e,t,n){e=Q(e),t=Z(t);var r=t?ir(e):0;return t&&r<t?e+po(t-r,n):e}function zd(e,t,n){e=Q(e),t=Z(t);var r=t?ir(e):0;return t&&r<t?po(t-r,n)+e:e}function Bd(e,t,n){return n||t==null?t=0:t&&=+t,Kt(Q(e).replace(He,``),t||0)}function Vd(e,t,r){return t=(r?Xo(e,t,r):t===n)?1:Z(t),ua(Q(e),t)}function Hd(){var e=arguments,t=Q(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var Ud=ro(function(e,t,n){return e+(n?`_`:``)+t.toLowerCase()});function Wd(e,t,r){return r&&typeof r!=`number`&&Xo(e,t,r)&&(t=r=n),r=r===n?y:r>>>0,r?(e=Q(e),e&&(typeof t==`string`||t!=null&&!bu(t))&&(t=Ca(t),!t&&Jn(e))?Fa(ar(e),0,r):e.split(t,r)):[]}var Gd=ro(function(e,t,n){return e+(n?` `:``)+nf(t)});function Kd(e,t,n){return e=Q(e),n=n==null?0:ci(Z(n),0,e.length),t=Ca(t),e.slice(n,n+t.length)==t}function qd(e,t,r){var i=H.templateSettings;r&&Xo(e,t,r)&&(t=n),e=Q(e),t=zu({},t,i,So);var a=zu({},t.imports,i.imports,So),o=$(a),s=zn(a,o),c,l,u=0,d=t.interpolate||nt,f=`__p += '`,p=st((t.escape||nt).source+`|`+d.source+`|`+(d===Ie?Ye:nt).source+`|`+(t.evaluate||nt).source+`|$`,`g`),m=`//# sourceURL=`+(P.call(t,`sourceURL`)?(t.sourceURL+``).replace(/\s/g,` `):`lodash.templateSources[`+ ++Wt+`]`)+`
|
|
3
|
+
`)}function Jo(e){return q(e)||Xl(e)||!!(Dt&&e&&e[Dt])}function Yo(e,t){var n=typeof e;return t??=g,!!t&&(n==`number`||n!=`symbol`&&et.test(e))&&e>-1&&e%1==0&&e<t}function Xo(e,t,n){if(!Y(n))return!1;var r=typeof t;return(r==`number`?Ql(n)&&Yo(t,n.length):r==`string`&&t in n)?ql(n[t],e):!1}function Zo(e,t){if(q(e))return!1;var n=typeof e;return n==`number`||n==`symbol`||n==`boolean`||e==null||wu(e)?!0:Re.test(e)||!Le.test(e)||t!=null&&e in j(t)}function Qo(e){var t=typeof e;return t==`string`||t==`number`||t==`symbol`||t==`boolean`?e!==`__proto__`:e===null}function $o(e){var t=Mo(e),n=H[t];if(typeof n!=`function`||!(t in U.prototype))return!1;if(e===n)return!0;var r=jo(n);return!!r&&e===r[0]}function es(e){return!!mt&&mt in e}var ts=N?cu:jf;function ns(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||M)}function rs(e){return e===e&&!Y(e)}function is(e,t){return function(r){return r!=null&&r[e]===t&&(t!==n||e in j(r))}}function as(e){var t=kl(e,function(e){return n.size===500&&n.clear(),e}),n=t.cache;return t}function os(e,t){var n=e[1],r=t[1],i=n|r,l=i<(o|s|f),u=r==f&&n==c||r==f&&n==p&&e[7].length<=t[8]||r==(f|p)&&t[7].length<=t[8]&&n==c;if(!(l||u))return e;r&o&&(e[2]=t[2],i|=n&o?0:4);var d=t[3];if(d){var m=e[3];e[3]=m?Ga(m,d,t[4]):d,e[4]=m?$n(e[3],a):t[4]}return d=t[5],d&&(m=e[5],e[5]=m?Ka(m,d,t[6]):d,e[6]=m?$n(e[5],a):t[6]),d=t[7],d&&(e[7]=d),r&f&&(e[8]=e[8]==null?t[8]:R(e[8],t[8])),e[9]??=t[9],e[0]=t[0],e[1]=i,e}function ss(e){var t=[];if(e!=null)for(var n in j(e))t.push(n);return t}function cs(e){return ht.call(e)}function ls(e,t,r){return t=F(t===n?e.length-1:t,0),function(){for(var n=arguments,i=-1,a=F(n.length-t,0),o=k(a);++i<a;)o[i]=n[t+i];i=-1;for(var s=k(t+1);++i<t;)s[i]=n[i];return s[t]=r(o),ln(e,this,s)}}function us(e,t){return t.length<2?e:Ti(e,_a(t,0,-1))}function ds(e,t){for(var r=e.length,i=R(t.length,r),a=qa(e);i--;){var o=t[i];e[i]=Yo(o,r)?a[o]:n}return e}function fs(e,t){if((t!==`constructor`||typeof e[t]!=`function`)&&t!=`__proto__`)return e[t]}var ps=_s(ma),ms=Nt||function(e,t){return z.setTimeout(e,t)},hs=_s(ha);function gs(e,t,n){var r=t+``;return hs(e,qo(r,Ss(Ho(r),n)))}function _s(e){var t=0,r=0;return function(){var i=Gt(),a=16-(i-r);if(r=i,a>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(n,arguments)}}function vs(e,t){var r=-1,i=e.length,a=i-1;for(t=t===n?i:t;++r<t;){var o=ca(r,a),s=e[o];e[o]=e[r],e[r]=s}return e.length=t,e}var ys=as(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(``),e.replace(ze,function(e,n,r,i){t.push(r?i.replace(Je,`$1`):n||e)}),t});function bs(e){if(typeof e==`string`||wu(e))return e;var t=e+``;return t==`0`&&1/e==-1/0?`-0`:t}function xs(e){if(e!=null){try{return ft.call(e)}catch{}try{return e+``}catch{}}return``}function Ss(e,t){return dn(ee,function(n){var r=`_.`+n[0];t&n[1]&&!hn(e,r)&&e.push(r)}),e.sort()}function Cs(e){if(e instanceof U)return e.clone();var t=new yr(e.__wrapped__,e.__chain__);return t.__actions__=qa(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function ws(e,t,r){t=(r?Xo(e,t,r):t===n)?1:F(Z(t),0);var i=e==null?0:e.length;if(!i||t<1)return[];for(var a=0,o=0,s=k(Pt(i/t));a<i;)s[o++]=_a(e,a,a+=t);return s}function Ts(e){for(var t=-1,n=e==null?0:e.length,r=0,i=[];++t<n;){var a=e[t];a&&(i[r++]=a)}return i}function Es(){var e=arguments.length;if(!e)return[];for(var t=k(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return _n(q(n)?qa(n):[n],W(t,1))}var Ds=G(function(e,t){return J(e)?pi(e,W(t,1,J,!0)):[]}),Os=G(function(e,t){var r=Js(t);return J(r)&&(r=n),J(e)?pi(e,W(t,1,J,!0),K(r,2)):[]}),ks=G(function(e,t){var r=Js(t);return J(r)&&(r=n),J(e)?pi(e,W(t,1,J,!0),n,r):[]});function As(e,t,r){var i=e==null?0:e.length;return i?(t=r||t===n?1:Z(t),_a(e,t<0?0:t,i)):[]}function js(e,t,r){var i=e==null?0:e.length;return i?(t=r||t===n?1:Z(t),t=i-t,_a(e,0,t<0?0:t)):[]}function Ms(e,t){return e&&e.length?Da(e,K(t,3),!0,!0):[]}function Ns(e,t){return e&&e.length?Da(e,K(t,3),!0):[]}function Ps(e,t,n,r){var i=e==null?0:e.length;return i?(n&&typeof n!=`number`&&Xo(e,t,n)&&(n=0,r=i),vi(e,t,n,r)):[]}function Fs(e,t,n){var r=e==null?0:e.length;if(!r)return-1;var i=n==null?0:Z(n);return i<0&&(i=F(r+i,0)),Tn(e,K(t,3),i)}function Is(e,t,r){var i=e==null?0:e.length;if(!i)return-1;var a=i-1;return r!==n&&(a=Z(r),a=r<0?F(i+a,0):R(a,i-1)),Tn(e,K(t,3),a,!0)}function Ls(e){return e!=null&&e.length?W(e,1):[]}function Rs(e){return e!=null&&e.length?W(e,h):[]}function zs(e,t){return e!=null&&e.length?(t=t===n?1:Z(t),W(e,t)):[]}function Bs(e){for(var t=-1,n=e==null?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r}function Vs(e){return e&&e.length?e[0]:n}function Hs(e,t,n){var r=e==null?0:e.length;if(!r)return-1;var i=n==null?0:Z(n);return i<0&&(i=F(r+i,0)),En(e,t,i)}function Us(e){return e!=null&&e.length?_a(e,0,-1):[]}var Ws=G(function(e){var t=V(e,ja);return t.length&&t[0]===e[0]?Mi(t):[]}),Gs=G(function(e){var t=Js(e),r=V(e,ja);return t===Js(r)?t=n:r.pop(),r.length&&r[0]===e[0]?Mi(r,K(t,2)):[]}),Ks=G(function(e){var t=Js(e),r=V(e,ja);return t=typeof t==`function`?t:n,t&&r.pop(),r.length&&r[0]===e[0]?Mi(r,n,t):[]});function qs(e,t){return e==null?``:Vt.call(e,t)}function Js(e){var t=e==null?0:e.length;return t?e[t-1]:n}function Ys(e,t,r){var i=e==null?0:e.length;if(!i)return-1;var a=i;return r!==n&&(a=Z(r),a=a<0?F(i+a,0):R(a,i-1)),t===t?rr(e,t,a):Tn(e,On,a,!0)}function Xs(e,t){return e&&e.length?ta(e,Z(t)):n}var Zs=G(Qs);function Qs(e,t){return e&&e.length&&t&&t.length?oa(e,t):e}function $s(e,t,n){return e&&e.length&&t&&t.length?oa(e,t,K(n,2)):e}function ec(e,t,r){return e&&e.length&&t&&t.length?oa(e,t,n,r):e}var tc=Oo(function(e,t){var n=e==null?0:e.length,r=si(e,t);return sa(e,V(t,function(e){return Yo(e,n)?+e:e}).sort(Ua)),r});function nc(e,t){var n=[];if(!(e&&e.length))return n;var r=-1,i=[],a=e.length;for(t=K(t,3);++r<a;){var o=e[r];t(o,r,e)&&(n.push(o),i.push(r))}return sa(e,i),n}function rc(e){return e==null?e:Xt.call(e)}function ic(e,t,r){var i=e==null?0:e.length;return i?(r&&typeof r!=`number`&&Xo(e,t,r)?(t=0,r=i):(t=t==null?0:Z(t),r=r===n?i:Z(r)),_a(e,t,r)):[]}function ac(e,t){return ya(e,t)}function oc(e,t,n){return ba(e,t,K(n,2))}function sc(e,t){var n=e==null?0:e.length;if(n){var r=ya(e,t);if(r<n&&ql(e[r],t))return r}return-1}function cc(e,t){return ya(e,t,!0)}function lc(e,t,n){return ba(e,t,K(n,2),!0)}function uc(e,t){if(e!=null&&e.length){var n=ya(e,t,!0)-1;if(ql(e[n],t))return n}return-1}function dc(e){return e&&e.length?xa(e):[]}function fc(e,t){return e&&e.length?xa(e,K(t,2)):[]}function pc(e){var t=e==null?0:e.length;return t?_a(e,1,t):[]}function mc(e,t,r){return e&&e.length?(t=r||t===n?1:Z(t),_a(e,0,t<0?0:t)):[]}function hc(e,t,r){var i=e==null?0:e.length;return i?(t=r||t===n?1:Z(t),t=i-t,_a(e,t<0?0:t,i)):[]}function gc(e,t){return e&&e.length?Da(e,K(t,3),!1,!0):[]}function _c(e,t){return e&&e.length?Da(e,K(t,3)):[]}var vc=G(function(e){return wa(W(e,1,J,!0))}),yc=G(function(e){var t=Js(e);return J(t)&&(t=n),wa(W(e,1,J,!0),K(t,2))}),bc=G(function(e){var t=Js(e);return t=typeof t==`function`?t:n,wa(W(e,1,J,!0),n,t)});function xc(e){return e&&e.length?wa(e):[]}function Sc(e,t){return e&&e.length?wa(e,K(t,2)):[]}function Cc(e,t){return t=typeof t==`function`?t:n,e&&e.length?wa(e,n,t):[]}function wc(e){if(!(e&&e.length))return[];var t=0;return e=mn(e,function(e){if(J(e))return t=F(e.length,t),!0}),Fn(t,function(t){return V(e,An(t))})}function Tc(e,t){if(!(e&&e.length))return[];var r=wc(e);return t==null?r:V(r,function(e){return ln(t,n,e)})}var Ec=G(function(e,t){return J(e)?pi(e,t):[]}),Dc=G(function(e){return ka(mn(e,J))}),Oc=G(function(e){var t=Js(e);return J(t)&&(t=n),ka(mn(e,J),K(t,2))}),kc=G(function(e){var t=Js(e);return t=typeof t==`function`?t:n,ka(mn(e,J),n,t)}),Ac=G(wc);function jc(e,t){return Aa(e||[],t||[],ti)}function Mc(e,t){return Aa(e||[],t||[],pa)}var Nc=G(function(e){var t=e.length,r=t>1?e[t-1]:n;return r=typeof r==`function`?(e.pop(),r):n,Tc(e,r)});function Pc(e){var t=H(e);return t.__chain__=!0,t}function Fc(e,t){return t(e),e}function Ic(e,t){return t(e)}var Lc=Oo(function(e){var t=e.length,r=t?e[0]:0,i=this.__wrapped__,a=function(t){return si(t,e)};return t>1||this.__actions__.length||!(i instanceof U)||!Yo(r)?this.thru(a):(i=i.slice(r,+r+ +!!t),i.__actions__.push({func:Ic,args:[a],thisArg:n}),new yr(i,this.__chain__).thru(function(e){return t&&!e.length&&e.push(n),e}))});function Rc(){return Pc(this)}function zc(){return new yr(this.value(),this.__chain__)}function Bc(){this.__values__===n&&(this.__values__=ju(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?n:this.__values__[this.__index__++]}}function Vc(){return this}function Hc(e){for(var t,r=this;r instanceof vr;){var i=Cs(r);i.__index__=0,i.__values__=n,t?a.__wrapped__=i:t=i;var a=i;r=r.__wrapped__}return a.__wrapped__=e,t}function Uc(){var e=this.__wrapped__;if(e instanceof U){var t=e;return this.__actions__.length&&(t=new U(this)),t=t.reverse(),t.__actions__.push({func:Ic,args:[rc],thisArg:n}),new yr(t,this.__chain__)}return this.thru(rc)}function Wc(){return Oa(this.__wrapped__,this.__actions__)}var Gc=Za(function(e,t,n){P.call(e,n)?++e[n]:oi(e,n,1)});function Kc(e,t,r){var i=q(e)?pn:gi;return r&&Xo(e,t,r)&&(t=n),i(e,K(t,3))}function qc(e,t){return(q(e)?mn:yi)(e,K(t,3))}var Jc=oo(Fs),Yc=oo(Is);function Xc(e,t){return W(al(e,t),1)}function Zc(e,t){return W(al(e,t),h)}function Qc(e,t,r){return r=r===n?1:Z(r),W(al(e,t),r)}function $c(e,t){return(q(e)?dn:mi)(e,K(t,3))}function el(e,t){return(q(e)?fn:hi)(e,K(t,3))}var tl=Za(function(e,t,n){P.call(e,n)?e[n].push(t):oi(e,n,[t])});function nl(e,t,n,r){e=Ql(e)?e:Cd(e),n=n&&!r?Z(n):0;var i=e.length;return n<0&&(n=F(i+n,0)),Cu(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&En(e,t,n)>-1}var rl=G(function(e,t,n){var r=-1,i=typeof t==`function`,a=Ql(e)?k(e.length):[];return mi(e,function(e){a[++r]=i?ln(t,e,n):Pi(e,t,n)}),a}),il=Za(function(e,t,n){oi(e,n,t)});function al(e,t){return(q(e)?V:Xi)(e,K(t,3))}function ol(e,t,r,i){return e==null?[]:(q(t)||(t=t==null?[]:[t]),r=i?n:r,q(r)||(r=r==null?[]:[r]),na(e,t,r))}var sl=Za(function(e,t,n){e[+!n].push(t)},function(){return[[],[]]});function cl(e,t,n){var r=q(e)?vn:Mn,i=arguments.length<3;return r(e,K(t,4),n,i,mi)}function ll(e,t,n){var r=q(e)?yn:Mn,i=arguments.length<3;return r(e,K(t,4),n,i,hi)}function ul(e,t){return(q(e)?mn:yi)(e,Al(K(t,3)))}function dl(e){return(q(e)?Zr:da)(e)}function fl(e,t,r){return t=(r?Xo(e,t,r):t===n)?1:Z(t),(q(e)?Qr:fa)(e,t)}function pl(e){return(q(e)?$r:ga)(e)}function ml(e){if(e==null)return 0;if(Ql(e))return Cu(e)?ir(e):e.length;var t=Bo(e);return t==ie||t==O?e.size:qi(e).length}function hl(e,t,r){var i=q(e)?bn:va;return r&&Xo(e,t,r)&&(t=n),i(e,K(t,3))}var gl=G(function(e,t){if(e==null)return[];var n=t.length;return n>1&&Xo(e,t[0],t[1])?t=[]:n>2&&Xo(t[0],t[1],t[2])&&(t=[t[0]]),na(e,W(t,1),[])}),_l=Mt||function(){return z.Date.now()};function vl(e,t){if(typeof t!=`function`)throw new lt(r);return e=Z(e),function(){if(--e<1)return t.apply(this,arguments)}}function yl(e,t,r){return t=r?n:t,t=e&&t==null?e.length:t,xo(e,f,n,n,n,n,t)}function bl(e,t){var i;if(typeof t!=`function`)throw new lt(r);return e=Z(e),function(){return--e>0&&(i=t.apply(this,arguments)),e<=1&&(t=n),i}}var xl=G(function(e,t,n){var r=o;if(n.length){var i=$n(n,No(xl));r|=u}return xo(e,r,t,n,i)}),Sl=G(function(e,t,n){var r=o|s;if(n.length){var i=$n(n,No(Sl));r|=u}return xo(t,r,e,n,i)});function Cl(e,t,r){t=r?n:t;var i=xo(e,c,n,n,n,n,n,t);return i.placeholder=Cl.placeholder,i}function wl(e,t,r){t=r?n:t;var i=xo(e,l,n,n,n,n,n,t);return i.placeholder=wl.placeholder,i}function Tl(e,t,i){var a,o,s,c,l,u,d=0,f=!1,p=!1,m=!0;if(typeof e!=`function`)throw new lt(r);t=Pu(t)||0,Y(i)&&(f=!!i.leading,p=`maxWait`in i,s=p?F(Pu(i.maxWait)||0,t):s,m=`trailing`in i?!!i.trailing:m);function h(t){var r=a,i=o;return a=o=n,d=t,c=e.apply(i,r),c}function g(e){return d=e,l=ms(y,t),f?h(e):c}function _(e){var n=e-u,r=e-d,i=t-n;return p?R(i,s-r):i}function v(e){var r=e-u,i=e-d;return u===n||r>=t||r<0||p&&i>=s}function y(){var e=_l();if(v(e))return b(e);l=ms(y,_(e))}function b(e){return l=n,m&&a?h(e):(a=o=n,c)}function x(){l!==n&&Ia(l),d=0,a=u=o=l=n}function ee(){return l===n?c:b(_l())}function S(){var e=_l(),r=v(e);if(a=arguments,o=this,u=e,r){if(l===n)return g(u);if(p)return Ia(l),l=ms(y,t),h(u)}return l===n&&(l=ms(y,t)),c}return S.cancel=x,S.flush=ee,S}var El=G(function(e,t){return fi(e,1,t)}),Dl=G(function(e,t,n){return fi(e,Pu(t)||0,n)});function Ol(e){return xo(e,m)}function kl(e,t){if(typeof e!=`function`||t!=null&&typeof t!=`function`)throw new lt(r);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(kl.Cache||Fr),n}kl.Cache=Fr;function Al(e){if(typeof e!=`function`)throw new lt(r);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function jl(e){return bl(2,e)}var Ml=Pa(function(e,t){t=t.length==1&&q(t[0])?V(t[0],Rn(K())):V(W(t,1),Rn(K()));var n=t.length;return G(function(r){for(var i=-1,a=R(r.length,n);++i<a;)r[i]=t[i].call(this,r[i]);return ln(e,this,r)})}),Nl=G(function(e,t){return xo(e,u,n,t,$n(t,No(Nl)))}),Pl=G(function(e,t){return xo(e,d,n,t,$n(t,No(Pl)))}),Fl=Oo(function(e,t){return xo(e,p,n,n,n,t)});function Il(e,t){if(typeof e!=`function`)throw new lt(r);return t=t===n?t:Z(t),G(e,t)}function Ll(e,t){if(typeof e!=`function`)throw new lt(r);return t=t==null?0:F(Z(t),0),G(function(n){var r=n[t],i=Fa(n,0,t);return r&&_n(i,r),ln(e,this,i)})}function Rl(e,t,n){var i=!0,a=!0;if(typeof e!=`function`)throw new lt(r);return Y(n)&&(i=`leading`in n?!!n.leading:i,a=`trailing`in n?!!n.trailing:a),Tl(e,t,{leading:i,maxWait:t,trailing:a})}function zl(e){return yl(e,1)}function Bl(e,t){return Nl(Ma(t),e)}function Vl(){if(!arguments.length)return[];var e=arguments[0];return q(e)?e:[e]}function Hl(e){return li(e,4)}function Ul(e,t){return t=typeof t==`function`?t:n,li(e,4,t)}function Wl(e){return li(e,5)}function Gl(e,t){return t=typeof t==`function`?t:n,li(e,5,t)}function Kl(e,t){return t==null||di(e,t,$(t))}function ql(e,t){return e===t||e!==e&&t!==t}var Jl=go(Oi),Yl=go(function(e,t){return e>=t}),Xl=Fi(function(){return arguments}())?Fi:function(e){return X(e)&&P.call(e,`callee`)&&!Tt.call(e,`callee`)},q=k.isArray,Zl=nn?Rn(nn):Ii;function Ql(e){return e!=null&&uu(e.length)&&!cu(e)}function J(e){return X(e)&&Ql(e)}function $l(e){return e===!0||e===!1||X(e)&&Di(e)==T}var eu=Lt||jf,tu=rn?Rn(rn):Li;function nu(e){return X(e)&&e.nodeType===1&&!yu(e)}function ru(e){if(e==null)return!0;if(Ql(e)&&(q(e)||typeof e==`string`||typeof e.splice==`function`||eu(e)||Tu(e)||Xl(e)))return!e.length;var t=Bo(e);if(t==ie||t==O)return!e.size;if(ns(e))return!qi(e).length;for(var n in e)if(P.call(e,n))return!1;return!0}function iu(e,t){return Ri(e,t)}function au(e,t,r){r=typeof r==`function`?r:n;var i=r?r(e,t):n;return i===n?Ri(e,t,n,r):!!i}function ou(e){if(!X(e))return!1;var t=Di(e);return t==ne||t==te||typeof e.message==`string`&&typeof e.name==`string`&&!yu(e)}function su(e){return typeof e==`number`&&Bt(e)}function cu(e){if(!Y(e))return!1;var t=Di(e);return t==D||t==re||t==w||t==le}function lu(e){return typeof e==`number`&&e==Z(e)}function uu(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=g}function Y(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}function X(e){return typeof e==`object`&&!!e}var du=an?Rn(an):Bi;function fu(e,t){return e===t||Vi(e,t,Fo(t))}function pu(e,t,r){return r=typeof r==`function`?r:n,Vi(e,t,Fo(t),r)}function mu(e){return vu(e)&&e!=+e}function hu(e){if(ts(e))throw new it(`Unsupported core-js use. Try https://npms.io/search?q=ponyfill.`);return Hi(e)}function gu(e){return e===null}function _u(e){return e==null}function vu(e){return typeof e==`number`||X(e)&&Di(e)==ae}function yu(e){if(!X(e)||Di(e)!=se)return!1;var t=Ct(e);if(t===null)return!0;var n=P.call(t,`constructor`)&&t.constructor;return typeof n==`function`&&n instanceof n&&ft.call(n)==gt}var bu=on?Rn(on):Ui;function xu(e){return lu(e)&&e>=-g&&e<=g}var Su=sn?Rn(sn):Wi;function Cu(e){return typeof e==`string`||!q(e)&&X(e)&&Di(e)==de}function wu(e){return typeof e==`symbol`||X(e)&&Di(e)==fe}var Tu=cn?Rn(cn):Gi;function Eu(e){return e===n}function Du(e){return X(e)&&Bo(e)==me}function Ou(e){return X(e)&&Di(e)==he}var ku=go(Yi),Au=go(function(e,t){return e<=t});function ju(e){if(!e)return[];if(Ql(e))return Cu(e)?ar(e):qa(e);if(Ot&&e[Ot])return Xn(e[Ot]());var t=Bo(e);return(t==ie?Zn:t==O?er:Cd)(e)}function Mu(e){return e?(e=Pu(e),e===h||e===-1/0?(e<0?-1:1)*_:e===e?e:0):e===0?e:0}function Z(e){var t=Mu(e),n=t%1;return t===t?n?t-n:t:0}function Nu(e){return e?ci(Z(e),0,y):0}function Pu(e){if(typeof e==`number`)return e;if(wu(e))return v;if(Y(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=Y(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=Ln(e);var n=Qe.test(e);return n||A.test(e)?Yt(e.slice(2),n?2:8):Ze.test(e)?v:+e}function Fu(e){return Ja(e,ad(e))}function Iu(e){return e?ci(Z(e),-g,g):e===0?e:0}function Q(e){return e==null?``:Ca(e)}var Lu=Qa(function(e,t){if(ns(t)||Ql(t)){Ja(t,$(t),e);return}for(var n in t)P.call(t,n)&&ti(e,n,t[n])}),Ru=Qa(function(e,t){Ja(t,ad(t),e)}),zu=Qa(function(e,t,n,r){Ja(t,ad(t),e,r)}),Bu=Qa(function(e,t,n,r){Ja(t,$(t),e,r)}),Vu=Oo(si);function Hu(e,t){var n=_r(e);return t==null?n:ii(n,t)}var Uu=G(function(e,t){e=j(e);var r=-1,i=t.length,a=i>2?t[2]:n;for(a&&Xo(t[0],t[1],a)&&(i=1);++r<i;)for(var o=t[r],s=ad(o),c=-1,l=s.length;++c<l;){var u=s[c],d=e[u];(d===n||ql(d,M[u])&&!P.call(e,u))&&(e[u]=o[u])}return e}),Wu=G(function(e){return e.push(n,Co),ln(ld,n,e)});function Gu(e,t){return wn(e,K(t,3),Si)}function Ku(e,t){return wn(e,K(t,3),Ci)}function qu(e,t){return e==null?e:bi(e,K(t,3),ad)}function Ju(e,t){return e==null?e:xi(e,K(t,3),ad)}function Yu(e,t){return e&&Si(e,K(t,3))}function Xu(e,t){return e&&Ci(e,K(t,3))}function Zu(e){return e==null?[]:wi(e,$(e))}function Qu(e){return e==null?[]:wi(e,ad(e))}function $u(e,t,r){var i=e==null?n:Ti(e,t);return i===n?r:i}function ed(e,t){return e!=null&&Uo(e,t,ki)}function td(e,t){return e!=null&&Uo(e,t,Ai)}var nd=lo(function(e,t,n){t!=null&&typeof t.toString!=`function`&&(t=ht.call(t)),e[t]=n},lf(pf)),rd=lo(function(e,t,n){t!=null&&typeof t.toString!=`function`&&(t=ht.call(t)),P.call(e,t)?e[t].push(n):e[t]=[n]},K),id=G(Pi);function $(e){return Ql(e)?Xr(e):qi(e)}function ad(e){return Ql(e)?Xr(e,!0):Ji(e)}function od(e,t){var n={};return t=K(t,3),Si(e,function(e,r,i){oi(n,t(e,r,i),e)}),n}function sd(e,t){var n={};return t=K(t,3),Si(e,function(e,r,i){oi(n,r,t(e,r,i))}),n}var cd=Qa(function(e,t,n){$i(e,t,n)}),ld=Qa(function(e,t,n,r){$i(e,t,n,r)}),ud=Oo(function(e,t){var n={};if(e==null)return n;var r=!1;t=V(t,function(t){return t=Na(t,e),r||=t.length>1,t}),Ja(e,Ao(e),n),r&&(n=li(n,7,wo));for(var i=t.length;i--;)Ta(n,t[i]);return n});function dd(e,t){return pd(e,Al(K(t)))}var fd=Oo(function(e,t){return e==null?{}:ra(e,t)});function pd(e,t){if(e==null)return{};var n=V(Ao(e),function(e){return[e]});return t=K(t),ia(e,n,function(e,n){return t(e,n[0])})}function md(e,t,r){t=Na(t,e);var i=-1,a=t.length;for(a||(a=1,e=n);++i<a;){var o=e==null?n:e[bs(t[i])];o===n&&(i=a,o=r),e=cu(o)?o.call(e):o}return e}function hd(e,t,n){return e==null?e:pa(e,t,n)}function gd(e,t,r,i){return i=typeof i==`function`?i:n,e==null?e:pa(e,t,r,i)}var _d=bo($),vd=bo(ad);function yd(e,t,n){var r=q(e),i=r||eu(e)||Tu(e);if(t=K(t,4),n==null){var a=e&&e.constructor;n=i?r?new a:[]:Y(e)&&cu(a)?_r(Ct(e)):{}}return(i?dn:Si)(e,function(e,r,i){return t(n,e,r,i)}),n}function bd(e,t){return e==null||Ta(e,t)}function xd(e,t,n){return e==null?e:Ea(e,t,Ma(n))}function Sd(e,t,r,i){return i=typeof i==`function`?i:n,e==null?e:Ea(e,t,Ma(r),i)}function Cd(e){return e==null?[]:zn(e,$(e))}function wd(e){return e==null?[]:zn(e,ad(e))}function Td(e,t,r){return r===n&&(r=t,t=n),r!==n&&(r=Pu(r),r=r===r?r:0),t!==n&&(t=Pu(t),t=t===t?t:0),ci(Pu(e),t,r)}function Ed(e,t,r){return t=Mu(t),r===n?(r=t,t=0):r=Mu(r),e=Pu(e),ji(e,t,r)}function Dd(e,t,r){if(r&&typeof r!=`boolean`&&Xo(e,t,r)&&(t=r=n),r===n&&(typeof t==`boolean`?(r=t,t=n):typeof e==`boolean`&&(r=e,e=n)),e===n&&t===n?(e=0,t=1):(e=Mu(e),t===n?(t=e,e=0):t=Mu(t)),e>t){var i=e;e=t,t=i}if(r||e%1||t%1){var a=qt();return R(e+a*(t-e+Jt(`1e-`+((a+``).length-1))),t)}return ca(e,t)}var Od=ro(function(e,t,n){return t=t.toLowerCase(),e+(n?kd(t):t)});function kd(e){return nf(Q(e).toLowerCase())}function Ad(e){return e=Q(e),e&&e.replace(tt,Wn).replace(zt,``)}function jd(e,t,r){e=Q(e),t=Ca(t);var i=e.length;r=r===n?i:ci(Z(r),0,i);var a=r;return r-=t.length,r>=0&&e.slice(r,a)==t}function Md(e){return e=Q(e),e&&Ne.test(e)?e.replace(je,Gn):e}function Nd(e){return e=Q(e),e&&Ve.test(e)?e.replace(Be,`\\$&`):e}var Pd=ro(function(e,t,n){return e+(n?`-`:``)+t.toLowerCase()}),Fd=ro(function(e,t,n){return e+(n?` `:``)+t.toLowerCase()}),Id=no(`toLowerCase`);function Ld(e,t,n){e=Q(e),t=Z(t);var r=t?ir(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return po(Ft(i),n)+e+po(Pt(i),n)}function Rd(e,t,n){e=Q(e),t=Z(t);var r=t?ir(e):0;return t&&r<t?e+po(t-r,n):e}function zd(e,t,n){e=Q(e),t=Z(t);var r=t?ir(e):0;return t&&r<t?po(t-r,n)+e:e}function Bd(e,t,n){return n||t==null?t=0:t&&=+t,Kt(Q(e).replace(He,``),t||0)}function Vd(e,t,r){return t=(r?Xo(e,t,r):t===n)?1:Z(t),ua(Q(e),t)}function Hd(){var e=arguments,t=Q(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var Ud=ro(function(e,t,n){return e+(n?`_`:``)+t.toLowerCase()});function Wd(e,t,r){return r&&typeof r!=`number`&&Xo(e,t,r)&&(t=r=n),r=r===n?y:r>>>0,r?(e=Q(e),e&&(typeof t==`string`||t!=null&&!bu(t))&&(t=Ca(t),!t&&Jn(e))?Fa(ar(e),0,r):e.split(t,r)):[]}var Gd=ro(function(e,t,n){return e+(n?` `:``)+nf(t)});function Kd(e,t,n){return e=Q(e),n=n==null?0:ci(Z(n),0,e.length),t=Ca(t),e.slice(n,n+t.length)==t}function qd(e,t,r){var i=H.templateSettings;r&&Xo(e,t,r)&&(t=n),e=Q(e),t=zu({},t,i,So);var a=zu({},t.imports,i.imports,So),o=$(a),s=zn(a,o),c,l,u=0,d=t.interpolate||nt,f=`__p += '`,p=st((t.escape||nt).source+`|`+d.source+`|`+(d===Ie?Ye:nt).source+`|`+(t.evaluate||nt).source+`|$`,`g`),m=`//# sourceURL=`+(P.call(t,`sourceURL`)?(t.sourceURL+``).replace(/\s/g,` `):`lodash.templateSources[`+ ++Wt+`]`)+`
|
|
4
4
|
`;e.replace(p,function(t,n,r,i,a,o){return r||=i,f+=e.slice(u,o).replace(rt,Kn),n&&(c=!0,f+=`' +
|
|
5
5
|
__e(`+n+`) +
|
|
6
6
|
'`),a&&(l=!0,f+=`';
|
|
@@ -17,4 +17,4 @@ __p += '`),r&&(f+=`' +
|
|
|
17
17
|
function print() { __p += __j.call(arguments, '') }
|
|
18
18
|
`:`;
|
|
19
19
|
`)+f+`return __p
|
|
20
|
-
}`;var g=af(function(){return at(o,m+`return `+f).apply(n,s)});if(g.source=f,ou(g))throw g;return g}function Jd(e){return Q(e).toLowerCase()}function Yd(e){return Q(e).toUpperCase()}function Xd(e,t,r){if(e=Q(e),e&&(r||t===n))return Ln(e);if(!e||!(t=Ca(t)))return e;var i=ar(e),a=ar(t);return Fa(i,Vn(i,a),Hn(i,a)+1).join(``)}function Zd(e,t,r){if(e=Q(e),e&&(r||t===n))return e.slice(0,or(e)+1);if(!e||!(t=Ca(t)))return e;var i=ar(e);return Fa(i,0,Hn(i,ar(t))+1).join(``)}function Qd(e,t,r){if(e=Q(e),e&&(r||t===n))return e.replace(He,``);if(!e||!(t=Ca(t)))return e;var i=ar(e);return Fa(i,Vn(i,ar(t))).join(``)}function $d(e,t){var r=30,i=`...`;if(Y(t)){var a=`separator`in t?t.separator:a;r=`length`in t?Z(t.length):r,i=`omission`in t?Ca(t.omission):i}e=Q(e);var o=e.length;if(Jn(e)){var s=ar(e);o=s.length}if(r>=o)return e;var c=r-ir(i);if(c<1)return i;var l=s?Fa(s,0,c).join(``):e.slice(0,c);if(a===n)return l+i;if(s&&(c+=l.length-c),bu(a)){if(e.slice(c).search(a)){var u,d=l;for(a.global||(a=st(a.source,Q(Xe.exec(a))+`g`)),a.lastIndex=0;u=a.exec(d);)var f=u.index;l=l.slice(0,f===n?c:f)}}else if(e.indexOf(Ca(a),c)!=c){var p=l.lastIndexOf(a);p>-1&&(l=l.slice(0,p))}return l+i}function ef(e){return e=Q(e),e&&Me.test(e)?e.replace(Ae,sr):e}var tf=ro(function(e,t,n){return e+(n?` `:``)+t.toUpperCase()}),nf=no(`toUpperCase`);function rf(e,t,r){return e=Q(e),t=r?n:t,t===n?Yn(e)?ur(e):Cn(e):e.match(t)||[]}var af=G(function(e,t){try{return ln(e,n,t)}catch(e){return ou(e)?e:new it(e)}}),of=Oo(function(e,t){return dn(t,function(t){t=bs(t),oi(e,t,xl(e[t],e))}),e});function sf(e){var t=e==null?0:e.length,n=K();return e=t?V(e,function(e){if(typeof e[1]!=`function`)throw new M(r);return[n(e[0]),e[1]]}):[],G(function(n){for(var r=-1;++r<t;){var i=e[r];if(ln(i[0],this,n))return ln(i[1],this,n)}})}function cf(e){return ui(li(e,1))}function lf(e){return function(){return e}}function uf(e,t){return e==null||e!==e?t:e}var df=so(),ff=so(!0);function pf(e){return e}function mf(e){return Ki(typeof e==`function`?e:li(e,1))}function hf(e){return Zi(li(e,1))}function gf(e,t){return Qi(e,li(t,1))}var _f=G(function(e,t){return function(n){return Pi(n,e,t)}}),vf=G(function(e,t){return function(n){return Pi(e,n,t)}});function yf(e,t,n){var r=$(t),i=wi(t,r);n==null&&!(Y(t)&&(i.length||!r.length))&&(n=t,t=e,e=this,i=wi(t,$(t)));var a=!(Y(n)&&`chain`in n)||!!n.chain,o=cu(e);return dn(i,function(n){var r=t[n];e[n]=r,o&&(e.prototype[n]=function(){var t=this.__chain__;if(a||t){var n=e(this.__wrapped__);return(n.__actions__=qa(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,_n([this.value()],arguments))})}),e}function bf(){return z._===this&&(z._=_t),this}function xf(){}function Sf(e){return e=Z(e),G(function(t){return ta(t,e)})}var Cf=fo(V),wf=fo(pn),Tf=fo(bn);function Ef(e){return Zo(e)?An(bs(e)):aa(e)}function Df(e){return function(t){return e==null?n:Ti(e,t)}}var Of=ho(),kf=ho(!0);function Af(){return[]}function jf(){return!1}function Mf(){return{}}function Nf(){return``}function Pf(){return!0}function Ff(e,t){if(e=Z(e),e<1||e>g)return[];var n=y,r=R(e,y);t=K(t),e-=y;for(var i=Fn(r,t);++n<e;)t(n);return i}function If(e){return q(e)?V(e,bs):wu(e)?[e]:qa(ys(Q(e)))}function Lf(e){var t=++pt;return Q(e)+t}var Rf=uo(function(e,t){return e+t},0),zf=vo(`ceil`),Bf=uo(function(e,t){return e/t},1),Vf=vo(`floor`);function Hf(e){return e&&e.length?_i(e,pf,Oi):n}function Uf(e,t){return e&&e.length?_i(e,K(t,2),Oi):n}function Wf(e){return kn(e,pf)}function Gf(e,t){return kn(e,K(t,2))}function Kf(e){return e&&e.length?_i(e,pf,Yi):n}function qf(e,t){return e&&e.length?_i(e,K(t,2),Yi):n}var Jf=uo(function(e,t){return e*t},1),Yf=vo(`round`),Xf=uo(function(e,t){return e-t},0);function Zf(e){return e&&e.length?Pn(e,pf):0}function Qf(e,t){return e&&e.length?Pn(e,K(t,2)):0}return H.after=vl,H.ary=yl,H.assign=Lu,H.assignIn=Ru,H.assignInWith=zu,H.assignWith=Bu,H.at=Vu,H.before=bl,H.bind=xl,H.bindAll=of,H.bindKey=Sl,H.castArray=Vl,H.chain=Pc,H.chunk=ws,H.compact=Ts,H.concat=Es,H.cond=sf,H.conforms=cf,H.constant=lf,H.countBy=Gc,H.create=Hu,H.curry=Cl,H.curryRight=wl,H.debounce=Tl,H.defaults=Uu,H.defaultsDeep=Wu,H.defer=El,H.delay=Dl,H.difference=Ds,H.differenceBy=Os,H.differenceWith=ks,H.drop=As,H.dropRight=js,H.dropRightWhile=Ms,H.dropWhile=Ns,H.fill=Ps,H.filter=qc,H.flatMap=Xc,H.flatMapDeep=Zc,H.flatMapDepth=Qc,H.flatten=Ls,H.flattenDeep=Rs,H.flattenDepth=zs,H.flip=Ol,H.flow=df,H.flowRight=ff,H.fromPairs=Bs,H.functions=Zu,H.functionsIn=Qu,H.groupBy=tl,H.initial=Us,H.intersection=Ws,H.intersectionBy=Gs,H.intersectionWith=Ks,H.invert=nd,H.invertBy=rd,H.invokeMap=rl,H.iteratee=mf,H.keyBy=il,H.keys=$,H.keysIn=ad,H.map=al,H.mapKeys=od,H.mapValues=sd,H.matches=hf,H.matchesProperty=gf,H.memoize=kl,H.merge=cd,H.mergeWith=ld,H.method=_f,H.methodOf=vf,H.mixin=yf,H.negate=Al,H.nthArg=Sf,H.omit=ud,H.omitBy=dd,H.once=jl,H.orderBy=ol,H.over=Cf,H.overArgs=Ml,H.overEvery=wf,H.overSome=Tf,H.partial=Nl,H.partialRight=Pl,H.partition=sl,H.pick=fd,H.pickBy=pd,H.property=Ef,H.propertyOf=Df,H.pull=Zs,H.pullAll=Qs,H.pullAllBy=$s,H.pullAllWith=ec,H.pullAt=tc,H.range=Of,H.rangeRight=kf,H.rearg=Fl,H.reject=ul,H.remove=nc,H.rest=Il,H.reverse=rc,H.sampleSize=fl,H.set=hd,H.setWith=gd,H.shuffle=pl,H.slice=ic,H.sortBy=gl,H.sortedUniq=dc,H.sortedUniqBy=fc,H.split=Wd,H.spread=Ll,H.tail=pc,H.take=mc,H.takeRight=hc,H.takeRightWhile=gc,H.takeWhile=_c,H.tap=Fc,H.throttle=Rl,H.thru=Ic,H.toArray=ju,H.toPairs=_d,H.toPairsIn=vd,H.toPath=If,H.toPlainObject=Fu,H.transform=yd,H.unary=zl,H.union=vc,H.unionBy=yc,H.unionWith=bc,H.uniq=xc,H.uniqBy=Sc,H.uniqWith=Cc,H.unset=bd,H.unzip=wc,H.unzipWith=Tc,H.update=xd,H.updateWith=Sd,H.values=Cd,H.valuesIn=wd,H.without=Ec,H.words=rf,H.wrap=Bl,H.xor=Dc,H.xorBy=Oc,H.xorWith=kc,H.zip=Ac,H.zipObject=jc,H.zipObjectDeep=Mc,H.zipWith=Nc,H.entries=_d,H.entriesIn=vd,H.extend=Ru,H.extendWith=zu,yf(H,H),H.add=Rf,H.attempt=af,H.camelCase=Od,H.capitalize=kd,H.ceil=zf,H.clamp=Td,H.clone=Hl,H.cloneDeep=Wl,H.cloneDeepWith=Gl,H.cloneWith=Ul,H.conformsTo=Kl,H.deburr=Ad,H.defaultTo=uf,H.divide=Bf,H.endsWith=jd,H.eq=ql,H.escape=Md,H.escapeRegExp=Nd,H.every=Kc,H.find=Jc,H.findIndex=Fs,H.findKey=Gu,H.findLast=Yc,H.findLastIndex=Is,H.findLastKey=Ku,H.floor=Vf,H.forEach=$c,H.forEachRight=el,H.forIn=qu,H.forInRight=Ju,H.forOwn=Yu,H.forOwnRight=Xu,H.get=$u,H.gt=Jl,H.gte=Yl,H.has=ed,H.hasIn=td,H.head=Vs,H.identity=pf,H.includes=nl,H.indexOf=Hs,H.inRange=Ed,H.invoke=id,H.isArguments=Xl,H.isArray=q,H.isArrayBuffer=Zl,H.isArrayLike=Ql,H.isArrayLikeObject=J,H.isBoolean=$l,H.isBuffer=eu,H.isDate=tu,H.isElement=nu,H.isEmpty=ru,H.isEqual=iu,H.isEqualWith=au,H.isError=ou,H.isFinite=su,H.isFunction=cu,H.isInteger=lu,H.isLength=uu,H.isMap=du,H.isMatch=fu,H.isMatchWith=pu,H.isNaN=mu,H.isNative=hu,H.isNil=_u,H.isNull=gu,H.isNumber=vu,H.isObject=Y,H.isObjectLike=X,H.isPlainObject=yu,H.isRegExp=bu,H.isSafeInteger=xu,H.isSet=Su,H.isString=Cu,H.isSymbol=wu,H.isTypedArray=Tu,H.isUndefined=Eu,H.isWeakMap=Du,H.isWeakSet=Ou,H.join=qs,H.kebabCase=Pd,H.last=Js,H.lastIndexOf=Ys,H.lowerCase=Fd,H.lowerFirst=Id,H.lt=ku,H.lte=Au,H.max=Hf,H.maxBy=Uf,H.mean=Wf,H.meanBy=Gf,H.min=Kf,H.minBy=qf,H.stubArray=Af,H.stubFalse=jf,H.stubObject=Mf,H.stubString=Nf,H.stubTrue=Pf,H.multiply=Jf,H.nth=Xs,H.noConflict=bf,H.noop=xf,H.now=_l,H.pad=Ld,H.padEnd=Rd,H.padStart=zd,H.parseInt=Bd,H.random=Dd,H.reduce=cl,H.reduceRight=ll,H.repeat=Vd,H.replace=Hd,H.result=md,H.round=Yf,H.runInContext=e,H.sample=dl,H.size=ml,H.snakeCase=Ud,H.some=hl,H.sortedIndex=ac,H.sortedIndexBy=oc,H.sortedIndexOf=sc,H.sortedLastIndex=cc,H.sortedLastIndexBy=lc,H.sortedLastIndexOf=uc,H.startCase=Gd,H.startsWith=Kd,H.subtract=Xf,H.sum=Zf,H.sumBy=Qf,H.template=qd,H.times=Ff,H.toFinite=Mu,H.toInteger=Z,H.toLength=Nu,H.toLower=Jd,H.toNumber=Pu,H.toSafeInteger=Iu,H.toString=Q,H.toUpper=Yd,H.trim=Xd,H.trimEnd=Zd,H.trimStart=Qd,H.truncate=$d,H.unescape=ef,H.uniqueId=Lf,H.upperCase=tf,H.upperFirst=nf,H.each=$c,H.eachRight=el,H.first=Vs,yf(H,function(){var e={};return Si(H,function(t,n){P.call(H.prototype,n)||(e[n]=t)}),e}(),{chain:!1}),H.VERSION=`4.17.21`,dn([`bind`,`bindKey`,`curry`,`curryRight`,`partial`,`partialRight`],function(e){H[e].placeholder=H}),dn([`drop`,`take`],function(e,t){U.prototype[e]=function(r){r=r===n?1:F(Z(r),0);var i=this.__filtered__&&!t?new U(this):this.clone();return i.__filtered__?i.__takeCount__=R(r,i.__takeCount__):i.__views__.push({size:R(r,y),type:e+(i.__dir__<0?`Right`:``)}),i},U.prototype[e+`Right`]=function(t){return this.reverse()[e](t).reverse()}}),dn([`filter`,`map`,`takeWhile`],function(e,t){var n=t+1,r=n==1||n==3;U.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:K(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),dn([`head`,`last`],function(e,t){var n=`take`+(t?`Right`:``);U.prototype[e]=function(){return this[n](1).value()[0]}}),dn([`initial`,`tail`],function(e,t){var n=`drop`+(t?``:`Right`);U.prototype[e]=function(){return this.__filtered__?new U(this):this[n](1)}}),U.prototype.compact=function(){return this.filter(pf)},U.prototype.find=function(e){return this.filter(e).head()},U.prototype.findLast=function(e){return this.reverse().find(e)},U.prototype.invokeMap=G(function(e,t){return typeof e==`function`?new U(this):this.map(function(n){return Pi(n,e,t)})}),U.prototype.reject=function(e){return this.filter(Al(K(e)))},U.prototype.slice=function(e,t){e=Z(e);var r=this;return r.__filtered__&&(e>0||t<0)?new U(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==n&&(t=Z(t),r=t<0?r.dropRight(-t):r.take(t-e)),r)},U.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},U.prototype.toArray=function(){return this.take(y)},Si(U.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),a=H[i?`take`+(t==`last`?`Right`:``):t],o=i||/^find/.test(t);a&&(H.prototype[t]=function(){var t=this.__wrapped__,s=i?[1]:arguments,c=t instanceof U,l=s[0],u=c||q(t),d=function(e){var t=a.apply(H,_n([e],s));return i&&f?t[0]:t};u&&r&&typeof l==`function`&&l.length!=1&&(c=u=!1);var f=this.__chain__,p=!!this.__actions__.length,m=o&&!f,h=c&&!p;if(!o&&u){t=h?t:new U(this);var g=e.apply(t,s);return g.__actions__.push({func:Ic,args:[d],thisArg:n}),new yr(g,f)}return m&&h?e.apply(this,s):(g=this.thru(d),m?i?g.value()[0]:g.value():g)})}),dn([`pop`,`push`,`shift`,`sort`,`splice`,`unshift`],function(e){var t=N[e],n=/^(?:push|sort|unshift)$/.test(e)?`tap`:`thru`,r=/^(?:pop|shift)$/.test(e);H.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(q(i)?i:[],e)}return this[n](function(n){return t.apply(q(n)?n:[],e)})}}),Si(U.prototype,function(e,t){var n=H[t];if(n){var r=n.name+``;P.call(jn,r)||(jn[r]=[]),jn[r].push({name:t,func:n})}}),jn[co(n,s).name]=[{name:`wrapper`,func:n}],U.prototype.clone=br,U.prototype.reverse=xr,U.prototype.value=Sr,H.prototype.at=Lc,H.prototype.chain=Rc,H.prototype.commit=zc,H.prototype.next=Bc,H.prototype.plant=Hc,H.prototype.reverse=Uc,H.prototype.toJSON=H.prototype.valueOf=H.prototype.value=Wc,H.prototype.first=H.prototype.head,Ot&&(H.prototype[Ot]=Vc),H})();typeof define==`function`&&typeof define.amd==`object`&&define.amd?(z._=dr,define(function(){return dr})):$t?(($t.exports=dr)._=dr,Qt._=dr):z._=dr}).call(e)}))(),Object.values(function(e){return e.EditMode=`edit-mode`,e.Preview=`preview`,e}({}));var De=`1.19.0`,Oe=class{constructor(e){this.debug=!1,this.debug=e?.debug??!1,this.appName=e?.appName,this.appVersion=e?.appVersion}log(e,...t){this.debug&&this.print(e,`info`,t)}warn(e,...t){this.print(e,`warn`,t)}error(e,...t){this.print(e,`error`,t)}print(e,t,n){let r=[`[${[`MeltingSpot`,this.appName,this.appVersion].filter(Boolean).join(` - `)}] ${e}`];n.length&&r.push(...n),console[t](...r)}},ke=new Oe({appName:`Core SDK`,appVersion:De}),Ae=e=>e.toLowerCase().replace(/[^a-z0-9-]/g,``),je=[`/user`],Me=({deeplink:e,spotId:t})=>{try{let n=new URL(e,`https://unused.com`),r=n.pathname;return n.search&&(r+=n.search),n.hash&&(r+=n.hash),je.some(e=>r.startsWith(e))||(r=`/spot/${t}/${ie(r)}`),r}catch(e){return ke.warn(`Failed to parse deeplink URL`,e),null}},Ne=[/(^|\.)meltingspot\.io$/i],Pe=e=>{let t;try{let n=oe(e);t=new URL(n)}catch{throw Error(`Invalid baseURL: ${e}`)}let n=t.hostname===`localhost`||t.hostname===`127.0.0.1`,r=t.protocol===`https:`,i=Ne.some(e=>e.test(t.hostname));if(!n&&(!r||!i))throw Error(`Untrusted baseURL origin: ${t.origin}`);return t.origin},Fe={msApiBaseUrl:`https://openapi.meltingspot.io/`,msCommunityWebBaseUrl:`https://go.meltingspot.io/`,msCoreBaseUrl:`https://go-api.meltingspot.io/`,ssoToken:void 0,spotId:``,autoJoin:!1,rootDocument:globalThis.document},Ie=class e{constructor(){this.configuration=Fe}static getInstance(){return e.instance||=new e,e.instance}setConfiguration(e){this.configuration={...this.configuration,...e}}static getConfiguration(t={}){let n=e.getInstance(),r=Object.fromEntries(Object.entries(t).filter(([,e])=>e!==void 0));return{...n.configuration,...r}}},Le=RegExp(`(%[a-f0-9]{2})|([^%]+?)`,`gi`),Re=RegExp(`(%[a-f0-9]{2})+`,`gi`);function ze(e,t){try{return[decodeURIComponent(e.join(``))]}catch{}if(e.length===1)return e;t||=1;let n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],ze(n),ze(r))}function Be(e){try{return decodeURIComponent(e)}catch{let t=e.match(Le)||[];for(let n=1;n<t.length;n++)e=ze(t,n).join(``),t=e.match(Le)||[];return e}}function Ve(e){let t={"%FE%FF":`��`,"%FF%FE":`��`},n=Re.exec(e);for(;n;){try{t[n[0]]=decodeURIComponent(n[0])}catch{let e=Be(n[0]);e!==n[0]&&(t[n[0]]=e)}n=Re.exec(e)}t[`%C2`]=`�`;let r=Object.keys(t);for(let n of r)e=e.replace(new RegExp(n,`g`),t[n]);return e}function He(e){if(typeof e!=`string`)throw TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return decodeURIComponent(e)}catch{return Ve(e)}}function k(e,t){let n={};if(Array.isArray(t))for(let r of t){let t=Object.getOwnPropertyDescriptor(e,r);t?.enumerable&&Object.defineProperty(n,r,t)}else for(let r of Reflect.ownKeys(e)){let i=Object.getOwnPropertyDescriptor(e,r);if(i.enumerable){let a=e[r];t(r,a,e)&&Object.defineProperty(n,r,i)}}return n}function Ue(e,t){if(typeof e!=`string`||typeof t!=`string`)throw TypeError("Expected the arguments to be of type `string`");if(e===``||t===``)return[];let n=e.indexOf(t);return n===-1?[]:[e.slice(0,n),e.slice(n+t.length)]}var We=c({exclude:()=>st,extract:()=>nt,parse:()=>rt,parseUrl:()=>at,pick:()=>j,stringify:()=>it,stringifyUrl:()=>ot}),Ge=e=>e==null,Ke=e=>encodeURIComponent(e).replaceAll(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`),qe=Symbol(`encodeFragmentIdentifier`);function Je(e){switch(e.arrayFormat){case`index`:return t=>(n,r)=>{let i=n.length;return r===void 0||e.skipNull&&r===null||e.skipEmptyString&&r===``?n:r===null?[...n,[A(t,e),`[`,i,`]`].join(``)]:[...n,[A(t,e),`[`,A(i,e),`]=`,A(r,e)].join(``)]};case`bracket`:return t=>(n,r)=>r===void 0||e.skipNull&&r===null||e.skipEmptyString&&r===``?n:r===null?[...n,[A(t,e),`[]`].join(``)]:[...n,[A(t,e),`[]=`,A(r,e)].join(``)];case`colon-list-separator`:return t=>(n,r)=>r===void 0||e.skipNull&&r===null||e.skipEmptyString&&r===``?n:r===null?[...n,[A(t,e),`:list=`].join(``)]:[...n,[A(t,e),`:list=`,A(r,e)].join(``)];case`comma`:case`separator`:case`bracket-separator`:{let t=e.arrayFormat===`bracket-separator`?`[]=`:`=`;return n=>(r,i)=>i===void 0||e.skipNull&&i===null||e.skipEmptyString&&i===``?r:(i=i===null?``:i,r.length===0?[[A(n,e),t,A(i,e)].join(``)]:[[r,A(i,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>r===void 0||e.skipNull&&r===null||e.skipEmptyString&&r===``?n:r===null?[...n,A(t,e)]:[...n,[A(t,e),`=`,A(r,e)].join(``)]}}function Ye(e){let t;switch(e.arrayFormat){case`index`:return(e,n,r)=>{if(t=/\[(\d*)]$/.exec(e),e=e.replace(/\[\d*]$/,``),!t){r[e]=n;return}r[e]===void 0&&(r[e]={}),r[e][t[1]]=n};case`bracket`:return(e,n,r)=>{if(t=/(\[])$/.exec(e),e=e.replace(/\[]$/,``),!t){r[e]=n;return}if(r[e]===void 0){r[e]=[n];return}r[e]=[...r[e],n]};case`colon-list-separator`:return(e,n,r)=>{if(t=/(:list)$/.exec(e),e=e.replace(/:list$/,``),!t){r[e]=n;return}if(r[e]===void 0){r[e]=[n];return}r[e]=[...r[e],n]};case`comma`:case`separator`:return(t,n,r)=>{let i=typeof n==`string`&&n.includes(e.arrayFormatSeparator),a=typeof n==`string`&&!i&&Ze(n,e).includes(e.arrayFormatSeparator);n=a?Ze(n,e):n,r[t]=i||a?n.split(e.arrayFormatSeparator).map(t=>Ze(t,e)):n===null?n:Ze(n,e)};case`bracket-separator`:return(t,n,r)=>{let i=/(\[])$/.test(t);if(t=t.replace(/\[]$/,``),!i){r[t]=n&&Ze(n,e);return}let a=n===null?[]:Ze(n,e).split(e.arrayFormatSeparator);if(r[t]===void 0){r[t]=a;return}r[t]=[...r[t],...a]};default:return(e,t,n)=>{if(n[e]===void 0){n[e]=t;return}n[e]=[...[n[e]].flat(),t]}}}function Xe(e){if(typeof e!=`string`||e.length!==1)throw TypeError(`arrayFormatSeparator must be single character string`)}function A(e,t){return t.encode?t.strict?Ke(e):encodeURIComponent(e):e}function Ze(e,t){return t.decode?He(e):e}function Qe(e){return Array.isArray(e)?e.sort():typeof e==`object`?Qe(Object.keys(e)).sort((e,t)=>Number(e)-Number(t)).map(t=>e[t]):e}function $e(e){let t=e.indexOf(`#`);return t!==-1&&(e=e.slice(0,t)),e}function et(e){let t=``,n=e.indexOf(`#`);return n!==-1&&(t=e.slice(n)),t}function tt(e,t,n){return n===`string`&&typeof e==`string`?e:typeof n==`function`&&typeof e==`string`?n(e):n===`boolean`&&e===null?!0:n===`boolean`&&e!==null&&(e.toLowerCase()===`true`||e.toLowerCase()===`false`)?e.toLowerCase()===`true`:n===`boolean`&&e!==null&&(e.toLowerCase()===`1`||e.toLowerCase()===`0`)?e.toLowerCase()===`1`:n===`string[]`&&t.arrayFormat!==`none`&&typeof e==`string`?[e]:n===`number[]`&&t.arrayFormat!==`none`&&!Number.isNaN(Number(e))&&typeof e==`string`&&e.trim()!==``?[Number(e)]:n===`number`&&!Number.isNaN(Number(e))&&typeof e==`string`&&e.trim()!==``?Number(e):t.parseBooleans&&e!==null&&(e.toLowerCase()===`true`||e.toLowerCase()===`false`)?e.toLowerCase()===`true`:t.parseNumbers&&!Number.isNaN(Number(e))&&typeof e==`string`&&e.trim()!==``?Number(e):e}function nt(e){e=$e(e);let t=e.indexOf(`?`);return t===-1?``:e.slice(t+1)}function rt(e,t){t={decode:!0,sort:!0,arrayFormat:`none`,arrayFormatSeparator:`,`,parseNumbers:!1,parseBooleans:!1,types:Object.create(null),...t},Xe(t.arrayFormatSeparator);let n=Ye(t),r=Object.create(null);if(typeof e!=`string`||(e=e.trim().replace(/^[?#&]/,``),!e))return r;for(let i of e.split(`&`)){if(i===``)continue;let e=t.decode?i.replaceAll(`+`,` `):i,[a,o]=Ue(e,`=`);a===void 0&&(a=e),o=o===void 0?null:[`comma`,`separator`,`bracket-separator`].includes(t.arrayFormat)?o:Ze(o,t),n(Ze(a,t),o,r)}for(let[e,n]of Object.entries(r))if(typeof n==`object`&&n&&t.types[e]!==`string`)for(let[r,i]of Object.entries(n)){let a=t.types[e]?t.types[e].replace(`[]`,``):void 0;n[r]=tt(i,t,a)}else r[e]=typeof n==`object`&&n&&t.types[e]===`string`?Object.values(n).join(t.arrayFormatSeparator):tt(n,t,t.types[e]);return t.sort===!1?r:(t.sort===!0?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce((e,t)=>{let n=r[t];return e[t]=n&&typeof n==`object`&&!Array.isArray(n)?Qe(n):n,e},Object.create(null))}function it(e,t){if(!e)return``;t={encode:!0,strict:!0,arrayFormat:`none`,arrayFormatSeparator:`,`,...t},Xe(t.arrayFormatSeparator);let n=n=>t.skipNull&&Ge(e[n])||t.skipEmptyString&&e[n]===``,r=Je(t),i={};for(let[t,r]of Object.entries(e))n(t)||(i[t]=r);let a=Object.keys(i);return t.sort!==!1&&a.sort(t.sort),a.map(n=>{let i=e[n];return i===void 0?``:i===null?A(n,t):Array.isArray(i)?i.length===0&&t.arrayFormat===`bracket-separator`?A(n,t)+`[]`:i.reduce(r(n),[]).join(`&`):A(n,t)+`=`+A(i,t)}).filter(e=>e.length>0).join(`&`)}function at(e,t){t={decode:!0,...t};let[n,r]=Ue(e,`#`);return n===void 0&&(n=e),{url:n?.split(`?`)?.[0]??``,query:rt(nt(e),t),...t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:Ze(r,t)}:{}}}function ot(e,t){t={encode:!0,strict:!0,[qe]:!0,...t};let n=$e(e.url).split(`?`)[0]||``,r=it({...rt(nt(e.url),{sort:!1,...t}),...e.query},t);r&&=`?${r}`;let i=et(e.url);if(typeof e.fragmentIdentifier==`string`){let r=new URL(n);r.hash=e.fragmentIdentifier,i=t[qe]?r.hash:`#${e.fragmentIdentifier}`}return`${n}${r}${i}`}function j(e,t,n){n={parseFragmentIdentifier:!0,[qe]:!1,...n};let{url:r,query:i,fragmentIdentifier:a}=at(e,n);return ot({url:r,query:k(i,t),fragmentIdentifier:a},n)}function st(e,t,n){return j(e,Array.isArray(t)?e=>!t.includes(e):(e,n)=>!t(e,n),n)}var ct=We,M=class e extends Error{constructor(t,n){super(`HTTP Error ${t}${n?`: ${n}`:``}`),this.code=t,this.name=`HttpError`,Object.setPrototypeOf(this,e.prototype)}},N=function(e){return e.DELETE=`DELETE`,e.GET=`GET`,e.PATCH=`PATCH`,e.POST=`POST`,e}({}),lt=class e{constructor(){this.headers={}}setHeaders(e){this.headers=e}async get(t){try{let n=t.query?`${t.url}?${this.serializeQuery(t.query)}`:t.url,r=await fetch(n,{headers:{...this.headers,...t.headers,"Content-Type":`application/json`},...t.signal?{signal:t.signal}:{}});return r.ok?T(await e.parseBody(r)):E(new M(r.status,await r.text()))}catch(e){let t=e instanceof Error?e.message:`Unknown error`;return E(new M(D.INTERNAL_SERVER_ERROR,t))}}async post(t){try{let n=await fetch(t.url,{method:`POST`,headers:{...this.headers,...t.headers,"Content-Type":`application/json`},body:JSON.stringify(t.payload),...t.signal?{signal:t.signal}:{}});return n.ok?T(await e.parseBody(n)):E(new M(n.status,await n.text()))}catch(e){let t=e instanceof Error?e.message:`Unknown error`;return E(new M(D.INTERNAL_SERVER_ERROR,t))}}async delete(t){try{let n=await fetch(t.url,{method:`DELETE`,headers:{...this.headers,...t.headers,Accept:`application/json`},...t.signal?{signal:t.signal}:{}});return n.ok?T(await e.parseBody(n)):E(new M(n.status,await n.text()))}catch(e){let t=e instanceof Error?e.message:`Unknown error`;return E(new M(D.INTERNAL_SERVER_ERROR,t))}}async patch(t){try{let n=await fetch(t.url,{method:`PATCH`,headers:{...this.headers,...t.headers,"Content-Type":`application/json`},body:JSON.stringify(t.payload),...t.signal?{signal:t.signal}:{}});return n.ok?T(await e.parseBody(n)):E(new M(n.status,await n.text()))}catch(e){let t=e instanceof Error?e.message:`Unknown error`;return E(new M(D.INTERNAL_SERVER_ERROR,t))}}static async parseBody(e){if(e.status!==D.NO_CONTENT)return await e.json()}serializeQuery(e){if(typeof e==`string`)return e;if(typeof e==`object`)for(let t in e)e[t]===void 0&&delete e[t];return e=ct.stringify(e,{arrayFormat:`none`}),e}},ut={accessToken:{email:`/v1/auth/accessToken/email`,sso:{jwt:`/v1/auth/accessToken/sso/jwt`}},refreshAccessToken:`/v1/auth/accessToken~refresh`,password:{reset:`/v1/auth/password~reset`}},dt=class e extends EventTarget{constructor(){super(),this.accessToken=null,this.refreshToken=null}static getInstance(){return e.instance||=new e,e.instance}async loginWithPassword(e,t){let n=await this.callApi({endpoint:ut.accessToken.email,method:`POST`,body:{email:e,password:t},withSpotId:!0});if(n.isErr())return E(n.error);let{accessToken:r,refreshToken:i}=n.value;return this.setTokens(r.token,i.token),T({accessToken:r.token,refreshToken:i.token})}async loginWithSsoToken(e){let t=await this.callApi({endpoint:ut.accessToken.sso.jwt,method:`POST`,body:{token:e},withSpotId:!0});if(t.isErr())return E(t.error);let{accessToken:n,refreshToken:r}=t.value;return this.setTokens(n.token,r.token),T({accessToken:n.token,refreshToken:r.token})}loginWithAuthTokens(e,t){return this.setTokens(e,t),{accessToken:e,refreshToken:t}}resetPassword(e){return this.callApi({endpoint:ut.password.reset,method:`POST`,body:{email:e}})}refresh(){return this.refreshInFlight??=this.doRefresh().finally(()=>{this.refreshInFlight=void 0}).then(({result:e,superseded:t})=>(t||this.emitRefreshRejected(e),e)),this.refreshInFlight}async doRefresh(){let e=this.refreshToken,t=await this.callApi({endpoint:ut.refreshAccessToken,method:`POST`,body:{refreshToken:e}});if(this.refreshToken!==e)return{result:this.currentSessionResult(),superseded:!0};if(t.isErr())return{result:E(t.error),superseded:!1};let{accessToken:n,refreshToken:r}=t.value;return this.setTokens(n.token,r.token),{result:T({accessToken:n.token,refreshToken:r.token}),superseded:!1}}currentSessionResult(){return!this.accessToken||!this.refreshToken?E(new M(D.UNAUTHORIZED,`Logged out while the refresh was in flight`)):T({accessToken:this.accessToken,refreshToken:this.refreshToken})}emitRefreshRejected(e){e.isOk()||e.error.code!==D.UNAUTHORIZED||this.dispatchEvent(new CustomEvent(`auth:refresh-rejected`,{detail:{status:e.error.code}}))}async logout(){this.setTokens(null,null)}getAccessToken(){return this.accessToken}getRefreshToken(){return this.refreshToken}setTokens(e,t){if(this.accessToken!==e||this.refreshToken!==t){this.accessToken=e,this.refreshToken=t;let n=new CustomEvent(`auth:tokens-updated`,{detail:{accessToken:e,refreshToken:t}});this.dispatchEvent(n)}}async callApi(e){try{let{spotId:t,msApiBaseUrl:n}=Ie.getConfiguration(),r=se(e.endpoint,n),i={"Content-Type":`application/json`,...e.headers};e.withSpotId&&t&&(i[ft.SpotId]=t);let a=await fetch(r,{method:e.method,body:e.body?JSON.stringify(e.body):void 0,headers:i});return a.ok?a.status===D.NO_CONTENT?T(void 0):T(await a.json()):E(new M(a.status,a.statusText))}catch(e){return E(new M(D.INTERNAL_SERVER_ERROR,e instanceof Error?e.message:String(e)))}}},ft=function(e){return e.Authorization=`Authorization`,e.SpotId=`x-spotid`,e}({}),P=class e{static getInstance(){return e.instance||=new e,e.instance}static buildAuthenticatedRequest(e){let{msApiBaseUrl:t,spotId:n}=Ie.getConfiguration(),r=se(e,t),i=dt.getInstance().getAccessToken();if(!i)return E(Error(`Not authenticated`));let a={"Content-Type":`application/json`,Authorization:`Bearer ${i}`};return n&&(a[`x-spotid`]=n),T({url:r,headers:a})}static async stream(t,n,r){let{streamTransport:i}=Ie.getConfiguration();if(i)return i({endpoint:t,body:n,signal:r});let a=e.buildAuthenticatedRequest(t);if(a.isErr())return E(a.error);let{url:o,headers:s}=a.value;try{let e=await fetch(o,{method:`POST`,headers:s,...n===void 0?{}:{body:JSON.stringify(n)},...r?{signal:r}:{}});if(!e.ok){let t=await e.text();return E(Error(`HTTP ${e.status}: ${t}`))}return e.body?T(e.body):E(Error(`Response body is empty`))}catch(e){let t=e instanceof Error?e.message:`Unknown error`;return E(e instanceof Error?e:Error(t))}}get pendingCount(){return this.queue.length}constructor(){this.queue=[],this.isProcessing=!1,this.isPaused=!1,this.authService=dt.getInstance(),this.httpService=new lt}enqueue(e){return new Promise(t=>{this.queue.push(async()=>{try{t(await e())}catch(e){t(E(new M(D.INTERNAL_SERVER_ERROR,e instanceof Error?e.message:`Unknown error`)))}}),this.processQueue()})}async processQueue(){if(!this.isProcessing){this.isProcessing=!0;try{for(;!this.isPaused&&this.queue.length>0;){let e=this.queue.shift();if(!e)break;await e()}}finally{this.isProcessing=!1,!this.isPaused&&this.queue.length>0&&Promise.resolve().then(()=>this.processQueue())}}}pauseQueue(){this.isPaused=!0}resumeQueue(){let e=this.isPaused;this.isPaused=!1,e&&this.processQueue()}async call(e){return this.enqueue(async()=>{let t=async()=>{let{spotId:t,msApiBaseUrl:n}=Ie.getConfiguration(),r={...e.options?.headers??{}};t&&(r[`x-spotid`]=t);let i=this.authService.getAccessToken(),{requiresAuth:a=!0}=e;if(!i&&a)return E(new M(D.UNAUTHORIZED));i&&(r.Authorization=`Bearer ${i}`);let o=se(e.endpoint,n);switch(e.method){case N.DELETE:return this.httpService.delete({...e.options??{},headers:r,url:o});case N.GET:return this.httpService.get({...e.options??{},headers:r,url:o});case N.PATCH:return this.httpService.patch({...e.options??{},headers:r,url:o});case N.POST:return this.httpService.post({...e.options??{},headers:r,url:o});default:return E(new M(D.METHOD_NOT_ALLOWED,`Method not allowed`))}},n=await t();if(n.isErr()&&n.error.code===D.UNAUTHORIZED){let e=await this.authService.refresh();if(e.isErr())return E(new M(D.UNAUTHORIZED,e.error.message));n=await t()}return n})}},pt={playbooks:`/v1/playbooks`,pages:e=>`/v1/playbooks/${e}/pages`,hotspots:(e,t)=>`/v1/playbooks/${e}/pages/${t}/hotspots`,hotspot:(e,t,n)=>`/v1/playbooks/${e}/pages/${t}/hotspots/${n}`,accessibleIntents:(e,t)=>`/v1/playbooks/${e}/pages/${t}/accessibleIntents`,intents:(e,t,n)=>`/v1/playbooks/${e}/pages/${t}/hotspots/${n}/intents`,intent:(e,t,n,r)=>`/v1/playbooks/${e}/pages/${t}/hotspots/${n}/intents/${r}`,intentStandaloneTitle:`/v1/melty/intentStandalone~generateTitle`},mt=50,ht=class e{static getInstance(){return e.instance||=new e,e.instance}constructor(){this.meltingSpotApi=P.getInstance()}async listPlaybooks(e){let t=await this.meltingSpotApi.call({method:N.GET,endpoint:pt.playbooks,options:{query:{page:e?.page??1,limit:e?.limit??mt,...e?.domain?{"domain[eq]":e.domain}:{},...e?.host===void 0?{}:{"domain[matchesHost]":e.host}}}});return t.isErr()?E(t.error):T(t.value)}async listPlaybookPages(e){let t=await this.meltingSpotApi.call({method:N.GET,endpoint:pt.pages(e.playbookId),options:{query:{page:e.page??1,limit:e.limit??mt,...e.url?{"url[eq]":e.url}:{}}}});return t.isErr()?E(t.error):T(t.value)}async createPlaybookPage(e,t){let n=await this.meltingSpotApi.call({method:N.POST,endpoint:pt.pages(e.playbookId),options:{payload:t}});return n.isErr()?E(n.error):T(n.value)}async listAccessiblePlaybookIntents(e){let t=await this.meltingSpotApi.call({method:N.GET,endpoint:pt.accessibleIntents(e.playbookId,e.pageId),options:{query:{...e.domain?{domain:e.domain}:{}}}});return t.isErr()?E(t.error):T(t.value)}async listPlaybookHotspots(e){let t=await this.meltingSpotApi.call({method:N.GET,endpoint:pt.hotspots(e.playbookId,e.pageId),options:{query:{page:e.page??1,limit:e.limit??mt,...e.intentStatus?{"intentStatus[eq]":e.intentStatus}:{},...e.widgetType?{"widgetType[eq]":e.widgetType}:{}}}});return t.isErr()?E(t.error):T(t.value)}async createPlaybookHotspot(e,t){let n=await this.meltingSpotApi.call({method:N.POST,endpoint:pt.hotspots(e.playbookId,e.pageId),options:{payload:t}});return n.isErr()?E(n.error):T(n.value)}async updatePlaybookHotspot(e,t){let n=await this.meltingSpotApi.call({method:N.PATCH,endpoint:pt.hotspot(e.playbookId,e.pageId,e.hotspotId),options:{payload:t}});return n.isErr()?E(n.error):T(n.value)}async listPlaybookIntents(e){let t=await this.meltingSpotApi.call({method:N.GET,endpoint:pt.intents(e.playbookId,e.pageId,e.hotspotId),options:{query:{page:e.page??1,limit:e.limit??mt,...e.status?{"status[eq]":e.status}:{}}}});return t.isErr()?E(t.error):T(t.value)}async createPlaybookIntent(e,t){let n=await this.meltingSpotApi.call({method:N.POST,endpoint:pt.intents(e.playbookId,e.pageId,e.hotspotId),options:{payload:t}});return n.isErr()?E(n.error):T(n.value)}async generateIntentStandaloneTitle(e){let t=await this.meltingSpotApi.call({method:N.POST,endpoint:pt.intentStandaloneTitle,options:{payload:e}});return t.isErr()?E(t.error):T(t.value)}async updatePlaybookIntent(e,t){let n=await this.meltingSpotApi.call({method:N.PATCH,endpoint:pt.intent(e.playbookId,e.pageId,e.hotspotId,e.intentId),options:{payload:t}});return n.isErr()?E(n.error):T(n.value)}},gt={me:`/v1/spots/me`},_t=1,vt=class e{static getInstance(){return e.instance||=new e,e.instance}constructor(){this.meltingSpotApi=P.getInstance()}async listSpotsForMe(e){let t=await this.meltingSpotApi.call({method:N.GET,endpoint:gt.me,options:{query:{page:e?.page??_t,limit:e?.limit??50,...e?.spotMemberRole?{"spotMemberRole[eq]":e.spotMemberRole}:{},...e?.id?{"id[eq]":e.id}:{},...e?.name?{"name[contains]":e.name}:{}}}});return t.isErr()?E(t.error):T(t.value)}},yt={spotMember:{me:`/v1/spotMembers/me`,joinFromSso:`/v1/spotMembers~joinFromSso`,search:`/v1/spotMembers~search`}},bt=class e{static getInstance(){return e.instance||=new e,e.instance}constructor(){this.meltingSpotApi=P.getInstance()}async getSpotMemberForMe(){let e=await this.meltingSpotApi.call({method:N.GET,endpoint:yt.spotMember.me});return e.isErr()?E(e.error):T(e.value)}async searchSpotMembers(e){let t={page:e.page,limit:e.limit};e.search&&(t.search=e.search);let n=await this.meltingSpotApi.call({method:N.GET,endpoint:yt.spotMember.search,options:{query:t}});return n.isErr()?E(n.error):T(n.value)}async joinFromSso(e){let t=await this.meltingSpotApi.call({method:N.POST,endpoint:yt.spotMember.joinFromSso,options:{payload:{token:e}}});return t.isErr()?E(t.error):T(t.value)}},xt={spotMemberSsoToken:`/v1/spotMembers/auth/sso/jwt`,previewAccessKey:`/v1/spotMembers/auth/preview/accessKey`},St=class e{static getInstance(){return e.instance||=new e,e.instance}constructor(){this.meltingSpotApi=P.getInstance()}async generateSsoToken(){let e=await this.meltingSpotApi.call({method:N.POST,endpoint:xt.spotMemberSsoToken,options:{payload:{}}});return e.isErr()?E(e.error):T(e.value.token)}async generatePreviewAccessKey(e){let t=await this.meltingSpotApi.call({method:N.POST,endpoint:xt.previewAccessKey,options:{payload:{targetSpotMemberId:e.targetSpotMemberId}}});return t.isErr()?E(t.error):T(t.value)}},Ct=class e{static getInstance(){return e.instance||=new e,e.instance}constructor(){this.spotMemberAuthApiService=St.getInstance()}async generateSsoToken(){return this.spotMemberAuthApiService.generateSsoToken()}},wt=e=>{let t=e.get(`utm_source`);if(t)return{source:t,medium:e.get(`utm_medium`)??void 0,campaign:e.get(`utm_campaign`)??void 0,term:e.get(`utm_term`)??void 0,content:e.get(`utm_content`)??void 0}},Tt=e=>e?Object.entries(e).reduce((e,[t,n])=>(n!=null&&(e[`utm_${t}`]=n),e),{}):{},Et=Ie.getInstance(),Dt=dt.getInstance(),Ot=Ct.getInstance(),kt={Playbook:ht.getInstance(),Spot:vt.getInstance(),SpotMember:bt.getInstance()},At=globalThis;At.MeltingSpot||={},At.MeltingSpot.Configuration=Et,At.MeltingSpot.Auth=Dt,At.MeltingSpot.Sso=Ot,At.MeltingSpot.Api=kt;var jt=new Oe({appName:`Embed SDK`,appVersion:`1.19.0`}),Mt=`EmbedRedirect`,Nt=/^\/spot\/([^/]+)\/sso\/oidc\/embed\/authorize$/,Pt=e=>{try{return new URL(e).origin}catch{return}},Ft=(e,t)=>{let n=t.find(({contentWindow:t})=>t!==null&&t===e.source);if(!n||!n.origin||e.origin!==n.origin)return;let r=e.data?.url;if(typeof r!=`string`)return;let i;try{i=new URL(r)}catch{return}let a=Pt(n.msCoreBaseUrl),o=Nt.exec(i.pathname)?.[1];if(!(!a||i.origin!==a||o?.toLowerCase()!==n.spotId.toLowerCase()||i.searchParams.get(`mode`)!==Mt))return{source:e.source,origin:e.origin,url:i.toString()}},It=e=>{window.location.assign(e)},Lt={ATTEMPT:`ms_oidc_attempt`,CODE:`ms_oidc_code`,ERROR:`ms_oidc_error`},Rt=(e=window.location,t=window.history)=>{let n=new URLSearchParams(e.hash.replace(/^#/,``)),r=Object.values(Lt);if(!r.some(e=>n.has(e)))return;let i=n.get(Lt.ATTEMPT),a=n.get(Lt.CODE)||void 0,o=n.get(Lt.ERROR)||void 0;r.forEach(e=>n.delete(e));let s=n.toString();return t.replaceState(t.state,``,e.pathname+e.search+(s?`#${s}`:``)),i&&(a||o)?{attemptId:i,code:a,error:o}:void 0},zt=e=>{let t=new URLSearchParams({[Lt.ATTEMPT]:e.attemptId});return e.code&&t.set(Lt.CODE,e.code),e.error&&t.set(Lt.ERROR,e.error),t.toString()},Bt=class{#e=null;#t=null;constructor(e){this.content=e}set onRemove(e){this.#t=e}get contentWindow(){return this.#e?.contentWindow??null}get origin(){if(!this.#e)return null;try{return new URL(this.#e.src).origin}catch{return null}}inject(e){this.remove();let t=ce({input:e,rootDocument:this.content.rootDocument});this.#e=this.content.iframe,this.#e.classList.add(`ms-embed`),t.appendChild(this.#e)}remove(){this.#e&&=(this.#e.contentWindow&&this.#t?.(this.#e.contentWindow),this.#e.remove(),null)}},Vt=class{#e;constructor(e){this.baseURL=Pe(e.baseURL),this.spotId=Ae(e.spotId),this.authToken=e.authToken??null,this.themeMode=e.themeMode??`auto`,this.domain=e.domain??null,this.deeplink=e.deeplink?Me({deeplink:e.deeplink,spotId:this.spotId}):null,this.utmParameters=e.utmParameters??null,this.rootDocument=e.rootDocument,this.#e=e.oidcReturn??null}get iframe(){let e=this.#e;this.#e=null;let t=e?null:this.authToken,n=this.getPath(e,t),r=new URL(`/spot/${this.spotId}${n}`,oe(this.baseURL));e&&(r.hash=zt(e));let i=ue({url:r,searchParams:{embed:this.spotId,themeMode:this.themeMode,ms_token:t,domain:this.domain,deeplink:this.deeplink,...Tt(this.utmParameters)},rootDocument:this.rootDocument});return i.classList.add(`ms-spot`),i}getPath(e,t){return e?`/sso/oidc/embed`:t&&t.trim().length>0?`/sso/jwt`:``}},Ht={READY:`meltingspot:ready`,ERROR:`meltingspot:error`,PREFILL_DRAFT:`meltingspot:prefillDraft`,OIDC_REDIRECT:`ms:sso:oidc:redirect`,OIDC_REDIRECT_ACK:`ms:sso:oidc:redirect:ack`},F=class e{static{this.embeds=[]}static{this.messageListened=!1}static{this.iframeCallbacks=new Map}static injectSpotInto(t,n){let{onReady:r,onError:i,...a}=n,{spotId:o,rootDocument:s,msCommunityWebBaseUrl:c,msCoreBaseUrl:l}=Ie.getConfiguration({spotId:a.spotId,rootDocument:a.rootDocument,msCommunityWebBaseUrl:a.baseURL});if(!o)throw jt.error(`Spot ID is required`),Error(`Spot ID is not configured. Please set the spotId in the configuration.`);let u=new URLSearchParams(window.location.search),d={spotId:o,authToken:a.authToken??u.get(`ms_token`),domain:a.domain,deeplink:a.deeplink??u.get(`ms_url`),themeMode:a.themeMode,utmParameters:a.utmParameters??wt(u),baseURL:c,rootDocument:s},f=ce({input:t,rootDocument:s}),p=new Vt({...d,oidcReturn:Rt()}),m=new Bt(p);if(m.inject(f),e.embeds.push({frame:m,spotId:p.spotId,msCoreBaseUrl:l}),e.ensureMessageListener(),r||i){let t=m.content.iframe.contentWindow;t&&(e.iframeCallbacks.set(t,{onReady:r,onError:i}),m.onRemove=t=>{e.iframeCallbacks.delete(t)})}return jt.log(`Spot injected`,d,typeof t==`string`?t:t.id),m}static clear(){e.embeds.forEach(({frame:e})=>{e.remove()}),e.embeds=[],e.iframeCallbacks.clear(),e.messageListened&&=(window.removeEventListener(`message`,e.handleMessageEvent),!1),jt.log(`All MeltingSpot embeds cleared`)}static handleMessageEvent(t){if(!t.data||typeof t.data!=`object`)return;if(t.data.type===Ht.OIDC_REDIRECT){e.handleOidcRedirect(t);return}if(t.data.type!==Ht.READY&&t.data.type!==Ht.ERROR)return;let n=t.source,r=e.iframeCallbacks.get(n);if(!r)return;let{msCommunityWebBaseUrl:i}=Ie.getConfiguration({});if(i)try{let e=new URL(i).origin;if(t.origin!==e)return}catch{}t.data.type===Ht.READY?r.onReady?.():r.onError?.(t.data.error)}static handleOidcRedirect(t){let n=Ft(t,e.embeds.map(({frame:e,spotId:t,msCoreBaseUrl:n})=>({contentWindow:e.contentWindow,origin:e.origin,spotId:t,msCoreBaseUrl:n})));if(!n){jt.warn(`OpenID Connect login request ignored`);return}n.source.postMessage({type:Ht.OIDC_REDIRECT_ACK},n.origin),jt.log(`Navigating to the OpenID Connect login`),It(n.url)}static ensureMessageListener(){e.messageListened||=(window.addEventListener(`message`,e.handleMessageEvent),!0)}},Ut=globalThis;Ut.MeltingSpot||={},Ut.MeltingSpot.Embed=F,e.EMBED_POST_MESSAGE_TYPE=Ht,e.Embed=F,e.EmbedFrame=Bt});
|
|
20
|
+
}`;var g=af(function(){return at(o,m+`return `+f).apply(n,s)});if(g.source=f,ou(g))throw g;return g}function Jd(e){return Q(e).toLowerCase()}function Yd(e){return Q(e).toUpperCase()}function Xd(e,t,r){if(e=Q(e),e&&(r||t===n))return Ln(e);if(!e||!(t=Ca(t)))return e;var i=ar(e),a=ar(t);return Fa(i,Vn(i,a),Hn(i,a)+1).join(``)}function Zd(e,t,r){if(e=Q(e),e&&(r||t===n))return e.slice(0,or(e)+1);if(!e||!(t=Ca(t)))return e;var i=ar(e);return Fa(i,0,Hn(i,ar(t))+1).join(``)}function Qd(e,t,r){if(e=Q(e),e&&(r||t===n))return e.replace(He,``);if(!e||!(t=Ca(t)))return e;var i=ar(e);return Fa(i,Vn(i,ar(t))).join(``)}function $d(e,t){var r=30,i=`...`;if(Y(t)){var a=`separator`in t?t.separator:a;r=`length`in t?Z(t.length):r,i=`omission`in t?Ca(t.omission):i}e=Q(e);var o=e.length;if(Jn(e)){var s=ar(e);o=s.length}if(r>=o)return e;var c=r-ir(i);if(c<1)return i;var l=s?Fa(s,0,c).join(``):e.slice(0,c);if(a===n)return l+i;if(s&&(c+=l.length-c),bu(a)){if(e.slice(c).search(a)){var u,d=l;for(a.global||(a=st(a.source,Q(Xe.exec(a))+`g`)),a.lastIndex=0;u=a.exec(d);)var f=u.index;l=l.slice(0,f===n?c:f)}}else if(e.indexOf(Ca(a),c)!=c){var p=l.lastIndexOf(a);p>-1&&(l=l.slice(0,p))}return l+i}function ef(e){return e=Q(e),e&&Me.test(e)?e.replace(Ae,sr):e}var tf=ro(function(e,t,n){return e+(n?` `:``)+t.toUpperCase()}),nf=no(`toUpperCase`);function rf(e,t,r){return e=Q(e),t=r?n:t,t===n?Yn(e)?ur(e):Cn(e):e.match(t)||[]}var af=G(function(e,t){try{return ln(e,n,t)}catch(e){return ou(e)?e:new it(e)}}),of=Oo(function(e,t){return dn(t,function(t){t=bs(t),oi(e,t,xl(e[t],e))}),e});function sf(e){var t=e==null?0:e.length,n=K();return e=t?V(e,function(e){if(typeof e[1]!=`function`)throw new lt(r);return[n(e[0]),e[1]]}):[],G(function(n){for(var r=-1;++r<t;){var i=e[r];if(ln(i[0],this,n))return ln(i[1],this,n)}})}function cf(e){return ui(li(e,1))}function lf(e){return function(){return e}}function uf(e,t){return e==null||e!==e?t:e}var df=so(),ff=so(!0);function pf(e){return e}function mf(e){return Ki(typeof e==`function`?e:li(e,1))}function hf(e){return Zi(li(e,1))}function gf(e,t){return Qi(e,li(t,1))}var _f=G(function(e,t){return function(n){return Pi(n,e,t)}}),vf=G(function(e,t){return function(n){return Pi(e,n,t)}});function yf(e,t,n){var r=$(t),i=wi(t,r);n==null&&!(Y(t)&&(i.length||!r.length))&&(n=t,t=e,e=this,i=wi(t,$(t)));var a=!(Y(n)&&`chain`in n)||!!n.chain,o=cu(e);return dn(i,function(n){var r=t[n];e[n]=r,o&&(e.prototype[n]=function(){var t=this.__chain__;if(a||t){var n=e(this.__wrapped__);return(n.__actions__=qa(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,_n([this.value()],arguments))})}),e}function bf(){return z._===this&&(z._=_t),this}function xf(){}function Sf(e){return e=Z(e),G(function(t){return ta(t,e)})}var Cf=fo(V),wf=fo(pn),Tf=fo(bn);function Ef(e){return Zo(e)?An(bs(e)):aa(e)}function Df(e){return function(t){return e==null?n:Ti(e,t)}}var Of=ho(),kf=ho(!0);function Af(){return[]}function jf(){return!1}function Mf(){return{}}function Nf(){return``}function Pf(){return!0}function Ff(e,t){if(e=Z(e),e<1||e>g)return[];var n=y,r=R(e,y);t=K(t),e-=y;for(var i=Fn(r,t);++n<e;)t(n);return i}function If(e){return q(e)?V(e,bs):wu(e)?[e]:qa(ys(Q(e)))}function Lf(e){var t=++pt;return Q(e)+t}var Rf=uo(function(e,t){return e+t},0),zf=vo(`ceil`),Bf=uo(function(e,t){return e/t},1),Vf=vo(`floor`);function Hf(e){return e&&e.length?_i(e,pf,Oi):n}function Uf(e,t){return e&&e.length?_i(e,K(t,2),Oi):n}function Wf(e){return kn(e,pf)}function Gf(e,t){return kn(e,K(t,2))}function Kf(e){return e&&e.length?_i(e,pf,Yi):n}function qf(e,t){return e&&e.length?_i(e,K(t,2),Yi):n}var Jf=uo(function(e,t){return e*t},1),Yf=vo(`round`),Xf=uo(function(e,t){return e-t},0);function Zf(e){return e&&e.length?Pn(e,pf):0}function Qf(e,t){return e&&e.length?Pn(e,K(t,2)):0}return H.after=vl,H.ary=yl,H.assign=Lu,H.assignIn=Ru,H.assignInWith=zu,H.assignWith=Bu,H.at=Vu,H.before=bl,H.bind=xl,H.bindAll=of,H.bindKey=Sl,H.castArray=Vl,H.chain=Pc,H.chunk=ws,H.compact=Ts,H.concat=Es,H.cond=sf,H.conforms=cf,H.constant=lf,H.countBy=Gc,H.create=Hu,H.curry=Cl,H.curryRight=wl,H.debounce=Tl,H.defaults=Uu,H.defaultsDeep=Wu,H.defer=El,H.delay=Dl,H.difference=Ds,H.differenceBy=Os,H.differenceWith=ks,H.drop=As,H.dropRight=js,H.dropRightWhile=Ms,H.dropWhile=Ns,H.fill=Ps,H.filter=qc,H.flatMap=Xc,H.flatMapDeep=Zc,H.flatMapDepth=Qc,H.flatten=Ls,H.flattenDeep=Rs,H.flattenDepth=zs,H.flip=Ol,H.flow=df,H.flowRight=ff,H.fromPairs=Bs,H.functions=Zu,H.functionsIn=Qu,H.groupBy=tl,H.initial=Us,H.intersection=Ws,H.intersectionBy=Gs,H.intersectionWith=Ks,H.invert=nd,H.invertBy=rd,H.invokeMap=rl,H.iteratee=mf,H.keyBy=il,H.keys=$,H.keysIn=ad,H.map=al,H.mapKeys=od,H.mapValues=sd,H.matches=hf,H.matchesProperty=gf,H.memoize=kl,H.merge=cd,H.mergeWith=ld,H.method=_f,H.methodOf=vf,H.mixin=yf,H.negate=Al,H.nthArg=Sf,H.omit=ud,H.omitBy=dd,H.once=jl,H.orderBy=ol,H.over=Cf,H.overArgs=Ml,H.overEvery=wf,H.overSome=Tf,H.partial=Nl,H.partialRight=Pl,H.partition=sl,H.pick=fd,H.pickBy=pd,H.property=Ef,H.propertyOf=Df,H.pull=Zs,H.pullAll=Qs,H.pullAllBy=$s,H.pullAllWith=ec,H.pullAt=tc,H.range=Of,H.rangeRight=kf,H.rearg=Fl,H.reject=ul,H.remove=nc,H.rest=Il,H.reverse=rc,H.sampleSize=fl,H.set=hd,H.setWith=gd,H.shuffle=pl,H.slice=ic,H.sortBy=gl,H.sortedUniq=dc,H.sortedUniqBy=fc,H.split=Wd,H.spread=Ll,H.tail=pc,H.take=mc,H.takeRight=hc,H.takeRightWhile=gc,H.takeWhile=_c,H.tap=Fc,H.throttle=Rl,H.thru=Ic,H.toArray=ju,H.toPairs=_d,H.toPairsIn=vd,H.toPath=If,H.toPlainObject=Fu,H.transform=yd,H.unary=zl,H.union=vc,H.unionBy=yc,H.unionWith=bc,H.uniq=xc,H.uniqBy=Sc,H.uniqWith=Cc,H.unset=bd,H.unzip=wc,H.unzipWith=Tc,H.update=xd,H.updateWith=Sd,H.values=Cd,H.valuesIn=wd,H.without=Ec,H.words=rf,H.wrap=Bl,H.xor=Dc,H.xorBy=Oc,H.xorWith=kc,H.zip=Ac,H.zipObject=jc,H.zipObjectDeep=Mc,H.zipWith=Nc,H.entries=_d,H.entriesIn=vd,H.extend=Ru,H.extendWith=zu,yf(H,H),H.add=Rf,H.attempt=af,H.camelCase=Od,H.capitalize=kd,H.ceil=zf,H.clamp=Td,H.clone=Hl,H.cloneDeep=Wl,H.cloneDeepWith=Gl,H.cloneWith=Ul,H.conformsTo=Kl,H.deburr=Ad,H.defaultTo=uf,H.divide=Bf,H.endsWith=jd,H.eq=ql,H.escape=Md,H.escapeRegExp=Nd,H.every=Kc,H.find=Jc,H.findIndex=Fs,H.findKey=Gu,H.findLast=Yc,H.findLastIndex=Is,H.findLastKey=Ku,H.floor=Vf,H.forEach=$c,H.forEachRight=el,H.forIn=qu,H.forInRight=Ju,H.forOwn=Yu,H.forOwnRight=Xu,H.get=$u,H.gt=Jl,H.gte=Yl,H.has=ed,H.hasIn=td,H.head=Vs,H.identity=pf,H.includes=nl,H.indexOf=Hs,H.inRange=Ed,H.invoke=id,H.isArguments=Xl,H.isArray=q,H.isArrayBuffer=Zl,H.isArrayLike=Ql,H.isArrayLikeObject=J,H.isBoolean=$l,H.isBuffer=eu,H.isDate=tu,H.isElement=nu,H.isEmpty=ru,H.isEqual=iu,H.isEqualWith=au,H.isError=ou,H.isFinite=su,H.isFunction=cu,H.isInteger=lu,H.isLength=uu,H.isMap=du,H.isMatch=fu,H.isMatchWith=pu,H.isNaN=mu,H.isNative=hu,H.isNil=_u,H.isNull=gu,H.isNumber=vu,H.isObject=Y,H.isObjectLike=X,H.isPlainObject=yu,H.isRegExp=bu,H.isSafeInteger=xu,H.isSet=Su,H.isString=Cu,H.isSymbol=wu,H.isTypedArray=Tu,H.isUndefined=Eu,H.isWeakMap=Du,H.isWeakSet=Ou,H.join=qs,H.kebabCase=Pd,H.last=Js,H.lastIndexOf=Ys,H.lowerCase=Fd,H.lowerFirst=Id,H.lt=ku,H.lte=Au,H.max=Hf,H.maxBy=Uf,H.mean=Wf,H.meanBy=Gf,H.min=Kf,H.minBy=qf,H.stubArray=Af,H.stubFalse=jf,H.stubObject=Mf,H.stubString=Nf,H.stubTrue=Pf,H.multiply=Jf,H.nth=Xs,H.noConflict=bf,H.noop=xf,H.now=_l,H.pad=Ld,H.padEnd=Rd,H.padStart=zd,H.parseInt=Bd,H.random=Dd,H.reduce=cl,H.reduceRight=ll,H.repeat=Vd,H.replace=Hd,H.result=md,H.round=Yf,H.runInContext=e,H.sample=dl,H.size=ml,H.snakeCase=Ud,H.some=hl,H.sortedIndex=ac,H.sortedIndexBy=oc,H.sortedIndexOf=sc,H.sortedLastIndex=cc,H.sortedLastIndexBy=lc,H.sortedLastIndexOf=uc,H.startCase=Gd,H.startsWith=Kd,H.subtract=Xf,H.sum=Zf,H.sumBy=Qf,H.template=qd,H.times=Ff,H.toFinite=Mu,H.toInteger=Z,H.toLength=Nu,H.toLower=Jd,H.toNumber=Pu,H.toSafeInteger=Iu,H.toString=Q,H.toUpper=Yd,H.trim=Xd,H.trimEnd=Zd,H.trimStart=Qd,H.truncate=$d,H.unescape=ef,H.uniqueId=Lf,H.upperCase=tf,H.upperFirst=nf,H.each=$c,H.eachRight=el,H.first=Vs,yf(H,function(){var e={};return Si(H,function(t,n){P.call(H.prototype,n)||(e[n]=t)}),e}(),{chain:!1}),H.VERSION=`4.17.21`,dn([`bind`,`bindKey`,`curry`,`curryRight`,`partial`,`partialRight`],function(e){H[e].placeholder=H}),dn([`drop`,`take`],function(e,t){U.prototype[e]=function(r){r=r===n?1:F(Z(r),0);var i=this.__filtered__&&!t?new U(this):this.clone();return i.__filtered__?i.__takeCount__=R(r,i.__takeCount__):i.__views__.push({size:R(r,y),type:e+(i.__dir__<0?`Right`:``)}),i},U.prototype[e+`Right`]=function(t){return this.reverse()[e](t).reverse()}}),dn([`filter`,`map`,`takeWhile`],function(e,t){var n=t+1,r=n==1||n==3;U.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:K(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),dn([`head`,`last`],function(e,t){var n=`take`+(t?`Right`:``);U.prototype[e]=function(){return this[n](1).value()[0]}}),dn([`initial`,`tail`],function(e,t){var n=`drop`+(t?``:`Right`);U.prototype[e]=function(){return this.__filtered__?new U(this):this[n](1)}}),U.prototype.compact=function(){return this.filter(pf)},U.prototype.find=function(e){return this.filter(e).head()},U.prototype.findLast=function(e){return this.reverse().find(e)},U.prototype.invokeMap=G(function(e,t){return typeof e==`function`?new U(this):this.map(function(n){return Pi(n,e,t)})}),U.prototype.reject=function(e){return this.filter(Al(K(e)))},U.prototype.slice=function(e,t){e=Z(e);var r=this;return r.__filtered__&&(e>0||t<0)?new U(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==n&&(t=Z(t),r=t<0?r.dropRight(-t):r.take(t-e)),r)},U.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},U.prototype.toArray=function(){return this.take(y)},Si(U.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),a=H[i?`take`+(t==`last`?`Right`:``):t],o=i||/^find/.test(t);a&&(H.prototype[t]=function(){var t=this.__wrapped__,s=i?[1]:arguments,c=t instanceof U,l=s[0],u=c||q(t),d=function(e){var t=a.apply(H,_n([e],s));return i&&f?t[0]:t};u&&r&&typeof l==`function`&&l.length!=1&&(c=u=!1);var f=this.__chain__,p=!!this.__actions__.length,m=o&&!f,h=c&&!p;if(!o&&u){t=h?t:new U(this);var g=e.apply(t,s);return g.__actions__.push({func:Ic,args:[d],thisArg:n}),new yr(g,f)}return m&&h?e.apply(this,s):(g=this.thru(d),m?i?g.value()[0]:g.value():g)})}),dn([`pop`,`push`,`shift`,`sort`,`splice`,`unshift`],function(e){var t=ut[e],n=/^(?:push|sort|unshift)$/.test(e)?`tap`:`thru`,r=/^(?:pop|shift)$/.test(e);H.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(q(i)?i:[],e)}return this[n](function(n){return t.apply(q(n)?n:[],e)})}}),Si(U.prototype,function(e,t){var n=H[t];if(n){var r=n.name+``;P.call(jn,r)||(jn[r]=[]),jn[r].push({name:t,func:n})}}),jn[co(n,s).name]=[{name:`wrapper`,func:n}],U.prototype.clone=br,U.prototype.reverse=xr,U.prototype.value=Sr,H.prototype.at=Lc,H.prototype.chain=Rc,H.prototype.commit=zc,H.prototype.next=Bc,H.prototype.plant=Hc,H.prototype.reverse=Uc,H.prototype.toJSON=H.prototype.valueOf=H.prototype.value=Wc,H.prototype.first=H.prototype.head,Ot&&(H.prototype[Ot]=Vc),H})();typeof define==`function`&&typeof define.amd==`object`&&define.amd?(z._=dr,define(function(){return dr})):$t?(($t.exports=dr)._=dr,Qt._=dr):z._=dr}).call(e)}))(),Object.values(function(e){return e.EditMode=`edit-mode`,e.Preview=`preview`,e}({}));var Oe=`1.21.0`,ke=e=>e.message?`${e.name}: ${e.message}`:e.name,Ae=e=>e instanceof Error?ke(e):typeof e==`object`&&e&&`data`in e&&e.data instanceof Error?ke(e.data):e,je=class{constructor(e){this.debug=!1,this.debug=e?.debug??!1,this.appName=e?.appName,this.appVersion=e?.appVersion}log(e,...t){this.debug&&this.print(e,`info`,t)}warn(e,...t){this.print(e,`warn`,t)}error(e,...t){this.print(e,`error`,t)}print(e,t,n){let r=[`[${[`MeltingSpot`,this.appName,this.appVersion].filter(Boolean).join(` - `)}] ${e}`];n.length&&r.push(...n.map(Ae)),console[t](...r)}},Me=new je({appName:`Core SDK`,appVersion:Oe}),Ne=e=>e.toLowerCase().replace(/[^a-z0-9-]/g,``),Pe=[`/user`],Fe=({deeplink:e,spotId:t})=>{try{let n=new URL(e,`https://unused.com`),r=n.pathname;return n.search&&(r+=n.search),n.hash&&(r+=n.hash),Pe.some(e=>r.startsWith(e))||(r=`/spot/${t}/${ie(r)}`),r}catch(e){return Me.warn(`Failed to parse deeplink URL`,e),null}},Ie=[/(^|\.)meltingspot\.io$/i],Le=e=>{let t;try{let n=oe(e);t=new URL(n)}catch{throw Error(`Invalid baseURL: ${e}`)}let n=t.hostname===`localhost`||t.hostname===`127.0.0.1`,r=t.protocol===`https:`,i=Ie.some(e=>e.test(t.hostname));if(!n&&(!r||!i))throw Error(`Untrusted baseURL origin: ${t.origin}`);return t.origin},Re={msApiBaseUrl:`https://openapi.meltingspot.io/`,msCommunityWebBaseUrl:`https://go.meltingspot.io/`,msCoreBaseUrl:`https://go-api.meltingspot.io/`,ssoToken:void 0,spotId:``,autoJoin:!1,rootDocument:globalThis.document},ze=class e{constructor(){this.configuration=Re}static getInstance(){return e.instance||=new e,e.instance}setConfiguration(e){this.configuration={...this.configuration,...e}}static getConfiguration(t={}){let n=e.getInstance(),r=Object.fromEntries(Object.entries(t).filter(([,e])=>e!==void 0));return{...n.configuration,...r}}},Be=RegExp(`(%[a-f0-9]{2})|([^%]+?)`,`gi`),Ve=RegExp(`(%[a-f0-9]{2})+`,`gi`);function He(e,t){try{return[decodeURIComponent(e.join(``))]}catch{}if(e.length===1)return e;t||=1;let n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],He(n),He(r))}function k(e){try{return decodeURIComponent(e)}catch{let t=e.match(Be)||[];for(let n=1;n<t.length;n++)e=He(t,n).join(``),t=e.match(Be)||[];return e}}function Ue(e){let t={"%FE%FF":`��`,"%FF%FE":`��`},n=Ve.exec(e);for(;n;){try{t[n[0]]=decodeURIComponent(n[0])}catch{let e=k(n[0]);e!==n[0]&&(t[n[0]]=e)}n=Ve.exec(e)}t[`%C2`]=`�`;let r=Object.keys(t);for(let n of r)e=e.replace(new RegExp(n,`g`),t[n]);return e}function We(e){if(typeof e!=`string`)throw TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return decodeURIComponent(e)}catch{return Ue(e)}}function Ge(e,t){let n={};if(Array.isArray(t))for(let r of t){let t=Object.getOwnPropertyDescriptor(e,r);t?.enumerable&&Object.defineProperty(n,r,t)}else for(let r of Reflect.ownKeys(e)){let i=Object.getOwnPropertyDescriptor(e,r);if(i.enumerable){let a=e[r];t(r,a,e)&&Object.defineProperty(n,r,i)}}return n}function Ke(e,t){if(typeof e!=`string`||typeof t!=`string`)throw TypeError("Expected the arguments to be of type `string`");if(e===``||t===``)return[];let n=e.indexOf(t);return n===-1?[]:[e.slice(0,n),e.slice(n+t.length)]}var qe=c({exclude:()=>ut,extract:()=>at,parse:()=>ot,parseUrl:()=>st,pick:()=>lt,stringify:()=>j,stringifyUrl:()=>ct}),Je=e=>e==null,Ye=e=>encodeURIComponent(e).replaceAll(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`),Xe=Symbol(`encodeFragmentIdentifier`);function Ze(e){switch(e.arrayFormat){case`index`:return t=>(n,r)=>{let i=n.length;return r===void 0||e.skipNull&&r===null||e.skipEmptyString&&r===``?n:r===null?[...n,[A(t,e),`[`,i,`]`].join(``)]:[...n,[A(t,e),`[`,A(i,e),`]=`,A(r,e)].join(``)]};case`bracket`:return t=>(n,r)=>r===void 0||e.skipNull&&r===null||e.skipEmptyString&&r===``?n:r===null?[...n,[A(t,e),`[]`].join(``)]:[...n,[A(t,e),`[]=`,A(r,e)].join(``)];case`colon-list-separator`:return t=>(n,r)=>r===void 0||e.skipNull&&r===null||e.skipEmptyString&&r===``?n:r===null?[...n,[A(t,e),`:list=`].join(``)]:[...n,[A(t,e),`:list=`,A(r,e)].join(``)];case`comma`:case`separator`:case`bracket-separator`:{let t=e.arrayFormat===`bracket-separator`?`[]=`:`=`;return n=>(r,i)=>i===void 0||e.skipNull&&i===null||e.skipEmptyString&&i===``?r:(i=i===null?``:i,r.length===0?[[A(n,e),t,A(i,e)].join(``)]:[[r,A(i,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>r===void 0||e.skipNull&&r===null||e.skipEmptyString&&r===``?n:r===null?[...n,A(t,e)]:[...n,[A(t,e),`=`,A(r,e)].join(``)]}}function Qe(e){let t;switch(e.arrayFormat){case`index`:return(e,n,r)=>{if(t=/\[(\d*)]$/.exec(e),e=e.replace(/\[\d*]$/,``),!t){r[e]=n;return}r[e]===void 0&&(r[e]={}),r[e][t[1]]=n};case`bracket`:return(e,n,r)=>{if(t=/(\[])$/.exec(e),e=e.replace(/\[]$/,``),!t){r[e]=n;return}if(r[e]===void 0){r[e]=[n];return}r[e]=[...r[e],n]};case`colon-list-separator`:return(e,n,r)=>{if(t=/(:list)$/.exec(e),e=e.replace(/:list$/,``),!t){r[e]=n;return}if(r[e]===void 0){r[e]=[n];return}r[e]=[...r[e],n]};case`comma`:case`separator`:return(t,n,r)=>{let i=typeof n==`string`&&n.includes(e.arrayFormatSeparator),a=typeof n==`string`&&!i&&et(n,e).includes(e.arrayFormatSeparator);n=a?et(n,e):n,r[t]=i||a?n.split(e.arrayFormatSeparator).map(t=>et(t,e)):n===null?n:et(n,e)};case`bracket-separator`:return(t,n,r)=>{let i=/(\[])$/.test(t);if(t=t.replace(/\[]$/,``),!i){r[t]=n&&et(n,e);return}let a=n===null?[]:et(n,e).split(e.arrayFormatSeparator);if(r[t]===void 0){r[t]=a;return}r[t]=[...r[t],...a]};default:return(e,t,n)=>{if(n[e]===void 0){n[e]=t;return}n[e]=[...[n[e]].flat(),t]}}}function $e(e){if(typeof e!=`string`||e.length!==1)throw TypeError(`arrayFormatSeparator must be single character string`)}function A(e,t){return t.encode?t.strict?Ye(e):encodeURIComponent(e):e}function et(e,t){return t.decode?We(e):e}function tt(e){return Array.isArray(e)?e.sort():typeof e==`object`?tt(Object.keys(e)).sort((e,t)=>Number(e)-Number(t)).map(t=>e[t]):e}function nt(e){let t=e.indexOf(`#`);return t!==-1&&(e=e.slice(0,t)),e}function rt(e){let t=``,n=e.indexOf(`#`);return n!==-1&&(t=e.slice(n)),t}function it(e,t,n){return n===`string`&&typeof e==`string`?e:typeof n==`function`&&typeof e==`string`?n(e):n===`boolean`&&e===null?!0:n===`boolean`&&e!==null&&(e.toLowerCase()===`true`||e.toLowerCase()===`false`)?e.toLowerCase()===`true`:n===`boolean`&&e!==null&&(e.toLowerCase()===`1`||e.toLowerCase()===`0`)?e.toLowerCase()===`1`:n===`string[]`&&t.arrayFormat!==`none`&&typeof e==`string`?[e]:n===`number[]`&&t.arrayFormat!==`none`&&!Number.isNaN(Number(e))&&typeof e==`string`&&e.trim()!==``?[Number(e)]:n===`number`&&!Number.isNaN(Number(e))&&typeof e==`string`&&e.trim()!==``?Number(e):t.parseBooleans&&e!==null&&(e.toLowerCase()===`true`||e.toLowerCase()===`false`)?e.toLowerCase()===`true`:t.parseNumbers&&!Number.isNaN(Number(e))&&typeof e==`string`&&e.trim()!==``?Number(e):e}function at(e){e=nt(e);let t=e.indexOf(`?`);return t===-1?``:e.slice(t+1)}function ot(e,t){t={decode:!0,sort:!0,arrayFormat:`none`,arrayFormatSeparator:`,`,parseNumbers:!1,parseBooleans:!1,types:Object.create(null),...t},$e(t.arrayFormatSeparator);let n=Qe(t),r=Object.create(null);if(typeof e!=`string`||(e=e.trim().replace(/^[?#&]/,``),!e))return r;for(let i of e.split(`&`)){if(i===``)continue;let e=t.decode?i.replaceAll(`+`,` `):i,[a,o]=Ke(e,`=`);a===void 0&&(a=e),o=o===void 0?null:[`comma`,`separator`,`bracket-separator`].includes(t.arrayFormat)?o:et(o,t),n(et(a,t),o,r)}for(let[e,n]of Object.entries(r))if(typeof n==`object`&&n&&t.types[e]!==`string`)for(let[r,i]of Object.entries(n)){let a=t.types[e]?t.types[e].replace(`[]`,``):void 0;n[r]=it(i,t,a)}else r[e]=typeof n==`object`&&n&&t.types[e]===`string`?Object.values(n).join(t.arrayFormatSeparator):it(n,t,t.types[e]);return t.sort===!1?r:(t.sort===!0?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce((e,t)=>{let n=r[t];return e[t]=n&&typeof n==`object`&&!Array.isArray(n)?tt(n):n,e},Object.create(null))}function j(e,t){if(!e)return``;t={encode:!0,strict:!0,arrayFormat:`none`,arrayFormatSeparator:`,`,...t},$e(t.arrayFormatSeparator);let n=n=>t.skipNull&&Je(e[n])||t.skipEmptyString&&e[n]===``,r=Ze(t),i={};for(let[t,r]of Object.entries(e))n(t)||(i[t]=r);let a=Object.keys(i);return t.sort!==!1&&a.sort(t.sort),a.map(n=>{let i=e[n];return i===void 0?``:i===null?A(n,t):Array.isArray(i)?i.length===0&&t.arrayFormat===`bracket-separator`?A(n,t)+`[]`:i.reduce(r(n),[]).join(`&`):A(n,t)+`=`+A(i,t)}).filter(e=>e.length>0).join(`&`)}function st(e,t){t={decode:!0,...t};let[n,r]=Ke(e,`#`);return n===void 0&&(n=e),{url:n?.split(`?`)?.[0]??``,query:ot(at(e),t),...t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:et(r,t)}:{}}}function ct(e,t){t={encode:!0,strict:!0,[Xe]:!0,...t};let n=nt(e.url).split(`?`)[0]||``,r=j({...ot(at(e.url),{sort:!1,...t}),...e.query},t);r&&=`?${r}`;let i=rt(e.url);if(typeof e.fragmentIdentifier==`string`){let r=new URL(n);r.hash=e.fragmentIdentifier,i=t[Xe]?r.hash:`#${e.fragmentIdentifier}`}return`${n}${r}${i}`}function lt(e,t,n){n={parseFragmentIdentifier:!0,[Xe]:!1,...n};let{url:r,query:i,fragmentIdentifier:a}=st(e,n);return ct({url:r,query:Ge(i,t),fragmentIdentifier:a},n)}function ut(e,t,n){return lt(e,Array.isArray(t)?e=>!t.includes(e):(e,n)=>!t(e,n),n)}var dt=qe,M=class e extends Error{constructor(t,n){super(`HTTP Error ${t}${n?`: ${n}`:``}`),this.code=t,this.name=`HttpError`,Object.setPrototypeOf(this,e.prototype)}},N=function(e){return e.DELETE=`DELETE`,e.GET=`GET`,e.PATCH=`PATCH`,e.POST=`POST`,e}({}),ft=class e{constructor(){this.headers={}}setHeaders(e){this.headers=e}async get(t){try{let n=t.query?`${t.url}?${this.serializeQuery(t.query)}`:t.url,r=await fetch(n,{headers:{...this.headers,...t.headers,"Content-Type":`application/json`},...t.signal?{signal:t.signal}:{}});return r.ok?T(await e.parseBody(r)):E(new M(r.status,await r.text()))}catch(e){let t=e instanceof Error?e.message:`Unknown error`;return E(new M(D.INTERNAL_SERVER_ERROR,t))}}async post(t){try{let n=await fetch(t.url,{method:`POST`,headers:{...this.headers,...t.headers,"Content-Type":`application/json`},body:JSON.stringify(t.payload),...t.signal?{signal:t.signal}:{}});return n.ok?T(await e.parseBody(n)):E(new M(n.status,await n.text()))}catch(e){let t=e instanceof Error?e.message:`Unknown error`;return E(new M(D.INTERNAL_SERVER_ERROR,t))}}async delete(t){try{let n=await fetch(t.url,{method:`DELETE`,headers:{...this.headers,...t.headers,Accept:`application/json`},...t.signal?{signal:t.signal}:{}});return n.ok?T(await e.parseBody(n)):E(new M(n.status,await n.text()))}catch(e){let t=e instanceof Error?e.message:`Unknown error`;return E(new M(D.INTERNAL_SERVER_ERROR,t))}}async patch(t){try{let n=await fetch(t.url,{method:`PATCH`,headers:{...this.headers,...t.headers,"Content-Type":`application/json`},body:JSON.stringify(t.payload),...t.signal?{signal:t.signal}:{}});return n.ok?T(await e.parseBody(n)):E(new M(n.status,await n.text()))}catch(e){let t=e instanceof Error?e.message:`Unknown error`;return E(new M(D.INTERNAL_SERVER_ERROR,t))}}static async parseBody(e){if(e.status!==D.NO_CONTENT)return await e.json()}serializeQuery(e){if(typeof e==`string`)return e;if(typeof e==`object`)for(let t in e)e[t]===void 0&&delete e[t];return e=dt.stringify(e,{arrayFormat:`none`}),e}},P={accessToken:{email:`/v1/auth/accessToken/email`,sso:{jwt:`/v1/auth/accessToken/sso/jwt`}},refreshAccessToken:`/v1/auth/accessToken~refresh`,password:{reset:`/v1/auth/password~reset`}},pt=class e extends EventTarget{constructor(){super(),this.accessToken=null,this.refreshToken=null}static getInstance(){return e.instance||=new e,e.instance}async loginWithPassword(e,t){let n=await this.callApi({endpoint:P.accessToken.email,method:`POST`,body:{email:e,password:t},withSpotId:!0});if(n.isErr())return E(n.error);let{accessToken:r,refreshToken:i}=n.value;return this.setTokens(r.token,i.token),T({accessToken:r.token,refreshToken:i.token})}async loginWithSsoToken(e){let t=await this.callApi({endpoint:P.accessToken.sso.jwt,method:`POST`,body:{token:e},withSpotId:!0});if(t.isErr())return E(t.error);let{accessToken:n,refreshToken:r}=t.value;return this.setTokens(n.token,r.token),T({accessToken:n.token,refreshToken:r.token})}loginWithAuthTokens(e,t){return this.setTokens(e,t),{accessToken:e,refreshToken:t}}resetPassword(e){return this.callApi({endpoint:P.password.reset,method:`POST`,body:{email:e}})}refresh(){return this.refreshInFlight??=this.doRefresh().finally(()=>{this.refreshInFlight=void 0}).then(({result:e,superseded:t})=>(t||this.emitRefreshRejected(e),e)),this.refreshInFlight}async doRefresh(){let e=this.refreshToken,t=await this.callApi({endpoint:P.refreshAccessToken,method:`POST`,body:{refreshToken:e}});if(this.refreshToken!==e)return{result:this.currentSessionResult(),superseded:!0};if(t.isErr())return{result:E(t.error),superseded:!1};let{accessToken:n,refreshToken:r}=t.value;return this.setTokens(n.token,r.token),{result:T({accessToken:n.token,refreshToken:r.token}),superseded:!1}}currentSessionResult(){return!this.accessToken||!this.refreshToken?E(new M(D.UNAUTHORIZED,`Logged out while the refresh was in flight`)):T({accessToken:this.accessToken,refreshToken:this.refreshToken})}emitRefreshRejected(e){e.isOk()||e.error.code!==D.UNAUTHORIZED||this.dispatchEvent(new CustomEvent(`auth:refresh-rejected`,{detail:{status:e.error.code}}))}async logout(){this.setTokens(null,null)}getAccessToken(){return this.accessToken}getRefreshToken(){return this.refreshToken}setTokens(e,t){if(this.accessToken!==e||this.refreshToken!==t){this.accessToken=e,this.refreshToken=t;let n=new CustomEvent(`auth:tokens-updated`,{detail:{accessToken:e,refreshToken:t}});this.dispatchEvent(n)}}async callApi(e){try{let{spotId:t,msApiBaseUrl:n}=ze.getConfiguration(),r=se(e.endpoint,n),i={"Content-Type":`application/json`,...e.headers};e.withSpotId&&t&&(i[mt.SpotId]=t);let a=await fetch(r,{method:e.method,body:e.body?JSON.stringify(e.body):void 0,headers:i});return a.ok?a.status===D.NO_CONTENT?T(void 0):T(await a.json()):E(new M(a.status,a.statusText))}catch(e){return E(new M(D.INTERNAL_SERVER_ERROR,e instanceof Error?e.message:String(e)))}}},mt=function(e){return e.Authorization=`Authorization`,e.SpotId=`x-spotid`,e}({}),ht=class e{static getInstance(){return e.instance||=new e,e.instance}static buildAuthenticatedRequest(e){let{msApiBaseUrl:t,spotId:n}=ze.getConfiguration(),r=se(e,t),i=pt.getInstance().getAccessToken();if(!i)return E(Error(`Not authenticated`));let a={"Content-Type":`application/json`,Authorization:`Bearer ${i}`};return n&&(a[`x-spotid`]=n),T({url:r,headers:a})}static async stream(t,n,r){let{streamTransport:i}=ze.getConfiguration();if(i)return i({endpoint:t,body:n,signal:r});let a=e.buildAuthenticatedRequest(t);if(a.isErr())return E(a.error);let{url:o,headers:s}=a.value;try{let e=await fetch(o,{method:`POST`,headers:s,...n===void 0?{}:{body:JSON.stringify(n)},...r?{signal:r}:{}});if(!e.ok){let t=await e.text();return E(Error(`HTTP ${e.status}: ${t}`))}if(e.status===D.NO_CONTENT){let t=e.body?.getReader();for(;t&&!(await t.read()).done;);return T(new ReadableStream({start:e=>e.close()}))}return e.body?T(e.body):E(Error(`Response body is empty`))}catch(e){let t=e instanceof Error?e.message:`Unknown error`;return E(e instanceof Error?e:Error(t))}}get pendingCount(){return this.queue.length}constructor(){this.queue=[],this.isProcessing=!1,this.isPaused=!1,this.authService=pt.getInstance(),this.httpService=new ft}enqueue(e){return new Promise(t=>{this.queue.push(async()=>{try{t(await e())}catch(e){t(E(new M(D.INTERNAL_SERVER_ERROR,e instanceof Error?e.message:`Unknown error`)))}}),this.processQueue()})}async processQueue(){if(!this.isProcessing){this.isProcessing=!0;try{for(;!this.isPaused&&this.queue.length>0;){let e=this.queue.shift();if(!e)break;await e()}}finally{this.isProcessing=!1,!this.isPaused&&this.queue.length>0&&Promise.resolve().then(()=>this.processQueue())}}}pauseQueue(){this.isPaused=!0}resumeQueue(){let e=this.isPaused;this.isPaused=!1,e&&this.processQueue()}async call(e){return this.enqueue(async()=>{let t=async()=>{let{spotId:t,msApiBaseUrl:n}=ze.getConfiguration(),r={...e.options?.headers??{}};t&&(r[`x-spotid`]=t);let i=this.authService.getAccessToken(),{requiresAuth:a=!0}=e;if(!i&&a)return E(new M(D.UNAUTHORIZED));i&&(r.Authorization=`Bearer ${i}`);let o=se(e.endpoint,n);switch(e.method){case N.DELETE:return this.httpService.delete({...e.options??{},headers:r,url:o});case N.GET:return this.httpService.get({...e.options??{},headers:r,url:o});case N.PATCH:return this.httpService.patch({...e.options??{},headers:r,url:o});case N.POST:return this.httpService.post({...e.options??{},headers:r,url:o});default:return E(new M(D.METHOD_NOT_ALLOWED,`Method not allowed`))}},n=await t();if(n.isErr()&&n.error.code===D.UNAUTHORIZED){let e=await this.authService.refresh();if(e.isErr())return E(new M(D.UNAUTHORIZED,e.error.message));n=await t()}return n})}},gt={config:`/v1/melty/config`},_t=class e{static getInstance(){return e.instance||=new e,e.instance}constructor(){this.meltingSpotApi=ht.getInstance()}async getConfig(){let e=await this.meltingSpotApi.call({method:N.GET,endpoint:gt.config});if(e.isErr())return E(e.error);let t=e.value?.capabilities;return T({capabilities:{intentStandaloneAuthoring:t?.intentStandaloneAuthoring===!0,intentStandaloneAuthoringAvailable:t?.intentStandaloneAuthoringAvailable===!0}})}},vt={playbooks:`/v1/playbooks`,pages:e=>`/v1/playbooks/${e}/pages`,hotspots:(e,t)=>`/v1/playbooks/${e}/pages/${t}/hotspots`,hotspot:(e,t,n)=>`/v1/playbooks/${e}/pages/${t}/hotspots/${n}`,accessibleIntents:(e,t)=>`/v1/playbooks/${e}/pages/${t}/accessibleIntents`,intents:(e,t,n)=>`/v1/playbooks/${e}/pages/${t}/hotspots/${n}/intents`,intent:(e,t,n,r)=>`/v1/playbooks/${e}/pages/${t}/hotspots/${n}/intents/${r}`,intentStandaloneTitle:`/v1/melty/intentStandalone~generateTitle`},yt=50,bt=class e{static getInstance(){return e.instance||=new e,e.instance}constructor(){this.meltingSpotApi=ht.getInstance()}async listPlaybooks(e){let t=await this.meltingSpotApi.call({method:N.GET,endpoint:vt.playbooks,options:{query:{page:e?.page??1,limit:e?.limit??yt,...e?.domain?{"domain[eq]":e.domain}:{},...e?.host===void 0?{}:{"domain[matchesHost]":e.host}}}});return t.isErr()?E(t.error):T(t.value)}async listPlaybookPages(e){let t=await this.meltingSpotApi.call({method:N.GET,endpoint:vt.pages(e.playbookId),options:{query:{page:e.page??1,limit:e.limit??yt,...e.url?{"url[eq]":e.url}:{}}}});return t.isErr()?E(t.error):T(t.value)}async createPlaybookPage(e,t){let n=await this.meltingSpotApi.call({method:N.POST,endpoint:vt.pages(e.playbookId),options:{payload:t}});return n.isErr()?E(n.error):T(n.value)}async listAccessiblePlaybookIntents(e){let t=await this.meltingSpotApi.call({method:N.GET,endpoint:vt.accessibleIntents(e.playbookId,e.pageId),options:{query:{...e.domain?{domain:e.domain}:{},...e.capabilities?.length?{capabilities:e.capabilities}:{}}}});return t.isErr()?E(t.error):T(t.value)}async listPlaybookHotspots(e){let t=await this.meltingSpotApi.call({method:N.GET,endpoint:vt.hotspots(e.playbookId,e.pageId),options:{query:{page:e.page??1,limit:e.limit??yt,...e.intentStatus?{"intentStatus[eq]":e.intentStatus}:{},...e.widgetType?{"widgetType[eq]":e.widgetType}:{}}}});return t.isErr()?E(t.error):T(t.value)}async createPlaybookHotspot(e,t){let n=await this.meltingSpotApi.call({method:N.POST,endpoint:vt.hotspots(e.playbookId,e.pageId),options:{payload:t}});return n.isErr()?E(n.error):T(n.value)}async updatePlaybookHotspot(e,t){let n=await this.meltingSpotApi.call({method:N.PATCH,endpoint:vt.hotspot(e.playbookId,e.pageId,e.hotspotId),options:{payload:t}});return n.isErr()?E(n.error):T(n.value)}async listPlaybookIntents(e){let t=await this.meltingSpotApi.call({method:N.GET,endpoint:vt.intents(e.playbookId,e.pageId,e.hotspotId),options:{query:{page:e.page??1,limit:e.limit??yt,...e.status?{"status[eq]":e.status}:{}}}});return t.isErr()?E(t.error):T(t.value)}async createPlaybookIntent(e,t){let n=await this.meltingSpotApi.call({method:N.POST,endpoint:vt.intents(e.playbookId,e.pageId,e.hotspotId),options:{payload:t}});return n.isErr()?E(n.error):T(n.value)}async generateIntentStandaloneTitle(e){let t=await this.meltingSpotApi.call({method:N.POST,endpoint:vt.intentStandaloneTitle,options:{payload:e}});return t.isErr()?E(t.error):T(t.value)}async updatePlaybookIntent(e,t){let n=await this.meltingSpotApi.call({method:N.PATCH,endpoint:vt.intent(e.playbookId,e.pageId,e.hotspotId,e.intentId),options:{payload:t}});return n.isErr()?E(n.error):T(n.value)}},xt={me:`/v1/spots/me`},St=1,Ct=class e{static getInstance(){return e.instance||=new e,e.instance}constructor(){this.meltingSpotApi=ht.getInstance()}async listSpotsForMe(e){let t=await this.meltingSpotApi.call({method:N.GET,endpoint:xt.me,options:{query:{page:e?.page??St,limit:e?.limit??50,...e?.spotMemberRole?{"spotMemberRole[eq]":e.spotMemberRole}:{},...e?.id?{"id[eq]":e.id}:{},...e?.name?{"name[contains]":e.name}:{}}}});return t.isErr()?E(t.error):T(t.value)}},wt={spotMember:{me:`/v1/spotMembers/me`,joinFromSso:`/v1/spotMembers~joinFromSso`,search:`/v1/spotMembers~search`}},Tt=class e{static getInstance(){return e.instance||=new e,e.instance}constructor(){this.meltingSpotApi=ht.getInstance()}async getSpotMemberForMe(){let e=await this.meltingSpotApi.call({method:N.GET,endpoint:wt.spotMember.me});return e.isErr()?E(e.error):T(e.value)}async searchSpotMembers(e){let t={page:e.page,limit:e.limit};e.search&&(t.search=e.search);let n=await this.meltingSpotApi.call({method:N.GET,endpoint:wt.spotMember.search,options:{query:t}});return n.isErr()?E(n.error):T(n.value)}async joinFromSso(e){let t=await this.meltingSpotApi.call({method:N.POST,endpoint:wt.spotMember.joinFromSso,options:{payload:{token:e}}});return t.isErr()?E(t.error):T(t.value)}},Et={spotMemberSsoToken:`/v1/spotMembers/auth/sso/jwt`,previewAccessKey:`/v1/spotMembers/auth/preview/accessKey`},Dt=class e{static getInstance(){return e.instance||=new e,e.instance}constructor(){this.meltingSpotApi=ht.getInstance()}async generateSsoToken(){let e=await this.meltingSpotApi.call({method:N.POST,endpoint:Et.spotMemberSsoToken,options:{payload:{}}});return e.isErr()?E(e.error):T(e.value.token)}async generatePreviewAccessKey(e){let t=await this.meltingSpotApi.call({method:N.POST,endpoint:Et.previewAccessKey,options:{payload:{targetSpotMemberId:e.targetSpotMemberId}}});return t.isErr()?E(t.error):T(t.value)}},Ot=class e{static getInstance(){return e.instance||=new e,e.instance}constructor(){this.spotMemberAuthApiService=Dt.getInstance()}async generateSsoToken(){return this.spotMemberAuthApiService.generateSsoToken()}},kt=e=>{let t=e.get(`utm_source`);if(t)return{source:t,medium:e.get(`utm_medium`)??void 0,campaign:e.get(`utm_campaign`)??void 0,term:e.get(`utm_term`)??void 0,content:e.get(`utm_content`)??void 0}},At=e=>e?Object.entries(e).reduce((e,[t,n])=>(n!=null&&(e[`utm_${t}`]=n),e),{}):{},jt=ze.getInstance(),Mt=pt.getInstance(),Nt=Ot.getInstance(),Pt={Melty:_t.getInstance(),Playbook:bt.getInstance(),Spot:Ct.getInstance(),SpotMember:Tt.getInstance()},Ft=globalThis;Ft.MeltingSpot||={},Ft.MeltingSpot.Configuration=jt,Ft.MeltingSpot.Auth=Mt,Ft.MeltingSpot.Sso=Nt,Ft.MeltingSpot.Api=Pt;var It=new je({appName:`Embed SDK`,appVersion:`1.21.0`}),Lt=`EmbedRedirect`,Rt=/^\/spot\/([^/]+)\/sso\/oidc\/embed\/authorize$/,zt=e=>{try{return new URL(e).origin}catch{return}},Bt=(e,t)=>{let n=t.find(({contentWindow:t})=>t!==null&&t===e.source);if(!n||!n.origin||e.origin!==n.origin)return;let r=e.data?.url;if(typeof r!=`string`)return;let i;try{i=new URL(r)}catch{return}let a=zt(n.msCoreBaseUrl),o=Rt.exec(i.pathname)?.[1];if(!(!a||i.origin!==a||o?.toLowerCase()!==n.spotId.toLowerCase()||i.searchParams.get(`mode`)!==Lt))return{source:e.source,origin:e.origin,url:i.toString()}},Vt=e=>{window.location.assign(e)},Ht={ATTEMPT:`ms_oidc_attempt`,CODE:`ms_oidc_code`,ERROR:`ms_oidc_error`},F=(e=window.location,t=window.history)=>{let n=new URLSearchParams(e.hash.replace(/^#/,``)),r=Object.values(Ht);if(!r.some(e=>n.has(e)))return;let i=n.get(Ht.ATTEMPT),a=n.get(Ht.CODE)||void 0,o=n.get(Ht.ERROR)||void 0;r.forEach(e=>n.delete(e));let s=n.toString();return t.replaceState(t.state,``,e.pathname+e.search+(s?`#${s}`:``)),i&&(a||o)?{attemptId:i,code:a,error:o}:void 0},Ut=e=>{let t=new URLSearchParams({[Ht.ATTEMPT]:e.attemptId});return e.code&&t.set(Ht.CODE,e.code),e.error&&t.set(Ht.ERROR,e.error),t.toString()},Wt=class{#e=null;#t=null;constructor(e){this.content=e}set onRemove(e){this.#t=e}get contentWindow(){return this.#e?.contentWindow??null}get origin(){if(!this.#e)return null;try{return new URL(this.#e.src).origin}catch{return null}}inject(e){this.remove();let t=ce({input:e,rootDocument:this.content.rootDocument});this.#e=this.content.iframe,this.#e.classList.add(`ms-embed`),t.appendChild(this.#e)}remove(){this.#e&&=(this.#e.contentWindow&&this.#t?.(this.#e.contentWindow),this.#e.remove(),null)}},I=class{#e;constructor(e){this.baseURL=Le(e.baseURL),this.spotId=Ne(e.spotId),this.authToken=e.authToken??null,this.themeMode=e.themeMode??`auto`,this.domain=e.domain??null,this.deeplink=e.deeplink?Fe({deeplink:e.deeplink,spotId:this.spotId}):null,this.utmParameters=e.utmParameters??null,this.rootDocument=e.rootDocument,this.#e=e.oidcReturn??null}get iframe(){let e=this.#e;this.#e=null;let t=e?null:this.authToken,n=this.getPath(e,t),r=new URL(`/spot/${this.spotId}${n}`,oe(this.baseURL));e&&(r.hash=Ut(e));let i=ue({url:r,searchParams:{embed:this.spotId,themeMode:this.themeMode,ms_token:t,domain:this.domain,deeplink:this.deeplink,...At(this.utmParameters)},rootDocument:this.rootDocument});return i.classList.add(`ms-spot`),i}getPath(e,t){return e?`/sso/oidc/embed`:t&&t.trim().length>0?`/sso/jwt`:``}},L={READY:`meltingspot:ready`,ERROR:`meltingspot:error`,PREFILL_DRAFT:`meltingspot:prefillDraft`,OIDC_REDIRECT:`ms:sso:oidc:redirect`,OIDC_REDIRECT_ACK:`ms:sso:oidc:redirect:ack`,BUSY:`meltingspot:busy`,IDLE:`meltingspot:idle`},R=class e{static{this.embeds=[]}static{this.messageListened=!1}static{this.iframeCallbacks=new Map}static injectSpotInto(t,n){let{onReady:r,onError:i,...a}=n,{spotId:o,rootDocument:s,msCommunityWebBaseUrl:c,msCoreBaseUrl:l}=ze.getConfiguration({spotId:a.spotId,rootDocument:a.rootDocument,msCommunityWebBaseUrl:a.baseURL});if(!o)throw It.error(`Spot ID is required`),Error(`Spot ID is not configured. Please set the spotId in the configuration.`);let u=new URLSearchParams(window.location.search),d={spotId:o,authToken:a.authToken??u.get(`ms_token`),domain:a.domain,deeplink:a.deeplink??u.get(`ms_url`),themeMode:a.themeMode,utmParameters:a.utmParameters??kt(u),baseURL:c,rootDocument:s},f=ce({input:t,rootDocument:s}),p=new I({...d,oidcReturn:F()}),m=new Wt(p);if(m.inject(f),e.embeds.push({frame:m,spotId:p.spotId,msCoreBaseUrl:l}),e.ensureMessageListener(),r||i){let t=m.content.iframe.contentWindow;t&&(e.iframeCallbacks.set(t,{onReady:r,onError:i}),m.onRemove=t=>{e.iframeCallbacks.delete(t)})}return It.log(`Spot injected`,d,typeof t==`string`?t:t.id),m}static clear(){e.embeds.forEach(({frame:e})=>{e.remove()}),e.embeds=[],e.iframeCallbacks.clear(),e.messageListened&&=(window.removeEventListener(`message`,e.handleMessageEvent),!1),It.log(`All MeltingSpot embeds cleared`)}static handleMessageEvent(t){if(!t.data||typeof t.data!=`object`)return;if(t.data.type===L.OIDC_REDIRECT){e.handleOidcRedirect(t);return}if(t.data.type!==L.READY&&t.data.type!==L.ERROR)return;let n=t.source,r=e.iframeCallbacks.get(n);if(!r)return;let{msCommunityWebBaseUrl:i}=ze.getConfiguration({});if(i)try{let e=new URL(i).origin;if(t.origin!==e)return}catch{}t.data.type===L.READY?r.onReady?.():r.onError?.(t.data.error)}static handleOidcRedirect(t){let n=Bt(t,e.embeds.map(({frame:e,spotId:t,msCoreBaseUrl:n})=>({contentWindow:e.contentWindow,origin:e.origin,spotId:t,msCoreBaseUrl:n})));if(!n){It.warn(`OpenID Connect login request ignored`);return}n.source.postMessage({type:L.OIDC_REDIRECT_ACK},n.origin),It.log(`Navigating to the OpenID Connect login`),Vt(n.url)}static ensureMessageListener(){e.messageListened||=(window.addEventListener(`message`,e.handleMessageEvent),!0)}},Gt=globalThis;Gt.MeltingSpot||={},Gt.MeltingSpot.Embed=R,e.EMBED_POST_MESSAGE_TYPE=L,e.Embed=R,e.EmbedFrame=Wt});
|
package/meltingSpotEmbed.d.ts
CHANGED
|
@@ -6,6 +6,8 @@ export declare const EMBED_POST_MESSAGE_TYPE: {
|
|
|
6
6
|
readonly PREFILL_DRAFT: "meltingspot:prefillDraft";
|
|
7
7
|
readonly OIDC_REDIRECT: "ms:sso:oidc:redirect";
|
|
8
8
|
readonly OIDC_REDIRECT_ACK: "ms:sso:oidc:redirect:ack";
|
|
9
|
+
readonly BUSY: "meltingspot:busy";
|
|
10
|
+
readonly IDLE: "meltingspot:idle";
|
|
9
11
|
};
|
|
10
12
|
export interface EmbedLifecycleCallbacks {
|
|
11
13
|
onReady?: () => void;
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "MeltingSpot Embed SDK",
|
|
4
4
|
"homepage": "https://meltingspot.io",
|
|
5
5
|
"license": "BSD-3-Clause",
|
|
6
|
-
"version": "1.
|
|
6
|
+
"version": "1.21.0",
|
|
7
7
|
"main": "./index.cjs",
|
|
8
8
|
"module": "./index.mjs",
|
|
9
9
|
"typings": "./index.d.ts",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@meltingspot/core": "1.
|
|
20
|
+
"@meltingspot/core": "1.21.0"
|
|
21
21
|
},
|
|
22
22
|
"publishConfig": {
|
|
23
23
|
"provenance": false
|