Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'js/files.js')
-rw-r--r--js/files.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/files.js b/js/files.js
index 56494b492..6628379b8 100644
--- a/js/files.js
+++ b/js/files.js
@@ -1,4 +1,4 @@
-!function(e){function t(t){for(var n,i,o=t[0],a=t[1],s=0,u=[];s<o.length;s++)i=o[s],Object.prototype.hasOwnProperty.call(r,i)&&r[i]&&u.push(r[i][0]),r[i]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(c&&c(t);u.length;)u.shift()()}var n={},r={193:0,0:0};function i(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.e=function(e){var t=[],n=r[e];if(0!==n)if(n)t.push(n[2]);else{var o=new Promise((function(t,i){n=r[e]=[t,i]}));t.push(n[2]=o);var a,s=document.createElement("script");s.charset="utf-8",s.timeout=120,i.nc&&s.setAttribute("nonce",i.nc),s.src=function(e){return i.p+""+({0:"vendor",1:"vendors~editor-collab~editor-guest~editor-rich~files-modal",2:"highlight/1c",3:"highlight/abnf",4:"highlight/accesslog",5:"highlight/actionscript",6:"highlight/ada",7:"highlight/angelscript",8:"highlight/apache",9:"highlight/applescript",10:"highlight/arcade",11:"highlight/arduino",12:"highlight/armasm",13:"highlight/asciidoc",14:"highlight/aspectj",15:"highlight/autohotkey",16:"highlight/autoit",17:"highlight/avrasm",18:"highlight/awk",19:"highlight/axapta",20:"highlight/bash",21:"highlight/basic",22:"highlight/bnf",23:"highlight/brainfuck",24:"highlight/cal",25:"highlight/capnproto",26:"highlight/ceylon",27:"highlight/clean",28:"highlight/clojure",29:"highlight/clojure-repl",30:"highlight/cmake",31:"highlight/coffeescript",32:"highlight/coq",33:"highlight/cos",34:"highlight/cpp",35:"highlight/crmsh",36:"highlight/crystal",37:"highlight/cs",38:"highlight/csp",39:"highlight/css",40:"highlight/d",41:"highlight/dart",42:"highlight/delphi",43:"highlight/diff",44:"highlight/django",45:"highlight/dns",46:"highlight/dockerfile",47:"highlight/dos",48:"highlight/dsconfig",49:"highlight/dts",50:"highlight/dust",51:"highlight/ebnf",52:"highlight/elixir",53:"highlight/elm",54:"highlight/erb",55:"highlight/erlang",56:"highlight/erlang-repl",57:"highlight/excel",58:"highlight/fix",59:"highlight/flix",60:"highlight/fortran",61:"highlight/fsharp",62:"highlight/gams",63:"highlight/gauss",64:"highlight/gcode",65:"highlight/gherkin",66:"highlight/glsl",67:"highlight/gml",68:"highlight/go",69:"highlight/golo",70:"highlight/gradle",71:"highlight/groovy",72:"highlight/haml",73:"highlight/handlebars",74:"highlight/haskell",75:"highlight/haxe",76:"highlight/hsp",77:"highlight/htmlbars",78:"highlight/http",79:"highlight/hy",80:"highlight/inform7",81:"highlight/ini",82:"highlight/irpf90",83:"highlight/isbl",84:"highlight/java",85:"highlight/javascript",86:"highlight/jboss-cli",87:"highlight/json",88:"highlight/julia",89:"highlight/julia-repl",90:"highlight/kotlin",91:"highlight/lasso",92:"highlight/ldif",93:"highlight/leaf",94:"highlight/less",95:"highlight/lisp",96:"highlight/livecodeserver",97:"highlight/livescript",98:"highlight/llvm",99:"highlight/lsl",100:"highlight/lua",101:"highlight/makefile",102:"highlight/markdown",103:"highlight/mathematica",104:"highlight/matlab",105:"highlight/maxima",106:"highlight/mel",107:"highlight/mercury",108:"highlight/mipsasm",109:"highlight/mizar",110:"highlight/mojolicious",111:"highlight/monkey",112:"highlight/moonscript",113:"highlight/n1ql",114:"highlight/nginx",115:"highlight/nimrod",116:"highlight/nix",117:"highlight/nsis",118:"highlight/objectivec",119:"highlight/ocaml",120:"highlight/openscad",121:"highlight/oxygene",122:"highlight/parser3",123:"highlight/perl",124:"highlight/pf",125:"highlight/pgsql",126:"highlight/php",127:"highlight/plaintext",128:"highlight/pony",129:"highlight/powershell",130:"highlight/processing",131:"highlight/profile",132:"highlight/prolog",133:"highlight/properties",134:"highlight/protobuf",135:"highlight/puppet",136:"highlight/purebasic",137:"highlight/python",138:"highlight/q",139:"highlight/qml",140:"highlight/r",141:"highlight/reasonml",142:"highlight/rib",143:"highlight/roboconf",144:"highlight/routeros",145:"highlight/rsl",146:"highlight/ruby",147:"highlight/ruleslanguage",148:"highlight/rust",149:"highlight/sas",150:"highlight/scala",151:"highlight/scheme",152:"highlight/scilab",153:"highlight/scss",154:"highlight/shell",155:"highlight/smali",156:"highlight/smalltalk",157:"highlight/sml",158:"highlight/sqf",159:"highlight/sql",160:"highlight/stan",161:"highlight/stata",162:"highlight/step21",163:"highlight/stylus",164:"highlight/subunit",165:"highlight/swift",166:"highlight/taggerscript",167:"highlight/tap",168:"highlight/tcl",169:"highlight/tex",170:"highlight/thrift",171:"highlight/tp",172:"highlight/twig",173:"highlight/typescript",174:"highlight/vala",175:"highlight/vbnet",176:"highlight/vbscript",177:"highlight/vbscript-html",178:"highlight/verilog",179:"highlight/vhdl",180:"highlight/vim",181:"highlight/x86asm",182:"highlight/xl",183:"highlight/xml",184:"highlight/xquery",185:"highlight/yaml",186:"highlight/zephir",187:"vendors~editor-collab~editor-guest",188:"vendors~editor~files-modal",189:"editor",190:"editor-collab",191:"editor-guest",192:"editor-rich",194:"files-modal",197:"vendors~editor",198:"vendors~editor-rich",199:"vendors~files-modal"}[e]||e)+".js?v="+{0:"addc3e387913818318a0",1:"a3c239818c591b7a2f0a",2:"bc023185e44bd51a636c",3:"05bb0140d3b8d4900548",4:"260a90c10b597dd09dc0",5:"7c81efa12819bdfdb5b1",6:"6de66b2169b9f0799cdb",7:"96a46d92d89ee2f140fb",8:"9421df9fa84aac6ddd4e",9:"4877463f37071d2c73ee",10:"971c75f9c7775f930441",11:"5e50d2294bfd2c8c4a6b",12:"7ef8db4ac38266dbfa73",13:"01e134dfb5af6618d9d9",14:"18d86e10dfdd3feca4ed",15:"a867d58b0cb30a174624",16:"8ea2d055e756b56df3f7",17:"edb2904c81837eea09ae",18:"ac51734e6afeaff9c14e",19:"ae38db7273fc595adb50",20:"a66480acc8109f503763",21:"e439eddf32584ab8c382",22:"74b03982180393b43fce",23:"1df06bbb061ef32831b7",24:"01432069748a730a7da9",25:"5ca63cf84131118e3364",26:"b728e1be5721764a34ea",27:"c554a19e4450e6cdaf4e",28:"628c1e415490fba6b708",29:"63e143d0ef949bc5a313",30:"8bd00ff945915ade5f6f",31:"2c41b2cf4464555e5899",32:"a5ebc4c94fb3be5afc82",33:"0234561cc497723caab1",34:"a6434c3edff71364073f",35:"51537dde3bef31439387",36:"d6b3eeab28c00d3a22db",37:"5539107d2ebe1ca1d0b9",38:"d293f344fd94f78389a7",39:"098fc21fdc75c6a581aa",40:"29a5a75d9dae712ea4f0",41:"b1589c47fd415f1c623e",42:"0cf3fbe8683897bef043",43:"a912a8bcdc79a330aeb0",44:"f3a5022b7e6467eeab4b",45:"98ffad5debf4b85d5ebe",46:"dd34f8daef79210a98c3",47:"b91f74207f3d23e9ca24",48:"665d43bbbf209cf18a94",49:"d4e797c957e8dade6f2a",50:"509c5242faadaac1778e",51:"438f725755e87be3e16a",52:"13fbecc567fb3fcd9159",53:"3dad9ccb764c0b77f525",54:"c390afa7b7aa59eaaa3c",55:"953ca4eb0e8fc84acfe6",56:"95e996b54be2ae24943b",57:"8076b8a87cca87748278",58:"9874490c36c9c2bb07fa",59:"b40b7983b3fd3189475a",60:"b980eed3d6532903d30a",61:"983c9136b847707d88f8",62:"1e89690fc16e1d0e7eba",63:"2e0ff8e67becd1c27df8",64:"ce0dfd80bd2d5a297d22",65:"51ca0fb4b290e6126592",66:"cf7b8f372a7437045802",67:"63158e0a3dd6240072e7",68:"d29e50eca29f4029e952",69:"da4fbd083055546b96bd",70:"74a5f61da197e0c9d433",71:"079132259e4b95a54f75",72:"cc02b08f1e68c9740910",73:"98c38ea3597bddcb5b2f",74:"972b569b51a923527e06",75:"bed7f43b439927e709f5",76:"593c4b9b576a2811a973",77:"3e53188724701f6da400",78:"076b0c06db2bcbc1e39d",79:"0e69adec3ea03b87f145",80:"66197a2842bee3442135",81:"ec9e59822a533723c96e",82:"ddac9d7d14d470e39898",83:"711b85a178856f602034",84:"853763948c46cb2ade7f",85:"6fae58def7586862e8c7",86:"c4797c75360c418a4987",87:"11f4f1506ba9b6e282fd",88:"f00b57c370e5f1a41908",89:"6809935b29e50af6b3c5",90:"5fab4b9e408fd4aed6f8",91:"fb2707a8aeba3fa75083",92:"159a3c5748f396a84271",93:"337df1fb902426317bd5",94:"4a692482f3c3fd16a877",95:"72d9073c7a0e2e1d3ba8",96:"9d255e64a95a03222b94",97:"cb285d1f72d987ec2273",98:"83ebffc38fe6e90523a9",99:"1a60b16b1fb2a9687573",100:"43426e6eef4467b379a0",101:"081f068a03f223d9b493",102:"1c77c85835b6bcd6d980",103:"434c9643969631b36fdb",104:"90d029433aae785bb0c1",105:"1f2a175f560cbc6960c5",106:"3d87a0f947036e8d257e",107:"8395e4cb3397b1c623c7",108:"58427c6fb22aef791c32",109:"d9fd0e1edb31b4817b24",110:"4663f07f5d1f85aca1d0",111:"7d86ec79a11916d05a54",112:"4ce596696fc36833cbe7",113:"490a42bdc6980ebabe52",114:"be9144101cb48b138248",115:"6b8f931950c112fa2354",116:"1187b4ecd7d67aabb862",117:"0e55398975fa9b59c032",118:"1739e248c2ac6556efff",119:"c70d2a3c0d2267966c9a",120:"f1b513c6770500aa73b4",121:"c4bc2f669e4d21f20994",122:"6acd6047f8e0f3312af7",123:"693272f4c092532b12ad",124:"c29d41664023b576e8d7",125:"07cd0d9dd2ab00326d41",126:"87171033f608a5222810",127:"f02f9ab241b7a9303717",128:"6d8ac76ec868986679a2",129:"a700902696cda55523fa",130:"7d50781064cb66526314",131:"7d5599c7a04e992dbf21",132:"705eb3671002152239bf",133:"21f388fb7c46dc8cfd82",134:"268aa2b8be3634b2e453",135:"0b3637cf4997aff74743",136:"e2a9f7098153770f73b4",137:"073221a127aad79b54a1",138:"e9716958b837e62f2bd0",139:"dfe0e8ce7e56ed3dcc23",140:"41a94a9e0f59017aa45b",141:"2bd6ccbf26e594a32bcd",142:"3505a93a0ade0558fcb6",143:"f9eac782322331d46fff",144:"712d7374f0559971bbc0",145:"6ce75064f89430ade1e7",146:"3dbe069827c75287e726",147:"b204df74a6374161959d",148:"303f18ba196078869737",149:"49fd3b6ef356e3361715",150:"2339b552cca15738acbe",151:"1364ae7ae21c5a9ed084",152:"8366b59fe70053ef714d",153:"b0f1bf17da56d960673b",154:"f1362a07b0c2bf1ddfba",155:"ffffb38e6059e01915f4",156:"04868f52ac75d3f7f84c",157:"606c97cbf190371881b9",158:"1506e2044a519a16744a",159:"6a4b926906931eb3c40f",160:"71db45b4a0929c7c11be",161:"9c162c70cb58bc11ab31",162:"ec8237d50c2d5e4ef902",163:"6297c3f657db253b85f0",164:"6eff2c780ebf22ab3b04",165:"d5730902e22986abc8ec",166:"9a29873d29ba2ce27595",167:"eac9c992fe09c16b3abb",168:"92724dbf3ecd85b02055",169:"81d436ba448bf0d14b5c",170:"4edaf46a9919c9a50977",171:"058e67f2a339ed864b12",172:"91180b1a799feed810c2",173:"98efdccd982009f9156a",174:"3969ddeeb0ac3bd49020",175:"e5c2818e0cfd0dce3be4",176:"a51f946e40b25a3fe56a",177:"0951265c3ed3afc3d84b",178:"c5efe6263bb0c77be031",179:"beab17926d8144c4c752",180:"9b995a5f591728238084",181:"b73191b118428123509d",182:"b78ad461e17d27fb1fee",183:"82fbe4501e435785070c",184:"04d52167f631d4998c9f",185:"3216b59314a4e99c67fe",186:"aa82a09a97e371bb85f5",187:"71cbdcbd56f08f77daee",188:"0bcb382798fe6006d38e",189:"25452e7ab46666e215ce",190:"54ed74d33ecb062c28db",191:"22b382e225173683c1f9",192:"2a9934cc686be7b90267",194:"bde3b9c1c574face8ab7",197:"e53b5ad7c94b198b831d",198:"dceaa9b5ad54ab329dc7",199:"4f9d125bb25a03836a04"}[e]}(e);var c=new Error;a=function(t){s.onerror=s.onload=null,clearTimeout(u);var n=r[e];if(0!==n){if(n){var i=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+i+": "+o+")",c.name="ChunkLoadError",c.type=i,c.request=o,n[1](c)}r[e]=void 0}};var u=setTimeout((function(){a({type:"timeout",target:s})}),12e4);s.onerror=s.onload=a,document.head.appendChild(s)}return Promise.all(t)},i.m=e,i.c=n,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="/js/",i.oe=function(e){throw console.error(e),e};var o=window.textWebpackJsonp=window.textWebpackJsonp||[],a=o.push.bind(o);o.push=t,o=o.slice();for(var s=0;s<o.length;s++)t(o[s]);var c=a;i(i.s=184)}([function(e,t,n){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";(function(t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==("undefined"==typeof globalThis?"undefined":n(globalThis))&&globalThis)||r("object"==("undefined"==typeof window?"undefined":n(window))&&window)||r("object"==("undefined"==typeof self?"undefined":n(self))&&self)||r("object"==(void 0===t?"undefined":n(t))&&t)||function(){return this}()||Function("return this")()}).call(this,n(46))},function(e,t,n){"use strict";var r=n(1),i=n(68),o=n(6),a=n(36),s=n(70),c=n(127),u=i("wks"),l=r.Symbol,f=c?l:l&&l.withoutSetter||a;e.exports=function(e){return o(u,e)&&(s||"string"==typeof u[e])||(s&&o(l,e)?u[e]=l[e]:u[e]=f("Symbol."+e)),u[e]}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=n(77),o=Object.prototype.toString;function a(e){return"[object Array]"===o.call(e)}function s(e){return void 0===e}function c(e){return null!==e&&"object"===r(e)}function u(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function l(e){return"[object Function]"===o.call(e)}function f(e,t){if(null!=e)if("object"!==r(e)&&(e=[e]),a(e))for(var n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:a,isArrayBuffer:function(e){return"[object ArrayBuffer]"===o.call(e)},isBuffer:function(e){return null!==e&&!s(e)&&null!==e.constructor&&!s(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:c,isPlainObject:u,isUndefined:s,isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:l,isStream:function(e){return c(e)&&l(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:f,merge:function e(){var t={};function n(n,r){u(t[r])&&u(n)?t[r]=e(t[r],n):u(n)?t[r]=e({},n):a(n)?t[r]=n.slice():t[r]=n}for(var r=0,i=arguments.length;r<i;r++)f(arguments[r],n);return t},extend:function(e,t,n){return f(t,(function(t,r){e[r]=n&&"function"==typeof t?i(t,n):t})),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},function(e,t,n){"use strict";var r=n(5);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=function(e){return"object"===r(e)?null!==e:"function"==typeof e}},function(e,t,n){"use strict";var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},function(e,t,n){"use strict";var r=n(9),i=n(75),o=n(4),a=n(33),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(o(e),t=a(t,!0),o(n),i)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){"use strict";var r=n(9),i=n(7),o=n(23);e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";var r=n(0);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t,n){"use strict";var r=n(1),i=n(8),o=n(6),a=n(39),s=n(67),c=n(18),u=c.get,l=c.enforce,f=String(String).split("String");(e.exports=function(e,t,n,s){var c,u=!!s&&!!s.unsafe,d=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||o(n,"name")||i(n,"name",t),(c=l(n)).source||(c.source=f.join("string"==typeof t?t:""))),e!==r?(u?!p&&e[t]&&(d=!0):delete e[t],d?e[t]=n:i(e,t,n)):d?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||s(this)}))},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=n(1),o=n(55).f,a=n(8),s=n(10),c=n(39),u=n(124),l=n(56);e.exports=function(e,t){var n,f,d,p,h,v=e.target,g=e.global,m=e.stat;if(n=g?i:m?i[v]||c(v,{}):(i[v]||{}).prototype)for(f in t){if(p=t[f],d=e.noTargetGet?(h=o(n,f))&&h.value:n[f],!l(g?f:v+(m?".":"#")+f,e.forced)&&void 0!==d){if(r(p)===r(d))continue;u(p,d)}(e.sham||d&&d.sham)&&a(p,"sham",!0),s(n,f,p,e)}}},function(e,t,n){"use strict";var r=n(22),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){"use strict";var r=n(20);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t,n){"use strict";e.exports={}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var n=[],r={},i=0;i<t.length;i++){var o=t[i],a=o[0],s=o[1],c=o[2],u=o[3],l={id:e+":"+i,css:s,media:c,sourceMap:u};r[a]?r[a].parts.push(l):n.push(r[a]={id:a,parts:[l]})}return n}},function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var c,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(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(a)},u._ssrRegister=c):i&&(c=s?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}}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r,i,o,a=n(135),s=n(1),c=n(5),u=n(8),l=n(6),f=n(40),d=n(35),p=n(24),h=s.WeakMap;if(a){var v=f.state||(f.state=new h),g=v.get,m=v.has,y=v.set;r=function(e,t){return t.facade=e,y.call(v,e,t),t},i=function(e){return g.call(v,e)||{}},o=function(e){return m.call(v,e)}}else{var b=d("state");p[b]=!0,r=function(e,t){return t.facade=e,u(e,b,t),t},i=function(e){return l(e,b)?e[b]:{}},o=function(e){return l(e,b)}}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(!c(t)||(n=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t,n){"use strict";var r=n(34),i=n(20);e.exports=function(e){return r(i(e))}},function(e,t,n){"use strict";e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){"use strict";var r=n(125),i=n(1),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,n){"use strict";var r=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:r)(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){"use strict";e.exports={}},function(e,t,n){"use strict";n.r(t);var r=n(26),i=n.n(r);for(var o in r)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(o);t.default=i.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(94))&&r.__esModule?r:{default:r},o=n(27),a=n(48);function s(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}var c=!!document.getElementById("isPublic"),u=(0,o.generateOcsUrl)("apps/text"+(c?"/public":""),2)+"workspace",l={name:"RichWorkspace",components:{EditorWrapper:function(){return Promise.all([n.e(0),n.e(188),n.e(197),n.e(189)]).then(n.bind(null,122))}},props:{path:{type:String,required:!0}},data:function(){return{focus:!1,folder:null,file:null,loaded:!1,ready:!1,autofocus:!1,darkTheme:OCA.Accessibility&&"dark"===OCA.Accessibility.theme,enabled:OCA.Text.RichWorkspaceEnabled}},computed:{shareToken:function(){return document.getElementById("sharingToken")?document.getElementById("sharingToken").value:null},canCreate:function(){return!!(this.folder&&this.folder.permissions&OC.PERMISSION_CREATE)},showEmptyWorkspace:function(){return(!this.file||this.autofocus&&!this.ready)&&this.canCreate}},watch:{path:function(){this.getFileInfo()},focus:function(e){e||document.querySelector("#editor").scrollTo(0,0)}},mounted:function(){var e,t=this;return(e=regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.enabled&&t.getFileInfo(),(0,a.subscribe)("Text::showRichWorkspace",(function(){t.enabled=!0,t.getFileInfo()})),(0,a.subscribe)("Text::hideRichWorkspace",(function(){t.enabled=!1}));case 3:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){s(o,r,i,a,c,"next",e)}function c(e){s(o,r,i,a,c,"throw",e)}a(void 0)}))})()},methods:{unfocus:function(){},reset:function(){var e=this;this.file=null,this.focus=!1,this.$nextTick((function(){e.creating=!1,e.getFileInfo()}))},getFileInfo:function(){var e=this;this.loaded=!1,this.autofocus=!1,this.ready=!1;var t={path:this.path};return c&&(t.shareToken=this.shareToken),i.default.get(u,{params:t}).then((function(t){var n=t.data.ocs.data;return e.folder=n.folder||null,e.file=n.file,e.editing=!0,e.loaded=!0,!0})).catch((function(t){return t.response.data.ocs&&t.response.data.ocs.data.folder?e.folder=t.response.data.ocs.data.folder:e.folder=null,e.file=null,e.loaded=!0,e.ready=!0,e.creating=!1,!1}))},createNew:function(){var e=this;this.creating||(this.creating=!0,this.getFileInfo().then((function(t){e.autofocus=!0,t||window.FileList.createFile("Readme.md",{scrollTo:!1,animate:!1}).then((function(t,n){e.getFileInfo()}))})))}}};t.default=l},function(e,t,n){"use strict";n(74),n(52),n(54),n(100),n(102),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";(function(e,n){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
+!function(e){function t(t){for(var n,i,o=t[0],a=t[1],s=0,u=[];s<o.length;s++)i=o[s],Object.prototype.hasOwnProperty.call(r,i)&&r[i]&&u.push(r[i][0]),r[i]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(c&&c(t);u.length;)u.shift()()}var n={},r={193:0,0:0};function i(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.e=function(e){var t=[],n=r[e];if(0!==n)if(n)t.push(n[2]);else{var o=new Promise((function(t,i){n=r[e]=[t,i]}));t.push(n[2]=o);var a,s=document.createElement("script");s.charset="utf-8",s.timeout=120,i.nc&&s.setAttribute("nonce",i.nc),s.src=function(e){return i.p+""+({0:"vendor",1:"vendors~editor-collab~editor-guest~editor-rich~files-modal",2:"highlight/1c",3:"highlight/abnf",4:"highlight/accesslog",5:"highlight/actionscript",6:"highlight/ada",7:"highlight/angelscript",8:"highlight/apache",9:"highlight/applescript",10:"highlight/arcade",11:"highlight/arduino",12:"highlight/armasm",13:"highlight/asciidoc",14:"highlight/aspectj",15:"highlight/autohotkey",16:"highlight/autoit",17:"highlight/avrasm",18:"highlight/awk",19:"highlight/axapta",20:"highlight/bash",21:"highlight/basic",22:"highlight/bnf",23:"highlight/brainfuck",24:"highlight/cal",25:"highlight/capnproto",26:"highlight/ceylon",27:"highlight/clean",28:"highlight/clojure",29:"highlight/clojure-repl",30:"highlight/cmake",31:"highlight/coffeescript",32:"highlight/coq",33:"highlight/cos",34:"highlight/cpp",35:"highlight/crmsh",36:"highlight/crystal",37:"highlight/cs",38:"highlight/csp",39:"highlight/css",40:"highlight/d",41:"highlight/dart",42:"highlight/delphi",43:"highlight/diff",44:"highlight/django",45:"highlight/dns",46:"highlight/dockerfile",47:"highlight/dos",48:"highlight/dsconfig",49:"highlight/dts",50:"highlight/dust",51:"highlight/ebnf",52:"highlight/elixir",53:"highlight/elm",54:"highlight/erb",55:"highlight/erlang",56:"highlight/erlang-repl",57:"highlight/excel",58:"highlight/fix",59:"highlight/flix",60:"highlight/fortran",61:"highlight/fsharp",62:"highlight/gams",63:"highlight/gauss",64:"highlight/gcode",65:"highlight/gherkin",66:"highlight/glsl",67:"highlight/gml",68:"highlight/go",69:"highlight/golo",70:"highlight/gradle",71:"highlight/groovy",72:"highlight/haml",73:"highlight/handlebars",74:"highlight/haskell",75:"highlight/haxe",76:"highlight/hsp",77:"highlight/htmlbars",78:"highlight/http",79:"highlight/hy",80:"highlight/inform7",81:"highlight/ini",82:"highlight/irpf90",83:"highlight/isbl",84:"highlight/java",85:"highlight/javascript",86:"highlight/jboss-cli",87:"highlight/json",88:"highlight/julia",89:"highlight/julia-repl",90:"highlight/kotlin",91:"highlight/lasso",92:"highlight/ldif",93:"highlight/leaf",94:"highlight/less",95:"highlight/lisp",96:"highlight/livecodeserver",97:"highlight/livescript",98:"highlight/llvm",99:"highlight/lsl",100:"highlight/lua",101:"highlight/makefile",102:"highlight/markdown",103:"highlight/mathematica",104:"highlight/matlab",105:"highlight/maxima",106:"highlight/mel",107:"highlight/mercury",108:"highlight/mipsasm",109:"highlight/mizar",110:"highlight/mojolicious",111:"highlight/monkey",112:"highlight/moonscript",113:"highlight/n1ql",114:"highlight/nginx",115:"highlight/nimrod",116:"highlight/nix",117:"highlight/nsis",118:"highlight/objectivec",119:"highlight/ocaml",120:"highlight/openscad",121:"highlight/oxygene",122:"highlight/parser3",123:"highlight/perl",124:"highlight/pf",125:"highlight/pgsql",126:"highlight/php",127:"highlight/plaintext",128:"highlight/pony",129:"highlight/powershell",130:"highlight/processing",131:"highlight/profile",132:"highlight/prolog",133:"highlight/properties",134:"highlight/protobuf",135:"highlight/puppet",136:"highlight/purebasic",137:"highlight/python",138:"highlight/q",139:"highlight/qml",140:"highlight/r",141:"highlight/reasonml",142:"highlight/rib",143:"highlight/roboconf",144:"highlight/routeros",145:"highlight/rsl",146:"highlight/ruby",147:"highlight/ruleslanguage",148:"highlight/rust",149:"highlight/sas",150:"highlight/scala",151:"highlight/scheme",152:"highlight/scilab",153:"highlight/scss",154:"highlight/shell",155:"highlight/smali",156:"highlight/smalltalk",157:"highlight/sml",158:"highlight/sqf",159:"highlight/sql",160:"highlight/stan",161:"highlight/stata",162:"highlight/step21",163:"highlight/stylus",164:"highlight/subunit",165:"highlight/swift",166:"highlight/taggerscript",167:"highlight/tap",168:"highlight/tcl",169:"highlight/tex",170:"highlight/thrift",171:"highlight/tp",172:"highlight/twig",173:"highlight/typescript",174:"highlight/vala",175:"highlight/vbnet",176:"highlight/vbscript",177:"highlight/vbscript-html",178:"highlight/verilog",179:"highlight/vhdl",180:"highlight/vim",181:"highlight/x86asm",182:"highlight/xl",183:"highlight/xml",184:"highlight/xquery",185:"highlight/yaml",186:"highlight/zephir",187:"vendors~editor-collab~editor-guest",188:"vendors~editor~files-modal",189:"editor",190:"editor-collab",191:"editor-guest",192:"editor-rich",194:"files-modal",197:"vendors~editor",198:"vendors~editor-rich",199:"vendors~files-modal"}[e]||e)+".js?v="+{0:"addc3e387913818318a0",1:"a3c239818c591b7a2f0a",2:"bc023185e44bd51a636c",3:"05bb0140d3b8d4900548",4:"260a90c10b597dd09dc0",5:"7c81efa12819bdfdb5b1",6:"6de66b2169b9f0799cdb",7:"96a46d92d89ee2f140fb",8:"9421df9fa84aac6ddd4e",9:"4877463f37071d2c73ee",10:"971c75f9c7775f930441",11:"5e50d2294bfd2c8c4a6b",12:"7ef8db4ac38266dbfa73",13:"01e134dfb5af6618d9d9",14:"18d86e10dfdd3feca4ed",15:"a867d58b0cb30a174624",16:"8ea2d055e756b56df3f7",17:"edb2904c81837eea09ae",18:"ac51734e6afeaff9c14e",19:"ae38db7273fc595adb50",20:"a66480acc8109f503763",21:"e439eddf32584ab8c382",22:"74b03982180393b43fce",23:"1df06bbb061ef32831b7",24:"01432069748a730a7da9",25:"5ca63cf84131118e3364",26:"b728e1be5721764a34ea",27:"c554a19e4450e6cdaf4e",28:"628c1e415490fba6b708",29:"63e143d0ef949bc5a313",30:"8bd00ff945915ade5f6f",31:"2c41b2cf4464555e5899",32:"a5ebc4c94fb3be5afc82",33:"0234561cc497723caab1",34:"a6434c3edff71364073f",35:"51537dde3bef31439387",36:"d6b3eeab28c00d3a22db",37:"5539107d2ebe1ca1d0b9",38:"d293f344fd94f78389a7",39:"098fc21fdc75c6a581aa",40:"29a5a75d9dae712ea4f0",41:"b1589c47fd415f1c623e",42:"0cf3fbe8683897bef043",43:"a912a8bcdc79a330aeb0",44:"f3a5022b7e6467eeab4b",45:"98ffad5debf4b85d5ebe",46:"dd34f8daef79210a98c3",47:"b91f74207f3d23e9ca24",48:"665d43bbbf209cf18a94",49:"d4e797c957e8dade6f2a",50:"509c5242faadaac1778e",51:"438f725755e87be3e16a",52:"13fbecc567fb3fcd9159",53:"3dad9ccb764c0b77f525",54:"c390afa7b7aa59eaaa3c",55:"953ca4eb0e8fc84acfe6",56:"95e996b54be2ae24943b",57:"8076b8a87cca87748278",58:"9874490c36c9c2bb07fa",59:"b40b7983b3fd3189475a",60:"b980eed3d6532903d30a",61:"983c9136b847707d88f8",62:"1e89690fc16e1d0e7eba",63:"2e0ff8e67becd1c27df8",64:"ce0dfd80bd2d5a297d22",65:"51ca0fb4b290e6126592",66:"cf7b8f372a7437045802",67:"63158e0a3dd6240072e7",68:"d29e50eca29f4029e952",69:"da4fbd083055546b96bd",70:"74a5f61da197e0c9d433",71:"079132259e4b95a54f75",72:"cc02b08f1e68c9740910",73:"98c38ea3597bddcb5b2f",74:"972b569b51a923527e06",75:"bed7f43b439927e709f5",76:"593c4b9b576a2811a973",77:"3e53188724701f6da400",78:"076b0c06db2bcbc1e39d",79:"0e69adec3ea03b87f145",80:"66197a2842bee3442135",81:"ec9e59822a533723c96e",82:"ddac9d7d14d470e39898",83:"711b85a178856f602034",84:"853763948c46cb2ade7f",85:"6fae58def7586862e8c7",86:"c4797c75360c418a4987",87:"11f4f1506ba9b6e282fd",88:"f00b57c370e5f1a41908",89:"6809935b29e50af6b3c5",90:"5fab4b9e408fd4aed6f8",91:"fb2707a8aeba3fa75083",92:"159a3c5748f396a84271",93:"337df1fb902426317bd5",94:"4a692482f3c3fd16a877",95:"72d9073c7a0e2e1d3ba8",96:"9d255e64a95a03222b94",97:"cb285d1f72d987ec2273",98:"83ebffc38fe6e90523a9",99:"1a60b16b1fb2a9687573",100:"43426e6eef4467b379a0",101:"081f068a03f223d9b493",102:"1c77c85835b6bcd6d980",103:"434c9643969631b36fdb",104:"90d029433aae785bb0c1",105:"1f2a175f560cbc6960c5",106:"3d87a0f947036e8d257e",107:"8395e4cb3397b1c623c7",108:"58427c6fb22aef791c32",109:"d9fd0e1edb31b4817b24",110:"4663f07f5d1f85aca1d0",111:"7d86ec79a11916d05a54",112:"4ce596696fc36833cbe7",113:"490a42bdc6980ebabe52",114:"be9144101cb48b138248",115:"6b8f931950c112fa2354",116:"1187b4ecd7d67aabb862",117:"0e55398975fa9b59c032",118:"1739e248c2ac6556efff",119:"c70d2a3c0d2267966c9a",120:"f1b513c6770500aa73b4",121:"c4bc2f669e4d21f20994",122:"6acd6047f8e0f3312af7",123:"693272f4c092532b12ad",124:"c29d41664023b576e8d7",125:"07cd0d9dd2ab00326d41",126:"87171033f608a5222810",127:"f02f9ab241b7a9303717",128:"6d8ac76ec868986679a2",129:"a700902696cda55523fa",130:"7d50781064cb66526314",131:"7d5599c7a04e992dbf21",132:"705eb3671002152239bf",133:"21f388fb7c46dc8cfd82",134:"268aa2b8be3634b2e453",135:"0b3637cf4997aff74743",136:"e2a9f7098153770f73b4",137:"073221a127aad79b54a1",138:"e9716958b837e62f2bd0",139:"dfe0e8ce7e56ed3dcc23",140:"41a94a9e0f59017aa45b",141:"2bd6ccbf26e594a32bcd",142:"3505a93a0ade0558fcb6",143:"f9eac782322331d46fff",144:"712d7374f0559971bbc0",145:"6ce75064f89430ade1e7",146:"3dbe069827c75287e726",147:"b204df74a6374161959d",148:"303f18ba196078869737",149:"49fd3b6ef356e3361715",150:"2339b552cca15738acbe",151:"1364ae7ae21c5a9ed084",152:"8366b59fe70053ef714d",153:"b0f1bf17da56d960673b",154:"f1362a07b0c2bf1ddfba",155:"ffffb38e6059e01915f4",156:"04868f52ac75d3f7f84c",157:"606c97cbf190371881b9",158:"1506e2044a519a16744a",159:"6a4b926906931eb3c40f",160:"71db45b4a0929c7c11be",161:"9c162c70cb58bc11ab31",162:"ec8237d50c2d5e4ef902",163:"6297c3f657db253b85f0",164:"6eff2c780ebf22ab3b04",165:"d5730902e22986abc8ec",166:"9a29873d29ba2ce27595",167:"eac9c992fe09c16b3abb",168:"92724dbf3ecd85b02055",169:"81d436ba448bf0d14b5c",170:"4edaf46a9919c9a50977",171:"058e67f2a339ed864b12",172:"91180b1a799feed810c2",173:"98efdccd982009f9156a",174:"3969ddeeb0ac3bd49020",175:"e5c2818e0cfd0dce3be4",176:"a51f946e40b25a3fe56a",177:"0951265c3ed3afc3d84b",178:"c5efe6263bb0c77be031",179:"beab17926d8144c4c752",180:"9b995a5f591728238084",181:"b73191b118428123509d",182:"b78ad461e17d27fb1fee",183:"82fbe4501e435785070c",184:"04d52167f631d4998c9f",185:"3216b59314a4e99c67fe",186:"aa82a09a97e371bb85f5",187:"71cbdcbd56f08f77daee",188:"0bcb382798fe6006d38e",189:"25452e7ab46666e215ce",190:"54ed74d33ecb062c28db",191:"22b382e225173683c1f9",192:"ead886c7567f0211e509",194:"bde3b9c1c574face8ab7",197:"e53b5ad7c94b198b831d",198:"dceaa9b5ad54ab329dc7",199:"4f9d125bb25a03836a04"}[e]}(e);var c=new Error;a=function(t){s.onerror=s.onload=null,clearTimeout(u);var n=r[e];if(0!==n){if(n){var i=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+i+": "+o+")",c.name="ChunkLoadError",c.type=i,c.request=o,n[1](c)}r[e]=void 0}};var u=setTimeout((function(){a({type:"timeout",target:s})}),12e4);s.onerror=s.onload=a,document.head.appendChild(s)}return Promise.all(t)},i.m=e,i.c=n,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="/js/",i.oe=function(e){throw console.error(e),e};var o=window.textWebpackJsonp=window.textWebpackJsonp||[],a=o.push.bind(o);o.push=t,o=o.slice();for(var s=0;s<o.length;s++)t(o[s]);var c=a;i(i.s=184)}([function(e,t,n){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";(function(t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==("undefined"==typeof globalThis?"undefined":n(globalThis))&&globalThis)||r("object"==("undefined"==typeof window?"undefined":n(window))&&window)||r("object"==("undefined"==typeof self?"undefined":n(self))&&self)||r("object"==(void 0===t?"undefined":n(t))&&t)||function(){return this}()||Function("return this")()}).call(this,n(46))},function(e,t,n){"use strict";var r=n(1),i=n(68),o=n(6),a=n(36),s=n(70),c=n(127),u=i("wks"),l=r.Symbol,f=c?l:l&&l.withoutSetter||a;e.exports=function(e){return o(u,e)&&(s||"string"==typeof u[e])||(s&&o(l,e)?u[e]=l[e]:u[e]=f("Symbol."+e)),u[e]}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=n(77),o=Object.prototype.toString;function a(e){return"[object Array]"===o.call(e)}function s(e){return void 0===e}function c(e){return null!==e&&"object"===r(e)}function u(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function l(e){return"[object Function]"===o.call(e)}function f(e,t){if(null!=e)if("object"!==r(e)&&(e=[e]),a(e))for(var n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:a,isArrayBuffer:function(e){return"[object ArrayBuffer]"===o.call(e)},isBuffer:function(e){return null!==e&&!s(e)&&null!==e.constructor&&!s(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:c,isPlainObject:u,isUndefined:s,isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:l,isStream:function(e){return c(e)&&l(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:f,merge:function e(){var t={};function n(n,r){u(t[r])&&u(n)?t[r]=e(t[r],n):u(n)?t[r]=e({},n):a(n)?t[r]=n.slice():t[r]=n}for(var r=0,i=arguments.length;r<i;r++)f(arguments[r],n);return t},extend:function(e,t,n){return f(t,(function(t,r){e[r]=n&&"function"==typeof t?i(t,n):t})),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},function(e,t,n){"use strict";var r=n(5);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=function(e){return"object"===r(e)?null!==e:"function"==typeof e}},function(e,t,n){"use strict";var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},function(e,t,n){"use strict";var r=n(9),i=n(75),o=n(4),a=n(33),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(o(e),t=a(t,!0),o(n),i)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){"use strict";var r=n(9),i=n(7),o=n(23);e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";var r=n(0);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t,n){"use strict";var r=n(1),i=n(8),o=n(6),a=n(39),s=n(67),c=n(18),u=c.get,l=c.enforce,f=String(String).split("String");(e.exports=function(e,t,n,s){var c,u=!!s&&!!s.unsafe,d=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||o(n,"name")||i(n,"name",t),(c=l(n)).source||(c.source=f.join("string"==typeof t?t:""))),e!==r?(u?!p&&e[t]&&(d=!0):delete e[t],d?e[t]=n:i(e,t,n)):d?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||s(this)}))},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=n(1),o=n(55).f,a=n(8),s=n(10),c=n(39),u=n(124),l=n(56);e.exports=function(e,t){var n,f,d,p,h,v=e.target,g=e.global,m=e.stat;if(n=g?i:m?i[v]||c(v,{}):(i[v]||{}).prototype)for(f in t){if(p=t[f],d=e.noTargetGet?(h=o(n,f))&&h.value:n[f],!l(g?f:v+(m?".":"#")+f,e.forced)&&void 0!==d){if(r(p)===r(d))continue;u(p,d)}(e.sham||d&&d.sham)&&a(p,"sham",!0),s(n,f,p,e)}}},function(e,t,n){"use strict";var r=n(22),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){"use strict";var r=n(20);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t,n){"use strict";e.exports={}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var n=[],r={},i=0;i<t.length;i++){var o=t[i],a=o[0],s=o[1],c=o[2],u=o[3],l={id:e+":"+i,css:s,media:c,sourceMap:u};r[a]?r[a].parts.push(l):n.push(r[a]={id:a,parts:[l]})}return n}},function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var c,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(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(a)},u._ssrRegister=c):i&&(c=s?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}}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r,i,o,a=n(135),s=n(1),c=n(5),u=n(8),l=n(6),f=n(40),d=n(35),p=n(24),h=s.WeakMap;if(a){var v=f.state||(f.state=new h),g=v.get,m=v.has,y=v.set;r=function(e,t){return t.facade=e,y.call(v,e,t),t},i=function(e){return g.call(v,e)||{}},o=function(e){return m.call(v,e)}}else{var b=d("state");p[b]=!0,r=function(e,t){return t.facade=e,u(e,b,t),t},i=function(e){return l(e,b)?e[b]:{}},o=function(e){return l(e,b)}}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(!c(t)||(n=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t,n){"use strict";var r=n(34),i=n(20);e.exports=function(e){return r(i(e))}},function(e,t,n){"use strict";e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){"use strict";var r=n(125),i=n(1),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,n){"use strict";var r=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:r)(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){"use strict";e.exports={}},function(e,t,n){"use strict";n.r(t);var r=n(26),i=n.n(r);for(var o in r)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(o);t.default=i.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(94))&&r.__esModule?r:{default:r},o=n(27),a=n(48);function s(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}var c=!!document.getElementById("isPublic"),u=(0,o.generateOcsUrl)("apps/text"+(c?"/public":""),2)+"workspace",l={name:"RichWorkspace",components:{EditorWrapper:function(){return Promise.all([n.e(0),n.e(188),n.e(197),n.e(189)]).then(n.bind(null,122))}},props:{path:{type:String,required:!0}},data:function(){return{focus:!1,folder:null,file:null,loaded:!1,ready:!1,autofocus:!1,darkTheme:OCA.Accessibility&&"dark"===OCA.Accessibility.theme,enabled:OCA.Text.RichWorkspaceEnabled}},computed:{shareToken:function(){return document.getElementById("sharingToken")?document.getElementById("sharingToken").value:null},canCreate:function(){return!!(this.folder&&this.folder.permissions&OC.PERMISSION_CREATE)},showEmptyWorkspace:function(){return(!this.file||this.autofocus&&!this.ready)&&this.canCreate}},watch:{path:function(){this.getFileInfo()},focus:function(e){e||document.querySelector("#editor").scrollTo(0,0)}},mounted:function(){var e,t=this;return(e=regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.enabled&&t.getFileInfo(),(0,a.subscribe)("Text::showRichWorkspace",(function(){t.enabled=!0,t.getFileInfo()})),(0,a.subscribe)("Text::hideRichWorkspace",(function(){t.enabled=!1}));case 3:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){s(o,r,i,a,c,"next",e)}function c(e){s(o,r,i,a,c,"throw",e)}a(void 0)}))})()},methods:{unfocus:function(){},reset:function(){var e=this;this.file=null,this.focus=!1,this.$nextTick((function(){e.creating=!1,e.getFileInfo()}))},getFileInfo:function(){var e=this;this.loaded=!1,this.autofocus=!1,this.ready=!1;var t={path:this.path};return c&&(t.shareToken=this.shareToken),i.default.get(u,{params:t}).then((function(t){var n=t.data.ocs.data;return e.folder=n.folder||null,e.file=n.file,e.editing=!0,e.loaded=!0,!0})).catch((function(t){return t.response.data.ocs&&t.response.data.ocs.data.folder?e.folder=t.response.data.ocs.data.folder:e.folder=null,e.file=null,e.loaded=!0,e.ready=!0,e.creating=!1,!1}))},createNew:function(){var e=this;this.creating||(this.creating=!0,this.getFileInfo().then((function(t){e.autofocus=!0,t||window.FileList.createFile("Readme.md",{scrollTo:!1,animate:!1}).then((function(t,n){e.getFileInfo()}))})))}}};t.default=l},function(e,t,n){"use strict";n(74),n(52),n(54),n(100),n(102),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";(function(e,n){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
/*!
* Vue.js v2.6.12
* (c) 2014-2020 Evan You