iframe-coordinator-cli 5.4.1 → 5.5.1

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Genesys Cloud Services, Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1 @@
1
+ html{height:100%}body{padding:0;margin:0;height:100%}#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;color:#2c3e50;height:100%}.vue-notification.toast{background-color:#2a60c8;color:#fdfdfd;border-color:#75a8ff}.vue-notification.pubsub{background-color:#444a52;border-color:#ff4f1f}#routerLayout{display:flex;flex-direction:column;height:100%}#frameRouter{flex-grow:1;flex-shrink:1;flex-basis:100vh}#routerLayout .explainer{padding:20px;background-color:#33383d;color:#fdfdfd;border-bottom:2px solid #ff4f1f}#routerLayout .app-route,#routerLayout .frame-url,#routerLayout .metadata-container .metadata-content{color:#ff4f1f}#routerLayout .metadata-container{display:flex;text-align:left;float:right;width:800px}#routerLayout .metadata-container .metadata-title{margin-right:5px;width:150px}#appMenu{max-width:80ch;margin:auto}#appMenu nav{text-align:left}#appMenu ul{margin:0;padding:0}#appMenu li{list-style:none}
@@ -0,0 +1,49 @@
1
+ (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function r(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerpolicy&&(a.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?a.credentials="include":i.crossorigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(i){if(i.ep)return;i.ep=!0;const a=r(i);fetch(i.href,a)}})();var Cu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Eu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Su(e){var t=e.default;if(typeof t=="function"){var r=function(){return t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}),r}var S={},ti={},ne={},ho={},Jt={};Object.defineProperty(Jt,"__esModule",{value:!0});Jt.asAnnotation=yo;Jt.isAnnotation=$u;function yr(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?yr=function(r){return typeof r}:yr=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},yr(e)}function yo(e){if(yr(e)==="object"&&e!==null){if(e.type==="ObjectAnnotation")return e;if(e.type==="ArrayAnnotation")return e;if(e.type==="ScalarAnnotation")return e;if(e.type==="FunctionAnnotation")return e;if(e.type==="CircularRefAnnotation")return e}}function $u(e){return yo(e)!==void 0}(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.annotateFields=c,e.default=p;var t=Jt;function r(d){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?r=function(v){return typeof v}:r=function(v){return v&&typeof Symbol=="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v},r(d)}function n(d,m){return o(d)||a(d,m)||u(d,m)||i()}function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(d,m){var v=d==null?null:typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(v!=null){var y=[],h=!0,b=!1,O,$;try{for(v=v.call(d);!(h=(O=v.next()).done)&&(y.push(O.value),!(m&&y.length===m));h=!0);}catch(E){b=!0,$=E}finally{try{!h&&v.return!=null&&v.return()}finally{if(b)throw $}}return y}}function o(d){if(Array.isArray(d))return d}function s(d,m){var v=typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(!v){if(Array.isArray(d)||(v=u(d))||m&&d&&typeof d.length=="number"){v&&(d=v);var y=0,h=function(){};return{s:h,n:function(){return y>=d.length?{done:!0}:{done:!1,value:d[y++]}},e:function(A){throw A},f:h}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
3
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var b=!0,O=!1,$;return{s:function(){v=v.call(d)},n:function(){var A=v.next();return b=A.done,A},e:function(A){O=!0,$=A},f:function(){try{!b&&v.return!=null&&v.return()}finally{if(O)throw $}}}}function u(d,m){if(!!d){if(typeof d=="string")return f(d,m);var v=Object.prototype.toString.call(d).slice(8,-1);if(v==="Object"&&d.constructor&&(v=d.constructor.name),v==="Map"||v==="Set")return Array.from(d);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return f(d,m)}}function f(d,m){(m==null||m>d.length)&&(m=d.length);for(var v=0,y=new Array(m);v<m;v++)y[v]=d[v];return y}function c(d,m,v){var y=v!=null?v:new WeakSet;if(y.has(d))return{type:"CircularRefAnnotation",annotation:void 0};y.add(d);var h=Object.entries(d),b=new Set(Object.keys(d)),O=s(m),$;try{for(O.s();!($=O.n()).done;){var E=n($.value,1),A=E[0];b.has(A)||h.push([A,void 0])}}catch(B){O.e(B)}finally{O.f()}var T=s(m),P;try{var N=function(){var F=n(P.value,2),_=F[0],g=F[1];h=h.map(function(C){var x=n(C,2),R=x[0],L=x[1];return _===R?[R,typeof g=="string"?p(L,g,y):g]:[R,L]})};for(T.s();!(P=T.n()).done;)N()}catch(B){T.e(B)}finally{T.f()}return l(h,void 0,y)}function l(d,m,v){var y=d.map(function(h){var b=n(h,2),O=b[0],$=b[1];return{key:O,value:p($,void 0,v)}});return{type:"ObjectAnnotation",pairs:y,annotation:m}}function p(d,m,v){if(d==null||typeof d=="string"||typeof d=="number"||typeof d=="boolean"||typeof d.getMonth=="function")return{type:"ScalarAnnotation",value:d,annotation:m};var y=(0,t.asAnnotation)(d);if(y)return m===void 0?y:y.type==="ObjectAnnotation"?{type:"ObjectAnnotation",pairs:y.pairs,annotation:m}:y.type==="ArrayAnnotation"?{type:"ArrayAnnotation",items:y.items,annotation:m}:y.type==="FunctionAnnotation"?{type:"FunctionAnnotation",annotation:m}:y.type==="CircularRefAnnotation"?{type:"CircularRefAnnotation",annotation:m}:{type:"ScalarAnnotation",value:y.value,annotation:m};if(Array.isArray(d)){var h=v!=null?v:new WeakSet;if(h.has(d))return{type:"CircularRefAnnotation",annotation:m};h.add(d);var b=d.map(function($){return p($,void 0,h)});return{type:"ArrayAnnotation",items:b,annotation:m}}else if(r(d)==="object"){var O=v!=null?v:new WeakSet;return O.has(d)?{type:"CircularRefAnnotation",annotation:m}:(O.add(d),l(Object.entries(d),m,O))}else{if(typeof d=="function")return{type:"FunctionAnnotation",annotation:m};throw new Error("Unknown annotation")}}})(ho);var mo={},Ke={};Object.defineProperty(Ke,"__esModule",{value:!0});Ke.asDate=Tu;Ke.isMultiline=_o;Ke.indent=Pu;Ke.INDENT=void 0;var go=" ";Ke.INDENT=go;var Au=function(t){return!!t&&Object.prototype.toString.call(t)==="[object Date]"&&!isNaN(t)};function Tu(e){return Au(e)?e:null}function _o(e){var t=e.split(`
4
+ `).length;return t>1}function Pu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:go;return _o(e)?e.split(`
5
+ `).map(function(r){return t+r}).join(`
6
+ `):t+e}(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.serializeValue=p,e.serializeAnnotation=d,e.default=m;var t=Ke;function r(v,y){return a(v)||i(v,y)||s(v,y)||n()}function n(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
7
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(v,y){var h=v==null?null:typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(h!=null){var b=[],O=!0,$=!1,E,A;try{for(h=h.call(v);!(O=(E=h.next()).done)&&(b.push(E.value),!(y&&b.length===y));O=!0);}catch(T){$=!0,A=T}finally{try{!O&&h.return!=null&&h.return()}finally{if($)throw A}}return b}}function a(v){if(Array.isArray(v))return v}function o(v,y){var h=typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(!h){if(Array.isArray(v)||(h=s(v))||y&&v&&typeof v.length=="number"){h&&(v=h);var b=0,O=function(){};return{s:O,n:function(){return b>=v.length?{done:!0}:{done:!1,value:v[b++]}},e:function(P){throw P},f:O}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
8
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var $=!0,E=!1,A;return{s:function(){h=h.call(v)},n:function(){var P=h.next();return $=P.done,P},e:function(P){E=!0,A=P},f:function(){try{!$&&h.return!=null&&h.return()}finally{if(E)throw A}}}}function s(v,y){if(!!v){if(typeof v=="string")return u(v,y);var h=Object.prototype.toString.call(v).slice(8,-1);if(h==="Object"&&v.constructor&&(h=v.constructor.name),h==="Map"||h==="Set")return Array.from(v);if(h==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h))return u(v,y)}}function u(v,y){(y==null||y>v.length)&&(y=v.length);for(var h=0,b=new Array(y);h<y;h++)b[h]=v[h];return b}function f(v){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:80,h=JSON.stringify(v);if(h.length<=y)return h;var b=v.substring(0,y-15)+"...";return h=JSON.stringify(b)+" [truncated]",h}function c(v,y){if(v.length===0)return"[]";var h=[],b=o(v),O;try{for(b.s();!(O=b.n()).done;){var $=O.value,E=d($,y+t.INDENT),A=r(E,2),T=A[0],P=A[1];h.push(y+t.INDENT+T+","),P!==void 0&&h.push((0,t.indent)(P,y+t.INDENT))}}catch(N){b.e(N)}finally{b.f()}return["["].concat(h,[y+"]"]).join(`
9
+ `)}function l(v,y){if(v.length===0)return"{}";var h=[],b=o(v),O;try{for(b.s();!(O=b.n()).done;){var $=O.value,E=$.key,A=$.value,T=p(E),P=y+t.INDENT+" ".repeat(T.length+2),N=d(A,y+t.INDENT),B=r(N,2),F=B[0],_=B[1];h.push(y+t.INDENT+T+": "+F+","),_!==void 0&&h.push((0,t.indent)(_,P))}}catch(g){b.e(g)}finally{b.f()}return["{"].concat(h,[y+"}"]).join(`
10
+ `)}function p(v){if(typeof v=="string")return f(v);if(typeof v=="number"||typeof v=="boolean")return v.toString();if(v===null)return"null";if(v===void 0)return"undefined";var y=(0,t.asDate)(v);return y!==null?"new Date(".concat(JSON.stringify(y.toISOString()),")"):v instanceof Date?"(Invalid Date)":"(unserializable)"}function d(v){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",h;v.type==="ArrayAnnotation"?h=c(v.items,y):v.type==="ObjectAnnotation"?h=l(v.pairs,y):v.type==="FunctionAnnotation"?h="function() {}":v.type==="CircularRefAnnotation"?h="<circular ref>":h=p(v.value);var b=v.annotation;if(b!==void 0){var O="^".repeat((0,t.isMultiline)(h)?1:h.length);return[h,[O,b].join((0,t.isMultiline)(b)?`
11
+ `:" ")]}else return[h,void 0]}function m(v){var y=d(v),h=r(y,2),b=h[0],O=h[1];return O!==void 0?"".concat(b,`
12
+ `).concat(O):"".concat(b)}})(mo);var bo={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;function t(f){return i(f)||n(f)||o(f)||r()}function r(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
13
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function n(f){if(typeof Symbol<"u"&&f[Symbol.iterator]!=null||f["@@iterator"]!=null)return Array.from(f)}function i(f){if(Array.isArray(f))return s(f)}function a(f,c){var l=typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(!l){if(Array.isArray(f)||(l=o(f))||c&&f&&typeof f.length=="number"){l&&(f=l);var p=0,d=function(){};return{s:d,n:function(){return p>=f.length?{done:!0}:{done:!1,value:f[p++]}},e:function(b){throw b},f:d}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
14
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var m=!0,v=!1,y;return{s:function(){l=l.call(f)},n:function(){var b=l.next();return m=b.done,b},e:function(b){v=!0,y=b},f:function(){try{!m&&l.return!=null&&l.return()}finally{if(v)throw y}}}}function o(f,c){if(!!f){if(typeof f=="string")return s(f,c);var l=Object.prototype.toString.call(f).slice(8,-1);if(l==="Object"&&f.constructor&&(l=f.constructor.name),l==="Map"||l==="Set")return Array.from(f);if(l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return s(f,c)}}function s(f,c){(c==null||c>f.length)&&(c=f.length);for(var l=0,p=new Array(c);l<c;l++)p[l]=f[l];return p}function u(f){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],l=[];if(f.type==="ArrayAnnotation"){var p=f.items,d=0,m=a(p),v;try{for(m.s();!(v=m.n()).done;){var y=v.value;l.push.apply(l,t(u(y,[].concat(t(c),[d++]))))}}catch(T){m.e(T)}finally{m.f()}}else if(f.type==="ObjectAnnotation"){var h=f.pairs,b=a(h),O;try{for(b.s();!(O=b.n()).done;){var $=O.value;l.push.apply(l,t(u($.value,[].concat(t(c),[$.key]))))}}catch(T){b.e(T)}finally{b.f()}}var E=f.annotation;if(!E)return l;var A;return c.length===0?A="":c.length===1?A=typeof c[0]=="number"?"Value at index ".concat(c[0],": "):"Value at key ".concat(JSON.stringify(c[0]),": "):A="Value at keypath ".concat(c.map(function(T){return T.toString()}).join("."),": "),[].concat(l,["".concat(A).concat(E)])}})(bo);(function(e){function t(c){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(p){return typeof p}:t=function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},t(c)}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"annotate",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"annotateFields",{enumerable:!0,get:function(){return r.annotateFields}}),Object.defineProperty(e,"isAnnotation",{enumerable:!0,get:function(){return n.isAnnotation}}),Object.defineProperty(e,"serialize",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"summarize",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"indent",{enumerable:!0,get:function(){return o.indent}});var r=f(ho),n=Jt,i=s(mo),a=s(bo),o=Ke;function s(c){return c&&c.__esModule?c:{default:c}}function u(c){if(typeof WeakMap!="function")return null;var l=new WeakMap,p=new WeakMap;return(u=function(m){return m?p:l})(c)}function f(c,l){if(!l&&c&&c.__esModule)return c;if(c===null||t(c)!=="object"&&typeof c!="function")return{default:c};var p=u(l);if(p&&p.has(c))return p.get(c);var d={},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in c)if(v!=="default"&&Object.prototype.hasOwnProperty.call(c,v)){var y=m?Object.getOwnPropertyDescriptor(c,v):null;y&&(y.get||y.set)?Object.defineProperty(d,v,y):d[v]=c[v]}return d.default=c,p&&p.set(c,d),d}})(ne);Object.defineProperty(ti,"__esModule",{value:!0});ti.guard=Ru;var wo=ne;function xu(e){return(0,wo.summarize)(e).join(`
15
+ `)}function Ru(e,t){var r=t||{},n=r.style||"inline",i=n==="inline"?wo.serialize:xu;return function(a){return e(a).mapError(function(o){var s=new Error(`
16
+ `+i(o));return s.name="Decoding error",s}).unwrap()}}var oe={},se={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Err=e.Ok=e.default=void 0;function t(f,c){if(!(f instanceof c))throw new TypeError("Cannot call a class as a function")}function r(f,c){for(var l=0;l<c.length;l++){var p=c[l];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(f,p.key,p)}}function n(f,c,l){return c&&r(f.prototype,c),l&&r(f,l),f}var i="Ok",a="Err",o=function(){function f(c){t(this,f),this._r=c}return n(f,[{key:"toString",value:function(){var l=this._r;return l.type===i?"Ok(".concat(String(l.value),")"):"Err(".concat(String(l.error),")")}},{key:"isOk",value:function(){return this._r.type===i}},{key:"isErr",value:function(){return this._r.type===a}},{key:"withDefault",value:function(l){var p=this._r;return p.type===i?p.value:l}},{key:"value",value:function(){var l=this._r;return l.type===i?l.value:void 0}},{key:"errValue",value:function(){var l=this._r;return l.type===a?l.error:void 0}},{key:"unwrap",value:function(){var l=this._r;if(l.type===i)return l.value;throw l.error}},{key:"expect",value:function(l){var p=this._r;if(p.type===i)return p.value;throw l instanceof Error?l:new Error(l)}},{key:"dispatch",value:function(l,p){var d=this._r;return d.type===i?l(d.value):p(d.error)}},{key:"andThen",value:function(l){var p=this._r;return p.type===i?l(p.value):f.err(p.error)}},{key:"map",value:function(l){var p=this._r;return p.type===i?f.ok(l(p.value)):f.err(p.error)}},{key:"mapError",value:function(l){var p=this._r;return p.type===i?f.ok(p.value):f.err(l(p.error))}}],[{key:"ok",value:function(l){return new f({type:i,value:l})}},{key:"err",value:function(l){return new f({type:a,error:l})}}]),f}();e.default=o;var s=function(c){return o.ok(c)};e.Ok=s;var u=function(c){return o.err(c)};e.Err=u})(se);Object.defineProperty(oe,"__esModule",{value:!0});oe.map=Iu;oe.compose=Oo;oe.predicate=Nu;oe.isDate=void 0;var Mu=ne,bn=se,ju=function(t){return t!=null&&Object.prototype.toString.call(t)==="[object Date]"&&!isNaN(t)};oe.isDate=ju;function Iu(e,t){return Oo(e,function(r){return(0,bn.Ok)(t(r))})}function Oo(e,t){return function(r){return e(r).andThen(t)}}function Nu(e,t){return function(r){return e(r)?(0,bn.Ok)(r):(0,bn.Err)((0,Mu.annotate)(r,t))}}var Et={};Object.defineProperty(Et,"__esModule",{value:!0});Et.array=Bu;Et.poja=void 0;var wn=ne,Ar=se,Lu=oe;function Du(e){return Uu(e)||Fu(e)||ku()}function ku(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function Fu(e){if(Symbol.iterator in Object(e)||Object.prototype.toString.call(e)==="[object Arguments]")return Array.from(e)}function Uu(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}var Co=function(t){return Array.isArray(t)?(0,Ar.Ok)(t.slice()):(0,Ar.Err)((0,wn.annotate)(t,"Must be an array"))};Et.poja=Co;function Hu(e,t){var r=[],n=0,i=!0,a=!1,o=void 0;try{for(var s=e[Symbol.iterator](),u;!(i=(u=s.next()).done);i=!0){var f=u.value;try{var c=f.unwrap();r.push(c)}catch(p){var l=Du(t);return l.splice(n,1,(0,wn.annotate)(p,p.annotation!==void 0?"".concat(p.annotation," (at index ").concat(n,")"):"index ".concat(n))),(0,Ar.Err)((0,wn.annotate)(l))}n++}}catch(p){a=!0,o=p}finally{try{!i&&s.return!=null&&s.return()}finally{if(a)throw o}}return(0,Ar.Ok)(r)}function zu(e){return function(t){var r=t.map(e),n=Hu(r,t);return n}}function Bu(e){return(0,Lu.compose)(Co,zu(e))}var Eo={},ge={};Object.defineProperty(ge,"__esModule",{value:!0});ge.positiveInteger=ge.integer=ge.positiveNumber=ge.number=void 0;var Wu=ne,zi=se,He=oe,Gu=function(t){return typeof t=="number"&&!Number.isNaN(t)?(0,zi.Ok)(t):(0,zi.Err)((0,Wu.annotate)(t,"Must be number"))},Yr=(0,He.compose)(Gu,(0,He.predicate)(Number.isFinite,"Number must be finite"));ge.number=Yr;var Ku=(0,He.compose)(Yr,(0,He.predicate)(function(e){return e>=0},"Number must be positive"));ge.positiveNumber=Ku;var qu=(0,He.compose)(Yr,(0,He.predicate)(Number.isInteger,"Number must be an integer"));ge.integer=qu;var Ju=(0,He.compose)(Yr,(0,He.predicate)(function(e){return e>=0&&Number.isInteger(e)},"Number must be an integer"));ge.positiveInteger=Ju;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.numericBoolean=e.truthy=e.boolean=void 0;var t=ne,r=se,n=ge,i=oe,a=function(f){return typeof f=="boolean"?(0,r.Ok)(f):(0,r.Err)((0,t.annotate)(f,"Must be boolean"))};e.boolean=a;var o=function(f){return(0,r.Ok)(!!f)};e.truthy=o;var s=(0,i.map)(n.number,function(u){return!!u});e.numericBoolean=s})(Eo);var ce={};Object.defineProperty(ce,"__esModule",{value:!0});ce.constant=Zu;ce.hardcoded=Qu;ce.unknown=ce.mixed=ce.undefined_=ce.null_=void 0;var ri=ne,ze=se,Yu=function(t){return t===null?(0,ze.Ok)(t):(0,ze.Err)((0,ri.annotate)(t,"Must be null"))};ce.null_=Yu;var Xu=function(t){return t===void 0?(0,ze.Ok)(t):(0,ze.Err)((0,ri.annotate)(t,"Must be undefined"))};ce.undefined_=Xu;function Zu(e){return function(t){return t===e?(0,ze.Ok)(e):(0,ze.Err)((0,ri.annotate)(t,"Must be constant ".concat(String(e))))}}function Qu(e){return function(t){return(0,ze.Ok)(e)}}var So=function(t){return(0,ze.Ok)(t)};ce.mixed=So;var Vu=So;ce.unknown=Vu;var Xr={};Object.defineProperty(Xr,"__esModule",{value:!0});Xr.date=void 0;var ef=ne,Bi=se,tf=oe,rf=function(t){return(0,tf.isDate)(t)?(0,Bi.Ok)(t):(0,Bi.Err)((0,ef.annotate)(t,"Must be a Date"))};Xr.date=rf;var ni={},pe={};Object.defineProperty(pe,"__esModule",{value:!0});pe.either=xe;pe.either3=$o;pe.either4=Ao;pe.either5=To;pe.either6=Po;pe.either7=xo;pe.either8=Ro;pe.either9=nf;pe.oneOf=af;var Dt=ne,kt=se;function Wi(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return"-"+(0,Dt.indent)(e).substring(1)}function xe(e,t){return function(r){return e(r).dispatch(function(n){return(0,kt.Ok)(n)},function(n){return t(r).dispatch(function(i){return(0,kt.Ok)(i)},function(i){return(0,kt.Err)((0,Dt.annotate)(r,["Either:",Wi((0,Dt.summarize)(n).join(`
17
+ `)),Wi((0,Dt.summarize)(i).join(`
18
+ `))].join(`
19
+ `)))})})}}function $o(e,t,r){return xe(e,xe(t,r))}function Ao(e,t,r,n){return xe(e,$o(t,r,n))}function To(e,t,r,n,i){return xe(e,Ao(t,r,n,i))}function Po(e,t,r,n,i,a){return xe(e,To(t,r,n,i,a))}function xo(e,t,r,n,i,a,o){return xe(e,Po(t,r,n,i,a,o))}function Ro(e,t,r,n,i,a,o,s){return xe(e,xo(t,r,n,i,a,o,s))}function nf(e,t,r,n,i,a,o,s,u){return xe(e,Ro(t,r,n,i,a,o,s,u))}function af(e){return function(t){var r=!0,n=!1,i=void 0;try{for(var a=e[Symbol.iterator](),o;!(r=(o=a.next()).done);r=!0){var s=o.value;if(s===t)return(0,kt.Ok)(s)}}catch(u){n=!0,i=u}finally{try{!r&&a.return!=null&&a.return()}finally{if(n)throw i}}return(0,kt.Err)((0,Dt.annotate)(t,"Must be one of ".concat(e.map(function(u){return JSON.stringify(u)}).join(", "))))}}var qe={};Object.defineProperty(qe,"__esModule",{value:!0});qe.object=Io;qe.exact=pf;qe.pojo=void 0;var yt=ne,wt=se,On=oe;function Mo(e){return uf(e)||sf(e)||of()}function of(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function sf(e){if(Symbol.iterator in Object(e)||Object.prototype.toString.call(e)==="[object Arguments]")return Array.from(e)}function uf(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}function ff(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable}))),n.forEach(function(i){cf(e,i,r[i])})}return e}function cf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mr(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?mr=function(r){return typeof r}:mr=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},mr(e)}function lf(e){return e!=null&&mr(e)==="object"&&Object.prototype.toString.call(e)==="[object Object]"}function jo(e,t){var r=new Set,n=!0,i=!1,a=void 0;try{for(var o=e[Symbol.iterator](),s;!(n=(s=o.next()).done);n=!0){var u=s.value;t.has(u)||r.add(u)}}catch(f){i=!0,a=f}finally{try{!n&&o.return!=null&&o.return()}finally{if(i)throw a}}return r}var ii=function(t){return lf(t)?(0,wt.Ok)(ff({},t)):(0,wt.Err)((0,yt.annotate)(t,"Must be an object"))};qe.pojo=ii;function Io(e){var t=new Set(Object.keys(e));return(0,On.compose)(ii,function(r){for(var n=new Set(Object.keys(r)),i=jo(t,n),a={},o={},s=0,u=Object.keys(e);s<u.length;s++){var f=u[s],c=e[f],l=r[f],p=c(l);try{a[f]=p.unwrap(),i.delete(f)}catch(b){if(!(0,yt.isAnnotation)(b))throw b;l===void 0?i.add(f):o[f]=b}}var d=Object.keys(o);if(d.length>0||i.size>0){var m;if(d.length>0){var v=d.map(function(b){return[b,o[b]]});m=(0,yt.annotateFields)(r,v)}else m=(0,yt.annotate)(r);if(i.size>0){var y=Mo(i).map(function(b){return'"'.concat(b,'"')}).join(", "),h=i.size>1?"keys":"key";m=(0,yt.annotate)(m,"Missing ".concat(h,": ").concat(y))}return(0,wt.Err)(m)}return(0,wt.Ok)(a)})}function pf(e){var t=new Set(Object.keys(e)),r=(0,On.compose)(ii,function(i){var a=new Set(Object.keys(i)),o=jo(a,t);return o.size>0?(0,wt.Err)((0,yt.annotate)(i,"Superfluous keys: ".concat(Mo(o).join(", ")))):(0,wt.Ok)(i)}),n=Io(e);return(0,On.compose)(r,n)}Object.defineProperty(ni,"__esModule",{value:!0});ni.dispatch=yf;var df=pe,vf=qe;function hf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yf(e,t){var r=(0,vf.object)(hf({},e,(0,df.oneOf)(Object.keys(t))));return function(n){return r(n).andThen(function(i){var a=i[e],o=t[a];return o(n)})}}var ai={};Object.defineProperty(ai,"__esModule",{value:!0});ai.fail=_f;var mf=ne,gf=se;function _f(e){return function(t){return(0,gf.Err)((0,mf.annotate)(t,e))}}var oi={};Object.defineProperty(oi,"__esModule",{value:!0});oi.instanceOf=wf;var bf=ne,Gi=se;function wf(e){return function(t){return t instanceof e?(0,Gi.Ok)(t):(0,Gi.Err)((0,bf.annotate)(t,"Must be ".concat(e.name," instance")))}}var Zr={};Object.defineProperty(Zr,"__esModule",{value:!0});Zr.mapping=Lo;Zr.dict=Tf;var Ki=ne,qi=se,Of=qe,No=oe;function Cf(e,t){return $f(e)||Sf(e,t)||Ef()}function Ef(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function Sf(e,t){var r=[],n=!0,i=!1,a=void 0;try{for(var o=e[Symbol.iterator](),s;!(n=(s=o.next()).done)&&(r.push(s.value),!(t&&r.length===t));n=!0);}catch(u){i=!0,a=u}finally{try{!n&&o.return!=null&&o.return()}finally{if(i)throw a}}return r}function $f(e){if(Array.isArray(e))return e}function Lo(e){return(0,No.compose)(Of.pojo,function(t){var r=[],n=[];return Object.keys(t).forEach(function(i){var a=t[i],o=e(a);try{var s=o.unwrap();n.length===0&&r.push([i,s])}catch(u){if((0,Ki.isAnnotation)(u))r.length=0,n.push([i,u]);else throw u}}),n.length>0?(0,qi.Err)((0,Ki.annotateFields)(t,n)):(0,qi.Ok)(new Map(r))})}function Af(e){var t={},r=!0,n=!1,i=void 0;try{for(var a=e.entries()[Symbol.iterator](),o;!(r=(o=a.next()).done);r=!0){var s=Cf(o.value,2),u=s[0],f=s[1];t[u]=f}}catch(c){n=!0,i=c}finally{try{!r&&a.return!=null&&a.return()}finally{if(n)throw i}}return t}function Tf(e){return(0,No.map)(Lo(e),Af)}var Yt={};Object.defineProperty(Yt,"__esModule",{value:!0});Yt.optional=xf;Yt.nullable=Rf;Yt.maybe=jf;var Pf=ne,Ji=se,Do=ce,si=pe;function xf(e){return(0,si.either)(Do.undefined_,e)}function Rf(e){return(0,si.either)(Do.null_,e)}var Mf=function(t){return t==null?(0,Ji.Ok)(t):(0,Ji.Err)((0,Pf.annotate)(t,"Must be undefined or null"))};function jf(e){return(0,si.either)(Mf,e)}var Pe={};Object.defineProperty(Pe,"__esModule",{value:!0});Pe.regex=ko;Pe.url=Pe.email=Pe.string=void 0;var Cn=ne,Ft=se,En=oe,If=/^([A-Za-z]{3,9}(?:[+][A-Za-z]{3,9})?):\/\/(?:([-;:&=+$,\w]+)@)?(?:([A-Za-z0-9.-]+)(?::([0-9]{2,5}))?)(\/(?:[-+~%/.,\w]*)?(?:\?[-+=&;%@.,\w]*)?(?:#[.,!/\w]*)?)?$/,Nf=["https"],ui=function(t){return typeof t=="string"?(0,Ft.Ok)(t):(0,Ft.Err)((0,Cn.annotate)(t,"Must be string"))};Pe.string=ui;function ko(e,t){return(0,En.compose)(ui,(0,En.predicate)(function(r){return e.test(r)},t))}var Lf=ko(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,"Must be email");Pe.email=Lf;var Df=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Nf;return(0,En.compose)(ui,function(r){var n=r.match(If);if(n){var i=n[1];return t.length===0||t.includes(i.toLowerCase())?(0,Ft.Ok)(r):(0,Ft.Err)((0,Cn.annotate)(r,"URL scheme must be any of: ".concat(t.join(", "))))}else return(0,Ft.Err)((0,Cn.annotate)(r,"Must be URL"))})};Pe.url=Df;var ut={};Object.defineProperty(ut,"__esModule",{value:!0});ut.tuple2=zf;ut.tuple3=Bf;ut.tuple4=Wf;ut.tuple5=Gf;ut.tuple6=Kf;var Xt=ne,Ee=se,kf=Et,nt=oe;function Zt(e,t){return Hf(e)||Uf(e,t)||Ff()}function Ff(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function Uf(e,t){var r=[],n=!0,i=!1,a=void 0;try{for(var o=e[Symbol.iterator](),s;!(n=(s=o.next()).done)&&(r.push(s.value),!(t&&r.length===t));n=!0);}catch(u){i=!0,a=u}finally{try{!n&&o.return!=null&&o.return()}finally{if(i)throw a}}return r}function Hf(e){if(Array.isArray(e))return e}var Qt=function(t){return(0,nt.compose)(kf.poja,(0,nt.predicate)(function(r){return r.length===t},"Must be a ".concat(t,"-tuple")))};function zf(e,t){return(0,nt.compose)(Qt(2),function(r){var n=Zt(r,2),i=n[0],a=n[1],o=e(i),s=t(a);try{return(0,Ee.Ok)([o.unwrap(),s.unwrap()])}catch{return(0,Ee.Err)((0,Xt.annotate)([o.isErr()?o.errValue():o.value(),s.isErr()?s.errValue():s.value()]))}})}function Bf(e,t,r){return(0,nt.compose)(Qt(3),function(n){var i=Zt(n,3),a=i[0],o=i[1],s=i[2],u=e(a),f=t(o),c=r(s);try{return(0,Ee.Ok)([u.unwrap(),f.unwrap(),c.unwrap()])}catch{return(0,Ee.Err)((0,Xt.annotate)([u.isErr()?u.errValue():u.value(),f.isErr()?f.errValue():f.value(),c.isErr()?c.errValue():c.value()]))}})}function Wf(e,t,r,n){return(0,nt.compose)(Qt(4),function(i){var a=Zt(i,4),o=a[0],s=a[1],u=a[2],f=a[3],c=e(o),l=t(s),p=r(u),d=n(f);try{return(0,Ee.Ok)([c.unwrap(),l.unwrap(),p.unwrap(),d.unwrap()])}catch{return(0,Ee.Err)((0,Xt.annotate)([c.isErr()?c.errValue():c.value(),l.isErr()?l.errValue():l.value(),p.isErr()?p.errValue():p.value(),d.isErr()?d.errValue():d.value()]))}})}function Gf(e,t,r,n,i){return(0,nt.compose)(Qt(5),function(a){var o=Zt(a,5),s=o[0],u=o[1],f=o[2],c=o[3],l=o[4],p=e(s),d=t(u),m=r(f),v=n(c),y=i(l);try{return(0,Ee.Ok)([p.unwrap(),d.unwrap(),m.unwrap(),v.unwrap(),y.unwrap()])}catch{return(0,Ee.Err)((0,Xt.annotate)([p.isErr()?p.errValue():p.value(),d.isErr()?d.errValue():d.value(),m.isErr()?m.errValue():m.value(),v.isErr()?v.errValue():v.value(),y.isErr()?y.errValue():y.value()]))}})}function Kf(e,t,r,n,i,a){return(0,nt.compose)(Qt(6),function(o){var s=Zt(o,6),u=s[0],f=s[1],c=s[2],l=s[3],p=s[4],d=s[5],m=e(u),v=t(f),y=r(c),h=n(l),b=i(p),O=a(d);try{return(0,Ee.Ok)([m.unwrap(),v.unwrap(),y.unwrap(),h.unwrap(),b.unwrap(),O.unwrap()])}catch{return(0,Ee.Err)((0,Xt.annotate)([m.isErr()?m.errValue():m.value(),v.isErr()?v.errValue():v.value(),y.isErr()?y.errValue():y.value(),h.isErr()?h.errValue():h.value(),b.isErr()?b.errValue():b.value(),O.isErr()?O.errValue():O.value()]))}})}(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"guard",{enumerable:!0,get:function(){return t.guard}}),Object.defineProperty(e,"compose",{enumerable:!0,get:function(){return r.compose}}),Object.defineProperty(e,"map",{enumerable:!0,get:function(){return r.map}}),Object.defineProperty(e,"predicate",{enumerable:!0,get:function(){return r.predicate}}),Object.defineProperty(e,"array",{enumerable:!0,get:function(){return n.array}}),Object.defineProperty(e,"poja",{enumerable:!0,get:function(){return n.poja}}),Object.defineProperty(e,"boolean",{enumerable:!0,get:function(){return i.boolean}}),Object.defineProperty(e,"numericBoolean",{enumerable:!0,get:function(){return i.numericBoolean}}),Object.defineProperty(e,"truthy",{enumerable:!0,get:function(){return i.truthy}}),Object.defineProperty(e,"constant",{enumerable:!0,get:function(){return a.constant}}),Object.defineProperty(e,"hardcoded",{enumerable:!0,get:function(){return a.hardcoded}}),Object.defineProperty(e,"mixed",{enumerable:!0,get:function(){return a.mixed}}),Object.defineProperty(e,"null_",{enumerable:!0,get:function(){return a.null_}}),Object.defineProperty(e,"undefined_",{enumerable:!0,get:function(){return a.undefined_}}),Object.defineProperty(e,"unknown",{enumerable:!0,get:function(){return a.unknown}}),Object.defineProperty(e,"date",{enumerable:!0,get:function(){return o.date}}),Object.defineProperty(e,"dispatch",{enumerable:!0,get:function(){return s.dispatch}}),Object.defineProperty(e,"either",{enumerable:!0,get:function(){return u.either}}),Object.defineProperty(e,"either3",{enumerable:!0,get:function(){return u.either3}}),Object.defineProperty(e,"either4",{enumerable:!0,get:function(){return u.either4}}),Object.defineProperty(e,"either5",{enumerable:!0,get:function(){return u.either5}}),Object.defineProperty(e,"either6",{enumerable:!0,get:function(){return u.either6}}),Object.defineProperty(e,"either7",{enumerable:!0,get:function(){return u.either7}}),Object.defineProperty(e,"either8",{enumerable:!0,get:function(){return u.either8}}),Object.defineProperty(e,"either9",{enumerable:!0,get:function(){return u.either9}}),Object.defineProperty(e,"oneOf",{enumerable:!0,get:function(){return u.oneOf}}),Object.defineProperty(e,"fail",{enumerable:!0,get:function(){return f.fail}}),Object.defineProperty(e,"instanceOf",{enumerable:!0,get:function(){return c.instanceOf}}),Object.defineProperty(e,"mapping",{enumerable:!0,get:function(){return l.mapping}}),Object.defineProperty(e,"dict",{enumerable:!0,get:function(){return l.dict}}),Object.defineProperty(e,"integer",{enumerable:!0,get:function(){return p.integer}}),Object.defineProperty(e,"number",{enumerable:!0,get:function(){return p.number}}),Object.defineProperty(e,"positiveInteger",{enumerable:!0,get:function(){return p.positiveInteger}}),Object.defineProperty(e,"positiveNumber",{enumerable:!0,get:function(){return p.positiveNumber}}),Object.defineProperty(e,"exact",{enumerable:!0,get:function(){return d.exact}}),Object.defineProperty(e,"object",{enumerable:!0,get:function(){return d.object}}),Object.defineProperty(e,"pojo",{enumerable:!0,get:function(){return d.pojo}}),Object.defineProperty(e,"maybe",{enumerable:!0,get:function(){return m.maybe}}),Object.defineProperty(e,"nullable",{enumerable:!0,get:function(){return m.nullable}}),Object.defineProperty(e,"optional",{enumerable:!0,get:function(){return m.optional}}),Object.defineProperty(e,"email",{enumerable:!0,get:function(){return v.email}}),Object.defineProperty(e,"regex",{enumerable:!0,get:function(){return v.regex}}),Object.defineProperty(e,"string",{enumerable:!0,get:function(){return v.string}}),Object.defineProperty(e,"url",{enumerable:!0,get:function(){return v.url}}),Object.defineProperty(e,"tuple2",{enumerable:!0,get:function(){return y.tuple2}}),Object.defineProperty(e,"tuple3",{enumerable:!0,get:function(){return y.tuple3}}),Object.defineProperty(e,"tuple4",{enumerable:!0,get:function(){return y.tuple4}}),Object.defineProperty(e,"tuple5",{enumerable:!0,get:function(){return y.tuple5}}),Object.defineProperty(e,"tuple6",{enumerable:!0,get:function(){return y.tuple6}});var t=ti,r=oe,n=Et,i=Eo,a=ce,o=Xr,s=ni,u=pe,f=ai,c=oi,l=Zr,p=ge,d=qe,m=Yt,v=Pe,y=ut})(S);function qf(e){return Sn(Tr(e))}function Sn(e){return e.replace(/^\/+/,"")}function Tr(e){return e.replace(/\/+$/,"")}const Yi=[].findIndex||function(e,t){if(this==null)throw new TypeError('"this" is null or not defined');const r=Object(this),n=r.length>>>0;if(typeof e!="function")throw new TypeError("predicate must be a function");let i=0;for(;i<n;){const a=r[i];if(e.call(t,a,i,r))return i;i++}return-1};function Xi(e){return e===this}class Jf{constructor(t){this._rootEmitter=t}addListener(t,r){return this._rootEmitter.addListener(t,r),this}removeListener(t,r){return this._rootEmitter.removeListener(t,r),this}removeAllListeners(t){return this._rootEmitter.removeAllListeners(t),this}}class Yf{constructor(){this._events={}}addListener(t,r){this._events[t]||(this._events[t]=[]);const n=this._events[t];return Yi.call(n,Xi,r)<0&&n.push(r),this}removeListener(t,r){if(!this._events[t])return this;const n=this._events[t],i=Yi.call(n,Xi,r);return i>=0&&this._events[t].splice(i,1),this}removeAllListeners(t){return delete this._events[t],this}dispatch(t,r){if(!this._events[t])return!1;const n=[...this._events[t]],i=n.length;for(let a=0;a<i;a++)n[a](r);return!0}}const Xf="5.5.1",Pr="iframe-coordinator";function Zf(e){return Object.assign(Object.assign({direction:"HostToClient"},e),{protocol:Pr,version:Xf})}function $e(e,t){return S.object({protocol:S.either(S.constant(Pr),S.hardcoded(Pr)),version:S.either(S.string,S.hardcoded("unknown")),msgType:e,msg:t,direction:S.optional(Qf)})}const Qf=S.either(S.constant("ClientToHost"),S.constant("HostToClient")),Vf=$e(S.constant("clickFired"),S.object({})),ec=$e(S.constant("registeredKeyFired"),S.object({altKey:S.optional(S.boolean),charCode:S.optional(S.number),code:S.optional(S.string),ctrlKey:S.optional(S.boolean),key:S.string,keyCode:S.optional(S.number),metaKey:S.optional(S.boolean),shiftKey:S.optional(S.boolean)})),tc=$e(S.constant("client_started"),S.mixed),rc=$e(S.constant("env_init"),S.object({locale:S.string,hostRootUrl:S.string,assignedRoute:S.string,registeredKeys:S.optional(S.array(S.object({key:S.string,altKey:S.optional(S.boolean),ctrlKey:S.optional(S.boolean),metaKey:S.optional(S.boolean),shiftKey:S.optional(S.boolean)}))),custom:S.mixed})),nc=$e(S.constant("modalRequest"),S.object({modalId:S.string,modalData:S.mixed})),ic=$e(S.constant("navRequest"),S.object({url:S.string,history:S.optional(S.either(S.constant("push"),S.constant("replace")))}));function ac(e){return"notifyRequest"}const oc=S.map(S.constant("toastRequest"),ac),Zi=$e(S.either(S.constant("notifyRequest"),oc),S.object({title:S.optional(S.string),message:S.string,custom:S.mixed})),sc=$e(S.constant("pageMetadata"),S.object({title:S.string,breadcrumbs:S.array(S.object({text:S.string,href:S.string})),custom:S.optional(S.mixed)})),uc=$e(S.constant("promptOnLeave"),S.object({shouldPrompt:S.boolean,message:S.optional(S.string)})),Fo=$e(S.constant("publish"),S.object({topic:S.string,payload:S.mixed,clientId:S.optional(S.string)}));function fc(e){return S.guard(S.dispatch("msgType",{publish:Fo,registeredKeyFired:ec,client_started:tc,clickFired:Vf,navRequest:ic,notifyRequest:Zi,toastRequest:Zi,modalRequest:nc,pageMetadata:sc,promptOnLeave:uc}))(e)}function cc(e){return S.guard(S.dispatch("msgType",{publish:Fo,env_init:rc}))(e)}const lc="frame-router iframe { width: 100%; height: 100%; }",Qi=["allow-popups-to-escape-sandbox","allow-scripts","allow-same-origin","allow-modals","allow-forms","allow-popups","allow-downloads","allow-top-navigation-by-user-activation"];let ar;class pc{constructor(t){this._window=t.mockWindow?t.mockWindow:window,this._postMessageHandler=r=>{this._handlePostMessage(t.onMessage,r)},this._frameLocation="about:blank",this._iframe=this._window.document.createElement("iframe"),this._iframe.setAttribute("frameborder","0"),ar||(ar=this._window.document.createElement("style"),ar.innerText=lc,this._window.document.head.appendChild(ar)),this._iframe.setAttribute("sandbox",Qi.join(" "))}setFrameAllow(t){typeof t!="string"&&(t=""),this._iframe.setAttribute("allow",t)}setFrameSandbox(t){typeof t!="string"&&(t="");const r=t.split(" ").concat(Qi),n=[...new Set(r)].join(" ");this._iframe.setAttribute("sandbox",n)}setFrameDefaultTitle(t){typeof t!="string"&&(t=""),this._iframe.setAttribute("title",t)}setFrameLocation(t){return this._frameLocation=t||"about:blank",this._iframe.contentWindow?this._navigateFrame():this._iframe.onload=r=>{this._navigateFrame(),this._iframe.onload=null},this._frameLocation}sendToClient(t){const r=this._expectedClientOrigin();if(this._iframe.contentWindow&&r){const n=Zf(t);let i;try{i=cc(n)}catch(a){throw new Error(`
20
+ I received invalid data to send to a client application. This is probably due
21
+ to bad data passed to a frame-router method.
22
+ `.trim()+`
23
+ `+a.message)}this._iframe.contentWindow.postMessage(i,r)}}startMessageHandler(){this._window.addEventListener("message",this._postMessageHandler)}stopMessageHandler(){this._window.removeEventListener("message",this._postMessageHandler)}embed(t){const r=t.getAttribute("frame-id");r&&this._iframe.setAttribute("id",r),t.appendChild(this._iframe)}_handlePostMessage(t,r){let n=null;if(r.data&&r.data.direction==="HostToClient")return;try{n=fc(r.data)}catch(a){if(r.data.protocol===Pr)throw new Error(`
24
+ I received an invalid message from the client application. This is probably due
25
+ to a major version mismatch between client and host iframe-coordinator libraries.
26
+ `.trim()+`
27
+ `+a.message);return}const i=this._expectedClientOrigin();i&&r.origin===i&&r.source===this._iframe.contentWindow&&(n.msgType==="clickFired"&&this._iframe.click(),t(n))}_navigateFrame(){this._iframe.contentWindow&&this._iframe.contentWindow.location.replace(this._frameLocation)}_expectedClientOrigin(){try{const t=new URL(this._frameLocation,this._window.location.href);return t.protocol!=="http:"&&t.protocol!=="https:"?null:new URL(t.origin).origin}catch{return null}}}class Vi{constructor(t){this._clients=Object.keys(t).map(r=>vc(r,t[r]))}getClientTarget(t){let r=null;return this._clients.forEach(n=>{const i=dc(t,n.assignedRoute);i!==null&&(r={id:n.id,url:hc(n.url,i),assignedRoute:n.assignedRoute,allow:n.allow,sandbox:n.sandbox,defaultTitle:n.defaultTitle})}),r}}function dc(e,t){const r=Sn(e);if(r.startsWith(t)){const n=r.replace(t,"");return Sn(n)}else return null}function vc(e,t){return{id:e,url:t.url,assignedRoute:qf(t.assignedRoute),allow:t.allow,sandbox:t.sandbox,defaultTitle:t.defaultTitle}}function hc(e,t){const r=new URL(e,window.location.href);if(r.hash){const n=Tr(r.hash);r.hash=`${n}/${t}`}else{const n=Tr(r.pathname);r.pathname=`${n}/${t}`}return r.toString()}const Rt="route";class yc extends HTMLElement{constructor(){super(),this._publishEmitter=new Yf,this._publishExposedEmitter=new Jf(this._publishEmitter),this._frameManager=new pc({onMessage:this._handleClientMessages.bind(this)})}static get observedAttributes(){return[Rt]}connectedCallback(){this._frameManager.embed(this),this._frameManager.startMessageHandler()}disconnectedCallback(){this._frameManager.stopMessageHandler()}setupFrames(t,r){this._router=new Vi(t);const n=this._processHostUrl(r.hostRootUrl);this._envData=Object.assign(Object.assign({},r),{hostRootUrl:n}),this._clientConfig={clients:t,envData:r},this.changeRoute(this.getAttribute(Rt)||"about:blank")}get messaging(){return this._publishExposedEmitter}publish(t){this._frameManager.sendToClient({msg:t,msgType:"publish"})}changeRoute(t){if(this._router){const r=this._router.getClientTarget(t),n=r&&r.id||"";this._currentClientId!==n&&this.dispatchEvent(new CustomEvent("clientChanged",{detail:n})),r===null&&this._currentPath!==t&&this.dispatchEvent(new CustomEvent("clientNotFound")),this._currentPath=t,this._currentClientId=n;const i=this._frameManager.setFrameLocation(r&&r.url);this._frameManager.setFrameSandbox(r&&r.sandbox||void 0),this._frameManager.setFrameAllow(r&&r.allow||void 0),this._frameManager.setFrameDefaultTitle(r&&r.defaultTitle||void 0),this.dispatchEvent(new CustomEvent("frameTransition",{detail:i}))}}attributeChangedCallback(t,r,n){t===Rt&&r!==n&&this.changeRoute(n||"")}get clientConfig(){return this._clientConfig}set clientConfig(t){this._clientConfig=t,this._configureClients(t.clients,t.envData)}_configureClients(t,r){this._router=new Vi(t);const n=this._processHostUrl(r.hostRootUrl);this._envData=Object.assign(Object.assign({},r),{hostRootUrl:n}),this.changeRoute(this.getAttribute(Rt)||"about:blank")}_handleClientMessages(t){switch(t.msgType){case"publish":const r=t.msg;r.clientId=this._currentClientId,this._publishEmitter.dispatch(t.msg.topic,r),this._dispatchClientMessage(t);break;case"client_started":this._handleLifecycleMessage(t);break;default:this._dispatchClientMessage(t)}}_handleLifecycleMessage(t){const r=this._getCurrentClientAssignedRoute(),n=Object.assign(Object.assign({},this._envData),{assignedRoute:r});this._frameManager.sendToClient({msgType:"env_init",msg:n})}_dispatchClientMessage(t){const r=t.msg;r.clientId=this._currentClientId,this.dispatchEvent(new CustomEvent(t.msgType,{detail:r}))}_getCurrentClientAssignedRoute(){const t=this.getAttribute(Rt)||"",r=this._router.getClientTarget(t);return r&&r.assignedRoute||""}_processHostUrl(t){const r=new URL(t);if(r.hash)return r.href;const n=Tr(t);return window.location.hash?`${n}/#`:n}}function mc(){customElements.define("frame-router",yc)}/*!
28
+ * Vue.js v2.7.14
29
+ * (c) 2014-2022 Evan You
30
+ * Released under the MIT License.
31
+ */var ee=Object.freeze({}),I=Array.isArray;function j(e){return e==null}function w(e){return e!=null}function J(e){return e===!0}function gc(e){return e===!1}function Vt(e){return typeof e=="string"||typeof e=="number"||typeof e=="symbol"||typeof e=="boolean"}function z(e){return typeof e=="function"}function te(e){return e!==null&&typeof e=="object"}var fi=Object.prototype.toString;function ae(e){return fi.call(e)==="[object Object]"}function _c(e){return fi.call(e)==="[object RegExp]"}function Uo(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function $n(e){return w(e)&&typeof e.then=="function"&&typeof e.catch=="function"}function bc(e){return e==null?"":Array.isArray(e)||ae(e)&&e.toString===fi?JSON.stringify(e,null,2):String(e)}function Ht(e){var t=parseFloat(e);return isNaN(t)?e:t}function be(e,t){for(var r=Object.create(null),n=e.split(","),i=0;i<n.length;i++)r[n[i]]=!0;return t?function(a){return r[a.toLowerCase()]}:function(a){return r[a]}}be("slot,component",!0);var wc=be("key,ref,slot,slot-scope,is");function Je(e,t){var r=e.length;if(r){if(t===e[r-1]){e.length=r-1;return}var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var Oc=Object.prototype.hasOwnProperty;function ie(e,t){return Oc.call(e,t)}function ft(e){var t=Object.create(null);return function(n){var i=t[n];return i||(t[n]=e(n))}}var Cc=/-(\w)/g,it=ft(function(e){return e.replace(Cc,function(t,r){return r?r.toUpperCase():""})}),Ec=ft(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),Sc=/\B([A-Z])/g,er=ft(function(e){return e.replace(Sc,"-$1").toLowerCase()});function $c(e,t){function r(n){var i=arguments.length;return i?i>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return r._length=e.length,r}function Ac(e,t){return e.bind(t)}var Ho=Function.prototype.bind?Ac:$c;function An(e,t){t=t||0;for(var r=e.length-t,n=new Array(r);r--;)n[r]=e[r+t];return n}function W(e,t){for(var r in t)e[r]=t[r];return e}function zo(e){for(var t={},r=0;r<e.length;r++)e[r]&&W(t,e[r]);return t}function q(e,t,r){}var or=function(e,t,r){return!1},Bo=function(e){return e};function at(e,t){if(e===t)return!0;var r=te(e),n=te(t);if(r&&n)try{var i=Array.isArray(e),a=Array.isArray(t);if(i&&a)return e.length===t.length&&e.every(function(u,f){return at(u,t[f])});if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(!i&&!a){var o=Object.keys(e),s=Object.keys(t);return o.length===s.length&&o.every(function(u){return at(e[u],t[u])})}else return!1}catch{return!1}else return!r&&!n?String(e)===String(t):!1}function Wo(e,t){for(var r=0;r<e.length;r++)if(at(e[r],t))return r;return-1}function xr(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}function Tn(e,t){return e===t?e===0&&1/e!==1/t:e===e||t===t}var ea="data-server-rendered",Qr=["component","directive","filter"],Go=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],he={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:or,isReservedAttr:or,isUnknownElement:or,getTagNamespace:q,parsePlatformTagName:Bo,mustUseProp:or,async:!0,_lifecycleHooks:Go},Tc=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function Ko(e){var t=(e+"").charCodeAt(0);return t===36||t===95}function Y(e,t,r,n){Object.defineProperty(e,t,{value:r,enumerable:!!n,writable:!0,configurable:!0})}var Pc=new RegExp("[^".concat(Tc.source,".$_\\d]"));function xc(e){if(!Pc.test(e)){var t=e.split(".");return function(r){for(var n=0;n<t.length;n++){if(!r)return;r=r[t[n]]}return r}}}var Rc="__proto__"in{},fe=typeof window<"u",re=fe&&window.navigator.userAgent.toLowerCase(),St=re&&/msie|trident/.test(re),$t=re&&re.indexOf("msie 9.0")>0,ci=re&&re.indexOf("edge/")>0;re&&re.indexOf("android")>0;var Mc=re&&/iphone|ipad|ipod|ios/.test(re);re&&/chrome\/\d+/.test(re);re&&/phantomjs/.test(re);var ta=re&&re.match(/firefox\/(\d+)/),Pn={}.watch,qo=!1;if(fe)try{var ra={};Object.defineProperty(ra,"passive",{get:function(){qo=!0}}),window.addEventListener("test-passive",null,ra)}catch{}var sr,Ye=function(){return sr===void 0&&(!fe&&typeof global<"u"?sr=global.process&&global.process.env.VUE_ENV==="server":sr=!1),sr},Rr=fe&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function bt(e){return typeof e=="function"&&/native code/.test(e.toString())}var tr=typeof Symbol<"u"&&bt(Symbol)&&typeof Reflect<"u"&&bt(Reflect.ownKeys),zt;typeof Set<"u"&&bt(Set)?zt=Set:zt=function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(t){return this.set[t]===!0},e.prototype.add=function(t){this.set[t]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var X=null;function jc(){return X&&{proxy:X}}function Be(e){e===void 0&&(e=null),e||X&&X._scope.off(),X=e,e&&e._scope.on()}var le=function(){function e(t,r,n,i,a,o,s,u){this.tag=t,this.data=r,this.children=n,this.text=i,this.elm=a,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=r&&r.key,this.componentOptions=s,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=u,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(e.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),e}(),Ve=function(e){e===void 0&&(e="");var t=new le;return t.text=e,t.isComment=!0,t};function mt(e){return new le(void 0,void 0,void 0,String(e))}function xn(e){var t=new le(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var Ic=0,gr=[],Nc=function(){for(var e=0;e<gr.length;e++){var t=gr[e];t.subs=t.subs.filter(function(r){return r}),t._pending=!1}gr.length=0},Se=function(){function e(){this._pending=!1,this.id=Ic++,this.subs=[]}return e.prototype.addSub=function(t){this.subs.push(t)},e.prototype.removeSub=function(t){this.subs[this.subs.indexOf(t)]=null,this._pending||(this._pending=!0,gr.push(this))},e.prototype.depend=function(t){e.target&&e.target.addDep(this)},e.prototype.notify=function(t){for(var r=this.subs.filter(function(o){return o}),n=0,i=r.length;n<i;n++){var a=r[n];a.update()}},e}();Se.target=null;var _r=[];function At(e){_r.push(e),Se.target=e}function Tt(){_r.pop(),Se.target=_r[_r.length-1]}var Jo=Array.prototype,Mr=Object.create(Jo),Lc=["push","pop","shift","unshift","splice","sort","reverse"];Lc.forEach(function(e){var t=Jo[e];Y(Mr,e,function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var a=t.apply(this,n),o=this.__ob__,s;switch(e){case"push":case"unshift":s=n;break;case"splice":s=n.slice(2);break}return s&&o.observeArray(s),o.dep.notify(),a})});var na=Object.getOwnPropertyNames(Mr),Yo={},li=!0;function We(e){li=e}var Dc={notify:q,depend:q,addSub:q,removeSub:q},ia=function(){function e(t,r,n){if(r===void 0&&(r=!1),n===void 0&&(n=!1),this.value=t,this.shallow=r,this.mock=n,this.dep=n?Dc:new Se,this.vmCount=0,Y(t,"__ob__",this),I(t)){if(!n)if(Rc)t.__proto__=Mr;else for(var i=0,a=na.length;i<a;i++){var o=na[i];Y(t,o,Mr[o])}r||this.observeArray(t)}else for(var s=Object.keys(t),i=0;i<s.length;i++){var o=s[i];Ge(t,o,Yo,void 0,r,n)}}return e.prototype.observeArray=function(t){for(var r=0,n=t.length;r<n;r++)Re(t[r],!1,this.mock)},e}();function Re(e,t,r){if(e&&ie(e,"__ob__")&&e.__ob__ instanceof ia)return e.__ob__;if(li&&(r||!Ye())&&(I(e)||ae(e))&&Object.isExtensible(e)&&!e.__v_skip&&!Q(e)&&!(e instanceof le))return new ia(e,t,r)}function Ge(e,t,r,n,i,a){var o=new Se,s=Object.getOwnPropertyDescriptor(e,t);if(!(s&&s.configurable===!1)){var u=s&&s.get,f=s&&s.set;(!u||f)&&(r===Yo||arguments.length===2)&&(r=e[t]);var c=!i&&Re(r,!1,a);return Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var p=u?u.call(e):r;return Se.target&&(o.depend(),c&&(c.dep.depend(),I(p)&&Xo(p))),Q(p)&&!i?p.value:p},set:function(p){var d=u?u.call(e):r;if(!!Tn(d,p)){if(f)f.call(e,p);else{if(u)return;if(!i&&Q(d)&&!Q(p)){d.value=p;return}else r=p}c=!i&&Re(p,!1,a),o.notify()}}}),o}}function Vr(e,t,r){if(!ct(e)){var n=e.__ob__;return I(e)&&Uo(t)?(e.length=Math.max(e.length,t),e.splice(t,1,r),n&&!n.shallow&&n.mock&&Re(r,!1,!0),r):t in e&&!(t in Object.prototype)?(e[t]=r,r):e._isVue||n&&n.vmCount?r:n?(Ge(n.value,t,r,void 0,n.shallow,n.mock),n.dep.notify(),r):(e[t]=r,r)}}function pi(e,t){if(I(e)&&Uo(t)){e.splice(t,1);return}var r=e.__ob__;e._isVue||r&&r.vmCount||ct(e)||!ie(e,t)||(delete e[t],r&&r.dep.notify())}function Xo(e){for(var t=void 0,r=0,n=e.length;r<n;r++)t=e[r],t&&t.__ob__&&t.__ob__.dep.depend(),I(t)&&Xo(t)}function kc(e){return Zo(e,!1),e}function di(e){return Zo(e,!0),Y(e,"__v_isShallow",!0),e}function Zo(e,t){ct(e)||Re(e,t,Ye())}function et(e){return ct(e)?et(e.__v_raw):!!(e&&e.__ob__)}function jr(e){return!!(e&&e.__v_isShallow)}function ct(e){return!!(e&&e.__v_isReadonly)}function Fc(e){return et(e)||ct(e)}function Qo(e){var t=e&&e.__v_raw;return t?Qo(t):e}function Uc(e){return Object.isExtensible(e)&&Y(e,"__v_skip",!0),e}var rr="__v_isRef";function Q(e){return!!(e&&e.__v_isRef===!0)}function Hc(e){return Vo(e,!1)}function zc(e){return Vo(e,!0)}function Vo(e,t){if(Q(e))return e;var r={};return Y(r,rr,!0),Y(r,"__v_isShallow",t),Y(r,"dep",Ge(r,"value",e,null,t,Ye())),r}function Bc(e){e.dep&&e.dep.notify()}function Wc(e){return Q(e)?e.value:e}function Gc(e){if(et(e))return e;for(var t={},r=Object.keys(e),n=0;n<r.length;n++)Ir(t,e,r[n]);return t}function Ir(e,t,r){Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:function(){var n=t[r];if(Q(n))return n.value;var i=n&&n.__ob__;return i&&i.dep.depend(),n},set:function(n){var i=t[r];Q(i)&&!Q(n)?i.value=n:t[r]=n}})}function Kc(e){var t=new Se,r=e(function(){t.depend()},function(){t.notify()}),n=r.get,i=r.set,a={get value(){return n()},set value(o){i(o)}};return Y(a,rr,!0),a}function qc(e){var t=I(e)?new Array(e.length):{};for(var r in e)t[r]=es(e,r);return t}function es(e,t,r){var n=e[t];if(Q(n))return n;var i={get value(){var a=e[t];return a===void 0?r:a},set value(a){e[t]=a}};return Y(i,rr,!0),i}var Jc="__v_rawToReadonly",Yc="__v_rawToShallowReadonly";function ts(e){return rs(e,!1)}function rs(e,t){if(!ae(e)||ct(e))return e;var r=t?Yc:Jc,n=e[r];if(n)return n;var i=Object.create(Object.getPrototypeOf(e));Y(e,r,i),Y(i,"__v_isReadonly",!0),Y(i,"__v_raw",e),Q(e)&&Y(i,rr,!0),(t||jr(e))&&Y(i,"__v_isShallow",!0);for(var a=Object.keys(e),o=0;o<a.length;o++)Xc(i,e,a[o],t);return i}function Xc(e,t,r,n){Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:function(){var i=t[r];return n||!ae(i)?i:ts(i)},set:function(){}})}function Zc(e){return rs(e,!0)}function Qc(e,t){var r,n,i=z(e);i?(r=e,n=q):(r=e.get,n=e.set);var a=Ye()?null:new nr(X,r,q,{lazy:!0}),o={effect:a,get value(){return a?(a.dirty&&a.evaluate(),Se.target&&a.depend(),a.value):r()},set value(s){n(s)}};return Y(o,rr,!0),Y(o,"__v_isReadonly",i),o}var en="watcher",aa="".concat(en," callback"),oa="".concat(en," getter"),Vc="".concat(en," cleanup");function el(e,t){return tn(e,null,t)}function ns(e,t){return tn(e,null,{flush:"post"})}function tl(e,t){return tn(e,null,{flush:"sync"})}var sa={};function rl(e,t,r){return tn(e,t,r)}function tn(e,t,r){var n=r===void 0?ee:r,i=n.immediate,a=n.deep,o=n.flush,s=o===void 0?"pre":o;n.onTrack,n.onTrigger;var u=X,f=function(b,O,$){return $===void 0&&($=null),Me(b,null,$,u,O)},c,l=!1,p=!1;if(Q(e)?(c=function(){return e.value},l=jr(e)):et(e)?(c=function(){return e.__ob__.dep.depend(),e},a=!0):I(e)?(p=!0,l=e.some(function(b){return et(b)||jr(b)}),c=function(){return e.map(function(b){if(Q(b))return b.value;if(et(b))return Ot(b);if(z(b))return f(b,oa)})}):z(e)?t?c=function(){return f(e,oa)}:c=function(){if(!(u&&u._isDestroyed))return m&&m(),f(e,en,[v])}:c=q,t&&a){var d=c;c=function(){return Ot(d())}}var m,v=function(b){m=y.onStop=function(){f(b,Vc)}};if(Ye())return v=q,t?i&&f(t,aa,[c(),p?[]:void 0,v]):c(),q;var y=new nr(X,c,q,{lazy:!0});y.noRecurse=!t;var h=p?[]:sa;return y.run=function(){if(!!y.active)if(t){var b=y.get();(a||l||(p?b.some(function(O,$){return Tn(O,h[$])}):Tn(b,h)))&&(m&&m(),f(t,aa,[b,h===sa?void 0:h,v]),h=b)}else y.get()},s==="sync"?y.update=y.run:s==="post"?(y.post=!0,y.update=function(){return kn(y)}):y.update=function(){if(u&&u===X&&!u._isMounted){var b=u._preWatchers||(u._preWatchers=[]);b.indexOf(y)<0&&b.push(y)}else kn(y)},t?i?y.run():h=y.get():s==="post"&&u?u.$once("hook:mounted",function(){return y.get()}):y.get(),function(){y.teardown()}}var V,vi=function(){function e(t){t===void 0&&(t=!1),this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=V,!t&&V&&(this.index=(V.scopes||(V.scopes=[])).push(this)-1)}return e.prototype.run=function(t){if(this.active){var r=V;try{return V=this,t()}finally{V=r}}},e.prototype.on=function(){V=this},e.prototype.off=function(){V=this.parent},e.prototype.stop=function(t){if(this.active){var r=void 0,n=void 0;for(r=0,n=this.effects.length;r<n;r++)this.effects[r].teardown();for(r=0,n=this.cleanups.length;r<n;r++)this.cleanups[r]();if(this.scopes)for(r=0,n=this.scopes.length;r<n;r++)this.scopes[r].stop(!0);if(!this.detached&&this.parent&&!t){var i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this.active=!1}},e}();function nl(e){return new vi(e)}function il(e,t){t===void 0&&(t=V),t&&t.active&&t.effects.push(e)}function al(){return V}function ol(e){V&&V.cleanups.push(e)}function sl(e,t){X&&(is(X)[e]=t)}function is(e){var t=e._provided,r=e.$parent&&e.$parent._provided;return r===t?e._provided=Object.create(r):t}function ul(e,t,r){r===void 0&&(r=!1);var n=X;if(n){var i=n.$parent&&n.$parent._provided;if(i&&e in i)return i[e];if(arguments.length>1)return r&&z(t)?t.call(n):t}}var ua=ft(function(e){var t=e.charAt(0)==="&";e=t?e.slice(1):e;var r=e.charAt(0)==="~";e=r?e.slice(1):e;var n=e.charAt(0)==="!";return e=n?e.slice(1):e,{name:e,once:r,capture:n,passive:t}});function Rn(e,t){function r(){var n=r.fns;if(I(n))for(var i=n.slice(),a=0;a<i.length;a++)Me(i[a],null,arguments,t,"v-on handler");else return Me(n,null,arguments,t,"v-on handler")}return r.fns=e,r}function as(e,t,r,n,i,a){var o,s,u,f;for(o in e)s=e[o],u=t[o],f=ua(o),j(s)||(j(u)?(j(s.fns)&&(s=e[o]=Rn(s,a)),J(f.once)&&(s=e[o]=i(f.name,s,f.capture)),r(f.name,s,f.capture,f.passive,f.params)):s!==u&&(u.fns=s,e[o]=u));for(o in t)j(e[o])&&(f=ua(o),n(f.name,t[o],f.capture))}function Le(e,t,r){e instanceof le&&(e=e.data.hook||(e.data.hook={}));var n,i=e[t];function a(){r.apply(this,arguments),Je(n.fns,a)}j(i)?n=Rn([a]):w(i.fns)&&J(i.merged)?(n=i,n.fns.push(a)):n=Rn([i,a]),n.merged=!0,e[t]=n}function fl(e,t,r){var n=t.options.props;if(!j(n)){var i={},a=e.attrs,o=e.props;if(w(a)||w(o))for(var s in n){var u=er(s);fa(i,o,s,u,!0)||fa(i,a,s,u,!1)}return i}}function fa(e,t,r,n,i){if(w(t)){if(ie(t,r))return e[r]=t[r],i||delete t[r],!0;if(ie(t,n))return e[r]=t[n],i||delete t[n],!0}return!1}function cl(e){for(var t=0;t<e.length;t++)if(I(e[t]))return Array.prototype.concat.apply([],e);return e}function hi(e){return Vt(e)?[mt(e)]:I(e)?os(e):void 0}function Mt(e){return w(e)&&w(e.text)&&gc(e.isComment)}function os(e,t){var r=[],n,i,a,o;for(n=0;n<e.length;n++)i=e[n],!(j(i)||typeof i=="boolean")&&(a=r.length-1,o=r[a],I(i)?i.length>0&&(i=os(i,"".concat(t||"","_").concat(n)),Mt(i[0])&&Mt(o)&&(r[a]=mt(o.text+i[0].text),i.shift()),r.push.apply(r,i)):Vt(i)?Mt(o)?r[a]=mt(o.text+i):i!==""&&r.push(mt(i)):Mt(i)&&Mt(o)?r[a]=mt(o.text+i.text):(J(e._isVList)&&w(i.tag)&&j(i.key)&&w(t)&&(i.key="__vlist".concat(t,"_").concat(n,"__")),r.push(i)));return r}function ll(e,t){var r=null,n,i,a,o;if(I(e)||typeof e=="string")for(r=new Array(e.length),n=0,i=e.length;n<i;n++)r[n]=t(e[n],n);else if(typeof e=="number")for(r=new Array(e),n=0;n<e;n++)r[n]=t(n+1,n);else if(te(e))if(tr&&e[Symbol.iterator]){r=[];for(var s=e[Symbol.iterator](),u=s.next();!u.done;)r.push(t(u.value,r.length)),u=s.next()}else for(a=Object.keys(e),r=new Array(a.length),n=0,i=a.length;n<i;n++)o=a[n],r[n]=t(e[o],o,n);return w(r)||(r=[]),r._isVList=!0,r}function pl(e,t,r,n){var i=this.$scopedSlots[e],a;i?(r=r||{},n&&(r=W(W({},n),r)),a=i(r)||(z(t)?t():t)):a=this.$slots[e]||(z(t)?t():t);var o=r&&r.slot;return o?this.$createElement("template",{slot:o},a):a}function dl(e){return kr(this.$options,"filters",e)||Bo}function ca(e,t){return I(e)?e.indexOf(t)===-1:e!==t}function vl(e,t,r,n,i){var a=he.keyCodes[t]||r;return i&&n&&!he.keyCodes[t]?ca(i,n):a?ca(a,e):n?er(n)!==t:e===void 0}function hl(e,t,r,n,i){if(r&&te(r)){I(r)&&(r=zo(r));var a=void 0,o=function(u){if(u==="class"||u==="style"||wc(u))a=e;else{var f=e.attrs&&e.attrs.type;a=n||he.mustUseProp(t,f,u)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var c=it(u),l=er(u);if(!(c in a)&&!(l in a)&&(a[u]=r[u],i)){var p=e.on||(e.on={});p["update:".concat(u)]=function(d){r[u]=d}}};for(var s in r)o(s)}return e}function yl(e,t){var r=this._staticTrees||(this._staticTrees=[]),n=r[e];return n&&!t||(n=r[e]=this.$options.staticRenderFns[e].call(this._renderProxy,this._c,this),ss(n,"__static__".concat(e),!1)),n}function ml(e,t,r){return ss(e,"__once__".concat(t).concat(r?"_".concat(r):""),!0),e}function ss(e,t,r){if(I(e))for(var n=0;n<e.length;n++)e[n]&&typeof e[n]!="string"&&la(e[n],"".concat(t,"_").concat(n),r);else la(e,t,r)}function la(e,t,r){e.isStatic=!0,e.key=t,e.isOnce=r}function gl(e,t){if(t&&ae(t)){var r=e.on=e.on?W({},e.on):{};for(var n in t){var i=r[n],a=t[n];r[n]=i?[].concat(i,a):a}}return e}function us(e,t,r,n){t=t||{$stable:!r};for(var i=0;i<e.length;i++){var a=e[i];I(a)?us(a,t,r):a&&(a.proxy&&(a.fn.proxy=!0),t[a.key]=a.fn)}return n&&(t.$key=n),t}function _l(e,t){for(var r=0;r<t.length;r+=2){var n=t[r];typeof n=="string"&&n&&(e[t[r]]=t[r+1])}return e}function bl(e,t){return typeof e=="string"?t+e:e}function fs(e){e._o=ml,e._n=Ht,e._s=bc,e._l=ll,e._t=pl,e._q=at,e._i=Wo,e._m=yl,e._f=dl,e._k=vl,e._b=hl,e._v=mt,e._e=Ve,e._u=us,e._g=gl,e._d=_l,e._p=bl}function yi(e,t){if(!e||!e.length)return{};for(var r={},n=0,i=e.length;n<i;n++){var a=e[n],o=a.data;if(o&&o.attrs&&o.attrs.slot&&delete o.attrs.slot,(a.context===t||a.fnContext===t)&&o&&o.slot!=null){var s=o.slot,u=r[s]||(r[s]=[]);a.tag==="template"?u.push.apply(u,a.children||[]):u.push(a)}else(r.default||(r.default=[])).push(a)}for(var f in r)r[f].every(wl)&&delete r[f];return r}function wl(e){return e.isComment&&!e.asyncFactory||e.text===" "}function Bt(e){return e.isComment&&e.asyncFactory}function Ut(e,t,r,n){var i,a=Object.keys(r).length>0,o=t?!!t.$stable:!a,s=t&&t.$key;if(!t)i={};else{if(t._normalized)return t._normalized;if(o&&n&&n!==ee&&s===n.$key&&!a&&!n.$hasNormal)return n;i={};for(var u in t)t[u]&&u[0]!=="$"&&(i[u]=Ol(e,r,u,t[u]))}for(var f in r)f in i||(i[f]=Cl(r,f));return t&&Object.isExtensible(t)&&(t._normalized=i),Y(i,"$stable",o),Y(i,"$key",s),Y(i,"$hasNormal",a),i}function Ol(e,t,r,n){var i=function(){var a=X;Be(e);var o=arguments.length?n.apply(null,arguments):n({});o=o&&typeof o=="object"&&!I(o)?[o]:hi(o);var s=o&&o[0];return Be(a),o&&(!s||o.length===1&&s.isComment&&!Bt(s))?void 0:o};return n.proxy&&Object.defineProperty(t,r,{get:i,enumerable:!0,configurable:!0}),i}function Cl(e,t){return function(){return e[t]}}function El(e){var t=e.$options,r=t.setup;if(r){var n=e._setupContext=cs(e);Be(e),At();var i=Me(r,null,[e._props||di({}),n],e,"setup");if(Tt(),Be(),z(i))t.render=i;else if(te(i))if(e._setupState=i,i.__sfc){var o=e._setupProxy={};for(var a in i)a!=="__sfc"&&Ir(o,i,a)}else for(var a in i)Ko(a)||Ir(e,i,a)}}function cs(e){return{get attrs(){if(!e._attrsProxy){var t=e._attrsProxy={};Y(t,"_v_attr_proxy",!0),Nr(t,e.$attrs,ee,e,"$attrs")}return e._attrsProxy},get listeners(){if(!e._listenersProxy){var t=e._listenersProxy={};Nr(t,e.$listeners,ee,e,"$listeners")}return e._listenersProxy},get slots(){return $l(e)},emit:Ho(e.$emit,e),expose:function(t){t&&Object.keys(t).forEach(function(r){return Ir(e,t,r)})}}}function Nr(e,t,r,n,i){var a=!1;for(var o in t)o in e?t[o]!==r[o]&&(a=!0):(a=!0,Sl(e,o,n,i));for(var o in e)o in t||(a=!0,delete e[o]);return a}function Sl(e,t,r,n){Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){return r[n][t]}})}function $l(e){return e._slotsProxy||ls(e._slotsProxy={},e.$scopedSlots),e._slotsProxy}function ls(e,t){for(var r in t)e[r]=t[r];for(var r in e)r in t||delete e[r]}function Al(){return mi().slots}function Tl(){return mi().attrs}function Pl(){return mi().listeners}function mi(){var e=X;return e._setupContext||(e._setupContext=cs(e))}function xl(e,t){var r=I(e)?e.reduce(function(a,o){return a[o]={},a},{}):e;for(var n in t){var i=r[n];i?I(i)||z(i)?r[n]={type:i,default:t[n]}:i.default=t[n]:i===null&&(r[n]={default:t[n]})}return r}function Rl(e){e._vnode=null,e._staticTrees=null;var t=e.$options,r=e.$vnode=t._parentVnode,n=r&&r.context;e.$slots=yi(t._renderChildren,n),e.$scopedSlots=r?Ut(e.$parent,r.data.scopedSlots,e.$slots):ee,e._c=function(a,o,s,u){return Wt(e,a,o,s,u,!1)},e.$createElement=function(a,o,s,u){return Wt(e,a,o,s,u,!0)};var i=r&&r.data;Ge(e,"$attrs",i&&i.attrs||ee,null,!0),Ge(e,"$listeners",t._parentListeners||ee,null,!0)}var Mn=null;function Ml(e){fs(e.prototype),e.prototype.$nextTick=function(t){return rn(t,this)},e.prototype._render=function(){var t=this,r=t.$options,n=r.render,i=r._parentVnode;i&&t._isMounted&&(t.$scopedSlots=Ut(t.$parent,i.data.scopedSlots,t.$slots,t.$scopedSlots),t._slotsProxy&&ls(t._slotsProxy,t.$scopedSlots)),t.$vnode=i;var a;try{Be(t),Mn=t,a=n.call(t._renderProxy,t.$createElement)}catch(o){ot(o,t,"render"),a=t._vnode}finally{Mn=null,Be()}return I(a)&&a.length===1&&(a=a[0]),a instanceof le||(a=Ve()),a.parent=i,a}}function pn(e,t){return(e.__esModule||tr&&e[Symbol.toStringTag]==="Module")&&(e=e.default),te(e)?t.extend(e):e}function jl(e,t,r,n,i){var a=Ve();return a.asyncFactory=e,a.asyncMeta={data:t,context:r,children:n,tag:i},a}function Il(e,t){if(J(e.error)&&w(e.errorComp))return e.errorComp;if(w(e.resolved))return e.resolved;var r=Mn;if(r&&w(e.owners)&&e.owners.indexOf(r)===-1&&e.owners.push(r),J(e.loading)&&w(e.loadingComp))return e.loadingComp;if(r&&!w(e.owners)){var n=e.owners=[r],i=!0,a=null,o=null;r.$on("hook:destroyed",function(){return Je(n,r)});var s=function(l){for(var p=0,d=n.length;p<d;p++)n[p].$forceUpdate();l&&(n.length=0,a!==null&&(clearTimeout(a),a=null),o!==null&&(clearTimeout(o),o=null))},u=xr(function(l){e.resolved=pn(l,t),i?n.length=0:s(!0)}),f=xr(function(l){w(e.errorComp)&&(e.error=!0,s(!0))}),c=e(u,f);return te(c)&&($n(c)?j(e.resolved)&&c.then(u,f):$n(c.component)&&(c.component.then(u,f),w(c.error)&&(e.errorComp=pn(c.error,t)),w(c.loading)&&(e.loadingComp=pn(c.loading,t),c.delay===0?e.loading=!0:a=setTimeout(function(){a=null,j(e.resolved)&&j(e.error)&&(e.loading=!0,s(!1))},c.delay||200)),w(c.timeout)&&(o=setTimeout(function(){o=null,j(e.resolved)&&f(null)},c.timeout)))),i=!1,e.loading?e.loadingComp:e.resolved}}function ps(e){if(I(e))for(var t=0;t<e.length;t++){var r=e[t];if(w(r)&&(w(r.componentOptions)||Bt(r)))return r}}var Nl=1,ds=2;function Wt(e,t,r,n,i,a){return(I(r)||Vt(r))&&(i=n,n=r,r=void 0),J(a)&&(i=ds),Ll(e,t,r,n,i)}function Ll(e,t,r,n,i){if(w(r)&&w(r.__ob__)||(w(r)&&w(r.is)&&(t=r.is),!t))return Ve();I(n)&&z(n[0])&&(r=r||{},r.scopedSlots={default:n[0]},n.length=0),i===ds?n=hi(n):i===Nl&&(n=cl(n));var a,o;if(typeof t=="string"){var s=void 0;o=e.$vnode&&e.$vnode.ns||he.getTagNamespace(t),he.isReservedTag(t)?a=new le(he.parsePlatformTagName(t),r,n,void 0,void 0,e):(!r||!r.pre)&&w(s=kr(e.$options,"components",t))?a=_a(s,r,e,n,t):a=new le(t,r,n,void 0,void 0,e)}else a=_a(t,r,e,n);return I(a)?a:w(a)?(w(o)&&vs(a,o),w(r)&&Dl(r),a):Ve()}function vs(e,t,r){if(e.ns=t,e.tag==="foreignObject"&&(t=void 0,r=!0),w(e.children))for(var n=0,i=e.children.length;n<i;n++){var a=e.children[n];w(a.tag)&&(j(a.ns)||J(r)&&a.tag!=="svg")&&vs(a,t,r)}}function Dl(e){te(e.style)&&Ot(e.style),te(e.class)&&Ot(e.class)}function kl(e,t,r){return Wt(X,e,t,r,2,!0)}function ot(e,t,r){At();try{if(t)for(var n=t;n=n.$parent;){var i=n.$options.errorCaptured;if(i)for(var a=0;a<i.length;a++)try{var o=i[a].call(n,e,t,r)===!1;if(o)return}catch(s){pa(s,n,"errorCaptured hook")}}pa(e,t,r)}finally{Tt()}}function Me(e,t,r,n,i){var a;try{a=r?e.apply(t,r):e.call(t),a&&!a._isVue&&$n(a)&&!a._handled&&(a.catch(function(o){return ot(o,n,i+" (Promise/async)")}),a._handled=!0)}catch(o){ot(o,n,i)}return a}function pa(e,t,r){if(he.errorHandler)try{return he.errorHandler.call(null,e,t,r)}catch(n){n!==e&&da(n)}da(e)}function da(e,t,r){if(fe&&typeof console<"u")console.error(e);else throw e}var jn=!1,In=[],Nn=!1;function ur(){Nn=!1;var e=In.slice(0);In.length=0;for(var t=0;t<e.length;t++)e[t]()}var Nt;if(typeof Promise<"u"&&bt(Promise)){var Fl=Promise.resolve();Nt=function(){Fl.then(ur),Mc&&setTimeout(q)},jn=!0}else if(!St&&typeof MutationObserver<"u"&&(bt(MutationObserver)||MutationObserver.toString()==="[object MutationObserverConstructor]")){var fr=1,Ul=new MutationObserver(ur),va=document.createTextNode(String(fr));Ul.observe(va,{characterData:!0}),Nt=function(){fr=(fr+1)%2,va.data=String(fr)},jn=!0}else typeof setImmediate<"u"&&bt(setImmediate)?Nt=function(){setImmediate(ur)}:Nt=function(){setTimeout(ur,0)};function rn(e,t){var r;if(In.push(function(){if(e)try{e.call(t)}catch(n){ot(n,t,"nextTick")}else r&&r(t)}),Nn||(Nn=!0,Nt()),!e&&typeof Promise<"u")return new Promise(function(n){r=n})}function Hl(e){e===void 0&&(e="$style");{if(!X)return ee;var t=X[e];return t||ee}}function zl(e){if(!!fe){var t=X;!t||ns(function(){var r=t.$el,n=e(t,t._setupProxy);if(r&&r.nodeType===1){var i=r.style;for(var a in n)i.setProperty("--".concat(a),n[a])}})}}function Bl(e){z(e)&&(e={loader:e});var t=e.loader,r=e.loadingComponent,n=e.errorComponent,i=e.delay,a=i===void 0?200:i,o=e.timeout;e.suspensible;var s=e.onError,u=null,f=0,c=function(){return f++,u=null,l()},l=function(){var p;return u||(p=u=t().catch(function(d){if(d=d instanceof Error?d:new Error(String(d)),s)return new Promise(function(m,v){var y=function(){return m(c())},h=function(){return v(d)};s(d,y,h,f+1)});throw d}).then(function(d){return p!==u&&u?u:(d&&(d.__esModule||d[Symbol.toStringTag]==="Module")&&(d=d.default),d)}))};return function(){var p=l();return{component:p,delay:a,timeout:o,error:n,loading:r}}}function ye(e){return function(t,r){if(r===void 0&&(r=X),!!r)return Wl(r,e,t)}}function Wl(e,t,r){var n=e.$options;n[t]=Os(n[t],r)}var Gl=ye("beforeMount"),Kl=ye("mounted"),ql=ye("beforeUpdate"),Jl=ye("updated"),Yl=ye("beforeDestroy"),Xl=ye("destroyed"),Zl=ye("activated"),Ql=ye("deactivated"),Vl=ye("serverPrefetch"),ep=ye("renderTracked"),tp=ye("renderTriggered"),rp=ye("errorCaptured");function np(e,t){t===void 0&&(t=X),rp(e,t)}var hs="2.7.14";function ip(e){return e}var ha=new zt;function Ot(e){return br(e,ha),ha.clear(),e}function br(e,t){var r,n,i=I(e);if(!(!i&&!te(e)||e.__v_skip||Object.isFrozen(e)||e instanceof le)){if(e.__ob__){var a=e.__ob__.dep.id;if(t.has(a))return;t.add(a)}if(i)for(r=e.length;r--;)br(e[r],t);else if(Q(e))br(e.value,t);else for(n=Object.keys(e),r=n.length;r--;)br(e[n[r]],t)}}var ap=0,nr=function(){function e(t,r,n,i,a){il(this,V&&!V._vm?V:t?t._scope:void 0),(this.vm=t)&&a&&(t._watcher=this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++ap,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new zt,this.newDepIds=new zt,this.expression="",z(r)?this.getter=r:(this.getter=xc(r),this.getter||(this.getter=q)),this.value=this.lazy?void 0:this.get()}return e.prototype.get=function(){At(this);var t,r=this.vm;try{t=this.getter.call(r,r)}catch(n){if(this.user)ot(n,r,'getter for watcher "'.concat(this.expression,'"'));else throw n}finally{this.deep&&Ot(t),Tt(),this.cleanupDeps()}return t},e.prototype.addDep=function(t){var r=t.id;this.newDepIds.has(r)||(this.newDepIds.add(r),this.newDeps.push(t),this.depIds.has(r)||t.addSub(this))},e.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var r=this.deps[t];this.newDepIds.has(r.id)||r.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},e.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():kn(this)},e.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||te(t)||this.deep){var r=this.value;if(this.value=t,this.user){var n='callback for watcher "'.concat(this.expression,'"');Me(this.cb,this.vm,[t,r],this.vm,n)}else this.cb.call(this.vm,t,r)}}},e.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},e.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},e.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&Je(this.vm._scope.effects,this),this.active){for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},e}();function op(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&ys(e,t)}var Gt;function sp(e,t){Gt.$on(e,t)}function up(e,t){Gt.$off(e,t)}function fp(e,t){var r=Gt;return function n(){var i=t.apply(null,arguments);i!==null&&r.$off(e,n)}}function ys(e,t,r){Gt=e,as(t,r||{},sp,up,fp,e),Gt=void 0}function cp(e){var t=/^hook:/;e.prototype.$on=function(r,n){var i=this;if(I(r))for(var a=0,o=r.length;a<o;a++)i.$on(r[a],n);else(i._events[r]||(i._events[r]=[])).push(n),t.test(r)&&(i._hasHookEvent=!0);return i},e.prototype.$once=function(r,n){var i=this;function a(){i.$off(r,a),n.apply(i,arguments)}return a.fn=n,i.$on(r,a),i},e.prototype.$off=function(r,n){var i=this;if(!arguments.length)return i._events=Object.create(null),i;if(I(r)){for(var a=0,o=r.length;a<o;a++)i.$off(r[a],n);return i}var s=i._events[r];if(!s)return i;if(!n)return i._events[r]=null,i;for(var u,f=s.length;f--;)if(u=s[f],u===n||u.fn===n){s.splice(f,1);break}return i},e.prototype.$emit=function(r){var n=this,i=n._events[r];if(i){i=i.length>1?An(i):i;for(var a=An(arguments,1),o='event handler for "'.concat(r,'"'),s=0,u=i.length;s<u;s++)Me(i[s],n,a,n,o)}return n}}var tt=null;function ms(e){var t=tt;return tt=e,function(){tt=t}}function lp(e){var t=e.$options,r=t.parent;if(r&&!t.abstract){for(;r.$options.abstract&&r.$parent;)r=r.$parent;r.$children.push(e)}e.$parent=r,e.$root=r?r.$root:e,e.$children=[],e.$refs={},e._provided=r?r._provided:Object.create(null),e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}function pp(e){e.prototype._update=function(t,r){var n=this,i=n.$el,a=n._vnode,o=ms(n);n._vnode=t,a?n.$el=n.__patch__(a,t):n.$el=n.__patch__(n.$el,t,r,!1),o(),i&&(i.__vue__=null),n.$el&&(n.$el.__vue__=n);for(var s=n;s&&s.$vnode&&s.$parent&&s.$vnode===s.$parent._vnode;)s.$parent.$el=s.$el,s=s.$parent},e.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},e.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){_e(t,"beforeDestroy"),t._isBeingDestroyed=!0;var r=t.$parent;r&&!r._isBeingDestroyed&&!t.$options.abstract&&Je(r.$children,t),t._scope.stop(),t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),_e(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}function dp(e,t,r){e.$el=t,e.$options.render||(e.$options.render=Ve),_e(e,"beforeMount");var n;n=function(){e._update(e._render(),r)};var i={before:function(){e._isMounted&&!e._isDestroyed&&_e(e,"beforeUpdate")}};new nr(e,n,q,i,!0),r=!1;var a=e._preWatchers;if(a)for(var o=0;o<a.length;o++)a[o].run();return e.$vnode==null&&(e._isMounted=!0,_e(e,"mounted")),e}function vp(e,t,r,n,i){var a=n.data.scopedSlots,o=e.$scopedSlots,s=!!(a&&!a.$stable||o!==ee&&!o.$stable||a&&e.$scopedSlots.$key!==a.$key||!a&&e.$scopedSlots.$key),u=!!(i||e.$options._renderChildren||s),f=e.$vnode;e.$options._parentVnode=n,e.$vnode=n,e._vnode&&(e._vnode.parent=n),e.$options._renderChildren=i;var c=n.data.attrs||ee;e._attrsProxy&&Nr(e._attrsProxy,c,f.data&&f.data.attrs||ee,e,"$attrs")&&(u=!0),e.$attrs=c,r=r||ee;var l=e.$options._parentListeners;if(e._listenersProxy&&Nr(e._listenersProxy,r,l||ee,e,"$listeners"),e.$listeners=e.$options._parentListeners=r,ys(e,r,l),t&&e.$options.props){We(!1);for(var p=e._props,d=e.$options._propKeys||[],m=0;m<d.length;m++){var v=d[m],y=e.$options.props;p[v]=Ci(v,y,t,e)}We(!0),e.$options.propsData=t}u&&(e.$slots=yi(i,n.context),e.$forceUpdate())}function gs(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function gi(e,t){if(t){if(e._directInactive=!1,gs(e))return}else if(e._directInactive)return;if(e._inactive||e._inactive===null){e._inactive=!1;for(var r=0;r<e.$children.length;r++)gi(e.$children[r]);_e(e,"activated")}}function _s(e,t){if(!(t&&(e._directInactive=!0,gs(e)))&&!e._inactive){e._inactive=!0;for(var r=0;r<e.$children.length;r++)_s(e.$children[r]);_e(e,"deactivated")}}function _e(e,t,r,n){n===void 0&&(n=!0),At();var i=X;n&&Be(e);var a=e.$options[t],o="".concat(t," hook");if(a)for(var s=0,u=a.length;s<u;s++)Me(a[s],e,r||null,e,o);e._hasHookEvent&&e.$emit("hook:"+t),n&&Be(i),Tt()}var Ae=[],_i=[],Lr={},Ln=!1,bi=!1,gt=0;function hp(){gt=Ae.length=_i.length=0,Lr={},Ln=bi=!1}var bs=0,Dn=Date.now;if(fe&&!St){var dn=window.performance;dn&&typeof dn.now=="function"&&Dn()>document.createEvent("Event").timeStamp&&(Dn=function(){return dn.now()})}var yp=function(e,t){if(e.post){if(!t.post)return 1}else if(t.post)return-1;return e.id-t.id};function mp(){bs=Dn(),bi=!0;var e,t;for(Ae.sort(yp),gt=0;gt<Ae.length;gt++)e=Ae[gt],e.before&&e.before(),t=e.id,Lr[t]=null,e.run();var r=_i.slice(),n=Ae.slice();hp(),bp(r),gp(n),Nc(),Rr&&he.devtools&&Rr.emit("flush")}function gp(e){for(var t=e.length;t--;){var r=e[t],n=r.vm;n&&n._watcher===r&&n._isMounted&&!n._isDestroyed&&_e(n,"updated")}}function _p(e){e._inactive=!1,_i.push(e)}function bp(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,gi(e[t],!0)}function kn(e){var t=e.id;if(Lr[t]==null&&!(e===Se.target&&e.noRecurse)){if(Lr[t]=!0,!bi)Ae.push(e);else{for(var r=Ae.length-1;r>gt&&Ae[r].id>e.id;)r--;Ae.splice(r+1,0,e)}Ln||(Ln=!0,rn(mp))}}function wp(e){var t=e.$options.provide;if(t){var r=z(t)?t.call(e):t;if(!te(r))return;for(var n=is(e),i=tr?Reflect.ownKeys(r):Object.keys(r),a=0;a<i.length;a++){var o=i[a];Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(r,o))}}}function Op(e){var t=ws(e.$options.inject,e);t&&(We(!1),Object.keys(t).forEach(function(r){Ge(e,r,t[r])}),We(!0))}function ws(e,t){if(e){for(var r=Object.create(null),n=tr?Reflect.ownKeys(e):Object.keys(e),i=0;i<n.length;i++){var a=n[i];if(a!=="__ob__"){var o=e[a].from;if(o in t._provided)r[a]=t._provided[o];else if("default"in e[a]){var s=e[a].default;r[a]=z(s)?s.call(t):s}}}return r}}function wi(e,t,r,n,i){var a=this,o=i.options,s;ie(n,"_uid")?(s=Object.create(n),s._original=n):(s=n,n=n._original);var u=J(o._compiled),f=!u;this.data=e,this.props=t,this.children=r,this.parent=n,this.listeners=e.on||ee,this.injections=ws(o.inject,n),this.slots=function(){return a.$slots||Ut(n,e.scopedSlots,a.$slots=yi(r,n)),a.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Ut(n,e.scopedSlots,this.slots())}}),u&&(this.$options=o,this.$slots=this.slots(),this.$scopedSlots=Ut(n,e.scopedSlots,this.$slots)),o._scopeId?this._c=function(c,l,p,d){var m=Wt(s,c,l,p,d,f);return m&&!I(m)&&(m.fnScopeId=o._scopeId,m.fnContext=n),m}:this._c=function(c,l,p,d){return Wt(s,c,l,p,d,f)}}fs(wi.prototype);function Cp(e,t,r,n,i){var a=e.options,o={},s=a.props;if(w(s))for(var u in s)o[u]=Ci(u,s,t||ee);else w(r.attrs)&&ma(o,r.attrs),w(r.props)&&ma(o,r.props);var f=new wi(r,o,i,n,e),c=a.render.call(null,f._c,f);if(c instanceof le)return ya(c,r,f.parent,a);if(I(c)){for(var l=hi(c)||[],p=new Array(l.length),d=0;d<l.length;d++)p[d]=ya(l[d],r,f.parent,a);return p}}function ya(e,t,r,n,i){var a=xn(e);return a.fnContext=r,a.fnOptions=n,t.slot&&((a.data||(a.data={})).slot=t.slot),a}function ma(e,t){for(var r in t)e[it(r)]=t[r]}function Dr(e){return e.name||e.__name||e._componentTag}var Oi={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var r=e;Oi.prepatch(r,r)}else{var n=e.componentInstance=Ep(e,tt);n.$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var r=t.componentOptions,n=t.componentInstance=e.componentInstance;vp(n,r.propsData,r.listeners,t,r.children)},insert:function(e){var t=e.context,r=e.componentInstance;r._isMounted||(r._isMounted=!0,_e(r,"mounted")),e.data.keepAlive&&(t._isMounted?_p(r):gi(r,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?_s(t,!0):t.$destroy())}},ga=Object.keys(Oi);function _a(e,t,r,n,i){if(!j(e)){var a=r.$options._base;if(te(e)&&(e=a.extend(e)),typeof e=="function"){var o;if(j(e.cid)&&(o=e,e=Il(o,a),e===void 0))return jl(o,t,r,n,i);t=t||{},Si(e),w(t.model)&&Ap(e.options,t);var s=fl(t,e);if(J(e.options.functional))return Cp(e,s,t,r,n);var u=t.on;if(t.on=t.nativeOn,J(e.options.abstract)){var f=t.slot;t={},f&&(t.slot=f)}Sp(t);var c=Dr(e.options)||i,l=new le("vue-component-".concat(e.cid).concat(c?"-".concat(c):""),t,void 0,void 0,void 0,r,{Ctor:e,propsData:s,listeners:u,tag:i,children:n},o);return l}}}function Ep(e,t){var r={_isComponent:!0,_parentVnode:e,parent:t},n=e.data.inlineTemplate;return w(n)&&(r.render=n.render,r.staticRenderFns=n.staticRenderFns),new e.componentOptions.Ctor(r)}function Sp(e){for(var t=e.hook||(e.hook={}),r=0;r<ga.length;r++){var n=ga[r],i=t[n],a=Oi[n];i!==a&&!(i&&i._merged)&&(t[n]=i?$p(a,i):a)}}function $p(e,t){var r=function(n,i){e(n,i),t(n,i)};return r._merged=!0,r}function Ap(e,t){var r=e.model&&e.model.prop||"value",n=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[r]=t.model.value;var i=t.on||(t.on={}),a=i[n],o=t.model.callback;w(a)?(I(a)?a.indexOf(o)===-1:a!==o)&&(i[n]=[o].concat(a)):i[n]=o}var Tp=q,Ce=he.optionMergeStrategies;function Kt(e,t,r){if(r===void 0&&(r=!0),!t)return e;for(var n,i,a,o=tr?Reflect.ownKeys(t):Object.keys(t),s=0;s<o.length;s++)n=o[s],n!=="__ob__"&&(i=e[n],a=t[n],!r||!ie(e,n)?Vr(e,n,a):i!==a&&ae(i)&&ae(a)&&Kt(i,a));return e}function ba(e,t,r){return r?function(){var i=z(t)?t.call(r,r):t,a=z(e)?e.call(r,r):e;return i?Kt(i,a):a}:t?e?function(){return Kt(z(t)?t.call(this,this):t,z(e)?e.call(this,this):e)}:t:e}Ce.data=function(e,t,r){return r?ba(e,t,r):t&&typeof t!="function"?e:ba(e,t)};function Os(e,t){var r=t?e?e.concat(t):I(t)?t:[t]:e;return r&&Pp(r)}function Pp(e){for(var t=[],r=0;r<e.length;r++)t.indexOf(e[r])===-1&&t.push(e[r]);return t}Go.forEach(function(e){Ce[e]=Os});function xp(e,t,r,n){var i=Object.create(e||null);return t?W(i,t):i}Qr.forEach(function(e){Ce[e+"s"]=xp});Ce.watch=function(e,t,r,n){if(e===Pn&&(e=void 0),t===Pn&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var i={};W(i,e);for(var a in t){var o=i[a],s=t[a];o&&!I(o)&&(o=[o]),i[a]=o?o.concat(s):I(s)?s:[s]}return i};Ce.props=Ce.methods=Ce.inject=Ce.computed=function(e,t,r,n){if(!e)return t;var i=Object.create(null);return W(i,e),t&&W(i,t),i};Ce.provide=function(e,t){return e?function(){var r=Object.create(null);return Kt(r,z(e)?e.call(this):e),t&&Kt(r,z(t)?t.call(this):t,!1),r}:t};var Rp=function(e,t){return t===void 0?e:t};function Mp(e,t){var r=e.props;if(!!r){var n={},i,a,o;if(I(r))for(i=r.length;i--;)a=r[i],typeof a=="string"&&(o=it(a),n[o]={type:null});else if(ae(r))for(var s in r)a=r[s],o=it(s),n[o]=ae(a)?a:{type:a};e.props=n}}function jp(e,t){var r=e.inject;if(!!r){var n=e.inject={};if(I(r))for(var i=0;i<r.length;i++)n[r[i]]={from:r[i]};else if(ae(r))for(var a in r){var o=r[a];n[a]=ae(o)?W({from:a},o):{from:o}}}}function Ip(e){var t=e.directives;if(t)for(var r in t){var n=t[r];z(n)&&(t[r]={bind:n,update:n})}}function st(e,t,r){if(z(t)&&(t=t.options),Mp(t),jp(t),Ip(t),!t._base&&(t.extends&&(e=st(e,t.extends,r)),t.mixins))for(var n=0,i=t.mixins.length;n<i;n++)e=st(e,t.mixins[n],r);var a={},o;for(o in e)s(o);for(o in t)ie(e,o)||s(o);function s(u){var f=Ce[u]||Rp;a[u]=f(e[u],t[u],r,u)}return a}function kr(e,t,r,n){if(typeof r=="string"){var i=e[t];if(ie(i,r))return i[r];var a=it(r);if(ie(i,a))return i[a];var o=Ec(a);if(ie(i,o))return i[o];var s=i[r]||i[a]||i[o];return s}}function Ci(e,t,r,n){var i=t[e],a=!ie(r,e),o=r[e],s=Oa(Boolean,i.type);if(s>-1){if(a&&!ie(i,"default"))o=!1;else if(o===""||o===er(e)){var u=Oa(String,i.type);(u<0||s<u)&&(o=!0)}}if(o===void 0){o=Np(n,i,e);var f=li;We(!0),Re(o),We(f)}return o}function Np(e,t,r){if(!!ie(t,"default")){var n=t.default;return e&&e.$options.propsData&&e.$options.propsData[r]===void 0&&e._props[r]!==void 0?e._props[r]:z(n)&&Fn(t.type)!=="Function"?n.call(e):n}}var Lp=/^\s*function (\w+)/;function Fn(e){var t=e&&e.toString().match(Lp);return t?t[1]:""}function wa(e,t){return Fn(e)===Fn(t)}function Oa(e,t){if(!I(t))return wa(t,e)?0:-1;for(var r=0,n=t.length;r<n;r++)if(wa(t[r],e))return r;return-1}var Ne={enumerable:!0,configurable:!0,get:q,set:q};function Ei(e,t,r){Ne.get=function(){return this[t][r]},Ne.set=function(i){this[t][r]=i},Object.defineProperty(e,r,Ne)}function Dp(e){var t=e.$options;if(t.props&&kp(e,t.props),El(e),t.methods&&Bp(e,t.methods),t.data)Fp(e);else{var r=Re(e._data={});r&&r.vmCount++}t.computed&&zp(e,t.computed),t.watch&&t.watch!==Pn&&Wp(e,t.watch)}function kp(e,t){var r=e.$options.propsData||{},n=e._props=di({}),i=e.$options._propKeys=[],a=!e.$parent;a||We(!1);var o=function(u){i.push(u);var f=Ci(u,t,r,e);Ge(n,u,f),u in e||Ei(e,"_props",u)};for(var s in t)o(s);We(!0)}function Fp(e){var t=e.$options.data;t=e._data=z(t)?Up(t,e):t||{},ae(t)||(t={});var r=Object.keys(t),n=e.$options.props;e.$options.methods;for(var i=r.length;i--;){var a=r[i];n&&ie(n,a)||Ko(a)||Ei(e,"_data",a)}var o=Re(t);o&&o.vmCount++}function Up(e,t){At();try{return e.call(t,t)}catch(r){return ot(r,t,"data()"),{}}finally{Tt()}}var Hp={lazy:!0};function zp(e,t){var r=e._computedWatchers=Object.create(null),n=Ye();for(var i in t){var a=t[i],o=z(a)?a:a.get;n||(r[i]=new nr(e,o||q,q,Hp)),i in e||Cs(e,i,a)}}function Cs(e,t,r){var n=!Ye();z(r)?(Ne.get=n?Ca(t):Ea(r),Ne.set=q):(Ne.get=r.get?n&&r.cache!==!1?Ca(t):Ea(r.get):q,Ne.set=r.set||q),Object.defineProperty(e,t,Ne)}function Ca(e){return function(){var r=this._computedWatchers&&this._computedWatchers[e];if(r)return r.dirty&&r.evaluate(),Se.target&&r.depend(),r.value}}function Ea(e){return function(){return e.call(this,this)}}function Bp(e,t){e.$options.props;for(var r in t)e[r]=typeof t[r]!="function"?q:Ho(t[r],e)}function Wp(e,t){for(var r in t){var n=t[r];if(I(n))for(var i=0;i<n.length;i++)Un(e,r,n[i]);else Un(e,r,n)}}function Un(e,t,r,n){return ae(r)&&(n=r,r=r.handler),typeof r=="string"&&(r=e[r]),e.$watch(t,r,n)}function Gp(e){var t={};t.get=function(){return this._data};var r={};r.get=function(){return this._props},Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",r),e.prototype.$set=Vr,e.prototype.$delete=pi,e.prototype.$watch=function(n,i,a){var o=this;if(ae(i))return Un(o,n,i,a);a=a||{},a.user=!0;var s=new nr(o,n,i,a);if(a.immediate){var u='callback for immediate watcher "'.concat(s.expression,'"');At(),Me(i,o,[s.value],o,u),Tt()}return function(){s.teardown()}}}var Kp=0;function qp(e){e.prototype._init=function(t){var r=this;r._uid=Kp++,r._isVue=!0,r.__v_skip=!0,r._scope=new vi(!0),r._scope._vm=!0,t&&t._isComponent?Jp(r,t):r.$options=st(Si(r.constructor),t||{},r),r._renderProxy=r,r._self=r,lp(r),op(r),Rl(r),_e(r,"beforeCreate",void 0,!1),Op(r),Dp(r),wp(r),_e(r,"created"),r.$options.el&&r.$mount(r.$options.el)}}function Jp(e,t){var r=e.$options=Object.create(e.constructor.options),n=t._parentVnode;r.parent=t.parent,r._parentVnode=n;var i=n.componentOptions;r.propsData=i.propsData,r._parentListeners=i.listeners,r._renderChildren=i.children,r._componentTag=i.tag,t.render&&(r.render=t.render,r.staticRenderFns=t.staticRenderFns)}function Si(e){var t=e.options;if(e.super){var r=Si(e.super),n=e.superOptions;if(r!==n){e.superOptions=r;var i=Yp(e);i&&W(e.extendOptions,i),t=e.options=st(r,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function Yp(e){var t,r=e.options,n=e.sealedOptions;for(var i in r)r[i]!==n[i]&&(t||(t={}),t[i]=r[i]);return t}function G(e){this._init(e)}qp(G);Gp(G);cp(G);pp(G);Ml(G);function Xp(e){e.use=function(t){var r=this._installedPlugins||(this._installedPlugins=[]);if(r.indexOf(t)>-1)return this;var n=An(arguments,1);return n.unshift(this),z(t.install)?t.install.apply(t,n):z(t)&&t.apply(null,n),r.push(t),this}}function Zp(e){e.mixin=function(t){return this.options=st(this.options,t),this}}function Qp(e){e.cid=0;var t=1;e.extend=function(r){r=r||{};var n=this,i=n.cid,a=r._Ctor||(r._Ctor={});if(a[i])return a[i];var o=Dr(r)||Dr(n.options),s=function(f){this._init(f)};return s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.cid=t++,s.options=st(n.options,r),s.super=n,s.options.props&&Vp(s),s.options.computed&&ed(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,Qr.forEach(function(u){s[u]=n[u]}),o&&(s.options.components[o]=s),s.superOptions=n.options,s.extendOptions=r,s.sealedOptions=W({},s.options),a[i]=s,s}}function Vp(e){var t=e.options.props;for(var r in t)Ei(e.prototype,"_props",r)}function ed(e){var t=e.options.computed;for(var r in t)Cs(e.prototype,r,t[r])}function td(e){Qr.forEach(function(t){e[t]=function(r,n){return n?(t==="component"&&ae(n)&&(n.name=n.name||r,n=this.options._base.extend(n)),t==="directive"&&z(n)&&(n={bind:n,update:n}),this.options[t+"s"][r]=n,n):this.options[t+"s"][r]}})}function Sa(e){return e&&(Dr(e.Ctor.options)||e.tag)}function cr(e,t){return I(e)?e.indexOf(t)>-1:typeof e=="string"?e.split(",").indexOf(t)>-1:_c(e)?e.test(t):!1}function $a(e,t){var r=e.cache,n=e.keys,i=e._vnode;for(var a in r){var o=r[a];if(o){var s=o.name;s&&!t(s)&&Hn(r,a,n,i)}}}function Hn(e,t,r,n){var i=e[t];i&&(!n||i.tag!==n.tag)&&i.componentInstance.$destroy(),e[t]=null,Je(r,t)}var Aa=[String,RegExp,Array],rd={name:"keep-alive",abstract:!0,props:{include:Aa,exclude:Aa,max:[String,Number]},methods:{cacheVNode:function(){var e=this,t=e.cache,r=e.keys,n=e.vnodeToCache,i=e.keyToCache;if(n){var a=n.tag,o=n.componentInstance,s=n.componentOptions;t[i]={name:Sa(s),tag:a,componentInstance:o},r.push(i),this.max&&r.length>parseInt(this.max)&&Hn(t,r[0],r,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Hn(this.cache,e,this.keys)},mounted:function(){var e=this;this.cacheVNode(),this.$watch("include",function(t){$a(e,function(r){return cr(t,r)})}),this.$watch("exclude",function(t){$a(e,function(r){return!cr(t,r)})})},updated:function(){this.cacheVNode()},render:function(){var e=this.$slots.default,t=ps(e),r=t&&t.componentOptions;if(r){var n=Sa(r),i=this,a=i.include,o=i.exclude;if(a&&(!n||!cr(a,n))||o&&n&&cr(o,n))return t;var s=this,u=s.cache,f=s.keys,c=t.key==null?r.Ctor.cid+(r.tag?"::".concat(r.tag):""):t.key;u[c]?(t.componentInstance=u[c].componentInstance,Je(f,c),f.push(c)):(this.vnodeToCache=t,this.keyToCache=c),t.data.keepAlive=!0}return t||e&&e[0]}},nd={KeepAlive:rd};function id(e){var t={};t.get=function(){return he},Object.defineProperty(e,"config",t),e.util={warn:Tp,extend:W,mergeOptions:st,defineReactive:Ge},e.set=Vr,e.delete=pi,e.nextTick=rn,e.observable=function(r){return Re(r),r},e.options=Object.create(null),Qr.forEach(function(r){e.options[r+"s"]=Object.create(null)}),e.options._base=e,W(e.options.components,nd),Xp(e),Zp(e),Qp(e),td(e)}id(G);Object.defineProperty(G.prototype,"$isServer",{get:Ye});Object.defineProperty(G.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}});Object.defineProperty(G,"FunctionalRenderContext",{value:wi});G.version=hs;var ad=be("style,class"),od=be("input,textarea,option,select,progress"),sd=function(e,t,r){return r==="value"&&od(e)&&t!=="button"||r==="selected"&&e==="option"||r==="checked"&&e==="input"||r==="muted"&&e==="video"},Es=be("contenteditable,draggable,spellcheck"),ud=be("events,caret,typing,plaintext-only"),fd=function(e,t){return Fr(t)||t==="false"?"false":e==="contenteditable"&&ud(t)?t:"true"},cd=be("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),zn="http://www.w3.org/1999/xlink",$i=function(e){return e.charAt(5)===":"&&e.slice(0,5)==="xlink"},Ss=function(e){return $i(e)?e.slice(6,e.length):""},Fr=function(e){return e==null||e===!1};function ld(e){for(var t=e.data,r=e,n=e;w(n.componentInstance);)n=n.componentInstance._vnode,n&&n.data&&(t=Ta(n.data,t));for(;w(r=r.parent);)r&&r.data&&(t=Ta(t,r.data));return pd(t.staticClass,t.class)}function Ta(e,t){return{staticClass:Ai(e.staticClass,t.staticClass),class:w(e.class)?[e.class,t.class]:t.class}}function pd(e,t){return w(e)||w(t)?Ai(e,Ti(t)):""}function Ai(e,t){return e?t?e+" "+t:e:t||""}function Ti(e){return Array.isArray(e)?dd(e):te(e)?vd(e):typeof e=="string"?e:""}function dd(e){for(var t="",r,n=0,i=e.length;n<i;n++)w(r=Ti(e[n]))&&r!==""&&(t&&(t+=" "),t+=r);return t}function vd(e){var t="";for(var r in e)e[r]&&(t&&(t+=" "),t+=r);return t}var hd={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},yd=be("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Pi=be("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),$s=function(e){return yd(e)||Pi(e)};function md(e){if(Pi(e))return"svg";if(e==="math")return"math"}var lr=Object.create(null);function gd(e){if(!fe)return!0;if($s(e))return!1;if(e=e.toLowerCase(),lr[e]!=null)return lr[e];var t=document.createElement(e);return e.indexOf("-")>-1?lr[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:lr[e]=/HTMLUnknownElement/.test(t.toString())}var Bn=be("text,number,password,search,email,tel,url");function _d(e){if(typeof e=="string"){var t=document.querySelector(e);return t||document.createElement("div")}else return e}function bd(e,t){var r=document.createElement(e);return e!=="select"||t.data&&t.data.attrs&&t.data.attrs.multiple!==void 0&&r.setAttribute("multiple","multiple"),r}function wd(e,t){return document.createElementNS(hd[e],t)}function Od(e){return document.createTextNode(e)}function Cd(e){return document.createComment(e)}function Ed(e,t,r){e.insertBefore(t,r)}function Sd(e,t){e.removeChild(t)}function $d(e,t){e.appendChild(t)}function Ad(e){return e.parentNode}function Td(e){return e.nextSibling}function Pd(e){return e.tagName}function xd(e,t){e.textContent=t}function Rd(e,t){e.setAttribute(t,"")}var Md=Object.freeze({__proto__:null,createElement:bd,createElementNS:wd,createTextNode:Od,createComment:Cd,insertBefore:Ed,removeChild:Sd,appendChild:$d,parentNode:Ad,nextSibling:Td,tagName:Pd,setTextContent:xd,setStyleScope:Rd}),jd={create:function(e,t){_t(t)},update:function(e,t){e.data.ref!==t.data.ref&&(_t(e,!0),_t(t))},destroy:function(e){_t(e,!0)}};function _t(e,t){var r=e.data.ref;if(!!w(r)){var n=e.context,i=e.componentInstance||e.elm,a=t?null:i,o=t?void 0:i;if(z(r)){Me(r,n,[a],n,"template ref function");return}var s=e.data.refInFor,u=typeof r=="string"||typeof r=="number",f=Q(r),c=n.$refs;if(u||f){if(s){var l=u?c[r]:r.value;t?I(l)&&Je(l,i):I(l)?l.includes(i)||l.push(i):u?(c[r]=[i],Pa(n,r,c[r])):r.value=[i]}else if(u){if(t&&c[r]!==i)return;c[r]=o,Pa(n,r,a)}else if(f){if(t&&r.value!==i)return;r.value=a}}}}function Pa(e,t,r){var n=e._setupState;n&&ie(n,t)&&(Q(n[t])?n[t].value=r:n[t]=r)}var De=new le("",{},[]),jt=["create","activate","update","remove","destroy"];function Qe(e,t){return e.key===t.key&&e.asyncFactory===t.asyncFactory&&(e.tag===t.tag&&e.isComment===t.isComment&&w(e.data)===w(t.data)&&Id(e,t)||J(e.isAsyncPlaceholder)&&j(t.asyncFactory.error))}function Id(e,t){if(e.tag!=="input")return!0;var r,n=w(r=e.data)&&w(r=r.attrs)&&r.type,i=w(r=t.data)&&w(r=r.attrs)&&r.type;return n===i||Bn(n)&&Bn(i)}function Nd(e,t,r){var n,i,a={};for(n=t;n<=r;++n)i=e[n].key,w(i)&&(a[i]=n);return a}function Ld(e){var t,r,n={},i=e.modules,a=e.nodeOps;for(t=0;t<jt.length;++t)for(n[jt[t]]=[],r=0;r<i.length;++r)w(i[r][jt[t]])&&n[jt[t]].push(i[r][jt[t]]);function o(_){return new le(a.tagName(_).toLowerCase(),{},[],void 0,_)}function s(_,g){function C(){--C.listeners===0&&u(_)}return C.listeners=g,C}function u(_){var g=a.parentNode(_);w(g)&&a.removeChild(g,_)}function f(_,g,C,x,R,L,M){if(w(_.elm)&&w(L)&&(_=L[M]=xn(_)),_.isRootInsert=!R,!c(_,g,C,x)){var D=_.data,k=_.children,U=_.tag;w(U)?(_.elm=_.ns?a.createElementNS(_.ns,U):a.createElement(U,_),h(_),m(_,k,g),w(D)&&y(_,g),d(C,_.elm,x)):J(_.isComment)?(_.elm=a.createComment(_.text),d(C,_.elm,x)):(_.elm=a.createTextNode(_.text),d(C,_.elm,x))}}function c(_,g,C,x){var R=_.data;if(w(R)){var L=w(_.componentInstance)&&R.keepAlive;if(w(R=R.hook)&&w(R=R.init)&&R(_,!1),w(_.componentInstance))return l(_,g),d(C,_.elm,x),J(L)&&p(_,g,C,x),!0}}function l(_,g){w(_.data.pendingInsert)&&(g.push.apply(g,_.data.pendingInsert),_.data.pendingInsert=null),_.elm=_.componentInstance.$el,v(_)?(y(_,g),h(_)):(_t(_),g.push(_))}function p(_,g,C,x){for(var R,L=_;L.componentInstance;)if(L=L.componentInstance._vnode,w(R=L.data)&&w(R=R.transition)){for(R=0;R<n.activate.length;++R)n.activate[R](De,L);g.push(L);break}d(C,_.elm,x)}function d(_,g,C){w(_)&&(w(C)?a.parentNode(C)===_&&a.insertBefore(_,g,C):a.appendChild(_,g))}function m(_,g,C){if(I(g))for(var x=0;x<g.length;++x)f(g[x],C,_.elm,null,!0,g,x);else Vt(_.text)&&a.appendChild(_.elm,a.createTextNode(String(_.text)))}function v(_){for(;_.componentInstance;)_=_.componentInstance._vnode;return w(_.tag)}function y(_,g){for(var C=0;C<n.create.length;++C)n.create[C](De,_);t=_.data.hook,w(t)&&(w(t.create)&&t.create(De,_),w(t.insert)&&g.push(_))}function h(_){var g;if(w(g=_.fnScopeId))a.setStyleScope(_.elm,g);else for(var C=_;C;)w(g=C.context)&&w(g=g.$options._scopeId)&&a.setStyleScope(_.elm,g),C=C.parent;w(g=tt)&&g!==_.context&&g!==_.fnContext&&w(g=g.$options._scopeId)&&a.setStyleScope(_.elm,g)}function b(_,g,C,x,R,L){for(;x<=R;++x)f(C[x],L,_,g,!1,C,x)}function O(_){var g,C,x=_.data;if(w(x))for(w(g=x.hook)&&w(g=g.destroy)&&g(_),g=0;g<n.destroy.length;++g)n.destroy[g](_);if(w(g=_.children))for(C=0;C<_.children.length;++C)O(_.children[C])}function $(_,g,C){for(;g<=C;++g){var x=_[g];w(x)&&(w(x.tag)?(E(x),O(x)):u(x.elm))}}function E(_,g){if(w(g)||w(_.data)){var C,x=n.remove.length+1;for(w(g)?g.listeners+=x:g=s(_.elm,x),w(C=_.componentInstance)&&w(C=C._vnode)&&w(C.data)&&E(C,g),C=0;C<n.remove.length;++C)n.remove[C](_,g);w(C=_.data.hook)&&w(C=C.remove)?C(_,g):g()}else u(_.elm)}function A(_,g,C,x,R){for(var L=0,M=0,D=g.length-1,k=g[0],U=g[D],H=C.length-1,Z=C[0],ve=C[H],Ze,je,Ie,Hi,ln=!R;L<=D&&M<=H;)j(k)?k=g[++L]:j(U)?U=g[--D]:Qe(k,Z)?(P(k,Z,x,C,M),k=g[++L],Z=C[++M]):Qe(U,ve)?(P(U,ve,x,C,H),U=g[--D],ve=C[--H]):Qe(k,ve)?(P(k,ve,x,C,H),ln&&a.insertBefore(_,k.elm,a.nextSibling(U.elm)),k=g[++L],ve=C[--H]):Qe(U,Z)?(P(U,Z,x,C,M),ln&&a.insertBefore(_,U.elm,k.elm),U=g[--D],Z=C[++M]):(j(Ze)&&(Ze=Nd(g,L,D)),je=w(Z.key)?Ze[Z.key]:T(Z,g,L,D),j(je)?f(Z,x,_,k.elm,!1,C,M):(Ie=g[je],Qe(Ie,Z)?(P(Ie,Z,x,C,M),g[je]=void 0,ln&&a.insertBefore(_,Ie.elm,k.elm)):f(Z,x,_,k.elm,!1,C,M)),Z=C[++M]);L>D?(Hi=j(C[H+1])?null:C[H+1].elm,b(_,Hi,C,M,H,x)):M>H&&$(g,L,D)}function T(_,g,C,x){for(var R=C;R<x;R++){var L=g[R];if(w(L)&&Qe(_,L))return R}}function P(_,g,C,x,R,L){if(_!==g){w(g.elm)&&w(x)&&(g=x[R]=xn(g));var M=g.elm=_.elm;if(J(_.isAsyncPlaceholder)){w(g.asyncFactory.resolved)?F(_.elm,g,C):g.isAsyncPlaceholder=!0;return}if(J(g.isStatic)&&J(_.isStatic)&&g.key===_.key&&(J(g.isCloned)||J(g.isOnce))){g.componentInstance=_.componentInstance;return}var D,k=g.data;w(k)&&w(D=k.hook)&&w(D=D.prepatch)&&D(_,g);var U=_.children,H=g.children;if(w(k)&&v(g)){for(D=0;D<n.update.length;++D)n.update[D](_,g);w(D=k.hook)&&w(D=D.update)&&D(_,g)}j(g.text)?w(U)&&w(H)?U!==H&&A(M,U,H,C,L):w(H)?(w(_.text)&&a.setTextContent(M,""),b(M,null,H,0,H.length-1,C)):w(U)?$(U,0,U.length-1):w(_.text)&&a.setTextContent(M,""):_.text!==g.text&&a.setTextContent(M,g.text),w(k)&&w(D=k.hook)&&w(D=D.postpatch)&&D(_,g)}}function N(_,g,C){if(J(C)&&w(_.parent))_.parent.data.pendingInsert=g;else for(var x=0;x<g.length;++x)g[x].data.hook.insert(g[x])}var B=be("attrs,class,staticClass,staticStyle,key");function F(_,g,C,x){var R,L=g.tag,M=g.data,D=g.children;if(x=x||M&&M.pre,g.elm=_,J(g.isComment)&&w(g.asyncFactory))return g.isAsyncPlaceholder=!0,!0;if(w(M)&&(w(R=M.hook)&&w(R=R.init)&&R(g,!0),w(R=g.componentInstance)))return l(g,C),!0;if(w(L)){if(w(D))if(!_.hasChildNodes())m(g,D,C);else if(w(R=M)&&w(R=R.domProps)&&w(R=R.innerHTML)){if(R!==_.innerHTML)return!1}else{for(var k=!0,U=_.firstChild,H=0;H<D.length;H++){if(!U||!F(U,D[H],C,x)){k=!1;break}U=U.nextSibling}if(!k||U)return!1}if(w(M)){var Z=!1;for(var ve in M)if(!B(ve)){Z=!0,y(g,C);break}!Z&&M.class&&Ot(M.class)}}else _.data!==g.text&&(_.data=g.text);return!0}return function(g,C,x,R){if(j(C)){w(g)&&O(g);return}var L=!1,M=[];if(j(g))L=!0,f(C,M);else{var D=w(g.nodeType);if(!D&&Qe(g,C))P(g,C,M,null,null,R);else{if(D){if(g.nodeType===1&&g.hasAttribute(ea)&&(g.removeAttribute(ea),x=!0),J(x)&&F(g,C,M))return N(C,M,!0),g;g=o(g)}var k=g.elm,U=a.parentNode(k);if(f(C,M,k._leaveCb?null:U,a.nextSibling(k)),w(C.parent))for(var H=C.parent,Z=v(C);H;){for(var ve=0;ve<n.destroy.length;++ve)n.destroy[ve](H);if(H.elm=C.elm,Z){for(var Ze=0;Ze<n.create.length;++Ze)n.create[Ze](De,H);var je=H.data.hook.insert;if(je.merged)for(var Ie=1;Ie<je.fns.length;Ie++)je.fns[Ie]()}else _t(H);H=H.parent}w(U)?$([g],0,0):w(g.tag)&&O(g)}}return N(C,M,L),C.elm}}var Dd={create:vn,update:vn,destroy:function(t){vn(t,De)}};function vn(e,t){(e.data.directives||t.data.directives)&&kd(e,t)}function kd(e,t){var r=e===De,n=t===De,i=xa(e.data.directives,e.context),a=xa(t.data.directives,t.context),o=[],s=[],u,f,c;for(u in a)f=i[u],c=a[u],f?(c.oldValue=f.value,c.oldArg=f.arg,It(c,"update",t,e),c.def&&c.def.componentUpdated&&s.push(c)):(It(c,"bind",t,e),c.def&&c.def.inserted&&o.push(c));if(o.length){var l=function(){for(var p=0;p<o.length;p++)It(o[p],"inserted",t,e)};r?Le(t,"insert",l):l()}if(s.length&&Le(t,"postpatch",function(){for(var p=0;p<s.length;p++)It(s[p],"componentUpdated",t,e)}),!r)for(u in i)a[u]||It(i[u],"unbind",e,e,n)}var Fd=Object.create(null);function xa(e,t){var r=Object.create(null);if(!e)return r;var n,i;for(n=0;n<e.length;n++){if(i=e[n],i.modifiers||(i.modifiers=Fd),r[Ud(i)]=i,t._setupState&&t._setupState.__sfc){var a=i.def||kr(t,"_setupState","v-"+i.name);typeof a=="function"?i.def={bind:a,update:a}:i.def=a}i.def=i.def||kr(t.$options,"directives",i.name)}return r}function Ud(e){return e.rawName||"".concat(e.name,".").concat(Object.keys(e.modifiers||{}).join("."))}function It(e,t,r,n,i){var a=e.def&&e.def[t];if(a)try{a(r.elm,e,r,n,i)}catch(o){ot(o,r.context,"directive ".concat(e.name," ").concat(t," hook"))}}var Hd=[jd,Dd];function Ra(e,t){var r=t.componentOptions;if(!(w(r)&&r.Ctor.options.inheritAttrs===!1)&&!(j(e.data.attrs)&&j(t.data.attrs))){var n,i,a,o=t.elm,s=e.data.attrs||{},u=t.data.attrs||{};(w(u.__ob__)||J(u._v_attr_proxy))&&(u=t.data.attrs=W({},u));for(n in u)i=u[n],a=s[n],a!==i&&Ma(o,n,i,t.data.pre);(St||ci)&&u.value!==s.value&&Ma(o,"value",u.value);for(n in s)j(u[n])&&($i(n)?o.removeAttributeNS(zn,Ss(n)):Es(n)||o.removeAttribute(n))}}function Ma(e,t,r,n){n||e.tagName.indexOf("-")>-1?ja(e,t,r):cd(t)?Fr(r)?e.removeAttribute(t):(r=t==="allowfullscreen"&&e.tagName==="EMBED"?"true":t,e.setAttribute(t,r)):Es(t)?e.setAttribute(t,fd(t,r)):$i(t)?Fr(r)?e.removeAttributeNS(zn,Ss(t)):e.setAttributeNS(zn,t,r):ja(e,t,r)}function ja(e,t,r){if(Fr(r))e.removeAttribute(t);else{if(St&&!$t&&e.tagName==="TEXTAREA"&&t==="placeholder"&&r!==""&&!e.__ieph){var n=function(i){i.stopImmediatePropagation(),e.removeEventListener("input",n)};e.addEventListener("input",n),e.__ieph=!0}e.setAttribute(t,r)}}var zd={create:Ra,update:Ra};function Ia(e,t){var r=t.elm,n=t.data,i=e.data;if(!(j(n.staticClass)&&j(n.class)&&(j(i)||j(i.staticClass)&&j(i.class)))){var a=ld(t),o=r._transitionClasses;w(o)&&(a=Ai(a,Ti(o))),a!==r._prevClass&&(r.setAttribute("class",a),r._prevClass=a)}}var Bd={create:Ia,update:Ia},hn="__r",yn="__c";function Wd(e){if(w(e[hn])){var t=St?"change":"input";e[t]=[].concat(e[hn],e[t]||[]),delete e[hn]}w(e[yn])&&(e.change=[].concat(e[yn],e.change||[]),delete e[yn])}var qt;function Gd(e,t,r){var n=qt;return function i(){var a=t.apply(null,arguments);a!==null&&As(e,i,r,n)}}var Kd=jn&&!(ta&&Number(ta[1])<=53);function qd(e,t,r,n){if(Kd){var i=bs,a=t;t=a._wrapper=function(o){if(o.target===o.currentTarget||o.timeStamp>=i||o.timeStamp<=0||o.target.ownerDocument!==document)return a.apply(this,arguments)}}qt.addEventListener(e,t,qo?{capture:r,passive:n}:r)}function As(e,t,r,n){(n||qt).removeEventListener(e,t._wrapper||t,r)}function mn(e,t){if(!(j(e.data.on)&&j(t.data.on))){var r=t.data.on||{},n=e.data.on||{};qt=t.elm||e.elm,Wd(r),as(r,n,qd,As,Gd,t.context),qt=void 0}}var Jd={create:mn,update:mn,destroy:function(e){return mn(e,De)}},pr;function Na(e,t){if(!(j(e.data.domProps)&&j(t.data.domProps))){var r,n,i=t.elm,a=e.data.domProps||{},o=t.data.domProps||{};(w(o.__ob__)||J(o._v_attr_proxy))&&(o=t.data.domProps=W({},o));for(r in a)r in o||(i[r]="");for(r in o){if(n=o[r],r==="textContent"||r==="innerHTML"){if(t.children&&(t.children.length=0),n===a[r])continue;i.childNodes.length===1&&i.removeChild(i.childNodes[0])}if(r==="value"&&i.tagName!=="PROGRESS"){i._value=n;var s=j(n)?"":String(n);Yd(i,s)&&(i.value=s)}else if(r==="innerHTML"&&Pi(i.tagName)&&j(i.innerHTML)){pr=pr||document.createElement("div"),pr.innerHTML="<svg>".concat(n,"</svg>");for(var u=pr.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;u.firstChild;)i.appendChild(u.firstChild)}else if(n!==a[r])try{i[r]=n}catch{}}}}function Yd(e,t){return!e.composing&&(e.tagName==="OPTION"||Xd(e,t)||Zd(e,t))}function Xd(e,t){var r=!0;try{r=document.activeElement!==e}catch{}return r&&e.value!==t}function Zd(e,t){var r=e.value,n=e._vModifiers;if(w(n)){if(n.number)return Ht(r)!==Ht(t);if(n.trim)return r.trim()!==t.trim()}return r!==t}var Qd={create:Na,update:Na},Vd=ft(function(e){var t={},r=/;(?![^(]*\))/g,n=/:(.+)/;return e.split(r).forEach(function(i){if(i){var a=i.split(n);a.length>1&&(t[a[0].trim()]=a[1].trim())}}),t});function gn(e){var t=Ts(e.style);return e.staticStyle?W(e.staticStyle,t):t}function Ts(e){return Array.isArray(e)?zo(e):typeof e=="string"?Vd(e):e}function ev(e,t){var r={},n;if(t)for(var i=e;i.componentInstance;)i=i.componentInstance._vnode,i&&i.data&&(n=gn(i.data))&&W(r,n);(n=gn(e.data))&&W(r,n);for(var a=e;a=a.parent;)a.data&&(n=gn(a.data))&&W(r,n);return r}var tv=/^--/,La=/\s*!important$/,Da=function(e,t,r){if(tv.test(t))e.style.setProperty(t,r);else if(La.test(r))e.style.setProperty(er(t),r.replace(La,""),"important");else{var n=rv(t);if(Array.isArray(r))for(var i=0,a=r.length;i<a;i++)e.style[n]=r[i];else e.style[n]=r}},ka=["Webkit","Moz","ms"],dr,rv=ft(function(e){if(dr=dr||document.createElement("div").style,e=it(e),e!=="filter"&&e in dr)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<ka.length;r++){var n=ka[r]+t;if(n in dr)return n}});function Fa(e,t){var r=t.data,n=e.data;if(!(j(r.staticStyle)&&j(r.style)&&j(n.staticStyle)&&j(n.style))){var i,a,o=t.elm,s=n.staticStyle,u=n.normalizedStyle||n.style||{},f=s||u,c=Ts(t.data.style)||{};t.data.normalizedStyle=w(c.__ob__)?W({},c):c;var l=ev(t,!0);for(a in f)j(l[a])&&Da(o,a,"");for(a in l)i=l[a],i!==f[a]&&Da(o,a,i==null?"":i)}}var nv={create:Fa,update:Fa},Ps=/\s+/;function xs(e,t){if(!(!t||!(t=t.trim())))if(e.classList)t.indexOf(" ")>-1?t.split(Ps).forEach(function(n){return e.classList.add(n)}):e.classList.add(t);else{var r=" ".concat(e.getAttribute("class")||""," ");r.indexOf(" "+t+" ")<0&&e.setAttribute("class",(r+t).trim())}}function Rs(e,t){if(!(!t||!(t=t.trim())))if(e.classList)t.indexOf(" ")>-1?t.split(Ps).forEach(function(i){return e.classList.remove(i)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var r=" ".concat(e.getAttribute("class")||""," "),n=" "+t+" ";r.indexOf(n)>=0;)r=r.replace(n," ");r=r.trim(),r?e.setAttribute("class",r):e.removeAttribute("class")}}function Ms(e){if(!!e){if(typeof e=="object"){var t={};return e.css!==!1&&W(t,Ua(e.name||"v")),W(t,e),t}else if(typeof e=="string")return Ua(e)}}var Ua=ft(function(e){return{enterClass:"".concat(e,"-enter"),enterToClass:"".concat(e,"-enter-to"),enterActiveClass:"".concat(e,"-enter-active"),leaveClass:"".concat(e,"-leave"),leaveToClass:"".concat(e,"-leave-to"),leaveActiveClass:"".concat(e,"-leave-active")}}),js=fe&&!$t,ht="transition",_n="animation",wr="transition",Ur="transitionend",Wn="animation",Is="animationend";js&&(window.ontransitionend===void 0&&window.onwebkittransitionend!==void 0&&(wr="WebkitTransition",Ur="webkitTransitionEnd"),window.onanimationend===void 0&&window.onwebkitanimationend!==void 0&&(Wn="WebkitAnimation",Is="webkitAnimationEnd"));var Ha=fe?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Ns(e){Ha(function(){Ha(e)})}function rt(e,t){var r=e._transitionClasses||(e._transitionClasses=[]);r.indexOf(t)<0&&(r.push(t),xs(e,t))}function Te(e,t){e._transitionClasses&&Je(e._transitionClasses,t),Rs(e,t)}function Ls(e,t,r){var n=Ds(e,t),i=n.type,a=n.timeout,o=n.propCount;if(!i)return r();var s=i===ht?Ur:Is,u=0,f=function(){e.removeEventListener(s,c),r()},c=function(l){l.target===e&&++u>=o&&f()};setTimeout(function(){u<o&&f()},a+1),e.addEventListener(s,c)}var iv=/\b(transform|all)(,|$)/;function Ds(e,t){var r=window.getComputedStyle(e),n=(r[wr+"Delay"]||"").split(", "),i=(r[wr+"Duration"]||"").split(", "),a=za(n,i),o=(r[Wn+"Delay"]||"").split(", "),s=(r[Wn+"Duration"]||"").split(", "),u=za(o,s),f,c=0,l=0;t===ht?a>0&&(f=ht,c=a,l=i.length):t===_n?u>0&&(f=_n,c=u,l=s.length):(c=Math.max(a,u),f=c>0?a>u?ht:_n:null,l=f?f===ht?i.length:s.length:0);var p=f===ht&&iv.test(r[wr+"Property"]);return{type:f,timeout:c,propCount:l,hasTransform:p}}function za(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map(function(r,n){return Ba(r)+Ba(e[n])}))}function Ba(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Gn(e,t){var r=e.elm;w(r._leaveCb)&&(r._leaveCb.cancelled=!0,r._leaveCb());var n=Ms(e.data.transition);if(!j(n)&&!(w(r._enterCb)||r.nodeType!==1)){for(var i=n.css,a=n.type,o=n.enterClass,s=n.enterToClass,u=n.enterActiveClass,f=n.appearClass,c=n.appearToClass,l=n.appearActiveClass,p=n.beforeEnter,d=n.enter,m=n.afterEnter,v=n.enterCancelled,y=n.beforeAppear,h=n.appear,b=n.afterAppear,O=n.appearCancelled,$=n.duration,E=tt,A=tt.$vnode;A&&A.parent;)E=A.context,A=A.parent;var T=!E._isMounted||!e.isRootInsert;if(!(T&&!h&&h!=="")){var P=T&&f?f:o,N=T&&l?l:u,B=T&&c?c:s,F=T&&y||p,_=T&&z(h)?h:d,g=T&&b||m,C=T&&O||v,x=Ht(te($)?$.enter:$),R=i!==!1&&!$t,L=xi(_),M=r._enterCb=xr(function(){R&&(Te(r,B),Te(r,N)),M.cancelled?(R&&Te(r,P),C&&C(r)):g&&g(r),r._enterCb=null});e.data.show||Le(e,"insert",function(){var D=r.parentNode,k=D&&D._pending&&D._pending[e.key];k&&k.tag===e.tag&&k.elm._leaveCb&&k.elm._leaveCb(),_&&_(r,M)}),F&&F(r),R&&(rt(r,P),rt(r,N),Ns(function(){Te(r,P),M.cancelled||(rt(r,B),L||(Fs(x)?setTimeout(M,x):Ls(r,a,M)))})),e.data.show&&(t&&t(),_&&_(r,M)),!R&&!L&&M()}}}function ks(e,t){var r=e.elm;w(r._enterCb)&&(r._enterCb.cancelled=!0,r._enterCb());var n=Ms(e.data.transition);if(j(n)||r.nodeType!==1)return t();if(w(r._leaveCb))return;var i=n.css,a=n.type,o=n.leaveClass,s=n.leaveToClass,u=n.leaveActiveClass,f=n.beforeLeave,c=n.leave,l=n.afterLeave,p=n.leaveCancelled,d=n.delayLeave,m=n.duration,v=i!==!1&&!$t,y=xi(c),h=Ht(te(m)?m.leave:m),b=r._leaveCb=xr(function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[e.key]=null),v&&(Te(r,s),Te(r,u)),b.cancelled?(v&&Te(r,o),p&&p(r)):(t(),l&&l(r)),r._leaveCb=null});d?d(O):O();function O(){b.cancelled||(!e.data.show&&r.parentNode&&((r.parentNode._pending||(r.parentNode._pending={}))[e.key]=e),f&&f(r),v&&(rt(r,o),rt(r,u),Ns(function(){Te(r,o),b.cancelled||(rt(r,s),y||(Fs(h)?setTimeout(b,h):Ls(r,a,b)))})),c&&c(r,b),!v&&!y&&b())}}function Fs(e){return typeof e=="number"&&!isNaN(e)}function xi(e){if(j(e))return!1;var t=e.fns;return w(t)?xi(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function Wa(e,t){t.data.show!==!0&&Gn(t)}var av=fe?{create:Wa,activate:Wa,remove:function(e,t){e.data.show!==!0?ks(e,t):t()}}:{},ov=[zd,Bd,Jd,Qd,nv,av],sv=ov.concat(Hd),uv=Ld({nodeOps:Md,modules:sv});$t&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&Ri(e,"input")});var Us={inserted:function(e,t,r,n){r.tag==="select"?(n.elm&&!n.elm._vOptions?Le(r,"postpatch",function(){Us.componentUpdated(e,t,r)}):Ga(e,t,r.context),e._vOptions=[].map.call(e.options,Hr)):(r.tag==="textarea"||Bn(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",fv),e.addEventListener("compositionend",Ja),e.addEventListener("change",Ja),$t&&(e.vmodel=!0)))},componentUpdated:function(e,t,r){if(r.tag==="select"){Ga(e,t,r.context);var n=e._vOptions,i=e._vOptions=[].map.call(e.options,Hr);if(i.some(function(o,s){return!at(o,n[s])})){var a=e.multiple?t.value.some(function(o){return qa(o,i)}):t.value!==t.oldValue&&qa(t.value,i);a&&Ri(e,"change")}}}};function Ga(e,t,r){Ka(e,t),(St||ci)&&setTimeout(function(){Ka(e,t)},0)}function Ka(e,t,r){var n=t.value,i=e.multiple;if(!(i&&!Array.isArray(n))){for(var a,o,s=0,u=e.options.length;s<u;s++)if(o=e.options[s],i)a=Wo(n,Hr(o))>-1,o.selected!==a&&(o.selected=a);else if(at(Hr(o),n)){e.selectedIndex!==s&&(e.selectedIndex=s);return}i||(e.selectedIndex=-1)}}function qa(e,t){return t.every(function(r){return!at(r,e)})}function Hr(e){return"_value"in e?e._value:e.value}function fv(e){e.target.composing=!0}function Ja(e){!e.target.composing||(e.target.composing=!1,Ri(e.target,"input"))}function Ri(e,t){var r=document.createEvent("HTMLEvents");r.initEvent(t,!0,!0),e.dispatchEvent(r)}function Kn(e){return e.componentInstance&&(!e.data||!e.data.transition)?Kn(e.componentInstance._vnode):e}var cv={bind:function(e,t,r){var n=t.value;r=Kn(r);var i=r.data&&r.data.transition,a=e.__vOriginalDisplay=e.style.display==="none"?"":e.style.display;n&&i?(r.data.show=!0,Gn(r,function(){e.style.display=a})):e.style.display=n?a:"none"},update:function(e,t,r){var n=t.value,i=t.oldValue;if(!n!=!i){r=Kn(r);var a=r.data&&r.data.transition;a?(r.data.show=!0,n?Gn(r,function(){e.style.display=e.__vOriginalDisplay}):ks(r,function(){e.style.display="none"})):e.style.display=n?e.__vOriginalDisplay:"none"}},unbind:function(e,t,r,n,i){i||(e.style.display=e.__vOriginalDisplay)}},lv={model:Us,show:cv},Hs={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function qn(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?qn(ps(t.children)):e}function zs(e){var t={},r=e.$options;for(var n in r.propsData)t[n]=e[n];var i=r._parentListeners;for(var n in i)t[it(n)]=i[n];return t}function Ya(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function pv(e){for(;e=e.parent;)if(e.data.transition)return!0}function dv(e,t){return t.key===e.key&&t.tag===e.tag}var vv=function(e){return e.tag||Bt(e)},hv=function(e){return e.name==="show"},yv={name:"transition",props:Hs,abstract:!0,render:function(e){var t=this,r=this.$slots.default;if(!!r&&(r=r.filter(vv),!!r.length)){var n=this.mode,i=r[0];if(pv(this.$vnode))return i;var a=qn(i);if(!a)return i;if(this._leaving)return Ya(e,i);var o="__transition-".concat(this._uid,"-");a.key=a.key==null?a.isComment?o+"comment":o+a.tag:Vt(a.key)?String(a.key).indexOf(o)===0?a.key:o+a.key:a.key;var s=(a.data||(a.data={})).transition=zs(this),u=this._vnode,f=qn(u);if(a.data.directives&&a.data.directives.some(hv)&&(a.data.show=!0),f&&f.data&&!dv(a,f)&&!Bt(f)&&!(f.componentInstance&&f.componentInstance._vnode.isComment)){var c=f.data.transition=W({},s);if(n==="out-in")return this._leaving=!0,Le(c,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),Ya(e,i);if(n==="in-out"){if(Bt(a))return u;var l,p=function(){l()};Le(s,"afterEnter",p),Le(s,"enterCancelled",p),Le(c,"delayLeave",function(d){l=d})}}return i}}},Bs=W({tag:String,moveClass:String},Hs);delete Bs.mode;var mv={props:Bs,beforeMount:function(){var e=this,t=this._update;this._update=function(r,n){var i=ms(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,r,n)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",r=Object.create(null),n=this.prevChildren=this.children,i=this.$slots.default||[],a=this.children=[],o=zs(this),s=0;s<i.length;s++){var u=i[s];u.tag&&u.key!=null&&String(u.key).indexOf("__vlist")!==0&&(a.push(u),r[u.key]=u,(u.data||(u.data={})).transition=o)}if(n){for(var f=[],c=[],s=0;s<n.length;s++){var u=n[s];u.data.transition=o,u.data.pos=u.elm.getBoundingClientRect(),r[u.key]?f.push(u):c.push(u)}this.kept=e(t,null,f),this.removed=c}return e(t,null,a)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";!e.length||!this.hasMove(e[0].elm,t)||(e.forEach(gv),e.forEach(_v),e.forEach(bv),this._reflow=document.body.offsetHeight,e.forEach(function(r){if(r.data.moved){var n=r.elm,i=n.style;rt(n,t),i.transform=i.WebkitTransform=i.transitionDuration="",n.addEventListener(Ur,n._moveCb=function a(o){o&&o.target!==n||(!o||/transform$/.test(o.propertyName))&&(n.removeEventListener(Ur,a),n._moveCb=null,Te(n,t))})}}))},methods:{hasMove:function(e,t){if(!js)return!1;if(this._hasMove)return this._hasMove;var r=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach(function(i){Rs(r,i)}),xs(r,t),r.style.display="none",this.$el.appendChild(r);var n=Ds(r);return this.$el.removeChild(r),this._hasMove=n.hasTransform}}};function gv(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function _v(e){e.data.newPos=e.elm.getBoundingClientRect()}function bv(e){var t=e.data.pos,r=e.data.newPos,n=t.left-r.left,i=t.top-r.top;if(n||i){e.data.moved=!0;var a=e.elm.style;a.transform=a.WebkitTransform="translate(".concat(n,"px,").concat(i,"px)"),a.transitionDuration="0s"}}var wv={Transition:yv,TransitionGroup:mv};G.config.mustUseProp=sd;G.config.isReservedTag=$s;G.config.isReservedAttr=ad;G.config.getTagNamespace=md;G.config.isUnknownElement=gd;W(G.options.directives,lv);W(G.options.components,wv);G.prototype.__patch__=fe?uv:q;G.prototype.$mount=function(e,t){return e=e&&fe?_d(e):void 0,dp(this,e,t)};fe&&setTimeout(function(){he.devtools&&Rr&&Rr.emit("init",G)},0);const Ov=Object.freeze(Object.defineProperty({__proto__:null,EffectScope:vi,computed:Qc,customRef:Kc,default:G,defineAsyncComponent:Bl,defineComponent:ip,del:pi,effectScope:nl,getCurrentInstance:jc,getCurrentScope:al,h:kl,inject:ul,isProxy:Fc,isReactive:et,isReadonly:ct,isRef:Q,isShallow:jr,markRaw:Uc,mergeDefaults:xl,nextTick:rn,onActivated:Zl,onBeforeMount:Gl,onBeforeUnmount:Yl,onBeforeUpdate:ql,onDeactivated:Ql,onErrorCaptured:np,onMounted:Kl,onRenderTracked:ep,onRenderTriggered:tp,onScopeDispose:ol,onServerPrefetch:Vl,onUnmounted:Xl,onUpdated:Jl,provide:sl,proxyRefs:Gc,reactive:kc,readonly:ts,ref:Hc,set:Vr,shallowReactive:di,shallowReadonly:Zc,shallowRef:zc,toRaw:Qo,toRef:es,toRefs:qc,triggerRef:Bc,unref:Wc,useAttrs:Tl,useCssModule:Hl,useCssVars:zl,useListeners:Pl,useSlots:Al,version:hs,watch:rl,watchEffect:el,watchPostEffect:ns,watchSyncEffect:tl},Symbol.toStringTag,{value:"Module"}));var Ws={exports:{}};const Cv=Su(Ov);(function(e,t){(function(n,i){e.exports=i(Cv)})(Cu,function(r){return function(n){var i={};function a(o){if(i[o])return i[o].exports;var s=i[o]={i:o,l:!1,exports:{}};return n[o].call(s.exports,s,s.exports,a),s.l=!0,s.exports}return a.m=n,a.c=i,a.i=function(o){return o},a.d=function(o,s,u){a.o(o,s)||Object.defineProperty(o,s,{configurable:!1,enumerable:!0,get:u})},a.n=function(o){var s=o&&o.__esModule?function(){return o.default}:function(){return o};return a.d(s,"a",s),s},a.o=function(o,s){return Object.prototype.hasOwnProperty.call(o,s)},a.p="/dist/",a(a.s=2)}([function(n,i){n.exports=function(o,s,u,f){var c,l=o=o||{},p=typeof o.default;(p==="object"||p==="function")&&(c=o,l=o.default);var d=typeof l=="function"?l.options:l;if(s&&(d.render=s.render,d.staticRenderFns=s.staticRenderFns),u&&(d._scopeId=u),f){var m=Object.create(d.computed||null);Object.keys(f).forEach(function(v){var y=f[v];m[v]=function(){return y}}),d.computed=m}return{esModule:c,exports:l,options:d}}},function(n,i,a){a.d(i,"a",function(){return u});var o=a(20),s=a.n(o),u=new s.a({name:"vue-notification"})},function(n,i,a){Object.defineProperty(i,"__esModule",{value:!0});var o=a(3),s=a.n(o),u=a(1),f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},c={install:function(p){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.installed){this.installed=!0,this.params=d,p.component(d.componentName||"notifications",s.a);var m=function(h){typeof h=="string"&&(h={title:"",text:h}),(typeof h>"u"?"undefined":f(h))==="object"&&u.a.$emit("add",h)};m.close=function(y){u.a.$emit("close",y)};var v=d.name||"notify";p.prototype["$"+v]=m,p[v]=m}}};i.default=c},function(n,i,a){a(17);var o=a(0)(a(5),a(15),null,null);n.exports=o.exports},function(n,i,a){Object.defineProperty(i,"__esModule",{value:!0}),i.default={name:"CssGroup",props:["name"]}},function(n,i,a){Object.defineProperty(i,"__esModule",{value:!0});var o=a(2),s=a(1),u=a(9),f=a(7),c=a(13),l=a.n(c),p=a(12),d=a.n(p),m=a(8);function v(b,O,$){return O in b?Object.defineProperty(b,O,{value:$,enumerable:!0,configurable:!0,writable:!0}):b[O]=$,b}var y={IDLE:0,DESTROYED:2},h={name:"Notifications",components:{VelocityGroup:l.a,CssGroup:d.a},props:{group:{type:String,default:""},width:{type:[Number,String],default:300},reverse:{type:Boolean,default:!1},position:{type:[String,Array],default:function(){return f.a.position}},classes:{type:String,default:"vue-notification"},animationType:{type:String,default:"css",validator:function(O){return O==="css"||O==="velocity"}},animation:{type:Object,default:function(){return f.a.velocityAnimation}},animationName:{type:String,default:f.a.cssAnimation},speed:{type:Number,default:300},cooldown:{type:Number,default:0},duration:{type:Number,default:3e3},delay:{type:Number,default:0},max:{type:Number,default:1/0},ignoreDuplicates:{type:Boolean,default:!1},closeOnClick:{type:Boolean,default:!0}},data:function(){return{list:[],velocity:o.default.params.velocity}},mounted:function(){s.a.$on("add",this.addItem),s.a.$on("close",this.closeItem)},computed:{actualWidth:function(){return a.i(m.a)(this.width)},isVA:function(){return this.animationType==="velocity"},componentName:function(){return this.isVA?"VelocityGroup":"CssGroup"},styles:function(){var O=a.i(u.a)(this.position),$=O.x,E=O.y,A=this.actualWidth.value,T=this.actualWidth.type,P=v({width:A+T},E,"0px");return $==="center"?P.left="calc(50% - "+A/2+T+")":P[$]="0px",P},active:function(){return this.list.filter(function(O){return O.state!==y.DESTROYED})},botToTop:function(){return this.styles.hasOwnProperty("bottom")}},methods:{destroyIfNecessary:function(O){this.closeOnClick&&this.destroy(O)},addItem:function(O){var $=this;if(O.group=O.group||"",this.group===O.group){if(O.clean||O.clear){this.destroyAll();return}var E=typeof O.duration=="number"?O.duration:this.duration,A=typeof O.speed=="number"?O.speed:this.speed,T=typeof O.ignoreDuplicates=="boolean"?O.ignoreDuplicates:this.ignoreDuplicates,P=O.title,N=O.text,B=O.type,F=O.data,_=O.id,g={id:_||a.i(u.b)(),title:P,text:N,type:B,state:y.IDLE,speed:A,length:E+2*A,data:F};E>=0&&(g.timer=setTimeout(function(){$.destroy(g)},g.length));var C=this.reverse?!this.botToTop:this.botToTop,x=-1,R=this.active.some(function(M){return M.title===O.title&&M.text===O.text}),L=T?!R:!0;!L||(C?(this.list.push(g),this.active.length>this.max&&(x=0)):(this.list.unshift(g),this.active.length>this.max&&(x=this.active.length-1)),x!==-1&&this.destroy(this.active[x]))}},closeItem:function(O){this.destroyById(O)},notifyClass:function(O){return["vue-notification-template",this.classes,O.type]},notifyWrapperStyle:function(O){return this.isVA?null:{transition:"all "+O.speed+"ms"}},destroy:function(O){clearTimeout(O.timer),O.state=y.DESTROYED,this.isVA||this.clean()},destroyById:function(O){var $=this.list.find(function(E){return E.id===O});$&&this.destroy($)},destroyAll:function(){this.active.forEach(this.destroy)},getAnimation:function(O,$){var E=this.animation[O];return typeof E=="function"?E.call(this,$):E},enter:function(O){var $=O.el,E=O.complete,A=this.getAnimation("enter",$);this.velocity($,A,{duration:this.speed,complete:E})},leave:function(O){var $=O.el,E=O.complete,A=this.getAnimation("leave",$);this.velocity($,A,{duration:this.speed,complete:E})},clean:function(){this.list=this.list.filter(function(O){return O.state!==y.DESTROYED})}}};i.default=h},function(n,i,a){Object.defineProperty(i,"__esModule",{value:!0}),i.default={name:"VelocityGroup",methods:{enter:function(s,u){this.$emit("enter",{el:s,complete:u})},leave:function(s,u){this.$emit("leave",{el:s,complete:u})},afterLeave:function(){this.$emit("afterLeave")}}}},function(n,i,a){i.a={position:["top","right"],cssAnimation:"vn-fade",velocityAnimation:{enter:function(s){var u=s.clientHeight;return{height:[u,0],opacity:[1,0]}},leave:{height:0,opacity:[0,1]}}}},function(n,i,a){var o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},s="[-+]?[0-9]*.?[0-9]+",u=[{name:"px",regexp:new RegExp("^"+s+"px$")},{name:"%",regexp:new RegExp("^"+s+"%$")},{name:"px",regexp:new RegExp("^"+s+"$")}],f=function(p){if(p==="auto")return{type:p,value:0};for(var d=0;d<u.length;d++){var m=u[d];if(m.regexp.test(p))return{type:m.name,value:parseFloat(p)}}return{type:"",value:p}},c=function(p){switch(typeof p>"u"?"undefined":o(p)){case"number":return{type:"px",value:p};case"string":return f(p);default:return{type:"",value:p}}};i.a=c},function(n,i,a){a.d(i,"b",function(){return s}),a.d(i,"a",function(){return f});var o={x:["left","center","right"],y:["top","bottom"]},s=function(c){return function(){return c++}}(0),u=function(l){return typeof l!="string"?[]:l.split(/\s+/gi).filter(function(p){return p})},f=function(l){typeof l=="string"&&(l=u(l));var p=null,d=null;return l.forEach(function(m){o.y.indexOf(m)!==-1&&(d=m),o.x.indexOf(m)!==-1&&(p=m)}),{x:p,y:d}}},function(n,i,a){i=n.exports=a(11)(),i.push([n.i,".vue-notification-group{display:block;position:fixed;z-index:5000}.vue-notification-wrapper{display:block;overflow:hidden;width:100%;margin:0;padding:0}.notification-title{font-weight:600}.vue-notification-template{background:#fff}.vue-notification,.vue-notification-template{display:block;box-sizing:border-box;text-align:left}.vue-notification{font-size:12px;padding:10px;margin:0 5px 5px;color:#fff;background:#44a4fc;border-left:5px solid #187fe7}.vue-notification.warn{background:#ffb648;border-left-color:#f48a06}.vue-notification.error{background:#e54d42;border-left-color:#b82e24}.vue-notification.success{background:#68cd86;border-left-color:#42a85f}.vn-fade-enter-active,.vn-fade-leave-active,.vn-fade-move{transition:all .5s}.vn-fade-enter,.vn-fade-leave-to{opacity:0}",""])},function(n,i){n.exports=function(){var a=[];return a.toString=function(){for(var s=[],u=0;u<this.length;u++){var f=this[u];f[2]?s.push("@media "+f[2]+"{"+f[1]+"}"):s.push(f[1])}return s.join("")},a.i=function(o,s){typeof o=="string"&&(o=[[null,o,""]]);for(var u={},f=0;f<this.length;f++){var c=this[f][0];typeof c=="number"&&(u[c]=!0)}for(f=0;f<o.length;f++){var l=o[f];(typeof l[0]!="number"||!u[l[0]])&&(s&&!l[2]?l[2]=s:s&&(l[2]="("+l[2]+") and ("+s+")"),a.push(l))}},a}},function(n,i,a){var o=a(0)(a(4),a(16),null,null);n.exports=o.exports},function(n,i,a){var o=a(0)(a(6),a(14),null,null);n.exports=o.exports},function(n,i){n.exports={render:function(){var a=this,o=a.$createElement,s=a._self._c||o;return s("transition-group",{attrs:{css:!1},on:{enter:a.enter,leave:a.leave,"after-leave":a.afterLeave}},[a._t("default")],2)},staticRenderFns:[]}},function(n,i){n.exports={render:function(){var a=this,o=a.$createElement,s=a._self._c||o;return s("div",{staticClass:"vue-notification-group",style:a.styles},[s(a.componentName,{tag:"component",attrs:{name:a.animationName},on:{enter:a.enter,leave:a.leave,"after-leave":a.clean}},a._l(a.active,function(u){return s("div",{key:u.id,staticClass:"vue-notification-wrapper",style:a.notifyWrapperStyle(u),attrs:{"data-id":u.id}},[a._t("body",[s("div",{class:a.notifyClass(u),on:{click:function(f){return a.destroyIfNecessary(u)}}},[u.title?s("div",{staticClass:"notification-title",domProps:{innerHTML:a._s(u.title)}}):a._e(),a._v(" "),s("div",{staticClass:"notification-content",domProps:{innerHTML:a._s(u.text)}})])],{item:u,close:function(){return a.destroy(u)}})],2)}),0)],1)},staticRenderFns:[]}},function(n,i){n.exports={render:function(){var a=this,o=a.$createElement,s=a._self._c||o;return s("transition-group",{attrs:{name:a.name}},[a._t("default")],2)},staticRenderFns:[]}},function(n,i,a){var o=a(10);typeof o=="string"&&(o=[[n.i,o,""]]),o.locals&&(n.exports=o.locals),a(18)("2901aeae",o,!0)},function(n,i,a){var o=typeof document<"u";if(typeof DEBUG<"u"&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var s=a(19),u={},f=o&&(document.head||document.getElementsByTagName("head")[0]),c=null,l=0,p=!1,d=function(){},m=typeof navigator<"u"&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());n.exports=function(E,A,T){p=T;var P=s(E,A);return v(P),function(B){for(var F=[],_=0;_<P.length;_++){var g=P[_],C=u[g.id];C.refs--,F.push(C)}B?(P=s(E,B),v(P)):P=[];for(var _=0;_<F.length;_++){var C=F[_];if(C.refs===0){for(var x=0;x<C.parts.length;x++)C.parts[x]();delete u[C.id]}}}};function v(E){for(var A=0;A<E.length;A++){var T=E[A],P=u[T.id];if(P){P.refs++;for(var N=0;N<P.parts.length;N++)P.parts[N](T.parts[N]);for(;N<T.parts.length;N++)P.parts.push(h(T.parts[N]));P.parts.length>T.parts.length&&(P.parts.length=T.parts.length)}else{for(var B=[],N=0;N<T.parts.length;N++)B.push(h(T.parts[N]));u[T.id]={id:T.id,refs:1,parts:B}}}}function y(){var E=document.createElement("style");return E.type="text/css",f.appendChild(E),E}function h(E){var A,T,P=document.querySelector('style[data-vue-ssr-id~="'+E.id+'"]');if(P){if(p)return d;P.parentNode.removeChild(P)}if(m){var N=l++;P=c||(c=y()),A=O.bind(null,P,N,!1),T=O.bind(null,P,N,!0)}else P=y(),A=$.bind(null,P),T=function(){P.parentNode.removeChild(P)};return A(E),function(F){if(F){if(F.css===E.css&&F.media===E.media&&F.sourceMap===E.sourceMap)return;A(E=F)}else T()}}var b=function(){var E=[];return function(A,T){return E[A]=T,E.filter(Boolean).join(`
32
+ `)}}();function O(E,A,T,P){var N=T?"":P.css;if(E.styleSheet)E.styleSheet.cssText=b(A,N);else{var B=document.createTextNode(N),F=E.childNodes;F[A]&&E.removeChild(F[A]),F.length?E.insertBefore(B,F[A]):E.appendChild(B)}}function $(E,A){var T=A.css,P=A.media,N=A.sourceMap;if(P&&E.setAttribute("media",P),N&&(T+=`
33
+ /*# sourceURL=`+N.sources[0]+" */",T+=`
34
+ /*# sourceMappingURL=data:application/json;base64,`+btoa(unescape(encodeURIComponent(JSON.stringify(N))))+" */"),E.styleSheet)E.styleSheet.cssText=T;else{for(;E.firstChild;)E.removeChild(E.firstChild);E.appendChild(document.createTextNode(T))}}},function(n,i){n.exports=function(o,s){for(var u=[],f={},c=0;c<s.length;c++){var l=s[c],p=l[0],d=l[1],m=l[2],v=l[3],y={id:o+":"+c,css:d,media:m,sourceMap:v};f[p]?f[p].parts.push(y):u.push(f[p]={id:p,parts:[y]})}return u}},function(n,i){n.exports=r}])})})(Ws);const Ev=Eu(Ws.exports);function Gs(e,t,r,n,i,a,o,s){var u=typeof e=="function"?e.options:e;t&&(u.render=t,u.staticRenderFns=r,u._compiled=!0),n&&(u.functional=!0),a&&(u._scopeId="data-v-"+a);var f;if(o?(f=function(p){p=p||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!p&&typeof __VUE_SSR_CONTEXT__<"u"&&(p=__VUE_SSR_CONTEXT__),i&&i.call(this,p),p&&p._registeredComponents&&p._registeredComponents.add(o)},u._ssrRegister=f):i&&(f=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),f)if(u.functional){u._injectStyles=f;var c=u.render;u.render=function(d,m){return f.call(m),c(d,m)}}else{var l=u.beforeCreate;u.beforeCreate=l?[].concat(l,f):[f]}return{exports:e,options:u}}const Sv={};var $v=function(){var t=this,r=t._self._c;return r("div",{attrs:{id:"app"}},[r("notifications",{attrs:{group:"toast",id:"toastNotifications",position:"top right"}}),r("notifications",{attrs:{group:"pubsub",id:"pubsubEvents",position:"top left"}}),r("notifications",{attrs:{group:"keydown",id:"keydownEvents",position:"bottom left"}}),r("notifications",{attrs:{group:"metadata",id:"metadataEvent",position:"bottom right"}}),r("router-view")],1)},Av=[],Tv=Gs(Sv,$v,Av,!1,null,null,null,null);const Pv=Tv.exports;/*!
35
+ * vue-router v3.6.5
36
+ * (c) 2022 Evan You
37
+ * @license MIT
38
+ */function me(e,t){for(var r in t)e[r]=t[r];return e}var xv=/[!'()*]/g,Rv=function(e){return"%"+e.charCodeAt(0).toString(16)},Mv=/%2C/g,dt=function(e){return encodeURIComponent(e).replace(xv,Rv).replace(Mv,",")};function Jn(e){try{return decodeURIComponent(e)}catch{}return e}function jv(e,t,r){t===void 0&&(t={});var n=r||Iv,i;try{i=n(e||"")}catch{i={}}for(var a in t){var o=t[a];i[a]=Array.isArray(o)?o.map(Xa):Xa(o)}return i}var Xa=function(e){return e==null||typeof e=="object"?e:String(e)};function Iv(e){var t={};return e=e.trim().replace(/^(\?|#|&)/,""),e&&e.split("&").forEach(function(r){var n=r.replace(/\+/g," ").split("="),i=Jn(n.shift()),a=n.length>0?Jn(n.join("=")):null;t[i]===void 0?t[i]=a:Array.isArray(t[i])?t[i].push(a):t[i]=[t[i],a]}),t}function Nv(e){var t=e?Object.keys(e).map(function(r){var n=e[r];if(n===void 0)return"";if(n===null)return dt(r);if(Array.isArray(n)){var i=[];return n.forEach(function(a){a!==void 0&&(a===null?i.push(dt(r)):i.push(dt(r)+"="+dt(a)))}),i.join("&")}return dt(r)+"="+dt(n)}).filter(function(r){return r.length>0}).join("&"):null;return t?"?"+t:""}var zr=/\/?$/;function Br(e,t,r,n){var i=n&&n.options.stringifyQuery,a=t.query||{};try{a=Yn(a)}catch{}var o={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:a,params:t.params||{},fullPath:Za(t,i),matched:e?Lv(e):[]};return r&&(o.redirectedFrom=Za(r,i)),Object.freeze(o)}function Yn(e){if(Array.isArray(e))return e.map(Yn);if(e&&typeof e=="object"){var t={};for(var r in e)t[r]=Yn(e[r]);return t}else return e}var Xe=Br(null,{path:"/"});function Lv(e){for(var t=[];e;)t.unshift(e),e=e.parent;return t}function Za(e,t){var r=e.path,n=e.query;n===void 0&&(n={});var i=e.hash;i===void 0&&(i="");var a=t||Nv;return(r||"/")+a(n)+i}function Ks(e,t,r){return t===Xe?e===t:t?e.path&&t.path?e.path.replace(zr,"")===t.path.replace(zr,"")&&(r||e.hash===t.hash&&Or(e.query,t.query)):e.name&&t.name?e.name===t.name&&(r||e.hash===t.hash&&Or(e.query,t.query)&&Or(e.params,t.params)):!1:!1}function Or(e,t){if(e===void 0&&(e={}),t===void 0&&(t={}),!e||!t)return e===t;var r=Object.keys(e).sort(),n=Object.keys(t).sort();return r.length!==n.length?!1:r.every(function(i,a){var o=e[i],s=n[a];if(s!==i)return!1;var u=t[i];return o==null||u==null?o===u:typeof o=="object"&&typeof u=="object"?Or(o,u):String(o)===String(u)})}function Dv(e,t){return e.path.replace(zr,"/").indexOf(t.path.replace(zr,"/"))===0&&(!t.hash||e.hash===t.hash)&&kv(e.query,t.query)}function kv(e,t){for(var r in t)if(!(r in e))return!1;return!0}function qs(e){for(var t=0;t<e.matched.length;t++){var r=e.matched[t];for(var n in r.instances){var i=r.instances[n],a=r.enteredCbs[n];if(!(!i||!a)){delete r.enteredCbs[n];for(var o=0;o<a.length;o++)i._isBeingDestroyed||a[o](i)}}}}var Fv={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,r){var n=r.props,i=r.children,a=r.parent,o=r.data;o.routerView=!0;for(var s=a.$createElement,u=n.name,f=a.$route,c=a._routerViewCache||(a._routerViewCache={}),l=0,p=!1;a&&a._routerRoot!==a;){var d=a.$vnode?a.$vnode.data:{};d.routerView&&l++,d.keepAlive&&a._directInactive&&a._inactive&&(p=!0),a=a.$parent}if(o.routerViewDepth=l,p){var m=c[u],v=m&&m.component;return v?(m.configProps&&Qa(v,o,m.route,m.configProps),s(v,o,i)):s()}var y=f.matched[l],h=y&&y.components[u];if(!y||!h)return c[u]=null,s();c[u]={component:h},o.registerRouteInstance=function(O,$){var E=y.instances[u];($&&E!==O||!$&&E===O)&&(y.instances[u]=$)},(o.hook||(o.hook={})).prepatch=function(O,$){y.instances[u]=$.componentInstance},o.hook.init=function(O){O.data.keepAlive&&O.componentInstance&&O.componentInstance!==y.instances[u]&&(y.instances[u]=O.componentInstance),qs(f)};var b=y.props&&y.props[u];return b&&(me(c[u],{route:f,configProps:b}),Qa(h,o,f,b)),s(h,o,i)}};function Qa(e,t,r,n){var i=t.props=Uv(r,n);if(i){i=t.props=me({},i);var a=t.attrs=t.attrs||{};for(var o in i)(!e.props||!(o in e.props))&&(a[o]=i[o],delete i[o])}}function Uv(e,t){switch(typeof t){case"undefined":return;case"object":return t;case"function":return t(e);case"boolean":return t?e.params:void 0}}function Js(e,t,r){var n=e.charAt(0);if(n==="/")return e;if(n==="?"||n==="#")return t+e;var i=t.split("/");(!r||!i[i.length-1])&&i.pop();for(var a=e.replace(/^\//,"").split("/"),o=0;o<a.length;o++){var s=a[o];s===".."?i.pop():s!=="."&&i.push(s)}return i[0]!==""&&i.unshift(""),i.join("/")}function Hv(e){var t="",r="",n=e.indexOf("#");n>=0&&(t=e.slice(n),e=e.slice(0,n));var i=e.indexOf("?");return i>=0&&(r=e.slice(i+1),e=e.slice(0,i)),{path:e,query:r,hash:t}}function ke(e){return e.replace(/\/(?:\s*\/)+/g,"/")}var Wr=Array.isArray||function(e){return Object.prototype.toString.call(e)=="[object Array]"},Pt=Zs,zv=Mi,Bv=qv,Wv=Ys,Gv=Xs,Kv=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function Mi(e,t){for(var r=[],n=0,i=0,a="",o=t&&t.delimiter||"/",s;(s=Kv.exec(e))!=null;){var u=s[0],f=s[1],c=s.index;if(a+=e.slice(i,c),i=c+u.length,f){a+=f[1];continue}var l=e[i],p=s[2],d=s[3],m=s[4],v=s[5],y=s[6],h=s[7];a&&(r.push(a),a="");var b=p!=null&&l!=null&&l!==p,O=y==="+"||y==="*",$=y==="?"||y==="*",E=s[2]||o,A=m||v;r.push({name:d||n++,prefix:p||"",delimiter:E,optional:$,repeat:O,partial:b,asterisk:!!h,pattern:A?Xv(A):h?".*":"[^"+Cr(E)+"]+?"})}return i<e.length&&(a+=e.substr(i)),a&&r.push(a),r}function qv(e,t){return Ys(Mi(e,t),t)}function Jv(e){return encodeURI(e).replace(/[\/?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function Yv(e){return encodeURI(e).replace(/[?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function Ys(e,t){for(var r=new Array(e.length),n=0;n<e.length;n++)typeof e[n]=="object"&&(r[n]=new RegExp("^(?:"+e[n].pattern+")$",Ii(t)));return function(i,a){for(var o="",s=i||{},u=a||{},f=u.pretty?Jv:encodeURIComponent,c=0;c<e.length;c++){var l=e[c];if(typeof l=="string"){o+=l;continue}var p=s[l.name],d;if(p==null)if(l.optional){l.partial&&(o+=l.prefix);continue}else throw new TypeError('Expected "'+l.name+'" to be defined');if(Wr(p)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(p.length===0){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var m=0;m<p.length;m++){if(d=f(p[m]),!r[c].test(d))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(d)+"`");o+=(m===0?l.prefix:l.delimiter)+d}continue}if(d=l.asterisk?Yv(p):f(p),!r[c].test(d))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+d+'"');o+=l.prefix+d}return o}}function Cr(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function Xv(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function ji(e,t){return e.keys=t,e}function Ii(e){return e&&e.sensitive?"":"i"}function Zv(e,t){var r=e.source.match(/\((?!\?)/g);if(r)for(var n=0;n<r.length;n++)t.push({name:n,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return ji(e,t)}function Qv(e,t,r){for(var n=[],i=0;i<e.length;i++)n.push(Zs(e[i],t,r).source);var a=new RegExp("(?:"+n.join("|")+")",Ii(r));return ji(a,t)}function Vv(e,t,r){return Xs(Mi(e,r),t,r)}function Xs(e,t,r){Wr(t)||(r=t||r,t=[]),r=r||{};for(var n=r.strict,i=r.end!==!1,a="",o=0;o<e.length;o++){var s=e[o];if(typeof s=="string")a+=Cr(s);else{var u=Cr(s.prefix),f="(?:"+s.pattern+")";t.push(s),s.repeat&&(f+="(?:"+u+f+")*"),s.optional?s.partial?f=u+"("+f+")?":f="(?:"+u+"("+f+"))?":f=u+"("+f+")",a+=f}}var c=Cr(r.delimiter||"/"),l=a.slice(-c.length)===c;return n||(a=(l?a.slice(0,-c.length):a)+"(?:"+c+"(?=$))?"),i?a+="$":a+=n&&l?"":"(?="+c+"|$)",ji(new RegExp("^"+a,Ii(r)),t)}function Zs(e,t,r){return Wr(t)||(r=t||r,t=[]),r=r||{},e instanceof RegExp?Zv(e,t):Wr(e)?Qv(e,t,r):Vv(e,t,r)}Pt.parse=zv;Pt.compile=Bv;Pt.tokensToFunction=Wv;Pt.tokensToRegExp=Gv;var Va=Object.create(null);function Er(e,t,r){t=t||{};try{var n=Va[e]||(Va[e]=Pt.compile(e));return typeof t.pathMatch=="string"&&(t[0]=t.pathMatch),n(t,{pretty:!0})}catch{return""}finally{delete t[0]}}function Ni(e,t,r,n){var i=typeof e=="string"?{path:e}:e;if(i._normalized)return i;if(i.name){i=me({},e);var a=i.params;return a&&typeof a=="object"&&(i.params=me({},a)),i}if(!i.path&&i.params&&t){i=me({},i),i._normalized=!0;var o=me(me({},t.params),i.params);if(t.name)i.name=t.name,i.params=o;else if(t.matched.length){var s=t.matched[t.matched.length-1].path;i.path=Er(s,o,"path "+t.path)}return i}var u=Hv(i.path||""),f=t&&t.path||"/",c=u.path?Js(u.path,f,r||i.append):f,l=jv(u.query,i.query,n&&n.options.parseQuery),p=i.hash||u.hash;return p&&p.charAt(0)!=="#"&&(p="#"+p),{_normalized:!0,path:c,query:l,hash:p}}var eh=[String,Object],th=[String,Array],eo=function(){},rh={name:"RouterLink",props:{to:{type:eh,required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:th,default:"click"}},render:function(t){var r=this,n=this.$router,i=this.$route,a=n.resolve(this.to,i,this.append),o=a.location,s=a.route,u=a.href,f={},c=n.options.linkActiveClass,l=n.options.linkExactActiveClass,p=c==null?"router-link-active":c,d=l==null?"router-link-exact-active":l,m=this.activeClass==null?p:this.activeClass,v=this.exactActiveClass==null?d:this.exactActiveClass,y=s.redirectedFrom?Br(null,Ni(s.redirectedFrom),null,n):s;f[v]=Ks(i,y,this.exactPath),f[m]=this.exact||this.exactPath?f[v]:Dv(i,y);var h=f[v]?this.ariaCurrentValue:null,b=function(_){to(_)&&(r.replace?n.replace(o,eo):n.push(o,eo))},O={click:to};Array.isArray(this.event)?this.event.forEach(function(_){O[_]=b}):O[this.event]=b;var $={class:f},E=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:u,route:s,navigate:b,isActive:f[m],isExactActive:f[v]});if(E){if(E.length===1)return E[0];if(E.length>1||!E.length)return E.length===0?t():t("span",{},E)}if(this.tag==="a")$.on=O,$.attrs={href:u,"aria-current":h};else{var A=Qs(this.$slots.default);if(A){A.isStatic=!1;var T=A.data=me({},A.data);T.on=T.on||{};for(var P in T.on){var N=T.on[P];P in O&&(T.on[P]=Array.isArray(N)?N:[N])}for(var B in O)B in T.on?T.on[B].push(O[B]):T.on[B]=b;var F=A.data.attrs=me({},A.data.attrs);F.href=u,F["aria-current"]=h}else $.on=O}return t(this.tag,$,this.$slots.default)}};function to(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){var t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Qs(e){if(e){for(var t,r=0;r<e.length;r++)if(t=e[r],t.tag==="a"||t.children&&(t=Qs(t.children)))return t}}var Gr;function Xn(e){if(!(Xn.installed&&Gr===e)){Xn.installed=!0,Gr=e;var t=function(i){return i!==void 0},r=function(i,a){var o=i.$options._parentVnode;t(o)&&t(o=o.data)&&t(o=o.registerRouteInstance)&&o(i,a)};e.mixin({beforeCreate:function(){t(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),e.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,r(this,this)},destroyed:function(){r(this)}}),Object.defineProperty(e.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(e.prototype,"$route",{get:function(){return this._routerRoot._route}}),e.component("RouterView",Fv),e.component("RouterLink",rh);var n=e.config.optionMergeStrategies;n.beforeRouteEnter=n.beforeRouteLeave=n.beforeRouteUpdate=n.created}}var ir=typeof window<"u";function vr(e,t,r,n,i){var a=t||[],o=r||Object.create(null),s=n||Object.create(null);e.forEach(function(c){Zn(a,o,s,c,i)});for(var u=0,f=a.length;u<f;u++)a[u]==="*"&&(a.push(a.splice(u,1)[0]),f--,u--);return{pathList:a,pathMap:o,nameMap:s}}function Zn(e,t,r,n,i,a){var o=n.path,s=n.name,u=n.pathToRegexpOptions||{},f=ih(o,i,u.strict);typeof n.caseSensitive=="boolean"&&(u.sensitive=n.caseSensitive);var c={path:f,regex:nh(f,u),components:n.components||{default:n.component},alias:n.alias?typeof n.alias=="string"?[n.alias]:n.alias:[],instances:{},enteredCbs:{},name:s,parent:i,matchAs:a,redirect:n.redirect,beforeEnter:n.beforeEnter,meta:n.meta||{},props:n.props==null?{}:n.components?n.props:{default:n.props}};if(n.children&&n.children.forEach(function(v){var y=a?ke(a+"/"+v.path):void 0;Zn(e,t,r,v,c,y)}),t[c.path]||(e.push(c.path),t[c.path]=c),n.alias!==void 0)for(var l=Array.isArray(n.alias)?n.alias:[n.alias],p=0;p<l.length;++p){var d=l[p],m={path:d,children:n.children};Zn(e,t,r,m,i,c.path||"/")}s&&(r[s]||(r[s]=c))}function nh(e,t){var r=Pt(e,[],t);return r}function ih(e,t,r){return r||(e=e.replace(/\/$/,"")),e[0]==="/"||t==null?e:ke(t.path+"/"+e)}function ah(e,t){var r=vr(e),n=r.pathList,i=r.pathMap,a=r.nameMap;function o(d){vr(d,n,i,a)}function s(d,m){var v=typeof d!="object"?a[d]:void 0;vr([m||d],n,i,a,v),v&&v.alias.length&&vr(v.alias.map(function(y){return{path:y,children:[m]}}),n,i,a,v)}function u(){return n.map(function(d){return i[d]})}function f(d,m,v){var y=Ni(d,m,!1,t),h=y.name;if(h){var b=a[h];if(!b)return p(null,y);var O=b.regex.keys.filter(function(P){return!P.optional}).map(function(P){return P.name});if(typeof y.params!="object"&&(y.params={}),m&&typeof m.params=="object")for(var $ in m.params)!($ in y.params)&&O.indexOf($)>-1&&(y.params[$]=m.params[$]);return y.path=Er(b.path,y.params),p(b,y,v)}else if(y.path){y.params={};for(var E=0;E<n.length;E++){var A=n[E],T=i[A];if(oh(T.regex,y.path,y.params))return p(T,y,v)}}return p(null,y)}function c(d,m){var v=d.redirect,y=typeof v=="function"?v(Br(d,m,null,t)):v;if(typeof y=="string"&&(y={path:y}),!y||typeof y!="object")return p(null,m);var h=y,b=h.name,O=h.path,$=m.query,E=m.hash,A=m.params;if($=h.hasOwnProperty("query")?h.query:$,E=h.hasOwnProperty("hash")?h.hash:E,A=h.hasOwnProperty("params")?h.params:A,b)return a[b],f({_normalized:!0,name:b,query:$,hash:E,params:A},void 0,m);if(O){var T=sh(O,d),P=Er(T,A);return f({_normalized:!0,path:P,query:$,hash:E},void 0,m)}else return p(null,m)}function l(d,m,v){var y=Er(v,m.params),h=f({_normalized:!0,path:y});if(h){var b=h.matched,O=b[b.length-1];return m.params=h.params,p(O,m)}return p(null,m)}function p(d,m,v){return d&&d.redirect?c(d,v||m):d&&d.matchAs?l(d,m,d.matchAs):Br(d,m,v,t)}return{match:f,addRoute:s,getRoutes:u,addRoutes:o}}function oh(e,t,r){var n=t.match(e);if(n){if(!r)return!0}else return!1;for(var i=1,a=n.length;i<a;++i){var o=e.keys[i-1];o&&(r[o.name||"pathMatch"]=typeof n[i]=="string"?Jn(n[i]):n[i])}return!0}function sh(e,t){return Js(e,t.parent?t.parent.path:"/",!0)}var uh=ir&&window.performance&&window.performance.now?window.performance:Date;function Vs(){return uh.now().toFixed(3)}var eu=Vs();function nn(){return eu}function tu(e){return eu=e}var ru=Object.create(null);function nu(){"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual");var e=window.location.protocol+"//"+window.location.host,t=window.location.href.replace(e,""),r=me({},window.history.state);return r.key=nn(),window.history.replaceState(r,"",t),window.addEventListener("popstate",ro),function(){window.removeEventListener("popstate",ro)}}function Fe(e,t,r,n){if(!!e.app){var i=e.options.scrollBehavior;!i||e.app.$nextTick(function(){var a=fh(),o=i.call(e,t,r,n?a:null);!o||(typeof o.then=="function"?o.then(function(s){ao(s,a)}).catch(function(s){}):ao(o,a))})}}function iu(){var e=nn();e&&(ru[e]={x:window.pageXOffset,y:window.pageYOffset})}function ro(e){iu(),e.state&&e.state.key&&tu(e.state.key)}function fh(){var e=nn();if(e)return ru[e]}function ch(e,t){var r=document.documentElement,n=r.getBoundingClientRect(),i=e.getBoundingClientRect();return{x:i.left-n.left-t.x,y:i.top-n.top-t.y}}function no(e){return Ct(e.x)||Ct(e.y)}function io(e){return{x:Ct(e.x)?e.x:window.pageXOffset,y:Ct(e.y)?e.y:window.pageYOffset}}function lh(e){return{x:Ct(e.x)?e.x:0,y:Ct(e.y)?e.y:0}}function Ct(e){return typeof e=="number"}var ph=/^#\d/;function ao(e,t){var r=typeof e=="object";if(r&&typeof e.selector=="string"){var n=ph.test(e.selector)?document.getElementById(e.selector.slice(1)):document.querySelector(e.selector);if(n){var i=e.offset&&typeof e.offset=="object"?e.offset:{};i=lh(i),t=ch(n,i)}else no(e)&&(t=io(e))}else r&&no(e)&&(t=io(e));t&&("scrollBehavior"in document.documentElement.style?window.scrollTo({left:t.x,top:t.y,behavior:e.behavior}):window.scrollTo(t.x,t.y))}var Ue=ir&&function(){var e=window.navigator.userAgent;return(e.indexOf("Android 2.")!==-1||e.indexOf("Android 4.0")!==-1)&&e.indexOf("Mobile Safari")!==-1&&e.indexOf("Chrome")===-1&&e.indexOf("Windows Phone")===-1?!1:window.history&&typeof window.history.pushState=="function"}();function Kr(e,t){iu();var r=window.history;try{if(t){var n=me({},r.state);n.key=nn(),r.replaceState(n,"",e)}else r.pushState({key:tu(Vs())},"",e)}catch{window.location[t?"replace":"assign"](e)}}function Qn(e){Kr(e,!0)}var lt={redirected:2,aborted:4,cancelled:8,duplicated:16};function dh(e,t){return an(e,t,lt.redirected,'Redirected when going from "'+e.fullPath+'" to "'+mh(t)+'" via a navigation guard.')}function vh(e,t){var r=an(e,t,lt.duplicated,'Avoided redundant navigation to current location: "'+e.fullPath+'".');return r.name="NavigationDuplicated",r}function oo(e,t){return an(e,t,lt.cancelled,'Navigation cancelled from "'+e.fullPath+'" to "'+t.fullPath+'" with a new navigation.')}function hh(e,t){return an(e,t,lt.aborted,'Navigation aborted from "'+e.fullPath+'" to "'+t.fullPath+'" via a navigation guard.')}function an(e,t,r,n){var i=new Error(n);return i._isRouter=!0,i.from=e,i.to=t,i.type=r,i}var yh=["params","query","hash"];function mh(e){if(typeof e=="string")return e;if("path"in e)return e.path;var t={};return yh.forEach(function(r){r in e&&(t[r]=e[r])}),JSON.stringify(t,null,2)}function qr(e){return Object.prototype.toString.call(e).indexOf("Error")>-1}function on(e,t){return qr(e)&&e._isRouter&&(t==null||e.type===t)}function so(e,t,r){var n=function(i){i>=e.length?r():e[i]?t(e[i],function(){n(i+1)}):n(i+1)};n(0)}function gh(e){return function(t,r,n){var i=!1,a=0,o=null;au(e,function(s,u,f,c){if(typeof s=="function"&&s.cid===void 0){i=!0,a++;var l=uo(function(v){bh(v)&&(v=v.default),s.resolved=typeof v=="function"?v:Gr.extend(v),f.components[c]=v,a--,a<=0&&n()}),p=uo(function(v){var y="Failed to resolve async component "+c+": "+v;o||(o=qr(v)?v:new Error(y),n(o))}),d;try{d=s(l,p)}catch(v){p(v)}if(d)if(typeof d.then=="function")d.then(l,p);else{var m=d.component;m&&typeof m.then=="function"&&m.then(l,p)}}}),i||n()}}function au(e,t){return ou(e.map(function(r){return Object.keys(r.components).map(function(n){return t(r.components[n],r.instances[n],r,n)})}))}function ou(e){return Array.prototype.concat.apply([],e)}var _h=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function bh(e){return e.__esModule||_h&&e[Symbol.toStringTag]==="Module"}function uo(e){var t=!1;return function(){for(var r=[],n=arguments.length;n--;)r[n]=arguments[n];if(!t)return t=!0,e.apply(this,r)}}var we=function(t,r){this.router=t,this.base=wh(r),this.current=Xe,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};we.prototype.listen=function(t){this.cb=t};we.prototype.onReady=function(t,r){this.ready?t():(this.readyCbs.push(t),r&&this.readyErrorCbs.push(r))};we.prototype.onError=function(t){this.errorCbs.push(t)};we.prototype.transitionTo=function(t,r,n){var i=this,a;try{a=this.router.match(t,this.current)}catch(s){throw this.errorCbs.forEach(function(u){u(s)}),s}var o=this.current;this.confirmTransition(a,function(){i.updateRoute(a),r&&r(a),i.ensureURL(),i.router.afterHooks.forEach(function(s){s&&s(a,o)}),i.ready||(i.ready=!0,i.readyCbs.forEach(function(s){s(a)}))},function(s){n&&n(s),s&&!i.ready&&(!on(s,lt.redirected)||o!==Xe)&&(i.ready=!0,i.readyErrorCbs.forEach(function(u){u(s)}))})};we.prototype.confirmTransition=function(t,r,n){var i=this,a=this.current;this.pending=t;var o=function(v){!on(v)&&qr(v)&&(i.errorCbs.length?i.errorCbs.forEach(function(y){y(v)}):console.error(v)),n&&n(v)},s=t.matched.length-1,u=a.matched.length-1;if(Ks(t,a)&&s===u&&t.matched[s]===a.matched[u])return this.ensureURL(),t.hash&&Fe(this.router,a,t,!1),o(vh(a,t));var f=Oh(this.current.matched,t.matched),c=f.updated,l=f.deactivated,p=f.activated,d=[].concat(Eh(l),this.router.beforeHooks,Sh(c),p.map(function(v){return v.beforeEnter}),gh(p)),m=function(v,y){if(i.pending!==t)return o(oo(a,t));try{v(t,a,function(h){h===!1?(i.ensureURL(!0),o(hh(a,t))):qr(h)?(i.ensureURL(!0),o(h)):typeof h=="string"||typeof h=="object"&&(typeof h.path=="string"||typeof h.name=="string")?(o(dh(a,t)),typeof h=="object"&&h.replace?i.replace(h):i.push(h)):y(h)})}catch(h){o(h)}};so(d,m,function(){var v=$h(p),y=v.concat(i.router.resolveHooks);so(y,m,function(){if(i.pending!==t)return o(oo(a,t));i.pending=null,r(t),i.router.app&&i.router.app.$nextTick(function(){qs(t)})})})};we.prototype.updateRoute=function(t){this.current=t,this.cb&&this.cb(t)};we.prototype.setupListeners=function(){};we.prototype.teardown=function(){this.listeners.forEach(function(t){t()}),this.listeners=[],this.current=Xe,this.pending=null};function wh(e){if(!e)if(ir){var t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^https?:\/\/[^\/]+/,"")}else e="/";return e.charAt(0)!=="/"&&(e="/"+e),e.replace(/\/$/,"")}function Oh(e,t){var r,n=Math.max(e.length,t.length);for(r=0;r<n&&e[r]===t[r];r++);return{updated:t.slice(0,r),activated:t.slice(r),deactivated:e.slice(r)}}function Li(e,t,r,n){var i=au(e,function(a,o,s,u){var f=Ch(a,t);if(f)return Array.isArray(f)?f.map(function(c){return r(c,o,s,u)}):r(f,o,s,u)});return ou(n?i.reverse():i)}function Ch(e,t){return typeof e!="function"&&(e=Gr.extend(e)),e.options[t]}function Eh(e){return Li(e,"beforeRouteLeave",su,!0)}function Sh(e){return Li(e,"beforeRouteUpdate",su)}function su(e,t){if(t)return function(){return e.apply(t,arguments)}}function $h(e){return Li(e,"beforeRouteEnter",function(t,r,n,i){return Ah(t,n,i)})}function Ah(e,t,r){return function(i,a,o){return e(i,a,function(s){typeof s=="function"&&(t.enteredCbs[r]||(t.enteredCbs[r]=[]),t.enteredCbs[r].push(s)),o(s)})}}var uu=function(e){function t(r,n){e.call(this,r,n),this._startLocation=Lt(this.base)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var n=this;if(!(this.listeners.length>0)){var i=this.router,a=i.options.scrollBehavior,o=Ue&&a;o&&this.listeners.push(nu());var s=function(){var u=n.current,f=Lt(n.base);n.current===Xe&&f===n._startLocation||n.transitionTo(f,function(c){o&&Fe(i,c,u,!0)})};window.addEventListener("popstate",s),this.listeners.push(function(){window.removeEventListener("popstate",s)})}},t.prototype.go=function(n){window.history.go(n)},t.prototype.push=function(n,i,a){var o=this,s=this,u=s.current;this.transitionTo(n,function(f){Kr(ke(o.base+f.fullPath)),Fe(o.router,f,u,!1),i&&i(f)},a)},t.prototype.replace=function(n,i,a){var o=this,s=this,u=s.current;this.transitionTo(n,function(f){Qn(ke(o.base+f.fullPath)),Fe(o.router,f,u,!1),i&&i(f)},a)},t.prototype.ensureURL=function(n){if(Lt(this.base)!==this.current.fullPath){var i=ke(this.base+this.current.fullPath);n?Kr(i):Qn(i)}},t.prototype.getCurrentLocation=function(){return Lt(this.base)},t}(we);function Lt(e){var t=window.location.pathname,r=t.toLowerCase(),n=e.toLowerCase();return e&&(r===n||r.indexOf(ke(n+"/"))===0)&&(t=t.slice(e.length)),(t||"/")+window.location.search+window.location.hash}var fu=function(e){function t(r,n,i){e.call(this,r,n),!(i&&Th(this.base))&&fo()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var n=this;if(!(this.listeners.length>0)){var i=this.router,a=i.options.scrollBehavior,o=Ue&&a;o&&this.listeners.push(nu());var s=function(){var f=n.current;!fo()||n.transitionTo(Sr(),function(c){o&&Fe(n.router,c,f,!0),Ue||$r(c.fullPath)})},u=Ue?"popstate":"hashchange";window.addEventListener(u,s),this.listeners.push(function(){window.removeEventListener(u,s)})}},t.prototype.push=function(n,i,a){var o=this,s=this,u=s.current;this.transitionTo(n,function(f){co(f.fullPath),Fe(o.router,f,u,!1),i&&i(f)},a)},t.prototype.replace=function(n,i,a){var o=this,s=this,u=s.current;this.transitionTo(n,function(f){$r(f.fullPath),Fe(o.router,f,u,!1),i&&i(f)},a)},t.prototype.go=function(n){window.history.go(n)},t.prototype.ensureURL=function(n){var i=this.current.fullPath;Sr()!==i&&(n?co(i):$r(i))},t.prototype.getCurrentLocation=function(){return Sr()},t}(we);function Th(e){var t=Lt(e);if(!/^\/#/.test(t))return window.location.replace(ke(e+"/#"+t)),!0}function fo(){var e=Sr();return e.charAt(0)==="/"?!0:($r("/"+e),!1)}function Sr(){var e=window.location.href,t=e.indexOf("#");return t<0?"":(e=e.slice(t+1),e)}function Vn(e){var t=window.location.href,r=t.indexOf("#"),n=r>=0?t.slice(0,r):t;return n+"#"+e}function co(e){Ue?Kr(Vn(e)):window.location.hash=e}function $r(e){Ue?Qn(Vn(e)):window.location.replace(Vn(e))}var Ph=function(e){function t(r,n){e.call(this,r,n),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(n,i,a){var o=this;this.transitionTo(n,function(s){o.stack=o.stack.slice(0,o.index+1).concat(s),o.index++,i&&i(s)},a)},t.prototype.replace=function(n,i,a){var o=this;this.transitionTo(n,function(s){o.stack=o.stack.slice(0,o.index).concat(s),i&&i(s)},a)},t.prototype.go=function(n){var i=this,a=this.index+n;if(!(a<0||a>=this.stack.length)){var o=this.stack[a];this.confirmTransition(o,function(){var s=i.current;i.index=a,i.updateRoute(o),i.router.afterHooks.forEach(function(u){u&&u(o,s)})},function(s){on(s,lt.duplicated)&&(i.index=a)})}},t.prototype.getCurrentLocation=function(){var n=this.stack[this.stack.length-1];return n?n.fullPath:"/"},t.prototype.ensureURL=function(){},t}(we),K=function(t){t===void 0&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=ah(t.routes||[],this);var r=t.mode||"hash";switch(this.fallback=r==="history"&&!Ue&&t.fallback!==!1,this.fallback&&(r="hash"),ir||(r="abstract"),this.mode=r,r){case"history":this.history=new uu(this,t.base);break;case"hash":this.history=new fu(this,t.base,this.fallback);break;case"abstract":this.history=new Ph(this,t.base);break}},cu={currentRoute:{configurable:!0}};K.prototype.match=function(t,r,n){return this.matcher.match(t,r,n)};cu.currentRoute.get=function(){return this.history&&this.history.current};K.prototype.init=function(t){var r=this;if(this.apps.push(t),t.$once("hook:destroyed",function(){var o=r.apps.indexOf(t);o>-1&&r.apps.splice(o,1),r.app===t&&(r.app=r.apps[0]||null),r.app||r.history.teardown()}),!this.app){this.app=t;var n=this.history;if(n instanceof uu||n instanceof fu){var i=function(o){var s=n.current,u=r.options.scrollBehavior,f=Ue&&u;f&&"fullPath"in o&&Fe(r,o,s,!1)},a=function(o){n.setupListeners(),i(o)};n.transitionTo(n.getCurrentLocation(),a,a)}n.listen(function(o){r.apps.forEach(function(s){s._route=o})})}};K.prototype.beforeEach=function(t){return Di(this.beforeHooks,t)};K.prototype.beforeResolve=function(t){return Di(this.resolveHooks,t)};K.prototype.afterEach=function(t){return Di(this.afterHooks,t)};K.prototype.onReady=function(t,r){this.history.onReady(t,r)};K.prototype.onError=function(t){this.history.onError(t)};K.prototype.push=function(t,r,n){var i=this;if(!r&&!n&&typeof Promise<"u")return new Promise(function(a,o){i.history.push(t,a,o)});this.history.push(t,r,n)};K.prototype.replace=function(t,r,n){var i=this;if(!r&&!n&&typeof Promise<"u")return new Promise(function(a,o){i.history.replace(t,a,o)});this.history.replace(t,r,n)};K.prototype.go=function(t){this.history.go(t)};K.prototype.back=function(){this.go(-1)};K.prototype.forward=function(){this.go(1)};K.prototype.getMatchedComponents=function(t){var r=t?t.matched?t:this.resolve(t).route:this.currentRoute;return r?[].concat.apply([],r.matched.map(function(n){return Object.keys(n.components).map(function(i){return n.components[i]})})):[]};K.prototype.resolve=function(t,r,n){r=r||this.history.current;var i=Ni(t,r,n,this),a=this.match(i,r),o=a.redirectedFrom||a.fullPath,s=this.history.base,u=xh(s,o,this.mode);return{location:i,route:a,href:u,normalizedTo:i,resolved:a}};K.prototype.getRoutes=function(){return this.matcher.getRoutes()};K.prototype.addRoute=function(t,r){this.matcher.addRoute(t,r),this.history.current!==Xe&&this.history.transitionTo(this.history.getCurrentLocation())};K.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==Xe&&this.history.transitionTo(this.history.getCurrentLocation())};Object.defineProperties(K.prototype,cu);var lu=K;function Di(e,t){return e.push(t),function(){var r=e.indexOf(t);r>-1&&e.splice(r,1)}}function xh(e,t,r){var n=r==="hash"?"#"+t:t;return e?ke(e+"/"+n):n}K.install=Xn;K.version="3.6.5";K.isNavigationFailure=on;K.NavigationFailureType=lt;K.START_LOCATION=Xe;ir&&window.Vue&&window.Vue.use(K);const Rh={name:"iframeEmbed",props:["frameRoute"],data(){return{frameUrl:"",showMenu:!0,clientConfig:{},metadata:{}}},methods:{displayToast(e){const t=JSON.stringify(e.detail.custom,null,2),r=`<div class="message">${e.detail.message}</div>
39
+ <pre class="customData">${t}</pre>`;this.$notify({group:"toast",title:e.detail.title,text:r,duration:e.detail.custom.duration||-1,type:"toast"})},handleNav(e){const t=new URL(e.detail.url);location.hash===t.hash||(e.detail.history==="replace"?window.location.replace(t.hash):window.location.hash=t.hash)},handleKeyEvent(e){this.$notify({group:"keydown",title:`registeredKeyFired event from ${e.detail.clientId}`,text:`<pre>${JSON.stringify(e.detail,null,2)}</pre>`,duration:3e3,type:"registeredKeyFired"})},notifyPubSub(e){const t=JSON.stringify(e,null,2);this.$notify({group:"pubsub",title:`${e.clientId} on ${e.topic}`,text:`<pre>${t}</pre>`,duration:-1,type:"pubsub"})},updateFrameUrl(e){this.frameUrl=e.detail,this.showMenu=this.frameUrl==="about:blank"},updatePageMetadata(e){this.metadata={title:e.detail.title,breadcrumbs:e.detail.breadcrumbs}},handlePromptOnLeave(e){e.detail.shouldPrompt===!0&&(window.onbeforeunload=function(t){t.preventDefault(),t.returnValue=""}),e.detail.shouldPrompt===!1&&(window.onbeforeunload=null)}},mounted(){const e=frameRouter.setupFrames;if(frameRouter.setupFrames=(...t)=>{e.apply(frameRouter,t)},window.routerSetup&&typeof window.routerSetup=="function"){const t=window.routerSetup(frameRouter);this.clientConfig=frameRouter.clientConfig.clients,t.publishTopics&&t.publishTopics.forEach(r=>{frameRouter.messaging.addListener(r,n=>{this.notifyPubSub(n)})})}else console.log(`====== ERROR ======
40
+ Could not find a function to set up the frame-router element with. Your
41
+ JS configuration file must assign a set-up function to \`module.exports\`.
42
+ Run:
43
+ ifc-cli --help
44
+ for more details.
45
+ `)}};var Mh=function(){var t=this,r=t._self._c;return r("div",{attrs:{id:"routerLayout"}},[r("div",{staticClass:"explainer"},[t._v(" Showing "),r("span",{staticClass:"app-route"},[t._v(t._s(t.frameRoute))]),t._v(" as "),r("span",{staticClass:"frame-url"},[t._v(t._s(t.frameUrl))]),r("span",{staticClass:"metadata-container"},[r("span",{staticClass:"metadata-title"},[t._v("Page Metadata: ")]),r("span",{staticClass:"metadata-content"},[t._v(t._s(t.metadata))])])]),t.showMenu?r("div",{attrs:{id:"appMenu"}},[r("h2",[t._v("No app is registered for "+t._s(t.frameRoute))]),Object.keys(t.clientConfig).length>0?r("div",[r("p",[t._v("To see your embedded apps, use one of the links below.")]),r("nav",[r("ul",t._l(t.clientConfig,function(n,i){return r("li",{key:i},[r("a",{attrs:{href:"#"+n.assignedRoute}},[t._v(t._s(i)+" @ "+t._s(n.assignedRoute))])])}),0)])]):r("div",[r("p",[t._v(" I couldn't find any registered client applications. Please check your ifc-cli configuration file. ")])])]):t._e(),r("frame-router",{attrs:{id:"frameRouter",route:t.frameRoute,"frame-id":"ifc-cli-frame"},on:{notifyRequest:t.displayToast,registeredKeyFired:t.handleKeyEvent,navRequest:t.handleNav,promptOnLeave:t.handlePromptOnLeave,frameTransition:t.updateFrameUrl,pageMetadata:t.updatePageMetadata}})],1)},jh=[],Ih=Gs(Rh,Mh,jh,!1,null,null,null,null);const Nh=Ih.exports;G.use(lu);const Lh=new lu({routes:[{path:"*",component:Nh,props:e=>({frameRoute:e.fullPath})}]});/*!
46
+ * vuex v3.6.2
47
+ * (c) 2021 Evan You
48
+ * @license MIT
49
+ */function Dh(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:n});else{var r=e.prototype._init;e.prototype._init=function(i){i===void 0&&(i={}),i.init=i.init?[n].concat(i.init):n,r.call(this,i)}}function n(){var i=this.$options;i.store?this.$store=typeof i.store=="function"?i.store():i.store:i.parent&&i.parent.$store&&(this.$store=i.parent.$store)}}var kh=typeof window<"u"?window:typeof global<"u"?global:{},vt=kh.__VUE_DEVTOOLS_GLOBAL_HOOK__;function Fh(e){!vt||(e._devtoolHook=vt,vt.emit("vuex:init",e),vt.on("vuex:travel-to-state",function(t){e.replaceState(t)}),e.subscribe(function(t,r){vt.emit("vuex:mutation",t,r)},{prepend:!0}),e.subscribeAction(function(t,r){vt.emit("vuex:action",t,r)},{prepend:!0}))}function Uh(e,t){return e.filter(t)[0]}function ei(e,t){if(t===void 0&&(t=[]),e===null||typeof e!="object")return e;var r=Uh(t,function(i){return i.original===e});if(r)return r.copy;var n=Array.isArray(e)?[]:{};return t.push({original:e,copy:n}),Object.keys(e).forEach(function(i){n[i]=ei(e[i],t)}),n}function xt(e,t){Object.keys(e).forEach(function(r){return t(e[r],r)})}function pu(e){return e!==null&&typeof e=="object"}function Hh(e){return e&&typeof e.then=="function"}function zh(e,t){return function(){return e(t)}}var Oe=function(t,r){this.runtime=r,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=(typeof n=="function"?n():n)||{}},du={namespaced:{configurable:!0}};du.namespaced.get=function(){return!!this._rawModule.namespaced};Oe.prototype.addChild=function(t,r){this._children[t]=r};Oe.prototype.removeChild=function(t){delete this._children[t]};Oe.prototype.getChild=function(t){return this._children[t]};Oe.prototype.hasChild=function(t){return t in this._children};Oe.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)};Oe.prototype.forEachChild=function(t){xt(this._children,t)};Oe.prototype.forEachGetter=function(t){this._rawModule.getters&&xt(this._rawModule.getters,t)};Oe.prototype.forEachAction=function(t){this._rawModule.actions&&xt(this._rawModule.actions,t)};Oe.prototype.forEachMutation=function(t){this._rawModule.mutations&&xt(this._rawModule.mutations,t)};Object.defineProperties(Oe.prototype,du);var pt=function(t){this.register([],t,!1)};pt.prototype.get=function(t){return t.reduce(function(r,n){return r.getChild(n)},this.root)};pt.prototype.getNamespace=function(t){var r=this.root;return t.reduce(function(n,i){return r=r.getChild(i),n+(r.namespaced?i+"/":"")},"")};pt.prototype.update=function(t){vu([],this.root,t)};pt.prototype.register=function(t,r,n){var i=this;n===void 0&&(n=!0);var a=new Oe(r,n);if(t.length===0)this.root=a;else{var o=this.get(t.slice(0,-1));o.addChild(t[t.length-1],a)}r.modules&&xt(r.modules,function(s,u){i.register(t.concat(u),s,n)})};pt.prototype.unregister=function(t){var r=this.get(t.slice(0,-1)),n=t[t.length-1],i=r.getChild(n);!i||!i.runtime||r.removeChild(n)};pt.prototype.isRegistered=function(t){var r=this.get(t.slice(0,-1)),n=t[t.length-1];return r?r.hasChild(n):!1};function vu(e,t,r){if(t.update(r),r.modules)for(var n in r.modules){if(!t.getChild(n))return;vu(e.concat(n),t.getChild(n),r.modules[n])}}var ue,de=function(t){var r=this;t===void 0&&(t={}),!ue&&typeof window<"u"&&window.Vue&&mu(window.Vue);var n=t.plugins;n===void 0&&(n=[]);var i=t.strict;i===void 0&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new pt(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new ue,this._makeLocalGettersCache=Object.create(null);var a=this,o=this,s=o.dispatch,u=o.commit;this.dispatch=function(p,d){return s.call(a,p,d)},this.commit=function(p,d,m){return u.call(a,p,d,m)},this.strict=i;var f=this._modules.root.state;sn(this,f,[],this._modules.root),Fi(this,f),n.forEach(function(l){return l(r)});var c=t.devtools!==void 0?t.devtools:ue.config.devtools;c&&Fh(this)},ki={state:{configurable:!0}};ki.state.get=function(){return this._vm._data.$$state};ki.state.set=function(e){};de.prototype.commit=function(t,r,n){var i=this,a=Jr(t,r,n),o=a.type,s=a.payload,u={type:o,payload:s},f=this._mutations[o];!f||(this._withCommit(function(){f.forEach(function(l){l(s)})}),this._subscribers.slice().forEach(function(c){return c(u,i.state)}))};de.prototype.dispatch=function(t,r){var n=this,i=Jr(t,r),a=i.type,o=i.payload,s={type:a,payload:o},u=this._actions[a];if(!!u){try{this._actionSubscribers.slice().filter(function(c){return c.before}).forEach(function(c){return c.before(s,n.state)})}catch{}var f=u.length>1?Promise.all(u.map(function(c){return c(o)})):u[0](o);return new Promise(function(c,l){f.then(function(p){try{n._actionSubscribers.filter(function(d){return d.after}).forEach(function(d){return d.after(s,n.state)})}catch{}c(p)},function(p){try{n._actionSubscribers.filter(function(d){return d.error}).forEach(function(d){return d.error(s,n.state,p)})}catch{}l(p)})})}};de.prototype.subscribe=function(t,r){return hu(t,this._subscribers,r)};de.prototype.subscribeAction=function(t,r){var n=typeof t=="function"?{before:t}:t;return hu(n,this._actionSubscribers,r)};de.prototype.watch=function(t,r,n){var i=this;return this._watcherVM.$watch(function(){return t(i.state,i.getters)},r,n)};de.prototype.replaceState=function(t){var r=this;this._withCommit(function(){r._vm._data.$$state=t})};de.prototype.registerModule=function(t,r,n){n===void 0&&(n={}),typeof t=="string"&&(t=[t]),this._modules.register(t,r),sn(this,this.state,t,this._modules.get(t),n.preserveState),Fi(this,this.state)};de.prototype.unregisterModule=function(t){var r=this;typeof t=="string"&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var n=Ui(r.state,t.slice(0,-1));ue.delete(n,t[t.length-1])}),yu(this)};de.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),this._modules.isRegistered(t)};de.prototype.hotUpdate=function(t){this._modules.update(t),yu(this,!0)};de.prototype._withCommit=function(t){var r=this._committing;this._committing=!0,t(),this._committing=r};Object.defineProperties(de.prototype,ki);function hu(e,t,r){return t.indexOf(e)<0&&(r&&r.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function yu(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var r=e.state;sn(e,r,[],e._modules.root,!0),Fi(e,r,t)}function Fi(e,t,r){var n=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,a={};xt(i,function(s,u){a[u]=zh(s,e),Object.defineProperty(e.getters,u,{get:function(){return e._vm[u]},enumerable:!0})});var o=ue.config.silent;ue.config.silent=!0,e._vm=new ue({data:{$$state:t},computed:a}),ue.config.silent=o,e.strict&&Jh(e),n&&(r&&e._withCommit(function(){n._data.$$state=null}),ue.nextTick(function(){return n.$destroy()}))}function sn(e,t,r,n,i){var a=!r.length,o=e._modules.getNamespace(r);if(n.namespaced&&(e._modulesNamespaceMap[o],e._modulesNamespaceMap[o]=n),!a&&!i){var s=Ui(t,r.slice(0,-1)),u=r[r.length-1];e._withCommit(function(){ue.set(s,u,n.state)})}var f=n.context=Bh(e,o,r);n.forEachMutation(function(c,l){var p=o+l;Gh(e,p,c,f)}),n.forEachAction(function(c,l){var p=c.root?l:o+l,d=c.handler||c;Kh(e,p,d,f)}),n.forEachGetter(function(c,l){var p=o+l;qh(e,p,c,f)}),n.forEachChild(function(c,l){sn(e,t,r.concat(l),c,i)})}function Bh(e,t,r){var n=t==="",i={dispatch:n?e.dispatch:function(a,o,s){var u=Jr(a,o,s),f=u.payload,c=u.options,l=u.type;return(!c||!c.root)&&(l=t+l),e.dispatch(l,f)},commit:n?e.commit:function(a,o,s){var u=Jr(a,o,s),f=u.payload,c=u.options,l=u.type;(!c||!c.root)&&(l=t+l),e.commit(l,f,c)}};return Object.defineProperties(i,{getters:{get:n?function(){return e.getters}:function(){return Wh(e,t)}},state:{get:function(){return Ui(e.state,r)}}}),i}function Wh(e,t){if(!e._makeLocalGettersCache[t]){var r={},n=t.length;Object.keys(e.getters).forEach(function(i){if(i.slice(0,n)===t){var a=i.slice(n);Object.defineProperty(r,a,{get:function(){return e.getters[i]},enumerable:!0})}}),e._makeLocalGettersCache[t]=r}return e._makeLocalGettersCache[t]}function Gh(e,t,r,n){var i=e._mutations[t]||(e._mutations[t]=[]);i.push(function(o){r.call(e,n.state,o)})}function Kh(e,t,r,n){var i=e._actions[t]||(e._actions[t]=[]);i.push(function(o){var s=r.call(e,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:e.getters,rootState:e.state},o);return Hh(s)||(s=Promise.resolve(s)),e._devtoolHook?s.catch(function(u){throw e._devtoolHook.emit("vuex:error",u),u}):s})}function qh(e,t,r,n){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(a){return r(n.state,n.getters,a.state,a.getters)})}function Jh(e){e._vm.$watch(function(){return this._data.$$state},function(){},{deep:!0,sync:!0})}function Ui(e,t){return t.reduce(function(r,n){return r[n]},e)}function Jr(e,t,r){return pu(e)&&e.type&&(r=t,t=e,e=e.type),{type:e,payload:t,options:r}}function mu(e){ue&&e===ue||(ue=e,Dh(ue))}var gu=fn(function(e,t){var r={};return un(t).forEach(function(n){var i=n.key,a=n.val;r[i]=function(){var s=this.$store.state,u=this.$store.getters;if(e){var f=cn(this.$store,"mapState",e);if(!f)return;s=f.context.state,u=f.context.getters}return typeof a=="function"?a.call(this,s,u):s[a]},r[i].vuex=!0}),r}),_u=fn(function(e,t){var r={};return un(t).forEach(function(n){var i=n.key,a=n.val;r[i]=function(){for(var s=[],u=arguments.length;u--;)s[u]=arguments[u];var f=this.$store.commit;if(e){var c=cn(this.$store,"mapMutations",e);if(!c)return;f=c.context.commit}return typeof a=="function"?a.apply(this,[f].concat(s)):f.apply(this.$store,[a].concat(s))}}),r}),bu=fn(function(e,t){var r={};return un(t).forEach(function(n){var i=n.key,a=n.val;a=e+a,r[i]=function(){if(!(e&&!cn(this.$store,"mapGetters",e)))return this.$store.getters[a]},r[i].vuex=!0}),r}),wu=fn(function(e,t){var r={};return un(t).forEach(function(n){var i=n.key,a=n.val;r[i]=function(){for(var s=[],u=arguments.length;u--;)s[u]=arguments[u];var f=this.$store.dispatch;if(e){var c=cn(this.$store,"mapActions",e);if(!c)return;f=c.context.dispatch}return typeof a=="function"?a.apply(this,[f].concat(s)):f.apply(this.$store,[a].concat(s))}}),r}),Yh=function(e){return{mapState:gu.bind(null,e),mapGetters:bu.bind(null,e),mapMutations:_u.bind(null,e),mapActions:wu.bind(null,e)}};function un(e){return Xh(e)?Array.isArray(e)?e.map(function(t){return{key:t,val:t}}):Object.keys(e).map(function(t){return{key:t,val:e[t]}}):[]}function Xh(e){return Array.isArray(e)||pu(e)}function fn(e){return function(t,r){return typeof t!="string"?(r=t,t=""):t.charAt(t.length-1)!=="/"&&(t+="/"),e(t,r)}}function cn(e,t,r){var n=e._modulesNamespaceMap[r];return n}function Zh(e){e===void 0&&(e={});var t=e.collapsed;t===void 0&&(t=!0);var r=e.filter;r===void 0&&(r=function(c,l,p){return!0});var n=e.transformer;n===void 0&&(n=function(c){return c});var i=e.mutationTransformer;i===void 0&&(i=function(c){return c});var a=e.actionFilter;a===void 0&&(a=function(c,l){return!0});var o=e.actionTransformer;o===void 0&&(o=function(c){return c});var s=e.logMutations;s===void 0&&(s=!0);var u=e.logActions;u===void 0&&(u=!0);var f=e.logger;return f===void 0&&(f=console),function(c){var l=ei(c.state);typeof f>"u"||(s&&c.subscribe(function(p,d){var m=ei(d);if(r(p,l,m)){var v=vo(),y=i(p),h="mutation "+p.type+v;lo(f,h,t),f.log("%c prev state","color: #9E9E9E; font-weight: bold",n(l)),f.log("%c mutation","color: #03A9F4; font-weight: bold",y),f.log("%c next state","color: #4CAF50; font-weight: bold",n(m)),po(f)}l=m}),u&&c.subscribeAction(function(p,d){if(a(p,d)){var m=vo(),v=o(p),y="action "+p.type+m;lo(f,y,t),f.log("%c action","color: #03A9F4; font-weight: bold",v),po(f)}}))}}function lo(e,t,r){var n=r?e.groupCollapsed:e.group;try{n.call(e,t)}catch{e.log(t)}}function po(e){try{e.groupEnd()}catch{e.log("\u2014\u2014 log end \u2014\u2014")}}function vo(){var e=new Date;return" @ "+hr(e.getHours(),2)+":"+hr(e.getMinutes(),2)+":"+hr(e.getSeconds(),2)+"."+hr(e.getMilliseconds(),3)}function Qh(e,t){return new Array(t+1).join(e)}function hr(e,t){return Qh("0",t-e.toString().length)+e}var Vh={Store:de,install:mu,version:"3.6.2",mapState:gu,mapMutations:_u,mapGetters:bu,mapActions:wu,createNamespacedHelpers:Yh,createLogger:Zh};const Ou=Vh;G.use(Ou);const ey=new Ou.Store({state:{},mutations:{},actions:{}});mc();window.addEventListener("error",e=>{console.error("Uncaught Error:",e.error)});G.config.productionTip=!1;G.use(Ev);new G({router:Lh,store:ey,render:e=>e(Pv),created(){"-ms-scroll-limit"in document.documentElement.style&&"-ms-ime-align"in document.documentElement.style&&window.addEventListener("hashchange",e=>{const t=window.location.hash.slice(1);this.$route.path!==t&&this.$router.push(t)},!1)}}).$mount("#app");
@@ -6,6 +6,8 @@
6
6
  <meta name="viewport" content="width=device-width,initial-scale=1.0" />
