/
text-viewer.js
3 lines (3 loc) Β· 67.4 KB
/
text-viewer.js
1
2
3
/*! For license information please see text-viewer.js.LICENSE.txt */
(()=>{var e,t,r,n,i={22200:(e,t,r)=>{"use strict";var n=r(57888),i=void 0,o=[];n.subscribe("csrf-token-update",(function(e){i=e.token,o.forEach((function(t){try{t(e.token)}catch(e){console.error("error updating CSRF token observer",e)}}))}));var s=function(e,t){return e?e.getAttribute(t):null},a=void 0;t.getCurrentUser=function(){if(void 0!==a)return a;var e=null===document||void 0===document?void 0:document.getElementsByTagName("head")[0];if(!e)return null;var t=s(e,"data-user");return a=null===t?null:{uid:t,displayName:s(e,"data-user-displayname"),isAdmin:"undefined"!=typeof OC&&OC.isUserAdmin()}},t.getRequestToken=function(){if(void 0===i){var e=null===document||void 0===document?void 0:document.getElementsByTagName("head")[0];i=e?e.getAttribute("data-requesttoken"):null}return i},t.onRequestTokenUpdate=function(e){o.push(e)}},67737:(e,t,r)=>{const n=r(85503),{MAX_LENGTH:i,MAX_SAFE_INTEGER:o}=r(35519),{safeRe:s,t:a}=r(88238),c=r(74433),{compareIdentifiers:u}=r(63242);class l{constructor(e,t){if(t=c(t),e instanceof l){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>i)throw new TypeError(`version is longer than ${i} characters`);n("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?s[a.LOOSE]:s[a.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[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");r[4]?this.prerelease=r[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<o)return t}return e})):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(n("SemVer.compare",this.version,this.options,e),!(e instanceof l)){if("string"==typeof e&&e===this.version)return 0;e=new l(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof l||(e=new l(e,this.options)),u(this.major,e.major)||u(this.minor,e.minor)||u(this.patch,e.patch)}comparePre(e){if(e instanceof l||(e=new l(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;let t=0;do{const r=this.prerelease[t],i=e.prerelease[t];if(n("prerelease compare",t,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return u(r,i)}while(++t)}compareBuild(e){e instanceof l||(e=new l(e,this.options));let t=0;do{const r=this.build[t],i=e.build[t];if(n("prerelease compare",t,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return u(r,i)}while(++t)}inc(e,t,r){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,r),this.inc("pre",t,r);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,r),this.inc("pre",t,r);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":{const e=Number(r)?1:0;if(!t&&!1===r)throw new Error("invalid increment argument: identifier is empty");if(0===this.prerelease.length)this.prerelease=[e];else{let n=this.prerelease.length;for(;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(t===this.prerelease.join(".")&&!1===r)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let n=[t,e];!1===r&&(n=[t]),0===u(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=l},92426:(e,t,r)=>{const n=r(67737);e.exports=(e,t)=>new n(e,t).major},67488:(e,t,r)=>{const n=r(67737);e.exports=(e,t,r=!1)=>{if(e instanceof n)return e;try{return new n(e,t)}catch(e){if(!r)return null;throw e}}},77907:(e,t,r)=>{const n=r(67488);e.exports=(e,t)=>{const r=n(e,t);return r?r.version:null}},35519:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},85503:(e,t,r)=>{var n=r(34155);const i="object"==typeof n&&n.env&&n.env.NODE_DEBUG&&/\bsemver\b/i.test(n.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=i},63242:e=>{const t=/^[0-9]+$/,r=(e,r)=>{const n=t.test(e),i=t.test(r);return n&&i&&(e=+e,r=+r),e===r?0:n&&!i?-1:i&&!n?1:e<r?-1:1};e.exports={compareIdentifiers:r,rcompareIdentifiers:(e,t)=>r(t,e)}},74433:e=>{const t=Object.freeze({loose:!0}),r=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:r},88238:(e,t,r)=>{const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:i}=r(35519),o=r(85503),s=(t=e.exports={}).re=[],a=t.safeRe=[],c=t.src=[],u=t.t={};let l=0;const f="[a-zA-Z0-9-]",h=[["\\s",1],["\\d",n],[f,i]],p=(e,t,r)=>{const n=(e=>{for(const[t,r]of h)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e})(t),i=l++;o(e,i,t),u[e]=i,c[i]=t,s[i]=new RegExp(t,r?"g":void 0),a[i]=new RegExp(n,r?"g":void 0)};p("NUMERICIDENTIFIER","0|[1-9]\\d*"),p("NUMERICIDENTIFIERLOOSE","\\d+"),p("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),p("MAINVERSION",`(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})`),p("MAINVERSIONLOOSE",`(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})`),p("PRERELEASEIDENTIFIER",`(?:${c[u.NUMERICIDENTIFIER]}|${c[u.NONNUMERICIDENTIFIER]})`),p("PRERELEASEIDENTIFIERLOOSE",`(?:${c[u.NUMERICIDENTIFIERLOOSE]}|${c[u.NONNUMERICIDENTIFIER]})`),p("PRERELEASE",`(?:-(${c[u.PRERELEASEIDENTIFIER]}(?:\\.${c[u.PRERELEASEIDENTIFIER]})*))`),p("PRERELEASELOOSE",`(?:-?(${c[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[u.PRERELEASEIDENTIFIERLOOSE]})*))`),p("BUILDIDENTIFIER","[a-zA-Z0-9-]+"),p("BUILD",`(?:\\+(${c[u.BUILDIDENTIFIER]}(?:\\.${c[u.BUILDIDENTIFIER]})*))`),p("FULLPLAIN",`v?${c[u.MAINVERSION]}${c[u.PRERELEASE]}?${c[u.BUILD]}?`),p("FULL",`^${c[u.FULLPLAIN]}$`),p("LOOSEPLAIN",`[v=\\s]*${c[u.MAINVERSIONLOOSE]}${c[u.PRERELEASELOOSE]}?${c[u.BUILD]}?`),p("LOOSE",`^${c[u.LOOSEPLAIN]}$`),p("GTLT","((?:<|>)?=?)"),p("XRANGEIDENTIFIERLOOSE",`${c[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),p("XRANGEIDENTIFIER",`${c[u.NUMERICIDENTIFIER]}|x|X|\\*`),p("XRANGEPLAIN",`[v=\\s]*(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:${c[u.PRERELEASE]})?${c[u.BUILD]}?)?)?`),p("XRANGEPLAINLOOSE",`[v=\\s]*(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:${c[u.PRERELEASELOOSE]})?${c[u.BUILD]}?)?)?`),p("XRANGE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAIN]}$`),p("XRANGELOOSE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAINLOOSE]}$`),p("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),p("COERCERTL",c[u.COERCE],!0),p("LONETILDE","(?:~>?)"),p("TILDETRIM",`(\\s*)${c[u.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",p("TILDE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAIN]}$`),p("TILDELOOSE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAINLOOSE]}$`),p("LONECARET","(?:\\^)"),p("CARETTRIM",`(\\s*)${c[u.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",p("CARET",`^${c[u.LONECARET]}${c[u.XRANGEPLAIN]}$`),p("CARETLOOSE",`^${c[u.LONECARET]}${c[u.XRANGEPLAINLOOSE]}$`),p("COMPARATORLOOSE",`^${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]})$|^$`),p("COMPARATOR",`^${c[u.GTLT]}\\s*(${c[u.FULLPLAIN]})$|^$`),p("COMPARATORTRIM",`(\\s*)${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]}|${c[u.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",p("HYPHENRANGE",`^\\s*(${c[u.XRANGEPLAIN]})\\s+-\\s+(${c[u.XRANGEPLAIN]})\\s*$`),p("HYPHENRANGELOOSE",`^\\s*(${c[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[u.XRANGEPLAINLOOSE]})\\s*$`),p("STAR","(<|>)?=?\\s*\\*"),p("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),p("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},71356:(e,t,r)=>{"use strict";r(69070),r(32165),r(66992),r(78783),r(33948),Object.defineProperty(t,"__esModule",{value:!0}),t.ConsoleLogger=void 0,t.buildConsoleLogger=function(e){return new a(e)},r(19601),r(96649),r(96078),r(82526),r(41817),r(41539),r(9653);var n=r(20006);function i(e){return i="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},i(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,s(n.key),n)}}function s(e){var t=function(e,t){if("object"!==i(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===i(t)?t:String(t)}var a=function(){function e(t){var r,n,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),r=this,i=void 0,(n=s(n="context"))in r?Object.defineProperty(r,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[n]=i,this.context=t}var t,r,i;return t=e,(r=[{key:"formatMessage",value:function(e,t,r){var i="["+n.LogLevel[t].toUpperCase()+"]";return r&&r.app&&(i+=" "+r.app+": "),i+e}},{key:"log",value:function(e,t,r){var i;if(!(e<(null===(i=this.context)||void 0===i?void 0:i.level)))switch(e){case n.LogLevel.Debug:console.debug(this.formatMessage(t,n.LogLevel.Debug,r),r);break;case n.LogLevel.Info:console.info(this.formatMessage(t,n.LogLevel.Info,r),r);break;case n.LogLevel.Warn:console.warn(this.formatMessage(t,n.LogLevel.Warn,r),r);break;case n.LogLevel.Error:console.error(this.formatMessage(t,n.LogLevel.Error,r),r);break;case n.LogLevel.Fatal:default:console.error(this.formatMessage(t,n.LogLevel.Fatal,r),r)}}},{key:"debug",value:function(e,t){this.log(n.LogLevel.Debug,e,Object.assign({},this.context,t))}},{key:"info",value:function(e,t){this.log(n.LogLevel.Info,e,Object.assign({},this.context,t))}},{key:"warn",value:function(e,t){this.log(n.LogLevel.Warn,e,Object.assign({},this.context,t))}},{key:"error",value:function(e,t){this.log(n.LogLevel.Error,e,Object.assign({},this.context,t))}},{key:"fatal",value:function(e,t){this.log(n.LogLevel.Fatal,e,Object.assign({},this.context,t))}}])&&o(t.prototype,r),i&&o(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.ConsoleLogger=a},55058:(e,t,r)=>{"use strict";r(69070),r(32165),r(66992),r(78783),r(33948),Object.defineProperty(t,"__esModule",{value:!0}),t.LoggerBuilder=void 0,r(96649),r(96078),r(82526),r(41817),r(41539),r(9653);var n=r(22200),i=r(20006);function o(e){return o="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},o(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,c(n.key),n)}}function a(e,t,r){return(t=c(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){var t=function(e,t){if("object"!==o(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===o(t)?t:String(t)}var u=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),a(this,"context",void 0),a(this,"factory",void 0),this.context={},this.factory=t}var t,r,o;return t=e,(r=[{key:"setApp",value:function(e){return this.context.app=e,this}},{key:"setLogLevel",value:function(e){return this.context.level=e,this}},{key:"setUid",value:function(e){return this.context.uid=e,this}},{key:"detectUser",value:function(){var e=(0,n.getCurrentUser)();return null!==e&&(this.context.uid=e.uid),this}},{key:"detectLogLevel",value:function(){var e=this;return function t(){var r,n,o;"complete"===document.readyState||"interactive"===document.readyState&&void 0!==window.OC?(e.context.level=void 0!==(null===(r=window.OC)||void 0===r||null===(n=r.config)||void 0===n?void 0:n.loglevel)?window.OC.config.loglevel:i.LogLevel.Warn,null!==(o=window.OC)&&void 0!==o&&o.debug&&(e.context.level=i.LogLevel.Debug),document.removeEventListener("readystatechange",t)):document.addEventListener("readystatechange",t)}(),this}},{key:"build",value:function(){return void 0===this.context.level&&this.detectLogLevel(),this.factory(this.context)}}])&&s(t.prototype,r),o&&s(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.LoggerBuilder=u},20006:(e,t,r)=>{"use strict";var n;r(69070),Object.defineProperty(t,"__esModule",{value:!0}),t.LogLevel=void 0,t.LogLevel=n,function(e){e[e.Debug=0]="Debug",e[e.Info=1]="Info",e[e.Warn=2]="Warn",e[e.Error=3]="Error",e[e.Fatal=4]="Fatal"}(n||(t.LogLevel=n={}))},17499:(e,t,r)=>{"use strict";r(69070),t.IY=s;var n=r(71356),i=r(55058),o=r(20006);function s(){return new i.LoggerBuilder(n.buildConsoleLogger)}},52029:(e,t,r)=>{"use strict";r.d(t,{k:()=>n});const n=(0,r(17499).IY)().setApp("text").detectUser().build()},74411:(e,t,r)=>{"use strict";var n,i;r.d(t,{$Z:()=>o,lF:()=>s,w_:()=>a});const o=["image/png","image/jpeg","image/jpg","image/gif","image/x-xbitmap","image/x-ms-bmp","image/bmp","image/svg+xml","image/webp"],s=["text/markdown"],a=["text/plain","application/cmd","application/x-empty","application/x-msdos-program","application/javascript","application/json","application/x-perl","application/x-php","application/x-tex","application/xml","application/yaml","text/asciidoc","text/css","text/html","text/org","text/x-c","text/x-c++src","text/x-h","text/x-java-source","text/x-ldif","text/x-python","text/x-shellscript"];null!==(n=OC.appswebroots)&&void 0!==n&&n.richdocuments||null!==(i=OC.appswebroots)&&void 0!==i&&i.onlyoffice||a.push("text/csv")},19662:(e,t,r)=>{var n=r(60614),i=r(66330),o=TypeError;e.exports=function(e){if(n(e))return e;throw o(i(e)+" is not a function")}},96077:(e,t,r)=>{var n=r(60614),i=String,o=TypeError;e.exports=function(e){if("object"==typeof e||n(e))return e;throw o("Can't set "+i(e)+" as a prototype")}},51223:(e,t,r)=>{var n=r(5112),i=r(70030),o=r(3070).f,s=n("unscopables"),a=Array.prototype;null==a[s]&&o(a,s,{configurable:!0,value:i(null)}),e.exports=function(e){a[s][e]=!0}},19670:(e,t,r)=>{var n=r(70111),i=String,o=TypeError;e.exports=function(e){if(n(e))return e;throw o(i(e)+" is not an object")}},41318:(e,t,r)=>{var n=r(45656),i=r(51400),o=r(26244),s=function(e){return function(t,r,s){var a,c=n(t),u=o(c),l=i(s,u);if(e&&r!=r){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},42092:(e,t,r)=>{var n=r(49974),i=r(1702),o=r(68361),s=r(47908),a=r(26244),c=r(65417),u=i([].push),l=function(e){var t=1==e,r=2==e,i=3==e,l=4==e,f=6==e,h=7==e,p=5==e||f;return function(g,d,b,v){for(var j,m,y=s(g),E=o(y),O=n(d,b),x=a(E),I=0,L=v||c,w=t?L(g,x):r||h?L(g,0):void 0;x>I;I++)if((p||I in E)&&(m=O(j=E[I],I,y),e))if(t)w[I]=m;else if(m)switch(e){case 3:return!0;case 5:return j;case 6:return I;case 2:u(w,j)}else switch(e){case 4:return!1;case 7:u(w,j)}return f?-1:i||l?l:w}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},41589:(e,t,r)=>{var n=r(51400),i=r(26244),o=r(86135),s=Array,a=Math.max;e.exports=function(e,t,r){for(var c=i(e),u=n(t,c),l=n(void 0===r?c:r,c),f=s(a(l-u,0)),h=0;u<l;u++,h++)o(f,h,e[u]);return f.length=h,f}},50206:(e,t,r)=>{var n=r(1702);e.exports=n([].slice)},77475:(e,t,r)=>{var n=r(43157),i=r(4411),o=r(70111),s=r(5112)("species"),a=Array;e.exports=function(e){var t;return n(e)&&(t=e.constructor,(i(t)&&(t===a||n(t.prototype))||o(t)&&null===(t=t[s]))&&(t=void 0)),void 0===t?a:t}},65417:(e,t,r)=>{var n=r(77475);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},84326:(e,t,r)=>{var n=r(40084),i=n({}.toString),o=n("".slice);e.exports=function(e){return o(i(e),8,-1)}},70648:(e,t,r)=>{var n=r(51694),i=r(60614),o=r(84326),s=r(5112)("toStringTag"),a=Object,c="Arguments"==o(function(){return arguments}());e.exports=n?o:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=a(e),s))?r:c?o(t):"Object"==(n=o(t))&&i(t.callee)?"Arguments":n}},99920:(e,t,r)=>{var n=r(92597),i=r(53887),o=r(31236),s=r(3070);e.exports=function(e,t,r){for(var a=i(t),c=s.f,u=o.f,l=0;l<a.length;l++){var f=a[l];n(e,f)||r&&n(r,f)||c(e,f,u(t,f))}}},49920:(e,t,r)=>{var n=r(47293);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},76178:e=>{e.exports=function(e,t){return{value:e,done:t}}},68880:(e,t,r)=>{var n=r(19781),i=r(3070),o=r(79114);e.exports=n?function(e,t,r){return i.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},79114:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},86135:(e,t,r)=>{"use strict";var n=r(34948),i=r(3070),o=r(79114);e.exports=function(e,t,r){var s=n(t);s in e?i.f(e,s,o(0,r)):e[s]=r}},38709:(e,t,r)=>{"use strict";var n=r(19670),i=r(92140),o=TypeError;e.exports=function(e){if(n(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw o("Incorrect hint");return i(this,e)}},98052:(e,t,r)=>{var n=r(60614),i=r(3070),o=r(56339),s=r(13072);e.exports=function(e,t,r,a){a||(a={});var c=a.enumerable,u=void 0!==a.name?a.name:t;if(n(r)&&o(r,u,a),a.global)c?e[t]=r:s(t,r);else{try{a.unsafe?e[t]&&(c=!0):delete e[t]}catch(e){}c?e[t]=r:i.f(e,t,{value:r,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}},13072:(e,t,r)=>{var n=r(17854),i=Object.defineProperty;e.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},19781:(e,t,r)=>{var n=r(47293);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4154:e=>{var t="object"==typeof document&&document.all,r=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:r}},80317:(e,t,r)=>{var n=r(17854),i=r(70111),o=n.document,s=i(o)&&i(o.createElement);e.exports=function(e){return s?o.createElement(e):{}}},48324:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},98509:(e,t,r)=>{var n=r(80317)("span").classList,i=n&&n.constructor&&n.constructor.prototype;e.exports=i===Object.prototype?void 0:i},88113:(e,t,r)=>{var n=r(35005);e.exports=n("navigator","userAgent")||""},7392:(e,t,r)=>{var n,i,o=r(17854),s=r(88113),a=o.process,c=o.Deno,u=a&&a.versions||c&&c.version,l=u&&u.v8;l&&(i=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&s&&(!(n=s.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/))&&(i=+n[1]),e.exports=i},80748:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},82109:(e,t,r)=>{var n=r(17854),i=r(31236).f,o=r(68880),s=r(98052),a=r(13072),c=r(99920),u=r(54705);e.exports=function(e,t){var r,l,f,h,p,g=e.target,d=e.global,b=e.stat;if(r=d?n:b?n[g]||a(g,{}):(n[g]||{}).prototype)for(l in t){if(h=t[l],f=e.dontCallGetSet?(p=i(r,l))&&p.value:r[l],!u(d?l:g+(b?".":"#")+l,e.forced)&&void 0!==f){if(typeof h==typeof f)continue;c(h,f)}(e.sham||f&&f.sham)&&o(h,"sham",!0),s(r,l,h,e)}}},47293:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},22104:(e,t,r)=>{var n=r(34374),i=Function.prototype,o=i.apply,s=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?s.bind(o):function(){return s.apply(o,arguments)})},49974:(e,t,r)=>{var n=r(1702),i=r(19662),o=r(34374),s=n(n.bind);e.exports=function(e,t){return i(e),void 0===t?e:o?s(e,t):function(){return e.apply(t,arguments)}}},34374:(e,t,r)=>{var n=r(47293);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},46916:(e,t,r)=>{var n=r(34374),i=Function.prototype.call;e.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},76530:(e,t,r)=>{var n=r(19781),i=r(92597),o=Function.prototype,s=n&&Object.getOwnPropertyDescriptor,a=i(o,"name"),c=a&&"something"===function(){}.name,u=a&&(!n||n&&s(o,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},40084:(e,t,r)=>{var n=r(34374),i=Function.prototype,o=i.call,s=n&&i.bind.bind(o,o);e.exports=function(e){return n?s(e):function(){return o.apply(e,arguments)}}},1702:(e,t,r)=>{var n=r(84326),i=r(40084);e.exports=function(e){if("Function"===n(e))return i(e)}},35005:(e,t,r)=>{var n=r(17854),i=r(60614),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e]):n[e]&&n[e][t]}},58173:(e,t,r)=>{var n=r(19662),i=r(68554);e.exports=function(e,t){var r=e[t];return i(r)?void 0:n(r)}},17854:(e,t,r)=>{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 r.g&&r.g)||function(){return this}()||Function("return this")()},92597:(e,t,r)=>{var n=r(1702),i=r(47908),o=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},3501:e=>{e.exports={}},60490:(e,t,r)=>{var n=r(35005);e.exports=n("document","documentElement")},64664:(e,t,r)=>{var n=r(19781),i=r(47293),o=r(80317);e.exports=!n&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},68361:(e,t,r)=>{var n=r(1702),i=r(47293),o=r(84326),s=Object,a=n("".split);e.exports=i((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?a(e,""):s(e)}:s},79587:(e,t,r)=>{var n=r(60614),i=r(70111),o=r(27674);e.exports=function(e,t,r){var s,a;return o&&n(s=t.constructor)&&s!==r&&i(a=s.prototype)&&a!==r.prototype&&o(e,a),e}},42788:(e,t,r)=>{var n=r(1702),i=r(60614),o=r(5465),s=n(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return s(e)}),e.exports=o.inspectSource},29909:(e,t,r)=>{var n,i,o,s=r(94811),a=r(17854),c=r(70111),u=r(68880),l=r(92597),f=r(5465),h=r(6200),p=r(3501),g="Object already initialized",d=a.TypeError,b=a.WeakMap;if(s||f.state){var v=f.state||(f.state=new b);v.get=v.get,v.has=v.has,v.set=v.set,n=function(e,t){if(v.has(e))throw d(g);return t.facade=e,v.set(e,t),t},i=function(e){return v.get(e)||{}},o=function(e){return v.has(e)}}else{var j=h("state");p[j]=!0,n=function(e,t){if(l(e,j))throw d(g);return t.facade=e,u(e,j,t),t},i=function(e){return l(e,j)?e[j]:{}},o=function(e){return l(e,j)}}e.exports={set:n,get:i,has:o,enforce:function(e){return o(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=i(t)).type!==e)throw d("Incompatible receiver, "+e+" required");return r}}}},43157:(e,t,r)=>{var n=r(84326);e.exports=Array.isArray||function(e){return"Array"==n(e)}},60614:(e,t,r)=>{var n=r(4154),i=n.all;e.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===i}:function(e){return"function"==typeof e}},4411:(e,t,r)=>{var n=r(1702),i=r(47293),o=r(60614),s=r(70648),a=r(35005),c=r(42788),u=function(){},l=[],f=a("Reflect","construct"),h=/^\s*(?:class|function)\b/,p=n(h.exec),g=!h.exec(u),d=function(e){if(!o(e))return!1;try{return f(u,l,e),!0}catch(e){return!1}},b=function(e){if(!o(e))return!1;switch(s(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return g||!!p(h,c(e))}catch(e){return!0}};b.sham=!0,e.exports=!f||i((function(){var e;return d(d.call)||!d(Object)||!d((function(){e=!0}))||e}))?b:d},54705:(e,t,r)=>{var n=r(47293),i=r(60614),o=/#|\.prototype\./,s=function(e,t){var r=c[a(e)];return r==l||r!=u&&(i(t)?n(t):!!t)},a=s.normalize=function(e){return String(e).replace(o,".").toLowerCase()},c=s.data={},u=s.NATIVE="N",l=s.POLYFILL="P";e.exports=s},68554:e=>{e.exports=function(e){return null==e}},70111:(e,t,r)=>{var n=r(60614),i=r(4154),o=i.all;e.exports=i.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:n(e)||e===o}:function(e){return"object"==typeof e?null!==e:n(e)}},31913:e=>{e.exports=!1},52190:(e,t,r)=>{var n=r(35005),i=r(60614),o=r(47976),s=r(43307),a=Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return i(t)&&o(t.prototype,a(e))}},63061:(e,t,r)=>{"use strict";var n=r(13383).IteratorPrototype,i=r(70030),o=r(79114),s=r(58003),a=r(97497),c=function(){return this};e.exports=function(e,t,r,u){var l=t+" Iterator";return e.prototype=i(n,{next:o(+!u,r)}),s(e,l,!1,!0),a[l]=c,e}},51656:(e,t,r)=>{"use strict";var n=r(82109),i=r(46916),o=r(31913),s=r(76530),a=r(60614),c=r(63061),u=r(79518),l=r(27674),f=r(58003),h=r(68880),p=r(98052),g=r(5112),d=r(97497),b=r(13383),v=s.PROPER,j=s.CONFIGURABLE,m=b.IteratorPrototype,y=b.BUGGY_SAFARI_ITERATORS,E=g("iterator"),O="keys",x="values",I="entries",L=function(){return this};e.exports=function(e,t,r,s,g,b,w){c(r,t,s);var S,T,N,A=function(e){if(e===g&&$)return $;if(!y&&e in _)return _[e];switch(e){case O:case x:case I:return function(){return new r(this,e)}}return function(){return new r(this)}},R=t+" Iterator",P=!1,_=e.prototype,C=_[E]||_["@@iterator"]||g&&_[g],$=!y&&C||A(g),k="Array"==t&&_.entries||C;if(k&&(S=u(k.call(new e)))!==Object.prototype&&S.next&&(o||u(S)===m||(l?l(S,m):a(S[E])||p(S,E,L)),f(S,R,!0,!0),o&&(d[R]=L)),v&&g==x&&C&&C.name!==x&&(!o&&j?h(_,"name",x):(P=!0,$=function(){return i(C,this)})),g)if(T={values:A(x),keys:b?$:A(O),entries:A(I)},w)for(N in T)(y||P||!(N in _))&&p(_,N,T[N]);else n({target:t,proto:!0,forced:y||P},T);return o&&!w||_[E]===$||p(_,E,$,{name:g}),d[t]=$,T}},13383:(e,t,r)=>{"use strict";var n,i,o,s=r(47293),a=r(60614),c=r(70111),u=r(70030),l=r(79518),f=r(98052),h=r(5112),p=r(31913),g=h("iterator"),d=!1;[].keys&&("next"in(o=[].keys())?(i=l(l(o)))!==Object.prototype&&(n=i):d=!0),!c(n)||s((function(){var e={};return n[g].call(e)!==e}))?n={}:p&&(n=u(n)),a(n[g])||f(n,g,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:d}},97497:e=>{e.exports={}},26244:(e,t,r)=>{var n=r(17466);e.exports=function(e){return n(e.length)}},56339:(e,t,r)=>{var n=r(47293),i=r(60614),o=r(92597),s=r(19781),a=r(76530).CONFIGURABLE,c=r(42788),u=r(29909),l=u.enforce,f=u.get,h=Object.defineProperty,p=s&&!n((function(){return 8!==h((function(){}),"length",{value:8}).length})),g=String(String).split("String"),d=e.exports=function(e,t,r){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!o(e,"name")||a&&e.name!==t)&&(s?h(e,"name",{value:t,configurable:!0}):e.name=t),p&&r&&o(r,"arity")&&e.length!==r.arity&&h(e,"length",{value:r.arity});try{r&&o(r,"constructor")&&r.constructor?s&&h(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=l(e);return o(n,"source")||(n.source=g.join("string"==typeof t?t:"")),e};Function.prototype.toString=d((function(){return i(this)&&f(this).source||c(this)}),"toString")},74758:e=>{var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},21574:(e,t,r)=>{"use strict";var n=r(19781),i=r(1702),o=r(46916),s=r(47293),a=r(81956),c=r(25181),u=r(55296),l=r(47908),f=r(68361),h=Object.assign,p=Object.defineProperty,g=i([].concat);e.exports=!h||s((function(){if(n&&1!==h({b:1},h(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),i="abcdefghijklmnopqrst";return e[r]=7,i.split("").forEach((function(e){t[e]=e})),7!=h({},e)[r]||a(h({},t)).join("")!=i}))?function(e,t){for(var r=l(e),i=arguments.length,s=1,h=c.f,p=u.f;i>s;)for(var d,b=f(arguments[s++]),v=h?g(a(b),h(b)):a(b),j=v.length,m=0;j>m;)d=v[m++],n&&!o(p,b,d)||(r[d]=b[d]);return r}:h},70030:(e,t,r)=>{var n,i=r(19670),o=r(36048),s=r(80748),a=r(3501),c=r(60490),u=r(80317),l=r(6200),f=l("IE_PROTO"),h=function(){},p=function(e){return"<script>"+e+"</"+"script>"},g=function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t},d=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t;d="undefined"!=typeof document?document.domain&&n?g(n):((t=u("iframe")).style.display="none",c.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F):g(n);for(var r=s.length;r--;)delete d.prototype[s[r]];return d()};a[f]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(h.prototype=i(e),r=new h,h.prototype=null,r[f]=e):r=d(),void 0===t?r:o.f(r,t)}},36048:(e,t,r)=>{var n=r(19781),i=r(3353),o=r(3070),s=r(19670),a=r(45656),c=r(81956);t.f=n&&!i?Object.defineProperties:function(e,t){s(e);for(var r,n=a(t),i=c(t),u=i.length,l=0;u>l;)o.f(e,r=i[l++],n[r]);return e}},3070:(e,t,r)=>{var n=r(19781),i=r(64664),o=r(3353),s=r(19670),a=r(34948),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",h="configurable",p="writable";t.f=n?o?function(e,t,r){if(s(e),t=a(t),s(r),"function"==typeof e&&"prototype"===t&&"value"in r&&p in r&&!r.writable){var n=l(e,t);n&&n.writable&&(e[t]=r.value,r={configurable:h in r?r.configurable:n.configurable,enumerable:f in r?r.enumerable:n.enumerable,writable:!1})}return u(e,t,r)}:u:function(e,t,r){if(s(e),t=a(t),s(r),i)try{return u(e,t,r)}catch(e){}if("get"in r||"set"in r)throw c("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},31236:(e,t,r)=>{var n=r(19781),i=r(46916),o=r(55296),s=r(79114),a=r(45656),c=r(34948),u=r(92597),l=r(64664),f=Object.getOwnPropertyDescriptor;t.f=n?f:function(e,t){if(e=a(e),t=c(t),l)try{return f(e,t)}catch(e){}if(u(e,t))return s(!i(o.f,e,t),e[t])}},1156:(e,t,r)=>{var n=r(84326),i=r(45656),o=r(8006).f,s=r(41589),a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"Window"==n(e)?function(e){try{return o(e)}catch(e){return s(a)}}(e):o(i(e))}},8006:(e,t,r)=>{var n=r(16324),i=r(80748).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},25181:(e,t)=>{t.f=Object.getOwnPropertySymbols},79518:(e,t,r)=>{var n=r(92597),i=r(60614),o=r(47908),s=r(6200),a=r(49920),c=s("IE_PROTO"),u=Object,l=u.prototype;e.exports=a?u.getPrototypeOf:function(e){var t=o(e);if(n(t,c))return t[c];var r=t.constructor;return i(r)&&t instanceof r?r.prototype:t instanceof u?l:null}},47976:(e,t,r)=>{var n=r(1702);e.exports=n({}.isPrototypeOf)},16324:(e,t,r)=>{var n=r(1702),i=r(92597),o=r(45656),s=r(41318).indexOf,a=r(3501),c=n([].push);e.exports=function(e,t){var r,n=o(e),u=0,l=[];for(r in n)!i(a,r)&&i(n,r)&&c(l,r);for(;t.length>u;)i(n,r=t[u++])&&(~s(l,r)||c(l,r));return l}},81956:(e,t,r)=>{var n=r(16324),i=r(80748);e.exports=Object.keys||function(e){return n(e,i)}},55296:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);t.f=i?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},27674:(e,t,r)=>{var n=r(1702),i=r(19670),o=r(96077);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return i(r),o(n),t?e(r,n):r.__proto__=n,r}}():void 0)},90288:(e,t,r)=>{"use strict";var n=r(51694),i=r(70648);e.exports=n?{}.toString:function(){return"[object "+i(this)+"]"}},92140:(e,t,r)=>{var n=r(46916),i=r(60614),o=r(70111),s=TypeError;e.exports=function(e,t){var r,a;if("string"===t&&i(r=e.toString)&&!o(a=n(r,e)))return a;if(i(r=e.valueOf)&&!o(a=n(r,e)))return a;if("string"!==t&&i(r=e.toString)&&!o(a=n(r,e)))return a;throw s("Can't convert object to primitive value")}},53887:(e,t,r)=>{var n=r(35005),i=r(1702),o=r(8006),s=r(25181),a=r(19670),c=i([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(a(e)),r=s.f;return r?c(t,r(e)):t}},40857:(e,t,r)=>{var n=r(17854);e.exports=n},84488:(e,t,r)=>{var n=r(68554),i=TypeError;e.exports=function(e){if(n(e))throw i("Can't call method on "+e);return e}},58003:(e,t,r)=>{var n=r(3070).f,i=r(92597),o=r(5112)("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!i(e,o)&&n(e,o,{configurable:!0,value:t})}},6200:(e,t,r)=>{var n=r(72309),i=r(69711),o=n("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},5465:(e,t,r)=>{var n=r(17854),i=r(13072),o="__core-js_shared__",s=n[o]||i(o,{});e.exports=s},72309:(e,t,r)=>{var n=r(31913),i=r(5465);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.25.5",mode:n?"pure":"global",copyright:"Β© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE",source:"https://github.com/zloirock/core-js"})},28710:(e,t,r)=>{var n=r(1702),i=r(19303),o=r(41340),s=r(84488),a=n("".charAt),c=n("".charCodeAt),u=n("".slice),l=function(e){return function(t,r){var n,l,f=o(s(t)),h=i(r),p=f.length;return h<0||h>=p?e?"":void 0:(n=c(f,h))<55296||n>56319||h+1===p||(l=c(f,h+1))<56320||l>57343?e?a(f,h):n:e?u(f,h,h+2):l-56320+(n-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},53111:(e,t,r)=>{var n=r(1702),i=r(84488),o=r(41340),s=r(81361),a=n("".replace),c="["+s+"]",u=RegExp("^"+c+c+"*"),l=RegExp(c+c+"*$"),f=function(e){return function(t){var r=o(i(t));return 1&e&&(r=a(r,u,"")),2&e&&(r=a(r,l,"")),r}};e.exports={start:f(1),end:f(2),trim:f(3)}},36293:(e,t,r)=>{var n=r(7392),i=r(47293);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},56532:(e,t,r)=>{var n=r(46916),i=r(35005),o=r(5112),s=r(98052);e.exports=function(){var e=i("Symbol"),t=e&&e.prototype,r=t&&t.valueOf,a=o("toPrimitive");t&&!t[a]&&s(t,a,(function(e){return n(r,this)}),{arity:1})}},2015:(e,t,r)=>{var n=r(36293);e.exports=n&&!!Symbol.for&&!!Symbol.keyFor},50863:(e,t,r)=>{var n=r(1702);e.exports=n(1..valueOf)},51400:(e,t,r)=>{var n=r(19303),i=Math.max,o=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):o(r,t)}},45656:(e,t,r)=>{var n=r(68361),i=r(84488);e.exports=function(e){return n(i(e))}},19303:(e,t,r)=>{var n=r(74758);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},17466:(e,t,r)=>{var n=r(19303),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},47908:(e,t,r)=>{var n=r(84488),i=Object;e.exports=function(e){return i(n(e))}},57593:(e,t,r)=>{var n=r(46916),i=r(70111),o=r(52190),s=r(58173),a=r(92140),c=r(5112),u=TypeError,l=c("toPrimitive");e.exports=function(e,t){if(!i(e)||o(e))return e;var r,c=s(e,l);if(c){if(void 0===t&&(t="default"),r=n(c,e,t),!i(r)||o(r))return r;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},34948:(e,t,r)=>{var n=r(57593),i=r(52190);e.exports=function(e){var t=n(e,"string");return i(t)?t:t+""}},51694:(e,t,r)=>{var n={};n[r(5112)("toStringTag")]="z",e.exports="[object z]"===String(n)},41340:(e,t,r)=>{var n=r(70648),i=String;e.exports=function(e){if("Symbol"===n(e))throw TypeError("Cannot convert a Symbol value to a string");return i(e)}},66330:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},69711:(e,t,r)=>{var n=r(1702),i=0,o=Math.random(),s=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++i+o,36)}},43307:(e,t,r)=>{var n=r(36293);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:(e,t,r)=>{var n=r(19781),i=r(47293);e.exports=n&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},94811:(e,t,r)=>{var n=r(17854),i=r(60614),o=n.WeakMap;e.exports=i(o)&&/native code/.test(String(o))},26800:(e,t,r)=>{var n=r(40857),i=r(92597),o=r(6061),s=r(3070).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});i(t,e)||s(t,e,{value:o.f(e)})}},6061:(e,t,r)=>{var n=r(5112);t.f=n},5112:(e,t,r)=>{var n=r(17854),i=r(72309),o=r(92597),s=r(69711),a=r(36293),c=r(43307),u=i("wks"),l=n.Symbol,f=l&&l.for,h=c?l:l&&l.withoutSetter||s;e.exports=function(e){if(!o(u,e)||!a&&"string"!=typeof u[e]){var t="Symbol."+e;a&&o(l,e)?u[e]=l[e]:u[e]=c&&f?f(t):h(t)}return u[e]}},81361:e=>{e.exports="\t\n\v\f\r Β αββββββ
ββββββ―βγ\u2028\u2029\ufeff"},66992:(e,t,r)=>{"use strict";var n=r(45656),i=r(51223),o=r(97497),s=r(29909),a=r(3070).f,c=r(51656),u=r(76178),l=r(31913),f=r(19781),h="Array Iterator",p=s.set,g=s.getterFor(h);e.exports=c(Array,"Array",(function(e,t){p(this,{type:h,target:n(e),index:0,kind:t})}),(function(){var e=g(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,u(void 0,!0)):u("keys"==r?n:"values"==r?t[n]:[n,t[n]],!1)}),"values");var d=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!l&&f&&"values"!==d.name)try{a(d,"name",{value:"values"})}catch(e){}},96078:(e,t,r)=>{var n=r(92597),i=r(98052),o=r(38709),s=r(5112)("toPrimitive"),a=Date.prototype;n(a,s)||i(a,s,o)},38862:(e,t,r)=>{var n=r(82109),i=r(35005),o=r(22104),s=r(46916),a=r(1702),c=r(47293),u=r(43157),l=r(60614),f=r(70111),h=r(52190),p=r(50206),g=r(36293),d=i("JSON","stringify"),b=a(/./.exec),v=a("".charAt),j=a("".charCodeAt),m=a("".replace),y=a(1..toString),E=/[\uD800-\uDFFF]/g,O=/^[\uD800-\uDBFF]$/,x=/^[\uDC00-\uDFFF]$/,I=!g||c((function(){var e=i("Symbol")();return"[null]"!=d([e])||"{}"!=d({a:e})||"{}"!=d(Object(e))})),L=c((function(){return'"\\udf06\\ud834"'!==d("\udf06\ud834")||'"\\udead"'!==d("\udead")})),w=function(e,t){var r=p(arguments),n=t;if((f(t)||void 0!==e)&&!h(e))return u(t)||(t=function(e,t){if(l(n)&&(t=s(n,this,e,t)),!h(t))return t}),r[1]=t,o(d,null,r)},S=function(e,t,r){var n=v(r,t-1),i=v(r,t+1);return b(O,e)&&!b(x,i)||b(x,e)&&!b(O,n)?"\\u"+y(j(e,0),16):e};d&&n({target:"JSON",stat:!0,arity:3,forced:I||L},{stringify:function(e,t,r){var n=p(arguments),i=o(I?w:d,null,n);return L&&"string"==typeof i?m(i,E,S):i}})},9653:(e,t,r)=>{"use strict";var n=r(19781),i=r(17854),o=r(1702),s=r(54705),a=r(98052),c=r(92597),u=r(79587),l=r(47976),f=r(52190),h=r(57593),p=r(47293),g=r(8006).f,d=r(31236).f,b=r(3070).f,v=r(50863),j=r(53111).trim,m="Number",y=i.Number,E=y.prototype,O=i.TypeError,x=o("".slice),I=o("".charCodeAt),L=function(e){var t=h(e,"number");return"bigint"==typeof t?t:w(t)},w=function(e){var t,r,n,i,o,s,a,c,u=h(e,"number");if(f(u))throw O("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=j(u),43===(t=I(u,0))||45===t){if(88===(r=I(u,2))||120===r)return NaN}else if(48===t){switch(I(u,1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+u}for(s=(o=x(u,2)).length,a=0;a<s;a++)if((c=I(o,a))<48||c>i)return NaN;return parseInt(o,n)}return+u};if(s(m,!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var S,T=function(e){var t=arguments.length<1?0:y(L(e)),r=this;return l(E,r)&&p((function(){v(r)}))?u(Object(t),r,T):t},N=n?g(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),A=0;N.length>A;A++)c(y,S=N[A])&&!c(T,S)&&b(T,S,d(y,S));T.prototype=E,E.constructor=T,a(i,m,T,{constructor:!0})}},19601:(e,t,r)=>{var n=r(82109),i=r(21574);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==i},{assign:i})},69070:(e,t,r)=>{var n=r(82109),i=r(19781),o=r(3070).f;n({target:"Object",stat:!0,forced:Object.defineProperty!==o,sham:!i},{defineProperty:o})},29660:(e,t,r)=>{var n=r(82109),i=r(36293),o=r(47293),s=r(25181),a=r(47908);n({target:"Object",stat:!0,forced:!i||o((function(){s.f(1)}))},{getOwnPropertySymbols:function(e){var t=s.f;return t?t(a(e)):[]}})},41539:(e,t,r)=>{var n=r(51694),i=r(98052),o=r(90288);n||i(Object.prototype,"toString",o,{unsafe:!0})},78783:(e,t,r)=>{"use strict";var n=r(28710).charAt,i=r(41340),o=r(29909),s=r(51656),a=r(76178),c="String Iterator",u=o.set,l=o.getterFor(c);s(String,"String",(function(e){u(this,{type:c,string:i(e),index:0})}),(function(){var e,t=l(this),r=t.string,i=t.index;return i>=r.length?a(void 0,!0):(e=n(r,i),t.index+=e.length,a(e,!1))}))},4032:(e,t,r)=>{"use strict";var n=r(82109),i=r(17854),o=r(46916),s=r(1702),a=r(31913),c=r(19781),u=r(36293),l=r(47293),f=r(92597),h=r(47976),p=r(19670),g=r(45656),d=r(34948),b=r(41340),v=r(79114),j=r(70030),m=r(81956),y=r(8006),E=r(1156),O=r(25181),x=r(31236),I=r(3070),L=r(36048),w=r(55296),S=r(98052),T=r(72309),N=r(6200),A=r(3501),R=r(69711),P=r(5112),_=r(6061),C=r(26800),$=r(56532),k=r(58003),F=r(29909),M=r(42092).forEach,D=N("hidden"),G="Symbol",U=F.set,X=F.getterFor(G),B=Object.prototype,V=i.Symbol,H=V&&V.prototype,q=i.TypeError,Z=i.QObject,z=x.f,W=I.f,Y=E.f,J=w.f,Q=s([].push),K=T("symbols"),ee=T("op-symbols"),te=T("wks"),re=!Z||!Z.prototype||!Z.prototype.findChild,ne=c&&l((function(){return 7!=j(W({},"a",{get:function(){return W(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=z(B,t);n&&delete B[t],W(e,t,r),n&&e!==B&&W(B,t,n)}:W,ie=function(e,t){var r=K[e]=j(H);return U(r,{type:G,tag:e,description:t}),c||(r.description=t),r},oe=function(e,t,r){e===B&&oe(ee,t,r),p(e);var n=d(t);return p(r),f(K,n)?(r.enumerable?(f(e,D)&&e[D][n]&&(e[D][n]=!1),r=j(r,{enumerable:v(0,!1)})):(f(e,D)||W(e,D,v(1,{})),e[D][n]=!0),ne(e,n,r)):W(e,n,r)},se=function(e,t){p(e);var r=g(t),n=m(r).concat(le(r));return M(n,(function(t){c&&!o(ae,r,t)||oe(e,t,r[t])})),e},ae=function(e){var t=d(e),r=o(J,this,t);return!(this===B&&f(K,t)&&!f(ee,t))&&(!(r||!f(this,t)||!f(K,t)||f(this,D)&&this[D][t])||r)},ce=function(e,t){var r=g(e),n=d(t);if(r!==B||!f(K,n)||f(ee,n)){var i=z(r,n);return!i||!f(K,n)||f(r,D)&&r[D][n]||(i.enumerable=!0),i}},ue=function(e){var t=Y(g(e)),r=[];return M(t,(function(e){f(K,e)||f(A,e)||Q(r,e)})),r},le=function(e){var t=e===B,r=Y(t?ee:g(e)),n=[];return M(r,(function(e){!f(K,e)||t&&!f(B,e)||Q(n,K[e])})),n};u||(S(H=(V=function(){if(h(H,this))throw q("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?b(arguments[0]):void 0,t=R(e),r=function(e){this===B&&o(r,ee,e),f(this,D)&&f(this[D],t)&&(this[D][t]=!1),ne(this,t,v(1,e))};return c&&re&&ne(B,t,{configurable:!0,set:r}),ie(t,e)}).prototype,"toString",(function(){return X(this).tag})),S(V,"withoutSetter",(function(e){return ie(R(e),e)})),w.f=ae,I.f=oe,L.f=se,x.f=ce,y.f=E.f=ue,O.f=le,_.f=function(e){return ie(P(e),e)},c&&(W(H,"description",{configurable:!0,get:function(){return X(this).description}}),a||S(B,"propertyIsEnumerable",ae,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:V}),M(m(te),(function(e){C(e)})),n({target:G,stat:!0,forced:!u},{useSetter:function(){re=!0},useSimple:function(){re=!1}}),n({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(e,t){return void 0===t?j(e):se(j(e),t)},defineProperty:oe,defineProperties:se,getOwnPropertyDescriptor:ce}),n({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:ue}),$(),k(V,G),A[D]=!0},41817:(e,t,r)=>{"use strict";var n=r(82109),i=r(19781),o=r(17854),s=r(1702),a=r(92597),c=r(60614),u=r(47976),l=r(41340),f=r(3070).f,h=r(99920),p=o.Symbol,g=p&&p.prototype;if(i&&c(p)&&(!("description"in g)||void 0!==p().description)){var d={},b=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:l(arguments[0]),t=u(g,this)?new p(e):void 0===e?p():p(e);return""===e&&(d[t]=!0),t};h(b,p),b.prototype=g,g.constructor=b;var v="Symbol(test)"==String(p("test")),j=s(g.valueOf),m=s(g.toString),y=/^Symbol\((.*)\)[^)]+$/,E=s("".replace),O=s("".slice);f(g,"description",{configurable:!0,get:function(){var e=j(this);if(a(d,e))return"";var t=m(e),r=v?O(t,7,-1):E(t,y,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:b})}},40763:(e,t,r)=>{var n=r(82109),i=r(35005),o=r(92597),s=r(41340),a=r(72309),c=r(2015),u=a("string-to-symbol-registry"),l=a("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!c},{for:function(e){var t=s(e);if(o(u,t))return u[t];var r=i("Symbol")(t);return u[t]=r,l[r]=t,r}})},32165:(e,t,r)=>{r(26800)("iterator")},82526:(e,t,r)=>{r(4032),r(40763),r(26620),r(38862),r(29660)},26620:(e,t,r)=>{var n=r(82109),i=r(92597),o=r(52190),s=r(66330),a=r(72309),c=r(2015),u=a("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!c},{keyFor:function(e){if(!o(e))throw TypeError(s(e)+" is not a symbol");if(i(u,e))return u[e]}})},96649:(e,t,r)=>{var n=r(26800),i=r(56532);n("toPrimitive"),i()},33948:(e,t,r)=>{var n=r(17854),i=r(48324),o=r(98509),s=r(66992),a=r(68880),c=r(5112),u=c("iterator"),l=c("toStringTag"),f=s.values,h=function(e,t){if(e){if(e[u]!==f)try{a(e,u,f)}catch(t){e[u]=f}if(e[l]||a(e,l,t),i[t])for(var r in s)if(e[r]!==s[r])try{a(e,r,s[r])}catch(t){e[r]=s[r]}}};for(var p in i)h(n[p]&&n[p].prototype,p);h(o,"DOMTokenList")},81297:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(87537),i=r.n(n),o=r(23645),s=r.n(o)()(i());s.push([e.id,".text-editor[data-v-58ead30a]{overflow:scroll}","",{version:3,sources:["webpack://./src/components/ViewerComponent.vue"],names:[],mappings:"AACA,8BACC,eAAA",sourcesContent:["\n.text-editor {\n\toverflow: scroll;\n}\n"],sourceRoot:""}]);const a=s},15258:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(87537),i=r.n(n),o=r(23645),s=r.n(o)()(i());s.push([e.id,"@media only screen and (max-width: 512px){.text-editor{top:auto}}","",{version:3,sources:["webpack://./src/components/ViewerComponent.vue"],names:[],mappings:"AACA,0CAEC,aACC,QAAA,CAAA",sourcesContent:["\n@media only screen and (max-width: 512px) {\n\t// on mobile, modal-container has top: 50px\n\t.text-editor {\n\t\ttop: auto;\n\t}\n}\n"],sourceRoot:""}]);const a=s},23645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",n=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),n&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),n&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,n,i,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var u=0;u<e.length;u++){var l=[].concat(e[u]);n&&s[l[0]]||(void 0!==o&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=o),r&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=r):l[2]=r),i&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=i):l[4]="".concat(i)),t.push(l))}},t}},87537:e=>{"use strict";e.exports=function(e){var t=e[1],r=e[3];if(!r)return t;if("function"==typeof btoa){var n=btoa(unescape(encodeURIComponent(JSON.stringify(r)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(n),o="/*# ".concat(i," */"),s=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[t].concat(s).concat([o]).join("\n")}return[t].join("\n")}},34155:e=>{var t,r,n=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var a,c=[],u=!1,l=-1;function f(){u&&a&&(u=!1,a.length?c=a.concat(c):l=-1,c.length&&h())}function h(){if(!u){var e=s(f);u=!0;for(var t=c.length;t;){for(a=c,c=[];++l<t;)a&&a[l].run();l=-1,t=c.length}a=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===o||!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 p(e,t){this.fun=e,this.array=t}function g(){}n.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];c.push(new p(e,t)),1!==c.length||u||s(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=g,n.addListener=g,n.once=g,n.off=g,n.removeListener=g,n.removeAllListeners=g,n.emit=g,n.prependListener=g,n.prependOnceListener=g,n.listeners=function(e){return[]},n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},93379:e=>{"use strict";var t=[];function r(e){for(var r=-1,n=0;n<t.length;n++)if(t[n].identifier===e){r=n;break}return r}function n(e,n){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],u=n.base?c[0]+n.base:c[0],l=o[u]||0,f="".concat(u," ").concat(l);o[u]=l+1;var h=r(f),p={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(p);else{var g=i(p,n);n.byIndex=a,t.splice(a,0,{identifier:f,updater:g,references:1})}s.push(f)}return s}function i(e,t){var r=t.domAPI(t);r.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;r.update(e=t)}else r.remove()}}e.exports=function(e,i){var o=n(e=e||[],i=i||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=r(o[s]);t[a].references--}for(var c=n(e,i),u=0;u<o.length;u++){var l=r(o[u]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}o=c}}},90569:e=>{"use strict";var t={};e.exports=function(e,r){var n=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r)}},19216: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,r)=>{"use strict";e.exports=function(e){var t=r.nc;t&&e.setAttribute("nonce",t)}},7795:e=>{"use strict";e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(r){!function(e,t,r){var n="";r.supports&&(n+="@supports (".concat(r.supports,") {")),r.media&&(n+="@media ".concat(r.media," {"));var i=void 0!==r.layer;i&&(n+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),n+=r.css,i&&(n+="}"),r.media&&(n+="}"),r.supports&&(n+="}");var o=r.sourceMap;o&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(n,e,t.options)}(t,e,r)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},44589: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))}}},51900:(e,t,r)=>{"use strict";function n(e,t,r,n,i,o,s,a){var c,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=r,u._compiled=!0),n&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),s?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},u._ssrRegister=c):i&&(c=a?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(e,t){return c.call(t),l(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:e,options:u}}r.d(t,{Z:()=>n})},57888:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(77907),i=r(92426);function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=o(n),a=o(i),c=function(){function e(e){"function"==typeof e.getVersion&&s.default(e.getVersion())?a.default(e.getVersion())!==a.default(this.getVersion())&&console.warn("Proxying an event bus of version "+e.getVersion()+" with "+this.getVersion()):console.warn("Proxying an event bus with an unknown or invalid version"),this.bus=e}return e.prototype.getVersion=function(){return"3.1.0"},e.prototype.subscribe=function(e,t){this.bus.subscribe(e,t)},e.prototype.unsubscribe=function(e,t){this.bus.unsubscribe(e,t)},e.prototype.emit=function(e,t){this.bus.emit(e,t)},e}(),u=function(){function e(){this.handlers=new Map}return e.prototype.getVersion=function(){return"3.1.0"},e.prototype.subscribe=function(e,t){this.handlers.set(e,(this.handlers.get(e)||[]).concat(t))},e.prototype.unsubscribe=function(e,t){this.handlers.set(e,(this.handlers.get(e)||[]).filter((function(e){return e!=t})))},e.prototype.emit=function(e,t){(this.handlers.get(e)||[]).forEach((function(e){try{e(t)}catch(e){console.error("could not invoke event listener",e)}}))},e}(),l=null;function f(){return null!==l?l:"undefined"==typeof window?new Proxy({},{get:function(){return function(){return console.error("Window not available, EventBus can not be established!")}}}):(void 0!==window.OC&&window.OC._eventBus&&void 0===window._nc_event_bus&&(console.warn("found old event bus instance at OC._eventBus. Update your version!"),window._nc_event_bus=window.OC._eventBus),l=void 0!==(null===window||void 0===window?void 0:window._nc_event_bus)?new c(window._nc_event_bus):window._nc_event_bus=new u)}t.ProxyBus=c,t.SimpleBus=u,t.emit=function(e,t){f().emit(e,t)},t.subscribe=function(e,t){f().subscribe(e,t)},t.unsubscribe=function(e,t){f().unsubscribe(e,t)}}},o={};function s(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={id:e,loaded:!1,exports:{}};return i[e].call(r.exports,r,r.exports,s),r.loaded=!0,r.exports}s.m=i,s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,s.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var i=Object.create(null);s.r(i);var o={};e=e||[null,t({}),t([]),t(t)];for(var a=2&n&&r;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>o[e]=()=>r[e]));return o.default=()=>r,s.d(i,o),i},s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce(((t,r)=>(s.f[r](e,t),t)),[])),s.u=e=>e+".js?v="+{vendors:"afc38d46f7e0a1459f28",editor:"e5c9bd81f338abb69425","files-modal":"e4b1ee9080e5fbf23de7","highlight/1c-js-js":"5ae0a128efc65ae2102d","highlight/abnf-js-js":"39da1467237ef99e94d8","highlight/accesslog-js-js":"dd32228ec95b2cdeb6e9","highlight/actionscript-js-js":"4101f941129b1c430e54","highlight/ada-js-js":"383aaf9715a43e423ea4","highlight/angelscript-js-js":"160da251c0718e9ffafd","highlight/apache-js-js":"4b02b1e1a2becfe42396","highlight/applescript-js-js":"6c18e63e6cef86e87cbb","highlight/arcade-js-js":"77e07194b9a16be12a74","highlight/arduino-js-js":"bb649d68d8b42ae9c26d","highlight/armasm-js-js":"70bc986416d1be1c985d","highlight/asciidoc-js-js":"38603efa3b1ea18d6df9","highlight/aspectj-js-js":"44dcf6017e63a0407b40","highlight/autohotkey-js-js":"eca861a3b96cbd471dd1","highlight/autoit-js-js":"7ae83571467a8666e729","highlight/avrasm-js-js":"8b93e3132add5021fee2","highlight/awk-js-js":"d14df2efc1a2d26f478c","highlight/axapta-js-js":"1cc67f17498b45a3702c","highlight/bash-js-js":"6cb0efcd7c54451e2091","highlight/basic-js-js":"0ad8e94de9c438b17ecb","highlight/bnf-js-js":"002c4933fe6595e62129","highlight/brainfuck-js-js":"071770bc54e47b07c5d5","highlight/c-js-js":"857962ebd3843ca3409d","highlight/cal-js-js":"651efd37fef92effa9c9","highlight/capnproto-js-js":"ad737a8a0fe66d92179d","highlight/ceylon-js-js":"a3bd7be74993e8b8a081","highlight/clean-js-js":"169044a3b3e94cca7087","highlight/clojure-repl-js-js":"9955d29ca4244eac3182","highlight/clojure-js-js":"f138f95ff0607c8a3918","highlight/cmake-js-js":"dc6bb4fb8bbeb8b58277","highlight/coffeescript-js-js":"c2357b632897d957a007","highlight/coq-js-js":"372bf5fdbb43e4c13ccb","highlight/cos-js-js":"cdc11aa4769884274324","highlight/cpp-js-js":"73b4b3dd9cc50bab34c7","highlight/crmsh-js-js":"0e6bdb239287c6da3578","highlight/crystal-js-js":"6f0d31f6880684ce7251","highlight/csharp-js-js":"595cd85fed360c3d89b5","highlight/csp-js-js":"5e036e5cdcca213f8696","highlight/css-js-js":"d6a08ddafd58475ea50d","highlight/d-js-js":"150159618bde042d1148","highlight/dart-js-js":"f4935e2257c751dd2a1c","highlight/delphi-js-js":"f71bc923e189cdcbc9fc","highlight/diff-js-js":"9d17a96b886cfd87078a","highlight/django-js-js":"46602747d4071d1f092d","highlight/dns-js-js":"05a60bbd21b30c9e95cf","highlight/dockerfile-js-js":"060de28506a2a33349d9","highlight/dos-js-js":"186b1594da618e41749b","highlight/dsconfig-js-js":"add7dda94fab73be6d48","highlight/dts-js-js":"3d2ca119ed5c34a1a56c","highlight/dust-js-js":"d015b4158781f8c69089","highlight/ebnf-js-js":"b4db900558a95999cc98","highlight/elixir-js-js":"75d5512dac0a130569a7","highlight/elm-js-js":"7a29c588098bca0df6bf","highlight/erb-js-js":"b2a870837fac38ee3d6e","highlight/erlang-repl-js-js":"e63556e1435ebe1af15e","highlight/erlang-js-js":"15b3140d23a41be7f920","highlight/excel-js-js":"806f9ba29c1f58ddecb3","highlight/fix-js-js":"d3bf40e5f67a4613af62","highlight/flix-js-js":"c25b052ad9bc26fafb68","highlight/fortran-js-js":"19dac5c8508a024c22c4","highlight/fsharp-js-js":"977cd8658a1dc2ff4503","highlight/gams-js-js":"f22e9cf9242ce63d2c23","highlight/gauss-js-js":"eabc6e02ab92b5d94948","highlight/gcode-js-js":"a1d0757b71ef365ac11e","highlight/gherkin-js-js":"8550bc693b6abf1262f3","highlight/glsl-js-js":"a9dee5f012d34eb4abb4","highlight/gml-js-js":"289c8b3063f8b9245e45","highlight/go-js-js":"ffe1c408287df74521ff","highlight/golo-js-js":"10a972ca518e854e4ec8","highlight/gradle-js-js":"794b0aa64e071e56a919","highlight/graphql-js-js":"09976cf3a91f27079257","highlight/groovy-js-js":"abf4ee370158aeae5f4d","highlight/haml-js-js":"6b23c38a157b631fe9bc","highlight/handlebars-js-js":"72e0332c2df36a5d0adf","highlight/haskell-js-js":"014cd18725704b9e70a6","highlight/haxe-js-js":"9bf85d4abf99b5d92485","highlight/hsp-js-js":"b62fb85bf629d6112da3","highlight/http-js-js":"5c66184aed4d51a83629","highlight/hy-js-js":"4db67f60a9b55fb0be68","highlight/inform7-js-js":"bc070a82442c3e9634bd","highlight/ini-js-js":"385d9b677fd9a181eda6","highlight/irpf90-js-js":"ea98c87d61ea23ac2af1","highlight/isbl-js-js":"f9f95135165010cc1e7e","highlight/java-js-js":"88288d5c97cca69f7995","highlight/javascript-js-js":"2e6a042ee7f3d281da95","highlight/jboss-cli-js-js":"1bba6b359463efa74428","highlight/json-js-js":"390834b6cf9d3577962b","highlight/julia-repl-js-js":"6d29415399aaa95c8167","highlight/julia-js-js":"552dd0d4e896c3936c93","highlight/kotlin-js-js":"29524ccf1a1549327af1","highlight/lasso-js-js":"840d14790f8a2bb7ea32","highlight/latex-js-js":"83d00be51c9d79a822a3","highlight/ldif-js-js":"f880666dbde4f439c297","highlight/leaf-js-js":"f8395a0b1b84aadcb8e5","highlight/less-js-js":"97aa6415b893215eb41a","highlight/lisp-js-js":"5b02a501367e21ade3ef","highlight/livecodeserver-js-js":"291d8fd2f7ce1a6f94d2","highlight/livescript-js-js":"13cf510d24f3255efd27","highlight/llvm-js-js":"937eb22def75ba0a33c5","highlight/lsl-js-js":"a05c55b588a06b3e6c06","highlight/lua-js-js":"4505229de8ad6140757b","highlight/makefile-js-js":"c55241f412ebfb87dd97","highlight/markdown-js-js":"6e56887f843ed916d18d","highlight/mathematica-js-js":"1525019847ed970b92f5","highlight/matlab-js-js":"562cce3f32ad90e141e8","highlight/maxima-js-js":"b699616d8f90aeb9793d","highlight/mel-js-js":"e5202b30e34e3459f285","highlight/mercury-js-js":"8689c79b51af5705ba28","highlight/mipsasm-js-js":"62a914f3523db5014fb2","highlight/mizar-js-js":"d312d0bda53914f85beb","highlight/mojolicious-js-js":"2ad6e2655906c9191452","highlight/monkey-js-js":"08f8ad0f8fe6c097257b","highlight/moonscript-js-js":"99e9392264a17b000247","highlight/n1ql-js-js":"4507b0d6b73115133b3d","highlight/nestedtext-js-js":"5880561c232490f9fed3","highlight/nginx-js-js":"69d9d9704e7cdd038325","highlight/nim-js-js":"0a7a807e9d7c8050de55","highlight/nix-js-js":"2c392bf087a958097477","highlight/node-repl-js-js":"796f3cf48a32f21e8296","highlight/nsis-js-js":"f4f467e80f31682aed1e","highlight/objectivec-js-js":"086b8c20e02de7a3bc41","highlight/ocaml-js-js":"e0cb08d0ec2bba249c28","highlight/openscad-js-js":"f6d30e15948b09b2ec1a","highlight/oxygene-js-js":"d7a0d72989805438fb9b","highlight/parser3-js-js":"3a594125e60e240932c7","highlight/perl-js-js":"096604465497331fe82c","highlight/pf-js-js":"4982681cdf3ccb9383cc","highlight/pgsql-js-js":"7350e4bb17620d63760c","highlight/php-template-js-js":"4de2c737c512dd60c913","highlight/php-js-js":"c0a73ba28bfd413fa010","highlight/plaintext-js-js":"e2d085733274e26b51c8","highlight/pony-js-js":"5d8269f6f41729ac6f99","highlight/powershell-js-js":"7324b1b71253f28e545d","highlight/processing-js-js":"3ddaa32a6484af71f28f","highlight/profile-js-js":"dda0c279e816be9c634c","highlight/prolog-js-js":"f5f842dbe1709fedbaff","highlight/properties-js-js":"1bcc8594fc2445a2586c","highlight/protobuf-js-js":"f8c701cd676cb25cf9a5","highlight/puppet-js-js":"bae098f112d526e2cc4d","highlight/purebasic-js-js":"af0df7d75b750cf4c38a","highlight/python-repl-js-js":"7a56439ae5c8db2f7554","highlight/python-js-js":"bd4a52264290d12d5d8b","highlight/q-js-js":"dd887bedaabb6ab16f52","highlight/qml-js-js":"40dbf8feab8e74abf63e","highlight/r-js-js":"71a4e820bd16d16a01c9","highlight/reasonml-js-js":"c58036608ee4f4d6ccff","highlight/rib-js-js":"a5c748f3ff4b6f424540","highlight/roboconf-js-js":"b2030b2b28cad9afbe8e","highlight/routeros-js-js":"9ff7603891f1e755a981","highlight/rsl-js-js":"d6829e2dc16b27a0fd5f","highlight/ruby-js-js":"d21b8ac10924554febb5","highlight/ruleslanguage-js-js":"430000984f9523ea7215","highlight/rust-js-js":"94ef90e3294ac772113f","highlight/sas-js-js":"d81b0e1c2ccc51c04bf5","highlight/scala-js-js":"cafe3c77b846ce8bd549","highlight/scheme-js-js":"4d611301f991d0ef90aa","highlight/scilab-js-js":"1d6012b34b18eb483c15","highlight/scss-js-js":"d57166581addb965af71","highlight/shell-js-js":"40589714b646e472bcff","highlight/smali-js-js":"32fdadad20522dd6feda","highlight/smalltalk-js-js":"745f465bd8a7bf746837","highlight/sml-js-js":"f34cf9c383208d9348e5","highlight/sqf-js-js":"0e402dca1ba1c2ca0369","highlight/sql-js-js":"c63eb0035dfe703af90f","highlight/stan-js-js":"5c75feefdd193884dde8","highlight/stata-js-js":"4410990b4b92f2dcb073","highlight/step21-js-js":"2ffbdf48984483145c4b","highlight/stylus-js-js":"3069b51132aa87731481","highlight/subunit-js-js":"88f8324717ccea07f3c8","highlight/swift-js-js":"5c901d4e9ae4da8c484c","highlight/taggerscript-js-js":"2994dc33d8b2aec455a4","highlight/tap-js-js":"cbd8fdd2996950d49b20","highlight/tcl-js-js":"c4688e1bd0db77c972cd","highlight/thrift-js-js":"9b90f85c105969cee994","highlight/tp-js-js":"2bcf0a89d1163f82c9a8","highlight/twig-js-js":"0278463e366b9279ba4a","highlight/typescript-js-js":"806481ef9858e9509c8c","highlight/vala-js-js":"146cd263adcb25c42d0d","highlight/vbnet-js-js":"de573c84e236a46e6452","highlight/vbscript-html-js-js":"7d6ef7eb299175ad52ed","highlight/vbscript-js-js":"51c4619186e3a4b7f597","highlight/verilog-js-js":"f97b1cf5fcdeed6d8e8f","highlight/vhdl-js-js":"4c6b3bef17e5290c002e","highlight/vim-js-js":"1ff993e2fde942773cb3","highlight/wasm-js-js":"898b9596eaaddb3dce82","highlight/wren-js-js":"3192bb809d064279a9a5","highlight/x86asm-js-js":"ca627db52b2e343ed951","highlight/xl-js-js":"107a86a91ab740f32a24","highlight/xml-js-js":"3fdca1d843aa64e145a5","highlight/xquery-js-js":"b571d9e79149085ef90f","highlight/yaml-js-js":"8661330181ca496f3148","highlight/zephir-js-js":"26a5a14beb2b8bd14b31","editor-collab":"d9c5681e9e894faae3be","editor-guest":"4760cdcfd157fd4b2543"}[e],s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},n="@nextcloud/text:",s.l=(e,t,i,o)=>{if(r[e])r[e].push(t);else{var a,c;if(void 0!==i)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var f=u[l];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==n+i){a=f;break}}a||(c=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,s.nc&&a.setAttribute("nonce",s.nc),a.setAttribute("data-webpack",n+i),a.src=e),r[e]=[t];var h=(t,n)=>{a.onerror=a.onload=null,clearTimeout(p);var i=r[e];if(delete r[e],a.parentNode&&a.parentNode.removeChild(a),i&&i.forEach((e=>e(n))),t)return t(n)},p=setTimeout(h.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=h.bind(null,a.onerror),a.onload=h.bind(null,a.onload),c&&document.head.appendChild(a)}},s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),s.j="viewer",s.p="/apps/text/js/",(()=>{s.b=document.baseURI||self.location.href;var e={viewer:0};s.f.j=(t,r)=>{var n=s.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var i=new Promise(((r,i)=>n=e[t]=[r,i]));r.push(n[2]=i);var o=s.p+s.u(t),a=new Error;s.l(o,(r=>{if(s.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var i=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;a.message="Loading chunk "+t+" failed.\n("+i+": "+o+")",a.name="ChunkLoadError",a.type=i,a.request=o,n[1](a)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,i,[o,a,c]=r,u=0;if(o.some((t=>0!==e[t]))){for(n in a)s.o(a,n)&&(s.m[n]=a[n]);if(c)c(s)}for(t&&t(r);u<o.length;u++)i=o[u],s.o(e,i)&&e[i]&&e[i][0](),e[i]=0},r=self.webpackChunk_nextcloud_text=self.webpackChunk_nextcloud_text||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),s.nc=void 0,(()=>{"use strict";const e={name:"ViewerComponent",components:{Editor:()=>Promise.all([s.e("vendors"),s.e("editor")]).then(s.bind(s,48172))},props:{filename:{type:String,default:null},fileid:{type:Number,default:null},active:{type:Boolean,default:!1},autofocus:{type:Boolean,default:!0},shareToken:{type:String,default:()=>document.getElementById("sharingToken")?document.getElementById("sharingToken").value:null},mime:{type:String,default:null},showOutlineOutside:{type:Boolean,default:!1}}};var t=s(93379),r=s.n(t),n=s(7795),i=s.n(n),o=s(90569),a=s.n(o),c=s(3565),u=s.n(c),l=s(19216),f=s.n(l),h=s(44589),p=s.n(h),g=s(81297),d={};d.styleTagTransform=p(),d.setAttributes=u(),d.insert=a().bind(null,"head"),d.domAPI=i(),d.insertStyleElement=f();r()(g.Z,d);g.Z&&g.Z.locals&&g.Z.locals;var b=s(15258),v={};v.styleTagTransform=p(),v.setAttributes=u(),v.insert=a().bind(null,"head"),v.domAPI=i(),v.insertStyleElement=f();r()(b.Z,v);b.Z&&b.Z.locals&&b.Z.locals;const j=(0,s(51900).Z)(e,(function(){var e=this;return(0,e._self._c)("Editor",{attrs:{"file-id":e.fileid,"relative-path":e.filename,active:e.active,autofocus:e.autofocus,"share-token":e.shareToken,mime:e.mime,"show-outline-outside":e.showOutlineOutside}})}),[],!1,null,"58ead30a",null).exports;var m=s(52029),y=s(74411);s.nc=btoa(OC.requestToken),s.p=OC.linkTo("text","js/"),void 0===OCA.Viewer?m.k.error("Viewer app is not installed"):OCA.Viewer.registerHandler({id:"text",mimes:[...y.lF,...y.w_],component:j,group:null,theme:"default"})})()})();
//# sourceMappingURL=text-viewer.js.map?v=eada1b79fe58755eb83e