!function(e){function t(t){for(var n,i,o=t[0],a=t[1],c=0,s=[];c * * @author Julius Härtl * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ var r=["text/markdown"],i=["text/plain","application/cmd","application/javascript","application/json","application/xml","application/x-empty","application/x-msdos-program","application/x-php","application/x-pearl","application/x-text","application/yaml"],o=[].concat(r,i)},function(e,t,n){"use strict";n(51),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(123))&&r.__esModule?r:{default:r},o=n(139);var a=i.default.create({headers:{requesttoken:(0,o.getRequestToken)()}}),c=Object.assign(a,{CancelToken:i.default.CancelToken,isCancel:i.default.isCancel});(0,o.onRequestTokenUpdate)((function(e){return a.defaults.headers.requesttoken=e}));var u=c;t.default=u},function(e,t,n){"use strict";n(94),n(153),n(51),n(46),n(154),n(95),n(99),Object.defineProperty(t,"__esModule",{value:!0}),t.getRootUrl=t.generateFilePath=t.imagePath=t.generateUrl=t.generateOcsUrl=t.generateRemoteUrl=t.linkTo=void 0;t.linkTo=function(e,t){return r(e,"",t)};t.generateRemoteUrl=function(e){return window.location.protocol+"//"+window.location.host+function(e){return i()+"/remote.php/"+e}(e)};t.generateOcsUrl=function(e,t){return t=2!==t?1:2,window.location.protocol+"//"+window.location.host+i()+"/ocs/v"+t+".php/"+e+"/"};t.generateUrl=function(e,t,n){var r=Object.assign({escape:!0,noRewrite:!1},n||{}),o=function(e,t){return t=t||{},e.replace(/{([^{}]*)}/g,(function(e,n){var i=t[n];return r.escape?"string"==typeof i||"number"==typeof i?encodeURIComponent(i.toString()):encodeURIComponent(e):"string"==typeof i||"number"==typeof i?i.toString():e}))};return"/"!==e.charAt(0)&&(e="/"+e),!0!==OC.config.modRewriteWorking||r.noRewrite?i()+"/index.php"+o(e,t||{}):i()+o(e,t||{})};t.imagePath=function(e,t){return-1===t.indexOf(".")?r(e,"img",t+".svg"):r(e,"img",t)};var r=function(e,t,n){var r=-1!==OC.coreApps.indexOf(e),o=i();return"php"!==n.substring(n.length-3)||r?"php"===n.substring(n.length-3)||r?(o+="settings"!==e&&"core"!==e&&"search"!==e||"ajax"!==t?"/":"/index.php/",r||(o+="apps/"),""!==e&&(o+=e+="/"),t&&(o+=t+"/"),o+=n):(o=OC.appswebroots[e],t&&(o+="/"+t+"/"),"/"!==o.substring(o.length-1)&&(o+="/"),o+=n):(o+="/index.php/apps/"+e,"index.php"!==n&&(o+="/",t&&(o+=encodeURI(t+"/")),o+=n)),o};t.generateFilePath=r;var i=function(){return OC.webroot};t.getRootUrl=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.emit=t.unsubscribe=t.subscribe=void 0;var r=n(142),i=n(143);var o=(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),void 0!==window._nc_event_bus?new r.ProxyBus(window._nc_event_bus):window._nc_event_bus=new i.SimpleBus),a=o.subscribe.bind(o);t.subscribe=a;var c=o.unsubscribe.bind(o);t.unsubscribe=c;var u=o.emit.bind(o);t.emit=u},function(e,t,n){var r=n(24),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(22);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports={}},function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,c){var u,s="function"==typeof e?e.options:e;if(t&&(s.render=t,s.staticRenderFns=n,s._compiled=!0),r&&(s.functional=!0),o&&(s._scopeId="data-v-"+o),a?(u=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(a)},s._ssrRegister=u):i&&(u=c?function(){i.call(this,this.$root.$options.shadowRoot)}:i),u)if(s.functional){s._injectStyles=u;var f=s.render;s.render=function(e,t){return u.call(t),f(e,t)}}else{var l=s.beforeCreate;s.beforeCreate=l?[].concat(l,u):[u]}return{exports:e,options:s}}n.d(t,"a",(function(){return r}))},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r,i,o,a=n(119),c=n(2),u=n(6),s=n(7),f=n(5),l=n(37),h=n(27),d=c.WeakMap;if(a){var p=new d,g=p.get,v=p.has,b=p.set;r=function(e,t){return b.call(p,e,t),t},i=function(e){return g.call(p,e)||{}},o=function(e){return v.call(p,e)}}else{var m=l("state");h[m]=!0,r=function(e,t){return s(e,m,t),t},i=function(e){return f(e,m)?e[m]:{}},o=function(e){return f(e,m)}}e.exports={set:r,get:i,has:o,enforce:function(e){return o(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!u(t)||(n=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},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(122),i=n(2),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(i[e]):r[e]&&r[e][t]||i[e]&&i[e][t]}},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){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(35),i=n(22);e.exports=function(e){return r(i(e))}},function(e,t){e.exports={}},function(e,t,n){var r=n(156);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);(0,n(88).default)("00514202",r,!0,{})},function(e,n,r){"use strict";var i=r(13),o=r.n(i),a=r(14),c=r(12),u=r(15),s=!!document.getElementById("isPublic"),f=Object(a.generateOcsUrl)("apps/text"+(s?"/public":""),2)+"workspace",l={name:"RichWorkspace",components:{EditorWrapper:function(){return Promise.all([r.e(0),r.e(189),r.e(188),r.e(199),r.e(190)]).then(r.bind(null,166))}},props:{path:{type:String,required:!0}},data:function(){return{focus:!1,file:null,loaded:!1,ready:!1,autofocus:!1,enabled:OCA.Text.RichWorkspaceEnabled}},computed:{shareToken:function(){return document.getElementById("sharingToken")?document.getElementById("sharingToken").value:null}},watch:{path:function(){this.getFileInfo()}},mounted:function(){var e=this;return regeneratorRuntime.async((function(t){for(;;)switch(t.prev=t.next){case 0:this.enabled&&this.getFileInfo(),Object(u.subscribe)("Text::showRichWorkspace",(function(){e.enabled=!0,e.getFileInfo()})),Object(u.subscribe)("Text::hideRichWorkspace",(function(){e.enabled=!1}));case 3:case"end":return t.stop()}}),null,this)},methods:{getFileInfo:function(){var e=this;this.loaded=!1,this.autofocus=!1,this.ready=!1;var t={path:this.path};s&&(t.shareToken=this.shareToken),o.a.get(f,{params:t}).then((function(t){var n=t.data.ocs.data;e.file=n.file,e.editing=!0,e.loaded=!0})).catch((function(){e.file=null,e.loaded=!0,e.ready=!0}))},createNew:function(){var e=this;this.creating||(this.creating=!0,window.FileList.createFile("Readme.md",{scrollTo:!1,animate:!1}).then((function(t,n){e.getFileInfo(),e.autofocus=!0,e.creating=!1})))}}},h=(r(155),r(19)),d=Object(h.a)(l,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.enabled?n("div",{class:{"icon-loading":!e.loaded||!e.ready,focus:e.focus},attrs:{id:"rich-workspace"}},[!e.file||e.autofocus&&!e.ready?n("div",{staticClass:"empty-workspace",on:{click:e.createNew}},[n("p",{staticClass:"placeholder"},[e._v("\n\t\t\t"+e._s(e.t("text","Add notes, lists or links …"))+"\n\t\t")])]):e._e(),e._v(" "),e.file?n("EditorWrapper",{directives:[{name:"show",rawName:"v-show",value:e.ready,expression:"ready"}],key:e.file.id,attrs:{"file-id":e.file.id,"relative-path":e.file.path,"share-token":e.shareToken,active:!0,autohide:!0,mime:e.file.mimetype,autofocus:e.autofocus},on:{ready:function(t){e.ready=!0},focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}}):e._e()],1):e._e()}),[],!1,null,"3286a970",null).exports;r.d(n,"b",(function(){return p})),r.d(n,"c",(function(){return v})),r.d(n,"d",(function(){return g})),r.d(n,"a",(function(){return b})); /* * @copyright Copyright (c) 2019 Julius Härtl * * @author Julius Härtl * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ var p=function(e,t){var n,r;return regeneratorRuntime.async((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,regeneratorRuntime.awrap(o()({method:"PROPFIND",url:Object(a.generateRemoteUrl)("dav/files/".concat(e).concat(t)),headers:{requesttoken:OC.requestToken,"content-Type":"text/xml"},data:'\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n'}));case 2:return n=i.sent,r=OCA.Files.App.fileList.filesClient._client.parseMultiStatus(n.data),i.abrupt("return",r.map((function(e){var t=OCA.Files.App.fileList.filesClient._parseFileInfo(e);return t.href=e.href,t})));case 5:case"end":return i.stop()}}))},g=function(){var e={attach:function(e){var n=e.fileList;"files"!==n.id&&"files.public"!==n.id||e.addMenuEntry({id:"file",displayName:t("text","New text document"),templateName:t("text","New text document")+".md",iconClass:"icon-filetype-text",fileType:"file",actionHandler:function(e){n.createFile(e).then((function(e,t){var r=new OCA.Files.FileInfoModel(t);void 0!==OCA.Viewer?OCA.Files.fileActions.triggerAction("view",r,n):void 0===OCA.Viewer&&OCA.Files.fileActions.triggerAction("Edit with text app",r,n)}))}})}};OC.Plugins.register("OCA.Files.NewFileMenu",e)},v=function(){var e=document.getElementById("sharingToken")?document.getElementById("sharingToken").value:null,n=document.getElementById("dir").value;if(!e||""!==n){var i=document.createElement("div");i.id="text-viewer-fallback",document.body.appendChild(i);for(var o=function(n){return OCA.Files.fileActions.register(n,"Edit with text app",OC.PERMISSION_UPDATE|OC.PERMISSION_READ,OC.imagePath("core","actions/rename"),(function(t){var n=window.FileList.findFile(t);Promise.all([r.e(0).then(r.bind(null,43)),Promise.all([r.e(1),r.e(0),r.e(188),r.e(201),r.e(195)]).then(r.bind(null,523))]).then((function(r){var o=window.FileList.getCurrentDirectory()+"/"+t,a=r[0].default;a.prototype.t=window.t,a.prototype.n=window.n,a.prototype.OCA=window.OCA;var c=r[1].default;new a({render:function(t){return t(c,{props:{fileId:n?n.id:null,active:!0,shareToken:e,relativePath:o,mimeType:n.mimetype}})}}).$mount(i)}))}),t("text","Edit"))},a=0;adocument.F=Object<\/script>"),e.close(),l=e.F;n--;)delete l.prototype[o[n]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(f.prototype=r(e),n=new f,f.prototype=null,n[s]=e):n=l(),void 0===t?n:i(n,t)},a[s]=!0},function(e,t,n){var r=n(11).f,i=n(5),o=n(1)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t,n){var r=n(6);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=!1},function(e,t,n){var r=n(0),i=n(20),o="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},function(e,t,n){var r=n(2),i=n(7);e.exports=function(e,t){try{i(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(64),i=n(38),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},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=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,n){"use strict";var r=n(8),i=n(111),o=n(82),a=n(83),c=n(32),u=n(7),s=n(10),f=n(1),l=n(34),h=n(18),d=n(81),p=d.IteratorPrototype,g=d.BUGGY_SAFARI_ITERATORS,v=f("iterator"),b=function(){return this};e.exports=function(e,t,n,f,d,m,y){i(n,t,f);var x,w,O,S=function(e){if(e===d&&T)return T;if(!g&&e in C)return C[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},k=t+" Iterator",E=!1,C=e.prototype,j=C[v]||C["@@iterator"]||d&&C[d],T=!g&&j||S(d),A="Array"==t&&C.entries||j;if(A&&(x=o(A.call(new e)),p!==Object.prototype&&x.next&&(l||o(x)===p||(a?a(x,p):"function"!=typeof x[v]&&u(x,v,b)),c(x,k,!0,!0),l&&(h[k]=b))),"values"==d&&j&&"values"!==j.name&&(E=!0,T=function(){return j.call(this)}),l&&!y||C[v]===T||u(C,v,T),h[t]=T,d)if(w={values:S("values"),keys:m?T:S("keys"),entries:S("entries")},y)for(O in w)!g&&!E&&O in C||s(C,O,w[O]);else r({target:t,proto:!0,forced:g||E},w);return w}},function(e,t,n){var r={};r[n(1)("toStringTag")]="z",e.exports="[object z]"===String(r)},function(e,t,n){"use strict";var r,i,o=n(86),a=RegExp.prototype.exec,c=String.prototype.replace,u=a,s=(r=/a/,i=/b*/g,a.call(r,"a"),a.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),f=void 0!==/()??/.exec("")[1];(s||f)&&(u=function(e){var t,n,r,i,u=this;return f&&(n=new RegExp("^"+u.source+"$(?!\\s)",o.call(u))),s&&(t=u.lastIndex),r=a.call(u,e),s&&r&&(u.lastIndex=u.global?r.index+r[0].length:t),f&&r&&r.length>1&&c.call(r[0],n,(function(){for(i=1;i=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(e,t,n){var r=n(41),i=n(10),o=n(151);r||i(Object.prototype,"toString",o,{unsafe:!0})},function(e,t,n){var r=n(9),i=n(61),o=n(25),a=n(26),c=n(33),u=n(5),s=n(62),f=Object.getOwnPropertyDescriptor;t.f=r?f:function(e,t){if(e=a(e),t=c(t,!0),s)try{return f(e,t)}catch(e){}if(u(e,t))return o(!i.f.call(e,t),e[t])}},function(e,t,n){var r=n(0),i=/#|\.prototype\./,o=function(e,t){var n=c[a(e)];return n==s||n!=u&&("function"==typeof t?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=o.data={},u=o.NATIVE="N",s=o.POLYFILL="P";e.exports=o},function(e,t,n){var r=n(0),i=n(1),o=n(57),a=i("species");e.exports=function(e){return o>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},function(e,t,n){var r=n(8),i=n(106);r({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},function(e,t,n){var r=n(6),i=n(79),o=n(1)("species");e.exports=function(e,t){var n;return i(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!i(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(2),i=n(6),o=r.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},function(e,t,n){var r=n(63),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return i.call(e)}),e.exports=r.inspectSource},function(e,t,n){var r=n(30),i=n(35),o=n(17),a=n(16),c=n(52),u=[].push,s=function(e){var t=1==e,n=2==e,s=3==e,f=4==e,l=6==e,h=5==e||l;return function(d,p,g,v){for(var b,m,y=o(d),x=i(y),w=r(p,g,3),O=a(x.length),S=0,k=v||c,E=t?k(d,O):n?k(d,0):void 0;O>S;S++)if((h||S in x)&&(m=w(b=x[S],S,y),e))if(t)E[S]=m;else if(m)switch(e){case 3:return!0;case 5:return b;case 6:return S;case 2:u.call(E,b)}else if(f)return!1;return l?-1:s||f?f:E}};e.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6)}},function(e,t,n){"use strict";var r=n(0);e.exports=function(e,t){var n=[][e];return!n||!r((function(){n.call(null,t||function(){throw 1},1)}))}},function(e,t,n){var r,i,o=n(2),a=n(108),c=o.process,u=c&&c.versions,s=u&&u.v8;s?i=(r=s.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=r[1]),e.exports=i&&+i},function(e,t,n){var r=n(4),i=n(112),o=n(16),a=n(30),c=n(98),u=n(113),s=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,n,f,l){var h,d,p,g,v,b,m,y=a(t,n,f?2:1);if(l)h=e;else{if("function"!=typeof(d=c(e)))throw TypeError("Target is not iterable");if(i(d)){for(p=0,g=o(e.length);g>p;p++)if((v=f?y(r(m=e[p])[0],m[1]):y(e[p]))&&v instanceof s)return v;return new s(!1)}h=d.call(e)}for(b=h.next;!(m=b.call(h)).done;)if("object"==typeof(v=u(h,y,m.value,f))&&v&&v instanceof s)return v;return new s(!1)}).stop=function(e){return new s(!0,e)}},function(e,t,n){var r=n(41),i=n(20),o=n(1)("toStringTag"),a="Arguments"==i(function(){return arguments}());e.exports=r?i: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:a?i(t):"Object"==(r=i(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t,n){var r=n(24),i=n(22),o=function(e){return function(t,n){var o,a,c=String(i(t)),u=r(n),s=c.length;return u<0||u>=s?e?"":void 0:(o=c.charCodeAt(u))<55296||o>56319||u+1===s||(a=c.charCodeAt(u+1))<56320||a>57343?e?c.charAt(u):o:e?c.slice(u,u+2):a-56320+(o-55296<<10)+65536}};e.exports={codeAt:o(!1),charAt:o(!0)}},function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},function(e,t,n){var r=n(9),i=n(0),o=n(53);e.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(2),i=n(36),o=r["__core-js_shared__"]||i("__core-js_shared__",{});e.exports=o},function(e,t,n){var r=n(34),i=n(63);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.5.0",mode:r?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(5),i=n(26),o=n(66).indexOf,a=n(27);e.exports=function(e,t){var n,c=i(e),u=0,s=[];for(n in c)!r(a,n)&&r(c,n)&&s.push(n);for(;t.length>u;)r(c,n=t[u++])&&(~o(s,n)||s.push(n));return s}},function(e,t,n){var r=n(26),i=n(16),o=n(101),a=function(e){return function(t,n,a){var c,u=r(t),s=i(u.length),f=o(a,s);if(e&&n!=n){for(;s>f;)if((c=u[f++])!=c)return!0}else for(;s>f;f++)if((e||f in u)&&u[f]===n)return e||f||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(65),i=n(39);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r=200&&e<300}};u.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){u.headers[e]=r.merge(o)})),e.exports=u}).call(this,n(90))},function(e,t,n){"use strict";var r=n(3),i=n(130),o=n(70),a=n(132),c=n(133),u=n(74);e.exports=function(e){return new Promise((function(t,s){var f=e.data,l=e.headers;r.isFormData(f)&&delete l["Content-Type"];var h=new XMLHttpRequest;if(e.auth){var d=e.auth.username||"",p=e.auth.password||"";l.Authorization="Basic "+btoa(d+":"+p)}if(h.open(e.method.toUpperCase(),o(e.url,e.params,e.paramsSerializer),!0),h.timeout=e.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?a(h.getAllResponseHeaders()):null,r={data:e.responseType&&"text"!==e.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:e,request:h};i(t,s,r),h=null}},h.onabort=function(){h&&(s(u("Request aborted",e,"ECONNABORTED",h)),h=null)},h.onerror=function(){s(u("Network Error",e,null,h)),h=null},h.ontimeout=function(){s(u("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",h)),h=null},r.isStandardBrowserEnv()){var g=n(134),v=(e.withCredentials||c(e.url))&&e.xsrfCookieName?g.read(e.xsrfCookieName):void 0;v&&(l[e.xsrfHeaderName]=v)}if("setRequestHeader"in h&&r.forEach(l,(function(e,t){void 0===f&&"content-type"===t.toLowerCase()?delete l[t]:h.setRequestHeader(t,e)})),e.withCredentials&&(h.withCredentials=!0),e.responseType)try{h.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&h.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){h&&(h.abort(),s(e),h=null)})),void 0===f&&(f=null),h.send(f)}))}},function(e,t,n){"use strict";var r=n(131);e.exports=function(e,t,n,i,o){var a=new Error(e);return r(a,t,n,i,o)}},function(e,t,n){"use strict";var r=n(3);e.exports=function(e,t){t=t||{};var n={};return r.forEach(["url","method","params","data"],(function(e){void 0!==t[e]&&(n[e]=t[e])})),r.forEach(["headers","auth","proxy"],(function(i){r.isObject(t[i])?n[i]=r.deepMerge(e[i],t[i]):void 0!==t[i]?n[i]=t[i]:r.isObject(e[i])?n[i]=r.deepMerge(e[i]):void 0!==e[i]&&(n[i]=e[i])})),r.forEach(["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"],(function(r){void 0!==t[r]?n[r]=t[r]:void 0!==e[r]&&(n[r]=e[r])})),n}},function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},function(e,t,n){"use strict";var r=n(8),i=n(78);r({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},function(e,t,n){"use strict";var r=n(55).forEach,i=n(56);e.exports=i("forEach")?function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}:[].forEach},function(e,t,n){var r=n(20);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(0);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},function(e,t,n){"use strict";var r,i,o,a=n(82),c=n(7),u=n(5),s=n(1),f=n(34),l=s("iterator"),h=!1;[].keys&&("next"in(o=[].keys())?(i=a(a(o)))!==Object.prototype&&(r=i):h=!0),null==r&&(r={}),f||u(r,l)||c(r,l,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},function(e,t,n){var r=n(5),i=n(17),o=n(37),a=n(145),c=o("IE_PROTO"),u=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=i(e),r(e,c)?e[c]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?u:null}},function(e,t,n){var r=n(4),i=n(146);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,o){return r(n),i(o),t?e.call(n,o):n.__proto__=o,n}}():void 0)},function(e,t,n){var r=n(27),i=n(6),o=n(5),a=n(11).f,c=n(38),u=n(149),s=c("meta"),f=0,l=Object.isExtensible||function(){return!0},h=function(e){a(e,s,{value:{objectID:"O"+ ++f,weakData:{}}})},d=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,s)){if(!l(e))return"F";if(!t)return"E";h(e)}return e[s].objectID},getWeakData:function(e,t){if(!o(e,s)){if(!l(e))return!0;if(!t)return!1;h(e)}return e[s].weakData},onFreeze:function(e){return u&&d.REQUIRED&&l(e)&&!o(e,s)&&h(e),e}};r[s]=!0},function(e,t){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}},function(e,t,n){"use strict";var r=n(4);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";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var i=(a=r,c=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),u="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(c),"/*# ".concat(u," */")),o=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot).concat(e," */")}));return[n].concat(o).concat([i]).join("\n")}var a,c,u;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r=0;rn.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(i=0;i=51||!i((function(){var e=[];return e[p]=!1,e.concat()[0]!==e})),v=l("concat"),b=function(e){if(!a(e))return!1;var t=e[p];return void 0!==t?!!t:o(e)};r({target:"Array",proto:!0,forced:!g||!v},{concat:function(e){var t,n,r,i,o,a=c(this),l=f(a,0),h=0;for(t=-1,r=arguments.length;t9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n=9007199254740991)throw TypeError("Maximum allowed index exceeded");s(l,h++,o)}return l.length=h,l}})},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function c(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:a}catch(e){r=a}}();var u,s=[],f=!1,l=-1;function h(){f&&u&&(f=!1,u.length?s=u.concat(s):l=-1,s.length&&d())}function d(){if(!f){var e=c(h);f=!0;for(var t=s.length;t;){for(u=s,s=[];++l1)for(var n=1;n=n.length?{value:void 0,done:!0}:(e=r(n,i),t.index+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(2),i=n(85),o=n(45),a=n(7),c=n(1),u=c("iterator"),s=c("toStringTag"),f=o.values;for(var l in i){var h=r[l],d=h&&h.prototype;if(d){if(d[u]!==f)try{a(d,u,f)}catch(e){d[u]=f}if(d[s]||a(d,s,l),i[l])for(var p in o)if(d[p]!==o[p])try{a(d,p,o[p])}catch(e){d[p]=o[p]}}}},function(e,t,n){"use strict";var r=n(8),i=n(66).indexOf,o=n(56),a=[].indexOf,c=!!a&&1/[1].indexOf(1,-0)<0,u=o("indexOf");r({target:"Array",proto:!0,forced:c||u},{indexOf:function(e){return c?a.apply(this,arguments)||0:i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(10),i=n(4),o=n(0),a=n(86),c=RegExp.prototype,u=c.toString,s=o((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),f="toString"!=u.name;(s||f)&&r(RegExp.prototype,"toString",(function(){var e=i(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in c)?a.call(e):n)}),{unsafe:!0})},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(33),i=n(11),o=n(25);e.exports=function(e,t,n){var a=r(t);a in e?i.f(e,a,o(0,n)):e[a]=n}},function(e,t,n){var r=n(59),i=n(18),o=n(1)("iterator");e.exports=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){"use strict";var r=n(116),i=n(4),o=n(17),a=n(16),c=n(24),u=n(22),s=n(117),f=n(118),l=Math.max,h=Math.min,d=Math.floor,p=/\$([$&'`]|\d\d?|<[^>]*>)/g,g=/\$([$&'`]|\d\d?)/g;r("replace",2,(function(e,t,n){return[function(n,r){var i=u(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,i,r):t.call(String(i),n,r)},function(e,o){var u=n(t,e,this,o);if(u.done)return u.value;var d=i(e),p=String(this),g="function"==typeof o;g||(o=String(o));var v=d.global;if(v){var b=d.unicode;d.lastIndex=0}for(var m=[];;){var y=f(d,p);if(null===y)break;if(m.push(y),!v)break;""===String(y[0])&&(d.lastIndex=s(p,a(d.lastIndex),b))}for(var x,w="",O=0,S=0;S=O&&(w+=p.slice(O,E)+R,O=E+k.length)}return w+p.slice(O)}];function r(e,n,r,i,a,c){var u=r+e.length,s=i.length,f=g;return void 0!==a&&(a=o(a),f=p),t.call(c,f,(function(t,o){var c;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(u);case"<":c=a[o.slice(1,-1)];break;default:var f=+o;if(0===f)return t;if(f>s){var l=d(f/10);return 0===l?t:l<=s?void 0===i[l-1]?o.charAt(1):i[l-1]+o.charAt(1):t}c=i[f-1]}return void 0===c?"":c}))}}))},function(e,t,n){var r=n(65),i=n(39).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){var r=n(24),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},function(e,t,n){"use strict";var r=n(8),i=n(55).filter,o=n(0),a=n(49)("filter"),c=a&&!o((function(){[].filter.call({length:-1,0:1},(function(e){throw e}))}));r({target:"Array",proto:!0,forced:!a||!c},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(6),i=n(83);e.exports=function(e,t,n){var o,a;return i&&"function"==typeof(o=t.constructor)&&o!==n&&r(a=o.prototype)&&a!==n.prototype&&i(e,a),e}},function(e,t,n){var r=n(10);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},function(e,t,n){var r=n(2),i=n(85),o=n(78),a=n(7);for(var c in i){var u=r[c],s=u&&u.prototype;if(s&&s.forEach!==o)try{a(s,"forEach",o)}catch(e){s.forEach=o}}},function(e,t,n){"use strict";var r=n(9),i=n(0),o=n(68),a=n(67),c=n(61),u=n(17),s=n(35),f=Object.assign,l=Object.defineProperty;e.exports=!f||i((function(){if(r&&1!==f({b:1},f(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=f({},e)[n]||"abcdefghijklmnopqrst"!=o(f({},t)).join("")}))?function(e,t){for(var n=u(e),i=arguments.length,f=1,l=a.f,h=c.f;i>f;)for(var d,p=s(arguments[f++]),g=l?o(p).concat(l(p)):o(p),v=g.length,b=0;v>b;)d=g[b++],r&&!h.call(p,d)||(n[d]=p[d]);return n}:f},function(e,t){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)} /*! * Determine if an object is a Buffer * * @author Feross Aboukhadijeh * @license MIT */ e.exports=function(e){return null!=e&&(n(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}(e)||!!e._isBuffer)}},function(e,t,n){var r=n(23);e.exports=r("navigator","userAgent")||""},function(e,t,n){var r=n(9),i=n(11),o=n(4),a=n(68);e.exports=r?Object.defineProperties:function(e,t){o(e);for(var n,r=a(t),c=r.length,u=0;c>u;)i.f(e,n=r[u++],t[n]);return e}},function(e,t,n){var r=n(23);e.exports=r("document","documentElement")},function(e,t,n){"use strict";var r=n(81).IteratorPrototype,i=n(31),o=n(25),a=n(32),c=n(18),u=function(){return this};e.exports=function(e,t,n){var s=t+" Iterator";return e.prototype=i(r,{next:o(1,n)}),a(e,s,!1,!0),c[s]=u,e}},function(e,t,n){var r=n(1),i=n(18),o=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},function(e,t,n){var r=n(4);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&r(o.call(e)),t}}},function(e,t,n){var r=n(1)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},e(o)}catch(e){}return n}},function(e,t,n){"use strict";var r=n(23),i=n(11),o=n(1),a=n(9),c=o("species");e.exports=function(e){var t=r(e),n=i.f;a&&t&&!t[c]&&n(t,c,{configurable:!0,get:function(){return this}})}},function(e,t,n){"use strict";var r=n(7),i=n(10),o=n(0),a=n(1),c=n(42),u=a("species"),s=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")})),f=!o((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,l){var h=a(e),d=!o((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),p=d&&!o((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return t=!0,null},n[h](""),!t}));if(!d||!p||"replace"===e&&!s||"split"===e&&!f){var g=/./[h],v=n(h,""[e],(function(e,t,n,r,i){return t.exec===c?d&&!i?{done:!0,value:g.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}})),b=v[0],m=v[1];i(String.prototype,e,b),i(RegExp.prototype,h,2==t?function(e,t){return m.call(e,this,t)}:function(e){return m.call(e,this)}),l&&r(RegExp.prototype[h],"sham",!0)}}},function(e,t,n){"use strict";var r=n(60).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e,t,n){var r=n(20),i=n(42);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 i.call(e,t)}},function(e,t,n){var r=n(2),i=n(54),o=r.WeakMap;e.exports="function"==typeof o&&/native code/.test(i(o))},function(e,t,n){var r=n(5),i=n(121),o=n(47),a=n(11);e.exports=function(e,t){for(var n=i(t),c=a.f,u=o.f,s=0;s=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},function(e,t,n){"use strict";var r=n(3);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},function(e,t,n){"use strict";var r=n(3);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,i,o,a){var c=[];c.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&c.push("expires="+new Date(n).toGMTString()),r.isString(i)&&c.push("path="+i),r.isString(o)&&c.push("domain="+o),!0===a&&c.push("secure"),document.cookie=c.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var r=n(76);function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var e;return{token:new i((function(t){e=t})),cancel:e}},e.exports=i},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRequestToken",{enumerable:!0,get:function(){return r.getRequestToken}}),Object.defineProperty(t,"onRequestTokenUpdate",{enumerable:!0,get:function(){return r.onRequestTokenUpdate}}),Object.defineProperty(t,"getCurrentUser",{enumerable:!0,get:function(){return i.getCurrentUser}});var r=n(140),i=n(152)},function(e,t,n){"use strict";n(77),Object.defineProperty(t,"__esModule",{value:!0}),t.getRequestToken=function(){return o},t.onRequestTokenUpdate=function(e){a.push(e)};var r=n(15),i=document.getElementsByTagName("head")[0],o=i?i.getAttribute("data-requesttoken"):null,a=[];(0,r.subscribe)("csrf-token-update",(function(e){o=e.token,a.forEach((function(t){try{t(e.token)}catch(e){console.error("error updating CSRF token observer",e)}}))}))},function(e,t,n){var r=n(80);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol()},function(e,t,n){"use strict";function r(e,t){for(var n=0;n1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!b(this,e)}}),o(f.prototype,n?{get:function(e){var t=b(this,e);return t&&t.value},set:function(e,t){return v(this,0===e?0:e,t)}}:{add:function(e){return v(this,e=0===e?0:e,e)}}),l&&r(f.prototype,"size",{get:function(){return d(this).size}}),f},setStrong:function(e,t,n){var r=t+" Iterator",i=g(t),o=g(r);s(e,t,(function(e,t){p(this,{type:r,target:e,state:i(e),kind:t,last:void 0})}),(function(){for(var e=o(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),f(t)}}},function(e,t,n){"use strict";var r=n(41),i=n(59);e.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCurrentUser=function(){if(null===i)return null;return{uid:i,displayName:a}};var r=document.getElementsByTagName("head")[0],i=r?r.getAttribute("data-user"):null,o=document.getElementsByTagName("head")[0],a=o?o.getAttribute("data-user-displayname"):null},function(e,t,n){var r=n(10),i=Date.prototype,o=i.toString,a=i.getTime;new Date(NaN)+""!="Invalid Date"&&r(i,"toString",(function(){var e=a.call(this);return e==e?o.call(this):"Invalid Date"}))},function(e,t,n){"use strict";var r=n(8),i=n(42);r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},function(e,t,n){"use strict";var r=n(28);n.n(r).a},function(e,t,n){(t=n(87)(!1)).push([e.i,"\n#rich-workspace[data-v-3286a970] {\n\tpadding: 0 60px;\n\tmin-height: 90px;\n\t/* Slightly reduce vertical space */\n\tmargin-bottom: -24px;\n\ttext-align: left;\n}\n\n/* For subfolders, where there are no Recommendations */\n#rich-workspace[data-v-3286a970]:only-child {\n\tmargin-bottom: 0;\n}\n.empty-workspace[data-v-3286a970] {\n\tpadding-top: 43px;\n\tcolor: var(--color-text-maxcontrast);\n\theight: 0;\n}\n#rich-workspace[data-v-3286a970] div[contenteditable=false] {\n\twidth: 100%;\n\tpadding: 0px;\n\tbackground-color: var(--color-main-background);\n\topacity: 1;\n\tborder: none;\n}\n#rich-workspace[data-v-3286a970] #editor-container {\n\theight: 100%;\n\tposition: unset !important;\n}\n#rich-workspace[data-v-3286a970] #editor-wrapper {\n\tposition: unset !important;\n}\n#rich-workspace[data-v-3286a970] #editor-wrapper .ProseMirror {\n\tpadding: 0px;\n\tmargin: 0;\n}\n#rich-workspace[data-v-3286a970] .menubar {\n\tz-index: 50;\n\t/* Slightly reduce vertical space */\n\tmargin-bottom: -10px;\n}\n#rich-workspace[data-v-3286a970] .menubar .menubar-icons {\n\tmargin-left: 0;\n}\n#rich-workspace[data-v-3286a970] .editor__content {\n\tmargin: 0;\n}\n@media only screen and (max-width: 1024px) {\n#rich-workspace[data-v-3286a970]:not(.focus) {\n\t\tmax-height: 30vh;\n\t\tposition: relative;\n\t\toverflow: hidden;\n}\n#rich-workspace[data-v-3286a970]:not(.focus):not(.icon-loading):after {\n\t\tcontent: '';\n\t\tposition: absolute;\n\t\tz-index: 1;\n\t\tbottom: 0;\n\t\tleft: 0;\n\t\tpointer-events: none;\n\t\tbackground-image: linear-gradient(to bottom, rgba(0,0,0, 0), var(--color-main-background));\n\t\twidth: 100%;\n\t\theight: 4em;\n}\n}\n\n",""]),e.exports=t},,function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return u}));var r=n(14),i=function(e){(document.attachEvent?"complete"===document.readyState:"loading"!==document.readyState)?setTimeout(e,0):document.addEventListener("DOMContentLoaded",e)},o=Object(r.generateUrl)("/apps/text"),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?"".concat(o,"/public/").concat(e):"".concat(o,"/").concat(e)},c=["Artichoke","Arugula","Asparagus","Avocado","Bamboo Shoot","Bean Sprout","Bean","Beet","Belgian Endive","Bell Pepper","Bitter Melon","Bitter Gourd","Bok Choy","Broccoli","Brussels Sprout","Burdock Root","Cabbage","Calabash","Caper","Carrot","Cassava","Cauliflower","Celery","Celery Root","Celtuce","Chayote","Chinese Broccoli","Corn","Baby Corn","Cucumber","English Cucumber","Gherkin","Pickling Cucumber","Daikon Radish","Edamame","Eggplant","Elephant Garlic","Endive","Curly","Escarole","Fennel","Fiddlehead","Galangal","Garlic","Ginger","Grape Leave","Green Bean","Wax Bean","Green","Amaranth Leave","Beet Green","Collard Green","Dandelion Green","Kale","Kohlrabi Green","Mustard Green","Rapini","Spinach","Swiss Chard","Turnip Green","Hearts of Palm","Horseradish","Jerusalem Artichoke","Jícama","Kale","Curly","Lacinato","Ornamental","Kohlrabi","Leeks","Lemongrass","Lettuce","Butterhead","Iceberg","Leaf","Romaine","Lotus Root","Lotus Seed","Mushroom","Napa Cabbage","Nopales","Okra","Olive","Onion","Green Onion","Parsley","Parsley Root","Parsnip","Pepper","Plantain","Potato","Pumpkin","Purslane","Radicchio","Radish","Rutabaga","Shallots","Spinach","Squash","Sweet Potato","Swiss Chard","Taro","Tomatillo","Tomato","Turnip","Water Chestnut","Water Spinach","Watercress","Winter Melon","Yams","Zucchini"],u=function(){return c[Math.floor(Math.random()*c.length)]}},,,,,,function(e,t,n){"use strict";n.r(t);var r=n(158),i=n(29),o=n(12);n.nc=btoa(OC.requestToken),n.p=OC.linkTo("text","js/"),Object(r.a)((function(){var e=document.getElementById("dir").value,t=document.getElementById("mimetype").value,r=document.getElementById("sharingToken")?document.getElementById("sharingToken").value:null;if(""!==e)OC.Plugins.register("OCA.Files.FileList",i.a),Object(i.c)(),Object(i.d)();else{var a=document.createElement("div");a.id="texteditor",document.getElementById("app-content").appendChild(a),-1!==o.a.indexOf(t)&&Promise.all([n.e(0).then(n.bind(null,43)),Promise.all([n.e(0),n.e(189),n.e(188),n.e(199),n.e(190)]).then(n.bind(null,166))]).then((function(e){var n=e[0].default;n.prototype.t=window.t,n.prototype.OCA=window.OCA;var i=e[1].default;new n({render:function(e){return e(i,{props:{active:!0,shareToken:r,mime:t}})}}).$mount(document.getElementById("preview"))}))}}))}]); //# sourceMappingURL=public.js.map