@brightcove/components-embed-code-modal 0.1.12 → 0.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("react"),require("react-dom"),function(){try{return require("react-dnd")}catch(e){}}(),function(){try{return require("react-dnd-html5-backend")}catch(e){}}());else if("function"==typeof define&&define.amd)define(["react","react-dom","react-dnd","react-dnd-html5-backend"],t);else{var n="object"==typeof exports?t(require("react"),require("react-dom"),function(){try{return require("react-dnd")}catch(e){}}(),function(){try{return require("react-dnd-html5-backend")}catch(e){}}()):t(e.react,e["react-dom"],e["react-dnd"],e["react-dnd-html5-backend"]);for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(self,((__WEBPACK_EXTERNAL_MODULE__8156__,__WEBPACK_EXTERNAL_MODULE__7111__,__WEBPACK_EXTERNAL_MODULE__5680__,__WEBPACK_EXTERNAL_MODULE__2849__)=>(()=>{var __webpack_modules__={7228:e=>{e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports.default=e.exports},2858:e=>{e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},1506:e=>{e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},4575:e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},3913:e=>{function t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},9713:e=>{e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},9754:e=>{function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},2205:(e,t,n)=>{var r=n(9489);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},6860:e=>{e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},521:e=>{e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},8585:(e,t,n)=>{var r=n(8).default,a=n(1506);e.exports=function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return a(e)},e.exports.__esModule=!0,e.exports.default=e.exports},9489:e=>{function t(n,r){return e.exports=t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},8551:(e,t,n)=>{var r=n(2858),a=n(6860),o=n(379),i=n(521);e.exports=function(e){return r(e)||a(e)||o(e)||i()},e.exports.__esModule=!0,e.exports.default=e.exports},8:e=>{function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},379:(e,t,n)=>{var r=n(7228);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},7757:(e,t,n)=>{e.exports=n(5666)},8130:function(e){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=2)}([function(e,t,n){(function(n){var r;t=e.exports=Z,r="object"==typeof n&&n.env&&n.env.NODE_DEBUG&&/\bsemver\b/i.test(n.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:function(){},t.SEMVER_SPEC_VERSION="2.0.0";var a=256,o=Number.MAX_SAFE_INTEGER||9007199254740991,i=t.re=[],s=t.src=[],l=0,c=l++;s[c]="0|[1-9]\\d*";var u=l++;s[u]="[0-9]+";var d=l++;s[d]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var p=l++;s[p]="("+s[c]+")\\.("+s[c]+")\\.("+s[c]+")";var _=l++;s[_]="("+s[u]+")\\.("+s[u]+")\\.("+s[u]+")";var f=l++;s[f]="(?:"+s[c]+"|"+s[d]+")";var h=l++;s[h]="(?:"+s[u]+"|"+s[d]+")";var m=l++;s[m]="(?:-("+s[f]+"(?:\\."+s[f]+")*))";var b=l++;s[b]="(?:-?("+s[h]+"(?:\\."+s[h]+")*))";var g=l++;s[g]="[0-9A-Za-z-]+";var v=l++;s[v]="(?:\\+("+s[g]+"(?:\\."+s[g]+")*))";var y=l++,S="v?"+s[p]+s[m]+"?"+s[v]+"?";s[y]="^"+S+"$";var x="[v=\\s]*"+s[_]+s[b]+"?"+s[v]+"?",T=l++;s[T]="^"+x+"$";var A=l++;s[A]="((?:<|>)?=?)";var I=l++;s[I]=s[u]+"|x|X|\\*";var E=l++;s[E]=s[c]+"|x|X|\\*";var w=l++;s[w]="[v=\\s]*("+s[E]+")(?:\\.("+s[E]+")(?:\\.("+s[E]+")(?:"+s[m]+")?"+s[v]+"?)?)?";var k=l++;s[k]="[v=\\s]*("+s[I]+")(?:\\.("+s[I]+")(?:\\.("+s[I]+")(?:"+s[b]+")?"+s[v]+"?)?)?";var C=l++;s[C]="^"+s[A]+"\\s*"+s[w]+"$";var P=l++;s[P]="^"+s[A]+"\\s*"+s[k]+"$";var O=l++;s[O]="(?:^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])";var M=l++;s[M]="(?:~>?)";var R=l++;s[R]="(\\s*)"+s[M]+"\\s+",i[R]=new RegExp(s[R],"g");var D=l++;s[D]="^"+s[M]+s[w]+"$";var B=l++;s[B]="^"+s[M]+s[k]+"$";var L=l++;s[L]="(?:\\^)";var N=l++;s[N]="(\\s*)"+s[L]+"\\s+",i[N]=new RegExp(s[N],"g");var F=l++;s[F]="^"+s[L]+s[w]+"$";var z=l++;s[z]="^"+s[L]+s[k]+"$";var j=l++;s[j]="^"+s[A]+"\\s*("+x+")$|^$";var V=l++;s[V]="^"+s[A]+"\\s*("+S+")$|^$";var G=l++;s[G]="(\\s*)"+s[A]+"\\s*("+x+"|"+s[w]+")",i[G]=new RegExp(s[G],"g");var H=l++;s[H]="^\\s*("+s[w]+")\\s+-\\s+("+s[w]+")\\s*$";var U=l++;s[U]="^\\s*("+s[k]+")\\s+-\\s+("+s[k]+")\\s*$";var Q=l++;s[Q]="(<|>)?=?\\s*\\*";for(var W=0;W<35;W++)r(W,s[W]),i[W]||(i[W]=new RegExp(s[W]));function K(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof Z)return e;if("string"!=typeof e)return null;if(e.length>a)return null;if(!(t.loose?i[T]:i[y]).test(e))return null;try{return new Z(e,t)}catch(e){return null}}function Z(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof Z){if(e.loose===t.loose)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>a)throw new TypeError("version is longer than "+a+" characters");if(!(this instanceof Z))return new Z(e,t);r("SemVer",e,t),this.options=t,this.loose=!!t.loose;var n=e.trim().match(t.loose?i[T]:i[y]);if(!n)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<o)return t}return e})):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}t.parse=K,t.valid=function(e,t){var n=K(e,t);return n?n.version:null},t.clean=function(e,t){var n=K(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null},t.SemVer=Z,Z.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},Z.prototype.toString=function(){return this.version},Z.prototype.compare=function(e){return r("SemVer.compare",this.version,this.options,e),e instanceof Z||(e=new Z(e,this.options)),this.compareMain(e)||this.comparePre(e)},Z.prototype.compareMain=function(e){return e instanceof Z||(e=new Z(e,this.options)),Y(this.major,e.major)||Y(this.minor,e.minor)||Y(this.patch,e.patch)},Z.prototype.comparePre=function(e){if(e instanceof Z||(e=new Z(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var t=0;do{var n=this.prerelease[t],a=e.prerelease[t];if(r("prerelease compare",t,n,a),void 0===n&&void 0===a)return 0;if(void 0===a)return 1;if(void 0===n)return-1;if(n!==a)return Y(n,a)}while(++t)},Z.prototype.compareBuild=function(e){e instanceof Z||(e=new Z(e,this.options));var t=0;do{var n=this.build[t],a=e.build[t];if(r("prerelease compare",t,n,a),void 0===n&&void 0===a)return 0;if(void 0===a)return 1;if(void 0===n)return-1;if(n!==a)return Y(n,a)}while(++t)},Z.prototype.inc=function(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var n=this.prerelease.length;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this},t.inc=function(e,t,n,r){"string"==typeof n&&(r=n,n=void 0);try{return new Z(e,n).inc(t,r).version}catch(e){return null}},t.diff=function(e,t){if(ee(e,t))return null;var n=K(e),r=K(t),a="";if(n.prerelease.length||r.prerelease.length){a="pre";var o="prerelease"}for(var i in n)if(("major"===i||"minor"===i||"patch"===i)&&n[i]!==r[i])return a+i;return o},t.compareIdentifiers=Y;var q=/^[0-9]+$/;function Y(e,t){var n=q.test(e),r=q.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1}function J(e,t,n){return new Z(e,n).compare(new Z(t,n))}function X(e,t,n){return J(e,t,n)>0}function $(e,t,n){return J(e,t,n)<0}function ee(e,t,n){return 0===J(e,t,n)}function te(e,t,n){return 0!==J(e,t,n)}function ne(e,t,n){return J(e,t,n)>=0}function re(e,t,n){return J(e,t,n)<=0}function ae(e,t,n,r){switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return ee(e,n,r);case"!=":return te(e,n,r);case">":return X(e,n,r);case">=":return ne(e,n,r);case"<":return $(e,n,r);case"<=":return re(e,n,r);default:throw new TypeError("Invalid operator: "+t)}}function oe(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof oe){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof oe))return new oe(e,t);r("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===ie?this.value="":this.value=this.operator+this.semver.version,r("comp",this)}t.rcompareIdentifiers=function(e,t){return Y(t,e)},t.major=function(e,t){return new Z(e,t).major},t.minor=function(e,t){return new Z(e,t).minor},t.patch=function(e,t){return new Z(e,t).patch},t.compare=J,t.compareLoose=function(e,t){return J(e,t,!0)},t.compareBuild=function(e,t,n){var r=new Z(e,n),a=new Z(t,n);return r.compare(a)||r.compareBuild(a)},t.rcompare=function(e,t,n){return J(t,e,n)},t.sort=function(e,n){return e.sort((function(e,r){return t.compareBuild(e,r,n)}))},t.rsort=function(e,n){return e.sort((function(e,r){return t.compareBuild(r,e,n)}))},t.gt=X,t.lt=$,t.eq=ee,t.neq=te,t.gte=ne,t.lte=re,t.cmp=ae,t.Comparator=oe;var ie={};function se(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof se)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new se(e.raw,t);if(e instanceof oe)return new se(e.value,t);if(!(this instanceof se))return new se(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((function(e){return this.parseRange(e.trim())}),this).filter((function(e){return e.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);this.format()}function le(e,t){for(var n=!0,r=e.slice(),a=r.pop();n&&r.length;)n=r.every((function(e){return a.intersects(e,t)})),a=r.pop();return n}function ce(e){return!e||"x"===e.toLowerCase()||"*"===e}function ue(e,t,n,r,a,o,i,s,l,c,u,d,p){return((t=ce(n)?"":ce(r)?">="+n+".0.0":ce(a)?">="+n+"."+r+".0":">="+t)+" "+(s=ce(l)?"":ce(c)?"<"+(+l+1)+".0.0":ce(u)?"<"+l+"."+(+c+1)+".0":d?"<="+l+"."+c+"."+u+"-"+d:"<="+s)).trim()}function de(e,t,n){for(var a=0;a<e.length;a++)if(!e[a].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(a=0;a<e.length;a++)if(r(e[a].semver),e[a].semver!==ie&&e[a].semver.prerelease.length>0){var o=e[a].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch)return!0}return!1}return!0}function pe(e,t,n){try{t=new se(t,n)}catch(e){return!1}return t.test(e)}function _e(e,t,n,r){var a,o,i,s,l;switch(e=new Z(e,r),t=new se(t,r),n){case">":a=X,o=re,i=$,s=">",l=">=";break;case"<":a=$,o=ne,i=X,s="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(pe(e,t,r))return!1;for(var c=0;c<t.set.length;++c){var u=t.set[c],d=null,p=null;if(u.forEach((function(e){e.semver===ie&&(e=new oe(">=0.0.0")),d=d||e,p=p||e,a(e.semver,d.semver,r)?d=e:i(e.semver,p.semver,r)&&(p=e)})),d.operator===s||d.operator===l)return!1;if((!p.operator||p.operator===s)&&o(e,p.semver))return!1;if(p.operator===l&&i(e,p.semver))return!1}return!0}oe.prototype.parse=function(e){var t=this.options.loose?i[j]:i[V],n=e.match(t);if(!n)throw new TypeError("Invalid comparator: "+e);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new Z(n[2],this.options.loose):this.semver=ie},oe.prototype.toString=function(){return this.value},oe.prototype.test=function(e){if(r("Comparator.test",e,this.options.loose),this.semver===ie||e===ie)return!0;if("string"==typeof e)try{e=new Z(e,this.options)}catch(e){return!1}return ae(e,this.operator,this.semver,this.options)},oe.prototype.intersects=function(e,t){if(!(e instanceof oe))throw new TypeError("a Comparator is required");var n;if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||(n=new se(e.value,t),pe(this.value,n,t));if(""===e.operator)return""===e.value||(n=new se(this.value,t),pe(e.semver,n,t));var r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),a=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),o=this.semver.version===e.semver.version,i=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),s=ae(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),l=ae(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||a||o&&i||s||l},t.Range=se,se.prototype.format=function(){return this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim(),this.range},se.prototype.toString=function(){return this.range},se.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var n=t?i[U]:i[H];e=e.replace(n,ue),r("hyphen replace",e),e=e.replace(i[G],"$1$2$3"),r("comparator trim",e,i[G]),e=(e=(e=e.replace(i[R],"$1~")).replace(i[N],"$1^")).split(/\s+/).join(" ");var a=t?i[j]:i[V],o=e.split(" ").map((function(e){return function(e,t){return r("comp",e,t),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){r("caret",e,t);var n=t.loose?i[z]:i[F];return e.replace(n,(function(t,n,a,o,i){var s;return r("caret",e,t,n,a,o,i),ce(n)?s="":ce(a)?s=">="+n+".0.0 <"+(+n+1)+".0.0":ce(o)?s="0"===n?">="+n+"."+a+".0 <"+n+"."+(+a+1)+".0":">="+n+"."+a+".0 <"+(+n+1)+".0.0":i?(r("replaceCaret pr",i),s="0"===n?"0"===a?">="+n+"."+a+"."+o+"-"+i+" <"+n+"."+a+"."+(+o+1):">="+n+"."+a+"."+o+"-"+i+" <"+n+"."+(+a+1)+".0":">="+n+"."+a+"."+o+"-"+i+" <"+(+n+1)+".0.0"):(r("no pr"),s="0"===n?"0"===a?">="+n+"."+a+"."+o+" <"+n+"."+a+"."+(+o+1):">="+n+"."+a+"."+o+" <"+n+"."+(+a+1)+".0":">="+n+"."+a+"."+o+" <"+(+n+1)+".0.0"),r("caret return",s),s}))}(e,t)})).join(" ")}(e,t),r("caret",e),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){var n=t.loose?i[B]:i[D];return e.replace(n,(function(t,n,a,o,i){var s;return r("tilde",e,t,n,a,o,i),ce(n)?s="":ce(a)?s=">="+n+".0.0 <"+(+n+1)+".0.0":ce(o)?s=">="+n+"."+a+".0 <"+n+"."+(+a+1)+".0":i?(r("replaceTilde pr",i),s=">="+n+"."+a+"."+o+"-"+i+" <"+n+"."+(+a+1)+".0"):s=">="+n+"."+a+"."+o+" <"+n+"."+(+a+1)+".0",r("tilde return",s),s}))}(e,t)})).join(" ")}(e,t),r("tildes",e),e=function(e,t){return r("replaceXRanges",e,t),e.split(/\s+/).map((function(e){return function(e,t){e=e.trim();var n=t.loose?i[P]:i[C];return e.replace(n,(function(t,n,a,o,i,s){r("xRange",e,t,n,a,o,i,s);var l=ce(a),c=l||ce(o),u=c||ce(i);return"="===n&&u&&(n=""),l?t=">"===n||"<"===n?"<0.0.0":"*":n&&u?(c&&(o=0),i=0,">"===n?(n=">=",c?(a=+a+1,o=0,i=0):(o=+o+1,i=0)):"<="===n&&(n="<",c?a=+a+1:o=+o+1),t=n+a+"."+o+"."+i):c?t=">="+a+".0.0 <"+(+a+1)+".0.0":u&&(t=">="+a+"."+o+".0 <"+a+"."+(+o+1)+".0"),r("xRange return",t),t}))}(e,t)})).join(" ")}(e,t),r("xrange",e),e=function(e,t){return r("replaceStars",e,t),e.trim().replace(i[Q],"")}(e,t),r("stars",e),e}(e,this.options)}),this).join(" ").split(/\s+/);return this.options.loose&&(o=o.filter((function(e){return!!e.match(a)}))),o.map((function(e){return new oe(e,this.options)}),this)},se.prototype.intersects=function(e,t){if(!(e instanceof se))throw new TypeError("a Range is required");return this.set.some((function(n){return le(n,t)&&e.set.some((function(e){return le(e,t)&&n.every((function(n){return e.every((function(e){return n.intersects(e,t)}))}))}))}))},t.toComparators=function(e,t){return new se(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))},se.prototype.test=function(e){if(!e)return!1;if("string"==typeof e)try{e=new Z(e,this.options)}catch(e){return!1}for(var t=0;t<this.set.length;t++)if(de(this.set[t],e,this.options))return!0;return!1},t.satisfies=pe,t.maxSatisfying=function(e,t,n){var r=null,a=null;try{var o=new se(t,n)}catch(e){return null}return e.forEach((function(e){o.test(e)&&(r&&-1!==a.compare(e)||(a=new Z(r=e,n)))})),r},t.minSatisfying=function(e,t,n){var r=null,a=null;try{var o=new se(t,n)}catch(e){return null}return e.forEach((function(e){o.test(e)&&(r&&1!==a.compare(e)||(a=new Z(r=e,n)))})),r},t.minVersion=function(e,t){e=new se(e,t);var n=new Z("0.0.0");if(e.test(n))return n;if(n=new Z("0.0.0-0"),e.test(n))return n;n=null;for(var r=0;r<e.set.length;++r)e.set[r].forEach((function(e){var t=new Z(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":n&&!X(n,t)||(n=t);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}));return n&&e.test(n)?n:null},t.validRange=function(e,t){try{return new se(e,t).range||"*"}catch(e){return null}},t.ltr=function(e,t,n){return _e(e,t,"<",n)},t.gtr=function(e,t,n){return _e(e,t,">",n)},t.outside=_e,t.prerelease=function(e,t){var n=K(e,t);return n&&n.prerelease.length?n.prerelease:null},t.intersects=function(e,t,n){return e=new se(e,n),t=new se(t,n),e.intersects(t)},t.coerce=function(e,t){if(e instanceof Z)return e;if("string"!=typeof e)return null;var n=e.match(i[O]);return null==n?null:K(n[1]+"."+(n[2]||"0")+"."+(n[3]||"0"),t)}}).call(this,n(1))},function(e,t){var n,r,a=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var l,c=[],u=!1,d=-1;function p(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&_())}function _(){if(!u){var e=s(p);u=!0;for(var t=c.length;t;){for(l=c,c=[];++d<t;)l&&l[d].run();d=-1,t=c.length}l=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function h(){}a.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new f(e,t)),1!==c.length||u||s(_)},f.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=h,a.addListener=h,a.once=h,a.off=h,a.removeListener=h,a.removeAllListeners=h,a.emit=h,a.prependListener=h,a.prependOnceListener=h,a.listeners=function(e){return[]},a.binding=function(e){throw new Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(e){throw new Error("process.chdir is not supported")},a.umask=function(){return 0}},function(e,t,n){"use strict";n.r(t);
|
|
2
2
|
/*! @name @brightcove/player-url @version 1.2.0 @license Apache-2.0 */
|
|
3
|
-
var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=["catalogSearch","catalogSequence"],o=["adConfigId","applicationId","catalogSearch","catalogSequence","playlistId","playlistVideoId","videoId"],i=function(e){return Object.keys(e).filter((function(e){return-1!==o.indexOf(e)})).reduce((function(t,n){var r=function(e,t){if(e&&void 0!==e[t]){if("string"!=typeof e[t]&&-1!==a.indexOf(t))try{return encodeURIComponent(JSON.stringify(e[t]))}catch(e){return}return encodeURIComponent(String(e[t]).trim())||void 0}}(e,n);return void 0!==r&&(t+=t?"&":"?",t+=encodeURIComponent(n)+"="+r),t}),"")},s=function(e){var t=e.accountId,n=e.base,a=void 0===n?"https://players.brightcove.net":n,o=e.playerId,s=void 0===o?"default":o,l=e.embedId,c=void 0===l?"default":l,u=e.iframe,d=void 0!==u&&u,p=e.minified,_=void 0===p||p,f=e.queryParams,h=void 0===f?null:f,m="";d?m+="html":(_&&(m+="min."),m+="js"),"/"===a.charAt(a.length-1)&&(a=a.substring(0,a.length-1));var b="";return d&&h&&"object"===(void 0===h?"undefined":r(h))&&(b=i(h)),a+"/"+(t=encodeURIComponent(t))+"/"+(s=encodeURIComponent(s))+"_"+(c=encodeURIComponent(c))+"/index."+m+b};s.VERSION="1.2.0";var l=s,c={playerId:"default",embedId:"default",iframe:!1,includeScriptElement:!0,minified:!0,returnDomElement:!1,preview:!1,playlistElement:!1,legacyPlaylistElement:!1,formatter:function(e){return e},width:960,height:540,units:"px",responsive:!0,applicationId:"",allowFullscreen:!0,allowEncryptedMedia:!0,pictureInPicture:!1};function u(e,t){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);for(var a in t)t.hasOwnProperty(a)&&(n[a]=t[a]);return t.responsive&&!t.width&&(n.width=100,n.units="%"),n}var d={createIframeEmbedCode:function(e,t){t=u(c,t);var n,r=e.createElement("div"),a=e.createElement("iframe");if(t.preview)n=(t.urlBase?t.urlBase:"//preview-players.brightcove.net")+"/v2/accounts/"+t.accountId+"/players/"+t.playerId+"/preview/embeds/"+t.embedId+"/master/index.html",t.videoId&&(n+="?videoId="+t.videoId);else{var o={accountId:t.accountId,playerId:t.playerId,embedId:t.embedId,iframe:!0,minified:t.minified,queryParams:{videoId:t.videoId,playlistId:t.playlistId,adConfigId:t.adConfigId,applicationId:t.applicationId,catalogSearch:t.catalogSearch,catalogSequence:t.catalogSequence}};t.urlBase&&(o.base=t.urlBase),n=l(o)}if(t.returnDomElement?a.setAttribute("src",n):a.setAttribute("fzrsbrxzyeajgdaxuxqu",n),t.allowFullscreen&&a.setAttribute("allowfullscreen",""),t.allowEncryptedMedia&&a.setAttribute("allow","encrypted-media"),t.responsive){var i=e.createElement("div"),s=e.createElement("div");i.setAttribute("style","position: relative; display: block; max-width: ".concat(t.width).concat(t.units,";"));var d=56.25;t.responsiveHeight&&(d=t.responsiveHeight),s.setAttribute("style","padding-top: ".concat(d,"%;")),a.setAttribute("style","position: absolute; top: 0px; right: 0px; bottom: 0px; left: 0px; width: 100%; height: 100%;"),r.appendChild(i),i.appendChild(s),s.appendChild(a)}else"px"!==t.units?a.setAttribute("style","width: ".concat(t.width).concat(t.units,"; height: ").concat(t.height).concat(t.units,";")):(a.setAttribute("width",t.width),a.setAttribute("height",t.height)),r.appendChild(a);return t.returnDomElement?r:t.formatter(r.innerHTML.replace("fzrsbrxzyeajgdaxuxqu","src"))}},p=n(0),_=n.n(p);function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var h={createInpageEmbedCode:function(e,t){if((t=u(c,t)).preview)throw new Error("You cannot preview an in-page embed");var n,r=e.createElement("div");if(t.playerVersion&&_.a.gt("6.11.0",t.playerVersion)?(n=e.createElement("video")).classList.add("video-js"):n=e.createElement("video-js"),n.setAttribute("data-account",t.accountId),n.setAttribute("data-player",t.playerId),n.setAttribute("data-embed",t.embedId),n.setAttribute("controls",""),void 0!==t.videoId&&n.setAttribute("data-video-id",t.videoId),void 0!==t.playlistId&&n.setAttribute("data-playlist-id",t.playlistId),void 0!==t.adConfigId&&n.setAttribute("data-ad-config-id",t.adConfigId),void 0!==t.applicationId&&n.setAttribute("data-application-id",t.applicationId),void 0!==t.catalogSearch&&("object"===f(t.catalogSearch)?n.setAttribute("data-catalog-search",JSON.stringify(t.catalogSearch)):n.setAttribute("data-catalog-search",String(t.catalogSearch))),void 0!==t.catalogSequence&&n.setAttribute("data-catalog-sequence",JSON.stringify(t.catalogSequence)),void 0!==t.audience&&"object"===f(t.audience)&&(void 0!==t.audience.integration&&n.setAttribute("data-bc-integrationid",t.audience.integration),void 0!==t.audience.leadForm&&n.setAttribute("data-bc-leadformid",t.audience.leadForm)),t.responsive){var a=e.createElement("div");a.setAttribute("style","max-width: ".concat(t.width).concat(t.units,";")),n.classList.add("vjs-fluid"),t.responsiveHeight&&n.setAttribute("style","padding-top: ".concat(t.responsiveHeight,"%;")),r.appendChild(a),a.appendChild(n)}else"px"!==t.units?n.setAttribute("style","width: ".concat(t.width).concat(t.units,"; height: ").concat(t.height).concat(t.units,";")):(n.setAttribute("width",t.width),n.setAttribute("height",t.height)),r.appendChild(n);if(t.pictureInPicture){var o=e.createElement("div");o.classList.add("vjs-pip-container"),o.appendChild(r.firstChild),r.appendChild(o)}if(t.includeScriptElement){var i=e.createElement("script"),s={accountId:t.accountId,playerId:t.playerId,embedId:t.embedId,minified:t.minified};t.urlBase&&(s.base=t.urlBase),t.returnDomElement?i.setAttribute("src",l(s)):i.setAttribute("fzrsbrxzyeajgdaxuxqu",l(s)),r.appendChild(i)}if(t.playlistElement){var d=e.createElement("div");d.setAttribute("class","vjs-playlist"),r.appendChild(d)}if(t.legacyPlaylistElement&&!t.playlistElement){var p=e.createElement("ol");p.setAttribute("class","vjs-playlist"),r.appendChild(p)}return t.returnDomElement?r:t.formatter(r.innerHTML.replace("fzrsbrxzyeajgdaxuxqu","src"))}};function m(e){if(void 0===e)throw new Error("options object is required");if(void 0===e.accountId)throw new Error("accountId is required");if(!e.document&&"undefined"==typeof window)throw new Error("No document object found. If you are running this project outside of a browser, pass a `document` option using a library such as jsdom.");var t=void 0!==e.document?e.document:window.document;return e.iframe?d.createIframeEmbedCode(t,e):h.createInpageEmbedCode(t,e)}n.d(t,"default",(function(){return m}))}]).default},6946:(e,t,n)=>{"use strict";t.Xo=void 0;var r=n(1306);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}var o=function(e){var t=e.apiConfig;return{origin:(0,r.getPlayersOrigin)(t),accountId:(0,r.getAccountId)(t)}};t.Xo=function(e){var t,n=e.apiConfig,i=(t=a({},o({apiConfig:n}))).origin+"/v1/accounts/"+t.accountId+"/players";return(0,r.buildGetForPath)({path:i})}},1306:(e,t)=>{"use strict";t.__esModule=!0,t.buildDeleteForPath=t.buildPostForPath=t.buildFilePutForPath=t.buildPutForPath=t.buildPatchForPath=t.buildGetWithParamsForPath=t.buildGetForPath=t.getAccountId=t.getPlaybackRightsOrigin=t.getPolicyOrigin=t.getSocialAPIOrigin=t.getDeliverySystemOrigin=t.getAudienceOrigin=t.getGalleryOrigin=t.getOAuthVersion=t.getOAuthOrigin=t.getNuCMSOrigin=t.getBeaconOrigin=t.getAccountsOrigin=t.getAuthIntegrationVersion=t.getAuthIntegrationOrigin=t.getSettingsOrigin=t.getIngestOrigin=t.getIngestProfilesOrigin=t.getPlayersOrigin=t.getAnalyticsOrigin=t.getSavedSearchOrigin=t.getliveSsaiOrigin=t.getSSAIOrigin=t.getCMSAPIOrigin=void 0;t.getCMSAPIOrigin=function(e){return e.api.cms.origin};t.getSSAIOrigin=function(e){return e.api.ssai.origin};t.getliveSsaiOrigin=function(e){return e.api.alive.origin};t.getSavedSearchOrigin=function(e){return e.api.savedsearch.origin};t.getAnalyticsOrigin=function(e){return e.api.analytics.origin};t.getPlayersOrigin=function(e){return e.api.players.origin};t.getIngestProfilesOrigin=function(e){return e.api["ingest-profiles"].origin};t.getIngestOrigin=function(e){return e.api.ingest.origin};t.getSettingsOrigin=function(e){return e.api.seti.origin};t.getAuthIntegrationOrigin=function(e){return e.api["auth-integration"].origin};t.getAuthIntegrationVersion=function(e){return e.api["auth-integration"].version};t.getAccountsOrigin=function(e){return e.api.accounts.origin};t.getBeaconOrigin=function(e){return e.api.beacon.origin};t.getNuCMSOrigin=function(e){return e.api.nucms.origin};t.getOAuthOrigin=function(e){return e.api.oauth.origin};t.getOAuthVersion=function(e){return e.api.oauth.version};t.getGalleryOrigin=function(e){return e.api.gallery?e.api.gallery.origin:"https://gallery.api.brightcove.com"};t.getAudienceOrigin=function(e){return e.api.audience.origin};t.getDeliverySystemOrigin=function(e){return e.api.repos.origin};t.getSocialAPIOrigin=function(e){return e.api.social.origin};t.getPolicyOrigin=function(e){return e.api.policy.origin};t.getPlaybackRightsOrigin=function(e){return e.api["playback-rights"].origin};t.getAccountId=function(e){return e.publisherId};var n=function(e){return{path:e.path,method:"GET"}};t.buildGetForPath=n;t.buildGetWithParamsForPath=function(e){var t=e.path,r=e.data,a=n({path:t});if(r){var o=Object.keys(r).map((function(e){return encodeURIComponent(e)+"="+encodeURIComponent(r[e])}));o.length&&(a.path=a.path+"?"+o.join("&"))}return a};var r=function(e){var t=e.path,n=e.data;return{path:t,method:e.method,data:JSON.stringify(n)}};t.buildPatchForPath=function(e){var t=e.path,n=e.data;return r({method:"PATCH",path:t,data:n})};t.buildPutForPath=function(e){var t=e.path,n=e.data;return r({method:"PUT",path:t,data:n})};t.buildFilePutForPath=function(e){return function(e){var t=e.path,n=e.data,r=e.headers;return{path:t,method:e.method,data:n,headers:r}}({method:"PUT",path:e.path,data:e.data,headers:e.headers})};t.buildPostForPath=function(e){var t=e.path,n=e.data;return r({method:"POST",path:t,data:n})};t.buildDeleteForPath=function(e){return{path:e.path,method:"DELETE"}}},2575:(module,__unused_webpack_exports,__webpack_require__)=>{var factory;window,factory=function(__WEBPACK_EXTERNAL_MODULE__114__,__WEBPACK_EXTERNAL_MODULE__199__,__WEBPACK_EXTERNAL_MODULE__203__,__WEBPACK_EXTERNAL_MODULE__605__,__WEBPACK_EXTERNAL_MODULE__606__,__WEBPACK_EXTERNAL_MODULE__622__,__WEBPACK_EXTERNAL_MODULE__623__){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t);var r=n(1);n.d(t,"keycode",(function(){return r.keycode})),n.d(t,"KEYCODES",(function(){return r.KEYCODES})),n.d(t,"handleKeyboardClick",(function(){return r.handleKeyboardClick})),n.d(t,"KeyCode",(function(){return r.KeyCode})),n.d(t,"useGlobalStyles",(function(){return r.useGlobalStyles})),n.d(t,"enableSmartFocusOutlines",(function(){return r.enableSmartFocusOutlines})),n.d(t,"overrideStudioModuleFontFamily",(function(){return r.overrideStudioModuleFontFamily})),n.d(t,"initialize",(function(){return r.initialize}));var a=n(137);n.d(t,"Accordion",(function(){return a.Accordion})),n.d(t,"AccordionSummary",(function(){return a.AccordionSummary}));var o=n(346);n.d(t,"Alert",(function(){return o.Alert}));var i=n(353);n.d(t,"Autosave",(function(){return i.Autosave})),n.d(t,"AutosaveInput",(function(){return i.AutosaveInput})),n.d(t,"AutosaveLoader",(function(){return i.AutosaveLoader})),n.d(t,"AutosaveRadioGroup",(function(){return i.AutosaveRadioGroup})),n.d(t,"AutosaveSelect",(function(){return i.AutosaveSelect})),n.d(t,"AutosaveTextArea",(function(){return i.AutosaveTextArea})),n.d(t,"AutosaveTagList",(function(){return i.AutosaveTagList})),n.d(t,"AutosaveTagListSuggestions",(function(){return i.AutosaveTagListSuggestions}));var s=n(491);n.d(t,"Async",(function(){return s.Async}));var l=n(493);n.d(t,"Blast",(function(){return l.Blast}));var c=n(497);n.d(t,"Breadcrumbs",(function(){return c.Breadcrumbs})),n.d(t,"BreadcrumbItem",(function(){return c.BreadcrumbItem}));var u=n(233);n.d(t,"Button",(function(){return u.Button}));var d=n(502);n.d(t,"ButtonGroup",(function(){return d.ButtonGroup}));var p=n(506);n.d(t,"Card",(function(){return p.Card})),n.d(t,"CardMedia",(function(){return p.CardMedia})),n.d(t,"CardHeader",(function(){return p.CardHeader})),n.d(t,"CardBody",(function(){return p.CardBody})),n.d(t,"CardFooter",(function(){return p.CardFooter}));var _=n(547);n.d(t,"Checkbox",(function(){return _.Checkbox}));var f=n(578);n.d(t,"CheckboxGroup",(function(){return f.CheckboxGroup}));var h=n(153);n.d(t,"Collapse",(function(){return h.Collapse}));var m=n(582);n.d(t,"ConfirmationDialog",(function(){return m.ConfirmationDialog}));var b=n(616);n.d(t,"CopyField",(function(){return b.CopyField}));var g=n(342);n.d(t,"Definition",(function(){return g.Definition}));var v=n(620);n.d(t,"DragContainer",(function(){return v.DragContainer})),n.d(t,"DragContext",(function(){return v.DragContext})),n.d(t,"DragItem",(function(){return v.DragItem}));var y=n(632);n.d(t,"DropdownButton",(function(){return y.DropdownButton}));var S=n(539);n.d(t,"DropdownMenu",(function(){return S.DropdownMenu})),n.d(t,"DropdownMenuItem",(function(){return S.DropdownMenuItem}));var x=n(646);n.d(t,"DropZone",(function(){return x.DropZone}));var T=n(663);n.d(t,"ExpandableSection",(function(){return T.ExpandableSection}));var A=n(348);n.d(t,"Fadeable",(function(){return A.Fadeable}));var I=n(188);n.d(t,"Flex",(function(){return I.Flex}));var E=n(356);n.d(t,"FlexItem",(function(){return E.FlexItem}));var w=n(670);n.d(t,"Form",(function(){return w.Form}));var k=n(361);n.d(t,"FormError",(function(){return k.FormError}));var C=n(349);n.d(t,"Hideable",(function(){return C.Hideable}));var P=n(365);n.d(t,"Hint",(function(){return P.Hint}));var O=n(201);n.d(t,"Icon",(function(){return O.Icon})),n.d(t,"ICONS",(function(){return O.ICONS}));var M=n(226);n.d(t,"IconButton",(function(){return M.IconButton}));var R=n(379);n.d(t,"Input",(function(){return R.Input})),n.d(t,"PlainInput",(function(){return R.PlainInput}));var D=n(358);n.d(t,"InputGroup",(function(){return D.InputGroup}));var B=n(672);n.d(t,"Label",(function(){return B.Label}));var L=n(236);n.d(t,"Loader",(function(){return L.Loader}));var N=n(676);n.d(t,"Pill",(function(){return N.Pill}));var F=n(680);n.d(t,"PlusMinusButtons",(function(){return F.PlusMinusButtons}));var z=n(195);n.d(t,"Portal",(function(){return z.Portal}));var j=n(513);n.d(t,"Progress",(function(){return j.Progress}));var V=n(684);n.d(t,"Rule",(function(){return V.Rule}));var G=n(688);n.d(t,"Menu",(function(){return G.Menu}));var H=n(486);n.d(t,"MenuItem",(function(){return H.MenuItem}));var U=n(584);n.d(t,"Modal",(function(){return U.Modal}));var Q=n(689);n.d(t,"Notice",(function(){return Q.Notice}));var W=n(691);n.d(t,"Pager",(function(){return W.Pager}));var K=n(696);n.d(t,"Panel",(function(){return K.Panel})),n.d(t,"PanelTitleBar",(function(){return K.PanelTitleBar}));var Z=n(385);n.d(t,"RadioGroup",(function(){return Z.RadioGroup})),n.d(t,"PlainRadioGroup",(function(){return Z.PlainRadioGroup})),n.d(t,"RadioOption",(function(){return Z.RadioOption}));var q=n(698);n.d(t,"RadioInput",(function(){return q.RadioInput}));var Y=n(640);n.d(t,"SearchInput",(function(){return Y.SearchInput}));var J=n(396);n.d(t,"Select",(function(){return J.Select})),n.d(t,"PlainSelect",(function(){return J.PlainSelect}));var X=n(700);n.d(t,"Slider",(function(){return X.Slider}));var $=n(705);n.d(t,"Drawer",(function(){return $.Drawer})),n.d(t,"StreamPanel",(function(){return $.StreamPanel})),n.d(t,"StreamStatus",(function(){return $.StreamStatus})),n.d(t,"StreamIcon",(function(){return $.StreamIcon}));var ee=n(712);n.d(t,"Table",(function(){return ee.Table})),n.d(t,"TableHead",(function(){return ee.TableHead})),n.d(t,"TableBody",(function(){return ee.TableBody})),n.d(t,"TableRow",(function(){return ee.TableRow})),n.d(t,"TableCell",(function(){return ee.TableCell}));var te=n(720);n.d(t,"Tabs",(function(){return te.Tabs})),n.d(t,"TabList",(function(){return te.TabList})),n.d(t,"Tab",(function(){return te.Tab})),n.d(t,"SmallTab",(function(){return te.SmallTab})),n.d(t,"TabPanel",(function(){return te.TabPanel})),n.d(t,"IconTab",(function(){return te.IconTab})),n.d(t,"ToggleTab",(function(){return te.ToggleTab}));var ne=n(465);n.d(t,"Tag",(function(){return ne.Tag}));var re=n(567);n.d(t,"TagList",(function(){return re.TagList}));var ae=n(418);n.d(t,"TagListInput",(function(){return ae.TagListInput})),n.d(t,"PlainTagListInput",(function(){return ae.PlainTagListInput})),n.d(t,"AutosuggestTagListInput",(function(){return ae.AutosuggestTagListInput}));var oe=n(625);n.d(t,"Target",(function(){return oe.Target}));var ie=n(412);n.d(t,"TextArea",(function(){return ie.TextArea})),n.d(t,"PlainTextArea",(function(){return ie.PlainTextArea}));var se=n(732);n.d(t,"Toaster",(function(){return se.Toaster}));var le=n(511);n.d(t,"Thumbnail",(function(){return le.Thumbnail}));var ce=n(193);n.d(t,"ToolTip",(function(){return ce.ToolTip}));var ue=n(765);n.d(t,"Wizard",(function(){return ue.Wizard})),n.d(t,"WizardStep",(function(){return ue.WizardStep})),n.d(t,"WizardControls",(function(){return ue.WizardControls}));var de=n(184);n.d(t,"Toggle",(function(){return de.Toggle}));var pe=n(770);n.d(t,"FileInput",(function(){return pe.FileInput}));var _e=n(774);n.d(t,"GaugeChart",(function(){return _e.GaugeChart}));var fe=n(781);n.d(t,"StatBox",(function(){return fe.StatBox})),n.d(t,"StatBoxGroup",(function(){return fe.StatBoxGroup}));var he=n(147);n.d(t,"Theme",(function(){return he.Theme})),n.d(t,"provideTheme",(function(){return he.provideTheme})),n.d(t,"themePalette",(function(){return he.themePalette}));var me=n(240);n.d(t,"AnimatedIcon",(function(){return me.AnimatedIcon}));var be=n(790);n.d(t,"ImageUpload",(function(){return be.ImageUpload})),n.d(t,"PlainImageUpload",(function(){return be.PlainImageUpload}));var ge=n(801);n.d(t,"TileSelector",(function(){return ge.TileSelector}));var ve=n(805);n.d(t,"TileSelectorGroup",(function(){return ve.TileSelectorGroup}));var ye=n(809);n.d(t,"Stepper",(function(){return ye.Stepper}))},function(e,t,n){"use strict";n.r(t);var r=n(2);n.d(t,"keycode",(function(){return r.default})),n.d(t,"KEYCODES",(function(){return r.KEYCODES})),n.d(t,"handleKeyboardClick",(function(){return r.handleKeyboardClick})),n.d(t,"KeyCode",(function(){return r.KeyCode}));var a=n(89);n.d(t,"useGlobalStyles",(function(){return a.default}));var o=n(98);n.d(t,"enableSmartFocusOutlines",(function(){return o.default}));var i=n(101);n.d(t,"overrideStudioModuleFontFamily",(function(){return i.default}));var s=n(107);n.d(t,"initialize",(function(){return s.default}));var l=n(126);n.d(t,"leftPad",(function(){return l.leftPad}));var c=n(131);n.d(t,"formatDuration",(function(){return c.formatDuration}));var u=n(134);n.d(t,"formatVideoViews",(function(){return u.formatVideoViews}))},function(e,t,n){"use strict";n.r(t),n.d(t,"KEYCODES",(function(){return u})),n.d(t,"default",(function(){return _})),n.d(t,"KeyCode",(function(){return f})),n.d(t,"handleKeyboardClick",(function(){return h}));var r=n(3),a=n.n(r),o=n(4),i=n.n(o),s=n(5),l=n.n(s),c=(n(6),n(54),n(64),n(65),n(66),n(74),n(81),n(83),n(88)),u={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,pause:19,capsLock:20,esc:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,0:48,1:49,2:50,3:51,4:52,5:53,6:54,7:55,8:56,9:57,colon:58,"@":64,a:65,b:66,c:67,d:68,e:69,f:70,g:71,h:72,i:73,j:74,k:75,l:76,m:77,n:78,o:79,p:80,q:81,r:82,s:83,t:84,u:85,v:86,w:87,x:88,y:89,z:90,leftWindow:91,rightWindow:92,select:93,numpad0:96,numpad1:97,numpad2:98,numpad3:99,numpad4:100,numpad5:101,numpad6:102,numpad7:103,numpad8:104,numpad9:105,multiply:106,add:107,subtract:109,decimal:110,divide:111,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123,numLock:144,scrollLock:145,semiColon:186,equalSign:187,comma:188,dash:189,period:190,forwardSlash:191,backtick:192,openBracket:219,backSlash:220,closeBraket:221,singleQuote:222},d={shift:/^shift\+(\w+)$/},p=function(){function e(t){var n=this;a()(this,e),l()(this,"handleClickIntent",(function(e){n.is("space enter")&&e(n.event)})),l()(this,"_matchDescription",(function(e){return d.shift.test(e)?n.isShift(d.shift.exec(e)[1]):n.code?n.code.toString()===e||n.name===e:void 0})),this.event=t,this.code=t.keyCode||t.which,this.name=this.getName(this.code)}return i()(e,[{key:"is",value:function(e){return(e=e.toString()).split(" ").some(this._matchDescription)}},{key:"on",value:function(e){var t=this,n=Object.keys(e).filter((function(e){return t.is(e)})),r=n.length>0?e[n[0]]:e.default;if(r&&"function"==typeof r)return r(this)}},{key:"isShift",value:function(e){return Boolean(this.event.shiftKey&&this.is(e))}},{key:"getName",value:function(e){return Object.keys(u).find((function(t){return u[t]===e}))}}]),e}();function _(e){return new p(e)}function f(e){return Object(c.default)("KeyCode is deprecated, use keycode instead"),new p(e)}function h(e){if(e&&"function"==typeof e)return function(t){return _(t).handleClickIntent(e)}}},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";var r=n(7),a=n(51);r({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},function(e,t,n){var r=n(8),a=n(10).f,o=n(24),i=n(27),s=n(28),l=n(38),c=n(50);e.exports=function(e,t){var n,u,d,p,_,f=e.target,h=e.global,m=e.stat;if(n=h?r:m?r[f]||s(f,{}):(r[f]||{}).prototype)for(u in t){if(p=t[u],d=e.noTargetGet?(_=a(n,u))&&_.value:n[u],!c(h?u:f+(m?".":"#")+u,e.forced)&&void 0!==d){if(typeof p==typeof d)continue;l(p,d)}(e.sham||d&&d.sham)&&o(p,"sham",!0),i(n,u,p,e)}}},function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,n(9))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(11),a=n(13),o=n(14),i=n(15),s=n(19),l=n(21),c=n(22),u=Object.getOwnPropertyDescriptor;t.f=r?u:function(e,t){if(e=i(e),t=s(t,!0),c)try{return u(e,t)}catch(e){}if(l(e,t))return o(!a.f.call(e,t),e[t])}},function(e,t,n){var r=n(12);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";var r={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,o=a&&!r.call({1:2},1);t.f=o?function(e){var t=a(this,e);return!!t&&t.enumerable}:r},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(16),a=n(18);e.exports=function(e){return r(a(e))}},function(e,t,n){var r=n(12),a=n(17),o="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?o.call(e,""):Object(e)}:Object},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(20);e.exports=function(e,t){if(!r(e))return e;var n,a;if(t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;if("function"==typeof(n=e.valueOf)&&!r(a=n.call(e)))return a;if(!t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(11),a=n(12),o=n(23);e.exports=!r&&!a((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(8),a=n(20),o=r.document,i=a(o)&&a(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(11),a=n(25),o=n(14);e.exports=r?function(e,t,n){return a.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(11),a=n(22),o=n(26),i=n(19),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(o(e),t=i(t,!0),o(n),a)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(20);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,n){var r=n(8),a=n(24),o=n(21),i=n(28),s=n(29),l=n(31),c=l.get,u=l.enforce,d=String(String).split("String");(e.exports=function(e,t,n,s){var l,c=!!s&&!!s.unsafe,p=!!s&&!!s.enumerable,_=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||o(n,"name")||a(n,"name",t),(l=u(n)).source||(l.source=d.join("string"==typeof t?t:""))),e!==r?(c?!_&&e[t]&&(p=!0):delete e[t],p?e[t]=n:a(e,t,n)):p?e[t]=n:i(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||s(this)}))},function(e,t,n){var r=n(8),a=n(24);e.exports=function(e,t){try{a(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(30),a=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return a.call(e)}),e.exports=r.inspectSource},function(e,t,n){var r=n(8),a=n(28),o="__core-js_shared__",i=r[o]||a(o,{});e.exports=i},function(e,t,n){var r,a,o,i=n(32),s=n(8),l=n(20),c=n(24),u=n(21),d=n(30),p=n(33),_=n(37),f=s.WeakMap;if(i){var h=d.state||(d.state=new f),m=h.get,b=h.has,g=h.set;r=function(e,t){return t.facade=e,g.call(h,e,t),t},a=function(e){return m.call(h,e)||{}},o=function(e){return b.call(h,e)}}else{var v=p("state");_[v]=!0,r=function(e,t){return t.facade=e,c(e,v,t),t},a=function(e){return u(e,v)?e[v]:{}},o=function(e){return u(e,v)}}e.exports={set:r,get:a,has:o,enforce:function(e){return o(e)?a(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=a(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t,n){var r=n(8),a=n(29),o=r.WeakMap;e.exports="function"==typeof o&&/native code/.test(a(o))},function(e,t,n){var r=n(34),a=n(36),o=r("keys");e.exports=function(e){return o[e]||(o[e]=a(e))}},function(e,t,n){var r=n(35),a=n(30);(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.9.1",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports=!1},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},function(e,t){e.exports={}},function(e,t,n){var r=n(21),a=n(39),o=n(10),i=n(25);e.exports=function(e,t){for(var n=a(t),s=i.f,l=o.f,c=0;c<n.length;c++){var u=n[c];r(e,u)||s(e,u,l(t,u))}}},function(e,t,n){var r=n(40),a=n(42),o=n(49),i=n(26);e.exports=r("Reflect","ownKeys")||function(e){var t=a.f(i(e)),n=o.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(41),a=n(8),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(a[e]):r[e]&&r[e][t]||a[e]&&a[e][t]}},function(e,t,n){var r=n(8);e.exports=r},function(e,t,n){var r=n(43),a=n(48).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,a)}},function(e,t,n){var r=n(21),a=n(15),o=n(44).indexOf,i=n(37);e.exports=function(e,t){var n,s=a(e),l=0,c=[];for(n in s)!r(i,n)&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~o(c,n)||c.push(n));return c}},function(e,t,n){var r=n(15),a=n(45),o=n(47),i=function(e){return function(t,n,i){var s,l=r(t),c=a(l.length),u=o(i,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},function(e,t,n){var r=n(46),a=Math.min;e.exports=function(e){return e>0?a(r(e),9007199254740991):0}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(46),a=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?a(n+t,0):o(n,t)}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(12),a=/#|\.prototype\./,o=function(e,t){var n=s[i(e)];return n==c||n!=l&&("function"==typeof t?r(t):!!t)},i=o.normalize=function(e){return String(e).replace(a,".").toLowerCase()},s=o.data={},l=o.NATIVE="N",c=o.POLYFILL="P";e.exports=o},function(e,t,n){"use strict";var r,a,o=n(52),i=n(53),s=RegExp.prototype.exec,l=String.prototype.replace,c=s,u=(r=/a/,a=/b*/g,s.call(r,"a"),s.call(a,"a"),0!==r.lastIndex||0!==a.lastIndex),d=i.UNSUPPORTED_Y||i.BROKEN_CARET,p=void 0!==/()??/.exec("")[1];(u||p||d)&&(c=function(e){var t,n,r,a,i=this,c=d&&i.sticky,_=o.call(i),f=i.source,h=0,m=e;return c&&(-1===(_=_.replace("y","")).indexOf("g")&&(_+="g"),m=String(e).slice(i.lastIndex),i.lastIndex>0&&(!i.multiline||i.multiline&&"\n"!==e[i.lastIndex-1])&&(f="(?: "+f+")",m=" "+m,h++),n=new RegExp("^(?:"+f+")",_)),p&&(n=new RegExp("^"+f+"$(?!\\s)",_)),u&&(t=i.lastIndex),r=s.call(c?n:i,m),c?r?(r.input=r.input.slice(h),r[0]=r[0].slice(h),r.index=i.lastIndex,i.lastIndex+=r[0].length):i.lastIndex=0:u&&r&&(i.lastIndex=i.global?r.index+r[0].length:t),p&&r&&r.length>1&&l.call(r[0],n,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(r[a]=void 0)})),r}),e.exports=c},function(e,t,n){"use strict";var r=n(26);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){"use strict";var r=n(12);function a(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=r((function(){var e=a("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=a("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},function(e,t,n){var r=n(55),a=n(27),o=n(62);r||a(Object.prototype,"toString",o,{unsafe:!0})},function(e,t,n){var r={};r[n(56)("toStringTag")]="z",e.exports="[object z]"===String(r)},function(e,t,n){var r=n(8),a=n(34),o=n(21),i=n(36),s=n(57),l=n(61),c=a("wks"),u=r.Symbol,d=l?u:u&&u.withoutSetter||i;e.exports=function(e){return o(c,e)&&(s||"string"==typeof c[e])||(s&&o(u,e)?c[e]=u[e]:c[e]=d("Symbol."+e)),c[e]}},function(e,t,n){var r=n(58),a=n(59),o=n(12);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){return!Symbol.sham&&(r?38===a:a>37&&a<41)}))},function(e,t,n){var r=n(17),a=n(8);e.exports="process"==r(a.process)},function(e,t,n){var r,a,o=n(8),i=n(60),s=o.process,l=s&&s.versions,c=l&&l.v8;c?a=(r=c.split("."))[0]+r[1]:i&&(!(r=i.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/))&&(a=r[1]),e.exports=a&&+a},function(e,t,n){var r=n(40);e.exports=r("navigator","userAgent")||""},function(e,t,n){var r=n(57);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){"use strict";var r=n(55),a=n(63);e.exports=r?{}.toString:function(){return"[object "+a(this)+"]"}},function(e,t,n){var r=n(55),a=n(17),o=n(56)("toStringTag"),i="Arguments"==a(function(){return arguments}());e.exports=r?a:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?a(t):"Object"==(r=a(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t,n){"use strict";var r=n(27),a=n(26),o=n(12),i=n(52),s="toString",l=RegExp.prototype,c=l.toString,u=o((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),d=c.name!=s;(u||d)&&r(RegExp.prototype,s,(function(){var e=a(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in l)?i.call(e):n)}),{unsafe:!0})},function(e,t,n){var r=n(11),a=n(25).f,o=Function.prototype,i=o.toString,s=/^\s*function ([^ (]*)/,l="name";r&&!(l in o)&&a(o,l,{configurable:!0,get:function(){try{return i.call(this).match(s)[1]}catch(e){return""}}})},function(e,t,n){"use strict";var r=n(67),a=n(68),o=n(26),i=n(18),s=n(69),l=n(71),c=n(45),u=n(73),d=n(51),p=n(12),_=[].push,f=Math.min,h=4294967295,m=!p((function(){return!RegExp(h,"y")}));r("split",2,(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(i(this)),o=void 0===n?h:n>>>0;if(0===o)return[];if(void 0===e)return[r];if(!a(e))return t.call(r,e,o);for(var s,l,c,u=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,m=new RegExp(e.source,p+"g");(s=d.call(m,r))&&!((l=m.lastIndex)>f&&(u.push(r.slice(f,s.index)),s.length>1&&s.index<r.length&&_.apply(u,s.slice(1)),c=s[0].length,f=l,u.length>=o));)m.lastIndex===s.index&&m.lastIndex++;return f===r.length?!c&&m.test("")||u.push(""):u.push(r.slice(f)),u.length>o?u.slice(0,o):u}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var a=i(this),o=null==t?void 0:t[e];return void 0!==o?o.call(t,a,n):r.call(String(a),t,n)},function(e,a){var i=n(r,e,this,a,r!==t);if(i.done)return i.value;var d=o(e),p=String(this),_=s(d,RegExp),b=d.unicode,g=(d.ignoreCase?"i":"")+(d.multiline?"m":"")+(d.unicode?"u":"")+(m?"y":"g"),v=new _(m?d:"^(?:"+d.source+")",g),y=void 0===a?h:a>>>0;if(0===y)return[];if(0===p.length)return null===u(v,p)?[p]:[];for(var S=0,x=0,T=[];x<p.length;){v.lastIndex=m?x:0;var A,I=u(v,m?p:p.slice(x));if(null===I||(A=f(c(v.lastIndex+(m?0:x)),p.length))===S)x=l(p,x,b);else{if(T.push(p.slice(S,x)),T.length===y)return T;for(var E=1;E<=I.length-1;E++)if(T.push(I[E]),T.length===y)return T;x=S=A}}return T.push(p.slice(S)),T}]}),!m)},function(e,t,n){"use strict";n(6);var r=n(27),a=n(12),o=n(56),i=n(51),s=n(24),l=o("species"),c=!a((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),u="$0"==="a".replace(/./,"$0"),d=o("replace"),p=!!/./[d]&&""===/./[d]("a","$0"),_=!a((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,d){var f=o(e),h=!a((function(){var t={};return t[f]=function(){return 7},7!=""[e](t)})),m=h&&!a((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[l]=function(){return n},n.flags="",n[f]=/./[f]),n.exec=function(){return t=!0,null},n[f](""),!t}));if(!h||!m||"replace"===e&&(!c||!u||p)||"split"===e&&!_){var b=/./[f],g=n(f,""[e],(function(e,t,n,r,a){return t.exec===i?h&&!a?{done:!0,value:b.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:u,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),v=g[0],y=g[1];r(String.prototype,e,v),r(RegExp.prototype,f,2==t?function(e,t){return y.call(e,this,t)}:function(e){return y.call(e,this)})}d&&s(RegExp.prototype[f],"sham",!0)}},function(e,t,n){var r=n(20),a=n(17),o=n(56)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==a(e))}},function(e,t,n){var r=n(26),a=n(70),o=n(56)("species");e.exports=function(e,t){var n,i=r(e).constructor;return void 0===i||null==(n=r(i)[o])?t:a(n)}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t,n){"use strict";var r=n(72).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e,t,n){var r=n(46),a=n(18),o=function(e){return function(t,n){var o,i,s=String(a(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===c||(i=s.charCodeAt(l+1))<56320||i>57343?e?s.charAt(l):o:e?s.slice(l,l+2):i-56320+(o-55296<<10)+65536}};e.exports={codeAt:o(!1),charAt:o(!0)}},function(e,t,n){var r=n(17),a=n(51);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var o=n.call(e,t);if("object"!=typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return a.call(e,t)}},function(e,t,n){"use strict";var r=n(7),a=n(75).filter;r({target:"Array",proto:!0,forced:!n(80)("filter")},{filter:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(76),a=n(16),o=n(77),i=n(45),s=n(78),l=[].push,c=function(e){var t=1==e,n=2==e,c=3==e,u=4==e,d=6==e,p=7==e,_=5==e||d;return function(f,h,m,b){for(var g,v,y=o(f),S=a(y),x=r(h,m,3),T=i(S.length),A=0,I=b||s,E=t?I(f,T):n||p?I(f,0):void 0;T>A;A++)if((_||A in S)&&(v=x(g=S[A],A,y),e))if(t)E[A]=v;else if(v)switch(e){case 3:return!0;case 5:return g;case 6:return A;case 2:l.call(E,g)}else switch(e){case 4:return!1;case 7:l.call(E,g)}return d?-1:c||u?u:E}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterOut:c(7)}},function(e,t,n){var r=n(70);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,a){return e.call(t,n,r,a)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(18);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(20),a=n(79),o=n(56)("species");e.exports=function(e,t){var n;return a(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!a(n.prototype)?r(n)&&null===(n=n[o])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},function(e,t,n){var r=n(17);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(12),a=n(56),o=n(59),i=a("species");e.exports=function(e){return o>=51||!r((function(){var t=[];return(t.constructor={})[i]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t,n){var r=n(7),a=n(77),o=n(82);r({target:"Object",stat:!0,forced:n(12)((function(){o(1)}))},{keys:function(e){return o(a(e))}})},function(e,t,n){var r=n(43),a=n(48);e.exports=Object.keys||function(e){return r(e,a)}},function(e,t,n){"use strict";var r=n(7),a=n(75).find,o=n(84),i="find",s=!0;i in[]&&Array(1).find((function(){s=!1})),r({target:"Array",proto:!0,forced:s},{find:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),o(i)},function(e,t,n){var r=n(56),a=n(85),o=n(25),i=r("unscopables"),s=Array.prototype;null==s[i]&&o.f(s,i,{configurable:!0,value:a(null)}),e.exports=function(e){s[i][e]=!0}},function(e,t,n){var r,a=n(26),o=n(86),i=n(48),s=n(37),l=n(87),c=n(23),u=n(33),d=u("IE_PROTO"),p=function(){},_=function(e){return"<script>"+e+"<\/script>"},f=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;f=r?function(e){e.write(_("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):((t=c("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(_("document.F=Object")),e.close(),e.F);for(var n=i.length;n--;)delete f.prototype[i[n]];return f()};s[d]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(p.prototype=a(e),n=new p,p.prototype=null,n[d]=e):n=f(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(11),a=n(25),o=n(26),i=n(82);e.exports=r?Object.defineProperties:function(e,t){o(e);for(var n,r=i(t),s=r.length,l=0;s>l;)a.f(e,n=r[l++],t[n]);return e}},function(e,t,n){var r=n(40);e.exports=r("document","documentElement")},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return a}));var r={};function a(e){r[e]||(r[e]=!0,console.warn("".concat("[studio-components] ").concat(e)))}},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"classic";n(90)("./".concat(e,"/globals.sass"))}n.r(t),n.d(t,"default",(function(){return r}))},function(e,t,n){var r={"./blueSteel/globals.sass":91,"./classic/globals.sass":96};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=90},function(e,t,n){var r=n(92);"string"==typeof r&&(r=[[e.i,r,""]]);var a={insertAt:"top",hmr:!0,transform:void 0,insertInto:void 0};n(94)(r,a),r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(93)()).push([e.i,"@import url(https://fonts.googleapis.com/css?family=Lato:400,700);",""]),t.push([e.i,"@import url(https://fonts.googleapis.com/css?family=Public+Sans:400,700,800);",""]),t.push([e.i,"*,:after,:before{box-sizing:border-box}*{outline-color:#092dbd}html{-moz-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Public Sans,sans-serif}body,html{margin:0;padding:0}html{font-size:16px}",""])},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},a=0;a<this.length;a++){var o=this[a][0];"number"==typeof o&&(r[o]=!0)}for(a=0;a<t.length;a++){var i=t[a];"number"==typeof i[0]&&r[i[0]]||(n&&!i[2]?i[2]=n:n&&(i[2]="("+i[2]+") and ("+n+")"),e.push(i))}},e}},function(e,t,n){var r,a,o={},i=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===a&&(a=r.apply(this,arguments)),a}),s=function(e){return document.querySelector(e)},l=function(e){var t={};return function(e){if("function"==typeof e)return e();if(void 0===t[e]){var n=s.call(this,e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}}(),c=null,u=0,d=[],p=n(95);function _(e,t){for(var n=0;n<e.length;n++){var r=e[n],a=o[r.id];if(a){a.refs++;for(var i=0;i<a.parts.length;i++)a.parts[i](r.parts[i]);for(;i<r.parts.length;i++)a.parts.push(v(r.parts[i],t))}else{var s=[];for(i=0;i<r.parts.length;i++)s.push(v(r.parts[i],t));o[r.id]={id:r.id,refs:1,parts:s}}}}function f(e,t){for(var n=[],r={},a=0;a<e.length;a++){var o=e[a],i=t.base?o[0]+t.base:o[0],s={css:o[1],media:o[2],sourceMap:o[3]};r[i]?r[i].parts.push(s):n.push(r[i]={id:i,parts:[s]})}return n}function h(e,t){var n=l(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=d[d.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),d.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var a=l(e.insertInto+" "+e.insertAt.before);n.insertBefore(t,a)}}function m(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=d.indexOf(e);t>=0&&d.splice(t,1)}function b(e){var t=document.createElement("style");return void 0===e.attrs.type&&(e.attrs.type="text/css"),g(t,e.attrs),h(e,t),t}function g(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function v(e,t){var n,r,a,o;if(t.transform&&e.css){if(!(o=t.transform(e.css)))return function(){};e.css=o}if(t.singleton){var i=u++;n=c||(c=b(t)),r=x.bind(null,n,i,!1),a=x.bind(null,n,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",g(t,e.attrs),h(e,t),t}(t),r=A.bind(null,n,t),a=function(){m(n),n.href&&URL.revokeObjectURL(n.href)}):(n=b(t),r=T.bind(null,n),a=function(){m(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else a()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=i()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=f(e,t);return _(n,t),function(e){for(var r=[],a=0;a<n.length;a++){var i=n[a];(s=o[i.id]).refs--,r.push(s)}for(e&&_(f(e,t),t),a=0;a<r.length;a++){var s;if(0===(s=r[a]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete o[s.id]}}}};var y,S=(y=[],function(e,t){return y[e]=t,y.filter(Boolean).join("\n")});function x(e,t,n,r){var a=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=S(t,a);else{var o=document.createTextNode(a),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(o,i[t]):e.appendChild(o)}}function T(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function A(e,t,n){var r=n.css,a=n.sourceMap,o=void 0===t.convertToAbsoluteUrls&&a;(t.convertToAbsoluteUrls||o)&&(r=p(r)),a&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */");var i=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(i),s&&URL.revokeObjectURL(s)}},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var a,o=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(o)?e:(a=0===o.indexOf("//")?o:0===o.indexOf("/")?n+o:r+o.replace(/^\.\//,""),"url("+JSON.stringify(a)+")")}))}},function(e,t,n){var r=n(97);"string"==typeof r&&(r=[[e.i,r,""]]);var a={insertAt:"top",hmr:!0,transform:void 0,insertInto:void 0};n(94)(r,a),r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(93)()).push([e.i,"@import url(https://fonts.googleapis.com/css?family=Lato:400,700);",""]),t.push([e.i,"*,:after,:before{box-sizing:border-box}*{outline-color:#08b0cc}html{-moz-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Lato,Helvetica,Arial,sans-serif}body,html{margin:0;padding:0}html{font-size:15px}",""])},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return a}));var r=n(2);function a(){n(99),document.addEventListener("keydown",(function(e){Object(r.default)(e).is("tab")&&document.body.classList.remove("hide-focus-outlines")})),document.addEventListener("mousedown",(function(){document.body.classList.add("hide-focus-outlines")}))}},function(e,t,n){var r=n(100);"string"==typeof r&&(r=[[e.i,r,""]]);var a={insertAt:"top",hmr:!0,transform:void 0,insertInto:void 0};n(94)(r,a),r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(93)()).push([e.i,"body.hide-focus-outlines a:focus,body.hide-focus-outlines button:focus,body.hide-focus-outlines input:focus,body.hide-focus-outlines select:focus,body.hide-focus-outlines textarea:focus{outline:none}body.hide-focus-outlines [tabindex]:focus{outline:none!important}",""])},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"classic";n(102)("./".concat(e,"/studioFontFamilyOverrides.sass"))}n.r(t),n.d(t,"default",(function(){return r}))},function(e,t,n){var r={"./blueSteel/studioFontFamilyOverrides.sass":103,"./classic/studioFontFamilyOverrides.sass":105};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=102},function(e,t,n){var r=n(104);"string"==typeof r&&(r=[[e.i,r,""]]);var a={insertAt:"top",hmr:!0,transform:void 0,insertInto:void 0};n(94)(r,a),r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(93)()).push([e.i,"@import url(https://fonts.googleapis.com/css?family=Lato:400,700);",""]),t.push([e.i,"body,button,h1,h2,h3,h4,input,select,textarea{font-family:Public Sans,sans-serif}.studioFontFamilyOverrides-regular-4_7_0-5xwiv,.studioFontFamilyOverrides-semibold-4_7_0-2P82N,.studioFontFamilyOverrides-thin-4_7_0-28Mhi{font-family:inherit}",""]),t.locals={semibold:"studioFontFamilyOverrides-semibold-4_7_0-2P82N",regular:"studioFontFamilyOverrides-regular-4_7_0-5xwiv",thin:"studioFontFamilyOverrides-thin-4_7_0-28Mhi"}},function(e,t,n){var r=n(106);"string"==typeof r&&(r=[[e.i,r,""]]);var a={insertAt:"top",hmr:!0,transform:void 0,insertInto:void 0};n(94)(r,a),r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(93)()).push([e.i,"@import url(https://fonts.googleapis.com/css?family=Lato:400,700);",""]),t.push([e.i,"body,button,h1,h2,h3,h4,input,select,textarea{font-family:Lato,Helvetica,Arial,sans-serif}.studioFontFamilyOverrides-regular-4_7_0-2owzJ,.studioFontFamilyOverrides-semibold-4_7_0-1Boye,.studioFontFamilyOverrides-thin-4_7_0-3xO2G{font-family:inherit}",""]),t.locals={semibold:"studioFontFamilyOverrides-semibold-4_7_0-1Boye",regular:"studioFontFamilyOverrides-regular-4_7_0-2owzJ",thin:"studioFontFamilyOverrides-thin-4_7_0-3xO2G"}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return s}));var r=n(89),a=n(98),o=n(101),i=n(108);function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{theme:"blueSteel"};Object(r.default)(e.theme),Object(a.default)(e.theme),Object(o.default)(e.theme),e.theme&&Object(i.setTheme)(e.theme)}},function(e,t,n){"use strict";n.r(t),n.d(t,"setTheme",(function(){return d})),n.d(t,"default",(function(){return p}));var r=n(109),a=n.n(r),o=(n(110),n(111),n(65),n(114)),i=n.n(o),s=n(115),l=n(117),c=n(118),u="classic",d=function(e){c.THEMES.includes(e)?u=e:console.warn("The theme name passed is not recognized, using default theme instead.")};function p(){return function(e){function t(t,n){return Object(s.hasCreateContext)()?i.a.createElement(l.default.Consumer,null,(function(r){return i.a.createElement(e,a()({theme:r||u,ref:n},t))})):i.a.createElement(e,a()({ref:n,theme:"classic"},t))}var n=e.displayName||e.name;return t.displayName="provideTheme(".concat(n,")"),i.a.forwardRef(t)}}},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,n.apply(this,arguments)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";var r=n(7),a=n(44).includes,o=n(84);r({target:"Array",proto:!0},{includes:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),o("includes")},function(e,t,n){"use strict";var r=n(7),a=n(112),o=n(18);r({target:"String",proto:!0,forced:!n(113)("includes")},{includes:function(e){return!!~String(o(this)).indexOf(a(e),arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(68);e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},function(e,t,n){var r=n(56)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},function(e,t){e.exports=__WEBPACK_EXTERNAL_MODULE__114__},function(e,t,n){"use strict";n.r(t),n.d(t,"isReact14",(function(){return o})),n.d(t,"warnReact14",(function(){return i})),n.d(t,"hasCreateContext",(function(){return s})),n(116);var r=n(114),a=n.n(r);function o(){return a.a.version.startsWith("0.14")}function i(e){o()&&console.warn(e)}function s(){return null!=a.a.createContext}},function(e,t,n){"use strict";var r,a=n(7),o=n(10).f,i=n(45),s=n(112),l=n(18),c=n(113),u=n(35),d="".startsWith,p=Math.min,_=c("startsWith");a({target:"String",proto:!0,forced:!(!u&&!_&&(r=o(String.prototype,"startsWith"),r&&!r.writable)||_)},{startsWith:function(e){var t=String(l(this));s(e);var n=i(p(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return d?d.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){"use strict";n.r(t);var r=n(114),a=n.n(r),o=n(115);t.default=Object(o.hasCreateContext)()?a.a.createContext(null):null},function(e,t,n){"use strict";n.r(t),n.d(t,"THEMES",(function(){return c})),n.d(t,"default",(function(){return u})),n(65);var r=n(114),a=n.n(r),o=n(119),i=n.n(o),s=n(115),l=n(117),c=["classic","blueSteel"];function u(e){var t=e.children,n=e.name;return Object(s.hasCreateContext)()?a.a.createElement(l.default.Provider,{value:n},t):t}u.propTypes={children:i.a.node,name:i.a.oneOf(c)},u.defaultProps={name:"classic"}},function(e,t,n){var r=n(120);e.exports=n(122)(r.isElement,!0)},function(e,t,n){"use strict";e.exports=n(121)},function(e,t,n){"use strict";
|
|
3
|
+
var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=["catalogSearch","catalogSequence"],o=["adConfigId","applicationId","catalogSearch","catalogSequence","playlistId","playlistVideoId","videoId"],i=function(e){return Object.keys(e).filter((function(e){return-1!==o.indexOf(e)})).reduce((function(t,n){var r=function(e,t){if(e&&void 0!==e[t]){if("string"!=typeof e[t]&&-1!==a.indexOf(t))try{return encodeURIComponent(JSON.stringify(e[t]))}catch(e){return}return encodeURIComponent(String(e[t]).trim())||void 0}}(e,n);return void 0!==r&&(t+=t?"&":"?",t+=encodeURIComponent(n)+"="+r),t}),"")},s=function(e){var t=e.accountId,n=e.base,a=void 0===n?"https://players.brightcove.net":n,o=e.playerId,s=void 0===o?"default":o,l=e.embedId,c=void 0===l?"default":l,u=e.iframe,d=void 0!==u&&u,p=e.minified,_=void 0===p||p,f=e.queryParams,h=void 0===f?null:f,m="";d?m+="html":(_&&(m+="min."),m+="js"),"/"===a.charAt(a.length-1)&&(a=a.substring(0,a.length-1));var b="";return d&&h&&"object"===(void 0===h?"undefined":r(h))&&(b=i(h)),a+"/"+(t=encodeURIComponent(t))+"/"+(s=encodeURIComponent(s))+"_"+(c=encodeURIComponent(c))+"/index."+m+b};s.VERSION="1.2.0";var l=s,c={playerId:"default",embedId:"default",iframe:!1,includeScriptElement:!0,minified:!0,returnDomElement:!1,preview:!1,playlistElement:!1,legacyPlaylistElement:!1,formatter:function(e){return e},width:960,height:540,units:"px",responsive:!0,applicationId:"",allowFullscreen:!0,allowEncryptedMedia:!0,pictureInPicture:!1};function u(e,t){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);for(var a in t)t.hasOwnProperty(a)&&(n[a]=t[a]);return t.responsive&&!t.width&&(n.width=100,n.units="%"),n}var d={createIframeEmbedCode:function(e,t){t=u(c,t);var n,r=e.createElement("div"),a=e.createElement("iframe");if(t.preview)n=(t.urlBase?t.urlBase:"//preview-players.brightcove.net")+"/v2/accounts/"+t.accountId+"/players/"+t.playerId+"/preview/embeds/"+t.embedId+"/master/index.html",t.videoId&&(n+="?videoId="+t.videoId);else{var o={accountId:t.accountId,playerId:t.playerId,embedId:t.embedId,iframe:!0,minified:t.minified,queryParams:{videoId:t.videoId,playlistId:t.playlistId,adConfigId:t.adConfigId,applicationId:t.applicationId,catalogSearch:t.catalogSearch,catalogSequence:t.catalogSequence}};t.urlBase&&(o.base=t.urlBase),n=l(o)}if(t.returnDomElement?a.setAttribute("src",n):a.setAttribute("fzrsbrxzyeajgdaxuxqu",n),t.allowFullscreen&&a.setAttribute("allowfullscreen",""),t.allowEncryptedMedia&&a.setAttribute("allow","encrypted-media"),t.responsive){var i=e.createElement("div"),s=e.createElement("div");i.setAttribute("style","position: relative; display: block; max-width: ".concat(t.width).concat(t.units,";"));var d=56.25;t.responsiveHeight&&(d=t.responsiveHeight),s.setAttribute("style","padding-top: ".concat(d,"%;")),a.setAttribute("style","position: absolute; top: 0px; right: 0px; bottom: 0px; left: 0px; width: 100%; height: 100%;"),r.appendChild(i),i.appendChild(s),s.appendChild(a)}else"px"!==t.units?a.setAttribute("style","width: ".concat(t.width).concat(t.units,"; height: ").concat(t.height).concat(t.units,";")):(a.setAttribute("width",t.width),a.setAttribute("height",t.height)),r.appendChild(a);return t.returnDomElement?r:t.formatter(r.innerHTML.replace("fzrsbrxzyeajgdaxuxqu","src"))}},p=n(0),_=n.n(p);function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var h={createInpageEmbedCode:function(e,t){if((t=u(c,t)).preview)throw new Error("You cannot preview an in-page embed");var n,r=e.createElement("div");if(t.playerVersion&&_.a.gt("6.11.0",t.playerVersion)?(n=e.createElement("video")).classList.add("video-js"):n=e.createElement("video-js"),n.setAttribute("data-account",t.accountId),n.setAttribute("data-player",t.playerId),n.setAttribute("data-embed",t.embedId),n.setAttribute("controls",""),void 0!==t.videoId&&n.setAttribute("data-video-id",t.videoId),void 0!==t.playlistId&&n.setAttribute("data-playlist-id",t.playlistId),void 0!==t.adConfigId&&n.setAttribute("data-ad-config-id",t.adConfigId),void 0!==t.applicationId&&n.setAttribute("data-application-id",t.applicationId),void 0!==t.catalogSearch&&("object"===f(t.catalogSearch)?n.setAttribute("data-catalog-search",JSON.stringify(t.catalogSearch)):n.setAttribute("data-catalog-search",String(t.catalogSearch))),void 0!==t.catalogSequence&&n.setAttribute("data-catalog-sequence",JSON.stringify(t.catalogSequence)),void 0!==t.audience&&"object"===f(t.audience)&&(void 0!==t.audience.integration&&n.setAttribute("data-bc-integrationid",t.audience.integration),void 0!==t.audience.leadForm&&n.setAttribute("data-bc-leadformid",t.audience.leadForm)),t.responsive){var a=e.createElement("div");a.setAttribute("style","max-width: ".concat(t.width).concat(t.units,";")),n.classList.add("vjs-fluid"),t.responsiveHeight&&n.setAttribute("style","padding-top: ".concat(t.responsiveHeight,"%;")),r.appendChild(a),a.appendChild(n)}else"px"!==t.units?n.setAttribute("style","width: ".concat(t.width).concat(t.units,"; height: ").concat(t.height).concat(t.units,";")):(n.setAttribute("width",t.width),n.setAttribute("height",t.height)),r.appendChild(n);if(t.pictureInPicture){var o=e.createElement("div");o.classList.add("vjs-pip-container"),o.appendChild(r.firstChild),r.appendChild(o)}if(t.includeScriptElement){var i=e.createElement("script"),s={accountId:t.accountId,playerId:t.playerId,embedId:t.embedId,minified:t.minified};t.urlBase&&(s.base=t.urlBase),t.returnDomElement?i.setAttribute("src",l(s)):i.setAttribute("fzrsbrxzyeajgdaxuxqu",l(s)),r.appendChild(i)}if(t.playlistElement){var d=e.createElement("div");d.setAttribute("class","vjs-playlist"),r.appendChild(d)}if(t.legacyPlaylistElement&&!t.playlistElement){var p=e.createElement("ol");p.setAttribute("class","vjs-playlist"),r.appendChild(p)}return t.returnDomElement?r:t.formatter(r.innerHTML.replace("fzrsbrxzyeajgdaxuxqu","src"))}};function m(e){if(void 0===e)throw new Error("options object is required");if(void 0===e.accountId)throw new Error("accountId is required");if(!e.document&&"undefined"==typeof window)throw new Error("No document object found. If you are running this project outside of a browser, pass a `document` option using a library such as jsdom.");var t=void 0!==e.document?e.document:window.document;return e.iframe?d.createIframeEmbedCode(t,e):h.createInpageEmbedCode(t,e)}n.d(t,"default",(function(){return m}))}]).default},6946:(e,t,n)=>{"use strict";t.Xo=void 0;var r=n(1306);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}var o=function(e){var t=e.apiConfig;return{origin:(0,r.getPlayersOrigin)(t),accountId:(0,r.getAccountId)(t)}};t.Xo=function(e){var t,n=e.apiConfig,i=(t=a({},o({apiConfig:n}))).origin+"/v1/accounts/"+t.accountId+"/players";return(0,r.buildGetForPath)({path:i})}},1306:(e,t)=>{"use strict";t.__esModule=!0,t.buildDeleteForPath=t.buildPostForPath=t.buildFilePutForPath=t.buildPutForPath=t.buildPatchForPath=t.buildGetWithParamsForPath=t.buildGetForPath=t.getAccountId=t.getPlaybackRightsOrigin=t.getPolicyOrigin=t.getSocialAPIOrigin=t.getDeliverySystemOrigin=t.getAudienceOrigin=t.getGalleryOrigin=t.getOAuthVersion=t.getOAuthOrigin=t.getNuCMSOrigin=t.getBeaconOrigin=t.getAccountsOrigin=t.getAuthIntegrationVersion=t.getAuthIntegrationOrigin=t.getSettingsOrigin=t.getIngestOrigin=t.getIngestProfilesOrigin=t.getPlayersOrigin=t.getAnalyticsOrigin=t.getSavedSearchOrigin=t.getliveSsaiOrigin=t.getSSAIOrigin=t.getCMSAPIOrigin=void 0;t.getCMSAPIOrigin=function(e){return e.api.cms.origin};t.getSSAIOrigin=function(e){return e.api.ssai.origin};t.getliveSsaiOrigin=function(e){return e.api.alive.origin};t.getSavedSearchOrigin=function(e){return e.api.savedsearch.origin};t.getAnalyticsOrigin=function(e){return e.api.analytics.origin};t.getPlayersOrigin=function(e){return e.api.players.origin};t.getIngestProfilesOrigin=function(e){return e.api["ingest-profiles"].origin};t.getIngestOrigin=function(e){return e.api.ingest.origin};t.getSettingsOrigin=function(e){return e.api.seti.origin};t.getAuthIntegrationOrigin=function(e){return e.api["auth-integration"].origin};t.getAuthIntegrationVersion=function(e){return e.api["auth-integration"].version};t.getAccountsOrigin=function(e){return e.api.accounts.origin};t.getBeaconOrigin=function(e){return e.api.beacon.origin};t.getNuCMSOrigin=function(e){return e.api.nucms.origin};t.getOAuthOrigin=function(e){return e.api.oauth.origin};t.getOAuthVersion=function(e){return e.api.oauth.version};t.getGalleryOrigin=function(e){return e.api.gallery?e.api.gallery.origin:"https://gallery.api.brightcove.com"};t.getAudienceOrigin=function(e){return e.api.audience.origin};t.getDeliverySystemOrigin=function(e){return e.api.repos.origin};t.getSocialAPIOrigin=function(e){return e.api.social.origin};t.getPolicyOrigin=function(e){return e.api.policy.origin};t.getPlaybackRightsOrigin=function(e){return e.api["playback-rights"].origin};t.getAccountId=function(e){return e.publisherId};var n=function(e){return{path:e.path,method:"GET"}};t.buildGetForPath=n;t.buildGetWithParamsForPath=function(e){var t=e.path,r=e.data,a=n({path:t});if(r){var o=Object.keys(r).map((function(e){return encodeURIComponent(e)+"="+encodeURIComponent(r[e])}));o.length&&(a.path=a.path+"?"+o.join("&"))}return a};var r=function(e){var t=e.path,n=e.data;return{path:t,method:e.method,data:JSON.stringify(n)}};t.buildPatchForPath=function(e){var t=e.path,n=e.data;return r({method:"PATCH",path:t,data:n})};t.buildPutForPath=function(e){var t=e.path,n=e.data;return r({method:"PUT",path:t,data:n})};t.buildFilePutForPath=function(e){return function(e){var t=e.path,n=e.data,r=e.headers;return{path:t,method:e.method,data:n,headers:r}}({method:"PUT",path:e.path,data:e.data,headers:e.headers})};t.buildPostForPath=function(e){var t=e.path,n=e.data;return r({method:"POST",path:t,data:n})};t.buildDeleteForPath=function(e){return{path:e.path,method:"DELETE"}}},826:(e,t,n)=>{"use strict";t.P=void 0;var r=n(1306);t.P=function(e){var t=e.longUrl;return(0,r.buildGetWithParamsForPath)({path:"/shortener/shorten",data:{longUrl:t}})}},2575:(module,__unused_webpack_exports,__webpack_require__)=>{var factory;window,factory=function(__WEBPACK_EXTERNAL_MODULE__114__,__WEBPACK_EXTERNAL_MODULE__199__,__WEBPACK_EXTERNAL_MODULE__203__,__WEBPACK_EXTERNAL_MODULE__605__,__WEBPACK_EXTERNAL_MODULE__606__,__WEBPACK_EXTERNAL_MODULE__622__,__WEBPACK_EXTERNAL_MODULE__623__){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t);var r=n(1);n.d(t,"keycode",(function(){return r.keycode})),n.d(t,"KEYCODES",(function(){return r.KEYCODES})),n.d(t,"handleKeyboardClick",(function(){return r.handleKeyboardClick})),n.d(t,"KeyCode",(function(){return r.KeyCode})),n.d(t,"useGlobalStyles",(function(){return r.useGlobalStyles})),n.d(t,"enableSmartFocusOutlines",(function(){return r.enableSmartFocusOutlines})),n.d(t,"overrideStudioModuleFontFamily",(function(){return r.overrideStudioModuleFontFamily})),n.d(t,"initialize",(function(){return r.initialize}));var a=n(137);n.d(t,"Accordion",(function(){return a.Accordion})),n.d(t,"AccordionSummary",(function(){return a.AccordionSummary}));var o=n(346);n.d(t,"Alert",(function(){return o.Alert}));var i=n(353);n.d(t,"Autosave",(function(){return i.Autosave})),n.d(t,"AutosaveInput",(function(){return i.AutosaveInput})),n.d(t,"AutosaveLoader",(function(){return i.AutosaveLoader})),n.d(t,"AutosaveRadioGroup",(function(){return i.AutosaveRadioGroup})),n.d(t,"AutosaveSelect",(function(){return i.AutosaveSelect})),n.d(t,"AutosaveTextArea",(function(){return i.AutosaveTextArea})),n.d(t,"AutosaveTagList",(function(){return i.AutosaveTagList})),n.d(t,"AutosaveTagListSuggestions",(function(){return i.AutosaveTagListSuggestions}));var s=n(491);n.d(t,"Async",(function(){return s.Async}));var l=n(493);n.d(t,"Blast",(function(){return l.Blast}));var c=n(497);n.d(t,"Breadcrumbs",(function(){return c.Breadcrumbs})),n.d(t,"BreadcrumbItem",(function(){return c.BreadcrumbItem}));var u=n(233);n.d(t,"Button",(function(){return u.Button}));var d=n(502);n.d(t,"ButtonGroup",(function(){return d.ButtonGroup}));var p=n(506);n.d(t,"Card",(function(){return p.Card})),n.d(t,"CardMedia",(function(){return p.CardMedia})),n.d(t,"CardHeader",(function(){return p.CardHeader})),n.d(t,"CardBody",(function(){return p.CardBody})),n.d(t,"CardFooter",(function(){return p.CardFooter}));var _=n(547);n.d(t,"Checkbox",(function(){return _.Checkbox}));var f=n(578);n.d(t,"CheckboxGroup",(function(){return f.CheckboxGroup}));var h=n(153);n.d(t,"Collapse",(function(){return h.Collapse}));var m=n(582);n.d(t,"ConfirmationDialog",(function(){return m.ConfirmationDialog}));var b=n(616);n.d(t,"CopyField",(function(){return b.CopyField}));var g=n(342);n.d(t,"Definition",(function(){return g.Definition}));var v=n(620);n.d(t,"DragContainer",(function(){return v.DragContainer})),n.d(t,"DragContext",(function(){return v.DragContext})),n.d(t,"DragItem",(function(){return v.DragItem}));var y=n(632);n.d(t,"DropdownButton",(function(){return y.DropdownButton}));var S=n(539);n.d(t,"DropdownMenu",(function(){return S.DropdownMenu})),n.d(t,"DropdownMenuItem",(function(){return S.DropdownMenuItem}));var x=n(646);n.d(t,"DropZone",(function(){return x.DropZone}));var T=n(663);n.d(t,"ExpandableSection",(function(){return T.ExpandableSection}));var A=n(348);n.d(t,"Fadeable",(function(){return A.Fadeable}));var I=n(188);n.d(t,"Flex",(function(){return I.Flex}));var E=n(356);n.d(t,"FlexItem",(function(){return E.FlexItem}));var w=n(670);n.d(t,"Form",(function(){return w.Form}));var k=n(361);n.d(t,"FormError",(function(){return k.FormError}));var C=n(349);n.d(t,"Hideable",(function(){return C.Hideable}));var P=n(365);n.d(t,"Hint",(function(){return P.Hint}));var O=n(201);n.d(t,"Icon",(function(){return O.Icon})),n.d(t,"ICONS",(function(){return O.ICONS}));var M=n(226);n.d(t,"IconButton",(function(){return M.IconButton}));var R=n(379);n.d(t,"Input",(function(){return R.Input})),n.d(t,"PlainInput",(function(){return R.PlainInput}));var D=n(358);n.d(t,"InputGroup",(function(){return D.InputGroup}));var B=n(672);n.d(t,"Label",(function(){return B.Label}));var L=n(236);n.d(t,"Loader",(function(){return L.Loader}));var N=n(676);n.d(t,"Pill",(function(){return N.Pill}));var F=n(680);n.d(t,"PlusMinusButtons",(function(){return F.PlusMinusButtons}));var z=n(195);n.d(t,"Portal",(function(){return z.Portal}));var j=n(513);n.d(t,"Progress",(function(){return j.Progress}));var V=n(684);n.d(t,"Rule",(function(){return V.Rule}));var G=n(688);n.d(t,"Menu",(function(){return G.Menu}));var H=n(486);n.d(t,"MenuItem",(function(){return H.MenuItem}));var U=n(584);n.d(t,"Modal",(function(){return U.Modal}));var Q=n(689);n.d(t,"Notice",(function(){return Q.Notice}));var W=n(691);n.d(t,"Pager",(function(){return W.Pager}));var K=n(696);n.d(t,"Panel",(function(){return K.Panel})),n.d(t,"PanelTitleBar",(function(){return K.PanelTitleBar}));var Z=n(385);n.d(t,"RadioGroup",(function(){return Z.RadioGroup})),n.d(t,"PlainRadioGroup",(function(){return Z.PlainRadioGroup})),n.d(t,"RadioOption",(function(){return Z.RadioOption}));var q=n(698);n.d(t,"RadioInput",(function(){return q.RadioInput}));var Y=n(640);n.d(t,"SearchInput",(function(){return Y.SearchInput}));var J=n(396);n.d(t,"Select",(function(){return J.Select})),n.d(t,"PlainSelect",(function(){return J.PlainSelect}));var X=n(700);n.d(t,"Slider",(function(){return X.Slider}));var $=n(705);n.d(t,"Drawer",(function(){return $.Drawer})),n.d(t,"StreamPanel",(function(){return $.StreamPanel})),n.d(t,"StreamStatus",(function(){return $.StreamStatus})),n.d(t,"StreamIcon",(function(){return $.StreamIcon}));var ee=n(712);n.d(t,"Table",(function(){return ee.Table})),n.d(t,"TableHead",(function(){return ee.TableHead})),n.d(t,"TableBody",(function(){return ee.TableBody})),n.d(t,"TableRow",(function(){return ee.TableRow})),n.d(t,"TableCell",(function(){return ee.TableCell}));var te=n(720);n.d(t,"Tabs",(function(){return te.Tabs})),n.d(t,"TabList",(function(){return te.TabList})),n.d(t,"Tab",(function(){return te.Tab})),n.d(t,"SmallTab",(function(){return te.SmallTab})),n.d(t,"TabPanel",(function(){return te.TabPanel})),n.d(t,"IconTab",(function(){return te.IconTab})),n.d(t,"ToggleTab",(function(){return te.ToggleTab}));var ne=n(465);n.d(t,"Tag",(function(){return ne.Tag}));var re=n(567);n.d(t,"TagList",(function(){return re.TagList}));var ae=n(418);n.d(t,"TagListInput",(function(){return ae.TagListInput})),n.d(t,"PlainTagListInput",(function(){return ae.PlainTagListInput})),n.d(t,"AutosuggestTagListInput",(function(){return ae.AutosuggestTagListInput}));var oe=n(625);n.d(t,"Target",(function(){return oe.Target}));var ie=n(412);n.d(t,"TextArea",(function(){return ie.TextArea})),n.d(t,"PlainTextArea",(function(){return ie.PlainTextArea}));var se=n(732);n.d(t,"Toaster",(function(){return se.Toaster}));var le=n(511);n.d(t,"Thumbnail",(function(){return le.Thumbnail}));var ce=n(193);n.d(t,"ToolTip",(function(){return ce.ToolTip}));var ue=n(765);n.d(t,"Wizard",(function(){return ue.Wizard})),n.d(t,"WizardStep",(function(){return ue.WizardStep})),n.d(t,"WizardControls",(function(){return ue.WizardControls}));var de=n(184);n.d(t,"Toggle",(function(){return de.Toggle}));var pe=n(770);n.d(t,"FileInput",(function(){return pe.FileInput}));var _e=n(774);n.d(t,"GaugeChart",(function(){return _e.GaugeChart}));var fe=n(781);n.d(t,"StatBox",(function(){return fe.StatBox})),n.d(t,"StatBoxGroup",(function(){return fe.StatBoxGroup}));var he=n(147);n.d(t,"Theme",(function(){return he.Theme})),n.d(t,"provideTheme",(function(){return he.provideTheme})),n.d(t,"themePalette",(function(){return he.themePalette}));var me=n(240);n.d(t,"AnimatedIcon",(function(){return me.AnimatedIcon}));var be=n(790);n.d(t,"ImageUpload",(function(){return be.ImageUpload})),n.d(t,"PlainImageUpload",(function(){return be.PlainImageUpload}));var ge=n(801);n.d(t,"TileSelector",(function(){return ge.TileSelector}));var ve=n(805);n.d(t,"TileSelectorGroup",(function(){return ve.TileSelectorGroup}));var ye=n(809);n.d(t,"Stepper",(function(){return ye.Stepper}))},function(e,t,n){"use strict";n.r(t);var r=n(2);n.d(t,"keycode",(function(){return r.default})),n.d(t,"KEYCODES",(function(){return r.KEYCODES})),n.d(t,"handleKeyboardClick",(function(){return r.handleKeyboardClick})),n.d(t,"KeyCode",(function(){return r.KeyCode}));var a=n(89);n.d(t,"useGlobalStyles",(function(){return a.default}));var o=n(98);n.d(t,"enableSmartFocusOutlines",(function(){return o.default}));var i=n(101);n.d(t,"overrideStudioModuleFontFamily",(function(){return i.default}));var s=n(107);n.d(t,"initialize",(function(){return s.default}));var l=n(126);n.d(t,"leftPad",(function(){return l.leftPad}));var c=n(131);n.d(t,"formatDuration",(function(){return c.formatDuration}));var u=n(134);n.d(t,"formatVideoViews",(function(){return u.formatVideoViews}))},function(e,t,n){"use strict";n.r(t),n.d(t,"KEYCODES",(function(){return u})),n.d(t,"default",(function(){return _})),n.d(t,"KeyCode",(function(){return f})),n.d(t,"handleKeyboardClick",(function(){return h}));var r=n(3),a=n.n(r),o=n(4),i=n.n(o),s=n(5),l=n.n(s),c=(n(6),n(54),n(64),n(65),n(66),n(74),n(81),n(83),n(88)),u={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,pause:19,capsLock:20,esc:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,0:48,1:49,2:50,3:51,4:52,5:53,6:54,7:55,8:56,9:57,colon:58,"@":64,a:65,b:66,c:67,d:68,e:69,f:70,g:71,h:72,i:73,j:74,k:75,l:76,m:77,n:78,o:79,p:80,q:81,r:82,s:83,t:84,u:85,v:86,w:87,x:88,y:89,z:90,leftWindow:91,rightWindow:92,select:93,numpad0:96,numpad1:97,numpad2:98,numpad3:99,numpad4:100,numpad5:101,numpad6:102,numpad7:103,numpad8:104,numpad9:105,multiply:106,add:107,subtract:109,decimal:110,divide:111,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123,numLock:144,scrollLock:145,semiColon:186,equalSign:187,comma:188,dash:189,period:190,forwardSlash:191,backtick:192,openBracket:219,backSlash:220,closeBraket:221,singleQuote:222},d={shift:/^shift\+(\w+)$/},p=function(){function e(t){var n=this;a()(this,e),l()(this,"handleClickIntent",(function(e){n.is("space enter")&&e(n.event)})),l()(this,"_matchDescription",(function(e){return d.shift.test(e)?n.isShift(d.shift.exec(e)[1]):n.code?n.code.toString()===e||n.name===e:void 0})),this.event=t,this.code=t.keyCode||t.which,this.name=this.getName(this.code)}return i()(e,[{key:"is",value:function(e){return(e=e.toString()).split(" ").some(this._matchDescription)}},{key:"on",value:function(e){var t=this,n=Object.keys(e).filter((function(e){return t.is(e)})),r=n.length>0?e[n[0]]:e.default;if(r&&"function"==typeof r)return r(this)}},{key:"isShift",value:function(e){return Boolean(this.event.shiftKey&&this.is(e))}},{key:"getName",value:function(e){return Object.keys(u).find((function(t){return u[t]===e}))}}]),e}();function _(e){return new p(e)}function f(e){return Object(c.default)("KeyCode is deprecated, use keycode instead"),new p(e)}function h(e){if(e&&"function"==typeof e)return function(t){return _(t).handleClickIntent(e)}}},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";var r=n(7),a=n(51);r({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},function(e,t,n){var r=n(8),a=n(10).f,o=n(24),i=n(27),s=n(28),l=n(38),c=n(50);e.exports=function(e,t){var n,u,d,p,_,f=e.target,h=e.global,m=e.stat;if(n=h?r:m?r[f]||s(f,{}):(r[f]||{}).prototype)for(u in t){if(p=t[u],d=e.noTargetGet?(_=a(n,u))&&_.value:n[u],!c(h?u:f+(m?".":"#")+u,e.forced)&&void 0!==d){if(typeof p==typeof d)continue;l(p,d)}(e.sham||d&&d.sham)&&o(p,"sham",!0),i(n,u,p,e)}}},function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,n(9))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(11),a=n(13),o=n(14),i=n(15),s=n(19),l=n(21),c=n(22),u=Object.getOwnPropertyDescriptor;t.f=r?u:function(e,t){if(e=i(e),t=s(t,!0),c)try{return u(e,t)}catch(e){}if(l(e,t))return o(!a.f.call(e,t),e[t])}},function(e,t,n){var r=n(12);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";var r={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,o=a&&!r.call({1:2},1);t.f=o?function(e){var t=a(this,e);return!!t&&t.enumerable}:r},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(16),a=n(18);e.exports=function(e){return r(a(e))}},function(e,t,n){var r=n(12),a=n(17),o="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?o.call(e,""):Object(e)}:Object},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(20);e.exports=function(e,t){if(!r(e))return e;var n,a;if(t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;if("function"==typeof(n=e.valueOf)&&!r(a=n.call(e)))return a;if(!t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(11),a=n(12),o=n(23);e.exports=!r&&!a((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(8),a=n(20),o=r.document,i=a(o)&&a(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(11),a=n(25),o=n(14);e.exports=r?function(e,t,n){return a.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(11),a=n(22),o=n(26),i=n(19),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(o(e),t=i(t,!0),o(n),a)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(20);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,n){var r=n(8),a=n(24),o=n(21),i=n(28),s=n(29),l=n(31),c=l.get,u=l.enforce,d=String(String).split("String");(e.exports=function(e,t,n,s){var l,c=!!s&&!!s.unsafe,p=!!s&&!!s.enumerable,_=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||o(n,"name")||a(n,"name",t),(l=u(n)).source||(l.source=d.join("string"==typeof t?t:""))),e!==r?(c?!_&&e[t]&&(p=!0):delete e[t],p?e[t]=n:a(e,t,n)):p?e[t]=n:i(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||s(this)}))},function(e,t,n){var r=n(8),a=n(24);e.exports=function(e,t){try{a(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(30),a=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return a.call(e)}),e.exports=r.inspectSource},function(e,t,n){var r=n(8),a=n(28),o="__core-js_shared__",i=r[o]||a(o,{});e.exports=i},function(e,t,n){var r,a,o,i=n(32),s=n(8),l=n(20),c=n(24),u=n(21),d=n(30),p=n(33),_=n(37),f=s.WeakMap;if(i){var h=d.state||(d.state=new f),m=h.get,b=h.has,g=h.set;r=function(e,t){return t.facade=e,g.call(h,e,t),t},a=function(e){return m.call(h,e)||{}},o=function(e){return b.call(h,e)}}else{var v=p("state");_[v]=!0,r=function(e,t){return t.facade=e,c(e,v,t),t},a=function(e){return u(e,v)?e[v]:{}},o=function(e){return u(e,v)}}e.exports={set:r,get:a,has:o,enforce:function(e){return o(e)?a(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=a(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t,n){var r=n(8),a=n(29),o=r.WeakMap;e.exports="function"==typeof o&&/native code/.test(a(o))},function(e,t,n){var r=n(34),a=n(36),o=r("keys");e.exports=function(e){return o[e]||(o[e]=a(e))}},function(e,t,n){var r=n(35),a=n(30);(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.9.1",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports=!1},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},function(e,t){e.exports={}},function(e,t,n){var r=n(21),a=n(39),o=n(10),i=n(25);e.exports=function(e,t){for(var n=a(t),s=i.f,l=o.f,c=0;c<n.length;c++){var u=n[c];r(e,u)||s(e,u,l(t,u))}}},function(e,t,n){var r=n(40),a=n(42),o=n(49),i=n(26);e.exports=r("Reflect","ownKeys")||function(e){var t=a.f(i(e)),n=o.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(41),a=n(8),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(a[e]):r[e]&&r[e][t]||a[e]&&a[e][t]}},function(e,t,n){var r=n(8);e.exports=r},function(e,t,n){var r=n(43),a=n(48).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,a)}},function(e,t,n){var r=n(21),a=n(15),o=n(44).indexOf,i=n(37);e.exports=function(e,t){var n,s=a(e),l=0,c=[];for(n in s)!r(i,n)&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~o(c,n)||c.push(n));return c}},function(e,t,n){var r=n(15),a=n(45),o=n(47),i=function(e){return function(t,n,i){var s,l=r(t),c=a(l.length),u=o(i,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},function(e,t,n){var r=n(46),a=Math.min;e.exports=function(e){return e>0?a(r(e),9007199254740991):0}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(46),a=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?a(n+t,0):o(n,t)}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(12),a=/#|\.prototype\./,o=function(e,t){var n=s[i(e)];return n==c||n!=l&&("function"==typeof t?r(t):!!t)},i=o.normalize=function(e){return String(e).replace(a,".").toLowerCase()},s=o.data={},l=o.NATIVE="N",c=o.POLYFILL="P";e.exports=o},function(e,t,n){"use strict";var r,a,o=n(52),i=n(53),s=RegExp.prototype.exec,l=String.prototype.replace,c=s,u=(r=/a/,a=/b*/g,s.call(r,"a"),s.call(a,"a"),0!==r.lastIndex||0!==a.lastIndex),d=i.UNSUPPORTED_Y||i.BROKEN_CARET,p=void 0!==/()??/.exec("")[1];(u||p||d)&&(c=function(e){var t,n,r,a,i=this,c=d&&i.sticky,_=o.call(i),f=i.source,h=0,m=e;return c&&(-1===(_=_.replace("y","")).indexOf("g")&&(_+="g"),m=String(e).slice(i.lastIndex),i.lastIndex>0&&(!i.multiline||i.multiline&&"\n"!==e[i.lastIndex-1])&&(f="(?: "+f+")",m=" "+m,h++),n=new RegExp("^(?:"+f+")",_)),p&&(n=new RegExp("^"+f+"$(?!\\s)",_)),u&&(t=i.lastIndex),r=s.call(c?n:i,m),c?r?(r.input=r.input.slice(h),r[0]=r[0].slice(h),r.index=i.lastIndex,i.lastIndex+=r[0].length):i.lastIndex=0:u&&r&&(i.lastIndex=i.global?r.index+r[0].length:t),p&&r&&r.length>1&&l.call(r[0],n,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(r[a]=void 0)})),r}),e.exports=c},function(e,t,n){"use strict";var r=n(26);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){"use strict";var r=n(12);function a(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=r((function(){var e=a("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=a("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},function(e,t,n){var r=n(55),a=n(27),o=n(62);r||a(Object.prototype,"toString",o,{unsafe:!0})},function(e,t,n){var r={};r[n(56)("toStringTag")]="z",e.exports="[object z]"===String(r)},function(e,t,n){var r=n(8),a=n(34),o=n(21),i=n(36),s=n(57),l=n(61),c=a("wks"),u=r.Symbol,d=l?u:u&&u.withoutSetter||i;e.exports=function(e){return o(c,e)&&(s||"string"==typeof c[e])||(s&&o(u,e)?c[e]=u[e]:c[e]=d("Symbol."+e)),c[e]}},function(e,t,n){var r=n(58),a=n(59),o=n(12);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){return!Symbol.sham&&(r?38===a:a>37&&a<41)}))},function(e,t,n){var r=n(17),a=n(8);e.exports="process"==r(a.process)},function(e,t,n){var r,a,o=n(8),i=n(60),s=o.process,l=s&&s.versions,c=l&&l.v8;c?a=(r=c.split("."))[0]+r[1]:i&&(!(r=i.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/))&&(a=r[1]),e.exports=a&&+a},function(e,t,n){var r=n(40);e.exports=r("navigator","userAgent")||""},function(e,t,n){var r=n(57);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){"use strict";var r=n(55),a=n(63);e.exports=r?{}.toString:function(){return"[object "+a(this)+"]"}},function(e,t,n){var r=n(55),a=n(17),o=n(56)("toStringTag"),i="Arguments"==a(function(){return arguments}());e.exports=r?a:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?a(t):"Object"==(r=a(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t,n){"use strict";var r=n(27),a=n(26),o=n(12),i=n(52),s="toString",l=RegExp.prototype,c=l.toString,u=o((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),d=c.name!=s;(u||d)&&r(RegExp.prototype,s,(function(){var e=a(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in l)?i.call(e):n)}),{unsafe:!0})},function(e,t,n){var r=n(11),a=n(25).f,o=Function.prototype,i=o.toString,s=/^\s*function ([^ (]*)/,l="name";r&&!(l in o)&&a(o,l,{configurable:!0,get:function(){try{return i.call(this).match(s)[1]}catch(e){return""}}})},function(e,t,n){"use strict";var r=n(67),a=n(68),o=n(26),i=n(18),s=n(69),l=n(71),c=n(45),u=n(73),d=n(51),p=n(12),_=[].push,f=Math.min,h=4294967295,m=!p((function(){return!RegExp(h,"y")}));r("split",2,(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(i(this)),o=void 0===n?h:n>>>0;if(0===o)return[];if(void 0===e)return[r];if(!a(e))return t.call(r,e,o);for(var s,l,c,u=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,m=new RegExp(e.source,p+"g");(s=d.call(m,r))&&!((l=m.lastIndex)>f&&(u.push(r.slice(f,s.index)),s.length>1&&s.index<r.length&&_.apply(u,s.slice(1)),c=s[0].length,f=l,u.length>=o));)m.lastIndex===s.index&&m.lastIndex++;return f===r.length?!c&&m.test("")||u.push(""):u.push(r.slice(f)),u.length>o?u.slice(0,o):u}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var a=i(this),o=null==t?void 0:t[e];return void 0!==o?o.call(t,a,n):r.call(String(a),t,n)},function(e,a){var i=n(r,e,this,a,r!==t);if(i.done)return i.value;var d=o(e),p=String(this),_=s(d,RegExp),b=d.unicode,g=(d.ignoreCase?"i":"")+(d.multiline?"m":"")+(d.unicode?"u":"")+(m?"y":"g"),v=new _(m?d:"^(?:"+d.source+")",g),y=void 0===a?h:a>>>0;if(0===y)return[];if(0===p.length)return null===u(v,p)?[p]:[];for(var S=0,x=0,T=[];x<p.length;){v.lastIndex=m?x:0;var A,I=u(v,m?p:p.slice(x));if(null===I||(A=f(c(v.lastIndex+(m?0:x)),p.length))===S)x=l(p,x,b);else{if(T.push(p.slice(S,x)),T.length===y)return T;for(var E=1;E<=I.length-1;E++)if(T.push(I[E]),T.length===y)return T;x=S=A}}return T.push(p.slice(S)),T}]}),!m)},function(e,t,n){"use strict";n(6);var r=n(27),a=n(12),o=n(56),i=n(51),s=n(24),l=o("species"),c=!a((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),u="$0"==="a".replace(/./,"$0"),d=o("replace"),p=!!/./[d]&&""===/./[d]("a","$0"),_=!a((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,d){var f=o(e),h=!a((function(){var t={};return t[f]=function(){return 7},7!=""[e](t)})),m=h&&!a((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[l]=function(){return n},n.flags="",n[f]=/./[f]),n.exec=function(){return t=!0,null},n[f](""),!t}));if(!h||!m||"replace"===e&&(!c||!u||p)||"split"===e&&!_){var b=/./[f],g=n(f,""[e],(function(e,t,n,r,a){return t.exec===i?h&&!a?{done:!0,value:b.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:u,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),v=g[0],y=g[1];r(String.prototype,e,v),r(RegExp.prototype,f,2==t?function(e,t){return y.call(e,this,t)}:function(e){return y.call(e,this)})}d&&s(RegExp.prototype[f],"sham",!0)}},function(e,t,n){var r=n(20),a=n(17),o=n(56)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==a(e))}},function(e,t,n){var r=n(26),a=n(70),o=n(56)("species");e.exports=function(e,t){var n,i=r(e).constructor;return void 0===i||null==(n=r(i)[o])?t:a(n)}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t,n){"use strict";var r=n(72).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e,t,n){var r=n(46),a=n(18),o=function(e){return function(t,n){var o,i,s=String(a(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===c||(i=s.charCodeAt(l+1))<56320||i>57343?e?s.charAt(l):o:e?s.slice(l,l+2):i-56320+(o-55296<<10)+65536}};e.exports={codeAt:o(!1),charAt:o(!0)}},function(e,t,n){var r=n(17),a=n(51);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var o=n.call(e,t);if("object"!=typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return a.call(e,t)}},function(e,t,n){"use strict";var r=n(7),a=n(75).filter;r({target:"Array",proto:!0,forced:!n(80)("filter")},{filter:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(76),a=n(16),o=n(77),i=n(45),s=n(78),l=[].push,c=function(e){var t=1==e,n=2==e,c=3==e,u=4==e,d=6==e,p=7==e,_=5==e||d;return function(f,h,m,b){for(var g,v,y=o(f),S=a(y),x=r(h,m,3),T=i(S.length),A=0,I=b||s,E=t?I(f,T):n||p?I(f,0):void 0;T>A;A++)if((_||A in S)&&(v=x(g=S[A],A,y),e))if(t)E[A]=v;else if(v)switch(e){case 3:return!0;case 5:return g;case 6:return A;case 2:l.call(E,g)}else switch(e){case 4:return!1;case 7:l.call(E,g)}return d?-1:c||u?u:E}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterOut:c(7)}},function(e,t,n){var r=n(70);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,a){return e.call(t,n,r,a)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(18);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(20),a=n(79),o=n(56)("species");e.exports=function(e,t){var n;return a(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!a(n.prototype)?r(n)&&null===(n=n[o])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},function(e,t,n){var r=n(17);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(12),a=n(56),o=n(59),i=a("species");e.exports=function(e){return o>=51||!r((function(){var t=[];return(t.constructor={})[i]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t,n){var r=n(7),a=n(77),o=n(82);r({target:"Object",stat:!0,forced:n(12)((function(){o(1)}))},{keys:function(e){return o(a(e))}})},function(e,t,n){var r=n(43),a=n(48);e.exports=Object.keys||function(e){return r(e,a)}},function(e,t,n){"use strict";var r=n(7),a=n(75).find,o=n(84),i="find",s=!0;i in[]&&Array(1).find((function(){s=!1})),r({target:"Array",proto:!0,forced:s},{find:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),o(i)},function(e,t,n){var r=n(56),a=n(85),o=n(25),i=r("unscopables"),s=Array.prototype;null==s[i]&&o.f(s,i,{configurable:!0,value:a(null)}),e.exports=function(e){s[i][e]=!0}},function(e,t,n){var r,a=n(26),o=n(86),i=n(48),s=n(37),l=n(87),c=n(23),u=n(33),d=u("IE_PROTO"),p=function(){},_=function(e){return"<script>"+e+"<\/script>"},f=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;f=r?function(e){e.write(_("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):((t=c("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(_("document.F=Object")),e.close(),e.F);for(var n=i.length;n--;)delete f.prototype[i[n]];return f()};s[d]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(p.prototype=a(e),n=new p,p.prototype=null,n[d]=e):n=f(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(11),a=n(25),o=n(26),i=n(82);e.exports=r?Object.defineProperties:function(e,t){o(e);for(var n,r=i(t),s=r.length,l=0;s>l;)a.f(e,n=r[l++],t[n]);return e}},function(e,t,n){var r=n(40);e.exports=r("document","documentElement")},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return a}));var r={};function a(e){r[e]||(r[e]=!0,console.warn("".concat("[studio-components] ").concat(e)))}},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"classic";n(90)("./".concat(e,"/globals.sass"))}n.r(t),n.d(t,"default",(function(){return r}))},function(e,t,n){var r={"./blueSteel/globals.sass":91,"./classic/globals.sass":96};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=90},function(e,t,n){var r=n(92);"string"==typeof r&&(r=[[e.i,r,""]]);var a={insertAt:"top",hmr:!0,transform:void 0,insertInto:void 0};n(94)(r,a),r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(93)()).push([e.i,"@import url(https://fonts.googleapis.com/css?family=Lato:400,700);",""]),t.push([e.i,"@import url(https://fonts.googleapis.com/css?family=Public+Sans:400,700,800);",""]),t.push([e.i,"*,:after,:before{box-sizing:border-box}*{outline-color:#092dbd}html{-moz-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Public Sans,sans-serif}body,html{margin:0;padding:0}html{font-size:16px}",""])},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},a=0;a<this.length;a++){var o=this[a][0];"number"==typeof o&&(r[o]=!0)}for(a=0;a<t.length;a++){var i=t[a];"number"==typeof i[0]&&r[i[0]]||(n&&!i[2]?i[2]=n:n&&(i[2]="("+i[2]+") and ("+n+")"),e.push(i))}},e}},function(e,t,n){var r,a,o={},i=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===a&&(a=r.apply(this,arguments)),a}),s=function(e){return document.querySelector(e)},l=function(e){var t={};return function(e){if("function"==typeof e)return e();if(void 0===t[e]){var n=s.call(this,e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}}(),c=null,u=0,d=[],p=n(95);function _(e,t){for(var n=0;n<e.length;n++){var r=e[n],a=o[r.id];if(a){a.refs++;for(var i=0;i<a.parts.length;i++)a.parts[i](r.parts[i]);for(;i<r.parts.length;i++)a.parts.push(v(r.parts[i],t))}else{var s=[];for(i=0;i<r.parts.length;i++)s.push(v(r.parts[i],t));o[r.id]={id:r.id,refs:1,parts:s}}}}function f(e,t){for(var n=[],r={},a=0;a<e.length;a++){var o=e[a],i=t.base?o[0]+t.base:o[0],s={css:o[1],media:o[2],sourceMap:o[3]};r[i]?r[i].parts.push(s):n.push(r[i]={id:i,parts:[s]})}return n}function h(e,t){var n=l(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=d[d.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),d.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var a=l(e.insertInto+" "+e.insertAt.before);n.insertBefore(t,a)}}function m(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=d.indexOf(e);t>=0&&d.splice(t,1)}function b(e){var t=document.createElement("style");return void 0===e.attrs.type&&(e.attrs.type="text/css"),g(t,e.attrs),h(e,t),t}function g(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function v(e,t){var n,r,a,o;if(t.transform&&e.css){if(!(o=t.transform(e.css)))return function(){};e.css=o}if(t.singleton){var i=u++;n=c||(c=b(t)),r=x.bind(null,n,i,!1),a=x.bind(null,n,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",g(t,e.attrs),h(e,t),t}(t),r=A.bind(null,n,t),a=function(){m(n),n.href&&URL.revokeObjectURL(n.href)}):(n=b(t),r=T.bind(null,n),a=function(){m(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else a()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=i()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=f(e,t);return _(n,t),function(e){for(var r=[],a=0;a<n.length;a++){var i=n[a];(s=o[i.id]).refs--,r.push(s)}for(e&&_(f(e,t),t),a=0;a<r.length;a++){var s;if(0===(s=r[a]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete o[s.id]}}}};var y,S=(y=[],function(e,t){return y[e]=t,y.filter(Boolean).join("\n")});function x(e,t,n,r){var a=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=S(t,a);else{var o=document.createTextNode(a),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(o,i[t]):e.appendChild(o)}}function T(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function A(e,t,n){var r=n.css,a=n.sourceMap,o=void 0===t.convertToAbsoluteUrls&&a;(t.convertToAbsoluteUrls||o)&&(r=p(r)),a&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */");var i=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(i),s&&URL.revokeObjectURL(s)}},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var a,o=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(o)?e:(a=0===o.indexOf("//")?o:0===o.indexOf("/")?n+o:r+o.replace(/^\.\//,""),"url("+JSON.stringify(a)+")")}))}},function(e,t,n){var r=n(97);"string"==typeof r&&(r=[[e.i,r,""]]);var a={insertAt:"top",hmr:!0,transform:void 0,insertInto:void 0};n(94)(r,a),r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(93)()).push([e.i,"@import url(https://fonts.googleapis.com/css?family=Lato:400,700);",""]),t.push([e.i,"*,:after,:before{box-sizing:border-box}*{outline-color:#08b0cc}html{-moz-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Lato,Helvetica,Arial,sans-serif}body,html{margin:0;padding:0}html{font-size:15px}",""])},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return a}));var r=n(2);function a(){n(99),document.addEventListener("keydown",(function(e){Object(r.default)(e).is("tab")&&document.body.classList.remove("hide-focus-outlines")})),document.addEventListener("mousedown",(function(){document.body.classList.add("hide-focus-outlines")}))}},function(e,t,n){var r=n(100);"string"==typeof r&&(r=[[e.i,r,""]]);var a={insertAt:"top",hmr:!0,transform:void 0,insertInto:void 0};n(94)(r,a),r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(93)()).push([e.i,"body.hide-focus-outlines a:focus,body.hide-focus-outlines button:focus,body.hide-focus-outlines input:focus,body.hide-focus-outlines select:focus,body.hide-focus-outlines textarea:focus{outline:none}body.hide-focus-outlines [tabindex]:focus{outline:none!important}",""])},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"classic";n(102)("./".concat(e,"/studioFontFamilyOverrides.sass"))}n.r(t),n.d(t,"default",(function(){return r}))},function(e,t,n){var r={"./blueSteel/studioFontFamilyOverrides.sass":103,"./classic/studioFontFamilyOverrides.sass":105};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=102},function(e,t,n){var r=n(104);"string"==typeof r&&(r=[[e.i,r,""]]);var a={insertAt:"top",hmr:!0,transform:void 0,insertInto:void 0};n(94)(r,a),r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(93)()).push([e.i,"@import url(https://fonts.googleapis.com/css?family=Lato:400,700);",""]),t.push([e.i,"body,button,h1,h2,h3,h4,input,select,textarea{font-family:Public Sans,sans-serif}.studioFontFamilyOverrides-regular-4_7_0-5xwiv,.studioFontFamilyOverrides-semibold-4_7_0-2P82N,.studioFontFamilyOverrides-thin-4_7_0-28Mhi{font-family:inherit}",""]),t.locals={semibold:"studioFontFamilyOverrides-semibold-4_7_0-2P82N",regular:"studioFontFamilyOverrides-regular-4_7_0-5xwiv",thin:"studioFontFamilyOverrides-thin-4_7_0-28Mhi"}},function(e,t,n){var r=n(106);"string"==typeof r&&(r=[[e.i,r,""]]);var a={insertAt:"top",hmr:!0,transform:void 0,insertInto:void 0};n(94)(r,a),r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(93)()).push([e.i,"@import url(https://fonts.googleapis.com/css?family=Lato:400,700);",""]),t.push([e.i,"body,button,h1,h2,h3,h4,input,select,textarea{font-family:Lato,Helvetica,Arial,sans-serif}.studioFontFamilyOverrides-regular-4_7_0-2owzJ,.studioFontFamilyOverrides-semibold-4_7_0-1Boye,.studioFontFamilyOverrides-thin-4_7_0-3xO2G{font-family:inherit}",""]),t.locals={semibold:"studioFontFamilyOverrides-semibold-4_7_0-1Boye",regular:"studioFontFamilyOverrides-regular-4_7_0-2owzJ",thin:"studioFontFamilyOverrides-thin-4_7_0-3xO2G"}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return s}));var r=n(89),a=n(98),o=n(101),i=n(108);function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{theme:"blueSteel"};Object(r.default)(e.theme),Object(a.default)(e.theme),Object(o.default)(e.theme),e.theme&&Object(i.setTheme)(e.theme)}},function(e,t,n){"use strict";n.r(t),n.d(t,"setTheme",(function(){return d})),n.d(t,"default",(function(){return p}));var r=n(109),a=n.n(r),o=(n(110),n(111),n(65),n(114)),i=n.n(o),s=n(115),l=n(117),c=n(118),u="classic",d=function(e){c.THEMES.includes(e)?u=e:console.warn("The theme name passed is not recognized, using default theme instead.")};function p(){return function(e){function t(t,n){return Object(s.hasCreateContext)()?i.a.createElement(l.default.Consumer,null,(function(r){return i.a.createElement(e,a()({theme:r||u,ref:n},t))})):i.a.createElement(e,a()({ref:n,theme:"classic"},t))}var n=e.displayName||e.name;return t.displayName="provideTheme(".concat(n,")"),i.a.forwardRef(t)}}},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,n.apply(this,arguments)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";var r=n(7),a=n(44).includes,o=n(84);r({target:"Array",proto:!0},{includes:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),o("includes")},function(e,t,n){"use strict";var r=n(7),a=n(112),o=n(18);r({target:"String",proto:!0,forced:!n(113)("includes")},{includes:function(e){return!!~String(o(this)).indexOf(a(e),arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(68);e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},function(e,t,n){var r=n(56)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},function(e,t){e.exports=__WEBPACK_EXTERNAL_MODULE__114__},function(e,t,n){"use strict";n.r(t),n.d(t,"isReact14",(function(){return o})),n.d(t,"warnReact14",(function(){return i})),n.d(t,"hasCreateContext",(function(){return s})),n(116);var r=n(114),a=n.n(r);function o(){return a.a.version.startsWith("0.14")}function i(e){o()&&console.warn(e)}function s(){return null!=a.a.createContext}},function(e,t,n){"use strict";var r,a=n(7),o=n(10).f,i=n(45),s=n(112),l=n(18),c=n(113),u=n(35),d="".startsWith,p=Math.min,_=c("startsWith");a({target:"String",proto:!0,forced:!(!u&&!_&&(r=o(String.prototype,"startsWith"),r&&!r.writable)||_)},{startsWith:function(e){var t=String(l(this));s(e);var n=i(p(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return d?d.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){"use strict";n.r(t);var r=n(114),a=n.n(r),o=n(115);t.default=Object(o.hasCreateContext)()?a.a.createContext(null):null},function(e,t,n){"use strict";n.r(t),n.d(t,"THEMES",(function(){return c})),n.d(t,"default",(function(){return u})),n(65);var r=n(114),a=n.n(r),o=n(119),i=n.n(o),s=n(115),l=n(117),c=["classic","blueSteel"];function u(e){var t=e.children,n=e.name;return Object(s.hasCreateContext)()?a.a.createElement(l.default.Provider,{value:n},t):t}u.propTypes={children:i.a.node,name:i.a.oneOf(c)},u.defaultProps={name:"classic"}},function(e,t,n){var r=n(120);e.exports=n(122)(r.isElement,!0)},function(e,t,n){"use strict";e.exports=n(121)},function(e,t,n){"use strict";
|
|
4
4
|
/** @license React v16.13.1
|
|
5
5
|
* react-is.development.js
|
|
6
6
|
*
|
|
@@ -63,9 +63,9 @@ var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Arr
|
|
|
63
63
|
Copyright (c) 2018 Jed Watson.
|
|
64
64
|
Licensed under the MIT License (MIT), see
|
|
65
65
|
http://jedwatson.github.io/classnames
|
|
66
|
-
*/!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var i=a.apply(null,n);i&&e.push(i)}}else if("object"===o)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(n=function(){return a}.apply(t,[]))||(e.exports=n)}()},6017:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(7537),a=n.n(r),o=n(3645),i=n.n(o)()(a());i.push([e.id,".EmbedCode__hint--Fh40S{padding-top:2px}.EmbedCode__input--ZO6KQ{margin:0 !important;padding-bottom:4px !important}.EmbedCode__textArea--KNDhC{color:#aaa !important;background-color:#ddd !important;border:none !important;resize:none}.EmbedCode__copyInput--tkc7M{margin:0 !important;padding-bottom:4px !important}.EmbedCode__copyInput--tkc7M .EmbedCode__textAreaDimensions--N_Vil{height:210px;width:390px}.EmbedCode__disableCopyEvent--EPl_3{pointer-events:none}.EmbedCode__disableCopyEvent--EPl_3 svg{display:none}.EmbedCode__redHelperText--B79vm{color:#d53c00;font-size:14px}.EmbedCode__helperText--gWEii{color:#999;font-size:14px}a.EmbedCode__copyLink--9tc06{text-decoration:none;cursor:pointer;padding-left:4px}.EmbedCode__hint--Fh40S{padding-top:2px}.EmbedCode__input--ZO6KQ{margin:0 !important;padding-bottom:4px !important}.EmbedCode__textArea--KNDhC{color:#8e9093 !important;background-color:#f2f2f3 !important;border:none !important;resize:none}.EmbedCode__copyInput--tkc7M{margin:0 !important;padding-bottom:4px !important}.EmbedCode__copyInput--tkc7M .EmbedCode__textAreaDimensions--N_Vil{height:210px;width:390px}.EmbedCode__disableCopyEvent--EPl_3{pointer-events:none}.EmbedCode__disableCopyEvent--EPl_3 svg{display:none}.EmbedCode__redHelperText--B79vm{color:#d33d00;font-size:14px}.EmbedCode__helperText--gWEii{color:#4d5056;font-size:14px}a.EmbedCode__copyLink--9tc06{text-decoration:none;font-weight:700;cursor:pointer;padding-left:4px}","",{version:3,sources:["webpack://./src/styles/EmbedCode.sass"],names:[],mappings:"AAIE,wBACE,eAAA,CACF,yBACE,mBAAA,CACA,6BAAA,CACF,4BACE,qBAAA,CACA,gCAAA,CACA,sBAAA,CACA,WAAA,CACF,6BACE,mBAAA,CACA,6BAAA,CACA,mEACE,YAAA,CACA,WAAA,CACJ,oCACE,mBAAA,CACA,wCACE,YAAA,CACJ,iCACE,aAAA,CACA,cAAA,CACF,8BACE,UAAA,CACA,cAAA,CACF,6BACE,oBAAA,CAEA,cAAA,CACA,gBAAA,CA9BF,wBACE,eAAA,CACF,yBACE,mBAAA,CACA,6BAAA,CACF,4BACE,wBAAA,CACA,mCAAA,CACA,sBAAA,CACA,WAAA,CACF,6BACE,mBAAA,CACA,6BAAA,CACA,mEACE,YAAA,CACA,WAAA,CACJ,oCACE,mBAAA,CACA,wCACE,YAAA,CACJ,iCACE,aAAA,CACA,cAAA,CACF,8BACE,aAAA,CACA,cAAA,CACF,6BACE,oBAAA,CACA,eAAA,CACA,cAAA,CACA,gBAAA",sourcesContent:["@import './base.sass'\n\n@include themed() using ($theme)\n // Override studio-components styles\n .hint\n padding-top: 2px\n .input\n margin: 0 !important\n padding-bottom: 4px !important\n .textArea\n color: theme($theme, gray-35) !important\n background-color: theme($theme, gray-20) !important\n border: none !important\n resize: none\n .copyInput\n margin: 0 !important\n padding-bottom: 4px !important\n .textAreaDimensions\n height: 210px\n width: 390px\n .disableCopyEvent\n pointer-events: none\n svg\n display: none\n .redHelperText\n color: theme($theme, red)\n font-size: 14px\n .helperText\n color: theme($theme, gray-40)\n font-size: 14px\n a.copyLink\n text-decoration: none\n font-weight: theme($theme, body-small-weight-bold)\n cursor: pointer\n padding-left: 4px\n"],sourceRoot:""}]),i.locals={hint:"EmbedCode__hint--Fh40S",input:"EmbedCode__input--ZO6KQ",textArea:"EmbedCode__textArea--KNDhC",copyInput:"EmbedCode__copyInput--tkc7M",textAreaDimensions:"EmbedCode__textAreaDimensions--N_Vil",disableCopyEvent:"EmbedCode__disableCopyEvent--EPl_3",redHelperText:"EmbedCode__redHelperText--B79vm",helperText:"EmbedCode__helperText--gWEii",copyLink:"EmbedCode__copyLink--9tc06"};const s=i},7094:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(7537),a=n.n(r),o=n(3645),i=n.n(o)()(a());i.push([e.id,'.EmbedCodeModal__videoDetailsContainer--WP99B{margin-bottom:27px}.EmbedCodeModal__mediaData--f0wqn{padding:10px 24px}.EmbedCodeModal__mediaTitle--apmXI{color:#444}.EmbedCodeModal__text--ayO8f,.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__mediaId--GymNT,.EmbedCodeModal__mediaId--GymNT{color:#999;font-size:.875rem;font-weight:400}.EmbedCodeModal__mediaId--GymNT{margin-bottom:10px}.EmbedCodeModal__tooltip--vxe8W{margin-left:8px}.EmbedCodeModal__thumbnail--s0ksv{width:154px !important;height:87px !important}.EmbedCodeModal__previewButton--CFh55{align-self:center}div[data-test-name=copy-toaster]{top:52% !important}.EmbedCodeModal__videoDetailsContainerNew--WpRV3{margin-bottom:27px}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__leftContent--BIBZB{width:540px;margin-right:43px}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__rightContent--BDlYZ{flex-grow:1}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__mediaData--f0wqn{margin-top:23px;padding:0}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__mediaTitle--apmXI{color:#444}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__text--ayO8f,.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__mediaId--GymNT{color:#999;font-size:.875rem;font-weight:400}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__playerSelectLabel--w3Ig6{font-family:Lato,Helvetica,Arial,sans-serif;font-size:.933rem;font-weight:700;line-height:24px;letter-spacing:normal;color:#666;padding:0 0 .4rem}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__playerSelect--rvojt{width:100%}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__getURLBtnContainer--MIRx8{display:inline-flex}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__getURLBtnSpinner--VxbOG{left:-5px;position:relative;margin-right:8px}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__mediaId--GymNT{margin-bottom:25px}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__tooltip--vxe8W{margin-left:8px}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__customPluginNotice--VQKaP{font-size:14px}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__playerLoader--IgdsR{margin-bottom:8px}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__playerLoader--IgdsR video-js{width:539px !important;height:303.2px !important}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__previewButton--CFh55{align-self:center}div[data-test-name=copy-toaster-new]{top:53% !important;left:53% !important}@media only screen and (min-width: 1200px){div[data-test-name=copy-toaster-new]{left:45% !important}}@media only screen and (min-width: 1400px){div[data-test-name=copy-toaster-new]{left:38% !important}}@media only screen and (min-width: 1600px){div[data-test-name=copy-toaster-new]{left:33% !important}}@media only screen and (min-width: 1850px){div[data-test-name=copy-toaster-new]{left:30% !important}}@media only screen and (min-width: 2000px){div[data-test-name=copy-toaster-new]{left:28% !important}}@media only screen and (min-width: 2150px){div[data-test-name=copy-toaster-new]{left:26% !important}}@media only screen and (min-width: 2300px){div[data-test-name=copy-toaster-new]{left:24% !important}}.EmbedCodeModal__videoDetailsContainer--WP99B{margin-bottom:27px}.EmbedCodeModal__mediaData--f0wqn{padding:10px 24px}.EmbedCodeModal__mediaTitle--apmXI{color:#01050e;font-size:1rem;font-weight:700;line-height:24px}.EmbedCodeModal__text--ayO8f,.EmbedCodeModal__mediaId--GymNT,.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__mediaId--GymNT{color:#4d5056;font-size:.875rem;font-weight:normal}.EmbedCodeModal__mediaId--GymNT{margin-bottom:10px}.EmbedCodeModal__tooltip--vxe8W{margin-left:8px}.EmbedCodeModal__thumbnail--s0ksv{width:154px !important;height:87px !important}.EmbedCodeModal__previewButton--CFh55{align-self:center}div[data-test-name=copy-toaster]{top:52% !important}.EmbedCodeModal__videoDetailsContainerNew--WpRV3{margin-bottom:27px}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__leftContent--BIBZB{width:540px;margin-right:43px}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__rightContent--BDlYZ{flex-grow:1}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__mediaData--f0wqn{margin-top:23px;padding:0}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__mediaTitle--apmXI{color:#01050e;font-size:1.333rem;font-weight:800;line-height:28px}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__text--ayO8f,.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__mediaId--GymNT{color:#4d5056;font-size:.875rem;font-weight:normal}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__playerSelectLabel--w3Ig6{font-family:"Public Sans",sans-serif;font-size:.875rem;font-weight:700;line-height:20px;letter-spacing:auto;color:#01050e;padding:0 0 .4rem}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__playerSelect--rvojt{width:100%}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__getURLBtnContainer--MIRx8{display:inline-flex}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__getURLBtnSpinner--VxbOG{left:-5px;position:relative;margin-right:8px}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__mediaId--GymNT{margin-bottom:25px}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__tooltip--vxe8W{margin-left:8px}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__customPluginNotice--VQKaP{font-size:14px}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__playerLoader--IgdsR{margin-bottom:8px}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__playerLoader--IgdsR video-js{width:539px !important;height:303.2px !important}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__previewButton--CFh55{align-self:center}div[data-test-name=copy-toaster-new]{top:53% !important;left:53% !important}@media only screen and (min-width: 1200px){div[data-test-name=copy-toaster-new]{left:45% !important}}@media only screen and (min-width: 1400px){div[data-test-name=copy-toaster-new]{left:38% !important}}@media only screen and (min-width: 1600px){div[data-test-name=copy-toaster-new]{left:33% !important}}@media only screen and (min-width: 1850px){div[data-test-name=copy-toaster-new]{left:30% !important}}@media only screen and (min-width: 2000px){div[data-test-name=copy-toaster-new]{left:28% !important}}@media only screen and (min-width: 2150px){div[data-test-name=copy-toaster-new]{left:26% !important}}@media only screen and (min-width: 2300px){div[data-test-name=copy-toaster-new]{left:24% !important}}',"",{version:3,sources:["webpack://./src/styles/EmbedCodeModal.sass"],names:[],mappings:"AAGE,8CACE,kBAAA,CACF,kCACE,iBAAA,CACF,mCACE,UAAA,CAIF,8IACE,UAAA,CACA,iBAAA,CACA,eAAA,CACF,gCAEE,kBAAA,CACF,gCACE,eAAA,CACF,kCACE,sBAAA,CACA,sBAAA,CACF,sCACE,iBAAA,CACF,iCACE,kBAAA,CAIF,iDACE,kBAAA,CACA,qFACE,WAAA,CACA,iBAAA,CACF,sFACE,WAAA,CACF,mFACE,eAAA,CACA,SAAA,CACF,oFACE,UAAA,CAIF,+JACE,UAAA,CACA,iBAAA,CACA,eAAA,CACF,2FACE,2CAAA,CACA,iBAAA,CACA,eAAA,CACA,gBAAA,CACA,qBAAA,CACA,UAAA,CACA,iBAAA,CACF,sFACE,UAAA,CACF,4FACE,mBAAA,CACF,0FACE,SAAA,CACA,iBAAA,CACA,gBAAA,CACF,iFAEE,kBAAA,CACF,iFACE,eAAA,CACF,4FACE,cAAA,CACF,sFAII,iBAAA,CAHA,+FACE,sBAAA,CACA,yBAAA,CAEN,uFACE,iBAAA,CACJ,qCACE,kBAAA,CACA,mBAAA,CACF,2CACE,qCACE,mBAAA,CAAA,CACJ,2CACE,qCACE,mBAAA,CAAA,CACJ,2CACE,qCACE,mBAAA,CAAA,CACJ,2CACE,qCACE,mBAAA,CAAA,CACJ,2CACE,qCACE,mBAAA,CAAA,CACJ,2CACE,qCACE,mBAAA,CAAA,CACJ,2CACE,qCACE,mBAAA,CAAA,CApGJ,8CACE,kBAAA,CACF,kCACE,iBAAA,CACF,mCACE,aAAA,CACA,cAAA,CACA,eAAA,CACA,gBAAA,CACF,8IACE,aAAA,CACA,iBAAA,CACA,kBAAA,CACF,gCAEE,kBAAA,CACF,gCACE,eAAA,CACF,kCACE,sBAAA,CACA,sBAAA,CACF,sCACE,iBAAA,CACF,iCACE,kBAAA,CAIF,iDACE,kBAAA,CACA,qFACE,WAAA,CACA,iBAAA,CACF,sFACE,WAAA,CACF,mFACE,eAAA,CACA,SAAA,CACF,oFACE,aAAA,CACA,kBAAA,CACA,eAAA,CACA,gBAAA,CACF,+JACE,aAAA,CACA,iBAAA,CACA,kBAAA,CACF,2FACE,oCAAA,CACA,iBAAA,CACA,eAAA,CACA,gBAAA,CACA,mBAAA,CACA,aAAA,CACA,iBAAA,CACF,sFACE,UAAA,CACF,4FACE,mBAAA,CACF,0FACE,SAAA,CACA,iBAAA,CACA,gBAAA,CACF,iFAEE,kBAAA,CACF,iFACE,eAAA,CACF,4FACE,cAAA,CACF,sFAII,iBAAA,CAHA,+FACE,sBAAA,CACA,yBAAA,CAEN,uFACE,iBAAA,CACJ,qCACE,kBAAA,CACA,mBAAA,CACF,2CACE,qCACE,mBAAA,CAAA,CACJ,2CACE,qCACE,mBAAA,CAAA,CACJ,2CACE,qCACE,mBAAA,CAAA,CACJ,2CACE,qCACE,mBAAA,CAAA,CACJ,2CACE,qCACE,mBAAA,CAAA,CACJ,2CACE,qCACE,mBAAA,CAAA,CACJ,2CACE,qCACE,mBAAA,CAAA",sourcesContent:['@import \'./base.sass\'\n\n@include themed() using ($theme)\n .videoDetailsContainer\n margin-bottom: 27px\n .mediaData\n padding: 10px theme($theme, gutter-width)\n .mediaTitle\n color: theme($theme, text-primary-dark)\n font-size: theme($theme, heading-xxs-size)\n font-weight: theme($theme, heading-xxs-weight)\n line-height: theme($theme, heading-xxs-line-height)\n .text\n color: theme($theme, gray-40)\n font-size: theme($theme, body-small-text-size)\n font-weight: theme($theme, body-small-weight-normal)\n .mediaId\n @extend .text\n margin-bottom: 10px\n .tooltip\n margin-left: theme($theme, padding-sm)\n .thumbnail\n width: 154px !important\n height: 87px !important\n .previewButton\n align-self: center\n div[data-test-name="copy-toaster"]\n top: 52% !important\n\n // Styling for new design.\n // TODO: Delete previous styles and remove \'new\' from naming when old design gets removed\n .videoDetailsContainerNew\n margin-bottom: 27px\n .leftContent\n width: 540px\n margin-right: 43px\n .rightContent\n flex-grow: 1\n .mediaData\n margin-top: 23px\n padding: 0\n .mediaTitle\n color: theme($theme, text-primary-dark)\n font-size: theme($theme, heading-xs-size)\n font-weight: theme($theme, heading-weight)\n line-height: theme($theme, heading-xs-line-height)\n .text\n color: theme($theme, gray-40)\n font-size: theme($theme, body-small-text-size)\n font-weight: theme($theme, body-small-weight-normal)\n .playerSelectLabel\n font-family: theme($theme, label-font)\n font-size: theme($theme, label-font-size)\n font-weight: theme($theme, label-font-weight)\n line-height: theme($theme, label-line-height)\n letter-spacing: theme($theme, label-letter-spacing)\n color: theme($theme, label-color)\n padding: 0 0 .4rem\n .playerSelect\n width: 100%\n .getURLBtnContainer\n display: inline-flex\n .getURLBtnSpinner\n left: -5px\n position: relative\n margin-right: 8px\n .mediaId\n @extend .text\n margin-bottom: 25px\n .tooltip\n margin-left: theme($theme, padding-sm)\n .customPluginNotice\n font-size: 14px\n .playerLoader\n video-js\n width: 539px !important\n height: 303.2px !important\n margin-bottom: theme($theme, padding-sm)\n .previewButton\n align-self: center\n div[data-test-name="copy-toaster-new"]\n top: 53% !important\n left: 53% !important\n @media only screen and (min-width: 1200px)\n div[data-test-name="copy-toaster-new"]\n left: 45% !important\n @media only screen and (min-width: 1400px)\n div[data-test-name="copy-toaster-new"]\n left: 38% !important\n @media only screen and (min-width: 1600px)\n div[data-test-name="copy-toaster-new"]\n left: 33% !important\n @media only screen and (min-width: 1850px)\n div[data-test-name="copy-toaster-new"]\n left: 30% !important\n @media only screen and (min-width: 2000px)\n div[data-test-name="copy-toaster-new"]\n left: 28% !important\n @media only screen and (min-width: 2150px)\n div[data-test-name="copy-toaster-new"]\n left: 26% !important\n @media only screen and (min-width: 2300px)\n div[data-test-name="copy-toaster-new"]\n left: 24% !important\n'],sourceRoot:""}]),i.locals={videoDetailsContainer:"EmbedCodeModal__videoDetailsContainer--WP99B",mediaData:"EmbedCodeModal__mediaData--f0wqn",mediaTitle:"EmbedCodeModal__mediaTitle--apmXI",text:"EmbedCodeModal__text--ayO8f",videoDetailsContainerNew:"EmbedCodeModal__videoDetailsContainerNew--WpRV3",mediaId:"EmbedCodeModal__mediaId--GymNT",tooltip:"EmbedCodeModal__tooltip--vxe8W",thumbnail:"EmbedCodeModal__thumbnail--s0ksv",previewButton:"EmbedCodeModal__previewButton--CFh55",leftContent:"EmbedCodeModal__leftContent--BIBZB",rightContent:"EmbedCodeModal__rightContent--BDlYZ",playerSelectLabel:"EmbedCodeModal__playerSelectLabel--w3Ig6",playerSelect:"EmbedCodeModal__playerSelect--rvojt",getURLBtnContainer:"EmbedCodeModal__getURLBtnContainer--MIRx8",getURLBtnSpinner:"EmbedCodeModal__getURLBtnSpinner--VxbOG",customPluginNotice:"EmbedCodeModal__customPluginNotice--VQKaP",playerLoader:"EmbedCodeModal__playerLoader--IgdsR"};const s=i},3645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,a,o){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(i[l]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);r&&i[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),a&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=a):u[4]="".concat(a)),t.push(u))}},t}},7537:e=>{"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),o="/*# ".concat(a," */"),i=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[t].concat(i).concat([o]).join("\n")}return[t].join("\n")}},9144:(e,t,n)=>{var r,a=void 0!==n.g?n.g:"undefined"!=typeof window?window:{},o=n(5893);"undefined"!=typeof document?r=document:(r=a["__GLOBAL_DOCUMENT_CACHE@4"])||(r=a["__GLOBAL_DOCUMENT_CACHE@4"]=o),e.exports=r},8908:(e,t,n)=>{var r;r="undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{},e.exports=r},6073:(e,t,n)=>{"use strict";var r=n(8),a=n(4575),o=n(3913),i=n(1506),s=n(2205),l=n(8585),c=n(9754),u=n(9713),d=n(8551);function p(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _=p(r),f=p(a),h=p(o),m=p(i),b=p(s),g=p(l),v=p(c),y=p(u),S=p(d);function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(Object(n),!0).forEach((function(t){y.default(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var A={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},I=new(function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};f.default(this,e),this.init(t,n)}return h.default(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||A,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]="".concat(n).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}},{key:"create",value:function(t){return new e(this.logger,T(T({},{prefix:"".concat(this.prefix,":").concat(t,":")}),this.options))}}]),e}()),E=function(){function e(){f.default(this,e),this.observers={}}return h.default(e,[{key:"on",value:function(e,t){var n=this;return e.split(" ").forEach((function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)})),this}},{key:"off",value:function(e,t){this.observers[e]&&(t?this.observers[e]=this.observers[e].filter((function(e){return e!==t})):delete this.observers[e])}},{key:"emit",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(this.observers[e]){var a=[].concat(this.observers[e]);a.forEach((function(e){e.apply(void 0,n)}))}if(this.observers["*"]){var o=[].concat(this.observers["*"]);o.forEach((function(t){t.apply(t,[e].concat(n))}))}}}]),e}();function w(){var e,t,n=new Promise((function(n,r){e=n,t=r}));return n.resolve=e,n.reject=t,n}function k(e){return null==e?"":""+e}function C(e,t,n){e.forEach((function(e){t[e]&&(n[e]=t[e])}))}function P(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function a(){return!e||"string"==typeof e}for(var o="string"!=typeof t?[].concat(t):t.split(".");o.length>1;){if(a())return{};var i=r(o.shift());!e[i]&&n&&(e[i]=new n),e=Object.prototype.hasOwnProperty.call(e,i)?e[i]:{}}return a()?{}:{obj:e,k:r(o.shift())}}function O(e,t,n){var r=P(e,t,Object);r.obj[r.k]=n}function M(e,t){var n=P(e,t),r=n.obj,a=n.k;if(r)return r[a]}function R(e,t,n){var r=M(e,n);return void 0!==r?r:M(t,n)}function D(e,t,n){for(var r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"==typeof e[r]||e[r]instanceof String||"string"==typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):D(e[r],t[r],n):e[r]=t[r]);return e}function B(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var L={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function N(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(function(e){return L[e]})):e}var F="undefined"!=typeof window&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,z=[" ",",","?","!",";"];function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function V(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(Object(n),!0).forEach((function(t){y.default(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function G(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v.default(e);if(t){var a=v.default(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return g.default(this,n)}}function H(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),a=e,o=0;o<r.length;++o){if(!a)return;if("string"==typeof a[r[o]]&&o+1<r.length)return;if(void 0===a[r[o]]){for(var i=2,s=r.slice(o,o+i).join(n),l=a[s];void 0===l&&r.length>o+i;)i++,l=a[s=r.slice(o,o+i).join(n)];if(void 0===l)return;if(t.endsWith(s)){if("string"==typeof l)return l;if(s&&"string"==typeof l[s])return l[s]}var c=r.slice(o+i).join(n);return c?H(l,c,n):void 0}a=a[r[o]]}return a}}var U=function(e){b.default(n,e);var t=G(n);function n(e){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return f.default(this,n),r=t.call(this),F&&E.call(m.default(r)),r.data=e||{},r.options=a,void 0===r.options.keySeparator&&(r.options.keySeparator="."),void 0===r.options.ignoreJSONStructure&&(r.options.ignoreJSONStructure=!0),r}return h.default(n,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,o=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,i=[e,t];n&&"string"!=typeof n&&(i=i.concat(n)),n&&"string"==typeof n&&(i=i.concat(a?n.split(a):n)),e.indexOf(".")>-1&&(i=e.split("."));var s=M(this.data,i);return s||!o||"string"!=typeof n?s:H(this.data&&this.data[e]&&this.data[e][t],n,a)}},{key:"addResource",value:function(e,t,n,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},o=this.options.keySeparator;void 0===o&&(o=".");var i=[e,t];n&&(i=i.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(r=t,t=(i=e.split("."))[1]),this.addNamespaces(t),O(this.data,i,r),a.silent||this.emit("added",e,t,n,r)}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var a in n)"string"!=typeof n[a]&&"[object Array]"!==Object.prototype.toString.apply(n[a])||this.addResource(e,t,a,n[a],{silent:!0});r.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,r,a){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},i=[e,t];e.indexOf(".")>-1&&(r=n,n=t,t=(i=e.split("."))[1]),this.addNamespaces(t);var s=M(this.data,i)||{};r?D(s,n,a):s=V(V({},s),n),O(this.data,i,s),o.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?V(V({},{}),this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"hasLanguageSomeTranslations",value:function(e){var t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((function(e){return t[e]&&Object.keys(t[e]).length>0}))}},{key:"toJSON",value:function(){return this.data}}]),n}(E),Q={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,a){var o=this;return e.forEach((function(e){o.processors[e]&&(t=o.processors[e].process(t,n,r,a))})),t}};function W(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function K(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?W(Object(n),!0).forEach((function(t){y.default(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):W(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Z(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v.default(e);if(t){var a=v.default(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return g.default(this,n)}}var q={},Y=function(e){b.default(n,e);var t=Z(n);function n(e){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return f.default(this,n),r=t.call(this),F&&E.call(m.default(r)),C(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,m.default(r)),r.options=a,void 0===r.options.keySeparator&&(r.options.keySeparator="."),r.logger=I.create("translator"),r}return h.default(n,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;var n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,a=t.ns||this.options.defaultNS||[],o=n&&e.indexOf(n)>-1,i=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||function(e,t,n){t=t||"",n=n||"";var r=z.filter((function(e){return t.indexOf(e)<0&&n.indexOf(e)<0}));if(0===r.length)return!0;var a=new RegExp("(".concat(r.map((function(e){return"?"===e?"\\?":e})).join("|"),")")),o=!a.test(e);if(!o){var i=e.indexOf(n);i>0&&!a.test(e.substring(0,i))&&(o=!0)}return o}(e,n,r));if(o&&!i){var s=e.match(this.interpolator.nestingRegexp);if(s&&s.length>0)return{key:e,namespaces:a};var l=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(l[0])>-1)&&(a=l.shift()),e=l.join(r)}return"string"==typeof a&&(a=[a]),{key:e,namespaces:a}}},{key:"translate",value:function(e,t,r){var a=this;if("object"!==_.default(t)&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);var o=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,i=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,s=this.extractFromKey(e[e.length-1],t),l=s.key,c=s.namespaces,u=c[c.length-1],d=t.lng||this.language,p=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d&&"cimode"===d.toLowerCase()){if(p){var f=t.nsSeparator||this.options.nsSeparator;return o?(h.res="".concat(u).concat(f).concat(l),h):"".concat(u).concat(f).concat(l)}return o?(h.res=l,h):l}var h=this.resolve(e,t),m=h&&h.res,b=h&&h.usedKey||l,g=h&&h.exactUsedKey||l,v=Object.prototype.toString.apply(m),y=["[object Number]","[object Function]","[object RegExp]"],S=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,x=!this.i18nFormat||this.i18nFormat.handleAsObject,T="string"!=typeof m&&"boolean"!=typeof m&&"number"!=typeof m;if(x&&m&&T&&y.indexOf(v)<0&&("string"!=typeof S||"[object Array]"!==v)){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var A=this.options.returnedObjectHandler?this.options.returnedObjectHandler(b,m,K(K({},t),{},{ns:c})):"key '".concat(l," (").concat(this.language,")' returned an object instead of string.");return o?(h.res=A,h):A}if(i){var I="[object Array]"===v,E=I?[]:{},w=I?g:b;for(var k in m)if(Object.prototype.hasOwnProperty.call(m,k)){var C="".concat(w).concat(i).concat(k);E[k]=this.translate(C,K(K({},t),{joinArrays:!1,ns:c})),E[k]===C&&(E[k]=m[k])}m=E}}else if(x&&"string"==typeof S&&"[object Array]"===v)(m=m.join(S))&&(m=this.extendTranslation(m,e,t,r));else{var P=!1,O=!1,M=void 0!==t.count&&"string"!=typeof t.count,R=n.hasDefaultValue(t),D=M?this.pluralResolver.getSuffix(d,t.count,t):"",B=t["defaultValue".concat(D)]||t.defaultValue;!this.isValidLookup(m)&&R&&(P=!0,m=B),this.isValidLookup(m)||(O=!0,m=l);var L=t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,N=L&&O?void 0:m,F=R&&B!==m&&this.options.updateMissing;if(O||P||F){if(this.logger.log(F?"updateKey":"missingKey",d,u,l,F?B:m),i){var z=this.resolve(l,K(K({},t),{},{keySeparator:!1}));z&&z.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var j=[],V=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&V&&V[0])for(var G=0;G<V.length;G++)j.push(V[G]);else"all"===this.options.saveMissingTo?j=this.languageUtils.toResolveHierarchy(t.lng||this.language):j.push(t.lng||this.language);var H=function(e,n,r){var o=R&&r!==m?r:N;a.options.missingKeyHandler?a.options.missingKeyHandler(e,u,n,o,F,t):a.backendConnector&&a.backendConnector.saveMissing&&a.backendConnector.saveMissing(e,u,n,o,F,t),a.emit("missingKey",e,u,n,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&M?j.forEach((function(e){a.pluralResolver.getSuffixes(e,t).forEach((function(n){H([e],l+n,t["defaultValue".concat(n)]||B)}))})):H(j,l,B))}m=this.extendTranslation(m,e,t,h,r),O&&m===l&&this.options.appendNamespaceToMissingKey&&(m="".concat(u,":").concat(l)),(O||P)&&this.options.parseMissingKeyHandler&&(m="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(l,P?m:void 0):this.options.parseMissingKeyHandler(m))}return o?(h.res=m,h):m}},{key:"extendTranslation",value:function(e,t,n,r,a){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,K(K({},this.options.interpolation.defaultVariables),n),r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(K(K({},n),{interpolation:K(K({},this.options.interpolation),n.interpolation)}));var i,s="string"==typeof e&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(s){var l=e.match(this.interpolator.nestingRegexp);i=l&&l.length}var c=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(c=K(K({},this.options.interpolation.defaultVariables),c)),e=this.interpolator.interpolate(e,c,n.lng||this.language,n),s){var u=e.match(this.interpolator.nestingRegexp);i<(u&&u.length)&&(n.nest=!1)}!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return a&&a[0]===r[0]&&!n.context?(o.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(t[0])),null):o.translate.apply(o,r.concat([t]))}),n)),n.interpolation&&this.interpolator.reset()}var d=n.postProcess||this.options.postProcess,p="string"==typeof d?[d]:d;return null!=e&&p&&p.length&&!1!==n.applyPostProcessor&&(e=Q.handle(p,e,t,this.options&&this.options.postProcessPassResolved?K({i18nResolved:r},n):n,this)),e}},{key:"resolve",value:function(e){var t,n,r,a,o,i=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((function(e){if(!i.isValidLookup(t)){var l=i.extractFromKey(e,s),c=l.key;n=c;var u=l.namespaces;i.options.fallbackNS&&(u=u.concat(i.options.fallbackNS));var d=void 0!==s.count&&"string"!=typeof s.count,p=d&&!s.ordinal&&0===s.count&&i.pluralResolver.shouldUseIntlApi(),_=void 0!==s.context&&("string"==typeof s.context||"number"==typeof s.context)&&""!==s.context,f=s.lngs?s.lngs:i.languageUtils.toResolveHierarchy(s.lng||i.language,s.fallbackLng);u.forEach((function(e){i.isValidLookup(t)||(o=e,!q["".concat(f[0],"-").concat(e)]&&i.utils&&i.utils.hasLoadedNamespace&&!i.utils.hasLoadedNamespace(o)&&(q["".concat(f[0],"-").concat(e)]=!0,i.logger.warn('key "'.concat(n,'" for languages "').concat(f.join(", "),'" won\'t get resolved as namespace "').concat(o,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),f.forEach((function(n){if(!i.isValidLookup(t)){a=n;var o,l=[c];if(i.i18nFormat&&i.i18nFormat.addLookupKeys)i.i18nFormat.addLookupKeys(l,c,n,e,s);else{var u;d&&(u=i.pluralResolver.getSuffix(n,s.count,s));var f="_zero";if(d&&(l.push(c+u),p&&l.push(c+f)),_){var h="".concat(c).concat(i.options.contextSeparator).concat(s.context);l.push(h),d&&(l.push(h+u),p&&l.push(h+f))}}for(;o=l.pop();)i.isValidLookup(t)||(r=o,t=i.getResource(n,e,o,s))}})))}))}})),{res:t,usedKey:n,exactUsedKey:r,usedLng:a,usedNS:o}}},{key:"isValidLookup",value:function(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:"hasDefaultValue",value:function(e){var t="defaultValue";for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,t.length)&&void 0!==e[n])return!0;return!1}}]),n}(E);function J(e){return e.charAt(0).toUpperCase()+e.slice(1)}var X=function(){function e(t){f.default(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=I.create("languageUtils")}return h.default(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map((function(e){return e.toLowerCase()})):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=J(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=J(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=J(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach((function(e){if(!t){var r=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(r)||(t=r)}})),!t&&this.options.supportedLngs&&e.forEach((function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find((function(e){if(0===e.indexOf(r))return e}))}})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),a=[],o=function(e){e&&(n.isSupportedCode(e)?a.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(e))):"string"==typeof e&&o(this.formatLanguageCode(e)),r.forEach((function(e){a.indexOf(e)<0&&o(n.formatLanguageCode(e))})),a}}]),e}(),$=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],ee={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},te=["v1","v2","v3"],ne={zero:0,one:1,two:2,few:3,many:4,other:5};function re(){var e={};return $.forEach((function(t){t.lngs.forEach((function(n){e[n]={numbers:t.nr,plurals:ee[t.fc]}}))})),e}var ae=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};f.default(this,e),this.languageUtils=t,this.options=n,this.logger=I.create("pluralResolver"),this.options.compatibilityJSON&&"v4"!==this.options.compatibilityJSON||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=re()}return h.default(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(e,{type:t.ordinal?"ordinal":"cardinal"})}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map((function(e){return"".concat(t).concat(e)}))}},{key:"getSuffixes",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((function(e,t){return ne[e]-ne[t]})).map((function(e){return"".concat(t.options.prepend).concat(e)})):r.numbers.map((function(r){return t.getSuffix(e,r,n)})):[]}},{key:"getSuffix",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(r.select(t)):this.getSuffixRetroCompatible(r,t):(this.logger.warn("no plural rule found for: ".concat(e)),"")}},{key:"getSuffixRetroCompatible",value:function(e,t){var n=this,r=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),a=e.numbers[r];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===a?a="plural":1===a&&(a=""));var o=function(){return n.options.prepend&&a.toString()?n.options.prepend+a.toString():a.toString()};return"v1"===this.options.compatibilityJSON?1===a?"":"number"==typeof a?"_plural_".concat(a.toString()):o():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?o():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}},{key:"shouldUseIntlApi",value:function(){return!te.includes(this.options.compatibilityJSON)}}]),e}();function oe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ie(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(n),!0).forEach((function(t){y.default(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var se=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};f.default(this,e),this.logger=I.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return h.default(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:N,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?B(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?B(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?B(t.nestingPrefix):t.nestingPrefixEscaped||B("$t("),this.nestingSuffix=t.nestingSuffix?B(t.nestingSuffix):t.nestingSuffixEscaped||B(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,r){var a,o,i,s=this,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(e){return e.replace(/\$/g,"$$$$")}var u=function(e){if(e.indexOf(s.formatSeparator)<0){var a=R(t,l,e);return s.alwaysFormat?s.format(a,void 0,n,ie(ie(ie({},r),t),{},{interpolationkey:e})):a}var o=e.split(s.formatSeparator),i=o.shift().trim(),c=o.join(s.formatSeparator).trim();return s.format(R(t,l,i),c,n,ie(ie(ie({},r),t),{},{interpolationkey:i}))};this.resetRegExp();var d=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,p=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return c(e)}},{regex:this.regexp,safeValue:function(e){return s.escapeValue?c(s.escape(e)):c(e)}}].forEach((function(t){for(i=0;a=t.regex.exec(e);){var n=a[1].trim();if(void 0===(o=u(n)))if("function"==typeof d){var l=d(e,a,r);o="string"==typeof l?l:""}else if(r&&r.hasOwnProperty(n))o="";else{if(p){o=a[0];continue}s.logger.warn("missed to pass in variable ".concat(n," for interpolating ").concat(e)),o=""}else"string"==typeof o||s.useRawValueToEscape||(o=k(o));var c=t.safeValue(o);if(e=e.replace(a[0],c),p?(t.regex.lastIndex+=c.length,t.regex.lastIndex-=a[0].length):t.regex.lastIndex=0,++i>=s.maxReplaces)break}})),e}},{key:"nest",value:function(e,t){var n,r,a=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=ie({},o);function s(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),a="{".concat(r[1]);e=r[0],a=(a=this.interpolate(a,i)).replace(/'/g,'"');try{i=JSON.parse(a),t&&(i=ie(ie({},t),i))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(a)}return delete i.defaultValue,e}for(i.applyPostProcessor=!1,delete i.defaultValue;n=this.nestingRegexp.exec(e);){var l=[],c=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var u=n[1].split(this.formatSeparator).map((function(e){return e.trim()}));n[1]=u.shift(),l=u,c=!0}if((r=t(s.call(this,n[1].trim(),i),i))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=k(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),c&&(r=l.reduce((function(e,t){return a.format(e,t,o.lng,ie(ie({},o),{},{interpolationkey:n[1].trim()}))}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}]),e}();function le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?le(Object(n),!0).forEach((function(t){y.default(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):le(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ue=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};f.default(this,e),this.logger=I.create("formatter"),this.options=t,this.formats={number:function(e,t,n){return new Intl.NumberFormat(t,n).format(e)},currency:function(e,t,n){return new Intl.NumberFormat(t,ce(ce({},n),{},{style:"currency"})).format(e)},datetime:function(e,t,n){return new Intl.DateTimeFormat(t,ce({},n)).format(e)},relativetime:function(e,t,n){return new Intl.RelativeTimeFormat(t,ce({},n)).format(e,n.range||"day")},list:function(e,t,n){return new Intl.ListFormat(t,ce({},n)).format(e)}},this.init(t)}return h.default(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},n=t.interpolation;this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||","}},{key:"add",value:function(e,t){this.formats[e.toLowerCase().trim()]=t}},{key:"format",value:function(e,t,n,r){var a=this;return t.split(this.formatSeparator).reduce((function(e,t){var o=function(e){var t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){var r=e.split("(");t=r[0].toLowerCase().trim();var a=r[1].substring(0,r[1].length-1);"currency"===t&&a.indexOf(":")<0?n.currency||(n.currency=a.trim()):"relativetime"===t&&a.indexOf(":")<0?n.range||(n.range=a.trim()):a.split(";").forEach((function(e){if(e){var t=e.split(":"),r=S.default(t),a=r[0],o=r.slice(1).join(":");n[a.trim()]||(n[a.trim()]=o.trim()),"false"===o.trim()&&(n[a.trim()]=!1),"true"===o.trim()&&(n[a.trim()]=!0),isNaN(o.trim())||(n[a.trim()]=parseInt(o.trim(),10))}}))}return{formatName:t,formatOptions:n}}(t),i=o.formatName,s=o.formatOptions;if(a.formats[i]){var l=e;try{var c=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},u=c.locale||c.lng||r.locale||r.lng||n;l=a.formats[i](e,u,ce(ce(ce({},s),r),c))}catch(e){a.logger.warn(e)}return l}return a.logger.warn("there was no format function for ".concat(i)),e}),e)}}]),e}();function de(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?de(Object(n),!0).forEach((function(t){y.default(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):de(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _e(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v.default(e);if(t){var a=v.default(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return g.default(this,n)}}var fe=function(e){b.default(n,e);var t=_e(n);function n(e,r,a){var o,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return f.default(this,n),o=t.call(this),F&&E.call(m.default(o)),o.backend=e,o.store=r,o.services=a,o.languageUtils=a.languageUtils,o.options=i,o.logger=I.create("backendConnector"),o.waitingReads=[],o.maxParallelReads=i.maxParallelReads||10,o.readingCalls=0,o.state={},o.queue=[],o.backend&&o.backend.init&&o.backend.init(a,i.backend,i),o}return h.default(n,[{key:"queueLoad",value:function(e,t,n,r){var a=this,o={},i={},s={},l={};return e.forEach((function(e){var r=!0;t.forEach((function(t){var s="".concat(e,"|").concat(t);!n.reload&&a.store.hasResourceBundle(e,t)?a.state[s]=2:a.state[s]<0||(1===a.state[s]?void 0===i[s]&&(i[s]=!0):(a.state[s]=1,r=!1,void 0===i[s]&&(i[s]=!0),void 0===o[s]&&(o[s]=!0),void 0===l[t]&&(l[t]=!0)))})),r||(s[e]=!0)})),(Object.keys(o).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(o),pending:Object.keys(i),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(l)}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),a=r[0],o=r[1];t&&this.emit("failedLoading",a,o,t),n&&this.store.addResourceBundle(a,o,n),this.state[e]=t?-1:2;var i={};this.queue.forEach((function(n){var r,s,l,c,u,d;r=n.loaded,s=o,c=P(r,[a],Object),u=c.obj,d=c.k,u[d]=u[d]||[],l&&(u[d]=u[d].concat(s)),l||u[d].push(s),function(e,t){delete e.pending[t],e.pendingCount--}(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach((function(e){i[e]||(i[e]={});var t=Object.keys(i[e]);t.length&&t.forEach((function(n){void 0!==t[n]&&(i[e][n]=!0)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",i),this.queue=this.queue.filter((function(e){return!e.done}))}},{key:"read",value:function(e,t,n){var r=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:350,i=arguments.length>5?arguments[5]:void 0;return e.length?this.readingCalls>=this.maxParallelReads?void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:a,wait:o,callback:i}):(this.readingCalls++,this.backend[n](e,t,(function(s,l){if(s&&l&&a<5)setTimeout((function(){r.read.call(r,e,t,n,a+1,2*o,i)}),o);else{if(r.readingCalls--,r.waitingReads.length>0){var c=r.waitingReads.shift();r.read(c.lng,c.ns,c.fcName,c.tried,c.wait,c.callback)}i(s,l)}}))):i(null,{})}},{key:"prepareLoading",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var o=this.queueLoad(e,t,r,a);if(!o.toLoad.length)return o.pending.length||a(),null;o.toLoad.forEach((function(e){n.loadOne(e)}))}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),a=r[0],o=r[1];this.read(a,o,"read",void 0,void 0,(function(r,i){r&&t.logger.warn("".concat(n,"loading namespace ").concat(o," for language ").concat(a," failed"),r),!r&&i&&t.logger.log("".concat(n,"loaded namespace ").concat(o," for language ").concat(a),i),t.loaded(e,r,i)}))}},{key:"saveMissing",value:function(e,t,n,r,a){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)?this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):null!=n&&""!==n&&(this.backend&&this.backend.create&&this.backend.create(e,t,n,r,null,pe(pe({},o),{},{isUpdate:a})),e&&e[0]&&this.store.addResource(e[0],t,n,r))}}]),n}(E);function he(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===_.default(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===_.default(e[2])||"object"===_.default(e[3])){var n=e[3]||e[2];Object.keys(n).forEach((function(e){t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function me(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function be(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ge(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?be(Object(n),!0).forEach((function(t){y.default(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):be(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ve(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v.default(e);if(t){var a=v.default(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return g.default(this,n)}}function ye(){}function Se(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((function(t){"function"==typeof e[t]&&(e[t]=e[t].bind(e))}))}var xe=function(e){b.default(n,e);var t=ve(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;if(f.default(this,n),e=t.call(this),F&&E.call(m.default(e)),e.options=me(r),e.services={},e.logger=I,e.modules={external:[]},Se(m.default(e)),a&&!e.isInitialized&&!r.isClone){if(!e.options.initImmediate)return e.init(r,a),g.default(e,m.default(e));setTimeout((function(){e.init(r,a)}),0)}return e}return h.default(n,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;"function"==typeof t&&(n=t,t={}),!t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));var r=he();function a(e){return e?"function"==typeof e?new e:e:null}if(this.options=ge(ge(ge({},r),this.options),me(t)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=ge(ge({},r.interpolation),this.options.interpolation)),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){var o;this.modules.logger?I.init(a(this.modules.logger),this.options):I.init(null,this.options),this.modules.formatter?o=this.modules.formatter:"undefined"!=typeof Intl&&(o=ue);var i=new X(this.options);this.store=new U(this.options.resources,this.options);var s=this.services;s.logger=I,s.resourceStore=this.store,s.languageUtils=i,s.pluralResolver=new ae(i,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!o||this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format||(s.formatter=a(o),s.formatter.init(s,this.options),this.options.interpolation.format=s.formatter.format.bind(s.formatter)),s.interpolator=new se(this.options),s.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},s.backendConnector=new fe(a(this.modules.backend),s.resourceStore,s,this.options),s.backendConnector.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];e.emit.apply(e,[t].concat(r))})),this.modules.languageDetector&&(s.languageDetector=a(this.modules.languageDetector),s.languageDetector.init(s,this.options.detection,this.options)),this.modules.i18nFormat&&(s.i18nFormat=a(this.modules.i18nFormat),s.i18nFormat.init&&s.i18nFormat.init(this)),this.translator=new Y(this.services,this.options),this.translator.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];e.emit.apply(e,[t].concat(r))})),this.modules.external.forEach((function(t){t.init&&t.init(e)}))}if(this.format=this.options.interpolation.format,n||(n=ye),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var l=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);l.length>0&&"dev"!==l[0]&&(this.options.lng=l[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");var c=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];c.forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}}));var u=["addResource","addResources","addResourceBundle","removeResourceBundle"];u.forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e}}));var d=w(),p=function(){var t=function(t,r){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),d.resolve(r),n(t,r)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?p():setTimeout(p,0),d}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ye,r=n,a="string"==typeof e?e:this.language;if("function"==typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(a&&"cimode"===a.toLowerCase())return r();var o=[],i=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach((function(e){o.indexOf(e)<0&&o.push(e)}))};if(a)i(a);else{var s=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);s.forEach((function(e){return i(e)}))}this.options.preload&&this.options.preload.forEach((function(e){return i(e)})),this.services.backendConnector.load(o,this.options.ns,(function(e){e||t.resolvedLanguage||!t.language||t.setResolvedLanguage(t.language),r(e)}))}else r(null)}},{key:"reloadResources",value:function(e,t,n){var r=w();return e||(e=this.languages),t||(t=this.options.ns),n||(n=ye),this.services.backendConnector.reload(e,t,(function(e){r.resolve(),n(e)})),r}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&Q.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"setResolvedLanguage",value:function(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(var t=0;t<this.languages.length;t++){var n=this.languages[t];if(!(["cimode","dev"].indexOf(n)>-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=w();this.emit("languageChanging",e);var a=function(e){n.language=e,n.languages=n.services.languageUtils.toResolveHierarchy(e),n.resolvedLanguage=void 0,n.setResolvedLanguage(e)},o=function(o){e||o||!n.services.languageDetector||(o=[]);var i="string"==typeof o?o:n.services.languageUtils.getBestMatchFromCodes(o);i&&(n.language||a(i),n.translator.language||n.translator.changeLanguage(i),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(i)),n.loadResources(i,(function(e){!function(e,o){o?(a(o),n.translator.changeLanguage(o),n.isLanguageChangingTo=void 0,n.emit("languageChanged",o),n.logger.log("languageChanged",o)):n.isLanguageChangingTo=void 0,r.resolve((function(){return n.t.apply(n,arguments)})),t&&t(e,(function(){return n.t.apply(n,arguments)}))}(e,i)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(o):o(e):o(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(e,t,n){var r=this,a=function e(t,a){var o;if("object"!==_.default(a)){for(var i=arguments.length,s=new Array(i>2?i-2:0),l=2;l<i;l++)s[l-2]=arguments[l];o=r.options.overloadTranslationOptionHandler([t,a].concat(s))}else o=ge({},a);o.lng=o.lng||e.lng,o.lngs=o.lngs||e.lngs,o.ns=o.ns||e.ns;var c=r.options.keySeparator||".",u=n?"".concat(n).concat(c).concat(t):t;return r.t(u,o)};return"string"==typeof e?a.lng=e:a.lngs=e,a.ns=t,a.keyPrefix=n,a}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=this.resolvedLanguage||this.languages[0],a=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var i=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};if(n.precheck){var s=n.precheck(this,i);if(void 0!==s)return s}return!!this.hasResourceBundle(r,e)||(!(this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages))||!(!i(r,e)||a&&!i(o,e)))}},{key:"loadNamespaces",value:function(e,t){var n=this,r=w();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e)})),this.loadResources((function(e){r.resolve(),t&&t(e)})),r):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=w();"string"==typeof e&&(e=[e]);var r=this.options.preload||[],a=e.filter((function(e){return r.indexOf(e)<0}));return a.length?(this.options.preload=r.concat(a),this.loadResources((function(e){n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ye,a=ge(ge(ge({},this.options),t),{isClone:!0}),o=new n(a),i=["store","services","language"];return i.forEach((function(t){o[t]=e[t]})),o.services=ge({},this.services),o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o.translator=new Y(o.services,o.options),o.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];o.emit.apply(o,[e].concat(n))})),o.init(a,r),o.translator.options=o.options,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),n}(E);y.default(xe,"createInstance",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new xe(e,t)}));var Te=xe.createInstance();Te.createInstance=xe.createInstance,e.exports=Te},6339:(e,t,n)=>{"use strict";n.d(t,{a:()=>o});var r=n(8156),a=n(8718);function o(e){var t=e.i18n,n=e.defaultNS,o=e.children,i=(0,r.useMemo)((function(){return{i18n:t,defaultNS:n}}),[t,n]);return(0,r.createElement)(a.OO.Provider,{value:i},o)}},5444:(e,t,n)=>{"use strict";n.d(t,{c:()=>R});var r=n(4925),a=n(1002),o=n(4942),i=n(8156),s=n.n(i),l=n(1739),c=n.n(l),u=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function d(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},n=e.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(t.name=n[1],(c()[n[1]]||"/"===e.charAt(e.length-2))&&(t.voidElement=!0),t.name.startsWith("!--"))){var r=e.indexOf("--\x3e");return{type:"comment",comment:-1!==r?e.slice(4,r):""}}for(var a=new RegExp(u),o=null;null!==(o=a.exec(e));)if(o[0].trim())if(o[1]){var i=o[1].trim(),s=[i,""];i.indexOf("=")>-1&&(s=i.split("=")),t.attrs[s[0]]=s[1],a.lastIndex--}else o[2]&&(t.attrs[o[2]]=o[3].trim().substring(1,o[3].length-1));return t}var p=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,_=/^\s*$/,f=Object.create(null);function h(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(e){var t=[];for(var n in e)t.push(n+'="'+e[n]+'"');return t.length?" "+t.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(h,"")+"</"+t.name+">";case"comment":return e+"\x3c!--"+t.comment+"--\x3e"}}var m={parse:function(e,t){t||(t={}),t.components||(t.components=f);var n,r=[],a=[],o=-1,i=!1;if(0!==e.indexOf("<")){var s=e.indexOf("<");r.push({type:"text",content:-1===s?e:e.substring(0,s)})}return e.replace(p,(function(s,l){if(i){if(s!=="</"+n.name+">")return;i=!1}var c,u="/"!==s.charAt(1),p=s.startsWith("\x3c!--"),f=l+s.length,h=e.charAt(f);if(p){var m=d(s);return o<0?(r.push(m),r):((c=a[o]).children.push(m),r)}if(u&&(o++,"tag"===(n=d(s)).type&&t.components[n.name]&&(n.type="component",i=!0),n.voidElement||i||!h||"<"===h||n.children.push({type:"text",content:e.slice(f,e.indexOf("<",f))}),0===o&&r.push(n),(c=a[o-1])&&c.children.push(n),a[o]=n),(!u||n.voidElement)&&(o>-1&&(n.voidElement||n.name===s.slice(2,-1))&&(o--,n=-1===o?r:a[o]),!i&&"<"!==h&&h)){c=-1===o?r:a[o].children;var b=e.indexOf("<",f),g=e.slice(f,-1===b?void 0:b);_.test(g)&&(g=" "),(b>-1&&o+c.length>=0||" "!==g)&&c.push({type:"text",content:g})}})),r},stringify:function(e){return e.reduce((function(e,t){return e+h("",t)}),"")}};const b=m;var g="".replace,v=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34);/g,y={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'};function S(e){return y[e]}var x=n(8718),T=n(8236),A=["format"],I=["children","count","parent","i18nKey","context","tOptions","values","defaults","components","ns","i18n","t","shouldUnescape"];function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function k(e,t){if(!e)return!1;var n=e.props?e.props.children:e.children;return t?n.length>0:!!n}function C(e){return e?e&&e.children?e.children:e.props&&e.props.children:[]}function P(e){return Array.isArray(e)?e:[e]}function O(e,t){if(!e)return"";var n="",o=P(e),i=t.transSupportBasicHtmlNodes&&t.transKeepBasicHtmlNodesFor?t.transKeepBasicHtmlNodesFor:[];return o.forEach((function(e,o){if("string"==typeof e)n+="".concat(e);else if(s().isValidElement(e)){var l=Object.keys(e.props).length,c=i.indexOf(e.type)>-1,u=e.props.children;if(!u&&c&&0===l)n+="<".concat(e.type,"/>");else if(u||c&&0===l)if(e.props.i18nIsDynamicList)n+="<".concat(o,"></").concat(o,">");else if(c&&1===l&&"string"==typeof u)n+="<".concat(e.type,">").concat(u,"</").concat(e.type,">");else{var d=O(u,t);n+="<".concat(o,">").concat(d,"</").concat(o,">")}else n+="<".concat(o,"></").concat(o,">")}else if(null===e)(0,T.ZK)("Trans: the passed in value is invalid - seems you passed in a null child.");else if("object"===(0,a.Z)(e)){var p=e.format,_=(0,r.Z)(e,A),f=Object.keys(_);if(1===f.length){var h=p?"".concat(f[0],", ").concat(p):f[0];n+="{{".concat(h,"}}")}else(0,T.ZK)("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",e)}else(0,T.ZK)("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",e)})),n}function M(e,t,n,r,o,i){if(""===t)return[];var l=r.transKeepBasicHtmlNodesFor||[],c=t&&new RegExp(l.join("|")).test(t);if(!e&&!c)return[t];var u={};!function e(t){P(t).forEach((function(t){"string"!=typeof t&&(k(t)?e(C(t)):"object"!==(0,a.Z)(t)||s().isValidElement(t)||Object.assign(u,t))}))}(e);var d=b.parse("<0>".concat(t,"</0>")),p=w(w({},u),o);function _(e,t,n){var r=C(e),a=h(r,t.children,n);return function(e){return"[object Array]"===Object.prototype.toString.call(e)&&e.every((function(e){return s().isValidElement(e)}))}(r)&&0===a.length?r:a}function f(e,t,n,r,a){e.dummy&&(e.children=t),n.push(s().cloneElement(e,w(w({},e.props),{},{key:r}),a?void 0:t))}function h(t,o,u){var d=P(t);return P(o).reduce((function(t,o,m){var b,y,x,T,A=o.children&&o.children[0]&&o.children[0].content&&n.services.interpolator.interpolate(o.children[0].content,p,n.language);if("tag"===o.type){var I=d[parseInt(o.name,10)];!I&&1===u.length&&u[0][o.name]&&(I=u[0][o.name]),I||(I={});var E=0!==Object.keys(o.attrs).length?(y={props:o.attrs},(T=w({},x=I)).props=Object.assign(y.props,x.props),T):I,C=s().isValidElement(E),P=C&&k(o,!0)&&!o.voidElement,O=c&&"object"===(0,a.Z)(E)&&E.dummy&&!C,M="object"===(0,a.Z)(e)&&null!==e&&Object.hasOwnProperty.call(e,o.name);if("string"==typeof E){var R=n.services.interpolator.interpolate(E,p,n.language);t.push(R)}else if(k(E)||P){f(E,_(E,o,u),t,m)}else if(O){var D=h(d,o.children,u);t.push(s().cloneElement(E,w(w({},E.props),{},{key:m}),D))}else if(Number.isNaN(parseFloat(o.name))){if(M)f(E,_(E,o,u),t,m,o.voidElement);else if(r.transSupportBasicHtmlNodes&&l.indexOf(o.name)>-1)if(o.voidElement)t.push(s().createElement(o.name,{key:"".concat(o.name,"-").concat(m)}));else{var B=h(d,o.children,u);t.push(s().createElement(o.name,{key:"".concat(o.name,"-").concat(m)},B))}else if(o.voidElement)t.push("<".concat(o.name," />"));else{var L=h(d,o.children,u);t.push("<".concat(o.name,">").concat(L,"</").concat(o.name,">"))}}else if("object"!==(0,a.Z)(E)||C)1===o.children.length&&A?t.push(s().cloneElement(E,w(w({},E.props),{},{key:m}),A)):t.push(s().cloneElement(E,w(w({},E.props),{},{key:m})));else{var N=o.children[0]?A:null;N&&t.push(N)}}else if("text"===o.type){var F=r.transWrapTextNodes,z=i?(b=n.services.interpolator.interpolate(o.content,p,n.language),g.call(b,v,S)):n.services.interpolator.interpolate(o.content,p,n.language);F?t.push(s().createElement(F,{key:"".concat(o.name,"-").concat(m)},z)):t.push(z)}return t}),[])}return C(h([{dummy:!0,children:e||[]}],d,P(e||[]))[0])}function R(e){var t=e.children,n=e.count,a=e.parent,o=e.i18nKey,l=e.context,c=e.tOptions,u=void 0===c?{}:c,d=e.values,p=e.defaults,_=e.components,f=e.ns,h=e.i18n,m=e.t,b=e.shouldUnescape,g=(0,r.Z)(e,I),v=(0,i.useContext)(x.OO)||{},y=v.i18n,S=v.defaultNS,A=h||y||(0,x.nI)();if(!A)return(0,T.O4)("You will need to pass in an i18next instance by using i18nextReactModule"),t;var E=m||A.t.bind(A)||function(e){return e};l&&(u.context=l);var k=w(w({},(0,x.JP)()),A.options&&A.options.react),C=f||E.ns||S||A.options&&A.options.defaultNS;C="string"==typeof C?[C]:C||["translation"];var P=p||O(t,k)||k.transEmptyNodeValue||o,R=k.hashTransKey,D=o||(R?R(P):P),B=d?u.interpolation:{interpolation:w(w({},u.interpolation),{},{prefix:"#$?",suffix:"?$#"})},L=w(w(w(w({},u),{},{count:n},d),B),{},{defaultValue:P,ns:C}),N=M(_||t,D?E(D,L):P,A,k,L,b),F=void 0!==a?a:k.defaultTransParent;return F?s().createElement(F,g,N):N}},8718:(e,t,n)=>{"use strict";n.d(t,{Db:()=>b,I6:()=>h,JP:()=>_,OO:()=>d,j_:()=>p,kK:()=>v,nI:()=>m,qi:()=>g,zv:()=>f});var r=n(5671),a=n(3144),o=n(4942),i=n(8156);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c,u={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0},d=n.n(i)().createContext();function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};u=l(l({},u),e)}function _(){return u}var f=function(){function e(){(0,r.Z)(this,e),this.usedNamespaces={}}return(0,a.Z)(e,[{key:"addUsedNamespaces",value:function(e){var t=this;e.forEach((function(e){t.usedNamespaces[e]||(t.usedNamespaces[e]=!0)}))}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),e}();function h(e){c=e}function m(){return c}var b={type:"3rdParty",init:function(e){p(e.options.react),h(e)}};function g(e){return function(t){return new Promise((function(n){var r=v();e.getInitialProps?e.getInitialProps(t).then((function(e){n(l(l({},e),r))})):n(r)}))}}function v(){var e=m(),t=e.reportNamespaces?e.reportNamespaces.getUsedNamespaces():[],n={},r={};return e.languages.forEach((function(n){r[n]={},t.forEach((function(t){r[n][t]=e.getResourceBundle(n,t)||{}}))})),n.initialI18nStore=r,n.initialLanguage=e.language,n}},6037:(e,t,n)=>{"use strict";n.r(t),n.d(t,{I18nContext:()=>g.OO,I18nextProvider:()=>b.a,Trans:()=>r.c,Translation:()=>m,composeInitialProps:()=>g.qi,date:()=>T,getDefaults:()=>g.JP,getI18n:()=>g.nI,getInitialProps:()=>g.kK,initReactI18next:()=>g.Db,number:()=>I,plural:()=>w,select:()=>E,selectOrdinal:()=>k,setDefaults:()=>g.j_,setI18n:()=>g.I6,time:()=>A,useSSR:()=>v,useTranslation:()=>a.$,withSSR:()=>x,withTranslation:()=>f});var r=n(5444),a=n(6793),o=n(4942),i=n(9439),s=n(4925),l=n(8156),c=n.n(l),u=n(8236),d=["forwardedRef"];function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){function r(r){var o=r.forwardedRef,l=(0,s.Z)(r,d),u=(0,a.$)(e,l),p=(0,i.Z)(u,3),f=p[0],h=p[1],m=p[2],b=_(_({},l),{},{t:f,i18n:h,tReady:m});return t.withRef&&o?b.ref=o:!t.withRef&&o&&(b.forwardedRef=o),c().createElement(n,b)}r.displayName="withI18nextTranslation(".concat((0,u.Gf)(n),")"),r.WrappedComponent=n;return t.withRef?c().forwardRef((function(e,t){return c().createElement(r,Object.assign({},e,{forwardedRef:t}))})):r}}var h=["ns","children"];function m(e){var t=e.ns,n=e.children,r=(0,s.Z)(e,h),o=(0,a.$)(t,r),l=(0,i.Z)(o,3),c=l[0],u=l[1],d=l[2];return n(c,{i18n:u,lng:u.language},d)}var b=n(6339),g=n(8718);function v(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.i18n,a=(0,l.useContext)(g.OO)||{},o=a.i18n,i=r||o||(0,g.nI)();i.options&&i.options.isClone||(e&&!i.initializedStoreOnce&&(i.services.resourceStore.data=e,i.options.ns=Object.values(e).reduce((function(e,t){return Object.keys(t).forEach((function(t){e.indexOf(t)<0&&e.push(t)})),e}),i.options.ns),i.initializedStoreOnce=!0,i.isInitialized=!0),t&&!i.initializedLanguageOnce&&(i.changeLanguage(t),i.initializedLanguageOnce=!0))}var y=["initialI18nStore","initialLanguage"];function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(){return function(e){function t(t){var n=t.initialI18nStore,r=t.initialLanguage,a=(0,s.Z)(t,y);return v(n,r),c().createElement(e,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},a))}return t.getInitialProps=(0,g.qi)(e),t.displayName="withI18nextSSR(".concat((0,u.Gf)(e),")"),t.WrappedComponent=e,t}}var T=function(){return""},A=function(){return""},I=function(){return""},E=function(){return""},w=function(){return""},k=function(){return""}},6793:(e,t,n)=>{"use strict";n.d(t,{$:()=>u});var r=n(9439),a=n(4942),o=n(8156),i=n(8718),s=n(8236);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.i18n,a=(0,o.useContext)(i.OO)||{},l=a.i18n,u=a.defaultNS,d=n||l||(0,i.nI)();if(d&&!d.reportNamespaces&&(d.reportNamespaces=new i.zv),!d){(0,s.O4)("You will need to pass in an i18next instance by using initReactI18next");var p=function(e){return Array.isArray(e)?e[e.length-1]:e},_=[p,{},!1];return _.t=p,_.i18n={},_.ready=!1,_}d.options.react&&void 0!==d.options.react.wait&&(0,s.O4)("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var f=c(c(c({},(0,i.JP)()),d.options.react),t),h=f.useSuspense,m=f.keyPrefix,b=e||u||d.options&&d.options.defaultNS;b="string"==typeof b?[b]:b||["translation"],d.reportNamespaces.addUsedNamespaces&&d.reportNamespaces.addUsedNamespaces(b);var g=(d.isInitialized||d.initializedStoreOnce)&&b.every((function(e){return(0,s.F0)(e,d,f)}));function v(){return d.getFixedT(null,"fallback"===f.nsMode?b:b[0],m)}var y=(0,o.useState)(v),S=(0,r.Z)(y,2),x=S[0],T=S[1],A=(0,o.useRef)(!0);(0,o.useEffect)((function(){var e=f.bindI18n,t=f.bindI18nStore;function n(){A.current&&T(v)}return A.current=!0,g||h||(0,s.DC)(d,b,(function(){A.current&&T(v)})),e&&d&&d.on(e,n),t&&d&&d.store.on(t,n),function(){A.current=!1,e&&d&&e.split(" ").forEach((function(e){return d.off(e,n)})),t&&d&&t.split(" ").forEach((function(e){return d.store.off(e,n)}))}}),[d,b.join()]);var I=(0,o.useRef)(!0);(0,o.useEffect)((function(){A.current&&!I.current&&T(v),I.current=!1}),[d]);var E=[x,d,g];if(E.t=x,E.i18n=d,E.ready=g,g)return E;if(!g&&!h)return E;throw new Promise((function(e){(0,s.DC)(d,b,(function(){e()}))}))}},8236:(e,t,n)=>{"use strict";function r(){if(console&&console.warn){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];"string"==typeof n[0]&&(n[0]="react-i18next:: ".concat(n[0])),(e=console).warn.apply(e,n)}}n.d(t,{DC:()=>i,F0:()=>l,Gf:()=>c,O4:()=>o,ZK:()=>r});var a={};function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];"string"==typeof t[0]&&a[t[0]]||("string"==typeof t[0]&&(a[t[0]]=new Date),r.apply(void 0,t))}function i(e,t,n){e.loadNamespaces(t,(function(){if(e.isInitialized)n();else{e.on("initialized",(function t(){setTimeout((function(){e.off("initialized",t)}),0),n()}))}}))}function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.languages[0],a=!!t.options&&t.options.fallbackLng,o=t.languages[t.languages.length-1];if("cimode"===r.toLowerCase())return!0;var i=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};return!(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!i(t.isLanguageChangingTo,e))&&(!!t.hasResourceBundle(r,e)||(!(t.services.backendConnector.backend&&(!t.options.resources||t.options.partialBundledLanguages))||!(!i(r,e)||a&&!i(o,e))))}function l(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t.languages||!t.languages.length)return o("i18n.languages were undefined or empty",t.languages),!0;var r=void 0!==t.options.ignoreJSONStructure;return r?t.hasLoadedNamespace(e,{precheck:function(t,r){if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}):s(e,t,n)}function c(e){return e.displayName||e.name||("string"==typeof e&&e.length>0?e:"Unknown")}},9852:(e,t,n)=>{"use strict";n.d(t,{j:()=>i});var r=n(4578),a=n(2943),o=n(2288),i=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!o.sk&&(null==(t=window)?void 0:t.addEventListener)){var n=function(){return e()};return window.addEventListener("visibilitychange",n,!1),window.addEventListener("focus",n,!1),function(){window.removeEventListener("visibilitychange",n),window.removeEventListener("focus",n)}}},t}(0,r.Z)(t,e);var n=t.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)},n.setEventListener=function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((function(e){"boolean"==typeof e?n.setFocused(e):n.onFocus()}))},n.setFocused=function(e){this.focused=e,e&&this.onFocus()},n.onFocus=function(){this.listeners.forEach((function(e){e()}))},n.isFocused=function(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)},t}(a.l))},6747:(e,t,n)=>{"use strict";n.d(t,{QueryClient:()=>r.S});var r=n(8061),a=n(6755);n.o(a,"QueryClientProvider")&&n.d(t,{QueryClientProvider:function(){return a.QueryClientProvider}}),n.o(a,"useQuery")&&n.d(t,{useQuery:function(){return a.useQuery}})},1909:(e,t,n)=>{"use strict";n.d(t,{E:()=>o,j:()=>a});var r=console;function a(){return r}function o(e){r=e}},101:(e,t,n)=>{"use strict";n.d(t,{V:()=>a});var r=n(2288),a=new(function(){function e(){this.queue=[],this.transactions=0,this.notifyFn=function(e){e()},this.batchNotifyFn=function(e){e()}}var t=e.prototype;return t.batch=function(e){var t;this.transactions++;try{t=e()}finally{this.transactions--,this.transactions||this.flush()}return t},t.schedule=function(e){var t=this;this.transactions?this.queue.push(e):(0,r.A4)((function(){t.notifyFn(e)}))},t.batchCalls=function(e){var t=this;return function(){for(var n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];t.schedule((function(){e.apply(void 0,r)}))}},t.flush=function(){var e=this,t=this.queue;this.queue=[],t.length&&(0,r.A4)((function(){e.batchNotifyFn((function(){t.forEach((function(t){e.notifyFn(t)}))}))}))},t.setNotifyFunction=function(e){this.notifyFn=e},t.setBatchNotifyFunction=function(e){this.batchNotifyFn=e},e}())},68:(e,t,n)=>{"use strict";n.d(t,{N:()=>i});var r=n(4578),a=n(2943),o=n(2288),i=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!o.sk&&(null==(t=window)?void 0:t.addEventListener)){var n=function(){return e()};return window.addEventListener("online",n,!1),window.addEventListener("offline",n,!1),function(){window.removeEventListener("online",n),window.removeEventListener("offline",n)}}},t}(0,r.Z)(t,e);var n=t.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)},n.setEventListener=function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((function(e){"boolean"==typeof e?n.setOnline(e):n.onOnline()}))},n.setOnline=function(e){this.online=e,e&&this.onOnline()},n.onOnline=function(){this.listeners.forEach((function(e){e()}))},n.isOnline=function(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine},t}(a.l))},8061:(e,t,n)=>{"use strict";n.d(t,{S:()=>g});var r=n(7462),a=n(2288),o=n(4578),i=n(101),s=n(1909),l=n(1216),c=function(){function e(e){this.abortSignalConsumed=!1,this.hadObservers=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||this.getDefaultState(this.options),this.state=this.initialState,this.meta=e.meta,this.scheduleGc()}var t=e.prototype;return t.setOptions=function(e){var t;this.options=(0,r.Z)({},this.defaultOptions,e),this.meta=null==e?void 0:e.meta,this.cacheTime=Math.max(this.cacheTime||0,null!=(t=this.options.cacheTime)?t:3e5)},t.setDefaultOptions=function(e){this.defaultOptions=e},t.scheduleGc=function(){var e=this;this.clearGcTimeout(),(0,a.PN)(this.cacheTime)&&(this.gcTimeout=setTimeout((function(){e.optionalRemove()}),this.cacheTime))},t.clearGcTimeout=function(){clearTimeout(this.gcTimeout),this.gcTimeout=void 0},t.optionalRemove=function(){this.observers.length||(this.state.isFetching?this.hadObservers&&this.scheduleGc():this.cache.remove(this))},t.setData=function(e,t){var n,r,o=this.state.data,i=(0,a.SE)(e,o);return(null==(n=(r=this.options).isDataEqual)?void 0:n.call(r,o,i))?i=o:!1!==this.options.structuralSharing&&(i=(0,a.Q$)(o,i)),this.dispatch({data:i,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt}),i},t.setState=function(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})},t.cancel=function(e){var t,n=this.promise;return null==(t=this.retryer)||t.cancel(e),n?n.then(a.ZT).catch(a.ZT):Promise.resolve()},t.destroy=function(){this.clearGcTimeout(),this.cancel({silent:!0})},t.reset=function(){this.destroy(),this.setState(this.initialState)},t.isActive=function(){return this.observers.some((function(e){return!1!==e.options.enabled}))},t.isFetching=function(){return this.state.isFetching},t.isStale=function(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some((function(e){return e.getCurrentResult().isStale}))},t.isStaleByTime=function(e){return void 0===e&&(e=0),this.state.isInvalidated||!this.state.dataUpdatedAt||!(0,a.Kp)(this.state.dataUpdatedAt,e)},t.onFocus=function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnWindowFocus()}));t&&t.refetch(),null==(e=this.retryer)||e.continue()},t.onOnline=function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnReconnect()}));t&&t.refetch(),null==(e=this.retryer)||e.continue()},t.addObserver=function(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.hadObservers=!0,this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))},t.removeObserver=function(e){-1!==this.observers.indexOf(e)&&(this.observers=this.observers.filter((function(t){return t!==e})),this.observers.length||(this.retryer&&(this.retryer.isTransportCancelable||this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.cacheTime?this.scheduleGc():this.cache.remove(this)),this.cache.notify({type:"observerRemoved",query:this,observer:e}))},t.getObserversCount=function(){return this.observers.length},t.invalidate=function(){this.state.isInvalidated||this.dispatch({type:"invalidate"})},t.fetch=function(e,t){var n,r,o,i=this;if(this.state.isFetching)if(this.state.dataUpdatedAt&&(null==t?void 0:t.cancelRefetch))this.cancel({silent:!0});else if(this.promise){var c;return null==(c=this.retryer)||c.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){var u=this.observers.find((function(e){return e.options.queryFn}));u&&this.setOptions(u.options)}var d=(0,a.mc)(this.queryKey),p=(0,a.G9)(),_={queryKey:d,pageParam:void 0,meta:this.meta};Object.defineProperty(_,"signal",{enumerable:!0,get:function(){if(p)return i.abortSignalConsumed=!0,p.signal}});var f,h,m={fetchOptions:t,options:this.options,queryKey:d,state:this.state,fetchFn:function(){return i.options.queryFn?(i.abortSignalConsumed=!1,i.options.queryFn(_)):Promise.reject("Missing queryFn")},meta:this.meta};(null==(n=this.options.behavior)?void 0:n.onFetch)&&(null==(f=this.options.behavior)||f.onFetch(m));(this.revertState=this.state,this.state.isFetching&&this.state.fetchMeta===(null==(r=m.fetchOptions)?void 0:r.meta))||this.dispatch({type:"fetch",meta:null==(h=m.fetchOptions)?void 0:h.meta});return this.retryer=new l.m4({fn:m.fetchFn,abort:null==p||null==(o=p.abort)?void 0:o.bind(p),onSuccess:function(e){i.setData(e),null==i.cache.config.onSuccess||i.cache.config.onSuccess(e,i),0===i.cacheTime&&i.optionalRemove()},onError:function(e){(0,l.DV)(e)&&e.silent||i.dispatch({type:"error",error:e}),(0,l.DV)(e)||(null==i.cache.config.onError||i.cache.config.onError(e,i),(0,s.j)().error(e)),0===i.cacheTime&&i.optionalRemove()},onFail:function(){i.dispatch({type:"failed"})},onPause:function(){i.dispatch({type:"pause"})},onContinue:function(){i.dispatch({type:"continue"})},retry:m.options.retry,retryDelay:m.options.retryDelay}),this.promise=this.retryer.promise,this.promise},t.dispatch=function(e){var t=this;this.state=this.reducer(this.state,e),i.V.batch((function(){t.observers.forEach((function(t){t.onQueryUpdate(e)})),t.cache.notify({query:t,type:"queryUpdated",action:e})}))},t.getDefaultState=function(e){var t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==e.initialData?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0,r=void 0!==t;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?null!=n?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isFetching:!1,isInvalidated:!1,isPaused:!1,status:r?"success":"idle"}},t.reducer=function(e,t){var n,a;switch(t.type){case"failed":return(0,r.Z)({},e,{fetchFailureCount:e.fetchFailureCount+1});case"pause":return(0,r.Z)({},e,{isPaused:!0});case"continue":return(0,r.Z)({},e,{isPaused:!1});case"fetch":return(0,r.Z)({},e,{fetchFailureCount:0,fetchMeta:null!=(n=t.meta)?n:null,isFetching:!0,isPaused:!1},!e.dataUpdatedAt&&{error:null,status:"loading"});case"success":return(0,r.Z)({},e,{data:t.data,dataUpdateCount:e.dataUpdateCount+1,dataUpdatedAt:null!=(a=t.dataUpdatedAt)?a:Date.now(),error:null,fetchFailureCount:0,isFetching:!1,isInvalidated:!1,isPaused:!1,status:"success"});case"error":var o=t.error;return(0,l.DV)(o)&&o.revert&&this.revertState?(0,r.Z)({},this.revertState):(0,r.Z)({},e,{error:o,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,isFetching:!1,isPaused:!1,status:"error"});case"invalidate":return(0,r.Z)({},e,{isInvalidated:!0});case"setState":return(0,r.Z)({},e,t.state);default:return e}},e}(),u=n(2943),d=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.queries=[],n.queriesMap={},n}(0,o.Z)(t,e);var n=t.prototype;return n.build=function(e,t,n){var r,o=t.queryKey,i=null!=(r=t.queryHash)?r:(0,a.Rm)(o,t),s=this.get(i);return s||(s=new c({cache:this,queryKey:o,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(o),meta:t.meta}),this.add(s)),s},n.add=function(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"queryAdded",query:e}))},n.remove=function(e){var t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter((function(t){return t!==e})),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"queryRemoved",query:e}))},n.clear=function(){var e=this;i.V.batch((function(){e.queries.forEach((function(t){e.remove(t)}))}))},n.get=function(e){return this.queriesMap[e]},n.getAll=function(){return this.queries},n.find=function(e,t){var n=(0,a.I6)(e,t)[0];return void 0===n.exact&&(n.exact=!0),this.queries.find((function(e){return(0,a._x)(n,e)}))},n.findAll=function(e,t){var n=(0,a.I6)(e,t)[0];return Object.keys(n).length>0?this.queries.filter((function(e){return(0,a._x)(n,e)})):this.queries},n.notify=function(e){var t=this;i.V.batch((function(){t.listeners.forEach((function(t){t(e)}))}))},n.onFocus=function(){var e=this;i.V.batch((function(){e.queries.forEach((function(e){e.onFocus()}))}))},n.onOnline=function(){var e=this;i.V.batch((function(){e.queries.forEach((function(e){e.onOnline()}))}))},t}(u.l),p=function(){function e(e){this.options=(0,r.Z)({},e.defaultOptions,e.options),this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.observers=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0},this.meta=e.meta}var t=e.prototype;return t.setState=function(e){this.dispatch({type:"setState",state:e})},t.addObserver=function(e){-1===this.observers.indexOf(e)&&this.observers.push(e)},t.removeObserver=function(e){this.observers=this.observers.filter((function(t){return t!==e}))},t.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(a.ZT).catch(a.ZT)):Promise.resolve()},t.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},t.execute=function(){var e,t=this,n="loading"===this.state.status,r=Promise.resolve();return n||(this.dispatch({type:"loading",variables:this.options.variables}),r=r.then((function(){null==t.mutationCache.config.onMutate||t.mutationCache.config.onMutate(t.state.variables,t)})).then((function(){return null==t.options.onMutate?void 0:t.options.onMutate(t.state.variables)})).then((function(e){e!==t.state.context&&t.dispatch({type:"loading",context:e,variables:t.state.variables})}))),r.then((function(){return t.executeMutation()})).then((function(n){e=n,null==t.mutationCache.config.onSuccess||t.mutationCache.config.onSuccess(e,t.state.variables,t.state.context,t)})).then((function(){return null==t.options.onSuccess?void 0:t.options.onSuccess(e,t.state.variables,t.state.context)})).then((function(){return null==t.options.onSettled?void 0:t.options.onSettled(e,null,t.state.variables,t.state.context)})).then((function(){return t.dispatch({type:"success",data:e}),e})).catch((function(e){return null==t.mutationCache.config.onError||t.mutationCache.config.onError(e,t.state.variables,t.state.context,t),(0,s.j)().error(e),Promise.resolve().then((function(){return null==t.options.onError?void 0:t.options.onError(e,t.state.variables,t.state.context)})).then((function(){return null==t.options.onSettled?void 0:t.options.onSettled(void 0,e,t.state.variables,t.state.context)})).then((function(){throw t.dispatch({type:"error",error:e}),e}))}))},t.executeMutation=function(){var e,t=this;return this.retryer=new l.m4({fn:function(){return t.options.mutationFn?t.options.mutationFn(t.state.variables):Promise.reject("No mutationFn found")},onFail:function(){t.dispatch({type:"failed"})},onPause:function(){t.dispatch({type:"pause"})},onContinue:function(){t.dispatch({type:"continue"})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay}),this.retryer.promise},t.dispatch=function(e){var t=this;this.state=function(e,t){switch(t.type){case"failed":return(0,r.Z)({},e,{failureCount:e.failureCount+1});case"pause":return(0,r.Z)({},e,{isPaused:!0});case"continue":return(0,r.Z)({},e,{isPaused:!1});case"loading":return(0,r.Z)({},e,{context:t.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:t.variables});case"success":return(0,r.Z)({},e,{data:t.data,error:null,status:"success",isPaused:!1});case"error":return(0,r.Z)({},e,{data:void 0,error:t.error,failureCount:e.failureCount+1,isPaused:!1,status:"error"});case"setState":return(0,r.Z)({},e,t.state);default:return e}}(this.state,e),i.V.batch((function(){t.observers.forEach((function(t){t.onMutationUpdate(e)})),t.mutationCache.notify(t)}))},e}();var _=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.mutations=[],n.mutationId=0,n}(0,o.Z)(t,e);var n=t.prototype;return n.build=function(e,t,n){var r=new p({mutationCache:this,mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:n,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0,meta:t.meta});return this.add(r),r},n.add=function(e){this.mutations.push(e),this.notify(e)},n.remove=function(e){this.mutations=this.mutations.filter((function(t){return t!==e})),e.cancel(),this.notify(e)},n.clear=function(){var e=this;i.V.batch((function(){e.mutations.forEach((function(t){e.remove(t)}))}))},n.getAll=function(){return this.mutations},n.find=function(e){return void 0===e.exact&&(e.exact=!0),this.mutations.find((function(t){return(0,a.X7)(e,t)}))},n.findAll=function(e){return this.mutations.filter((function(t){return(0,a.X7)(e,t)}))},n.notify=function(e){var t=this;i.V.batch((function(){t.listeners.forEach((function(t){t(e)}))}))},n.onFocus=function(){this.resumePausedMutations()},n.onOnline=function(){this.resumePausedMutations()},n.resumePausedMutations=function(){var e=this.mutations.filter((function(e){return e.state.isPaused}));return i.V.batch((function(){return e.reduce((function(e,t){return e.then((function(){return t.continue().catch(a.ZT)}))}),Promise.resolve())}))},t}(u.l),f=n(9852),h=n(68);function m(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}function b(e,t){return null==e.getPreviousPageParam?void 0:e.getPreviousPageParam(t[0],t)}var g=function(){function e(e){void 0===e&&(e={}),this.queryCache=e.queryCache||new d,this.mutationCache=e.mutationCache||new _,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}var t=e.prototype;return t.mount=function(){var e=this;this.unsubscribeFocus=f.j.subscribe((function(){f.j.isFocused()&&h.N.isOnline()&&(e.mutationCache.onFocus(),e.queryCache.onFocus())})),this.unsubscribeOnline=h.N.subscribe((function(){f.j.isFocused()&&h.N.isOnline()&&(e.mutationCache.onOnline(),e.queryCache.onOnline())}))},t.unmount=function(){var e,t;null==(e=this.unsubscribeFocus)||e.call(this),null==(t=this.unsubscribeOnline)||t.call(this)},t.isFetching=function(e,t){var n=(0,a.I6)(e,t)[0];return n.fetching=!0,this.queryCache.findAll(n).length},t.isMutating=function(e){return this.mutationCache.findAll((0,r.Z)({},e,{fetching:!0})).length},t.getQueryData=function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state.data},t.getQueriesData=function(e){return this.getQueryCache().findAll(e).map((function(e){return[e.queryKey,e.state.data]}))},t.setQueryData=function(e,t,n){var r=(0,a._v)(e),o=this.defaultQueryOptions(r);return this.queryCache.build(this,o).setData(t,n)},t.setQueriesData=function(e,t,n){var r=this;return i.V.batch((function(){return r.getQueryCache().findAll(e).map((function(e){var a=e.queryKey;return[a,r.setQueryData(a,t,n)]}))}))},t.getQueryState=function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state},t.removeQueries=function(e,t){var n=(0,a.I6)(e,t)[0],r=this.queryCache;i.V.batch((function(){r.findAll(n).forEach((function(e){r.remove(e)}))}))},t.resetQueries=function(e,t,n){var o=this,s=(0,a.I6)(e,t,n),l=s[0],c=s[1],u=this.queryCache,d=(0,r.Z)({},l,{active:!0});return i.V.batch((function(){return u.findAll(l).forEach((function(e){e.reset()})),o.refetchQueries(d,c)}))},t.cancelQueries=function(e,t,n){var r=this,o=(0,a.I6)(e,t,n),s=o[0],l=o[1],c=void 0===l?{}:l;void 0===c.revert&&(c.revert=!0);var u=i.V.batch((function(){return r.queryCache.findAll(s).map((function(e){return e.cancel(c)}))}));return Promise.all(u).then(a.ZT).catch(a.ZT)},t.invalidateQueries=function(e,t,n){var o,s,l,c=this,u=(0,a.I6)(e,t,n),d=u[0],p=u[1],_=(0,r.Z)({},d,{active:null==(o=null!=(s=d.refetchActive)?s:d.active)||o,inactive:null!=(l=d.refetchInactive)&&l});return i.V.batch((function(){return c.queryCache.findAll(d).forEach((function(e){e.invalidate()})),c.refetchQueries(_,p)}))},t.refetchQueries=function(e,t,n){var o=this,s=(0,a.I6)(e,t,n),l=s[0],c=s[1],u=i.V.batch((function(){return o.queryCache.findAll(l).map((function(e){return e.fetch(void 0,(0,r.Z)({},c,{meta:{refetchPage:null==l?void 0:l.refetchPage}}))}))})),d=Promise.all(u).then(a.ZT);return(null==c?void 0:c.throwOnError)||(d=d.catch(a.ZT)),d},t.fetchQuery=function(e,t,n){var r=(0,a._v)(e,t,n),o=this.defaultQueryOptions(r);void 0===o.retry&&(o.retry=!1);var i=this.queryCache.build(this,o);return i.isStaleByTime(o.staleTime)?i.fetch(o):Promise.resolve(i.state.data)},t.prefetchQuery=function(e,t,n){return this.fetchQuery(e,t,n).then(a.ZT).catch(a.ZT)},t.fetchInfiniteQuery=function(e,t,n){var r=(0,a._v)(e,t,n);return r.behavior={onFetch:function(e){e.fetchFn=function(){var t,n,r,o,i,s,c,u=null==(t=e.fetchOptions)||null==(n=t.meta)?void 0:n.refetchPage,d=null==(r=e.fetchOptions)||null==(o=r.meta)?void 0:o.fetchMore,p=null==d?void 0:d.pageParam,_="forward"===(null==d?void 0:d.direction),f="backward"===(null==d?void 0:d.direction),h=(null==(i=e.state.data)?void 0:i.pages)||[],g=(null==(s=e.state.data)?void 0:s.pageParams)||[],v=(0,a.G9)(),y=null==v?void 0:v.signal,S=g,x=!1,T=e.options.queryFn||function(){return Promise.reject("Missing queryFn")},A=function(e,t,n,r){return S=r?[t].concat(S):[].concat(S,[t]),r?[n].concat(e):[].concat(e,[n])},I=function(t,n,r,a){if(x)return Promise.reject("Cancelled");if(void 0===r&&!n&&t.length)return Promise.resolve(t);var o={queryKey:e.queryKey,signal:y,pageParam:r,meta:e.meta},i=T(o),s=Promise.resolve(i).then((function(e){return A(t,r,e,a)}));return(0,l.LE)(i)&&(s.cancel=i.cancel),s};if(h.length)if(_){var E=void 0!==p,w=E?p:m(e.options,h);c=I(h,E,w)}else if(f){var k=void 0!==p,C=k?p:b(e.options,h);c=I(h,k,C,!0)}else!function(){S=[];var t=void 0===e.options.getNextPageParam,n=!u||!h[0]||u(h[0],0,h);c=n?I([],t,g[0]):Promise.resolve(A([],g[0],h[0]));for(var r=function(n){c=c.then((function(r){if(!u||!h[n]||u(h[n],n,h)){var a=t?g[n]:m(e.options,r);return I(r,t,a)}return Promise.resolve(A(r,g[n],h[n]))}))},a=1;a<h.length;a++)r(a)}();else c=I([]);var P=c.then((function(e){return{pages:e,pageParams:S}}));return P.cancel=function(){x=!0,null==v||v.abort(),(0,l.LE)(c)&&c.cancel()},P}}},this.fetchQuery(r)},t.prefetchInfiniteQuery=function(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(a.ZT).catch(a.ZT)},t.cancelMutations=function(){var e=this,t=i.V.batch((function(){return e.mutationCache.getAll().map((function(e){return e.cancel()}))}));return Promise.all(t).then(a.ZT).catch(a.ZT)},t.resumePausedMutations=function(){return this.getMutationCache().resumePausedMutations()},t.executeMutation=function(e){return this.mutationCache.build(this,e).execute()},t.getQueryCache=function(){return this.queryCache},t.getMutationCache=function(){return this.mutationCache},t.getDefaultOptions=function(){return this.defaultOptions},t.setDefaultOptions=function(e){this.defaultOptions=e},t.setQueryDefaults=function(e,t){var n=this.queryDefaults.find((function(t){return(0,a.yF)(e)===(0,a.yF)(t.queryKey)}));n?n.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})},t.getQueryDefaults=function(e){var t;return e?null==(t=this.queryDefaults.find((function(t){return(0,a.to)(e,t.queryKey)})))?void 0:t.defaultOptions:void 0},t.setMutationDefaults=function(e,t){var n=this.mutationDefaults.find((function(t){return(0,a.yF)(e)===(0,a.yF)(t.mutationKey)}));n?n.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})},t.getMutationDefaults=function(e){var t;return e?null==(t=this.mutationDefaults.find((function(t){return(0,a.to)(e,t.mutationKey)})))?void 0:t.defaultOptions:void 0},t.defaultQueryOptions=function(e){if(null==e?void 0:e._defaulted)return e;var t=(0,r.Z)({},this.defaultOptions.queries,this.getQueryDefaults(null==e?void 0:e.queryKey),e,{_defaulted:!0});return!t.queryHash&&t.queryKey&&(t.queryHash=(0,a.Rm)(t.queryKey,t)),t},t.defaultQueryObserverOptions=function(e){return this.defaultQueryOptions(e)},t.defaultMutationOptions=function(e){return(null==e?void 0:e._defaulted)?e:(0,r.Z)({},this.defaultOptions.mutations,this.getMutationDefaults(null==e?void 0:e.mutationKey),e,{_defaulted:!0})},t.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},e}()},1216:(e,t,n)=>{"use strict";n.d(t,{DV:()=>c,LE:()=>s,m4:()=>u});var r=n(9852),a=n(68),o=n(2288);function i(e){return Math.min(1e3*Math.pow(2,e),3e4)}function s(e){return"function"==typeof(null==e?void 0:e.cancel)}var l=function(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent};function c(e){return e instanceof l}var u=function(e){var t,n,c,u,d=this,p=!1;this.abort=e.abort,this.cancel=function(e){return null==t?void 0:t(e)},this.cancelRetry=function(){p=!0},this.continueRetry=function(){p=!1},this.continue=function(){return null==n?void 0:n()},this.failureCount=0,this.isPaused=!1,this.isResolved=!1,this.isTransportCancelable=!1,this.promise=new Promise((function(e,t){c=e,u=t}));var _=function(t){d.isResolved||(d.isResolved=!0,null==e.onSuccess||e.onSuccess(t),null==n||n(),c(t))},f=function(t){d.isResolved||(d.isResolved=!0,null==e.onError||e.onError(t),null==n||n(),u(t))};!function c(){if(!d.isResolved){var u;try{u=e.fn()}catch(e){u=Promise.reject(e)}t=function(e){if(!d.isResolved&&(f(new l(e)),null==d.abort||d.abort(),s(u)))try{u.cancel()}catch(e){}},d.isTransportCancelable=s(u),Promise.resolve(u).then(_).catch((function(t){var s,l;if(!d.isResolved){var u=null!=(s=e.retry)?s:3,_=null!=(l=e.retryDelay)?l:i,h="function"==typeof _?_(d.failureCount,t):_,m=!0===u||"number"==typeof u&&d.failureCount<u||"function"==typeof u&&u(d.failureCount,t);!p&&m?(d.failureCount++,null==e.onFail||e.onFail(d.failureCount,t),(0,o.Gh)(h).then((function(){if(!r.j.isFocused()||!a.N.isOnline())return new Promise((function(t){n=t,d.isPaused=!0,null==e.onPause||e.onPause()})).then((function(){n=void 0,d.isPaused=!1,null==e.onContinue||e.onContinue()}))})).then((function(){p?f(t):c()}))):f(t)}}))}}()}},2943:(e,t,n)=>{"use strict";n.d(t,{l:()=>r});var r=function(){function e(){this.listeners=[]}var t=e.prototype;return t.subscribe=function(e){var t=this,n=e||function(){};return this.listeners.push(n),this.onSubscribe(),function(){t.listeners=t.listeners.filter((function(e){return e!==n})),t.onUnsubscribe()}},t.hasListeners=function(){return this.listeners.length>0},t.onSubscribe=function(){},t.onUnsubscribe=function(){},e}()},6755:()=>{},2288:(e,t,n)=>{"use strict";n.d(t,{A4:()=>A,G9:()=>I,Gh:()=>T,I6:()=>d,Kp:()=>c,PN:()=>s,Q$:()=>g,Rm:()=>f,SE:()=>i,VS:()=>v,X7:()=>_,ZT:()=>o,_v:()=>u,_x:()=>p,mc:()=>l,sk:()=>a,to:()=>m,yF:()=>h});var r=n(7462),a="undefined"==typeof window;function o(){}function i(e,t){return"function"==typeof e?e(t):e}function s(e){return"number"==typeof e&&e>=0&&e!==1/0}function l(e){return Array.isArray(e)?e:[e]}function c(e,t){return Math.max(e+(t||0)-Date.now(),0)}function u(e,t,n){return x(e)?"function"==typeof t?(0,r.Z)({},n,{queryKey:e,queryFn:t}):(0,r.Z)({},t,{queryKey:e}):e}function d(e,t,n){return x(e)?[(0,r.Z)({},t,{queryKey:e}),n]:[e||{},t]}function p(e,t){var n=e.active,r=e.exact,a=e.fetching,o=e.inactive,i=e.predicate,s=e.queryKey,l=e.stale;if(x(s))if(r){if(t.queryHash!==f(s,t.options))return!1}else if(!m(t.queryKey,s))return!1;var c=function(e,t){return!0===e&&!0===t||null==e&&null==t?"all":!1===e&&!1===t?"none":(null!=e?e:!t)?"active":"inactive"}(n,o);if("none"===c)return!1;if("all"!==c){var u=t.isActive();if("active"===c&&!u)return!1;if("inactive"===c&&u)return!1}return("boolean"!=typeof l||t.isStale()===l)&&(("boolean"!=typeof a||t.isFetching()===a)&&!(i&&!i(t)))}function _(e,t){var n=e.exact,r=e.fetching,a=e.predicate,o=e.mutationKey;if(x(o)){if(!t.options.mutationKey)return!1;if(n){if(h(t.options.mutationKey)!==h(o))return!1}else if(!m(t.options.mutationKey,o))return!1}return("boolean"!=typeof r||"loading"===t.state.status===r)&&!(a&&!a(t))}function f(e,t){return((null==t?void 0:t.queryKeyHashFn)||h)(e)}function h(e){var t,n=l(e);return t=n,JSON.stringify(t,(function(e,t){return y(t)?Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e}),{}):t}))}function m(e,t){return b(l(e),l(t))}function b(e,t){return e===t||typeof e==typeof t&&(!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&!Object.keys(t).some((function(n){return!b(e[n],t[n])})))}function g(e,t){if(e===t)return e;var n=Array.isArray(e)&&Array.isArray(t);if(n||y(e)&&y(t)){for(var r=n?e.length:Object.keys(e).length,a=n?t:Object.keys(t),o=a.length,i=n?[]:{},s=0,l=0;l<o;l++){var c=n?l:a[l];i[c]=g(e[c],t[c]),i[c]===e[c]&&s++}return r===o&&s===r?e:i}return t}function v(e,t){if(e&&!t||t&&!e)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}function y(e){if(!S(e))return!1;var t=e.constructor;if(void 0===t)return!0;var n=t.prototype;return!!S(n)&&!!n.hasOwnProperty("isPrototypeOf")}function S(e){return"[object Object]"===Object.prototype.toString.call(e)}function x(e){return"string"==typeof e||Array.isArray(e)}function T(e){return new Promise((function(t){setTimeout(t,e)}))}function A(e){Promise.resolve().then(e).catch((function(e){return setTimeout((function(){throw e}))}))}function I(){if("function"==typeof AbortController)return new AbortController}},8767:(e,t,n)=>{"use strict";n.d(t,{QueryClient:()=>r.QueryClient,QueryClientProvider:()=>a.QueryClientProvider,useQuery:()=>a.useQuery});var r=n(6747);n.o(r,"QueryClientProvider")&&n.d(t,{QueryClientProvider:function(){return r.QueryClientProvider}}),n.o(r,"useQuery")&&n.d(t,{useQuery:function(){return r.useQuery}});var a=n(7066)},7066:(e,t,n)=>{"use strict";n.d(t,{QueryClientProvider:()=>_,useQuery:()=>k});var r=n(101),a=n(7111),o=n.n(a)().unstable_batchedUpdates;r.V.setBatchNotifyFunction(o);var i=n(1909),s=console;(0,i.E)(s);var l=n(8156),c=n.n(l),u=c().createContext(void 0),d=c().createContext(!1);function p(e){return e&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=u),window.ReactQueryClientContext):u}var _=function(e){var t=e.client,n=e.contextSharing,r=void 0!==n&&n,a=e.children;c().useEffect((function(){return t.mount(),function(){t.unmount()}}),[t]);var o=p(r);return c().createElement(d.Provider,{value:r},c().createElement(o.Provider,{value:t},a))},f=n(7462),h=n(4578),m=n(2288),b=n(9852),g=n(2943),v=n(1216),y=function(e){function t(t,n){var r;return(r=e.call(this)||this).client=t,r.options=n,r.trackedProps=[],r.selectError=null,r.bindMethods(),r.setOptions(n),r}(0,h.Z)(t,e);var n=t.prototype;return n.bindMethods=function(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)},n.onSubscribe=function(){1===this.listeners.length&&(this.currentQuery.addObserver(this),S(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},n.onUnsubscribe=function(){this.listeners.length||this.destroy()},n.shouldFetchOnReconnect=function(){return x(this.currentQuery,this.options,this.options.refetchOnReconnect)},n.shouldFetchOnWindowFocus=function(){return x(this.currentQuery,this.options,this.options.refetchOnWindowFocus)},n.destroy=function(){this.listeners=[],this.clearTimers(),this.currentQuery.removeObserver(this)},n.setOptions=function(e,t){var n=this.options,r=this.currentQuery;if(this.options=this.client.defaultQueryObserverOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();var a=this.hasListeners();a&&T(this.currentQuery,r,this.options,n)&&this.executeFetch(),this.updateResult(t),!a||this.currentQuery===r&&this.options.enabled===n.enabled&&this.options.staleTime===n.staleTime||this.updateStaleTimeout();var o=this.computeRefetchInterval();!a||this.currentQuery===r&&this.options.enabled===n.enabled&&o===this.currentRefetchInterval||this.updateRefetchInterval(o)},n.getOptimisticResult=function(e){var t=this.client.defaultQueryObserverOptions(e),n=this.client.getQueryCache().build(this.client,t);return this.createResult(n,t)},n.getCurrentResult=function(){return this.currentResult},n.trackResult=function(e,t){var n=this,r={},a=function(e){n.trackedProps.includes(e)||n.trackedProps.push(e)};return Object.keys(e).forEach((function(t){Object.defineProperty(r,t,{configurable:!1,enumerable:!0,get:function(){return a(t),e[t]}})})),(t.useErrorBoundary||t.suspense)&&a("error"),r},n.getNextResult=function(e){var t=this;return new Promise((function(n,r){var a=t.subscribe((function(t){t.isFetching||(a(),t.isError&&(null==e?void 0:e.throwOnError)?r(t.error):n(t))}))}))},n.getCurrentQuery=function(){return this.currentQuery},n.remove=function(){this.client.getQueryCache().remove(this.currentQuery)},n.refetch=function(e){return this.fetch((0,f.Z)({},e,{meta:{refetchPage:null==e?void 0:e.refetchPage}}))},n.fetchOptimistic=function(e){var t=this,n=this.client.defaultQueryObserverOptions(e),r=this.client.getQueryCache().build(this.client,n);return r.fetch().then((function(){return t.createResult(r,n)}))},n.fetch=function(e){var t=this;return this.executeFetch(e).then((function(){return t.updateResult(),t.currentResult}))},n.executeFetch=function(e){this.updateQuery();var t=this.currentQuery.fetch(this.options,e);return(null==e?void 0:e.throwOnError)||(t=t.catch(m.ZT)),t},n.updateStaleTimeout=function(){var e=this;if(this.clearStaleTimeout(),!m.sk&&!this.currentResult.isStale&&(0,m.PN)(this.options.staleTime)){var t=(0,m.Kp)(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout((function(){e.currentResult.isStale||e.updateResult()}),t)}},n.computeRefetchInterval=function(){var e;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e},n.updateRefetchInterval=function(e){var t=this;this.clearRefetchInterval(),this.currentRefetchInterval=e,!m.sk&&!1!==this.options.enabled&&(0,m.PN)(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval((function(){(t.options.refetchIntervalInBackground||b.j.isFocused())&&t.executeFetch()}),this.currentRefetchInterval))},n.updateTimers=function(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())},n.clearTimers=function(){this.clearStaleTimeout(),this.clearRefetchInterval()},n.clearStaleTimeout=function(){clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0},n.clearRefetchInterval=function(){clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0},n.createResult=function(e,t){var n,r=this.currentQuery,a=this.options,o=this.currentResult,s=this.currentResultState,l=this.currentResultOptions,c=e!==r,u=c?e.state:this.currentQueryInitialState,d=c?this.currentResult:this.previousQueryResult,p=e.state,_=p.dataUpdatedAt,f=p.error,h=p.errorUpdatedAt,b=p.isFetching,g=p.status,v=!1,y=!1;if(t.optimisticResults){var x=this.hasListeners(),I=!x&&S(e,t),E=x&&T(e,r,t,a);(I||E)&&(b=!0,_||(g="loading"))}if(t.keepPreviousData&&!p.dataUpdateCount&&(null==d?void 0:d.isSuccess)&&"error"!==g)n=d.data,_=d.dataUpdatedAt,g=d.status,v=!0;else if(t.select&&void 0!==p.data)if(o&&p.data===(null==s?void 0:s.data)&&t.select===this.selectFn)n=this.selectResult;else try{this.selectFn=t.select,n=t.select(p.data),!1!==t.structuralSharing&&(n=(0,m.Q$)(null==o?void 0:o.data,n)),this.selectResult=n,this.selectError=null}catch(e){(0,i.j)().error(e),this.selectError=e}else n=p.data;if(void 0!==t.placeholderData&&void 0===n&&("loading"===g||"idle"===g)){var w;if((null==o?void 0:o.isPlaceholderData)&&t.placeholderData===(null==l?void 0:l.placeholderData))w=o.data;else if(w="function"==typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&void 0!==w)try{w=t.select(w),!1!==t.structuralSharing&&(w=(0,m.Q$)(null==o?void 0:o.data,w)),this.selectError=null}catch(e){(0,i.j)().error(e),this.selectError=e}void 0!==w&&(g="success",n=w,y=!0)}return this.selectError&&(f=this.selectError,n=this.selectResult,h=Date.now(),g="error"),{status:g,isLoading:"loading"===g,isSuccess:"success"===g,isError:"error"===g,isIdle:"idle"===g,data:n,dataUpdatedAt:_,error:f,errorUpdatedAt:h,failureCount:p.fetchFailureCount,errorUpdateCount:p.errorUpdateCount,isFetched:p.dataUpdateCount>0||p.errorUpdateCount>0,isFetchedAfterMount:p.dataUpdateCount>u.dataUpdateCount||p.errorUpdateCount>u.errorUpdateCount,isFetching:b,isRefetching:b&&"loading"!==g,isLoadingError:"error"===g&&0===p.dataUpdatedAt,isPlaceholderData:y,isPreviousData:v,isRefetchError:"error"===g&&0!==p.dataUpdatedAt,isStale:A(e,t),refetch:this.refetch,remove:this.remove}},n.shouldNotifyListeners=function(e,t){if(!t)return!0;var n=this.options,r=n.notifyOnChangeProps,a=n.notifyOnChangePropsExclusions;if(!r&&!a)return!0;if("tracked"===r&&!this.trackedProps.length)return!0;var o="tracked"===r?this.trackedProps:r;return Object.keys(e).some((function(n){var r=n,i=e[r]!==t[r],s=null==o?void 0:o.some((function(e){return e===n})),l=null==a?void 0:a.some((function(e){return e===n}));return i&&!l&&(!o||s)}))},n.updateResult=function(e){var t=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!(0,m.VS)(this.currentResult,t)){var n={cache:!0};!1!==(null==e?void 0:e.listeners)&&this.shouldNotifyListeners(this.currentResult,t)&&(n.listeners=!0),this.notify((0,f.Z)({},n,e))}},n.updateQuery=function(){var e=this.client.getQueryCache().build(this.client,this.options);if(e!==this.currentQuery){var t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}},n.onQueryUpdate=function(e){var t={};"success"===e.type?t.onSuccess=!0:"error"!==e.type||(0,v.DV)(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()},n.notify=function(e){var t=this;r.V.batch((function(){e.onSuccess?(null==t.options.onSuccess||t.options.onSuccess(t.currentResult.data),null==t.options.onSettled||t.options.onSettled(t.currentResult.data,null)):e.onError&&(null==t.options.onError||t.options.onError(t.currentResult.error),null==t.options.onSettled||t.options.onSettled(void 0,t.currentResult.error)),e.listeners&&t.listeners.forEach((function(e){e(t.currentResult)})),e.cache&&t.client.getQueryCache().notify({query:t.currentQuery,type:"observerResultsUpdated"})}))},t}(g.l);function S(e,t){return function(e,t){return!(!1===t.enabled||e.state.dataUpdatedAt||"error"===e.state.status&&!1===t.retryOnMount)}(e,t)||e.state.dataUpdatedAt>0&&x(e,t,t.refetchOnMount)}function x(e,t,n){if(!1!==t.enabled){var r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&A(e,t)}return!1}function T(e,t,n,r){return!1!==n.enabled&&(e!==t||!1===r.enabled)&&(!n.suspense||"error"!==e.state.status)&&A(e,n)}function A(e,t){return e.isStaleByTime(t.staleTime)}function I(){var e=!1;return{clearReset:function(){e=!1},reset:function(){e=!0},isReset:function(){return e}}}var E=c().createContext(I());function w(e,t){var n=c().useRef(!1),a=c().useState(0)[1],o=function(){var e=c().useContext(p(c().useContext(d)));if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e}(),i=c().useContext(E),s=o.defaultQueryObserverOptions(e);s.optimisticResults=!0,s.onError&&(s.onError=r.V.batchCalls(s.onError)),s.onSuccess&&(s.onSuccess=r.V.batchCalls(s.onSuccess)),s.onSettled&&(s.onSettled=r.V.batchCalls(s.onSettled)),s.suspense&&("number"!=typeof s.staleTime&&(s.staleTime=1e3),0===s.cacheTime&&(s.cacheTime=1)),(s.suspense||s.useErrorBoundary)&&(i.isReset()||(s.retryOnMount=!1));var l,u,_,f=c().useState((function(){return new t(o,s)}))[0],h=f.getOptimisticResult(s);if(c().useEffect((function(){n.current=!0,i.clearReset();var e=f.subscribe(r.V.batchCalls((function(){n.current&&a((function(e){return e+1}))})));return f.updateResult(),function(){n.current=!1,e()}}),[i,f]),c().useEffect((function(){f.setOptions(s,{listeners:!1})}),[s,f]),s.suspense&&h.isLoading)throw f.fetchOptimistic(s).then((function(e){var t=e.data;null==s.onSuccess||s.onSuccess(t),null==s.onSettled||s.onSettled(t,null)})).catch((function(e){i.clearReset(),null==s.onError||s.onError(e),null==s.onSettled||s.onSettled(void 0,e)}));if(h.isError&&!i.isReset()&&!h.isFetching&&(l=s.suspense,u=s.useErrorBoundary,_=[h.error,f.getCurrentQuery()],"function"==typeof u?u.apply(void 0,_):"boolean"==typeof u?u:l))throw h.error;return"tracked"===s.notifyOnChangeProps&&(h=f.trackResult(h,s)),h}function k(e,t,n){return w((0,m._v)(e,t,n),y)}},5666:e=>{var t=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",i=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var a=t&&t.prototype instanceof m?t:m,o=Object.create(a.prototype),i=new k(r||[]);return o._invoke=function(e,t,n){var r=d;return function(a,o){if(r===_)throw new Error("Generator is already running");if(r===f){if("throw"===a)throw o;return P()}for(n.method=a,n.arg=o;;){var i=n.delegate;if(i){var s=I(i,n);if(s){if(s===h)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=_;var l=u(e,t,n);if("normal"===l.type){if(r=n.done?f:p,l.arg===h)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=f,n.method="throw",n.arg=l.arg)}}}(e,n,i),o}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var d="suspendedStart",p="suspendedYield",_="executing",f="completed",h={};function m(){}function b(){}function g(){}var v={};l(v,o,(function(){return this}));var y=Object.getPrototypeOf,S=y&&y(y(C([])));S&&S!==n&&r.call(S,o)&&(v=S);var x=g.prototype=m.prototype=Object.create(v);function T(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function A(e,t){function n(a,o,i,s){var l=u(e[a],e,o);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==typeof d&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(d).then((function(e){c.value=e,i(c)}),(function(e){return n("throw",e,i,s)}))}s(l.arg)}var a;this._invoke=function(e,r){function o(){return new t((function(t,a){n(e,r,t,a)}))}return a=a?a.then(o,o):o()}}function I(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,I(e,n),"throw"===n.method))return h;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var a=u(r,e.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,h;var o=a.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,h):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function C(e){if(e){var n=e[o];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,i=function n(){for(;++a<e.length;)if(r.call(e,a))return n.value=e[a],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}return{next:P}}function P(){return{value:t,done:!0}}return b.prototype=g,l(x,"constructor",g),l(g,"constructor",b),b.displayName=l(g,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,l(e,s,"GeneratorFunction")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},T(A.prototype),l(A.prototype,i,(function(){return this})),e.AsyncIterator=A,e.async=function(t,n,r,a,o){void 0===o&&(o=Promise);var i=new A(c(t,n,r,a),o);return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},T(x),l(x,s,"Generator"),l(x,o,(function(){return this})),l(x,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=C,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(w),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function a(r,a){return s.type="throw",s.arg=e,n.next=r,a&&(n.method="next",n.arg=t),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(l&&c){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,h):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),w(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;w(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:C(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},3379:e=>{"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var o={},i=[],s=0;s<e.length;s++){var l=e[s],c=r.base?l[0]+r.base:l[0],u=o[c]||0,d="".concat(c," ").concat(u);o[c]=u+1;var p=n(d),_={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)t[p].references++,t[p].updater(_);else{var f=a(_,r);r.byIndex=s,t.splice(s,0,{identifier:d,updater:f,references:1})}i.push(d)}return i}function a(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,a){var o=r(e=e||[],a=a||{});return function(e){e=e||[];for(var i=0;i<o.length;i++){var s=n(o[i]);t[s].references--}for(var l=r(e,a),c=0;c<o.length;c++){var u=n(o[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=l}}},569:e=>{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},9216:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},3565:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},7795:e=>{"use strict";e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var a=void 0!==n.layer;a&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,a&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},4589:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},1739:e=>{e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},8156:e=>{"use strict";e.exports=__WEBPACK_EXTERNAL_MODULE__8156__},5680:e=>{"use strict";if(void 0===__WEBPACK_EXTERNAL_MODULE__5680__){var t=new Error("Cannot find module 'react-dnd'");throw t.code="MODULE_NOT_FOUND",t}e.exports=__WEBPACK_EXTERNAL_MODULE__5680__},2849:e=>{"use strict";if(void 0===__WEBPACK_EXTERNAL_MODULE__2849__){var t=new Error("Cannot find module 'react-dnd-html5-backend'");throw t.code="MODULE_NOT_FOUND",t}e.exports=__WEBPACK_EXTERNAL_MODULE__2849__},7111:e=>{"use strict";e.exports=__WEBPACK_EXTERNAL_MODULE__7111__},5893:()=>{},3878:(e,t,n)=>{"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:()=>r})},5671:(e,t,n)=>{"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:()=>r})},3144:(e,t,n)=>{"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}n.d(t,{Z:()=>a})},4942:(e,t,n)=>{"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:()=>r})},7462:(e,t,n)=>{"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},4578:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(9611);function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.Z)(e,t)}},5267:(e,t,n)=>{"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:()=>r})},4925:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}n.d(t,{Z:()=>r})},9611:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:()=>r})},9439:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(3878);var a=n(8192),o=n(5267);function i(e,t){return(0,r.Z)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){s=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(s)throw a}}return o}}(e,t)||(0,a.Z)(e,t)||(0,o.Z)()}},1002:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:()=>r})},8192:(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}n.d(t,{Z:()=>a})}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={id:e,exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.exports}__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nc=void 0;var __webpack_exports__={};return(()=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{EmbedCodeModal:()=>dn,EmbedCodeModalTypes:()=>e});var e,t=__webpack_require__(8156),n=__webpack_require__.n(t),r=__webpack_require__(6339),a=__webpack_require__(2575),o=__webpack_require__(8767),i=__webpack_require__(9439),s=__webpack_require__(6793);!function(e){e.PLAYER="player",e.VIDEO="video"}(e||(e={}));var l=__webpack_require__(9144),c=__webpack_require__.n(l),u=__webpack_require__(8908),d=__webpack_require__.n(u);
|
|
66
|
+
*/!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var i=a.apply(null,n);i&&e.push(i)}}else if("object"===o)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(n=function(){return a}.apply(t,[]))||(e.exports=n)}()},6017:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(7537),a=n.n(r),o=n(3645),i=n.n(o)()(a());i.push([e.id,".EmbedCode__hint--Fh40S{padding-top:2px}.EmbedCode__input--ZO6KQ{margin:0 !important;padding-bottom:4px !important}.EmbedCode__textArea--KNDhC{color:#aaa !important;background-color:#ddd !important;border:none !important;resize:none}.EmbedCode__copyInput--tkc7M{margin:0 !important;padding-bottom:4px !important}.EmbedCode__copyInput--tkc7M .EmbedCode__textAreaDimensions--N_Vil{height:210px;width:390px}.EmbedCode__disableCopyEvent--EPl_3{pointer-events:none}.EmbedCode__disableCopyEvent--EPl_3 svg{display:none}.EmbedCode__redHelperText--B79vm{color:#d53c00;font-size:14px}.EmbedCode__helperText--gWEii{color:#999;font-size:14px}a.EmbedCode__copyLink--9tc06{text-decoration:none;cursor:pointer;padding-left:4px}.EmbedCode__hint--Fh40S{padding-top:2px}.EmbedCode__input--ZO6KQ{margin:0 !important;padding-bottom:4px !important}.EmbedCode__textArea--KNDhC{color:#8e9093 !important;background-color:#f2f2f3 !important;border:none !important;resize:none}.EmbedCode__copyInput--tkc7M{margin:0 !important;padding-bottom:4px !important}.EmbedCode__copyInput--tkc7M .EmbedCode__textAreaDimensions--N_Vil{height:210px;width:390px}.EmbedCode__disableCopyEvent--EPl_3{pointer-events:none}.EmbedCode__disableCopyEvent--EPl_3 svg{display:none}.EmbedCode__redHelperText--B79vm{color:#d33d00;font-size:14px}.EmbedCode__helperText--gWEii{color:#4d5056;font-size:14px}a.EmbedCode__copyLink--9tc06{text-decoration:none;font-weight:700;cursor:pointer;padding-left:4px}","",{version:3,sources:["webpack://./src/styles/EmbedCode.sass"],names:[],mappings:"AAIE,wBACE,eAAA,CACF,yBACE,mBAAA,CACA,6BAAA,CACF,4BACE,qBAAA,CACA,gCAAA,CACA,sBAAA,CACA,WAAA,CACF,6BACE,mBAAA,CACA,6BAAA,CACA,mEACE,YAAA,CACA,WAAA,CACJ,oCACE,mBAAA,CACA,wCACE,YAAA,CACJ,iCACE,aAAA,CACA,cAAA,CACF,8BACE,UAAA,CACA,cAAA,CACF,6BACE,oBAAA,CAEA,cAAA,CACA,gBAAA,CA9BF,wBACE,eAAA,CACF,yBACE,mBAAA,CACA,6BAAA,CACF,4BACE,wBAAA,CACA,mCAAA,CACA,sBAAA,CACA,WAAA,CACF,6BACE,mBAAA,CACA,6BAAA,CACA,mEACE,YAAA,CACA,WAAA,CACJ,oCACE,mBAAA,CACA,wCACE,YAAA,CACJ,iCACE,aAAA,CACA,cAAA,CACF,8BACE,aAAA,CACA,cAAA,CACF,6BACE,oBAAA,CACA,eAAA,CACA,cAAA,CACA,gBAAA",sourcesContent:["@import './base.sass'\n\n@include themed() using ($theme)\n // Override studio-components styles\n .hint\n padding-top: 2px\n .input\n margin: 0 !important\n padding-bottom: 4px !important\n .textArea\n color: theme($theme, gray-35) !important\n background-color: theme($theme, gray-20) !important\n border: none !important\n resize: none\n .copyInput\n margin: 0 !important\n padding-bottom: 4px !important\n .textAreaDimensions\n height: 210px\n width: 390px\n .disableCopyEvent\n pointer-events: none\n svg\n display: none\n .redHelperText\n color: theme($theme, red)\n font-size: 14px\n .helperText\n color: theme($theme, gray-40)\n font-size: 14px\n a.copyLink\n text-decoration: none\n font-weight: theme($theme, body-small-weight-bold)\n cursor: pointer\n padding-left: 4px\n"],sourceRoot:""}]),i.locals={hint:"EmbedCode__hint--Fh40S",input:"EmbedCode__input--ZO6KQ",textArea:"EmbedCode__textArea--KNDhC",copyInput:"EmbedCode__copyInput--tkc7M",textAreaDimensions:"EmbedCode__textAreaDimensions--N_Vil",disableCopyEvent:"EmbedCode__disableCopyEvent--EPl_3",redHelperText:"EmbedCode__redHelperText--B79vm",helperText:"EmbedCode__helperText--gWEii",copyLink:"EmbedCode__copyLink--9tc06"};const s=i},7094:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(7537),a=n.n(r),o=n(3645),i=n.n(o)()(a());i.push([e.id,'.EmbedCodeModal__videoDetailsContainer--WP99B{margin-bottom:27px}.EmbedCodeModal__mediaData--f0wqn{padding:10px 24px}.EmbedCodeModal__mediaTitle--apmXI{color:#444}.EmbedCodeModal__text--ayO8f,.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__mediaId--GymNT,.EmbedCodeModal__mediaId--GymNT{color:#999;font-size:.875rem;font-weight:400}.EmbedCodeModal__mediaId--GymNT{margin-bottom:10px}.EmbedCodeModal__tooltip--vxe8W{margin-left:8px}.EmbedCodeModal__thumbnail--s0ksv{width:154px !important;height:87px !important}.EmbedCodeModal__previewButton--CFh55{align-self:center}div[data-test-name=copy-toaster]{top:52% !important}.EmbedCodeModal__videoDetailsContainerNew--WpRV3{margin-bottom:27px}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__leftContent--BIBZB{width:540px;margin-right:43px}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__rightContent--BDlYZ{flex-grow:1}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__mediaData--f0wqn{margin-top:23px;padding:0}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__mediaTitle--apmXI{color:#444}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__text--ayO8f,.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__mediaId--GymNT{color:#999;font-size:.875rem;font-weight:400}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__playerSelectLabel--w3Ig6{font-family:Lato,Helvetica,Arial,sans-serif;font-size:.933rem;font-weight:700;line-height:24px;letter-spacing:normal;color:#666;padding:0 0 .4rem}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__playerSelect--rvojt{width:100%}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__getURLBtnContainer--MIRx8{display:inline-flex}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__getURLBtnSpinner--VxbOG{left:-5px;position:relative;margin-right:8px}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__mediaId--GymNT{margin-bottom:25px}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__tooltip--vxe8W{margin-left:8px}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__customPluginNotice--VQKaP{font-size:14px}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__playerLoader--IgdsR{margin-bottom:8px}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__playerLoader--IgdsR video-js{width:539px !important;height:303.2px !important}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__previewButton--CFh55{align-self:center}div[data-test-name=copy-toaster-new]{top:53% !important;left:53% !important}@media only screen and (min-width: 1200px){div[data-test-name=copy-toaster-new]{left:45% !important}}@media only screen and (min-width: 1400px){div[data-test-name=copy-toaster-new]{left:38% !important}}@media only screen and (min-width: 1600px){div[data-test-name=copy-toaster-new]{left:33% !important}}@media only screen and (min-width: 1850px){div[data-test-name=copy-toaster-new]{left:30% !important}}@media only screen and (min-width: 2000px){div[data-test-name=copy-toaster-new]{left:28% !important}}@media only screen and (min-width: 2150px){div[data-test-name=copy-toaster-new]{left:26% !important}}@media only screen and (min-width: 2300px){div[data-test-name=copy-toaster-new]{left:24% !important}}.EmbedCodeModal__videoDetailsContainer--WP99B{margin-bottom:27px}.EmbedCodeModal__mediaData--f0wqn{padding:10px 24px}.EmbedCodeModal__mediaTitle--apmXI{color:#01050e;font-size:1rem;font-weight:700;line-height:24px}.EmbedCodeModal__text--ayO8f,.EmbedCodeModal__mediaId--GymNT,.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__mediaId--GymNT{color:#4d5056;font-size:.875rem;font-weight:normal}.EmbedCodeModal__mediaId--GymNT{margin-bottom:10px}.EmbedCodeModal__tooltip--vxe8W{margin-left:8px}.EmbedCodeModal__thumbnail--s0ksv{width:154px !important;height:87px !important}.EmbedCodeModal__previewButton--CFh55{align-self:center}div[data-test-name=copy-toaster]{top:52% !important}.EmbedCodeModal__videoDetailsContainerNew--WpRV3{margin-bottom:27px}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__leftContent--BIBZB{width:540px;margin-right:43px}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__rightContent--BDlYZ{flex-grow:1}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__mediaData--f0wqn{margin-top:23px;padding:0}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__mediaTitle--apmXI{color:#01050e;font-size:1.333rem;font-weight:800;line-height:28px}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__text--ayO8f,.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__mediaId--GymNT{color:#4d5056;font-size:.875rem;font-weight:normal}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__playerSelectLabel--w3Ig6{font-family:"Public Sans",sans-serif;font-size:.875rem;font-weight:700;line-height:20px;letter-spacing:auto;color:#01050e;padding:0 0 .4rem}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__playerSelect--rvojt{width:100%}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__getURLBtnContainer--MIRx8{display:inline-flex}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__getURLBtnSpinner--VxbOG{left:-5px;position:relative;margin-right:8px}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__mediaId--GymNT{margin-bottom:25px}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__tooltip--vxe8W{margin-left:8px}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__customPluginNotice--VQKaP{font-size:14px}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__playerLoader--IgdsR{margin-bottom:8px}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__playerLoader--IgdsR video-js{width:539px !important;height:303.2px !important}.EmbedCodeModal__videoDetailsContainerNew--WpRV3 .EmbedCodeModal__previewButton--CFh55{align-self:center}div[data-test-name=copy-toaster-new]{top:53% !important;left:53% !important}@media only screen and (min-width: 1200px){div[data-test-name=copy-toaster-new]{left:45% !important}}@media only screen and (min-width: 1400px){div[data-test-name=copy-toaster-new]{left:38% !important}}@media only screen and (min-width: 1600px){div[data-test-name=copy-toaster-new]{left:33% !important}}@media only screen and (min-width: 1850px){div[data-test-name=copy-toaster-new]{left:30% !important}}@media only screen and (min-width: 2000px){div[data-test-name=copy-toaster-new]{left:28% !important}}@media only screen and (min-width: 2150px){div[data-test-name=copy-toaster-new]{left:26% !important}}@media only screen and (min-width: 2300px){div[data-test-name=copy-toaster-new]{left:24% !important}}',"",{version:3,sources:["webpack://./src/styles/EmbedCodeModal.sass"],names:[],mappings:"AAGE,8CACE,kBAAA,CACF,kCACE,iBAAA,CACF,mCACE,UAAA,CAIF,8IACE,UAAA,CACA,iBAAA,CACA,eAAA,CACF,gCAEE,kBAAA,CACF,gCACE,eAAA,CACF,kCACE,sBAAA,CACA,sBAAA,CACF,sCACE,iBAAA,CACF,iCACE,kBAAA,CAIF,iDACE,kBAAA,CACA,qFACE,WAAA,CACA,iBAAA,CACF,sFACE,WAAA,CACF,mFACE,eAAA,CACA,SAAA,CACF,oFACE,UAAA,CAIF,+JACE,UAAA,CACA,iBAAA,CACA,eAAA,CACF,2FACE,2CAAA,CACA,iBAAA,CACA,eAAA,CACA,gBAAA,CACA,qBAAA,CACA,UAAA,CACA,iBAAA,CACF,sFACE,UAAA,CACF,4FACE,mBAAA,CACF,0FACE,SAAA,CACA,iBAAA,CACA,gBAAA,CACF,iFAEE,kBAAA,CACF,iFACE,eAAA,CACF,4FACE,cAAA,CACF,sFAII,iBAAA,CAHA,+FACE,sBAAA,CACA,yBAAA,CAEN,uFACE,iBAAA,CACJ,qCACE,kBAAA,CACA,mBAAA,CACF,2CACE,qCACE,mBAAA,CAAA,CACJ,2CACE,qCACE,mBAAA,CAAA,CACJ,2CACE,qCACE,mBAAA,CAAA,CACJ,2CACE,qCACE,mBAAA,CAAA,CACJ,2CACE,qCACE,mBAAA,CAAA,CACJ,2CACE,qCACE,mBAAA,CAAA,CACJ,2CACE,qCACE,mBAAA,CAAA,CApGJ,8CACE,kBAAA,CACF,kCACE,iBAAA,CACF,mCACE,aAAA,CACA,cAAA,CACA,eAAA,CACA,gBAAA,CACF,8IACE,aAAA,CACA,iBAAA,CACA,kBAAA,CACF,gCAEE,kBAAA,CACF,gCACE,eAAA,CACF,kCACE,sBAAA,CACA,sBAAA,CACF,sCACE,iBAAA,CACF,iCACE,kBAAA,CAIF,iDACE,kBAAA,CACA,qFACE,WAAA,CACA,iBAAA,CACF,sFACE,WAAA,CACF,mFACE,eAAA,CACA,SAAA,CACF,oFACE,aAAA,CACA,kBAAA,CACA,eAAA,CACA,gBAAA,CACF,+JACE,aAAA,CACA,iBAAA,CACA,kBAAA,CACF,2FACE,oCAAA,CACA,iBAAA,CACA,eAAA,CACA,gBAAA,CACA,mBAAA,CACA,aAAA,CACA,iBAAA,CACF,sFACE,UAAA,CACF,4FACE,mBAAA,CACF,0FACE,SAAA,CACA,iBAAA,CACA,gBAAA,CACF,iFAEE,kBAAA,CACF,iFACE,eAAA,CACF,4FACE,cAAA,CACF,sFAII,iBAAA,CAHA,+FACE,sBAAA,CACA,yBAAA,CAEN,uFACE,iBAAA,CACJ,qCACE,kBAAA,CACA,mBAAA,CACF,2CACE,qCACE,mBAAA,CAAA,CACJ,2CACE,qCACE,mBAAA,CAAA,CACJ,2CACE,qCACE,mBAAA,CAAA,CACJ,2CACE,qCACE,mBAAA,CAAA,CACJ,2CACE,qCACE,mBAAA,CAAA,CACJ,2CACE,qCACE,mBAAA,CAAA,CACJ,2CACE,qCACE,mBAAA,CAAA",sourcesContent:['@import \'./base.sass\'\n\n@include themed() using ($theme)\n .videoDetailsContainer\n margin-bottom: 27px\n .mediaData\n padding: 10px theme($theme, gutter-width)\n .mediaTitle\n color: theme($theme, text-primary-dark)\n font-size: theme($theme, heading-xxs-size)\n font-weight: theme($theme, heading-xxs-weight)\n line-height: theme($theme, heading-xxs-line-height)\n .text\n color: theme($theme, gray-40)\n font-size: theme($theme, body-small-text-size)\n font-weight: theme($theme, body-small-weight-normal)\n .mediaId\n @extend .text\n margin-bottom: 10px\n .tooltip\n margin-left: theme($theme, padding-sm)\n .thumbnail\n width: 154px !important\n height: 87px !important\n .previewButton\n align-self: center\n div[data-test-name="copy-toaster"]\n top: 52% !important\n\n // Styling for new design.\n // TODO: Delete previous styles and remove \'new\' from naming when old design gets removed\n .videoDetailsContainerNew\n margin-bottom: 27px\n .leftContent\n width: 540px\n margin-right: 43px\n .rightContent\n flex-grow: 1\n .mediaData\n margin-top: 23px\n padding: 0\n .mediaTitle\n color: theme($theme, text-primary-dark)\n font-size: theme($theme, heading-xs-size)\n font-weight: theme($theme, heading-weight)\n line-height: theme($theme, heading-xs-line-height)\n .text\n color: theme($theme, gray-40)\n font-size: theme($theme, body-small-text-size)\n font-weight: theme($theme, body-small-weight-normal)\n .playerSelectLabel\n font-family: theme($theme, label-font)\n font-size: theme($theme, label-font-size)\n font-weight: theme($theme, label-font-weight)\n line-height: theme($theme, label-line-height)\n letter-spacing: theme($theme, label-letter-spacing)\n color: theme($theme, label-color)\n padding: 0 0 .4rem\n .playerSelect\n width: 100%\n .getURLBtnContainer\n display: inline-flex\n .getURLBtnSpinner\n left: -5px\n position: relative\n margin-right: 8px\n .mediaId\n @extend .text\n margin-bottom: 25px\n .tooltip\n margin-left: theme($theme, padding-sm)\n .customPluginNotice\n font-size: 14px\n .playerLoader\n video-js\n width: 539px !important\n height: 303.2px !important\n margin-bottom: theme($theme, padding-sm)\n .previewButton\n align-self: center\n div[data-test-name="copy-toaster-new"]\n top: 53% !important\n left: 53% !important\n @media only screen and (min-width: 1200px)\n div[data-test-name="copy-toaster-new"]\n left: 45% !important\n @media only screen and (min-width: 1400px)\n div[data-test-name="copy-toaster-new"]\n left: 38% !important\n @media only screen and (min-width: 1600px)\n div[data-test-name="copy-toaster-new"]\n left: 33% !important\n @media only screen and (min-width: 1850px)\n div[data-test-name="copy-toaster-new"]\n left: 30% !important\n @media only screen and (min-width: 2000px)\n div[data-test-name="copy-toaster-new"]\n left: 28% !important\n @media only screen and (min-width: 2150px)\n div[data-test-name="copy-toaster-new"]\n left: 26% !important\n @media only screen and (min-width: 2300px)\n div[data-test-name="copy-toaster-new"]\n left: 24% !important\n'],sourceRoot:""}]),i.locals={videoDetailsContainer:"EmbedCodeModal__videoDetailsContainer--WP99B",mediaData:"EmbedCodeModal__mediaData--f0wqn",mediaTitle:"EmbedCodeModal__mediaTitle--apmXI",text:"EmbedCodeModal__text--ayO8f",videoDetailsContainerNew:"EmbedCodeModal__videoDetailsContainerNew--WpRV3",mediaId:"EmbedCodeModal__mediaId--GymNT",tooltip:"EmbedCodeModal__tooltip--vxe8W",thumbnail:"EmbedCodeModal__thumbnail--s0ksv",previewButton:"EmbedCodeModal__previewButton--CFh55",leftContent:"EmbedCodeModal__leftContent--BIBZB",rightContent:"EmbedCodeModal__rightContent--BDlYZ",playerSelectLabel:"EmbedCodeModal__playerSelectLabel--w3Ig6",playerSelect:"EmbedCodeModal__playerSelect--rvojt",getURLBtnContainer:"EmbedCodeModal__getURLBtnContainer--MIRx8",getURLBtnSpinner:"EmbedCodeModal__getURLBtnSpinner--VxbOG",customPluginNotice:"EmbedCodeModal__customPluginNotice--VQKaP",playerLoader:"EmbedCodeModal__playerLoader--IgdsR"};const s=i},3645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,a,o){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(i[l]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);r&&i[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),a&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=a):u[4]="".concat(a)),t.push(u))}},t}},7537:e=>{"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),o="/*# ".concat(a," */"),i=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[t].concat(i).concat([o]).join("\n")}return[t].join("\n")}},9144:(e,t,n)=>{var r,a=void 0!==n.g?n.g:"undefined"!=typeof window?window:{},o=n(5893);"undefined"!=typeof document?r=document:(r=a["__GLOBAL_DOCUMENT_CACHE@4"])||(r=a["__GLOBAL_DOCUMENT_CACHE@4"]=o),e.exports=r},8908:(e,t,n)=>{var r;r="undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{},e.exports=r},6073:(e,t,n)=>{"use strict";var r=n(8),a=n(4575),o=n(3913),i=n(1506),s=n(2205),l=n(8585),c=n(9754),u=n(9713),d=n(8551);function p(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _=p(r),f=p(a),h=p(o),m=p(i),b=p(s),g=p(l),v=p(c),y=p(u),S=p(d);function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(Object(n),!0).forEach((function(t){y.default(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var A={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},I=new(function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};f.default(this,e),this.init(t,n)}return h.default(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||A,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]="".concat(n).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}},{key:"create",value:function(t){return new e(this.logger,T(T({},{prefix:"".concat(this.prefix,":").concat(t,":")}),this.options))}}]),e}()),E=function(){function e(){f.default(this,e),this.observers={}}return h.default(e,[{key:"on",value:function(e,t){var n=this;return e.split(" ").forEach((function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)})),this}},{key:"off",value:function(e,t){this.observers[e]&&(t?this.observers[e]=this.observers[e].filter((function(e){return e!==t})):delete this.observers[e])}},{key:"emit",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(this.observers[e]){var a=[].concat(this.observers[e]);a.forEach((function(e){e.apply(void 0,n)}))}if(this.observers["*"]){var o=[].concat(this.observers["*"]);o.forEach((function(t){t.apply(t,[e].concat(n))}))}}}]),e}();function w(){var e,t,n=new Promise((function(n,r){e=n,t=r}));return n.resolve=e,n.reject=t,n}function k(e){return null==e?"":""+e}function C(e,t,n){e.forEach((function(e){t[e]&&(n[e]=t[e])}))}function P(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function a(){return!e||"string"==typeof e}for(var o="string"!=typeof t?[].concat(t):t.split(".");o.length>1;){if(a())return{};var i=r(o.shift());!e[i]&&n&&(e[i]=new n),e=Object.prototype.hasOwnProperty.call(e,i)?e[i]:{}}return a()?{}:{obj:e,k:r(o.shift())}}function O(e,t,n){var r=P(e,t,Object);r.obj[r.k]=n}function M(e,t){var n=P(e,t),r=n.obj,a=n.k;if(r)return r[a]}function R(e,t,n){var r=M(e,n);return void 0!==r?r:M(t,n)}function D(e,t,n){for(var r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"==typeof e[r]||e[r]instanceof String||"string"==typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):D(e[r],t[r],n):e[r]=t[r]);return e}function B(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var L={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function N(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(function(e){return L[e]})):e}var F="undefined"!=typeof window&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,z=[" ",",","?","!",";"];function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function V(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(Object(n),!0).forEach((function(t){y.default(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function G(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v.default(e);if(t){var a=v.default(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return g.default(this,n)}}function H(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),a=e,o=0;o<r.length;++o){if(!a)return;if("string"==typeof a[r[o]]&&o+1<r.length)return;if(void 0===a[r[o]]){for(var i=2,s=r.slice(o,o+i).join(n),l=a[s];void 0===l&&r.length>o+i;)i++,l=a[s=r.slice(o,o+i).join(n)];if(void 0===l)return;if(t.endsWith(s)){if("string"==typeof l)return l;if(s&&"string"==typeof l[s])return l[s]}var c=r.slice(o+i).join(n);return c?H(l,c,n):void 0}a=a[r[o]]}return a}}var U=function(e){b.default(n,e);var t=G(n);function n(e){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return f.default(this,n),r=t.call(this),F&&E.call(m.default(r)),r.data=e||{},r.options=a,void 0===r.options.keySeparator&&(r.options.keySeparator="."),void 0===r.options.ignoreJSONStructure&&(r.options.ignoreJSONStructure=!0),r}return h.default(n,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,o=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,i=[e,t];n&&"string"!=typeof n&&(i=i.concat(n)),n&&"string"==typeof n&&(i=i.concat(a?n.split(a):n)),e.indexOf(".")>-1&&(i=e.split("."));var s=M(this.data,i);return s||!o||"string"!=typeof n?s:H(this.data&&this.data[e]&&this.data[e][t],n,a)}},{key:"addResource",value:function(e,t,n,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},o=this.options.keySeparator;void 0===o&&(o=".");var i=[e,t];n&&(i=i.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(r=t,t=(i=e.split("."))[1]),this.addNamespaces(t),O(this.data,i,r),a.silent||this.emit("added",e,t,n,r)}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var a in n)"string"!=typeof n[a]&&"[object Array]"!==Object.prototype.toString.apply(n[a])||this.addResource(e,t,a,n[a],{silent:!0});r.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,r,a){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},i=[e,t];e.indexOf(".")>-1&&(r=n,n=t,t=(i=e.split("."))[1]),this.addNamespaces(t);var s=M(this.data,i)||{};r?D(s,n,a):s=V(V({},s),n),O(this.data,i,s),o.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?V(V({},{}),this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"hasLanguageSomeTranslations",value:function(e){var t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((function(e){return t[e]&&Object.keys(t[e]).length>0}))}},{key:"toJSON",value:function(){return this.data}}]),n}(E),Q={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,a){var o=this;return e.forEach((function(e){o.processors[e]&&(t=o.processors[e].process(t,n,r,a))})),t}};function W(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function K(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?W(Object(n),!0).forEach((function(t){y.default(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):W(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Z(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v.default(e);if(t){var a=v.default(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return g.default(this,n)}}var q={},Y=function(e){b.default(n,e);var t=Z(n);function n(e){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return f.default(this,n),r=t.call(this),F&&E.call(m.default(r)),C(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,m.default(r)),r.options=a,void 0===r.options.keySeparator&&(r.options.keySeparator="."),r.logger=I.create("translator"),r}return h.default(n,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;var n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,a=t.ns||this.options.defaultNS||[],o=n&&e.indexOf(n)>-1,i=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||function(e,t,n){t=t||"",n=n||"";var r=z.filter((function(e){return t.indexOf(e)<0&&n.indexOf(e)<0}));if(0===r.length)return!0;var a=new RegExp("(".concat(r.map((function(e){return"?"===e?"\\?":e})).join("|"),")")),o=!a.test(e);if(!o){var i=e.indexOf(n);i>0&&!a.test(e.substring(0,i))&&(o=!0)}return o}(e,n,r));if(o&&!i){var s=e.match(this.interpolator.nestingRegexp);if(s&&s.length>0)return{key:e,namespaces:a};var l=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(l[0])>-1)&&(a=l.shift()),e=l.join(r)}return"string"==typeof a&&(a=[a]),{key:e,namespaces:a}}},{key:"translate",value:function(e,t,r){var a=this;if("object"!==_.default(t)&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);var o=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,i=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,s=this.extractFromKey(e[e.length-1],t),l=s.key,c=s.namespaces,u=c[c.length-1],d=t.lng||this.language,p=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d&&"cimode"===d.toLowerCase()){if(p){var f=t.nsSeparator||this.options.nsSeparator;return o?(h.res="".concat(u).concat(f).concat(l),h):"".concat(u).concat(f).concat(l)}return o?(h.res=l,h):l}var h=this.resolve(e,t),m=h&&h.res,b=h&&h.usedKey||l,g=h&&h.exactUsedKey||l,v=Object.prototype.toString.apply(m),y=["[object Number]","[object Function]","[object RegExp]"],S=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,x=!this.i18nFormat||this.i18nFormat.handleAsObject,T="string"!=typeof m&&"boolean"!=typeof m&&"number"!=typeof m;if(x&&m&&T&&y.indexOf(v)<0&&("string"!=typeof S||"[object Array]"!==v)){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var A=this.options.returnedObjectHandler?this.options.returnedObjectHandler(b,m,K(K({},t),{},{ns:c})):"key '".concat(l," (").concat(this.language,")' returned an object instead of string.");return o?(h.res=A,h):A}if(i){var I="[object Array]"===v,E=I?[]:{},w=I?g:b;for(var k in m)if(Object.prototype.hasOwnProperty.call(m,k)){var C="".concat(w).concat(i).concat(k);E[k]=this.translate(C,K(K({},t),{joinArrays:!1,ns:c})),E[k]===C&&(E[k]=m[k])}m=E}}else if(x&&"string"==typeof S&&"[object Array]"===v)(m=m.join(S))&&(m=this.extendTranslation(m,e,t,r));else{var P=!1,O=!1,M=void 0!==t.count&&"string"!=typeof t.count,R=n.hasDefaultValue(t),D=M?this.pluralResolver.getSuffix(d,t.count,t):"",B=t["defaultValue".concat(D)]||t.defaultValue;!this.isValidLookup(m)&&R&&(P=!0,m=B),this.isValidLookup(m)||(O=!0,m=l);var L=t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,N=L&&O?void 0:m,F=R&&B!==m&&this.options.updateMissing;if(O||P||F){if(this.logger.log(F?"updateKey":"missingKey",d,u,l,F?B:m),i){var z=this.resolve(l,K(K({},t),{},{keySeparator:!1}));z&&z.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var j=[],V=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&V&&V[0])for(var G=0;G<V.length;G++)j.push(V[G]);else"all"===this.options.saveMissingTo?j=this.languageUtils.toResolveHierarchy(t.lng||this.language):j.push(t.lng||this.language);var H=function(e,n,r){var o=R&&r!==m?r:N;a.options.missingKeyHandler?a.options.missingKeyHandler(e,u,n,o,F,t):a.backendConnector&&a.backendConnector.saveMissing&&a.backendConnector.saveMissing(e,u,n,o,F,t),a.emit("missingKey",e,u,n,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&M?j.forEach((function(e){a.pluralResolver.getSuffixes(e,t).forEach((function(n){H([e],l+n,t["defaultValue".concat(n)]||B)}))})):H(j,l,B))}m=this.extendTranslation(m,e,t,h,r),O&&m===l&&this.options.appendNamespaceToMissingKey&&(m="".concat(u,":").concat(l)),(O||P)&&this.options.parseMissingKeyHandler&&(m="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(l,P?m:void 0):this.options.parseMissingKeyHandler(m))}return o?(h.res=m,h):m}},{key:"extendTranslation",value:function(e,t,n,r,a){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,K(K({},this.options.interpolation.defaultVariables),n),r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(K(K({},n),{interpolation:K(K({},this.options.interpolation),n.interpolation)}));var i,s="string"==typeof e&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(s){var l=e.match(this.interpolator.nestingRegexp);i=l&&l.length}var c=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(c=K(K({},this.options.interpolation.defaultVariables),c)),e=this.interpolator.interpolate(e,c,n.lng||this.language,n),s){var u=e.match(this.interpolator.nestingRegexp);i<(u&&u.length)&&(n.nest=!1)}!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return a&&a[0]===r[0]&&!n.context?(o.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(t[0])),null):o.translate.apply(o,r.concat([t]))}),n)),n.interpolation&&this.interpolator.reset()}var d=n.postProcess||this.options.postProcess,p="string"==typeof d?[d]:d;return null!=e&&p&&p.length&&!1!==n.applyPostProcessor&&(e=Q.handle(p,e,t,this.options&&this.options.postProcessPassResolved?K({i18nResolved:r},n):n,this)),e}},{key:"resolve",value:function(e){var t,n,r,a,o,i=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((function(e){if(!i.isValidLookup(t)){var l=i.extractFromKey(e,s),c=l.key;n=c;var u=l.namespaces;i.options.fallbackNS&&(u=u.concat(i.options.fallbackNS));var d=void 0!==s.count&&"string"!=typeof s.count,p=d&&!s.ordinal&&0===s.count&&i.pluralResolver.shouldUseIntlApi(),_=void 0!==s.context&&("string"==typeof s.context||"number"==typeof s.context)&&""!==s.context,f=s.lngs?s.lngs:i.languageUtils.toResolveHierarchy(s.lng||i.language,s.fallbackLng);u.forEach((function(e){i.isValidLookup(t)||(o=e,!q["".concat(f[0],"-").concat(e)]&&i.utils&&i.utils.hasLoadedNamespace&&!i.utils.hasLoadedNamespace(o)&&(q["".concat(f[0],"-").concat(e)]=!0,i.logger.warn('key "'.concat(n,'" for languages "').concat(f.join(", "),'" won\'t get resolved as namespace "').concat(o,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),f.forEach((function(n){if(!i.isValidLookup(t)){a=n;var o,l=[c];if(i.i18nFormat&&i.i18nFormat.addLookupKeys)i.i18nFormat.addLookupKeys(l,c,n,e,s);else{var u;d&&(u=i.pluralResolver.getSuffix(n,s.count,s));var f="_zero";if(d&&(l.push(c+u),p&&l.push(c+f)),_){var h="".concat(c).concat(i.options.contextSeparator).concat(s.context);l.push(h),d&&(l.push(h+u),p&&l.push(h+f))}}for(;o=l.pop();)i.isValidLookup(t)||(r=o,t=i.getResource(n,e,o,s))}})))}))}})),{res:t,usedKey:n,exactUsedKey:r,usedLng:a,usedNS:o}}},{key:"isValidLookup",value:function(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:"hasDefaultValue",value:function(e){var t="defaultValue";for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,t.length)&&void 0!==e[n])return!0;return!1}}]),n}(E);function J(e){return e.charAt(0).toUpperCase()+e.slice(1)}var X=function(){function e(t){f.default(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=I.create("languageUtils")}return h.default(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map((function(e){return e.toLowerCase()})):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=J(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=J(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=J(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach((function(e){if(!t){var r=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(r)||(t=r)}})),!t&&this.options.supportedLngs&&e.forEach((function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find((function(e){if(0===e.indexOf(r))return e}))}})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),a=[],o=function(e){e&&(n.isSupportedCode(e)?a.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(e))):"string"==typeof e&&o(this.formatLanguageCode(e)),r.forEach((function(e){a.indexOf(e)<0&&o(n.formatLanguageCode(e))})),a}}]),e}(),$=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],ee={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},te=["v1","v2","v3"],ne={zero:0,one:1,two:2,few:3,many:4,other:5};function re(){var e={};return $.forEach((function(t){t.lngs.forEach((function(n){e[n]={numbers:t.nr,plurals:ee[t.fc]}}))})),e}var ae=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};f.default(this,e),this.languageUtils=t,this.options=n,this.logger=I.create("pluralResolver"),this.options.compatibilityJSON&&"v4"!==this.options.compatibilityJSON||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=re()}return h.default(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(e,{type:t.ordinal?"ordinal":"cardinal"})}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map((function(e){return"".concat(t).concat(e)}))}},{key:"getSuffixes",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((function(e,t){return ne[e]-ne[t]})).map((function(e){return"".concat(t.options.prepend).concat(e)})):r.numbers.map((function(r){return t.getSuffix(e,r,n)})):[]}},{key:"getSuffix",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(r.select(t)):this.getSuffixRetroCompatible(r,t):(this.logger.warn("no plural rule found for: ".concat(e)),"")}},{key:"getSuffixRetroCompatible",value:function(e,t){var n=this,r=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),a=e.numbers[r];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===a?a="plural":1===a&&(a=""));var o=function(){return n.options.prepend&&a.toString()?n.options.prepend+a.toString():a.toString()};return"v1"===this.options.compatibilityJSON?1===a?"":"number"==typeof a?"_plural_".concat(a.toString()):o():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?o():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}},{key:"shouldUseIntlApi",value:function(){return!te.includes(this.options.compatibilityJSON)}}]),e}();function oe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ie(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(n),!0).forEach((function(t){y.default(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var se=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};f.default(this,e),this.logger=I.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return h.default(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:N,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?B(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?B(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?B(t.nestingPrefix):t.nestingPrefixEscaped||B("$t("),this.nestingSuffix=t.nestingSuffix?B(t.nestingSuffix):t.nestingSuffixEscaped||B(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,r){var a,o,i,s=this,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(e){return e.replace(/\$/g,"$$$$")}var u=function(e){if(e.indexOf(s.formatSeparator)<0){var a=R(t,l,e);return s.alwaysFormat?s.format(a,void 0,n,ie(ie(ie({},r),t),{},{interpolationkey:e})):a}var o=e.split(s.formatSeparator),i=o.shift().trim(),c=o.join(s.formatSeparator).trim();return s.format(R(t,l,i),c,n,ie(ie(ie({},r),t),{},{interpolationkey:i}))};this.resetRegExp();var d=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,p=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return c(e)}},{regex:this.regexp,safeValue:function(e){return s.escapeValue?c(s.escape(e)):c(e)}}].forEach((function(t){for(i=0;a=t.regex.exec(e);){var n=a[1].trim();if(void 0===(o=u(n)))if("function"==typeof d){var l=d(e,a,r);o="string"==typeof l?l:""}else if(r&&r.hasOwnProperty(n))o="";else{if(p){o=a[0];continue}s.logger.warn("missed to pass in variable ".concat(n," for interpolating ").concat(e)),o=""}else"string"==typeof o||s.useRawValueToEscape||(o=k(o));var c=t.safeValue(o);if(e=e.replace(a[0],c),p?(t.regex.lastIndex+=c.length,t.regex.lastIndex-=a[0].length):t.regex.lastIndex=0,++i>=s.maxReplaces)break}})),e}},{key:"nest",value:function(e,t){var n,r,a=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=ie({},o);function s(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),a="{".concat(r[1]);e=r[0],a=(a=this.interpolate(a,i)).replace(/'/g,'"');try{i=JSON.parse(a),t&&(i=ie(ie({},t),i))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(a)}return delete i.defaultValue,e}for(i.applyPostProcessor=!1,delete i.defaultValue;n=this.nestingRegexp.exec(e);){var l=[],c=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var u=n[1].split(this.formatSeparator).map((function(e){return e.trim()}));n[1]=u.shift(),l=u,c=!0}if((r=t(s.call(this,n[1].trim(),i),i))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=k(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),c&&(r=l.reduce((function(e,t){return a.format(e,t,o.lng,ie(ie({},o),{},{interpolationkey:n[1].trim()}))}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}]),e}();function le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?le(Object(n),!0).forEach((function(t){y.default(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):le(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ue=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};f.default(this,e),this.logger=I.create("formatter"),this.options=t,this.formats={number:function(e,t,n){return new Intl.NumberFormat(t,n).format(e)},currency:function(e,t,n){return new Intl.NumberFormat(t,ce(ce({},n),{},{style:"currency"})).format(e)},datetime:function(e,t,n){return new Intl.DateTimeFormat(t,ce({},n)).format(e)},relativetime:function(e,t,n){return new Intl.RelativeTimeFormat(t,ce({},n)).format(e,n.range||"day")},list:function(e,t,n){return new Intl.ListFormat(t,ce({},n)).format(e)}},this.init(t)}return h.default(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},n=t.interpolation;this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||","}},{key:"add",value:function(e,t){this.formats[e.toLowerCase().trim()]=t}},{key:"format",value:function(e,t,n,r){var a=this;return t.split(this.formatSeparator).reduce((function(e,t){var o=function(e){var t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){var r=e.split("(");t=r[0].toLowerCase().trim();var a=r[1].substring(0,r[1].length-1);"currency"===t&&a.indexOf(":")<0?n.currency||(n.currency=a.trim()):"relativetime"===t&&a.indexOf(":")<0?n.range||(n.range=a.trim()):a.split(";").forEach((function(e){if(e){var t=e.split(":"),r=S.default(t),a=r[0],o=r.slice(1).join(":");n[a.trim()]||(n[a.trim()]=o.trim()),"false"===o.trim()&&(n[a.trim()]=!1),"true"===o.trim()&&(n[a.trim()]=!0),isNaN(o.trim())||(n[a.trim()]=parseInt(o.trim(),10))}}))}return{formatName:t,formatOptions:n}}(t),i=o.formatName,s=o.formatOptions;if(a.formats[i]){var l=e;try{var c=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},u=c.locale||c.lng||r.locale||r.lng||n;l=a.formats[i](e,u,ce(ce(ce({},s),r),c))}catch(e){a.logger.warn(e)}return l}return a.logger.warn("there was no format function for ".concat(i)),e}),e)}}]),e}();function de(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?de(Object(n),!0).forEach((function(t){y.default(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):de(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _e(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v.default(e);if(t){var a=v.default(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return g.default(this,n)}}var fe=function(e){b.default(n,e);var t=_e(n);function n(e,r,a){var o,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return f.default(this,n),o=t.call(this),F&&E.call(m.default(o)),o.backend=e,o.store=r,o.services=a,o.languageUtils=a.languageUtils,o.options=i,o.logger=I.create("backendConnector"),o.waitingReads=[],o.maxParallelReads=i.maxParallelReads||10,o.readingCalls=0,o.state={},o.queue=[],o.backend&&o.backend.init&&o.backend.init(a,i.backend,i),o}return h.default(n,[{key:"queueLoad",value:function(e,t,n,r){var a=this,o={},i={},s={},l={};return e.forEach((function(e){var r=!0;t.forEach((function(t){var s="".concat(e,"|").concat(t);!n.reload&&a.store.hasResourceBundle(e,t)?a.state[s]=2:a.state[s]<0||(1===a.state[s]?void 0===i[s]&&(i[s]=!0):(a.state[s]=1,r=!1,void 0===i[s]&&(i[s]=!0),void 0===o[s]&&(o[s]=!0),void 0===l[t]&&(l[t]=!0)))})),r||(s[e]=!0)})),(Object.keys(o).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(o),pending:Object.keys(i),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(l)}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),a=r[0],o=r[1];t&&this.emit("failedLoading",a,o,t),n&&this.store.addResourceBundle(a,o,n),this.state[e]=t?-1:2;var i={};this.queue.forEach((function(n){var r,s,l,c,u,d;r=n.loaded,s=o,c=P(r,[a],Object),u=c.obj,d=c.k,u[d]=u[d]||[],l&&(u[d]=u[d].concat(s)),l||u[d].push(s),function(e,t){delete e.pending[t],e.pendingCount--}(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach((function(e){i[e]||(i[e]={});var t=Object.keys(i[e]);t.length&&t.forEach((function(n){void 0!==t[n]&&(i[e][n]=!0)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",i),this.queue=this.queue.filter((function(e){return!e.done}))}},{key:"read",value:function(e,t,n){var r=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:350,i=arguments.length>5?arguments[5]:void 0;return e.length?this.readingCalls>=this.maxParallelReads?void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:a,wait:o,callback:i}):(this.readingCalls++,this.backend[n](e,t,(function(s,l){if(s&&l&&a<5)setTimeout((function(){r.read.call(r,e,t,n,a+1,2*o,i)}),o);else{if(r.readingCalls--,r.waitingReads.length>0){var c=r.waitingReads.shift();r.read(c.lng,c.ns,c.fcName,c.tried,c.wait,c.callback)}i(s,l)}}))):i(null,{})}},{key:"prepareLoading",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var o=this.queueLoad(e,t,r,a);if(!o.toLoad.length)return o.pending.length||a(),null;o.toLoad.forEach((function(e){n.loadOne(e)}))}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),a=r[0],o=r[1];this.read(a,o,"read",void 0,void 0,(function(r,i){r&&t.logger.warn("".concat(n,"loading namespace ").concat(o," for language ").concat(a," failed"),r),!r&&i&&t.logger.log("".concat(n,"loaded namespace ").concat(o," for language ").concat(a),i),t.loaded(e,r,i)}))}},{key:"saveMissing",value:function(e,t,n,r,a){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)?this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):null!=n&&""!==n&&(this.backend&&this.backend.create&&this.backend.create(e,t,n,r,null,pe(pe({},o),{},{isUpdate:a})),e&&e[0]&&this.store.addResource(e[0],t,n,r))}}]),n}(E);function he(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===_.default(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===_.default(e[2])||"object"===_.default(e[3])){var n=e[3]||e[2];Object.keys(n).forEach((function(e){t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function me(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function be(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ge(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?be(Object(n),!0).forEach((function(t){y.default(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):be(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ve(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v.default(e);if(t){var a=v.default(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return g.default(this,n)}}function ye(){}function Se(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((function(t){"function"==typeof e[t]&&(e[t]=e[t].bind(e))}))}var xe=function(e){b.default(n,e);var t=ve(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;if(f.default(this,n),e=t.call(this),F&&E.call(m.default(e)),e.options=me(r),e.services={},e.logger=I,e.modules={external:[]},Se(m.default(e)),a&&!e.isInitialized&&!r.isClone){if(!e.options.initImmediate)return e.init(r,a),g.default(e,m.default(e));setTimeout((function(){e.init(r,a)}),0)}return e}return h.default(n,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;"function"==typeof t&&(n=t,t={}),!t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));var r=he();function a(e){return e?"function"==typeof e?new e:e:null}if(this.options=ge(ge(ge({},r),this.options),me(t)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=ge(ge({},r.interpolation),this.options.interpolation)),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){var o;this.modules.logger?I.init(a(this.modules.logger),this.options):I.init(null,this.options),this.modules.formatter?o=this.modules.formatter:"undefined"!=typeof Intl&&(o=ue);var i=new X(this.options);this.store=new U(this.options.resources,this.options);var s=this.services;s.logger=I,s.resourceStore=this.store,s.languageUtils=i,s.pluralResolver=new ae(i,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!o||this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format||(s.formatter=a(o),s.formatter.init(s,this.options),this.options.interpolation.format=s.formatter.format.bind(s.formatter)),s.interpolator=new se(this.options),s.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},s.backendConnector=new fe(a(this.modules.backend),s.resourceStore,s,this.options),s.backendConnector.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];e.emit.apply(e,[t].concat(r))})),this.modules.languageDetector&&(s.languageDetector=a(this.modules.languageDetector),s.languageDetector.init(s,this.options.detection,this.options)),this.modules.i18nFormat&&(s.i18nFormat=a(this.modules.i18nFormat),s.i18nFormat.init&&s.i18nFormat.init(this)),this.translator=new Y(this.services,this.options),this.translator.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];e.emit.apply(e,[t].concat(r))})),this.modules.external.forEach((function(t){t.init&&t.init(e)}))}if(this.format=this.options.interpolation.format,n||(n=ye),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var l=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);l.length>0&&"dev"!==l[0]&&(this.options.lng=l[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");var c=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];c.forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}}));var u=["addResource","addResources","addResourceBundle","removeResourceBundle"];u.forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e}}));var d=w(),p=function(){var t=function(t,r){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),d.resolve(r),n(t,r)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?p():setTimeout(p,0),d}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ye,r=n,a="string"==typeof e?e:this.language;if("function"==typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(a&&"cimode"===a.toLowerCase())return r();var o=[],i=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach((function(e){o.indexOf(e)<0&&o.push(e)}))};if(a)i(a);else{var s=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);s.forEach((function(e){return i(e)}))}this.options.preload&&this.options.preload.forEach((function(e){return i(e)})),this.services.backendConnector.load(o,this.options.ns,(function(e){e||t.resolvedLanguage||!t.language||t.setResolvedLanguage(t.language),r(e)}))}else r(null)}},{key:"reloadResources",value:function(e,t,n){var r=w();return e||(e=this.languages),t||(t=this.options.ns),n||(n=ye),this.services.backendConnector.reload(e,t,(function(e){r.resolve(),n(e)})),r}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&Q.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"setResolvedLanguage",value:function(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(var t=0;t<this.languages.length;t++){var n=this.languages[t];if(!(["cimode","dev"].indexOf(n)>-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=w();this.emit("languageChanging",e);var a=function(e){n.language=e,n.languages=n.services.languageUtils.toResolveHierarchy(e),n.resolvedLanguage=void 0,n.setResolvedLanguage(e)},o=function(o){e||o||!n.services.languageDetector||(o=[]);var i="string"==typeof o?o:n.services.languageUtils.getBestMatchFromCodes(o);i&&(n.language||a(i),n.translator.language||n.translator.changeLanguage(i),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(i)),n.loadResources(i,(function(e){!function(e,o){o?(a(o),n.translator.changeLanguage(o),n.isLanguageChangingTo=void 0,n.emit("languageChanged",o),n.logger.log("languageChanged",o)):n.isLanguageChangingTo=void 0,r.resolve((function(){return n.t.apply(n,arguments)})),t&&t(e,(function(){return n.t.apply(n,arguments)}))}(e,i)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(o):o(e):o(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(e,t,n){var r=this,a=function e(t,a){var o;if("object"!==_.default(a)){for(var i=arguments.length,s=new Array(i>2?i-2:0),l=2;l<i;l++)s[l-2]=arguments[l];o=r.options.overloadTranslationOptionHandler([t,a].concat(s))}else o=ge({},a);o.lng=o.lng||e.lng,o.lngs=o.lngs||e.lngs,o.ns=o.ns||e.ns;var c=r.options.keySeparator||".",u=n?"".concat(n).concat(c).concat(t):t;return r.t(u,o)};return"string"==typeof e?a.lng=e:a.lngs=e,a.ns=t,a.keyPrefix=n,a}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=this.resolvedLanguage||this.languages[0],a=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var i=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};if(n.precheck){var s=n.precheck(this,i);if(void 0!==s)return s}return!!this.hasResourceBundle(r,e)||(!(this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages))||!(!i(r,e)||a&&!i(o,e)))}},{key:"loadNamespaces",value:function(e,t){var n=this,r=w();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e)})),this.loadResources((function(e){r.resolve(),t&&t(e)})),r):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=w();"string"==typeof e&&(e=[e]);var r=this.options.preload||[],a=e.filter((function(e){return r.indexOf(e)<0}));return a.length?(this.options.preload=r.concat(a),this.loadResources((function(e){n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ye,a=ge(ge(ge({},this.options),t),{isClone:!0}),o=new n(a),i=["store","services","language"];return i.forEach((function(t){o[t]=e[t]})),o.services=ge({},this.services),o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o.translator=new Y(o.services,o.options),o.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];o.emit.apply(o,[e].concat(n))})),o.init(a,r),o.translator.options=o.options,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),n}(E);y.default(xe,"createInstance",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new xe(e,t)}));var Te=xe.createInstance();Te.createInstance=xe.createInstance,e.exports=Te},6339:(e,t,n)=>{"use strict";n.d(t,{a:()=>o});var r=n(8156),a=n(8718);function o(e){var t=e.i18n,n=e.defaultNS,o=e.children,i=(0,r.useMemo)((function(){return{i18n:t,defaultNS:n}}),[t,n]);return(0,r.createElement)(a.OO.Provider,{value:i},o)}},5444:(e,t,n)=>{"use strict";n.d(t,{c:()=>R});var r=n(4925),a=n(1002),o=n(4942),i=n(8156),s=n.n(i),l=n(1739),c=n.n(l),u=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function d(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},n=e.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(t.name=n[1],(c()[n[1]]||"/"===e.charAt(e.length-2))&&(t.voidElement=!0),t.name.startsWith("!--"))){var r=e.indexOf("--\x3e");return{type:"comment",comment:-1!==r?e.slice(4,r):""}}for(var a=new RegExp(u),o=null;null!==(o=a.exec(e));)if(o[0].trim())if(o[1]){var i=o[1].trim(),s=[i,""];i.indexOf("=")>-1&&(s=i.split("=")),t.attrs[s[0]]=s[1],a.lastIndex--}else o[2]&&(t.attrs[o[2]]=o[3].trim().substring(1,o[3].length-1));return t}var p=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,_=/^\s*$/,f=Object.create(null);function h(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(e){var t=[];for(var n in e)t.push(n+'="'+e[n]+'"');return t.length?" "+t.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(h,"")+"</"+t.name+">";case"comment":return e+"\x3c!--"+t.comment+"--\x3e"}}var m={parse:function(e,t){t||(t={}),t.components||(t.components=f);var n,r=[],a=[],o=-1,i=!1;if(0!==e.indexOf("<")){var s=e.indexOf("<");r.push({type:"text",content:-1===s?e:e.substring(0,s)})}return e.replace(p,(function(s,l){if(i){if(s!=="</"+n.name+">")return;i=!1}var c,u="/"!==s.charAt(1),p=s.startsWith("\x3c!--"),f=l+s.length,h=e.charAt(f);if(p){var m=d(s);return o<0?(r.push(m),r):((c=a[o]).children.push(m),r)}if(u&&(o++,"tag"===(n=d(s)).type&&t.components[n.name]&&(n.type="component",i=!0),n.voidElement||i||!h||"<"===h||n.children.push({type:"text",content:e.slice(f,e.indexOf("<",f))}),0===o&&r.push(n),(c=a[o-1])&&c.children.push(n),a[o]=n),(!u||n.voidElement)&&(o>-1&&(n.voidElement||n.name===s.slice(2,-1))&&(o--,n=-1===o?r:a[o]),!i&&"<"!==h&&h)){c=-1===o?r:a[o].children;var b=e.indexOf("<",f),g=e.slice(f,-1===b?void 0:b);_.test(g)&&(g=" "),(b>-1&&o+c.length>=0||" "!==g)&&c.push({type:"text",content:g})}})),r},stringify:function(e){return e.reduce((function(e,t){return e+h("",t)}),"")}};const b=m;var g="".replace,v=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34);/g,y={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'};function S(e){return y[e]}var x=n(8718),T=n(8236),A=["format"],I=["children","count","parent","i18nKey","context","tOptions","values","defaults","components","ns","i18n","t","shouldUnescape"];function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function k(e,t){if(!e)return!1;var n=e.props?e.props.children:e.children;return t?n.length>0:!!n}function C(e){return e?e&&e.children?e.children:e.props&&e.props.children:[]}function P(e){return Array.isArray(e)?e:[e]}function O(e,t){if(!e)return"";var n="",o=P(e),i=t.transSupportBasicHtmlNodes&&t.transKeepBasicHtmlNodesFor?t.transKeepBasicHtmlNodesFor:[];return o.forEach((function(e,o){if("string"==typeof e)n+="".concat(e);else if(s().isValidElement(e)){var l=Object.keys(e.props).length,c=i.indexOf(e.type)>-1,u=e.props.children;if(!u&&c&&0===l)n+="<".concat(e.type,"/>");else if(u||c&&0===l)if(e.props.i18nIsDynamicList)n+="<".concat(o,"></").concat(o,">");else if(c&&1===l&&"string"==typeof u)n+="<".concat(e.type,">").concat(u,"</").concat(e.type,">");else{var d=O(u,t);n+="<".concat(o,">").concat(d,"</").concat(o,">")}else n+="<".concat(o,"></").concat(o,">")}else if(null===e)(0,T.ZK)("Trans: the passed in value is invalid - seems you passed in a null child.");else if("object"===(0,a.Z)(e)){var p=e.format,_=(0,r.Z)(e,A),f=Object.keys(_);if(1===f.length){var h=p?"".concat(f[0],", ").concat(p):f[0];n+="{{".concat(h,"}}")}else(0,T.ZK)("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",e)}else(0,T.ZK)("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",e)})),n}function M(e,t,n,r,o,i){if(""===t)return[];var l=r.transKeepBasicHtmlNodesFor||[],c=t&&new RegExp(l.join("|")).test(t);if(!e&&!c)return[t];var u={};!function e(t){P(t).forEach((function(t){"string"!=typeof t&&(k(t)?e(C(t)):"object"!==(0,a.Z)(t)||s().isValidElement(t)||Object.assign(u,t))}))}(e);var d=b.parse("<0>".concat(t,"</0>")),p=w(w({},u),o);function _(e,t,n){var r=C(e),a=h(r,t.children,n);return function(e){return"[object Array]"===Object.prototype.toString.call(e)&&e.every((function(e){return s().isValidElement(e)}))}(r)&&0===a.length?r:a}function f(e,t,n,r,a){e.dummy&&(e.children=t),n.push(s().cloneElement(e,w(w({},e.props),{},{key:r}),a?void 0:t))}function h(t,o,u){var d=P(t);return P(o).reduce((function(t,o,m){var b,y,x,T,A=o.children&&o.children[0]&&o.children[0].content&&n.services.interpolator.interpolate(o.children[0].content,p,n.language);if("tag"===o.type){var I=d[parseInt(o.name,10)];!I&&1===u.length&&u[0][o.name]&&(I=u[0][o.name]),I||(I={});var E=0!==Object.keys(o.attrs).length?(y={props:o.attrs},(T=w({},x=I)).props=Object.assign(y.props,x.props),T):I,C=s().isValidElement(E),P=C&&k(o,!0)&&!o.voidElement,O=c&&"object"===(0,a.Z)(E)&&E.dummy&&!C,M="object"===(0,a.Z)(e)&&null!==e&&Object.hasOwnProperty.call(e,o.name);if("string"==typeof E){var R=n.services.interpolator.interpolate(E,p,n.language);t.push(R)}else if(k(E)||P){f(E,_(E,o,u),t,m)}else if(O){var D=h(d,o.children,u);t.push(s().cloneElement(E,w(w({},E.props),{},{key:m}),D))}else if(Number.isNaN(parseFloat(o.name))){if(M)f(E,_(E,o,u),t,m,o.voidElement);else if(r.transSupportBasicHtmlNodes&&l.indexOf(o.name)>-1)if(o.voidElement)t.push(s().createElement(o.name,{key:"".concat(o.name,"-").concat(m)}));else{var B=h(d,o.children,u);t.push(s().createElement(o.name,{key:"".concat(o.name,"-").concat(m)},B))}else if(o.voidElement)t.push("<".concat(o.name," />"));else{var L=h(d,o.children,u);t.push("<".concat(o.name,">").concat(L,"</").concat(o.name,">"))}}else if("object"!==(0,a.Z)(E)||C)1===o.children.length&&A?t.push(s().cloneElement(E,w(w({},E.props),{},{key:m}),A)):t.push(s().cloneElement(E,w(w({},E.props),{},{key:m})));else{var N=o.children[0]?A:null;N&&t.push(N)}}else if("text"===o.type){var F=r.transWrapTextNodes,z=i?(b=n.services.interpolator.interpolate(o.content,p,n.language),g.call(b,v,S)):n.services.interpolator.interpolate(o.content,p,n.language);F?t.push(s().createElement(F,{key:"".concat(o.name,"-").concat(m)},z)):t.push(z)}return t}),[])}return C(h([{dummy:!0,children:e||[]}],d,P(e||[]))[0])}function R(e){var t=e.children,n=e.count,a=e.parent,o=e.i18nKey,l=e.context,c=e.tOptions,u=void 0===c?{}:c,d=e.values,p=e.defaults,_=e.components,f=e.ns,h=e.i18n,m=e.t,b=e.shouldUnescape,g=(0,r.Z)(e,I),v=(0,i.useContext)(x.OO)||{},y=v.i18n,S=v.defaultNS,A=h||y||(0,x.nI)();if(!A)return(0,T.O4)("You will need to pass in an i18next instance by using i18nextReactModule"),t;var E=m||A.t.bind(A)||function(e){return e};l&&(u.context=l);var k=w(w({},(0,x.JP)()),A.options&&A.options.react),C=f||E.ns||S||A.options&&A.options.defaultNS;C="string"==typeof C?[C]:C||["translation"];var P=p||O(t,k)||k.transEmptyNodeValue||o,R=k.hashTransKey,D=o||(R?R(P):P),B=d?u.interpolation:{interpolation:w(w({},u.interpolation),{},{prefix:"#$?",suffix:"?$#"})},L=w(w(w(w({},u),{},{count:n},d),B),{},{defaultValue:P,ns:C}),N=M(_||t,D?E(D,L):P,A,k,L,b),F=void 0!==a?a:k.defaultTransParent;return F?s().createElement(F,g,N):N}},8718:(e,t,n)=>{"use strict";n.d(t,{Db:()=>b,I6:()=>h,JP:()=>_,OO:()=>d,j_:()=>p,kK:()=>v,nI:()=>m,qi:()=>g,zv:()=>f});var r=n(5671),a=n(3144),o=n(4942),i=n(8156);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c,u={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0},d=n.n(i)().createContext();function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};u=l(l({},u),e)}function _(){return u}var f=function(){function e(){(0,r.Z)(this,e),this.usedNamespaces={}}return(0,a.Z)(e,[{key:"addUsedNamespaces",value:function(e){var t=this;e.forEach((function(e){t.usedNamespaces[e]||(t.usedNamespaces[e]=!0)}))}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),e}();function h(e){c=e}function m(){return c}var b={type:"3rdParty",init:function(e){p(e.options.react),h(e)}};function g(e){return function(t){return new Promise((function(n){var r=v();e.getInitialProps?e.getInitialProps(t).then((function(e){n(l(l({},e),r))})):n(r)}))}}function v(){var e=m(),t=e.reportNamespaces?e.reportNamespaces.getUsedNamespaces():[],n={},r={};return e.languages.forEach((function(n){r[n]={},t.forEach((function(t){r[n][t]=e.getResourceBundle(n,t)||{}}))})),n.initialI18nStore=r,n.initialLanguage=e.language,n}},6037:(e,t,n)=>{"use strict";n.r(t),n.d(t,{I18nContext:()=>g.OO,I18nextProvider:()=>b.a,Trans:()=>r.c,Translation:()=>m,composeInitialProps:()=>g.qi,date:()=>T,getDefaults:()=>g.JP,getI18n:()=>g.nI,getInitialProps:()=>g.kK,initReactI18next:()=>g.Db,number:()=>I,plural:()=>w,select:()=>E,selectOrdinal:()=>k,setDefaults:()=>g.j_,setI18n:()=>g.I6,time:()=>A,useSSR:()=>v,useTranslation:()=>a.$,withSSR:()=>x,withTranslation:()=>f});var r=n(5444),a=n(6793),o=n(4942),i=n(9439),s=n(4925),l=n(8156),c=n.n(l),u=n(8236),d=["forwardedRef"];function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){function r(r){var o=r.forwardedRef,l=(0,s.Z)(r,d),u=(0,a.$)(e,l),p=(0,i.Z)(u,3),f=p[0],h=p[1],m=p[2],b=_(_({},l),{},{t:f,i18n:h,tReady:m});return t.withRef&&o?b.ref=o:!t.withRef&&o&&(b.forwardedRef=o),c().createElement(n,b)}r.displayName="withI18nextTranslation(".concat((0,u.Gf)(n),")"),r.WrappedComponent=n;return t.withRef?c().forwardRef((function(e,t){return c().createElement(r,Object.assign({},e,{forwardedRef:t}))})):r}}var h=["ns","children"];function m(e){var t=e.ns,n=e.children,r=(0,s.Z)(e,h),o=(0,a.$)(t,r),l=(0,i.Z)(o,3),c=l[0],u=l[1],d=l[2];return n(c,{i18n:u,lng:u.language},d)}var b=n(6339),g=n(8718);function v(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.i18n,a=(0,l.useContext)(g.OO)||{},o=a.i18n,i=r||o||(0,g.nI)();i.options&&i.options.isClone||(e&&!i.initializedStoreOnce&&(i.services.resourceStore.data=e,i.options.ns=Object.values(e).reduce((function(e,t){return Object.keys(t).forEach((function(t){e.indexOf(t)<0&&e.push(t)})),e}),i.options.ns),i.initializedStoreOnce=!0,i.isInitialized=!0),t&&!i.initializedLanguageOnce&&(i.changeLanguage(t),i.initializedLanguageOnce=!0))}var y=["initialI18nStore","initialLanguage"];function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(){return function(e){function t(t){var n=t.initialI18nStore,r=t.initialLanguage,a=(0,s.Z)(t,y);return v(n,r),c().createElement(e,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},a))}return t.getInitialProps=(0,g.qi)(e),t.displayName="withI18nextSSR(".concat((0,u.Gf)(e),")"),t.WrappedComponent=e,t}}var T=function(){return""},A=function(){return""},I=function(){return""},E=function(){return""},w=function(){return""},k=function(){return""}},6793:(e,t,n)=>{"use strict";n.d(t,{$:()=>u});var r=n(9439),a=n(4942),o=n(8156),i=n(8718),s=n(8236);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.i18n,a=(0,o.useContext)(i.OO)||{},l=a.i18n,u=a.defaultNS,d=n||l||(0,i.nI)();if(d&&!d.reportNamespaces&&(d.reportNamespaces=new i.zv),!d){(0,s.O4)("You will need to pass in an i18next instance by using initReactI18next");var p=function(e){return Array.isArray(e)?e[e.length-1]:e},_=[p,{},!1];return _.t=p,_.i18n={},_.ready=!1,_}d.options.react&&void 0!==d.options.react.wait&&(0,s.O4)("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var f=c(c(c({},(0,i.JP)()),d.options.react),t),h=f.useSuspense,m=f.keyPrefix,b=e||u||d.options&&d.options.defaultNS;b="string"==typeof b?[b]:b||["translation"],d.reportNamespaces.addUsedNamespaces&&d.reportNamespaces.addUsedNamespaces(b);var g=(d.isInitialized||d.initializedStoreOnce)&&b.every((function(e){return(0,s.F0)(e,d,f)}));function v(){return d.getFixedT(null,"fallback"===f.nsMode?b:b[0],m)}var y=(0,o.useState)(v),S=(0,r.Z)(y,2),x=S[0],T=S[1],A=(0,o.useRef)(!0);(0,o.useEffect)((function(){var e=f.bindI18n,t=f.bindI18nStore;function n(){A.current&&T(v)}return A.current=!0,g||h||(0,s.DC)(d,b,(function(){A.current&&T(v)})),e&&d&&d.on(e,n),t&&d&&d.store.on(t,n),function(){A.current=!1,e&&d&&e.split(" ").forEach((function(e){return d.off(e,n)})),t&&d&&t.split(" ").forEach((function(e){return d.store.off(e,n)}))}}),[d,b.join()]);var I=(0,o.useRef)(!0);(0,o.useEffect)((function(){A.current&&!I.current&&T(v),I.current=!1}),[d]);var E=[x,d,g];if(E.t=x,E.i18n=d,E.ready=g,g)return E;if(!g&&!h)return E;throw new Promise((function(e){(0,s.DC)(d,b,(function(){e()}))}))}},8236:(e,t,n)=>{"use strict";function r(){if(console&&console.warn){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];"string"==typeof n[0]&&(n[0]="react-i18next:: ".concat(n[0])),(e=console).warn.apply(e,n)}}n.d(t,{DC:()=>i,F0:()=>l,Gf:()=>c,O4:()=>o,ZK:()=>r});var a={};function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];"string"==typeof t[0]&&a[t[0]]||("string"==typeof t[0]&&(a[t[0]]=new Date),r.apply(void 0,t))}function i(e,t,n){e.loadNamespaces(t,(function(){if(e.isInitialized)n();else{e.on("initialized",(function t(){setTimeout((function(){e.off("initialized",t)}),0),n()}))}}))}function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.languages[0],a=!!t.options&&t.options.fallbackLng,o=t.languages[t.languages.length-1];if("cimode"===r.toLowerCase())return!0;var i=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};return!(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!i(t.isLanguageChangingTo,e))&&(!!t.hasResourceBundle(r,e)||(!(t.services.backendConnector.backend&&(!t.options.resources||t.options.partialBundledLanguages))||!(!i(r,e)||a&&!i(o,e))))}function l(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t.languages||!t.languages.length)return o("i18n.languages were undefined or empty",t.languages),!0;var r=void 0!==t.options.ignoreJSONStructure;return r?t.hasLoadedNamespace(e,{precheck:function(t,r){if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}):s(e,t,n)}function c(e){return e.displayName||e.name||("string"==typeof e&&e.length>0?e:"Unknown")}},9852:(e,t,n)=>{"use strict";n.d(t,{j:()=>i});var r=n(4578),a=n(2943),o=n(2288),i=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!o.sk&&(null==(t=window)?void 0:t.addEventListener)){var n=function(){return e()};return window.addEventListener("visibilitychange",n,!1),window.addEventListener("focus",n,!1),function(){window.removeEventListener("visibilitychange",n),window.removeEventListener("focus",n)}}},t}(0,r.Z)(t,e);var n=t.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)},n.setEventListener=function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((function(e){"boolean"==typeof e?n.setFocused(e):n.onFocus()}))},n.setFocused=function(e){this.focused=e,e&&this.onFocus()},n.onFocus=function(){this.listeners.forEach((function(e){e()}))},n.isFocused=function(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)},t}(a.l))},6747:(e,t,n)=>{"use strict";n.d(t,{QueryClient:()=>r.S});var r=n(8061),a=n(6755);n.o(a,"QueryClientProvider")&&n.d(t,{QueryClientProvider:function(){return a.QueryClientProvider}}),n.o(a,"useQuery")&&n.d(t,{useQuery:function(){return a.useQuery}})},1909:(e,t,n)=>{"use strict";n.d(t,{E:()=>o,j:()=>a});var r=console;function a(){return r}function o(e){r=e}},101:(e,t,n)=>{"use strict";n.d(t,{V:()=>a});var r=n(2288),a=new(function(){function e(){this.queue=[],this.transactions=0,this.notifyFn=function(e){e()},this.batchNotifyFn=function(e){e()}}var t=e.prototype;return t.batch=function(e){var t;this.transactions++;try{t=e()}finally{this.transactions--,this.transactions||this.flush()}return t},t.schedule=function(e){var t=this;this.transactions?this.queue.push(e):(0,r.A4)((function(){t.notifyFn(e)}))},t.batchCalls=function(e){var t=this;return function(){for(var n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];t.schedule((function(){e.apply(void 0,r)}))}},t.flush=function(){var e=this,t=this.queue;this.queue=[],t.length&&(0,r.A4)((function(){e.batchNotifyFn((function(){t.forEach((function(t){e.notifyFn(t)}))}))}))},t.setNotifyFunction=function(e){this.notifyFn=e},t.setBatchNotifyFunction=function(e){this.batchNotifyFn=e},e}())},68:(e,t,n)=>{"use strict";n.d(t,{N:()=>i});var r=n(4578),a=n(2943),o=n(2288),i=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!o.sk&&(null==(t=window)?void 0:t.addEventListener)){var n=function(){return e()};return window.addEventListener("online",n,!1),window.addEventListener("offline",n,!1),function(){window.removeEventListener("online",n),window.removeEventListener("offline",n)}}},t}(0,r.Z)(t,e);var n=t.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)},n.setEventListener=function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((function(e){"boolean"==typeof e?n.setOnline(e):n.onOnline()}))},n.setOnline=function(e){this.online=e,e&&this.onOnline()},n.onOnline=function(){this.listeners.forEach((function(e){e()}))},n.isOnline=function(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine},t}(a.l))},8061:(e,t,n)=>{"use strict";n.d(t,{S:()=>g});var r=n(7462),a=n(2288),o=n(4578),i=n(101),s=n(1909),l=n(1216),c=function(){function e(e){this.abortSignalConsumed=!1,this.hadObservers=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||this.getDefaultState(this.options),this.state=this.initialState,this.meta=e.meta,this.scheduleGc()}var t=e.prototype;return t.setOptions=function(e){var t;this.options=(0,r.Z)({},this.defaultOptions,e),this.meta=null==e?void 0:e.meta,this.cacheTime=Math.max(this.cacheTime||0,null!=(t=this.options.cacheTime)?t:3e5)},t.setDefaultOptions=function(e){this.defaultOptions=e},t.scheduleGc=function(){var e=this;this.clearGcTimeout(),(0,a.PN)(this.cacheTime)&&(this.gcTimeout=setTimeout((function(){e.optionalRemove()}),this.cacheTime))},t.clearGcTimeout=function(){clearTimeout(this.gcTimeout),this.gcTimeout=void 0},t.optionalRemove=function(){this.observers.length||(this.state.isFetching?this.hadObservers&&this.scheduleGc():this.cache.remove(this))},t.setData=function(e,t){var n,r,o=this.state.data,i=(0,a.SE)(e,o);return(null==(n=(r=this.options).isDataEqual)?void 0:n.call(r,o,i))?i=o:!1!==this.options.structuralSharing&&(i=(0,a.Q$)(o,i)),this.dispatch({data:i,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt}),i},t.setState=function(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})},t.cancel=function(e){var t,n=this.promise;return null==(t=this.retryer)||t.cancel(e),n?n.then(a.ZT).catch(a.ZT):Promise.resolve()},t.destroy=function(){this.clearGcTimeout(),this.cancel({silent:!0})},t.reset=function(){this.destroy(),this.setState(this.initialState)},t.isActive=function(){return this.observers.some((function(e){return!1!==e.options.enabled}))},t.isFetching=function(){return this.state.isFetching},t.isStale=function(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some((function(e){return e.getCurrentResult().isStale}))},t.isStaleByTime=function(e){return void 0===e&&(e=0),this.state.isInvalidated||!this.state.dataUpdatedAt||!(0,a.Kp)(this.state.dataUpdatedAt,e)},t.onFocus=function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnWindowFocus()}));t&&t.refetch(),null==(e=this.retryer)||e.continue()},t.onOnline=function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnReconnect()}));t&&t.refetch(),null==(e=this.retryer)||e.continue()},t.addObserver=function(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.hadObservers=!0,this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))},t.removeObserver=function(e){-1!==this.observers.indexOf(e)&&(this.observers=this.observers.filter((function(t){return t!==e})),this.observers.length||(this.retryer&&(this.retryer.isTransportCancelable||this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.cacheTime?this.scheduleGc():this.cache.remove(this)),this.cache.notify({type:"observerRemoved",query:this,observer:e}))},t.getObserversCount=function(){return this.observers.length},t.invalidate=function(){this.state.isInvalidated||this.dispatch({type:"invalidate"})},t.fetch=function(e,t){var n,r,o,i=this;if(this.state.isFetching)if(this.state.dataUpdatedAt&&(null==t?void 0:t.cancelRefetch))this.cancel({silent:!0});else if(this.promise){var c;return null==(c=this.retryer)||c.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){var u=this.observers.find((function(e){return e.options.queryFn}));u&&this.setOptions(u.options)}var d=(0,a.mc)(this.queryKey),p=(0,a.G9)(),_={queryKey:d,pageParam:void 0,meta:this.meta};Object.defineProperty(_,"signal",{enumerable:!0,get:function(){if(p)return i.abortSignalConsumed=!0,p.signal}});var f,h,m={fetchOptions:t,options:this.options,queryKey:d,state:this.state,fetchFn:function(){return i.options.queryFn?(i.abortSignalConsumed=!1,i.options.queryFn(_)):Promise.reject("Missing queryFn")},meta:this.meta};(null==(n=this.options.behavior)?void 0:n.onFetch)&&(null==(f=this.options.behavior)||f.onFetch(m));(this.revertState=this.state,this.state.isFetching&&this.state.fetchMeta===(null==(r=m.fetchOptions)?void 0:r.meta))||this.dispatch({type:"fetch",meta:null==(h=m.fetchOptions)?void 0:h.meta});return this.retryer=new l.m4({fn:m.fetchFn,abort:null==p||null==(o=p.abort)?void 0:o.bind(p),onSuccess:function(e){i.setData(e),null==i.cache.config.onSuccess||i.cache.config.onSuccess(e,i),0===i.cacheTime&&i.optionalRemove()},onError:function(e){(0,l.DV)(e)&&e.silent||i.dispatch({type:"error",error:e}),(0,l.DV)(e)||(null==i.cache.config.onError||i.cache.config.onError(e,i),(0,s.j)().error(e)),0===i.cacheTime&&i.optionalRemove()},onFail:function(){i.dispatch({type:"failed"})},onPause:function(){i.dispatch({type:"pause"})},onContinue:function(){i.dispatch({type:"continue"})},retry:m.options.retry,retryDelay:m.options.retryDelay}),this.promise=this.retryer.promise,this.promise},t.dispatch=function(e){var t=this;this.state=this.reducer(this.state,e),i.V.batch((function(){t.observers.forEach((function(t){t.onQueryUpdate(e)})),t.cache.notify({query:t,type:"queryUpdated",action:e})}))},t.getDefaultState=function(e){var t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==e.initialData?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0,r=void 0!==t;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?null!=n?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isFetching:!1,isInvalidated:!1,isPaused:!1,status:r?"success":"idle"}},t.reducer=function(e,t){var n,a;switch(t.type){case"failed":return(0,r.Z)({},e,{fetchFailureCount:e.fetchFailureCount+1});case"pause":return(0,r.Z)({},e,{isPaused:!0});case"continue":return(0,r.Z)({},e,{isPaused:!1});case"fetch":return(0,r.Z)({},e,{fetchFailureCount:0,fetchMeta:null!=(n=t.meta)?n:null,isFetching:!0,isPaused:!1},!e.dataUpdatedAt&&{error:null,status:"loading"});case"success":return(0,r.Z)({},e,{data:t.data,dataUpdateCount:e.dataUpdateCount+1,dataUpdatedAt:null!=(a=t.dataUpdatedAt)?a:Date.now(),error:null,fetchFailureCount:0,isFetching:!1,isInvalidated:!1,isPaused:!1,status:"success"});case"error":var o=t.error;return(0,l.DV)(o)&&o.revert&&this.revertState?(0,r.Z)({},this.revertState):(0,r.Z)({},e,{error:o,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,isFetching:!1,isPaused:!1,status:"error"});case"invalidate":return(0,r.Z)({},e,{isInvalidated:!0});case"setState":return(0,r.Z)({},e,t.state);default:return e}},e}(),u=n(2943),d=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.queries=[],n.queriesMap={},n}(0,o.Z)(t,e);var n=t.prototype;return n.build=function(e,t,n){var r,o=t.queryKey,i=null!=(r=t.queryHash)?r:(0,a.Rm)(o,t),s=this.get(i);return s||(s=new c({cache:this,queryKey:o,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(o),meta:t.meta}),this.add(s)),s},n.add=function(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"queryAdded",query:e}))},n.remove=function(e){var t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter((function(t){return t!==e})),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"queryRemoved",query:e}))},n.clear=function(){var e=this;i.V.batch((function(){e.queries.forEach((function(t){e.remove(t)}))}))},n.get=function(e){return this.queriesMap[e]},n.getAll=function(){return this.queries},n.find=function(e,t){var n=(0,a.I6)(e,t)[0];return void 0===n.exact&&(n.exact=!0),this.queries.find((function(e){return(0,a._x)(n,e)}))},n.findAll=function(e,t){var n=(0,a.I6)(e,t)[0];return Object.keys(n).length>0?this.queries.filter((function(e){return(0,a._x)(n,e)})):this.queries},n.notify=function(e){var t=this;i.V.batch((function(){t.listeners.forEach((function(t){t(e)}))}))},n.onFocus=function(){var e=this;i.V.batch((function(){e.queries.forEach((function(e){e.onFocus()}))}))},n.onOnline=function(){var e=this;i.V.batch((function(){e.queries.forEach((function(e){e.onOnline()}))}))},t}(u.l),p=function(){function e(e){this.options=(0,r.Z)({},e.defaultOptions,e.options),this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.observers=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0},this.meta=e.meta}var t=e.prototype;return t.setState=function(e){this.dispatch({type:"setState",state:e})},t.addObserver=function(e){-1===this.observers.indexOf(e)&&this.observers.push(e)},t.removeObserver=function(e){this.observers=this.observers.filter((function(t){return t!==e}))},t.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(a.ZT).catch(a.ZT)):Promise.resolve()},t.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},t.execute=function(){var e,t=this,n="loading"===this.state.status,r=Promise.resolve();return n||(this.dispatch({type:"loading",variables:this.options.variables}),r=r.then((function(){null==t.mutationCache.config.onMutate||t.mutationCache.config.onMutate(t.state.variables,t)})).then((function(){return null==t.options.onMutate?void 0:t.options.onMutate(t.state.variables)})).then((function(e){e!==t.state.context&&t.dispatch({type:"loading",context:e,variables:t.state.variables})}))),r.then((function(){return t.executeMutation()})).then((function(n){e=n,null==t.mutationCache.config.onSuccess||t.mutationCache.config.onSuccess(e,t.state.variables,t.state.context,t)})).then((function(){return null==t.options.onSuccess?void 0:t.options.onSuccess(e,t.state.variables,t.state.context)})).then((function(){return null==t.options.onSettled?void 0:t.options.onSettled(e,null,t.state.variables,t.state.context)})).then((function(){return t.dispatch({type:"success",data:e}),e})).catch((function(e){return null==t.mutationCache.config.onError||t.mutationCache.config.onError(e,t.state.variables,t.state.context,t),(0,s.j)().error(e),Promise.resolve().then((function(){return null==t.options.onError?void 0:t.options.onError(e,t.state.variables,t.state.context)})).then((function(){return null==t.options.onSettled?void 0:t.options.onSettled(void 0,e,t.state.variables,t.state.context)})).then((function(){throw t.dispatch({type:"error",error:e}),e}))}))},t.executeMutation=function(){var e,t=this;return this.retryer=new l.m4({fn:function(){return t.options.mutationFn?t.options.mutationFn(t.state.variables):Promise.reject("No mutationFn found")},onFail:function(){t.dispatch({type:"failed"})},onPause:function(){t.dispatch({type:"pause"})},onContinue:function(){t.dispatch({type:"continue"})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay}),this.retryer.promise},t.dispatch=function(e){var t=this;this.state=function(e,t){switch(t.type){case"failed":return(0,r.Z)({},e,{failureCount:e.failureCount+1});case"pause":return(0,r.Z)({},e,{isPaused:!0});case"continue":return(0,r.Z)({},e,{isPaused:!1});case"loading":return(0,r.Z)({},e,{context:t.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:t.variables});case"success":return(0,r.Z)({},e,{data:t.data,error:null,status:"success",isPaused:!1});case"error":return(0,r.Z)({},e,{data:void 0,error:t.error,failureCount:e.failureCount+1,isPaused:!1,status:"error"});case"setState":return(0,r.Z)({},e,t.state);default:return e}}(this.state,e),i.V.batch((function(){t.observers.forEach((function(t){t.onMutationUpdate(e)})),t.mutationCache.notify(t)}))},e}();var _=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.mutations=[],n.mutationId=0,n}(0,o.Z)(t,e);var n=t.prototype;return n.build=function(e,t,n){var r=new p({mutationCache:this,mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:n,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0,meta:t.meta});return this.add(r),r},n.add=function(e){this.mutations.push(e),this.notify(e)},n.remove=function(e){this.mutations=this.mutations.filter((function(t){return t!==e})),e.cancel(),this.notify(e)},n.clear=function(){var e=this;i.V.batch((function(){e.mutations.forEach((function(t){e.remove(t)}))}))},n.getAll=function(){return this.mutations},n.find=function(e){return void 0===e.exact&&(e.exact=!0),this.mutations.find((function(t){return(0,a.X7)(e,t)}))},n.findAll=function(e){return this.mutations.filter((function(t){return(0,a.X7)(e,t)}))},n.notify=function(e){var t=this;i.V.batch((function(){t.listeners.forEach((function(t){t(e)}))}))},n.onFocus=function(){this.resumePausedMutations()},n.onOnline=function(){this.resumePausedMutations()},n.resumePausedMutations=function(){var e=this.mutations.filter((function(e){return e.state.isPaused}));return i.V.batch((function(){return e.reduce((function(e,t){return e.then((function(){return t.continue().catch(a.ZT)}))}),Promise.resolve())}))},t}(u.l),f=n(9852),h=n(68);function m(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}function b(e,t){return null==e.getPreviousPageParam?void 0:e.getPreviousPageParam(t[0],t)}var g=function(){function e(e){void 0===e&&(e={}),this.queryCache=e.queryCache||new d,this.mutationCache=e.mutationCache||new _,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}var t=e.prototype;return t.mount=function(){var e=this;this.unsubscribeFocus=f.j.subscribe((function(){f.j.isFocused()&&h.N.isOnline()&&(e.mutationCache.onFocus(),e.queryCache.onFocus())})),this.unsubscribeOnline=h.N.subscribe((function(){f.j.isFocused()&&h.N.isOnline()&&(e.mutationCache.onOnline(),e.queryCache.onOnline())}))},t.unmount=function(){var e,t;null==(e=this.unsubscribeFocus)||e.call(this),null==(t=this.unsubscribeOnline)||t.call(this)},t.isFetching=function(e,t){var n=(0,a.I6)(e,t)[0];return n.fetching=!0,this.queryCache.findAll(n).length},t.isMutating=function(e){return this.mutationCache.findAll((0,r.Z)({},e,{fetching:!0})).length},t.getQueryData=function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state.data},t.getQueriesData=function(e){return this.getQueryCache().findAll(e).map((function(e){return[e.queryKey,e.state.data]}))},t.setQueryData=function(e,t,n){var r=(0,a._v)(e),o=this.defaultQueryOptions(r);return this.queryCache.build(this,o).setData(t,n)},t.setQueriesData=function(e,t,n){var r=this;return i.V.batch((function(){return r.getQueryCache().findAll(e).map((function(e){var a=e.queryKey;return[a,r.setQueryData(a,t,n)]}))}))},t.getQueryState=function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state},t.removeQueries=function(e,t){var n=(0,a.I6)(e,t)[0],r=this.queryCache;i.V.batch((function(){r.findAll(n).forEach((function(e){r.remove(e)}))}))},t.resetQueries=function(e,t,n){var o=this,s=(0,a.I6)(e,t,n),l=s[0],c=s[1],u=this.queryCache,d=(0,r.Z)({},l,{active:!0});return i.V.batch((function(){return u.findAll(l).forEach((function(e){e.reset()})),o.refetchQueries(d,c)}))},t.cancelQueries=function(e,t,n){var r=this,o=(0,a.I6)(e,t,n),s=o[0],l=o[1],c=void 0===l?{}:l;void 0===c.revert&&(c.revert=!0);var u=i.V.batch((function(){return r.queryCache.findAll(s).map((function(e){return e.cancel(c)}))}));return Promise.all(u).then(a.ZT).catch(a.ZT)},t.invalidateQueries=function(e,t,n){var o,s,l,c=this,u=(0,a.I6)(e,t,n),d=u[0],p=u[1],_=(0,r.Z)({},d,{active:null==(o=null!=(s=d.refetchActive)?s:d.active)||o,inactive:null!=(l=d.refetchInactive)&&l});return i.V.batch((function(){return c.queryCache.findAll(d).forEach((function(e){e.invalidate()})),c.refetchQueries(_,p)}))},t.refetchQueries=function(e,t,n){var o=this,s=(0,a.I6)(e,t,n),l=s[0],c=s[1],u=i.V.batch((function(){return o.queryCache.findAll(l).map((function(e){return e.fetch(void 0,(0,r.Z)({},c,{meta:{refetchPage:null==l?void 0:l.refetchPage}}))}))})),d=Promise.all(u).then(a.ZT);return(null==c?void 0:c.throwOnError)||(d=d.catch(a.ZT)),d},t.fetchQuery=function(e,t,n){var r=(0,a._v)(e,t,n),o=this.defaultQueryOptions(r);void 0===o.retry&&(o.retry=!1);var i=this.queryCache.build(this,o);return i.isStaleByTime(o.staleTime)?i.fetch(o):Promise.resolve(i.state.data)},t.prefetchQuery=function(e,t,n){return this.fetchQuery(e,t,n).then(a.ZT).catch(a.ZT)},t.fetchInfiniteQuery=function(e,t,n){var r=(0,a._v)(e,t,n);return r.behavior={onFetch:function(e){e.fetchFn=function(){var t,n,r,o,i,s,c,u=null==(t=e.fetchOptions)||null==(n=t.meta)?void 0:n.refetchPage,d=null==(r=e.fetchOptions)||null==(o=r.meta)?void 0:o.fetchMore,p=null==d?void 0:d.pageParam,_="forward"===(null==d?void 0:d.direction),f="backward"===(null==d?void 0:d.direction),h=(null==(i=e.state.data)?void 0:i.pages)||[],g=(null==(s=e.state.data)?void 0:s.pageParams)||[],v=(0,a.G9)(),y=null==v?void 0:v.signal,S=g,x=!1,T=e.options.queryFn||function(){return Promise.reject("Missing queryFn")},A=function(e,t,n,r){return S=r?[t].concat(S):[].concat(S,[t]),r?[n].concat(e):[].concat(e,[n])},I=function(t,n,r,a){if(x)return Promise.reject("Cancelled");if(void 0===r&&!n&&t.length)return Promise.resolve(t);var o={queryKey:e.queryKey,signal:y,pageParam:r,meta:e.meta},i=T(o),s=Promise.resolve(i).then((function(e){return A(t,r,e,a)}));return(0,l.LE)(i)&&(s.cancel=i.cancel),s};if(h.length)if(_){var E=void 0!==p,w=E?p:m(e.options,h);c=I(h,E,w)}else if(f){var k=void 0!==p,C=k?p:b(e.options,h);c=I(h,k,C,!0)}else!function(){S=[];var t=void 0===e.options.getNextPageParam,n=!u||!h[0]||u(h[0],0,h);c=n?I([],t,g[0]):Promise.resolve(A([],g[0],h[0]));for(var r=function(n){c=c.then((function(r){if(!u||!h[n]||u(h[n],n,h)){var a=t?g[n]:m(e.options,r);return I(r,t,a)}return Promise.resolve(A(r,g[n],h[n]))}))},a=1;a<h.length;a++)r(a)}();else c=I([]);var P=c.then((function(e){return{pages:e,pageParams:S}}));return P.cancel=function(){x=!0,null==v||v.abort(),(0,l.LE)(c)&&c.cancel()},P}}},this.fetchQuery(r)},t.prefetchInfiniteQuery=function(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(a.ZT).catch(a.ZT)},t.cancelMutations=function(){var e=this,t=i.V.batch((function(){return e.mutationCache.getAll().map((function(e){return e.cancel()}))}));return Promise.all(t).then(a.ZT).catch(a.ZT)},t.resumePausedMutations=function(){return this.getMutationCache().resumePausedMutations()},t.executeMutation=function(e){return this.mutationCache.build(this,e).execute()},t.getQueryCache=function(){return this.queryCache},t.getMutationCache=function(){return this.mutationCache},t.getDefaultOptions=function(){return this.defaultOptions},t.setDefaultOptions=function(e){this.defaultOptions=e},t.setQueryDefaults=function(e,t){var n=this.queryDefaults.find((function(t){return(0,a.yF)(e)===(0,a.yF)(t.queryKey)}));n?n.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})},t.getQueryDefaults=function(e){var t;return e?null==(t=this.queryDefaults.find((function(t){return(0,a.to)(e,t.queryKey)})))?void 0:t.defaultOptions:void 0},t.setMutationDefaults=function(e,t){var n=this.mutationDefaults.find((function(t){return(0,a.yF)(e)===(0,a.yF)(t.mutationKey)}));n?n.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})},t.getMutationDefaults=function(e){var t;return e?null==(t=this.mutationDefaults.find((function(t){return(0,a.to)(e,t.mutationKey)})))?void 0:t.defaultOptions:void 0},t.defaultQueryOptions=function(e){if(null==e?void 0:e._defaulted)return e;var t=(0,r.Z)({},this.defaultOptions.queries,this.getQueryDefaults(null==e?void 0:e.queryKey),e,{_defaulted:!0});return!t.queryHash&&t.queryKey&&(t.queryHash=(0,a.Rm)(t.queryKey,t)),t},t.defaultQueryObserverOptions=function(e){return this.defaultQueryOptions(e)},t.defaultMutationOptions=function(e){return(null==e?void 0:e._defaulted)?e:(0,r.Z)({},this.defaultOptions.mutations,this.getMutationDefaults(null==e?void 0:e.mutationKey),e,{_defaulted:!0})},t.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},e}()},1216:(e,t,n)=>{"use strict";n.d(t,{DV:()=>c,LE:()=>s,m4:()=>u});var r=n(9852),a=n(68),o=n(2288);function i(e){return Math.min(1e3*Math.pow(2,e),3e4)}function s(e){return"function"==typeof(null==e?void 0:e.cancel)}var l=function(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent};function c(e){return e instanceof l}var u=function(e){var t,n,c,u,d=this,p=!1;this.abort=e.abort,this.cancel=function(e){return null==t?void 0:t(e)},this.cancelRetry=function(){p=!0},this.continueRetry=function(){p=!1},this.continue=function(){return null==n?void 0:n()},this.failureCount=0,this.isPaused=!1,this.isResolved=!1,this.isTransportCancelable=!1,this.promise=new Promise((function(e,t){c=e,u=t}));var _=function(t){d.isResolved||(d.isResolved=!0,null==e.onSuccess||e.onSuccess(t),null==n||n(),c(t))},f=function(t){d.isResolved||(d.isResolved=!0,null==e.onError||e.onError(t),null==n||n(),u(t))};!function c(){if(!d.isResolved){var u;try{u=e.fn()}catch(e){u=Promise.reject(e)}t=function(e){if(!d.isResolved&&(f(new l(e)),null==d.abort||d.abort(),s(u)))try{u.cancel()}catch(e){}},d.isTransportCancelable=s(u),Promise.resolve(u).then(_).catch((function(t){var s,l;if(!d.isResolved){var u=null!=(s=e.retry)?s:3,_=null!=(l=e.retryDelay)?l:i,h="function"==typeof _?_(d.failureCount,t):_,m=!0===u||"number"==typeof u&&d.failureCount<u||"function"==typeof u&&u(d.failureCount,t);!p&&m?(d.failureCount++,null==e.onFail||e.onFail(d.failureCount,t),(0,o.Gh)(h).then((function(){if(!r.j.isFocused()||!a.N.isOnline())return new Promise((function(t){n=t,d.isPaused=!0,null==e.onPause||e.onPause()})).then((function(){n=void 0,d.isPaused=!1,null==e.onContinue||e.onContinue()}))})).then((function(){p?f(t):c()}))):f(t)}}))}}()}},2943:(e,t,n)=>{"use strict";n.d(t,{l:()=>r});var r=function(){function e(){this.listeners=[]}var t=e.prototype;return t.subscribe=function(e){var t=this,n=e||function(){};return this.listeners.push(n),this.onSubscribe(),function(){t.listeners=t.listeners.filter((function(e){return e!==n})),t.onUnsubscribe()}},t.hasListeners=function(){return this.listeners.length>0},t.onSubscribe=function(){},t.onUnsubscribe=function(){},e}()},6755:()=>{},2288:(e,t,n)=>{"use strict";n.d(t,{A4:()=>A,G9:()=>I,Gh:()=>T,I6:()=>d,Kp:()=>c,PN:()=>s,Q$:()=>g,Rm:()=>f,SE:()=>i,VS:()=>v,X7:()=>_,ZT:()=>o,_v:()=>u,_x:()=>p,mc:()=>l,sk:()=>a,to:()=>m,yF:()=>h});var r=n(7462),a="undefined"==typeof window;function o(){}function i(e,t){return"function"==typeof e?e(t):e}function s(e){return"number"==typeof e&&e>=0&&e!==1/0}function l(e){return Array.isArray(e)?e:[e]}function c(e,t){return Math.max(e+(t||0)-Date.now(),0)}function u(e,t,n){return x(e)?"function"==typeof t?(0,r.Z)({},n,{queryKey:e,queryFn:t}):(0,r.Z)({},t,{queryKey:e}):e}function d(e,t,n){return x(e)?[(0,r.Z)({},t,{queryKey:e}),n]:[e||{},t]}function p(e,t){var n=e.active,r=e.exact,a=e.fetching,o=e.inactive,i=e.predicate,s=e.queryKey,l=e.stale;if(x(s))if(r){if(t.queryHash!==f(s,t.options))return!1}else if(!m(t.queryKey,s))return!1;var c=function(e,t){return!0===e&&!0===t||null==e&&null==t?"all":!1===e&&!1===t?"none":(null!=e?e:!t)?"active":"inactive"}(n,o);if("none"===c)return!1;if("all"!==c){var u=t.isActive();if("active"===c&&!u)return!1;if("inactive"===c&&u)return!1}return("boolean"!=typeof l||t.isStale()===l)&&(("boolean"!=typeof a||t.isFetching()===a)&&!(i&&!i(t)))}function _(e,t){var n=e.exact,r=e.fetching,a=e.predicate,o=e.mutationKey;if(x(o)){if(!t.options.mutationKey)return!1;if(n){if(h(t.options.mutationKey)!==h(o))return!1}else if(!m(t.options.mutationKey,o))return!1}return("boolean"!=typeof r||"loading"===t.state.status===r)&&!(a&&!a(t))}function f(e,t){return((null==t?void 0:t.queryKeyHashFn)||h)(e)}function h(e){var t,n=l(e);return t=n,JSON.stringify(t,(function(e,t){return y(t)?Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e}),{}):t}))}function m(e,t){return b(l(e),l(t))}function b(e,t){return e===t||typeof e==typeof t&&(!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&!Object.keys(t).some((function(n){return!b(e[n],t[n])})))}function g(e,t){if(e===t)return e;var n=Array.isArray(e)&&Array.isArray(t);if(n||y(e)&&y(t)){for(var r=n?e.length:Object.keys(e).length,a=n?t:Object.keys(t),o=a.length,i=n?[]:{},s=0,l=0;l<o;l++){var c=n?l:a[l];i[c]=g(e[c],t[c]),i[c]===e[c]&&s++}return r===o&&s===r?e:i}return t}function v(e,t){if(e&&!t||t&&!e)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}function y(e){if(!S(e))return!1;var t=e.constructor;if(void 0===t)return!0;var n=t.prototype;return!!S(n)&&!!n.hasOwnProperty("isPrototypeOf")}function S(e){return"[object Object]"===Object.prototype.toString.call(e)}function x(e){return"string"==typeof e||Array.isArray(e)}function T(e){return new Promise((function(t){setTimeout(t,e)}))}function A(e){Promise.resolve().then(e).catch((function(e){return setTimeout((function(){throw e}))}))}function I(){if("function"==typeof AbortController)return new AbortController}},8767:(e,t,n)=>{"use strict";n.d(t,{QueryClient:()=>r.QueryClient,QueryClientProvider:()=>a.QueryClientProvider,useQuery:()=>a.useQuery});var r=n(6747);n.o(r,"QueryClientProvider")&&n.d(t,{QueryClientProvider:function(){return r.QueryClientProvider}}),n.o(r,"useQuery")&&n.d(t,{useQuery:function(){return r.useQuery}});var a=n(7066)},7066:(e,t,n)=>{"use strict";n.d(t,{QueryClientProvider:()=>_,useQuery:()=>k});var r=n(101),a=n(7111),o=n.n(a)().unstable_batchedUpdates;r.V.setBatchNotifyFunction(o);var i=n(1909),s=console;(0,i.E)(s);var l=n(8156),c=n.n(l),u=c().createContext(void 0),d=c().createContext(!1);function p(e){return e&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=u),window.ReactQueryClientContext):u}var _=function(e){var t=e.client,n=e.contextSharing,r=void 0!==n&&n,a=e.children;c().useEffect((function(){return t.mount(),function(){t.unmount()}}),[t]);var o=p(r);return c().createElement(d.Provider,{value:r},c().createElement(o.Provider,{value:t},a))},f=n(7462),h=n(4578),m=n(2288),b=n(9852),g=n(2943),v=n(1216),y=function(e){function t(t,n){var r;return(r=e.call(this)||this).client=t,r.options=n,r.trackedProps=[],r.selectError=null,r.bindMethods(),r.setOptions(n),r}(0,h.Z)(t,e);var n=t.prototype;return n.bindMethods=function(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)},n.onSubscribe=function(){1===this.listeners.length&&(this.currentQuery.addObserver(this),S(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},n.onUnsubscribe=function(){this.listeners.length||this.destroy()},n.shouldFetchOnReconnect=function(){return x(this.currentQuery,this.options,this.options.refetchOnReconnect)},n.shouldFetchOnWindowFocus=function(){return x(this.currentQuery,this.options,this.options.refetchOnWindowFocus)},n.destroy=function(){this.listeners=[],this.clearTimers(),this.currentQuery.removeObserver(this)},n.setOptions=function(e,t){var n=this.options,r=this.currentQuery;if(this.options=this.client.defaultQueryObserverOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();var a=this.hasListeners();a&&T(this.currentQuery,r,this.options,n)&&this.executeFetch(),this.updateResult(t),!a||this.currentQuery===r&&this.options.enabled===n.enabled&&this.options.staleTime===n.staleTime||this.updateStaleTimeout();var o=this.computeRefetchInterval();!a||this.currentQuery===r&&this.options.enabled===n.enabled&&o===this.currentRefetchInterval||this.updateRefetchInterval(o)},n.getOptimisticResult=function(e){var t=this.client.defaultQueryObserverOptions(e),n=this.client.getQueryCache().build(this.client,t);return this.createResult(n,t)},n.getCurrentResult=function(){return this.currentResult},n.trackResult=function(e,t){var n=this,r={},a=function(e){n.trackedProps.includes(e)||n.trackedProps.push(e)};return Object.keys(e).forEach((function(t){Object.defineProperty(r,t,{configurable:!1,enumerable:!0,get:function(){return a(t),e[t]}})})),(t.useErrorBoundary||t.suspense)&&a("error"),r},n.getNextResult=function(e){var t=this;return new Promise((function(n,r){var a=t.subscribe((function(t){t.isFetching||(a(),t.isError&&(null==e?void 0:e.throwOnError)?r(t.error):n(t))}))}))},n.getCurrentQuery=function(){return this.currentQuery},n.remove=function(){this.client.getQueryCache().remove(this.currentQuery)},n.refetch=function(e){return this.fetch((0,f.Z)({},e,{meta:{refetchPage:null==e?void 0:e.refetchPage}}))},n.fetchOptimistic=function(e){var t=this,n=this.client.defaultQueryObserverOptions(e),r=this.client.getQueryCache().build(this.client,n);return r.fetch().then((function(){return t.createResult(r,n)}))},n.fetch=function(e){var t=this;return this.executeFetch(e).then((function(){return t.updateResult(),t.currentResult}))},n.executeFetch=function(e){this.updateQuery();var t=this.currentQuery.fetch(this.options,e);return(null==e?void 0:e.throwOnError)||(t=t.catch(m.ZT)),t},n.updateStaleTimeout=function(){var e=this;if(this.clearStaleTimeout(),!m.sk&&!this.currentResult.isStale&&(0,m.PN)(this.options.staleTime)){var t=(0,m.Kp)(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout((function(){e.currentResult.isStale||e.updateResult()}),t)}},n.computeRefetchInterval=function(){var e;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e},n.updateRefetchInterval=function(e){var t=this;this.clearRefetchInterval(),this.currentRefetchInterval=e,!m.sk&&!1!==this.options.enabled&&(0,m.PN)(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval((function(){(t.options.refetchIntervalInBackground||b.j.isFocused())&&t.executeFetch()}),this.currentRefetchInterval))},n.updateTimers=function(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())},n.clearTimers=function(){this.clearStaleTimeout(),this.clearRefetchInterval()},n.clearStaleTimeout=function(){clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0},n.clearRefetchInterval=function(){clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0},n.createResult=function(e,t){var n,r=this.currentQuery,a=this.options,o=this.currentResult,s=this.currentResultState,l=this.currentResultOptions,c=e!==r,u=c?e.state:this.currentQueryInitialState,d=c?this.currentResult:this.previousQueryResult,p=e.state,_=p.dataUpdatedAt,f=p.error,h=p.errorUpdatedAt,b=p.isFetching,g=p.status,v=!1,y=!1;if(t.optimisticResults){var x=this.hasListeners(),I=!x&&S(e,t),E=x&&T(e,r,t,a);(I||E)&&(b=!0,_||(g="loading"))}if(t.keepPreviousData&&!p.dataUpdateCount&&(null==d?void 0:d.isSuccess)&&"error"!==g)n=d.data,_=d.dataUpdatedAt,g=d.status,v=!0;else if(t.select&&void 0!==p.data)if(o&&p.data===(null==s?void 0:s.data)&&t.select===this.selectFn)n=this.selectResult;else try{this.selectFn=t.select,n=t.select(p.data),!1!==t.structuralSharing&&(n=(0,m.Q$)(null==o?void 0:o.data,n)),this.selectResult=n,this.selectError=null}catch(e){(0,i.j)().error(e),this.selectError=e}else n=p.data;if(void 0!==t.placeholderData&&void 0===n&&("loading"===g||"idle"===g)){var w;if((null==o?void 0:o.isPlaceholderData)&&t.placeholderData===(null==l?void 0:l.placeholderData))w=o.data;else if(w="function"==typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&void 0!==w)try{w=t.select(w),!1!==t.structuralSharing&&(w=(0,m.Q$)(null==o?void 0:o.data,w)),this.selectError=null}catch(e){(0,i.j)().error(e),this.selectError=e}void 0!==w&&(g="success",n=w,y=!0)}return this.selectError&&(f=this.selectError,n=this.selectResult,h=Date.now(),g="error"),{status:g,isLoading:"loading"===g,isSuccess:"success"===g,isError:"error"===g,isIdle:"idle"===g,data:n,dataUpdatedAt:_,error:f,errorUpdatedAt:h,failureCount:p.fetchFailureCount,errorUpdateCount:p.errorUpdateCount,isFetched:p.dataUpdateCount>0||p.errorUpdateCount>0,isFetchedAfterMount:p.dataUpdateCount>u.dataUpdateCount||p.errorUpdateCount>u.errorUpdateCount,isFetching:b,isRefetching:b&&"loading"!==g,isLoadingError:"error"===g&&0===p.dataUpdatedAt,isPlaceholderData:y,isPreviousData:v,isRefetchError:"error"===g&&0!==p.dataUpdatedAt,isStale:A(e,t),refetch:this.refetch,remove:this.remove}},n.shouldNotifyListeners=function(e,t){if(!t)return!0;var n=this.options,r=n.notifyOnChangeProps,a=n.notifyOnChangePropsExclusions;if(!r&&!a)return!0;if("tracked"===r&&!this.trackedProps.length)return!0;var o="tracked"===r?this.trackedProps:r;return Object.keys(e).some((function(n){var r=n,i=e[r]!==t[r],s=null==o?void 0:o.some((function(e){return e===n})),l=null==a?void 0:a.some((function(e){return e===n}));return i&&!l&&(!o||s)}))},n.updateResult=function(e){var t=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!(0,m.VS)(this.currentResult,t)){var n={cache:!0};!1!==(null==e?void 0:e.listeners)&&this.shouldNotifyListeners(this.currentResult,t)&&(n.listeners=!0),this.notify((0,f.Z)({},n,e))}},n.updateQuery=function(){var e=this.client.getQueryCache().build(this.client,this.options);if(e!==this.currentQuery){var t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}},n.onQueryUpdate=function(e){var t={};"success"===e.type?t.onSuccess=!0:"error"!==e.type||(0,v.DV)(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()},n.notify=function(e){var t=this;r.V.batch((function(){e.onSuccess?(null==t.options.onSuccess||t.options.onSuccess(t.currentResult.data),null==t.options.onSettled||t.options.onSettled(t.currentResult.data,null)):e.onError&&(null==t.options.onError||t.options.onError(t.currentResult.error),null==t.options.onSettled||t.options.onSettled(void 0,t.currentResult.error)),e.listeners&&t.listeners.forEach((function(e){e(t.currentResult)})),e.cache&&t.client.getQueryCache().notify({query:t.currentQuery,type:"observerResultsUpdated"})}))},t}(g.l);function S(e,t){return function(e,t){return!(!1===t.enabled||e.state.dataUpdatedAt||"error"===e.state.status&&!1===t.retryOnMount)}(e,t)||e.state.dataUpdatedAt>0&&x(e,t,t.refetchOnMount)}function x(e,t,n){if(!1!==t.enabled){var r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&A(e,t)}return!1}function T(e,t,n,r){return!1!==n.enabled&&(e!==t||!1===r.enabled)&&(!n.suspense||"error"!==e.state.status)&&A(e,n)}function A(e,t){return e.isStaleByTime(t.staleTime)}function I(){var e=!1;return{clearReset:function(){e=!1},reset:function(){e=!0},isReset:function(){return e}}}var E=c().createContext(I());function w(e,t){var n=c().useRef(!1),a=c().useState(0)[1],o=function(){var e=c().useContext(p(c().useContext(d)));if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e}(),i=c().useContext(E),s=o.defaultQueryObserverOptions(e);s.optimisticResults=!0,s.onError&&(s.onError=r.V.batchCalls(s.onError)),s.onSuccess&&(s.onSuccess=r.V.batchCalls(s.onSuccess)),s.onSettled&&(s.onSettled=r.V.batchCalls(s.onSettled)),s.suspense&&("number"!=typeof s.staleTime&&(s.staleTime=1e3),0===s.cacheTime&&(s.cacheTime=1)),(s.suspense||s.useErrorBoundary)&&(i.isReset()||(s.retryOnMount=!1));var l,u,_,f=c().useState((function(){return new t(o,s)}))[0],h=f.getOptimisticResult(s);if(c().useEffect((function(){n.current=!0,i.clearReset();var e=f.subscribe(r.V.batchCalls((function(){n.current&&a((function(e){return e+1}))})));return f.updateResult(),function(){n.current=!1,e()}}),[i,f]),c().useEffect((function(){f.setOptions(s,{listeners:!1})}),[s,f]),s.suspense&&h.isLoading)throw f.fetchOptimistic(s).then((function(e){var t=e.data;null==s.onSuccess||s.onSuccess(t),null==s.onSettled||s.onSettled(t,null)})).catch((function(e){i.clearReset(),null==s.onError||s.onError(e),null==s.onSettled||s.onSettled(void 0,e)}));if(h.isError&&!i.isReset()&&!h.isFetching&&(l=s.suspense,u=s.useErrorBoundary,_=[h.error,f.getCurrentQuery()],"function"==typeof u?u.apply(void 0,_):"boolean"==typeof u?u:l))throw h.error;return"tracked"===s.notifyOnChangeProps&&(h=f.trackResult(h,s)),h}function k(e,t,n){return w((0,m._v)(e,t,n),y)}},5666:e=>{var t=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",i=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var a=t&&t.prototype instanceof m?t:m,o=Object.create(a.prototype),i=new k(r||[]);return o._invoke=function(e,t,n){var r=d;return function(a,o){if(r===_)throw new Error("Generator is already running");if(r===f){if("throw"===a)throw o;return P()}for(n.method=a,n.arg=o;;){var i=n.delegate;if(i){var s=I(i,n);if(s){if(s===h)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=_;var l=u(e,t,n);if("normal"===l.type){if(r=n.done?f:p,l.arg===h)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=f,n.method="throw",n.arg=l.arg)}}}(e,n,i),o}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var d="suspendedStart",p="suspendedYield",_="executing",f="completed",h={};function m(){}function b(){}function g(){}var v={};l(v,o,(function(){return this}));var y=Object.getPrototypeOf,S=y&&y(y(C([])));S&&S!==n&&r.call(S,o)&&(v=S);var x=g.prototype=m.prototype=Object.create(v);function T(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function A(e,t){function n(a,o,i,s){var l=u(e[a],e,o);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==typeof d&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(d).then((function(e){c.value=e,i(c)}),(function(e){return n("throw",e,i,s)}))}s(l.arg)}var a;this._invoke=function(e,r){function o(){return new t((function(t,a){n(e,r,t,a)}))}return a=a?a.then(o,o):o()}}function I(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,I(e,n),"throw"===n.method))return h;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var a=u(r,e.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,h;var o=a.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,h):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function C(e){if(e){var n=e[o];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,i=function n(){for(;++a<e.length;)if(r.call(e,a))return n.value=e[a],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}return{next:P}}function P(){return{value:t,done:!0}}return b.prototype=g,l(x,"constructor",g),l(g,"constructor",b),b.displayName=l(g,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,l(e,s,"GeneratorFunction")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},T(A.prototype),l(A.prototype,i,(function(){return this})),e.AsyncIterator=A,e.async=function(t,n,r,a,o){void 0===o&&(o=Promise);var i=new A(c(t,n,r,a),o);return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},T(x),l(x,s,"Generator"),l(x,o,(function(){return this})),l(x,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=C,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(w),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function a(r,a){return s.type="throw",s.arg=e,n.next=r,a&&(n.method="next",n.arg=t),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(l&&c){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,h):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),w(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;w(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:C(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},3379:e=>{"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var o={},i=[],s=0;s<e.length;s++){var l=e[s],c=r.base?l[0]+r.base:l[0],u=o[c]||0,d="".concat(c," ").concat(u);o[c]=u+1;var p=n(d),_={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)t[p].references++,t[p].updater(_);else{var f=a(_,r);r.byIndex=s,t.splice(s,0,{identifier:d,updater:f,references:1})}i.push(d)}return i}function a(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,a){var o=r(e=e||[],a=a||{});return function(e){e=e||[];for(var i=0;i<o.length;i++){var s=n(o[i]);t[s].references--}for(var l=r(e,a),c=0;c<o.length;c++){var u=n(o[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=l}}},569:e=>{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},9216:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},3565:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},7795:e=>{"use strict";e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var a=void 0!==n.layer;a&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,a&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},4589:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},1739:e=>{e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},8156:e=>{"use strict";e.exports=__WEBPACK_EXTERNAL_MODULE__8156__},5680:e=>{"use strict";if(void 0===__WEBPACK_EXTERNAL_MODULE__5680__){var t=new Error("Cannot find module 'react-dnd'");throw t.code="MODULE_NOT_FOUND",t}e.exports=__WEBPACK_EXTERNAL_MODULE__5680__},2849:e=>{"use strict";if(void 0===__WEBPACK_EXTERNAL_MODULE__2849__){var t=new Error("Cannot find module 'react-dnd-html5-backend'");throw t.code="MODULE_NOT_FOUND",t}e.exports=__WEBPACK_EXTERNAL_MODULE__2849__},7111:e=>{"use strict";e.exports=__WEBPACK_EXTERNAL_MODULE__7111__},5893:()=>{},3878:(e,t,n)=>{"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:()=>r})},5671:(e,t,n)=>{"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:()=>r})},3144:(e,t,n)=>{"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}n.d(t,{Z:()=>a})},4942:(e,t,n)=>{"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:()=>r})},7462:(e,t,n)=>{"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},4578:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(9611);function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.Z)(e,t)}},5267:(e,t,n)=>{"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:()=>r})},4925:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}n.d(t,{Z:()=>r})},9611:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:()=>r})},9439:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(3878);var a=n(8192),o=n(5267);function i(e,t){return(0,r.Z)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){s=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(s)throw a}}return o}}(e,t)||(0,a.Z)(e,t)||(0,o.Z)()}},1002:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:()=>r})},8192:(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}n.d(t,{Z:()=>a})}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={id:e,exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.exports}__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nc=void 0;var __webpack_exports__={};return(()=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{EmbedCodeModal:()=>fn,EmbedCodeModalTypes:()=>e});var e,t=__webpack_require__(8156),n=__webpack_require__.n(t),r=__webpack_require__(6339),a=__webpack_require__(2575),o=__webpack_require__(8767),i=__webpack_require__(9439),s=__webpack_require__(6793);!function(e){e.PLAYER="player",e.VIDEO="video"}(e||(e={}));var l=__webpack_require__(9144),c=__webpack_require__.n(l),u=__webpack_require__(8908),d=__webpack_require__.n(u);
|
|
67
67
|
/*! @name @brightcove/react-player-loader @version 1.4.1 @license Apache-2.0 */
|
|
68
68
|
function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}
|
|
69
69
|
/*! @name @brightcove/player-loader @version 1.8.0 @license Apache-2.0 */
|
|
70
70
|
function _(){return _=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_.apply(this,arguments)}var f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h=["catalogSearch","catalogSequence"],m=["adConfigId","applicationId","catalogSearch","catalogSequence","playlistId","playlistVideoId","videoId"],b=function(e){return Object.keys(e).filter((function(e){return-1!==m.indexOf(e)})).reduce((function(t,n){var r=function(e,t){if(e&&void 0!==e[t]){if("string"!=typeof e[t]&&-1!==h.indexOf(t))try{return encodeURIComponent(JSON.stringify(e[t]))}catch(e){return}return encodeURIComponent(String(e[t]).trim())||void 0}}(e,n);return void 0!==r&&(t+=t?"&":"?",t+=encodeURIComponent(n)+"="+r),t}),"")},g=function(e){var t=e.accountId,n=e.base,r=void 0===n?"https://players.brightcove.net":n,a=e.playerId,o=void 0===a?"default":a,i=e.embedId,s=void 0===i?"default":i,l=e.iframe,c=void 0!==l&&l,u=e.minified,d=void 0===u||u,p=e.queryParams,_=void 0===p?null:p,h="";c?h+="html":(d&&(h+="min."),h+="js"),"/"===r.charAt(r.length-1)&&(r=r.substring(0,r.length-1));var m="";return c&&_&&"object"===(void 0===_?"undefined":f(_))&&(m=b(_)),r+"/"+(t=encodeURIComponent(t))+"/"+(o=encodeURIComponent(o))+"_"+(s=encodeURIComponent(s))+"/index."+h+m};
|
|
71
|
-
/*! @name @brightcove/player-url @version 1.2.0 @license Apache-2.0 */g.VERSION="1.2.0";var v={embedId:"default",embedType:"in-page",playerId:"default",Promise:d().Promise,refNodeInsert:"append"},y="video",S="video-js",x="in-page",T="iframe",A="append",I="prepend",E="before",w="after",k="replace",C=["catalogSearch","catalogSequence"],P="https://players.brightcove.net/",O=function(e){if(e.playerUrl)return e.playerUrl;var t=e.accountId,n=e.playerId,r=e.embedId,a=e.embedOptions,o=e.embedType===T;return g({accountId:t,playerId:n,embedId:r,iframe:o,base:P,minified:!a||!a.unminified,queryParams:e})},M=function(){return P},R=function(e){P=e},D=function(e){return Boolean(e&&1===e.nodeType)},B=function(e){return Boolean(D(e)&&e.parentNode)},L=function(e,t,n){return t?function(e,t){if(!e.pip)return t;var n=c().createElement("div");return n.classList.add("vjs-pip-container"),n.appendChild(t),n}(t,function(e,t,n){if(!t.responsive)return n;n.style.position="absolute",n.style.top="0px",n.style.right="0px",n.style.bottom="0px",n.style.left="0px",n.style.width="100%",n.style.height="100%";var r=_({aspectRatio:"16:9",iframeHorizontalPlaylist:!1,maxWidth:"100%"},t.responsive),a=r.aspectRatio.split(":").map(Number),o=c().createElement("div"),i=a[1]/a[0]*100;e===T&&r.iframeHorizontalPlaylist&&(i*=1.25),o.style.paddingTop=i+"%",o.appendChild(n);var s=c().createElement("div");return s.style.position="relative",s.style.display="block",s.style.maxWidth=r.maxWidth,s.appendChild(o),s}(e,t,n)):n},N=function(e){var t=e.embedType===T?function(e){var t=c().createElement("iframe");return t.setAttribute("allow","autoplay;encrypted-media;fullscreen"),t.setAttribute("allowfullscreen","allowfullscreen"),t.src=O(e),t}(e):function(e){var t=e.embedOptions,n={adConfigId:"data-ad-config-id",applicationId:"data-application-id",catalogSearch:"data-catalog-search",catalogSequence:"data-catalog-sequence",deliveryConfigId:"data-delivery-config-id",playlistId:"data-playlist-id",playlistVideoId:"data-playlist-video-id",poster:"poster",videoId:"data-video-id"},r=t&&t.tagName||S,a=c().createElement(r);return Object.keys(n).filter((function(t){return e[t]})).forEach((function(t){var r;if("string"!=typeof e[t]&&-1!==C.indexOf(t))try{r=JSON.stringify(e[t])}catch(e){return}else r=String(e[t]).trim();a.setAttribute(n[t],r)})),a.setAttribute("controls","controls"),a.classList.add("video-js"),a}(e);return function(e,t){var n=e.refNode,r=e.refNodeInsert,a=n.parentNode,o=L(e.embedType,e.embedOptions,t);if(r===E?a.insertBefore(o,n):r===w?a.insertBefore(o,n.nextElementSibling||null):r===k?a.replaceChild(o,n):r===I?n.insertBefore(o,n.firstChild||null):n.appendChild(o),e.embedOptions&&e.embedOptions.playlist){var i=e.embedOptions.playlist.legacy?"ul":"div",s=c().createElement(i);s.classList.add("vjs-playlist"),t.parentNode.insertBefore(s,t.nextElementSibling||null)}return e.refNode=null,t}(e,function(e,t){if("function"!=typeof e.onEmbedCreated)return t;var n=e.onEmbedCreated(t);return D(n)?n:t}(e,t))},F=new(d().Map),z=function(e){return(e.accountId||"*")+"_"+e.playerId+"_"+e.embedId},j=function(){F.clear()},V=function(e){F.forEach(e)},G=function(e){return F.has(z(e))},H=function(e){F.set(z(e),e.accountId?O(e):"")},U=/^([A-Za-z0-9]+)_([A-Za-z0-9]+)$/,Q=function(){return d().bc?Object.keys(d().bc).filter((function(e){return U.test(e)})):[]},W=function(e){e&&Object.keys(e.players).forEach((function(t){var n=e.players[t];n&&n.dispose()}))},K=function(){V((function(e,t){e&&Array.prototype.slice.call(c().querySelectorAll('script[src="'+e+'"]')).forEach((function(e){return e.parentNode.removeChild(e)}))})),j(),W(d().videojs),Q().forEach((function(e){return W(d().bc[e].videojs)})),Object.keys(d()).filter((function(e){return/^videojs/i.test(e)||/^(bc)$/.test(e)})).forEach((function(e){delete d()[e]}))};(function(){Q().forEach((function(e){var t=e.match(U),n={playerId:t[1],embedId:t[2]};G(n)||H(n)}))})();var Z=function(e){return"function"==typeof e},q=function(e){var t,n=e.accountId,r=e.embedOptions,a=e.embedType,o=e.options,i=e.refNode,s=e.refNodeInsert;if(!n)throw new Error("accountId is required");if(!B(i))throw new Error("refNode must resolve to a node attached to the DOM");if(!function(e){return e===x||e===T}(a))throw new Error("embedType is missing or invalid");if(a===T&&o)throw new Error("cannot use options with an iframe embed");if(r&&void 0!==r.tagName&&((t=r.tagName)!==S&&t!==y))throw new Error('embedOptions.tagName is invalid (value: "'+r.tagName+'")');if(r&&r.responsive&&r.responsive.aspectRatio&&!/^\d+\:\d+$/.test(r.responsive.aspectRatio))throw new Error('embedOptions.responsive.aspectRatio must be in the "n:n" format (value: "'+r.responsive.aspectRatio+'")');if(!function(e){return e===A||e===I||e===E||e===w||e===k}(s))throw new Error("refNodeInsert is missing or invalid")},Y=function(e,t,n,r){var a,o=e.embedId,i=e.playerId,s=d().bc[i+"_"+o]||d().bc;if(!s)return r(new Error("missing bc function for "+i));H(e);try{(a=s(t,e.options)).bcinfo&&(a.bcinfo.PLAYER_LOADER=!0)}catch(t){var l="Could not initialize the Brightcove Player.";return e.embedOptions.tagName===S&&(l+=' You are attempting to embed using a "video-js" element. Please ensure that your Player is v6.11.0 or newer in order to support this embed type. Alternatively, pass `"video"` for `embedOptions.tagName`.'),r(new Error(l))}n({type:x,ref:a})},J=function(e,t,n){e.refNode=function(e){return B(e)?e:"string"==typeof e?c().querySelector(e):null}(e.refNode),q(e);var r=e.refNode,a=e.refNodeInsert,o=r.parentNode,i=N(e);if(e.embedType!==T){if(G(e))return Y(e,i,t,n);var s=c().createElement("script");s.onload=function(){return Y(e,i,t,n)},s.onerror=function(){n(new Error("player script could not be downloaded"))},s.async=!0,s.charset="utf-8",s.src=O(e),a===k?o.appendChild(s):r.appendChild(s)}else t({type:T,ref:i})},X=function(e){var t=_({},v,e),n=t.Promise,r=t.onSuccess,a=t.onFailure;return!Z(n)||Z(r)||Z(a)?J(t,Z(r)?r:function(){},Z(a)?a:function(e){throw e}):new n((function(e,n){return J(t,e,n)}))},$=function(e,t){Object.defineProperty(X,e,{configurable:!1,enumerable:!0,value:t,writable:!1})};$("getBaseUrl",(function(){return M()})),$("setBaseUrl",(function(e){R(e)})),$("getUrl",(function(e){return O(e)})),$("reset",(function(){return K()})),[["EMBED_TAG_NAME_VIDEO",y],["EMBED_TAG_NAME_VIDEOJS",S],["EMBED_TYPE_IN_PAGE",x],["EMBED_TYPE_IFRAME",T],["REF_NODE_INSERT_APPEND",A],["REF_NODE_INSERT_PREPEND",I],["REF_NODE_INSERT_BEFORE",E],["REF_NODE_INSERT_AFTER",w],["REF_NODE_INSERT_REPLACE",k],["VERSION","1.8.0"]].forEach((function(e){$(e[0],e[1])}));var ee=["catalogSearch","catalogSequence","playlistId","playlistVideoId","videoId"],te=function(e){var t,r;function a(t){var n;return(n=e.call(this,t)||this).refNode=null,n.setRefNode=function(e){n.refNode=e},n.loadPlayer=n.loadPlayer.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n)),n}r=e,(t=a).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r;var o=a.prototype;return o.loadPlayer=function(){var e=this;this.disposePlayer();var t=this.props.onSuccess,n=this.props.onFailure,r=p({},this.props,{refNode:this.refNode,refNodeInsert:"append",onSuccess:function(n){var r=n.ref,a=n.type;e.isMounted_?(e.player=r,"in-page"===a&&r.one("dispose",(function(){e.player=null})),r.bcinfo&&(r.bcinfo.REACT_PLAYER_LOADER=!0),"function"==typeof t&&t({ref:r,type:a})):e.disposePlayer(r)},onFailure:function(t){if(e.isMounted_){if("function"!=typeof n)throw new Error(t);n(t)}}});delete r.attrs,delete r.baseUrl,delete r.manualReloadFromPropChanges;var a=X.getBaseUrl();this.props.baseUrl&&X.setBaseUrl(this.props.baseUrl),X(r),X.setBaseUrl(a)},o.disposePlayer=function(){this.player&&(this.player.dispose?this.player.dispose():this.player.parentNode&&this.player.parentNode.removeChild(this.player),this.player=null)},o.findPlaylistVideoIdIndex_=function(e){var t=this.props.playlistVideoId;if(Array.isArray(e)&&t)for(var n=0;n<e.length;n++){var r=e[n],a=r.id,o=r.referenceId;if(a===t||"ref:"+o===t)return n}return-1},o.createPlaybackAPICallback_=function(e,t){var n=this;return function(r,a){if(r)!function(e){e&&console&&console.error&&console.error(e)}(r);else{if("playlist"===e&&t.playlistVideoId){var o=n.findPlaylistVideoIdIndex_(a);o>-1&&(a.startingIndex=o)}n.player.catalog.load(a)}}},o.updatePlayer=function(e){if(this.player&&this.player.el()){var t;if(this.player.usingPlugin("catalog")){if(e.catalogSequence&&this.props.catalogSequence){var n=this.createPlaybackAPICallback_("sequence",e);return void this.player.catalog.getLazySequence(this.props.catalogSequence,n,this.props.adConfigId)}e.videoId&&this.props.videoId?t={type:"video",id:this.props.videoId}:e.playlistId&&this.props.playlistId?t={type:"playlist",id:this.props.playlistId}:e.catalogSearch&&this.props.catalogSearch&&(t={type:"search",q:this.props.catalogSearch})}if(t){this.props.adConfigId&&(t.adConfigId=this.props.adConfigId),this.props.deliveryConfigId&&(t.deliveryConfigId=this.props.deliveryConfigId);var r=this.createPlaybackAPICallback_(t.type,e);this.player.catalog.get(t,r)}else if(e.playlistVideoId&&this.props.playlistVideoId&&this.player.usingPlugin("playlist")){var a=this.findPlaylistVideoIdIndex_(this.player.playlist());a>-1&&this.player.playlist.currentItem(a)}}},o.componentDidMount=function(){this.isMounted_=!0,this.loadPlayer()},o.componentDidUpdate=function(e){var t=this,n=Object.keys(e).reduce((function(n,r){var a=e[r],o=t.props[r];return"function"==typeof o?n:"object"==typeof o&&null!==o?(JSON.stringify(o)!==JSON.stringify(a)&&(n[r]=!0),n):(o!==a&&(n[r]=!0),n)}),{});this.props.manualReloadFromPropChanges||!Object.keys(n).some((function(e){return-1===ee.indexOf(e)}))?this.updatePlayer(n):this.loadPlayer()},o.componentWillUnmount=function(){this.isMounted_=!1,this.disposePlayer()},o.render=function(){var e=p({className:"brightcove-react-player-loader"},this.props.attrs,{ref:this.setRefNode});return n().createElement("div",e)},a}(n().Component);const ne=te;var re=__webpack_require__(5444),ae=__webpack_require__(8130),oe=__webpack_require__.n(ae),ie=__webpack_require__(4184),se=__webpack_require__.n(ie);function le(){var e,t,n;return null===(e=window.StudioModule)||void 0===e||null===(t=e.config)||void 0===t||null===(n=t.user)||void 0===n?void 0:n.featureSwitches.embed_modal_types_enabled}function ce(){return"qa"===(window.StudioModule.config.product.env||"production")}function ue(){return ce()?"https://bc-players-qa.s3.amazonaws.com/":"https://players.brightcove.net/"}var de=__webpack_require__(3379),pe=__webpack_require__.n(de),_e=__webpack_require__(7795),fe=__webpack_require__.n(_e),he=__webpack_require__(569),me=__webpack_require__.n(he),be=__webpack_require__(3565),ge=__webpack_require__.n(be),ve=__webpack_require__(9216),ye=__webpack_require__.n(ve),Se=__webpack_require__(4589),xe=__webpack_require__.n(Se),Te=__webpack_require__(6017),Ae={};Ae.styleTagTransform=xe(),Ae.setAttributes=ge(),Ae.insert=me().bind(null,"head"),Ae.domAPI=fe(),Ae.insertStyleElement=ye();pe()(Te.Z,Ae);const Ie=Te.Z&&Te.Z.locals?Te.Z.locals:void 0;var Ee=function(e){var r=e.isIFrame,o=e.accountId,l=e.videoId,c=e.playerId,u=e.isCampaign,d=(0,s.$)().t,p=(0,t.useState)(""),_=(0,i.Z)(p,2),f=_[0],h=_[1],m=le(),b=r&&u,g=(0,t.useCallback)((function(){return{accountId:o,responsive:!1,iframe:r,width:960,height:540,urlBase:ue(),playerId:c,videoId:l}}),[o,l,r,c]);(0,t.useEffect)((function(){var e=g(),t=oe()(e);h(t)}),[g]);var v=n().createElement(re.c,{i18nKey:"tabs.helperText"},"Copy the HTML code and paste it on your website",n().createElement("a",{onClick:function(){navigator.clipboard.writeText(f),a.Toaster.success({title:d("toasterTitle"),message:d("toasterMessage")})},className:Ie.copyLink},"Copy")),y=n().createElement(a.Flex,null,n().createElement(a.FlexItem,{flexGrow:"1",className:b?Ie.redHelperText:Ie.helperText},d(b?"tabs.helperTextWarning":"tabs.helperTextNew")));return n().createElement(n().Fragment,null,m?n().createElement(n().Fragment,null,n().createElement(a.Toaster,{testName:"copy-toaster-new"}),n().createElement(a.CopyField,{className:b?se()(Ie.copyInput,Ie.disableCopyEvent):Ie.copyInput,helperNode:y,Component:a.PlainTextArea,componentProps:{disabled:!0,isResizable:!1,className:Ie.textAreaDimensions},onCopy:function(){a.Toaster.success({title:d("toasterTitle"),message:d("toasterMessage")})},onError:function(){a.Toaster.error({message:d("toasterErrorMessage")})},value:f,hideButton:!0})):n().createElement(n().Fragment,null,n().createElement(a.Toaster,{testName:"copy-toaster"}),n().createElement(a.TextArea,{value:f,readOnly:!0,disabled:!0,className:Ie.input,inputClassName:Ie.textArea,testName:"embed-code-text",helperText:v,rows:4})))},we=__webpack_require__(7094),ke={};ke.styleTagTransform=xe(),ke.setAttributes=ge(),ke.insert=me().bind(null,"head"),ke.domAPI=fe(),ke.insertStyleElement=ye();pe()(we.Z,ke);const Ce=we.Z&&we.Z.locals?we.Z.locals:void 0;function Pe(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}var Oe=__webpack_require__(7757),Me=__webpack_require__.n(Oe),Re=__webpack_require__(6946),De=__webpack_require__(4942);function Be(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Le(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Be(Object(n),!0).forEach((function(t){(0,De.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Be(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ne=function(){return window.StudioModule.config},Fe=function(e,t){var n;return function(e){var t=window.StudioModule.api();return new Promise((function(n,r){t.call(e,n,r)}))}(e(Le(Le({},t),(n=Ne(),{apiConfig:{publisherId:Ne().user.currentAccount.id,api:n.module.api}}))))},ze=function(){var e,t=(e=Me().mark((function e(){return Me().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Fe(Re.Xo,{}));case 1:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){Pe(o,r,a,i,s,"next",e)}function s(e){Pe(o,r,a,i,s,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}();const je=function(t,n,r){var a=r&&t===e.VIDEO&&n;return(0,o.useQuery)(["players"],(function(){return ze()}),{refetchOnWindowFocus:!1,refetchOnMount:!1,enabled:a})};var Ve=function(r){var o=r.video,l=r.type,c=(0,s.$)().t,u=(0,t.useState)("iframe"),d=(0,i.Z)(u,2),p=d[0],_=d[1],f=(0,t.useState)(!1),h=(0,i.Z)(f,2),m=h[0],b=h[1],g=(0,t.useState)(!1),v=(0,i.Z)(g,2),y=v[0],S=v[1],x=(0,t.useState)(!1),T=(0,i.Z)(x,2),A=T[0],I=T[1],E=(0,t.useState)("default"),w=(0,i.Z)(E,2),k=w[0],C=w[1],P=le(),O=(0,t.useState)({}),M=(0,i.Z)(O,2),R=M[0],D=M[1],B=(0,t.useState)([]),L=(0,i.Z)(B,2),N=L[0],F=L[1],z=je(null!=l?l:e.VIDEO,P,A),j=z.isLoading,V=z.data,G=(0,t.useCallback)((function(e,t){var n;if(!e&&(null!==(n=null==t?void 0:t.items.length)&&void 0!==n?n:0)>0){var r=[],a={};null==t||t.items.map((function(e){var t,n=null!==(t=e.branches.master.configuration.plugins)&&void 0!==t?t:[],o=!!n&&n.length>0,i=!1;if(o){n.find((function(e){return"bcMapPlugin"===e.name}))&&(i=!0)}r.push({label:e.name,value:e.id}),a[e.id]={label:e.name,id:e.id,hasPlugins:o,isCampaignPlayer:i}})),D(a),F(r)}}),[]);(0,t.useEffect)((function(){G(j,V)}),[G,j,V]),(0,t.useEffect)((function(){o&&(b(!0),A||I(!0))}),[o]);var H,U=function(){return n().createElement(Ee,{isIFrame:"iframe"===p,videoId:o.videoId,accountId:o.accountId,playerId:k,isCampaign:Y()})},Q=n().createElement(n().Fragment,null,n().createElement("div",null,c(P?"tooltipTextNew":"tooltipText")),n().createElement("a",{href:"https://studio.support.brightcove.com/players/getting-started-players-module.html",target:"_blank",rel:"noreferrer"},c("tooltipLink"))),W=function(e){return _(e)},K=function(){return"".concat(ue()).concat(o.accountId,"/").concat(k,"_default/index.html?videoId=").concat(o.videoId)},Z=function(){var e=K();window.open(e,"_blank")},q=function(){S(!0);var e=K();navigator.clipboard.writeText(e),a.Toaster.success({title:c("toasterTitle"),message:c("toasterGetURLSuccess")}),S(!1)},Y=function(){var e;return null===(e=R[k])||void 0===e?void 0:e.isCampaignPlayer};return o?n().createElement(a.Modal,{testName:"embed-modal",title:c("modalHeader"),isOpen:m,large:P,onClose:function(){return b(!1)},buttons:n().createElement(a.Button,{text:c("closeModal"),onClick:function(){b(!1)},testName:"close-modal-btn"})},P?n().createElement(a.Flex,{className:Ce.videoDetailsContainerNew},n().createElement("div",{className:Ce.leftContent},n().createElement(a.Flex,null,n().createElement("div",{className:Ce.playerSelectLabel},c("player")),n().createElement(a.ToolTip,{content:Q,placement:"top",className:Ce.tooltip,reflow:!1})),N.length>0&&n().createElement(a.Select,{value:k,options:N,inputClassName:Ce.playerSelect,onChange:function(e){C(e)}}),n().createElement(ne,{accountId:o.accountId,playerId:k,videoId:o.videoId,baseUrl:ue(),attrs:{className:Ce.playerLoader},options:{autoplay:!1}}),(null===(H=R[k])||void 0===H?void 0:H.hasPlugins)&&n().createElement("span",{className:Ce.customPluginNotice},c("customPluginNotice")),n().createElement("div",null,n().createElement("div",{className:Ce.getURLBtnContainer},n().createElement(a.Button,{look:"tertiary",text:c("getURL"),testName:"get-url-btn",icon:y?"":"link",iconRight:!0,onClick:q}),y&&n().createElement(a.Loader,{className:Ce.getURLBtnSpinner,size:"inline",color:"navy"})),n().createElement(a.Button,{look:"tertiary",text:c("previewButton"),testName:"preview-player-btn",icon:"external_link",iconRight:!0,onClick:Z}))),n().createElement("div",{className:Ce.rightContent},n().createElement(a.Flex,{flexDirection:"column",className:Ce.mediaData},n().createElement("div",{className:Ce.mediaTitle},o.videoName),n().createElement("div",{className:Ce.mediaId},o.videoId)),n().createElement(a.Flex,{justifyContent:"space-between",alignItems:"baseline"},n().createElement(a.Tabs,{selectedId:p,onSelect:W},n().createElement(a.TabList,null,n().createElement(a.SmallTab,{tabId:"iframe",testName:"iframe-tab"},c("tabs.labels.iframe")),n().createElement(a.SmallTab,{tabId:"javascript",testName:"js-tab"},c("tabs.labels.javascript"))))),n().createElement(a.TabPanel,{render:U}))):n().createElement(n().Fragment,null,n().createElement(a.Flex,{className:Ce.videoDetailsContainer},n().createElement(a.Thumbnail,{className:Ce.thumbnail,duration:o.duration,size:"responsive",src:o.posterUrl,testName:"video-thumbnail"}),n().createElement(a.Flex,{flexDirection:"column",className:Ce.mediaData},n().createElement("div",{className:Ce.mediaTitle},o.videoName),n().createElement("div",{className:Ce.mediaId},o.videoId),n().createElement(a.FlexItem,{className:Ce.text},c("mediaNotice"),n().createElement(a.ToolTip,{content:Q,placement:"top",className:Ce.tooltip,reflow:!1})))),n().createElement(a.Flex,{justifyContent:"space-between",alignItems:"baseline"},n().createElement(a.Tabs,{selectedId:p,onSelect:W},n().createElement(a.TabList,null,n().createElement(a.SmallTab,{tabId:"iframe",testName:"iframe-tab"},c("tabs.labels.iframe")),n().createElement(a.SmallTab,{tabId:"javascript",testName:"js-tab"},c("tabs.labels.javascript")))),n().createElement(a.Button,{onClick:function(){Z()},testName:"preview-player-btn",icon:"external_link",text:c("previewButton"),look:"tertiary",iconRight:!0,className:Ce.previewButton})),n().createElement(a.TabPanel,{render:U}))):null},Ge=__webpack_require__(1002),He=__webpack_require__(5671),Ue=__webpack_require__(3144);function Qe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var We=__webpack_require__(9611);function Ke(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,We.Z)(e,t)}function Ze(e,t){if(t&&("object"===(0,Ge.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Qe(e)}function qe(e){return qe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},qe(e)}var Ye=__webpack_require__(3878);var Je=__webpack_require__(8192),Xe=__webpack_require__(5267);function $e(e){return(0,Ye.Z)(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,Je.Z)(e)||(0,Xe.Z)()}function et(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function tt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?et(Object(n),!0).forEach((function(t){(0,De.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):et(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var nt={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},rt=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,He.Z)(this,e),this.init(t,n)}return(0,Ue.Z)(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||nt,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]="".concat(n).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}},{key:"create",value:function(t){return new e(this.logger,tt(tt({},{prefix:"".concat(this.prefix,":").concat(t,":")}),this.options))}}]),e}(),at=new rt,ot=function(){function e(){(0,He.Z)(this,e),this.observers={}}return(0,Ue.Z)(e,[{key:"on",value:function(e,t){var n=this;return e.split(" ").forEach((function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)})),this}},{key:"off",value:function(e,t){this.observers[e]&&(t?this.observers[e]=this.observers[e].filter((function(e){return e!==t})):delete this.observers[e])}},{key:"emit",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(this.observers[e]){var a=[].concat(this.observers[e]);a.forEach((function(e){e.apply(void 0,n)}))}if(this.observers["*"]){var o=[].concat(this.observers["*"]);o.forEach((function(t){t.apply(t,[e].concat(n))}))}}}]),e}();function it(){var e,t,n=new Promise((function(n,r){e=n,t=r}));return n.resolve=e,n.reject=t,n}function st(e){return null==e?"":""+e}function lt(e,t,n){e.forEach((function(e){t[e]&&(n[e]=t[e])}))}function ct(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function a(){return!e||"string"==typeof e}for(var o="string"!=typeof t?[].concat(t):t.split(".");o.length>1;){if(a())return{};var i=r(o.shift());!e[i]&&n&&(e[i]=new n),e=Object.prototype.hasOwnProperty.call(e,i)?e[i]:{}}return a()?{}:{obj:e,k:r(o.shift())}}function ut(e,t,n){var r=ct(e,t,Object);r.obj[r.k]=n}function dt(e,t){var n=ct(e,t),r=n.obj,a=n.k;if(r)return r[a]}function pt(e,t,n){var r=dt(e,n);return void 0!==r?r:dt(t,n)}function _t(e,t,n){for(var r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"==typeof e[r]||e[r]instanceof String||"string"==typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):_t(e[r],t[r],n):e[r]=t[r]);return e}function ft(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var ht={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function mt(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(function(e){return ht[e]})):e}var bt="undefined"!=typeof window&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,gt=[" ",",","?","!",";"];function vt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function yt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vt(Object(n),!0).forEach((function(t){(0,De.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function St(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=qe(e);if(t){var a=qe(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return Ze(this,n)}}function xt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),a=e,o=0;o<r.length;++o){if(!a)return;if("string"==typeof a[r[o]]&&o+1<r.length)return;if(void 0===a[r[o]]){for(var i=2,s=r.slice(o,o+i).join(n),l=a[s];void 0===l&&r.length>o+i;)i++,l=a[s=r.slice(o,o+i).join(n)];if(void 0===l)return;if(t.endsWith(s)){if("string"==typeof l)return l;if(s&&"string"==typeof l[s])return l[s]}var c=r.slice(o+i).join(n);return c?xt(l,c,n):void 0}a=a[r[o]]}return a}}var Tt=function(e){Ke(n,e);var t=St(n);function n(e){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return(0,He.Z)(this,n),r=t.call(this),bt&&ot.call(Qe(r)),r.data=e||{},r.options=a,void 0===r.options.keySeparator&&(r.options.keySeparator="."),void 0===r.options.ignoreJSONStructure&&(r.options.ignoreJSONStructure=!0),r}return(0,Ue.Z)(n,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,o=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,i=[e,t];n&&"string"!=typeof n&&(i=i.concat(n)),n&&"string"==typeof n&&(i=i.concat(a?n.split(a):n)),e.indexOf(".")>-1&&(i=e.split("."));var s=dt(this.data,i);return s||!o||"string"!=typeof n?s:xt(this.data&&this.data[e]&&this.data[e][t],n,a)}},{key:"addResource",value:function(e,t,n,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},o=this.options.keySeparator;void 0===o&&(o=".");var i=[e,t];n&&(i=i.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(r=t,t=(i=e.split("."))[1]),this.addNamespaces(t),ut(this.data,i,r),a.silent||this.emit("added",e,t,n,r)}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var a in n)"string"!=typeof n[a]&&"[object Array]"!==Object.prototype.toString.apply(n[a])||this.addResource(e,t,a,n[a],{silent:!0});r.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,r,a){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},i=[e,t];e.indexOf(".")>-1&&(r=n,n=t,t=(i=e.split("."))[1]),this.addNamespaces(t);var s=dt(this.data,i)||{};r?_t(s,n,a):s=yt(yt({},s),n),ut(this.data,i,s),o.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?yt(yt({},{}),this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"hasLanguageSomeTranslations",value:function(e){var t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((function(e){return t[e]&&Object.keys(t[e]).length>0}))}},{key:"toJSON",value:function(){return this.data}}]),n}(ot),At={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,a){var o=this;return e.forEach((function(e){o.processors[e]&&(t=o.processors[e].process(t,n,r,a))})),t}};function It(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Et(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?It(Object(n),!0).forEach((function(t){(0,De.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):It(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function wt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=qe(e);if(t){var a=qe(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return Ze(this,n)}}var kt={},Ct=function(e){Ke(n,e);var t=wt(n);function n(e){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,He.Z)(this,n),r=t.call(this),bt&&ot.call(Qe(r)),lt(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,Qe(r)),r.options=a,void 0===r.options.keySeparator&&(r.options.keySeparator="."),r.logger=at.create("translator"),r}return(0,Ue.Z)(n,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;var n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,a=t.ns||this.options.defaultNS||[],o=n&&e.indexOf(n)>-1,i=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||function(e,t,n){t=t||"",n=n||"";var r=gt.filter((function(e){return t.indexOf(e)<0&&n.indexOf(e)<0}));if(0===r.length)return!0;var a=new RegExp("(".concat(r.map((function(e){return"?"===e?"\\?":e})).join("|"),")")),o=!a.test(e);if(!o){var i=e.indexOf(n);i>0&&!a.test(e.substring(0,i))&&(o=!0)}return o}(e,n,r));if(o&&!i){var s=e.match(this.interpolator.nestingRegexp);if(s&&s.length>0)return{key:e,namespaces:a};var l=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(l[0])>-1)&&(a=l.shift()),e=l.join(r)}return"string"==typeof a&&(a=[a]),{key:e,namespaces:a}}},{key:"translate",value:function(e,t,r){var a=this;if("object"!==(0,Ge.Z)(t)&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);var o=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,i=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,s=this.extractFromKey(e[e.length-1],t),l=s.key,c=s.namespaces,u=c[c.length-1],d=t.lng||this.language,p=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d&&"cimode"===d.toLowerCase()){if(p){var _=t.nsSeparator||this.options.nsSeparator;return o?(f.res="".concat(u).concat(_).concat(l),f):"".concat(u).concat(_).concat(l)}return o?(f.res=l,f):l}var f=this.resolve(e,t),h=f&&f.res,m=f&&f.usedKey||l,b=f&&f.exactUsedKey||l,g=Object.prototype.toString.apply(h),v=["[object Number]","[object Function]","[object RegExp]"],y=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,S=!this.i18nFormat||this.i18nFormat.handleAsObject,x="string"!=typeof h&&"boolean"!=typeof h&&"number"!=typeof h;if(S&&h&&x&&v.indexOf(g)<0&&("string"!=typeof y||"[object Array]"!==g)){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var T=this.options.returnedObjectHandler?this.options.returnedObjectHandler(m,h,Et(Et({},t),{},{ns:c})):"key '".concat(l," (").concat(this.language,")' returned an object instead of string.");return o?(f.res=T,f):T}if(i){var A="[object Array]"===g,I=A?[]:{},E=A?b:m;for(var w in h)if(Object.prototype.hasOwnProperty.call(h,w)){var k="".concat(E).concat(i).concat(w);I[w]=this.translate(k,Et(Et({},t),{joinArrays:!1,ns:c})),I[w]===k&&(I[w]=h[w])}h=I}}else if(S&&"string"==typeof y&&"[object Array]"===g)(h=h.join(y))&&(h=this.extendTranslation(h,e,t,r));else{var C=!1,P=!1,O=void 0!==t.count&&"string"!=typeof t.count,M=n.hasDefaultValue(t),R=O?this.pluralResolver.getSuffix(d,t.count,t):"",D=t["defaultValue".concat(R)]||t.defaultValue;!this.isValidLookup(h)&&M&&(C=!0,h=D),this.isValidLookup(h)||(P=!0,h=l);var B=t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,L=B&&P?void 0:h,N=M&&D!==h&&this.options.updateMissing;if(P||C||N){if(this.logger.log(N?"updateKey":"missingKey",d,u,l,N?D:h),i){var F=this.resolve(l,Et(Et({},t),{},{keySeparator:!1}));F&&F.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var z=[],j=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&j&&j[0])for(var V=0;V<j.length;V++)z.push(j[V]);else"all"===this.options.saveMissingTo?z=this.languageUtils.toResolveHierarchy(t.lng||this.language):z.push(t.lng||this.language);var G=function(e,n,r){var o=M&&r!==h?r:L;a.options.missingKeyHandler?a.options.missingKeyHandler(e,u,n,o,N,t):a.backendConnector&&a.backendConnector.saveMissing&&a.backendConnector.saveMissing(e,u,n,o,N,t),a.emit("missingKey",e,u,n,h)};this.options.saveMissing&&(this.options.saveMissingPlurals&&O?z.forEach((function(e){a.pluralResolver.getSuffixes(e,t).forEach((function(n){G([e],l+n,t["defaultValue".concat(n)]||D)}))})):G(z,l,D))}h=this.extendTranslation(h,e,t,f,r),P&&h===l&&this.options.appendNamespaceToMissingKey&&(h="".concat(u,":").concat(l)),(P||C)&&this.options.parseMissingKeyHandler&&(h="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(l,C?h:void 0):this.options.parseMissingKeyHandler(h))}return o?(f.res=h,f):h}},{key:"extendTranslation",value:function(e,t,n,r,a){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,Et(Et({},this.options.interpolation.defaultVariables),n),r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(Et(Et({},n),{interpolation:Et(Et({},this.options.interpolation),n.interpolation)}));var i,s="string"==typeof e&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(s){var l=e.match(this.interpolator.nestingRegexp);i=l&&l.length}var c=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(c=Et(Et({},this.options.interpolation.defaultVariables),c)),e=this.interpolator.interpolate(e,c,n.lng||this.language,n),s){var u=e.match(this.interpolator.nestingRegexp);i<(u&&u.length)&&(n.nest=!1)}!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return a&&a[0]===r[0]&&!n.context?(o.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(t[0])),null):o.translate.apply(o,r.concat([t]))}),n)),n.interpolation&&this.interpolator.reset()}var d=n.postProcess||this.options.postProcess,p="string"==typeof d?[d]:d;return null!=e&&p&&p.length&&!1!==n.applyPostProcessor&&(e=At.handle(p,e,t,this.options&&this.options.postProcessPassResolved?Et({i18nResolved:r},n):n,this)),e}},{key:"resolve",value:function(e){var t,n,r,a,o,i=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((function(e){if(!i.isValidLookup(t)){var l=i.extractFromKey(e,s),c=l.key;n=c;var u=l.namespaces;i.options.fallbackNS&&(u=u.concat(i.options.fallbackNS));var d=void 0!==s.count&&"string"!=typeof s.count,p=d&&!s.ordinal&&0===s.count&&i.pluralResolver.shouldUseIntlApi(),_=void 0!==s.context&&("string"==typeof s.context||"number"==typeof s.context)&&""!==s.context,f=s.lngs?s.lngs:i.languageUtils.toResolveHierarchy(s.lng||i.language,s.fallbackLng);u.forEach((function(e){i.isValidLookup(t)||(o=e,!kt["".concat(f[0],"-").concat(e)]&&i.utils&&i.utils.hasLoadedNamespace&&!i.utils.hasLoadedNamespace(o)&&(kt["".concat(f[0],"-").concat(e)]=!0,i.logger.warn('key "'.concat(n,'" for languages "').concat(f.join(", "),'" won\'t get resolved as namespace "').concat(o,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),f.forEach((function(n){if(!i.isValidLookup(t)){a=n;var o,l=[c];if(i.i18nFormat&&i.i18nFormat.addLookupKeys)i.i18nFormat.addLookupKeys(l,c,n,e,s);else{var u;d&&(u=i.pluralResolver.getSuffix(n,s.count,s));var f="_zero";if(d&&(l.push(c+u),p&&l.push(c+f)),_){var h="".concat(c).concat(i.options.contextSeparator).concat(s.context);l.push(h),d&&(l.push(h+u),p&&l.push(h+f))}}for(;o=l.pop();)i.isValidLookup(t)||(r=o,t=i.getResource(n,e,o,s))}})))}))}})),{res:t,usedKey:n,exactUsedKey:r,usedLng:a,usedNS:o}}},{key:"isValidLookup",value:function(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:"hasDefaultValue",value:function(e){var t="defaultValue";for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,t.length)&&void 0!==e[n])return!0;return!1}}]),n}(ot);function Pt(e){return e.charAt(0).toUpperCase()+e.slice(1)}var Ot=function(){function e(t){(0,He.Z)(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=at.create("languageUtils")}return(0,Ue.Z)(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map((function(e){return e.toLowerCase()})):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=Pt(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=Pt(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=Pt(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach((function(e){if(!t){var r=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(r)||(t=r)}})),!t&&this.options.supportedLngs&&e.forEach((function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find((function(e){if(0===e.indexOf(r))return e}))}})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),a=[],o=function(e){e&&(n.isSupportedCode(e)?a.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(e))):"string"==typeof e&&o(this.formatLanguageCode(e)),r.forEach((function(e){a.indexOf(e)<0&&o(n.formatLanguageCode(e))})),a}}]),e}(),Mt=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Rt={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},Dt=["v1","v2","v3"],Bt={zero:0,one:1,two:2,few:3,many:4,other:5};function Lt(){var e={};return Mt.forEach((function(t){t.lngs.forEach((function(n){e[n]={numbers:t.nr,plurals:Rt[t.fc]}}))})),e}var Nt=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,He.Z)(this,e),this.languageUtils=t,this.options=n,this.logger=at.create("pluralResolver"),this.options.compatibilityJSON&&"v4"!==this.options.compatibilityJSON||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=Lt()}return(0,Ue.Z)(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(e,{type:t.ordinal?"ordinal":"cardinal"})}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map((function(e){return"".concat(t).concat(e)}))}},{key:"getSuffixes",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((function(e,t){return Bt[e]-Bt[t]})).map((function(e){return"".concat(t.options.prepend).concat(e)})):r.numbers.map((function(r){return t.getSuffix(e,r,n)})):[]}},{key:"getSuffix",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(r.select(t)):this.getSuffixRetroCompatible(r,t):(this.logger.warn("no plural rule found for: ".concat(e)),"")}},{key:"getSuffixRetroCompatible",value:function(e,t){var n=this,r=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),a=e.numbers[r];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===a?a="plural":1===a&&(a=""));var o=function(){return n.options.prepend&&a.toString()?n.options.prepend+a.toString():a.toString()};return"v1"===this.options.compatibilityJSON?1===a?"":"number"==typeof a?"_plural_".concat(a.toString()):o():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?o():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}},{key:"shouldUseIntlApi",value:function(){return!Dt.includes(this.options.compatibilityJSON)}}]),e}();function Ft(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function zt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ft(Object(n),!0).forEach((function(t){(0,De.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ft(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var jt=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,He.Z)(this,e),this.logger=at.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return(0,Ue.Z)(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:mt,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?ft(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?ft(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?ft(t.nestingPrefix):t.nestingPrefixEscaped||ft("$t("),this.nestingSuffix=t.nestingSuffix?ft(t.nestingSuffix):t.nestingSuffixEscaped||ft(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,r){var a,o,i,s=this,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(e){return e.replace(/\$/g,"$$$$")}var u=function(e){if(e.indexOf(s.formatSeparator)<0){var a=pt(t,l,e);return s.alwaysFormat?s.format(a,void 0,n,zt(zt(zt({},r),t),{},{interpolationkey:e})):a}var o=e.split(s.formatSeparator),i=o.shift().trim(),c=o.join(s.formatSeparator).trim();return s.format(pt(t,l,i),c,n,zt(zt(zt({},r),t),{},{interpolationkey:i}))};this.resetRegExp();var d=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,p=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return c(e)}},{regex:this.regexp,safeValue:function(e){return s.escapeValue?c(s.escape(e)):c(e)}}].forEach((function(t){for(i=0;a=t.regex.exec(e);){var n=a[1].trim();if(void 0===(o=u(n)))if("function"==typeof d){var l=d(e,a,r);o="string"==typeof l?l:""}else if(r&&r.hasOwnProperty(n))o="";else{if(p){o=a[0];continue}s.logger.warn("missed to pass in variable ".concat(n," for interpolating ").concat(e)),o=""}else"string"==typeof o||s.useRawValueToEscape||(o=st(o));var c=t.safeValue(o);if(e=e.replace(a[0],c),p?(t.regex.lastIndex+=c.length,t.regex.lastIndex-=a[0].length):t.regex.lastIndex=0,++i>=s.maxReplaces)break}})),e}},{key:"nest",value:function(e,t){var n,r,a=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=zt({},o);function s(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),a="{".concat(r[1]);e=r[0],a=(a=this.interpolate(a,i)).replace(/'/g,'"');try{i=JSON.parse(a),t&&(i=zt(zt({},t),i))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(a)}return delete i.defaultValue,e}for(i.applyPostProcessor=!1,delete i.defaultValue;n=this.nestingRegexp.exec(e);){var l=[],c=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var u=n[1].split(this.formatSeparator).map((function(e){return e.trim()}));n[1]=u.shift(),l=u,c=!0}if((r=t(s.call(this,n[1].trim(),i),i))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=st(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),c&&(r=l.reduce((function(e,t){return a.format(e,t,o.lng,zt(zt({},o),{},{interpolationkey:n[1].trim()}))}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}]),e}();function Vt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Gt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vt(Object(n),!0).forEach((function(t){(0,De.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ht=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,He.Z)(this,e),this.logger=at.create("formatter"),this.options=t,this.formats={number:function(e,t,n){return new Intl.NumberFormat(t,n).format(e)},currency:function(e,t,n){return new Intl.NumberFormat(t,Gt(Gt({},n),{},{style:"currency"})).format(e)},datetime:function(e,t,n){return new Intl.DateTimeFormat(t,Gt({},n)).format(e)},relativetime:function(e,t,n){return new Intl.RelativeTimeFormat(t,Gt({},n)).format(e,n.range||"day")},list:function(e,t,n){return new Intl.ListFormat(t,Gt({},n)).format(e)}},this.init(t)}return(0,Ue.Z)(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},n=t.interpolation;this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||","}},{key:"add",value:function(e,t){this.formats[e.toLowerCase().trim()]=t}},{key:"format",value:function(e,t,n,r){var a=this,o=t.split(this.formatSeparator).reduce((function(e,t){var o=function(e){var t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){var r=e.split("(");t=r[0].toLowerCase().trim();var a=r[1].substring(0,r[1].length-1);"currency"===t&&a.indexOf(":")<0?n.currency||(n.currency=a.trim()):"relativetime"===t&&a.indexOf(":")<0?n.range||(n.range=a.trim()):a.split(";").forEach((function(e){if(e){var t=$e(e.split(":")),r=t[0],a=t.slice(1).join(":");n[r.trim()]||(n[r.trim()]=a.trim()),"false"===a.trim()&&(n[r.trim()]=!1),"true"===a.trim()&&(n[r.trim()]=!0),isNaN(a.trim())||(n[r.trim()]=parseInt(a.trim(),10))}}))}return{formatName:t,formatOptions:n}}(t),i=o.formatName,s=o.formatOptions;if(a.formats[i]){var l=e;try{var c=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},u=c.locale||c.lng||r.locale||r.lng||n;l=a.formats[i](e,u,Gt(Gt(Gt({},s),r),c))}catch(e){a.logger.warn(e)}return l}return a.logger.warn("there was no format function for ".concat(i)),e}),e);return o}}]),e}();function Ut(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Qt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ut(Object(n),!0).forEach((function(t){(0,De.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ut(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Wt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=qe(e);if(t){var a=qe(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return Ze(this,n)}}var Kt=function(e){Ke(n,e);var t=Wt(n);function n(e,r,a){var o,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return(0,He.Z)(this,n),o=t.call(this),bt&&ot.call(Qe(o)),o.backend=e,o.store=r,o.services=a,o.languageUtils=a.languageUtils,o.options=i,o.logger=at.create("backendConnector"),o.waitingReads=[],o.maxParallelReads=i.maxParallelReads||10,o.readingCalls=0,o.state={},o.queue=[],o.backend&&o.backend.init&&o.backend.init(a,i.backend,i),o}return(0,Ue.Z)(n,[{key:"queueLoad",value:function(e,t,n,r){var a=this,o={},i={},s={},l={};return e.forEach((function(e){var r=!0;t.forEach((function(t){var s="".concat(e,"|").concat(t);!n.reload&&a.store.hasResourceBundle(e,t)?a.state[s]=2:a.state[s]<0||(1===a.state[s]?void 0===i[s]&&(i[s]=!0):(a.state[s]=1,r=!1,void 0===i[s]&&(i[s]=!0),void 0===o[s]&&(o[s]=!0),void 0===l[t]&&(l[t]=!0)))})),r||(s[e]=!0)})),(Object.keys(o).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(o),pending:Object.keys(i),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(l)}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),a=r[0],o=r[1];t&&this.emit("failedLoading",a,o,t),n&&this.store.addResourceBundle(a,o,n),this.state[e]=t?-1:2;var i={};this.queue.forEach((function(n){var r,s,l,c,u,d;r=n.loaded,s=o,c=ct(r,[a],Object),u=c.obj,d=c.k,u[d]=u[d]||[],l&&(u[d]=u[d].concat(s)),l||u[d].push(s),function(e,t){delete e.pending[t],e.pendingCount--}(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach((function(e){i[e]||(i[e]={});var t=Object.keys(i[e]);t.length&&t.forEach((function(n){void 0!==t[n]&&(i[e][n]=!0)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",i),this.queue=this.queue.filter((function(e){return!e.done}))}},{key:"read",value:function(e,t,n){var r=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:350,i=arguments.length>5?arguments[5]:void 0;return e.length?this.readingCalls>=this.maxParallelReads?void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:a,wait:o,callback:i}):(this.readingCalls++,this.backend[n](e,t,(function(s,l){if(s&&l&&a<5)setTimeout((function(){r.read.call(r,e,t,n,a+1,2*o,i)}),o);else{if(r.readingCalls--,r.waitingReads.length>0){var c=r.waitingReads.shift();r.read(c.lng,c.ns,c.fcName,c.tried,c.wait,c.callback)}i(s,l)}}))):i(null,{})}},{key:"prepareLoading",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var o=this.queueLoad(e,t,r,a);if(!o.toLoad.length)return o.pending.length||a(),null;o.toLoad.forEach((function(e){n.loadOne(e)}))}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),a=r[0],o=r[1];this.read(a,o,"read",void 0,void 0,(function(r,i){r&&t.logger.warn("".concat(n,"loading namespace ").concat(o," for language ").concat(a," failed"),r),!r&&i&&t.logger.log("".concat(n,"loaded namespace ").concat(o," for language ").concat(a),i),t.loaded(e,r,i)}))}},{key:"saveMissing",value:function(e,t,n,r,a){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)?this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):null!=n&&""!==n&&(this.backend&&this.backend.create&&this.backend.create(e,t,n,r,null,Qt(Qt({},o),{},{isUpdate:a})),e&&e[0]&&this.store.addResource(e[0],t,n,r))}}]),n}(ot);function Zt(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===(0,Ge.Z)(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===(0,Ge.Z)(e[2])||"object"===(0,Ge.Z)(e[3])){var n=e[3]||e[2];Object.keys(n).forEach((function(e){t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function qt(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function Yt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Jt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yt(Object(n),!0).forEach((function(t){(0,De.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Xt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=qe(e);if(t){var a=qe(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return Ze(this,n)}}function $t(){}function en(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((function(t){"function"==typeof e[t]&&(e[t]=e[t].bind(e))}))}var tn=function(e){Ke(n,e);var t=Xt(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;if((0,He.Z)(this,n),e=t.call(this),bt&&ot.call(Qe(e)),e.options=qt(r),e.services={},e.logger=at,e.modules={external:[]},en(Qe(e)),a&&!e.isInitialized&&!r.isClone){if(!e.options.initImmediate)return e.init(r,a),Ze(e,Qe(e));setTimeout((function(){e.init(r,a)}),0)}return e}return(0,Ue.Z)(n,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;"function"==typeof t&&(n=t,t={}),!t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));var r=Zt();function a(e){return e?"function"==typeof e?new e:e:null}if(this.options=Jt(Jt(Jt({},r),this.options),qt(t)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=Jt(Jt({},r.interpolation),this.options.interpolation)),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){var o;this.modules.logger?at.init(a(this.modules.logger),this.options):at.init(null,this.options),this.modules.formatter?o=this.modules.formatter:"undefined"!=typeof Intl&&(o=Ht);var i=new Ot(this.options);this.store=new Tt(this.options.resources,this.options);var s=this.services;s.logger=at,s.resourceStore=this.store,s.languageUtils=i,s.pluralResolver=new Nt(i,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!o||this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format||(s.formatter=a(o),s.formatter.init(s,this.options),this.options.interpolation.format=s.formatter.format.bind(s.formatter)),s.interpolator=new jt(this.options),s.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},s.backendConnector=new Kt(a(this.modules.backend),s.resourceStore,s,this.options),s.backendConnector.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];e.emit.apply(e,[t].concat(r))})),this.modules.languageDetector&&(s.languageDetector=a(this.modules.languageDetector),s.languageDetector.init(s,this.options.detection,this.options)),this.modules.i18nFormat&&(s.i18nFormat=a(this.modules.i18nFormat),s.i18nFormat.init&&s.i18nFormat.init(this)),this.translator=new Ct(this.services,this.options),this.translator.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];e.emit.apply(e,[t].concat(r))})),this.modules.external.forEach((function(t){t.init&&t.init(e)}))}if(this.format=this.options.interpolation.format,n||(n=$t),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var l=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);l.length>0&&"dev"!==l[0]&&(this.options.lng=l[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");var c=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];c.forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}}));var u=["addResource","addResources","addResourceBundle","removeResourceBundle"];u.forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e}}));var d=it(),p=function(){var t=function(t,r){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),d.resolve(r),n(t,r)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?p():setTimeout(p,0),d}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:$t,r=n,a="string"==typeof e?e:this.language;if("function"==typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(a&&"cimode"===a.toLowerCase())return r();var o=[],i=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach((function(e){o.indexOf(e)<0&&o.push(e)}))};if(a)i(a);else{var s=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);s.forEach((function(e){return i(e)}))}this.options.preload&&this.options.preload.forEach((function(e){return i(e)})),this.services.backendConnector.load(o,this.options.ns,(function(e){e||t.resolvedLanguage||!t.language||t.setResolvedLanguage(t.language),r(e)}))}else r(null)}},{key:"reloadResources",value:function(e,t,n){var r=it();return e||(e=this.languages),t||(t=this.options.ns),n||(n=$t),this.services.backendConnector.reload(e,t,(function(e){r.resolve(),n(e)})),r}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&At.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"setResolvedLanguage",value:function(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(var t=0;t<this.languages.length;t++){var n=this.languages[t];if(!(["cimode","dev"].indexOf(n)>-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=it();this.emit("languageChanging",e);var a=function(e){n.language=e,n.languages=n.services.languageUtils.toResolveHierarchy(e),n.resolvedLanguage=void 0,n.setResolvedLanguage(e)},o=function(o){e||o||!n.services.languageDetector||(o=[]);var i="string"==typeof o?o:n.services.languageUtils.getBestMatchFromCodes(o);i&&(n.language||a(i),n.translator.language||n.translator.changeLanguage(i),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(i)),n.loadResources(i,(function(e){!function(e,o){o?(a(o),n.translator.changeLanguage(o),n.isLanguageChangingTo=void 0,n.emit("languageChanged",o),n.logger.log("languageChanged",o)):n.isLanguageChangingTo=void 0,r.resolve((function(){return n.t.apply(n,arguments)})),t&&t(e,(function(){return n.t.apply(n,arguments)}))}(e,i)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(o):o(e):o(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(e,t,n){var r=this,a=function e(t,a){var o;if("object"!==(0,Ge.Z)(a)){for(var i=arguments.length,s=new Array(i>2?i-2:0),l=2;l<i;l++)s[l-2]=arguments[l];o=r.options.overloadTranslationOptionHandler([t,a].concat(s))}else o=Jt({},a);o.lng=o.lng||e.lng,o.lngs=o.lngs||e.lngs,o.ns=o.ns||e.ns;var c=r.options.keySeparator||".",u=n?"".concat(n).concat(c).concat(t):t;return r.t(u,o)};return"string"==typeof e?a.lng=e:a.lngs=e,a.ns=t,a.keyPrefix=n,a}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=this.resolvedLanguage||this.languages[0],a=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var i=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};if(n.precheck){var s=n.precheck(this,i);if(void 0!==s)return s}return!!this.hasResourceBundle(r,e)||(!(this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages))||!(!i(r,e)||a&&!i(o,e)))}},{key:"loadNamespaces",value:function(e,t){var n=this,r=it();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e)})),this.loadResources((function(e){r.resolve(),t&&t(e)})),r):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=it();"string"==typeof e&&(e=[e]);var r=this.options.preload||[],a=e.filter((function(e){return r.indexOf(e)<0}));return a.length?(this.options.preload=r.concat(a),this.loadResources((function(e){n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:$t,a=Jt(Jt(Jt({},this.options),t),{isClone:!0}),o=new n(a),i=["store","services","language"];return i.forEach((function(t){o[t]=e[t]})),o.services=Jt({},this.services),o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o.translator=new Ct(o.services,o.options),o.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];o.emit.apply(o,[e].concat(n))})),o.init(a,r),o.translator.options=o.options,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),n}(ot);(0,De.Z)(tn,"createInstance",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new tn(e,t)}));var nn=tn.createInstance();nn.createInstance=tn.createInstance;nn.createInstance,nn.init,nn.loadResources,nn.reloadResources,nn.use,nn.changeLanguage,nn.getFixedT,nn.t,nn.exists,nn.setDefaultNamespace,nn.hasLoadedNamespace,nn.loadNamespaces,nn.loadLanguages;const rn=nn;var an=__webpack_require__(8718);var on,sn,ln={en:{translation:JSON.parse('{"modalHeader":"Embed on website","mediaNotice":"Will use your account’s default player","tooltipText":"Currently using the Brightcove Default Player. Player management coming soon.","tooltipTextNew":"Players determine the video playback experience such as styling, special configuration settings, and more.","tooltipLink":"Learn more about players","previewButton":"Preview","player":"Player","getURL":"Get URL","tabs":{"labels":{"iframe":"iFrame","javascript":"JavaScript"},"helperText":"Copy the HTML code and paste it on your website. <1>Copy</1>","helperTextNew":"Copy the HTML code and paste it on your website.","helperTextWarning":"The selected player restricts iFrame use to ensure the proper tracking as configured."},"closeModal":"Done","toasterTitle":"Success.","toasterMessage":"Code copied to clipboard","toasterGetURLSuccess":"Code copied to clipboard","toasterErrorMessage":"Error while copying text to clipboard","toasterGetURLError":"URL cannot be generated","customPluginNotice":"Due to custom configurations, you may not be experiencing the full preview."}')},es:{translation:JSON.parse('{"modalHeader":"Incrustar en sitio web","mediaNotice":"Utilizará el reproductor predeterminado de su cuenta","tooltipText":"Actualmente se está utilizando el reproductor predeterminado de Brightcove. La gestión de reproductores estará disponible próximamente.","tooltipTextNew":"Los reproductores determinan la experiencia del usuario a la hora de reproducir vídeos por medio de ajustes como el estilo del reproductor, ajustes de configuración especiales y otros.","tooltipLink":"Más información sobre reproductores","previewButton":"Vista previa","player":"Reproductor","getURL":"Obtener URL","tabs":{"labels":{"iframe":"iFrame","javascript":"JavaScript"},"helperText":"Copie el código HTML y péguelo en su sitio web.<1>Copiar</1>","helperTextNew":"Copie el código HTML y péguelo en su sitio web.","helperTextWarning":"El reproductor seleccionado restringe el uso de iFrame para garantizar el seguimiento adecuado según lo configurado."},"closeModal":"Hecho","toasterTitle":"Operación realizada correctamente.","toasterMessage":"Código copiado al portapapeles","toasterGetURLSuccess":"Código copiado al portapapeles","toasterGetURLError":"No es posible generar la URL","toasterErrorMessage":"Se ha producido un error al copiar el texto al portapapeles.","customPluginNotice":"Puede ocurrir que las configuraciones personalizadas impidan la previsualización completa."}')},fr:{translation:JSON.parse('{"modalHeader":"Intégration à un site Internet","mediaNotice":"Ceci utilisera le lecteur par défaut de votre compte","tooltipText":"Utilise actuellement le lecteur Brightcove par défaut. La fonctionnalité de gestion des lecteurs sera bientôt disponible.","tooltipTextNew":"Les joueurs choisissent l\'expérience de lecture vidéo comme l\'apparence, les paramètres de configuration spéciaux, et plus.","tooltipLink":"En savoir plus sur les lecteurs","previewButton":"Aperçu","player":"Player","getURL":"Obtenir l\'URL","tabs":{"labels":{"iframe":"iFrame","javascript":"JavaScript"},"helperText":"Copiez le code HTML et collez-le dans votre site Internet.<1>Copier</1>","helperTextNew":"Copiez le code HTML et collez-le dans votre site Internet.","helperTextWarning":"Le joueur sélectionné limite l\'utilisation d\'iFrame afin de veiller à ce que le suivi approprié soit configuré."},"closeModal":"Terminé","toasterTitle":"Réussite.","toasterMessage":"Code copié dans le presse-papiers","toasterGetURLSuccess":"Code copié dans le presse-papiers","toasterGetURLError":"Impossible de générer l\'URL","toasterErrorMessage":"Erreur lors de la copie du texte dans le presse-papiers","customPluginNotice":"En raison des configurations personnalisées, vous pourriez ne pas pouvoir visualiser l\'aperçu plein écran."}')},ja:{translation:JSON.parse('{"modalHeader":"Webサイトに埋め込み","mediaNotice":"アカウントのデフォルトのプレーヤーを使用します","tooltipText":"現在、Brightcoveのデフォルトのプレーヤーを使用しています。プレーヤー管理が、間もなく公開されます。","tooltipTextNew":"プレーヤーは、スタイル指定や特別な設定など、動画再生体験を決定します。","tooltipLink":"プレーヤーについての詳細","previewButton":"プレビュー","player":"プレーヤー","getURL":"URLを取得する","tabs":{"labels":{"iframe":"iFrame","javascript":"JavaScript"},"helperText":"HTMLコードをコピーし、お客様のWebサイトに貼り付けてください。<1>コピー</1>","helperTextNew":"HTMLコードをコピーし、お客様のWebサイトに貼り付けてください。","helperTextWarning":"選択されたプレーヤーは、設定された適切なトラッキングを実現するため、iFrameの使用を制限しています。"},"closeModal":"完了","toasterTitle":"成功。","toasterMessage":"コードをクリップボードにコピーしました","toasterGetURLSuccess":"コードをクリップボードにコピーしました","toasterGetURLError":"URLを生成できません","toasterErrorMessage":"テキストをクリップボードにコピー中にエラーが発生しました","customPluginNotice":"カスタム設定により、プレビューが完全でない場合があります。"}')},ko:{translation:JSON.parse('{"modalHeader":"웹사이트에 임베드","mediaNotice":"계정의 기본 플레이어를 사용합니다","tooltipText":"현재 Brightcove 기본 플레이어 사용 중입니다. 플레이어 관리가 곧 출시됩니다.","tooltipTextNew":"플레이어는 스타일 지정, 특수 구성 설정 등 비디오 재생 경험을 결정합니다.","tooltipLink":"플레이어에 대해 자세히 알아보기","previewButton":"미리 보기","player":"플레이어","getURL":"URL 받기","tabs":{"labels":{"iframe":"iFrame","javascript":"JavaScript"},"helperText":"HTML 코드를 복사하여 웹사이트에 붙여넣으십시오.<1>복사</1>","helperTextNew":"HTML 코드를 복사하여 웹사이트에 붙여넣으십시오.","helperTextWarning":"선택된 플레이어는 구성된 대로 적절하게 추적할 수 있도록 iFrame 사용을 제한합니다."},"closeModal":"완료","toasterTitle":"성공.","toasterMessage":"클립보드에 코드가 복사됨","toasterGetURLSuccess":"클립보드에 코드가 복사됨","toasterGetURLError":"URL 생성 불가","toasterErrorMessage":"클립보드에 텍스트를 복사하는 중 오류 발생","customPluginNotice":"사용자 정의 구성으로 인해 전체 미리 보기를 이용하지 못할 수도 있습니다."}')},zh:{translation:JSON.parse('{"modalHeader":"內嵌到網站","mediaNotice":"會使用您帳戶的預設播放程式","tooltipText":"目前使用 Brightcove 預設播放程式。播放程式管理功能即將推出。","tooltipTextNew":"播放器決定視訊播放體驗,例如樣式風格、特別組態設定等。","tooltipLink":"瞭解關於播放程式的更多資訊","previewButton":"預覽","player":"播放程式","getURL":"取得 URL","tabs":{"labels":{"iframe":"iFrame","javascript":"JavaScript"},"helperText":"複製 HTML 程式碼並貼到您的網站上。<1>複製</1>","helperTextNew":"複製 HTML 程式碼並貼到您的網站上。","helperTextWarning":"所選播放程式會限制 iFrame 的使用,以確保依設定正確追蹤。"},"closeModal":"完成","toasterTitle":"成功.","toasterMessage":"程式碼已複製到剪貼簿","toasterGetURLSuccess":"程式碼已複製到剪貼簿","toasterGetURLError":"無法產生 URL","toasterErrorMessage":"複製文字到剪貼簿時發生錯誤","customPluginNotice":"由於自訂組態,您可能無法體驗完整預覽版。"}')}};rn.use(an.Db).init({lng:(null===(on=window.StudioModule)||void 0===on||null===(sn=on.config)||void 0===sn?void 0:sn.lang)||"en",fallbackLng:"en",debug:!0,returnObjects:!0,resources:ln,interpolation:{escapeValue:!1}});const cn=rn;(0,a.initialize)({theme:"blueSteel"});var un=new o.QueryClient;const dn=function(e){return(0,t.useEffect)((function(){cn.changeLanguage(e.language||window.StudioModule.config.lang)}),[e.language]),n().createElement(o.QueryClientProvider,{client:un},n().createElement(r.a,{i18n:cn},n().createElement(Ve,e)))}})(),__webpack_exports__})()));
|
|
71
|
+
/*! @name @brightcove/player-url @version 1.2.0 @license Apache-2.0 */g.VERSION="1.2.0";var v={embedId:"default",embedType:"in-page",playerId:"default",Promise:d().Promise,refNodeInsert:"append"},y="video",S="video-js",x="in-page",T="iframe",A="append",I="prepend",E="before",w="after",k="replace",C=["catalogSearch","catalogSequence"],P="https://players.brightcove.net/",O=function(e){if(e.playerUrl)return e.playerUrl;var t=e.accountId,n=e.playerId,r=e.embedId,a=e.embedOptions,o=e.embedType===T;return g({accountId:t,playerId:n,embedId:r,iframe:o,base:P,minified:!a||!a.unminified,queryParams:e})},M=function(){return P},R=function(e){P=e},D=function(e){return Boolean(e&&1===e.nodeType)},B=function(e){return Boolean(D(e)&&e.parentNode)},L=function(e,t,n){return t?function(e,t){if(!e.pip)return t;var n=c().createElement("div");return n.classList.add("vjs-pip-container"),n.appendChild(t),n}(t,function(e,t,n){if(!t.responsive)return n;n.style.position="absolute",n.style.top="0px",n.style.right="0px",n.style.bottom="0px",n.style.left="0px",n.style.width="100%",n.style.height="100%";var r=_({aspectRatio:"16:9",iframeHorizontalPlaylist:!1,maxWidth:"100%"},t.responsive),a=r.aspectRatio.split(":").map(Number),o=c().createElement("div"),i=a[1]/a[0]*100;e===T&&r.iframeHorizontalPlaylist&&(i*=1.25),o.style.paddingTop=i+"%",o.appendChild(n);var s=c().createElement("div");return s.style.position="relative",s.style.display="block",s.style.maxWidth=r.maxWidth,s.appendChild(o),s}(e,t,n)):n},N=function(e){var t=e.embedType===T?function(e){var t=c().createElement("iframe");return t.setAttribute("allow","autoplay;encrypted-media;fullscreen"),t.setAttribute("allowfullscreen","allowfullscreen"),t.src=O(e),t}(e):function(e){var t=e.embedOptions,n={adConfigId:"data-ad-config-id",applicationId:"data-application-id",catalogSearch:"data-catalog-search",catalogSequence:"data-catalog-sequence",deliveryConfigId:"data-delivery-config-id",playlistId:"data-playlist-id",playlistVideoId:"data-playlist-video-id",poster:"poster",videoId:"data-video-id"},r=t&&t.tagName||S,a=c().createElement(r);return Object.keys(n).filter((function(t){return e[t]})).forEach((function(t){var r;if("string"!=typeof e[t]&&-1!==C.indexOf(t))try{r=JSON.stringify(e[t])}catch(e){return}else r=String(e[t]).trim();a.setAttribute(n[t],r)})),a.setAttribute("controls","controls"),a.classList.add("video-js"),a}(e);return function(e,t){var n=e.refNode,r=e.refNodeInsert,a=n.parentNode,o=L(e.embedType,e.embedOptions,t);if(r===E?a.insertBefore(o,n):r===w?a.insertBefore(o,n.nextElementSibling||null):r===k?a.replaceChild(o,n):r===I?n.insertBefore(o,n.firstChild||null):n.appendChild(o),e.embedOptions&&e.embedOptions.playlist){var i=e.embedOptions.playlist.legacy?"ul":"div",s=c().createElement(i);s.classList.add("vjs-playlist"),t.parentNode.insertBefore(s,t.nextElementSibling||null)}return e.refNode=null,t}(e,function(e,t){if("function"!=typeof e.onEmbedCreated)return t;var n=e.onEmbedCreated(t);return D(n)?n:t}(e,t))},F=new(d().Map),z=function(e){return(e.accountId||"*")+"_"+e.playerId+"_"+e.embedId},j=function(){F.clear()},V=function(e){F.forEach(e)},G=function(e){return F.has(z(e))},H=function(e){F.set(z(e),e.accountId?O(e):"")},U=/^([A-Za-z0-9]+)_([A-Za-z0-9]+)$/,Q=function(){return d().bc?Object.keys(d().bc).filter((function(e){return U.test(e)})):[]},W=function(e){e&&Object.keys(e.players).forEach((function(t){var n=e.players[t];n&&n.dispose()}))},K=function(){V((function(e,t){e&&Array.prototype.slice.call(c().querySelectorAll('script[src="'+e+'"]')).forEach((function(e){return e.parentNode.removeChild(e)}))})),j(),W(d().videojs),Q().forEach((function(e){return W(d().bc[e].videojs)})),Object.keys(d()).filter((function(e){return/^videojs/i.test(e)||/^(bc)$/.test(e)})).forEach((function(e){delete d()[e]}))};(function(){Q().forEach((function(e){var t=e.match(U),n={playerId:t[1],embedId:t[2]};G(n)||H(n)}))})();var Z=function(e){return"function"==typeof e},q=function(e){var t,n=e.accountId,r=e.embedOptions,a=e.embedType,o=e.options,i=e.refNode,s=e.refNodeInsert;if(!n)throw new Error("accountId is required");if(!B(i))throw new Error("refNode must resolve to a node attached to the DOM");if(!function(e){return e===x||e===T}(a))throw new Error("embedType is missing or invalid");if(a===T&&o)throw new Error("cannot use options with an iframe embed");if(r&&void 0!==r.tagName&&((t=r.tagName)!==S&&t!==y))throw new Error('embedOptions.tagName is invalid (value: "'+r.tagName+'")');if(r&&r.responsive&&r.responsive.aspectRatio&&!/^\d+\:\d+$/.test(r.responsive.aspectRatio))throw new Error('embedOptions.responsive.aspectRatio must be in the "n:n" format (value: "'+r.responsive.aspectRatio+'")');if(!function(e){return e===A||e===I||e===E||e===w||e===k}(s))throw new Error("refNodeInsert is missing or invalid")},Y=function(e,t,n,r){var a,o=e.embedId,i=e.playerId,s=d().bc[i+"_"+o]||d().bc;if(!s)return r(new Error("missing bc function for "+i));H(e);try{(a=s(t,e.options)).bcinfo&&(a.bcinfo.PLAYER_LOADER=!0)}catch(t){var l="Could not initialize the Brightcove Player.";return e.embedOptions.tagName===S&&(l+=' You are attempting to embed using a "video-js" element. Please ensure that your Player is v6.11.0 or newer in order to support this embed type. Alternatively, pass `"video"` for `embedOptions.tagName`.'),r(new Error(l))}n({type:x,ref:a})},J=function(e,t,n){e.refNode=function(e){return B(e)?e:"string"==typeof e?c().querySelector(e):null}(e.refNode),q(e);var r=e.refNode,a=e.refNodeInsert,o=r.parentNode,i=N(e);if(e.embedType!==T){if(G(e))return Y(e,i,t,n);var s=c().createElement("script");s.onload=function(){return Y(e,i,t,n)},s.onerror=function(){n(new Error("player script could not be downloaded"))},s.async=!0,s.charset="utf-8",s.src=O(e),a===k?o.appendChild(s):r.appendChild(s)}else t({type:T,ref:i})},X=function(e){var t=_({},v,e),n=t.Promise,r=t.onSuccess,a=t.onFailure;return!Z(n)||Z(r)||Z(a)?J(t,Z(r)?r:function(){},Z(a)?a:function(e){throw e}):new n((function(e,n){return J(t,e,n)}))},$=function(e,t){Object.defineProperty(X,e,{configurable:!1,enumerable:!0,value:t,writable:!1})};$("getBaseUrl",(function(){return M()})),$("setBaseUrl",(function(e){R(e)})),$("getUrl",(function(e){return O(e)})),$("reset",(function(){return K()})),[["EMBED_TAG_NAME_VIDEO",y],["EMBED_TAG_NAME_VIDEOJS",S],["EMBED_TYPE_IN_PAGE",x],["EMBED_TYPE_IFRAME",T],["REF_NODE_INSERT_APPEND",A],["REF_NODE_INSERT_PREPEND",I],["REF_NODE_INSERT_BEFORE",E],["REF_NODE_INSERT_AFTER",w],["REF_NODE_INSERT_REPLACE",k],["VERSION","1.8.0"]].forEach((function(e){$(e[0],e[1])}));var ee=["catalogSearch","catalogSequence","playlistId","playlistVideoId","videoId"],te=function(e){var t,r;function a(t){var n;return(n=e.call(this,t)||this).refNode=null,n.setRefNode=function(e){n.refNode=e},n.loadPlayer=n.loadPlayer.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n)),n}r=e,(t=a).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r;var o=a.prototype;return o.loadPlayer=function(){var e=this;this.disposePlayer();var t=this.props.onSuccess,n=this.props.onFailure,r=p({},this.props,{refNode:this.refNode,refNodeInsert:"append",onSuccess:function(n){var r=n.ref,a=n.type;e.isMounted_?(e.player=r,"in-page"===a&&r.one("dispose",(function(){e.player=null})),r.bcinfo&&(r.bcinfo.REACT_PLAYER_LOADER=!0),"function"==typeof t&&t({ref:r,type:a})):e.disposePlayer(r)},onFailure:function(t){if(e.isMounted_){if("function"!=typeof n)throw new Error(t);n(t)}}});delete r.attrs,delete r.baseUrl,delete r.manualReloadFromPropChanges;var a=X.getBaseUrl();this.props.baseUrl&&X.setBaseUrl(this.props.baseUrl),X(r),X.setBaseUrl(a)},o.disposePlayer=function(){this.player&&(this.player.dispose?this.player.dispose():this.player.parentNode&&this.player.parentNode.removeChild(this.player),this.player=null)},o.findPlaylistVideoIdIndex_=function(e){var t=this.props.playlistVideoId;if(Array.isArray(e)&&t)for(var n=0;n<e.length;n++){var r=e[n],a=r.id,o=r.referenceId;if(a===t||"ref:"+o===t)return n}return-1},o.createPlaybackAPICallback_=function(e,t){var n=this;return function(r,a){if(r)!function(e){e&&console&&console.error&&console.error(e)}(r);else{if("playlist"===e&&t.playlistVideoId){var o=n.findPlaylistVideoIdIndex_(a);o>-1&&(a.startingIndex=o)}n.player.catalog.load(a)}}},o.updatePlayer=function(e){if(this.player&&this.player.el()){var t;if(this.player.usingPlugin("catalog")){if(e.catalogSequence&&this.props.catalogSequence){var n=this.createPlaybackAPICallback_("sequence",e);return void this.player.catalog.getLazySequence(this.props.catalogSequence,n,this.props.adConfigId)}e.videoId&&this.props.videoId?t={type:"video",id:this.props.videoId}:e.playlistId&&this.props.playlistId?t={type:"playlist",id:this.props.playlistId}:e.catalogSearch&&this.props.catalogSearch&&(t={type:"search",q:this.props.catalogSearch})}if(t){this.props.adConfigId&&(t.adConfigId=this.props.adConfigId),this.props.deliveryConfigId&&(t.deliveryConfigId=this.props.deliveryConfigId);var r=this.createPlaybackAPICallback_(t.type,e);this.player.catalog.get(t,r)}else if(e.playlistVideoId&&this.props.playlistVideoId&&this.player.usingPlugin("playlist")){var a=this.findPlaylistVideoIdIndex_(this.player.playlist());a>-1&&this.player.playlist.currentItem(a)}}},o.componentDidMount=function(){this.isMounted_=!0,this.loadPlayer()},o.componentDidUpdate=function(e){var t=this,n=Object.keys(e).reduce((function(n,r){var a=e[r],o=t.props[r];return"function"==typeof o?n:"object"==typeof o&&null!==o?(JSON.stringify(o)!==JSON.stringify(a)&&(n[r]=!0),n):(o!==a&&(n[r]=!0),n)}),{});this.props.manualReloadFromPropChanges||!Object.keys(n).some((function(e){return-1===ee.indexOf(e)}))?this.updatePlayer(n):this.loadPlayer()},o.componentWillUnmount=function(){this.isMounted_=!1,this.disposePlayer()},o.render=function(){var e=p({className:"brightcove-react-player-loader"},this.props.attrs,{ref:this.setRefNode});return n().createElement("div",e)},a}(n().Component);const ne=te;var re=__webpack_require__(5444),ae=__webpack_require__(8130),oe=__webpack_require__.n(ae),ie=__webpack_require__(4184),se=__webpack_require__.n(ie);function le(){var e,t,n;return null===(e=window.StudioModule)||void 0===e||null===(t=e.config)||void 0===t||null===(n=t.user)||void 0===n?void 0:n.featureSwitches.embed_modal_types_enabled}function ce(){return"qa"===(window.StudioModule.config.product.env||"production")}function ue(){return ce()?"https://bc-players-qa.s3.amazonaws.com/":"https://players.brightcove.net/"}var de=__webpack_require__(3379),pe=__webpack_require__.n(de),_e=__webpack_require__(7795),fe=__webpack_require__.n(_e),he=__webpack_require__(569),me=__webpack_require__.n(he),be=__webpack_require__(3565),ge=__webpack_require__.n(be),ve=__webpack_require__(9216),ye=__webpack_require__.n(ve),Se=__webpack_require__(4589),xe=__webpack_require__.n(Se),Te=__webpack_require__(6017),Ae={};Ae.styleTagTransform=xe(),Ae.setAttributes=ge(),Ae.insert=me().bind(null,"head"),Ae.domAPI=fe(),Ae.insertStyleElement=ye();pe()(Te.Z,Ae);const Ie=Te.Z&&Te.Z.locals?Te.Z.locals:void 0;var Ee=function(e){var r=e.isIFrame,o=e.accountId,l=e.videoId,c=e.playerId,u=e.isCampaign,d=(0,s.$)().t,p=(0,t.useState)(""),_=(0,i.Z)(p,2),f=_[0],h=_[1],m=le(),b=r&&u,g=(0,t.useCallback)((function(){return{accountId:o,responsive:!1,iframe:r,width:960,height:540,urlBase:ue(),playerId:c,videoId:l}}),[o,l,r,c]);(0,t.useEffect)((function(){var e=g(),t=oe()(e);h(t)}),[g]);var v=n().createElement(re.c,{i18nKey:"tabs.helperText"},"Copy the HTML code and paste it on your website",n().createElement("a",{onClick:function(){navigator.clipboard.writeText(f),a.Toaster.success({title:d("toasterTitle"),message:d("toasterMessage")})},className:Ie.copyLink},"Copy")),y=n().createElement(a.Flex,null,n().createElement(a.FlexItem,{flexGrow:"1",className:b?Ie.redHelperText:Ie.helperText},d(b?"tabs.helperTextWarning":"tabs.helperTextNew")));return n().createElement(n().Fragment,null,m?n().createElement(n().Fragment,null,n().createElement(a.Toaster,{testName:"copy-toaster-new"}),n().createElement(a.CopyField,{className:b?se()(Ie.copyInput,Ie.disableCopyEvent):Ie.copyInput,helperNode:y,Component:a.PlainTextArea,componentProps:{disabled:!0,isResizable:!1,className:Ie.textAreaDimensions},onCopy:function(){a.Toaster.success({title:d("toasterTitle"),message:d("toasterMessage")})},onError:function(){a.Toaster.error({message:d("toasterErrorMessage")})},value:f,hideButton:!0})):n().createElement(n().Fragment,null,n().createElement(a.Toaster,{testName:"copy-toaster"}),n().createElement(a.TextArea,{value:f,readOnly:!0,disabled:!0,className:Ie.input,inputClassName:Ie.textArea,testName:"embed-code-text",helperText:v,rows:4})))},we=__webpack_require__(7094),ke={};ke.styleTagTransform=xe(),ke.setAttributes=ge(),ke.insert=me().bind(null,"head"),ke.domAPI=fe(),ke.insertStyleElement=ye();pe()(we.Z,ke);const Ce=we.Z&&we.Z.locals?we.Z.locals:void 0;function Pe(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function Oe(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){Pe(o,r,a,i,s,"next",e)}function s(e){Pe(o,r,a,i,s,"throw",e)}i(void 0)}))}}var Me=__webpack_require__(7757),Re=__webpack_require__.n(Me),De=__webpack_require__(6946),Be=__webpack_require__(4942);function Le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Le(Object(n),!0).forEach((function(t){(0,Be.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Le(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Fe=function(){return window.StudioModule.config},ze=function(e,t){var n;return function(e){var t=window.StudioModule.api();return new Promise((function(n,r){t.call(e,n,r)}))}(e(Ne(Ne({},t),(n=Fe(),{apiConfig:{publisherId:Fe().user.currentAccount.id,api:n.module.api}}))))},je=function(){var e=Oe(Re().mark((function e(){return Re().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",ze(De.Xo,{}));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();const Ve=function(t,n,r){var a=r&&t===e.VIDEO&&n;return(0,o.useQuery)(["players"],(function(){return je()}),{refetchOnWindowFocus:!1,refetchOnMount:!1,enabled:a})};var Ge=__webpack_require__(826),He=function(){var e=Oe(Re().mark((function e(t){var n;return Re().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.longUrl,e.abrupt("return",ze(Ge.P,{longUrl:n}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Ue=function(r){var o=r.video,l=r.type,c=(0,s.$)().t,u=(0,t.useState)("iframe"),d=(0,i.Z)(u,2),p=d[0],_=d[1],f=(0,t.useState)(!1),h=(0,i.Z)(f,2),m=h[0],b=h[1],g=(0,t.useState)(!1),v=(0,i.Z)(g,2),y=v[0],S=v[1],x=(0,t.useState)(!1),T=(0,i.Z)(x,2),A=T[0],I=T[1],E=(0,t.useState)("default"),w=(0,i.Z)(E,2),k=w[0],C=w[1],P=le(),O=(0,t.useState)({}),M=(0,i.Z)(O,2),R=M[0],D=M[1],B=(0,t.useState)([]),L=(0,i.Z)(B,2),N=L[0],F=L[1],z=Ve(null!=l?l:e.VIDEO,P,A),j=z.isLoading,V=z.data,G=(0,t.useCallback)((function(e,t){var n;if(!e&&(null!==(n=null==t?void 0:t.items.length)&&void 0!==n?n:0)>0){var r=[],a={};null==t||t.items.map((function(e){var t,n=null!==(t=e.branches.master.configuration.plugins)&&void 0!==t?t:[],o=!!n&&n.length>0,i=!1;if(o){n.find((function(e){return"bcMapPlugin"===e.name}))&&(i=!0)}r.push({label:e.name,value:e.id}),a[e.id]={label:e.name,id:e.id,hasPlugins:o,isCampaignPlayer:i}})),D(a),F(r)}}),[]);(0,t.useEffect)((function(){G(j,V)}),[G,j,V]),(0,t.useEffect)((function(){o&&(b(!0),A||I(!0))}),[o]);var H,U=function(){return n().createElement(Ee,{isIFrame:"iframe"===p,videoId:o.videoId,accountId:o.accountId,playerId:k,isCampaign:Y()})},Q=n().createElement(n().Fragment,null,n().createElement("div",null,c(P?"tooltipTextNew":"tooltipText")),n().createElement("a",{href:"https://studio.support.brightcove.com/players/getting-started-players-module.html",target:"_blank",rel:"noreferrer"},c("tooltipLink"))),W=function(e){return _(e)},K=function(){return"".concat(ue()).concat(o.accountId,"/").concat(k,"_default/index.html?videoId=").concat(o.videoId)},Z=function(){var e=K();window.open(e,"_blank")},q=function(){S(!0);var e=encodeURI(K());He({longUrl:e}).then((function(e){navigator.clipboard.writeText(e),a.Toaster.success({title:c("toasterTitle"),message:c("toasterGetURLSuccess")}),S(!1)})).catch((function(){a.Toaster.error({message:c("toasterGetURLError")}),S(!1)}))},Y=function(){var e;return null===(e=R[k])||void 0===e?void 0:e.isCampaignPlayer};return o?n().createElement(a.Modal,{testName:"embed-modal",title:c("modalHeader"),isOpen:m,large:P,onClose:function(){return b(!1)},buttons:n().createElement(a.Button,{text:c("closeModal"),onClick:function(){b(!1)},testName:"close-modal-btn"})},P?n().createElement(a.Flex,{className:Ce.videoDetailsContainerNew},n().createElement("div",{className:Ce.leftContent},n().createElement(a.Flex,null,n().createElement("div",{className:Ce.playerSelectLabel},c("player")),n().createElement(a.ToolTip,{content:Q,placement:"top",className:Ce.tooltip,reflow:!1})),N.length>0&&n().createElement(a.Select,{value:k,options:N,inputClassName:Ce.playerSelect,onChange:function(e){C(e)}}),n().createElement(ne,{accountId:o.accountId,playerId:k,videoId:o.videoId,baseUrl:ue(),attrs:{className:Ce.playerLoader},options:{autoplay:!1}}),(null===(H=R[k])||void 0===H?void 0:H.hasPlugins)&&n().createElement("span",{className:Ce.customPluginNotice},c("customPluginNotice")),n().createElement("div",null,n().createElement("div",{className:Ce.getURLBtnContainer},n().createElement(a.Button,{look:"tertiary",text:c("getURL"),testName:"get-url-btn",icon:y?"":"link",iconRight:!0,onClick:q}),y&&n().createElement(a.Loader,{className:Ce.getURLBtnSpinner,size:"inline",color:"navy"})),n().createElement(a.Button,{look:"tertiary",text:c("previewButton"),testName:"preview-player-btn",icon:"external_link",iconRight:!0,onClick:Z}))),n().createElement("div",{className:Ce.rightContent},n().createElement(a.Flex,{flexDirection:"column",className:Ce.mediaData},n().createElement("div",{className:Ce.mediaTitle},o.videoName),n().createElement("div",{className:Ce.mediaId},o.videoId)),n().createElement(a.Flex,{justifyContent:"space-between",alignItems:"baseline"},n().createElement(a.Tabs,{selectedId:p,onSelect:W},n().createElement(a.TabList,null,n().createElement(a.SmallTab,{tabId:"iframe",testName:"iframe-tab"},c("tabs.labels.iframe")),n().createElement(a.SmallTab,{tabId:"javascript",testName:"js-tab"},c("tabs.labels.javascript"))))),n().createElement(a.TabPanel,{render:U}))):n().createElement(n().Fragment,null,n().createElement(a.Flex,{className:Ce.videoDetailsContainer},n().createElement(a.Thumbnail,{className:Ce.thumbnail,duration:o.duration,size:"responsive",src:o.posterUrl,testName:"video-thumbnail"}),n().createElement(a.Flex,{flexDirection:"column",className:Ce.mediaData},n().createElement("div",{className:Ce.mediaTitle},o.videoName),n().createElement("div",{className:Ce.mediaId},o.videoId),n().createElement(a.FlexItem,{className:Ce.text},c("mediaNotice"),n().createElement(a.ToolTip,{content:Q,placement:"top",className:Ce.tooltip,reflow:!1})))),n().createElement(a.Flex,{justifyContent:"space-between",alignItems:"baseline"},n().createElement(a.Tabs,{selectedId:p,onSelect:W},n().createElement(a.TabList,null,n().createElement(a.SmallTab,{tabId:"iframe",testName:"iframe-tab"},c("tabs.labels.iframe")),n().createElement(a.SmallTab,{tabId:"javascript",testName:"js-tab"},c("tabs.labels.javascript")))),n().createElement(a.Button,{onClick:function(){Z()},testName:"preview-player-btn",icon:"external_link",text:c("previewButton"),look:"tertiary",iconRight:!0,className:Ce.previewButton})),n().createElement(a.TabPanel,{render:U}))):null},Qe=__webpack_require__(1002),We=__webpack_require__(5671),Ke=__webpack_require__(3144);function Ze(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var qe=__webpack_require__(9611);function Ye(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,qe.Z)(e,t)}function Je(e,t){if(t&&("object"===(0,Qe.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Ze(e)}function Xe(e){return Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Xe(e)}var $e=__webpack_require__(3878);var et=__webpack_require__(8192),tt=__webpack_require__(5267);function nt(e){return(0,$e.Z)(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,et.Z)(e)||(0,tt.Z)()}function rt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function at(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rt(Object(n),!0).forEach((function(t){(0,Be.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ot={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},it=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,We.Z)(this,e),this.init(t,n)}return(0,Ke.Z)(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||ot,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]="".concat(n).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}},{key:"create",value:function(t){return new e(this.logger,at(at({},{prefix:"".concat(this.prefix,":").concat(t,":")}),this.options))}}]),e}(),st=new it,lt=function(){function e(){(0,We.Z)(this,e),this.observers={}}return(0,Ke.Z)(e,[{key:"on",value:function(e,t){var n=this;return e.split(" ").forEach((function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)})),this}},{key:"off",value:function(e,t){this.observers[e]&&(t?this.observers[e]=this.observers[e].filter((function(e){return e!==t})):delete this.observers[e])}},{key:"emit",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(this.observers[e]){var a=[].concat(this.observers[e]);a.forEach((function(e){e.apply(void 0,n)}))}if(this.observers["*"]){var o=[].concat(this.observers["*"]);o.forEach((function(t){t.apply(t,[e].concat(n))}))}}}]),e}();function ct(){var e,t,n=new Promise((function(n,r){e=n,t=r}));return n.resolve=e,n.reject=t,n}function ut(e){return null==e?"":""+e}function dt(e,t,n){e.forEach((function(e){t[e]&&(n[e]=t[e])}))}function pt(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function a(){return!e||"string"==typeof e}for(var o="string"!=typeof t?[].concat(t):t.split(".");o.length>1;){if(a())return{};var i=r(o.shift());!e[i]&&n&&(e[i]=new n),e=Object.prototype.hasOwnProperty.call(e,i)?e[i]:{}}return a()?{}:{obj:e,k:r(o.shift())}}function _t(e,t,n){var r=pt(e,t,Object);r.obj[r.k]=n}function ft(e,t){var n=pt(e,t),r=n.obj,a=n.k;if(r)return r[a]}function ht(e,t,n){var r=ft(e,n);return void 0!==r?r:ft(t,n)}function mt(e,t,n){for(var r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"==typeof e[r]||e[r]instanceof String||"string"==typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):mt(e[r],t[r],n):e[r]=t[r]);return e}function bt(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var gt={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function vt(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(function(e){return gt[e]})):e}var yt="undefined"!=typeof window&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,St=[" ",",","?","!",";"];function xt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Tt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xt(Object(n),!0).forEach((function(t){(0,Be.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function At(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Xe(e);if(t){var a=Xe(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return Je(this,n)}}function It(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),a=e,o=0;o<r.length;++o){if(!a)return;if("string"==typeof a[r[o]]&&o+1<r.length)return;if(void 0===a[r[o]]){for(var i=2,s=r.slice(o,o+i).join(n),l=a[s];void 0===l&&r.length>o+i;)i++,l=a[s=r.slice(o,o+i).join(n)];if(void 0===l)return;if(t.endsWith(s)){if("string"==typeof l)return l;if(s&&"string"==typeof l[s])return l[s]}var c=r.slice(o+i).join(n);return c?It(l,c,n):void 0}a=a[r[o]]}return a}}var Et=function(e){Ye(n,e);var t=At(n);function n(e){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return(0,We.Z)(this,n),r=t.call(this),yt&<.call(Ze(r)),r.data=e||{},r.options=a,void 0===r.options.keySeparator&&(r.options.keySeparator="."),void 0===r.options.ignoreJSONStructure&&(r.options.ignoreJSONStructure=!0),r}return(0,Ke.Z)(n,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,o=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,i=[e,t];n&&"string"!=typeof n&&(i=i.concat(n)),n&&"string"==typeof n&&(i=i.concat(a?n.split(a):n)),e.indexOf(".")>-1&&(i=e.split("."));var s=ft(this.data,i);return s||!o||"string"!=typeof n?s:It(this.data&&this.data[e]&&this.data[e][t],n,a)}},{key:"addResource",value:function(e,t,n,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},o=this.options.keySeparator;void 0===o&&(o=".");var i=[e,t];n&&(i=i.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(r=t,t=(i=e.split("."))[1]),this.addNamespaces(t),_t(this.data,i,r),a.silent||this.emit("added",e,t,n,r)}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var a in n)"string"!=typeof n[a]&&"[object Array]"!==Object.prototype.toString.apply(n[a])||this.addResource(e,t,a,n[a],{silent:!0});r.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,r,a){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},i=[e,t];e.indexOf(".")>-1&&(r=n,n=t,t=(i=e.split("."))[1]),this.addNamespaces(t);var s=ft(this.data,i)||{};r?mt(s,n,a):s=Tt(Tt({},s),n),_t(this.data,i,s),o.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?Tt(Tt({},{}),this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"hasLanguageSomeTranslations",value:function(e){var t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((function(e){return t[e]&&Object.keys(t[e]).length>0}))}},{key:"toJSON",value:function(){return this.data}}]),n}(lt),wt={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,a){var o=this;return e.forEach((function(e){o.processors[e]&&(t=o.processors[e].process(t,n,r,a))})),t}};function kt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ct(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kt(Object(n),!0).forEach((function(t){(0,Be.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Pt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Xe(e);if(t){var a=Xe(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return Je(this,n)}}var Ot={},Mt=function(e){Ye(n,e);var t=Pt(n);function n(e){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,We.Z)(this,n),r=t.call(this),yt&<.call(Ze(r)),dt(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,Ze(r)),r.options=a,void 0===r.options.keySeparator&&(r.options.keySeparator="."),r.logger=st.create("translator"),r}return(0,Ke.Z)(n,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;var n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,a=t.ns||this.options.defaultNS||[],o=n&&e.indexOf(n)>-1,i=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||function(e,t,n){t=t||"",n=n||"";var r=St.filter((function(e){return t.indexOf(e)<0&&n.indexOf(e)<0}));if(0===r.length)return!0;var a=new RegExp("(".concat(r.map((function(e){return"?"===e?"\\?":e})).join("|"),")")),o=!a.test(e);if(!o){var i=e.indexOf(n);i>0&&!a.test(e.substring(0,i))&&(o=!0)}return o}(e,n,r));if(o&&!i){var s=e.match(this.interpolator.nestingRegexp);if(s&&s.length>0)return{key:e,namespaces:a};var l=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(l[0])>-1)&&(a=l.shift()),e=l.join(r)}return"string"==typeof a&&(a=[a]),{key:e,namespaces:a}}},{key:"translate",value:function(e,t,r){var a=this;if("object"!==(0,Qe.Z)(t)&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);var o=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,i=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,s=this.extractFromKey(e[e.length-1],t),l=s.key,c=s.namespaces,u=c[c.length-1],d=t.lng||this.language,p=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d&&"cimode"===d.toLowerCase()){if(p){var _=t.nsSeparator||this.options.nsSeparator;return o?(f.res="".concat(u).concat(_).concat(l),f):"".concat(u).concat(_).concat(l)}return o?(f.res=l,f):l}var f=this.resolve(e,t),h=f&&f.res,m=f&&f.usedKey||l,b=f&&f.exactUsedKey||l,g=Object.prototype.toString.apply(h),v=["[object Number]","[object Function]","[object RegExp]"],y=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,S=!this.i18nFormat||this.i18nFormat.handleAsObject,x="string"!=typeof h&&"boolean"!=typeof h&&"number"!=typeof h;if(S&&h&&x&&v.indexOf(g)<0&&("string"!=typeof y||"[object Array]"!==g)){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var T=this.options.returnedObjectHandler?this.options.returnedObjectHandler(m,h,Ct(Ct({},t),{},{ns:c})):"key '".concat(l," (").concat(this.language,")' returned an object instead of string.");return o?(f.res=T,f):T}if(i){var A="[object Array]"===g,I=A?[]:{},E=A?b:m;for(var w in h)if(Object.prototype.hasOwnProperty.call(h,w)){var k="".concat(E).concat(i).concat(w);I[w]=this.translate(k,Ct(Ct({},t),{joinArrays:!1,ns:c})),I[w]===k&&(I[w]=h[w])}h=I}}else if(S&&"string"==typeof y&&"[object Array]"===g)(h=h.join(y))&&(h=this.extendTranslation(h,e,t,r));else{var C=!1,P=!1,O=void 0!==t.count&&"string"!=typeof t.count,M=n.hasDefaultValue(t),R=O?this.pluralResolver.getSuffix(d,t.count,t):"",D=t["defaultValue".concat(R)]||t.defaultValue;!this.isValidLookup(h)&&M&&(C=!0,h=D),this.isValidLookup(h)||(P=!0,h=l);var B=t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,L=B&&P?void 0:h,N=M&&D!==h&&this.options.updateMissing;if(P||C||N){if(this.logger.log(N?"updateKey":"missingKey",d,u,l,N?D:h),i){var F=this.resolve(l,Ct(Ct({},t),{},{keySeparator:!1}));F&&F.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var z=[],j=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&j&&j[0])for(var V=0;V<j.length;V++)z.push(j[V]);else"all"===this.options.saveMissingTo?z=this.languageUtils.toResolveHierarchy(t.lng||this.language):z.push(t.lng||this.language);var G=function(e,n,r){var o=M&&r!==h?r:L;a.options.missingKeyHandler?a.options.missingKeyHandler(e,u,n,o,N,t):a.backendConnector&&a.backendConnector.saveMissing&&a.backendConnector.saveMissing(e,u,n,o,N,t),a.emit("missingKey",e,u,n,h)};this.options.saveMissing&&(this.options.saveMissingPlurals&&O?z.forEach((function(e){a.pluralResolver.getSuffixes(e,t).forEach((function(n){G([e],l+n,t["defaultValue".concat(n)]||D)}))})):G(z,l,D))}h=this.extendTranslation(h,e,t,f,r),P&&h===l&&this.options.appendNamespaceToMissingKey&&(h="".concat(u,":").concat(l)),(P||C)&&this.options.parseMissingKeyHandler&&(h="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(l,C?h:void 0):this.options.parseMissingKeyHandler(h))}return o?(f.res=h,f):h}},{key:"extendTranslation",value:function(e,t,n,r,a){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,Ct(Ct({},this.options.interpolation.defaultVariables),n),r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(Ct(Ct({},n),{interpolation:Ct(Ct({},this.options.interpolation),n.interpolation)}));var i,s="string"==typeof e&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(s){var l=e.match(this.interpolator.nestingRegexp);i=l&&l.length}var c=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(c=Ct(Ct({},this.options.interpolation.defaultVariables),c)),e=this.interpolator.interpolate(e,c,n.lng||this.language,n),s){var u=e.match(this.interpolator.nestingRegexp);i<(u&&u.length)&&(n.nest=!1)}!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return a&&a[0]===r[0]&&!n.context?(o.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(t[0])),null):o.translate.apply(o,r.concat([t]))}),n)),n.interpolation&&this.interpolator.reset()}var d=n.postProcess||this.options.postProcess,p="string"==typeof d?[d]:d;return null!=e&&p&&p.length&&!1!==n.applyPostProcessor&&(e=wt.handle(p,e,t,this.options&&this.options.postProcessPassResolved?Ct({i18nResolved:r},n):n,this)),e}},{key:"resolve",value:function(e){var t,n,r,a,o,i=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((function(e){if(!i.isValidLookup(t)){var l=i.extractFromKey(e,s),c=l.key;n=c;var u=l.namespaces;i.options.fallbackNS&&(u=u.concat(i.options.fallbackNS));var d=void 0!==s.count&&"string"!=typeof s.count,p=d&&!s.ordinal&&0===s.count&&i.pluralResolver.shouldUseIntlApi(),_=void 0!==s.context&&("string"==typeof s.context||"number"==typeof s.context)&&""!==s.context,f=s.lngs?s.lngs:i.languageUtils.toResolveHierarchy(s.lng||i.language,s.fallbackLng);u.forEach((function(e){i.isValidLookup(t)||(o=e,!Ot["".concat(f[0],"-").concat(e)]&&i.utils&&i.utils.hasLoadedNamespace&&!i.utils.hasLoadedNamespace(o)&&(Ot["".concat(f[0],"-").concat(e)]=!0,i.logger.warn('key "'.concat(n,'" for languages "').concat(f.join(", "),'" won\'t get resolved as namespace "').concat(o,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),f.forEach((function(n){if(!i.isValidLookup(t)){a=n;var o,l=[c];if(i.i18nFormat&&i.i18nFormat.addLookupKeys)i.i18nFormat.addLookupKeys(l,c,n,e,s);else{var u;d&&(u=i.pluralResolver.getSuffix(n,s.count,s));var f="_zero";if(d&&(l.push(c+u),p&&l.push(c+f)),_){var h="".concat(c).concat(i.options.contextSeparator).concat(s.context);l.push(h),d&&(l.push(h+u),p&&l.push(h+f))}}for(;o=l.pop();)i.isValidLookup(t)||(r=o,t=i.getResource(n,e,o,s))}})))}))}})),{res:t,usedKey:n,exactUsedKey:r,usedLng:a,usedNS:o}}},{key:"isValidLookup",value:function(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:"hasDefaultValue",value:function(e){var t="defaultValue";for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,t.length)&&void 0!==e[n])return!0;return!1}}]),n}(lt);function Rt(e){return e.charAt(0).toUpperCase()+e.slice(1)}var Dt=function(){function e(t){(0,We.Z)(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=st.create("languageUtils")}return(0,Ke.Z)(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map((function(e){return e.toLowerCase()})):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=Rt(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=Rt(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=Rt(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach((function(e){if(!t){var r=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(r)||(t=r)}})),!t&&this.options.supportedLngs&&e.forEach((function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find((function(e){if(0===e.indexOf(r))return e}))}})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),a=[],o=function(e){e&&(n.isSupportedCode(e)?a.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(e))):"string"==typeof e&&o(this.formatLanguageCode(e)),r.forEach((function(e){a.indexOf(e)<0&&o(n.formatLanguageCode(e))})),a}}]),e}(),Bt=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Lt={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},Nt=["v1","v2","v3"],Ft={zero:0,one:1,two:2,few:3,many:4,other:5};function zt(){var e={};return Bt.forEach((function(t){t.lngs.forEach((function(n){e[n]={numbers:t.nr,plurals:Lt[t.fc]}}))})),e}var jt=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,We.Z)(this,e),this.languageUtils=t,this.options=n,this.logger=st.create("pluralResolver"),this.options.compatibilityJSON&&"v4"!==this.options.compatibilityJSON||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=zt()}return(0,Ke.Z)(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(e,{type:t.ordinal?"ordinal":"cardinal"})}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map((function(e){return"".concat(t).concat(e)}))}},{key:"getSuffixes",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((function(e,t){return Ft[e]-Ft[t]})).map((function(e){return"".concat(t.options.prepend).concat(e)})):r.numbers.map((function(r){return t.getSuffix(e,r,n)})):[]}},{key:"getSuffix",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(r.select(t)):this.getSuffixRetroCompatible(r,t):(this.logger.warn("no plural rule found for: ".concat(e)),"")}},{key:"getSuffixRetroCompatible",value:function(e,t){var n=this,r=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),a=e.numbers[r];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===a?a="plural":1===a&&(a=""));var o=function(){return n.options.prepend&&a.toString()?n.options.prepend+a.toString():a.toString()};return"v1"===this.options.compatibilityJSON?1===a?"":"number"==typeof a?"_plural_".concat(a.toString()):o():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?o():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}},{key:"shouldUseIntlApi",value:function(){return!Nt.includes(this.options.compatibilityJSON)}}]),e}();function Vt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Gt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vt(Object(n),!0).forEach((function(t){(0,Be.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ht=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,We.Z)(this,e),this.logger=st.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return(0,Ke.Z)(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:vt,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?bt(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?bt(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?bt(t.nestingPrefix):t.nestingPrefixEscaped||bt("$t("),this.nestingSuffix=t.nestingSuffix?bt(t.nestingSuffix):t.nestingSuffixEscaped||bt(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,r){var a,o,i,s=this,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(e){return e.replace(/\$/g,"$$$$")}var u=function(e){if(e.indexOf(s.formatSeparator)<0){var a=ht(t,l,e);return s.alwaysFormat?s.format(a,void 0,n,Gt(Gt(Gt({},r),t),{},{interpolationkey:e})):a}var o=e.split(s.formatSeparator),i=o.shift().trim(),c=o.join(s.formatSeparator).trim();return s.format(ht(t,l,i),c,n,Gt(Gt(Gt({},r),t),{},{interpolationkey:i}))};this.resetRegExp();var d=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,p=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return c(e)}},{regex:this.regexp,safeValue:function(e){return s.escapeValue?c(s.escape(e)):c(e)}}].forEach((function(t){for(i=0;a=t.regex.exec(e);){var n=a[1].trim();if(void 0===(o=u(n)))if("function"==typeof d){var l=d(e,a,r);o="string"==typeof l?l:""}else if(r&&r.hasOwnProperty(n))o="";else{if(p){o=a[0];continue}s.logger.warn("missed to pass in variable ".concat(n," for interpolating ").concat(e)),o=""}else"string"==typeof o||s.useRawValueToEscape||(o=ut(o));var c=t.safeValue(o);if(e=e.replace(a[0],c),p?(t.regex.lastIndex+=c.length,t.regex.lastIndex-=a[0].length):t.regex.lastIndex=0,++i>=s.maxReplaces)break}})),e}},{key:"nest",value:function(e,t){var n,r,a=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=Gt({},o);function s(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),a="{".concat(r[1]);e=r[0],a=(a=this.interpolate(a,i)).replace(/'/g,'"');try{i=JSON.parse(a),t&&(i=Gt(Gt({},t),i))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(a)}return delete i.defaultValue,e}for(i.applyPostProcessor=!1,delete i.defaultValue;n=this.nestingRegexp.exec(e);){var l=[],c=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var u=n[1].split(this.formatSeparator).map((function(e){return e.trim()}));n[1]=u.shift(),l=u,c=!0}if((r=t(s.call(this,n[1].trim(),i),i))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=ut(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),c&&(r=l.reduce((function(e,t){return a.format(e,t,o.lng,Gt(Gt({},o),{},{interpolationkey:n[1].trim()}))}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}]),e}();function Ut(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Qt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ut(Object(n),!0).forEach((function(t){(0,Be.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ut(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Wt=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,We.Z)(this,e),this.logger=st.create("formatter"),this.options=t,this.formats={number:function(e,t,n){return new Intl.NumberFormat(t,n).format(e)},currency:function(e,t,n){return new Intl.NumberFormat(t,Qt(Qt({},n),{},{style:"currency"})).format(e)},datetime:function(e,t,n){return new Intl.DateTimeFormat(t,Qt({},n)).format(e)},relativetime:function(e,t,n){return new Intl.RelativeTimeFormat(t,Qt({},n)).format(e,n.range||"day")},list:function(e,t,n){return new Intl.ListFormat(t,Qt({},n)).format(e)}},this.init(t)}return(0,Ke.Z)(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},n=t.interpolation;this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||","}},{key:"add",value:function(e,t){this.formats[e.toLowerCase().trim()]=t}},{key:"format",value:function(e,t,n,r){var a=this,o=t.split(this.formatSeparator).reduce((function(e,t){var o=function(e){var t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){var r=e.split("(");t=r[0].toLowerCase().trim();var a=r[1].substring(0,r[1].length-1);"currency"===t&&a.indexOf(":")<0?n.currency||(n.currency=a.trim()):"relativetime"===t&&a.indexOf(":")<0?n.range||(n.range=a.trim()):a.split(";").forEach((function(e){if(e){var t=nt(e.split(":")),r=t[0],a=t.slice(1).join(":");n[r.trim()]||(n[r.trim()]=a.trim()),"false"===a.trim()&&(n[r.trim()]=!1),"true"===a.trim()&&(n[r.trim()]=!0),isNaN(a.trim())||(n[r.trim()]=parseInt(a.trim(),10))}}))}return{formatName:t,formatOptions:n}}(t),i=o.formatName,s=o.formatOptions;if(a.formats[i]){var l=e;try{var c=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},u=c.locale||c.lng||r.locale||r.lng||n;l=a.formats[i](e,u,Qt(Qt(Qt({},s),r),c))}catch(e){a.logger.warn(e)}return l}return a.logger.warn("there was no format function for ".concat(i)),e}),e);return o}}]),e}();function Kt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Zt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Kt(Object(n),!0).forEach((function(t){(0,Be.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Kt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function qt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Xe(e);if(t){var a=Xe(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return Je(this,n)}}var Yt=function(e){Ye(n,e);var t=qt(n);function n(e,r,a){var o,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return(0,We.Z)(this,n),o=t.call(this),yt&<.call(Ze(o)),o.backend=e,o.store=r,o.services=a,o.languageUtils=a.languageUtils,o.options=i,o.logger=st.create("backendConnector"),o.waitingReads=[],o.maxParallelReads=i.maxParallelReads||10,o.readingCalls=0,o.state={},o.queue=[],o.backend&&o.backend.init&&o.backend.init(a,i.backend,i),o}return(0,Ke.Z)(n,[{key:"queueLoad",value:function(e,t,n,r){var a=this,o={},i={},s={},l={};return e.forEach((function(e){var r=!0;t.forEach((function(t){var s="".concat(e,"|").concat(t);!n.reload&&a.store.hasResourceBundle(e,t)?a.state[s]=2:a.state[s]<0||(1===a.state[s]?void 0===i[s]&&(i[s]=!0):(a.state[s]=1,r=!1,void 0===i[s]&&(i[s]=!0),void 0===o[s]&&(o[s]=!0),void 0===l[t]&&(l[t]=!0)))})),r||(s[e]=!0)})),(Object.keys(o).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(o),pending:Object.keys(i),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(l)}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),a=r[0],o=r[1];t&&this.emit("failedLoading",a,o,t),n&&this.store.addResourceBundle(a,o,n),this.state[e]=t?-1:2;var i={};this.queue.forEach((function(n){var r,s,l,c,u,d;r=n.loaded,s=o,c=pt(r,[a],Object),u=c.obj,d=c.k,u[d]=u[d]||[],l&&(u[d]=u[d].concat(s)),l||u[d].push(s),function(e,t){delete e.pending[t],e.pendingCount--}(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach((function(e){i[e]||(i[e]={});var t=Object.keys(i[e]);t.length&&t.forEach((function(n){void 0!==t[n]&&(i[e][n]=!0)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",i),this.queue=this.queue.filter((function(e){return!e.done}))}},{key:"read",value:function(e,t,n){var r=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:350,i=arguments.length>5?arguments[5]:void 0;return e.length?this.readingCalls>=this.maxParallelReads?void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:a,wait:o,callback:i}):(this.readingCalls++,this.backend[n](e,t,(function(s,l){if(s&&l&&a<5)setTimeout((function(){r.read.call(r,e,t,n,a+1,2*o,i)}),o);else{if(r.readingCalls--,r.waitingReads.length>0){var c=r.waitingReads.shift();r.read(c.lng,c.ns,c.fcName,c.tried,c.wait,c.callback)}i(s,l)}}))):i(null,{})}},{key:"prepareLoading",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var o=this.queueLoad(e,t,r,a);if(!o.toLoad.length)return o.pending.length||a(),null;o.toLoad.forEach((function(e){n.loadOne(e)}))}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),a=r[0],o=r[1];this.read(a,o,"read",void 0,void 0,(function(r,i){r&&t.logger.warn("".concat(n,"loading namespace ").concat(o," for language ").concat(a," failed"),r),!r&&i&&t.logger.log("".concat(n,"loaded namespace ").concat(o," for language ").concat(a),i),t.loaded(e,r,i)}))}},{key:"saveMissing",value:function(e,t,n,r,a){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)?this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):null!=n&&""!==n&&(this.backend&&this.backend.create&&this.backend.create(e,t,n,r,null,Zt(Zt({},o),{},{isUpdate:a})),e&&e[0]&&this.store.addResource(e[0],t,n,r))}}]),n}(lt);function Jt(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===(0,Qe.Z)(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===(0,Qe.Z)(e[2])||"object"===(0,Qe.Z)(e[3])){var n=e[3]||e[2];Object.keys(n).forEach((function(e){t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function Xt(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function $t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function en(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$t(Object(n),!0).forEach((function(t){(0,Be.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$t(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function tn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Xe(e);if(t){var a=Xe(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return Je(this,n)}}function nn(){}function rn(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((function(t){"function"==typeof e[t]&&(e[t]=e[t].bind(e))}))}var an=function(e){Ye(n,e);var t=tn(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;if((0,We.Z)(this,n),e=t.call(this),yt&<.call(Ze(e)),e.options=Xt(r),e.services={},e.logger=st,e.modules={external:[]},rn(Ze(e)),a&&!e.isInitialized&&!r.isClone){if(!e.options.initImmediate)return e.init(r,a),Je(e,Ze(e));setTimeout((function(){e.init(r,a)}),0)}return e}return(0,Ke.Z)(n,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;"function"==typeof t&&(n=t,t={}),!t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));var r=Jt();function a(e){return e?"function"==typeof e?new e:e:null}if(this.options=en(en(en({},r),this.options),Xt(t)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=en(en({},r.interpolation),this.options.interpolation)),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){var o;this.modules.logger?st.init(a(this.modules.logger),this.options):st.init(null,this.options),this.modules.formatter?o=this.modules.formatter:"undefined"!=typeof Intl&&(o=Wt);var i=new Dt(this.options);this.store=new Et(this.options.resources,this.options);var s=this.services;s.logger=st,s.resourceStore=this.store,s.languageUtils=i,s.pluralResolver=new jt(i,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!o||this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format||(s.formatter=a(o),s.formatter.init(s,this.options),this.options.interpolation.format=s.formatter.format.bind(s.formatter)),s.interpolator=new Ht(this.options),s.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},s.backendConnector=new Yt(a(this.modules.backend),s.resourceStore,s,this.options),s.backendConnector.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];e.emit.apply(e,[t].concat(r))})),this.modules.languageDetector&&(s.languageDetector=a(this.modules.languageDetector),s.languageDetector.init(s,this.options.detection,this.options)),this.modules.i18nFormat&&(s.i18nFormat=a(this.modules.i18nFormat),s.i18nFormat.init&&s.i18nFormat.init(this)),this.translator=new Mt(this.services,this.options),this.translator.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];e.emit.apply(e,[t].concat(r))})),this.modules.external.forEach((function(t){t.init&&t.init(e)}))}if(this.format=this.options.interpolation.format,n||(n=nn),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var l=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);l.length>0&&"dev"!==l[0]&&(this.options.lng=l[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");var c=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];c.forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}}));var u=["addResource","addResources","addResourceBundle","removeResourceBundle"];u.forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e}}));var d=ct(),p=function(){var t=function(t,r){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),d.resolve(r),n(t,r)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?p():setTimeout(p,0),d}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nn,r=n,a="string"==typeof e?e:this.language;if("function"==typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(a&&"cimode"===a.toLowerCase())return r();var o=[],i=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach((function(e){o.indexOf(e)<0&&o.push(e)}))};if(a)i(a);else{var s=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);s.forEach((function(e){return i(e)}))}this.options.preload&&this.options.preload.forEach((function(e){return i(e)})),this.services.backendConnector.load(o,this.options.ns,(function(e){e||t.resolvedLanguage||!t.language||t.setResolvedLanguage(t.language),r(e)}))}else r(null)}},{key:"reloadResources",value:function(e,t,n){var r=ct();return e||(e=this.languages),t||(t=this.options.ns),n||(n=nn),this.services.backendConnector.reload(e,t,(function(e){r.resolve(),n(e)})),r}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&wt.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"setResolvedLanguage",value:function(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(var t=0;t<this.languages.length;t++){var n=this.languages[t];if(!(["cimode","dev"].indexOf(n)>-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=ct();this.emit("languageChanging",e);var a=function(e){n.language=e,n.languages=n.services.languageUtils.toResolveHierarchy(e),n.resolvedLanguage=void 0,n.setResolvedLanguage(e)},o=function(o){e||o||!n.services.languageDetector||(o=[]);var i="string"==typeof o?o:n.services.languageUtils.getBestMatchFromCodes(o);i&&(n.language||a(i),n.translator.language||n.translator.changeLanguage(i),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(i)),n.loadResources(i,(function(e){!function(e,o){o?(a(o),n.translator.changeLanguage(o),n.isLanguageChangingTo=void 0,n.emit("languageChanged",o),n.logger.log("languageChanged",o)):n.isLanguageChangingTo=void 0,r.resolve((function(){return n.t.apply(n,arguments)})),t&&t(e,(function(){return n.t.apply(n,arguments)}))}(e,i)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(o):o(e):o(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(e,t,n){var r=this,a=function e(t,a){var o;if("object"!==(0,Qe.Z)(a)){for(var i=arguments.length,s=new Array(i>2?i-2:0),l=2;l<i;l++)s[l-2]=arguments[l];o=r.options.overloadTranslationOptionHandler([t,a].concat(s))}else o=en({},a);o.lng=o.lng||e.lng,o.lngs=o.lngs||e.lngs,o.ns=o.ns||e.ns;var c=r.options.keySeparator||".",u=n?"".concat(n).concat(c).concat(t):t;return r.t(u,o)};return"string"==typeof e?a.lng=e:a.lngs=e,a.ns=t,a.keyPrefix=n,a}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=this.resolvedLanguage||this.languages[0],a=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var i=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};if(n.precheck){var s=n.precheck(this,i);if(void 0!==s)return s}return!!this.hasResourceBundle(r,e)||(!(this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages))||!(!i(r,e)||a&&!i(o,e)))}},{key:"loadNamespaces",value:function(e,t){var n=this,r=ct();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e)})),this.loadResources((function(e){r.resolve(),t&&t(e)})),r):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=ct();"string"==typeof e&&(e=[e]);var r=this.options.preload||[],a=e.filter((function(e){return r.indexOf(e)<0}));return a.length?(this.options.preload=r.concat(a),this.loadResources((function(e){n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nn,a=en(en(en({},this.options),t),{isClone:!0}),o=new n(a),i=["store","services","language"];return i.forEach((function(t){o[t]=e[t]})),o.services=en({},this.services),o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o.translator=new Mt(o.services,o.options),o.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];o.emit.apply(o,[e].concat(n))})),o.init(a,r),o.translator.options=o.options,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),n}(lt);(0,Be.Z)(an,"createInstance",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new an(e,t)}));var on=an.createInstance();on.createInstance=an.createInstance;on.createInstance,on.init,on.loadResources,on.reloadResources,on.use,on.changeLanguage,on.getFixedT,on.t,on.exists,on.setDefaultNamespace,on.hasLoadedNamespace,on.loadNamespaces,on.loadLanguages;const sn=on;var ln=__webpack_require__(8718);var cn,un,dn={en:{translation:JSON.parse('{"modalHeader":"Embed on website","mediaNotice":"Will use your account’s default player","tooltipText":"Currently using the Brightcove Default Player. Player management coming soon.","tooltipTextNew":"Players determine the video playback experience such as styling, special configuration settings, and more.","tooltipLink":"Learn more about players","previewButton":"Preview","player":"Player","getURL":"Get URL","tabs":{"labels":{"iframe":"iFrame","javascript":"JavaScript"},"helperText":"Copy the HTML code and paste it on your website. <1>Copy</1>","helperTextNew":"Copy the HTML code and paste it on your website.","helperTextWarning":"The selected player restricts iFrame use to ensure the proper tracking as configured."},"closeModal":"Done","toasterTitle":"Success.","toasterMessage":"Code copied to clipboard","toasterGetURLSuccess":"Code copied to clipboard","toasterErrorMessage":"Error while copying text to clipboard","toasterGetURLError":"URL cannot be generated","customPluginNotice":"Due to custom configurations, you may not be experiencing the full preview."}')},es:{translation:JSON.parse('{"modalHeader":"Incrustar en sitio web","mediaNotice":"Utilizará el reproductor predeterminado de su cuenta","tooltipText":"Actualmente se está utilizando el reproductor predeterminado de Brightcove. La gestión de reproductores estará disponible próximamente.","tooltipTextNew":"Los reproductores determinan la experiencia del usuario a la hora de reproducir vídeos por medio de ajustes como el estilo del reproductor, ajustes de configuración especiales y otros.","tooltipLink":"Más información sobre reproductores","previewButton":"Vista previa","player":"Reproductor","getURL":"Obtener URL","tabs":{"labels":{"iframe":"iFrame","javascript":"JavaScript"},"helperText":"Copie el código HTML y péguelo en su sitio web.<1>Copiar</1>","helperTextNew":"Copie el código HTML y péguelo en su sitio web.","helperTextWarning":"El reproductor seleccionado restringe el uso de iFrame para garantizar el seguimiento adecuado según lo configurado."},"closeModal":"Hecho","toasterTitle":"Operación realizada correctamente.","toasterMessage":"Código copiado al portapapeles","toasterGetURLSuccess":"Código copiado al portapapeles","toasterGetURLError":"No es posible generar la URL","toasterErrorMessage":"Se ha producido un error al copiar el texto al portapapeles.","customPluginNotice":"Puede ocurrir que las configuraciones personalizadas impidan la previsualización completa."}')},fr:{translation:JSON.parse('{"modalHeader":"Intégration à un site Internet","mediaNotice":"Ceci utilisera le lecteur par défaut de votre compte","tooltipText":"Utilise actuellement le lecteur Brightcove par défaut. La fonctionnalité de gestion des lecteurs sera bientôt disponible.","tooltipTextNew":"Les joueurs choisissent l\'expérience de lecture vidéo comme l\'apparence, les paramètres de configuration spéciaux, et plus.","tooltipLink":"En savoir plus sur les lecteurs","previewButton":"Aperçu","player":"Player","getURL":"Obtenir l\'URL","tabs":{"labels":{"iframe":"iFrame","javascript":"JavaScript"},"helperText":"Copiez le code HTML et collez-le dans votre site Internet.<1>Copier</1>","helperTextNew":"Copiez le code HTML et collez-le dans votre site Internet.","helperTextWarning":"Le joueur sélectionné limite l\'utilisation d\'iFrame afin de veiller à ce que le suivi approprié soit configuré."},"closeModal":"Terminé","toasterTitle":"Réussite.","toasterMessage":"Code copié dans le presse-papiers","toasterGetURLSuccess":"Code copié dans le presse-papiers","toasterGetURLError":"Impossible de générer l\'URL","toasterErrorMessage":"Erreur lors de la copie du texte dans le presse-papiers","customPluginNotice":"En raison des configurations personnalisées, vous pourriez ne pas pouvoir visualiser l\'aperçu plein écran."}')},ja:{translation:JSON.parse('{"modalHeader":"Webサイトに埋め込み","mediaNotice":"アカウントのデフォルトのプレーヤーを使用します","tooltipText":"現在、Brightcoveのデフォルトのプレーヤーを使用しています。プレーヤー管理が、間もなく公開されます。","tooltipTextNew":"プレーヤーは、スタイル指定や特別な設定など、動画再生体験を決定します。","tooltipLink":"プレーヤーについての詳細","previewButton":"プレビュー","player":"プレーヤー","getURL":"URLを取得する","tabs":{"labels":{"iframe":"iFrame","javascript":"JavaScript"},"helperText":"HTMLコードをコピーし、お客様のWebサイトに貼り付けてください。<1>コピー</1>","helperTextNew":"HTMLコードをコピーし、お客様のWebサイトに貼り付けてください。","helperTextWarning":"選択されたプレーヤーは、設定された適切なトラッキングを実現するため、iFrameの使用を制限しています。"},"closeModal":"完了","toasterTitle":"成功。","toasterMessage":"コードをクリップボードにコピーしました","toasterGetURLSuccess":"コードをクリップボードにコピーしました","toasterGetURLError":"URLを生成できません","toasterErrorMessage":"テキストをクリップボードにコピー中にエラーが発生しました","customPluginNotice":"カスタム設定により、プレビューが完全でない場合があります。"}')},ko:{translation:JSON.parse('{"modalHeader":"웹사이트에 임베드","mediaNotice":"계정의 기본 플레이어를 사용합니다","tooltipText":"현재 Brightcove 기본 플레이어 사용 중입니다. 플레이어 관리가 곧 출시됩니다.","tooltipTextNew":"플레이어는 스타일 지정, 특수 구성 설정 등 비디오 재생 경험을 결정합니다.","tooltipLink":"플레이어에 대해 자세히 알아보기","previewButton":"미리 보기","player":"플레이어","getURL":"URL 받기","tabs":{"labels":{"iframe":"iFrame","javascript":"JavaScript"},"helperText":"HTML 코드를 복사하여 웹사이트에 붙여넣으십시오.<1>복사</1>","helperTextNew":"HTML 코드를 복사하여 웹사이트에 붙여넣으십시오.","helperTextWarning":"선택된 플레이어는 구성된 대로 적절하게 추적할 수 있도록 iFrame 사용을 제한합니다."},"closeModal":"완료","toasterTitle":"성공.","toasterMessage":"클립보드에 코드가 복사됨","toasterGetURLSuccess":"클립보드에 코드가 복사됨","toasterGetURLError":"URL 생성 불가","toasterErrorMessage":"클립보드에 텍스트를 복사하는 중 오류 발생","customPluginNotice":"사용자 정의 구성으로 인해 전체 미리 보기를 이용하지 못할 수도 있습니다."}')},zh:{translation:JSON.parse('{"modalHeader":"內嵌到網站","mediaNotice":"會使用您帳戶的預設播放程式","tooltipText":"目前使用 Brightcove 預設播放程式。播放程式管理功能即將推出。","tooltipTextNew":"播放器決定視訊播放體驗,例如樣式風格、特別組態設定等。","tooltipLink":"瞭解關於播放程式的更多資訊","previewButton":"預覽","player":"播放程式","getURL":"取得 URL","tabs":{"labels":{"iframe":"iFrame","javascript":"JavaScript"},"helperText":"複製 HTML 程式碼並貼到您的網站上。<1>複製</1>","helperTextNew":"複製 HTML 程式碼並貼到您的網站上。","helperTextWarning":"所選播放程式會限制 iFrame 的使用,以確保依設定正確追蹤。"},"closeModal":"完成","toasterTitle":"成功.","toasterMessage":"程式碼已複製到剪貼簿","toasterGetURLSuccess":"程式碼已複製到剪貼簿","toasterGetURLError":"無法產生 URL","toasterErrorMessage":"複製文字到剪貼簿時發生錯誤","customPluginNotice":"由於自訂組態,您可能無法體驗完整預覽版。"}')}};sn.use(ln.Db).init({lng:(null===(cn=window.StudioModule)||void 0===cn||null===(un=cn.config)||void 0===un?void 0:un.lang)||"en",fallbackLng:"en",debug:!0,returnObjects:!0,resources:dn,interpolation:{escapeValue:!1}});const pn=sn;(0,a.initialize)({theme:"blueSteel"});var _n=new o.QueryClient;const fn=function(e){return(0,t.useEffect)((function(){pn.changeLanguage(e.language||window.StudioModule.config.lang)}),[e.language]),n().createElement(o.QueryClientProvider,{client:_n},n().createElement(r.a,{i18n:pn},n().createElement(Ue,e)))}})(),__webpack_exports__})()));
|