From d6bef4b8e3deacc27164722f7bfab8fc285f76f6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 9 Jul 2024 07:12:58 +0000 Subject: [PATCH 1/2] Chore(deps): Bump @nextcloud/l10n from 2.2.0 to 3.1.0 Bumps [@nextcloud/l10n](https://github.com/nextcloud-libraries/nextcloud-l10n) from 2.2.0 to 3.1.0. - [Release notes](https://github.com/nextcloud-libraries/nextcloud-l10n/releases) - [Changelog](https://github.com/nextcloud-libraries/nextcloud-l10n/blob/main/CHANGELOG.md) - [Commits](https://github.com/nextcloud-libraries/nextcloud-l10n/compare/v2.2.0...v3.1.0) --- updated-dependencies: - dependency-name: "@nextcloud/l10n" dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package-lock.json | 234 ++++++---------------------------------------- package.json | 2 +- 2 files changed, 28 insertions(+), 208 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5c6a33b3..c4097639 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "dependencies": { "@nextcloud/dialogs": "^5.3.5", "@nextcloud/initial-state": "^2.1.0", - "@nextcloud/l10n": "^2.2.0", + "@nextcloud/l10n": "^3.1.0", "@nextcloud/vue": "^8.14.0", "vue": "^2.7.16" }, @@ -3415,18 +3415,6 @@ "npm": "^10.0.0" } }, - "node_modules/@nextcloud/axios/node_modules/@nextcloud/router": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@nextcloud/router/-/router-3.0.1.tgz", - "integrity": "sha512-Ci/uD3x8OKHdxSqXL6gRJ+mGJOEXjeiHjj7hqsZqVTsT7kOrCjDf0/J8z5RyLlokKZ0IpSe+hGxgi3YB7Gpw3Q==", - "dependencies": { - "@nextcloud/typings": "^1.7.0" - }, - "engines": { - "node": "^20.0.0", - "npm": "^10.0.0" - } - }, "node_modules/@nextcloud/browser-storage": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/@nextcloud/browser-storage/-/browser-storage-0.4.0.tgz", @@ -3562,36 +3550,6 @@ "vue": "^2.7.16" } }, - "node_modules/@nextcloud/dialogs/node_modules/@nextcloud/l10n": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@nextcloud/l10n/-/l10n-3.1.0.tgz", - "integrity": "sha512-unciqr8QSJ29vFBw9S1bquyoj1PTWHszNL8tcUNuxUAYpq0hX+8o7rpB5gimELA4sj4m9+VCJwgLtBZd1Yj0lg==", - "dependencies": { - "@nextcloud/router": "^3.0.1", - "@nextcloud/typings": "^1.8.0", - "@types/dompurify": "^3.0.5", - "@types/escape-html": "^1.0.4", - "dompurify": "^3.1.2", - "escape-html": "^1.0.3", - "node-gettext": "^3.0.0" - }, - "engines": { - "node": "^20.0.0", - "npm": "^10.0.0" - } - }, - "node_modules/@nextcloud/dialogs/node_modules/@nextcloud/router": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@nextcloud/router/-/router-3.0.1.tgz", - "integrity": "sha512-Ci/uD3x8OKHdxSqXL6gRJ+mGJOEXjeiHjj7hqsZqVTsT7kOrCjDf0/J8z5RyLlokKZ0IpSe+hGxgi3YB7Gpw3Q==", - "dependencies": { - "@nextcloud/typings": "^1.7.0" - }, - "engines": { - "node": "^20.0.0", - "npm": "^10.0.0" - } - }, "node_modules/@nextcloud/dialogs/node_modules/@vueuse/core": { "version": "10.11.0", "resolved": "https://registry.npmjs.org/@vueuse/core/-/core-10.11.0.tgz", @@ -3778,36 +3736,6 @@ "npm": "^10.0.0" } }, - "node_modules/@nextcloud/files/node_modules/@nextcloud/l10n": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@nextcloud/l10n/-/l10n-3.1.0.tgz", - "integrity": "sha512-unciqr8QSJ29vFBw9S1bquyoj1PTWHszNL8tcUNuxUAYpq0hX+8o7rpB5gimELA4sj4m9+VCJwgLtBZd1Yj0lg==", - "dependencies": { - "@nextcloud/router": "^3.0.1", - "@nextcloud/typings": "^1.8.0", - "@types/dompurify": "^3.0.5", - "@types/escape-html": "^1.0.4", - "dompurify": "^3.1.2", - "escape-html": "^1.0.3", - "node-gettext": "^3.0.0" - }, - "engines": { - "node": "^20.0.0", - "npm": "^10.0.0" - } - }, - "node_modules/@nextcloud/files/node_modules/@nextcloud/router": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@nextcloud/router/-/router-3.0.1.tgz", - "integrity": "sha512-Ci/uD3x8OKHdxSqXL6gRJ+mGJOEXjeiHjj7hqsZqVTsT7kOrCjDf0/J8z5RyLlokKZ0IpSe+hGxgi3YB7Gpw3Q==", - "dependencies": { - "@nextcloud/typings": "^1.7.0" - }, - "engines": { - "node": "^20.0.0", - "npm": "^10.0.0" - } - }, "node_modules/@nextcloud/initial-state": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/@nextcloud/initial-state/-/initial-state-2.2.0.tgz", @@ -3818,19 +3746,21 @@ } }, "node_modules/@nextcloud/l10n": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@nextcloud/l10n/-/l10n-2.2.0.tgz", - "integrity": "sha512-UAM2NJcl/NR46MANSF7Gr7q8/Up672zRyGrxLpN3k4URNmWQM9upkbRME+1K3T29wPrUyOIbQu710ZjvZafqFA==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@nextcloud/l10n/-/l10n-3.1.0.tgz", + "integrity": "sha512-unciqr8QSJ29vFBw9S1bquyoj1PTWHszNL8tcUNuxUAYpq0hX+8o7rpB5gimELA4sj4m9+VCJwgLtBZd1Yj0lg==", "dependencies": { - "@nextcloud/router": "^2.1.2", - "@nextcloud/typings": "^1.7.0", - "dompurify": "^3.0.3", + "@nextcloud/router": "^3.0.1", + "@nextcloud/typings": "^1.8.0", + "@types/dompurify": "^3.0.5", + "@types/escape-html": "^1.0.4", + "dompurify": "^3.1.2", "escape-html": "^1.0.3", "node-gettext": "^3.0.0" }, "engines": { "node": "^20.0.0", - "npm": "^9.0.0" + "npm": "^10.0.0" } }, "node_modules/@nextcloud/logger": { @@ -3854,16 +3784,15 @@ } }, "node_modules/@nextcloud/router": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@nextcloud/router/-/router-2.2.0.tgz", - "integrity": "sha512-M4AVGnB5tt3MYO5RpH/R2jq7z/nW05AmRhk4Lh68krVwRIYGo8pgNikKrPGogHd2Q3UgzF5Py1drHz3uuV99bQ==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@nextcloud/router/-/router-3.0.1.tgz", + "integrity": "sha512-Ci/uD3x8OKHdxSqXL6gRJ+mGJOEXjeiHjj7hqsZqVTsT7kOrCjDf0/J8z5RyLlokKZ0IpSe+hGxgi3YB7Gpw3Q==", "dependencies": { - "@nextcloud/typings": "^1.7.0", - "core-js": "^3.6.4" + "@nextcloud/typings": "^1.7.0" }, "engines": { "node": "^20.0.0", - "npm": "^9.0.0" + "npm": "^10.0.0" } }, "node_modules/@nextcloud/sharing": { @@ -4009,36 +3938,6 @@ "vue": "2.x" } }, - "node_modules/@nextcloud/vue/node_modules/@nextcloud/l10n": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@nextcloud/l10n/-/l10n-3.1.0.tgz", - "integrity": "sha512-unciqr8QSJ29vFBw9S1bquyoj1PTWHszNL8tcUNuxUAYpq0hX+8o7rpB5gimELA4sj4m9+VCJwgLtBZd1Yj0lg==", - "dependencies": { - "@nextcloud/router": "^3.0.1", - "@nextcloud/typings": "^1.8.0", - "@types/dompurify": "^3.0.5", - "@types/escape-html": "^1.0.4", - "dompurify": "^3.1.2", - "escape-html": "^1.0.3", - "node-gettext": "^3.0.0" - }, - "engines": { - "node": "^20.0.0", - "npm": "^10.0.0" - } - }, - "node_modules/@nextcloud/vue/node_modules/@nextcloud/router": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@nextcloud/router/-/router-3.0.1.tgz", - "integrity": "sha512-Ci/uD3x8OKHdxSqXL6gRJ+mGJOEXjeiHjj7hqsZqVTsT7kOrCjDf0/J8z5RyLlokKZ0IpSe+hGxgi3YB7Gpw3Q==", - "dependencies": { - "@nextcloud/typings": "^1.7.0" - }, - "engines": { - "node": "^20.0.0", - "npm": "^10.0.0" - } - }, "node_modules/@nicolo-ribaudo/chokidar-2": { "version": "2.1.8-no-fsevents.3", "resolved": "https://registry.npmjs.org/@nicolo-ribaudo/chokidar-2/-/chokidar-2-2.1.8-no-fsevents.3.tgz", @@ -18615,16 +18514,6 @@ "@nextcloud/auth": "^2.3.0", "@nextcloud/router": "^3.0.1", "axios": "^1.6.8" - }, - "dependencies": { - "@nextcloud/router": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@nextcloud/router/-/router-3.0.1.tgz", - "integrity": "sha512-Ci/uD3x8OKHdxSqXL6gRJ+mGJOEXjeiHjj7hqsZqVTsT7kOrCjDf0/J8z5RyLlokKZ0IpSe+hGxgi3YB7Gpw3Q==", - "requires": { - "@nextcloud/typings": "^1.7.0" - } - } } }, "@nextcloud/browser-storage": { @@ -18722,28 +18611,6 @@ "webdav": "^5.6.0" }, "dependencies": { - "@nextcloud/l10n": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@nextcloud/l10n/-/l10n-3.1.0.tgz", - "integrity": "sha512-unciqr8QSJ29vFBw9S1bquyoj1PTWHszNL8tcUNuxUAYpq0hX+8o7rpB5gimELA4sj4m9+VCJwgLtBZd1Yj0lg==", - "requires": { - "@nextcloud/router": "^3.0.1", - "@nextcloud/typings": "^1.8.0", - "@types/dompurify": "^3.0.5", - "@types/escape-html": "^1.0.4", - "dompurify": "^3.1.2", - "escape-html": "^1.0.3", - "node-gettext": "^3.0.0" - } - }, - "@nextcloud/router": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@nextcloud/router/-/router-3.0.1.tgz", - "integrity": "sha512-Ci/uD3x8OKHdxSqXL6gRJ+mGJOEXjeiHjj7hqsZqVTsT7kOrCjDf0/J8z5RyLlokKZ0IpSe+hGxgi3YB7Gpw3Q==", - "requires": { - "@nextcloud/typings": "^1.7.0" - } - }, "@vueuse/core": { "version": "10.11.0", "resolved": "https://registry.npmjs.org/@vueuse/core/-/core-10.11.0.tgz", @@ -18845,30 +18712,6 @@ "is-svg": "^5.0.1", "typescript-event-target": "^1.1.1", "webdav": "^5.6.0" - }, - "dependencies": { - "@nextcloud/l10n": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@nextcloud/l10n/-/l10n-3.1.0.tgz", - "integrity": "sha512-unciqr8QSJ29vFBw9S1bquyoj1PTWHszNL8tcUNuxUAYpq0hX+8o7rpB5gimELA4sj4m9+VCJwgLtBZd1Yj0lg==", - "requires": { - "@nextcloud/router": "^3.0.1", - "@nextcloud/typings": "^1.8.0", - "@types/dompurify": "^3.0.5", - "@types/escape-html": "^1.0.4", - "dompurify": "^3.1.2", - "escape-html": "^1.0.3", - "node-gettext": "^3.0.0" - } - }, - "@nextcloud/router": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@nextcloud/router/-/router-3.0.1.tgz", - "integrity": "sha512-Ci/uD3x8OKHdxSqXL6gRJ+mGJOEXjeiHjj7hqsZqVTsT7kOrCjDf0/J8z5RyLlokKZ0IpSe+hGxgi3YB7Gpw3Q==", - "requires": { - "@nextcloud/typings": "^1.7.0" - } - } } }, "@nextcloud/initial-state": { @@ -18877,13 +18720,15 @@ "integrity": "sha512-cDW98L5KGGgpS8pzd+05304/p80cyu8U2xSDQGa+kGPTpUFmCbv2qnO5WrwwGTauyjYijCal2bmw82VddSH+Pg==" }, "@nextcloud/l10n": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@nextcloud/l10n/-/l10n-2.2.0.tgz", - "integrity": "sha512-UAM2NJcl/NR46MANSF7Gr7q8/Up672zRyGrxLpN3k4URNmWQM9upkbRME+1K3T29wPrUyOIbQu710ZjvZafqFA==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@nextcloud/l10n/-/l10n-3.1.0.tgz", + "integrity": "sha512-unciqr8QSJ29vFBw9S1bquyoj1PTWHszNL8tcUNuxUAYpq0hX+8o7rpB5gimELA4sj4m9+VCJwgLtBZd1Yj0lg==", "requires": { - "@nextcloud/router": "^2.1.2", - "@nextcloud/typings": "^1.7.0", - "dompurify": "^3.0.3", + "@nextcloud/router": "^3.0.1", + "@nextcloud/typings": "^1.8.0", + "@types/dompurify": "^3.0.5", + "@types/escape-html": "^1.0.4", + "dompurify": "^3.1.2", "escape-html": "^1.0.3", "node-gettext": "^3.0.0" } @@ -18905,12 +18750,11 @@ } }, "@nextcloud/router": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@nextcloud/router/-/router-2.2.0.tgz", - "integrity": "sha512-M4AVGnB5tt3MYO5RpH/R2jq7z/nW05AmRhk4Lh68krVwRIYGo8pgNikKrPGogHd2Q3UgzF5Py1drHz3uuV99bQ==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@nextcloud/router/-/router-3.0.1.tgz", + "integrity": "sha512-Ci/uD3x8OKHdxSqXL6gRJ+mGJOEXjeiHjj7hqsZqVTsT7kOrCjDf0/J8z5RyLlokKZ0IpSe+hGxgi3YB7Gpw3Q==", "requires": { - "@nextcloud/typings": "^1.7.0", - "core-js": "^3.6.4" + "@nextcloud/typings": "^1.7.0" } }, "@nextcloud/sharing": { @@ -19010,30 +18854,6 @@ "vue-frag": "^1.4.3", "vue-router": "^3.6.5", "vue2-datepicker": "^3.11.0" - }, - "dependencies": { - "@nextcloud/l10n": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@nextcloud/l10n/-/l10n-3.1.0.tgz", - "integrity": "sha512-unciqr8QSJ29vFBw9S1bquyoj1PTWHszNL8tcUNuxUAYpq0hX+8o7rpB5gimELA4sj4m9+VCJwgLtBZd1Yj0lg==", - "requires": { - "@nextcloud/router": "^3.0.1", - "@nextcloud/typings": "^1.8.0", - "@types/dompurify": "^3.0.5", - "@types/escape-html": "^1.0.4", - "dompurify": "^3.1.2", - "escape-html": "^1.0.3", - "node-gettext": "^3.0.0" - } - }, - "@nextcloud/router": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@nextcloud/router/-/router-3.0.1.tgz", - "integrity": "sha512-Ci/uD3x8OKHdxSqXL6gRJ+mGJOEXjeiHjj7hqsZqVTsT7kOrCjDf0/J8z5RyLlokKZ0IpSe+hGxgi3YB7Gpw3Q==", - "requires": { - "@nextcloud/typings": "^1.7.0" - } - } } }, "@nextcloud/vue-select": { diff --git a/package.json b/package.json index 1f7c4591..73d42971 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "dependencies": { "@nextcloud/dialogs": "^5.3.5", "@nextcloud/initial-state": "^2.1.0", - "@nextcloud/l10n": "^2.2.0", + "@nextcloud/l10n": "^3.1.0", "@nextcloud/vue": "^8.14.0", "vue": "^2.7.16" }, From 0cc87b401aa89e8443f878d8146a09a093480f44 Mon Sep 17 00:00:00 2001 From: nextcloud-command Date: Tue, 9 Jul 2024 08:15:16 +0000 Subject: [PATCH 2/2] chore(assets): Recompile assets Signed-off-by: nextcloud-command --- js/password_policy-settings.mjs | 8 ++++---- js/password_policy-settings.mjs.map | 2 +- js/vendor.LICENSE.txt | 6 +----- 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/js/password_policy-settings.mjs b/js/password_policy-settings.mjs index 42606c81..47cc73de 100644 --- a/js/password_policy-settings.mjs +++ b/js/password_policy-settings.mjs @@ -1,6 +1,6 @@ /*! third party licenses: js/vendor.LICENSE.txt */ -var Tn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function gr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ge={};Object.defineProperty(ge,"__esModule",{value:!0}),ge.linkTo=ge.imagePath=ge.getRootUrl=ge.generateUrl=ge.generateRemoteUrl=ge.generateOcsUrl=ge.generateFilePath=void 0;const dd=(e,n)=>bs(e,"",n);ge.linkTo=dd;const cd=e=>en()+"/remote.php/"+e,md=e=>window.location.protocol+"//"+window.location.host+cd(e);ge.generateRemoteUrl=md;const pd=(e,n,s)=>{const a=Object.assign({ocsVersion:2},s||{}).ocsVersion===1?1:2;return window.location.protocol+"//"+window.location.host+en()+"/ocs/v"+a+".php"+Na(e,n,s)};ge.generateOcsUrl=pd;const Na=(e,n,s)=>{const a=Object.assign({escape:!0},s||{}),r=function(o,i){return i=i||{},o.replace(/{([^{}]*)}/g,function(l,u){var d=i[u];return a.escape?encodeURIComponent(typeof d=="string"||typeof d=="number"?d.toString():l):typeof d=="string"||typeof d=="number"?d.toString():l})};return e.charAt(0)!=="/"&&(e="/"+e),r(e,n||{})},gd=(e,n,s)=>{const a=Object.assign({noRewrite:!1},s||{});return window?.OC?.config?.modRewriteWorking===!0&&!a.noRewrite?en()+Na(e,n,s):en()+"/index.php"+Na(e,n,s)};ge.generateUrl=gd;const fd=(e,n)=>n.indexOf(".")===-1?bs(e,"img",n+".svg"):bs(e,"img",n);ge.imagePath=fd;const bs=(e,n,s)=>{const a=window?.OC?.coreApps?.indexOf(e)!==-1;let r=en();return s.substring(s.length-3)==="php"&&!a?(r+="/index.php/apps/"+e,s!=="index.php"&&(r+="/",n&&(r+=encodeURI(n+"/")),r+=s)):s.substring(s.length-3)!=="php"&&!a?(r=window?.OC?.appswebroots?.[e],n&&(r+="/"+n+"/"),r.substring(r.length-1)!=="/"&&(r+="/"),r+=s):((e==="settings"||e==="core"||e==="search")&&n==="ajax"?r+="/index.php/":r+="/",a||(r+="apps/"),e!==""&&(e+="/",r+=e),n&&(r+=n+"/"),r+=s),r};ge.generateFilePath=bs;const en=()=>window?.OC?.webroot||"";ge.getRootUrl=en;const{entries:tl,setPrototypeOf:co,isFrozen:hd,getPrototypeOf:vd,getOwnPropertyDescriptor:yd}=Object;let{freeze:he,seal:Se,create:nl}=Object,{apply:La,construct:Pa}=typeof Reflect<"u"&&Reflect;he||(he=function(e){return e}),Se||(Se=function(e){return e}),La||(La=function(e,n,s){return e.apply(n,s)}),Pa||(Pa=function(e,n){return new e(...n)});const Zn=_e(Array.prototype.forEach),mo=_e(Array.prototype.pop),gn=_e(Array.prototype.push),ps=_e(String.prototype.toLowerCase),ma=_e(String.prototype.toString),po=_e(String.prototype.match),fn=_e(String.prototype.replace),xd=_e(String.prototype.indexOf),wd=_e(String.prototype.trim),Ne=_e(Object.prototype.hasOwnProperty),pe=_e(RegExp.prototype.test),hn=Cd(TypeError);function _e(e){return function(n){for(var s=arguments.length,a=new Array(s>1?s-1:0),r=1;r2&&arguments[2]!==void 0?arguments[2]:ps;co&&co(e,null);let a=n.length;for(;a--;){let r=n[a];if(typeof r=="string"){const o=s(r);o!==r&&(hd(n)||(n[a]=o),r=o)}e[r]=!0}return e}function _d(e){for(let n=0;n/gm),Sd=Se(/\${[\w\W]*}/gm),Ad=Se(/^data-[\-\w.\u00B7-\uFFFF]/),kd=Se(/^aria-[\-\w]+$/),sl=Se(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Nd=Se(/^(?:\w+script|data):/i),Ld=Se(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),al=Se(/^html$/i),Pd=Se(/^[a-z][.\w]*(-[.\w]+)+$/i);var yo=Object.freeze({__proto__:null,MUSTACHE_EXPR:Fd,ERB_EXPR:Ed,TMPLIT_EXPR:Sd,DATA_ATTR:Ad,ARIA_ATTR:kd,IS_ALLOWED_URI:sl,IS_SCRIPT_OR_DATA:Nd,ATTR_WHITESPACE:Ld,DOCTYPE_NAME:al,CUSTOM_ELEMENT:Pd});const yn={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Bd=function(){return typeof window>"u"?null:window},Dd=function(e,n){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let s=null;const a="data-tt-policy-suffix";n&&n.hasAttribute(a)&&(s=n.getAttribute(a));const r="dompurify"+(s?"#"+s:"");try{return e.createPolicy(r,{createHTML(o){return o},createScriptURL(o){return o}})}catch{return console.warn("TrustedTypes policy "+r+" could not be created."),null}};function rl(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Bd();const n=p=>rl(p);if(n.version="3.1.6",n.removed=[],!e||!e.document||e.document.nodeType!==yn.document)return n.isSupported=!1,n;let{document:s}=e;const a=s,r=a.currentScript,{DocumentFragment:o,HTMLTemplateElement:i,Node:l,Element:u,NodeFilter:d,NamedNodeMap:c=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:f,DOMParser:h,trustedTypes:x}=e,_=u.prototype,L=vn(_,"cloneNode"),b=vn(_,"remove"),U=vn(_,"nextSibling"),S=vn(_,"childNodes"),R=vn(_,"parentNode");if(typeof i=="function"){const p=s.createElement("template");p.content&&p.content.ownerDocument&&(s=p.content.ownerDocument)}let B,G="";const{implementation:X,createNodeIterator:J,createDocumentFragment:$,getElementsByTagName:V}=s,{importNode:C}=a;let w={};n.isSupported=typeof tl=="function"&&typeof R=="function"&&X&&X.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:m,ERB_EXPR:g,TMPLIT_EXPR:y,DATA_ATTR:T,ARIA_ATTR:E,IS_SCRIPT_OR_DATA:P,ATTR_WHITESPACE:k,CUSTOM_ELEMENT:D}=yo;let{IS_ALLOWED_URI:O}=yo,A=null;const W=I({},[...go,...pa,...ga,...fa,...fo]);let z=null;const ae=I({},[...ho,...ha,...vo,...Xn]);let H=Object.seal(nl(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),le=null,ve=null,tt=!0,ke=!0,nt=!1,Gn=!0,st=!1,aa=!0,xt=!1,ra=!1,oa=!1,Ot=!1,Kn=!1,Wn=!1,Vr=!0,Gr=!1;const td="user-content-";let ia=!0,mn=!1,zt={},Rt=null;const Kr=I({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Wr=null;const Jr=I({},["audio","video","img","source","image","track"]);let la=null;const qr=I({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Jn="http://www.w3.org/1998/Math/MathML",qn="http://www.w3.org/2000/svg",je="http://www.w3.org/1999/xhtml";let jt=je,ua=!1,da=null;const nd=I({},[Jn,qn,je],ma);let pn=null;const sd=["application/xhtml+xml","text/html"],ad="text/html";let ie=null,It=null;const rd=s.createElement("form"),Yr=function(p){return p instanceof RegExp||p instanceof Function},ca=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(It&&It===p)){if((!p||typeof p!="object")&&(p={}),p=Tt(p),pn=sd.indexOf(p.PARSER_MEDIA_TYPE)===-1?ad:p.PARSER_MEDIA_TYPE,ie=pn==="application/xhtml+xml"?ma:ps,A=Ne(p,"ALLOWED_TAGS")?I({},p.ALLOWED_TAGS,ie):W,z=Ne(p,"ALLOWED_ATTR")?I({},p.ALLOWED_ATTR,ie):ae,da=Ne(p,"ALLOWED_NAMESPACES")?I({},p.ALLOWED_NAMESPACES,ma):nd,la=Ne(p,"ADD_URI_SAFE_ATTR")?I(Tt(qr),p.ADD_URI_SAFE_ATTR,ie):qr,Wr=Ne(p,"ADD_DATA_URI_TAGS")?I(Tt(Jr),p.ADD_DATA_URI_TAGS,ie):Jr,Rt=Ne(p,"FORBID_CONTENTS")?I({},p.FORBID_CONTENTS,ie):Kr,le=Ne(p,"FORBID_TAGS")?I({},p.FORBID_TAGS,ie):{},ve=Ne(p,"FORBID_ATTR")?I({},p.FORBID_ATTR,ie):{},zt=Ne(p,"USE_PROFILES")?p.USE_PROFILES:!1,tt=p.ALLOW_ARIA_ATTR!==!1,ke=p.ALLOW_DATA_ATTR!==!1,nt=p.ALLOW_UNKNOWN_PROTOCOLS||!1,Gn=p.ALLOW_SELF_CLOSE_IN_ATTR!==!1,st=p.SAFE_FOR_TEMPLATES||!1,aa=p.SAFE_FOR_XML!==!1,xt=p.WHOLE_DOCUMENT||!1,Ot=p.RETURN_DOM||!1,Kn=p.RETURN_DOM_FRAGMENT||!1,Wn=p.RETURN_TRUSTED_TYPE||!1,oa=p.FORCE_BODY||!1,Vr=p.SANITIZE_DOM!==!1,Gr=p.SANITIZE_NAMED_PROPS||!1,ia=p.KEEP_CONTENT!==!1,mn=p.IN_PLACE||!1,O=p.ALLOWED_URI_REGEXP||sl,jt=p.NAMESPACE||je,H=p.CUSTOM_ELEMENT_HANDLING||{},p.CUSTOM_ELEMENT_HANDLING&&Yr(p.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(H.tagNameCheck=p.CUSTOM_ELEMENT_HANDLING.tagNameCheck),p.CUSTOM_ELEMENT_HANDLING&&Yr(p.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(H.attributeNameCheck=p.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),p.CUSTOM_ELEMENT_HANDLING&&typeof p.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(H.allowCustomizedBuiltInElements=p.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),st&&(ke=!1),Kn&&(Ot=!0),zt&&(A=I({},fo),z=[],zt.html===!0&&(I(A,go),I(z,ho)),zt.svg===!0&&(I(A,pa),I(z,ha),I(z,Xn)),zt.svgFilters===!0&&(I(A,ga),I(z,ha),I(z,Xn)),zt.mathMl===!0&&(I(A,fa),I(z,vo),I(z,Xn))),p.ADD_TAGS&&(A===W&&(A=Tt(A)),I(A,p.ADD_TAGS,ie)),p.ADD_ATTR&&(z===ae&&(z=Tt(z)),I(z,p.ADD_ATTR,ie)),p.ADD_URI_SAFE_ATTR&&I(la,p.ADD_URI_SAFE_ATTR,ie),p.FORBID_CONTENTS&&(Rt===Kr&&(Rt=Tt(Rt)),I(Rt,p.FORBID_CONTENTS,ie)),ia&&(A["#text"]=!0),xt&&I(A,["html","head","body"]),A.table&&(I(A,["tbody"]),delete le.tbody),p.TRUSTED_TYPES_POLICY){if(typeof p.TRUSTED_TYPES_POLICY.createHTML!="function")throw hn('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof p.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw hn('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');B=p.TRUSTED_TYPES_POLICY,G=B.createHTML("")}else B===void 0&&(B=Dd(x,r)),B!==null&&typeof G=="string"&&(G=B.createHTML(""));he&&he(p),It=p}},Zr=I({},["mi","mo","mn","ms","mtext"]),Xr=I({},["foreignobject","annotation-xml"]),od=I({},["title","style","font","a","script"]),Qr=I({},[...pa,...ga,...Td]),eo=I({},[...fa,...bd]),id=function(p){let N=R(p);(!N||!N.tagName)&&(N={namespaceURI:jt,tagName:"template"});const F=ps(p.tagName),q=ps(N.tagName);return da[p.namespaceURI]?p.namespaceURI===qn?N.namespaceURI===je?F==="svg":N.namespaceURI===Jn?F==="svg"&&(q==="annotation-xml"||Zr[q]):!!Qr[F]:p.namespaceURI===Jn?N.namespaceURI===je?F==="math":N.namespaceURI===qn?F==="math"&&Xr[q]:!!eo[F]:p.namespaceURI===je?N.namespaceURI===qn&&!Xr[q]||N.namespaceURI===Jn&&!Zr[q]?!1:!eo[F]&&(od[F]||!Qr[F]):!!(pn==="application/xhtml+xml"&&da[p.namespaceURI]):!1},wt=function(p){gn(n.removed,{element:p});try{R(p).removeChild(p)}catch{b(p)}},Yn=function(p,N){try{gn(n.removed,{attribute:N.getAttributeNode(p),from:N})}catch{gn(n.removed,{attribute:null,from:N})}if(N.removeAttribute(p),p==="is"&&!z[p])if(Ot||Kn)try{wt(N)}catch{}else try{N.setAttribute(p,"")}catch{}},to=function(p){let N=null,F=null;if(oa)p=""+p;else{const oe=po(p,/^[\r\n\t ]+/);F=oe&&oe[0]}pn==="application/xhtml+xml"&&jt===je&&(p=''+p+"");const q=B?B.createHTML(p):p;if(jt===je)try{N=new h().parseFromString(q,pn)}catch{}if(!N||!N.documentElement){N=X.createDocument(jt,"template",null);try{N.documentElement.innerHTML=ua?G:q}catch{}}const ue=N.body||N.documentElement;return p&&F&&ue.insertBefore(s.createTextNode(F),ue.childNodes[0]||null),jt===je?V.call(N,xt?"html":"body")[0]:xt?N.documentElement:ue},no=function(p){return J.call(p.ownerDocument||p,p,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT|d.SHOW_PROCESSING_INSTRUCTION|d.SHOW_CDATA_SECTION,null)},so=function(p){return p instanceof f&&(typeof p.nodeName!="string"||typeof p.textContent!="string"||typeof p.removeChild!="function"||!(p.attributes instanceof c)||typeof p.removeAttribute!="function"||typeof p.setAttribute!="function"||typeof p.namespaceURI!="string"||typeof p.insertBefore!="function"||typeof p.hasChildNodes!="function")},ao=function(p){return typeof l=="function"&&p instanceof l},Ie=function(p,N,F){w[p]&&Zn(w[p],q=>{q.call(n,N,F,It)})},ro=function(p){let N=null;if(Ie("beforeSanitizeElements",p,null),so(p))return wt(p),!0;const F=ie(p.nodeName);if(Ie("uponSanitizeElement",p,{tagName:F,allowedTags:A}),p.hasChildNodes()&&!ao(p.firstElementChild)&&pe(/<[/\w]/g,p.innerHTML)&&pe(/<[/\w]/g,p.textContent)||p.nodeType===yn.progressingInstruction||aa&&p.nodeType===yn.comment&&pe(/<[/\w]/g,p.data))return wt(p),!0;if(!A[F]||le[F]){if(!le[F]&&io(F)&&(H.tagNameCheck instanceof RegExp&&pe(H.tagNameCheck,F)||H.tagNameCheck instanceof Function&&H.tagNameCheck(F)))return!1;if(ia&&!Rt[F]){const q=R(p)||p.parentNode,ue=S(p)||p.childNodes;if(ue&&q){const oe=ue.length;for(let He=oe-1;He>=0;--He){const Fe=L(ue[He],!0);Fe.__removalCount=(p.__removalCount||0)+1,q.insertBefore(Fe,U(p))}}}return wt(p),!0}return p instanceof u&&!id(p)||(F==="noscript"||F==="noembed"||F==="noframes")&&pe(/<\/no(script|embed|frames)/i,p.innerHTML)?(wt(p),!0):(st&&p.nodeType===yn.text&&(N=p.textContent,Zn([m,g,y],q=>{N=fn(N,q," ")}),p.textContent!==N&&(gn(n.removed,{element:p.cloneNode()}),p.textContent=N)),Ie("afterSanitizeElements",p,null),!1)},oo=function(p,N,F){if(Vr&&(N==="id"||N==="name")&&(F in s||F in rd))return!1;if(!(ke&&!ve[N]&&pe(T,N))&&!(tt&&pe(E,N))){if(!z[N]||ve[N]){if(!(io(p)&&(H.tagNameCheck instanceof RegExp&&pe(H.tagNameCheck,p)||H.tagNameCheck instanceof Function&&H.tagNameCheck(p))&&(H.attributeNameCheck instanceof RegExp&&pe(H.attributeNameCheck,N)||H.attributeNameCheck instanceof Function&&H.attributeNameCheck(N))||N==="is"&&H.allowCustomizedBuiltInElements&&(H.tagNameCheck instanceof RegExp&&pe(H.tagNameCheck,F)||H.tagNameCheck instanceof Function&&H.tagNameCheck(F))))return!1}else if(!la[N]&&!pe(O,fn(F,k,""))&&!((N==="src"||N==="xlink:href"||N==="href")&&p!=="script"&&xd(F,"data:")===0&&Wr[p])&&!(nt&&!pe(P,fn(F,k,"")))&&F)return!1}return!0},io=function(p){return p!=="annotation-xml"&&po(p,D)},lo=function(p){Ie("beforeSanitizeAttributes",p,null);const{attributes:N}=p;if(!N)return;const F={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:z};let q=N.length;for(;q--;){const ue=N[q],{name:oe,namespaceURI:He,value:Fe}=ue,De=ie(oe);let me=oe==="value"?Fe:wd(Fe);if(F.attrName=De,F.attrValue=me,F.keepAttr=!0,F.forceKeepAttr=void 0,Ie("uponSanitizeAttribute",p,F),me=F.attrValue,aa&&pe(/((--!?|])>)|<\/(style|title)/i,me)){Yn(oe,p);continue}if(F.forceKeepAttr||(Yn(oe,p),!F.keepAttr))continue;if(!Gn&&pe(/\/>/i,me)){Yn(oe,p);continue}st&&Zn([m,g,y],ud=>{me=fn(me,ud," ")});const uo=ie(p.nodeName);if(oo(uo,De,me)){if(Gr&&(De==="id"||De==="name")&&(Yn(oe,p),me=td+me),B&&typeof x=="object"&&typeof x.getAttributeType=="function"&&!He)switch(x.getAttributeType(uo,De)){case"TrustedHTML":{me=B.createHTML(me);break}case"TrustedScriptURL":{me=B.createScriptURL(me);break}}try{He?p.setAttributeNS(He,oe,me):p.setAttribute(oe,me),so(p)?wt(p):mo(n.removed)}catch{}}}Ie("afterSanitizeAttributes",p,null)},ld=function p(N){let F=null;const q=no(N);for(Ie("beforeSanitizeShadowDOM",N,null);F=q.nextNode();)Ie("uponSanitizeShadowNode",F,null),!ro(F)&&(F.content instanceof o&&p(F.content),lo(F));Ie("afterSanitizeShadowDOM",N,null)};return n.sanitize=function(p){let N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},F=null,q=null,ue=null,oe=null;if(ua=!p,ua&&(p=""),typeof p!="string"&&!ao(p))if(typeof p.toString=="function"){if(p=p.toString(),typeof p!="string")throw hn("dirty is not a string, aborting")}else throw hn("toString is not a function");if(!n.isSupported)return p;if(ra||ca(N),n.removed=[],typeof p=="string"&&(mn=!1),mn){if(p.nodeName){const De=ie(p.nodeName);if(!A[De]||le[De])throw hn("root node is forbidden and cannot be sanitized in-place")}}else if(p instanceof l)F=to(""),q=F.ownerDocument.importNode(p,!0),q.nodeType===yn.element&&q.nodeName==="BODY"||q.nodeName==="HTML"?F=q:F.appendChild(q);else{if(!Ot&&!st&&!xt&&p.indexOf("<")===-1)return B&&Wn?B.createHTML(p):p;if(F=to(p),!F)return Ot?null:Wn?G:""}F&&oa&&wt(F.firstChild);const He=no(mn?p:F);for(;ue=He.nextNode();)ro(ue)||(ue.content instanceof o&&ld(ue.content),lo(ue));if(mn)return p;if(Ot){if(Kn)for(oe=$.call(F.ownerDocument);F.firstChild;)oe.appendChild(F.firstChild);else oe=F;return(z.shadowroot||z.shadowrootmode)&&(oe=C.call(a,oe,!0)),oe}let Fe=xt?F.outerHTML:F.innerHTML;return xt&&A["!doctype"]&&F.ownerDocument&&F.ownerDocument.doctype&&F.ownerDocument.doctype.name&&pe(al,F.ownerDocument.doctype.name)&&(Fe=" -`+Fe),st&&Zn([m,g,y],De=>{Fe=fn(Fe,De," ")}),B&&Wn?B.createHTML(Fe):Fe},n.setConfig=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ca(p),ra=!0},n.clearConfig=function(){It=null,ra=!1},n.isValidAttribute=function(p,N,F){It||ca({});const q=ie(p),ue=ie(N);return oo(q,ue,F)},n.addHook=function(p,N){typeof N=="function"&&(w[p]=w[p]||[],gn(w[p],N))},n.removeHook=function(p){if(w[p])return mo(w[p])},n.removeHooks=function(p){w[p]&&(w[p]=[])},n.removeAllHooks=function(){w={}},n}var $d=rl(),Ud=/["'&<>]/,Md=Od;function Od(e){var n=""+e,s=Ud.exec(n);if(!s)return n;var a,r="",o=0,i=0;for(o=s.index;oo}}function jd(e,n,s,a,r){const o=Object.assign({},{escape:!0,sanitize:!0},r||{}),i=f=>f,l=o.sanitize?$d.sanitize:i,u=o.escape?zd:i,d=(f,h,x)=>f.replace(/%n/g,""+x).replace(/{([^{}]*)}/g,(_,L)=>{if(h===void 0||!(L in h))return l(_);const b=h[L];return l(typeof b=="string"||typeof b=="number"?u(b):_)});let c=Rd(e).translations[n]||n;return c=Array.isArray(c)?c[0]:c,l(typeof s=="object"||a!==void 0?d(c,s,a):c)}const tn=globalThis||void 0||self;var Id={},ye=Object.freeze({}),j=Array.isArray;function M(e){return e==null}function v(e){return e!=null}function ne(e){return e===!0}function Hd(e){return e===!1}function Rn(e){return typeof e=="string"||typeof e=="number"||typeof e=="symbol"||typeof e=="boolean"}function Z(e){return typeof e=="function"}function ce(e){return e!==null&&typeof e=="object"}var fr=Object.prototype.toString;function Te(e){return fr.call(e)==="[object Object]"}function Vd(e){return fr.call(e)==="[object RegExp]"}function ol(e){var n=parseFloat(String(e));return n>=0&&Math.floor(n)===n&&isFinite(e)}function Ba(e){return v(e)&&typeof e.then=="function"&&typeof e.catch=="function"}function Gd(e){return e==null?"":Array.isArray(e)||Te(e)&&e.toString===fr?JSON.stringify(e,Kd,2):String(e)}function Kd(e,n){return n&&n.__v_isRef?n.value:n}function Bn(e){var n=parseFloat(e);return isNaN(n)?e:n}function Be(e,n){for(var s=Object.create(null),a=e.split(","),r=0;r-1)return e.splice(a,1)}}var Jd=Object.prototype.hasOwnProperty;function fe(e,n){return Jd.call(e,n)}function Mt(e){var n=Object.create(null);return function(s){var a=n[s];return a||(n[s]=e(s))}}var qd=/-(\w)/g,Lt=Mt(function(e){return e.replace(qd,function(n,s){return s?s.toUpperCase():""})}),Yd=Mt(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),Zd=/\B([A-Z])/g,jn=Mt(function(e){return e.replace(Zd,"-$1").toLowerCase()});function Xd(e,n){function s(a){var r=arguments.length;return r?r>1?e.apply(n,arguments):e.call(n,a):e.call(n)}return s._length=e.length,s}function Qd(e,n){return e.bind(n)}var il=Function.prototype.bind?Qd:Xd;function Da(e,n){n=n||0;for(var s=e.length-n,a=new Array(s);s--;)a[s]=e[s+n];return a}function Q(e,n){for(var s in n)e[s]=n[s];return e}function ll(e){for(var n={},s=0;s0,pl=Ae&&Ae.indexOf("edge/")>0;Ae&&Ae.indexOf("android")>0;var ac=Ae&&/iphone|ipad|ipod|ios/.test(Ae),wo=Ae&&Ae.match(/firefox\/(\d+)/),Ua={}.watch,gl=!1;if(Ce)try{var Co={};Object.defineProperty(Co,"passive",{get:function(){gl=!0}}),window.addEventListener("test-passive",null,Co)}catch{}var es,ht=function(){return es===void 0&&(!Ce&&typeof tn<"u"?es=tn.process&&Id.VUE_ENV==="server":es=!1),es},Es=Ce&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function Zt(e){return typeof e=="function"&&/native code/.test(e.toString())}var In=typeof Symbol<"u"&&Zt(Symbol)&&typeof Reflect<"u"&&Zt(Reflect.ownKeys),Dn;typeof Set<"u"&&Zt(Set)?Dn=Set:Dn=function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(n){return this.set[n]===!0},e.prototype.add=function(n){this.set[n]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ze=null;function mt(e){e===void 0&&(e=null),e||ze&&ze._scope.off(),ze=e,e&&e._scope.on()}var be=function(){function e(n,s,a,r,o,i,l,u){this.tag=n,this.data=s,this.children=a,this.text=r,this.elm=o,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=s&&s.key,this.componentOptions=l,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}(),nn=function(e){e===void 0&&(e="");var n=new be;return n.text=e,n.isComment=!0,n};function Wt(e){return new be(void 0,void 0,void 0,String(e))}function Ma(e){var n=new be(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return n.ns=e.ns,n.isStatic=e.isStatic,n.key=e.key,n.isComment=e.isComment,n.fnContext=e.fnContext,n.fnOptions=e.fnOptions,n.fnScopeId=e.fnScopeId,n.asyncMeta=e.asyncMeta,n.isCloned=!0,n}var rc=0,gs=[],oc=function(){for(var e=0;e0&&(r=bl(r,"".concat(n||"","_").concat(a)),xn(r[0])&&xn(i)&&(s[o]=Wt(i.text+r[0].text),r.shift()),s.push.apply(s,r)):Rn(r)?xn(i)?s[o]=Wt(i.text+r):r!==""&&s.push(Wt(r)):xn(r)&&xn(i)?s[o]=Wt(i.text+r.text):(ne(e._isVList)&&v(r.tag)&&M(r.key)&&v(n)&&(r.key="__vlist".concat(n,"_").concat(a,"__")),s.push(r)));return s}function Cc(e,n){var s=null,a,r,o,i;if(j(e)||typeof e=="string")for(s=new Array(e.length),a=0,r=e.length;a0,i=n?!!n.$stable:!o,l=n&&n.$key;if(!n)r={};else{if(n._normalized)return n._normalized;if(i&&a&&a!==ye&&l===a.$key&&!o&&!a.$hasNormal)return a;r={};for(var u in n)n[u]&&u[0]!=="$"&&(r[u]=Pc(e,s,u,n[u]))}for(var d in s)d in r||(r[d]=Bc(s,d));return n&&Object.isExtensible(n)&&(n._normalized=r),we(r,"$stable",i),we(r,"$key",l),we(r,"$hasNormal",o),r}function Pc(e,n,s,a){var r=function(){var o=ze;mt(e);var i=arguments.length?a.apply(null,arguments):a({});i=i&&typeof i=="object"&&!j(i)?[i]:yr(i);var l=i&&i[0];return mt(o),i&&(!l||i.length===1&&l.isComment&&!$n(l))?void 0:i};return a.proxy&&Object.defineProperty(n,s,{get:r,enumerable:!0,configurable:!0}),r}function Bc(e,n){return function(){return e[n]}}function Dc(e){var n=e.$options,s=n.setup;if(s){var a=e._setupContext=$c(e);mt(e),un();var r=Ze(s,null,[e._props||xl({}),a],e,"setup");if(dn(),mt(),Z(r))n.render=r;else if(ce(r))if(e._setupState=r,r.__sfc){var o=e._setupProxy={};for(var i in r)i!=="__sfc"&&Oa(o,r,i)}else for(var i in r)ml(i)||Oa(e,r,i)}}function $c(e){return{get attrs(){if(!e._attrsProxy){var n=e._attrsProxy={};we(n,"_v_attr_proxy",!0),As(n,e.$attrs,ye,e,"$attrs")}return e._attrsProxy},get listeners(){if(!e._listenersProxy){var n=e._listenersProxy={};As(n,e.$listeners,ye,e,"$listeners")}return e._listenersProxy},get slots(){return Mc(e)},emit:il(e.$emit,e),expose:function(n){n&&Object.keys(n).forEach(function(s){return Oa(e,n,s)})}}}function As(e,n,s,a,r){var o=!1;for(var i in n)i in e?n[i]!==s[i]&&(o=!0):(o=!0,Uc(e,i,a,r));for(var i in e)i in n||(o=!0,delete e[i]);return o}function Uc(e,n,s,a){Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:function(){return s[a][n]}})}function Mc(e){return e._slotsProxy||Al(e._slotsProxy={},e.$scopedSlots),e._slotsProxy}function Al(e,n){for(var s in n)e[s]=n[s];for(var s in e)s in n||delete e[s]}function Oc(e){e._vnode=null,e._staticTrees=null;var n=e.$options,s=e.$vnode=n._parentVnode,a=s&&s.context;e.$slots=xr(n._renderChildren,a),e.$scopedSlots=s?En(e.$parent,s.data.scopedSlots,e.$slots):ye,e._c=function(o,i,l,u){return ks(e,o,i,l,u,!1)},e.$createElement=function(o,i,l,u){return ks(e,o,i,l,u,!0)};var r=s&&s.data;gt(e,"$attrs",r&&r.attrs||ye,null,!0),gt(e,"$listeners",n._parentListeners||ye,null,!0)}var vs=null;function zc(e){Sl(e.prototype),e.prototype.$nextTick=function(n){return wr(n,this)},e.prototype._render=function(){var n=this,s=n.$options,a=s.render,r=s._parentVnode;r&&n._isMounted&&(n.$scopedSlots=En(n.$parent,r.data.scopedSlots,n.$slots,n.$scopedSlots),n._slotsProxy&&Al(n._slotsProxy,n.$scopedSlots)),n.$vnode=r;var o=ze,i=vs,l;try{mt(n),vs=n,l=a.call(n._renderProxy,n.$createElement)}catch(u){Bt(u,n,"render"),l=n._vnode}finally{vs=i,mt(o)}return j(l)&&l.length===1&&(l=l[0]),l instanceof be||(l=nn()),l.parent=r,l}}function va(e,n){return(e.__esModule||In&&e[Symbol.toStringTag]==="Module")&&(e=e.default),ce(e)?n.extend(e):e}function Rc(e,n,s,a,r){var o=nn();return o.asyncFactory=e,o.asyncMeta={data:n,context:s,children:a,tag:r},o}function jc(e,n){if(ne(e.error)&&v(e.errorComp))return e.errorComp;if(v(e.resolved))return e.resolved;var s=vs;if(s&&v(e.owners)&&e.owners.indexOf(s)===-1&&e.owners.push(s),ne(e.loading)&&v(e.loadingComp))return e.loadingComp;if(s&&!v(e.owners)){var a=e.owners=[s],r=!0,o=null,i=null;s.$on("hook:destroyed",function(){return ft(a,s)});var l=function(f){for(var h=0,x=a.length;h1?Da(r):r;for(var o=Da(arguments,1),i='event handler for "'.concat(s,'"'),l=0,u=r.length;ldocument.createEvent("Event").timeStamp&&(Va=function(){return ya.now()})}var rm=function(e,n){if(e.post){if(!n.post)return 1}else if(n.post)return-1;return e.id-n.id};function om(){Ul=Va(),Tr=!0;var e,n;for(Ke.sort(rm),Jt=0;JtJt&&Ke[s].id>e.id;)s--;Ke.splice(s+1,0,e)}Ha||(Ha=!0,wr(om))}}function dm(e){var n=e.$options.provide;if(n){var s=Z(n)?n.call(e):n;if(!ce(s))return;for(var a=yc(e),r=In?Reflect.ownKeys(s):Object.keys(s),o=0;o-1){if(o&&!fe(r,"default"))i=!1;else if(i===""||i===jn(e)){var u=Ho(String,r.type);(u<0||l-1)return this;var a=Da(arguments,1);return a.unshift(this),Z(n.install)?n.install.apply(n,a):Z(n)&&n.apply(null,a),s.push(n),this}}function jm(e){e.mixin=function(n){return this.options=Dt(this.options,n),this}}function Im(e){e.cid=0;var n=1;e.extend=function(s){s=s||{};var a=this,r=a.cid,o=s._Ctor||(s._Ctor={});if(o[r])return o[r];var i=Ls(s)||Ls(a.options),l=function(u){this._init(u)};return l.prototype=Object.create(a.prototype),l.prototype.constructor=l,l.cid=n++,l.options=Dt(a.options,s),l.super=a,l.options.props&&Hm(l),l.options.computed&&Vm(l),l.extend=a.extend,l.mixin=a.mixin,l.use=a.use,Ks.forEach(function(u){l[u]=a[u]}),i&&(l.options.components[i]=l),l.superOptions=a.options,l.extendOptions=s,l.sealedOptions=Q({},l.options),o[r]=l,l}}function Hm(e){var n=e.options.props;for(var s in n)Sr(e.prototype,"_props",s)}function Vm(e){var n=e.options.computed;for(var s in n)Ol(e.prototype,s,n[s])}function Gm(e){Ks.forEach(function(n){e[n]=function(s,a){return a?(n==="component"&&Te(a)&&(a.name=a.name||s,a=this.options._base.extend(a)),n==="directive"&&Z(a)&&(a={bind:a,update:a}),this.options[n+"s"][s]=a,a):this.options[n+"s"][s]}})}function Ko(e){return e&&(Ls(e.Ctor.options)||e.tag)}function ss(e,n){return j(e)?e.indexOf(n)>-1:typeof e=="string"?e.split(",").indexOf(n)>-1:Vd(e)?e.test(n):!1}function Wo(e,n){var s=e.cache,a=e.keys,r=e._vnode,o=e.$vnode;for(var i in s){var l=s[i];if(l){var u=l.name;u&&!n(u)&&Ja(s,i,a,r)}}o.componentOptions.children=void 0}function Ja(e,n,s,a){var r=e[n];r&&(!a||r.tag!==a.tag)&&r.componentInstance.$destroy(),e[n]=null,ft(s,n)}var Jo=[String,RegExp,Array],Km={name:"keep-alive",abstract:!0,props:{include:Jo,exclude:Jo,max:[String,Number]},methods:{cacheVNode:function(){var e=this,n=e.cache,s=e.keys,a=e.vnodeToCache,r=e.keyToCache;if(a){var o=a.tag,i=a.componentInstance,l=a.componentOptions;n[r]={name:Ko(l),tag:o,componentInstance:i},s.push(r),this.max&&s.length>parseInt(this.max)&&Ja(n,s[0],s,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Ja(this.cache,e,this.keys)},mounted:function(){var e=this;this.cacheVNode(),this.$watch("include",function(n){Wo(e,function(s){return ss(n,s)})}),this.$watch("exclude",function(n){Wo(e,function(s){return!ss(n,s)})})},updated:function(){this.cacheVNode()},render:function(){var e=this.$slots.default,n=kl(e),s=n&&n.componentOptions;if(s){var a=Ko(s),r=this,o=r.include,i=r.exclude;if(o&&(!a||!ss(o,a))||i&&a&&ss(i,a))return n;var l=this,u=l.cache,d=l.keys,c=n.key==null?s.Ctor.cid+(s.tag?"::".concat(s.tag):""):n.key;u[c]?(n.componentInstance=u[c].componentInstance,ft(d,c),d.push(c)):(this.vnodeToCache=n,this.keyToCache=c),n.data.keepAlive=!0}return n||e&&e[0]}},Wm={KeepAlive:Km};function Jm(e){var n={};n.get=function(){return Ee},Object.defineProperty(e,"config",n),e.util={warn:vm,extend:Q,mergeOptions:Dt,defineReactive:gt},e.set=vr,e.delete=vl,e.nextTick=wr,e.observable=function(s){return Ye(s),s},e.options=Object.create(null),Ks.forEach(function(s){e.options[s+"s"]=Object.create(null)}),e.options._base=e,Q(e.options.components,Wm),Rm(e),jm(e),Im(e),Gm(e)}Jm(Y),Object.defineProperty(Y.prototype,"$isServer",{get:ht}),Object.defineProperty(Y.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Y,"FunctionalRenderContext",{value:br}),Y.version=Wc;var qm=Be("style,class"),Ym=Be("input,textarea,option,select,progress"),Zm=function(e,n,s){return s==="value"&&Ym(e)&&n!=="button"||s==="selected"&&e==="option"||s==="checked"&&e==="input"||s==="muted"&&e==="video"},zl=Be("contenteditable,draggable,spellcheck"),Xm=Be("events,caret,typing,plaintext-only"),Qm=function(e,n){return Bs(n)||n==="false"?"false":e==="contenteditable"&&Xm(n)?n:"true"},ep=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"),qa="http://www.w3.org/1999/xlink",kr=function(e){return e.charAt(5)===":"&&e.slice(0,5)==="xlink"},Rl=function(e){return kr(e)?e.slice(6,e.length):""},Bs=function(e){return e==null||e===!1};function tp(e){for(var n=e.data,s=e,a=e;v(a.componentInstance);)a=a.componentInstance._vnode,a&&a.data&&(n=qo(a.data,n));for(;v(s=s.parent);)s&&s.data&&(n=qo(n,s.data));return np(n.staticClass,n.class)}function qo(e,n){return{staticClass:Nr(e.staticClass,n.staticClass),class:v(e.class)?[e.class,n.class]:n.class}}function np(e,n){return v(e)||v(n)?Nr(e,Lr(n)):""}function Nr(e,n){return e?n?e+" "+n:e:n||""}function Lr(e){return Array.isArray(e)?sp(e):ce(e)?ap(e):typeof e=="string"?e:""}function sp(e){for(var n="",s,a=0,r=e.length;a-1?as[e]=n.constructor===window.HTMLUnknownElement||n.constructor===window.HTMLElement:as[e]=/HTMLUnknownElement/.test(n.toString())}var Ya=Be("text,number,password,search,email,tel,url");function up(e){if(typeof e=="string"){var n=document.querySelector(e);return n||document.createElement("div")}else return e}function dp(e,n){var s=document.createElement(e);return e!=="select"||n.data&&n.data.attrs&&n.data.attrs.multiple!==void 0&&s.setAttribute("multiple","multiple"),s}function cp(e,n){return document.createElementNS(rp[e],n)}function mp(e){return document.createTextNode(e)}function pp(e){return document.createComment(e)}function gp(e,n,s){e.insertBefore(n,s)}function fp(e,n){e.removeChild(n)}function hp(e,n){e.appendChild(n)}function vp(e){return e.parentNode}function yp(e){return e.nextSibling}function xp(e){return e.tagName}function wp(e,n){e.textContent=n}function Cp(e,n){e.setAttribute(n,"")}var _p=Object.freeze({__proto__:null,createElement:dp,createElementNS:cp,createTextNode:mp,createComment:pp,insertBefore:gp,removeChild:fp,appendChild:hp,parentNode:vp,nextSibling:yp,tagName:xp,setTextContent:wp,setStyleScope:Cp}),Tp={create:function(e,n){qt(n)},update:function(e,n){e.data.ref!==n.data.ref&&(qt(e,!0),qt(n))},destroy:function(e){qt(e,!0)}};function qt(e,n){var s=e.data.ref;if(v(s)){var a=e.context,r=e.componentInstance||e.elm,o=n?null:r,i=n?void 0:r;if(Z(s)){Ze(s,a,[o],a,"template ref function");return}var l=e.data.refInFor,u=typeof s=="string"||typeof s=="number",d=xe(s),c=a.$refs;if(u||d){if(l){var f=u?c[s]:s.value;n?j(f)&&ft(f,r):j(f)?f.includes(r)||f.push(r):u?(c[s]=[r],Yo(a,s,c[s])):s.value=[r]}else if(u){if(n&&c[s]!==r)return;c[s]=i,Yo(a,s,o)}else if(d){if(n&&s.value!==r)return;s.value=o}}}}function Yo(e,n,s){var a=e._setupState;a&&fe(a,n)&&(xe(a[n])?a[n].value=s:a[n]=s)}var dt=new be("",{},[]),wn=["create","activate","update","remove","destroy"];function Ct(e,n){return e.key===n.key&&e.asyncFactory===n.asyncFactory&&(e.tag===n.tag&&e.isComment===n.isComment&&v(e.data)===v(n.data)&&bp(e,n)||ne(e.isAsyncPlaceholder)&&M(n.asyncFactory.error))}function bp(e,n){if(e.tag!=="input")return!0;var s,a=v(s=e.data)&&v(s=s.attrs)&&s.type,r=v(s=n.data)&&v(s=s.attrs)&&s.type;return a===r||Ya(a)&&Ya(r)}function Fp(e,n,s){var a,r,o={};for(a=n;a<=s;++a)r=e[a].key,v(r)&&(o[r]=a);return o}function Ep(e){var n,s,a={},r=e.modules,o=e.nodeOps;for(n=0;nD?(tt=M(y[W+1])?null:y[W+1].elm,S(m,tt,y,k,W,T)):k>W&&B(g,P,D)}function J(m,g,y,T){for(var E=y;E-1?ei(e,n,s):ep(n)?Bs(s)?e.removeAttribute(n):(s=n==="allowfullscreen"&&e.tagName==="EMBED"?"true":n,e.setAttribute(n,s)):zl(n)?e.setAttribute(n,Qm(n,s)):kr(n)?Bs(s)?e.removeAttributeNS(qa,Rl(n)):e.setAttributeNS(qa,n,s):ei(e,n,s)}function ei(e,n,s){if(Bs(s))e.removeAttribute(n);else{if(on&&!ln&&e.tagName==="TEXTAREA"&&n==="placeholder"&&s!==""&&!e.__ieph){var a=function(r){r.stopImmediatePropagation(),e.removeEventListener("input",a)};e.addEventListener("input",a),e.__ieph=!0}e.setAttribute(n,s)}}var Pp={create:Xo,update:Xo};function ti(e,n){var s=n.elm,a=n.data,r=e.data;if(!(M(a.staticClass)&&M(a.class)&&(M(r)||M(r.staticClass)&&M(r.class)))){var o=tp(n),i=s._transitionClasses;v(i)&&(o=Nr(o,Lr(i))),o!==s._prevClass&&(s.setAttribute("class",o),s._prevClass=o)}}var Bp={create:ti,update:ti},wa="__r",Ca="__c";function Dp(e){if(v(e[wa])){var n=on?"change":"input";e[n]=[].concat(e[wa],e[n]||[]),delete e[wa]}v(e[Ca])&&(e.change=[].concat(e[Ca],e.change||[]),delete e[Ca])}var On;function $p(e,n,s){var a=On;return function r(){var o=n.apply(null,arguments);o!==null&&Il(e,r,s,a)}}var Up=Ra&&!(wo&&Number(wo[1])<=53);function Mp(e,n,s,a){if(Up){var r=Ul,o=n;n=o._wrapper=function(i){if(i.target===i.currentTarget||i.timeStamp>=r||i.timeStamp<=0||i.target.ownerDocument!==document)return o.apply(this,arguments)}}On.addEventListener(e,n,gl?{capture:s,passive:a}:s)}function Il(e,n,s,a){(a||On).removeEventListener(e,n._wrapper||n,s)}function _a(e,n){if(!(M(e.data.on)&&M(n.data.on))){var s=n.data.on||{},a=e.data.on||{};On=n.elm||e.elm,Dp(s),Tl(s,a,Mp,Il,$p,n.context),On=void 0}}var Op={create:_a,update:_a,destroy:function(e){return _a(e,dt)}},rs;function ni(e,n){if(!(M(e.data.domProps)&&M(n.data.domProps))){var s,a,r=n.elm,o=e.data.domProps||{},i=n.data.domProps||{};(v(i.__ob__)||ne(i._v_attr_proxy))&&(i=n.data.domProps=Q({},i));for(s in o)s in i||(r[s]="");for(s in i){if(a=i[s],s==="textContent"||s==="innerHTML"){if(n.children&&(n.children.length=0),a===o[s])continue;r.childNodes.length===1&&r.removeChild(r.childNodes[0])}if(s==="value"&&r.tagName!=="PROGRESS"){r._value=a;var l=M(a)?"":String(a);zp(r,l)&&(r.value=l)}else if(s==="innerHTML"&&Pr(r.tagName)&&M(r.innerHTML)){rs=rs||document.createElement("div"),rs.innerHTML="".concat(a,"");for(var u=rs.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;u.firstChild;)r.appendChild(u.firstChild)}else if(a!==o[s])try{r[s]=a}catch{}}}}function zp(e,n){return!e.composing&&(e.tagName==="OPTION"||Rp(e,n)||jp(e,n))}function Rp(e,n){var s=!0;try{s=document.activeElement!==e}catch{}return s&&e.value!==n}function jp(e,n){var s=e.value,a=e._vModifiers;if(v(a)){if(a.number)return Bn(s)!==Bn(n);if(a.trim)return s.trim()!==n.trim()}return s!==n}var Ip={create:ni,update:ni},Hp=Mt(function(e){var n={},s=/;(?![^(]*\))/g,a=/:(.+)/;return e.split(s).forEach(function(r){if(r){var o=r.split(a);o.length>1&&(n[o[0].trim()]=o[1].trim())}}),n});function Ta(e){var n=Hl(e.style);return e.staticStyle?Q(e.staticStyle,n):n}function Hl(e){return Array.isArray(e)?ll(e):typeof e=="string"?Hp(e):e}function Vp(e,n){var s={},a;if(n)for(var r=e;r.componentInstance;)r=r.componentInstance._vnode,r&&r.data&&(a=Ta(r.data))&&Q(s,a);(a=Ta(e.data))&&Q(s,a);for(var o=e;o=o.parent;)o.data&&(a=Ta(o.data))&&Q(s,a);return s}var Gp=/^--/,si=/\s*!important$/,ai=function(e,n,s){if(Gp.test(n))e.style.setProperty(n,s);else if(si.test(s))e.style.setProperty(jn(n),s.replace(si,""),"important");else{var a=Kp(n);if(Array.isArray(s))for(var r=0,o=s.length;r-1?n.split(Vl).forEach(function(a){return e.classList.add(a)}):e.classList.add(n);else{var s=" ".concat(e.getAttribute("class")||""," ");s.indexOf(" "+n+" ")<0&&e.setAttribute("class",(s+n).trim())}}function Kl(e,n){if(!(!n||!(n=n.trim())))if(e.classList)n.indexOf(" ")>-1?n.split(Vl).forEach(function(r){return e.classList.remove(r)}):e.classList.remove(n),e.classList.length||e.removeAttribute("class");else{for(var s=" ".concat(e.getAttribute("class")||""," "),a=" "+n+" ";s.indexOf(a)>=0;)s=s.replace(a," ");s=s.trim(),s?e.setAttribute("class",s):e.removeAttribute("class")}}function Wl(e){if(e){if(typeof e=="object"){var n={};return e.css!==!1&&Q(n,ii(e.name||"v")),Q(n,e),n}else if(typeof e=="string")return ii(e)}}var ii=Mt(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")}}),Jl=Ce&&!ln,Vt="transition",ba="animation",xs="transition",Ds="transitionend",Za="animation",ql="animationend";Jl&&(window.ontransitionend===void 0&&window.onwebkittransitionend!==void 0&&(xs="WebkitTransition",Ds="webkitTransitionEnd"),window.onanimationend===void 0&&window.onwebkitanimationend!==void 0&&(Za="WebkitAnimation",ql="webkitAnimationEnd"));var li=Ce?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Yl(e){li(function(){li(e)})}function Nt(e,n){var s=e._transitionClasses||(e._transitionClasses=[]);s.indexOf(n)<0&&(s.push(n),Gl(e,n))}function We(e,n){e._transitionClasses&&ft(e._transitionClasses,n),Kl(e,n)}function Zl(e,n,s){var a=Xl(e,n),r=a.type,o=a.timeout,i=a.propCount;if(!r)return s();var l=r===Vt?Ds:ql,u=0,d=function(){e.removeEventListener(l,c),s()},c=function(f){f.target===e&&++u>=i&&d()};setTimeout(function(){u0&&(d=Vt,c=o,f=r.length):n===ba?u>0&&(d=ba,c=u,f=l.length):(c=Math.max(o,u),d=c>0?o>u?Vt:ba:null,f=d?d===Vt?r.length:l.length:0);var h=d===Vt&&Jp.test(s[xs+"Property"]);return{type:d,timeout:c,propCount:f,hasTransform:h}}function ui(e,n){for(;e.length1}function ci(e,n){n.data.show!==!0&&Xa(n)}var qp=Ce?{create:ci,activate:ci,remove:function(e,n){e.data.show!==!0?Ql(e,n):n()}}:{},Yp=[Pp,Bp,Op,Ip,Wp,qp],Zp=Yp.concat(Lp),Xp=Ep({nodeOps:_p,modules:Zp});ln&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&Dr(e,"input")});var tu={inserted:function(e,n,s,a){s.tag==="select"?(a.elm&&!a.elm._vOptions?ut(s,"postpatch",function(){tu.componentUpdated(e,n,s)}):mi(e,n,s.context),e._vOptions=[].map.call(e.options,$s)):(s.tag==="textarea"||Ya(e.type))&&(e._vModifiers=n.modifiers,n.modifiers.lazy||(e.addEventListener("compositionstart",Qp),e.addEventListener("compositionend",fi),e.addEventListener("change",fi),ln&&(e.vmodel=!0)))},componentUpdated:function(e,n,s){if(s.tag==="select"){mi(e,n,s.context);var a=e._vOptions,r=e._vOptions=[].map.call(e.options,$s);if(r.some(function(i,l){return!Pt(i,a[l])})){var o=e.multiple?n.value.some(function(i){return gi(i,r)}):n.value!==n.oldValue&&gi(n.value,r);o&&Dr(e,"change")}}}};function mi(e,n,s){pi(e,n),(on||pl)&&setTimeout(function(){pi(e,n)},0)}function pi(e,n,s){var a=n.value,r=e.multiple;if(!(r&&!Array.isArray(a))){for(var o,i,l=0,u=e.options.length;l-1,i.selected!==o&&(i.selected=o);else if(Pt($s(i),a)){e.selectedIndex!==l&&(e.selectedIndex=l);return}r||(e.selectedIndex=-1)}}function gi(e,n){return n.every(function(s){return!Pt(s,e)})}function $s(e){return"_value"in e?e._value:e.value}function Qp(e){e.target.composing=!0}function fi(e){e.target.composing&&(e.target.composing=!1,Dr(e.target,"input"))}function Dr(e,n){var s=document.createEvent("HTMLEvents");s.initEvent(n,!0,!0),e.dispatchEvent(s)}function Qa(e){return e.componentInstance&&(!e.data||!e.data.transition)?Qa(e.componentInstance._vnode):e}var e0={bind:function(e,n,s){var a=n.value;s=Qa(s);var r=s.data&&s.data.transition,o=e.__vOriginalDisplay=e.style.display==="none"?"":e.style.display;a&&r?(s.data.show=!0,Xa(s,function(){e.style.display=o})):e.style.display=a?o:"none"},update:function(e,n,s){var a=n.value,r=n.oldValue;if(!a!=!r){s=Qa(s);var o=s.data&&s.data.transition;o?(s.data.show=!0,a?Xa(s,function(){e.style.display=e.__vOriginalDisplay}):Ql(s,function(){e.style.display="none"})):e.style.display=a?e.__vOriginalDisplay:"none"}},unbind:function(e,n,s,a,r){r||(e.style.display=e.__vOriginalDisplay)}},t0={model:tu,show:e0},nu={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 er(e){var n=e&&e.componentOptions;return n&&n.Ctor.options.abstract?er(kl(n.children)):e}function su(e){var n={},s=e.$options;for(var a in s.propsData)n[a]=e[a];var r=s._parentListeners;for(var a in r)n[Lt(a)]=r[a];return n}function hi(e,n){if(/\d-keep-alive$/.test(n.tag))return e("keep-alive",{props:n.componentOptions.propsData})}function n0(e){for(;e=e.parent;)if(e.data.transition)return!0}function s0(e,n){return n.key===e.key&&n.tag===e.tag}var a0=function(e){return e.tag||$n(e)},r0=function(e){return e.name==="show"},o0={name:"transition",props:nu,abstract:!0,render:function(e){var n=this,s=this.$slots.default;if(s&&(s=s.filter(a0),!!s.length)){var a=this.mode,r=s[0];if(n0(this.$vnode))return r;var o=er(r);if(!o)return r;if(this._leaving)return hi(e,r);var i="__transition-".concat(this._uid,"-");o.key=o.key==null?o.isComment?i+"comment":i+o.tag:Rn(o.key)?String(o.key).indexOf(i)===0?o.key:i+o.key:o.key;var l=(o.data||(o.data={})).transition=su(this),u=this._vnode,d=er(u);if(o.data.directives&&o.data.directives.some(r0)&&(o.data.show=!0),d&&d.data&&!s0(o,d)&&!$n(d)&&!(d.componentInstance&&d.componentInstance._vnode.isComment)){var c=d.data.transition=Q({},l);if(a==="out-in")return this._leaving=!0,ut(c,"afterLeave",function(){n._leaving=!1,n.$forceUpdate()}),hi(e,r);if(a==="in-out"){if($n(o))return u;var f,h=function(){f()};ut(l,"afterEnter",h),ut(l,"enterCancelled",h),ut(c,"delayLeave",function(x){f=x})}}return r}}},au=Q({tag:String,moveClass:String},nu);delete au.mode;var i0={props:au,beforeMount:function(){var e=this,n=this._update;this._update=function(s,a){var r=Bl(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,r(),n.call(e,s,a)}},render:function(e){for(var n=this.tag||this.$vnode.data.tag||"span",s=Object.create(null),a=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],i=su(this),l=0;l1)for(var s=1;s2){var u=s.lastIndexOf("/");if(u!==s.length-1){u===-1?(s="",a=0):(s=s.slice(0,u),a=s.length-1-s.lastIndexOf("/")),r=l,o=0;continue}}else if(s.length===2||s.length===1){s="",a=0,r=l,o=0;continue}}n&&(s.length>0?s+="/..":s="..",a=2)}else s.length>0?s+="/"+e.slice(r+1,l):s=e.slice(r+1,l),a=l-r-1;r=l,o=0}else i===46&&o!==-1?++o:o=-1}return s}function v0(e,n){var s=n.dir||n.root,a=n.base||(n.name||"")+(n.ext||"");return s?s===n.root?s+a:s+e+a:a}var Sn={resolve:function(){for(var e="",n=!1,s,a=arguments.length-1;a>=-1&&!n;a--){var r;a>=0?r=arguments[a]:(s===void 0&&(s=h0.cwd()),r=s),$e(r),r.length!==0&&(e=r+"/"+e,n=r.charCodeAt(0)===47)}return e=vi(e,!n),n?e.length>0?"/"+e:"/":e.length>0?e:"."},normalize:function(e){if($e(e),e.length===0)return".";var n=e.charCodeAt(0)===47,s=e.charCodeAt(e.length-1)===47;return e=vi(e,!n),e.length===0&&!n&&(e="."),e.length>0&&s&&(e+="/"),n?"/"+e:e},isAbsolute:function(e){return $e(e),e.length>0&&e.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var e,n=0;n0&&(e===void 0?e=s:e+="/"+s)}return e===void 0?".":Sn.normalize(e)},relative:function(e,n){if($e(e),$e(n),e===n||(e=Sn.resolve(e),n=Sn.resolve(n),e===n))return"";for(var s=1;su){if(n.charCodeAt(o+c)===47)return n.slice(o+c+1);if(c===0)return n.slice(o+c)}else r>u&&(e.charCodeAt(s+c)===47?d=c:c===0&&(d=0));break}var f=e.charCodeAt(s+c),h=n.charCodeAt(o+c);if(f!==h)break;f===47&&(d=c)}var x="";for(c=s+d+1;c<=a;++c)(c===a||e.charCodeAt(c)===47)&&(x.length===0?x+="..":x+="/..");return x.length>0?x+n.slice(o+d):(o+=d,n.charCodeAt(o)===47&&++o,n.slice(o))},_makeLong:function(e){return e},dirname:function(e){if($e(e),e.length===0)return".";for(var n=e.charCodeAt(0),s=n===47,a=-1,r=!0,o=e.length-1;o>=1;--o)if(n=e.charCodeAt(o),n===47){if(!r){a=o;break}}else r=!1;return a===-1?s?"/":".":s&&a===1?"//":e.slice(0,a)},basename:function(e,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');$e(e);var s=0,a=-1,r=!0,o;if(n!==void 0&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var i=n.length-1,l=-1;for(o=e.length-1;o>=0;--o){var u=e.charCodeAt(o);if(u===47){if(!r){s=o+1;break}}else l===-1&&(r=!1,l=o+1),i>=0&&(u===n.charCodeAt(i)?--i===-1&&(a=o):(i=-1,a=l))}return s===a?a=l:a===-1&&(a=e.length),e.slice(s,a)}else{for(o=e.length-1;o>=0;--o)if(e.charCodeAt(o)===47){if(!r){s=o+1;break}}else a===-1&&(r=!1,a=o+1);return a===-1?"":e.slice(s,a)}},extname:function(e){$e(e);for(var n=-1,s=0,a=-1,r=!0,o=0,i=e.length-1;i>=0;--i){var l=e.charCodeAt(i);if(l===47){if(!r){s=i+1;break}continue}a===-1&&(r=!1,a=i+1),l===46?n===-1?n=i:o!==1&&(o=1):n!==-1&&(o=-1)}return n===-1||a===-1||o===0||o===1&&n===a-1&&n===s+1?"":e.slice(n,a)},format:function(e){if(e===null||typeof e!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return v0("/",e)},parse:function(e){$e(e);var n={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return n;var s=e.charCodeAt(0),a=s===47,r;a?(n.root="/",r=1):r=0;for(var o=-1,i=0,l=-1,u=!0,d=e.length-1,c=0;d>=r;--d){if(s=e.charCodeAt(d),s===47){if(!u){i=d+1;break}continue}l===-1&&(u=!1,l=d+1),s===46?o===-1?o=d:c!==1&&(c=1):o!==-1&&(c=-1)}return o===-1||l===-1||c===0||c===1&&o===l-1&&o===i+1?l!==-1&&(i===0&&a?n.base=n.name=e.slice(1,l):n.base=n.name=e.slice(i,l)):(i===0&&a?(n.name=e.slice(1,o),n.base=e.slice(1,l)):(n.name=e.slice(i,o),n.base=e.slice(i,l)),n.ext=e.slice(o,l)),i>0?n.dir=e.slice(0,i-1):a&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};Sn.posix=Sn;var uu={exports:{}};(function(e){(function(n,s){e.exports?e.exports=s():n.Toastify=s()})(Tn,function(n){var s=function(i){return new s.lib.init(i)},a="1.12.0";s.defaults={oldestFirst:!0,text:"Toastify is awesome!",node:void 0,duration:3e3,selector:void 0,callback:function(){},destination:void 0,newWindow:!1,close:!1,gravity:"toastify-top",positionLeft:!1,position:"",backgroundColor:"",avatar:"",className:"",stopOnFocus:!0,onClick:function(){},offset:{x:0,y:0},escapeMarkup:!0,ariaLive:"polite",style:{background:""}},s.lib=s.prototype={toastify:a,constructor:s,init:function(i){return i||(i={}),this.options={},this.toastElement=null,this.options.text=i.text||s.defaults.text,this.options.node=i.node||s.defaults.node,this.options.duration=i.duration===0?0:i.duration||s.defaults.duration,this.options.selector=i.selector||s.defaults.selector,this.options.callback=i.callback||s.defaults.callback,this.options.destination=i.destination||s.defaults.destination,this.options.newWindow=i.newWindow||s.defaults.newWindow,this.options.close=i.close||s.defaults.close,this.options.gravity=i.gravity==="bottom"?"toastify-bottom":s.defaults.gravity,this.options.positionLeft=i.positionLeft||s.defaults.positionLeft,this.options.position=i.position||s.defaults.position,this.options.backgroundColor=i.backgroundColor||s.defaults.backgroundColor,this.options.avatar=i.avatar||s.defaults.avatar,this.options.className=i.className||s.defaults.className,this.options.stopOnFocus=i.stopOnFocus===void 0?s.defaults.stopOnFocus:i.stopOnFocus,this.options.onClick=i.onClick||s.defaults.onClick,this.options.offset=i.offset||s.defaults.offset,this.options.escapeMarkup=i.escapeMarkup!==void 0?i.escapeMarkup:s.defaults.escapeMarkup,this.options.ariaLive=i.ariaLive||s.defaults.ariaLive,this.options.style=i.style||s.defaults.style,i.backgroundColor&&(this.options.style.background=i.backgroundColor),this},buildToast:function(){if(!this.options)throw"Toastify is not initialized";var i=document.createElement("div");i.className="toastify on "+this.options.className,this.options.position?i.className+=" toastify-"+this.options.position:this.options.positionLeft===!0?(i.className+=" toastify-left",console.warn("Property `positionLeft` will be depreciated in further versions. Please use `position` instead.")):i.className+=" toastify-right",i.className+=" "+this.options.gravity,this.options.backgroundColor&&console.warn('DEPRECATION NOTICE: "backgroundColor" is being deprecated. Please use the "style.background" property.');for(var l in this.options.style)i.style[l]=this.options.style[l];if(this.options.ariaLive&&i.setAttribute("aria-live",this.options.ariaLive),this.options.node&&this.options.node.nodeType===Node.ELEMENT_NODE)i.appendChild(this.options.node);else if(this.options.escapeMarkup?i.innerText=this.options.text:i.innerHTML=this.options.text,this.options.avatar!==""){var u=document.createElement("img");u.src=this.options.avatar,u.className="toastify-avatar",this.options.position=="left"||this.options.positionLeft===!0?i.appendChild(u):i.insertAdjacentElement("afterbegin",u)}if(this.options.close===!0){var d=document.createElement("button");d.type="button",d.setAttribute("aria-label","Close"),d.className="toast-close",d.innerHTML="✖",d.addEventListener("click",function(b){b.stopPropagation(),this.removeElement(this.toastElement),window.clearTimeout(this.toastElement.timeOutValue)}.bind(this));var c=window.innerWidth>0?window.innerWidth:screen.width;(this.options.position=="left"||this.options.positionLeft===!0)&&c>360?i.insertAdjacentElement("afterbegin",d):i.appendChild(d)}if(this.options.stopOnFocus&&this.options.duration>0){var f=this;i.addEventListener("mouseover",function(b){window.clearTimeout(i.timeOutValue)}),i.addEventListener("mouseleave",function(){i.timeOutValue=window.setTimeout(function(){f.removeElement(i)},f.options.duration)})}if(typeof this.options.destination<"u"&&i.addEventListener("click",function(b){b.stopPropagation(),this.options.newWindow===!0?window.open(this.options.destination,"_blank"):window.location=this.options.destination}.bind(this)),typeof this.options.onClick=="function"&&typeof this.options.destination>"u"&&i.addEventListener("click",function(b){b.stopPropagation(),this.options.onClick()}.bind(this)),typeof this.options.offset=="object"){var h=r("x",this.options),x=r("y",this.options),_=this.options.position=="left"?h:"-"+h,L=this.options.gravity=="toastify-top"?x:"-"+x;i.style.transform="translate("+_+","+L+")"}return i},showToast:function(){this.toastElement=this.buildToast();var i;if(typeof this.options.selector=="string"?i=document.getElementById(this.options.selector):this.options.selector instanceof HTMLElement||typeof ShadowRoot<"u"&&this.options.selector instanceof ShadowRoot?i=this.options.selector:i=document.body,!i)throw"Root element is not defined";var l=s.defaults.oldestFirst?i.firstChild:i.lastChild;return i.insertBefore(this.toastElement,l),s.reposition(),this.options.duration>0&&(this.toastElement.timeOutValue=window.setTimeout(function(){this.removeElement(this.toastElement)}.bind(this),this.options.duration)),this},hideToast:function(){this.toastElement.timeOutValue&&clearTimeout(this.toastElement.timeOutValue),this.removeElement(this.toastElement)},removeElement:function(i){i.className=i.className.replace(" on",""),window.setTimeout(function(){this.options.node&&this.options.node.parentNode&&this.options.node.parentNode.removeChild(this.options.node),i.parentNode&&i.parentNode.removeChild(i),this.options.callback.call(i),s.reposition()}.bind(this),400)}},s.reposition=function(){for(var i={top:15,bottom:15},l={top:15,bottom:15},u={top:15,bottom:15},d=document.getElementsByClassName("toastify"),c,f=0;f0?window.innerWidth:screen.width;_<=360?(d[f].style[c]=u[c]+"px",u[c]+=h+x):o(d[f],"toastify-left")===!0?(d[f].style[c]=i[c]+"px",i[c]+=h+x):(d[f].style[c]=l[c]+"px",l[c]+=h+x)}return this};function r(i,l){return l.offset[i]?isNaN(l.offset[i])?l.offset[i]:l.offset[i]+"px":"0px"}function o(i,l){return!i||typeof l!="string"?!1:!!(i.className&&i.className.trim().split(/\s+/gi).indexOf(l)>-1)}return s.lib.init.prototype=s.lib,s})})(uu);var y0=uu.exports;const x0=gr(y0);var w0="Expected a function",du="__lodash_hash_undefined__",cu=1/0,C0="[object Function]",_0="[object GeneratorFunction]",T0="[object Symbol]",b0=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,F0=/^\w*$/,E0=/^\./,S0=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,A0=/[\\^$.*+?()[\]{}|]/g,k0=/\\(\\)?/g,N0=/^\[object .+?Constructor\]$/,L0=typeof Tn=="object"&&Tn&&Tn.Object===Object&&Tn,P0=typeof self=="object"&&self&&self.Object===Object&&self,$r=L0||P0||Function("return this")();function B0(e,n){return e?.[n]}function D0(e){var n=!1;if(e!=null&&typeof e.toString!="function")try{n=!!(e+"")}catch{}return n}var $0=Array.prototype,U0=Function.prototype,mu=Object.prototype,Fa=$r["__core-js_shared__"],yi=function(){var e=/[^.]+$/.exec(Fa&&Fa.keys&&Fa.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),pu=U0.toString,Ur=mu.hasOwnProperty,gu=mu.toString,M0=RegExp("^"+pu.call(Ur).replace(A0,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),xi=$r.Symbol,O0=$0.splice,z0=fu($r,"Map"),zn=fu(Object,"create"),wi=xi?xi.prototype:void 0,Ci=wi?wi.toString:void 0;function Ft(e){var n=-1,s=e?e.length:0;for(this.clear();++n-1}function q0(e,n){var s=this.__data__,a=qs(s,e);return a<0?s.push([e,n]):s[a][1]=n,this}Gt.prototype.clear=G0,Gt.prototype.delete=K0,Gt.prototype.get=W0,Gt.prototype.has=J0,Gt.prototype.set=q0;function Et(e){var n=-1,s=e?e.length:0;for(this.clear();++n 1)",pluralsFunc:function(e){return e>1}},af:{name:"Afrikaans",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ak:{name:"Akan",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},am:{name:"Amharic",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},an:{name:"Aragonese",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ar:{name:"Arabic",examples:[{plural:0,sample:0},{plural:1,sample:1},{plural:2,sample:2},{plural:3,sample:3},{plural:4,sample:11},{plural:5,sample:100}],nplurals:6,pluralsText:"nplurals = 6; plural = (n === 0 ? 0 : n === 1 ? 1 : n === 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5)",pluralsFunc:function(e){return e===0?0:e===1?1:e===2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5}},arn:{name:"Mapudungun",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},ast:{name:"Asturian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ay:{name:"Aymará",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},az:{name:"Azerbaijani",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},be:{name:"Belarusian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},bg:{name:"Bulgarian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},bn:{name:"Bengali",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},bo:{name:"Tibetan",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},br:{name:"Breton",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},brx:{name:"Bodo",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},bs:{name:"Bosnian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},ca:{name:"Catalan",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},cgg:{name:"Chiga",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},cs:{name:"Czech",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : (n >= 2 && n <= 4) ? 1 : 2)",pluralsFunc:function(e){return e===1?0:e>=2&&e<=4?1:2}},csb:{name:"Kashubian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e===1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},cy:{name:"Welsh",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:8}],nplurals:4,pluralsText:"nplurals = 4; plural = (n === 1 ? 0 : n === 2 ? 1 : (n !== 8 && n !== 11) ? 2 : 3)",pluralsFunc:function(e){return e===1?0:e===2?1:e!==8&&e!==11?2:3}},da:{name:"Danish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},de:{name:"German",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},doi:{name:"Dogri",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},dz:{name:"Dzongkha",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},el:{name:"Greek",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},en:{name:"English",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},eo:{name:"Esperanto",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},es:{name:"Spanish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},et:{name:"Estonian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},eu:{name:"Basque",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},fa:{name:"Persian",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},ff:{name:"Fulah",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},fi:{name:"Finnish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},fil:{name:"Filipino",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},fo:{name:"Faroese",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},fr:{name:"French",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},fur:{name:"Friulian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},fy:{name:"Frisian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ga:{name:"Irish",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:7},{plural:4,sample:11}],nplurals:5,pluralsText:"nplurals = 5; plural = (n === 1 ? 0 : n === 2 ? 1 : n < 7 ? 2 : n < 11 ? 3 : 4)",pluralsFunc:function(e){return e===1?0:e===2?1:e<7?2:e<11?3:4}},gd:{name:"Scottish Gaelic",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:20}],nplurals:4,pluralsText:"nplurals = 4; plural = ((n === 1 || n === 11) ? 0 : (n === 2 || n === 12) ? 1 : (n > 2 && n < 20) ? 2 : 3)",pluralsFunc:function(e){return e===1||e===11?0:e===2||e===12?1:e>2&&e<20?2:3}},gl:{name:"Galician",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},gu:{name:"Gujarati",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},gun:{name:"Gun",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},ha:{name:"Hausa",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},he:{name:"Hebrew",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},hi:{name:"Hindi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},hne:{name:"Chhattisgarhi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},hr:{name:"Croatian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},hu:{name:"Hungarian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},hy:{name:"Armenian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},id:{name:"Indonesian",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},is:{name:"Icelandic",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n % 10 !== 1 || n % 100 === 11)",pluralsFunc:function(e){return e%10!==1||e%100===11}},it:{name:"Italian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ja:{name:"Japanese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},jbo:{name:"Lojban",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},jv:{name:"Javanese",examples:[{plural:0,sample:0},{plural:1,sample:1}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 0)",pluralsFunc:function(e){return e!==0}},ka:{name:"Georgian",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},kk:{name:"Kazakh",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},km:{name:"Khmer",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},kn:{name:"Kannada",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ko:{name:"Korean",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},ku:{name:"Kurdish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},kw:{name:"Cornish",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:4}],nplurals:4,pluralsText:"nplurals = 4; plural = (n === 1 ? 0 : n === 2 ? 1 : n === 3 ? 2 : 3)",pluralsFunc:function(e){return e===1?0:e===2?1:e===3?2:3}},ky:{name:"Kyrgyz",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},lb:{name:"Letzeburgesch",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ln:{name:"Lingala",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},lo:{name:"Lao",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},lt:{name:"Lithuanian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:10}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2}},lv:{name:"Latvian",examples:[{plural:2,sample:0},{plural:0,sample:1},{plural:1,sample:2}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n !== 0 ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e!==0?1:2}},mai:{name:"Maithili",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},mfe:{name:"Mauritian Creole",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},mg:{name:"Malagasy",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},mi:{name:"Maori",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},mk:{name:"Macedonian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n === 1 || n % 10 === 1 ? 0 : 1)",pluralsFunc:function(e){return e===1||e%10===1?0:1}},ml:{name:"Malayalam",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},mn:{name:"Mongolian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},mni:{name:"Manipuri",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},mnk:{name:"Mandinka",examples:[{plural:0,sample:0},{plural:1,sample:1},{plural:2,sample:2}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 0 ? 0 : n === 1 ? 1 : 2)",pluralsFunc:function(e){return e===0?0:e===1?1:2}},mr:{name:"Marathi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ms:{name:"Malay",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},mt:{name:"Maltese",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:11},{plural:3,sample:20}],nplurals:4,pluralsText:"nplurals = 4; plural = (n === 1 ? 0 : n === 0 || ( n % 100 > 1 && n % 100 < 11) ? 1 : (n % 100 > 10 && n % 100 < 20 ) ? 2 : 3)",pluralsFunc:function(e){return e===1?0:e===0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3}},my:{name:"Burmese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},nah:{name:"Nahuatl",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},nap:{name:"Neapolitan",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},nb:{name:"Norwegian Bokmal",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ne:{name:"Nepali",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},nl:{name:"Dutch",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},nn:{name:"Norwegian Nynorsk",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},no:{name:"Norwegian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},nso:{name:"Northern Sotho",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},oc:{name:"Occitan",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},or:{name:"Oriya",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},pa:{name:"Punjabi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},pap:{name:"Papiamento",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},pl:{name:"Polish",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e===1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},pms:{name:"Piemontese",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ps:{name:"Pashto",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},pt:{name:"Portuguese",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},rm:{name:"Romansh",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ro:{name:"Romanian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:20}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : (n === 0 || (n % 100 > 0 && n % 100 < 20)) ? 1 : 2)",pluralsFunc:function(e){return e===1?0:e===0||e%100>0&&e%100<20?1:2}},ru:{name:"Russian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},rw:{name:"Kinyarwanda",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sah:{name:"Yakut",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},sat:{name:"Santali",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sco:{name:"Scots",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sd:{name:"Sindhi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},se:{name:"Northern Sami",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},si:{name:"Sinhala",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sk:{name:"Slovak",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : (n >= 2 && n <= 4) ? 1 : 2)",pluralsFunc:function(e){return e===1?0:e>=2&&e<=4?1:2}},sl:{name:"Slovenian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:5}],nplurals:4,pluralsText:"nplurals = 4; plural = (n % 100 === 1 ? 0 : n % 100 === 2 ? 1 : n % 100 === 3 || n % 100 === 4 ? 2 : 3)",pluralsFunc:function(e){return e%100===1?0:e%100===2?1:e%100===3||e%100===4?2:3}},so:{name:"Somali",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},son:{name:"Songhay",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sq:{name:"Albanian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sr:{name:"Serbian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},su:{name:"Sundanese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},sv:{name:"Swedish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sw:{name:"Swahili",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ta:{name:"Tamil",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},te:{name:"Telugu",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},tg:{name:"Tajik",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},th:{name:"Thai",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},ti:{name:"Tigrinya",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},tk:{name:"Turkmen",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},tr:{name:"Turkish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},tt:{name:"Tatar",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},ug:{name:"Uyghur",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},uk:{name:"Ukrainian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},ur:{name:"Urdu",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},uz:{name:"Uzbek",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},vi:{name:"Vietnamese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},wa:{name:"Walloon",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},wo:{name:"Wolof",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},yo:{name:"Yoruba",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},zh:{name:"Chinese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}}},yg=hg,xg=vg,wg=te;function te(e){e=e||{},this.catalogs={},this.locale="",this.domain="messages",this.listeners=[],this.sourceLocale="",e.sourceLocale&&(typeof e.sourceLocale=="string"?this.sourceLocale=e.sourceLocale:this.warn("The `sourceLocale` option should be a string")),this.debug="debug"in e&&e.debug===!0}te.prototype.on=function(e,n){this.listeners.push({eventName:e,callback:n})},te.prototype.off=function(e,n){this.listeners=this.listeners.filter(function(s){return!(s.eventName===e&&s.callback===n)})},te.prototype.emit=function(e,n){for(var s=0;s1?s-1:0),r=1;r2&&arguments[2]!==void 0?arguments[2]:cs;ro&&ro(e,null);let a=n.length;for(;a--;){let r=n[a];if(typeof r=="string"){const o=s(r);o!==r&&(id(n)||(n[a]=o),r=o)}e[r]=!0}return e}function pd(e){for(let n=0;n/gm),yd=Fe(/\${[\w\W]*}/gm),xd=Fe(/^data-[\-\w.\u00B7-\uFFFF]/),wd=Fe(/^aria-[\-\w]+$/),Qi=Fe(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Cd=Fe(/^(?:\w+script|data):/i),_d=Fe(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),el=Fe(/^html$/i),Td=Fe(/^[a-z][.\w]*(-[.\w]+)+$/i);var po=Object.freeze({__proto__:null,MUSTACHE_EXPR:hd,ERB_EXPR:vd,TMPLIT_EXPR:yd,DATA_ATTR:xd,ARIA_ATTR:wd,IS_ALLOWED_URI:Qi,IS_SCRIPT_OR_DATA:Cd,ATTR_WHITESPACE:_d,DOCTYPE_NAME:el,CUSTOM_ELEMENT:Td});const hn={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},bd=function(){return typeof window>"u"?null:window},Ed=function(e,n){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let s=null;const a="data-tt-policy-suffix";n&&n.hasAttribute(a)&&(s=n.getAttribute(a));const r="dompurify"+(s?"#"+s:"");try{return e.createPolicy(r,{createHTML(o){return o},createScriptURL(o){return o}})}catch{return console.warn("TrustedTypes policy "+r+" could not be created."),null}};function tl(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:bd();const n=p=>tl(p);if(n.version="3.1.6",n.removed=[],!e||!e.document||e.document.nodeType!==hn.document)return n.isSupported=!1,n;let{document:s}=e;const a=s,r=a.currentScript,{DocumentFragment:o,HTMLTemplateElement:i,Node:l,Element:u,NodeFilter:d,NamedNodeMap:c=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:f,DOMParser:h,trustedTypes:y}=e,_=u.prototype,L=fn(_,"cloneNode"),b=fn(_,"remove"),D=fn(_,"nextSibling"),S=fn(_,"childNodes"),R=fn(_,"parentNode");if(typeof i=="function"){const p=s.createElement("template");p.content&&p.content.ownerDocument&&(s=p.content.ownerDocument)}let B,G="";const{implementation:X,createNodeIterator:J,createDocumentFragment:U,getElementsByTagName:V}=s,{importNode:C}=a;let w={};n.isSupported=typeof Zi=="function"&&typeof R=="function"&&X&&X.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:m,ERB_EXPR:g,TMPLIT_EXPR:x,DATA_ATTR:T,ARIA_ATTR:F,IS_SCRIPT_OR_DATA:P,ATTR_WHITESPACE:k,CUSTOM_ELEMENT:$}=po;let{IS_ALLOWED_URI:z}=po,A=null;const W=I({},[...lo,...ua,...da,...ca,...uo]);let O=null;const ae=I({},[...co,...ma,...mo,...Yn]);let H=Object.seal(Xi(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),le=null,he=null,et=!0,Ae=!0,tt=!1,Hn=!0,nt=!1,ea=!0,yt=!1,ta=!1,na=!1,Mt=!1,Vn=!1,Gn=!1,Or=!0,Rr=!1;const Zu="user-content-";let sa=!0,dn=!1,zt={},Ot=null;const jr=I({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Ir=null;const Hr=I({},["audio","video","img","source","image","track"]);let aa=null;const Vr=I({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Kn="http://www.w3.org/1998/Math/MathML",Wn="http://www.w3.org/2000/svg",Re="http://www.w3.org/1999/xhtml";let Rt=Re,ra=!1,oa=null;const Xu=I({},[Kn,Wn,Re],la);let cn=null;const Qu=["application/xhtml+xml","text/html"],ed="text/html";let ie=null,jt=null;const td=s.createElement("form"),Gr=function(p){return p instanceof RegExp||p instanceof Function},ia=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(jt&&jt===p)){if((!p||typeof p!="object")&&(p={}),p=_t(p),cn=Qu.indexOf(p.PARSER_MEDIA_TYPE)===-1?ed:p.PARSER_MEDIA_TYPE,ie=cn==="application/xhtml+xml"?la:cs,A=ke(p,"ALLOWED_TAGS")?I({},p.ALLOWED_TAGS,ie):W,O=ke(p,"ALLOWED_ATTR")?I({},p.ALLOWED_ATTR,ie):ae,oa=ke(p,"ALLOWED_NAMESPACES")?I({},p.ALLOWED_NAMESPACES,la):Xu,aa=ke(p,"ADD_URI_SAFE_ATTR")?I(_t(Vr),p.ADD_URI_SAFE_ATTR,ie):Vr,Ir=ke(p,"ADD_DATA_URI_TAGS")?I(_t(Hr),p.ADD_DATA_URI_TAGS,ie):Hr,Ot=ke(p,"FORBID_CONTENTS")?I({},p.FORBID_CONTENTS,ie):jr,le=ke(p,"FORBID_TAGS")?I({},p.FORBID_TAGS,ie):{},he=ke(p,"FORBID_ATTR")?I({},p.FORBID_ATTR,ie):{},zt=ke(p,"USE_PROFILES")?p.USE_PROFILES:!1,et=p.ALLOW_ARIA_ATTR!==!1,Ae=p.ALLOW_DATA_ATTR!==!1,tt=p.ALLOW_UNKNOWN_PROTOCOLS||!1,Hn=p.ALLOW_SELF_CLOSE_IN_ATTR!==!1,nt=p.SAFE_FOR_TEMPLATES||!1,ea=p.SAFE_FOR_XML!==!1,yt=p.WHOLE_DOCUMENT||!1,Mt=p.RETURN_DOM||!1,Vn=p.RETURN_DOM_FRAGMENT||!1,Gn=p.RETURN_TRUSTED_TYPE||!1,na=p.FORCE_BODY||!1,Or=p.SANITIZE_DOM!==!1,Rr=p.SANITIZE_NAMED_PROPS||!1,sa=p.KEEP_CONTENT!==!1,dn=p.IN_PLACE||!1,z=p.ALLOWED_URI_REGEXP||Qi,Rt=p.NAMESPACE||Re,H=p.CUSTOM_ELEMENT_HANDLING||{},p.CUSTOM_ELEMENT_HANDLING&&Gr(p.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(H.tagNameCheck=p.CUSTOM_ELEMENT_HANDLING.tagNameCheck),p.CUSTOM_ELEMENT_HANDLING&&Gr(p.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(H.attributeNameCheck=p.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),p.CUSTOM_ELEMENT_HANDLING&&typeof p.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(H.allowCustomizedBuiltInElements=p.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),nt&&(Ae=!1),Vn&&(Mt=!0),zt&&(A=I({},uo),O=[],zt.html===!0&&(I(A,lo),I(O,co)),zt.svg===!0&&(I(A,ua),I(O,ma),I(O,Yn)),zt.svgFilters===!0&&(I(A,da),I(O,ma),I(O,Yn)),zt.mathMl===!0&&(I(A,ca),I(O,mo),I(O,Yn))),p.ADD_TAGS&&(A===W&&(A=_t(A)),I(A,p.ADD_TAGS,ie)),p.ADD_ATTR&&(O===ae&&(O=_t(O)),I(O,p.ADD_ATTR,ie)),p.ADD_URI_SAFE_ATTR&&I(aa,p.ADD_URI_SAFE_ATTR,ie),p.FORBID_CONTENTS&&(Ot===jr&&(Ot=_t(Ot)),I(Ot,p.FORBID_CONTENTS,ie)),sa&&(A["#text"]=!0),yt&&I(A,["html","head","body"]),A.table&&(I(A,["tbody"]),delete le.tbody),p.TRUSTED_TYPES_POLICY){if(typeof p.TRUSTED_TYPES_POLICY.createHTML!="function")throw gn('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof p.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw gn('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');B=p.TRUSTED_TYPES_POLICY,G=B.createHTML("")}else B===void 0&&(B=Ed(y,r)),B!==null&&typeof G=="string"&&(G=B.createHTML(""));fe&&fe(p),jt=p}},Kr=I({},["mi","mo","mn","ms","mtext"]),Wr=I({},["foreignobject","annotation-xml"]),nd=I({},["title","style","font","a","script"]),Jr=I({},[...ua,...da,...gd]),qr=I({},[...ca,...fd]),sd=function(p){let N=R(p);(!N||!N.tagName)&&(N={namespaceURI:Rt,tagName:"template"});const E=cs(p.tagName),q=cs(N.tagName);return oa[p.namespaceURI]?p.namespaceURI===Wn?N.namespaceURI===Re?E==="svg":N.namespaceURI===Kn?E==="svg"&&(q==="annotation-xml"||Kr[q]):!!Jr[E]:p.namespaceURI===Kn?N.namespaceURI===Re?E==="math":N.namespaceURI===Wn?E==="math"&&Wr[q]:!!qr[E]:p.namespaceURI===Re?N.namespaceURI===Wn&&!Wr[q]||N.namespaceURI===Kn&&!Kr[q]?!1:!qr[E]&&(nd[E]||!Jr[E]):!!(cn==="application/xhtml+xml"&&oa[p.namespaceURI]):!1},xt=function(p){mn(n.removed,{element:p});try{R(p).removeChild(p)}catch{b(p)}},Jn=function(p,N){try{mn(n.removed,{attribute:N.getAttributeNode(p),from:N})}catch{mn(n.removed,{attribute:null,from:N})}if(N.removeAttribute(p),p==="is"&&!O[p])if(Mt||Vn)try{xt(N)}catch{}else try{N.setAttribute(p,"")}catch{}},Yr=function(p){let N=null,E=null;if(na)p=""+p;else{const oe=io(p,/^[\r\n\t ]+/);E=oe&&oe[0]}cn==="application/xhtml+xml"&&Rt===Re&&(p=''+p+"");const q=B?B.createHTML(p):p;if(Rt===Re)try{N=new h().parseFromString(q,cn)}catch{}if(!N||!N.documentElement){N=X.createDocument(Rt,"template",null);try{N.documentElement.innerHTML=ra?G:q}catch{}}const ue=N.body||N.documentElement;return p&&E&&ue.insertBefore(s.createTextNode(E),ue.childNodes[0]||null),Rt===Re?V.call(N,yt?"html":"body")[0]:yt?N.documentElement:ue},Zr=function(p){return J.call(p.ownerDocument||p,p,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT|d.SHOW_PROCESSING_INSTRUCTION|d.SHOW_CDATA_SECTION,null)},Xr=function(p){return p instanceof f&&(typeof p.nodeName!="string"||typeof p.textContent!="string"||typeof p.removeChild!="function"||!(p.attributes instanceof c)||typeof p.removeAttribute!="function"||typeof p.setAttribute!="function"||typeof p.namespaceURI!="string"||typeof p.insertBefore!="function"||typeof p.hasChildNodes!="function")},Qr=function(p){return typeof l=="function"&&p instanceof l},je=function(p,N,E){w[p]&&qn(w[p],q=>{q.call(n,N,E,jt)})},eo=function(p){let N=null;if(je("beforeSanitizeElements",p,null),Xr(p))return xt(p),!0;const E=ie(p.nodeName);if(je("uponSanitizeElement",p,{tagName:E,allowedTags:A}),p.hasChildNodes()&&!Qr(p.firstElementChild)&&pe(/<[/\w]/g,p.innerHTML)&&pe(/<[/\w]/g,p.textContent)||p.nodeType===hn.progressingInstruction||ea&&p.nodeType===hn.comment&&pe(/<[/\w]/g,p.data))return xt(p),!0;if(!A[E]||le[E]){if(!le[E]&&no(E)&&(H.tagNameCheck instanceof RegExp&&pe(H.tagNameCheck,E)||H.tagNameCheck instanceof Function&&H.tagNameCheck(E)))return!1;if(sa&&!Ot[E]){const q=R(p)||p.parentNode,ue=S(p)||p.childNodes;if(ue&&q){const oe=ue.length;for(let Ie=oe-1;Ie>=0;--Ie){const be=L(ue[Ie],!0);be.__removalCount=(p.__removalCount||0)+1,q.insertBefore(be,D(p))}}}return xt(p),!0}return p instanceof u&&!sd(p)||(E==="noscript"||E==="noembed"||E==="noframes")&&pe(/<\/no(script|embed|frames)/i,p.innerHTML)?(xt(p),!0):(nt&&p.nodeType===hn.text&&(N=p.textContent,qn([m,g,x],q=>{N=pn(N,q," ")}),p.textContent!==N&&(mn(n.removed,{element:p.cloneNode()}),p.textContent=N)),je("afterSanitizeElements",p,null),!1)},to=function(p,N,E){if(Or&&(N==="id"||N==="name")&&(E in s||E in td))return!1;if(!(Ae&&!he[N]&&pe(T,N))&&!(et&&pe(F,N))){if(!O[N]||he[N]){if(!(no(p)&&(H.tagNameCheck instanceof RegExp&&pe(H.tagNameCheck,p)||H.tagNameCheck instanceof Function&&H.tagNameCheck(p))&&(H.attributeNameCheck instanceof RegExp&&pe(H.attributeNameCheck,N)||H.attributeNameCheck instanceof Function&&H.attributeNameCheck(N))||N==="is"&&H.allowCustomizedBuiltInElements&&(H.tagNameCheck instanceof RegExp&&pe(H.tagNameCheck,E)||H.tagNameCheck instanceof Function&&H.tagNameCheck(E))))return!1}else if(!aa[N]&&!pe(z,pn(E,k,""))&&!((N==="src"||N==="xlink:href"||N==="href")&&p!=="script"&&dd(E,"data:")===0&&Ir[p])&&!(tt&&!pe(P,pn(E,k,"")))&&E)return!1}return!0},no=function(p){return p!=="annotation-xml"&&io(p,$)},so=function(p){je("beforeSanitizeAttributes",p,null);const{attributes:N}=p;if(!N)return;const E={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:O};let q=N.length;for(;q--;){const ue=N[q],{name:oe,namespaceURI:Ie,value:be}=ue,De=ie(oe);let me=oe==="value"?be:cd(be);if(E.attrName=De,E.attrValue=me,E.keepAttr=!0,E.forceKeepAttr=void 0,je("uponSanitizeAttribute",p,E),me=E.attrValue,ea&&pe(/((--!?|])>)|<\/(style|title)/i,me)){Jn(oe,p);continue}if(E.forceKeepAttr||(Jn(oe,p),!E.keepAttr))continue;if(!Hn&&pe(/\/>/i,me)){Jn(oe,p);continue}nt&&qn([m,g,x],rd=>{me=pn(me,rd," ")});const ao=ie(p.nodeName);if(to(ao,De,me)){if(Rr&&(De==="id"||De==="name")&&(Jn(oe,p),me=Zu+me),B&&typeof y=="object"&&typeof y.getAttributeType=="function"&&!Ie)switch(y.getAttributeType(ao,De)){case"TrustedHTML":{me=B.createHTML(me);break}case"TrustedScriptURL":{me=B.createScriptURL(me);break}}try{Ie?p.setAttributeNS(Ie,oe,me):p.setAttribute(oe,me),Xr(p)?xt(p):oo(n.removed)}catch{}}}je("afterSanitizeAttributes",p,null)},ad=function p(N){let E=null;const q=Zr(N);for(je("beforeSanitizeShadowDOM",N,null);E=q.nextNode();)je("uponSanitizeShadowNode",E,null),!eo(E)&&(E.content instanceof o&&p(E.content),so(E));je("afterSanitizeShadowDOM",N,null)};return n.sanitize=function(p){let N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},E=null,q=null,ue=null,oe=null;if(ra=!p,ra&&(p=""),typeof p!="string"&&!Qr(p))if(typeof p.toString=="function"){if(p=p.toString(),typeof p!="string")throw gn("dirty is not a string, aborting")}else throw gn("toString is not a function");if(!n.isSupported)return p;if(ta||ia(N),n.removed=[],typeof p=="string"&&(dn=!1),dn){if(p.nodeName){const De=ie(p.nodeName);if(!A[De]||le[De])throw gn("root node is forbidden and cannot be sanitized in-place")}}else if(p instanceof l)E=Yr(""),q=E.ownerDocument.importNode(p,!0),q.nodeType===hn.element&&q.nodeName==="BODY"||q.nodeName==="HTML"?E=q:E.appendChild(q);else{if(!Mt&&!nt&&!yt&&p.indexOf("<")===-1)return B&&Gn?B.createHTML(p):p;if(E=Yr(p),!E)return Mt?null:Gn?G:""}E&&na&&xt(E.firstChild);const Ie=Zr(dn?p:E);for(;ue=Ie.nextNode();)eo(ue)||(ue.content instanceof o&&ad(ue.content),so(ue));if(dn)return p;if(Mt){if(Vn)for(oe=U.call(E.ownerDocument);E.firstChild;)oe.appendChild(E.firstChild);else oe=E;return(O.shadowroot||O.shadowrootmode)&&(oe=C.call(a,oe,!0)),oe}let be=yt?E.outerHTML:E.innerHTML;return yt&&A["!doctype"]&&E.ownerDocument&&E.ownerDocument.doctype&&E.ownerDocument.doctype.name&&pe(el,E.ownerDocument.doctype.name)&&(be=" +`+be),nt&&qn([m,g,x],De=>{be=pn(be,De," ")}),B&&Gn?B.createHTML(be):be},n.setConfig=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ia(p),ta=!0},n.clearConfig=function(){jt=null,ta=!1},n.isValidAttribute=function(p,N,E){jt||ia({});const q=ie(p),ue=ie(N);return to(q,ue,E)},n.addHook=function(p,N){typeof N=="function"&&(w[p]=w[p]||[],mn(w[p],N))},n.removeHook=function(p){if(w[p])return oo(w[p])},n.removeHooks=function(p){w[p]&&(w[p]=[])},n.removeAllHooks=function(){w={}},n}var Fd=tl(),Cn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ur(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Sd=/["'&<>]/,Ad=kd;function kd(e){var n=""+e,s=Sd.exec(n);if(!s)return n;var a,r="",o=0,i=0;for(o=s.index;oo}}function Ld(e,n,s,a,r){const o={escape:!0,sanitize:!0,...r||{}},i=h=>h,l=o.sanitize?Fd.sanitize:i,u=o.escape?go:i,d=h=>typeof h=="string"||typeof h=="number",c=(h,y,_)=>h.replace(/%n/g,""+_).replace(/{([^{}]*)}/g,(L,b)=>{if(y===void 0||!(b in y))return u(L);const D=y[b];return d(D)?u("".concat(D)):typeof D=="object"&&d(D.value)?(D.escape!==!1?go:i)("".concat(D.value)):u(L)});let f=Nd(e).translations[n]||n;return f=Array.isArray(f)?f[0]:f,l(typeof s=="object"||a!==void 0?c(f,s,a):f)}const Qt=globalThis||void 0||self;var Pd={},ve=Object.freeze({}),j=Array.isArray;function M(e){return e==null}function v(e){return e!=null}function ne(e){return e===!0}function Dd(e){return e===!1}function zn(e){return typeof e=="string"||typeof e=="number"||typeof e=="symbol"||typeof e=="boolean"}function Z(e){return typeof e=="function"}function ce(e){return e!==null&&typeof e=="object"}var dr=Object.prototype.toString;function _e(e){return dr.call(e)==="[object Object]"}function Bd(e){return dr.call(e)==="[object RegExp]"}function nl(e){var n=parseFloat(String(e));return n>=0&&Math.floor(n)===n&&isFinite(e)}function Aa(e){return v(e)&&typeof e.then=="function"&&typeof e.catch=="function"}function $d(e){return e==null?"":Array.isArray(e)||_e(e)&&e.toString===dr?JSON.stringify(e,Ud,2):String(e)}function Ud(e,n){return n&&n.__v_isRef?n.value:n}function Ln(e){var n=parseFloat(e);return isNaN(n)?e:n}function Pe(e,n){for(var s=Object.create(null),a=e.split(","),r=0;r-1)return e.splice(a,1)}}var zd=Object.prototype.hasOwnProperty;function ge(e,n){return zd.call(e,n)}function Ut(e){var n=Object.create(null);return function(s){var a=n[s];return a||(n[s]=e(s))}}var Od=/-(\w)/g,Nt=Ut(function(e){return e.replace(Od,function(n,s){return s?s.toUpperCase():""})}),Rd=Ut(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),jd=/\B([A-Z])/g,On=Ut(function(e){return e.replace(jd,"-$1").toLowerCase()});function Id(e,n){function s(a){var r=arguments.length;return r?r>1?e.apply(n,arguments):e.call(n,a):e.call(n)}return s._length=e.length,s}function Hd(e,n){return e.bind(n)}var sl=Function.prototype.bind?Hd:Id;function ka(e,n){n=n||0;for(var s=e.length-n,a=new Array(s);s--;)a[s]=e[s+n];return a}function Q(e,n){for(var s in n)e[s]=n[s];return e}function al(e){for(var n={},s=0;s0,ul=Se&&Se.indexOf("edge/")>0;Se&&Se.indexOf("android")>0;var Jd=Se&&/iphone|ipad|ipod|ios/.test(Se),ho=Se&&Se.match(/firefox\/(\d+)/),La={}.watch,dl=!1;if(we)try{var vo={};Object.defineProperty(vo,"passive",{get:function(){dl=!0}}),window.addEventListener("test-passive",null,vo)}catch{}var Xn,ft=function(){return Xn===void 0&&(!we&&typeof Qt<"u"?Xn=Qt.process&&Pd.VUE_ENV==="server":Xn=!1),Xn},_s=we&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function Yt(e){return typeof e=="function"&&/native code/.test(e.toString())}var Rn=typeof Symbol<"u"&&Yt(Symbol)&&typeof Reflect<"u"&&Yt(Reflect.ownKeys),Pn;typeof Set<"u"&&Yt(Set)?Pn=Set:Pn=function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(n){return this.set[n]===!0},e.prototype.add=function(n){this.set[n]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ze=null;function ct(e){e===void 0&&(e=null),e||ze&&ze._scope.off(),ze=e,e&&e._scope.on()}var Te=function(){function e(n,s,a,r,o,i,l,u){this.tag=n,this.data=s,this.children=a,this.text=r,this.elm=o,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=s&&s.key,this.componentOptions=l,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}(),en=function(e){e===void 0&&(e="");var n=new Te;return n.text=e,n.isComment=!0,n};function Kt(e){return new Te(void 0,void 0,void 0,String(e))}function Pa(e){var n=new Te(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return n.ns=e.ns,n.isStatic=e.isStatic,n.key=e.key,n.isComment=e.isComment,n.fnContext=e.fnContext,n.fnOptions=e.fnOptions,n.fnScopeId=e.fnScopeId,n.asyncMeta=e.asyncMeta,n.isCloned=!0,n}var qd=0,ms=[],Yd=function(){for(var e=0;e0&&(r=wl(r,"".concat(n||"","_").concat(a)),vn(r[0])&&vn(i)&&(s[o]=Kt(i.text+r[0].text),r.shift()),s.push.apply(s,r)):zn(r)?vn(i)?s[o]=Kt(i.text+r):r!==""&&s.push(Kt(r)):vn(r)&&vn(i)?s[o]=Kt(i.text+r.text):(ne(e._isVList)&&v(r.tag)&&M(r.key)&&v(n)&&(r.key="__vlist".concat(n,"_").concat(a,"__")),s.push(r)));return s}function cc(e,n){var s=null,a,r,o,i;if(j(e)||typeof e=="string")for(s=new Array(e.length),a=0,r=e.length;a0,i=n?!!n.$stable:!o,l=n&&n.$key;if(!n)r={};else{if(n._normalized)return n._normalized;if(i&&a&&a!==ve&&l===a.$key&&!o&&!a.$hasNormal)return a;r={};for(var u in n)n[u]&&u[0]!=="$"&&(r[u]=_c(e,s,u,n[u]))}for(var d in s)d in r||(r[d]=Tc(s,d));return n&&Object.isExtensible(n)&&(n._normalized=r),xe(r,"$stable",i),xe(r,"$key",l),xe(r,"$hasNormal",o),r}function _c(e,n,s,a){var r=function(){var o=ze;ct(e);var i=arguments.length?a.apply(null,arguments):a({});i=i&&typeof i=="object"&&!j(i)?[i]:pr(i);var l=i&&i[0];return ct(o),i&&(!l||i.length===1&&l.isComment&&!Dn(l))?void 0:i};return a.proxy&&Object.defineProperty(n,s,{get:r,enumerable:!0,configurable:!0}),r}function Tc(e,n){return function(){return e[n]}}function bc(e){var n=e.$options,s=n.setup;if(s){var a=e._setupContext=Ec(e);ct(e),on();var r=Ye(s,null,[e._props||fl({}),a],e,"setup");if(ln(),ct(),Z(r))n.render=r;else if(ce(r))if(e._setupState=r,r.__sfc){var o=e._setupProxy={};for(var i in r)i!=="__sfc"&&Da(o,r,i)}else for(var i in r)ll(i)||Da(e,r,i)}}function Ec(e){return{get attrs(){if(!e._attrsProxy){var n=e._attrsProxy={};xe(n,"_v_attr_proxy",!0),bs(n,e.$attrs,ve,e,"$attrs")}return e._attrsProxy},get listeners(){if(!e._listenersProxy){var n=e._listenersProxy={};bs(n,e.$listeners,ve,e,"$listeners")}return e._listenersProxy},get slots(){return Sc(e)},emit:sl(e.$emit,e),expose:function(n){n&&Object.keys(n).forEach(function(s){return Da(e,n,s)})}}}function bs(e,n,s,a,r){var o=!1;for(var i in n)i in e?n[i]!==s[i]&&(o=!0):(o=!0,Fc(e,i,a,r));for(var i in e)i in n||(o=!0,delete e[i]);return o}function Fc(e,n,s,a){Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:function(){return s[a][n]}})}function Sc(e){return e._slotsProxy||bl(e._slotsProxy={},e.$scopedSlots),e._slotsProxy}function bl(e,n){for(var s in n)e[s]=n[s];for(var s in e)s in n||delete e[s]}function Ac(e){e._vnode=null,e._staticTrees=null;var n=e.$options,s=e.$vnode=n._parentVnode,a=s&&s.context;e.$slots=gr(n._renderChildren,a),e.$scopedSlots=s?bn(e.$parent,s.data.scopedSlots,e.$slots):ve,e._c=function(o,i,l,u){return Es(e,o,i,l,u,!1)},e.$createElement=function(o,i,l,u){return Es(e,o,i,l,u,!0)};var r=s&&s.data;pt(e,"$attrs",r&&r.attrs||ve,null,!0),pt(e,"$listeners",n._parentListeners||ve,null,!0)}var fs=null;function kc(e){Tl(e.prototype),e.prototype.$nextTick=function(n){return fr(n,this)},e.prototype._render=function(){var n=this,s=n.$options,a=s.render,r=s._parentVnode;r&&n._isMounted&&(n.$scopedSlots=bn(n.$parent,r.data.scopedSlots,n.$slots,n.$scopedSlots),n._slotsProxy&&bl(n._slotsProxy,n.$scopedSlots)),n.$vnode=r;var o=ze,i=fs,l;try{ct(n),fs=n,l=a.call(n._renderProxy,n.$createElement)}catch(u){Pt(u,n,"render"),l=n._vnode}finally{fs=i,ct(o)}return j(l)&&l.length===1&&(l=l[0]),l instanceof Te||(l=en()),l.parent=r,l}}function pa(e,n){return(e.__esModule||Rn&&e[Symbol.toStringTag]==="Module")&&(e=e.default),ce(e)?n.extend(e):e}function Nc(e,n,s,a,r){var o=en();return o.asyncFactory=e,o.asyncMeta={data:n,context:s,children:a,tag:r},o}function Lc(e,n){if(ne(e.error)&&v(e.errorComp))return e.errorComp;if(v(e.resolved))return e.resolved;var s=fs;if(s&&v(e.owners)&&e.owners.indexOf(s)===-1&&e.owners.push(s),ne(e.loading)&&v(e.loadingComp))return e.loadingComp;if(s&&!v(e.owners)){var a=e.owners=[s],r=!0,o=null,i=null;s.$on("hook:destroyed",function(){return gt(a,s)});var l=function(f){for(var h=0,y=a.length;h1?ka(r):r;for(var o=ka(arguments,1),i='event handler for "'.concat(s,'"'),l=0,u=r.length;ldocument.createEvent("Event").timeStamp&&(Oa=function(){return ga.now()})}var qc=function(e,n){if(e.post){if(!n.post)return 1}else if(n.post)return-1;return e.id-n.id};function Yc(){Pl=Oa(),yr=!0;var e,n;for(Ge.sort(qc),Wt=0;WtWt&&Ge[s].id>e.id;)s--;Ge.splice(s+1,0,e)}za||(za=!0,fr(Yc))}}function em(e){var n=e.$options.provide;if(n){var s=Z(n)?n.call(e):n;if(!ce(s))return;for(var a=lc(e),r=Rn?Reflect.ownKeys(s):Object.keys(s),o=0;o-1){if(o&&!ge(r,"default"))i=!1;else if(i===""||i===On(e)){var u=Oo(String,r.type);(u<0||l-1)return this;var a=ka(arguments,1);return a.unshift(this),Z(n.install)?n.install.apply(n,a):Z(n)&&n.apply(null,a),s.push(n),this}}function Lm(e){e.mixin=function(n){return this.options=Dt(this.options,n),this}}function Pm(e){e.cid=0;var n=1;e.extend=function(s){s=s||{};var a=this,r=a.cid,o=s._Ctor||(s._Ctor={});if(o[r])return o[r];var i=Ss(s)||Ss(a.options),l=function(u){this._init(u)};return l.prototype=Object.create(a.prototype),l.prototype.constructor=l,l.cid=n++,l.options=Dt(a.options,s),l.super=a,l.options.props&&Dm(l),l.options.computed&&Bm(l),l.extend=a.extend,l.mixin=a.mixin,l.use=a.use,Is.forEach(function(u){l[u]=a[u]}),i&&(l.options.components[i]=l),l.superOptions=a.options,l.extendOptions=s,l.sealedOptions=Q({},l.options),o[r]=l,l}}function Dm(e){var n=e.options.props;for(var s in n)_r(e.prototype,"_props",s)}function Bm(e){var n=e.options.computed;for(var s in n)Bl(e.prototype,s,n[s])}function $m(e){Is.forEach(function(n){e[n]=function(s,a){return a?(n==="component"&&_e(a)&&(a.name=a.name||s,a=this.options._base.extend(a)),n==="directive"&&Z(a)&&(a={bind:a,update:a}),this.options[n+"s"][s]=a,a):this.options[n+"s"][s]}})}function Io(e){return e&&(Ss(e.Ctor.options)||e.tag)}function ts(e,n){return j(e)?e.indexOf(n)>-1:typeof e=="string"?e.split(",").indexOf(n)>-1:Bd(e)?e.test(n):!1}function Ho(e,n){var s=e.cache,a=e.keys,r=e._vnode,o=e.$vnode;for(var i in s){var l=s[i];if(l){var u=l.name;u&&!n(u)&&Ha(s,i,a,r)}}o.componentOptions.children=void 0}function Ha(e,n,s,a){var r=e[n];r&&(!a||r.tag!==a.tag)&&r.componentInstance.$destroy(),e[n]=null,gt(s,n)}var Vo=[String,RegExp,Array],Um={name:"keep-alive",abstract:!0,props:{include:Vo,exclude:Vo,max:[String,Number]},methods:{cacheVNode:function(){var e=this,n=e.cache,s=e.keys,a=e.vnodeToCache,r=e.keyToCache;if(a){var o=a.tag,i=a.componentInstance,l=a.componentOptions;n[r]={name:Io(l),tag:o,componentInstance:i},s.push(r),this.max&&s.length>parseInt(this.max)&&Ha(n,s[0],s,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Ha(this.cache,e,this.keys)},mounted:function(){var e=this;this.cacheVNode(),this.$watch("include",function(n){Ho(e,function(s){return ts(n,s)})}),this.$watch("exclude",function(n){Ho(e,function(s){return!ts(n,s)})})},updated:function(){this.cacheVNode()},render:function(){var e=this.$slots.default,n=El(e),s=n&&n.componentOptions;if(s){var a=Io(s),r=this,o=r.include,i=r.exclude;if(o&&(!a||!ts(o,a))||i&&a&&ts(i,a))return n;var l=this,u=l.cache,d=l.keys,c=n.key==null?s.Ctor.cid+(s.tag?"::".concat(s.tag):""):n.key;u[c]?(n.componentInstance=u[c].componentInstance,gt(d,c),d.push(c)):(this.vnodeToCache=n,this.keyToCache=c),n.data.keepAlive=!0}return n||e&&e[0]}},Mm={KeepAlive:Um};function zm(e){var n={};n.get=function(){return Ee},Object.defineProperty(e,"config",n),e.util={warn:im,extend:Q,mergeOptions:Dt,defineReactive:pt},e.set=mr,e.delete=pl,e.nextTick=fr,e.observable=function(s){return qe(s),s},e.options=Object.create(null),Is.forEach(function(s){e.options[s+"s"]=Object.create(null)}),e.options._base=e,Q(e.options.components,Mm),Nm(e),Lm(e),Pm(e),$m(e)}zm(Y),Object.defineProperty(Y.prototype,"$isServer",{get:ft}),Object.defineProperty(Y.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Y,"FunctionalRenderContext",{value:xr}),Y.version=Mc;var Om=Pe("style,class"),Rm=Pe("input,textarea,option,select,progress"),jm=function(e,n,s){return s==="value"&&Rm(e)&&n!=="button"||s==="selected"&&e==="option"||s==="checked"&&e==="input"||s==="muted"&&e==="video"},$l=Pe("contenteditable,draggable,spellcheck"),Im=Pe("events,caret,typing,plaintext-only"),Hm=function(e,n){return ks(n)||n==="false"?"false":e==="contenteditable"&&Im(n)?n:"true"},Vm=Pe("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"),Va="http://www.w3.org/1999/xlink",br=function(e){return e.charAt(5)===":"&&e.slice(0,5)==="xlink"},Ul=function(e){return br(e)?e.slice(6,e.length):""},ks=function(e){return e==null||e===!1};function Gm(e){for(var n=e.data,s=e,a=e;v(a.componentInstance);)a=a.componentInstance._vnode,a&&a.data&&(n=Go(a.data,n));for(;v(s=s.parent);)s&&s.data&&(n=Go(n,s.data));return Km(n.staticClass,n.class)}function Go(e,n){return{staticClass:Er(e.staticClass,n.staticClass),class:v(e.class)?[e.class,n.class]:n.class}}function Km(e,n){return v(e)||v(n)?Er(e,Fr(n)):""}function Er(e,n){return e?n?e+" "+n:e:n||""}function Fr(e){return Array.isArray(e)?Wm(e):ce(e)?Jm(e):typeof e=="string"?e:""}function Wm(e){for(var n="",s,a=0,r=e.length;a-1?ns[e]=n.constructor===window.HTMLUnknownElement||n.constructor===window.HTMLElement:ns[e]=/HTMLUnknownElement/.test(n.toString())}var Ga=Pe("text,number,password,search,email,tel,url");function Qm(e){if(typeof e=="string"){var n=document.querySelector(e);return n||document.createElement("div")}else return e}function ep(e,n){var s=document.createElement(e);return e!=="select"||n.data&&n.data.attrs&&n.data.attrs.multiple!==void 0&&s.setAttribute("multiple","multiple"),s}function tp(e,n){return document.createElementNS(qm[e],n)}function np(e){return document.createTextNode(e)}function sp(e){return document.createComment(e)}function ap(e,n,s){e.insertBefore(n,s)}function rp(e,n){e.removeChild(n)}function op(e,n){e.appendChild(n)}function ip(e){return e.parentNode}function lp(e){return e.nextSibling}function up(e){return e.tagName}function dp(e,n){e.textContent=n}function cp(e,n){e.setAttribute(n,"")}var mp=Object.freeze({__proto__:null,createElement:ep,createElementNS:tp,createTextNode:np,createComment:sp,insertBefore:ap,removeChild:rp,appendChild:op,parentNode:ip,nextSibling:lp,tagName:up,setTextContent:dp,setStyleScope:cp}),pp={create:function(e,n){Jt(n)},update:function(e,n){e.data.ref!==n.data.ref&&(Jt(e,!0),Jt(n))},destroy:function(e){Jt(e,!0)}};function Jt(e,n){var s=e.data.ref;if(v(s)){var a=e.context,r=e.componentInstance||e.elm,o=n?null:r,i=n?void 0:r;if(Z(s)){Ye(s,a,[o],a,"template ref function");return}var l=e.data.refInFor,u=typeof s=="string"||typeof s=="number",d=ye(s),c=a.$refs;if(u||d){if(l){var f=u?c[s]:s.value;n?j(f)&>(f,r):j(f)?f.includes(r)||f.push(r):u?(c[s]=[r],Ko(a,s,c[s])):s.value=[r]}else if(u){if(n&&c[s]!==r)return;c[s]=i,Ko(a,s,o)}else if(d){if(n&&s.value!==r)return;s.value=o}}}}function Ko(e,n,s){var a=e._setupState;a&&ge(a,n)&&(ye(a[n])?a[n].value=s:a[n]=s)}var ut=new Te("",{},[]),yn=["create","activate","update","remove","destroy"];function wt(e,n){return e.key===n.key&&e.asyncFactory===n.asyncFactory&&(e.tag===n.tag&&e.isComment===n.isComment&&v(e.data)===v(n.data)&&gp(e,n)||ne(e.isAsyncPlaceholder)&&M(n.asyncFactory.error))}function gp(e,n){if(e.tag!=="input")return!0;var s,a=v(s=e.data)&&v(s=s.attrs)&&s.type,r=v(s=n.data)&&v(s=s.attrs)&&s.type;return a===r||Ga(a)&&Ga(r)}function fp(e,n,s){var a,r,o={};for(a=n;a<=s;++a)r=e[a].key,v(r)&&(o[r]=a);return o}function hp(e){var n,s,a={},r=e.modules,o=e.nodeOps;for(n=0;n$?(et=M(x[W+1])?null:x[W+1].elm,S(m,et,x,k,W,T)):k>W&&B(g,P,$)}function J(m,g,x,T){for(var F=x;F-1?Yo(e,n,s):Vm(n)?ks(s)?e.removeAttribute(n):(s=n==="allowfullscreen"&&e.tagName==="EMBED"?"true":n,e.setAttribute(n,s)):$l(n)?e.setAttribute(n,Hm(n,s)):br(n)?ks(s)?e.removeAttributeNS(Va,Ul(n)):e.setAttributeNS(Va,n,s):Yo(e,n,s)}function Yo(e,n,s){if(ks(s))e.removeAttribute(n);else{if(an&&!rn&&e.tagName==="TEXTAREA"&&n==="placeholder"&&s!==""&&!e.__ieph){var a=function(r){r.stopImmediatePropagation(),e.removeEventListener("input",a)};e.addEventListener("input",a),e.__ieph=!0}e.setAttribute(n,s)}}var _p={create:Jo,update:Jo};function Zo(e,n){var s=n.elm,a=n.data,r=e.data;if(!(M(a.staticClass)&&M(a.class)&&(M(r)||M(r.staticClass)&&M(r.class)))){var o=Gm(n),i=s._transitionClasses;v(i)&&(o=Er(o,Fr(i))),o!==s._prevClass&&(s.setAttribute("class",o),s._prevClass=o)}}var Tp={create:Zo,update:Zo},ha="__r",va="__c";function bp(e){if(v(e[ha])){var n=an?"change":"input";e[n]=[].concat(e[ha],e[n]||[]),delete e[ha]}v(e[va])&&(e.change=[].concat(e[va],e.change||[]),delete e[va])}var Un;function Ep(e,n,s){var a=Un;return function r(){var o=n.apply(null,arguments);o!==null&&zl(e,r,s,a)}}var Fp=$a&&!(ho&&Number(ho[1])<=53);function Sp(e,n,s,a){if(Fp){var r=Pl,o=n;n=o._wrapper=function(i){if(i.target===i.currentTarget||i.timeStamp>=r||i.timeStamp<=0||i.target.ownerDocument!==document)return o.apply(this,arguments)}}Un.addEventListener(e,n,dl?{capture:s,passive:a}:s)}function zl(e,n,s,a){(a||Un).removeEventListener(e,n._wrapper||n,s)}function ya(e,n){if(!(M(e.data.on)&&M(n.data.on))){var s=n.data.on||{},a=e.data.on||{};Un=n.elm||e.elm,bp(s),xl(s,a,Sp,zl,Ep,n.context),Un=void 0}}var Ap={create:ya,update:ya,destroy:function(e){return ya(e,ut)}},ss;function Xo(e,n){if(!(M(e.data.domProps)&&M(n.data.domProps))){var s,a,r=n.elm,o=e.data.domProps||{},i=n.data.domProps||{};(v(i.__ob__)||ne(i._v_attr_proxy))&&(i=n.data.domProps=Q({},i));for(s in o)s in i||(r[s]="");for(s in i){if(a=i[s],s==="textContent"||s==="innerHTML"){if(n.children&&(n.children.length=0),a===o[s])continue;r.childNodes.length===1&&r.removeChild(r.childNodes[0])}if(s==="value"&&r.tagName!=="PROGRESS"){r._value=a;var l=M(a)?"":String(a);kp(r,l)&&(r.value=l)}else if(s==="innerHTML"&&Sr(r.tagName)&&M(r.innerHTML)){ss=ss||document.createElement("div"),ss.innerHTML="".concat(a,"");for(var u=ss.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;u.firstChild;)r.appendChild(u.firstChild)}else if(a!==o[s])try{r[s]=a}catch{}}}}function kp(e,n){return!e.composing&&(e.tagName==="OPTION"||Np(e,n)||Lp(e,n))}function Np(e,n){var s=!0;try{s=document.activeElement!==e}catch{}return s&&e.value!==n}function Lp(e,n){var s=e.value,a=e._vModifiers;if(v(a)){if(a.number)return Ln(s)!==Ln(n);if(a.trim)return s.trim()!==n.trim()}return s!==n}var Pp={create:Xo,update:Xo},Dp=Ut(function(e){var n={},s=/;(?![^(]*\))/g,a=/:(.+)/;return e.split(s).forEach(function(r){if(r){var o=r.split(a);o.length>1&&(n[o[0].trim()]=o[1].trim())}}),n});function xa(e){var n=Ol(e.style);return e.staticStyle?Q(e.staticStyle,n):n}function Ol(e){return Array.isArray(e)?al(e):typeof e=="string"?Dp(e):e}function Bp(e,n){var s={},a;if(n)for(var r=e;r.componentInstance;)r=r.componentInstance._vnode,r&&r.data&&(a=xa(r.data))&&Q(s,a);(a=xa(e.data))&&Q(s,a);for(var o=e;o=o.parent;)o.data&&(a=xa(o.data))&&Q(s,a);return s}var $p=/^--/,Qo=/\s*!important$/,ei=function(e,n,s){if($p.test(n))e.style.setProperty(n,s);else if(Qo.test(s))e.style.setProperty(On(n),s.replace(Qo,""),"important");else{var a=Up(n);if(Array.isArray(s))for(var r=0,o=s.length;r-1?n.split(Rl).forEach(function(a){return e.classList.add(a)}):e.classList.add(n);else{var s=" ".concat(e.getAttribute("class")||""," ");s.indexOf(" "+n+" ")<0&&e.setAttribute("class",(s+n).trim())}}function Il(e,n){if(!(!n||!(n=n.trim())))if(e.classList)n.indexOf(" ")>-1?n.split(Rl).forEach(function(r){return e.classList.remove(r)}):e.classList.remove(n),e.classList.length||e.removeAttribute("class");else{for(var s=" ".concat(e.getAttribute("class")||""," "),a=" "+n+" ";s.indexOf(a)>=0;)s=s.replace(a," ");s=s.trim(),s?e.setAttribute("class",s):e.removeAttribute("class")}}function Hl(e){if(e){if(typeof e=="object"){var n={};return e.css!==!1&&Q(n,si(e.name||"v")),Q(n,e),n}else if(typeof e=="string")return si(e)}}var si=Ut(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")}}),Vl=we&&!rn,Ht="transition",wa="animation",vs="transition",Ns="transitionend",Ka="animation",Gl="animationend";Vl&&(window.ontransitionend===void 0&&window.onwebkittransitionend!==void 0&&(vs="WebkitTransition",Ns="webkitTransitionEnd"),window.onanimationend===void 0&&window.onwebkitanimationend!==void 0&&(Ka="WebkitAnimation",Gl="webkitAnimationEnd"));var ai=we?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Kl(e){ai(function(){ai(e)})}function kt(e,n){var s=e._transitionClasses||(e._transitionClasses=[]);s.indexOf(n)<0&&(s.push(n),jl(e,n))}function Ke(e,n){e._transitionClasses&>(e._transitionClasses,n),Il(e,n)}function Wl(e,n,s){var a=Jl(e,n),r=a.type,o=a.timeout,i=a.propCount;if(!r)return s();var l=r===Ht?Ns:Gl,u=0,d=function(){e.removeEventListener(l,c),s()},c=function(f){f.target===e&&++u>=i&&d()};setTimeout(function(){u0&&(d=Ht,c=o,f=r.length):n===wa?u>0&&(d=wa,c=u,f=l.length):(c=Math.max(o,u),d=c>0?o>u?Ht:wa:null,f=d?d===Ht?r.length:l.length:0);var h=d===Ht&&zp.test(s[vs+"Property"]);return{type:d,timeout:c,propCount:f,hasTransform:h}}function ri(e,n){for(;e.length1}function ii(e,n){n.data.show!==!0&&Wa(n)}var Op=we?{create:ii,activate:ii,remove:function(e,n){e.data.show!==!0?ql(e,n):n()}}:{},Rp=[_p,Tp,Ap,Pp,Mp,Op],jp=Rp.concat(Cp),Ip=hp({nodeOps:mp,modules:jp});rn&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&kr(e,"input")});var Zl={inserted:function(e,n,s,a){s.tag==="select"?(a.elm&&!a.elm._vOptions?lt(s,"postpatch",function(){Zl.componentUpdated(e,n,s)}):li(e,n,s.context),e._vOptions=[].map.call(e.options,Ls)):(s.tag==="textarea"||Ga(e.type))&&(e._vModifiers=n.modifiers,n.modifiers.lazy||(e.addEventListener("compositionstart",Hp),e.addEventListener("compositionend",ci),e.addEventListener("change",ci),rn&&(e.vmodel=!0)))},componentUpdated:function(e,n,s){if(s.tag==="select"){li(e,n,s.context);var a=e._vOptions,r=e._vOptions=[].map.call(e.options,Ls);if(r.some(function(i,l){return!Lt(i,a[l])})){var o=e.multiple?n.value.some(function(i){return di(i,r)}):n.value!==n.oldValue&&di(n.value,r);o&&kr(e,"change")}}}};function li(e,n,s){ui(e,n),(an||ul)&&setTimeout(function(){ui(e,n)},0)}function ui(e,n,s){var a=n.value,r=e.multiple;if(!(r&&!Array.isArray(a))){for(var o,i,l=0,u=e.options.length;l-1,i.selected!==o&&(i.selected=o);else if(Lt(Ls(i),a)){e.selectedIndex!==l&&(e.selectedIndex=l);return}r||(e.selectedIndex=-1)}}function di(e,n){return n.every(function(s){return!Lt(s,e)})}function Ls(e){return"_value"in e?e._value:e.value}function Hp(e){e.target.composing=!0}function ci(e){e.target.composing&&(e.target.composing=!1,kr(e.target,"input"))}function kr(e,n){var s=document.createEvent("HTMLEvents");s.initEvent(n,!0,!0),e.dispatchEvent(s)}function Ja(e){return e.componentInstance&&(!e.data||!e.data.transition)?Ja(e.componentInstance._vnode):e}var Vp={bind:function(e,n,s){var a=n.value;s=Ja(s);var r=s.data&&s.data.transition,o=e.__vOriginalDisplay=e.style.display==="none"?"":e.style.display;a&&r?(s.data.show=!0,Wa(s,function(){e.style.display=o})):e.style.display=a?o:"none"},update:function(e,n,s){var a=n.value,r=n.oldValue;if(!a!=!r){s=Ja(s);var o=s.data&&s.data.transition;o?(s.data.show=!0,a?Wa(s,function(){e.style.display=e.__vOriginalDisplay}):ql(s,function(){e.style.display="none"})):e.style.display=a?e.__vOriginalDisplay:"none"}},unbind:function(e,n,s,a,r){r||(e.style.display=e.__vOriginalDisplay)}},Gp={model:Zl,show:Vp},Xl={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 qa(e){var n=e&&e.componentOptions;return n&&n.Ctor.options.abstract?qa(El(n.children)):e}function Ql(e){var n={},s=e.$options;for(var a in s.propsData)n[a]=e[a];var r=s._parentListeners;for(var a in r)n[Nt(a)]=r[a];return n}function mi(e,n){if(/\d-keep-alive$/.test(n.tag))return e("keep-alive",{props:n.componentOptions.propsData})}function Kp(e){for(;e=e.parent;)if(e.data.transition)return!0}function Wp(e,n){return n.key===e.key&&n.tag===e.tag}var Jp=function(e){return e.tag||Dn(e)},qp=function(e){return e.name==="show"},Yp={name:"transition",props:Xl,abstract:!0,render:function(e){var n=this,s=this.$slots.default;if(s&&(s=s.filter(Jp),!!s.length)){var a=this.mode,r=s[0];if(Kp(this.$vnode))return r;var o=qa(r);if(!o)return r;if(this._leaving)return mi(e,r);var i="__transition-".concat(this._uid,"-");o.key=o.key==null?o.isComment?i+"comment":i+o.tag:zn(o.key)?String(o.key).indexOf(i)===0?o.key:i+o.key:o.key;var l=(o.data||(o.data={})).transition=Ql(this),u=this._vnode,d=qa(u);if(o.data.directives&&o.data.directives.some(qp)&&(o.data.show=!0),d&&d.data&&!Wp(o,d)&&!Dn(d)&&!(d.componentInstance&&d.componentInstance._vnode.isComment)){var c=d.data.transition=Q({},l);if(a==="out-in")return this._leaving=!0,lt(c,"afterLeave",function(){n._leaving=!1,n.$forceUpdate()}),mi(e,r);if(a==="in-out"){if(Dn(o))return u;var f,h=function(){f()};lt(l,"afterEnter",h),lt(l,"enterCancelled",h),lt(c,"delayLeave",function(y){f=y})}}return r}}},eu=Q({tag:String,moveClass:String},Xl);delete eu.mode;var Zp={props:eu,beforeMount:function(){var e=this,n=this._update;this._update=function(s,a){var r=kl(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,r(),n.call(e,s,a)}},render:function(e){for(var n=this.tag||this.$vnode.data.tag||"span",s=Object.create(null),a=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],i=Ql(this),l=0;l1)for(var s=1;s2){var u=s.lastIndexOf("/");if(u!==s.length-1){u===-1?(s="",a=0):(s=s.slice(0,u),a=s.length-1-s.lastIndexOf("/")),r=l,o=0;continue}}else if(s.length===2||s.length===1){s="",a=0,r=l,o=0;continue}}n&&(s.length>0?s+="/..":s="..",a=2)}else s.length>0?s+="/"+e.slice(r+1,l):s=e.slice(r+1,l),a=l-r-1;r=l,o=0}else i===46&&o!==-1?++o:o=-1}return s}function i0(e,n){var s=n.dir||n.root,a=n.base||(n.name||"")+(n.ext||"");return s?s===n.root?s+a:s+e+a:a}var En={resolve:function(){for(var e="",n=!1,s,a=arguments.length-1;a>=-1&&!n;a--){var r;a>=0?r=arguments[a]:(s===void 0&&(s=o0.cwd()),r=s),Be(r),r.length!==0&&(e=r+"/"+e,n=r.charCodeAt(0)===47)}return e=pi(e,!n),n?e.length>0?"/"+e:"/":e.length>0?e:"."},normalize:function(e){if(Be(e),e.length===0)return".";var n=e.charCodeAt(0)===47,s=e.charCodeAt(e.length-1)===47;return e=pi(e,!n),e.length===0&&!n&&(e="."),e.length>0&&s&&(e+="/"),n?"/"+e:e},isAbsolute:function(e){return Be(e),e.length>0&&e.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var e,n=0;n0&&(e===void 0?e=s:e+="/"+s)}return e===void 0?".":En.normalize(e)},relative:function(e,n){if(Be(e),Be(n),e===n||(e=En.resolve(e),n=En.resolve(n),e===n))return"";for(var s=1;su){if(n.charCodeAt(o+c)===47)return n.slice(o+c+1);if(c===0)return n.slice(o+c)}else r>u&&(e.charCodeAt(s+c)===47?d=c:c===0&&(d=0));break}var f=e.charCodeAt(s+c),h=n.charCodeAt(o+c);if(f!==h)break;f===47&&(d=c)}var y="";for(c=s+d+1;c<=a;++c)(c===a||e.charCodeAt(c)===47)&&(y.length===0?y+="..":y+="/..");return y.length>0?y+n.slice(o+d):(o+=d,n.charCodeAt(o)===47&&++o,n.slice(o))},_makeLong:function(e){return e},dirname:function(e){if(Be(e),e.length===0)return".";for(var n=e.charCodeAt(0),s=n===47,a=-1,r=!0,o=e.length-1;o>=1;--o)if(n=e.charCodeAt(o),n===47){if(!r){a=o;break}}else r=!1;return a===-1?s?"/":".":s&&a===1?"//":e.slice(0,a)},basename:function(e,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');Be(e);var s=0,a=-1,r=!0,o;if(n!==void 0&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var i=n.length-1,l=-1;for(o=e.length-1;o>=0;--o){var u=e.charCodeAt(o);if(u===47){if(!r){s=o+1;break}}else l===-1&&(r=!1,l=o+1),i>=0&&(u===n.charCodeAt(i)?--i===-1&&(a=o):(i=-1,a=l))}return s===a?a=l:a===-1&&(a=e.length),e.slice(s,a)}else{for(o=e.length-1;o>=0;--o)if(e.charCodeAt(o)===47){if(!r){s=o+1;break}}else a===-1&&(r=!1,a=o+1);return a===-1?"":e.slice(s,a)}},extname:function(e){Be(e);for(var n=-1,s=0,a=-1,r=!0,o=0,i=e.length-1;i>=0;--i){var l=e.charCodeAt(i);if(l===47){if(!r){s=i+1;break}continue}a===-1&&(r=!1,a=i+1),l===46?n===-1?n=i:o!==1&&(o=1):n!==-1&&(o=-1)}return n===-1||a===-1||o===0||o===1&&n===a-1&&n===s+1?"":e.slice(n,a)},format:function(e){if(e===null||typeof e!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return i0("/",e)},parse:function(e){Be(e);var n={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return n;var s=e.charCodeAt(0),a=s===47,r;a?(n.root="/",r=1):r=0;for(var o=-1,i=0,l=-1,u=!0,d=e.length-1,c=0;d>=r;--d){if(s=e.charCodeAt(d),s===47){if(!u){i=d+1;break}continue}l===-1&&(u=!1,l=d+1),s===46?o===-1?o=d:c!==1&&(c=1):o!==-1&&(c=-1)}return o===-1||l===-1||c===0||c===1&&o===l-1&&o===i+1?l!==-1&&(i===0&&a?n.base=n.name=e.slice(1,l):n.base=n.name=e.slice(i,l)):(i===0&&a?(n.name=e.slice(1,o),n.base=e.slice(1,l)):(n.name=e.slice(i,o),n.base=e.slice(i,l)),n.ext=e.slice(o,l)),i>0?n.dir=e.slice(0,i-1):a&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};En.posix=En;var ru={exports:{}};(function(e){(function(n,s){e.exports?e.exports=s():n.Toastify=s()})(Cn,function(n){var s=function(i){return new s.lib.init(i)},a="1.12.0";s.defaults={oldestFirst:!0,text:"Toastify is awesome!",node:void 0,duration:3e3,selector:void 0,callback:function(){},destination:void 0,newWindow:!1,close:!1,gravity:"toastify-top",positionLeft:!1,position:"",backgroundColor:"",avatar:"",className:"",stopOnFocus:!0,onClick:function(){},offset:{x:0,y:0},escapeMarkup:!0,ariaLive:"polite",style:{background:""}},s.lib=s.prototype={toastify:a,constructor:s,init:function(i){return i||(i={}),this.options={},this.toastElement=null,this.options.text=i.text||s.defaults.text,this.options.node=i.node||s.defaults.node,this.options.duration=i.duration===0?0:i.duration||s.defaults.duration,this.options.selector=i.selector||s.defaults.selector,this.options.callback=i.callback||s.defaults.callback,this.options.destination=i.destination||s.defaults.destination,this.options.newWindow=i.newWindow||s.defaults.newWindow,this.options.close=i.close||s.defaults.close,this.options.gravity=i.gravity==="bottom"?"toastify-bottom":s.defaults.gravity,this.options.positionLeft=i.positionLeft||s.defaults.positionLeft,this.options.position=i.position||s.defaults.position,this.options.backgroundColor=i.backgroundColor||s.defaults.backgroundColor,this.options.avatar=i.avatar||s.defaults.avatar,this.options.className=i.className||s.defaults.className,this.options.stopOnFocus=i.stopOnFocus===void 0?s.defaults.stopOnFocus:i.stopOnFocus,this.options.onClick=i.onClick||s.defaults.onClick,this.options.offset=i.offset||s.defaults.offset,this.options.escapeMarkup=i.escapeMarkup!==void 0?i.escapeMarkup:s.defaults.escapeMarkup,this.options.ariaLive=i.ariaLive||s.defaults.ariaLive,this.options.style=i.style||s.defaults.style,i.backgroundColor&&(this.options.style.background=i.backgroundColor),this},buildToast:function(){if(!this.options)throw"Toastify is not initialized";var i=document.createElement("div");i.className="toastify on "+this.options.className,this.options.position?i.className+=" toastify-"+this.options.position:this.options.positionLeft===!0?(i.className+=" toastify-left",console.warn("Property `positionLeft` will be depreciated in further versions. Please use `position` instead.")):i.className+=" toastify-right",i.className+=" "+this.options.gravity,this.options.backgroundColor&&console.warn('DEPRECATION NOTICE: "backgroundColor" is being deprecated. Please use the "style.background" property.');for(var l in this.options.style)i.style[l]=this.options.style[l];if(this.options.ariaLive&&i.setAttribute("aria-live",this.options.ariaLive),this.options.node&&this.options.node.nodeType===Node.ELEMENT_NODE)i.appendChild(this.options.node);else if(this.options.escapeMarkup?i.innerText=this.options.text:i.innerHTML=this.options.text,this.options.avatar!==""){var u=document.createElement("img");u.src=this.options.avatar,u.className="toastify-avatar",this.options.position=="left"||this.options.positionLeft===!0?i.appendChild(u):i.insertAdjacentElement("afterbegin",u)}if(this.options.close===!0){var d=document.createElement("button");d.type="button",d.setAttribute("aria-label","Close"),d.className="toast-close",d.innerHTML="✖",d.addEventListener("click",function(b){b.stopPropagation(),this.removeElement(this.toastElement),window.clearTimeout(this.toastElement.timeOutValue)}.bind(this));var c=window.innerWidth>0?window.innerWidth:screen.width;(this.options.position=="left"||this.options.positionLeft===!0)&&c>360?i.insertAdjacentElement("afterbegin",d):i.appendChild(d)}if(this.options.stopOnFocus&&this.options.duration>0){var f=this;i.addEventListener("mouseover",function(b){window.clearTimeout(i.timeOutValue)}),i.addEventListener("mouseleave",function(){i.timeOutValue=window.setTimeout(function(){f.removeElement(i)},f.options.duration)})}if(typeof this.options.destination<"u"&&i.addEventListener("click",function(b){b.stopPropagation(),this.options.newWindow===!0?window.open(this.options.destination,"_blank"):window.location=this.options.destination}.bind(this)),typeof this.options.onClick=="function"&&typeof this.options.destination>"u"&&i.addEventListener("click",function(b){b.stopPropagation(),this.options.onClick()}.bind(this)),typeof this.options.offset=="object"){var h=r("x",this.options),y=r("y",this.options),_=this.options.position=="left"?h:"-"+h,L=this.options.gravity=="toastify-top"?y:"-"+y;i.style.transform="translate("+_+","+L+")"}return i},showToast:function(){this.toastElement=this.buildToast();var i;if(typeof this.options.selector=="string"?i=document.getElementById(this.options.selector):this.options.selector instanceof HTMLElement||typeof ShadowRoot<"u"&&this.options.selector instanceof ShadowRoot?i=this.options.selector:i=document.body,!i)throw"Root element is not defined";var l=s.defaults.oldestFirst?i.firstChild:i.lastChild;return i.insertBefore(this.toastElement,l),s.reposition(),this.options.duration>0&&(this.toastElement.timeOutValue=window.setTimeout(function(){this.removeElement(this.toastElement)}.bind(this),this.options.duration)),this},hideToast:function(){this.toastElement.timeOutValue&&clearTimeout(this.toastElement.timeOutValue),this.removeElement(this.toastElement)},removeElement:function(i){i.className=i.className.replace(" on",""),window.setTimeout(function(){this.options.node&&this.options.node.parentNode&&this.options.node.parentNode.removeChild(this.options.node),i.parentNode&&i.parentNode.removeChild(i),this.options.callback.call(i),s.reposition()}.bind(this),400)}},s.reposition=function(){for(var i={top:15,bottom:15},l={top:15,bottom:15},u={top:15,bottom:15},d=document.getElementsByClassName("toastify"),c,f=0;f0?window.innerWidth:screen.width;_<=360?(d[f].style[c]=u[c]+"px",u[c]+=h+y):o(d[f],"toastify-left")===!0?(d[f].style[c]=i[c]+"px",i[c]+=h+y):(d[f].style[c]=l[c]+"px",l[c]+=h+y)}return this};function r(i,l){return l.offset[i]?isNaN(l.offset[i])?l.offset[i]:l.offset[i]+"px":"0px"}function o(i,l){return!i||typeof l!="string"?!1:!!(i.className&&i.className.trim().split(/\s+/gi).indexOf(l)>-1)}return s.lib.init.prototype=s.lib,s})})(ru);var l0=ru.exports;const u0=ur(l0);var d0="Expected a function",ou="__lodash_hash_undefined__",iu=1/0,c0="[object Function]",m0="[object GeneratorFunction]",p0="[object Symbol]",g0=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,f0=/^\w*$/,h0=/^\./,v0=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,y0=/[\\^$.*+?()[\]{}|]/g,x0=/\\(\\)?/g,w0=/^\[object .+?Constructor\]$/,C0=typeof Cn=="object"&&Cn&&Cn.Object===Object&&Cn,_0=typeof self=="object"&&self&&self.Object===Object&&self,Nr=C0||_0||Function("return this")();function T0(e,n){return e?.[n]}function b0(e){var n=!1;if(e!=null&&typeof e.toString!="function")try{n=!!(e+"")}catch{}return n}var E0=Array.prototype,F0=Function.prototype,lu=Object.prototype,Ca=Nr["__core-js_shared__"],gi=function(){var e=/[^.]+$/.exec(Ca&&Ca.keys&&Ca.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),uu=F0.toString,Lr=lu.hasOwnProperty,du=lu.toString,S0=RegExp("^"+uu.call(Lr).replace(y0,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),fi=Nr.Symbol,A0=E0.splice,k0=cu(Nr,"Map"),Mn=cu(Object,"create"),hi=fi?fi.prototype:void 0,vi=hi?hi.toString:void 0;function bt(e){var n=-1,s=e?e.length:0;for(this.clear();++n-1}function O0(e,n){var s=this.__data__,a=Gs(s,e);return a<0?s.push([e,n]):s[a][1]=n,this}Vt.prototype.clear=$0,Vt.prototype.delete=U0,Vt.prototype.get=M0,Vt.prototype.has=z0,Vt.prototype.set=O0;function Et(e){var n=-1,s=e?e.length:0;for(this.clear();++n 1)",pluralsFunc:function(e){return e>1}},af:{name:"Afrikaans",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ak:{name:"Akan",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},am:{name:"Amharic",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},an:{name:"Aragonese",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ar:{name:"Arabic",examples:[{plural:0,sample:0},{plural:1,sample:1},{plural:2,sample:2},{plural:3,sample:3},{plural:4,sample:11},{plural:5,sample:100}],nplurals:6,pluralsText:"nplurals = 6; plural = (n === 0 ? 0 : n === 1 ? 1 : n === 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5)",pluralsFunc:function(e){return e===0?0:e===1?1:e===2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5}},arn:{name:"Mapudungun",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},ast:{name:"Asturian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ay:{name:"Aymará",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},az:{name:"Azerbaijani",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},be:{name:"Belarusian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},bg:{name:"Bulgarian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},bn:{name:"Bengali",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},bo:{name:"Tibetan",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},br:{name:"Breton",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},brx:{name:"Bodo",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},bs:{name:"Bosnian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},ca:{name:"Catalan",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},cgg:{name:"Chiga",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},cs:{name:"Czech",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : (n >= 2 && n <= 4) ? 1 : 2)",pluralsFunc:function(e){return e===1?0:e>=2&&e<=4?1:2}},csb:{name:"Kashubian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e===1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},cy:{name:"Welsh",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:8}],nplurals:4,pluralsText:"nplurals = 4; plural = (n === 1 ? 0 : n === 2 ? 1 : (n !== 8 && n !== 11) ? 2 : 3)",pluralsFunc:function(e){return e===1?0:e===2?1:e!==8&&e!==11?2:3}},da:{name:"Danish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},de:{name:"German",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},doi:{name:"Dogri",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},dz:{name:"Dzongkha",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},el:{name:"Greek",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},en:{name:"English",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},eo:{name:"Esperanto",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},es:{name:"Spanish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},et:{name:"Estonian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},eu:{name:"Basque",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},fa:{name:"Persian",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},ff:{name:"Fulah",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},fi:{name:"Finnish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},fil:{name:"Filipino",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},fo:{name:"Faroese",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},fr:{name:"French",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},fur:{name:"Friulian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},fy:{name:"Frisian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ga:{name:"Irish",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:7},{plural:4,sample:11}],nplurals:5,pluralsText:"nplurals = 5; plural = (n === 1 ? 0 : n === 2 ? 1 : n < 7 ? 2 : n < 11 ? 3 : 4)",pluralsFunc:function(e){return e===1?0:e===2?1:e<7?2:e<11?3:4}},gd:{name:"Scottish Gaelic",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:20}],nplurals:4,pluralsText:"nplurals = 4; plural = ((n === 1 || n === 11) ? 0 : (n === 2 || n === 12) ? 1 : (n > 2 && n < 20) ? 2 : 3)",pluralsFunc:function(e){return e===1||e===11?0:e===2||e===12?1:e>2&&e<20?2:3}},gl:{name:"Galician",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},gu:{name:"Gujarati",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},gun:{name:"Gun",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},ha:{name:"Hausa",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},he:{name:"Hebrew",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},hi:{name:"Hindi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},hne:{name:"Chhattisgarhi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},hr:{name:"Croatian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},hu:{name:"Hungarian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},hy:{name:"Armenian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},id:{name:"Indonesian",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},is:{name:"Icelandic",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n % 10 !== 1 || n % 100 === 11)",pluralsFunc:function(e){return e%10!==1||e%100===11}},it:{name:"Italian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ja:{name:"Japanese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},jbo:{name:"Lojban",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},jv:{name:"Javanese",examples:[{plural:0,sample:0},{plural:1,sample:1}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 0)",pluralsFunc:function(e){return e!==0}},ka:{name:"Georgian",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},kk:{name:"Kazakh",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},km:{name:"Khmer",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},kn:{name:"Kannada",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ko:{name:"Korean",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},ku:{name:"Kurdish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},kw:{name:"Cornish",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:4}],nplurals:4,pluralsText:"nplurals = 4; plural = (n === 1 ? 0 : n === 2 ? 1 : n === 3 ? 2 : 3)",pluralsFunc:function(e){return e===1?0:e===2?1:e===3?2:3}},ky:{name:"Kyrgyz",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},lb:{name:"Letzeburgesch",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ln:{name:"Lingala",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},lo:{name:"Lao",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},lt:{name:"Lithuanian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:10}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2}},lv:{name:"Latvian",examples:[{plural:2,sample:0},{plural:0,sample:1},{plural:1,sample:2}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n !== 0 ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e!==0?1:2}},mai:{name:"Maithili",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},mfe:{name:"Mauritian Creole",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},mg:{name:"Malagasy",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},mi:{name:"Maori",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},mk:{name:"Macedonian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n === 1 || n % 10 === 1 ? 0 : 1)",pluralsFunc:function(e){return e===1||e%10===1?0:1}},ml:{name:"Malayalam",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},mn:{name:"Mongolian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},mni:{name:"Manipuri",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},mnk:{name:"Mandinka",examples:[{plural:0,sample:0},{plural:1,sample:1},{plural:2,sample:2}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 0 ? 0 : n === 1 ? 1 : 2)",pluralsFunc:function(e){return e===0?0:e===1?1:2}},mr:{name:"Marathi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ms:{name:"Malay",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},mt:{name:"Maltese",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:11},{plural:3,sample:20}],nplurals:4,pluralsText:"nplurals = 4; plural = (n === 1 ? 0 : n === 0 || ( n % 100 > 1 && n % 100 < 11) ? 1 : (n % 100 > 10 && n % 100 < 20 ) ? 2 : 3)",pluralsFunc:function(e){return e===1?0:e===0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3}},my:{name:"Burmese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},nah:{name:"Nahuatl",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},nap:{name:"Neapolitan",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},nb:{name:"Norwegian Bokmal",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ne:{name:"Nepali",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},nl:{name:"Dutch",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},nn:{name:"Norwegian Nynorsk",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},no:{name:"Norwegian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},nso:{name:"Northern Sotho",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},oc:{name:"Occitan",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},or:{name:"Oriya",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},pa:{name:"Punjabi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},pap:{name:"Papiamento",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},pl:{name:"Polish",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e===1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},pms:{name:"Piemontese",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ps:{name:"Pashto",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},pt:{name:"Portuguese",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},rm:{name:"Romansh",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ro:{name:"Romanian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:20}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : (n === 0 || (n % 100 > 0 && n % 100 < 20)) ? 1 : 2)",pluralsFunc:function(e){return e===1?0:e===0||e%100>0&&e%100<20?1:2}},ru:{name:"Russian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},rw:{name:"Kinyarwanda",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sah:{name:"Yakut",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},sat:{name:"Santali",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sco:{name:"Scots",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sd:{name:"Sindhi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},se:{name:"Northern Sami",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},si:{name:"Sinhala",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sk:{name:"Slovak",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : (n >= 2 && n <= 4) ? 1 : 2)",pluralsFunc:function(e){return e===1?0:e>=2&&e<=4?1:2}},sl:{name:"Slovenian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:5}],nplurals:4,pluralsText:"nplurals = 4; plural = (n % 100 === 1 ? 0 : n % 100 === 2 ? 1 : n % 100 === 3 || n % 100 === 4 ? 2 : 3)",pluralsFunc:function(e){return e%100===1?0:e%100===2?1:e%100===3||e%100===4?2:3}},so:{name:"Somali",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},son:{name:"Songhay",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sq:{name:"Albanian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sr:{name:"Serbian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},su:{name:"Sundanese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},sv:{name:"Swedish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sw:{name:"Swahili",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ta:{name:"Tamil",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},te:{name:"Telugu",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},tg:{name:"Tajik",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},th:{name:"Thai",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},ti:{name:"Tigrinya",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},tk:{name:"Turkmen",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},tr:{name:"Turkish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},tt:{name:"Tatar",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},ug:{name:"Uyghur",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},uk:{name:"Ukrainian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},ur:{name:"Urdu",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},uz:{name:"Uzbek",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},vi:{name:"Vietnamese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},wa:{name:"Walloon",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},wo:{name:"Wolof",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},yo:{name:"Yoruba",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},zh:{name:"Chinese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}}},lg=og,ug=ig,dg=te;function te(e){e=e||{},this.catalogs={},this.locale="",this.domain="messages",this.listeners=[],this.sourceLocale="",e.sourceLocale&&(typeof e.sourceLocale=="string"?this.sourceLocale=e.sourceLocale:this.warn("The `sourceLocale` option should be a string")),this.debug="debug"in e&&e.debug===!0}te.prototype.on=function(e,n){this.listeners.push({eventName:e,callback:n})},te.prototype.off=function(e,n){this.listeners=this.listeners.filter(function(s){return!(s.eventName===e&&s.callback===n)})},te.prototype.emit=function(e,n){for(var s=0;sn in e?_g(e,n,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[n]=s,Cs=(e,n,s)=>(Tg(e,typeof n!="symbol"?n+"":n,s),s);let bg=class{constructor(){Cs(this,"locale"),Cs(this,"translations",{}),Cs(this,"debug",!1)}setLanguage(e){return this.locale=e,this}detectLocale(){return this.setLanguage(Cg().replace("-","_"))}addTranslation(e,n){return this.translations[e]=n,this}enableDebugMode(){return this.debug=!0,this}build(){return new Fg(this.locale||"en",this.translations,this.debug)}},Fg=class{constructor(e,n,s){Cs(this,"gt"),this.gt=new yu({debug:s,sourceLocale:"en"});for(const a in n)this.gt.addTranslations(a,"messages",n[a]);this.gt.setLocale(e)}subtitudePlaceholders(e,n){return e.replace(/{([^{}]*)}/g,(s,a)=>{const r=n[a];return typeof r=="string"||typeof r=="number"?r.toString():s})}gettext(e,n={}){return this.subtitudePlaceholders(this.gt.gettext(e),n)}ngettext(e,n,s,a={}){return this.subtitudePlaceholders(this.gt.ngettext(e,n,s).replace(/%n/g,s.toString()),a)}};function Eg(){return new bg}const xu=Eg().detectLocale();[{locale:"af",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2023","Language-Team":"Afrikaans (https://app.transifex.com/nextcloud/teams/64236/af/)","Content-Type":"text/plain; charset=UTF-8",Language:"af","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:` +To read more about the migration from node-gettext v1 to v2, see https://github.com/alexanderwallin/node-gettext/#migrating-from-1x-to-2x`)};const cg=ur(dg);var mg=Object.defineProperty,pg=(e,n,s)=>n in e?mg(e,n,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[n]=s,xs=(e,n,s)=>(pg(e,typeof n!="symbol"?n+"":n,s),s);class gg{constructor(){xs(this,"locale"),xs(this,"translations",{}),xs(this,"debug",!1)}setLanguage(n){return this.locale=n,this}detectLocale(){return this.setLanguage(od().replace("-","_"))}addTranslation(n,s){return this.translations[n]=s,this}enableDebugMode(){return this.debug=!0,this}build(){return new fg(this.locale||"en",this.translations,this.debug)}}class fg{constructor(n,s,a){xs(this,"gt"),this.gt=new cg({debug:a,sourceLocale:"en"});for(const r in s)this.gt.addTranslations(r,"messages",s[r]);this.gt.setLocale(n)}subtitudePlaceholders(n,s){return n.replace(/{([^{}]*)}/g,(a,r)=>{const o=s[r];return typeof o=="string"||typeof o=="number"?o.toString():a})}gettext(n,s={}){return this.subtitudePlaceholders(this.gt.gettext(n),s)}ngettext(n,s,a,r={}){return this.subtitudePlaceholders(this.gt.ngettext(n,s,a).replace(/%n/g,a.toString()),r)}}function gu(){return new gg}const fu=gu().detectLocale();[{locale:"af",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2023","Language-Team":"Afrikaans (https://app.transifex.com/nextcloud/teams/64236/af/)","Content-Type":"text/plain; charset=UTF-8",Language:"af","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:` Translators: Transifex Bot <>, 2023 `},msgstr:[`Last-Translator: Transifex Bot <>, 2023 @@ -920,4 +920,4 @@ Language-Team: Zulu (South Africa) (https://app.transifex.com/nextcloud/teams/64 Content-Type: text/plain; charset=UTF-8 Language: zu_ZA Plural-Forms: nplurals=2; plural=(n != 1); -`]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:223"},msgstr:[""]}}}}}].map(e=>xu.addTranslation(e.locale,e.json));const is=xu.build();is.ngettext.bind(is),is.gettext.bind(is);const Sg="off",Ag="polite",kg="assertive";var sr=(e=>(e[e.OFF=Sg]="OFF",e[e.POLITE=Ag]="POLITE",e[e.ASSERTIVE=kg]="ASSERTIVE",e))(sr||{});const Ng=7e3;function wu(e,n){var s;if(n=Object.assign({timeout:Ng,isHTML:!1,type:void 0,selector:void 0,onRemove:()=>{},onClick:void 0,close:!0},n),typeof e=="string"&&!n.isHTML){const l=document.createElement("div");l.innerHTML=e,e=l.innerText}let a=(s=n.type)!=null?s:"";typeof n.onClick=="function"&&(a+=" toast-with-click ");const r=e instanceof Node;let o=sr.POLITE;n.ariaLive?o=n.ariaLive:(n.type==="toast-error"||n.type==="toast-undo")&&(o=sr.ASSERTIVE);const i=x0({[r?"node":"text"]:e,duration:n.timeout,callback:n.onRemove,onClick:n.onClick,close:n.close,gravity:"top",selector:n.selector,position:"right",backgroundColor:"",className:"dialogs "+a,escapeMarkup:!n.isHTML,ariaLive:o});return i.showToast(),i}function _i(e,n){return wu(e,{...n,type:"toast-error"})}function Lg(e,n){return wu(e,{...n,type:"toast-success"})}Y.util.warn;function Pg(e){return _l()?(vc(e),!0):!1}function Cu(e){return typeof e=="function"?e():cc(e)}const Bg=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Dg=Object.prototype.toString,$g=e=>Dg.call(e)==="[object Object]",ar=()=>{};Y.util.warn;function Ug(e){var n;const s=Cu(e);return(n=s?.$el)!=null?n:s}const _u=Bg?window:void 0;function Ea(...e){let n,s,a,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([s,a,r]=e,n=_u):[n,s,a,r]=e,!n)return ar;Array.isArray(s)||(s=[s]),Array.isArray(a)||(a=[a]);const o=[],i=()=>{o.forEach(c=>c()),o.length=0},l=(c,f,h,x)=>(c.addEventListener(f,h,x),()=>c.removeEventListener(f,h,x)),u=pc(()=>[Ug(n),Cu(r)],([c,f])=>{if(i(),!c)return;const h=$g(f)?{...f}:f;o.push(...s.flatMap(x=>a.map(_=>l(c,x,_,h))))},{immediate:!0,flush:"post"}),d=()=>{u(),i()};return Pg(d),d}function Mg(e,n={}){const{threshold:s=50,onSwipe:a,onSwipeEnd:r,onSwipeStart:o,passive:i=!0,window:l=_u}=n,u=bo({x:0,y:0}),d=bo({x:0,y:0}),c=bn(()=>u.x-d.x),f=bn(()=>u.y-d.y),{max:h,abs:x}=Math,_=bn(()=>h(x(c.value),x(f.value))>=s),L=uc(!1),b=bn(()=>_.value?x(c.value)>x(f.value)?c.value>0?"left":"right":f.value>0?"up":"down":"none"),U=$=>[$.touches[0].clientX,$.touches[0].clientY],S=($,V)=>{u.x=$,u.y=V},R=($,V)=>{d.x=$,d.y=V};let B;const G=Og(l?.document);i?B=G?{passive:!0}:{capture:!1}:B=G?{passive:!1,capture:!0}:{capture:!0};const X=$=>{L.value&&r?.($,b.value),L.value=!1},J=[Ea(e,"touchstart",$=>{if($.touches.length!==1)return;B.capture&&!B.passive&&$.preventDefault();const[V,C]=U($);S(V,C),R(V,C),o?.($)},B),Ea(e,"touchmove",$=>{if($.touches.length!==1)return;const[V,C]=U($);R(V,C),!L.value&&_.value&&(L.value=!0),L.value&&a?.($)},B),Ea(e,["touchend","touchcancel"],X,B)];return{isPassiveEventSupported:G,isSwiping:L,direction:b,coordsStart:u,coordsEnd:d,lengthX:c,lengthY:f,stop:()=>J.forEach($=>$())}}function Og(e){if(!e)return!1;let n=!1;const s={get passive(){return n=!0,!1}};return e.addEventListener("x",ar,s),e.removeEventListener("x",ar),n}const zg=e=>{e.mounted?Array.isArray(e.mounted)||(e.mounted=[e.mounted]):e.mounted=[],e.mounted.push(function(){this.$el.setAttribute("data-v-".concat("24eabcf"),"")})};var Tu=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Us=Tu.join(","),bu=typeof Element>"u",$t=bu?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ms=!bu&&Element.prototype.getRootNode?function(e){var n;return e==null||(n=e.getRootNode)===null||n===void 0?void 0:n.call(e)}:function(e){return e?.ownerDocument},Os=function e(n,s){var a;s===void 0&&(s=!0);var r=n==null||(a=n.getAttribute)===null||a===void 0?void 0:a.call(n,"inert"),o=r===""||r==="true",i=o||s&&n&&e(n.parentNode);return i},Rg=function(e){var n,s=e==null||(n=e.getAttribute)===null||n===void 0?void 0:n.call(e,"contenteditable");return s===""||s==="true"},Fu=function(e,n,s){if(Os(e))return[];var a=Array.prototype.slice.apply(e.querySelectorAll(Us));return n&&$t.call(e,Us)&&a.unshift(e),a=a.filter(s),a},Eu=function e(n,s,a){for(var r=[],o=Array.from(n);o.length;){var i=o.shift();if(!Os(i,!1))if(i.tagName==="SLOT"){var l=i.assignedElements(),u=l.length?l:i.children,d=e(u,!0,a);a.flatten?r.push.apply(r,d):r.push({scopeParent:i,candidates:d})}else{var c=$t.call(i,Us);c&&a.filter(i)&&(s||!n.includes(i))&&r.push(i);var f=i.shadowRoot||typeof a.getShadowRoot=="function"&&a.getShadowRoot(i),h=!Os(f,!1)&&(!a.shadowRootFilter||a.shadowRootFilter(i));if(f&&h){var x=e(f===!0?i.children:f.children,!0,a);a.flatten?r.push.apply(r,x):r.push({scopeParent:i,candidates:x})}else o.unshift.apply(o,i.children)}}return r},Su=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},St=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||Rg(e))&&!Su(e)?0:e.tabIndex},jg=function(e,n){var s=St(e);return s<0&&n&&!Su(e)?0:s},Ig=function(e,n){return e.tabIndex===n.tabIndex?e.documentOrder-n.documentOrder:e.tabIndex-n.tabIndex},Au=function(e){return e.tagName==="INPUT"},Hg=function(e){return Au(e)&&e.type==="hidden"},Vg=function(e){var n=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(s){return s.tagName==="SUMMARY"});return n},Gg=function(e,n){for(var s=0;ssummary:first-of-type"),o=r?e.parentElement:e;if($t.call(o,"details:not([open]) *"))return!0;if(!s||s==="full"||s==="legacy-full"){if(typeof a=="function"){for(var i=e;e;){var l=e.parentElement,u=Ms(e);if(l&&!l.shadowRoot&&a(l)===!0)return Ti(e);e.assignedSlot?e=e.assignedSlot:!l&&u!==e.ownerDocument?e=u.host:e=l}e=i}if(qg(e))return!e.getClientRects().length;if(s!=="legacy-full")return!0}else if(s==="non-zero-area")return Ti(e);return!1},Zg=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var n=e.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var s=0;s=0)},Qg=function e(n){var s=[],a=[];return n.forEach(function(r,o){var i=!!r.scopeParent,l=i?r.scopeParent:r,u=jg(l,i),d=i?e(r.candidates):l;u===0?i?s.push.apply(s,d):s.push(l):a.push({documentOrder:o,tabIndex:u,item:r,isScope:i,content:d})}),a.sort(Ig).reduce(function(r,o){return o.isScope?r.push.apply(r,o.content):r.push(o.content),r},[]).concat(s)},ef=function(e,n){n=n||{};var s;return n.getShadowRoot?s=Eu([e],n.includeContainer,{filter:rr.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:Xg}):s=Fu(e,n.includeContainer,rr.bind(null,n)),Qg(s)},tf=function(e,n){n=n||{};var s;return n.getShadowRoot?s=Eu([e],n.includeContainer,{filter:zs.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):s=Fu(e,n.includeContainer,zs.bind(null,n)),s},Ht=function(e,n){if(n=n||{},!e)throw new Error("No node provided");return $t.call(e,Us)===!1?!1:rr(n,e)},nf=Tu.concat("iframe").join(","),Sa=function(e,n){if(n=n||{},!e)throw new Error("No node provided");return $t.call(e,nf)===!1?!1:zs(n,e)};function bi(e,n){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),s.push.apply(s,a)}return s}function Fi(e){for(var n=1;n0){var s=e[e.length-1];s!==n&&s.pause()}var a=e.indexOf(n);a===-1||e.splice(a,1),e.push(n)},deactivateTrap:function(e,n){var s=e.indexOf(n);s!==-1&&e.splice(s,1),e.length>0&&e[e.length-1].unpause()}},of=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},lf=function(e){return e?.key==="Escape"||e?.key==="Esc"||e?.keyCode===27},An=function(e){return e?.key==="Tab"||e?.keyCode===9},uf=function(e){return An(e)&&!e.shiftKey},df=function(e){return An(e)&&e.shiftKey},Si=function(e){return setTimeout(e,0)},Ai=function(e,n){var s=-1;return e.every(function(a,r){return n(a)?(s=r,!1):!0}),s},_n=function(e){for(var n=arguments.length,s=new Array(n>1?n-1:0),a=1;a1?m-1:0),y=1;y=0)C=s.activeElement;else{var w=o.tabbableGroups[0],m=w&&w.firstTabbableNode;C=m||d("fallbackFocus")}if(!C)throw new Error("Your focus-trap needs to have at least one focusable element");return C},f=function(){if(o.containerGroups=o.containers.map(function(C){var w=ef(C,r.tabbableOptions),m=tf(C,r.tabbableOptions),g=w.length>0?w[0]:void 0,y=w.length>0?w[w.length-1]:void 0,T=m.find(function(k){return Ht(k)}),E=m.slice().reverse().find(function(k){return Ht(k)}),P=!!w.find(function(k){return St(k)>0});return{container:C,tabbableNodes:w,focusableNodes:m,posTabIndexesFound:P,firstTabbableNode:g,lastTabbableNode:y,firstDomTabbableNode:T,lastDomTabbableNode:E,nextTabbableNode:function(k){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,O=w.indexOf(k);return O<0?D?m.slice(m.indexOf(k)+1).find(function(A){return Ht(A)}):m.slice(0,m.indexOf(k)).reverse().find(function(A){return Ht(A)}):w[O+(D?1:-1)]}}}),o.tabbableGroups=o.containerGroups.filter(function(C){return C.tabbableNodes.length>0}),o.tabbableGroups.length<=0&&!d("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(o.containerGroups.find(function(C){return C.posTabIndexesFound})&&o.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},h=function C(w){var m=w.activeElement;if(m)return m.shadowRoot&&m.shadowRoot.activeElement!==null?C(m.shadowRoot):m},x=function C(w){if(w!==!1&&w!==h(document)){if(!w||!w.focus){C(c());return}w.focus({preventScroll:!!r.preventScroll}),o.mostRecentlyFocusedNode=w,of(w)&&w.select()}},_=function(C){var w=d("setReturnFocus",C);return w||(w===!1?!1:C)},L=function(C){var w=C.target,m=C.event,g=C.isBackward,y=g===void 0?!1:g;w=w||ls(m),f();var T=null;if(o.tabbableGroups.length>0){var E=u(w,m),P=E>=0?o.containerGroups[E]:void 0;if(E<0)y?T=o.tabbableGroups[o.tabbableGroups.length-1].lastTabbableNode:T=o.tabbableGroups[0].firstTabbableNode;else if(y){var k=Ai(o.tabbableGroups,function(ae){var H=ae.firstTabbableNode;return w===H});if(k<0&&(P.container===w||Sa(w,r.tabbableOptions)&&!Ht(w,r.tabbableOptions)&&!P.nextTabbableNode(w,!1))&&(k=E),k>=0){var D=k===0?o.tabbableGroups.length-1:k-1,O=o.tabbableGroups[D];T=St(w)>=0?O.lastTabbableNode:O.lastDomTabbableNode}else An(m)||(T=P.nextTabbableNode(w,!1))}else{var A=Ai(o.tabbableGroups,function(ae){var H=ae.lastTabbableNode;return w===H});if(A<0&&(P.container===w||Sa(w,r.tabbableOptions)&&!Ht(w,r.tabbableOptions)&&!P.nextTabbableNode(w))&&(A=E),A>=0){var W=A===o.tabbableGroups.length-1?0:A+1,z=o.tabbableGroups[W];T=St(w)>=0?z.firstTabbableNode:z.firstDomTabbableNode}else An(m)||(T=P.nextTabbableNode(w))}}else T=d("fallbackFocus");return T},b=function(C){var w=ls(C);if(!(u(w,C)>=0)){if(_n(r.clickOutsideDeactivates,C)){i.deactivate({returnFocus:r.returnFocusOnDeactivate});return}_n(r.allowOutsideClick,C)||C.preventDefault()}},U=function(C){var w=ls(C),m=u(w,C)>=0;if(m||w instanceof Document)m&&(o.mostRecentlyFocusedNode=w);else{C.stopImmediatePropagation();var g,y=!0;if(o.mostRecentlyFocusedNode)if(St(o.mostRecentlyFocusedNode)>0){var T=u(o.mostRecentlyFocusedNode),E=o.containerGroups[T].tabbableNodes;if(E.length>0){var P=E.findIndex(function(k){return k===o.mostRecentlyFocusedNode});P>=0&&(r.isKeyForward(o.recentNavEvent)?P+1=0&&(g=E[P-1],y=!1))}}else o.containerGroups.some(function(k){return k.tabbableNodes.some(function(D){return St(D)>0})})||(y=!1);else y=!1;y&&(g=L({target:o.mostRecentlyFocusedNode,isBackward:r.isKeyBackward(o.recentNavEvent)})),x(g||o.mostRecentlyFocusedNode||c())}o.recentNavEvent=void 0},S=function(C){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;o.recentNavEvent=C;var m=L({event:C,isBackward:w});m&&(An(C)&&C.preventDefault(),x(m))},R=function(C){if(lf(C)&&_n(r.escapeDeactivates,C)!==!1){C.preventDefault(),i.deactivate();return}(r.isKeyForward(C)||r.isKeyBackward(C))&&S(C,r.isKeyBackward(C))},B=function(C){var w=ls(C);u(w,C)>=0||_n(r.clickOutsideDeactivates,C)||_n(r.allowOutsideClick,C)||(C.preventDefault(),C.stopImmediatePropagation())},G=function(){if(o.active)return Ei.activateTrap(a,i),o.delayInitialFocusTimer=r.delayInitialFocus?Si(function(){x(c())}):x(c()),s.addEventListener("focusin",U,!0),s.addEventListener("mousedown",b,{capture:!0,passive:!1}),s.addEventListener("touchstart",b,{capture:!0,passive:!1}),s.addEventListener("click",B,{capture:!0,passive:!1}),s.addEventListener("keydown",R,{capture:!0,passive:!1}),i},X=function(){if(o.active)return s.removeEventListener("focusin",U,!0),s.removeEventListener("mousedown",b,!0),s.removeEventListener("touchstart",b,!0),s.removeEventListener("click",B,!0),s.removeEventListener("keydown",R,!0),i},J=function(C){var w=C.some(function(m){var g=Array.from(m.removedNodes);return g.some(function(y){return y===o.mostRecentlyFocusedNode})});w&&x(c())},$=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(J):void 0,V=function(){$&&($.disconnect(),o.active&&!o.paused&&o.containers.map(function(C){$.observe(C,{subtree:!0,childList:!0})}))};return i={get active(){return o.active},get paused(){return o.paused},activate:function(C){if(o.active)return this;var w=l(C,"onActivate"),m=l(C,"onPostActivate"),g=l(C,"checkCanFocusTrap");g||f(),o.active=!0,o.paused=!1,o.nodeFocusedBeforeActivation=s.activeElement,w?.();var y=function(){g&&f(),G(),V(),m?.()};return g?(g(o.containers.concat()).then(y,y),this):(y(),this)},deactivate:function(C){if(!o.active)return this;var w=Fi({onDeactivate:r.onDeactivate,onPostDeactivate:r.onPostDeactivate,checkCanReturnFocus:r.checkCanReturnFocus},C);clearTimeout(o.delayInitialFocusTimer),o.delayInitialFocusTimer=void 0,X(),o.active=!1,o.paused=!1,V(),Ei.deactivateTrap(a,i);var m=l(w,"onDeactivate"),g=l(w,"onPostDeactivate"),y=l(w,"checkCanReturnFocus"),T=l(w,"returnFocus","returnFocusOnDeactivate");m?.();var E=function(){Si(function(){T&&x(_(o.nodeFocusedBeforeActivation)),g?.()})};return T&&y?(y(_(o.nodeFocusedBeforeActivation)).then(E,E),this):(E(),this)},pause:function(C){if(o.paused||!o.active)return this;var w=l(C,"onPause"),m=l(C,"onPostPause");return o.paused=!0,w?.(),X(),V(),m?.(),this},unpause:function(C){if(!o.paused||!o.active)return this;var w=l(C,"onUnpause"),m=l(C,"onPostUnpause");return o.paused=!1,w?.(),f(),G(),V(),m?.(),this},updateContainerElements:function(C){var w=[].concat(C).filter(Boolean);return o.containers=w.map(function(m){return typeof m=="string"?s.querySelector(m):m}),o.active&&f(),V(),this}},i.updateContainerElements(e),i};const Rs=function(){return Object.assign(window,{_nc_focus_trap:window._nc_focus_trap||[]}),window._nc_focus_trap};function mf(){return document.documentElement.lang||"en"}var pf=Object.defineProperty,gf=(e,n,s)=>n in e?pf(e,n,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[n]=s,_s=(e,n,s)=>(gf(e,typeof n!="symbol"?n+"":n,s),s);class ff{constructor(){_s(this,"locale"),_s(this,"translations",{}),_s(this,"debug",!1)}setLanguage(n){return this.locale=n,this}detectLocale(){return this.setLanguage(mf().replace("-","_"))}addTranslation(n,s){return this.translations[n]=s,this}enableDebugMode(){return this.debug=!0,this}build(){return new hf(this.locale||"en",this.translations,this.debug)}}class hf{constructor(n,s,a){_s(this,"gt"),this.gt=new yu({debug:a,sourceLocale:"en"});for(const r in s)this.gt.addTranslations(r,"messages",s[r]);this.gt.setLocale(n)}subtitudePlaceholders(n,s){return n.replace(/{([^{}]*)}/g,(a,r)=>{const o=s[r];return typeof o=="string"||typeof o=="number"?o.toString():a})}gettext(n,s={}){return this.subtitudePlaceholders(this.gt.gettext(n),s)}ngettext(n,s,a,r={}){return this.subtitudePlaceholders(this.gt.ngettext(n,s,a).replace(/%n/g,a.toString()),r)}}function vf(){return new ff}const ct=vf().detectLocale().build(),yf=ct.ngettext.bind(ct),Ge=ct.gettext.bind(ct),Zs=(...e)=>{e.forEach(n=>{n.registered||(n.forEach(({l:s,t:a})=>{const r=Object.fromEntries(Object.entries(a).map(([o,i])=>[o,{msgid:o,msgid_plural:i.p,msgstr:i.v}]));ct.gt.catalogs[s]||(ct.gt.catalogs[s]={messages:{translations:{}}}),ct.gt.catalogs[s].messages.translations[""]={...ct.gt.catalogs[s].messages.translations[""],...r}}),n.registered=!0)})},xf=[{l:"af",t:{Actions:{v:[""]}}},{l:"ar",t:{Actions:{v:["إجراءات"]}}},{l:"ast",t:{Actions:{v:["Aiciones"]}}},{l:"az",t:{Actions:{v:[""]}}},{l:"be",t:{Actions:{v:[""]}}},{l:"bg",t:{Actions:{v:[""]}}},{l:"bn_BD",t:{Actions:{v:[""]}}},{l:"br",t:{Actions:{v:["Oberioù"]}}},{l:"bs",t:{Actions:{v:[""]}}},{l:"ca",t:{Actions:{v:["Accions"]}}},{l:"cs",t:{Actions:{v:["Akce"]}}},{l:"cs_CZ",t:{Actions:{v:["Akce"]}}},{l:"cy_GB",t:{Actions:{v:[""]}}},{l:"da",t:{Actions:{v:["Handlinger"]}}},{l:"de",t:{Actions:{v:["Aktionen"]}}},{l:"de_DE",t:{Actions:{v:["Aktionen"]}}},{l:"el",t:{Actions:{v:["Ενέργειες"]}}},{l:"en_GB",t:{Actions:{v:["Actions"]}}},{l:"eo",t:{Actions:{v:["Agoj"]}}},{l:"es",t:{Actions:{v:["Acciones"]}}},{l:"es_419",t:{Actions:{v:[""]}}},{l:"es_AR",t:{Actions:{v:[""]}}},{l:"es_CL",t:{Actions:{v:[""]}}},{l:"es_CO",t:{Actions:{v:[""]}}},{l:"es_CR",t:{Actions:{v:[""]}}},{l:"es_DO",t:{Actions:{v:[""]}}},{l:"es_EC",t:{Actions:{v:["Acciones"]}}},{l:"es_GT",t:{Actions:{v:[""]}}},{l:"es_HN",t:{Actions:{v:[""]}}},{l:"es_MX",t:{Actions:{v:[""]}}},{l:"es_NI",t:{Actions:{v:[""]}}},{l:"es_PA",t:{Actions:{v:[""]}}},{l:"es_PE",t:{Actions:{v:[""]}}},{l:"es_PR",t:{Actions:{v:[""]}}},{l:"es_PY",t:{Actions:{v:[""]}}},{l:"es_SV",t:{Actions:{v:[""]}}},{l:"es_UY",t:{Actions:{v:[""]}}},{l:"et_EE",t:{Actions:{v:[""]}}},{l:"eu",t:{Actions:{v:["Ekintzak"]}}},{l:"fa",t:{Actions:{v:[""]}}},{l:"fi",t:{Actions:{v:["Toiminnot"]}}},{l:"fo",t:{Actions:{v:[""]}}},{l:"fr",t:{Actions:{v:["Actions"]}}},{l:"ga",t:{Actions:{v:["Gníomhartha"]}}},{l:"gd",t:{Actions:{v:[""]}}},{l:"gl",t:{Actions:{v:["Accións"]}}},{l:"he",t:{Actions:{v:["פעולות"]}}},{l:"hi_IN",t:{Actions:{v:[""]}}},{l:"hr",t:{Actions:{v:[""]}}},{l:"hsb",t:{Actions:{v:[""]}}},{l:"hu",t:{Actions:{v:["Műveletek"]}}},{l:"hy",t:{Actions:{v:[""]}}},{l:"ia",t:{Actions:{v:[""]}}},{l:"id",t:{Actions:{v:["Tindakan"]}}},{l:"ig",t:{Actions:{v:[""]}}},{l:"is",t:{Actions:{v:["Aðgerðir"]}}},{l:"it",t:{Actions:{v:["Azioni"]}}},{l:"ja",t:{Actions:{v:["操作"]}}},{l:"ja_JP",t:{Actions:{v:["操作"]}}},{l:"ka",t:{Actions:{v:[""]}}},{l:"ka_GE",t:{Actions:{v:[""]}}},{l:"kab",t:{Actions:{v:[""]}}},{l:"kk",t:{Actions:{v:[""]}}},{l:"km",t:{Actions:{v:[""]}}},{l:"kn",t:{Actions:{v:[""]}}},{l:"ko",t:{Actions:{v:[""]}}},{l:"la",t:{Actions:{v:[""]}}},{l:"lb",t:{Actions:{v:[""]}}},{l:"lo",t:{Actions:{v:[""]}}},{l:"lt_LT",t:{Actions:{v:["Veiksmai"]}}},{l:"lv",t:{Actions:{v:[""]}}},{l:"mk",t:{Actions:{v:["Акции"]}}},{l:"mn",t:{Actions:{v:[""]}}},{l:"mr",t:{Actions:{v:[""]}}},{l:"ms_MY",t:{Actions:{v:[""]}}},{l:"my",t:{Actions:{v:["လုပ်ဆောင်ချက်များ"]}}},{l:"nb",t:{Actions:{v:["Handlinger"]}}},{l:"ne",t:{Actions:{v:[""]}}},{l:"nl",t:{Actions:{v:["Acties"]}}},{l:"nn_NO",t:{Actions:{v:[""]}}},{l:"oc",t:{Actions:{v:["Accions"]}}},{l:"pl",t:{Actions:{v:["Działania"]}}},{l:"ps",t:{Actions:{v:[""]}}},{l:"pt_BR",t:{Actions:{v:["Ações"]}}},{l:"pt_PT",t:{Actions:{v:["Ações"]}}},{l:"ro",t:{Actions:{v:["Acțiuni"]}}},{l:"ru",t:{Actions:{v:["Действия "]}}},{l:"sc",t:{Actions:{v:[""]}}},{l:"si",t:{Actions:{v:[""]}}},{l:"sk",t:{Actions:{v:["Akcie"]}}},{l:"sl",t:{Actions:{v:["Dejanja"]}}},{l:"sq",t:{Actions:{v:[""]}}},{l:"sr",t:{Actions:{v:["Радње"]}}},{l:"sr@latin",t:{Actions:{v:[""]}}},{l:"sv",t:{Actions:{v:["Åtgärder"]}}},{l:"sw",t:{Actions:{v:[""]}}},{l:"ta",t:{Actions:{v:[""]}}},{l:"th",t:{Actions:{v:[""]}}},{l:"tk",t:{Actions:{v:[""]}}},{l:"tr",t:{Actions:{v:["İşlemler"]}}},{l:"ug",t:{Actions:{v:[""]}}},{l:"uk",t:{Actions:{v:["Дії"]}}},{l:"ur_PK",t:{Actions:{v:[""]}}},{l:"uz",t:{Actions:{v:[""]}}},{l:"vi",t:{Actions:{v:[""]}}},{l:"zh_CN",t:{Actions:{v:["行为"]}}},{l:"zh_HK",t:{Actions:{v:["動作"]}}},{l:"zh_TW",t:{Actions:{v:["動作"]}}},{l:"zu_ZA",t:{Actions:{v:[""]}}}],wf=[{l:"af",t:{Close:{v:[""]}}},{l:"ar",t:{Close:{v:["أغلِق"]}}},{l:"ast",t:{Close:{v:["Zarrar"]}}},{l:"az",t:{Close:{v:[""]}}},{l:"be",t:{Close:{v:[""]}}},{l:"bg",t:{Close:{v:[""]}}},{l:"bn_BD",t:{Close:{v:[""]}}},{l:"br",t:{Close:{v:["Serriñ"]}}},{l:"bs",t:{Close:{v:[""]}}},{l:"ca",t:{Close:{v:["Tanca"]}}},{l:"cs",t:{Close:{v:["Zavřít"]}}},{l:"cs_CZ",t:{Close:{v:["Zavřít"]}}},{l:"cy_GB",t:{Close:{v:[""]}}},{l:"da",t:{Close:{v:["Luk"]}}},{l:"de",t:{Close:{v:["Schließen"]}}},{l:"de_DE",t:{Close:{v:["Schließen"]}}},{l:"el",t:{Close:{v:["Κλείσιμο"]}}},{l:"en_GB",t:{Close:{v:["Close"]}}},{l:"eo",t:{Close:{v:["Fermu"]}}},{l:"es",t:{Close:{v:["Cerrar"]}}},{l:"es_419",t:{Close:{v:[""]}}},{l:"es_AR",t:{Close:{v:[""]}}},{l:"es_CL",t:{Close:{v:[""]}}},{l:"es_CO",t:{Close:{v:[""]}}},{l:"es_CR",t:{Close:{v:[""]}}},{l:"es_DO",t:{Close:{v:[""]}}},{l:"es_EC",t:{Close:{v:["Cerrar"]}}},{l:"es_GT",t:{Close:{v:[""]}}},{l:"es_HN",t:{Close:{v:[""]}}},{l:"es_MX",t:{Close:{v:[""]}}},{l:"es_NI",t:{Close:{v:[""]}}},{l:"es_PA",t:{Close:{v:[""]}}},{l:"es_PE",t:{Close:{v:[""]}}},{l:"es_PR",t:{Close:{v:[""]}}},{l:"es_PY",t:{Close:{v:[""]}}},{l:"es_SV",t:{Close:{v:[""]}}},{l:"es_UY",t:{Close:{v:[""]}}},{l:"et_EE",t:{Close:{v:[""]}}},{l:"eu",t:{Close:{v:["Itxi"]}}},{l:"fa",t:{Close:{v:[""]}}},{l:"fi",t:{Close:{v:["Sulje"]}}},{l:"fo",t:{Close:{v:[""]}}},{l:"fr",t:{Close:{v:["Fermer"]}}},{l:"ga",t:{Close:{v:["Dún"]}}},{l:"gd",t:{Close:{v:[""]}}},{l:"gl",t:{Close:{v:["Pechar"]}}},{l:"he",t:{Close:{v:["סגירה"]}}},{l:"hi_IN",t:{Close:{v:[""]}}},{l:"hr",t:{Close:{v:[""]}}},{l:"hsb",t:{Close:{v:[""]}}},{l:"hu",t:{Close:{v:["Bezárás"]}}},{l:"hy",t:{Close:{v:[""]}}},{l:"ia",t:{Close:{v:[""]}}},{l:"id",t:{Close:{v:["Tutup"]}}},{l:"ig",t:{Close:{v:[""]}}},{l:"is",t:{Close:{v:["Loka"]}}},{l:"it",t:{Close:{v:["Chiudi"]}}},{l:"ja",t:{Close:{v:["閉じる"]}}},{l:"ja_JP",t:{Close:{v:["閉じる"]}}},{l:"ka",t:{Close:{v:[""]}}},{l:"ka_GE",t:{Close:{v:[""]}}},{l:"kab",t:{Close:{v:[""]}}},{l:"kk",t:{Close:{v:[""]}}},{l:"km",t:{Close:{v:[""]}}},{l:"kn",t:{Close:{v:[""]}}},{l:"ko",t:{Close:{v:[""]}}},{l:"la",t:{Close:{v:[""]}}},{l:"lb",t:{Close:{v:[""]}}},{l:"lo",t:{Close:{v:[""]}}},{l:"lt_LT",t:{Close:{v:["Užverti"]}}},{l:"lv",t:{Close:{v:["Aizvērt"]}}},{l:"mk",t:{Close:{v:["Затвори"]}}},{l:"mn",t:{Close:{v:[""]}}},{l:"mr",t:{Close:{v:[""]}}},{l:"ms_MY",t:{Close:{v:[""]}}},{l:"my",t:{Close:{v:["ပိတ်ရန်"]}}},{l:"nb",t:{Close:{v:["Lukk"]}}},{l:"ne",t:{Close:{v:[""]}}},{l:"nl",t:{Close:{v:["Sluiten"]}}},{l:"nn_NO",t:{Close:{v:[""]}}},{l:"oc",t:{Close:{v:["Tampar"]}}},{l:"pl",t:{Close:{v:["Zamknij"]}}},{l:"ps",t:{Close:{v:[""]}}},{l:"pt_BR",t:{Close:{v:["Fechar"]}}},{l:"pt_PT",t:{Close:{v:["Fechar"]}}},{l:"ro",t:{Close:{v:["Închideți"]}}},{l:"ru",t:{Close:{v:["Закрыть"]}}},{l:"sc",t:{Close:{v:[""]}}},{l:"si",t:{Close:{v:[""]}}},{l:"sk",t:{Close:{v:["Zatvoriť"]}}},{l:"sl",t:{Close:{v:["Zapri"]}}},{l:"sq",t:{Close:{v:[""]}}},{l:"sr",t:{Close:{v:["Затвори"]}}},{l:"sr@latin",t:{Close:{v:[""]}}},{l:"sv",t:{Close:{v:["Stäng"]}}},{l:"sw",t:{Close:{v:[""]}}},{l:"ta",t:{Close:{v:[""]}}},{l:"th",t:{Close:{v:[""]}}},{l:"tk",t:{Close:{v:[""]}}},{l:"tr",t:{Close:{v:["Kapat"]}}},{l:"ug",t:{Close:{v:[""]}}},{l:"uk",t:{Close:{v:["Закрити"]}}},{l:"ur_PK",t:{Close:{v:[""]}}},{l:"uz",t:{Close:{v:[""]}}},{l:"vi",t:{Close:{v:[""]}}},{l:"zh_CN",t:{Close:{v:["关闭"]}}},{l:"zh_HK",t:{Close:{v:["關閉"]}}},{l:"zh_TW",t:{Close:{v:["關閉"]}}},{l:"zu_ZA",t:{Close:{v:[""]}}}],Cf=[{l:"af",t:{"External documentation for {name}":{v:[""]}}},{l:"ar",t:{"External documentation for {name}":{v:["التوثيق الخارجي لـ {name}"]}}},{l:"ast",t:{"External documentation for {name}":{v:["Documentación esterna pa: {name}"]}}},{l:"az",t:{"External documentation for {name}":{v:[""]}}},{l:"be",t:{"External documentation for {name}":{v:[""]}}},{l:"bg",t:{"External documentation for {name}":{v:[""]}}},{l:"bn_BD",t:{"External documentation for {name}":{v:[""]}}},{l:"br",t:{"External documentation for {name}":{v:[""]}}},{l:"bs",t:{"External documentation for {name}":{v:[""]}}},{l:"ca",t:{"External documentation for {name}":{v:[""]}}},{l:"cs",t:{"External documentation for {name}":{v:["Externí dokumentace pro {name}"]}}},{l:"cs_CZ",t:{"External documentation for {name}":{v:["Externí dokumentace pro {name}"]}}},{l:"cy_GB",t:{"External documentation for {name}":{v:[""]}}},{l:"da",t:{"External documentation for {name}":{v:["Ekstern dokumentation for {name}"]}}},{l:"de",t:{"External documentation for {name}":{v:["Externe Dokumentation für {name}"]}}},{l:"de_DE",t:{"External documentation for {name}":{v:["Externe Dokumentation für {name}"]}}},{l:"el",t:{"External documentation for {name}":{v:[""]}}},{l:"en_GB",t:{"External documentation for {name}":{v:["External documentation for {name}"]}}},{l:"eo",t:{"External documentation for {name}":{v:[""]}}},{l:"es",t:{"External documentation for {name}":{v:["Documentación externa para {name}"]}}},{l:"es_419",t:{"External documentation for {name}":{v:[""]}}},{l:"es_AR",t:{"External documentation for {name}":{v:[""]}}},{l:"es_CL",t:{"External documentation for {name}":{v:[""]}}},{l:"es_CO",t:{"External documentation for {name}":{v:[""]}}},{l:"es_CR",t:{"External documentation for {name}":{v:[""]}}},{l:"es_DO",t:{"External documentation for {name}":{v:[""]}}},{l:"es_EC",t:{"External documentation for {name}":{v:["Documentación externa para {name}"]}}},{l:"es_GT",t:{"External documentation for {name}":{v:[""]}}},{l:"es_HN",t:{"External documentation for {name}":{v:[""]}}},{l:"es_MX",t:{"External documentation for {name}":{v:[""]}}},{l:"es_NI",t:{"External documentation for {name}":{v:[""]}}},{l:"es_PA",t:{"External documentation for {name}":{v:[""]}}},{l:"es_PE",t:{"External documentation for {name}":{v:[""]}}},{l:"es_PR",t:{"External documentation for {name}":{v:[""]}}},{l:"es_PY",t:{"External documentation for {name}":{v:[""]}}},{l:"es_SV",t:{"External documentation for {name}":{v:[""]}}},{l:"es_UY",t:{"External documentation for {name}":{v:[""]}}},{l:"et_EE",t:{"External documentation for {name}":{v:[""]}}},{l:"eu",t:{"External documentation for {name}":{v:["{name}-ren kanpoko dokumentazioa"]}}},{l:"fa",t:{"External documentation for {name}":{v:[""]}}},{l:"fi",t:{"External documentation for {name}":{v:[""]}}},{l:"fo",t:{"External documentation for {name}":{v:[""]}}},{l:"fr",t:{"External documentation for {name}":{v:["Documentation externe pour {name}"]}}},{l:"ga",t:{"External documentation for {name}":{v:["Doiciméadúchán seachtrach le haghaidh {name}"]}}},{l:"gd",t:{"External documentation for {name}":{v:[""]}}},{l:"gl",t:{"External documentation for {name}":{v:["Documentación externa para {name}"]}}},{l:"he",t:{"External documentation for {name}":{v:["תיעוד חיצוני עבור {name}"]}}},{l:"hi_IN",t:{"External documentation for {name}":{v:[""]}}},{l:"hr",t:{"External documentation for {name}":{v:[""]}}},{l:"hsb",t:{"External documentation for {name}":{v:[""]}}},{l:"hu",t:{"External documentation for {name}":{v:[""]}}},{l:"hy",t:{"External documentation for {name}":{v:[""]}}},{l:"ia",t:{"External documentation for {name}":{v:[""]}}},{l:"id",t:{"External documentation for {name}":{v:["Dokumentasi eksternal untuk {name}"]}}},{l:"ig",t:{"External documentation for {name}":{v:[""]}}},{l:"is",t:{"External documentation for {name}":{v:["Utanaðkomandi leiðbeiningar fyrir {name}"]}}},{l:"it",t:{"External documentation for {name}":{v:["Documentazione esterna per {name}"]}}},{l:"ja",t:{"External documentation for {name}":{v:[""]}}},{l:"ja_JP",t:{"External documentation for {name}":{v:["{name} の外部ドキュメント"]}}},{l:"ka",t:{"External documentation for {name}":{v:[""]}}},{l:"ka_GE",t:{"External documentation for {name}":{v:[""]}}},{l:"kab",t:{"External documentation for {name}":{v:[""]}}},{l:"kk",t:{"External documentation for {name}":{v:[""]}}},{l:"km",t:{"External documentation for {name}":{v:[""]}}},{l:"kn",t:{"External documentation for {name}":{v:[""]}}},{l:"ko",t:{"External documentation for {name}":{v:[""]}}},{l:"la",t:{"External documentation for {name}":{v:[""]}}},{l:"lb",t:{"External documentation for {name}":{v:[""]}}},{l:"lo",t:{"External documentation for {name}":{v:[""]}}},{l:"lt_LT",t:{"External documentation for {name}":{v:[""]}}},{l:"lv",t:{"External documentation for {name}":{v:[""]}}},{l:"mk",t:{"External documentation for {name}":{v:[""]}}},{l:"mn",t:{"External documentation for {name}":{v:[""]}}},{l:"mr",t:{"External documentation for {name}":{v:[""]}}},{l:"ms_MY",t:{"External documentation for {name}":{v:[""]}}},{l:"my",t:{"External documentation for {name}":{v:[""]}}},{l:"nb",t:{"External documentation for {name}":{v:[""]}}},{l:"ne",t:{"External documentation for {name}":{v:[""]}}},{l:"nl",t:{"External documentation for {name}":{v:["Externe documentatie voor {name}"]}}},{l:"nn_NO",t:{"External documentation for {name}":{v:[""]}}},{l:"oc",t:{"External documentation for {name}":{v:[""]}}},{l:"pl",t:{"External documentation for {name}":{v:["Dokumentacja zewnętrzna dla {name}"]}}},{l:"ps",t:{"External documentation for {name}":{v:[""]}}},{l:"pt_BR",t:{"External documentation for {name}":{v:["Documentação externa para {name}"]}}},{l:"pt_PT",t:{"External documentation for {name}":{v:["Documentação externa para {name}"]}}},{l:"ro",t:{"External documentation for {name}":{v:["Documentație externă pentru {name}"]}}},{l:"ru",t:{"External documentation for {name}":{v:["Внешняя документация для {name}"]}}},{l:"sc",t:{"External documentation for {name}":{v:[""]}}},{l:"si",t:{"External documentation for {name}":{v:[""]}}},{l:"sk",t:{"External documentation for {name}":{v:[""]}}},{l:"sl",t:{"External documentation for {name}":{v:[""]}}},{l:"sq",t:{"External documentation for {name}":{v:[""]}}},{l:"sr",t:{"External documentation for {name}":{v:["Спољна документација за {name}"]}}},{l:"sr@latin",t:{"External documentation for {name}":{v:[""]}}},{l:"sv",t:{"External documentation for {name}":{v:["Extern dokumentation för {name}"]}}},{l:"sw",t:{"External documentation for {name}":{v:[""]}}},{l:"ta",t:{"External documentation for {name}":{v:[""]}}},{l:"th",t:{"External documentation for {name}":{v:[""]}}},{l:"tk",t:{"External documentation for {name}":{v:[""]}}},{l:"tr",t:{"External documentation for {name}":{v:["{name} için dış belgeler"]}}},{l:"ug",t:{"External documentation for {name}":{v:[""]}}},{l:"uk",t:{"External documentation for {name}":{v:["Зовнішня документація для {name}"]}}},{l:"ur_PK",t:{"External documentation for {name}":{v:[""]}}},{l:"uz",t:{"External documentation for {name}":{v:[""]}}},{l:"vi",t:{"External documentation for {name}":{v:[""]}}},{l:"zh_CN",t:{"External documentation for {name}":{v:[""]}}},{l:"zh_HK",t:{"External documentation for {name}":{v:["{name} 的外部文件"]}}},{l:"zh_TW",t:{"External documentation for {name}":{v:["{name} 的外部文件"]}}},{l:"zu_ZA",t:{"External documentation for {name}":{v:[""]}}}],_f=[{l:"af",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"ar",t:{Next:{v:["التالي"]},"Pause slideshow":{v:["تجميد عرض الشرائح"]},Previous:{v:["السابق"]},"Start slideshow":{v:["إبدإ العرض"]}}},{l:"ast",t:{Next:{v:["Siguiente"]},"Pause slideshow":{v:["Posar la presentación de diapositives"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Aniciar la presentación de diapositives"]}}},{l:"az",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"be",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"bg",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"bn_BD",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"br",t:{Next:{v:["Da heul"]},"Pause slideshow":{v:["Arsav an diaporama"]},Previous:{v:["A-raok"]},"Start slideshow":{v:["Kregiñ an diaporama"]}}},{l:"bs",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"ca",t:{Next:{v:["Següent"]},"Pause slideshow":{v:["Atura la presentació"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Inicia la presentació"]}}},{l:"cs",t:{Next:{v:["Následující"]},"Pause slideshow":{v:["Pozastavit prezentaci"]},Previous:{v:["Předchozí"]},"Start slideshow":{v:["Spustit prezentaci"]}}},{l:"cs_CZ",t:{Next:{v:["Následující"]},"Pause slideshow":{v:["Pozastavit prezentaci"]},Previous:{v:["Předchozí"]},"Start slideshow":{v:["Spustit prezentaci"]}}},{l:"cy_GB",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"da",t:{Next:{v:["Videre"]},"Pause slideshow":{v:["Suspender fremvisning"]},Previous:{v:["Forrige"]},"Start slideshow":{v:["Start fremvisning"]}}},{l:"de",t:{Next:{v:["Weiter"]},"Pause slideshow":{v:["Diashow pausieren"]},Previous:{v:["Vorherige"]},"Start slideshow":{v:["Diashow starten"]}}},{l:"de_DE",t:{Next:{v:["Weiter"]},"Pause slideshow":{v:["Diashow pausieren"]},Previous:{v:["Vorherige"]},"Start slideshow":{v:["Diashow starten"]}}},{l:"el",t:{Next:{v:["Επόμενο"]},"Pause slideshow":{v:["Παύση προβολής διαφανειών"]},Previous:{v:["Προηγούμενο"]},"Start slideshow":{v:["Έναρξη προβολής διαφανειών"]}}},{l:"en_GB",t:{Next:{v:["Next"]},"Pause slideshow":{v:["Pause slideshow"]},Previous:{v:["Previous"]},"Start slideshow":{v:["Start slideshow"]}}},{l:"eo",t:{Next:{v:["Sekva"]},"Pause slideshow":{v:["Payzi bildprezenton"]},Previous:{v:["Antaŭa"]},"Start slideshow":{v:["Komenci bildprezenton"]}}},{l:"es",t:{Next:{v:["Siguiente"]},"Pause slideshow":{v:["Pausar la presentación "]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Iniciar la presentación"]}}},{l:"es_419",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"es_AR",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"es_CL",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"es_CO",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"es_CR",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"es_DO",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"es_EC",t:{Next:{v:["Siguiente"]},"Pause slideshow":{v:["Pausar presentación de diapositivas"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Iniciar presentación de diapositivas"]}}},{l:"es_GT",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"es_HN",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"es_MX",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"es_NI",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"es_PA",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"es_PE",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"es_PR",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"es_PY",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"es_SV",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"es_UY",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"et_EE",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"eu",t:{Next:{v:["Hurrengoa"]},"Pause slideshow":{v:["Pausatu diaporama"]},Previous:{v:["Aurrekoa"]},"Start slideshow":{v:["Hasi diaporama"]}}},{l:"fa",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"fi",t:{Next:{v:["Seuraava"]},"Pause slideshow":{v:["Keskeytä diaesitys"]},Previous:{v:["Edellinen"]},"Start slideshow":{v:["Aloita diaesitys"]}}},{l:"fo",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"fr",t:{Next:{v:["Suivant"]},"Pause slideshow":{v:["Mettre le diaporama en pause"]},Previous:{v:["Précédent"]},"Start slideshow":{v:["Démarrer le diaporama"]}}},{l:"ga",t:{Next:{v:["Ar aghaidh"]},"Pause slideshow":{v:["Cuir taispeántas sleamhnán ar sos"]},Previous:{v:["Roimhe Seo"]},"Start slideshow":{v:["Tosaigh taispeántas sleamhnán"]}}},{l:"gd",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"gl",t:{Next:{v:["Seguinte"]},"Pause slideshow":{v:["Pausar o diaporama"]},Previous:{v:["Anterir"]},"Start slideshow":{v:["Iniciar o diaporama"]}}},{l:"he",t:{Next:{v:["הבא"]},"Pause slideshow":{v:["השהיית מצגת"]},Previous:{v:["הקודם"]},"Start slideshow":{v:["התחלת המצגת"]}}},{l:"hi_IN",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"hr",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"hsb",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"hu",t:{Next:{v:["Következő"]},"Pause slideshow":{v:["Diavetítés szüneteltetése"]},Previous:{v:["Előző"]},"Start slideshow":{v:["Diavetítés indítása"]}}},{l:"hy",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"ia",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"id",t:{Next:{v:["Selanjutnya"]},"Pause slideshow":{v:["Jeda tayangan slide"]},Previous:{v:["Sebelumnya"]},"Start slideshow":{v:["Mulai salindia"]}}},{l:"ig",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"is",t:{Next:{v:["Næsta"]},"Pause slideshow":{v:["Gera hlé á skyggnusýningu"]},Previous:{v:["Fyrri"]},"Start slideshow":{v:["Byrja skyggnusýningu"]}}},{l:"it",t:{Next:{v:["Successivo"]},"Pause slideshow":{v:["Presentazione in pausa"]},Previous:{v:["Precedente"]},"Start slideshow":{v:["Avvia presentazione"]}}},{l:"ja",t:{Next:{v:["次"]},"Pause slideshow":{v:["スライドショーを一時停止"]},Previous:{v:["前"]},"Start slideshow":{v:["スライドショーを開始"]}}},{l:"ja_JP",t:{Next:{v:["次"]},"Pause slideshow":{v:["スライドショーを一時停止"]},Previous:{v:["前"]},"Start slideshow":{v:["スライドショーを開始"]}}},{l:"ka",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"ka_GE",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"kab",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"kk",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"km",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"kn",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"ko",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"la",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"lb",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"lo",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"lt_LT",t:{Next:{v:["Kitas"]},"Pause slideshow":{v:["Pristabdyti skaidrių rodymą"]},Previous:{v:["Ankstesnis"]},"Start slideshow":{v:["Pradėti skaidrių rodymą"]}}},{l:"lv",t:{Next:{v:["Nākamais"]},"Pause slideshow":{v:["Pauzēt slaidrādi"]},Previous:{v:["Iepriekšējais"]},"Start slideshow":{v:["Sākt slaidrādi"]}}},{l:"mk",t:{Next:{v:["Следно"]},"Pause slideshow":{v:["Пузирај слајдшоу"]},Previous:{v:["Предходно"]},"Start slideshow":{v:["Стартувај слајдшоу"]}}},{l:"mn",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"mr",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"ms_MY",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"my",t:{Next:{v:["နောက်သို့ဆက်ရန်"]},"Pause slideshow":{v:["စလိုက်ရှိုး ခေတ္တရပ်ရန်"]},Previous:{v:["ယခင်"]},"Start slideshow":{v:["စလိုက်ရှိုးအား စတင်ရန်"]}}},{l:"nb",t:{Next:{v:["Neste"]},"Pause slideshow":{v:["Pause lysbildefremvisning"]},Previous:{v:["Forrige"]},"Start slideshow":{v:["Start lysbildefremvisning"]}}},{l:"ne",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"nl",t:{Next:{v:["Volgende"]},"Pause slideshow":{v:["Pauzeer diavoorstelling"]},Previous:{v:["Vorige"]},"Start slideshow":{v:["Start diavoorstelling"]}}},{l:"nn_NO",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"oc",t:{Next:{v:["Seguent"]},"Pause slideshow":{v:["Metre en pausa lo diaporama"]},Previous:{v:["Precedent"]},"Start slideshow":{v:["Lançar lo diaporama"]}}},{l:"pl",t:{Next:{v:["Następny"]},"Pause slideshow":{v:["Wstrzymaj pokaz slajdów"]},Previous:{v:["Poprzedni"]},"Start slideshow":{v:["Rozpocznij pokaz slajdów"]}}},{l:"ps",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"pt_BR",t:{Next:{v:["Próximo"]},"Pause slideshow":{v:["Pausar apresentação de slides"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Iniciar apresentação de slides"]}}},{l:"pt_PT",t:{Next:{v:["Seguinte"]},"Pause slideshow":{v:["Pausar diaporama"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Iniciar diaporama"]}}},{l:"ro",t:{Next:{v:["Următorul"]},"Pause slideshow":{v:["Pauză prezentare de diapozitive"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Începeți prezentarea de diapozitive"]}}},{l:"ru",t:{Next:{v:["Следующее"]},"Pause slideshow":{v:["Приостановить показ слйдов"]},Previous:{v:["Предыдущее"]},"Start slideshow":{v:["Начать показ слайдов"]}}},{l:"sc",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"si",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"sk",t:{Next:{v:["Ďalší"]},"Pause slideshow":{v:["Pozastaviť prezentáciu"]},Previous:{v:["Predchádzajúci"]},"Start slideshow":{v:["Začať prezentáciu"]}}},{l:"sl",t:{Next:{v:["Naslednji"]},"Pause slideshow":{v:["Ustavi predstavitev"]},Previous:{v:["Predhodni"]},"Start slideshow":{v:["Začni predstavitev"]}}},{l:"sq",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"sr",t:{Next:{v:["Следеће"]},"Pause slideshow":{v:["Паузирај слајд шоу"]},Previous:{v:["Претходно"]},"Start slideshow":{v:["Покрени слајд шоу"]}}},{l:"sr@latin",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"sv",t:{Next:{v:["Nästa"]},"Pause slideshow":{v:["Pausa bildspelet"]},Previous:{v:["Föregående"]},"Start slideshow":{v:["Starta bildspelet"]}}},{l:"sw",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"ta",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"th",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"tk",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"tr",t:{Next:{v:["Sonraki"]},"Pause slideshow":{v:["Slayt sunumunu duraklat"]},Previous:{v:["Önceki"]},"Start slideshow":{v:["Slayt sunumunu başlat"]}}},{l:"ug",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"uk",t:{Next:{v:["Вперед"]},"Pause slideshow":{v:["Пауза у показі слайдів"]},Previous:{v:["Назад"]},"Start slideshow":{v:["Почати показ слайдів"]}}},{l:"ur_PK",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"uz",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"vi",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"zh_CN",t:{Next:{v:["下一个"]},"Pause slideshow":{v:["暂停幻灯片"]},Previous:{v:["上一个"]},"Start slideshow":{v:["开始幻灯片"]}}},{l:"zh_HK",t:{Next:{v:["下一個"]},"Pause slideshow":{v:["暫停幻燈片"]},Previous:{v:["上一個"]},"Start slideshow":{v:["開始幻燈片"]}}},{l:"zh_TW",t:{Next:{v:["下一個"]},"Pause slideshow":{v:["暫停幻燈片"]},Previous:{v:["上一個"]},"Start slideshow":{v:["開始幻燈片"]}}},{l:"zu_ZA",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}}],zr=e=>Math.random().toString(36).replace(/[^a-z]+/g,"").slice(0,e||5);function se(e,n,s,a,r,o,i,l){var u=typeof e=="function"?e.options:e;n&&(u.render=n,u.staticRenderFns=s,u._compiled=!0),a&&(u.functional=!0),o&&(u._scopeId="data-v-"+o);var d;if(i?(d=function(h){h=h||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!h&&typeof __VUE_SSR_CONTEXT__<"u"&&(h=__VUE_SSR_CONTEXT__),r&&r.call(this,h),h&&h._registeredComponents&&h._registeredComponents.add(i)},u._ssrRegister=d):r&&(d=l?function(){r.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:r),d)if(u.functional){u._injectStyles=d;var c=u.render;u.render=function(h,x){return d.call(x),c(h,x)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,d):[d]}return{exports:e,options:u}}const Tf={name:"NcButton",inject:{getNcPopoverTriggerAttrs:{from:"NcPopover:trigger:attrs",default:()=>()=>({})}},props:{alignment:{type:String,default:"center",validator:e=>["start","start-reverse","center","center-reverse","end","end-reverse"].includes(e)},disabled:{type:Boolean,default:!1},size:{type:String,default:"normal",validator(e){return["small","normal","large"].includes(e)}},type:{type:String,validator(e){return["primary","secondary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].includes(e)},default:"secondary"},nativeType:{type:String,validator(e){return["submit","reset","button"].indexOf(e)!==-1},default:"button"},wide:{type:Boolean,default:!1},ariaLabel:{type:String,default:null},href:{type:String,default:null},download:{type:String,default:null},to:{type:[String,Object],default:null},exact:{type:Boolean,default:!1},ariaHidden:{type:Boolean,default:null},pressed:{type:Boolean,default:null}},emits:["update:pressed","click"],computed:{realType(){return this.pressed?"primary":this.pressed===!1&&this.type==="primary"?"secondary":this.type},flexAlignment(){return this.alignment.split("-")[0]},isReverseAligned(){return this.alignment.includes("-")},ncPopoverTriggerAttrs(){return this.getNcPopoverTriggerAttrs()}},render(e){var n,s,a;const r=!!this.$slots.default,o=(n=this.$slots)==null?void 0:n.icon;!r&&!this.ariaLabel&&console.warn("You need to fill either the text or the ariaLabel props in the button component.",{text:(a=(s=this.$slots.default)==null?void 0:s[0])==null?void 0:a.text,ariaLabel:this.ariaLabel},this);const i=this.to||this.href,l=!i&&typeof this.pressed=="boolean",u=({href:d,navigate:c,isActive:f,isExactActive:h}={})=>e(i?"a":"button",{class:["button-vue","button-vue--size-".concat(this.size),{"button-vue--icon-only":o&&!r,"button-vue--text-only":r&&!o,"button-vue--icon-and-text":o&&r,["button-vue--vue-".concat(this.realType)]:this.realType,"button-vue--wide":this.wide,["button-vue--".concat(this.flexAlignment)]:this.flexAlignment!=="center","button-vue--reverse":this.isReverseAligned,active:f,"router-link-exact-active":h}],attrs:{"aria-label":this.ariaLabel,"aria-pressed":l?this.pressed.toString():void 0,disabled:this.disabled,type:i?null:this.nativeType,role:i?"button":null,href:this.to?d:this.href||null,target:i?"_self":null,rel:i?"nofollow noreferrer noopener":null,download:!this.to&&this.href&&this.download?this.download:null,...this.ncPopoverTriggerAttrs,...this.$attrs},on:{...this.$listeners,click:x=>{l&&this.$emit("update:pressed",!this.pressed),this.$emit("click",x),c?.(x)}}},[e("span",{class:"button-vue__wrapper"},[o?e("span",{class:"button-vue__icon",attrs:{"aria-hidden":"true"}},[this.$slots.icon]):null,r?e("span",{class:"button-vue__text"},[this.$slots.default]):null])]);return this.to?e("router-link",{props:{custom:!0,to:this.to,exact:this.exact},scopedSlots:{default:u}}):u()}},bf=null,Ff=null;var Ef=se(Tf,bf,Ff,!1,null,"44398b0c",null,null);const Nu=Ef.exports;function et(e){return e.split("-")[0]}function Qt(e){return e.split("-")[1]}function Vn(e){return["top","bottom"].includes(et(e))?"x":"y"}function Rr(e){return e==="y"?"height":"width"}function ki(e){let{reference:n,floating:s,placement:a}=e;const r=n.x+n.width/2-s.width/2,o=n.y+n.height/2-s.height/2;let i;switch(et(a)){case"top":i={x:r,y:n.y-s.height};break;case"bottom":i={x:r,y:n.y+n.height};break;case"right":i={x:n.x+n.width,y:o};break;case"left":i={x:n.x-s.width,y:o};break;default:i={x:n.x,y:n.y}}const l=Vn(a),u=Rr(l);switch(Qt(a)){case"start":i[l]=i[l]-(n[u]/2-s[u]/2);break;case"end":i[l]=i[l]+(n[u]/2-s[u]/2);break}return i}const Sf=async(e,n,s)=>{const{placement:a="bottom",strategy:r="absolute",middleware:o=[],platform:i}=s;let l=await i.getElementRects({reference:e,floating:n,strategy:r}),{x:u,y:d}=ki({...l,placement:a}),c=a,f={};for(let h=0;h({name:"arrow",options:e,async fn(n){const{element:s,padding:a=0}=e??{},{x:r,y:o,placement:i,rects:l,platform:u}=n;if(s==null)return{};const d=Lu(a),c={x:r,y:o},f=et(i),h=Vn(f),x=Rr(h),_=await u.getDimensions({element:s}),L=h==="y"?"top":"left",b=h==="y"?"bottom":"right",U=l.reference[x]+l.reference[h]-c[h]-l.floating[x],S=c[h]-l.reference[h],R=await u.getOffsetParent({element:s}),B=R?h==="y"?R.clientHeight||0:R.clientWidth||0:0,G=U/2-S/2,X=d[L],J=B-_[x]-d[b],$=B/2-_[x]/2+G,V=ir(X,$,J);return{data:{[h]:V,centerOffset:$-V}}}}),Lf={left:"right",right:"left",bottom:"top",top:"bottom"};function js(e){return e.replace(/left|right|bottom|top/g,n=>Lf[n])}function Pu(e,n){const s=Qt(e)==="start",a=Vn(e),r=Rr(a);let o=a==="x"?s?"right":"left":s?"bottom":"top";return n.reference[r]>n.floating[r]&&(o=js(o)),{main:o,cross:js(o)}}const Pf={start:"end",end:"start"};function lr(e){return e.replace(/start|end/g,n=>Pf[n])}const Bf=["top","right","bottom","left"],Df=Bf.reduce((e,n)=>e.concat(n,n+"-start",n+"-end"),[]);function $f(e,n,s){return(e?[...s.filter(a=>Qt(a)===e),...s.filter(a=>Qt(a)!==e)]:s.filter(a=>et(a)===a)).filter(a=>e?Qt(a)===e||(n?lr(a)!==a:!1):!0)}const Uf=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(n){var s,a,r,o,i,l;const{x:u,y:d,rects:c,middlewareData:f,placement:h}=n,{alignment:x=null,allowedPlacements:_=Df,autoAlignment:L=!0,...b}=e;if((s=f.autoPlacement)!=null&&s.skip)return{};const U=$f(x,L,_),S=await Xs(n,b),R=(a=(r=f.autoPlacement)==null?void 0:r.index)!=null?a:0,B=U[R],{main:G,cross:X}=Pu(B,c);if(h!==B)return{x:u,y:d,reset:{placement:U[0]}};const J=[S[et(B)],S[G],S[X]],$=[...(o=(i=f.autoPlacement)==null?void 0:i.overflows)!=null?o:[],{placement:B,overflows:J}],V=U[R+1];if(V)return{data:{index:R+1,overflows:$},reset:{placement:V}};const C=$.slice().sort((m,g)=>m.overflows[0]-g.overflows[0]),w=(l=C.find(m=>{let{overflows:g}=m;return g.every(y=>y<=0)}))==null?void 0:l.placement;return{data:{skip:!0},reset:{placement:w??C[0].placement}}}}};function Mf(e){const n=js(e);return[lr(e),n,lr(n)]}const Of=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(n){var s,a;const{placement:r,middlewareData:o,rects:i,initialPlacement:l}=n;if((s=o.flip)!=null&&s.skip)return{};const{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:c,fallbackStrategy:f="bestFit",flipAlignment:h=!0,...x}=e,_=et(r),L=c||(_===l||!h?[js(l)]:Mf(l)),b=[l,...L],U=await Xs(n,x),S=[];let R=((a=o.flip)==null?void 0:a.overflows)||[];if(u&&S.push(U[_]),d){const{main:J,cross:$}=Pu(r,i);S.push(U[J],U[$])}if(R=[...R,{placement:r,overflows:S}],!S.every(J=>J<=0)){var B,G;const J=((B=(G=o.flip)==null?void 0:G.index)!=null?B:0)+1,$=b[J];if($)return{data:{index:J,overflows:R},reset:{placement:$}};let V="bottom";switch(f){case"bestFit":{var X;const C=(X=R.slice().sort((w,m)=>w.overflows.filter(g=>g>0).reduce((g,y)=>g+y,0)-m.overflows.filter(g=>g>0).reduce((g,y)=>g+y,0))[0])==null?void 0:X.placement;C&&(V=C);break}case"initialPlacement":V=l;break}return{data:{skip:!0},reset:{placement:V}}}return{}}}};function zf(e){let{placement:n,rects:s,value:a}=e;const r=et(n),o=["left","top"].includes(r)?-1:1,i=typeof a=="function"?a({...s,placement:n}):a,{mainAxis:l,crossAxis:u}=typeof i=="number"?{mainAxis:i,crossAxis:0}:{mainAxis:0,crossAxis:0,...i};return Vn(r)==="x"?{x:u,y:l*o}:{x:l*o,y:u}}const Rf=function(e){return e===void 0&&(e=0),{name:"offset",options:e,fn(n){const{x:s,y:a,placement:r,rects:o}=n,i=zf({placement:r,rects:o,value:e});return{x:s+i.x,y:a+i.y,data:i}}}};function jf(e){return e==="x"?"y":"x"}const If=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(n){const{x:s,y:a,placement:r}=n,{mainAxis:o=!0,crossAxis:i=!1,limiter:l={fn:b=>{let{x:U,y:S}=b;return{x:U,y:S}}},...u}=e,d={x:s,y:a},c=await Xs(n,u),f=Vn(et(r)),h=jf(f);let x=d[f],_=d[h];if(o){const b=f==="y"?"top":"left",U=f==="y"?"bottom":"right",S=x+c[b],R=x-c[U];x=ir(S,x,R)}if(i){const b=h==="y"?"top":"left",U=h==="y"?"bottom":"right",S=_+c[b],R=_-c[U];_=ir(S,_,R)}const L=l.fn({...n,[f]:x,[h]:_});return{...L,data:{x:L.x-s,y:L.y-a}}}}},Hf=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(n){var s;const{placement:a,rects:r,middlewareData:o}=n,{apply:i,...l}=e;if((s=o.size)!=null&&s.skip)return{};const u=await Xs(n,l),d=et(a),c=Qt(a)==="end";let f,h;d==="top"||d==="bottom"?(f=d,h=c?"left":"right"):(h=d,f=c?"top":"bottom");const x=bt(u.left,0),_=bt(u.right,0),L=bt(u.top,0),b=bt(u.bottom,0),U={height:r.floating.height-(["left","right"].includes(a)?2*(L!==0||b!==0?L+b:bt(u.top,u.bottom)):u[f]),width:r.floating.width-(["top","bottom"].includes(a)?2*(x!==0||_!==0?x+_:bt(u.left,u.right)):u[h])};return i?.({...U,...r}),{data:{skip:!0},reset:{rects:!0}}}}};function jr(e){return e?.toString()==="[object Window]"}function vt(e){if(e==null)return window;if(!jr(e)){const n=e.ownerDocument;return n&&n.defaultView||window}return e}function Qs(e){return vt(e).getComputedStyle(e)}function Xe(e){return jr(e)?"":e?(e.nodeName||"").toLowerCase():""}function Qe(e){return e instanceof vt(e).HTMLElement}function Is(e){return e instanceof vt(e).Element}function Vf(e){return e instanceof vt(e).Node}function Bu(e){const n=vt(e).ShadowRoot;return e instanceof n||e instanceof ShadowRoot}function ea(e){const{overflow:n,overflowX:s,overflowY:a}=Qs(e);return/auto|scroll|overlay|hidden/.test(n+a+s)}function Gf(e){return["table","td","th"].includes(Xe(e))}function Du(e){const n=navigator.userAgent.toLowerCase().includes("firefox"),s=Qs(e);return s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].includes(s.willChange)||n&&s.willChange==="filter"||n&&(s.filter?s.filter!=="none":!1)}const Ni=Math.min,kn=Math.max,Hs=Math.round;function an(e,n){n===void 0&&(n=!1);const s=e.getBoundingClientRect();let a=1,r=1;return n&&Qe(e)&&(a=e.offsetWidth>0&&Hs(s.width)/e.offsetWidth||1,r=e.offsetHeight>0&&Hs(s.height)/e.offsetHeight||1),{width:s.width/a,height:s.height/r,top:s.top/r,right:s.right/a,bottom:s.bottom/r,left:s.left/a,x:s.left/a,y:s.top/r}}function yt(e){return((Vf(e)?e.ownerDocument:e.document)||window.document).documentElement}function ta(e){return jr(e)?{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}:{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function $u(e){return an(yt(e)).left+ta(e).scrollLeft}function Kf(e){const n=an(e);return Hs(n.width)!==e.offsetWidth||Hs(n.height)!==e.offsetHeight}function Wf(e,n,s){const a=Qe(n),r=yt(n),o=an(e,a&&Kf(n));let i={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(a||!a&&s!=="fixed")if((Xe(n)!=="body"||ea(r))&&(i=ta(n)),Qe(n)){const u=an(n,!0);l.x=u.x+n.clientLeft,l.y=u.y+n.clientTop}else r&&(l.x=$u(r));return{x:o.left+i.scrollLeft-l.x,y:o.top+i.scrollTop-l.y,width:o.width,height:o.height}}function na(e){return Xe(e)==="html"?e:e.assignedSlot||e.parentNode||(Bu(e)?e.host:null)||yt(e)}function Li(e){return!Qe(e)||getComputedStyle(e).position==="fixed"?null:e.offsetParent}function Jf(e){let n=na(e);for(;Qe(n)&&!["html","body"].includes(Xe(n));){if(Du(n))return n;n=n.parentNode}return null}function ur(e){const n=vt(e);let s=Li(e);for(;s&&Gf(s)&&getComputedStyle(s).position==="static";)s=Li(s);return s&&(Xe(s)==="html"||Xe(s)==="body"&&getComputedStyle(s).position==="static"&&!Du(s))?n:s||Jf(e)||n}function Pi(e){return{width:e.offsetWidth,height:e.offsetHeight}}function qf(e){let{rect:n,offsetParent:s,strategy:a}=e;const r=Qe(s),o=yt(s);if(s===o)return n;let i={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if((r||!r&&a!=="fixed")&&((Xe(s)!=="body"||ea(o))&&(i=ta(s)),Qe(s))){const u=an(s,!0);l.x=u.x+s.clientLeft,l.y=u.y+s.clientTop}return{...n,x:n.x-i.scrollLeft+l.x,y:n.y-i.scrollTop+l.y}}function Yf(e){const n=vt(e),s=yt(e),a=n.visualViewport;let r=s.clientWidth,o=s.clientHeight,i=0,l=0;return a&&(r=a.width,o=a.height,Math.abs(n.innerWidth/a.scale-a.width)<.01&&(i=a.offsetLeft,l=a.offsetTop)),{width:r,height:o,x:i,y:l}}function Zf(e){var n;const s=yt(e),a=ta(e),r=(n=e.ownerDocument)==null?void 0:n.body,o=kn(s.scrollWidth,s.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),i=kn(s.scrollHeight,s.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0);let l=-a.scrollLeft+$u(e);const u=-a.scrollTop;return Qs(r||s).direction==="rtl"&&(l+=kn(s.clientWidth,r?r.clientWidth:0)-o),{width:o,height:i,x:l,y:u}}function Uu(e){return["html","body","#document"].includes(Xe(e))?e.ownerDocument.body:Qe(e)&&ea(e)?e:Uu(na(e))}function Vs(e,n){var s;n===void 0&&(n=[]);const a=Uu(e),r=a===((s=e.ownerDocument)==null?void 0:s.body),o=vt(a),i=r?[o].concat(o.visualViewport||[],ea(a)?a:[]):a,l=n.concat(i);return r?l:l.concat(Vs(na(i)))}function Xf(e,n){const s=n.getRootNode==null?void 0:n.getRootNode();if(e.contains(n))return!0;if(s&&Bu(s)){let a=n;do{if(a&&e===a)return!0;a=a.parentNode||a.host}while(a)}return!1}function Qf(e){const n=an(e),s=n.top+e.clientTop,a=n.left+e.clientLeft;return{top:s,left:a,x:a,y:s,right:a+e.clientWidth,bottom:s+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}function Bi(e,n){return n==="viewport"?or(Yf(e)):Is(n)?Qf(n):or(Zf(yt(e)))}function eh(e){const n=Vs(na(e)),s=["absolute","fixed"].includes(Qs(e).position)&&Qe(e)?ur(e):e;return Is(s)?n.filter(a=>Is(a)&&Xf(a,s)&&Xe(a)!=="body"):[]}function th(e){let{element:n,boundary:s,rootBoundary:a}=e;const r=[...s==="clippingParents"?eh(n):[].concat(s),a],o=r[0],i=r.reduce((l,u)=>{const d=Bi(n,u);return l.top=kn(d.top,l.top),l.right=Ni(d.right,l.right),l.bottom=Ni(d.bottom,l.bottom),l.left=kn(d.left,l.left),l},Bi(n,o));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}const nh={getElementRects:e=>{let{reference:n,floating:s,strategy:a}=e;return{reference:Wf(n,ur(s),a),floating:{...Pi(s),x:0,y:0}}},convertOffsetParentRelativeRectToViewportRelativeRect:e=>qf(e),getOffsetParent:e=>{let{element:n}=e;return ur(n)},isElement:e=>Is(e),getDocumentElement:e=>{let{element:n}=e;return yt(n)},getClippingClientRect:e=>th(e),getDimensions:e=>{let{element:n}=e;return Pi(n)},getClientRects:e=>{let{element:n}=e;return n.getClientRects()}},sh=(e,n,s)=>Sf(e,n,{platform:nh,...s});var ah=Object.defineProperty,rh=Object.defineProperties,oh=Object.getOwnPropertyDescriptors,Gs=Object.getOwnPropertySymbols,Mu=Object.prototype.hasOwnProperty,Ou=Object.prototype.propertyIsEnumerable,Di=(e,n,s)=>n in e?ah(e,n,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[n]=s,lt=(e,n)=>{for(var s in n||(n={}))Mu.call(n,s)&&Di(e,s,n[s]);if(Gs)for(var s of Gs(n))Ou.call(n,s)&&Di(e,s,n[s]);return e},sa=(e,n)=>rh(e,oh(n)),ih=(e,n)=>{var s={};for(var a in e)Mu.call(e,a)&&n.indexOf(a)<0&&(s[a]=e[a]);if(e!=null&&Gs)for(var a of Gs(e))n.indexOf(a)<0&&Ou.call(e,a)&&(s[a]=e[a]);return s};function zu(e,n){for(const s in n)Object.prototype.hasOwnProperty.call(n,s)&&(typeof n[s]=="object"&&e[s]?zu(e[s],n[s]):e[s]=n[s])}const Re={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover","focus"],delay:{show:0,hide:400}}}};function rn(e,n){let s=Re.themes[e]||{},a;do a=s[n],typeof a>"u"?s.$extend?s=Re.themes[s.$extend]||{}:(s=null,a=Re[n]):s=null;while(s);return a}function lh(e){const n=[e];let s=Re.themes[e]||{};do s.$extend&&!s.$resetCss?(n.push(s.$extend),s=Re.themes[s.$extend]||{}):s=null;while(s);return n.map(a=>`v-popper--theme-${a}`)}function $i(e){const n=[e];let s=Re.themes[e]||{};do s.$extend?(n.push(s.$extend),s=Re.themes[s.$extend]||{}):s=null;while(s);return n}let Ut=!1;if(typeof window<"u"){Ut=!1;try{const e=Object.defineProperty({},"passive",{get(){Ut=!0}});window.addEventListener("test",null,e)}catch{}}let Ru=!1;typeof window<"u"&&typeof navigator<"u"&&(Ru=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const ju=["auto","top","bottom","left","right"].reduce((e,n)=>e.concat([n,`${n}-start`,`${n}-end`]),[]),Ui={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart"},Mi={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend"};function Oi(e,n){const s=e.indexOf(n);s!==-1&&e.splice(s,1)}function Aa(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const Le=[];let _t=null;const zi={};function Ri(e){let n=zi[e];return n||(n=zi[e]=[]),n}let dr=function(){};typeof window<"u"&&(dr=window.Element);function K(e){return function(){const n=this.$props;return rn(n.theme,e)}}const ka="__floating-vue__popper";var Iu=()=>({name:"VPopper",props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,required:!0},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:K("disabled")},positioningDisabled:{type:Boolean,default:K("positioningDisabled")},placement:{type:String,default:K("placement"),validator:e=>ju.includes(e)},delay:{type:[String,Number,Object],default:K("delay")},distance:{type:[Number,String],default:K("distance")},skidding:{type:[Number,String],default:K("skidding")},triggers:{type:Array,default:K("triggers")},showTriggers:{type:[Array,Function],default:K("showTriggers")},hideTriggers:{type:[Array,Function],default:K("hideTriggers")},popperTriggers:{type:Array,default:K("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:K("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:K("popperHideTriggers")},container:{type:[String,Object,dr,Boolean],default:K("container")},boundary:{type:[String,dr],default:K("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:K("strategy")},autoHide:{type:[Boolean,Function],default:K("autoHide")},handleResize:{type:Boolean,default:K("handleResize")},instantMove:{type:Boolean,default:K("instantMove")},eagerMount:{type:Boolean,default:K("eagerMount")},popperClass:{type:[String,Array,Object],default:K("popperClass")},computeTransformOrigin:{type:Boolean,default:K("computeTransformOrigin")},autoMinSize:{type:Boolean,default:K("autoMinSize")},autoSize:{type:[Boolean,String],default:K("autoSize")},autoMaxSize:{type:Boolean,default:K("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:K("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:K("preventOverflow")},overflowPadding:{type:[Number,String],default:K("overflowPadding")},arrowPadding:{type:[Number,String],default:K("arrowPadding")},arrowOverflow:{type:Boolean,default:K("arrowOverflow")},flip:{type:Boolean,default:K("flip")},shift:{type:Boolean,default:K("shift")},shiftCrossAxis:{type:Boolean,default:K("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:K("noAutoFocus")}},provide(){return{[ka]:{parentPopper:this}}},inject:{[ka]:{default:null}},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},shownChildren:new Set,lastAutoHide:!0}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:sa(lt({},this.classes),{popperClass:this.popperClass}),result:this.positioningDisabled?null:this.result}},parentPopper(){var e;return(e=this[ka])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,n;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((n=this.popperShowTriggers)==null?void 0:n.includes("hover"))}},watch:lt(lt({shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())}},["triggers","positioningDisabled"].reduce((e,n)=>(e[n]="$_refreshListeners",e),{})),["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,n)=>(e[n]="$_computePosition",e),{})),created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeDestroy(){this.dispose()},methods:{show({event:e=null,skipDelay:n=!1,force:s=!1}={}){var a,r;(a=this.parentPopper)!=null&&a.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(s||!this.disabled)&&(((r=this.parentPopper)==null?void 0:r.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,n),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:n=!1,skipAiming:s=!1}={}){var a;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}if(!s&&this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:n}),this.parentPopper.lockedChild=null)},1e3));return}((a=this.parentPopper)==null?void 0:a.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(e,n),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=this.referenceNode(),this.$_targetNodes=this.targetNodes().filter(e=>e.nodeType===e.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"),this.$emit("dispose"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){var e;if(this.$_isDisposed||this.positioningDisabled)return;const n={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&n.middleware.push(Rf({mainAxis:this.distance,crossAxis:this.skidding}));const s=this.placement.startsWith("auto");if(s?n.middleware.push(Uf({alignment:(e=this.placement.split("-")[1])!=null?e:""})):n.placement=this.placement,this.preventOverflow&&(this.shift&&n.middleware.push(If({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!s&&this.flip&&n.middleware.push(Of({padding:this.overflowPadding,boundary:this.boundary}))),n.middleware.push(Nf({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&n.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:o,middlewareData:i})=>{let l;const{centerOffset:u}=i.arrow;return r.startsWith("top")||r.startsWith("bottom")?l=Math.abs(u)>o.reference.width/2:l=Math.abs(u)>o.reference.height/2,{data:{overflow:l}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;n.middleware.push({name:"autoSize",fn:({rects:o,placement:i,middlewareData:l})=>{var u;if((u=l.autoSize)!=null&&u.skip)return{};let d,c;return i.startsWith("top")||i.startsWith("bottom")?d=o.reference.width:c=o.reference.height,this.$_innerNode.style[r==="min"?"minWidth":r==="max"?"maxWidth":"width"]=d!=null?`${d}px`:null,this.$_innerNode.style[r==="min"?"minHeight":r==="max"?"maxHeight":"height"]=c!=null?`${c}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,n.middleware.push(Hf({boundary:this.boundary,padding:this.overflowPadding,apply:({width:r,height:o})=>{this.$_innerNode.style.maxWidth=r!=null?`${r}px`:null,this.$_innerNode.style.maxHeight=o!=null?`${o}px`:null}})));const a=await sh(this.$_referenceNode,this.$_popperNode,n);Object.assign(this.result,{x:a.x,y:a.y,placement:a.placement,strategy:a.strategy,arrow:lt(lt({},a.middlewareData.arrow),a.middlewareData.arrowOverflow)})},$_scheduleShow(e=null,n=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),_t&&this.instantMove&&_t.instantMove&&_t!==this.parentPopper){_t.$_applyHide(!0),this.$_applyShow(!0);return}n?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e=null,n=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(_t=this),n?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const n=this.delay;return parseInt(n&&n[e]||n||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await Aa(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Vs(this.$_referenceNode),...Vs(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const n=this.$_referenceNode.getBoundingClientRect(),s=this.$_popperNode.querySelector(".v-popper__wrapper"),a=s.parentNode.getBoundingClientRect(),r=n.x+n.width/2-(a.left+s.offsetLeft),o=n.y+n.height/2-(a.top+s.offsetTop);this.result.transformOrigin=`${r}px ${o}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let n;for(let s=0;s0){this.$_pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,Oi(Le,this),Le.length===0&&document.body.classList.remove("v-popper--some-open");for(const s of $i(this.theme)){const a=Ri(s);Oi(a,this),a.length===0&&document.body.classList.remove(`v-popper--some-open--${s}`)}_t===this&&(_t=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const n=rn(this.theme,"disposeTimeout");n!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},n)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Aa(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=s=>{this.isShown&&!this.$_hideInProgress||(s.usedByTooltip=!0,!this.$_preventShow&&this.show({event:s}))};this.$_registerTriggerListeners(this.$_targetNodes,Ui,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Ui,this.popperTriggers,this.popperShowTriggers,e);const n=s=>a=>{a.usedByTooltip||this.hide({event:a,skipAiming:s})};this.$_registerTriggerListeners(this.$_targetNodes,Mi,this.triggers,this.hideTriggers,n(!1)),this.$_registerTriggerListeners([this.$_popperNode],Mi,this.popperTriggers,this.popperHideTriggers,n(!0))},$_registerEventListeners(e,n,s){this.$_events.push({targetNodes:e,eventType:n,handler:s}),e.forEach(a=>a.addEventListener(n,s,Ut?{passive:!0}:void 0))},$_registerTriggerListeners(e,n,s,a,r){let o=s;a!=null&&(o=typeof a=="function"?a(o):a),o.forEach(i=>{const l=n[i];l&&this.$_registerEventListeners(e,l,r)})},$_removeEventListeners(e){const n=[];this.$_events.forEach(s=>{const{targetNodes:a,eventType:r,handler:o}=s;!e||e===r?a.forEach(i=>i.removeEventListener(r,o)):n.push(s)}),this.$_events=n},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,n=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),n&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,n){for(const s of this.$_targetNodes){const a=s.getAttribute(e);a&&(s.removeAttribute(e),s.setAttribute(n,a))}},$_applyAttrsToTarget(e){for(const n of this.$_targetNodes)for(const s in e){const a=e[s];a==null?n.removeAttribute(s):n.setAttribute(s,a)}},$_updateParentShownChildren(e){let n=this.parentPopper;for(;n;)e?n.shownChildren.add(this.randomId):(n.shownChildren.delete(this.randomId),n.$_pendingHide&&n.hide()),n=n.parentPopper},$_isAimingPopper(){const e=this.$el.getBoundingClientRect();if(Nn>=e.left&&Nn<=e.right&&Ln>=e.top&&Ln<=e.bottom){const n=this.$_popperNode.getBoundingClientRect(),s=Nn-at,a=Ln-rt,r=n.left+n.width/2-at+(n.top+n.height/2)-rt+n.width+n.height,o=at+s*r,i=rt+a*r;return us(at,rt,o,i,n.left,n.top,n.left,n.bottom)||us(at,rt,o,i,n.left,n.top,n.right,n.top)||us(at,rt,o,i,n.right,n.top,n.right,n.bottom)||us(at,rt,o,i,n.left,n.bottom,n.right,n.bottom)}return!1}},render(){return this.$scopedSlots.default(this.slotData)[0]}});typeof document<"u"&&typeof window<"u"&&(Ru?(document.addEventListener("touchstart",ji,Ut?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",dh,Ut?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",ji,!0),window.addEventListener("click",uh,!0)),window.addEventListener("resize",ph));function ji(e){for(let n=0;n=0;a--){const r=Le[a];try{const o=r.$_containsGlobalTarget=ch(r,e);r.$_pendingHide=!1,requestAnimationFrame(()=>{if(r.$_pendingHide=!1,!s[r.randomId]&&Ii(r,o,e)){if(r.$_handleGlobalClose(e,n),!e.closeAllPopover&&e.closePopover&&o){let l=r.parentPopper;for(;l;)s[l.randomId]=!0,l=l.parentPopper;return}let i=r.parentPopper;for(;i&&Ii(i,i.$_containsGlobalTarget,e);)i.$_handleGlobalClose(e,n),i=i.parentPopper}})}catch{}}}function ch(e,n){const s=e.popperNode();return e.$_mouseDownContains||s.contains(n.target)}function Ii(e,n,s){return s.closeAllPopover||s.closePopover&&n||mh(e,s)&&!n}function mh(e,n){if(typeof e.autoHide=="function"){const s=e.autoHide(n);return e.lastAutoHide=s,s}return e.autoHide}function ph(e){for(let n=0;n{at=Nn,rt=Ln,Nn=e.clientX,Ln=e.clientY},Ut?{passive:!0}:void 0);function us(e,n,s,a,r,o,i,l){const u=((i-r)*(n-o)-(l-o)*(e-r))/((l-o)*(s-e)-(i-r)*(a-n)),d=((s-e)*(n-o)-(a-n)*(e-r))/((l-o)*(s-e)-(i-r)*(a-n));return u>=0&&u<=1&&d>=0&&d<=1}function gh(){var e=window.navigator.userAgent,n=e.indexOf("MSIE ");if(n>0)return parseInt(e.substring(n+5,e.indexOf(".",n)),10);var s=e.indexOf("Trident/");if(s>0){var a=e.indexOf("rv:");return parseInt(e.substring(a+3,e.indexOf(".",a)),10)}var r=e.indexOf("Edge/");return r>0?parseInt(e.substring(r+5,e.indexOf(".",r)),10):-1}var Ts;function cr(){cr.init||(cr.init=!0,Ts=gh()!==-1)}var fh={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},mounted:function(){var e=this;cr(),this.$nextTick(function(){e._w=e.$el.offsetWidth,e._h=e.$el.offsetHeight,e.emitOnMount&&e.emitSize()});var n=document.createElement("object");this._resizeObject=n,n.setAttribute("aria-hidden","true"),n.setAttribute("tabindex",-1),n.onload=this.addResizeHandlers,n.type="text/html",Ts&&this.$el.appendChild(n),n.data="about:blank",Ts||this.$el.appendChild(n)},beforeDestroy:function(){this.removeResizeHandlers()},methods:{compareAndNotify:function(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize:function(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers:function(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers:function(){this._resizeObject&&this._resizeObject.onload&&(!Ts&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};function hh(e,n,s,a,r,o,i,l,u,d){typeof i!="boolean"&&(u=l,l=i,i=!1);var c=typeof s=="function"?s.options:s;e&&e.render&&(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0,r&&(c.functional=!0)),a&&(c._scopeId=a);var f;if(o?(f=function(_){_=_||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!_&&typeof __VUE_SSR_CONTEXT__<"u"&&(_=__VUE_SSR_CONTEXT__),n&&n.call(this,u(_)),_&&_._registeredComponents&&_._registeredComponents.add(o)},c._ssrRegister=f):n&&(f=i?function(_){n.call(this,d(_,this.$root.$options.shadowRoot))}:function(_){n.call(this,l(_))}),f)if(c.functional){var h=c.render;c.render=function(_,L){return f.call(L),h(_,L)}}else{var x=c.beforeCreate;c.beforeCreate=x?[].concat(x,f):[f]}return s}var vh=fh,Vu=function(){var e=this,n=e.$createElement,s=e._self._c||n;return s("div",{staticClass:"resize-observer",attrs:{tabindex:"-1"}})},yh=[];Vu._withStripped=!0;var xh=void 0,wh="data-v-8859cc6c",Ch=void 0,_h=!1,mr=hh({render:Vu,staticRenderFns:yh},xh,vh,wh,_h,Ch,!1,void 0,void 0,void 0);function Th(e){e.component("resize-observer",mr),e.component("ResizeObserver",mr)}var bh={version:"1.0.1",install:Th},ds=null;typeof window<"u"?ds=window.Vue:typeof tn<"u"&&(ds=tn.Vue),ds&&ds.use(bh);var Gu={computed:{themeClass(){return lh(this.theme)}}},Fh={name:"VPopperContent",components:{ResizeObserver:mr},mixins:[Gu],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}},Eh=function(){var e=this,n=e.$createElement,s=e._self._c||n;return s("div",{ref:"popover",staticClass:"v-popper__popper",class:[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}],style:e.result?{position:e.result.strategy,transform:"translate3d("+Math.round(e.result.x)+"px,"+Math.round(e.result.y)+"px,0)"}:void 0,attrs:{id:e.popperId,"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0},on:{keyup:function(a){if(!a.type.indexOf("key")&&e._k(a.keyCode,"esc",27,a.key,["Esc","Escape"]))return null;e.autoHide&&e.$emit("hide")}}},[s("div",{staticClass:"v-popper__backdrop",on:{click:function(a){e.autoHide&&e.$emit("hide")}}}),s("div",{staticClass:"v-popper__wrapper",style:e.result?{transformOrigin:e.result.transformOrigin}:void 0},[s("div",{ref:"inner",staticClass:"v-popper__inner"},[e.mounted?[s("div",[e._t("default")],2),e.handleResize?s("ResizeObserver",{on:{notify:function(a){return e.$emit("resize",a)}}}):e._e()]:e._e()],2),s("div",{ref:"arrow",staticClass:"v-popper__arrow-container",style:e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0},[s("div",{staticClass:"v-popper__arrow-outer"}),s("div",{staticClass:"v-popper__arrow-inner"})])])])},Sh=[];function cn(e,n,s,a,r,o,i,l){var u=typeof e=="function"?e.options:e;n&&(u.render=n,u.staticRenderFns=s,u._compiled=!0),a&&(u.functional=!0),o&&(u._scopeId="data-v-"+o);var d;if(i?(d=function(h){h=h||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!h&&typeof __VUE_SSR_CONTEXT__<"u"&&(h=__VUE_SSR_CONTEXT__),r&&r.call(this,h),h&&h._registeredComponents&&h._registeredComponents.add(i)},u._ssrRegister=d):r&&(d=l?function(){r.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:r),d)if(u.functional){u._injectStyles=d;var c=u.render;u.render=function(h,x){return d.call(x),c(h,x)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,d):[d]}return{exports:e,options:u}}const Hi={};var Ah=cn(Fh,Eh,Sh,!1,kh,null,null,null);function kh(e){for(let n in Hi)this[n]=Hi[n]}var Ku=function(){return Ah.exports}(),Ir={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}},Nh={name:"VPopperWrapper",components:{Popper:Iu(),PopperContent:Ku},mixins:[Ir,Gu],inheritAttrs:!1,props:{theme:{type:String,default(){return this.$options.vPopperTheme}}},methods:{getTargetNodes(){return Array.from(this.$refs.reference.children).filter(e=>e!==this.$refs.popperContent.$el)}}},Lh=function(){var e=this,n=e.$createElement,s=e._self._c||n;return s("Popper",e._g(e._b({ref:"popper",attrs:{theme:e.theme,"target-nodes":e.getTargetNodes,"reference-node":function(){return e.$refs.reference},"popper-node":function(){return e.$refs.popperContent.$el}},scopedSlots:e._u([{key:"default",fn:function(a){var r=a.popperId,o=a.isShown,i=a.shouldMountContent,l=a.skipTransition,u=a.autoHide,d=a.show,c=a.hide,f=a.handleResize,h=a.onResize,x=a.classes,_=a.result;return[s("div",{ref:"reference",staticClass:"v-popper",class:[e.themeClass,{"v-popper--shown":o}]},[e._t("default",null,{shown:o,show:d,hide:c}),s("PopperContent",{ref:"popperContent",attrs:{"popper-id":r,theme:e.theme,shown:o,mounted:i,"skip-transition":l,"auto-hide":u,"handle-resize":f,classes:x,result:_},on:{hide:c,resize:h}},[e._t("popper",null,{shown:o,hide:c})],2)],2)]}}],null,!0)},"Popper",e.$attrs,!1),e.$listeners))},Ph=[];const Vi={};var Bh=cn(Nh,Lh,Ph,!1,Dh,null,null,null);function Dh(e){for(let n in Vi)this[n]=Vi[n]}var Hr=function(){return Bh.exports}(),$h=sa(lt({},Hr),{name:"VDropdown",vPopperTheme:"dropdown"});let Uh,Mh;const Gi={};var Oh=cn($h,Uh,Mh,!1,zh,null,null,null);function zh(e){for(let n in Gi)this[n]=Gi[n]}var pr=function(){return Oh.exports}(),Rh=sa(lt({},Hr),{name:"VMenu",vPopperTheme:"menu"});let jh,Ih;const Ki={};var Hh=cn(Rh,jh,Ih,!1,Vh,null,null,null);function Vh(e){for(let n in Ki)this[n]=Ki[n]}var Wi=function(){return Hh.exports}(),Gh=sa(lt({},Hr),{name:"VTooltip",vPopperTheme:"tooltip"});let Kh,Wh;const Ji={};var Jh=cn(Gh,Kh,Wh,!1,qh,null,null,null);function qh(e){for(let n in Ji)this[n]=Ji[n]}var qi=function(){return Jh.exports}(),Yh={name:"VTooltipDirective",components:{Popper:Iu(),PopperContent:Ku},mixins:[Ir],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default(){return rn(this.theme,"html")}},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default(){return rn(this.theme,"loadingContent")}}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(e){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const n=++this.$_fetchId,s=this.content(this);s.then?s.then(a=>this.onResult(n,a)):this.onResult(n,s)}},onResult(e,n){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=n)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}},Zh=function(){var e=this,n=e.$createElement,s=e._self._c||n;return s("Popper",e._g(e._b({ref:"popper",attrs:{theme:e.theme,"popper-node":function(){return e.$refs.popperContent.$el}},on:{"apply-show":e.onShow,"apply-hide":e.onHide},scopedSlots:e._u([{key:"default",fn:function(a){var r=a.popperId,o=a.isShown,i=a.shouldMountContent,l=a.skipTransition,u=a.autoHide,d=a.hide,c=a.handleResize,f=a.onResize,h=a.classes,x=a.result;return[s("PopperContent",{ref:"popperContent",class:{"v-popper--tooltip-loading":e.loading},attrs:{"popper-id":r,theme:e.theme,shown:o,mounted:i,"skip-transition":l,"auto-hide":u,"handle-resize":c,classes:h,result:x},on:{hide:d,resize:f}},[e.html?s("div",{domProps:{innerHTML:e._s(e.finalContent)}}):s("div",{domProps:{textContent:e._s(e.finalContent)}})])]}}])},"Popper",e.$attrs,!1),e.$listeners))},Xh=[];const Yi={};var Qh=cn(Yh,Zh,Xh,!1,e4,null,null,null);function e4(e){for(let n in Yi)this[n]=Yi[n]}var t4=function(){return Qh.exports}();const Wu="v-popper--has-tooltip";function n4(e,n){let s=e.placement;if(!s&&n)for(const a of ju)n[a]&&(s=a);return s||(s=rn(e.theme||"tooltip","placement")),s}function Ju(e,n,s){let a;const r=typeof n;return r==="string"?a={content:n}:n&&r==="object"?a=n:a={content:!1},a.placement=n4(a,s),a.targetNodes=()=>[e],a.referenceNode=()=>e,a}function s4(e,n,s){const a=Ju(e,n,s),r=e.$_popper=new Y({mixins:[Ir],data(){return{options:a}},render(i){const l=this.options,{theme:u,html:d,content:c,loadingContent:f}=l,h=ih(l,["theme","html","content","loadingContent"]);return i(t4,{props:{theme:u,html:d,content:c,loadingContent:f},attrs:h,ref:"popper"})},devtools:{hide:!0}}),o=document.createElement("div");return document.body.appendChild(o),r.$mount(o),e.classList&&e.classList.add(Wu),r}function qu(e){e.$_popper&&(e.$_popper.$destroy(),delete e.$_popper,delete e.$_popperOldShown),e.classList&&e.classList.remove(Wu)}function Zi(e,{value:n,oldValue:s,modifiers:a}){const r=Ju(e,n,a);if(!r.content||rn(r.theme||"tooltip","disabled"))qu(e);else{let o;e.$_popper?(o=e.$_popper,o.options=r):o=s4(e,n,a),typeof n.shown<"u"&&n.shown!==e.$_popperOldShown&&(e.$_popperOldShown=n.shown,n.shown?o.show():o.hide())}}var Yu={bind:Zi,update:Zi,unbind(e){qu(e)}};function Xi(e){e.addEventListener("click",Zu),e.addEventListener("touchstart",Xu,Ut?{passive:!0}:!1)}function Qi(e){e.removeEventListener("click",Zu),e.removeEventListener("touchstart",Xu),e.removeEventListener("touchend",Qu),e.removeEventListener("touchcancel",ed)}function Zu(e){const n=e.currentTarget;e.closePopover=!n.$_vclosepopover_touch,e.closeAllPopover=n.$_closePopoverModifiers&&!!n.$_closePopoverModifiers.all}function Xu(e){if(e.changedTouches.length===1){const n=e.currentTarget;n.$_vclosepopover_touch=!0;const s=e.changedTouches[0];n.$_vclosepopover_touchPoint=s,n.addEventListener("touchend",Qu),n.addEventListener("touchcancel",ed)}}function Qu(e){const n=e.currentTarget;if(n.$_vclosepopover_touch=!1,e.changedTouches.length===1){const s=e.changedTouches[0],a=n.$_vclosepopover_touchPoint;e.closePopover=Math.abs(s.screenY-a.screenY)<20&&Math.abs(s.screenX-a.screenX)<20,e.closeAllPopover=n.$_closePopoverModifiers&&!!n.$_closePopoverModifiers.all}}function ed(e){const n=e.currentTarget;n.$_vclosepopover_touch=!1}var a4={bind(e,{value:n,modifiers:s}){e.$_closePopoverModifiers=s,(typeof n>"u"||n)&&Xi(e)},update(e,{value:n,oldValue:s,modifiers:a}){e.$_closePopoverModifiers=a,n!==s&&(typeof n>"u"||n?Xi(e):Qi(e))},unbind(e){Qi(e)}};const cs=Re,r4=Yu,o4=pr;function i4(e,n={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,zu(Re,n),e.directive("tooltip",Yu),e.directive("close-popper",a4),e.component("v-tooltip",qi),e.component("VTooltip",qi),e.component("v-dropdown",pr),e.component("VDropdown",pr),e.component("v-menu",Wi),e.component("VMenu",Wi))}const l4={version:"1.0.0-beta.19",install:i4,options:Re};let ms=null;typeof window<"u"?ms=window.Vue:typeof tn<"u"&&(ms=tn.Vue),ms&&ms.use(l4);const u4={name:"NcPopoverTriggerProvider",provide(){return{"NcPopover:trigger:shown":()=>this.shown,"NcPopover:trigger:attrs":()=>this.triggerAttrs}},props:{shown:{type:Boolean,required:!0},popupRole:{type:String,default:void 0}},computed:{triggerAttrs(){return{"aria-haspopup":this.popupRole,"aria-expanded":this.shown.toString()}}},render(){var e,n;return(n=(e=this.$scopedSlots).default)==null?void 0:n.call(e,{attrs:this.triggerAttrs})}},d4=null,c4=null;var m4=se(u4,d4,c4,!1,null,null,null,null);const p4=m4.exports,g4={name:"NcPopover",components:{Dropdown:o4,NcPopoverTriggerProvider:p4},inheritAttrs:!1,props:{shown:{type:Boolean,default:!1},popupRole:{type:String,default:void 0,validator:e=>["menu","listbox","tree","grid","dialog","true"].includes(e)},popoverBaseClass:{type:String,default:""},focusTrap:{type:Boolean,default:!0},setReturnFocus:{default:void 0,type:[HTMLElement,SVGElement,String,Boolean]}},emits:["after-show","after-hide","update:shown"],data(){return{internalShown:this.shown}},watch:{shown(e){this.internalShown=e},internalShown(e){this.$emit("update:shown",e)}},mounted(){this.checkTriggerA11y()},beforeDestroy(){this.clearFocusTrap(),this.clearEscapeStopPropagation()},methods:{checkTriggerA11y(){var e;(e=window.OC)!=null&&e.debug&&(this.getPopoverTriggerContainerElement().querySelector("[aria-expanded]")||Y.util.warn("It looks like you are using a custom button as a or other popover #trigger. If you are not using as a trigger, you need to bind attrs from the #trigger slot props to your custom button. See docs for an example."))},removeFloatingVueAriaDescribedBy(){const e=this.getPopoverTriggerContainerElement().querySelectorAll("[data-popper-shown]");for(const n of e)n.removeAttribute("aria-describedby")},getPopoverContentElement(){var e,n;return(n=(e=this.$refs.popover)==null?void 0:e.$refs.popperContent)==null?void 0:n.$el},getPopoverTriggerContainerElement(){return this.$refs.popover.$refs.reference},async useFocusTrap(){if(await this.$nextTick(),!this.focusTrap)return;const e=this.getPopoverContentElement();e&&(this.$focusTrap=ku(e,{escapeDeactivates:!1,allowOutsideClick:!0,setReturnFocus:this.setReturnFocus,trapStack:Rs()}),this.$focusTrap.activate())},clearFocusTrap(e={}){var n;try{(n=this.$focusTrap)==null||n.deactivate(e),this.$focusTrap=null}catch(s){console.warn(s)}},addEscapeStopPropagation(){this.getPopoverContentElement()?.addEventListener("keydown",this.stopKeydownEscapeHandler)},clearEscapeStopPropagation(){this.getPopoverContentElement()?.removeEventListener("keydown",this.stopKeydownEscapeHandler)},stopKeydownEscapeHandler(e){e.type==="keydown"&&e.key==="Escape"&&e.stopPropagation()},afterShow(){this.removeFloatingVueAriaDescribedBy(),this.$nextTick(()=>{this.$emit("after-show"),this.useFocusTrap(),this.addEscapeStopPropagation()})},afterHide(){this.$emit("after-hide"),this.clearFocusTrap(),this.clearEscapeStopPropagation()}}};var f4=function(){var e=this,n=e._self._c;return n("Dropdown",e._g(e._b({ref:"popover",attrs:{distance:10,"arrow-padding":10,"no-auto-focus":!0,"popper-class":e.popoverBaseClass,shown:e.internalShown},on:{"update:shown":function(s){e.internalShown=s},"apply-show":e.afterShow,"apply-hide":e.afterHide},scopedSlots:e._u([{key:"popper",fn:function(){return[e._t("default")]},proxy:!0}],null,!0)},"Dropdown",e.$attrs,!1),e.$listeners),[n("NcPopoverTriggerProvider",{attrs:{shown:e.internalShown,"popup-role":e.popupRole},scopedSlots:e._u([{key:"default",fn:function(s){return[e._t("trigger",null,null,s)]}}],null,!0)})],1)},h4=[],v4=se(g4,f4,h4,!1,null,null,null,null);const y4=v4.exports,x4={name:"DotsHorizontalIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var w4=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon dots-horizontal-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},C4=[],_4=se(x4,w4,C4,!1,null,null,null,null);const T4=_4.exports;Zs(xf);const el=".focusable",b4={name:"NcActions",components:{NcButton:Nu,DotsHorizontal:T4,NcPopover:y4},provide(){return{"NcActions:isSemanticMenu":bn(()=>this.actionsMenuSemanticType==="menu")}},props:{open:{type:Boolean,default:!1},manualOpen:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1},forceName:{type:Boolean,default:!1},menuName:{type:String,default:null},forceSemanticType:{type:String,default:null,validator(e){return["dialog","menu","expanded","tooltip"].includes(e)}},primary:{type:Boolean,default:!1},type:{type:String,validator(e){return["primary","secondary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].indexOf(e)!==-1},default:null},defaultIcon:{type:String,default:""},ariaLabel:{type:String,default:Ge("Actions")},ariaHidden:{type:Boolean,default:null},placement:{type:String,default:"bottom"},boundariesElement:{type:Element,default:()=>document.querySelector("body")},container:{type:[String,Object,Element,Boolean],default:"body"},disabled:{type:Boolean,default:!1},inline:{type:Number,default:0}},emits:["open","update:open","close","focus","blur","click"],setup(){const e="menu-".concat(zr());return{randomId:e,triggerRandomId:"trigger-".concat(e)}},data(){return{opened:this.open,focusIndex:0,actionsMenuSemanticType:"unknown",externalFocusTrapStack:[]}},computed:{triggerBtnType(){return this.type||(this.primary?"primary":this.menuName?"secondary":"tertiary")},config(){return{menu:{popupRole:"menu",withArrowNavigation:!0,withTabNavigation:!1,withFocusTrap:!1,triggerA11yAttr:{"aria-controls":this.opened?this.randomId:null},popoverContainerA11yAttrs:{},popoverUlA11yAttrs:{id:this.randomId,role:"menu"}},expanded:{popupRole:void 0,withArrowNavigation:!1,withTabNavigation:!0,withFocusTrap:!1,triggerA11yAttr:{},popoverContainerA11yAttrs:{},popoverUlA11yAttrs:{}},dialog:{popupRole:"dialog",withArrowNavigation:!1,withTabNavigation:!0,withFocusTrap:!0,triggerA11yAttr:{"aria-controls":this.opened?this.randomId:null},popoverContainerA11yAttrs:{id:this.randomId,role:"dialog","aria-labelledby":this.triggerRandomId,"aria-modal":"true"},popoverUlA11yAttrs:{}},tooltip:{popupRole:void 0,withArrowNavigation:!1,withTabNavigation:!1,withFocusTrap:!1,triggerA11yAttr:{},popoverContainerA11yAttrs:{},popoverUlA11yAttrs:{}},unknown:{popupRole:void 0,role:void 0,withArrowNavigation:!0,withTabNavigation:!1,withFocusTrap:!0,triggerA11yAttr:{},popoverContainerA11yAttrs:{},popoverUlA11yAttrs:{}}}[this.actionsMenuSemanticType]}},watch:{open(e){e!==this.opened&&(this.opened=e)},opened(){this.intersectIntoCurrentFocusTrapStack()}},methods:{getActionName(e){var n,s,a,r,o;return(o=(a=(s=(n=e?.componentOptions)==null?void 0:n.Ctor)==null?void 0:s.extendOptions)==null?void 0:a.name)!=null?o:(r=e?.componentOptions)==null?void 0:r.tag},intersectIntoCurrentFocusTrapStack(){if(!this.config.withFocusTrap)if(this.opened){this.externalFocusTrapStack=[...Rs()];for(const e of this.externalFocusTrapStack)e.pause()}else{for(const e of this.externalFocusTrapStack)e.unpause();this.externalFocusTrapStack=[]}},isValidSingleAction(e){return["NcActionButton","NcActionLink","NcActionRouter"].includes(this.getActionName(e))},isIconUrl(e){try{return!!new URL(e,e.startsWith("/")?window.location.origin:void 0)}catch{return!1}},openMenu(e){this.opened||(this.opened=!0,this.$emit("update:open",!0),this.$emit("open"))},async closeMenu(e=!0){var n,s;this.opened&&(await this.$nextTick(),this.opened=!1,(n=this.$refs.popover)==null||n.clearFocusTrap({returnFocus:e}),this.$emit("update:open",!1),this.$emit("close"),this.focusIndex=0,e&&((s=this.$refs.menuButton)==null||s.$el.focus()))},onOpen(){this.$nextTick(()=>{this.focusFirstAction(null),this.resizePopover()})},resizePopover(){const e=this.$refs.menu.closest(".v-popper__inner"),n=Number.parseFloat(window.getComputedStyle(e).maxHeight);if(this.$refs.menu.clientHeight>n){let s=0,a=0;for(const r of this.$refs.menuList.children){if(s+r.clientHeight/2>n){e.style.height="".concat(s-a/2,"px");break}a=r.clientHeight,s+=a}}},getCurrentActiveMenuItemElement(){return this.$refs.menu.querySelector("li.active")},getFocusableMenuItemElements(){return this.$refs.menu.querySelectorAll(el)},onMouseFocusAction(e){if(document.activeElement===e.target)return;const n=e.target.closest("li");if(n&&this.$refs.menu.contains(n)){const s=n.querySelector(el);if(s){const a=[...this.getFocusableMenuItemElements()].indexOf(s);a>-1&&(this.focusIndex=a,this.focusAction())}}},onKeydown(e){if(e.key==="Tab"){if(this.config.withFocusTrap)return;if(!this.config.withTabNavigation){this.closeMenu(!0);return}e.preventDefault();const n=this.getFocusableMenuItemElements(),s=[...n].indexOf(document.activeElement);if(s===-1)return;const a=e.shiftKey?s-1:s+1;(a<0||a===n.length)&&this.closeMenu(!0),this.focusIndex=a,this.focusAction();return}this.config.withArrowNavigation&&(e.key==="ArrowUp"&&this.focusPreviousAction(e),e.key==="ArrowDown"&&this.focusNextAction(e),e.key==="PageUp"&&this.focusFirstAction(e),e.key==="PageDown"&&this.focusLastAction(e)),e.key==="Escape"&&(this.closeMenu(),e.preventDefault())},onTriggerKeydown(e){e.key==="Escape"&&this.actionsMenuSemanticType==="tooltip"&&this.closeMenu()},removeCurrentActive(){const e=this.$refs.menu.querySelector("li.active");e&&e.classList.remove("active")},focusAction(){const e=this.getFocusableMenuItemElements()[this.focusIndex];if(e){this.removeCurrentActive();const n=e.closest("li.action");e.focus(),n&&n.classList.add("active")}},focusPreviousAction(e){this.opened&&(this.focusIndex===0?this.focusLastAction(e):(this.preventIfEvent(e),this.focusIndex=this.focusIndex-1),this.focusAction())},focusNextAction(e){if(this.opened){const n=this.getFocusableMenuItemElements().length-1;this.focusIndex===n?this.focusFirstAction(e):(this.preventIfEvent(e),this.focusIndex=this.focusIndex+1),this.focusAction()}},focusFirstAction(e){if(this.opened){this.preventIfEvent(e);const n=[...this.getFocusableMenuItemElements()].findIndex(s=>s.getAttribute("aria-checked")==="true"&&s.getAttribute("role")==="menuitemradio");this.focusIndex=n>-1?n:0,this.focusAction()}},focusLastAction(e){this.opened&&(this.preventIfEvent(e),this.focusIndex=this.getFocusableMenuItemElements().length-1,this.focusAction())},preventIfEvent(e){e&&(e.preventDefault(),e.stopPropagation())},onFocus(e){this.$emit("focus",e)},onBlur(e){this.$emit("blur",e),this.actionsMenuSemanticType==="tooltip"&&this.$refs.menu&&this.getFocusableMenuItemElements().length===0&&this.closeMenu(!1)},onClick(e){this.$emit("click",e)}},render(e){const n=(this.$slots.default||[]).filter(l=>this.getActionName(l));if(n.length===0)return;let s=n.filter(this.isValidSingleAction);this.forceMenu&&s.length>0&&this.inline>0&&(Y.util.warn("Specifying forceMenu will ignore any inline actions rendering."),s=[]);const a=s.slice(0,this.inline),r=n.filter(l=>!a.includes(l));if(this.forceSemanticType)this.actionsMenuSemanticType=this.forceSemanticType;else{const l=["NcActionInput","NcActionTextEditable"],u=["NcActionButton","NcActionButtonGroup","NcActionCheckbox","NcActionRadio"],d=["NcActionLink","NcActionRouter"],c=r.some(x=>l.includes(this.getActionName(x))),f=r.some(x=>u.includes(this.getActionName(x))),h=r.some(x=>d.includes(this.getActionName(x)));c?this.actionsMenuSemanticType="dialog":f?this.actionsMenuSemanticType="menu":h?this.actionsMenuSemanticType="expanded":n.filter(x=>this.getActionName(x).startsWith("NcAction")).length===n.length?this.actionsMenuSemanticType="tooltip":this.actionsMenuSemanticType="unknown"}const o=l=>{var u,d,c,f,h,x,_,L,b,U,S,R,B,G,X,J,$,V,C,w,m,g,y,T,E,P,k,D,O,A;const W=(d=(u=l?.componentOptions)==null?void 0:u.propsData)==null?void 0:d.icon,z=(x=(h=(f=(c=l?.data)==null?void 0:c.scopedSlots)==null?void 0:f.icon())==null?void 0:h[0])!=null?x:this.isIconUrl(W)?e("img",{class:"action-item__menutoggle__icon",attrs:{src:W,alt:""}}):e("span",{class:["icon",W]}),ae=((_=l?.data)==null?void 0:_.attrs)||{},H=(b=(L=l?.componentOptions)==null?void 0:L.listeners)==null?void 0:b.click,le=(G=(B=(R=(S=(U=l?.componentOptions)==null?void 0:U.children)==null?void 0:S[0])==null?void 0:R.text)==null?void 0:B.trim)==null?void 0:G.call(B),ve=((J=(X=l?.componentOptions)==null?void 0:X.propsData)==null?void 0:J.ariaLabel)||le,tt=this.forceName?le:"";let ke=(V=($=l?.componentOptions)==null?void 0:$.propsData)==null?void 0:V.title;this.forceName||ke||(ke=le);const nt={...(w=(C=l?.componentOptions)==null?void 0:C.propsData)!=null?w:{}},Gn=["submit","reset"].includes(nt.type)?nt.modelValue:"button";return delete nt.modelValue,delete nt.type,e("NcButton",{class:["action-item action-item--single",(m=l?.data)==null?void 0:m.staticClass,(g=l?.data)==null?void 0:g.class],attrs:{...ae,"aria-label":ve,title:ke},ref:(y=l?.data)==null?void 0:y.ref,props:{type:this.type||(tt?"secondary":"tertiary"),disabled:this.disabled||((E=(T=l?.componentOptions)==null?void 0:T.propsData)==null?void 0:E.disabled),pressed:(k=(P=l?.componentOptions)==null?void 0:P.propsData)==null?void 0:k.modelValue,nativeType:Gn,...nt},on:{focus:this.onFocus,blur:this.onBlur,"update:pressed":(A=(O=(D=l?.componentOptions)==null?void 0:D.listeners)==null?void 0:O["update:modelValue"])!=null?A:()=>{},...!!H&&{click:st=>{H&&H(st)}}}},[e("template",{slot:"icon"},[z]),tt])},i=l=>{var u,d;const c=((u=this.$slots.icon)==null?void 0:u[0])||(this.defaultIcon?e("span",{class:["icon",this.defaultIcon]}):e("DotsHorizontal",{props:{size:20}}));return e("NcPopover",{ref:"popover",props:{delay:0,handleResize:!0,shown:this.opened,placement:this.placement,boundary:this.boundariesElement,container:this.container,popoverBaseClass:"action-item__popper",popupRole:this.config.popupRole,setReturnFocus:this.config.withFocusTrap?(d=this.$refs.menuButton)==null?void 0:d.$el:null,focusTrap:this.config.withFocusTrap},attrs:{delay:0,handleResize:!0,shown:this.opened,placement:this.placement,boundary:this.boundariesElement,container:this.container,...this.manualOpen&&{triggers:[]}},on:{show:this.openMenu,"apply-show":this.onOpen,hide:this.closeMenu}},[e("NcButton",{class:"action-item__menutoggle",props:{type:this.triggerBtnType,disabled:this.disabled},slot:"trigger",ref:"menuButton",attrs:{id:this.triggerRandomId,"aria-label":this.menuName?null:this.ariaLabel,...this.config.triggerA11yAttr},on:{focus:this.onFocus,blur:this.onBlur,click:this.onClick,keydown:this.onTriggerKeydown}},[e("template",{slot:"icon"},[c]),this.menuName]),e("div",{class:{open:this.opened},attrs:{tabindex:"-1",...this.config.popoverContainerA11yAttrs},on:{keydown:this.onKeydown,mousemove:this.onMouseFocusAction},ref:"menu"},[e("ul",{attrs:{tabindex:"-1",...this.config.popoverUlA11yAttrs},ref:"menuList"},[l])])])};return n.length===1&&s.length===1&&!this.forceMenu?o(n[0]):(this.$nextTick(()=>{this.opened&&this.$refs.menu&&(this.resizePopover(),(this.$refs.menu.querySelector("li.active")||[]).length===0&&this.focusFirstAction())}),a.length>0&&this.inline>0?e("div",{class:["action-items","action-item--".concat(this.triggerBtnType)]},[...a.map(o),r.length>0?e("div",{class:["action-item",{"action-item--open":this.opened}]},[i(r)]):null]):e("div",{class:["action-item action-item--default-popover","action-item--".concat(this.triggerBtnType),{"action-item--open":this.opened}]},[i(n)]))}},F4=null,E4=null;var S4=se(b4,F4,E4,!1,null,"482dabc2",null,null);const A4=S4.exports;cs.themes.tooltip.html=!1,cs.themes.tooltip.delay={show:500,hide:200},cs.themes.tooltip.distance=10,cs.themes.tooltip["arrow-padding"]=3;const k4={name:"ChevronRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var N4=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon chevron-right-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},L4=[],P4=se(k4,N4,L4,!1,null,null,null,null);const B4=P4.exports,D4={name:"CloseIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var $4=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon close-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},U4=[],M4=se(D4,$4,U4,!1,null,null,null,null);const O4=M4.exports;Zs(wf,_f);function z4(e,n){let s,a,r=n,o;this.start=function(){o=!0,a=new Date,s=setTimeout(e,r)},this.pause=function(){o=!1,clearTimeout(s),r-=new Date-a},this.clear=function(){o=!1,clearTimeout(s),r=0},this.getTimeLeft=function(){return o&&(this.pause(),this.start()),r},this.getStateRunning=function(){return o},this.start()}const R4={name:"ChevronLeftIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var j4=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon chevron-left-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},I4=[],H4=se(R4,j4,I4,!1,null,null,null,null);const V4=H4.exports,G4={name:"PauseIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var K4=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon pause-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M14,19H18V5H14M6,19H10V5H6V19Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},W4=[],J4=se(G4,K4,W4,!1,null,null,null,null);const q4=J4.exports,Y4={name:"PlayIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Z4=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon play-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M8,5.14V19.14L19,12.14L8,5.14Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},X4=[],Q4=se(Y4,Z4,X4,!1,null,null,null,null);const ev=Q4.exports,tv={name:"NcModal",components:{NcActions:A4,ChevronLeft:V4,ChevronRight:B4,Close:O4,Pause:q4,Play:ev,NcButton:Nu},directives:{tooltip:r4},props:{name:{type:String,default:""},hasPrevious:{type:Boolean,default:!1},hasNext:{type:Boolean,default:!1},outTransition:{type:Boolean,default:!1},enableSlideshow:{type:Boolean,default:!1},slideshowDelay:{type:Number,default:5e3},slideshowPaused:{type:Boolean,default:!1},enableSwipe:{type:Boolean,default:!0},spreadNavigation:{type:Boolean,default:!1},size:{type:String,default:"normal",validator:e=>["small","normal","large","full"].includes(e)},canClose:{type:Boolean,default:!0},closeOnClickOutside:{type:Boolean,default:!0},dark:{type:Boolean,default:!1},container:{type:[String,null],default:"body"},closeButtonContained:{type:Boolean,default:!0},additionalTrapElements:{type:Array,default:()=>[]},inlineActions:{type:Number,default:0},show:{type:Boolean,default:void 0},labelId:{type:String,default:""},setReturnFocus:{default:void 0,type:[HTMLElement,SVGElement,String,Boolean]}},emits:["previous","next","close","update:show"],data(){return{mc:null,playing:!1,slideshowTimeout:null,iconSize:24,focusTrap:null,randId:zr(),internalShow:!0}},computed:{modalLabelId(){return this.labelId||"modal-name-".concat(this.randId)},showModal(){return this.show===void 0?this.internalShow:this.show},modalTransitionName(){return"modal-".concat(this.outTransition?"out":"in")},playPauseName(){return this.playing?Ge("Pause slideshow"):Ge("Start slideshow")},cssVariables(){return{"--slideshow-duration":this.slideshowDelay+"ms","--icon-size":this.iconSize+"px"}},closeButtonAriaLabel(){return Ge("Close")},prevButtonAriaLabel(){return Ge("Previous")},nextButtonAriaLabel(){return Ge("Next")}},watch:{slideshowPaused(e){this.slideshowTimeout&&(e?this.slideshowTimeout.pause():this.slideshowTimeout.start())},additionalTrapElements(e){if(this.focusTrap){const n=this.$refs.mask;this.focusTrap.updateContainerElements([n,...e])}}},beforeMount(){window.addEventListener("keydown",this.handleKeydown)},beforeDestroy(){window.removeEventListener("keydown",this.handleKeydown),this.mc.stop()},mounted(){!this.name&&!this.labelId&&Y.util.warn("[NcModal] You need either set the name or set a `labelId` for accessibility."),this.useFocusTrap(),this.mc=Mg(this.$refs.mask,{onSwipeEnd:this.handleSwipe}),this.container&&(this.container==="body"?document.body.insertBefore(this.$el,document.body.lastChild):document.querySelector(this.container).appendChild(this.$el))},destroyed(){this.clearFocusTrap(),this.$el.remove()},methods:{t:Ge,previous(e){this.hasPrevious&&(e&&this.resetSlideshow(),this.$emit("previous",e))},next(e){this.hasNext&&(e&&this.resetSlideshow(),this.$emit("next",e))},close(e){this.canClose&&(this.internalShow=!1,this.$emit("update:show",!1),setTimeout(()=>{this.$emit("close",e)},300))},handleClickModalWrapper(e){this.closeOnClickOutside&&this.close(e)},handleKeydown(e){if(e.key==="Escape"){const s=Rs();return s.length>0&&s[s.length-1]!==this.focusTrap?void 0:this.close(e)}const n={ArrowLeft:this.previous,ArrowRight:this.next};if(n[e.key])return document.activeElement&&!this.$el.contains(document.activeElement)?void 0:n[e.key](e)},handleSwipe(e,n){this.enableSwipe&&(n==="left"?this.next(e):n==="right"&&this.previous(e))},togglePlayPause(){this.playing=!this.playing,this.playing?this.handleSlideshow():this.clearSlideshowTimeout()},resetSlideshow(){this.playing=!this.playing,this.clearSlideshowTimeout(),this.$nextTick(function(){this.togglePlayPause()})},handleSlideshow(){this.playing=!0,this.hasNext?this.slideshowTimeout=new z4(()=>{this.next(),this.handleSlideshow()},this.slideshowDelay):(this.playing=!1,this.clearSlideshowTimeout())},clearSlideshowTimeout(){this.slideshowTimeout&&this.slideshowTimeout.clear()},async useFocusTrap(){if(!this.showModal||this.focusTrap)return;const e=this.$refs.mask;await this.$nextTick();const n={allowOutsideClick:!0,fallbackFocus:e,trapStack:Rs(),escapeDeactivates:!1,setReturnFocus:this.setReturnFocus};this.focusTrap=ku([e,...this.additionalTrapElements],n),this.focusTrap.activate()},clearFocusTrap(){var e;this.focusTrap&&((e=this.focusTrap)==null||e.deactivate(),this.focusTrap=null)}}};var nv=function(){var e=this,n=e._self._c;return n("transition",{attrs:{name:"fade",appear:""},on:{"after-enter":e.useFocusTrap,"before-leave":e.clearFocusTrap}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.showModal,expression:"showModal"}],ref:"mask",staticClass:"modal-mask",class:{"modal-mask--dark":e.dark||!e.closeButtonContained||e.hasPrevious||e.hasNext},style:e.cssVariables,attrs:{role:"dialog","aria-modal":"true","aria-labelledby":e.modalLabelId,"aria-describedby":"modal-description-"+e.randId,tabindex:"-1"}},[n("transition",{attrs:{name:"fade-visibility",appear:""}},[n("div",{staticClass:"modal-header",attrs:{"data-theme-dark":""}},[e.name.trim()!==""?n("h2",{staticClass:"modal-header__name",attrs:{id:"modal-name-"+e.randId}},[e._v(" "+e._s(e.name)+" ")]):e._e(),n("div",{staticClass:"icons-menu"},[e.hasNext&&e.enableSlideshow?n("button",{directives:[{name:"tooltip",rawName:"v-tooltip.auto",value:e.playPauseName,expression:"playPauseName",modifiers:{auto:!0}}],staticClass:"play-pause-icons",class:{"play-pause-icons--paused":e.slideshowPaused},attrs:{type:"button"},on:{click:e.togglePlayPause}},[e.playing?n("Pause",{staticClass:"play-pause-icons__pause",attrs:{size:e.iconSize}}):n("Play",{staticClass:"play-pause-icons__play",attrs:{size:e.iconSize}}),n("span",{staticClass:"hidden-visually"},[e._v(" "+e._s(e.playPauseName)+" ")]),e.playing?n("svg",{staticClass:"progress-ring",attrs:{height:"50",width:"50"}},[n("circle",{staticClass:"progress-ring__circle",attrs:{stroke:"white","stroke-width":"2",fill:"transparent",r:"15",cx:"25",cy:"25"}})]):e._e()],1):e._e(),n("NcActions",{staticClass:"header-actions",attrs:{inline:e.inlineActions}},[e._t("actions")],2),e.canClose&&!e.closeButtonContained?n("NcButton",{staticClass:"header-close",attrs:{"aria-label":e.closeButtonAriaLabel,type:"tertiary"},on:{click:e.close},scopedSlots:e._u([{key:"icon",fn:function(){return[n("Close",{attrs:{size:e.iconSize}})]},proxy:!0}],null,!1,1841713362)}):e._e()],1)])]),n("transition",{attrs:{name:e.modalTransitionName,appear:""}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.showModal,expression:"showModal"}],staticClass:"modal-wrapper",class:["modal-wrapper--".concat(e.size),{"modal-wrapper--spread-navigation":e.spreadNavigation}],on:{mousedown:function(s){return s.target!==s.currentTarget?null:e.handleClickModalWrapper.apply(null,arguments)}}},[n("transition",{attrs:{name:"fade-visibility",appear:""}},[n("NcButton",{directives:[{name:"show",rawName:"v-show",value:e.hasPrevious,expression:"hasPrevious"}],staticClass:"prev",attrs:{type:"tertiary-no-background","aria-label":e.prevButtonAriaLabel},on:{click:e.previous},scopedSlots:e._u([{key:"icon",fn:function(){return[n("ChevronLeft",{attrs:{size:40}})]},proxy:!0}])})],1),n("div",{staticClass:"modal-container",attrs:{id:"modal-description-"+e.randId}},[e.canClose&&e.closeButtonContained?n("NcButton",{staticClass:"modal-container__close",attrs:{type:"tertiary","aria-label":e.closeButtonAriaLabel},on:{click:e.close},scopedSlots:e._u([{key:"icon",fn:function(){return[n("Close",{attrs:{size:20}})]},proxy:!0}],null,!1,2121748766)}):e._e(),n("div",{staticClass:"modal-container__content"},[e._t("default")],2)],1),n("transition",{attrs:{name:"fade-visibility",appear:""}},[n("NcButton",{directives:[{name:"show",rawName:"v-show",value:e.hasNext,expression:"hasNext"}],staticClass:"next",attrs:{type:"tertiary-no-background","aria-label":e.nextButtonAriaLabel},on:{click:e.next},scopedSlots:e._u([{key:"icon",fn:function(){return[n("ChevronRight",{attrs:{size:40}})]},proxy:!0}])})],1)],1)])],1)])},sv=[],av=se(tv,nv,sv,!1,null,"30f7224b",null,null);const rv=av.exports;zg(rv);function ov(e,n,s){const a=document.querySelector(`#initial-state-${e}-${n}`);if(a===null){if(s!==void 0)return s;throw new Error(`Could not find initial state ${n} of ${e}`)}try{return JSON.parse(atob(a.value))}catch{throw new Error(`Could not parse initial state ${n} of ${e}`)}}const iv={name:"NcLoadingIcon",props:{size:{type:Number,default:20},appearance:{type:String,validator(e){return["auto","light","dark"].includes(e)},default:"auto"},name:{type:String,default:""}},computed:{colors(){const e=["#777","#CCC"];return this.appearance==="light"?e:this.appearance==="dark"?e.reverse():["var(--color-loading-light)","var(--color-loading-dark)"]}}};var lv=function(){var e=this,n=e._self._c;return n("span",{staticClass:"material-design-icon loading-icon",attrs:{"aria-label":e.name,role:"img"}},[n("svg",{attrs:{width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{fill:e.colors[0],d:"M12,4V2A10,10 0 1,0 22,12H20A8,8 0 1,1 12,4Z"}}),n("path",{attrs:{fill:e.colors[1],d:"M12,4V2A10,10 0 0,1 22,12H20A8,8 0 0,0 12,4Z"}},[e.name?n("title",[e._v(e._s(e.name))]):e._e()])])])},uv=[],dv=se(iv,lv,uv,!1,null,"551209a3",null,null);const cv=dv.exports;Zs();const mv={name:"CheckboxBlankOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var pv=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon checkbox-blank-outline-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},gv=[],fv=se(mv,pv,gv,!1,null,null,null,null);const hv=fv.exports,vv={name:"MinusBoxIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var yv=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon minus-box-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M17,13H7V11H17M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},xv=[],wv=se(vv,yv,xv,!1,null,null,null,null);const Cv=wv.exports,_v={name:"CheckboxMarkedIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Tv=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon checkbox-marked-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},bv=[],Fv=se(_v,Tv,bv,!1,null,null,null,null);const Ev=Fv.exports,Sv={name:"RadioboxMarkedIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Av=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon radiobox-marked-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},kv=[],Nv=se(Sv,Av,kv,!1,null,null,null,null);const Lv=Nv.exports,Pv={name:"RadioboxBlankIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Bv=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon radiobox-blank-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},Dv=[],$v=se(Pv,Bv,Dv,!1,null,null,null,null);const Uv=$v.exports,Mv={name:"ToggleSwitchOffIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Ov=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon toggle-switch-off-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M17,7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7M7,15A3,3 0 0,1 4,12A3,3 0 0,1 7,9A3,3 0 0,1 10,12A3,3 0 0,1 7,15Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},zv=[],Rv=se(Mv,Ov,zv,!1,null,null,null,null);const jv=Rv.exports,Iv={name:"ToggleSwitchIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Hv=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon toggle-switch-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M17,7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7M17,15A3,3 0 0,1 14,12A3,3 0 0,1 17,9A3,3 0 0,1 20,12A3,3 0 0,1 17,15Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},Vv=[],Gv=se(Iv,Hv,Vv,!1,null,null,null,null);const Kv=Gv.exports,Kt="checkbox",Yt="radio",ot="switch",Pn="button",Wv={name:"NcCheckboxContent",components:{NcLoadingIcon:cv},props:{id:{type:String,default:null},iconClass:{type:[String,Object],default:null},textClass:{type:[String,Object],default:null},type:{type:String,default:"checkbox",validator:e=>[Kt,Yt,ot,Pn].includes(e)},buttonVariant:{type:Boolean,default:!1},isChecked:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},size:{type:Number,default:24}},computed:{isButtonType(){return this.type===Pn},checkboxRadioIconElement(){return this.type===Yt?this.isChecked?Lv:Uv:this.type===ot?this.isChecked?Kv:jv:this.indeterminate?Cv:this.isChecked?Ev:hv}}};var Jv=function(){var e=this,n=e._self._c;return n("span",{staticClass:"checkbox-content",class:{["checkbox-content-"+e.type]:!0,"checkbox-content--button-variant":e.buttonVariant,"checkbox-content--has-text":!!e.$slots.default},attrs:{id:e.isButtonType?void 0:"".concat(e.id,"-label")}},[n("span",{class:{"checkbox-content__icon":!0,"checkbox-content__icon--checked":e.isChecked,[e.iconClass]:!0},attrs:{"aria-hidden":!0,inert:""}},[e._t("icon",function(){return[e.loading?n("NcLoadingIcon"):e.buttonVariant?e._e():n(e.checkboxRadioIconElement,{tag:"component",attrs:{size:e.size}})]},{checked:e.isChecked,loading:e.loading})],2),e.$slots.default?n("span",{class:["checkbox-content__text",e.textClass]},[e._t("default")],2):e._e()])},qv=[],Yv=se(Wv,Jv,qv,!1,null,"02d27370",null,null);const Zv=Yv.exports,Xv={name:"NcCheckboxRadioSwitch",components:{NcCheckboxContent:Zv},inheritAttrs:!1,props:{id:{type:String,default:()=>"checkbox-radio-switch-"+zr(),validator:e=>e.trim()!==""},wrapperId:{type:String,default:null},name:{type:String,default:null},ariaLabel:{type:String,default:""},type:{type:String,default:"checkbox",validator:e=>[Kt,Yt,ot,Pn].includes(e)},buttonVariant:{type:Boolean,default:!1},buttonVariantGrouped:{type:String,default:"no",validator:e=>["no","vertical","horizontal"].includes(e)},checked:{type:[Boolean,Array,String],default:!1},value:{type:String,default:null},disabled:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},required:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},wrapperElement:{type:String,default:null}},emits:["update:checked"],computed:{dataAttrs(){return Object.fromEntries(Object.entries(this.$attrs).filter(([e])=>e.startsWith("data-")))},nonDataAttrs(){return Object.fromEntries(Object.entries(this.$attrs).filter(([e])=>!e.startsWith("data-")))},isButtonType(){return this.type===Pn},computedWrapperElement(){return this.isButtonType?"button":this.wrapperElement!==null?this.wrapperElement:"span"},listeners(){return this.isButtonType?{click:this.onToggle}:{change:this.onToggle}},size(){return this.type===ot?36:24},cssVars(){return{"--icon-size":this.size+"px","--icon-height":(this.type===ot?16:this.size)+"px"}},inputType(){return[Kt,Yt,Pn].includes(this.type)?this.type:Kt},isChecked(){return this.value!==null?Array.isArray(this.checked)?[...this.checked].indexOf(this.value)>-1:this.checked===this.value:this.checked===!0},hasIndeterminate(){return[Kt,Yt].includes(this.inputType)}},mounted(){if(this.name&&this.type===Kt&&!Array.isArray(this.checked))throw new Error("When using groups of checkboxes, the updated value will be an array.");if(this.name&&this.type===ot)throw new Error("Switches are not made to be used for data sets. Please use checkboxes instead.");if(typeof this.checked!="boolean"&&this.type===ot)throw new Error("Switches can only be used with boolean as checked prop.")},methods:{t:Ge,n:yf,onToggle(){if(this.disabled)return;if(this.type===Yt){this.$emit("update:checked",this.value);return}if(this.type===ot){this.$emit("update:checked",!this.isChecked);return}if(typeof this.checked=="boolean"){this.$emit("update:checked",!this.checked);return}const e=this.getInputsSet().filter(n=>n.checked).map(n=>n.value);e.includes(this.value)?this.$emit("update:checked",e.filter(n=>n!==this.value)):this.$emit("update:checked",[...e,this.value])},getInputsSet(){return[...document.getElementsByName(this.name)]}}};var Qv=function(){var e=this,n=e._self._c;return n(e.computedWrapperElement,e._g(e._b({tag:"component",staticClass:"checkbox-radio-switch",class:{["checkbox-radio-switch-"+e.type]:e.type,"checkbox-radio-switch--checked":e.isChecked,"checkbox-radio-switch--disabled":e.disabled,"checkbox-radio-switch--indeterminate":e.hasIndeterminate?e.indeterminate:!1,"checkbox-radio-switch--button-variant":e.buttonVariant,"checkbox-radio-switch--button-variant-v-grouped":e.buttonVariant&&e.buttonVariantGrouped==="vertical","checkbox-radio-switch--button-variant-h-grouped":e.buttonVariant&&e.buttonVariantGrouped==="horizontal","button-vue":e.isButtonType},style:e.cssVars,attrs:{id:e.wrapperId,"aria-label":e.isButtonType&&e.ariaLabel?e.ariaLabel:void 0,type:e.isButtonType?"button":null}},"component",e.isButtonType?e.$attrs:e.dataAttrs,!1),e.isButtonType?e.listeners:null),[e.isButtonType?e._e():n("input",e._g(e._b({staticClass:"checkbox-radio-switch__input",attrs:{id:e.id,"aria-labelledby":!e.isButtonType&&!e.ariaLabel?"".concat(e.id,"-label"):null,"aria-label":e.ariaLabel||void 0,disabled:e.disabled,type:e.inputType,required:e.required,name:e.name},domProps:{value:e.value,checked:e.isChecked,indeterminate:e.hasIndeterminate?e.indeterminate:null}},"input",e.nonDataAttrs,!1),e.listeners)),n("NcCheckboxContent",{staticClass:"checkbox-radio-switch__content",attrs:{id:e.id,"icon-class":"checkbox-radio-switch__icon","text-class":"checkbox-radio-switch__text",type:e.type,indeterminate:e.hasIndeterminate?e.indeterminate:!1,"button-variant":e.buttonVariant,"is-checked":e.isChecked,loading:e.loading,size:e.size},nativeOn:{click:function(s){return e.onToggle.apply(null,arguments)}},scopedSlots:e._u([{key:"icon",fn:function(){return[e._t("icon")]},proxy:!0}],null,!0)},[e._t("default")],2)],1)},e1=[],t1=se(Xv,Qv,e1,!1,null,"919d07b7",null,null);const n1=t1.exports;Zs(Cf);const s1={name:"HelpCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var a1=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon help-circle-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M15.07,11.25L14.17,12.17C13.45,12.89 13,13.5 13,15H11V14.5C11,13.39 11.45,12.39 12.17,11.67L13.41,10.41C13.78,10.05 14,9.55 14,9C14,7.89 13.1,7 12,7A2,2 0 0,0 10,9H8A4,4 0 0,1 12,5A4,4 0 0,1 16,9C16,9.88 15.64,10.67 15.07,11.25M13,19H11V17H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12C22,6.47 17.5,2 12,2Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},r1=[],o1=se(s1,a1,r1,!1,null,null,null,null);const i1=o1.exports,l1={name:"NcSettingsSection",components:{HelpCircle:i1},props:{name:{type:String,required:!0},description:{type:String,default:""},docUrl:{type:String,default:""},limitWidth:{type:Boolean,default:!0}},data(){return{docNameTranslated:Ge("External documentation for {name}",{name:this.name})}},computed:{forceLimitWidth(){var e,n;if(this.limitWidth)return!0;const[s]=(n=(e=window._oc_config)==null?void 0:e.version.split(".",2))!=null?n:[];return s&&Number.parseInt(s)>=30},hasDescription(){return this.description.length>0},hasDocUrl(){return this.docUrl.length>0}}};var u1=function(){var e=this,n=e._self._c;return n("div",{staticClass:"settings-section",class:{"settings-section--limit-width":e.forceLimitWidth}},[n("h2",{staticClass:"settings-section__name"},[e._v(" "+e._s(e.name)+" "),e.hasDocUrl?n("a",{staticClass:"settings-section__info",attrs:{href:e.docUrl,title:e.docNameTranslated,"aria-label":e.docNameTranslated,target:"_blank",rel:"noreferrer nofollow"}},[n("HelpCircle",{attrs:{size:20}})],1):e._e()]),e.hasDescription?n("p",{staticClass:"settings-section__desc"},[e._v(" "+e._s(e.description)+" ")]):e._e(),e._t("default")],2)},d1=[],c1=se(l1,u1,d1,!1,null,"251fe753",null,null);const m1=c1.exports;function p1(e,n,s,a,r,o,i,l){var u=typeof e=="function"?e.options:e;n&&(u.render=n,u.staticRenderFns=s,u._compiled=!0),a&&(u.functional=!0),o&&(u._scopeId="data-v-"+o);var d;if(i?(d=function(h){h=h||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!h&&typeof __VUE_SSR_CONTEXT__<"u"&&(h=__VUE_SSR_CONTEXT__),r&&r.call(this,h),h&&h._registeredComponents&&h._registeredComponents.add(i)},u._ssrRegister=d):r&&(d=l?function(){r.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:r),d)if(u.functional){u._injectStyles=d;var c=u.render;u.render=function(h,x){return d.call(x),c(h,x)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,d):[d]}return{exports:e,options:u}}const g1={name:"AdminSettings",components:{NcCheckboxRadioSwitch:n1,NcSettingsSection:m1},data(){return{config:ov("password_policy","config")}},methods:{async updateBoolSetting(e){await this.setValue(e,this.config[e]?"1":"0")},async updateNumberSetting(e){if(!/^\d+$/.test(this.config[e])){let n=t("password_policy","Unknown error");switch(e){case"minLength":n=t("password_policy","Minimal length has to be a non negative number");break;case"historySize":n=t("password_policy","History size has to be a non negative number");break;case"expiration":n=t("password_policy","Expiration days have to be a non negative number");break;case"maximumLoginAttempts":n=t("password_policy","Maximum login attempts have to be a non negative number");break}_i(n);return}await this.setValue(e,this.config[e])},async setValue(e,n){OCP.AppConfig.setValue("password_policy",e,n,{success:()=>Lg(t("password_policy","Settings saved")),error:()=>_i(t("password_policy","Error while saving settings"))})}}};var f1=function(){var e=this,n=e._self._c;return n("NcSettingsSection",{attrs:{name:e.t("password_policy","Password policy")}},[n("ul",{staticClass:"password-policy__settings-list"},[n("li",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.config.minLength,expression:"config.minLength"}],attrs:{id:"password-policy__settings__min-length",min:"0",type:"number"},domProps:{value:e.config.minLength},on:{change:function(s){return e.updateNumberSetting("minLength")},input:function(s){s.target.composing||e.$set(e.config,"minLength",s.target.value)}}}),n("label",{attrs:{for:"password-policy__settings__min-length"}},[e._v(" "+e._s(e.t("password_policy","Minimum password length"))+" ")])]),n("li",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.config.historySize,expression:"config.historySize"}],attrs:{id:"password-policy-history-size",min:"0",type:"number"},domProps:{value:e.config.historySize},on:{change:function(s){return e.updateNumberSetting("historySize")},input:function(s){s.target.composing||e.$set(e.config,"historySize",s.target.value)}}}),n("label",{attrs:{for:"password-policy-history-size"}},[e._v(" "+e._s(e.t("password_policy","User password history"))+" ")])]),n("li",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.config.expiration,expression:"config.expiration"}],attrs:{id:"password-policy-expiration",min:"0",type:"number"},domProps:{value:e.config.expiration},on:{change:function(s){return e.updateNumberSetting("expiration")},input:function(s){s.target.composing||e.$set(e.config,"expiration",s.target.value)}}}),n("label",{attrs:{for:"password-policy-expiration"}},[e._v(" "+e._s(e.t("password_policy","Number of days until user password expires"))+" ")])]),n("li",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.config.maximumLoginAttempts,expression:"config.maximumLoginAttempts"}],attrs:{id:"password-policy_failed-login",min:"0",type:"number"},domProps:{value:e.config.maximumLoginAttempts},on:{change:function(s){return e.updateNumberSetting("maximumLoginAttempts")},input:function(s){s.target.composing||e.$set(e.config,"maximumLoginAttempts",s.target.value)}}}),n("label",{attrs:{for:"password-policy_failed-login"}},[e._v(" "+e._s(e.t("password_policy","Number of login attempts before the user account will be disabled until manual action is taken. (0 for no limit)"))+" ")]),n("p",{staticClass:"havibeenpwned-hint"},[e._v(" "+e._s(e.t("password_policy","Please note, this option is meant to protect attacked accounts. Disabled accounts have to be re-enabled manually by administration. Attackers that try to guess passwords of accounts will have their IP address blocked by the bruteforce protection independent from this setting."))+" ")])])]),n("ul",{staticClass:"password-policy__settings-list"},[n("li",[n("NcCheckboxRadioSwitch",{attrs:{checked:e.config.enforceNonCommonPassword,type:"switch"},on:{"update:checked":[function(s){return e.$set(e.config,"enforceNonCommonPassword",s)},function(s){return e.updateBoolSetting("enforceNonCommonPassword")}]}},[e._v(" "+e._s(e.t("password_policy","Forbid common passwords"))+" ")])],1),n("li",[n("NcCheckboxRadioSwitch",{attrs:{checked:e.config.enforceUpperLowerCase,type:"switch"},on:{"update:checked":[function(s){return e.$set(e.config,"enforceUpperLowerCase",s)},function(s){return e.updateBoolSetting("enforceUpperLowerCase")}]}},[e._v(" "+e._s(e.t("password_policy","Enforce upper and lower case characters"))+" ")])],1),n("li",[n("NcCheckboxRadioSwitch",{attrs:{checked:e.config.enforceNumericCharacters,type:"switch"},on:{"update:checked":[function(s){return e.$set(e.config,"enforceNumericCharacters",s)},function(s){return e.updateBoolSetting("enforceNumericCharacters")}]}},[e._v(" "+e._s(e.t("password_policy","Enforce numeric characters"))+" ")])],1),n("li",[n("NcCheckboxRadioSwitch",{attrs:{checked:e.config.enforceSpecialCharacters,type:"switch"},on:{"update:checked":[function(s){return e.$set(e.config,"enforceSpecialCharacters",s)},function(s){return e.updateBoolSetting("enforceSpecialCharacters")}]}},[e._v(" "+e._s(e.t("password_policy","Enforce special characters"))+" ")])],1),n("li",[n("NcCheckboxRadioSwitch",{attrs:{checked:e.config.enforceHaveIBeenPwned,type:"switch"},on:{"update:checked":[function(s){return e.$set(e.config,"enforceHaveIBeenPwned",s)},function(s){return e.updateBoolSetting("enforceHaveIBeenPwned")}]}},[e._v(" "+e._s(e.t("password_policy","Check password against the list of breached passwords from haveibeenpwned.com"))+" ")]),n("p",{staticClass:"havibeenpwned-hint"},[e._v(" "+e._s(e.t("password_policy","This check creates a hash of the password and sends the first 5 characters of this hash to the haveibeenpwned.com API to retrieve a list of all hashes that start with those. Then it checks on the Nextcloud instance if the password hash is in the result set."))+" ")])],1)])])},h1=[],v1=p1(g1,f1,h1,!1,null,"08043576",null,null);const y1=v1.exports;Y.prototype.t=jd,new Y({el:"#password_policy-settings",name:"AdminSettings",render:e=>e(y1)}); +`]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:223"},msgstr:[""]}}}}}].map(e=>fu.addTranslation(e.locale,e.json));const rs=fu.build();rs.ngettext.bind(rs),rs.gettext.bind(rs);const hg="off",vg="polite",yg="assertive";var Xa=(e=>(e[e.OFF=hg]="OFF",e[e.POLITE=vg]="POLITE",e[e.ASSERTIVE=yg]="ASSERTIVE",e))(Xa||{});const xg=7e3;function hu(e,n){var s;if(n=Object.assign({timeout:xg,isHTML:!1,type:void 0,selector:void 0,onRemove:()=>{},onClick:void 0,close:!0},n),typeof e=="string"&&!n.isHTML){const l=document.createElement("div");l.innerHTML=e,e=l.innerText}let a=(s=n.type)!=null?s:"";typeof n.onClick=="function"&&(a+=" toast-with-click ");const r=e instanceof Node;let o=Xa.POLITE;n.ariaLive?o=n.ariaLive:(n.type==="toast-error"||n.type==="toast-undo")&&(o=Xa.ASSERTIVE);const i=u0({[r?"node":"text"]:e,duration:n.timeout,callback:n.onRemove,onClick:n.onClick,close:n.close,gravity:"top",selector:n.selector,position:"right",backgroundColor:"",className:"dialogs "+a,escapeMarkup:!n.isHTML,ariaLive:o});return i.showToast(),i}function yi(e,n){return hu(e,{...n,type:"toast-error"})}function wg(e,n){return hu(e,{...n,type:"toast-success"})}Y.util.warn;function Cg(e){return yl()?(ic(e),!0):!1}function vu(e){return typeof e=="function"?e():tc(e)}const _g=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Tg=Object.prototype.toString,bg=e=>Tg.call(e)==="[object Object]",Qa=()=>{};Y.util.warn;function Eg(e){var n;const s=vu(e);return(n=s?.$el)!=null?n:s}const yu=_g?window:void 0;function _a(...e){let n,s,a,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([s,a,r]=e,n=yu):[n,s,a,r]=e,!n)return Qa;Array.isArray(s)||(s=[s]),Array.isArray(a)||(a=[a]);const o=[],i=()=>{o.forEach(c=>c()),o.length=0},l=(c,f,h,y)=>(c.addEventListener(f,h,y),()=>c.removeEventListener(f,h,y)),u=sc(()=>[Eg(n),vu(r)],([c,f])=>{if(i(),!c)return;const h=bg(f)?{...f}:f;o.push(...s.flatMap(y=>a.map(_=>l(c,y,_,h))))},{immediate:!0,flush:"post"}),d=()=>{u(),i()};return Cg(d),d}function Fg(e,n={}){const{threshold:s=50,onSwipe:a,onSwipeEnd:r,onSwipeStart:o,passive:i=!0,window:l=yu}=n,u=wo({x:0,y:0}),d=wo({x:0,y:0}),c=_n(()=>u.x-d.x),f=_n(()=>u.y-d.y),{max:h,abs:y}=Math,_=_n(()=>h(y(c.value),y(f.value))>=s),L=Qd(!1),b=_n(()=>_.value?y(c.value)>y(f.value)?c.value>0?"left":"right":f.value>0?"up":"down":"none"),D=U=>[U.touches[0].clientX,U.touches[0].clientY],S=(U,V)=>{u.x=U,u.y=V},R=(U,V)=>{d.x=U,d.y=V};let B;const G=Sg(l?.document);i?B=G?{passive:!0}:{capture:!1}:B=G?{passive:!1,capture:!0}:{capture:!0};const X=U=>{L.value&&r?.(U,b.value),L.value=!1},J=[_a(e,"touchstart",U=>{if(U.touches.length!==1)return;B.capture&&!B.passive&&U.preventDefault();const[V,C]=D(U);S(V,C),R(V,C),o?.(U)},B),_a(e,"touchmove",U=>{if(U.touches.length!==1)return;const[V,C]=D(U);R(V,C),!L.value&&_.value&&(L.value=!0),L.value&&a?.(U)},B),_a(e,["touchend","touchcancel"],X,B)];return{isPassiveEventSupported:G,isSwiping:L,direction:b,coordsStart:u,coordsEnd:d,lengthX:c,lengthY:f,stop:()=>J.forEach(U=>U())}}function Sg(e){if(!e)return!1;let n=!1;const s={get passive(){return n=!0,!1}};return e.addEventListener("x",Qa,s),e.removeEventListener("x",Qa),n}const Ag=e=>{e.mounted?Array.isArray(e.mounted)||(e.mounted=[e.mounted]):e.mounted=[],e.mounted.push(function(){this.$el.setAttribute("data-v-".concat("24eabcf"),"")})};var xu=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Ps=xu.join(","),wu=typeof Element>"u",Bt=wu?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ds=!wu&&Element.prototype.getRootNode?function(e){var n;return e==null||(n=e.getRootNode)===null||n===void 0?void 0:n.call(e)}:function(e){return e?.ownerDocument},Bs=function e(n,s){var a;s===void 0&&(s=!0);var r=n==null||(a=n.getAttribute)===null||a===void 0?void 0:a.call(n,"inert"),o=r===""||r==="true",i=o||s&&n&&e(n.parentNode);return i},kg=function(e){var n,s=e==null||(n=e.getAttribute)===null||n===void 0?void 0:n.call(e,"contenteditable");return s===""||s==="true"},Cu=function(e,n,s){if(Bs(e))return[];var a=Array.prototype.slice.apply(e.querySelectorAll(Ps));return n&&Bt.call(e,Ps)&&a.unshift(e),a=a.filter(s),a},_u=function e(n,s,a){for(var r=[],o=Array.from(n);o.length;){var i=o.shift();if(!Bs(i,!1))if(i.tagName==="SLOT"){var l=i.assignedElements(),u=l.length?l:i.children,d=e(u,!0,a);a.flatten?r.push.apply(r,d):r.push({scopeParent:i,candidates:d})}else{var c=Bt.call(i,Ps);c&&a.filter(i)&&(s||!n.includes(i))&&r.push(i);var f=i.shadowRoot||typeof a.getShadowRoot=="function"&&a.getShadowRoot(i),h=!Bs(f,!1)&&(!a.shadowRootFilter||a.shadowRootFilter(i));if(f&&h){var y=e(f===!0?i.children:f.children,!0,a);a.flatten?r.push.apply(r,y):r.push({scopeParent:i,candidates:y})}else o.unshift.apply(o,i.children)}}return r},Tu=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},Ft=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||kg(e))&&!Tu(e)?0:e.tabIndex},Ng=function(e,n){var s=Ft(e);return s<0&&n&&!Tu(e)?0:s},Lg=function(e,n){return e.tabIndex===n.tabIndex?e.documentOrder-n.documentOrder:e.tabIndex-n.tabIndex},bu=function(e){return e.tagName==="INPUT"},Pg=function(e){return bu(e)&&e.type==="hidden"},Dg=function(e){var n=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(s){return s.tagName==="SUMMARY"});return n},Bg=function(e,n){for(var s=0;ssummary:first-of-type"),o=r?e.parentElement:e;if(Bt.call(o,"details:not([open]) *"))return!0;if(!s||s==="full"||s==="legacy-full"){if(typeof a=="function"){for(var i=e;e;){var l=e.parentElement,u=Ds(e);if(l&&!l.shadowRoot&&a(l)===!0)return xi(e);e.assignedSlot?e=e.assignedSlot:!l&&u!==e.ownerDocument?e=u.host:e=l}e=i}if(zg(e))return!e.getClientRects().length;if(s!=="legacy-full")return!0}else if(s==="non-zero-area")return xi(e);return!1},Rg=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var n=e.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var s=0;s=0)},Ig=function e(n){var s=[],a=[];return n.forEach(function(r,o){var i=!!r.scopeParent,l=i?r.scopeParent:r,u=Ng(l,i),d=i?e(r.candidates):l;u===0?i?s.push.apply(s,d):s.push(l):a.push({documentOrder:o,tabIndex:u,item:r,isScope:i,content:d})}),a.sort(Lg).reduce(function(r,o){return o.isScope?r.push.apply(r,o.content):r.push(o.content),r},[]).concat(s)},Hg=function(e,n){n=n||{};var s;return n.getShadowRoot?s=_u([e],n.includeContainer,{filter:er.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:jg}):s=Cu(e,n.includeContainer,er.bind(null,n)),Ig(s)},Vg=function(e,n){n=n||{};var s;return n.getShadowRoot?s=_u([e],n.includeContainer,{filter:$s.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):s=Cu(e,n.includeContainer,$s.bind(null,n)),s},It=function(e,n){if(n=n||{},!e)throw new Error("No node provided");return Bt.call(e,Ps)===!1?!1:er(n,e)},Gg=xu.concat("iframe").join(","),Ta=function(e,n){if(n=n||{},!e)throw new Error("No node provided");return Bt.call(e,Gg)===!1?!1:$s(n,e)};function wi(e,n){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),s.push.apply(s,a)}return s}function Ci(e){for(var n=1;n0){var s=e[e.length-1];s!==n&&s.pause()}var a=e.indexOf(n);a===-1||e.splice(a,1),e.push(n)},deactivateTrap:function(e,n){var s=e.indexOf(n);s!==-1&&e.splice(s,1),e.length>0&&e[e.length-1].unpause()}},qg=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},Yg=function(e){return e?.key==="Escape"||e?.key==="Esc"||e?.keyCode===27},Fn=function(e){return e?.key==="Tab"||e?.keyCode===9},Zg=function(e){return Fn(e)&&!e.shiftKey},Xg=function(e){return Fn(e)&&e.shiftKey},Ti=function(e){return setTimeout(e,0)},bi=function(e,n){var s=-1;return e.every(function(a,r){return n(a)?(s=r,!1):!0}),s},wn=function(e){for(var n=arguments.length,s=new Array(n>1?n-1:0),a=1;a1?m-1:0),x=1;x=0)C=s.activeElement;else{var w=o.tabbableGroups[0],m=w&&w.firstTabbableNode;C=m||d("fallbackFocus")}if(!C)throw new Error("Your focus-trap needs to have at least one focusable element");return C},f=function(){if(o.containerGroups=o.containers.map(function(C){var w=Hg(C,r.tabbableOptions),m=Vg(C,r.tabbableOptions),g=w.length>0?w[0]:void 0,x=w.length>0?w[w.length-1]:void 0,T=m.find(function(k){return It(k)}),F=m.slice().reverse().find(function(k){return It(k)}),P=!!w.find(function(k){return Ft(k)>0});return{container:C,tabbableNodes:w,focusableNodes:m,posTabIndexesFound:P,firstTabbableNode:g,lastTabbableNode:x,firstDomTabbableNode:T,lastDomTabbableNode:F,nextTabbableNode:function(k){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,z=w.indexOf(k);return z<0?$?m.slice(m.indexOf(k)+1).find(function(A){return It(A)}):m.slice(0,m.indexOf(k)).reverse().find(function(A){return It(A)}):w[z+($?1:-1)]}}}),o.tabbableGroups=o.containerGroups.filter(function(C){return C.tabbableNodes.length>0}),o.tabbableGroups.length<=0&&!d("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(o.containerGroups.find(function(C){return C.posTabIndexesFound})&&o.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},h=function C(w){var m=w.activeElement;if(m)return m.shadowRoot&&m.shadowRoot.activeElement!==null?C(m.shadowRoot):m},y=function C(w){if(w!==!1&&w!==h(document)){if(!w||!w.focus){C(c());return}w.focus({preventScroll:!!r.preventScroll}),o.mostRecentlyFocusedNode=w,qg(w)&&w.select()}},_=function(C){var w=d("setReturnFocus",C);return w||(w===!1?!1:C)},L=function(C){var w=C.target,m=C.event,g=C.isBackward,x=g===void 0?!1:g;w=w||os(m),f();var T=null;if(o.tabbableGroups.length>0){var F=u(w,m),P=F>=0?o.containerGroups[F]:void 0;if(F<0)x?T=o.tabbableGroups[o.tabbableGroups.length-1].lastTabbableNode:T=o.tabbableGroups[0].firstTabbableNode;else if(x){var k=bi(o.tabbableGroups,function(ae){var H=ae.firstTabbableNode;return w===H});if(k<0&&(P.container===w||Ta(w,r.tabbableOptions)&&!It(w,r.tabbableOptions)&&!P.nextTabbableNode(w,!1))&&(k=F),k>=0){var $=k===0?o.tabbableGroups.length-1:k-1,z=o.tabbableGroups[$];T=Ft(w)>=0?z.lastTabbableNode:z.lastDomTabbableNode}else Fn(m)||(T=P.nextTabbableNode(w,!1))}else{var A=bi(o.tabbableGroups,function(ae){var H=ae.lastTabbableNode;return w===H});if(A<0&&(P.container===w||Ta(w,r.tabbableOptions)&&!It(w,r.tabbableOptions)&&!P.nextTabbableNode(w))&&(A=F),A>=0){var W=A===o.tabbableGroups.length-1?0:A+1,O=o.tabbableGroups[W];T=Ft(w)>=0?O.firstTabbableNode:O.firstDomTabbableNode}else Fn(m)||(T=P.nextTabbableNode(w))}}else T=d("fallbackFocus");return T},b=function(C){var w=os(C);if(!(u(w,C)>=0)){if(wn(r.clickOutsideDeactivates,C)){i.deactivate({returnFocus:r.returnFocusOnDeactivate});return}wn(r.allowOutsideClick,C)||C.preventDefault()}},D=function(C){var w=os(C),m=u(w,C)>=0;if(m||w instanceof Document)m&&(o.mostRecentlyFocusedNode=w);else{C.stopImmediatePropagation();var g,x=!0;if(o.mostRecentlyFocusedNode)if(Ft(o.mostRecentlyFocusedNode)>0){var T=u(o.mostRecentlyFocusedNode),F=o.containerGroups[T].tabbableNodes;if(F.length>0){var P=F.findIndex(function(k){return k===o.mostRecentlyFocusedNode});P>=0&&(r.isKeyForward(o.recentNavEvent)?P+1=0&&(g=F[P-1],x=!1))}}else o.containerGroups.some(function(k){return k.tabbableNodes.some(function($){return Ft($)>0})})||(x=!1);else x=!1;x&&(g=L({target:o.mostRecentlyFocusedNode,isBackward:r.isKeyBackward(o.recentNavEvent)})),y(g||o.mostRecentlyFocusedNode||c())}o.recentNavEvent=void 0},S=function(C){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;o.recentNavEvent=C;var m=L({event:C,isBackward:w});m&&(Fn(C)&&C.preventDefault(),y(m))},R=function(C){if(Yg(C)&&wn(r.escapeDeactivates,C)!==!1){C.preventDefault(),i.deactivate();return}(r.isKeyForward(C)||r.isKeyBackward(C))&&S(C,r.isKeyBackward(C))},B=function(C){var w=os(C);u(w,C)>=0||wn(r.clickOutsideDeactivates,C)||wn(r.allowOutsideClick,C)||(C.preventDefault(),C.stopImmediatePropagation())},G=function(){if(o.active)return _i.activateTrap(a,i),o.delayInitialFocusTimer=r.delayInitialFocus?Ti(function(){y(c())}):y(c()),s.addEventListener("focusin",D,!0),s.addEventListener("mousedown",b,{capture:!0,passive:!1}),s.addEventListener("touchstart",b,{capture:!0,passive:!1}),s.addEventListener("click",B,{capture:!0,passive:!1}),s.addEventListener("keydown",R,{capture:!0,passive:!1}),i},X=function(){if(o.active)return s.removeEventListener("focusin",D,!0),s.removeEventListener("mousedown",b,!0),s.removeEventListener("touchstart",b,!0),s.removeEventListener("click",B,!0),s.removeEventListener("keydown",R,!0),i},J=function(C){var w=C.some(function(m){var g=Array.from(m.removedNodes);return g.some(function(x){return x===o.mostRecentlyFocusedNode})});w&&y(c())},U=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(J):void 0,V=function(){U&&(U.disconnect(),o.active&&!o.paused&&o.containers.map(function(C){U.observe(C,{subtree:!0,childList:!0})}))};return i={get active(){return o.active},get paused(){return o.paused},activate:function(C){if(o.active)return this;var w=l(C,"onActivate"),m=l(C,"onPostActivate"),g=l(C,"checkCanFocusTrap");g||f(),o.active=!0,o.paused=!1,o.nodeFocusedBeforeActivation=s.activeElement,w?.();var x=function(){g&&f(),G(),V(),m?.()};return g?(g(o.containers.concat()).then(x,x),this):(x(),this)},deactivate:function(C){if(!o.active)return this;var w=Ci({onDeactivate:r.onDeactivate,onPostDeactivate:r.onPostDeactivate,checkCanReturnFocus:r.checkCanReturnFocus},C);clearTimeout(o.delayInitialFocusTimer),o.delayInitialFocusTimer=void 0,X(),o.active=!1,o.paused=!1,V(),_i.deactivateTrap(a,i);var m=l(w,"onDeactivate"),g=l(w,"onPostDeactivate"),x=l(w,"checkCanReturnFocus"),T=l(w,"returnFocus","returnFocusOnDeactivate");m?.();var F=function(){Ti(function(){T&&y(_(o.nodeFocusedBeforeActivation)),g?.()})};return T&&x?(x(_(o.nodeFocusedBeforeActivation)).then(F,F),this):(F(),this)},pause:function(C){if(o.paused||!o.active)return this;var w=l(C,"onPause"),m=l(C,"onPostPause");return o.paused=!0,w?.(),X(),V(),m?.(),this},unpause:function(C){if(!o.paused||!o.active)return this;var w=l(C,"onUnpause"),m=l(C,"onPostUnpause");return o.paused=!1,w?.(),f(),G(),V(),m?.(),this},updateContainerElements:function(C){var w=[].concat(C).filter(Boolean);return o.containers=w.map(function(m){return typeof m=="string"?s.querySelector(m):m}),o.active&&f(),V(),this}},i.updateContainerElements(e),i};const Us=function(){return Object.assign(window,{_nc_focus_trap:window._nc_focus_trap||[]}),window._nc_focus_trap},dt=gu().detectLocale().build(),ef=dt.ngettext.bind(dt),Ve=dt.gettext.bind(dt),Ws=(...e)=>{e.forEach(n=>{n.registered||(n.forEach(({l:s,t:a})=>{const r=Object.fromEntries(Object.entries(a).map(([o,i])=>[o,{msgid:o,msgid_plural:i.p,msgstr:i.v}]));dt.gt.catalogs[s]||(dt.gt.catalogs[s]={messages:{translations:{}}}),dt.gt.catalogs[s].messages.translations[""]={...dt.gt.catalogs[s].messages.translations[""],...r}}),n.registered=!0)})},tf=[{l:"af",t:{Actions:{v:[""]}}},{l:"ar",t:{Actions:{v:["إجراءات"]}}},{l:"ast",t:{Actions:{v:["Aiciones"]}}},{l:"az",t:{Actions:{v:[""]}}},{l:"be",t:{Actions:{v:[""]}}},{l:"bg",t:{Actions:{v:[""]}}},{l:"bn_BD",t:{Actions:{v:[""]}}},{l:"br",t:{Actions:{v:["Oberioù"]}}},{l:"bs",t:{Actions:{v:[""]}}},{l:"ca",t:{Actions:{v:["Accions"]}}},{l:"cs",t:{Actions:{v:["Akce"]}}},{l:"cs_CZ",t:{Actions:{v:["Akce"]}}},{l:"cy_GB",t:{Actions:{v:[""]}}},{l:"da",t:{Actions:{v:["Handlinger"]}}},{l:"de",t:{Actions:{v:["Aktionen"]}}},{l:"de_DE",t:{Actions:{v:["Aktionen"]}}},{l:"el",t:{Actions:{v:["Ενέργειες"]}}},{l:"en_GB",t:{Actions:{v:["Actions"]}}},{l:"eo",t:{Actions:{v:["Agoj"]}}},{l:"es",t:{Actions:{v:["Acciones"]}}},{l:"es_419",t:{Actions:{v:[""]}}},{l:"es_AR",t:{Actions:{v:[""]}}},{l:"es_CL",t:{Actions:{v:[""]}}},{l:"es_CO",t:{Actions:{v:[""]}}},{l:"es_CR",t:{Actions:{v:[""]}}},{l:"es_DO",t:{Actions:{v:[""]}}},{l:"es_EC",t:{Actions:{v:["Acciones"]}}},{l:"es_GT",t:{Actions:{v:[""]}}},{l:"es_HN",t:{Actions:{v:[""]}}},{l:"es_MX",t:{Actions:{v:[""]}}},{l:"es_NI",t:{Actions:{v:[""]}}},{l:"es_PA",t:{Actions:{v:[""]}}},{l:"es_PE",t:{Actions:{v:[""]}}},{l:"es_PR",t:{Actions:{v:[""]}}},{l:"es_PY",t:{Actions:{v:[""]}}},{l:"es_SV",t:{Actions:{v:[""]}}},{l:"es_UY",t:{Actions:{v:[""]}}},{l:"et_EE",t:{Actions:{v:[""]}}},{l:"eu",t:{Actions:{v:["Ekintzak"]}}},{l:"fa",t:{Actions:{v:[""]}}},{l:"fi",t:{Actions:{v:["Toiminnot"]}}},{l:"fo",t:{Actions:{v:[""]}}},{l:"fr",t:{Actions:{v:["Actions"]}}},{l:"ga",t:{Actions:{v:["Gníomhartha"]}}},{l:"gd",t:{Actions:{v:[""]}}},{l:"gl",t:{Actions:{v:["Accións"]}}},{l:"he",t:{Actions:{v:["פעולות"]}}},{l:"hi_IN",t:{Actions:{v:[""]}}},{l:"hr",t:{Actions:{v:[""]}}},{l:"hsb",t:{Actions:{v:[""]}}},{l:"hu",t:{Actions:{v:["Műveletek"]}}},{l:"hy",t:{Actions:{v:[""]}}},{l:"ia",t:{Actions:{v:[""]}}},{l:"id",t:{Actions:{v:["Tindakan"]}}},{l:"ig",t:{Actions:{v:[""]}}},{l:"is",t:{Actions:{v:["Aðgerðir"]}}},{l:"it",t:{Actions:{v:["Azioni"]}}},{l:"ja",t:{Actions:{v:["操作"]}}},{l:"ja_JP",t:{Actions:{v:["操作"]}}},{l:"ka",t:{Actions:{v:[""]}}},{l:"ka_GE",t:{Actions:{v:[""]}}},{l:"kab",t:{Actions:{v:[""]}}},{l:"kk",t:{Actions:{v:[""]}}},{l:"km",t:{Actions:{v:[""]}}},{l:"kn",t:{Actions:{v:[""]}}},{l:"ko",t:{Actions:{v:[""]}}},{l:"la",t:{Actions:{v:[""]}}},{l:"lb",t:{Actions:{v:[""]}}},{l:"lo",t:{Actions:{v:[""]}}},{l:"lt_LT",t:{Actions:{v:["Veiksmai"]}}},{l:"lv",t:{Actions:{v:[""]}}},{l:"mk",t:{Actions:{v:["Акции"]}}},{l:"mn",t:{Actions:{v:[""]}}},{l:"mr",t:{Actions:{v:[""]}}},{l:"ms_MY",t:{Actions:{v:[""]}}},{l:"my",t:{Actions:{v:["လုပ်ဆောင်ချက်များ"]}}},{l:"nb",t:{Actions:{v:["Handlinger"]}}},{l:"ne",t:{Actions:{v:[""]}}},{l:"nl",t:{Actions:{v:["Acties"]}}},{l:"nn_NO",t:{Actions:{v:[""]}}},{l:"oc",t:{Actions:{v:["Accions"]}}},{l:"pl",t:{Actions:{v:["Działania"]}}},{l:"ps",t:{Actions:{v:[""]}}},{l:"pt_BR",t:{Actions:{v:["Ações"]}}},{l:"pt_PT",t:{Actions:{v:["Ações"]}}},{l:"ro",t:{Actions:{v:["Acțiuni"]}}},{l:"ru",t:{Actions:{v:["Действия "]}}},{l:"sc",t:{Actions:{v:[""]}}},{l:"si",t:{Actions:{v:[""]}}},{l:"sk",t:{Actions:{v:["Akcie"]}}},{l:"sl",t:{Actions:{v:["Dejanja"]}}},{l:"sq",t:{Actions:{v:[""]}}},{l:"sr",t:{Actions:{v:["Радње"]}}},{l:"sr@latin",t:{Actions:{v:[""]}}},{l:"sv",t:{Actions:{v:["Åtgärder"]}}},{l:"sw",t:{Actions:{v:[""]}}},{l:"ta",t:{Actions:{v:[""]}}},{l:"th",t:{Actions:{v:[""]}}},{l:"tk",t:{Actions:{v:[""]}}},{l:"tr",t:{Actions:{v:["İşlemler"]}}},{l:"ug",t:{Actions:{v:[""]}}},{l:"uk",t:{Actions:{v:["Дії"]}}},{l:"ur_PK",t:{Actions:{v:[""]}}},{l:"uz",t:{Actions:{v:[""]}}},{l:"vi",t:{Actions:{v:[""]}}},{l:"zh_CN",t:{Actions:{v:["行为"]}}},{l:"zh_HK",t:{Actions:{v:["動作"]}}},{l:"zh_TW",t:{Actions:{v:["動作"]}}},{l:"zu_ZA",t:{Actions:{v:[""]}}}],nf=[{l:"af",t:{Close:{v:[""]}}},{l:"ar",t:{Close:{v:["أغلِق"]}}},{l:"ast",t:{Close:{v:["Zarrar"]}}},{l:"az",t:{Close:{v:[""]}}},{l:"be",t:{Close:{v:[""]}}},{l:"bg",t:{Close:{v:[""]}}},{l:"bn_BD",t:{Close:{v:[""]}}},{l:"br",t:{Close:{v:["Serriñ"]}}},{l:"bs",t:{Close:{v:[""]}}},{l:"ca",t:{Close:{v:["Tanca"]}}},{l:"cs",t:{Close:{v:["Zavřít"]}}},{l:"cs_CZ",t:{Close:{v:["Zavřít"]}}},{l:"cy_GB",t:{Close:{v:[""]}}},{l:"da",t:{Close:{v:["Luk"]}}},{l:"de",t:{Close:{v:["Schließen"]}}},{l:"de_DE",t:{Close:{v:["Schließen"]}}},{l:"el",t:{Close:{v:["Κλείσιμο"]}}},{l:"en_GB",t:{Close:{v:["Close"]}}},{l:"eo",t:{Close:{v:["Fermu"]}}},{l:"es",t:{Close:{v:["Cerrar"]}}},{l:"es_419",t:{Close:{v:[""]}}},{l:"es_AR",t:{Close:{v:[""]}}},{l:"es_CL",t:{Close:{v:[""]}}},{l:"es_CO",t:{Close:{v:[""]}}},{l:"es_CR",t:{Close:{v:[""]}}},{l:"es_DO",t:{Close:{v:[""]}}},{l:"es_EC",t:{Close:{v:["Cerrar"]}}},{l:"es_GT",t:{Close:{v:[""]}}},{l:"es_HN",t:{Close:{v:[""]}}},{l:"es_MX",t:{Close:{v:[""]}}},{l:"es_NI",t:{Close:{v:[""]}}},{l:"es_PA",t:{Close:{v:[""]}}},{l:"es_PE",t:{Close:{v:[""]}}},{l:"es_PR",t:{Close:{v:[""]}}},{l:"es_PY",t:{Close:{v:[""]}}},{l:"es_SV",t:{Close:{v:[""]}}},{l:"es_UY",t:{Close:{v:[""]}}},{l:"et_EE",t:{Close:{v:[""]}}},{l:"eu",t:{Close:{v:["Itxi"]}}},{l:"fa",t:{Close:{v:[""]}}},{l:"fi",t:{Close:{v:["Sulje"]}}},{l:"fo",t:{Close:{v:[""]}}},{l:"fr",t:{Close:{v:["Fermer"]}}},{l:"ga",t:{Close:{v:["Dún"]}}},{l:"gd",t:{Close:{v:[""]}}},{l:"gl",t:{Close:{v:["Pechar"]}}},{l:"he",t:{Close:{v:["סגירה"]}}},{l:"hi_IN",t:{Close:{v:[""]}}},{l:"hr",t:{Close:{v:[""]}}},{l:"hsb",t:{Close:{v:[""]}}},{l:"hu",t:{Close:{v:["Bezárás"]}}},{l:"hy",t:{Close:{v:[""]}}},{l:"ia",t:{Close:{v:[""]}}},{l:"id",t:{Close:{v:["Tutup"]}}},{l:"ig",t:{Close:{v:[""]}}},{l:"is",t:{Close:{v:["Loka"]}}},{l:"it",t:{Close:{v:["Chiudi"]}}},{l:"ja",t:{Close:{v:["閉じる"]}}},{l:"ja_JP",t:{Close:{v:["閉じる"]}}},{l:"ka",t:{Close:{v:[""]}}},{l:"ka_GE",t:{Close:{v:[""]}}},{l:"kab",t:{Close:{v:[""]}}},{l:"kk",t:{Close:{v:[""]}}},{l:"km",t:{Close:{v:[""]}}},{l:"kn",t:{Close:{v:[""]}}},{l:"ko",t:{Close:{v:[""]}}},{l:"la",t:{Close:{v:[""]}}},{l:"lb",t:{Close:{v:[""]}}},{l:"lo",t:{Close:{v:[""]}}},{l:"lt_LT",t:{Close:{v:["Užverti"]}}},{l:"lv",t:{Close:{v:["Aizvērt"]}}},{l:"mk",t:{Close:{v:["Затвори"]}}},{l:"mn",t:{Close:{v:[""]}}},{l:"mr",t:{Close:{v:[""]}}},{l:"ms_MY",t:{Close:{v:[""]}}},{l:"my",t:{Close:{v:["ပိတ်ရန်"]}}},{l:"nb",t:{Close:{v:["Lukk"]}}},{l:"ne",t:{Close:{v:[""]}}},{l:"nl",t:{Close:{v:["Sluiten"]}}},{l:"nn_NO",t:{Close:{v:[""]}}},{l:"oc",t:{Close:{v:["Tampar"]}}},{l:"pl",t:{Close:{v:["Zamknij"]}}},{l:"ps",t:{Close:{v:[""]}}},{l:"pt_BR",t:{Close:{v:["Fechar"]}}},{l:"pt_PT",t:{Close:{v:["Fechar"]}}},{l:"ro",t:{Close:{v:["Închideți"]}}},{l:"ru",t:{Close:{v:["Закрыть"]}}},{l:"sc",t:{Close:{v:[""]}}},{l:"si",t:{Close:{v:[""]}}},{l:"sk",t:{Close:{v:["Zatvoriť"]}}},{l:"sl",t:{Close:{v:["Zapri"]}}},{l:"sq",t:{Close:{v:[""]}}},{l:"sr",t:{Close:{v:["Затвори"]}}},{l:"sr@latin",t:{Close:{v:[""]}}},{l:"sv",t:{Close:{v:["Stäng"]}}},{l:"sw",t:{Close:{v:[""]}}},{l:"ta",t:{Close:{v:[""]}}},{l:"th",t:{Close:{v:[""]}}},{l:"tk",t:{Close:{v:[""]}}},{l:"tr",t:{Close:{v:["Kapat"]}}},{l:"ug",t:{Close:{v:[""]}}},{l:"uk",t:{Close:{v:["Закрити"]}}},{l:"ur_PK",t:{Close:{v:[""]}}},{l:"uz",t:{Close:{v:[""]}}},{l:"vi",t:{Close:{v:[""]}}},{l:"zh_CN",t:{Close:{v:["关闭"]}}},{l:"zh_HK",t:{Close:{v:["關閉"]}}},{l:"zh_TW",t:{Close:{v:["關閉"]}}},{l:"zu_ZA",t:{Close:{v:[""]}}}],sf=[{l:"af",t:{"External documentation for {name}":{v:[""]}}},{l:"ar",t:{"External documentation for {name}":{v:["التوثيق الخارجي لـ {name}"]}}},{l:"ast",t:{"External documentation for {name}":{v:["Documentación esterna pa: {name}"]}}},{l:"az",t:{"External documentation for {name}":{v:[""]}}},{l:"be",t:{"External documentation for {name}":{v:[""]}}},{l:"bg",t:{"External documentation for {name}":{v:[""]}}},{l:"bn_BD",t:{"External documentation for {name}":{v:[""]}}},{l:"br",t:{"External documentation for {name}":{v:[""]}}},{l:"bs",t:{"External documentation for {name}":{v:[""]}}},{l:"ca",t:{"External documentation for {name}":{v:[""]}}},{l:"cs",t:{"External documentation for {name}":{v:["Externí dokumentace pro {name}"]}}},{l:"cs_CZ",t:{"External documentation for {name}":{v:["Externí dokumentace pro {name}"]}}},{l:"cy_GB",t:{"External documentation for {name}":{v:[""]}}},{l:"da",t:{"External documentation for {name}":{v:["Ekstern dokumentation for {name}"]}}},{l:"de",t:{"External documentation for {name}":{v:["Externe Dokumentation für {name}"]}}},{l:"de_DE",t:{"External documentation for {name}":{v:["Externe Dokumentation für {name}"]}}},{l:"el",t:{"External documentation for {name}":{v:[""]}}},{l:"en_GB",t:{"External documentation for {name}":{v:["External documentation for {name}"]}}},{l:"eo",t:{"External documentation for {name}":{v:[""]}}},{l:"es",t:{"External documentation for {name}":{v:["Documentación externa para {name}"]}}},{l:"es_419",t:{"External documentation for {name}":{v:[""]}}},{l:"es_AR",t:{"External documentation for {name}":{v:[""]}}},{l:"es_CL",t:{"External documentation for {name}":{v:[""]}}},{l:"es_CO",t:{"External documentation for {name}":{v:[""]}}},{l:"es_CR",t:{"External documentation for {name}":{v:[""]}}},{l:"es_DO",t:{"External documentation for {name}":{v:[""]}}},{l:"es_EC",t:{"External documentation for {name}":{v:["Documentación externa para {name}"]}}},{l:"es_GT",t:{"External documentation for {name}":{v:[""]}}},{l:"es_HN",t:{"External documentation for {name}":{v:[""]}}},{l:"es_MX",t:{"External documentation for {name}":{v:[""]}}},{l:"es_NI",t:{"External documentation for {name}":{v:[""]}}},{l:"es_PA",t:{"External documentation for {name}":{v:[""]}}},{l:"es_PE",t:{"External documentation for {name}":{v:[""]}}},{l:"es_PR",t:{"External documentation for {name}":{v:[""]}}},{l:"es_PY",t:{"External documentation for {name}":{v:[""]}}},{l:"es_SV",t:{"External documentation for {name}":{v:[""]}}},{l:"es_UY",t:{"External documentation for {name}":{v:[""]}}},{l:"et_EE",t:{"External documentation for {name}":{v:[""]}}},{l:"eu",t:{"External documentation for {name}":{v:["{name}-ren kanpoko dokumentazioa"]}}},{l:"fa",t:{"External documentation for {name}":{v:[""]}}},{l:"fi",t:{"External documentation for {name}":{v:[""]}}},{l:"fo",t:{"External documentation for {name}":{v:[""]}}},{l:"fr",t:{"External documentation for {name}":{v:["Documentation externe pour {name}"]}}},{l:"ga",t:{"External documentation for {name}":{v:["Doiciméadúchán seachtrach le haghaidh {name}"]}}},{l:"gd",t:{"External documentation for {name}":{v:[""]}}},{l:"gl",t:{"External documentation for {name}":{v:["Documentación externa para {name}"]}}},{l:"he",t:{"External documentation for {name}":{v:["תיעוד חיצוני עבור {name}"]}}},{l:"hi_IN",t:{"External documentation for {name}":{v:[""]}}},{l:"hr",t:{"External documentation for {name}":{v:[""]}}},{l:"hsb",t:{"External documentation for {name}":{v:[""]}}},{l:"hu",t:{"External documentation for {name}":{v:[""]}}},{l:"hy",t:{"External documentation for {name}":{v:[""]}}},{l:"ia",t:{"External documentation for {name}":{v:[""]}}},{l:"id",t:{"External documentation for {name}":{v:["Dokumentasi eksternal untuk {name}"]}}},{l:"ig",t:{"External documentation for {name}":{v:[""]}}},{l:"is",t:{"External documentation for {name}":{v:["Utanaðkomandi leiðbeiningar fyrir {name}"]}}},{l:"it",t:{"External documentation for {name}":{v:["Documentazione esterna per {name}"]}}},{l:"ja",t:{"External documentation for {name}":{v:[""]}}},{l:"ja_JP",t:{"External documentation for {name}":{v:["{name} の外部ドキュメント"]}}},{l:"ka",t:{"External documentation for {name}":{v:[""]}}},{l:"ka_GE",t:{"External documentation for {name}":{v:[""]}}},{l:"kab",t:{"External documentation for {name}":{v:[""]}}},{l:"kk",t:{"External documentation for {name}":{v:[""]}}},{l:"km",t:{"External documentation for {name}":{v:[""]}}},{l:"kn",t:{"External documentation for {name}":{v:[""]}}},{l:"ko",t:{"External documentation for {name}":{v:[""]}}},{l:"la",t:{"External documentation for {name}":{v:[""]}}},{l:"lb",t:{"External documentation for {name}":{v:[""]}}},{l:"lo",t:{"External documentation for {name}":{v:[""]}}},{l:"lt_LT",t:{"External documentation for {name}":{v:[""]}}},{l:"lv",t:{"External documentation for {name}":{v:[""]}}},{l:"mk",t:{"External documentation for {name}":{v:[""]}}},{l:"mn",t:{"External documentation for {name}":{v:[""]}}},{l:"mr",t:{"External documentation for {name}":{v:[""]}}},{l:"ms_MY",t:{"External documentation for {name}":{v:[""]}}},{l:"my",t:{"External documentation for {name}":{v:[""]}}},{l:"nb",t:{"External documentation for {name}":{v:[""]}}},{l:"ne",t:{"External documentation for {name}":{v:[""]}}},{l:"nl",t:{"External documentation for {name}":{v:["Externe documentatie voor {name}"]}}},{l:"nn_NO",t:{"External documentation for {name}":{v:[""]}}},{l:"oc",t:{"External documentation for {name}":{v:[""]}}},{l:"pl",t:{"External documentation for {name}":{v:["Dokumentacja zewnętrzna dla {name}"]}}},{l:"ps",t:{"External documentation for {name}":{v:[""]}}},{l:"pt_BR",t:{"External documentation for {name}":{v:["Documentação externa para {name}"]}}},{l:"pt_PT",t:{"External documentation for {name}":{v:["Documentação externa para {name}"]}}},{l:"ro",t:{"External documentation for {name}":{v:["Documentație externă pentru {name}"]}}},{l:"ru",t:{"External documentation for {name}":{v:["Внешняя документация для {name}"]}}},{l:"sc",t:{"External documentation for {name}":{v:[""]}}},{l:"si",t:{"External documentation for {name}":{v:[""]}}},{l:"sk",t:{"External documentation for {name}":{v:[""]}}},{l:"sl",t:{"External documentation for {name}":{v:[""]}}},{l:"sq",t:{"External documentation for {name}":{v:[""]}}},{l:"sr",t:{"External documentation for {name}":{v:["Спољна документација за {name}"]}}},{l:"sr@latin",t:{"External documentation for {name}":{v:[""]}}},{l:"sv",t:{"External documentation for {name}":{v:["Extern dokumentation för {name}"]}}},{l:"sw",t:{"External documentation for {name}":{v:[""]}}},{l:"ta",t:{"External documentation for {name}":{v:[""]}}},{l:"th",t:{"External documentation for {name}":{v:[""]}}},{l:"tk",t:{"External documentation for {name}":{v:[""]}}},{l:"tr",t:{"External documentation for {name}":{v:["{name} için dış belgeler"]}}},{l:"ug",t:{"External documentation for {name}":{v:[""]}}},{l:"uk",t:{"External documentation for {name}":{v:["Зовнішня документація для {name}"]}}},{l:"ur_PK",t:{"External documentation for {name}":{v:[""]}}},{l:"uz",t:{"External documentation for {name}":{v:[""]}}},{l:"vi",t:{"External documentation for {name}":{v:[""]}}},{l:"zh_CN",t:{"External documentation for {name}":{v:[""]}}},{l:"zh_HK",t:{"External documentation for {name}":{v:["{name} 的外部文件"]}}},{l:"zh_TW",t:{"External documentation for {name}":{v:["{name} 的外部文件"]}}},{l:"zu_ZA",t:{"External documentation for {name}":{v:[""]}}}],af=[{l:"af",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"ar",t:{Next:{v:["التالي"]},"Pause slideshow":{v:["تجميد عرض الشرائح"]},Previous:{v:["السابق"]},"Start slideshow":{v:["إبدإ العرض"]}}},{l:"ast",t:{Next:{v:["Siguiente"]},"Pause slideshow":{v:["Posar la presentación de diapositives"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Aniciar la presentación de diapositives"]}}},{l:"az",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"be",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"bg",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"bn_BD",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"br",t:{Next:{v:["Da heul"]},"Pause slideshow":{v:["Arsav an diaporama"]},Previous:{v:["A-raok"]},"Start slideshow":{v:["Kregiñ an diaporama"]}}},{l:"bs",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"ca",t:{Next:{v:["Següent"]},"Pause slideshow":{v:["Atura la presentació"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Inicia la presentació"]}}},{l:"cs",t:{Next:{v:["Následující"]},"Pause slideshow":{v:["Pozastavit prezentaci"]},Previous:{v:["Předchozí"]},"Start slideshow":{v:["Spustit prezentaci"]}}},{l:"cs_CZ",t:{Next:{v:["Následující"]},"Pause slideshow":{v:["Pozastavit prezentaci"]},Previous:{v:["Předchozí"]},"Start slideshow":{v:["Spustit prezentaci"]}}},{l:"cy_GB",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"da",t:{Next:{v:["Videre"]},"Pause slideshow":{v:["Suspender fremvisning"]},Previous:{v:["Forrige"]},"Start slideshow":{v:["Start fremvisning"]}}},{l:"de",t:{Next:{v:["Weiter"]},"Pause slideshow":{v:["Diashow pausieren"]},Previous:{v:["Vorherige"]},"Start slideshow":{v:["Diashow starten"]}}},{l:"de_DE",t:{Next:{v:["Weiter"]},"Pause slideshow":{v:["Diashow pausieren"]},Previous:{v:["Vorherige"]},"Start slideshow":{v:["Diashow starten"]}}},{l:"el",t:{Next:{v:["Επόμενο"]},"Pause slideshow":{v:["Παύση προβολής διαφανειών"]},Previous:{v:["Προηγούμενο"]},"Start slideshow":{v:["Έναρξη προβολής διαφανειών"]}}},{l:"en_GB",t:{Next:{v:["Next"]},"Pause slideshow":{v:["Pause slideshow"]},Previous:{v:["Previous"]},"Start slideshow":{v:["Start slideshow"]}}},{l:"eo",t:{Next:{v:["Sekva"]},"Pause slideshow":{v:["Payzi bildprezenton"]},Previous:{v:["Antaŭa"]},"Start slideshow":{v:["Komenci bildprezenton"]}}},{l:"es",t:{Next:{v:["Siguiente"]},"Pause slideshow":{v:["Pausar la presentación "]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Iniciar la presentación"]}}},{l:"es_419",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"es_AR",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"es_CL",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"es_CO",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"es_CR",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"es_DO",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"es_EC",t:{Next:{v:["Siguiente"]},"Pause slideshow":{v:["Pausar presentación de diapositivas"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Iniciar presentación de diapositivas"]}}},{l:"es_GT",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"es_HN",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"es_MX",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"es_NI",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"es_PA",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"es_PE",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"es_PR",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"es_PY",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"es_SV",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"es_UY",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"et_EE",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"eu",t:{Next:{v:["Hurrengoa"]},"Pause slideshow":{v:["Pausatu diaporama"]},Previous:{v:["Aurrekoa"]},"Start slideshow":{v:["Hasi diaporama"]}}},{l:"fa",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"fi",t:{Next:{v:["Seuraava"]},"Pause slideshow":{v:["Keskeytä diaesitys"]},Previous:{v:["Edellinen"]},"Start slideshow":{v:["Aloita diaesitys"]}}},{l:"fo",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"fr",t:{Next:{v:["Suivant"]},"Pause slideshow":{v:["Mettre le diaporama en pause"]},Previous:{v:["Précédent"]},"Start slideshow":{v:["Démarrer le diaporama"]}}},{l:"ga",t:{Next:{v:["Ar aghaidh"]},"Pause slideshow":{v:["Cuir taispeántas sleamhnán ar sos"]},Previous:{v:["Roimhe Seo"]},"Start slideshow":{v:["Tosaigh taispeántas sleamhnán"]}}},{l:"gd",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"gl",t:{Next:{v:["Seguinte"]},"Pause slideshow":{v:["Pausar o diaporama"]},Previous:{v:["Anterir"]},"Start slideshow":{v:["Iniciar o diaporama"]}}},{l:"he",t:{Next:{v:["הבא"]},"Pause slideshow":{v:["השהיית מצגת"]},Previous:{v:["הקודם"]},"Start slideshow":{v:["התחלת המצגת"]}}},{l:"hi_IN",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"hr",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"hsb",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"hu",t:{Next:{v:["Következő"]},"Pause slideshow":{v:["Diavetítés szüneteltetése"]},Previous:{v:["Előző"]},"Start slideshow":{v:["Diavetítés indítása"]}}},{l:"hy",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"ia",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"id",t:{Next:{v:["Selanjutnya"]},"Pause slideshow":{v:["Jeda tayangan slide"]},Previous:{v:["Sebelumnya"]},"Start slideshow":{v:["Mulai salindia"]}}},{l:"ig",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"is",t:{Next:{v:["Næsta"]},"Pause slideshow":{v:["Gera hlé á skyggnusýningu"]},Previous:{v:["Fyrri"]},"Start slideshow":{v:["Byrja skyggnusýningu"]}}},{l:"it",t:{Next:{v:["Successivo"]},"Pause slideshow":{v:["Presentazione in pausa"]},Previous:{v:["Precedente"]},"Start slideshow":{v:["Avvia presentazione"]}}},{l:"ja",t:{Next:{v:["次"]},"Pause slideshow":{v:["スライドショーを一時停止"]},Previous:{v:["前"]},"Start slideshow":{v:["スライドショーを開始"]}}},{l:"ja_JP",t:{Next:{v:["次"]},"Pause slideshow":{v:["スライドショーを一時停止"]},Previous:{v:["前"]},"Start slideshow":{v:["スライドショーを開始"]}}},{l:"ka",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"ka_GE",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"kab",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"kk",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"km",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"kn",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"ko",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"la",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"lb",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"lo",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"lt_LT",t:{Next:{v:["Kitas"]},"Pause slideshow":{v:["Pristabdyti skaidrių rodymą"]},Previous:{v:["Ankstesnis"]},"Start slideshow":{v:["Pradėti skaidrių rodymą"]}}},{l:"lv",t:{Next:{v:["Nākamais"]},"Pause slideshow":{v:["Pauzēt slaidrādi"]},Previous:{v:["Iepriekšējais"]},"Start slideshow":{v:["Sākt slaidrādi"]}}},{l:"mk",t:{Next:{v:["Следно"]},"Pause slideshow":{v:["Пузирај слајдшоу"]},Previous:{v:["Предходно"]},"Start slideshow":{v:["Стартувај слајдшоу"]}}},{l:"mn",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"mr",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"ms_MY",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"my",t:{Next:{v:["နောက်သို့ဆက်ရန်"]},"Pause slideshow":{v:["စလိုက်ရှိုး ခေတ္တရပ်ရန်"]},Previous:{v:["ယခင်"]},"Start slideshow":{v:["စလိုက်ရှိုးအား စတင်ရန်"]}}},{l:"nb",t:{Next:{v:["Neste"]},"Pause slideshow":{v:["Pause lysbildefremvisning"]},Previous:{v:["Forrige"]},"Start slideshow":{v:["Start lysbildefremvisning"]}}},{l:"ne",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"nl",t:{Next:{v:["Volgende"]},"Pause slideshow":{v:["Pauzeer diavoorstelling"]},Previous:{v:["Vorige"]},"Start slideshow":{v:["Start diavoorstelling"]}}},{l:"nn_NO",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"oc",t:{Next:{v:["Seguent"]},"Pause slideshow":{v:["Metre en pausa lo diaporama"]},Previous:{v:["Precedent"]},"Start slideshow":{v:["Lançar lo diaporama"]}}},{l:"pl",t:{Next:{v:["Następny"]},"Pause slideshow":{v:["Wstrzymaj pokaz slajdów"]},Previous:{v:["Poprzedni"]},"Start slideshow":{v:["Rozpocznij pokaz slajdów"]}}},{l:"ps",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"pt_BR",t:{Next:{v:["Próximo"]},"Pause slideshow":{v:["Pausar apresentação de slides"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Iniciar apresentação de slides"]}}},{l:"pt_PT",t:{Next:{v:["Seguinte"]},"Pause slideshow":{v:["Pausar diaporama"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Iniciar diaporama"]}}},{l:"ro",t:{Next:{v:["Următorul"]},"Pause slideshow":{v:["Pauză prezentare de diapozitive"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Începeți prezentarea de diapozitive"]}}},{l:"ru",t:{Next:{v:["Следующее"]},"Pause slideshow":{v:["Приостановить показ слйдов"]},Previous:{v:["Предыдущее"]},"Start slideshow":{v:["Начать показ слайдов"]}}},{l:"sc",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"si",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"sk",t:{Next:{v:["Ďalší"]},"Pause slideshow":{v:["Pozastaviť prezentáciu"]},Previous:{v:["Predchádzajúci"]},"Start slideshow":{v:["Začať prezentáciu"]}}},{l:"sl",t:{Next:{v:["Naslednji"]},"Pause slideshow":{v:["Ustavi predstavitev"]},Previous:{v:["Predhodni"]},"Start slideshow":{v:["Začni predstavitev"]}}},{l:"sq",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"sr",t:{Next:{v:["Следеће"]},"Pause slideshow":{v:["Паузирај слајд шоу"]},Previous:{v:["Претходно"]},"Start slideshow":{v:["Покрени слајд шоу"]}}},{l:"sr@latin",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"sv",t:{Next:{v:["Nästa"]},"Pause slideshow":{v:["Pausa bildspelet"]},Previous:{v:["Föregående"]},"Start slideshow":{v:["Starta bildspelet"]}}},{l:"sw",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"ta",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"th",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"tk",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"tr",t:{Next:{v:["Sonraki"]},"Pause slideshow":{v:["Slayt sunumunu duraklat"]},Previous:{v:["Önceki"]},"Start slideshow":{v:["Slayt sunumunu başlat"]}}},{l:"ug",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"uk",t:{Next:{v:["Вперед"]},"Pause slideshow":{v:["Пауза у показі слайдів"]},Previous:{v:["Назад"]},"Start slideshow":{v:["Почати показ слайдів"]}}},{l:"ur_PK",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"uz",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"vi",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}},{l:"zh_CN",t:{Next:{v:["下一个"]},"Pause slideshow":{v:["暂停幻灯片"]},Previous:{v:["上一个"]},"Start slideshow":{v:["开始幻灯片"]}}},{l:"zh_HK",t:{Next:{v:["下一個"]},"Pause slideshow":{v:["暫停幻燈片"]},Previous:{v:["上一個"]},"Start slideshow":{v:["開始幻燈片"]}}},{l:"zh_TW",t:{Next:{v:["下一個"]},"Pause slideshow":{v:["暫停幻燈片"]},Previous:{v:["上一個"]},"Start slideshow":{v:["開始幻燈片"]}}},{l:"zu_ZA",t:{Next:{v:[""]},"Pause slideshow":{v:[""]},Previous:{v:[""]},"Start slideshow":{v:[""]}}}],Br=e=>Math.random().toString(36).replace(/[^a-z]+/g,"").slice(0,e||5);function se(e,n,s,a,r,o,i,l){var u=typeof e=="function"?e.options:e;n&&(u.render=n,u.staticRenderFns=s,u._compiled=!0),a&&(u.functional=!0),o&&(u._scopeId="data-v-"+o);var d;if(i?(d=function(h){h=h||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!h&&typeof __VUE_SSR_CONTEXT__<"u"&&(h=__VUE_SSR_CONTEXT__),r&&r.call(this,h),h&&h._registeredComponents&&h._registeredComponents.add(i)},u._ssrRegister=d):r&&(d=l?function(){r.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:r),d)if(u.functional){u._injectStyles=d;var c=u.render;u.render=function(h,y){return d.call(y),c(h,y)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,d):[d]}return{exports:e,options:u}}const rf={name:"NcButton",inject:{getNcPopoverTriggerAttrs:{from:"NcPopover:trigger:attrs",default:()=>()=>({})}},props:{alignment:{type:String,default:"center",validator:e=>["start","start-reverse","center","center-reverse","end","end-reverse"].includes(e)},disabled:{type:Boolean,default:!1},size:{type:String,default:"normal",validator(e){return["small","normal","large"].includes(e)}},type:{type:String,validator(e){return["primary","secondary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].includes(e)},default:"secondary"},nativeType:{type:String,validator(e){return["submit","reset","button"].indexOf(e)!==-1},default:"button"},wide:{type:Boolean,default:!1},ariaLabel:{type:String,default:null},href:{type:String,default:null},download:{type:String,default:null},to:{type:[String,Object],default:null},exact:{type:Boolean,default:!1},ariaHidden:{type:Boolean,default:null},pressed:{type:Boolean,default:null}},emits:["update:pressed","click"],computed:{realType(){return this.pressed?"primary":this.pressed===!1&&this.type==="primary"?"secondary":this.type},flexAlignment(){return this.alignment.split("-")[0]},isReverseAligned(){return this.alignment.includes("-")},ncPopoverTriggerAttrs(){return this.getNcPopoverTriggerAttrs()}},render(e){var n,s,a;const r=!!this.$slots.default,o=(n=this.$slots)==null?void 0:n.icon;!r&&!this.ariaLabel&&console.warn("You need to fill either the text or the ariaLabel props in the button component.",{text:(a=(s=this.$slots.default)==null?void 0:s[0])==null?void 0:a.text,ariaLabel:this.ariaLabel},this);const i=this.to||this.href,l=!i&&typeof this.pressed=="boolean",u=({href:d,navigate:c,isActive:f,isExactActive:h}={})=>e(i?"a":"button",{class:["button-vue","button-vue--size-".concat(this.size),{"button-vue--icon-only":o&&!r,"button-vue--text-only":r&&!o,"button-vue--icon-and-text":o&&r,["button-vue--vue-".concat(this.realType)]:this.realType,"button-vue--wide":this.wide,["button-vue--".concat(this.flexAlignment)]:this.flexAlignment!=="center","button-vue--reverse":this.isReverseAligned,active:f,"router-link-exact-active":h}],attrs:{"aria-label":this.ariaLabel,"aria-pressed":l?this.pressed.toString():void 0,disabled:this.disabled,type:i?null:this.nativeType,role:i?"button":null,href:this.to?d:this.href||null,target:i?"_self":null,rel:i?"nofollow noreferrer noopener":null,download:!this.to&&this.href&&this.download?this.download:null,...this.ncPopoverTriggerAttrs,...this.$attrs},on:{...this.$listeners,click:y=>{l&&this.$emit("update:pressed",!this.pressed),this.$emit("click",y),c?.(y)}}},[e("span",{class:"button-vue__wrapper"},[o?e("span",{class:"button-vue__icon",attrs:{"aria-hidden":"true"}},[this.$slots.icon]):null,r?e("span",{class:"button-vue__text"},[this.$slots.default]):null])]);return this.to?e("router-link",{props:{custom:!0,to:this.to,exact:this.exact},scopedSlots:{default:u}}):u()}},of=null,lf=null;var uf=se(rf,of,lf,!1,null,"44398b0c",null,null);const Fu=uf.exports;function Qe(e){return e.split("-")[0]}function Xt(e){return e.split("-")[1]}function In(e){return["top","bottom"].includes(Qe(e))?"x":"y"}function $r(e){return e==="y"?"height":"width"}function Ei(e){let{reference:n,floating:s,placement:a}=e;const r=n.x+n.width/2-s.width/2,o=n.y+n.height/2-s.height/2;let i;switch(Qe(a)){case"top":i={x:r,y:n.y-s.height};break;case"bottom":i={x:r,y:n.y+n.height};break;case"right":i={x:n.x+n.width,y:o};break;case"left":i={x:n.x-s.width,y:o};break;default:i={x:n.x,y:n.y}}const l=In(a),u=$r(l);switch(Xt(a)){case"start":i[l]=i[l]-(n[u]/2-s[u]/2);break;case"end":i[l]=i[l]+(n[u]/2-s[u]/2);break}return i}const df=async(e,n,s)=>{const{placement:a="bottom",strategy:r="absolute",middleware:o=[],platform:i}=s;let l=await i.getElementRects({reference:e,floating:n,strategy:r}),{x:u,y:d}=Ei({...l,placement:a}),c=a,f={};for(let h=0;h({name:"arrow",options:e,async fn(n){const{element:s,padding:a=0}=e??{},{x:r,y:o,placement:i,rects:l,platform:u}=n;if(s==null)return{};const d=Su(a),c={x:r,y:o},f=Qe(i),h=In(f),y=$r(h),_=await u.getDimensions({element:s}),L=h==="y"?"top":"left",b=h==="y"?"bottom":"right",D=l.reference[y]+l.reference[h]-c[h]-l.floating[y],S=c[h]-l.reference[h],R=await u.getOffsetParent({element:s}),B=R?h==="y"?R.clientHeight||0:R.clientWidth||0:0,G=D/2-S/2,X=d[L],J=B-_[y]-d[b],U=B/2-_[y]/2+G,V=nr(X,U,J);return{data:{[h]:V,centerOffset:U-V}}}}),gf={left:"right",right:"left",bottom:"top",top:"bottom"};function Ms(e){return e.replace(/left|right|bottom|top/g,n=>gf[n])}function Au(e,n){const s=Xt(e)==="start",a=In(e),r=$r(a);let o=a==="x"?s?"right":"left":s?"bottom":"top";return n.reference[r]>n.floating[r]&&(o=Ms(o)),{main:o,cross:Ms(o)}}const ff={start:"end",end:"start"};function sr(e){return e.replace(/start|end/g,n=>ff[n])}const hf=["top","right","bottom","left"],vf=hf.reduce((e,n)=>e.concat(n,n+"-start",n+"-end"),[]);function yf(e,n,s){return(e?[...s.filter(a=>Xt(a)===e),...s.filter(a=>Xt(a)!==e)]:s.filter(a=>Qe(a)===a)).filter(a=>e?Xt(a)===e||(n?sr(a)!==a:!1):!0)}const xf=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(n){var s,a,r,o,i,l;const{x:u,y:d,rects:c,middlewareData:f,placement:h}=n,{alignment:y=null,allowedPlacements:_=vf,autoAlignment:L=!0,...b}=e;if((s=f.autoPlacement)!=null&&s.skip)return{};const D=yf(y,L,_),S=await Js(n,b),R=(a=(r=f.autoPlacement)==null?void 0:r.index)!=null?a:0,B=D[R],{main:G,cross:X}=Au(B,c);if(h!==B)return{x:u,y:d,reset:{placement:D[0]}};const J=[S[Qe(B)],S[G],S[X]],U=[...(o=(i=f.autoPlacement)==null?void 0:i.overflows)!=null?o:[],{placement:B,overflows:J}],V=D[R+1];if(V)return{data:{index:R+1,overflows:U},reset:{placement:V}};const C=U.slice().sort((m,g)=>m.overflows[0]-g.overflows[0]),w=(l=C.find(m=>{let{overflows:g}=m;return g.every(x=>x<=0)}))==null?void 0:l.placement;return{data:{skip:!0},reset:{placement:w??C[0].placement}}}}};function wf(e){const n=Ms(e);return[sr(e),n,sr(n)]}const Cf=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(n){var s,a;const{placement:r,middlewareData:o,rects:i,initialPlacement:l}=n;if((s=o.flip)!=null&&s.skip)return{};const{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:c,fallbackStrategy:f="bestFit",flipAlignment:h=!0,...y}=e,_=Qe(r),L=c||(_===l||!h?[Ms(l)]:wf(l)),b=[l,...L],D=await Js(n,y),S=[];let R=((a=o.flip)==null?void 0:a.overflows)||[];if(u&&S.push(D[_]),d){const{main:J,cross:U}=Au(r,i);S.push(D[J],D[U])}if(R=[...R,{placement:r,overflows:S}],!S.every(J=>J<=0)){var B,G;const J=((B=(G=o.flip)==null?void 0:G.index)!=null?B:0)+1,U=b[J];if(U)return{data:{index:J,overflows:R},reset:{placement:U}};let V="bottom";switch(f){case"bestFit":{var X;const C=(X=R.slice().sort((w,m)=>w.overflows.filter(g=>g>0).reduce((g,x)=>g+x,0)-m.overflows.filter(g=>g>0).reduce((g,x)=>g+x,0))[0])==null?void 0:X.placement;C&&(V=C);break}case"initialPlacement":V=l;break}return{data:{skip:!0},reset:{placement:V}}}return{}}}};function _f(e){let{placement:n,rects:s,value:a}=e;const r=Qe(n),o=["left","top"].includes(r)?-1:1,i=typeof a=="function"?a({...s,placement:n}):a,{mainAxis:l,crossAxis:u}=typeof i=="number"?{mainAxis:i,crossAxis:0}:{mainAxis:0,crossAxis:0,...i};return In(r)==="x"?{x:u,y:l*o}:{x:l*o,y:u}}const Tf=function(e){return e===void 0&&(e=0),{name:"offset",options:e,fn(n){const{x:s,y:a,placement:r,rects:o}=n,i=_f({placement:r,rects:o,value:e});return{x:s+i.x,y:a+i.y,data:i}}}};function bf(e){return e==="x"?"y":"x"}const Ef=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(n){const{x:s,y:a,placement:r}=n,{mainAxis:o=!0,crossAxis:i=!1,limiter:l={fn:b=>{let{x:D,y:S}=b;return{x:D,y:S}}},...u}=e,d={x:s,y:a},c=await Js(n,u),f=In(Qe(r)),h=bf(f);let y=d[f],_=d[h];if(o){const b=f==="y"?"top":"left",D=f==="y"?"bottom":"right",S=y+c[b],R=y-c[D];y=nr(S,y,R)}if(i){const b=h==="y"?"top":"left",D=h==="y"?"bottom":"right",S=_+c[b],R=_-c[D];_=nr(S,_,R)}const L=l.fn({...n,[f]:y,[h]:_});return{...L,data:{x:L.x-s,y:L.y-a}}}}},Ff=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(n){var s;const{placement:a,rects:r,middlewareData:o}=n,{apply:i,...l}=e;if((s=o.size)!=null&&s.skip)return{};const u=await Js(n,l),d=Qe(a),c=Xt(a)==="end";let f,h;d==="top"||d==="bottom"?(f=d,h=c?"left":"right"):(h=d,f=c?"top":"bottom");const y=Tt(u.left,0),_=Tt(u.right,0),L=Tt(u.top,0),b=Tt(u.bottom,0),D={height:r.floating.height-(["left","right"].includes(a)?2*(L!==0||b!==0?L+b:Tt(u.top,u.bottom)):u[f]),width:r.floating.width-(["top","bottom"].includes(a)?2*(y!==0||_!==0?y+_:Tt(u.left,u.right)):u[h])};return i?.({...D,...r}),{data:{skip:!0},reset:{rects:!0}}}}};function Ur(e){return e?.toString()==="[object Window]"}function ht(e){if(e==null)return window;if(!Ur(e)){const n=e.ownerDocument;return n&&n.defaultView||window}return e}function qs(e){return ht(e).getComputedStyle(e)}function Ze(e){return Ur(e)?"":e?(e.nodeName||"").toLowerCase():""}function Xe(e){return e instanceof ht(e).HTMLElement}function zs(e){return e instanceof ht(e).Element}function Sf(e){return e instanceof ht(e).Node}function ku(e){const n=ht(e).ShadowRoot;return e instanceof n||e instanceof ShadowRoot}function Ys(e){const{overflow:n,overflowX:s,overflowY:a}=qs(e);return/auto|scroll|overlay|hidden/.test(n+a+s)}function Af(e){return["table","td","th"].includes(Ze(e))}function Nu(e){const n=navigator.userAgent.toLowerCase().includes("firefox"),s=qs(e);return s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].includes(s.willChange)||n&&s.willChange==="filter"||n&&(s.filter?s.filter!=="none":!1)}const Fi=Math.min,Sn=Math.max,Os=Math.round;function nn(e,n){n===void 0&&(n=!1);const s=e.getBoundingClientRect();let a=1,r=1;return n&&Xe(e)&&(a=e.offsetWidth>0&&Os(s.width)/e.offsetWidth||1,r=e.offsetHeight>0&&Os(s.height)/e.offsetHeight||1),{width:s.width/a,height:s.height/r,top:s.top/r,right:s.right/a,bottom:s.bottom/r,left:s.left/a,x:s.left/a,y:s.top/r}}function vt(e){return((Sf(e)?e.ownerDocument:e.document)||window.document).documentElement}function Zs(e){return Ur(e)?{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}:{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Lu(e){return nn(vt(e)).left+Zs(e).scrollLeft}function kf(e){const n=nn(e);return Os(n.width)!==e.offsetWidth||Os(n.height)!==e.offsetHeight}function Nf(e,n,s){const a=Xe(n),r=vt(n),o=nn(e,a&&kf(n));let i={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(a||!a&&s!=="fixed")if((Ze(n)!=="body"||Ys(r))&&(i=Zs(n)),Xe(n)){const u=nn(n,!0);l.x=u.x+n.clientLeft,l.y=u.y+n.clientTop}else r&&(l.x=Lu(r));return{x:o.left+i.scrollLeft-l.x,y:o.top+i.scrollTop-l.y,width:o.width,height:o.height}}function Xs(e){return Ze(e)==="html"?e:e.assignedSlot||e.parentNode||(ku(e)?e.host:null)||vt(e)}function Si(e){return!Xe(e)||getComputedStyle(e).position==="fixed"?null:e.offsetParent}function Lf(e){let n=Xs(e);for(;Xe(n)&&!["html","body"].includes(Ze(n));){if(Nu(n))return n;n=n.parentNode}return null}function ar(e){const n=ht(e);let s=Si(e);for(;s&&Af(s)&&getComputedStyle(s).position==="static";)s=Si(s);return s&&(Ze(s)==="html"||Ze(s)==="body"&&getComputedStyle(s).position==="static"&&!Nu(s))?n:s||Lf(e)||n}function Ai(e){return{width:e.offsetWidth,height:e.offsetHeight}}function Pf(e){let{rect:n,offsetParent:s,strategy:a}=e;const r=Xe(s),o=vt(s);if(s===o)return n;let i={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if((r||!r&&a!=="fixed")&&((Ze(s)!=="body"||Ys(o))&&(i=Zs(s)),Xe(s))){const u=nn(s,!0);l.x=u.x+s.clientLeft,l.y=u.y+s.clientTop}return{...n,x:n.x-i.scrollLeft+l.x,y:n.y-i.scrollTop+l.y}}function Df(e){const n=ht(e),s=vt(e),a=n.visualViewport;let r=s.clientWidth,o=s.clientHeight,i=0,l=0;return a&&(r=a.width,o=a.height,Math.abs(n.innerWidth/a.scale-a.width)<.01&&(i=a.offsetLeft,l=a.offsetTop)),{width:r,height:o,x:i,y:l}}function Bf(e){var n;const s=vt(e),a=Zs(e),r=(n=e.ownerDocument)==null?void 0:n.body,o=Sn(s.scrollWidth,s.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),i=Sn(s.scrollHeight,s.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0);let l=-a.scrollLeft+Lu(e);const u=-a.scrollTop;return qs(r||s).direction==="rtl"&&(l+=Sn(s.clientWidth,r?r.clientWidth:0)-o),{width:o,height:i,x:l,y:u}}function Pu(e){return["html","body","#document"].includes(Ze(e))?e.ownerDocument.body:Xe(e)&&Ys(e)?e:Pu(Xs(e))}function Rs(e,n){var s;n===void 0&&(n=[]);const a=Pu(e),r=a===((s=e.ownerDocument)==null?void 0:s.body),o=ht(a),i=r?[o].concat(o.visualViewport||[],Ys(a)?a:[]):a,l=n.concat(i);return r?l:l.concat(Rs(Xs(i)))}function $f(e,n){const s=n.getRootNode==null?void 0:n.getRootNode();if(e.contains(n))return!0;if(s&&ku(s)){let a=n;do{if(a&&e===a)return!0;a=a.parentNode||a.host}while(a)}return!1}function Uf(e){const n=nn(e),s=n.top+e.clientTop,a=n.left+e.clientLeft;return{top:s,left:a,x:a,y:s,right:a+e.clientWidth,bottom:s+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}function ki(e,n){return n==="viewport"?tr(Df(e)):zs(n)?Uf(n):tr(Bf(vt(e)))}function Mf(e){const n=Rs(Xs(e)),s=["absolute","fixed"].includes(qs(e).position)&&Xe(e)?ar(e):e;return zs(s)?n.filter(a=>zs(a)&&$f(a,s)&&Ze(a)!=="body"):[]}function zf(e){let{element:n,boundary:s,rootBoundary:a}=e;const r=[...s==="clippingParents"?Mf(n):[].concat(s),a],o=r[0],i=r.reduce((l,u)=>{const d=ki(n,u);return l.top=Sn(d.top,l.top),l.right=Fi(d.right,l.right),l.bottom=Fi(d.bottom,l.bottom),l.left=Sn(d.left,l.left),l},ki(n,o));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}const Of={getElementRects:e=>{let{reference:n,floating:s,strategy:a}=e;return{reference:Nf(n,ar(s),a),floating:{...Ai(s),x:0,y:0}}},convertOffsetParentRelativeRectToViewportRelativeRect:e=>Pf(e),getOffsetParent:e=>{let{element:n}=e;return ar(n)},isElement:e=>zs(e),getDocumentElement:e=>{let{element:n}=e;return vt(n)},getClippingClientRect:e=>zf(e),getDimensions:e=>{let{element:n}=e;return Ai(n)},getClientRects:e=>{let{element:n}=e;return n.getClientRects()}},Rf=(e,n,s)=>df(e,n,{platform:Of,...s});var jf=Object.defineProperty,If=Object.defineProperties,Hf=Object.getOwnPropertyDescriptors,js=Object.getOwnPropertySymbols,Du=Object.prototype.hasOwnProperty,Bu=Object.prototype.propertyIsEnumerable,Ni=(e,n,s)=>n in e?jf(e,n,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[n]=s,it=(e,n)=>{for(var s in n||(n={}))Du.call(n,s)&&Ni(e,s,n[s]);if(js)for(var s of js(n))Bu.call(n,s)&&Ni(e,s,n[s]);return e},Qs=(e,n)=>If(e,Hf(n)),Vf=(e,n)=>{var s={};for(var a in e)Du.call(e,a)&&n.indexOf(a)<0&&(s[a]=e[a]);if(e!=null&&js)for(var a of js(e))n.indexOf(a)<0&&Bu.call(e,a)&&(s[a]=e[a]);return s};function $u(e,n){for(const s in n)Object.prototype.hasOwnProperty.call(n,s)&&(typeof n[s]=="object"&&e[s]?$u(e[s],n[s]):e[s]=n[s])}const Oe={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover","focus"],delay:{show:0,hide:400}}}};function sn(e,n){let s=Oe.themes[e]||{},a;do a=s[n],typeof a>"u"?s.$extend?s=Oe.themes[s.$extend]||{}:(s=null,a=Oe[n]):s=null;while(s);return a}function Gf(e){const n=[e];let s=Oe.themes[e]||{};do s.$extend&&!s.$resetCss?(n.push(s.$extend),s=Oe.themes[s.$extend]||{}):s=null;while(s);return n.map(a=>`v-popper--theme-${a}`)}function Li(e){const n=[e];let s=Oe.themes[e]||{};do s.$extend?(n.push(s.$extend),s=Oe.themes[s.$extend]||{}):s=null;while(s);return n}let $t=!1;if(typeof window<"u"){$t=!1;try{const e=Object.defineProperty({},"passive",{get(){$t=!0}});window.addEventListener("test",null,e)}catch{}}let Uu=!1;typeof window<"u"&&typeof navigator<"u"&&(Uu=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Mu=["auto","top","bottom","left","right"].reduce((e,n)=>e.concat([n,`${n}-start`,`${n}-end`]),[]),Pi={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart"},Di={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend"};function Bi(e,n){const s=e.indexOf(n);s!==-1&&e.splice(s,1)}function ba(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const Ne=[];let Ct=null;const $i={};function Ui(e){let n=$i[e];return n||(n=$i[e]=[]),n}let rr=function(){};typeof window<"u"&&(rr=window.Element);function K(e){return function(){const n=this.$props;return sn(n.theme,e)}}const Ea="__floating-vue__popper";var zu=()=>({name:"VPopper",props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,required:!0},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:K("disabled")},positioningDisabled:{type:Boolean,default:K("positioningDisabled")},placement:{type:String,default:K("placement"),validator:e=>Mu.includes(e)},delay:{type:[String,Number,Object],default:K("delay")},distance:{type:[Number,String],default:K("distance")},skidding:{type:[Number,String],default:K("skidding")},triggers:{type:Array,default:K("triggers")},showTriggers:{type:[Array,Function],default:K("showTriggers")},hideTriggers:{type:[Array,Function],default:K("hideTriggers")},popperTriggers:{type:Array,default:K("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:K("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:K("popperHideTriggers")},container:{type:[String,Object,rr,Boolean],default:K("container")},boundary:{type:[String,rr],default:K("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:K("strategy")},autoHide:{type:[Boolean,Function],default:K("autoHide")},handleResize:{type:Boolean,default:K("handleResize")},instantMove:{type:Boolean,default:K("instantMove")},eagerMount:{type:Boolean,default:K("eagerMount")},popperClass:{type:[String,Array,Object],default:K("popperClass")},computeTransformOrigin:{type:Boolean,default:K("computeTransformOrigin")},autoMinSize:{type:Boolean,default:K("autoMinSize")},autoSize:{type:[Boolean,String],default:K("autoSize")},autoMaxSize:{type:Boolean,default:K("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:K("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:K("preventOverflow")},overflowPadding:{type:[Number,String],default:K("overflowPadding")},arrowPadding:{type:[Number,String],default:K("arrowPadding")},arrowOverflow:{type:Boolean,default:K("arrowOverflow")},flip:{type:Boolean,default:K("flip")},shift:{type:Boolean,default:K("shift")},shiftCrossAxis:{type:Boolean,default:K("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:K("noAutoFocus")}},provide(){return{[Ea]:{parentPopper:this}}},inject:{[Ea]:{default:null}},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},shownChildren:new Set,lastAutoHide:!0}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:Qs(it({},this.classes),{popperClass:this.popperClass}),result:this.positioningDisabled?null:this.result}},parentPopper(){var e;return(e=this[Ea])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,n;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((n=this.popperShowTriggers)==null?void 0:n.includes("hover"))}},watch:it(it({shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())}},["triggers","positioningDisabled"].reduce((e,n)=>(e[n]="$_refreshListeners",e),{})),["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,n)=>(e[n]="$_computePosition",e),{})),created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeDestroy(){this.dispose()},methods:{show({event:e=null,skipDelay:n=!1,force:s=!1}={}){var a,r;(a=this.parentPopper)!=null&&a.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(s||!this.disabled)&&(((r=this.parentPopper)==null?void 0:r.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,n),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:n=!1,skipAiming:s=!1}={}){var a;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}if(!s&&this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:n}),this.parentPopper.lockedChild=null)},1e3));return}((a=this.parentPopper)==null?void 0:a.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(e,n),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=this.referenceNode(),this.$_targetNodes=this.targetNodes().filter(e=>e.nodeType===e.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"),this.$emit("dispose"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){var e;if(this.$_isDisposed||this.positioningDisabled)return;const n={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&n.middleware.push(Tf({mainAxis:this.distance,crossAxis:this.skidding}));const s=this.placement.startsWith("auto");if(s?n.middleware.push(xf({alignment:(e=this.placement.split("-")[1])!=null?e:""})):n.placement=this.placement,this.preventOverflow&&(this.shift&&n.middleware.push(Ef({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!s&&this.flip&&n.middleware.push(Cf({padding:this.overflowPadding,boundary:this.boundary}))),n.middleware.push(pf({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&n.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:o,middlewareData:i})=>{let l;const{centerOffset:u}=i.arrow;return r.startsWith("top")||r.startsWith("bottom")?l=Math.abs(u)>o.reference.width/2:l=Math.abs(u)>o.reference.height/2,{data:{overflow:l}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;n.middleware.push({name:"autoSize",fn:({rects:o,placement:i,middlewareData:l})=>{var u;if((u=l.autoSize)!=null&&u.skip)return{};let d,c;return i.startsWith("top")||i.startsWith("bottom")?d=o.reference.width:c=o.reference.height,this.$_innerNode.style[r==="min"?"minWidth":r==="max"?"maxWidth":"width"]=d!=null?`${d}px`:null,this.$_innerNode.style[r==="min"?"minHeight":r==="max"?"maxHeight":"height"]=c!=null?`${c}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,n.middleware.push(Ff({boundary:this.boundary,padding:this.overflowPadding,apply:({width:r,height:o})=>{this.$_innerNode.style.maxWidth=r!=null?`${r}px`:null,this.$_innerNode.style.maxHeight=o!=null?`${o}px`:null}})));const a=await Rf(this.$_referenceNode,this.$_popperNode,n);Object.assign(this.result,{x:a.x,y:a.y,placement:a.placement,strategy:a.strategy,arrow:it(it({},a.middlewareData.arrow),a.middlewareData.arrowOverflow)})},$_scheduleShow(e=null,n=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Ct&&this.instantMove&&Ct.instantMove&&Ct!==this.parentPopper){Ct.$_applyHide(!0),this.$_applyShow(!0);return}n?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e=null,n=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Ct=this),n?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const n=this.delay;return parseInt(n&&n[e]||n||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await ba(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Rs(this.$_referenceNode),...Rs(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const n=this.$_referenceNode.getBoundingClientRect(),s=this.$_popperNode.querySelector(".v-popper__wrapper"),a=s.parentNode.getBoundingClientRect(),r=n.x+n.width/2-(a.left+s.offsetLeft),o=n.y+n.height/2-(a.top+s.offsetTop);this.result.transformOrigin=`${r}px ${o}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let n;for(let s=0;s0){this.$_pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,Bi(Ne,this),Ne.length===0&&document.body.classList.remove("v-popper--some-open");for(const s of Li(this.theme)){const a=Ui(s);Bi(a,this),a.length===0&&document.body.classList.remove(`v-popper--some-open--${s}`)}Ct===this&&(Ct=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const n=sn(this.theme,"disposeTimeout");n!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},n)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await ba(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=s=>{this.isShown&&!this.$_hideInProgress||(s.usedByTooltip=!0,!this.$_preventShow&&this.show({event:s}))};this.$_registerTriggerListeners(this.$_targetNodes,Pi,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Pi,this.popperTriggers,this.popperShowTriggers,e);const n=s=>a=>{a.usedByTooltip||this.hide({event:a,skipAiming:s})};this.$_registerTriggerListeners(this.$_targetNodes,Di,this.triggers,this.hideTriggers,n(!1)),this.$_registerTriggerListeners([this.$_popperNode],Di,this.popperTriggers,this.popperHideTriggers,n(!0))},$_registerEventListeners(e,n,s){this.$_events.push({targetNodes:e,eventType:n,handler:s}),e.forEach(a=>a.addEventListener(n,s,$t?{passive:!0}:void 0))},$_registerTriggerListeners(e,n,s,a,r){let o=s;a!=null&&(o=typeof a=="function"?a(o):a),o.forEach(i=>{const l=n[i];l&&this.$_registerEventListeners(e,l,r)})},$_removeEventListeners(e){const n=[];this.$_events.forEach(s=>{const{targetNodes:a,eventType:r,handler:o}=s;!e||e===r?a.forEach(i=>i.removeEventListener(r,o)):n.push(s)}),this.$_events=n},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,n=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),n&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,n){for(const s of this.$_targetNodes){const a=s.getAttribute(e);a&&(s.removeAttribute(e),s.setAttribute(n,a))}},$_applyAttrsToTarget(e){for(const n of this.$_targetNodes)for(const s in e){const a=e[s];a==null?n.removeAttribute(s):n.setAttribute(s,a)}},$_updateParentShownChildren(e){let n=this.parentPopper;for(;n;)e?n.shownChildren.add(this.randomId):(n.shownChildren.delete(this.randomId),n.$_pendingHide&&n.hide()),n=n.parentPopper},$_isAimingPopper(){const e=this.$el.getBoundingClientRect();if(An>=e.left&&An<=e.right&&kn>=e.top&&kn<=e.bottom){const n=this.$_popperNode.getBoundingClientRect(),s=An-st,a=kn-at,r=n.left+n.width/2-st+(n.top+n.height/2)-at+n.width+n.height,o=st+s*r,i=at+a*r;return is(st,at,o,i,n.left,n.top,n.left,n.bottom)||is(st,at,o,i,n.left,n.top,n.right,n.top)||is(st,at,o,i,n.right,n.top,n.right,n.bottom)||is(st,at,o,i,n.left,n.bottom,n.right,n.bottom)}return!1}},render(){return this.$scopedSlots.default(this.slotData)[0]}});typeof document<"u"&&typeof window<"u"&&(Uu?(document.addEventListener("touchstart",Mi,$t?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",Wf,$t?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",Mi,!0),window.addEventListener("click",Kf,!0)),window.addEventListener("resize",Yf));function Mi(e){for(let n=0;n=0;a--){const r=Ne[a];try{const o=r.$_containsGlobalTarget=Jf(r,e);r.$_pendingHide=!1,requestAnimationFrame(()=>{if(r.$_pendingHide=!1,!s[r.randomId]&&zi(r,o,e)){if(r.$_handleGlobalClose(e,n),!e.closeAllPopover&&e.closePopover&&o){let l=r.parentPopper;for(;l;)s[l.randomId]=!0,l=l.parentPopper;return}let i=r.parentPopper;for(;i&&zi(i,i.$_containsGlobalTarget,e);)i.$_handleGlobalClose(e,n),i=i.parentPopper}})}catch{}}}function Jf(e,n){const s=e.popperNode();return e.$_mouseDownContains||s.contains(n.target)}function zi(e,n,s){return s.closeAllPopover||s.closePopover&&n||qf(e,s)&&!n}function qf(e,n){if(typeof e.autoHide=="function"){const s=e.autoHide(n);return e.lastAutoHide=s,s}return e.autoHide}function Yf(e){for(let n=0;n{st=An,at=kn,An=e.clientX,kn=e.clientY},$t?{passive:!0}:void 0);function is(e,n,s,a,r,o,i,l){const u=((i-r)*(n-o)-(l-o)*(e-r))/((l-o)*(s-e)-(i-r)*(a-n)),d=((s-e)*(n-o)-(a-n)*(e-r))/((l-o)*(s-e)-(i-r)*(a-n));return u>=0&&u<=1&&d>=0&&d<=1}function Zf(){var e=window.navigator.userAgent,n=e.indexOf("MSIE ");if(n>0)return parseInt(e.substring(n+5,e.indexOf(".",n)),10);var s=e.indexOf("Trident/");if(s>0){var a=e.indexOf("rv:");return parseInt(e.substring(a+3,e.indexOf(".",a)),10)}var r=e.indexOf("Edge/");return r>0?parseInt(e.substring(r+5,e.indexOf(".",r)),10):-1}var ws;function or(){or.init||(or.init=!0,ws=Zf()!==-1)}var Xf={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},mounted:function(){var e=this;or(),this.$nextTick(function(){e._w=e.$el.offsetWidth,e._h=e.$el.offsetHeight,e.emitOnMount&&e.emitSize()});var n=document.createElement("object");this._resizeObject=n,n.setAttribute("aria-hidden","true"),n.setAttribute("tabindex",-1),n.onload=this.addResizeHandlers,n.type="text/html",ws&&this.$el.appendChild(n),n.data="about:blank",ws||this.$el.appendChild(n)},beforeDestroy:function(){this.removeResizeHandlers()},methods:{compareAndNotify:function(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize:function(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers:function(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers:function(){this._resizeObject&&this._resizeObject.onload&&(!ws&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};function Qf(e,n,s,a,r,o,i,l,u,d){typeof i!="boolean"&&(u=l,l=i,i=!1);var c=typeof s=="function"?s.options:s;e&&e.render&&(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0,r&&(c.functional=!0)),a&&(c._scopeId=a);var f;if(o?(f=function(_){_=_||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!_&&typeof __VUE_SSR_CONTEXT__<"u"&&(_=__VUE_SSR_CONTEXT__),n&&n.call(this,u(_)),_&&_._registeredComponents&&_._registeredComponents.add(o)},c._ssrRegister=f):n&&(f=i?function(_){n.call(this,d(_,this.$root.$options.shadowRoot))}:function(_){n.call(this,l(_))}),f)if(c.functional){var h=c.render;c.render=function(_,L){return f.call(L),h(_,L)}}else{var y=c.beforeCreate;c.beforeCreate=y?[].concat(y,f):[f]}return s}var eh=Xf,Ru=function(){var e=this,n=e.$createElement,s=e._self._c||n;return s("div",{staticClass:"resize-observer",attrs:{tabindex:"-1"}})},th=[];Ru._withStripped=!0;var nh=void 0,sh="data-v-8859cc6c",ah=void 0,rh=!1,ir=Qf({render:Ru,staticRenderFns:th},nh,eh,sh,rh,ah,!1,void 0,void 0,void 0);function oh(e){e.component("resize-observer",ir),e.component("ResizeObserver",ir)}var ih={version:"1.0.1",install:oh},ls=null;typeof window<"u"?ls=window.Vue:typeof Qt<"u"&&(ls=Qt.Vue),ls&&ls.use(ih);var ju={computed:{themeClass(){return Gf(this.theme)}}},lh={name:"VPopperContent",components:{ResizeObserver:ir},mixins:[ju],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}},uh=function(){var e=this,n=e.$createElement,s=e._self._c||n;return s("div",{ref:"popover",staticClass:"v-popper__popper",class:[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}],style:e.result?{position:e.result.strategy,transform:"translate3d("+Math.round(e.result.x)+"px,"+Math.round(e.result.y)+"px,0)"}:void 0,attrs:{id:e.popperId,"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0},on:{keyup:function(a){if(!a.type.indexOf("key")&&e._k(a.keyCode,"esc",27,a.key,["Esc","Escape"]))return null;e.autoHide&&e.$emit("hide")}}},[s("div",{staticClass:"v-popper__backdrop",on:{click:function(a){e.autoHide&&e.$emit("hide")}}}),s("div",{staticClass:"v-popper__wrapper",style:e.result?{transformOrigin:e.result.transformOrigin}:void 0},[s("div",{ref:"inner",staticClass:"v-popper__inner"},[e.mounted?[s("div",[e._t("default")],2),e.handleResize?s("ResizeObserver",{on:{notify:function(a){return e.$emit("resize",a)}}}):e._e()]:e._e()],2),s("div",{ref:"arrow",staticClass:"v-popper__arrow-container",style:e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0},[s("div",{staticClass:"v-popper__arrow-outer"}),s("div",{staticClass:"v-popper__arrow-inner"})])])])},dh=[];function un(e,n,s,a,r,o,i,l){var u=typeof e=="function"?e.options:e;n&&(u.render=n,u.staticRenderFns=s,u._compiled=!0),a&&(u.functional=!0),o&&(u._scopeId="data-v-"+o);var d;if(i?(d=function(h){h=h||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!h&&typeof __VUE_SSR_CONTEXT__<"u"&&(h=__VUE_SSR_CONTEXT__),r&&r.call(this,h),h&&h._registeredComponents&&h._registeredComponents.add(i)},u._ssrRegister=d):r&&(d=l?function(){r.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:r),d)if(u.functional){u._injectStyles=d;var c=u.render;u.render=function(h,y){return d.call(y),c(h,y)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,d):[d]}return{exports:e,options:u}}const Oi={};var ch=un(lh,uh,dh,!1,mh,null,null,null);function mh(e){for(let n in Oi)this[n]=Oi[n]}var Iu=function(){return ch.exports}(),Mr={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}},ph={name:"VPopperWrapper",components:{Popper:zu(),PopperContent:Iu},mixins:[Mr,ju],inheritAttrs:!1,props:{theme:{type:String,default(){return this.$options.vPopperTheme}}},methods:{getTargetNodes(){return Array.from(this.$refs.reference.children).filter(e=>e!==this.$refs.popperContent.$el)}}},gh=function(){var e=this,n=e.$createElement,s=e._self._c||n;return s("Popper",e._g(e._b({ref:"popper",attrs:{theme:e.theme,"target-nodes":e.getTargetNodes,"reference-node":function(){return e.$refs.reference},"popper-node":function(){return e.$refs.popperContent.$el}},scopedSlots:e._u([{key:"default",fn:function(a){var r=a.popperId,o=a.isShown,i=a.shouldMountContent,l=a.skipTransition,u=a.autoHide,d=a.show,c=a.hide,f=a.handleResize,h=a.onResize,y=a.classes,_=a.result;return[s("div",{ref:"reference",staticClass:"v-popper",class:[e.themeClass,{"v-popper--shown":o}]},[e._t("default",null,{shown:o,show:d,hide:c}),s("PopperContent",{ref:"popperContent",attrs:{"popper-id":r,theme:e.theme,shown:o,mounted:i,"skip-transition":l,"auto-hide":u,"handle-resize":f,classes:y,result:_},on:{hide:c,resize:h}},[e._t("popper",null,{shown:o,hide:c})],2)],2)]}}],null,!0)},"Popper",e.$attrs,!1),e.$listeners))},fh=[];const Ri={};var hh=un(ph,gh,fh,!1,vh,null,null,null);function vh(e){for(let n in Ri)this[n]=Ri[n]}var zr=function(){return hh.exports}(),yh=Qs(it({},zr),{name:"VDropdown",vPopperTheme:"dropdown"});let xh,wh;const ji={};var Ch=un(yh,xh,wh,!1,_h,null,null,null);function _h(e){for(let n in ji)this[n]=ji[n]}var lr=function(){return Ch.exports}(),Th=Qs(it({},zr),{name:"VMenu",vPopperTheme:"menu"});let bh,Eh;const Ii={};var Fh=un(Th,bh,Eh,!1,Sh,null,null,null);function Sh(e){for(let n in Ii)this[n]=Ii[n]}var Hi=function(){return Fh.exports}(),Ah=Qs(it({},zr),{name:"VTooltip",vPopperTheme:"tooltip"});let kh,Nh;const Vi={};var Lh=un(Ah,kh,Nh,!1,Ph,null,null,null);function Ph(e){for(let n in Vi)this[n]=Vi[n]}var Gi=function(){return Lh.exports}(),Dh={name:"VTooltipDirective",components:{Popper:zu(),PopperContent:Iu},mixins:[Mr],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default(){return sn(this.theme,"html")}},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default(){return sn(this.theme,"loadingContent")}}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(e){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const n=++this.$_fetchId,s=this.content(this);s.then?s.then(a=>this.onResult(n,a)):this.onResult(n,s)}},onResult(e,n){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=n)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}},Bh=function(){var e=this,n=e.$createElement,s=e._self._c||n;return s("Popper",e._g(e._b({ref:"popper",attrs:{theme:e.theme,"popper-node":function(){return e.$refs.popperContent.$el}},on:{"apply-show":e.onShow,"apply-hide":e.onHide},scopedSlots:e._u([{key:"default",fn:function(a){var r=a.popperId,o=a.isShown,i=a.shouldMountContent,l=a.skipTransition,u=a.autoHide,d=a.hide,c=a.handleResize,f=a.onResize,h=a.classes,y=a.result;return[s("PopperContent",{ref:"popperContent",class:{"v-popper--tooltip-loading":e.loading},attrs:{"popper-id":r,theme:e.theme,shown:o,mounted:i,"skip-transition":l,"auto-hide":u,"handle-resize":c,classes:h,result:y},on:{hide:d,resize:f}},[e.html?s("div",{domProps:{innerHTML:e._s(e.finalContent)}}):s("div",{domProps:{textContent:e._s(e.finalContent)}})])]}}])},"Popper",e.$attrs,!1),e.$listeners))},$h=[];const Ki={};var Uh=un(Dh,Bh,$h,!1,Mh,null,null,null);function Mh(e){for(let n in Ki)this[n]=Ki[n]}var zh=function(){return Uh.exports}();const Hu="v-popper--has-tooltip";function Oh(e,n){let s=e.placement;if(!s&&n)for(const a of Mu)n[a]&&(s=a);return s||(s=sn(e.theme||"tooltip","placement")),s}function Vu(e,n,s){let a;const r=typeof n;return r==="string"?a={content:n}:n&&r==="object"?a=n:a={content:!1},a.placement=Oh(a,s),a.targetNodes=()=>[e],a.referenceNode=()=>e,a}function Rh(e,n,s){const a=Vu(e,n,s),r=e.$_popper=new Y({mixins:[Mr],data(){return{options:a}},render(i){const l=this.options,{theme:u,html:d,content:c,loadingContent:f}=l,h=Vf(l,["theme","html","content","loadingContent"]);return i(zh,{props:{theme:u,html:d,content:c,loadingContent:f},attrs:h,ref:"popper"})},devtools:{hide:!0}}),o=document.createElement("div");return document.body.appendChild(o),r.$mount(o),e.classList&&e.classList.add(Hu),r}function Gu(e){e.$_popper&&(e.$_popper.$destroy(),delete e.$_popper,delete e.$_popperOldShown),e.classList&&e.classList.remove(Hu)}function Wi(e,{value:n,oldValue:s,modifiers:a}){const r=Vu(e,n,a);if(!r.content||sn(r.theme||"tooltip","disabled"))Gu(e);else{let o;e.$_popper?(o=e.$_popper,o.options=r):o=Rh(e,n,a),typeof n.shown<"u"&&n.shown!==e.$_popperOldShown&&(e.$_popperOldShown=n.shown,n.shown?o.show():o.hide())}}var Ku={bind:Wi,update:Wi,unbind(e){Gu(e)}};function Ji(e){e.addEventListener("click",Wu),e.addEventListener("touchstart",Ju,$t?{passive:!0}:!1)}function qi(e){e.removeEventListener("click",Wu),e.removeEventListener("touchstart",Ju),e.removeEventListener("touchend",qu),e.removeEventListener("touchcancel",Yu)}function Wu(e){const n=e.currentTarget;e.closePopover=!n.$_vclosepopover_touch,e.closeAllPopover=n.$_closePopoverModifiers&&!!n.$_closePopoverModifiers.all}function Ju(e){if(e.changedTouches.length===1){const n=e.currentTarget;n.$_vclosepopover_touch=!0;const s=e.changedTouches[0];n.$_vclosepopover_touchPoint=s,n.addEventListener("touchend",qu),n.addEventListener("touchcancel",Yu)}}function qu(e){const n=e.currentTarget;if(n.$_vclosepopover_touch=!1,e.changedTouches.length===1){const s=e.changedTouches[0],a=n.$_vclosepopover_touchPoint;e.closePopover=Math.abs(s.screenY-a.screenY)<20&&Math.abs(s.screenX-a.screenX)<20,e.closeAllPopover=n.$_closePopoverModifiers&&!!n.$_closePopoverModifiers.all}}function Yu(e){const n=e.currentTarget;n.$_vclosepopover_touch=!1}var jh={bind(e,{value:n,modifiers:s}){e.$_closePopoverModifiers=s,(typeof n>"u"||n)&&Ji(e)},update(e,{value:n,oldValue:s,modifiers:a}){e.$_closePopoverModifiers=a,n!==s&&(typeof n>"u"||n?Ji(e):qi(e))},unbind(e){qi(e)}};const us=Oe,Ih=Ku,Hh=lr;function Vh(e,n={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,$u(Oe,n),e.directive("tooltip",Ku),e.directive("close-popper",jh),e.component("v-tooltip",Gi),e.component("VTooltip",Gi),e.component("v-dropdown",lr),e.component("VDropdown",lr),e.component("v-menu",Hi),e.component("VMenu",Hi))}const Gh={version:"1.0.0-beta.19",install:Vh,options:Oe};let ds=null;typeof window<"u"?ds=window.Vue:typeof Qt<"u"&&(ds=Qt.Vue),ds&&ds.use(Gh);const Kh={name:"NcPopoverTriggerProvider",provide(){return{"NcPopover:trigger:shown":()=>this.shown,"NcPopover:trigger:attrs":()=>this.triggerAttrs}},props:{shown:{type:Boolean,required:!0},popupRole:{type:String,default:void 0}},computed:{triggerAttrs(){return{"aria-haspopup":this.popupRole,"aria-expanded":this.shown.toString()}}},render(){var e,n;return(n=(e=this.$scopedSlots).default)==null?void 0:n.call(e,{attrs:this.triggerAttrs})}},Wh=null,Jh=null;var qh=se(Kh,Wh,Jh,!1,null,null,null,null);const Yh=qh.exports,Zh={name:"NcPopover",components:{Dropdown:Hh,NcPopoverTriggerProvider:Yh},inheritAttrs:!1,props:{shown:{type:Boolean,default:!1},popupRole:{type:String,default:void 0,validator:e=>["menu","listbox","tree","grid","dialog","true"].includes(e)},popoverBaseClass:{type:String,default:""},focusTrap:{type:Boolean,default:!0},setReturnFocus:{default:void 0,type:[HTMLElement,SVGElement,String,Boolean]}},emits:["after-show","after-hide","update:shown"],data(){return{internalShown:this.shown}},watch:{shown(e){this.internalShown=e},internalShown(e){this.$emit("update:shown",e)}},mounted(){this.checkTriggerA11y()},beforeDestroy(){this.clearFocusTrap(),this.clearEscapeStopPropagation()},methods:{checkTriggerA11y(){var e;(e=window.OC)!=null&&e.debug&&(this.getPopoverTriggerContainerElement().querySelector("[aria-expanded]")||Y.util.warn("It looks like you are using a custom button as a or other popover #trigger. If you are not using as a trigger, you need to bind attrs from the #trigger slot props to your custom button. See docs for an example."))},removeFloatingVueAriaDescribedBy(){const e=this.getPopoverTriggerContainerElement().querySelectorAll("[data-popper-shown]");for(const n of e)n.removeAttribute("aria-describedby")},getPopoverContentElement(){var e,n;return(n=(e=this.$refs.popover)==null?void 0:e.$refs.popperContent)==null?void 0:n.$el},getPopoverTriggerContainerElement(){return this.$refs.popover.$refs.reference},async useFocusTrap(){if(await this.$nextTick(),!this.focusTrap)return;const e=this.getPopoverContentElement();e&&(this.$focusTrap=Eu(e,{escapeDeactivates:!1,allowOutsideClick:!0,setReturnFocus:this.setReturnFocus,trapStack:Us()}),this.$focusTrap.activate())},clearFocusTrap(e={}){var n;try{(n=this.$focusTrap)==null||n.deactivate(e),this.$focusTrap=null}catch(s){console.warn(s)}},addEscapeStopPropagation(){this.getPopoverContentElement()?.addEventListener("keydown",this.stopKeydownEscapeHandler)},clearEscapeStopPropagation(){this.getPopoverContentElement()?.removeEventListener("keydown",this.stopKeydownEscapeHandler)},stopKeydownEscapeHandler(e){e.type==="keydown"&&e.key==="Escape"&&e.stopPropagation()},afterShow(){this.removeFloatingVueAriaDescribedBy(),this.$nextTick(()=>{this.$emit("after-show"),this.useFocusTrap(),this.addEscapeStopPropagation()})},afterHide(){this.$emit("after-hide"),this.clearFocusTrap(),this.clearEscapeStopPropagation()}}};var Xh=function(){var e=this,n=e._self._c;return n("Dropdown",e._g(e._b({ref:"popover",attrs:{distance:10,"arrow-padding":10,"no-auto-focus":!0,"popper-class":e.popoverBaseClass,shown:e.internalShown},on:{"update:shown":function(s){e.internalShown=s},"apply-show":e.afterShow,"apply-hide":e.afterHide},scopedSlots:e._u([{key:"popper",fn:function(){return[e._t("default")]},proxy:!0}],null,!0)},"Dropdown",e.$attrs,!1),e.$listeners),[n("NcPopoverTriggerProvider",{attrs:{shown:e.internalShown,"popup-role":e.popupRole},scopedSlots:e._u([{key:"default",fn:function(s){return[e._t("trigger",null,null,s)]}}],null,!0)})],1)},Qh=[],e4=se(Zh,Xh,Qh,!1,null,null,null,null);const t4=e4.exports,n4={name:"DotsHorizontalIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var s4=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon dots-horizontal-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},a4=[],r4=se(n4,s4,a4,!1,null,null,null,null);const o4=r4.exports;Ws(tf);const Yi=".focusable",i4={name:"NcActions",components:{NcButton:Fu,DotsHorizontal:o4,NcPopover:t4},provide(){return{"NcActions:isSemanticMenu":_n(()=>this.actionsMenuSemanticType==="menu")}},props:{open:{type:Boolean,default:!1},manualOpen:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1},forceName:{type:Boolean,default:!1},menuName:{type:String,default:null},forceSemanticType:{type:String,default:null,validator(e){return["dialog","menu","expanded","tooltip"].includes(e)}},primary:{type:Boolean,default:!1},type:{type:String,validator(e){return["primary","secondary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].indexOf(e)!==-1},default:null},defaultIcon:{type:String,default:""},ariaLabel:{type:String,default:Ve("Actions")},ariaHidden:{type:Boolean,default:null},placement:{type:String,default:"bottom"},boundariesElement:{type:Element,default:()=>document.querySelector("body")},container:{type:[String,Object,Element,Boolean],default:"body"},disabled:{type:Boolean,default:!1},inline:{type:Number,default:0}},emits:["open","update:open","close","focus","blur","click"],setup(){const e="menu-".concat(Br());return{randomId:e,triggerRandomId:"trigger-".concat(e)}},data(){return{opened:this.open,focusIndex:0,actionsMenuSemanticType:"unknown",externalFocusTrapStack:[]}},computed:{triggerBtnType(){return this.type||(this.primary?"primary":this.menuName?"secondary":"tertiary")},config(){return{menu:{popupRole:"menu",withArrowNavigation:!0,withTabNavigation:!1,withFocusTrap:!1,triggerA11yAttr:{"aria-controls":this.opened?this.randomId:null},popoverContainerA11yAttrs:{},popoverUlA11yAttrs:{id:this.randomId,role:"menu"}},expanded:{popupRole:void 0,withArrowNavigation:!1,withTabNavigation:!0,withFocusTrap:!1,triggerA11yAttr:{},popoverContainerA11yAttrs:{},popoverUlA11yAttrs:{}},dialog:{popupRole:"dialog",withArrowNavigation:!1,withTabNavigation:!0,withFocusTrap:!0,triggerA11yAttr:{"aria-controls":this.opened?this.randomId:null},popoverContainerA11yAttrs:{id:this.randomId,role:"dialog","aria-labelledby":this.triggerRandomId,"aria-modal":"true"},popoverUlA11yAttrs:{}},tooltip:{popupRole:void 0,withArrowNavigation:!1,withTabNavigation:!1,withFocusTrap:!1,triggerA11yAttr:{},popoverContainerA11yAttrs:{},popoverUlA11yAttrs:{}},unknown:{popupRole:void 0,role:void 0,withArrowNavigation:!0,withTabNavigation:!1,withFocusTrap:!0,triggerA11yAttr:{},popoverContainerA11yAttrs:{},popoverUlA11yAttrs:{}}}[this.actionsMenuSemanticType]}},watch:{open(e){e!==this.opened&&(this.opened=e)},opened(){this.intersectIntoCurrentFocusTrapStack()}},methods:{getActionName(e){var n,s,a,r,o;return(o=(a=(s=(n=e?.componentOptions)==null?void 0:n.Ctor)==null?void 0:s.extendOptions)==null?void 0:a.name)!=null?o:(r=e?.componentOptions)==null?void 0:r.tag},intersectIntoCurrentFocusTrapStack(){if(!this.config.withFocusTrap)if(this.opened){this.externalFocusTrapStack=[...Us()];for(const e of this.externalFocusTrapStack)e.pause()}else{for(const e of this.externalFocusTrapStack)e.unpause();this.externalFocusTrapStack=[]}},isValidSingleAction(e){return["NcActionButton","NcActionLink","NcActionRouter"].includes(this.getActionName(e))},isIconUrl(e){try{return!!new URL(e,e.startsWith("/")?window.location.origin:void 0)}catch{return!1}},openMenu(e){this.opened||(this.opened=!0,this.$emit("update:open",!0),this.$emit("open"))},async closeMenu(e=!0){var n,s;this.opened&&(await this.$nextTick(),this.opened=!1,(n=this.$refs.popover)==null||n.clearFocusTrap({returnFocus:e}),this.$emit("update:open",!1),this.$emit("close"),this.focusIndex=0,e&&((s=this.$refs.menuButton)==null||s.$el.focus()))},onOpen(){this.$nextTick(()=>{this.focusFirstAction(null),this.resizePopover()})},resizePopover(){const e=this.$refs.menu.closest(".v-popper__inner"),n=Number.parseFloat(window.getComputedStyle(e).maxHeight);if(this.$refs.menu.clientHeight>n){let s=0,a=0;for(const r of this.$refs.menuList.children){if(s+r.clientHeight/2>n){e.style.height="".concat(s-a/2,"px");break}a=r.clientHeight,s+=a}}},getCurrentActiveMenuItemElement(){return this.$refs.menu.querySelector("li.active")},getFocusableMenuItemElements(){return this.$refs.menu.querySelectorAll(Yi)},onMouseFocusAction(e){if(document.activeElement===e.target)return;const n=e.target.closest("li");if(n&&this.$refs.menu.contains(n)){const s=n.querySelector(Yi);if(s){const a=[...this.getFocusableMenuItemElements()].indexOf(s);a>-1&&(this.focusIndex=a,this.focusAction())}}},onKeydown(e){if(e.key==="Tab"){if(this.config.withFocusTrap)return;if(!this.config.withTabNavigation){this.closeMenu(!0);return}e.preventDefault();const n=this.getFocusableMenuItemElements(),s=[...n].indexOf(document.activeElement);if(s===-1)return;const a=e.shiftKey?s-1:s+1;(a<0||a===n.length)&&this.closeMenu(!0),this.focusIndex=a,this.focusAction();return}this.config.withArrowNavigation&&(e.key==="ArrowUp"&&this.focusPreviousAction(e),e.key==="ArrowDown"&&this.focusNextAction(e),e.key==="PageUp"&&this.focusFirstAction(e),e.key==="PageDown"&&this.focusLastAction(e)),e.key==="Escape"&&(this.closeMenu(),e.preventDefault())},onTriggerKeydown(e){e.key==="Escape"&&this.actionsMenuSemanticType==="tooltip"&&this.closeMenu()},removeCurrentActive(){const e=this.$refs.menu.querySelector("li.active");e&&e.classList.remove("active")},focusAction(){const e=this.getFocusableMenuItemElements()[this.focusIndex];if(e){this.removeCurrentActive();const n=e.closest("li.action");e.focus(),n&&n.classList.add("active")}},focusPreviousAction(e){this.opened&&(this.focusIndex===0?this.focusLastAction(e):(this.preventIfEvent(e),this.focusIndex=this.focusIndex-1),this.focusAction())},focusNextAction(e){if(this.opened){const n=this.getFocusableMenuItemElements().length-1;this.focusIndex===n?this.focusFirstAction(e):(this.preventIfEvent(e),this.focusIndex=this.focusIndex+1),this.focusAction()}},focusFirstAction(e){if(this.opened){this.preventIfEvent(e);const n=[...this.getFocusableMenuItemElements()].findIndex(s=>s.getAttribute("aria-checked")==="true"&&s.getAttribute("role")==="menuitemradio");this.focusIndex=n>-1?n:0,this.focusAction()}},focusLastAction(e){this.opened&&(this.preventIfEvent(e),this.focusIndex=this.getFocusableMenuItemElements().length-1,this.focusAction())},preventIfEvent(e){e&&(e.preventDefault(),e.stopPropagation())},onFocus(e){this.$emit("focus",e)},onBlur(e){this.$emit("blur",e),this.actionsMenuSemanticType==="tooltip"&&this.$refs.menu&&this.getFocusableMenuItemElements().length===0&&this.closeMenu(!1)},onClick(e){this.$emit("click",e)}},render(e){const n=(this.$slots.default||[]).filter(l=>this.getActionName(l));if(n.length===0)return;let s=n.filter(this.isValidSingleAction);this.forceMenu&&s.length>0&&this.inline>0&&(Y.util.warn("Specifying forceMenu will ignore any inline actions rendering."),s=[]);const a=s.slice(0,this.inline),r=n.filter(l=>!a.includes(l));if(this.forceSemanticType)this.actionsMenuSemanticType=this.forceSemanticType;else{const l=["NcActionInput","NcActionTextEditable"],u=["NcActionButton","NcActionButtonGroup","NcActionCheckbox","NcActionRadio"],d=["NcActionLink","NcActionRouter"],c=r.some(y=>l.includes(this.getActionName(y))),f=r.some(y=>u.includes(this.getActionName(y))),h=r.some(y=>d.includes(this.getActionName(y)));c?this.actionsMenuSemanticType="dialog":f?this.actionsMenuSemanticType="menu":h?this.actionsMenuSemanticType="expanded":n.filter(y=>this.getActionName(y).startsWith("NcAction")).length===n.length?this.actionsMenuSemanticType="tooltip":this.actionsMenuSemanticType="unknown"}const o=l=>{var u,d,c,f,h,y,_,L,b,D,S,R,B,G,X,J,U,V,C,w,m,g,x,T,F,P,k,$,z,A;const W=(d=(u=l?.componentOptions)==null?void 0:u.propsData)==null?void 0:d.icon,O=(y=(h=(f=(c=l?.data)==null?void 0:c.scopedSlots)==null?void 0:f.icon())==null?void 0:h[0])!=null?y:this.isIconUrl(W)?e("img",{class:"action-item__menutoggle__icon",attrs:{src:W,alt:""}}):e("span",{class:["icon",W]}),ae=((_=l?.data)==null?void 0:_.attrs)||{},H=(b=(L=l?.componentOptions)==null?void 0:L.listeners)==null?void 0:b.click,le=(G=(B=(R=(S=(D=l?.componentOptions)==null?void 0:D.children)==null?void 0:S[0])==null?void 0:R.text)==null?void 0:B.trim)==null?void 0:G.call(B),he=((J=(X=l?.componentOptions)==null?void 0:X.propsData)==null?void 0:J.ariaLabel)||le,et=this.forceName?le:"";let Ae=(V=(U=l?.componentOptions)==null?void 0:U.propsData)==null?void 0:V.title;this.forceName||Ae||(Ae=le);const tt={...(w=(C=l?.componentOptions)==null?void 0:C.propsData)!=null?w:{}},Hn=["submit","reset"].includes(tt.type)?tt.modelValue:"button";return delete tt.modelValue,delete tt.type,e("NcButton",{class:["action-item action-item--single",(m=l?.data)==null?void 0:m.staticClass,(g=l?.data)==null?void 0:g.class],attrs:{...ae,"aria-label":he,title:Ae},ref:(x=l?.data)==null?void 0:x.ref,props:{type:this.type||(et?"secondary":"tertiary"),disabled:this.disabled||((F=(T=l?.componentOptions)==null?void 0:T.propsData)==null?void 0:F.disabled),pressed:(k=(P=l?.componentOptions)==null?void 0:P.propsData)==null?void 0:k.modelValue,nativeType:Hn,...tt},on:{focus:this.onFocus,blur:this.onBlur,"update:pressed":(A=(z=($=l?.componentOptions)==null?void 0:$.listeners)==null?void 0:z["update:modelValue"])!=null?A:()=>{},...!!H&&{click:nt=>{H&&H(nt)}}}},[e("template",{slot:"icon"},[O]),et])},i=l=>{var u,d;const c=((u=this.$slots.icon)==null?void 0:u[0])||(this.defaultIcon?e("span",{class:["icon",this.defaultIcon]}):e("DotsHorizontal",{props:{size:20}}));return e("NcPopover",{ref:"popover",props:{delay:0,handleResize:!0,shown:this.opened,placement:this.placement,boundary:this.boundariesElement,container:this.container,popoverBaseClass:"action-item__popper",popupRole:this.config.popupRole,setReturnFocus:this.config.withFocusTrap?(d=this.$refs.menuButton)==null?void 0:d.$el:null,focusTrap:this.config.withFocusTrap},attrs:{delay:0,handleResize:!0,shown:this.opened,placement:this.placement,boundary:this.boundariesElement,container:this.container,...this.manualOpen&&{triggers:[]}},on:{show:this.openMenu,"apply-show":this.onOpen,hide:this.closeMenu}},[e("NcButton",{class:"action-item__menutoggle",props:{type:this.triggerBtnType,disabled:this.disabled},slot:"trigger",ref:"menuButton",attrs:{id:this.triggerRandomId,"aria-label":this.menuName?null:this.ariaLabel,...this.config.triggerA11yAttr},on:{focus:this.onFocus,blur:this.onBlur,click:this.onClick,keydown:this.onTriggerKeydown}},[e("template",{slot:"icon"},[c]),this.menuName]),e("div",{class:{open:this.opened},attrs:{tabindex:"-1",...this.config.popoverContainerA11yAttrs},on:{keydown:this.onKeydown,mousemove:this.onMouseFocusAction},ref:"menu"},[e("ul",{attrs:{tabindex:"-1",...this.config.popoverUlA11yAttrs},ref:"menuList"},[l])])])};return n.length===1&&s.length===1&&!this.forceMenu?o(n[0]):(this.$nextTick(()=>{this.opened&&this.$refs.menu&&(this.resizePopover(),(this.$refs.menu.querySelector("li.active")||[]).length===0&&this.focusFirstAction())}),a.length>0&&this.inline>0?e("div",{class:["action-items","action-item--".concat(this.triggerBtnType)]},[...a.map(o),r.length>0?e("div",{class:["action-item",{"action-item--open":this.opened}]},[i(r)]):null]):e("div",{class:["action-item action-item--default-popover","action-item--".concat(this.triggerBtnType),{"action-item--open":this.opened}]},[i(n)]))}},l4=null,u4=null;var d4=se(i4,l4,u4,!1,null,"482dabc2",null,null);const c4=d4.exports;us.themes.tooltip.html=!1,us.themes.tooltip.delay={show:500,hide:200},us.themes.tooltip.distance=10,us.themes.tooltip["arrow-padding"]=3;const m4={name:"ChevronRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var p4=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon chevron-right-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},g4=[],f4=se(m4,p4,g4,!1,null,null,null,null);const h4=f4.exports,v4={name:"CloseIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var y4=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon close-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},x4=[],w4=se(v4,y4,x4,!1,null,null,null,null);const C4=w4.exports;Ws(nf,af);function _4(e,n){let s,a,r=n,o;this.start=function(){o=!0,a=new Date,s=setTimeout(e,r)},this.pause=function(){o=!1,clearTimeout(s),r-=new Date-a},this.clear=function(){o=!1,clearTimeout(s),r=0},this.getTimeLeft=function(){return o&&(this.pause(),this.start()),r},this.getStateRunning=function(){return o},this.start()}const T4={name:"ChevronLeftIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var b4=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon chevron-left-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},E4=[],F4=se(T4,b4,E4,!1,null,null,null,null);const S4=F4.exports,A4={name:"PauseIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var k4=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon pause-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M14,19H18V5H14M6,19H10V5H6V19Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},N4=[],L4=se(A4,k4,N4,!1,null,null,null,null);const P4=L4.exports,D4={name:"PlayIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var B4=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon play-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M8,5.14V19.14L19,12.14L8,5.14Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},$4=[],U4=se(D4,B4,$4,!1,null,null,null,null);const M4=U4.exports,z4={name:"NcModal",components:{NcActions:c4,ChevronLeft:S4,ChevronRight:h4,Close:C4,Pause:P4,Play:M4,NcButton:Fu},directives:{tooltip:Ih},props:{name:{type:String,default:""},hasPrevious:{type:Boolean,default:!1},hasNext:{type:Boolean,default:!1},outTransition:{type:Boolean,default:!1},enableSlideshow:{type:Boolean,default:!1},slideshowDelay:{type:Number,default:5e3},slideshowPaused:{type:Boolean,default:!1},enableSwipe:{type:Boolean,default:!0},spreadNavigation:{type:Boolean,default:!1},size:{type:String,default:"normal",validator:e=>["small","normal","large","full"].includes(e)},canClose:{type:Boolean,default:!0},closeOnClickOutside:{type:Boolean,default:!0},dark:{type:Boolean,default:!1},container:{type:[String,null],default:"body"},closeButtonContained:{type:Boolean,default:!0},additionalTrapElements:{type:Array,default:()=>[]},inlineActions:{type:Number,default:0},show:{type:Boolean,default:void 0},labelId:{type:String,default:""},setReturnFocus:{default:void 0,type:[HTMLElement,SVGElement,String,Boolean]}},emits:["previous","next","close","update:show"],data(){return{mc:null,playing:!1,slideshowTimeout:null,iconSize:24,focusTrap:null,randId:Br(),internalShow:!0}},computed:{modalLabelId(){return this.labelId||"modal-name-".concat(this.randId)},showModal(){return this.show===void 0?this.internalShow:this.show},modalTransitionName(){return"modal-".concat(this.outTransition?"out":"in")},playPauseName(){return this.playing?Ve("Pause slideshow"):Ve("Start slideshow")},cssVariables(){return{"--slideshow-duration":this.slideshowDelay+"ms","--icon-size":this.iconSize+"px"}},closeButtonAriaLabel(){return Ve("Close")},prevButtonAriaLabel(){return Ve("Previous")},nextButtonAriaLabel(){return Ve("Next")}},watch:{slideshowPaused(e){this.slideshowTimeout&&(e?this.slideshowTimeout.pause():this.slideshowTimeout.start())},additionalTrapElements(e){if(this.focusTrap){const n=this.$refs.mask;this.focusTrap.updateContainerElements([n,...e])}}},beforeMount(){window.addEventListener("keydown",this.handleKeydown)},beforeDestroy(){window.removeEventListener("keydown",this.handleKeydown),this.mc.stop()},mounted(){!this.name&&!this.labelId&&Y.util.warn("[NcModal] You need either set the name or set a `labelId` for accessibility."),this.useFocusTrap(),this.mc=Fg(this.$refs.mask,{onSwipeEnd:this.handleSwipe}),this.container&&(this.container==="body"?document.body.insertBefore(this.$el,document.body.lastChild):document.querySelector(this.container).appendChild(this.$el))},destroyed(){this.clearFocusTrap(),this.$el.remove()},methods:{t:Ve,previous(e){this.hasPrevious&&(e&&this.resetSlideshow(),this.$emit("previous",e))},next(e){this.hasNext&&(e&&this.resetSlideshow(),this.$emit("next",e))},close(e){this.canClose&&(this.internalShow=!1,this.$emit("update:show",!1),setTimeout(()=>{this.$emit("close",e)},300))},handleClickModalWrapper(e){this.closeOnClickOutside&&this.close(e)},handleKeydown(e){if(e.key==="Escape"){const s=Us();return s.length>0&&s[s.length-1]!==this.focusTrap?void 0:this.close(e)}const n={ArrowLeft:this.previous,ArrowRight:this.next};if(n[e.key])return document.activeElement&&!this.$el.contains(document.activeElement)?void 0:n[e.key](e)},handleSwipe(e,n){this.enableSwipe&&(n==="left"?this.next(e):n==="right"&&this.previous(e))},togglePlayPause(){this.playing=!this.playing,this.playing?this.handleSlideshow():this.clearSlideshowTimeout()},resetSlideshow(){this.playing=!this.playing,this.clearSlideshowTimeout(),this.$nextTick(function(){this.togglePlayPause()})},handleSlideshow(){this.playing=!0,this.hasNext?this.slideshowTimeout=new _4(()=>{this.next(),this.handleSlideshow()},this.slideshowDelay):(this.playing=!1,this.clearSlideshowTimeout())},clearSlideshowTimeout(){this.slideshowTimeout&&this.slideshowTimeout.clear()},async useFocusTrap(){if(!this.showModal||this.focusTrap)return;const e=this.$refs.mask;await this.$nextTick();const n={allowOutsideClick:!0,fallbackFocus:e,trapStack:Us(),escapeDeactivates:!1,setReturnFocus:this.setReturnFocus};this.focusTrap=Eu([e,...this.additionalTrapElements],n),this.focusTrap.activate()},clearFocusTrap(){var e;this.focusTrap&&((e=this.focusTrap)==null||e.deactivate(),this.focusTrap=null)}}};var O4=function(){var e=this,n=e._self._c;return n("transition",{attrs:{name:"fade",appear:""},on:{"after-enter":e.useFocusTrap,"before-leave":e.clearFocusTrap}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.showModal,expression:"showModal"}],ref:"mask",staticClass:"modal-mask",class:{"modal-mask--dark":e.dark||!e.closeButtonContained||e.hasPrevious||e.hasNext},style:e.cssVariables,attrs:{role:"dialog","aria-modal":"true","aria-labelledby":e.modalLabelId,"aria-describedby":"modal-description-"+e.randId,tabindex:"-1"}},[n("transition",{attrs:{name:"fade-visibility",appear:""}},[n("div",{staticClass:"modal-header",attrs:{"data-theme-dark":""}},[e.name.trim()!==""?n("h2",{staticClass:"modal-header__name",attrs:{id:"modal-name-"+e.randId}},[e._v(" "+e._s(e.name)+" ")]):e._e(),n("div",{staticClass:"icons-menu"},[e.hasNext&&e.enableSlideshow?n("button",{directives:[{name:"tooltip",rawName:"v-tooltip.auto",value:e.playPauseName,expression:"playPauseName",modifiers:{auto:!0}}],staticClass:"play-pause-icons",class:{"play-pause-icons--paused":e.slideshowPaused},attrs:{type:"button"},on:{click:e.togglePlayPause}},[e.playing?n("Pause",{staticClass:"play-pause-icons__pause",attrs:{size:e.iconSize}}):n("Play",{staticClass:"play-pause-icons__play",attrs:{size:e.iconSize}}),n("span",{staticClass:"hidden-visually"},[e._v(" "+e._s(e.playPauseName)+" ")]),e.playing?n("svg",{staticClass:"progress-ring",attrs:{height:"50",width:"50"}},[n("circle",{staticClass:"progress-ring__circle",attrs:{stroke:"white","stroke-width":"2",fill:"transparent",r:"15",cx:"25",cy:"25"}})]):e._e()],1):e._e(),n("NcActions",{staticClass:"header-actions",attrs:{inline:e.inlineActions}},[e._t("actions")],2),e.canClose&&!e.closeButtonContained?n("NcButton",{staticClass:"header-close",attrs:{"aria-label":e.closeButtonAriaLabel,type:"tertiary"},on:{click:e.close},scopedSlots:e._u([{key:"icon",fn:function(){return[n("Close",{attrs:{size:e.iconSize}})]},proxy:!0}],null,!1,1841713362)}):e._e()],1)])]),n("transition",{attrs:{name:e.modalTransitionName,appear:""}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.showModal,expression:"showModal"}],staticClass:"modal-wrapper",class:["modal-wrapper--".concat(e.size),{"modal-wrapper--spread-navigation":e.spreadNavigation}],on:{mousedown:function(s){return s.target!==s.currentTarget?null:e.handleClickModalWrapper.apply(null,arguments)}}},[n("transition",{attrs:{name:"fade-visibility",appear:""}},[n("NcButton",{directives:[{name:"show",rawName:"v-show",value:e.hasPrevious,expression:"hasPrevious"}],staticClass:"prev",attrs:{type:"tertiary-no-background","aria-label":e.prevButtonAriaLabel},on:{click:e.previous},scopedSlots:e._u([{key:"icon",fn:function(){return[n("ChevronLeft",{attrs:{size:40}})]},proxy:!0}])})],1),n("div",{staticClass:"modal-container",attrs:{id:"modal-description-"+e.randId}},[e.canClose&&e.closeButtonContained?n("NcButton",{staticClass:"modal-container__close",attrs:{type:"tertiary","aria-label":e.closeButtonAriaLabel},on:{click:e.close},scopedSlots:e._u([{key:"icon",fn:function(){return[n("Close",{attrs:{size:20}})]},proxy:!0}],null,!1,2121748766)}):e._e(),n("div",{staticClass:"modal-container__content"},[e._t("default")],2)],1),n("transition",{attrs:{name:"fade-visibility",appear:""}},[n("NcButton",{directives:[{name:"show",rawName:"v-show",value:e.hasNext,expression:"hasNext"}],staticClass:"next",attrs:{type:"tertiary-no-background","aria-label":e.nextButtonAriaLabel},on:{click:e.next},scopedSlots:e._u([{key:"icon",fn:function(){return[n("ChevronRight",{attrs:{size:40}})]},proxy:!0}])})],1)],1)])],1)])},R4=[],j4=se(z4,O4,R4,!1,null,"30f7224b",null,null);const I4=j4.exports;Ag(I4);function H4(e,n,s){const a=document.querySelector(`#initial-state-${e}-${n}`);if(a===null){if(s!==void 0)return s;throw new Error(`Could not find initial state ${n} of ${e}`)}try{return JSON.parse(atob(a.value))}catch{throw new Error(`Could not parse initial state ${n} of ${e}`)}}const V4={name:"NcLoadingIcon",props:{size:{type:Number,default:20},appearance:{type:String,validator(e){return["auto","light","dark"].includes(e)},default:"auto"},name:{type:String,default:""}},computed:{colors(){const e=["#777","#CCC"];return this.appearance==="light"?e:this.appearance==="dark"?e.reverse():["var(--color-loading-light)","var(--color-loading-dark)"]}}};var G4=function(){var e=this,n=e._self._c;return n("span",{staticClass:"material-design-icon loading-icon",attrs:{"aria-label":e.name,role:"img"}},[n("svg",{attrs:{width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{fill:e.colors[0],d:"M12,4V2A10,10 0 1,0 22,12H20A8,8 0 1,1 12,4Z"}}),n("path",{attrs:{fill:e.colors[1],d:"M12,4V2A10,10 0 0,1 22,12H20A8,8 0 0,0 12,4Z"}},[e.name?n("title",[e._v(e._s(e.name))]):e._e()])])])},K4=[],W4=se(V4,G4,K4,!1,null,"551209a3",null,null);const J4=W4.exports;Ws();const q4={name:"CheckboxBlankOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Y4=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon checkbox-blank-outline-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},Z4=[],X4=se(q4,Y4,Z4,!1,null,null,null,null);const Q4=X4.exports,ev={name:"MinusBoxIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var tv=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon minus-box-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M17,13H7V11H17M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},nv=[],sv=se(ev,tv,nv,!1,null,null,null,null);const av=sv.exports,rv={name:"CheckboxMarkedIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var ov=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon checkbox-marked-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},iv=[],lv=se(rv,ov,iv,!1,null,null,null,null);const uv=lv.exports,dv={name:"RadioboxMarkedIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var cv=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon radiobox-marked-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},mv=[],pv=se(dv,cv,mv,!1,null,null,null,null);const gv=pv.exports,fv={name:"RadioboxBlankIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var hv=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon radiobox-blank-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},vv=[],yv=se(fv,hv,vv,!1,null,null,null,null);const xv=yv.exports,wv={name:"ToggleSwitchOffIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Cv=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon toggle-switch-off-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M17,7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7M7,15A3,3 0 0,1 4,12A3,3 0 0,1 7,9A3,3 0 0,1 10,12A3,3 0 0,1 7,15Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},_v=[],Tv=se(wv,Cv,_v,!1,null,null,null,null);const bv=Tv.exports,Ev={name:"ToggleSwitchIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Fv=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon toggle-switch-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M17,7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7M17,15A3,3 0 0,1 14,12A3,3 0 0,1 17,9A3,3 0 0,1 20,12A3,3 0 0,1 17,15Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},Sv=[],Av=se(Ev,Fv,Sv,!1,null,null,null,null);const kv=Av.exports,Gt="checkbox",qt="radio",rt="switch",Nn="button",Nv={name:"NcCheckboxContent",components:{NcLoadingIcon:J4},props:{id:{type:String,default:null},iconClass:{type:[String,Object],default:null},textClass:{type:[String,Object],default:null},type:{type:String,default:"checkbox",validator:e=>[Gt,qt,rt,Nn].includes(e)},buttonVariant:{type:Boolean,default:!1},isChecked:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},size:{type:Number,default:24}},computed:{isButtonType(){return this.type===Nn},checkboxRadioIconElement(){return this.type===qt?this.isChecked?gv:xv:this.type===rt?this.isChecked?kv:bv:this.indeterminate?av:this.isChecked?uv:Q4}}};var Lv=function(){var e=this,n=e._self._c;return n("span",{staticClass:"checkbox-content",class:{["checkbox-content-"+e.type]:!0,"checkbox-content--button-variant":e.buttonVariant,"checkbox-content--has-text":!!e.$slots.default},attrs:{id:e.isButtonType?void 0:"".concat(e.id,"-label")}},[n("span",{class:{"checkbox-content__icon":!0,"checkbox-content__icon--checked":e.isChecked,[e.iconClass]:!0},attrs:{"aria-hidden":!0,inert:""}},[e._t("icon",function(){return[e.loading?n("NcLoadingIcon"):e.buttonVariant?e._e():n(e.checkboxRadioIconElement,{tag:"component",attrs:{size:e.size}})]},{checked:e.isChecked,loading:e.loading})],2),e.$slots.default?n("span",{class:["checkbox-content__text",e.textClass]},[e._t("default")],2):e._e()])},Pv=[],Dv=se(Nv,Lv,Pv,!1,null,"02d27370",null,null);const Bv=Dv.exports,$v={name:"NcCheckboxRadioSwitch",components:{NcCheckboxContent:Bv},inheritAttrs:!1,props:{id:{type:String,default:()=>"checkbox-radio-switch-"+Br(),validator:e=>e.trim()!==""},wrapperId:{type:String,default:null},name:{type:String,default:null},ariaLabel:{type:String,default:""},type:{type:String,default:"checkbox",validator:e=>[Gt,qt,rt,Nn].includes(e)},buttonVariant:{type:Boolean,default:!1},buttonVariantGrouped:{type:String,default:"no",validator:e=>["no","vertical","horizontal"].includes(e)},checked:{type:[Boolean,Array,String],default:!1},value:{type:String,default:null},disabled:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},required:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},wrapperElement:{type:String,default:null}},emits:["update:checked"],computed:{dataAttrs(){return Object.fromEntries(Object.entries(this.$attrs).filter(([e])=>e.startsWith("data-")))},nonDataAttrs(){return Object.fromEntries(Object.entries(this.$attrs).filter(([e])=>!e.startsWith("data-")))},isButtonType(){return this.type===Nn},computedWrapperElement(){return this.isButtonType?"button":this.wrapperElement!==null?this.wrapperElement:"span"},listeners(){return this.isButtonType?{click:this.onToggle}:{change:this.onToggle}},size(){return this.type===rt?36:24},cssVars(){return{"--icon-size":this.size+"px","--icon-height":(this.type===rt?16:this.size)+"px"}},inputType(){return[Gt,qt,Nn].includes(this.type)?this.type:Gt},isChecked(){return this.value!==null?Array.isArray(this.checked)?[...this.checked].indexOf(this.value)>-1:this.checked===this.value:this.checked===!0},hasIndeterminate(){return[Gt,qt].includes(this.inputType)}},mounted(){if(this.name&&this.type===Gt&&!Array.isArray(this.checked))throw new Error("When using groups of checkboxes, the updated value will be an array.");if(this.name&&this.type===rt)throw new Error("Switches are not made to be used for data sets. Please use checkboxes instead.");if(typeof this.checked!="boolean"&&this.type===rt)throw new Error("Switches can only be used with boolean as checked prop.")},methods:{t:Ve,n:ef,onToggle(){if(this.disabled)return;if(this.type===qt){this.$emit("update:checked",this.value);return}if(this.type===rt){this.$emit("update:checked",!this.isChecked);return}if(typeof this.checked=="boolean"){this.$emit("update:checked",!this.checked);return}const e=this.getInputsSet().filter(n=>n.checked).map(n=>n.value);e.includes(this.value)?this.$emit("update:checked",e.filter(n=>n!==this.value)):this.$emit("update:checked",[...e,this.value])},getInputsSet(){return[...document.getElementsByName(this.name)]}}};var Uv=function(){var e=this,n=e._self._c;return n(e.computedWrapperElement,e._g(e._b({tag:"component",staticClass:"checkbox-radio-switch",class:{["checkbox-radio-switch-"+e.type]:e.type,"checkbox-radio-switch--checked":e.isChecked,"checkbox-radio-switch--disabled":e.disabled,"checkbox-radio-switch--indeterminate":e.hasIndeterminate?e.indeterminate:!1,"checkbox-radio-switch--button-variant":e.buttonVariant,"checkbox-radio-switch--button-variant-v-grouped":e.buttonVariant&&e.buttonVariantGrouped==="vertical","checkbox-radio-switch--button-variant-h-grouped":e.buttonVariant&&e.buttonVariantGrouped==="horizontal","button-vue":e.isButtonType},style:e.cssVars,attrs:{id:e.wrapperId,"aria-label":e.isButtonType&&e.ariaLabel?e.ariaLabel:void 0,type:e.isButtonType?"button":null}},"component",e.isButtonType?e.$attrs:e.dataAttrs,!1),e.isButtonType?e.listeners:null),[e.isButtonType?e._e():n("input",e._g(e._b({staticClass:"checkbox-radio-switch__input",attrs:{id:e.id,"aria-labelledby":!e.isButtonType&&!e.ariaLabel?"".concat(e.id,"-label"):null,"aria-label":e.ariaLabel||void 0,disabled:e.disabled,type:e.inputType,required:e.required,name:e.name},domProps:{value:e.value,checked:e.isChecked,indeterminate:e.hasIndeterminate?e.indeterminate:null}},"input",e.nonDataAttrs,!1),e.listeners)),n("NcCheckboxContent",{staticClass:"checkbox-radio-switch__content",attrs:{id:e.id,"icon-class":"checkbox-radio-switch__icon","text-class":"checkbox-radio-switch__text",type:e.type,indeterminate:e.hasIndeterminate?e.indeterminate:!1,"button-variant":e.buttonVariant,"is-checked":e.isChecked,loading:e.loading,size:e.size},nativeOn:{click:function(s){return e.onToggle.apply(null,arguments)}},scopedSlots:e._u([{key:"icon",fn:function(){return[e._t("icon")]},proxy:!0}],null,!0)},[e._t("default")],2)],1)},Mv=[],zv=se($v,Uv,Mv,!1,null,"919d07b7",null,null);const Ov=zv.exports;Ws(sf);const Rv={name:"HelpCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var jv=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon help-circle-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M15.07,11.25L14.17,12.17C13.45,12.89 13,13.5 13,15H11V14.5C11,13.39 11.45,12.39 12.17,11.67L13.41,10.41C13.78,10.05 14,9.55 14,9C14,7.89 13.1,7 12,7A2,2 0 0,0 10,9H8A4,4 0 0,1 12,5A4,4 0 0,1 16,9C16,9.88 15.64,10.67 15.07,11.25M13,19H11V17H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12C22,6.47 17.5,2 12,2Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},Iv=[],Hv=se(Rv,jv,Iv,!1,null,null,null,null);const Vv=Hv.exports,Gv={name:"NcSettingsSection",components:{HelpCircle:Vv},props:{name:{type:String,required:!0},description:{type:String,default:""},docUrl:{type:String,default:""},limitWidth:{type:Boolean,default:!0}},data(){return{docNameTranslated:Ve("External documentation for {name}",{name:this.name})}},computed:{forceLimitWidth(){var e,n;if(this.limitWidth)return!0;const[s]=(n=(e=window._oc_config)==null?void 0:e.version.split(".",2))!=null?n:[];return s&&Number.parseInt(s)>=30},hasDescription(){return this.description.length>0},hasDocUrl(){return this.docUrl.length>0}}};var Kv=function(){var e=this,n=e._self._c;return n("div",{staticClass:"settings-section",class:{"settings-section--limit-width":e.forceLimitWidth}},[n("h2",{staticClass:"settings-section__name"},[e._v(" "+e._s(e.name)+" "),e.hasDocUrl?n("a",{staticClass:"settings-section__info",attrs:{href:e.docUrl,title:e.docNameTranslated,"aria-label":e.docNameTranslated,target:"_blank",rel:"noreferrer nofollow"}},[n("HelpCircle",{attrs:{size:20}})],1):e._e()]),e.hasDescription?n("p",{staticClass:"settings-section__desc"},[e._v(" "+e._s(e.description)+" ")]):e._e(),e._t("default")],2)},Wv=[],Jv=se(Gv,Kv,Wv,!1,null,"251fe753",null,null);const qv=Jv.exports;function Yv(e,n,s,a,r,o,i,l){var u=typeof e=="function"?e.options:e;n&&(u.render=n,u.staticRenderFns=s,u._compiled=!0),a&&(u.functional=!0),o&&(u._scopeId="data-v-"+o);var d;if(i?(d=function(h){h=h||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!h&&typeof __VUE_SSR_CONTEXT__<"u"&&(h=__VUE_SSR_CONTEXT__),r&&r.call(this,h),h&&h._registeredComponents&&h._registeredComponents.add(i)},u._ssrRegister=d):r&&(d=l?function(){r.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:r),d)if(u.functional){u._injectStyles=d;var c=u.render;u.render=function(h,y){return d.call(y),c(h,y)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,d):[d]}return{exports:e,options:u}}const Zv={name:"AdminSettings",components:{NcCheckboxRadioSwitch:Ov,NcSettingsSection:qv},data(){return{config:H4("password_policy","config")}},methods:{async updateBoolSetting(e){await this.setValue(e,this.config[e]?"1":"0")},async updateNumberSetting(e){if(!/^\d+$/.test(this.config[e])){let n=t("password_policy","Unknown error");switch(e){case"minLength":n=t("password_policy","Minimal length has to be a non negative number");break;case"historySize":n=t("password_policy","History size has to be a non negative number");break;case"expiration":n=t("password_policy","Expiration days have to be a non negative number");break;case"maximumLoginAttempts":n=t("password_policy","Maximum login attempts have to be a non negative number");break}yi(n);return}await this.setValue(e,this.config[e])},async setValue(e,n){OCP.AppConfig.setValue("password_policy",e,n,{success:()=>wg(t("password_policy","Settings saved")),error:()=>yi(t("password_policy","Error while saving settings"))})}}};var Xv=function(){var e=this,n=e._self._c;return n("NcSettingsSection",{attrs:{name:e.t("password_policy","Password policy")}},[n("ul",{staticClass:"password-policy__settings-list"},[n("li",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.config.minLength,expression:"config.minLength"}],attrs:{id:"password-policy__settings__min-length",min:"0",type:"number"},domProps:{value:e.config.minLength},on:{change:function(s){return e.updateNumberSetting("minLength")},input:function(s){s.target.composing||e.$set(e.config,"minLength",s.target.value)}}}),n("label",{attrs:{for:"password-policy__settings__min-length"}},[e._v(" "+e._s(e.t("password_policy","Minimum password length"))+" ")])]),n("li",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.config.historySize,expression:"config.historySize"}],attrs:{id:"password-policy-history-size",min:"0",type:"number"},domProps:{value:e.config.historySize},on:{change:function(s){return e.updateNumberSetting("historySize")},input:function(s){s.target.composing||e.$set(e.config,"historySize",s.target.value)}}}),n("label",{attrs:{for:"password-policy-history-size"}},[e._v(" "+e._s(e.t("password_policy","User password history"))+" ")])]),n("li",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.config.expiration,expression:"config.expiration"}],attrs:{id:"password-policy-expiration",min:"0",type:"number"},domProps:{value:e.config.expiration},on:{change:function(s){return e.updateNumberSetting("expiration")},input:function(s){s.target.composing||e.$set(e.config,"expiration",s.target.value)}}}),n("label",{attrs:{for:"password-policy-expiration"}},[e._v(" "+e._s(e.t("password_policy","Number of days until user password expires"))+" ")])]),n("li",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.config.maximumLoginAttempts,expression:"config.maximumLoginAttempts"}],attrs:{id:"password-policy_failed-login",min:"0",type:"number"},domProps:{value:e.config.maximumLoginAttempts},on:{change:function(s){return e.updateNumberSetting("maximumLoginAttempts")},input:function(s){s.target.composing||e.$set(e.config,"maximumLoginAttempts",s.target.value)}}}),n("label",{attrs:{for:"password-policy_failed-login"}},[e._v(" "+e._s(e.t("password_policy","Number of login attempts before the user account will be disabled until manual action is taken. (0 for no limit)"))+" ")]),n("p",{staticClass:"havibeenpwned-hint"},[e._v(" "+e._s(e.t("password_policy","Please note, this option is meant to protect attacked accounts. Disabled accounts have to be re-enabled manually by administration. Attackers that try to guess passwords of accounts will have their IP address blocked by the bruteforce protection independent from this setting."))+" ")])])]),n("ul",{staticClass:"password-policy__settings-list"},[n("li",[n("NcCheckboxRadioSwitch",{attrs:{checked:e.config.enforceNonCommonPassword,type:"switch"},on:{"update:checked":[function(s){return e.$set(e.config,"enforceNonCommonPassword",s)},function(s){return e.updateBoolSetting("enforceNonCommonPassword")}]}},[e._v(" "+e._s(e.t("password_policy","Forbid common passwords"))+" ")])],1),n("li",[n("NcCheckboxRadioSwitch",{attrs:{checked:e.config.enforceUpperLowerCase,type:"switch"},on:{"update:checked":[function(s){return e.$set(e.config,"enforceUpperLowerCase",s)},function(s){return e.updateBoolSetting("enforceUpperLowerCase")}]}},[e._v(" "+e._s(e.t("password_policy","Enforce upper and lower case characters"))+" ")])],1),n("li",[n("NcCheckboxRadioSwitch",{attrs:{checked:e.config.enforceNumericCharacters,type:"switch"},on:{"update:checked":[function(s){return e.$set(e.config,"enforceNumericCharacters",s)},function(s){return e.updateBoolSetting("enforceNumericCharacters")}]}},[e._v(" "+e._s(e.t("password_policy","Enforce numeric characters"))+" ")])],1),n("li",[n("NcCheckboxRadioSwitch",{attrs:{checked:e.config.enforceSpecialCharacters,type:"switch"},on:{"update:checked":[function(s){return e.$set(e.config,"enforceSpecialCharacters",s)},function(s){return e.updateBoolSetting("enforceSpecialCharacters")}]}},[e._v(" "+e._s(e.t("password_policy","Enforce special characters"))+" ")])],1),n("li",[n("NcCheckboxRadioSwitch",{attrs:{checked:e.config.enforceHaveIBeenPwned,type:"switch"},on:{"update:checked":[function(s){return e.$set(e.config,"enforceHaveIBeenPwned",s)},function(s){return e.updateBoolSetting("enforceHaveIBeenPwned")}]}},[e._v(" "+e._s(e.t("password_policy","Check password against the list of breached passwords from haveibeenpwned.com"))+" ")]),n("p",{staticClass:"havibeenpwned-hint"},[e._v(" "+e._s(e.t("password_policy","This check creates a hash of the password and sends the first 5 characters of this hash to the haveibeenpwned.com API to retrieve a list of all hashes that start with those. Then it checks on the Nextcloud instance if the password hash is in the result set."))+" ")])],1)])])},Qv=[],e1=Yv(Zv,Xv,Qv,!1,null,"08043576",null,null);const t1=e1.exports;Y.prototype.t=Ld,new Y({el:"#password_policy-settings",name:"AdminSettings",render:e=>e(t1)}); diff --git a/js/password_policy-settings.mjs.map b/js/password_policy-settings.mjs.map index db6902dd..f8918522 100644 --- a/js/password_policy-settings.mjs.map +++ b/js/password_policy-settings.mjs.map @@ -1 +1 @@ -{"version":3,"file":"password_policy-settings.mjs","sources":["../node_modules/@nextcloud/router/dist/index.js","../node_modules/dompurify/dist/purify.es.mjs","../node_modules/escape-html/index.js","../node_modules/@nextcloud/l10n/dist/index.mjs","../node_modules/vite-plugin-node-polyfills/shims/global/dist/index.js","../node_modules/vue/dist/vue.runtime.esm.js","../node_modules/vite-plugin-node-polyfills/shims/process/dist/index.js","../node_modules/path-browserify/index.js","../node_modules/toastify-js/src/toastify.js","../node_modules/lodash.get/index.js","../node_modules/node-gettext/lib/plurals.js","../node_modules/node-gettext/lib/gettext.js","../node_modules/@nextcloud/dialogs/node_modules/@nextcloud/l10n/dist/chunks/locale-BQFSYg2g.mjs","../node_modules/@nextcloud/dialogs/node_modules/@nextcloud/l10n/dist/gettext.mjs","../node_modules/@nextcloud/dialogs/dist/chunks/_plugin-vue2_normalizer-Ds4SJl6Q.mjs","../node_modules/@vueuse/shared/node_modules/vue-demi/lib/index.mjs","../node_modules/@vueuse/shared/index.mjs","../node_modules/@vueuse/core/node_modules/vue-demi/lib/index.mjs","../node_modules/@vueuse/core/index.mjs","../node_modules/@nextcloud/vue/dist/chunks/ScopeComponent-00_hPc9T.mjs","../node_modules/tabbable/dist/index.esm.js","../node_modules/focus-trap/dist/focus-trap.esm.js","../node_modules/@nextcloud/vue/dist/chunks/focusTrap-Cecv_gjR.mjs","../node_modules/@nextcloud/vue/node_modules/@nextcloud/l10n/dist/chunks/locale-BQFSYg2g.mjs","../node_modules/@nextcloud/vue/node_modules/@nextcloud/l10n/dist/gettext.mjs","../node_modules/@nextcloud/vue/dist/chunks/_l10n-DDx8P-X1.mjs","../node_modules/@nextcloud/vue/dist/chunks/GenRandomId-CMooMQt0.mjs","../node_modules/@nextcloud/vue/dist/chunks/_plugin-vue2_normalizer-D637Qkok.mjs","../node_modules/@nextcloud/vue/dist/Components/NcButton.mjs","../node_modules/floating-vue/node_modules/@floating-ui/core/dist/floating-ui.core.esm.js","../node_modules/floating-vue/node_modules/@floating-ui/dom/dist/floating-ui.dom.esm.js","../node_modules/floating-vue/dist/floating-vue.es.js","../node_modules/@nextcloud/vue/dist/chunks/NcPopover-VxUr4c6P.mjs","../node_modules/@nextcloud/vue/dist/chunks/DotsHorizontal-C0STD_HU.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcActions-CL3YRRgz.mjs","../node_modules/@nextcloud/vue/dist/Directives/Tooltip.mjs","../node_modules/@nextcloud/vue/dist/chunks/ChevronRight-BNa7yMja.mjs","../node_modules/@nextcloud/vue/dist/chunks/Close-1V1F2F-M.mjs","../node_modules/@nextcloud/vue/dist/Components/NcModal.mjs","../node_modules/@nextcloud/initial-state/dist/index.mjs","../node_modules/@nextcloud/vue/dist/Components/NcLoadingIcon.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_919d07b7_lang-ScT6WV__.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcCheckboxRadioSwitch-D2GbHtCS.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcSettingsSection-CFn4bRnA.mjs","../src/AdminSettings.vue","../src/settings.js"],"sourcesContent":["\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.linkTo = exports.imagePath = exports.getRootUrl = exports.generateUrl = exports.generateRemoteUrl = exports.generateOcsUrl = exports.generateFilePath = void 0;\n/**\n * Get an url with webroot to a file in an app\n *\n * @param {string} app the id of the app the file belongs to\n * @param {string} file the file path relative to the app folder\n * @return {string} URL with webroot to a file\n */\nconst linkTo = (app, file) => generateFilePath(app, '', file);\n\n/**\n * Creates a relative url for remote use\n *\n * @param {string} service id\n * @return {string} the url\n */\nexports.linkTo = linkTo;\nconst linkToRemoteBase = service => getRootUrl() + '/remote.php/' + service;\n\n/**\n * @brief Creates an absolute url for remote use\n * @param {string} service id\n * @return {string} the url\n */\nconst generateRemoteUrl = service => window.location.protocol + '//' + window.location.host + linkToRemoteBase(service);\n\n/**\n * Get the base path for the given OCS API service\n *\n * @param {string} url OCS API service url\n * @param {object} params parameters to be replaced into the service url\n * @param {UrlOptions} options options for the parameter replacement\n * @param {boolean} options.escape Set to false if parameters should not be URL encoded (default true)\n * @param {Number} options.ocsVersion OCS version to use (defaults to 2)\n * @return {string} Absolute path for the OCS URL\n */\nexports.generateRemoteUrl = generateRemoteUrl;\nconst generateOcsUrl = (url, params, options) => {\n const allOptions = Object.assign({\n ocsVersion: 2\n }, options || {});\n const version = allOptions.ocsVersion === 1 ? 1 : 2;\n return window.location.protocol + '//' + window.location.host + getRootUrl() + '/ocs/v' + version + '.php' + _generateUrlPath(url, params, options);\n};\nexports.generateOcsUrl = generateOcsUrl;\n/**\n * Generate a url path, which can contain parameters\n *\n * Parameters will be URL encoded automatically\n *\n * @param {string} url address (can contain placeholders e.g. /call/{token} would replace {token} with the value of params.token\n * @param {object} params parameters to be replaced into the address\n * @param {UrlOptions} options options for the parameter replacement\n * @return {string} Path part for the given URL\n */\nconst _generateUrlPath = (url, params, options) => {\n const allOptions = Object.assign({\n escape: true\n }, options || {});\n const _build = function (text, vars) {\n vars = vars || {};\n return text.replace(/{([^{}]*)}/g, function (a, b) {\n var r = vars[b];\n if (allOptions.escape) {\n return typeof r === 'string' || typeof r === 'number' ? encodeURIComponent(r.toString()) : encodeURIComponent(a);\n } else {\n return typeof r === 'string' || typeof r === 'number' ? r.toString() : a;\n }\n });\n };\n if (url.charAt(0) !== '/') {\n url = '/' + url;\n }\n return _build(url, params || {});\n};\n\n/**\n * Generate the url with webroot for the given relative url, which can contain parameters\n *\n * Parameters will be URL encoded automatically\n *\n * @param {string} url address (can contain placeholders e.g. /call/{token} would replace {token} with the value of params.token\n * @param {object} params parameters to be replaced into the url\n * @param {UrlOptions} options options for the parameter replacement\n * @param {boolean} options.noRewrite True if you want to force index.php being added\n * @param {boolean} options.escape Set to false if parameters should not be URL encoded (default true)\n * @return {string} URL with webroot for the given relative URL\n */\nconst generateUrl = (url, params, options) => {\n const allOptions = Object.assign({\n noRewrite: false\n }, options || {});\n if (window?.OC?.config?.modRewriteWorking === true && !allOptions.noRewrite) {\n return getRootUrl() + _generateUrlPath(url, params, options);\n }\n return getRootUrl() + '/index.php' + _generateUrlPath(url, params, options);\n};\n\n/**\n * Get the path with webroot to an image file\n * if no extension is given for the image, it will automatically decide\n * between .png and .svg based on what the browser supports\n *\n * @param {string} app the app id to which the image belongs\n * @param {string} file the name of the image file\n * @return {string}\n */\nexports.generateUrl = generateUrl;\nconst imagePath = (app, file) => {\n if (file.indexOf('.') === -1) {\n //if no extension is given, use svg\n return generateFilePath(app, 'img', file + '.svg');\n }\n return generateFilePath(app, 'img', file);\n};\n\n/**\n * Get the url with webroot for a file in an app\n *\n * @param {string} app the id of the app\n * @param {string} type the type of the file to link to (e.g. css,img,ajax.template)\n * @param {string} file the filename\n * @return {string} URL with webroot for a file in an app\n */\nexports.imagePath = imagePath;\nconst generateFilePath = (app, type, file) => {\n const isCore = window?.OC?.coreApps?.indexOf(app) !== -1;\n let link = getRootUrl();\n if (file.substring(file.length - 3) === 'php' && !isCore) {\n link += '/index.php/apps/' + app;\n if (file !== 'index.php') {\n link += '/';\n if (type) {\n link += encodeURI(type + '/');\n }\n link += file;\n }\n } else if (file.substring(file.length - 3) !== 'php' && !isCore) {\n link = window?.OC?.appswebroots?.[app];\n if (type) {\n link += '/' + type + '/';\n }\n if (link.substring(link.length - 1) !== '/') {\n link += '/';\n }\n link += file;\n } else {\n if ((app === 'settings' || app === 'core' || app === 'search') && type === 'ajax') {\n link += '/index.php/';\n } else {\n link += '/';\n }\n if (!isCore) {\n link += 'apps/';\n }\n if (app !== '') {\n app += '/';\n link += app;\n }\n if (type) {\n link += type + '/';\n }\n link += file;\n }\n return link;\n};\n\n/**\n * Return the web root path where this Nextcloud instance\n * is accessible, with a leading slash.\n * For example \"/nextcloud\".\n *\n * @return {string} web root path\n */\nexports.generateFilePath = generateFilePath;\nconst getRootUrl = () => window?.OC?.webroot || '';\nexports.getRootUrl = getRootUrl;\n//# sourceMappingURL=index.js.map","/*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */\n\nconst {\n entries,\n setPrototypeOf,\n isFrozen,\n getPrototypeOf,\n getOwnPropertyDescriptor\n} = Object;\nlet {\n freeze,\n seal,\n create\n} = Object; // eslint-disable-line import/no-mutable-exports\nlet {\n apply,\n construct\n} = typeof Reflect !== 'undefined' && Reflect;\nif (!freeze) {\n freeze = function freeze(x) {\n return x;\n };\n}\nif (!seal) {\n seal = function seal(x) {\n return x;\n };\n}\nif (!apply) {\n apply = function apply(fun, thisValue, args) {\n return fun.apply(thisValue, args);\n };\n}\nif (!construct) {\n construct = function construct(Func, args) {\n return new Func(...args);\n };\n}\nconst arrayForEach = unapply(Array.prototype.forEach);\nconst arrayPop = unapply(Array.prototype.pop);\nconst arrayPush = unapply(Array.prototype.push);\nconst stringToLowerCase = unapply(String.prototype.toLowerCase);\nconst stringToString = unapply(String.prototype.toString);\nconst stringMatch = unapply(String.prototype.match);\nconst stringReplace = unapply(String.prototype.replace);\nconst stringIndexOf = unapply(String.prototype.indexOf);\nconst stringTrim = unapply(String.prototype.trim);\nconst objectHasOwnProperty = unapply(Object.prototype.hasOwnProperty);\nconst regExpTest = unapply(RegExp.prototype.test);\nconst typeErrorCreate = unconstruct(TypeError);\n\n/**\n * Creates a new function that calls the given function with a specified thisArg and arguments.\n *\n * @param {Function} func - The function to be wrapped and called.\n * @returns {Function} A new function that calls the given function with a specified thisArg and arguments.\n */\nfunction unapply(func) {\n return function (thisArg) {\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n return apply(func, thisArg, args);\n };\n}\n\n/**\n * Creates a new function that constructs an instance of the given constructor function with the provided arguments.\n *\n * @param {Function} func - The constructor function to be wrapped and called.\n * @returns {Function} A new function that constructs an instance of the given constructor function with the provided arguments.\n */\nfunction unconstruct(func) {\n return function () {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n return construct(func, args);\n };\n}\n\n/**\n * Add properties to a lookup table\n *\n * @param {Object} set - The set to which elements will be added.\n * @param {Array} array - The array containing elements to be added to the set.\n * @param {Function} transformCaseFunc - An optional function to transform the case of each element before adding to the set.\n * @returns {Object} The modified set with added elements.\n */\nfunction addToSet(set, array) {\n let transformCaseFunc = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : stringToLowerCase;\n if (setPrototypeOf) {\n // Make 'in' and truthy checks like Boolean(set.constructor)\n // independent of any properties defined on Object.prototype.\n // Prevent prototype setters from intercepting set as a this value.\n setPrototypeOf(set, null);\n }\n let l = array.length;\n while (l--) {\n let element = array[l];\n if (typeof element === 'string') {\n const lcElement = transformCaseFunc(element);\n if (lcElement !== element) {\n // Config presets (e.g. tags.js, attrs.js) are immutable.\n if (!isFrozen(array)) {\n array[l] = lcElement;\n }\n element = lcElement;\n }\n }\n set[element] = true;\n }\n return set;\n}\n\n/**\n * Clean up an array to harden against CSPP\n *\n * @param {Array} array - The array to be cleaned.\n * @returns {Array} The cleaned version of the array\n */\nfunction cleanArray(array) {\n for (let index = 0; index < array.length; index++) {\n const isPropertyExist = objectHasOwnProperty(array, index);\n if (!isPropertyExist) {\n array[index] = null;\n }\n }\n return array;\n}\n\n/**\n * Shallow clone an object\n *\n * @param {Object} object - The object to be cloned.\n * @returns {Object} A new object that copies the original.\n */\nfunction clone(object) {\n const newObject = create(null);\n for (const [property, value] of entries(object)) {\n const isPropertyExist = objectHasOwnProperty(object, property);\n if (isPropertyExist) {\n if (Array.isArray(value)) {\n newObject[property] = cleanArray(value);\n } else if (value && typeof value === 'object' && value.constructor === Object) {\n newObject[property] = clone(value);\n } else {\n newObject[property] = value;\n }\n }\n }\n return newObject;\n}\n\n/**\n * This method automatically checks if the prop is function or getter and behaves accordingly.\n *\n * @param {Object} object - The object to look up the getter function in its prototype chain.\n * @param {String} prop - The property name for which to find the getter function.\n * @returns {Function} The getter function found in the prototype chain or a fallback function.\n */\nfunction lookupGetter(object, prop) {\n while (object !== null) {\n const desc = getOwnPropertyDescriptor(object, prop);\n if (desc) {\n if (desc.get) {\n return unapply(desc.get);\n }\n if (typeof desc.value === 'function') {\n return unapply(desc.value);\n }\n }\n object = getPrototypeOf(object);\n }\n function fallbackValue() {\n return null;\n }\n return fallbackValue;\n}\n\nconst html$1 = freeze(['a', 'abbr', 'acronym', 'address', 'area', 'article', 'aside', 'audio', 'b', 'bdi', 'bdo', 'big', 'blink', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'center', 'cite', 'code', 'col', 'colgroup', 'content', 'data', 'datalist', 'dd', 'decorator', 'del', 'details', 'dfn', 'dialog', 'dir', 'div', 'dl', 'dt', 'element', 'em', 'fieldset', 'figcaption', 'figure', 'font', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'img', 'input', 'ins', 'kbd', 'label', 'legend', 'li', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meter', 'nav', 'nobr', 'ol', 'optgroup', 'option', 'output', 'p', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'section', 'select', 'shadow', 'small', 'source', 'spacer', 'span', 'strike', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'time', 'tr', 'track', 'tt', 'u', 'ul', 'var', 'video', 'wbr']);\n\n// SVG\nconst svg$1 = freeze(['svg', 'a', 'altglyph', 'altglyphdef', 'altglyphitem', 'animatecolor', 'animatemotion', 'animatetransform', 'circle', 'clippath', 'defs', 'desc', 'ellipse', 'filter', 'font', 'g', 'glyph', 'glyphref', 'hkern', 'image', 'line', 'lineargradient', 'marker', 'mask', 'metadata', 'mpath', 'path', 'pattern', 'polygon', 'polyline', 'radialgradient', 'rect', 'stop', 'style', 'switch', 'symbol', 'text', 'textpath', 'title', 'tref', 'tspan', 'view', 'vkern']);\nconst svgFilters = freeze(['feBlend', 'feColorMatrix', 'feComponentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting', 'feDisplacementMap', 'feDistantLight', 'feDropShadow', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG', 'feFuncR', 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology', 'feOffset', 'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbulence']);\n\n// List of SVG elements that are disallowed by default.\n// We still need to know them so that we can do namespace\n// checks properly in case one wants to add them to\n// allow-list.\nconst svgDisallowed = freeze(['animate', 'color-profile', 'cursor', 'discard', 'font-face', 'font-face-format', 'font-face-name', 'font-face-src', 'font-face-uri', 'foreignobject', 'hatch', 'hatchpath', 'mesh', 'meshgradient', 'meshpatch', 'meshrow', 'missing-glyph', 'script', 'set', 'solidcolor', 'unknown', 'use']);\nconst mathMl$1 = freeze(['math', 'menclose', 'merror', 'mfenced', 'mfrac', 'mglyph', 'mi', 'mlabeledtr', 'mmultiscripts', 'mn', 'mo', 'mover', 'mpadded', 'mphantom', 'mroot', 'mrow', 'ms', 'mspace', 'msqrt', 'mstyle', 'msub', 'msup', 'msubsup', 'mtable', 'mtd', 'mtext', 'mtr', 'munder', 'munderover', 'mprescripts']);\n\n// Similarly to SVG, we want to know all MathML elements,\n// even those that we disallow by default.\nconst mathMlDisallowed = freeze(['maction', 'maligngroup', 'malignmark', 'mlongdiv', 'mscarries', 'mscarry', 'msgroup', 'mstack', 'msline', 'msrow', 'semantics', 'annotation', 'annotation-xml', 'mprescripts', 'none']);\nconst text = freeze(['#text']);\n\nconst html = freeze(['accept', 'action', 'align', 'alt', 'autocapitalize', 'autocomplete', 'autopictureinpicture', 'autoplay', 'background', 'bgcolor', 'border', 'capture', 'cellpadding', 'cellspacing', 'checked', 'cite', 'class', 'clear', 'color', 'cols', 'colspan', 'controls', 'controlslist', 'coords', 'crossorigin', 'datetime', 'decoding', 'default', 'dir', 'disabled', 'disablepictureinpicture', 'disableremoteplayback', 'download', 'draggable', 'enctype', 'enterkeyhint', 'face', 'for', 'headers', 'height', 'hidden', 'high', 'href', 'hreflang', 'id', 'inputmode', 'integrity', 'ismap', 'kind', 'label', 'lang', 'list', 'loading', 'loop', 'low', 'max', 'maxlength', 'media', 'method', 'min', 'minlength', 'multiple', 'muted', 'name', 'nonce', 'noshade', 'novalidate', 'nowrap', 'open', 'optimum', 'pattern', 'placeholder', 'playsinline', 'popover', 'popovertarget', 'popovertargetaction', 'poster', 'preload', 'pubdate', 'radiogroup', 'readonly', 'rel', 'required', 'rev', 'reversed', 'role', 'rows', 'rowspan', 'spellcheck', 'scope', 'selected', 'shape', 'size', 'sizes', 'span', 'srclang', 'start', 'src', 'srcset', 'step', 'style', 'summary', 'tabindex', 'title', 'translate', 'type', 'usemap', 'valign', 'value', 'width', 'wrap', 'xmlns', 'slot']);\nconst svg = freeze(['accent-height', 'accumulate', 'additive', 'alignment-baseline', 'ascent', 'attributename', 'attributetype', 'azimuth', 'basefrequency', 'baseline-shift', 'begin', 'bias', 'by', 'class', 'clip', 'clippathunits', 'clip-path', 'clip-rule', 'color', 'color-interpolation', 'color-interpolation-filters', 'color-profile', 'color-rendering', 'cx', 'cy', 'd', 'dx', 'dy', 'diffuseconstant', 'direction', 'display', 'divisor', 'dur', 'edgemode', 'elevation', 'end', 'fill', 'fill-opacity', 'fill-rule', 'filter', 'filterunits', 'flood-color', 'flood-opacity', 'font-family', 'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'fx', 'fy', 'g1', 'g2', 'glyph-name', 'glyphref', 'gradientunits', 'gradienttransform', 'height', 'href', 'id', 'image-rendering', 'in', 'in2', 'k', 'k1', 'k2', 'k3', 'k4', 'kerning', 'keypoints', 'keysplines', 'keytimes', 'lang', 'lengthadjust', 'letter-spacing', 'kernelmatrix', 'kernelunitlength', 'lighting-color', 'local', 'marker-end', 'marker-mid', 'marker-start', 'markerheight', 'markerunits', 'markerwidth', 'maskcontentunits', 'maskunits', 'max', 'mask', 'media', 'method', 'mode', 'min', 'name', 'numoctaves', 'offset', 'operator', 'opacity', 'order', 'orient', 'orientation', 'origin', 'overflow', 'paint-order', 'path', 'pathlength', 'patterncontentunits', 'patterntransform', 'patternunits', 'points', 'preservealpha', 'preserveaspectratio', 'primitiveunits', 'r', 'rx', 'ry', 'radius', 'refx', 'refy', 'repeatcount', 'repeatdur', 'restart', 'result', 'rotate', 'scale', 'seed', 'shape-rendering', 'specularconstant', 'specularexponent', 'spreadmethod', 'startoffset', 'stddeviation', 'stitchtiles', 'stop-color', 'stop-opacity', 'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', 'stroke', 'stroke-width', 'style', 'surfacescale', 'systemlanguage', 'tabindex', 'targetx', 'targety', 'transform', 'transform-origin', 'text-anchor', 'text-decoration', 'text-rendering', 'textlength', 'type', 'u1', 'u2', 'unicode', 'values', 'viewbox', 'visibility', 'version', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'width', 'word-spacing', 'wrap', 'writing-mode', 'xchannelselector', 'ychannelselector', 'x', 'x1', 'x2', 'xmlns', 'y', 'y1', 'y2', 'z', 'zoomandpan']);\nconst mathMl = freeze(['accent', 'accentunder', 'align', 'bevelled', 'close', 'columnsalign', 'columnlines', 'columnspan', 'denomalign', 'depth', 'dir', 'display', 'displaystyle', 'encoding', 'fence', 'frame', 'height', 'href', 'id', 'largeop', 'length', 'linethickness', 'lspace', 'lquote', 'mathbackground', 'mathcolor', 'mathsize', 'mathvariant', 'maxsize', 'minsize', 'movablelimits', 'notation', 'numalign', 'open', 'rowalign', 'rowlines', 'rowspacing', 'rowspan', 'rspace', 'rquote', 'scriptlevel', 'scriptminsize', 'scriptsizemultiplier', 'selection', 'separator', 'separators', 'stretchy', 'subscriptshift', 'supscriptshift', 'symmetric', 'voffset', 'width', 'xmlns']);\nconst xml = freeze(['xlink:href', 'xml:id', 'xlink:title', 'xml:space', 'xmlns:xlink']);\n\n// eslint-disable-next-line unicorn/better-regex\nconst MUSTACHE_EXPR = seal(/\\{\\{[\\w\\W]*|[\\w\\W]*\\}\\}/gm); // Specify template detection regex for SAFE_FOR_TEMPLATES mode\nconst ERB_EXPR = seal(/<%[\\w\\W]*|[\\w\\W]*%>/gm);\nconst TMPLIT_EXPR = seal(/\\${[\\w\\W]*}/gm);\nconst DATA_ATTR = seal(/^data-[\\-\\w.\\u00B7-\\uFFFF]/); // eslint-disable-line no-useless-escape\nconst ARIA_ATTR = seal(/^aria-[\\-\\w]+$/); // eslint-disable-line no-useless-escape\nconst IS_ALLOWED_URI = seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\\-]+(?:[^a-z+.\\-:]|$))/i // eslint-disable-line no-useless-escape\n);\nconst IS_SCRIPT_OR_DATA = seal(/^(?:\\w+script|data):/i);\nconst ATTR_WHITESPACE = seal(/[\\u0000-\\u0020\\u00A0\\u1680\\u180E\\u2000-\\u2029\\u205F\\u3000]/g // eslint-disable-line no-control-regex\n);\nconst DOCTYPE_NAME = seal(/^html$/i);\nconst CUSTOM_ELEMENT = seal(/^[a-z][.\\w]*(-[.\\w]+)+$/i);\n\nvar EXPRESSIONS = /*#__PURE__*/Object.freeze({\n __proto__: null,\n MUSTACHE_EXPR: MUSTACHE_EXPR,\n ERB_EXPR: ERB_EXPR,\n TMPLIT_EXPR: TMPLIT_EXPR,\n DATA_ATTR: DATA_ATTR,\n ARIA_ATTR: ARIA_ATTR,\n IS_ALLOWED_URI: IS_ALLOWED_URI,\n IS_SCRIPT_OR_DATA: IS_SCRIPT_OR_DATA,\n ATTR_WHITESPACE: ATTR_WHITESPACE,\n DOCTYPE_NAME: DOCTYPE_NAME,\n CUSTOM_ELEMENT: CUSTOM_ELEMENT\n});\n\n// https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType\nconst NODE_TYPE = {\n element: 1,\n attribute: 2,\n text: 3,\n cdataSection: 4,\n entityReference: 5,\n // Deprecated\n entityNode: 6,\n // Deprecated\n progressingInstruction: 7,\n comment: 8,\n document: 9,\n documentType: 10,\n documentFragment: 11,\n notation: 12 // Deprecated\n};\nconst getGlobal = function getGlobal() {\n return typeof window === 'undefined' ? null : window;\n};\n\n/**\n * Creates a no-op policy for internal use only.\n * Don't export this function outside this module!\n * @param {TrustedTypePolicyFactory} trustedTypes The policy factory.\n * @param {HTMLScriptElement} purifyHostElement The Script element used to load DOMPurify (to determine policy name suffix).\n * @return {TrustedTypePolicy} The policy created (or null, if Trusted Types\n * are not supported or creating the policy failed).\n */\nconst _createTrustedTypesPolicy = function _createTrustedTypesPolicy(trustedTypes, purifyHostElement) {\n if (typeof trustedTypes !== 'object' || typeof trustedTypes.createPolicy !== 'function') {\n return null;\n }\n\n // Allow the callers to control the unique policy name\n // by adding a data-tt-policy-suffix to the script element with the DOMPurify.\n // Policy creation with duplicate names throws in Trusted Types.\n let suffix = null;\n const ATTR_NAME = 'data-tt-policy-suffix';\n if (purifyHostElement && purifyHostElement.hasAttribute(ATTR_NAME)) {\n suffix = purifyHostElement.getAttribute(ATTR_NAME);\n }\n const policyName = 'dompurify' + (suffix ? '#' + suffix : '');\n try {\n return trustedTypes.createPolicy(policyName, {\n createHTML(html) {\n return html;\n },\n createScriptURL(scriptUrl) {\n return scriptUrl;\n }\n });\n } catch (_) {\n // Policy creation failed (most likely another DOMPurify script has\n // already run). Skip creating the policy, as this will only cause errors\n // if TT are enforced.\n console.warn('TrustedTypes policy ' + policyName + ' could not be created.');\n return null;\n }\n};\nfunction createDOMPurify() {\n let window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal();\n const DOMPurify = root => createDOMPurify(root);\n\n /**\n * Version label, exposed for easier checks\n * if DOMPurify is up to date or not\n */\n DOMPurify.version = '3.1.6';\n\n /**\n * Array of elements that DOMPurify removed during sanitation.\n * Empty if nothing was removed.\n */\n DOMPurify.removed = [];\n if (!window || !window.document || window.document.nodeType !== NODE_TYPE.document) {\n // Not running in a browser, provide a factory function\n // so that you can pass your own Window\n DOMPurify.isSupported = false;\n return DOMPurify;\n }\n let {\n document\n } = window;\n const originalDocument = document;\n const currentScript = originalDocument.currentScript;\n const {\n DocumentFragment,\n HTMLTemplateElement,\n Node,\n Element,\n NodeFilter,\n NamedNodeMap = window.NamedNodeMap || window.MozNamedAttrMap,\n HTMLFormElement,\n DOMParser,\n trustedTypes\n } = window;\n const ElementPrototype = Element.prototype;\n const cloneNode = lookupGetter(ElementPrototype, 'cloneNode');\n const remove = lookupGetter(ElementPrototype, 'remove');\n const getNextSibling = lookupGetter(ElementPrototype, 'nextSibling');\n const getChildNodes = lookupGetter(ElementPrototype, 'childNodes');\n const getParentNode = lookupGetter(ElementPrototype, 'parentNode');\n\n // As per issue #47, the web-components registry is inherited by a\n // new document created via createHTMLDocument. As per the spec\n // (http://w3c.github.io/webcomponents/spec/custom/#creating-and-passing-registries)\n // a new empty registry is used when creating a template contents owner\n // document, so we use that as our parent document to ensure nothing\n // is inherited.\n if (typeof HTMLTemplateElement === 'function') {\n const template = document.createElement('template');\n if (template.content && template.content.ownerDocument) {\n document = template.content.ownerDocument;\n }\n }\n let trustedTypesPolicy;\n let emptyHTML = '';\n const {\n implementation,\n createNodeIterator,\n createDocumentFragment,\n getElementsByTagName\n } = document;\n const {\n importNode\n } = originalDocument;\n let hooks = {};\n\n /**\n * Expose whether this browser supports running the full DOMPurify.\n */\n DOMPurify.isSupported = typeof entries === 'function' && typeof getParentNode === 'function' && implementation && implementation.createHTMLDocument !== undefined;\n const {\n MUSTACHE_EXPR,\n ERB_EXPR,\n TMPLIT_EXPR,\n DATA_ATTR,\n ARIA_ATTR,\n IS_SCRIPT_OR_DATA,\n ATTR_WHITESPACE,\n CUSTOM_ELEMENT\n } = EXPRESSIONS;\n let {\n IS_ALLOWED_URI: IS_ALLOWED_URI$1\n } = EXPRESSIONS;\n\n /**\n * We consider the elements and attributes below to be safe. Ideally\n * don't add any new ones but feel free to remove unwanted ones.\n */\n\n /* allowed element names */\n let ALLOWED_TAGS = null;\n const DEFAULT_ALLOWED_TAGS = addToSet({}, [...html$1, ...svg$1, ...svgFilters, ...mathMl$1, ...text]);\n\n /* Allowed attribute names */\n let ALLOWED_ATTR = null;\n const DEFAULT_ALLOWED_ATTR = addToSet({}, [...html, ...svg, ...mathMl, ...xml]);\n\n /*\n * Configure how DOMPUrify should handle custom elements and their attributes as well as customized built-in elements.\n * @property {RegExp|Function|null} tagNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any custom elements)\n * @property {RegExp|Function|null} attributeNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any attributes not on the allow list)\n * @property {boolean} allowCustomizedBuiltInElements allow custom elements derived from built-ins if they pass CUSTOM_ELEMENT_HANDLING.tagNameCheck. Default: `false`.\n */\n let CUSTOM_ELEMENT_HANDLING = Object.seal(create(null, {\n tagNameCheck: {\n writable: true,\n configurable: false,\n enumerable: true,\n value: null\n },\n attributeNameCheck: {\n writable: true,\n configurable: false,\n enumerable: true,\n value: null\n },\n allowCustomizedBuiltInElements: {\n writable: true,\n configurable: false,\n enumerable: true,\n value: false\n }\n }));\n\n /* Explicitly forbidden tags (overrides ALLOWED_TAGS/ADD_TAGS) */\n let FORBID_TAGS = null;\n\n /* Explicitly forbidden attributes (overrides ALLOWED_ATTR/ADD_ATTR) */\n let FORBID_ATTR = null;\n\n /* Decide if ARIA attributes are okay */\n let ALLOW_ARIA_ATTR = true;\n\n /* Decide if custom data attributes are okay */\n let ALLOW_DATA_ATTR = true;\n\n /* Decide if unknown protocols are okay */\n let ALLOW_UNKNOWN_PROTOCOLS = false;\n\n /* Decide if self-closing tags in attributes are allowed.\n * Usually removed due to a mXSS issue in jQuery 3.0 */\n let ALLOW_SELF_CLOSE_IN_ATTR = true;\n\n /* Output should be safe for common template engines.\n * This means, DOMPurify removes data attributes, mustaches and ERB\n */\n let SAFE_FOR_TEMPLATES = false;\n\n /* Output should be safe even for XML used within HTML and alike.\n * This means, DOMPurify removes comments when containing risky content.\n */\n let SAFE_FOR_XML = true;\n\n /* Decide if document with ... should be returned */\n let WHOLE_DOCUMENT = false;\n\n /* Track whether config is already set on this instance of DOMPurify. */\n let SET_CONFIG = false;\n\n /* Decide if all elements (e.g. style, script) must be children of\n * document.body. By default, browsers might move them to document.head */\n let FORCE_BODY = false;\n\n /* Decide if a DOM `HTMLBodyElement` should be returned, instead of a html\n * string (or a TrustedHTML object if Trusted Types are supported).\n * If `WHOLE_DOCUMENT` is enabled a `HTMLHtmlElement` will be returned instead\n */\n let RETURN_DOM = false;\n\n /* Decide if a DOM `DocumentFragment` should be returned, instead of a html\n * string (or a TrustedHTML object if Trusted Types are supported) */\n let RETURN_DOM_FRAGMENT = false;\n\n /* Try to return a Trusted Type object instead of a string, return a string in\n * case Trusted Types are not supported */\n let RETURN_TRUSTED_TYPE = false;\n\n /* Output should be free from DOM clobbering attacks?\n * This sanitizes markups named with colliding, clobberable built-in DOM APIs.\n */\n let SANITIZE_DOM = true;\n\n /* Achieve full DOM Clobbering protection by isolating the namespace of named\n * properties and JS variables, mitigating attacks that abuse the HTML/DOM spec rules.\n *\n * HTML/DOM spec rules that enable DOM Clobbering:\n * - Named Access on Window (§7.3.3)\n * - DOM Tree Accessors (§3.1.5)\n * - Form Element Parent-Child Relations (§4.10.3)\n * - Iframe srcdoc / Nested WindowProxies (§4.8.5)\n * - HTMLCollection (§4.2.10.2)\n *\n * Namespace isolation is implemented by prefixing `id` and `name` attributes\n * with a constant string, i.e., `user-content-`\n */\n let SANITIZE_NAMED_PROPS = false;\n const SANITIZE_NAMED_PROPS_PREFIX = 'user-content-';\n\n /* Keep element content when removing element? */\n let KEEP_CONTENT = true;\n\n /* If a `Node` is passed to sanitize(), then performs sanitization in-place instead\n * of importing it into a new Document and returning a sanitized copy */\n let IN_PLACE = false;\n\n /* Allow usage of profiles like html, svg and mathMl */\n let USE_PROFILES = {};\n\n /* Tags to ignore content of when KEEP_CONTENT is true */\n let FORBID_CONTENTS = null;\n const DEFAULT_FORBID_CONTENTS = addToSet({}, ['annotation-xml', 'audio', 'colgroup', 'desc', 'foreignobject', 'head', 'iframe', 'math', 'mi', 'mn', 'mo', 'ms', 'mtext', 'noembed', 'noframes', 'noscript', 'plaintext', 'script', 'style', 'svg', 'template', 'thead', 'title', 'video', 'xmp']);\n\n /* Tags that are safe for data: URIs */\n let DATA_URI_TAGS = null;\n const DEFAULT_DATA_URI_TAGS = addToSet({}, ['audio', 'video', 'img', 'source', 'image', 'track']);\n\n /* Attributes safe for values like \"javascript:\" */\n let URI_SAFE_ATTRIBUTES = null;\n const DEFAULT_URI_SAFE_ATTRIBUTES = addToSet({}, ['alt', 'class', 'for', 'id', 'label', 'name', 'pattern', 'placeholder', 'role', 'summary', 'title', 'value', 'style', 'xmlns']);\n const MATHML_NAMESPACE = 'http://www.w3.org/1998/Math/MathML';\n const SVG_NAMESPACE = 'http://www.w3.org/2000/svg';\n const HTML_NAMESPACE = 'http://www.w3.org/1999/xhtml';\n /* Document namespace */\n let NAMESPACE = HTML_NAMESPACE;\n let IS_EMPTY_INPUT = false;\n\n /* Allowed XHTML+XML namespaces */\n let ALLOWED_NAMESPACES = null;\n const DEFAULT_ALLOWED_NAMESPACES = addToSet({}, [MATHML_NAMESPACE, SVG_NAMESPACE, HTML_NAMESPACE], stringToString);\n\n /* Parsing of strict XHTML documents */\n let PARSER_MEDIA_TYPE = null;\n const SUPPORTED_PARSER_MEDIA_TYPES = ['application/xhtml+xml', 'text/html'];\n const DEFAULT_PARSER_MEDIA_TYPE = 'text/html';\n let transformCaseFunc = null;\n\n /* Keep a reference to config to pass to hooks */\n let CONFIG = null;\n\n /* Ideally, do not touch anything below this line */\n /* ______________________________________________ */\n\n const formElement = document.createElement('form');\n const isRegexOrFunction = function isRegexOrFunction(testValue) {\n return testValue instanceof RegExp || testValue instanceof Function;\n };\n\n /**\n * _parseConfig\n *\n * @param {Object} cfg optional config literal\n */\n // eslint-disable-next-line complexity\n const _parseConfig = function _parseConfig() {\n let cfg = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n if (CONFIG && CONFIG === cfg) {\n return;\n }\n\n /* Shield configuration object from tampering */\n if (!cfg || typeof cfg !== 'object') {\n cfg = {};\n }\n\n /* Shield configuration object from prototype pollution */\n cfg = clone(cfg);\n PARSER_MEDIA_TYPE =\n // eslint-disable-next-line unicorn/prefer-includes\n SUPPORTED_PARSER_MEDIA_TYPES.indexOf(cfg.PARSER_MEDIA_TYPE) === -1 ? DEFAULT_PARSER_MEDIA_TYPE : cfg.PARSER_MEDIA_TYPE;\n\n // HTML tags and attributes are not case-sensitive, converting to lowercase. Keeping XHTML as is.\n transformCaseFunc = PARSER_MEDIA_TYPE === 'application/xhtml+xml' ? stringToString : stringToLowerCase;\n\n /* Set configuration parameters */\n ALLOWED_TAGS = objectHasOwnProperty(cfg, 'ALLOWED_TAGS') ? addToSet({}, cfg.ALLOWED_TAGS, transformCaseFunc) : DEFAULT_ALLOWED_TAGS;\n ALLOWED_ATTR = objectHasOwnProperty(cfg, 'ALLOWED_ATTR') ? addToSet({}, cfg.ALLOWED_ATTR, transformCaseFunc) : DEFAULT_ALLOWED_ATTR;\n ALLOWED_NAMESPACES = objectHasOwnProperty(cfg, 'ALLOWED_NAMESPACES') ? addToSet({}, cfg.ALLOWED_NAMESPACES, stringToString) : DEFAULT_ALLOWED_NAMESPACES;\n URI_SAFE_ATTRIBUTES = objectHasOwnProperty(cfg, 'ADD_URI_SAFE_ATTR') ? addToSet(clone(DEFAULT_URI_SAFE_ATTRIBUTES),\n // eslint-disable-line indent\n cfg.ADD_URI_SAFE_ATTR,\n // eslint-disable-line indent\n transformCaseFunc // eslint-disable-line indent\n ) // eslint-disable-line indent\n : DEFAULT_URI_SAFE_ATTRIBUTES;\n DATA_URI_TAGS = objectHasOwnProperty(cfg, 'ADD_DATA_URI_TAGS') ? addToSet(clone(DEFAULT_DATA_URI_TAGS),\n // eslint-disable-line indent\n cfg.ADD_DATA_URI_TAGS,\n // eslint-disable-line indent\n transformCaseFunc // eslint-disable-line indent\n ) // eslint-disable-line indent\n : DEFAULT_DATA_URI_TAGS;\n FORBID_CONTENTS = objectHasOwnProperty(cfg, 'FORBID_CONTENTS') ? addToSet({}, cfg.FORBID_CONTENTS, transformCaseFunc) : DEFAULT_FORBID_CONTENTS;\n FORBID_TAGS = objectHasOwnProperty(cfg, 'FORBID_TAGS') ? addToSet({}, cfg.FORBID_TAGS, transformCaseFunc) : {};\n FORBID_ATTR = objectHasOwnProperty(cfg, 'FORBID_ATTR') ? addToSet({}, cfg.FORBID_ATTR, transformCaseFunc) : {};\n USE_PROFILES = objectHasOwnProperty(cfg, 'USE_PROFILES') ? cfg.USE_PROFILES : false;\n ALLOW_ARIA_ATTR = cfg.ALLOW_ARIA_ATTR !== false; // Default true\n ALLOW_DATA_ATTR = cfg.ALLOW_DATA_ATTR !== false; // Default true\n ALLOW_UNKNOWN_PROTOCOLS = cfg.ALLOW_UNKNOWN_PROTOCOLS || false; // Default false\n ALLOW_SELF_CLOSE_IN_ATTR = cfg.ALLOW_SELF_CLOSE_IN_ATTR !== false; // Default true\n SAFE_FOR_TEMPLATES = cfg.SAFE_FOR_TEMPLATES || false; // Default false\n SAFE_FOR_XML = cfg.SAFE_FOR_XML !== false; // Default true\n WHOLE_DOCUMENT = cfg.WHOLE_DOCUMENT || false; // Default false\n RETURN_DOM = cfg.RETURN_DOM || false; // Default false\n RETURN_DOM_FRAGMENT = cfg.RETURN_DOM_FRAGMENT || false; // Default false\n RETURN_TRUSTED_TYPE = cfg.RETURN_TRUSTED_TYPE || false; // Default false\n FORCE_BODY = cfg.FORCE_BODY || false; // Default false\n SANITIZE_DOM = cfg.SANITIZE_DOM !== false; // Default true\n SANITIZE_NAMED_PROPS = cfg.SANITIZE_NAMED_PROPS || false; // Default false\n KEEP_CONTENT = cfg.KEEP_CONTENT !== false; // Default true\n IN_PLACE = cfg.IN_PLACE || false; // Default false\n IS_ALLOWED_URI$1 = cfg.ALLOWED_URI_REGEXP || IS_ALLOWED_URI;\n NAMESPACE = cfg.NAMESPACE || HTML_NAMESPACE;\n CUSTOM_ELEMENT_HANDLING = cfg.CUSTOM_ELEMENT_HANDLING || {};\n if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck)) {\n CUSTOM_ELEMENT_HANDLING.tagNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck;\n }\n if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)) {\n CUSTOM_ELEMENT_HANDLING.attributeNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck;\n }\n if (cfg.CUSTOM_ELEMENT_HANDLING && typeof cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements === 'boolean') {\n CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements = cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements;\n }\n if (SAFE_FOR_TEMPLATES) {\n ALLOW_DATA_ATTR = false;\n }\n if (RETURN_DOM_FRAGMENT) {\n RETURN_DOM = true;\n }\n\n /* Parse profile info */\n if (USE_PROFILES) {\n ALLOWED_TAGS = addToSet({}, text);\n ALLOWED_ATTR = [];\n if (USE_PROFILES.html === true) {\n addToSet(ALLOWED_TAGS, html$1);\n addToSet(ALLOWED_ATTR, html);\n }\n if (USE_PROFILES.svg === true) {\n addToSet(ALLOWED_TAGS, svg$1);\n addToSet(ALLOWED_ATTR, svg);\n addToSet(ALLOWED_ATTR, xml);\n }\n if (USE_PROFILES.svgFilters === true) {\n addToSet(ALLOWED_TAGS, svgFilters);\n addToSet(ALLOWED_ATTR, svg);\n addToSet(ALLOWED_ATTR, xml);\n }\n if (USE_PROFILES.mathMl === true) {\n addToSet(ALLOWED_TAGS, mathMl$1);\n addToSet(ALLOWED_ATTR, mathMl);\n addToSet(ALLOWED_ATTR, xml);\n }\n }\n\n /* Merge configuration parameters */\n if (cfg.ADD_TAGS) {\n if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {\n ALLOWED_TAGS = clone(ALLOWED_TAGS);\n }\n addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);\n }\n if (cfg.ADD_ATTR) {\n if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {\n ALLOWED_ATTR = clone(ALLOWED_ATTR);\n }\n addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);\n }\n if (cfg.ADD_URI_SAFE_ATTR) {\n addToSet(URI_SAFE_ATTRIBUTES, cfg.ADD_URI_SAFE_ATTR, transformCaseFunc);\n }\n if (cfg.FORBID_CONTENTS) {\n if (FORBID_CONTENTS === DEFAULT_FORBID_CONTENTS) {\n FORBID_CONTENTS = clone(FORBID_CONTENTS);\n }\n addToSet(FORBID_CONTENTS, cfg.FORBID_CONTENTS, transformCaseFunc);\n }\n\n /* Add #text in case KEEP_CONTENT is set to true */\n if (KEEP_CONTENT) {\n ALLOWED_TAGS['#text'] = true;\n }\n\n /* Add html, head and body to ALLOWED_TAGS in case WHOLE_DOCUMENT is true */\n if (WHOLE_DOCUMENT) {\n addToSet(ALLOWED_TAGS, ['html', 'head', 'body']);\n }\n\n /* Add tbody to ALLOWED_TAGS in case tables are permitted, see #286, #365 */\n if (ALLOWED_TAGS.table) {\n addToSet(ALLOWED_TAGS, ['tbody']);\n delete FORBID_TAGS.tbody;\n }\n if (cfg.TRUSTED_TYPES_POLICY) {\n if (typeof cfg.TRUSTED_TYPES_POLICY.createHTML !== 'function') {\n throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.');\n }\n if (typeof cfg.TRUSTED_TYPES_POLICY.createScriptURL !== 'function') {\n throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.');\n }\n\n // Overwrite existing TrustedTypes policy.\n trustedTypesPolicy = cfg.TRUSTED_TYPES_POLICY;\n\n // Sign local variables required by `sanitize`.\n emptyHTML = trustedTypesPolicy.createHTML('');\n } else {\n // Uninitialized policy, attempt to initialize the internal dompurify policy.\n if (trustedTypesPolicy === undefined) {\n trustedTypesPolicy = _createTrustedTypesPolicy(trustedTypes, currentScript);\n }\n\n // If creating the internal policy succeeded sign internal variables.\n if (trustedTypesPolicy !== null && typeof emptyHTML === 'string') {\n emptyHTML = trustedTypesPolicy.createHTML('');\n }\n }\n\n // Prevent further manipulation of configuration.\n // Not available in IE8, Safari 5, etc.\n if (freeze) {\n freeze(cfg);\n }\n CONFIG = cfg;\n };\n const MATHML_TEXT_INTEGRATION_POINTS = addToSet({}, ['mi', 'mo', 'mn', 'ms', 'mtext']);\n const HTML_INTEGRATION_POINTS = addToSet({}, ['foreignobject', 'annotation-xml']);\n\n // Certain elements are allowed in both SVG and HTML\n // namespace. We need to specify them explicitly\n // so that they don't get erroneously deleted from\n // HTML namespace.\n const COMMON_SVG_AND_HTML_ELEMENTS = addToSet({}, ['title', 'style', 'font', 'a', 'script']);\n\n /* Keep track of all possible SVG and MathML tags\n * so that we can perform the namespace checks\n * correctly. */\n const ALL_SVG_TAGS = addToSet({}, [...svg$1, ...svgFilters, ...svgDisallowed]);\n const ALL_MATHML_TAGS = addToSet({}, [...mathMl$1, ...mathMlDisallowed]);\n\n /**\n * @param {Element} element a DOM element whose namespace is being checked\n * @returns {boolean} Return false if the element has a\n * namespace that a spec-compliant parser would never\n * return. Return true otherwise.\n */\n const _checkValidNamespace = function _checkValidNamespace(element) {\n let parent = getParentNode(element);\n\n // In JSDOM, if we're inside shadow DOM, then parentNode\n // can be null. We just simulate parent in this case.\n if (!parent || !parent.tagName) {\n parent = {\n namespaceURI: NAMESPACE,\n tagName: 'template'\n };\n }\n const tagName = stringToLowerCase(element.tagName);\n const parentTagName = stringToLowerCase(parent.tagName);\n if (!ALLOWED_NAMESPACES[element.namespaceURI]) {\n return false;\n }\n if (element.namespaceURI === SVG_NAMESPACE) {\n // The only way to switch from HTML namespace to SVG\n // is via . If it happens via any other tag, then\n // it should be killed.\n if (parent.namespaceURI === HTML_NAMESPACE) {\n return tagName === 'svg';\n }\n\n // The only way to switch from MathML to SVG is via`\n // svg if parent is either or MathML\n // text integration points.\n if (parent.namespaceURI === MATHML_NAMESPACE) {\n return tagName === 'svg' && (parentTagName === 'annotation-xml' || MATHML_TEXT_INTEGRATION_POINTS[parentTagName]);\n }\n\n // We only allow elements that are defined in SVG\n // spec. All others are disallowed in SVG namespace.\n return Boolean(ALL_SVG_TAGS[tagName]);\n }\n if (element.namespaceURI === MATHML_NAMESPACE) {\n // The only way to switch from HTML namespace to MathML\n // is via . If it happens via any other tag, then\n // it should be killed.\n if (parent.namespaceURI === HTML_NAMESPACE) {\n return tagName === 'math';\n }\n\n // The only way to switch from SVG to MathML is via\n // and HTML integration points\n if (parent.namespaceURI === SVG_NAMESPACE) {\n return tagName === 'math' && HTML_INTEGRATION_POINTS[parentTagName];\n }\n\n // We only allow elements that are defined in MathML\n // spec. All others are disallowed in MathML namespace.\n return Boolean(ALL_MATHML_TAGS[tagName]);\n }\n if (element.namespaceURI === HTML_NAMESPACE) {\n // The only way to switch from SVG to HTML is via\n // HTML integration points, and from MathML to HTML\n // is via MathML text integration points\n if (parent.namespaceURI === SVG_NAMESPACE && !HTML_INTEGRATION_POINTS[parentTagName]) {\n return false;\n }\n if (parent.namespaceURI === MATHML_NAMESPACE && !MATHML_TEXT_INTEGRATION_POINTS[parentTagName]) {\n return false;\n }\n\n // We disallow tags that are specific for MathML\n // or SVG and should never appear in HTML namespace\n return !ALL_MATHML_TAGS[tagName] && (COMMON_SVG_AND_HTML_ELEMENTS[tagName] || !ALL_SVG_TAGS[tagName]);\n }\n\n // For XHTML and XML documents that support custom namespaces\n if (PARSER_MEDIA_TYPE === 'application/xhtml+xml' && ALLOWED_NAMESPACES[element.namespaceURI]) {\n return true;\n }\n\n // The code should never reach this place (this means\n // that the element somehow got namespace that is not\n // HTML, SVG, MathML or allowed via ALLOWED_NAMESPACES).\n // Return false just in case.\n return false;\n };\n\n /**\n * _forceRemove\n *\n * @param {Node} node a DOM node\n */\n const _forceRemove = function _forceRemove(node) {\n arrayPush(DOMPurify.removed, {\n element: node\n });\n try {\n // eslint-disable-next-line unicorn/prefer-dom-node-remove\n getParentNode(node).removeChild(node);\n } catch (_) {\n remove(node);\n }\n };\n\n /**\n * _removeAttribute\n *\n * @param {String} name an Attribute name\n * @param {Node} node a DOM node\n */\n const _removeAttribute = function _removeAttribute(name, node) {\n try {\n arrayPush(DOMPurify.removed, {\n attribute: node.getAttributeNode(name),\n from: node\n });\n } catch (_) {\n arrayPush(DOMPurify.removed, {\n attribute: null,\n from: node\n });\n }\n node.removeAttribute(name);\n\n // We void attribute values for unremovable \"is\"\" attributes\n if (name === 'is' && !ALLOWED_ATTR[name]) {\n if (RETURN_DOM || RETURN_DOM_FRAGMENT) {\n try {\n _forceRemove(node);\n } catch (_) {}\n } else {\n try {\n node.setAttribute(name, '');\n } catch (_) {}\n }\n }\n };\n\n /**\n * _initDocument\n *\n * @param {String} dirty a string of dirty markup\n * @return {Document} a DOM, filled with the dirty markup\n */\n const _initDocument = function _initDocument(dirty) {\n /* Create a HTML document */\n let doc = null;\n let leadingWhitespace = null;\n if (FORCE_BODY) {\n dirty = '' + dirty;\n } else {\n /* If FORCE_BODY isn't used, leading whitespace needs to be preserved manually */\n const matches = stringMatch(dirty, /^[\\r\\n\\t ]+/);\n leadingWhitespace = matches && matches[0];\n }\n if (PARSER_MEDIA_TYPE === 'application/xhtml+xml' && NAMESPACE === HTML_NAMESPACE) {\n // Root of XHTML doc must contain xmlns declaration (see https://www.w3.org/TR/xhtml1/normative.html#strict)\n dirty = '' + dirty + '';\n }\n const dirtyPayload = trustedTypesPolicy ? trustedTypesPolicy.createHTML(dirty) : dirty;\n /*\n * Use the DOMParser API by default, fallback later if needs be\n * DOMParser not work for svg when has multiple root element.\n */\n if (NAMESPACE === HTML_NAMESPACE) {\n try {\n doc = new DOMParser().parseFromString(dirtyPayload, PARSER_MEDIA_TYPE);\n } catch (_) {}\n }\n\n /* Use createHTMLDocument in case DOMParser is not available */\n if (!doc || !doc.documentElement) {\n doc = implementation.createDocument(NAMESPACE, 'template', null);\n try {\n doc.documentElement.innerHTML = IS_EMPTY_INPUT ? emptyHTML : dirtyPayload;\n } catch (_) {\n // Syntax error if dirtyPayload is invalid xml\n }\n }\n const body = doc.body || doc.documentElement;\n if (dirty && leadingWhitespace) {\n body.insertBefore(document.createTextNode(leadingWhitespace), body.childNodes[0] || null);\n }\n\n /* Work on whole document or just its body */\n if (NAMESPACE === HTML_NAMESPACE) {\n return getElementsByTagName.call(doc, WHOLE_DOCUMENT ? 'html' : 'body')[0];\n }\n return WHOLE_DOCUMENT ? doc.documentElement : body;\n };\n\n /**\n * Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document.\n *\n * @param {Node} root The root element or node to start traversing on.\n * @return {NodeIterator} The created NodeIterator\n */\n const _createNodeIterator = function _createNodeIterator(root) {\n return createNodeIterator.call(root.ownerDocument || root, root,\n // eslint-disable-next-line no-bitwise\n NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_COMMENT | NodeFilter.SHOW_TEXT | NodeFilter.SHOW_PROCESSING_INSTRUCTION | NodeFilter.SHOW_CDATA_SECTION, null);\n };\n\n /**\n * _isClobbered\n *\n * @param {Node} elm element to check for clobbering attacks\n * @return {Boolean} true if clobbered, false if safe\n */\n const _isClobbered = function _isClobbered(elm) {\n return elm instanceof HTMLFormElement && (typeof elm.nodeName !== 'string' || typeof elm.textContent !== 'string' || typeof elm.removeChild !== 'function' || !(elm.attributes instanceof NamedNodeMap) || typeof elm.removeAttribute !== 'function' || typeof elm.setAttribute !== 'function' || typeof elm.namespaceURI !== 'string' || typeof elm.insertBefore !== 'function' || typeof elm.hasChildNodes !== 'function');\n };\n\n /**\n * Checks whether the given object is a DOM node.\n *\n * @param {Node} object object to check whether it's a DOM node\n * @return {Boolean} true is object is a DOM node\n */\n const _isNode = function _isNode(object) {\n return typeof Node === 'function' && object instanceof Node;\n };\n\n /**\n * _executeHook\n * Execute user configurable hooks\n *\n * @param {String} entryPoint Name of the hook's entry point\n * @param {Node} currentNode node to work on with the hook\n * @param {Object} data additional hook parameters\n */\n const _executeHook = function _executeHook(entryPoint, currentNode, data) {\n if (!hooks[entryPoint]) {\n return;\n }\n arrayForEach(hooks[entryPoint], hook => {\n hook.call(DOMPurify, currentNode, data, CONFIG);\n });\n };\n\n /**\n * _sanitizeElements\n *\n * @protect nodeName\n * @protect textContent\n * @protect removeChild\n *\n * @param {Node} currentNode to check for permission to exist\n * @return {Boolean} true if node was killed, false if left alive\n */\n const _sanitizeElements = function _sanitizeElements(currentNode) {\n let content = null;\n\n /* Execute a hook if present */\n _executeHook('beforeSanitizeElements', currentNode, null);\n\n /* Check if element is clobbered or can clobber */\n if (_isClobbered(currentNode)) {\n _forceRemove(currentNode);\n return true;\n }\n\n /* Now let's check the element's type and name */\n const tagName = transformCaseFunc(currentNode.nodeName);\n\n /* Execute a hook if present */\n _executeHook('uponSanitizeElement', currentNode, {\n tagName,\n allowedTags: ALLOWED_TAGS\n });\n\n /* Detect mXSS attempts abusing namespace confusion */\n if (currentNode.hasChildNodes() && !_isNode(currentNode.firstElementChild) && regExpTest(/<[/\\w]/g, currentNode.innerHTML) && regExpTest(/<[/\\w]/g, currentNode.textContent)) {\n _forceRemove(currentNode);\n return true;\n }\n\n /* Remove any occurrence of processing instructions */\n if (currentNode.nodeType === NODE_TYPE.progressingInstruction) {\n _forceRemove(currentNode);\n return true;\n }\n\n /* Remove any kind of possibly harmful comments */\n if (SAFE_FOR_XML && currentNode.nodeType === NODE_TYPE.comment && regExpTest(/<[/\\w]/g, currentNode.data)) {\n _forceRemove(currentNode);\n return true;\n }\n\n /* Remove element if anything forbids its presence */\n if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {\n /* Check if we have a custom element to handle */\n if (!FORBID_TAGS[tagName] && _isBasicCustomElement(tagName)) {\n if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, tagName)) {\n return false;\n }\n if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(tagName)) {\n return false;\n }\n }\n\n /* Keep content except for bad-listed elements */\n if (KEEP_CONTENT && !FORBID_CONTENTS[tagName]) {\n const parentNode = getParentNode(currentNode) || currentNode.parentNode;\n const childNodes = getChildNodes(currentNode) || currentNode.childNodes;\n if (childNodes && parentNode) {\n const childCount = childNodes.length;\n for (let i = childCount - 1; i >= 0; --i) {\n const childClone = cloneNode(childNodes[i], true);\n childClone.__removalCount = (currentNode.__removalCount || 0) + 1;\n parentNode.insertBefore(childClone, getNextSibling(currentNode));\n }\n }\n }\n _forceRemove(currentNode);\n return true;\n }\n\n /* Check whether element has a valid namespace */\n if (currentNode instanceof Element && !_checkValidNamespace(currentNode)) {\n _forceRemove(currentNode);\n return true;\n }\n\n /* Make sure that older browsers don't get fallback-tag mXSS */\n if ((tagName === 'noscript' || tagName === 'noembed' || tagName === 'noframes') && regExpTest(/<\\/no(script|embed|frames)/i, currentNode.innerHTML)) {\n _forceRemove(currentNode);\n return true;\n }\n\n /* Sanitize element content to be template-safe */\n if (SAFE_FOR_TEMPLATES && currentNode.nodeType === NODE_TYPE.text) {\n /* Get the element's text content */\n content = currentNode.textContent;\n arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => {\n content = stringReplace(content, expr, ' ');\n });\n if (currentNode.textContent !== content) {\n arrayPush(DOMPurify.removed, {\n element: currentNode.cloneNode()\n });\n currentNode.textContent = content;\n }\n }\n\n /* Execute a hook if present */\n _executeHook('afterSanitizeElements', currentNode, null);\n return false;\n };\n\n /**\n * _isValidAttribute\n *\n * @param {string} lcTag Lowercase tag name of containing element.\n * @param {string} lcName Lowercase attribute name.\n * @param {string} value Attribute value.\n * @return {Boolean} Returns true if `value` is valid, otherwise false.\n */\n // eslint-disable-next-line complexity\n const _isValidAttribute = function _isValidAttribute(lcTag, lcName, value) {\n /* Make sure attribute cannot clobber */\n if (SANITIZE_DOM && (lcName === 'id' || lcName === 'name') && (value in document || value in formElement)) {\n return false;\n }\n\n /* Allow valid data-* attributes: At least one character after \"-\"\n (https://html.spec.whatwg.org/multipage/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes)\n XML-compatible (https://html.spec.whatwg.org/multipage/infrastructure.html#xml-compatible and http://www.w3.org/TR/xml/#d0e804)\n We don't need to check the value; it's always URI safe. */\n if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(DATA_ATTR, lcName)) ; else if (ALLOW_ARIA_ATTR && regExpTest(ARIA_ATTR, lcName)) ; else if (!ALLOWED_ATTR[lcName] || FORBID_ATTR[lcName]) {\n if (\n // First condition does a very basic check if a) it's basically a valid custom element tagname AND\n // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck\n // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck\n _isBasicCustomElement(lcTag) && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, lcTag) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(lcTag)) && (CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.attributeNameCheck, lcName) || CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.attributeNameCheck(lcName)) ||\n // Alternative, second condition checks if it's an `is`-attribute, AND\n // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck\n lcName === 'is' && CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, value) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(value))) ; else {\n return false;\n }\n /* Check value is safe. First, is attr inert? If so, is safe */\n } else if (URI_SAFE_ATTRIBUTES[lcName]) ; else if (regExpTest(IS_ALLOWED_URI$1, stringReplace(value, ATTR_WHITESPACE, ''))) ; else if ((lcName === 'src' || lcName === 'xlink:href' || lcName === 'href') && lcTag !== 'script' && stringIndexOf(value, 'data:') === 0 && DATA_URI_TAGS[lcTag]) ; else if (ALLOW_UNKNOWN_PROTOCOLS && !regExpTest(IS_SCRIPT_OR_DATA, stringReplace(value, ATTR_WHITESPACE, ''))) ; else if (value) {\n return false;\n } else ;\n return true;\n };\n\n /**\n * _isBasicCustomElement\n * checks if at least one dash is included in tagName, and it's not the first char\n * for more sophisticated checking see https://github.com/sindresorhus/validate-element-name\n *\n * @param {string} tagName name of the tag of the node to sanitize\n * @returns {boolean} Returns true if the tag name meets the basic criteria for a custom element, otherwise false.\n */\n const _isBasicCustomElement = function _isBasicCustomElement(tagName) {\n return tagName !== 'annotation-xml' && stringMatch(tagName, CUSTOM_ELEMENT);\n };\n\n /**\n * _sanitizeAttributes\n *\n * @protect attributes\n * @protect nodeName\n * @protect removeAttribute\n * @protect setAttribute\n *\n * @param {Node} currentNode to sanitize\n */\n const _sanitizeAttributes = function _sanitizeAttributes(currentNode) {\n /* Execute a hook if present */\n _executeHook('beforeSanitizeAttributes', currentNode, null);\n const {\n attributes\n } = currentNode;\n\n /* Check if we have attributes; if not we might have a text node */\n if (!attributes) {\n return;\n }\n const hookEvent = {\n attrName: '',\n attrValue: '',\n keepAttr: true,\n allowedAttributes: ALLOWED_ATTR\n };\n let l = attributes.length;\n\n /* Go backwards over all attributes; safely remove bad ones */\n while (l--) {\n const attr = attributes[l];\n const {\n name,\n namespaceURI,\n value: attrValue\n } = attr;\n const lcName = transformCaseFunc(name);\n let value = name === 'value' ? attrValue : stringTrim(attrValue);\n\n /* Execute a hook if present */\n hookEvent.attrName = lcName;\n hookEvent.attrValue = value;\n hookEvent.keepAttr = true;\n hookEvent.forceKeepAttr = undefined; // Allows developers to see this is a property they can set\n _executeHook('uponSanitizeAttribute', currentNode, hookEvent);\n value = hookEvent.attrValue;\n\n /* Work around a security issue with comments inside attributes */\n if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\\/(style|title)/i, value)) {\n _removeAttribute(name, currentNode);\n continue;\n }\n\n /* Did the hooks approve of the attribute? */\n if (hookEvent.forceKeepAttr) {\n continue;\n }\n\n /* Remove attribute */\n _removeAttribute(name, currentNode);\n\n /* Did the hooks approve of the attribute? */\n if (!hookEvent.keepAttr) {\n continue;\n }\n\n /* Work around a security issue in jQuery 3.0 */\n if (!ALLOW_SELF_CLOSE_IN_ATTR && regExpTest(/\\/>/i, value)) {\n _removeAttribute(name, currentNode);\n continue;\n }\n\n /* Sanitize attribute content to be template-safe */\n if (SAFE_FOR_TEMPLATES) {\n arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => {\n value = stringReplace(value, expr, ' ');\n });\n }\n\n /* Is `value` valid for this attribute? */\n const lcTag = transformCaseFunc(currentNode.nodeName);\n if (!_isValidAttribute(lcTag, lcName, value)) {\n continue;\n }\n\n /* Full DOM Clobbering protection via namespace isolation,\n * Prefix id and name attributes with `user-content-`\n */\n if (SANITIZE_NAMED_PROPS && (lcName === 'id' || lcName === 'name')) {\n // Remove the attribute with this value\n _removeAttribute(name, currentNode);\n\n // Prefix the value and later re-create the attribute with the sanitized value\n value = SANITIZE_NAMED_PROPS_PREFIX + value;\n }\n\n /* Handle attributes that require Trusted Types */\n if (trustedTypesPolicy && typeof trustedTypes === 'object' && typeof trustedTypes.getAttributeType === 'function') {\n if (namespaceURI) ; else {\n switch (trustedTypes.getAttributeType(lcTag, lcName)) {\n case 'TrustedHTML':\n {\n value = trustedTypesPolicy.createHTML(value);\n break;\n }\n case 'TrustedScriptURL':\n {\n value = trustedTypesPolicy.createScriptURL(value);\n break;\n }\n }\n }\n }\n\n /* Handle invalid data-* attribute set by try-catching it */\n try {\n if (namespaceURI) {\n currentNode.setAttributeNS(namespaceURI, name, value);\n } else {\n /* Fallback to setAttribute() for browser-unrecognized namespaces e.g. \"x-schema\". */\n currentNode.setAttribute(name, value);\n }\n if (_isClobbered(currentNode)) {\n _forceRemove(currentNode);\n } else {\n arrayPop(DOMPurify.removed);\n }\n } catch (_) {}\n }\n\n /* Execute a hook if present */\n _executeHook('afterSanitizeAttributes', currentNode, null);\n };\n\n /**\n * _sanitizeShadowDOM\n *\n * @param {DocumentFragment} fragment to iterate over recursively\n */\n const _sanitizeShadowDOM = function _sanitizeShadowDOM(fragment) {\n let shadowNode = null;\n const shadowIterator = _createNodeIterator(fragment);\n\n /* Execute a hook if present */\n _executeHook('beforeSanitizeShadowDOM', fragment, null);\n while (shadowNode = shadowIterator.nextNode()) {\n /* Execute a hook if present */\n _executeHook('uponSanitizeShadowNode', shadowNode, null);\n\n /* Sanitize tags and elements */\n if (_sanitizeElements(shadowNode)) {\n continue;\n }\n\n /* Deep shadow DOM detected */\n if (shadowNode.content instanceof DocumentFragment) {\n _sanitizeShadowDOM(shadowNode.content);\n }\n\n /* Check attributes, sanitize if necessary */\n _sanitizeAttributes(shadowNode);\n }\n\n /* Execute a hook if present */\n _executeHook('afterSanitizeShadowDOM', fragment, null);\n };\n\n /**\n * Sanitize\n * Public method providing core sanitation functionality\n *\n * @param {String|Node} dirty string or DOM node\n * @param {Object} cfg object\n */\n // eslint-disable-next-line complexity\n DOMPurify.sanitize = function (dirty) {\n let cfg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n let body = null;\n let importedNode = null;\n let currentNode = null;\n let returnNode = null;\n /* Make sure we have a string to sanitize.\n DO NOT return early, as this will return the wrong type if\n the user has requested a DOM object rather than a string */\n IS_EMPTY_INPUT = !dirty;\n if (IS_EMPTY_INPUT) {\n dirty = '';\n }\n\n /* Stringify, in case dirty is an object */\n if (typeof dirty !== 'string' && !_isNode(dirty)) {\n if (typeof dirty.toString === 'function') {\n dirty = dirty.toString();\n if (typeof dirty !== 'string') {\n throw typeErrorCreate('dirty is not a string, aborting');\n }\n } else {\n throw typeErrorCreate('toString is not a function');\n }\n }\n\n /* Return dirty HTML if DOMPurify cannot run */\n if (!DOMPurify.isSupported) {\n return dirty;\n }\n\n /* Assign config vars */\n if (!SET_CONFIG) {\n _parseConfig(cfg);\n }\n\n /* Clean up removed elements */\n DOMPurify.removed = [];\n\n /* Check if dirty is correctly typed for IN_PLACE */\n if (typeof dirty === 'string') {\n IN_PLACE = false;\n }\n if (IN_PLACE) {\n /* Do some early pre-sanitization to avoid unsafe root nodes */\n if (dirty.nodeName) {\n const tagName = transformCaseFunc(dirty.nodeName);\n if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {\n throw typeErrorCreate('root node is forbidden and cannot be sanitized in-place');\n }\n }\n } else if (dirty instanceof Node) {\n /* If dirty is a DOM element, append to an empty document to avoid\n elements being stripped by the parser */\n body = _initDocument('');\n importedNode = body.ownerDocument.importNode(dirty, true);\n if (importedNode.nodeType === NODE_TYPE.element && importedNode.nodeName === 'BODY') {\n /* Node is already a body, use as is */\n body = importedNode;\n } else if (importedNode.nodeName === 'HTML') {\n body = importedNode;\n } else {\n // eslint-disable-next-line unicorn/prefer-dom-node-append\n body.appendChild(importedNode);\n }\n } else {\n /* Exit directly if we have nothing to do */\n if (!RETURN_DOM && !SAFE_FOR_TEMPLATES && !WHOLE_DOCUMENT &&\n // eslint-disable-next-line unicorn/prefer-includes\n dirty.indexOf('<') === -1) {\n return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? trustedTypesPolicy.createHTML(dirty) : dirty;\n }\n\n /* Initialize the document to work on */\n body = _initDocument(dirty);\n\n /* Check we have a DOM node from the data */\n if (!body) {\n return RETURN_DOM ? null : RETURN_TRUSTED_TYPE ? emptyHTML : '';\n }\n }\n\n /* Remove first element node (ours) if FORCE_BODY is set */\n if (body && FORCE_BODY) {\n _forceRemove(body.firstChild);\n }\n\n /* Get node iterator */\n const nodeIterator = _createNodeIterator(IN_PLACE ? dirty : body);\n\n /* Now start iterating over the created document */\n while (currentNode = nodeIterator.nextNode()) {\n /* Sanitize tags and elements */\n if (_sanitizeElements(currentNode)) {\n continue;\n }\n\n /* Shadow DOM detected, sanitize it */\n if (currentNode.content instanceof DocumentFragment) {\n _sanitizeShadowDOM(currentNode.content);\n }\n\n /* Check attributes, sanitize if necessary */\n _sanitizeAttributes(currentNode);\n }\n\n /* If we sanitized `dirty` in-place, return it. */\n if (IN_PLACE) {\n return dirty;\n }\n\n /* Return sanitized string or DOM */\n if (RETURN_DOM) {\n if (RETURN_DOM_FRAGMENT) {\n returnNode = createDocumentFragment.call(body.ownerDocument);\n while (body.firstChild) {\n // eslint-disable-next-line unicorn/prefer-dom-node-append\n returnNode.appendChild(body.firstChild);\n }\n } else {\n returnNode = body;\n }\n if (ALLOWED_ATTR.shadowroot || ALLOWED_ATTR.shadowrootmode) {\n /*\n AdoptNode() is not used because internal state is not reset\n (e.g. the past names map of a HTMLFormElement), this is safe\n in theory but we would rather not risk another attack vector.\n The state that is cloned by importNode() is explicitly defined\n by the specs.\n */\n returnNode = importNode.call(originalDocument, returnNode, true);\n }\n return returnNode;\n }\n let serializedHTML = WHOLE_DOCUMENT ? body.outerHTML : body.innerHTML;\n\n /* Serialize doctype if allowed */\n if (WHOLE_DOCUMENT && ALLOWED_TAGS['!doctype'] && body.ownerDocument && body.ownerDocument.doctype && body.ownerDocument.doctype.name && regExpTest(DOCTYPE_NAME, body.ownerDocument.doctype.name)) {\n serializedHTML = '\\n' + serializedHTML;\n }\n\n /* Sanitize final string template-safe */\n if (SAFE_FOR_TEMPLATES) {\n arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => {\n serializedHTML = stringReplace(serializedHTML, expr, ' ');\n });\n }\n return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? trustedTypesPolicy.createHTML(serializedHTML) : serializedHTML;\n };\n\n /**\n * Public method to set the configuration once\n * setConfig\n *\n * @param {Object} cfg configuration object\n */\n DOMPurify.setConfig = function () {\n let cfg = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n _parseConfig(cfg);\n SET_CONFIG = true;\n };\n\n /**\n * Public method to remove the configuration\n * clearConfig\n *\n */\n DOMPurify.clearConfig = function () {\n CONFIG = null;\n SET_CONFIG = false;\n };\n\n /**\n * Public method to check if an attribute value is valid.\n * Uses last set config, if any. Otherwise, uses config defaults.\n * isValidAttribute\n *\n * @param {String} tag Tag name of containing element.\n * @param {String} attr Attribute name.\n * @param {String} value Attribute value.\n * @return {Boolean} Returns true if `value` is valid. Otherwise, returns false.\n */\n DOMPurify.isValidAttribute = function (tag, attr, value) {\n /* Initialize shared config vars if necessary. */\n if (!CONFIG) {\n _parseConfig({});\n }\n const lcTag = transformCaseFunc(tag);\n const lcName = transformCaseFunc(attr);\n return _isValidAttribute(lcTag, lcName, value);\n };\n\n /**\n * AddHook\n * Public method to add DOMPurify hooks\n *\n * @param {String} entryPoint entry point for the hook to add\n * @param {Function} hookFunction function to execute\n */\n DOMPurify.addHook = function (entryPoint, hookFunction) {\n if (typeof hookFunction !== 'function') {\n return;\n }\n hooks[entryPoint] = hooks[entryPoint] || [];\n arrayPush(hooks[entryPoint], hookFunction);\n };\n\n /**\n * RemoveHook\n * Public method to remove a DOMPurify hook at a given entryPoint\n * (pops it from the stack of hooks if more are present)\n *\n * @param {String} entryPoint entry point for the hook to remove\n * @return {Function} removed(popped) hook\n */\n DOMPurify.removeHook = function (entryPoint) {\n if (hooks[entryPoint]) {\n return arrayPop(hooks[entryPoint]);\n }\n };\n\n /**\n * RemoveHooks\n * Public method to remove all DOMPurify hooks at a given entryPoint\n *\n * @param {String} entryPoint entry point for the hooks to remove\n */\n DOMPurify.removeHooks = function (entryPoint) {\n if (hooks[entryPoint]) {\n hooks[entryPoint] = [];\n }\n };\n\n /**\n * RemoveAllHooks\n * Public method to remove all DOMPurify hooks\n */\n DOMPurify.removeAllHooks = function () {\n hooks = {};\n };\n return DOMPurify;\n}\nvar purify = createDOMPurify();\n\nexport { purify as default };\n//# sourceMappingURL=purify.es.mjs.map\n","/*!\n * escape-html\n * Copyright(c) 2012-2013 TJ Holowaychuk\n * Copyright(c) 2015 Andreas Lubbe\n * Copyright(c) 2015 Tiancheng \"Timothy\" Gu\n * MIT Licensed\n */\n\n'use strict';\n\n/**\n * Module variables.\n * @private\n */\n\nvar matchHtmlRegExp = /[\"'&<>]/;\n\n/**\n * Module exports.\n * @public\n */\n\nmodule.exports = escapeHtml;\n\n/**\n * Escape special characters in the given string of html.\n *\n * @param {string} string The string to escape for inserting into HTML\n * @return {string}\n * @public\n */\n\nfunction escapeHtml(string) {\n var str = '' + string;\n var match = matchHtmlRegExp.exec(str);\n\n if (!match) {\n return str;\n }\n\n var escape;\n var html = '';\n var index = 0;\n var lastIndex = 0;\n\n for (index = match.index; index < str.length; index++) {\n switch (str.charCodeAt(index)) {\n case 34: // \"\n escape = '"';\n break;\n case 38: // &\n escape = '&';\n break;\n case 39: // '\n escape = ''';\n break;\n case 60: // <\n escape = '<';\n break;\n case 62: // >\n escape = '>';\n break;\n default:\n continue;\n }\n\n if (lastIndex !== index) {\n html += str.substring(lastIndex, index);\n }\n\n lastIndex = index + 1;\n html += escape;\n }\n\n return lastIndex !== index\n ? html + str.substring(lastIndex, index)\n : html;\n}\n","import { generateFilePath } from '@nextcloud/router';\nimport DOMPurify from 'dompurify';\nimport escapeHTML from 'escape-html';\n\n/// \n/**\n * Get the first day of the week\n *\n * @return {number}\n */\nfunction getFirstDay() {\n if (typeof window.firstDay === 'undefined') {\n console.warn('No firstDay found');\n return 1;\n }\n return window.firstDay;\n}\n/**\n * Get a list of day names (full names)\n *\n * @return {string[]}\n */\nfunction getDayNames() {\n if (typeof window.dayNames === 'undefined') {\n console.warn('No dayNames found');\n return [\n 'Sunday',\n 'Monday',\n 'Tuesday',\n 'Wednesday',\n 'Thursday',\n 'Friday',\n 'Saturday',\n ];\n }\n return window.dayNames;\n}\n/**\n * Get a list of day names (short names)\n *\n * @return {string[]}\n */\nfunction getDayNamesShort() {\n if (typeof window.dayNamesShort === 'undefined') {\n console.warn('No dayNamesShort found');\n return ['Sun.', 'Mon.', 'Tue.', 'Wed.', 'Thu.', 'Fri.', 'Sat.'];\n }\n return window.dayNamesShort;\n}\n/**\n * Get a list of day names (minified names)\n *\n * @return {string[]}\n */\nfunction getDayNamesMin() {\n if (typeof window.dayNamesMin === 'undefined') {\n console.warn('No dayNamesMin found');\n return ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'];\n }\n return window.dayNamesMin;\n}\n/**\n * Get a list of month names (full names)\n *\n * @return {string[]}\n */\nfunction getMonthNames() {\n if (typeof window.monthNames === 'undefined') {\n console.warn('No monthNames found');\n return [\n 'January',\n 'February',\n 'March',\n 'April',\n 'May',\n 'June',\n 'July',\n 'August',\n 'September',\n 'October',\n 'November',\n 'December',\n ];\n }\n return window.monthNames;\n}\n/**\n * Get a list of month names (short names)\n *\n * @return {string[]}\n */\nfunction getMonthNamesShort() {\n if (typeof window.monthNamesShort === 'undefined') {\n console.warn('No monthNamesShort found');\n return [\n 'Jan.',\n 'Feb.',\n 'Mar.',\n 'Apr.',\n 'May.',\n 'Jun.',\n 'Jul.',\n 'Aug.',\n 'Sep.',\n 'Oct.',\n 'Nov.',\n 'Dec.',\n ];\n }\n return window.monthNamesShort;\n}\n\n/**\n * Returns the user's locale\n */\nfunction getLocale() {\n return document.documentElement.dataset.locale || 'en';\n}\n/**\n * Returns user's locale in canonical form\n * E.g. `en-US` instead of `en_US`\n */\nfunction getCanonicalLocale() {\n return getLocale().replace(/_/g, '-');\n}\n/**\n * Returns the user's language\n */\nfunction getLanguage() {\n return document.documentElement.lang || 'en';\n}\n/**\n * Check whether the current, or a given, language is read right-to-left\n *\n * @param language Language code to check, defaults to current language\n */\nfunction isRTL(language) {\n const languageCode = language || getLanguage();\n // Source: https://meta.wikimedia.org/wiki/Template:List_of_language_names_ordered_by_code\n const rtlLanguages = [\n /* eslint-disable no-multi-spaces */\n 'ae',\n 'ar',\n 'arc',\n 'arz',\n 'bcc',\n 'bqi',\n 'ckb',\n 'dv',\n 'fa',\n 'glk',\n 'ha',\n 'he',\n 'khw',\n 'ks',\n 'ku',\n 'mzn',\n 'nqo',\n 'pnb',\n 'ps',\n 'sd',\n 'ug',\n 'ur',\n 'uzs',\n 'yi', // 'ייִדיש', Yiddish\n /* eslint-enable no-multi-spaces */\n ];\n // special case for Uzbek Afghan\n if ((language || getCanonicalLocale()).startsWith('uz-AF')) {\n return true;\n }\n return rtlLanguages.includes(languageCode);\n}\n\n/// \n/**\n * Check if translations and plural function are set for given app\n *\n * @param {string} appId the app id\n * @return {boolean}\n */\nfunction hasAppTranslations(appId) {\n var _a, _b;\n return (((_a = window._oc_l10n_registry_translations) === null || _a === void 0 ? void 0 : _a[appId]) !== undefined\n && ((_b = window._oc_l10n_registry_plural_functions) === null || _b === void 0 ? void 0 : _b[appId]) !== undefined);\n}\n/**\n * Register new, or extend available, translations for an app\n *\n * @param {string} appId the app id\n * @param {object} translations the translations list\n * @param {Function} pluralFunction the plural function\n */\nfunction registerAppTranslations(appId, translations, pluralFunction) {\n var _a;\n window._oc_l10n_registry_translations = Object.assign(window._oc_l10n_registry_translations || {}, {\n [appId]: Object.assign(((_a = window._oc_l10n_registry_translations) === null || _a === void 0 ? void 0 : _a[appId]) || {}, translations),\n });\n window._oc_l10n_registry_plural_functions = Object.assign(window._oc_l10n_registry_plural_functions || {}, {\n [appId]: pluralFunction,\n });\n}\n/**\n * Unregister all translations and plural function for given app\n *\n * @param {string} appId the app id\n */\nfunction unregisterAppTranslations(appId) {\n var _a, _b;\n (_a = window._oc_l10n_registry_translations) === null || _a === void 0 ? true : delete _a[appId];\n (_b = window._oc_l10n_registry_plural_functions) === null || _b === void 0 ? true : delete _b[appId];\n}\n/**\n * Get translations bundle for given app and current locale\n *\n * @param {string} appId the app id\n * @return {object}\n */\nfunction getAppTranslations(appId) {\n var _a, _b, _c, _d;\n return {\n translations: (_b = (_a = window._oc_l10n_registry_translations) === null || _a === void 0 ? void 0 : _a[appId]) !== null && _b !== void 0 ? _b : {},\n pluralFunction: (_d = (_c = window._oc_l10n_registry_plural_functions) === null || _c === void 0 ? void 0 : _c[appId]) !== null && _d !== void 0 ? _d : ((number) => number),\n };\n}\n\n/**\n * Translate a string\n *\n * @param {string} app the id of the app for which to translate the string\n * @param {string} text the string to translate\n * @param {object} vars map of placeholder key to value\n * @param {number} number to replace %n with\n * @param {object} [options] options object\n * @return {string}\n */\nfunction translate(app, text, vars, number, options) {\n const defaultOptions = {\n escape: true,\n sanitize: true,\n };\n const allOptions = Object.assign({}, defaultOptions, options || {});\n const identity = (value) => value;\n const optSanitize = allOptions.sanitize ? DOMPurify.sanitize : identity;\n const optEscape = allOptions.escape ? escapeHTML : identity;\n // TODO: cache this function to avoid inline recreation\n // of the same function over and over again in case\n // translate() is used in a loop\n const _build = (text, vars, number) => {\n return text.replace(/%n/g, '' + number).replace(/{([^{}]*)}/g, (match, key) => {\n if (vars === undefined || !(key in vars)) {\n return optSanitize(match);\n }\n const r = vars[key];\n if (typeof r === 'string' || typeof r === 'number') {\n return optSanitize(optEscape(r));\n }\n else {\n return optSanitize(match);\n }\n });\n };\n const bundle = getAppTranslations(app);\n let translation = bundle.translations[text] || text;\n translation = Array.isArray(translation) ? translation[0] : translation;\n if (typeof vars === 'object' || number !== undefined) {\n return optSanitize(_build(translation, vars, number));\n }\n else {\n return optSanitize(translation);\n }\n}\n/**\n * Translate a string containing an object which possibly requires a plural form\n *\n * @param {string} app the id of the app for which to translate the string\n * @param {string} textSingular the string to translate for exactly one object\n * @param {string} textPlural the string to translate for n objects\n * @param {number} number number to determine whether to use singular or plural\n * @param {object} vars of placeholder key to value\n * @param {object} options options object\n */\nfunction translatePlural(app, textSingular, textPlural, number, vars, options) {\n const identifier = '_' + textSingular + '_::_' + textPlural + '_';\n const bundle = getAppTranslations(app);\n const value = bundle.translations[identifier];\n if (typeof value !== 'undefined') {\n const translation = value;\n if (Array.isArray(translation)) {\n const plural = bundle.pluralFunction(number);\n return translate(app, translation[plural], vars, number, options);\n }\n }\n if (number === 1) {\n return translate(app, textSingular, vars, number, options);\n }\n else {\n return translate(app, textPlural, vars, number, options);\n }\n}\n/**\n * Load an app's translation bundle if not loaded already.\n *\n * @param {string} appName name of the app\n * @param {Function} callback callback to be called when\n * the translations are loaded\n * @return {Promise} promise\n */\nfunction loadTranslations(appName, callback) {\n if (hasAppTranslations(appName) || getLocale() === 'en') {\n return Promise.resolve().then(callback);\n }\n const url = generateFilePath(appName, 'l10n', getLocale() + '.json');\n const promise = new Promise((resolve, reject) => {\n const request = new XMLHttpRequest();\n request.open('GET', url, true);\n request.onerror = () => {\n reject(new Error(request.statusText || 'Network error'));\n };\n request.onload = () => {\n if (request.status >= 200 && request.status < 300) {\n try {\n const bundle = JSON.parse(request.responseText);\n if (typeof bundle.translations === 'object')\n resolve(bundle);\n }\n catch (error) {\n // error is probably a SyntaxError due to invalid response text, this is handled by next line\n }\n reject(new Error('Invalid content of translation bundle'));\n }\n else {\n reject(new Error(request.statusText));\n }\n };\n request.send();\n });\n // load JSON translation bundle per AJAX\n return promise\n .then((result) => {\n register(appName, result.translations);\n return result;\n })\n .then(callback);\n}\n/**\n * Register an app's translation bundle.\n *\n * @param {string} appName name of the app\n * @param {Object} bundle translation bundle\n */\nfunction register(appName, bundle) {\n registerAppTranslations(appName, bundle, getPlural);\n}\n/**\n * Unregister all translations of an app\n *\n * @param appName name of the app\n * @since 2.1.0\n */\nfunction unregister(appName) {\n return unregisterAppTranslations(appName);\n}\n/**\n * Get array index of translations for a plural form\n *\n *\n * @param {number} number the number of elements\n * @return {number} 0 for the singular form(, 1 for the first plural form, ...)\n */\nfunction getPlural(number) {\n let language = getLanguage();\n if (language === 'pt-BR') {\n // temporary set a locale for brazilian\n language = 'xbr';\n }\n if (language.length > 3) {\n language = language.substring(0, language.lastIndexOf('-'));\n }\n /*\n * The plural rules are derived from code of the Zend Framework (2010-09-25),\n * which is subject to the new BSD license (http://framework.zend.com/license/new-bsd).\n * Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)\n */\n switch (language) {\n case 'az':\n case 'bo':\n case 'dz':\n case 'id':\n case 'ja':\n case 'jv':\n case 'ka':\n case 'km':\n case 'kn':\n case 'ko':\n case 'ms':\n case 'th':\n case 'tr':\n case 'vi':\n case 'zh':\n return 0;\n case 'af':\n case 'bn':\n case 'bg':\n case 'ca':\n case 'da':\n case 'de':\n case 'el':\n case 'en':\n case 'eo':\n case 'es':\n case 'et':\n case 'eu':\n case 'fa':\n case 'fi':\n case 'fo':\n case 'fur':\n case 'fy':\n case 'gl':\n case 'gu':\n case 'ha':\n case 'he':\n case 'hu':\n case 'is':\n case 'it':\n case 'ku':\n case 'lb':\n case 'ml':\n case 'mn':\n case 'mr':\n case 'nah':\n case 'nb':\n case 'ne':\n case 'nl':\n case 'nn':\n case 'no':\n case 'oc':\n case 'om':\n case 'or':\n case 'pa':\n case 'pap':\n case 'ps':\n case 'pt':\n case 'so':\n case 'sq':\n case 'sv':\n case 'sw':\n case 'ta':\n case 'te':\n case 'tk':\n case 'ur':\n case 'zu':\n return number === 1 ? 0 : 1;\n case 'am':\n case 'bh':\n case 'fil':\n case 'fr':\n case 'gun':\n case 'hi':\n case 'hy':\n case 'ln':\n case 'mg':\n case 'nso':\n case 'xbr':\n case 'ti':\n case 'wa':\n return number === 0 || number === 1 ? 0 : 1;\n case 'be':\n case 'bs':\n case 'hr':\n case 'ru':\n case 'sh':\n case 'sr':\n case 'uk':\n return number % 10 === 1 && number % 100 !== 11\n ? 0\n : number % 10 >= 2\n && number % 10 <= 4\n && (number % 100 < 10 || number % 100 >= 20)\n ? 1\n : 2;\n case 'cs':\n case 'sk':\n return number === 1 ? 0 : number >= 2 && number <= 4 ? 1 : 2;\n case 'ga':\n return number === 1 ? 0 : number === 2 ? 1 : 2;\n case 'lt':\n return number % 10 === 1 && number % 100 !== 11\n ? 0\n : number % 10 >= 2 && (number % 100 < 10 || number % 100 >= 20)\n ? 1\n : 2;\n case 'sl':\n return number % 100 === 1\n ? 0\n : number % 100 === 2\n ? 1\n : number % 100 === 3 || number % 100 === 4\n ? 2\n : 3;\n case 'mk':\n return number % 10 === 1 ? 0 : 1;\n case 'mt':\n return number === 1\n ? 0\n : number === 0 || (number % 100 > 1 && number % 100 < 11)\n ? 1\n : number % 100 > 10 && number % 100 < 20\n ? 2\n : 3;\n case 'lv':\n return number === 0\n ? 0\n : number % 10 === 1 && number % 100 !== 11\n ? 1\n : 2;\n case 'pl':\n return number === 1\n ? 0\n : number % 10 >= 2\n && number % 10 <= 4\n && (number % 100 < 12 || number % 100 > 14)\n ? 1\n : 2;\n case 'cy':\n return number === 1\n ? 0\n : number === 2\n ? 1\n : number === 8 || number === 11\n ? 2\n : 3;\n case 'ro':\n return number === 1\n ? 0\n : number === 0 || (number % 100 > 0 && number % 100 < 20)\n ? 1\n : 2;\n case 'ar':\n return number === 0\n ? 0\n : number === 1\n ? 1\n : number === 2\n ? 2\n : number % 100 >= 3 && number % 100 <= 10\n ? 3\n : number % 100 >= 11 && number % 100 <= 99\n ? 4\n : 5;\n default:\n return 0;\n }\n}\n\nexport { getCanonicalLocale, getDayNames, getDayNamesMin, getDayNamesShort, getFirstDay, getLanguage, getLocale, getMonthNames, getMonthNamesShort, getPlural, isRTL, loadTranslations, register, translate, translatePlural, unregister };\n","const global = globalThis || void 0 || self;\n\nexport { global as default, global };\n//# sourceMappingURL=index.js.map\n","/*!\n * Vue.js v2.7.16\n * (c) 2014-2023 Evan You\n * Released under the MIT License.\n */\nvar emptyObject = Object.freeze({});\nvar isArray = Array.isArray;\n// These helpers produce better VM code in JS engines due to their\n// explicitness and function inlining.\nfunction isUndef(v) {\n return v === undefined || v === null;\n}\nfunction isDef(v) {\n return v !== undefined && v !== null;\n}\nfunction isTrue(v) {\n return v === true;\n}\nfunction isFalse(v) {\n return v === false;\n}\n/**\n * Check if value is primitive.\n */\nfunction isPrimitive(value) {\n return (typeof value === 'string' ||\n typeof value === 'number' ||\n // $flow-disable-line\n typeof value === 'symbol' ||\n typeof value === 'boolean');\n}\nfunction isFunction(value) {\n return typeof value === 'function';\n}\n/**\n * Quick object check - this is primarily used to tell\n * objects from primitive values when we know the value\n * is a JSON-compliant type.\n */\nfunction isObject(obj) {\n return obj !== null && typeof obj === 'object';\n}\n/**\n * Get the raw type string of a value, e.g., [object Object].\n */\nvar _toString = Object.prototype.toString;\nfunction toRawType(value) {\n return _toString.call(value).slice(8, -1);\n}\n/**\n * Strict object type check. Only returns true\n * for plain JavaScript objects.\n */\nfunction isPlainObject(obj) {\n return _toString.call(obj) === '[object Object]';\n}\nfunction isRegExp(v) {\n return _toString.call(v) === '[object RegExp]';\n}\n/**\n * Check if val is a valid array index.\n */\nfunction isValidArrayIndex(val) {\n var n = parseFloat(String(val));\n return n >= 0 && Math.floor(n) === n && isFinite(val);\n}\nfunction isPromise(val) {\n return (isDef(val) &&\n typeof val.then === 'function' &&\n typeof val.catch === 'function');\n}\n/**\n * Convert a value to a string that is actually rendered.\n */\nfunction toString(val) {\n return val == null\n ? ''\n : Array.isArray(val) || (isPlainObject(val) && val.toString === _toString)\n ? JSON.stringify(val, replacer, 2)\n : String(val);\n}\nfunction replacer(_key, val) {\n // avoid circular deps from v3\n if (val && val.__v_isRef) {\n return val.value;\n }\n return val;\n}\n/**\n * Convert an input value to a number for persistence.\n * If the conversion fails, return original string.\n */\nfunction toNumber(val) {\n var n = parseFloat(val);\n return isNaN(n) ? val : n;\n}\n/**\n * Make a map and return a function for checking if a key\n * is in that map.\n */\nfunction makeMap(str, expectsLowerCase) {\n var map = Object.create(null);\n var list = str.split(',');\n for (var i = 0; i < list.length; i++) {\n map[list[i]] = true;\n }\n return expectsLowerCase ? function (val) { return map[val.toLowerCase()]; } : function (val) { return map[val]; };\n}\n/**\n * Check if a tag is a built-in tag.\n */\nvar isBuiltInTag = makeMap('slot,component', true);\n/**\n * Check if an attribute is a reserved attribute.\n */\nvar isReservedAttribute = makeMap('key,ref,slot,slot-scope,is');\n/**\n * Remove an item from an array.\n */\nfunction remove$2(arr, item) {\n var len = arr.length;\n if (len) {\n // fast path for the only / last item\n if (item === arr[len - 1]) {\n arr.length = len - 1;\n return;\n }\n var index = arr.indexOf(item);\n if (index > -1) {\n return arr.splice(index, 1);\n }\n }\n}\n/**\n * Check whether an object has the property.\n */\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction hasOwn(obj, key) {\n return hasOwnProperty.call(obj, key);\n}\n/**\n * Create a cached version of a pure function.\n */\nfunction cached(fn) {\n var cache = Object.create(null);\n return function cachedFn(str) {\n var hit = cache[str];\n return hit || (cache[str] = fn(str));\n };\n}\n/**\n * Camelize a hyphen-delimited string.\n */\nvar camelizeRE = /-(\\w)/g;\nvar camelize = cached(function (str) {\n return str.replace(camelizeRE, function (_, c) { return (c ? c.toUpperCase() : ''); });\n});\n/**\n * Capitalize a string.\n */\nvar capitalize = cached(function (str) {\n return str.charAt(0).toUpperCase() + str.slice(1);\n});\n/**\n * Hyphenate a camelCase string.\n */\nvar hyphenateRE = /\\B([A-Z])/g;\nvar hyphenate = cached(function (str) {\n return str.replace(hyphenateRE, '-$1').toLowerCase();\n});\n/**\n * Simple bind polyfill for environments that do not support it,\n * e.g., PhantomJS 1.x. Technically, we don't need this anymore\n * since native bind is now performant enough in most browsers.\n * But removing it would mean breaking code that was able to run in\n * PhantomJS 1.x, so this must be kept for backward compatibility.\n */\n/* istanbul ignore next */\nfunction polyfillBind(fn, ctx) {\n function boundFn(a) {\n var l = arguments.length;\n return l\n ? l > 1\n ? fn.apply(ctx, arguments)\n : fn.call(ctx, a)\n : fn.call(ctx);\n }\n boundFn._length = fn.length;\n return boundFn;\n}\nfunction nativeBind(fn, ctx) {\n return fn.bind(ctx);\n}\n// @ts-expect-error bind cannot be `undefined`\nvar bind = Function.prototype.bind ? nativeBind : polyfillBind;\n/**\n * Convert an Array-like object to a real Array.\n */\nfunction toArray(list, start) {\n start = start || 0;\n var i = list.length - start;\n var ret = new Array(i);\n while (i--) {\n ret[i] = list[i + start];\n }\n return ret;\n}\n/**\n * Mix properties into target object.\n */\nfunction extend(to, _from) {\n for (var key in _from) {\n to[key] = _from[key];\n }\n return to;\n}\n/**\n * Merge an Array of Objects into a single Object.\n */\nfunction toObject(arr) {\n var res = {};\n for (var i = 0; i < arr.length; i++) {\n if (arr[i]) {\n extend(res, arr[i]);\n }\n }\n return res;\n}\n/* eslint-disable no-unused-vars */\n/**\n * Perform no operation.\n * Stubbing args to make Flow happy without leaving useless transpiled code\n * with ...rest (https://flow.org/blog/2017/05/07/Strict-Function-Call-Arity/).\n */\nfunction noop(a, b, c) { }\n/**\n * Always return false.\n */\nvar no = function (a, b, c) { return false; };\n/* eslint-enable no-unused-vars */\n/**\n * Return the same value.\n */\nvar identity = function (_) { return _; };\n/**\n * Check if two values are loosely equal - that is,\n * if they are plain objects, do they have the same shape?\n */\nfunction looseEqual(a, b) {\n if (a === b)\n return true;\n var isObjectA = isObject(a);\n var isObjectB = isObject(b);\n if (isObjectA && isObjectB) {\n try {\n var isArrayA = Array.isArray(a);\n var isArrayB = Array.isArray(b);\n if (isArrayA && isArrayB) {\n return (a.length === b.length &&\n a.every(function (e, i) {\n return looseEqual(e, b[i]);\n }));\n }\n else if (a instanceof Date && b instanceof Date) {\n return a.getTime() === b.getTime();\n }\n else if (!isArrayA && !isArrayB) {\n var keysA = Object.keys(a);\n var keysB = Object.keys(b);\n return (keysA.length === keysB.length &&\n keysA.every(function (key) {\n return looseEqual(a[key], b[key]);\n }));\n }\n else {\n /* istanbul ignore next */\n return false;\n }\n }\n catch (e) {\n /* istanbul ignore next */\n return false;\n }\n }\n else if (!isObjectA && !isObjectB) {\n return String(a) === String(b);\n }\n else {\n return false;\n }\n}\n/**\n * Return the first index at which a loosely equal value can be\n * found in the array (if value is a plain object, the array must\n * contain an object of the same shape), or -1 if it is not present.\n */\nfunction looseIndexOf(arr, val) {\n for (var i = 0; i < arr.length; i++) {\n if (looseEqual(arr[i], val))\n return i;\n }\n return -1;\n}\n/**\n * Ensure a function is called only once.\n */\nfunction once(fn) {\n var called = false;\n return function () {\n if (!called) {\n called = true;\n fn.apply(this, arguments);\n }\n };\n}\n// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is#polyfill\nfunction hasChanged(x, y) {\n if (x === y) {\n return x === 0 && 1 / x !== 1 / y;\n }\n else {\n return x === x || y === y;\n }\n}\n\nvar SSR_ATTR = 'data-server-rendered';\nvar ASSET_TYPES = ['component', 'directive', 'filter'];\nvar LIFECYCLE_HOOKS = [\n 'beforeCreate',\n 'created',\n 'beforeMount',\n 'mounted',\n 'beforeUpdate',\n 'updated',\n 'beforeDestroy',\n 'destroyed',\n 'activated',\n 'deactivated',\n 'errorCaptured',\n 'serverPrefetch',\n 'renderTracked',\n 'renderTriggered'\n];\n\nvar config = {\n /**\n * Option merge strategies (used in core/util/options)\n */\n // $flow-disable-line\n optionMergeStrategies: Object.create(null),\n /**\n * Whether to suppress warnings.\n */\n silent: false,\n /**\n * Show production mode tip message on boot?\n */\n productionTip: process.env.NODE_ENV !== 'production',\n /**\n * Whether to enable devtools\n */\n devtools: process.env.NODE_ENV !== 'production',\n /**\n * Whether to record perf\n */\n performance: false,\n /**\n * Error handler for watcher errors\n */\n errorHandler: null,\n /**\n * Warn handler for watcher warns\n */\n warnHandler: null,\n /**\n * Ignore certain custom elements\n */\n ignoredElements: [],\n /**\n * Custom user key aliases for v-on\n */\n // $flow-disable-line\n keyCodes: Object.create(null),\n /**\n * Check if a tag is reserved so that it cannot be registered as a\n * component. This is platform-dependent and may be overwritten.\n */\n isReservedTag: no,\n /**\n * Check if an attribute is reserved so that it cannot be used as a component\n * prop. This is platform-dependent and may be overwritten.\n */\n isReservedAttr: no,\n /**\n * Check if a tag is an unknown element.\n * Platform-dependent.\n */\n isUnknownElement: no,\n /**\n * Get the namespace of an element\n */\n getTagNamespace: noop,\n /**\n * Parse the real tag name for the specific platform.\n */\n parsePlatformTagName: identity,\n /**\n * Check if an attribute must be bound using property, e.g. value\n * Platform-dependent.\n */\n mustUseProp: no,\n /**\n * Perform updates asynchronously. Intended to be used by Vue Test Utils\n * This will significantly reduce performance if set to false.\n */\n async: true,\n /**\n * Exposed for legacy reasons\n */\n _lifecycleHooks: LIFECYCLE_HOOKS\n};\n\n/**\n * unicode letters used for parsing html tags, component names and property paths.\n * using https://www.w3.org/TR/html53/semantics-scripting.html#potentialcustomelementname\n * skipping \\u10000-\\uEFFFF due to it freezing up PhantomJS\n */\nvar unicodeRegExp = /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/;\n/**\n * Check if a string starts with $ or _\n */\nfunction isReserved(str) {\n var c = (str + '').charCodeAt(0);\n return c === 0x24 || c === 0x5f;\n}\n/**\n * Define a property.\n */\nfunction def(obj, key, val, enumerable) {\n Object.defineProperty(obj, key, {\n value: val,\n enumerable: !!enumerable,\n writable: true,\n configurable: true\n });\n}\n/**\n * Parse simple path.\n */\nvar bailRE = new RegExp(\"[^\".concat(unicodeRegExp.source, \".$_\\\\d]\"));\nfunction parsePath(path) {\n if (bailRE.test(path)) {\n return;\n }\n var segments = path.split('.');\n return function (obj) {\n for (var i = 0; i < segments.length; i++) {\n if (!obj)\n return;\n obj = obj[segments[i]];\n }\n return obj;\n };\n}\n\n// can we use __proto__?\nvar hasProto = '__proto__' in {};\n// Browser environment sniffing\nvar inBrowser = typeof window !== 'undefined';\nvar UA = inBrowser && window.navigator.userAgent.toLowerCase();\nvar isIE = UA && /msie|trident/.test(UA);\nvar isIE9 = UA && UA.indexOf('msie 9.0') > 0;\nvar isEdge = UA && UA.indexOf('edge/') > 0;\nUA && UA.indexOf('android') > 0;\nvar isIOS = UA && /iphone|ipad|ipod|ios/.test(UA);\nUA && /chrome\\/\\d+/.test(UA) && !isEdge;\nUA && /phantomjs/.test(UA);\nvar isFF = UA && UA.match(/firefox\\/(\\d+)/);\n// Firefox has a \"watch\" function on Object.prototype...\n// @ts-expect-error firebox support\nvar nativeWatch = {}.watch;\nvar supportsPassive = false;\nif (inBrowser) {\n try {\n var opts = {};\n Object.defineProperty(opts, 'passive', {\n get: function () {\n /* istanbul ignore next */\n supportsPassive = true;\n }\n }); // https://github.com/facebook/flow/issues/285\n window.addEventListener('test-passive', null, opts);\n }\n catch (e) { }\n}\n// this needs to be lazy-evaled because vue may be required before\n// vue-server-renderer can set VUE_ENV\nvar _isServer;\nvar isServerRendering = function () {\n if (_isServer === undefined) {\n /* istanbul ignore if */\n if (!inBrowser && typeof global !== 'undefined') {\n // detect presence of vue-server-renderer and avoid\n // Webpack shimming the process\n _isServer =\n global['process'] && global['process'].env.VUE_ENV === 'server';\n }\n else {\n _isServer = false;\n }\n }\n return _isServer;\n};\n// detect devtools\nvar devtools = inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;\n/* istanbul ignore next */\nfunction isNative(Ctor) {\n return typeof Ctor === 'function' && /native code/.test(Ctor.toString());\n}\nvar hasSymbol = typeof Symbol !== 'undefined' &&\n isNative(Symbol) &&\n typeof Reflect !== 'undefined' &&\n isNative(Reflect.ownKeys);\nvar _Set; // $flow-disable-line\n/* istanbul ignore if */ if (typeof Set !== 'undefined' && isNative(Set)) {\n // use native Set when available.\n _Set = Set;\n}\nelse {\n // a non-standard Set polyfill that only works with primitive keys.\n _Set = /** @class */ (function () {\n function Set() {\n this.set = Object.create(null);\n }\n Set.prototype.has = function (key) {\n return this.set[key] === true;\n };\n Set.prototype.add = function (key) {\n this.set[key] = true;\n };\n Set.prototype.clear = function () {\n this.set = Object.create(null);\n };\n return Set;\n }());\n}\n\nvar currentInstance = null;\n/**\n * This is exposed for compatibility with v3 (e.g. some functions in VueUse\n * relies on it). Do not use this internally, just use `currentInstance`.\n *\n * @internal this function needs manual type declaration because it relies\n * on previously manually authored types from Vue 2\n */\nfunction getCurrentInstance() {\n return currentInstance && { proxy: currentInstance };\n}\n/**\n * @internal\n */\nfunction setCurrentInstance(vm) {\n if (vm === void 0) { vm = null; }\n if (!vm)\n currentInstance && currentInstance._scope.off();\n currentInstance = vm;\n vm && vm._scope.on();\n}\n\n/**\n * @internal\n */\nvar VNode = /** @class */ (function () {\n function VNode(tag, data, children, text, elm, context, componentOptions, asyncFactory) {\n this.tag = tag;\n this.data = data;\n this.children = children;\n this.text = text;\n this.elm = elm;\n this.ns = undefined;\n this.context = context;\n this.fnContext = undefined;\n this.fnOptions = undefined;\n this.fnScopeId = undefined;\n this.key = data && data.key;\n this.componentOptions = componentOptions;\n this.componentInstance = undefined;\n this.parent = undefined;\n this.raw = false;\n this.isStatic = false;\n this.isRootInsert = true;\n this.isComment = false;\n this.isCloned = false;\n this.isOnce = false;\n this.asyncFactory = asyncFactory;\n this.asyncMeta = undefined;\n this.isAsyncPlaceholder = false;\n }\n Object.defineProperty(VNode.prototype, \"child\", {\n // DEPRECATED: alias for componentInstance for backwards compat.\n /* istanbul ignore next */\n get: function () {\n return this.componentInstance;\n },\n enumerable: false,\n configurable: true\n });\n return VNode;\n}());\nvar createEmptyVNode = function (text) {\n if (text === void 0) { text = ''; }\n var node = new VNode();\n node.text = text;\n node.isComment = true;\n return node;\n};\nfunction createTextVNode(val) {\n return new VNode(undefined, undefined, undefined, String(val));\n}\n// optimized shallow clone\n// used for static nodes and slot nodes because they may be reused across\n// multiple renders, cloning them avoids errors when DOM manipulations rely\n// on their elm reference.\nfunction cloneVNode(vnode) {\n var cloned = new VNode(vnode.tag, vnode.data, \n // #7975\n // clone children array to avoid mutating original in case of cloning\n // a child.\n vnode.children && vnode.children.slice(), vnode.text, vnode.elm, vnode.context, vnode.componentOptions, vnode.asyncFactory);\n cloned.ns = vnode.ns;\n cloned.isStatic = vnode.isStatic;\n cloned.key = vnode.key;\n cloned.isComment = vnode.isComment;\n cloned.fnContext = vnode.fnContext;\n cloned.fnOptions = vnode.fnOptions;\n cloned.fnScopeId = vnode.fnScopeId;\n cloned.asyncMeta = vnode.asyncMeta;\n cloned.isCloned = true;\n return cloned;\n}\n\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n\r\nvar __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n};\r\n\r\ntypeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\r\n var e = new Error(message);\r\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\r\n};\n\nvar uid$2 = 0;\nvar pendingCleanupDeps = [];\nvar cleanupDeps = function () {\n for (var i = 0; i < pendingCleanupDeps.length; i++) {\n var dep = pendingCleanupDeps[i];\n dep.subs = dep.subs.filter(function (s) { return s; });\n dep._pending = false;\n }\n pendingCleanupDeps.length = 0;\n};\n/**\n * A dep is an observable that can have multiple\n * directives subscribing to it.\n * @internal\n */\nvar Dep = /** @class */ (function () {\n function Dep() {\n // pending subs cleanup\n this._pending = false;\n this.id = uid$2++;\n this.subs = [];\n }\n Dep.prototype.addSub = function (sub) {\n this.subs.push(sub);\n };\n Dep.prototype.removeSub = function (sub) {\n // #12696 deps with massive amount of subscribers are extremely slow to\n // clean up in Chromium\n // to workaround this, we unset the sub for now, and clear them on\n // next scheduler flush.\n this.subs[this.subs.indexOf(sub)] = null;\n if (!this._pending) {\n this._pending = true;\n pendingCleanupDeps.push(this);\n }\n };\n Dep.prototype.depend = function (info) {\n if (Dep.target) {\n Dep.target.addDep(this);\n if (process.env.NODE_ENV !== 'production' && info && Dep.target.onTrack) {\n Dep.target.onTrack(__assign({ effect: Dep.target }, info));\n }\n }\n };\n Dep.prototype.notify = function (info) {\n // stabilize the subscriber list first\n var subs = this.subs.filter(function (s) { return s; });\n if (process.env.NODE_ENV !== 'production' && !config.async) {\n // subs aren't sorted in scheduler if not running async\n // we need to sort them now to make sure they fire in correct\n // order\n subs.sort(function (a, b) { return a.id - b.id; });\n }\n for (var i = 0, l = subs.length; i < l; i++) {\n var sub = subs[i];\n if (process.env.NODE_ENV !== 'production' && info) {\n sub.onTrigger &&\n sub.onTrigger(__assign({ effect: subs[i] }, info));\n }\n sub.update();\n }\n };\n return Dep;\n}());\n// The current target watcher being evaluated.\n// This is globally unique because only one watcher\n// can be evaluated at a time.\nDep.target = null;\nvar targetStack = [];\nfunction pushTarget(target) {\n targetStack.push(target);\n Dep.target = target;\n}\nfunction popTarget() {\n targetStack.pop();\n Dep.target = targetStack[targetStack.length - 1];\n}\n\n/*\n * not type checking this file because flow doesn't play well with\n * dynamically accessing methods on Array prototype\n */\nvar arrayProto = Array.prototype;\nvar arrayMethods = Object.create(arrayProto);\nvar methodsToPatch = [\n 'push',\n 'pop',\n 'shift',\n 'unshift',\n 'splice',\n 'sort',\n 'reverse'\n];\n/**\n * Intercept mutating methods and emit events\n */\nmethodsToPatch.forEach(function (method) {\n // cache original method\n var original = arrayProto[method];\n def(arrayMethods, method, function mutator() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var result = original.apply(this, args);\n var ob = this.__ob__;\n var inserted;\n switch (method) {\n case 'push':\n case 'unshift':\n inserted = args;\n break;\n case 'splice':\n inserted = args.slice(2);\n break;\n }\n if (inserted)\n ob.observeArray(inserted);\n // notify change\n if (process.env.NODE_ENV !== 'production') {\n ob.dep.notify({\n type: \"array mutation\" /* TriggerOpTypes.ARRAY_MUTATION */,\n target: this,\n key: method\n });\n }\n else {\n ob.dep.notify();\n }\n return result;\n });\n});\n\nvar arrayKeys = Object.getOwnPropertyNames(arrayMethods);\nvar NO_INITIAL_VALUE = {};\n/**\n * In some cases we may want to disable observation inside a component's\n * update computation.\n */\nvar shouldObserve = true;\nfunction toggleObserving(value) {\n shouldObserve = value;\n}\n// ssr mock dep\nvar mockDep = {\n notify: noop,\n depend: noop,\n addSub: noop,\n removeSub: noop\n};\n/**\n * Observer class that is attached to each observed\n * object. Once attached, the observer converts the target\n * object's property keys into getter/setters that\n * collect dependencies and dispatch updates.\n */\nvar Observer = /** @class */ (function () {\n function Observer(value, shallow, mock) {\n if (shallow === void 0) { shallow = false; }\n if (mock === void 0) { mock = false; }\n this.value = value;\n this.shallow = shallow;\n this.mock = mock;\n // this.value = value\n this.dep = mock ? mockDep : new Dep();\n this.vmCount = 0;\n def(value, '__ob__', this);\n if (isArray(value)) {\n if (!mock) {\n if (hasProto) {\n value.__proto__ = arrayMethods;\n /* eslint-enable no-proto */\n }\n else {\n for (var i = 0, l = arrayKeys.length; i < l; i++) {\n var key = arrayKeys[i];\n def(value, key, arrayMethods[key]);\n }\n }\n }\n if (!shallow) {\n this.observeArray(value);\n }\n }\n else {\n /**\n * Walk through all properties and convert them into\n * getter/setters. This method should only be called when\n * value type is Object.\n */\n var keys = Object.keys(value);\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n defineReactive(value, key, NO_INITIAL_VALUE, undefined, shallow, mock);\n }\n }\n }\n /**\n * Observe a list of Array items.\n */\n Observer.prototype.observeArray = function (value) {\n for (var i = 0, l = value.length; i < l; i++) {\n observe(value[i], false, this.mock);\n }\n };\n return Observer;\n}());\n// helpers\n/**\n * Attempt to create an observer instance for a value,\n * returns the new observer if successfully observed,\n * or the existing observer if the value already has one.\n */\nfunction observe(value, shallow, ssrMockReactivity) {\n if (value && hasOwn(value, '__ob__') && value.__ob__ instanceof Observer) {\n return value.__ob__;\n }\n if (shouldObserve &&\n (ssrMockReactivity || !isServerRendering()) &&\n (isArray(value) || isPlainObject(value)) &&\n Object.isExtensible(value) &&\n !value.__v_skip /* ReactiveFlags.SKIP */ &&\n !isRef(value) &&\n !(value instanceof VNode)) {\n return new Observer(value, shallow, ssrMockReactivity);\n }\n}\n/**\n * Define a reactive property on an Object.\n */\nfunction defineReactive(obj, key, val, customSetter, shallow, mock, observeEvenIfShallow) {\n if (observeEvenIfShallow === void 0) { observeEvenIfShallow = false; }\n var dep = new Dep();\n var property = Object.getOwnPropertyDescriptor(obj, key);\n if (property && property.configurable === false) {\n return;\n }\n // cater for pre-defined getter/setters\n var getter = property && property.get;\n var setter = property && property.set;\n if ((!getter || setter) &&\n (val === NO_INITIAL_VALUE || arguments.length === 2)) {\n val = obj[key];\n }\n var childOb = shallow ? val && val.__ob__ : observe(val, false, mock);\n Object.defineProperty(obj, key, {\n enumerable: true,\n configurable: true,\n get: function reactiveGetter() {\n var value = getter ? getter.call(obj) : val;\n if (Dep.target) {\n if (process.env.NODE_ENV !== 'production') {\n dep.depend({\n target: obj,\n type: \"get\" /* TrackOpTypes.GET */,\n key: key\n });\n }\n else {\n dep.depend();\n }\n if (childOb) {\n childOb.dep.depend();\n if (isArray(value)) {\n dependArray(value);\n }\n }\n }\n return isRef(value) && !shallow ? value.value : value;\n },\n set: function reactiveSetter(newVal) {\n var value = getter ? getter.call(obj) : val;\n if (!hasChanged(value, newVal)) {\n return;\n }\n if (process.env.NODE_ENV !== 'production' && customSetter) {\n customSetter();\n }\n if (setter) {\n setter.call(obj, newVal);\n }\n else if (getter) {\n // #7981: for accessor properties without setter\n return;\n }\n else if (!shallow && isRef(value) && !isRef(newVal)) {\n value.value = newVal;\n return;\n }\n else {\n val = newVal;\n }\n childOb = shallow ? newVal && newVal.__ob__ : observe(newVal, false, mock);\n if (process.env.NODE_ENV !== 'production') {\n dep.notify({\n type: \"set\" /* TriggerOpTypes.SET */,\n target: obj,\n key: key,\n newValue: newVal,\n oldValue: value\n });\n }\n else {\n dep.notify();\n }\n }\n });\n return dep;\n}\nfunction set(target, key, val) {\n if (process.env.NODE_ENV !== 'production' && (isUndef(target) || isPrimitive(target))) {\n warn(\"Cannot set reactive property on undefined, null, or primitive value: \".concat(target));\n }\n if (isReadonly(target)) {\n process.env.NODE_ENV !== 'production' && warn(\"Set operation on key \\\"\".concat(key, \"\\\" failed: target is readonly.\"));\n return;\n }\n var ob = target.__ob__;\n if (isArray(target) && isValidArrayIndex(key)) {\n target.length = Math.max(target.length, key);\n target.splice(key, 1, val);\n // when mocking for SSR, array methods are not hijacked\n if (ob && !ob.shallow && ob.mock) {\n observe(val, false, true);\n }\n return val;\n }\n if (key in target && !(key in Object.prototype)) {\n target[key] = val;\n return val;\n }\n if (target._isVue || (ob && ob.vmCount)) {\n process.env.NODE_ENV !== 'production' &&\n warn('Avoid adding reactive properties to a Vue instance or its root $data ' +\n 'at runtime - declare it upfront in the data option.');\n return val;\n }\n if (!ob) {\n target[key] = val;\n return val;\n }\n defineReactive(ob.value, key, val, undefined, ob.shallow, ob.mock);\n if (process.env.NODE_ENV !== 'production') {\n ob.dep.notify({\n type: \"add\" /* TriggerOpTypes.ADD */,\n target: target,\n key: key,\n newValue: val,\n oldValue: undefined\n });\n }\n else {\n ob.dep.notify();\n }\n return val;\n}\nfunction del(target, key) {\n if (process.env.NODE_ENV !== 'production' && (isUndef(target) || isPrimitive(target))) {\n warn(\"Cannot delete reactive property on undefined, null, or primitive value: \".concat(target));\n }\n if (isArray(target) && isValidArrayIndex(key)) {\n target.splice(key, 1);\n return;\n }\n var ob = target.__ob__;\n if (target._isVue || (ob && ob.vmCount)) {\n process.env.NODE_ENV !== 'production' &&\n warn('Avoid deleting properties on a Vue instance or its root $data ' +\n '- just set it to null.');\n return;\n }\n if (isReadonly(target)) {\n process.env.NODE_ENV !== 'production' &&\n warn(\"Delete operation on key \\\"\".concat(key, \"\\\" failed: target is readonly.\"));\n return;\n }\n if (!hasOwn(target, key)) {\n return;\n }\n delete target[key];\n if (!ob) {\n return;\n }\n if (process.env.NODE_ENV !== 'production') {\n ob.dep.notify({\n type: \"delete\" /* TriggerOpTypes.DELETE */,\n target: target,\n key: key\n });\n }\n else {\n ob.dep.notify();\n }\n}\n/**\n * Collect dependencies on array elements when the array is touched, since\n * we cannot intercept array element access like property getters.\n */\nfunction dependArray(value) {\n for (var e = void 0, i = 0, l = value.length; i < l; i++) {\n e = value[i];\n if (e && e.__ob__) {\n e.__ob__.dep.depend();\n }\n if (isArray(e)) {\n dependArray(e);\n }\n }\n}\n\nfunction reactive(target) {\n makeReactive(target, false);\n return target;\n}\n/**\n * Return a shallowly-reactive copy of the original object, where only the root\n * level properties are reactive. It also does not auto-unwrap refs (even at the\n * root level).\n */\nfunction shallowReactive(target) {\n makeReactive(target, true);\n def(target, \"__v_isShallow\" /* ReactiveFlags.IS_SHALLOW */, true);\n return target;\n}\nfunction makeReactive(target, shallow) {\n // if trying to observe a readonly proxy, return the readonly version.\n if (!isReadonly(target)) {\n if (process.env.NODE_ENV !== 'production') {\n if (isArray(target)) {\n warn(\"Avoid using Array as root value for \".concat(shallow ? \"shallowReactive()\" : \"reactive()\", \" as it cannot be tracked in watch() or watchEffect(). Use \").concat(shallow ? \"shallowRef()\" : \"ref()\", \" instead. This is a Vue-2-only limitation.\"));\n }\n var existingOb = target && target.__ob__;\n if (existingOb && existingOb.shallow !== shallow) {\n warn(\"Target is already a \".concat(existingOb.shallow ? \"\" : \"non-\", \"shallow reactive object, and cannot be converted to \").concat(shallow ? \"\" : \"non-\", \"shallow.\"));\n }\n }\n var ob = observe(target, shallow, isServerRendering() /* ssr mock reactivity */);\n if (process.env.NODE_ENV !== 'production' && !ob) {\n if (target == null || isPrimitive(target)) {\n warn(\"value cannot be made reactive: \".concat(String(target)));\n }\n if (isCollectionType(target)) {\n warn(\"Vue 2 does not support reactive collection types such as Map or Set.\");\n }\n }\n }\n}\nfunction isReactive(value) {\n if (isReadonly(value)) {\n return isReactive(value[\"__v_raw\" /* ReactiveFlags.RAW */]);\n }\n return !!(value && value.__ob__);\n}\nfunction isShallow(value) {\n return !!(value && value.__v_isShallow);\n}\nfunction isReadonly(value) {\n return !!(value && value.__v_isReadonly);\n}\nfunction isProxy(value) {\n return isReactive(value) || isReadonly(value);\n}\nfunction toRaw(observed) {\n var raw = observed && observed[\"__v_raw\" /* ReactiveFlags.RAW */];\n return raw ? toRaw(raw) : observed;\n}\nfunction markRaw(value) {\n // non-extensible objects won't be observed anyway\n if (Object.isExtensible(value)) {\n def(value, \"__v_skip\" /* ReactiveFlags.SKIP */, true);\n }\n return value;\n}\n/**\n * @internal\n */\nfunction isCollectionType(value) {\n var type = toRawType(value);\n return (type === 'Map' || type === 'WeakMap' || type === 'Set' || type === 'WeakSet');\n}\n\n/**\n * @internal\n */\nvar RefFlag = \"__v_isRef\";\nfunction isRef(r) {\n return !!(r && r.__v_isRef === true);\n}\nfunction ref$1(value) {\n return createRef(value, false);\n}\nfunction shallowRef(value) {\n return createRef(value, true);\n}\nfunction createRef(rawValue, shallow) {\n if (isRef(rawValue)) {\n return rawValue;\n }\n var ref = {};\n def(ref, RefFlag, true);\n def(ref, \"__v_isShallow\" /* ReactiveFlags.IS_SHALLOW */, shallow);\n def(ref, 'dep', defineReactive(ref, 'value', rawValue, null, shallow, isServerRendering()));\n return ref;\n}\nfunction triggerRef(ref) {\n if (process.env.NODE_ENV !== 'production' && !ref.dep) {\n warn(\"received object is not a triggerable ref.\");\n }\n if (process.env.NODE_ENV !== 'production') {\n ref.dep &&\n ref.dep.notify({\n type: \"set\" /* TriggerOpTypes.SET */,\n target: ref,\n key: 'value'\n });\n }\n else {\n ref.dep && ref.dep.notify();\n }\n}\nfunction unref(ref) {\n return isRef(ref) ? ref.value : ref;\n}\nfunction proxyRefs(objectWithRefs) {\n if (isReactive(objectWithRefs)) {\n return objectWithRefs;\n }\n var proxy = {};\n var keys = Object.keys(objectWithRefs);\n for (var i = 0; i < keys.length; i++) {\n proxyWithRefUnwrap(proxy, objectWithRefs, keys[i]);\n }\n return proxy;\n}\nfunction proxyWithRefUnwrap(target, source, key) {\n Object.defineProperty(target, key, {\n enumerable: true,\n configurable: true,\n get: function () {\n var val = source[key];\n if (isRef(val)) {\n return val.value;\n }\n else {\n var ob = val && val.__ob__;\n if (ob)\n ob.dep.depend();\n return val;\n }\n },\n set: function (value) {\n var oldValue = source[key];\n if (isRef(oldValue) && !isRef(value)) {\n oldValue.value = value;\n }\n else {\n source[key] = value;\n }\n }\n });\n}\nfunction customRef(factory) {\n var dep = new Dep();\n var _a = factory(function () {\n if (process.env.NODE_ENV !== 'production') {\n dep.depend({\n target: ref,\n type: \"get\" /* TrackOpTypes.GET */,\n key: 'value'\n });\n }\n else {\n dep.depend();\n }\n }, function () {\n if (process.env.NODE_ENV !== 'production') {\n dep.notify({\n target: ref,\n type: \"set\" /* TriggerOpTypes.SET */,\n key: 'value'\n });\n }\n else {\n dep.notify();\n }\n }), get = _a.get, set = _a.set;\n var ref = {\n get value() {\n return get();\n },\n set value(newVal) {\n set(newVal);\n }\n };\n def(ref, RefFlag, true);\n return ref;\n}\nfunction toRefs(object) {\n if (process.env.NODE_ENV !== 'production' && !isReactive(object)) {\n warn(\"toRefs() expects a reactive object but received a plain one.\");\n }\n var ret = isArray(object) ? new Array(object.length) : {};\n for (var key in object) {\n ret[key] = toRef(object, key);\n }\n return ret;\n}\nfunction toRef(object, key, defaultValue) {\n var val = object[key];\n if (isRef(val)) {\n return val;\n }\n var ref = {\n get value() {\n var val = object[key];\n return val === undefined ? defaultValue : val;\n },\n set value(newVal) {\n object[key] = newVal;\n }\n };\n def(ref, RefFlag, true);\n return ref;\n}\n\nvar rawToReadonlyFlag = \"__v_rawToReadonly\";\nvar rawToShallowReadonlyFlag = \"__v_rawToShallowReadonly\";\nfunction readonly(target) {\n return createReadonly(target, false);\n}\nfunction createReadonly(target, shallow) {\n if (!isPlainObject(target)) {\n if (process.env.NODE_ENV !== 'production') {\n if (isArray(target)) {\n warn(\"Vue 2 does not support readonly arrays.\");\n }\n else if (isCollectionType(target)) {\n warn(\"Vue 2 does not support readonly collection types such as Map or Set.\");\n }\n else {\n warn(\"value cannot be made readonly: \".concat(typeof target));\n }\n }\n return target;\n }\n if (process.env.NODE_ENV !== 'production' && !Object.isExtensible(target)) {\n warn(\"Vue 2 does not support creating readonly proxy for non-extensible object.\");\n }\n // already a readonly object\n if (isReadonly(target)) {\n return target;\n }\n // already has a readonly proxy\n var existingFlag = shallow ? rawToShallowReadonlyFlag : rawToReadonlyFlag;\n var existingProxy = target[existingFlag];\n if (existingProxy) {\n return existingProxy;\n }\n var proxy = Object.create(Object.getPrototypeOf(target));\n def(target, existingFlag, proxy);\n def(proxy, \"__v_isReadonly\" /* ReactiveFlags.IS_READONLY */, true);\n def(proxy, \"__v_raw\" /* ReactiveFlags.RAW */, target);\n if (isRef(target)) {\n def(proxy, RefFlag, true);\n }\n if (shallow || isShallow(target)) {\n def(proxy, \"__v_isShallow\" /* ReactiveFlags.IS_SHALLOW */, true);\n }\n var keys = Object.keys(target);\n for (var i = 0; i < keys.length; i++) {\n defineReadonlyProperty(proxy, target, keys[i], shallow);\n }\n return proxy;\n}\nfunction defineReadonlyProperty(proxy, target, key, shallow) {\n Object.defineProperty(proxy, key, {\n enumerable: true,\n configurable: true,\n get: function () {\n var val = target[key];\n return shallow || !isPlainObject(val) ? val : readonly(val);\n },\n set: function () {\n process.env.NODE_ENV !== 'production' &&\n warn(\"Set operation on key \\\"\".concat(key, \"\\\" failed: target is readonly.\"));\n }\n });\n}\n/**\n * Returns a reactive-copy of the original object, where only the root level\n * properties are readonly, and does NOT unwrap refs nor recursively convert\n * returned properties.\n * This is used for creating the props proxy object for stateful components.\n */\nfunction shallowReadonly(target) {\n return createReadonly(target, true);\n}\n\nfunction computed(getterOrOptions, debugOptions) {\n var getter;\n var setter;\n var onlyGetter = isFunction(getterOrOptions);\n if (onlyGetter) {\n getter = getterOrOptions;\n setter = process.env.NODE_ENV !== 'production'\n ? function () {\n warn('Write operation failed: computed value is readonly');\n }\n : noop;\n }\n else {\n getter = getterOrOptions.get;\n setter = getterOrOptions.set;\n }\n var watcher = isServerRendering()\n ? null\n : new Watcher(currentInstance, getter, noop, { lazy: true });\n if (process.env.NODE_ENV !== 'production' && watcher && debugOptions) {\n watcher.onTrack = debugOptions.onTrack;\n watcher.onTrigger = debugOptions.onTrigger;\n }\n var ref = {\n // some libs rely on the presence effect for checking computed refs\n // from normal refs, but the implementation doesn't matter\n effect: watcher,\n get value() {\n if (watcher) {\n if (watcher.dirty) {\n watcher.evaluate();\n }\n if (Dep.target) {\n if (process.env.NODE_ENV !== 'production' && Dep.target.onTrack) {\n Dep.target.onTrack({\n effect: Dep.target,\n target: ref,\n type: \"get\" /* TrackOpTypes.GET */,\n key: 'value'\n });\n }\n watcher.depend();\n }\n return watcher.value;\n }\n else {\n return getter();\n }\n },\n set value(newVal) {\n setter(newVal);\n }\n };\n def(ref, RefFlag, true);\n def(ref, \"__v_isReadonly\" /* ReactiveFlags.IS_READONLY */, onlyGetter);\n return ref;\n}\n\nvar WATCHER = \"watcher\";\nvar WATCHER_CB = \"\".concat(WATCHER, \" callback\");\nvar WATCHER_GETTER = \"\".concat(WATCHER, \" getter\");\nvar WATCHER_CLEANUP = \"\".concat(WATCHER, \" cleanup\");\n// Simple effect.\nfunction watchEffect(effect, options) {\n return doWatch(effect, null, options);\n}\nfunction watchPostEffect(effect, options) {\n return doWatch(effect, null, (process.env.NODE_ENV !== 'production'\n ? __assign(__assign({}, options), { flush: 'post' }) : { flush: 'post' }));\n}\nfunction watchSyncEffect(effect, options) {\n return doWatch(effect, null, (process.env.NODE_ENV !== 'production'\n ? __assign(__assign({}, options), { flush: 'sync' }) : { flush: 'sync' }));\n}\n// initial value for watchers to trigger on undefined initial values\nvar INITIAL_WATCHER_VALUE = {};\n// implementation\nfunction watch(source, cb, options) {\n if (process.env.NODE_ENV !== 'production' && typeof cb !== 'function') {\n warn(\"`watch(fn, options?)` signature has been moved to a separate API. \" +\n \"Use `watchEffect(fn, options?)` instead. `watch` now only \" +\n \"supports `watch(source, cb, options?) signature.\");\n }\n return doWatch(source, cb, options);\n}\nfunction doWatch(source, cb, _a) {\n var _b = _a === void 0 ? emptyObject : _a, immediate = _b.immediate, deep = _b.deep, _c = _b.flush, flush = _c === void 0 ? 'pre' : _c, onTrack = _b.onTrack, onTrigger = _b.onTrigger;\n if (process.env.NODE_ENV !== 'production' && !cb) {\n if (immediate !== undefined) {\n warn(\"watch() \\\"immediate\\\" option is only respected when using the \" +\n \"watch(source, callback, options?) signature.\");\n }\n if (deep !== undefined) {\n warn(\"watch() \\\"deep\\\" option is only respected when using the \" +\n \"watch(source, callback, options?) signature.\");\n }\n }\n var warnInvalidSource = function (s) {\n warn(\"Invalid watch source: \".concat(s, \". A watch source can only be a getter/effect \") +\n \"function, a ref, a reactive object, or an array of these types.\");\n };\n var instance = currentInstance;\n var call = function (fn, type, args) {\n if (args === void 0) { args = null; }\n var res = invokeWithErrorHandling(fn, null, args, instance, type);\n if (deep && res && res.__ob__)\n res.__ob__.dep.depend();\n return res;\n };\n var getter;\n var forceTrigger = false;\n var isMultiSource = false;\n if (isRef(source)) {\n getter = function () { return source.value; };\n forceTrigger = isShallow(source);\n }\n else if (isReactive(source)) {\n getter = function () {\n source.__ob__.dep.depend();\n return source;\n };\n deep = true;\n }\n else if (isArray(source)) {\n isMultiSource = true;\n forceTrigger = source.some(function (s) { return isReactive(s) || isShallow(s); });\n getter = function () {\n return source.map(function (s) {\n if (isRef(s)) {\n return s.value;\n }\n else if (isReactive(s)) {\n s.__ob__.dep.depend();\n return traverse(s);\n }\n else if (isFunction(s)) {\n return call(s, WATCHER_GETTER);\n }\n else {\n process.env.NODE_ENV !== 'production' && warnInvalidSource(s);\n }\n });\n };\n }\n else if (isFunction(source)) {\n if (cb) {\n // getter with cb\n getter = function () { return call(source, WATCHER_GETTER); };\n }\n else {\n // no cb -> simple effect\n getter = function () {\n if (instance && instance._isDestroyed) {\n return;\n }\n if (cleanup) {\n cleanup();\n }\n return call(source, WATCHER, [onCleanup]);\n };\n }\n }\n else {\n getter = noop;\n process.env.NODE_ENV !== 'production' && warnInvalidSource(source);\n }\n if (cb && deep) {\n var baseGetter_1 = getter;\n getter = function () { return traverse(baseGetter_1()); };\n }\n var cleanup;\n var onCleanup = function (fn) {\n cleanup = watcher.onStop = function () {\n call(fn, WATCHER_CLEANUP);\n };\n };\n // in SSR there is no need to setup an actual effect, and it should be noop\n // unless it's eager\n if (isServerRendering()) {\n // we will also not call the invalidate callback (+ runner is not set up)\n onCleanup = noop;\n if (!cb) {\n getter();\n }\n else if (immediate) {\n call(cb, WATCHER_CB, [\n getter(),\n isMultiSource ? [] : undefined,\n onCleanup\n ]);\n }\n return noop;\n }\n var watcher = new Watcher(currentInstance, getter, noop, {\n lazy: true\n });\n watcher.noRecurse = !cb;\n var oldValue = isMultiSource ? [] : INITIAL_WATCHER_VALUE;\n // overwrite default run\n watcher.run = function () {\n if (!watcher.active) {\n return;\n }\n if (cb) {\n // watch(source, cb)\n var newValue = watcher.get();\n if (deep ||\n forceTrigger ||\n (isMultiSource\n ? newValue.some(function (v, i) {\n return hasChanged(v, oldValue[i]);\n })\n : hasChanged(newValue, oldValue))) {\n // cleanup before running cb again\n if (cleanup) {\n cleanup();\n }\n call(cb, WATCHER_CB, [\n newValue,\n // pass undefined as the old value when it's changed for the first time\n oldValue === INITIAL_WATCHER_VALUE ? undefined : oldValue,\n onCleanup\n ]);\n oldValue = newValue;\n }\n }\n else {\n // watchEffect\n watcher.get();\n }\n };\n if (flush === 'sync') {\n watcher.update = watcher.run;\n }\n else if (flush === 'post') {\n watcher.post = true;\n watcher.update = function () { return queueWatcher(watcher); };\n }\n else {\n // pre\n watcher.update = function () {\n if (instance && instance === currentInstance && !instance._isMounted) {\n // pre-watcher triggered before\n var buffer = instance._preWatchers || (instance._preWatchers = []);\n if (buffer.indexOf(watcher) < 0)\n buffer.push(watcher);\n }\n else {\n queueWatcher(watcher);\n }\n };\n }\n if (process.env.NODE_ENV !== 'production') {\n watcher.onTrack = onTrack;\n watcher.onTrigger = onTrigger;\n }\n // initial run\n if (cb) {\n if (immediate) {\n watcher.run();\n }\n else {\n oldValue = watcher.get();\n }\n }\n else if (flush === 'post' && instance) {\n instance.$once('hook:mounted', function () { return watcher.get(); });\n }\n else {\n watcher.get();\n }\n return function () {\n watcher.teardown();\n };\n}\n\nvar activeEffectScope;\nvar EffectScope = /** @class */ (function () {\n function EffectScope(detached) {\n if (detached === void 0) { detached = false; }\n this.detached = detached;\n /**\n * @internal\n */\n this.active = true;\n /**\n * @internal\n */\n this.effects = [];\n /**\n * @internal\n */\n this.cleanups = [];\n this.parent = activeEffectScope;\n if (!detached && activeEffectScope) {\n this.index =\n (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(this) - 1;\n }\n }\n EffectScope.prototype.run = function (fn) {\n if (this.active) {\n var currentEffectScope = activeEffectScope;\n try {\n activeEffectScope = this;\n return fn();\n }\n finally {\n activeEffectScope = currentEffectScope;\n }\n }\n else if (process.env.NODE_ENV !== 'production') {\n warn(\"cannot run an inactive effect scope.\");\n }\n };\n /**\n * This should only be called on non-detached scopes\n * @internal\n */\n EffectScope.prototype.on = function () {\n activeEffectScope = this;\n };\n /**\n * This should only be called on non-detached scopes\n * @internal\n */\n EffectScope.prototype.off = function () {\n activeEffectScope = this.parent;\n };\n EffectScope.prototype.stop = function (fromParent) {\n if (this.active) {\n var i = void 0, l = void 0;\n for (i = 0, l = this.effects.length; i < l; i++) {\n this.effects[i].teardown();\n }\n for (i = 0, l = this.cleanups.length; i < l; i++) {\n this.cleanups[i]();\n }\n if (this.scopes) {\n for (i = 0, l = this.scopes.length; i < l; i++) {\n this.scopes[i].stop(true);\n }\n }\n // nested scope, dereference from parent to avoid memory leaks\n if (!this.detached && this.parent && !fromParent) {\n // optimized O(1) removal\n var last = this.parent.scopes.pop();\n if (last && last !== this) {\n this.parent.scopes[this.index] = last;\n last.index = this.index;\n }\n }\n this.parent = undefined;\n this.active = false;\n }\n };\n return EffectScope;\n}());\nfunction effectScope(detached) {\n return new EffectScope(detached);\n}\n/**\n * @internal\n */\nfunction recordEffectScope(effect, scope) {\n if (scope === void 0) { scope = activeEffectScope; }\n if (scope && scope.active) {\n scope.effects.push(effect);\n }\n}\nfunction getCurrentScope() {\n return activeEffectScope;\n}\nfunction onScopeDispose(fn) {\n if (activeEffectScope) {\n activeEffectScope.cleanups.push(fn);\n }\n else if (process.env.NODE_ENV !== 'production') {\n warn(\"onScopeDispose() is called when there is no active effect scope\" +\n \" to be associated with.\");\n }\n}\n\nfunction provide(key, value) {\n if (!currentInstance) {\n if (process.env.NODE_ENV !== 'production') {\n warn(\"provide() can only be used inside setup().\");\n }\n }\n else {\n // TS doesn't allow symbol as index type\n resolveProvided(currentInstance)[key] = value;\n }\n}\nfunction resolveProvided(vm) {\n // by default an instance inherits its parent's provides object\n // but when it needs to provide values of its own, it creates its\n // own provides object using parent provides object as prototype.\n // this way in `inject` we can simply look up injections from direct\n // parent and let the prototype chain do the work.\n var existing = vm._provided;\n var parentProvides = vm.$parent && vm.$parent._provided;\n if (parentProvides === existing) {\n return (vm._provided = Object.create(parentProvides));\n }\n else {\n return existing;\n }\n}\nfunction inject(key, defaultValue, treatDefaultAsFactory) {\n if (treatDefaultAsFactory === void 0) { treatDefaultAsFactory = false; }\n // fallback to `currentRenderingInstance` so that this can be called in\n // a functional component\n var instance = currentInstance;\n if (instance) {\n // #2400\n // to support `app.use` plugins,\n // fallback to appContext's `provides` if the instance is at root\n var provides = instance.$parent && instance.$parent._provided;\n if (provides && key in provides) {\n // TS doesn't allow symbol as index type\n return provides[key];\n }\n else if (arguments.length > 1) {\n return treatDefaultAsFactory && isFunction(defaultValue)\n ? defaultValue.call(instance)\n : defaultValue;\n }\n else if (process.env.NODE_ENV !== 'production') {\n warn(\"injection \\\"\".concat(String(key), \"\\\" not found.\"));\n }\n }\n else if (process.env.NODE_ENV !== 'production') {\n warn(\"inject() can only be used inside setup() or functional components.\");\n }\n}\n\nvar normalizeEvent = cached(function (name) {\n var passive = name.charAt(0) === '&';\n name = passive ? name.slice(1) : name;\n var once = name.charAt(0) === '~'; // Prefixed last, checked first\n name = once ? name.slice(1) : name;\n var capture = name.charAt(0) === '!';\n name = capture ? name.slice(1) : name;\n return {\n name: name,\n once: once,\n capture: capture,\n passive: passive\n };\n});\nfunction createFnInvoker(fns, vm) {\n function invoker() {\n var fns = invoker.fns;\n if (isArray(fns)) {\n var cloned = fns.slice();\n for (var i = 0; i < cloned.length; i++) {\n invokeWithErrorHandling(cloned[i], null, arguments, vm, \"v-on handler\");\n }\n }\n else {\n // return handler return value for single handlers\n return invokeWithErrorHandling(fns, null, arguments, vm, \"v-on handler\");\n }\n }\n invoker.fns = fns;\n return invoker;\n}\nfunction updateListeners(on, oldOn, add, remove, createOnceHandler, vm) {\n var name, cur, old, event;\n for (name in on) {\n cur = on[name];\n old = oldOn[name];\n event = normalizeEvent(name);\n if (isUndef(cur)) {\n process.env.NODE_ENV !== 'production' &&\n warn(\"Invalid handler for event \\\"\".concat(event.name, \"\\\": got \") + String(cur), vm);\n }\n else if (isUndef(old)) {\n if (isUndef(cur.fns)) {\n cur = on[name] = createFnInvoker(cur, vm);\n }\n if (isTrue(event.once)) {\n cur = on[name] = createOnceHandler(event.name, cur, event.capture);\n }\n add(event.name, cur, event.capture, event.passive, event.params);\n }\n else if (cur !== old) {\n old.fns = cur;\n on[name] = old;\n }\n }\n for (name in oldOn) {\n if (isUndef(on[name])) {\n event = normalizeEvent(name);\n remove(event.name, oldOn[name], event.capture);\n }\n }\n}\n\nfunction mergeVNodeHook(def, hookKey, hook) {\n if (def instanceof VNode) {\n def = def.data.hook || (def.data.hook = {});\n }\n var invoker;\n var oldHook = def[hookKey];\n function wrappedHook() {\n hook.apply(this, arguments);\n // important: remove merged hook to ensure it's called only once\n // and prevent memory leak\n remove$2(invoker.fns, wrappedHook);\n }\n if (isUndef(oldHook)) {\n // no existing hook\n invoker = createFnInvoker([wrappedHook]);\n }\n else {\n /* istanbul ignore if */\n if (isDef(oldHook.fns) && isTrue(oldHook.merged)) {\n // already a merged invoker\n invoker = oldHook;\n invoker.fns.push(wrappedHook);\n }\n else {\n // existing plain hook\n invoker = createFnInvoker([oldHook, wrappedHook]);\n }\n }\n invoker.merged = true;\n def[hookKey] = invoker;\n}\n\nfunction extractPropsFromVNodeData(data, Ctor, tag) {\n // we are only extracting raw values here.\n // validation and default values are handled in the child\n // component itself.\n var propOptions = Ctor.options.props;\n if (isUndef(propOptions)) {\n return;\n }\n var res = {};\n var attrs = data.attrs, props = data.props;\n if (isDef(attrs) || isDef(props)) {\n for (var key in propOptions) {\n var altKey = hyphenate(key);\n if (process.env.NODE_ENV !== 'production') {\n var keyInLowerCase = key.toLowerCase();\n if (key !== keyInLowerCase && attrs && hasOwn(attrs, keyInLowerCase)) {\n tip(\"Prop \\\"\".concat(keyInLowerCase, \"\\\" is passed to component \") +\n \"\".concat(formatComponentName(\n // @ts-expect-error tag is string\n tag || Ctor), \", but the declared prop name is\") +\n \" \\\"\".concat(key, \"\\\". \") +\n \"Note that HTML attributes are case-insensitive and camelCased \" +\n \"props need to use their kebab-case equivalents when using in-DOM \" +\n \"templates. You should probably use \\\"\".concat(altKey, \"\\\" instead of \\\"\").concat(key, \"\\\".\"));\n }\n }\n checkProp(res, props, key, altKey, true) ||\n checkProp(res, attrs, key, altKey, false);\n }\n }\n return res;\n}\nfunction checkProp(res, hash, key, altKey, preserve) {\n if (isDef(hash)) {\n if (hasOwn(hash, key)) {\n res[key] = hash[key];\n if (!preserve) {\n delete hash[key];\n }\n return true;\n }\n else if (hasOwn(hash, altKey)) {\n res[key] = hash[altKey];\n if (!preserve) {\n delete hash[altKey];\n }\n return true;\n }\n }\n return false;\n}\n\n// The template compiler attempts to minimize the need for normalization by\n// statically analyzing the template at compile time.\n//\n// For plain HTML markup, normalization can be completely skipped because the\n// generated render function is guaranteed to return Array. There are\n// two cases where extra normalization is needed:\n// 1. When the children contains components - because a functional component\n// may return an Array instead of a single root. In this case, just a simple\n// normalization is needed - if any child is an Array, we flatten the whole\n// thing with Array.prototype.concat. It is guaranteed to be only 1-level deep\n// because functional components already normalize their own children.\nfunction simpleNormalizeChildren(children) {\n for (var i = 0; i < children.length; i++) {\n if (isArray(children[i])) {\n return Array.prototype.concat.apply([], children);\n }\n }\n return children;\n}\n// 2. When the children contains constructs that always generated nested Arrays,\n// e.g.