7
7
  <link rel="icon" href="/favicon.ico" />
8
8
  <title>ifc-wrapper</title>
9
+ <script type="module" crossorigin src="/assets/index.fe308d15.js"></script>
10
+ <link rel="stylesheet" href="/assets/index.19c5eadd.css">
9
11
  </head>
10
12
  <body>
11
13
  <noscript>
@@ -15,6 +17,6 @@
15
17
  >
16
18
  </noscript>
17
19
  <div id="app"></div>
18
- <script type="module" src="/src/main.ts"></script>
20
+
19
21
  </body>
20
22
  </html>
@@ -1,21 +1,25 @@
1
1
  module.exports = function(frameRouter) {
2
+ let hostname = window.location.hostname;
3
+
2
4
  frameRouter.clientConfig = {
3
5
  clients: {
4
- app1: {
5
- url: 'http://localhost:8080/client-app-1/#/',
6
+ application1: {
7
+ url: `http://${hostname}:8080/client-app-1/#/`,
6
8
  assignedRoute: '/app1'
7
9
  },
8
- app2: {
9
- url: 'http://localhost:8080/client-app-2/#/',
10
+ application2: {
11
+ // We are removing the built-in proxy route example for now, as there are conflicts with vite and
12
+ // we will be adding improvements to the proxy behavior in the near future
13
+ url: `http://${hostname}:8080/client-app-2/#/`,
10
14
  assignedRoute: '/app2',
11
- sandbox: 'allow-presentation', // optional
12
- allow: 'microphone http://localhost:8080;', // optional
15
+ allow: 'camera http://localhost:8080;', // optional
16
+ sandbox: 'allow-presentation allow-modals', // optional
13
17
  defaultTitle: 'iframe Application 2 Example' // optional, but needed for accessibility
14
18
  }
15
19
  },
16
20
  envData: {
17
21
  locale: 'en-US',
18
- hostRootUrl: window.location.origin,
22
+ hostRootUrl: window.location.origin + '/#/',
19
23
  registeredKeys: [
20
24
  { key: 'a', ctrlKey: true },
21
25
  { key: 'b', altKey: true },
@@ -24,7 +28,6 @@ module.exports = function(frameRouter) {
24
28
  custom: getCustomClientData()
25
29
  }
26
30
  };
27
-
28
31
  return {
29
32
  // These are the topics that the host app should display payloads for when
30
33
  // the client publishes on them.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iframe-coordinator-cli",
3
- "version": "5.4.1",
3
+ "version": "5.5.1",
4
4
  "description": "CLI for local iframe-coordinator development",
5
5
  "dependencies": {
6
6
  "cheerio": "^1.0.0-rc.10",
@@ -23,6 +23,11 @@
23
23
  "typescript": "^4.8.3",
24
24
  "vite": "^3.1.3"
25
25
  },
26
+ "files": [
27
+ "dist",
28
+ "ifc-cli.js",
29
+ "example-ifc.config.js"
30
+ ],
26
31
  "bin": {
27
32
  "ifc-cli": "ifc-cli.js"
28
33
  },
package/.browserslistrc DELETED
@@ -1,2 +0,0 @@
1
- > 1%
2
- last 2 versions
package/src/App.vue DELETED
@@ -1,40 +0,0 @@
1
- <template>
2
- <div id="app">
3
- <notifications group="toast" id="toastNotifications" position="top right"></notifications>
4
- <notifications group="pubsub" id="pubsubEvents" position="top left"></notifications>
5
- <notifications group="keydown" id="keydownEvents" position="bottom left"></notifications>
6
- <notifications group="metadata" id="metadataEvent" position="bottom right"></notifications>
7
- <router-view/>
8
- </div>
9
- </template>
10
-
11
- <style>
12
- html {
13
- height: 100%;
14
- }
15
- body {
16
- padding: 0;
17
- margin: 0;
18
- height: 100%;
19
- }
20
-
21
- #app {
22
- font-family: 'Avenir', Helvetica, Arial, sans-serif;
23
- -webkit-font-smoothing: antialiased;
24
- -moz-osx-font-smoothing: grayscale;
25
- text-align: center;
26
- color: #2c3e50;
27
- height: 100%;
28
- }
29
-
30
- .vue-notification.toast {
31
- background-color: #2a60c8;
32
- color: #fdfdfd;
33
- border-color: #75a8ff;
34
- }
35
-
36
- .vue-notification.pubsub {
37
- background-color: #444a52;
38
- border-color: #ff4f1f;
39
- }
40
- </style>
Binary file
package/src/main.ts DELETED
@@ -1,41 +0,0 @@
1
- import { registerCustomElements } from 'iframe-coordinator/dist';
2
-
3
- import Vue from 'vue';
4
- import Notifications from 'vue-notification';
5
- import App from './App.vue';
6
- import router from './router';
7
- import store from './store';
8
-
9
- registerCustomElements();
10
-
11
- window.addEventListener('error', evt => {
12
- console.error('Uncaught Error:', evt.error);
13
- });
14
-
15
- Vue.config.productionTip = false;
16
-
17
- Vue.use(Notifications);
18
-
19
- new Vue({
20
- router,
21
- store,
22
- render: h => h(App),
23
- created() {
24
- // IE11 routing workaround
25
- if (
26
- '-ms-scroll-limit' in document.documentElement.style &&
27
- '-ms-ime-align' in document.documentElement.style
28
- ) {
29
- window.addEventListener(
30
- 'hashchange',
31
- event => {
32
- const currentPath = window.location.hash.slice(1);
33
- if (this.$route.path !== currentPath) {
34
- this.$router.push(currentPath);
35
- }
36
- },
37
- false
38
- );
39
- }
40
- }
41
- }).$mount('#app');
package/src/router.ts DELETED
@@ -1,17 +0,0 @@
1
- import Vue from 'vue';
2
- import Router from 'vue-router';
3
- import IframeEmbed from './views/IframeEmbed.vue';
4
-
5
- Vue.use(Router);
6
-
7
- export default new Router({
8
- routes: [
9
- {
10
- path: '*',
11
- component: IframeEmbed,
12
- props: router => ({
13
- frameRoute: router.fullPath
14
- })
15
- }
16
- ]
17
- });
@@ -1,13 +0,0 @@
1
- import Vue, { VNode } from 'vue';
2
-
3
- declare global {
4
- namespace JSX {
5
- // tslint:disable no-empty-interface
6
- interface Element extends VNode {}
7
- // tslint:disable no-empty-interface
8
- interface ElementClass extends Vue {}
9
- interface IntrinsicElements {
10
- [elem: string]: any;
11
- }
12
- }
13
- }
@@ -1,4 +0,0 @@
1
- declare module '*.vue' {
2
- import Vue from 'vue';
3
- export default Vue;
4
- }
package/src/store.ts DELETED
@@ -1,16 +0,0 @@
1
- import Vue from 'vue';
2
- import Vuex from 'vuex';
3
-
4
- Vue.use(Vuex);
5
-
6
- export default new Vuex.Store({
7
- state: {
8
-
9
- },
10
- mutations: {
11
-
12
- },
13
- actions: {
14
-
15
- },
16
- });
@@ -1,208 +0,0 @@
1
- <template>
2
- <div id="routerLayout">
3
- <div class="explainer">
4
- Showing
5
- <span class="app-route">{{ frameRoute }}</span>
6
- as
7
- <span class="frame-url">{{ frameUrl }}</span>
8
- <span class="metadata-container">
9
- <span class="metadata-title">Page Metadata: </span>
10
- <span class="metadata-content">{{ metadata }}</span>
11
- </span>
12
- </div>
13
- <div v-if="showMenu" id="appMenu">
14
- <h2>No app is registered for {{ frameRoute }}</h2>
15
-
16
- <div v-if="Object.keys(clientConfig).length > 0">
17
- <p>To see your embedded apps, use one of the links below.</p>
18
- <nav>
19
- <ul>
20
- <li v-for="(client, id) in clientConfig" v-bind:key="id">
21
- <a v-bind:href="'#' + client.assignedRoute"
22
- >{{ id }} @ {{ client.assignedRoute }}</a
23
- >
24
- </li>
25
- </ul>
26
- </nav>
27
- </div>
28
- <div v-else>
29
- <p>
30
- I couldn't find any registered client applications. Please check your
31
- ifc-cli configuration file.
32
- </p>
33
- </div>
34
- </div>
35
- <frame-router
36
- id="frameRouter"
37
- v-bind:route="frameRoute"
38
- frame-id="ifc-cli-frame"
39
- v-on:notifyRequest="displayToast"
40
- v-on:registeredKeyFired="handleKeyEvent"
41
- v-on:navRequest="handleNav"
42
- v-on:promptOnLeave="handlePromptOnLeave"
43
- v-on:frameTransition="updateFrameUrl"
44
- v-on:pageMetadata="updatePageMetadata"
45
- ></frame-router>
46
- </div>
47
- </template>
48
-
49
- <script>
50
- export default {
51
- name: 'iframeEmbed',
52
- props: ['frameRoute'],
53
- data() {
54
- return {
55
- frameUrl: '',
56
- showMenu: true,
57
- clientConfig: {},
58
- metadata: {}
59
- };
60
- },
61
- methods: {
62
- displayToast(event) {
63
- const customJson = JSON.stringify(event.detail.custom, null, 2);
64
- const messageHtml = `<div class="message">${event.detail.message}</div>
65
- <pre class="customData">${customJson}</pre>`;
66
- this.$notify({
67
- group: 'toast',
68
- title: event.detail.title,
69
- text: messageHtml,
70
- duration: event.detail.custom.duration || -1,
71
- type: 'toast'
72
- });
73
- },
74
- handleNav(event) {
75
- // TODO: detect and handle external URLs properly
76
- const requestedUrl = new URL(event.detail.url);
77
-
78
- if (location.hash === requestedUrl.hash) {
79
- // The requested navigation is for the current location, do nothing
80
- } else if (event.detail.history === 'replace') {
81
- window.location.replace(requestedUrl.hash);
82
- } else {
83
- window.location.hash = requestedUrl.hash;
84
- }
85
- },
86
- handleKeyEvent(event) {
87
- this.$notify({
88
- group: 'keydown',
89
- title: `registeredKeyFired event from ${event.detail.clientId}`,
90
- text: `<pre>${JSON.stringify(event.detail, null, 2)}</pre>`,
91
- duration: 3000,
92
- type: 'registeredKeyFired'
93
- });
94
- },
95
- notifyPubSub(event) {
96
- const jsonStr = JSON.stringify(event, null, 2);
97
- this.$notify({
98
- group: 'pubsub',
99
- title: `${event.clientId} on ${event.topic}`,
100
- text: `<pre>${jsonStr}</pre>`,
101
- duration: -1,
102
- type: 'pubsub'
103
- });
104
- },
105
- updateFrameUrl(event) {
106
- this.frameUrl = event.detail;
107
- this.showMenu = this.frameUrl === 'about:blank';
108
- },
109
- updatePageMetadata(event) {
110
- this.metadata = {
111
- title: event.detail.title,
112
- breadcrumbs: event.detail.breadcrumbs
113
- };
114
- },
115
- handlePromptOnLeave(event) {
116
- if (event.detail.shouldPrompt === true) {
117
- window.onbeforeunload = function(event) {
118
- event.preventDefault();
119
- //This is needed for compatibility with Google Chrome.
120
- event.returnValue = '';
121
- };
122
- }
123
- if (event.detail.shouldPrompt === false) {
124
- window.onbeforeunload = null;
125
- }
126
- }
127
- },
128
- mounted() {
129
- // Call the custom config set up on the CLI.
130
- const oldSetupFrames = frameRouter.setupFrames;
131
- frameRouter.setupFrames = (...args) => {
132
- oldSetupFrames.apply(frameRouter, args);
133
- };
134
-
135
- if (window.routerSetup && typeof window.routerSetup === 'function') {
136
- const clientConfig = window.routerSetup(frameRouter);
137
- this.clientConfig = frameRouter.clientConfig.clients;
138
- if (clientConfig.publishTopics) {
139
- clientConfig.publishTopics.forEach(topic => {
140
- frameRouter.messaging.addListener(topic, publication => {
141
- this.notifyPubSub(publication);
142
- });
143
- });
144
- }
145
- } else {
146
- // tslint:disable-next-line
147
- console.log(`====== ERROR ======
148
- Could not find a function to set up the frame-router element with. Your
149
- JS configuration file must assign a set-up function to \`module.exports\`.
150
- Run:
151
- ifc-cli --help
152
- for more details.
153
- `);
154
- }
155
- }
156
- };
157
- </script>
158
-
159
- <style>
160
- #routerLayout {
161
- display: flex;
162
- flex-direction: column;
163
- height: 100%;
164
- }
165
- #frameRouter {
166
- flex-grow: 1;
167
- flex-shrink: 1;
168
- flex-basis: 100vh;
169
- }
170
- #routerLayout .explainer {
171
- padding: 20px;
172
- background-color: #33383d;
173
- color: #fdfdfd;
174
- border-bottom: 2px solid #ff4f1f;
175
- }
176
- #routerLayout .app-route,
177
- #routerLayout .frame-url,
178
- #routerLayout .metadata-container .metadata-content {
179
- color: #ff4f1f;
180
- }
181
-
182
- #routerLayout .metadata-container {
183
- display: flex;
184
- text-align: left;
185
- float: right;
186
- width: 800px;
187
- }
188
-
189
- #routerLayout .metadata-container .metadata-title {
190
- margin-right: 5px;
191
- width: 150px;
192
- }
193
-
194
- #appMenu {
195
- max-width: 80ch;
196
- margin: auto;
197
- }
198
- #appMenu nav {
199
- text-align: left;
200
- }
201
- #appMenu ul {
202
- margin: 0;
203
- padding: 0;
204
- }
205
- #appMenu li {
206
- list-style: none;
207
- }
208
- </style>
package/tsconfig.json DELETED
@@ -1,36 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "esnext",
4
- "module": "esnext",
5
- "strict": true,
6
- "jsx": "preserve",
7
- "importHelpers": true,
8
- "moduleResolution": "node",
9
- "experimentalDecorators": true,
10
- "esModuleInterop": true,
11
- "allowSyntheticDefaultImports": true,
12
- "sourceMap": true,
13
- "baseUrl": ".",
14
- "paths": {
15
- "@/*": [
16
- "src/*"
17
- ]
18
- },
19
- "lib": [
20
- "esnext",
21
- "dom",
22
- "dom.iterable",
23
- "scripthost"
24
- ]
25
- },
26
- "include": [
27
- "src/**/*.ts",
28
- "src/**/*.tsx",
29
- "src/**/*.vue",
30
- "tests/**/*.ts",
31
- "tests/**/*.tsx"
32
- ],
33
- "exclude": [
34
- "node_modules"
35
- ]
36
- }
package/tslint.json DELETED
@@ -1,17 +0,0 @@
1
- {
2
- "defaultSeverity": "warning",
3
- "extends": ["tslint:recommended"],
4
- "linterOptions": {
5
- "exclude": ["node_modules/**"]
6
- },
7
- "rules": {
8
- "quotemark": [true, "single"],
9
- "indent": [true, "spaces", 2],
10
- "interface-name": false,
11
- "ordered-imports": false,
12
- "object-literal-sort-keys": false,
13
- "no-consecutive-blank-lines": false,
14
- "trailing-comma": false,
15
- "arrow-parens": false
16
- }
17
- }
package/vite.config.js DELETED
@@ -1,5 +0,0 @@
1
- import vue from '@vitejs/plugin-vue2';
2
-
3
- export default {
4
- plugins: [vue()]
5
- };
File without changes