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/viewer.js')
-rw-r--r--js/viewer.js25
1 files changed, 2 insertions, 23 deletions
diff --git a/js/viewer.js b/js/viewer.js
index 2e12f46ef..1803d04b0 100644
--- a/js/viewer.js
+++ b/js/viewer.js
@@ -1,4 +1,4 @@
-!function(e){function t(t){for(var i,a,h=t[0],r=t[1],c=0,l=[];c<h.length;c++)a=h[c],Object.prototype.hasOwnProperty.call(n,a)&&n[a]&&l.push(n[a][0]),n[a]=0;for(i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i]);for(o&&o(t);l.length;)l.shift()()}var i={},n={200:0};function a(t){if(i[t])return i[t].exports;var n=i[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.e=function(e){var t=[],i=n[e];if(0!==i)if(i)t.push(i[2]);else{var h=new Promise((function(t,a){i=n[e]=[t,a]}));t.push(i[2]=h);var r,c=document.createElement("script");c.charset="utf-8",c.timeout=120,a.nc&&c.setAttribute("nonce",a.nc),c.src=function(e){return a.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:"cd2b95f6b36d4db042a8",1:"deb05ddb4fe70f0cdb5c",2:"e3f28a9d295192ebddc6",3:"0d9799eb47f493f71def",4:"47ac9aebce107d4b1552",5:"bb3d3dec0d883f64f088",6:"d8704f245a7fb8f66a9b",7:"c4e76267b34f31a34890",8:"6cd5067f5b5bed40de6e",9:"52f4dc26a5e872658b7c",10:"61cb2127bdf07cdf2959",11:"1f38bcbbf8127307482a",12:"58bdcf0fc5a24d10b46e",13:"223c0ae58d31f3c8a72b",14:"9086ac6f630ee42776e7",15:"62d7f524c7857c7f0c25",16:"52d93cf929ca5922bcaa",17:"5346679b50b49d8a9d64",18:"8bcdbf83af7e89d421eb",19:"e255e11f3bb1c19ca8f3",20:"2cbc123593544408296d",21:"ac31fab514a05076d271",22:"8ebb4c3fae1422f67d81",23:"e5f5ed23a8542b3bcaf7",24:"82facbc7c10193e72530",25:"1aa970f989a7a4daf94f",26:"25fdea99e2d32aaf32c7",27:"14d4ec4d1b97070cdf76",28:"f15ea199b2f4c19b6a29",29:"decc559ec41c36b8ab1e",30:"0c5cf289a68c28552d40",31:"12ab54ce207e126c5731",32:"974956e3ba6abe72742d",33:"18c47d0b5556db69a198",34:"2b35d25ff8f20d65b0b8",35:"b1f4c1c2204f485b586c",36:"f4669cbf1d92337d1a0c",37:"48fc528ef8ce547fd4d6",38:"5ea398aae8f48efa2743",39:"4ab5469b061a4b2bcbf0",40:"32b734c101ad08f30d7c",41:"a6b6d4883a670397c048",42:"e051ec6fd3ea203f7e1c",43:"64fe7a579e495b49191b",44:"6efeb3122d8865bae140",45:"faac390c7fa12bdfebc9",46:"61ac302d4df314e2c8e4",47:"9a9421d19cbf81e80067",48:"6f218f7a613a60711302",49:"5bc2489ae8498d761b43",50:"f818c53d9d9669b0f372",51:"e48a9d0b97d09809c6d1",52:"6b2bd53f957245345e17",53:"592fd7bfe9537019b372",54:"0db76cff578f0c7efcb1",55:"af0e8fe8d04b50b10359",56:"949542f41b7aa56d7907",57:"1d1d1e77004c494fc3af",58:"ed282a89aa82706d1faf",59:"24a8f2fc78099c0e9aea",60:"c645b6577d109deb00f0",61:"6dc614744d4668758a63",62:"639c65d8d6b112853a28",63:"0ad19e6beb41997f9a9b",64:"7a977fbfea2683d27e6e",65:"4a633af4815b935a4954",66:"5cd5c11865df18f2f086",67:"85d051ae8e725557474c",68:"35b442d34dc2d029e13e",69:"344df95aad84cba3654e",70:"37f7e991aa9182cacd76",71:"097b6906763a3d7537c8",72:"81d8cf4b2360938a26ef",73:"e80c3e94809e0f11bffc",74:"86f75592429ed981ed90",75:"9d1bc48a161531cd6b08",76:"ecadbf370b21c76204a3",77:"e56db47617a249cb5613",78:"53c890146207f36d4446",79:"196901a65c1c9362f64f",80:"cd5df84cb125a8449b24",81:"f4e93da5792b63225e50",82:"2a0147594acb4e7d1afd",83:"1b595ec33c9f2e00a3ba",84:"ffc176b210e316bb8c61",85:"302af80d3ccaa51cf544",86:"d666a7874bf265ea4213",87:"bdf39ba8d134ac25f0ad",88:"08247b512464a577e158",89:"aac712a9b3b01a921e13",90:"b93c19643da8bdac371a",91:"57a16968ddcb1ced3b72",92:"b759867740827b575a37",93:"8915d6200379bcc3b625",94:"837ed174210457a42e53",95:"d52441e61252d3445e48",96:"f8673302b69fd703b009",97:"88aeb78230e97d875e7f",98:"58781dd9cc8917d79ca3",99:"d3c2e755be85cb1068f8",100:"f5d6b3a7ae79dcdfd492",101:"371df0e227d4fb5e5587",102:"665bd9e61b03b8bfebeb",103:"f26c87962566c4f12c89",104:"2f02d45ddf2e0f63e647",105:"e9d778c677fb8c2806de",106:"172ccae900f9a6317877",107:"0cc9fcffec1884d1a5c6",108:"c28ff60fbb2588e24082",109:"1eca05725798b7d30037",110:"f273b9cdaeb7f9d2f988",111:"22c6fd4c0bf54ae93f9c",112:"723e3d9947e90854beae",113:"24f403fab1b486833cea",114:"09089b2f059c1c23a873",115:"1e638c83e30a1d7226ed",116:"f160f23ece7469424490",117:"9896d84e917794162b15",118:"1f035fb3770f9e7c382e",119:"4d1ea87599e93ab4cae8",120:"85da4641ec28a6dce765",121:"3f9c84a7157553d51375",122:"1c6c5f6cc6550aa3762e",123:"c4a5f5f72e25183c7e72",124:"6ecbe51bfd01afdac3d1",125:"b06cc46ba69b5415ae89",126:"39ad3c278e58d7455089",127:"ffa7acf0149d51dde0eb",128:"e09492be6eee3ab6eaf2",129:"5c3413ac8589494fd7bb",130:"96c136799f1680814ad2",131:"4fbfa214569dcc4d0371",132:"2a8365ad3f66364387ca",133:"e8a2e30b423471cbe30b",134:"03651ff6640bbabec3cf",135:"c4cf2f030d7c8e863a96",136:"5510525d298eab7a1c3a",137:"743f2693be8c1d7e9323",138:"d47952cd7da7484c472d",139:"451e346b1157e9e5092f",140:"7bfe384449176cf933fb",141:"751c5b8816af66873916",142:"ad18b9c3d553900bd991",143:"485904f50e12abc72b09",144:"d4d47da71e61cff2f771",145:"1a65fe0a5433e0271dbc",146:"647d92d9181b8859ae38",147:"100dfe620ae5f23f2839",148:"dbd904b7a22e69d84876",149:"e855d9077f79dec22efa",150:"75e4ddc3bd95bbce3458",151:"ee0efc5b9a00e1790795",152:"8ee3298d7d672b8e27c4",153:"db954a5f694708150093",154:"8a4c9a64712cfd2a5b95",155:"540ebcf85be389f20465",156:"135c36f23038f85f01d5",157:"ac98901e9c053b2ef8d4",158:"c6eee5ec2d022099e1ab",159:"151c8de55f463dc5d19d",160:"6a5ff00e982b35240d2f",161:"11624e3b78cbc1763c58",162:"4a27ce003c1d10a6bb7a",163:"e115ee963b11ee09a67f",164:"6b5dc119a4fd287a5129",165:"ba51459f87276a759300",166:"676669c11d98d3492c4b",167:"19ef180a7a0f01472387",168:"983a068f5a86b0de6235",169:"7332788d3fbf5162c372",170:"4e9f8e4f8e4bd3f5dc70",171:"073c0745ede4c1e07caf",172:"aabf09edcf5c3d240eda",173:"4d254ddcc9d392b85cbf",174:"d3c7ca053b62e46a5644",175:"5dc78deaefab3d7e42fb",176:"b986df0d87660238a82a",177:"d4ac1f8b0559b04ff2f5",178:"e915eb8dcd769d4b43b1",179:"d82f3fc17ddf09c0aa61",180:"46232670cc42bca1a1b9",181:"6c58b9490ff713050d45",182:"168d5ced692e0373399d",183:"924d4a2bf2aeac399efc",184:"30b62a55e581b8c793ff",185:"542930bfc75801612ae3",186:"92e30133f4868ceb41fb",187:"ef489fbce39d9da8fc75",188:"79def5907014473fde52",189:"39bd94c35711aab37523",190:"ecaa001528c8dda2f4b9",191:"3f8ed3da36cda8153d3e",192:"ac9a336057d281540f16",194:"7584e5de8868c86933d9",197:"9bbcd53336c71f922db7",198:"20b3223552207aa154c4",199:"b5c4a5ffbbfe5f56fdb0"}[e]}(e);var o=new Error;r=function(t){c.onerror=c.onload=null,clearTimeout(l);var i=n[e];if(0!==i){if(i){var a=t&&("load"===t.type?"missing":t.type),h=t&&t.target&&t.target.src;o.message="Loading chunk "+e+" failed.\n("+a+": "+h+")",o.name="ChunkLoadError",o.type=a,o.request=h,i[1](o)}n[e]=void 0}};var l=setTimeout((function(){r({type:"timeout",target:c})}),12e4);c.onerror=c.onload=r,document.head.appendChild(c)}return Promise.all(t)},a.m=e,a.c=i,a.d=function(e,t,i){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(a.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(i,n,function(t){return e[t]}.bind(null,n));return i},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="/js/",a.oe=function(e){throw console.error(e),e};var h=window.textWebpackJsonp=window.textWebpackJsonp||[],r=h.push.bind(h);h.push=t,h=h.slice();for(var c=0;c<h.length;c++)t(h[c]);var o=r;a(a.s=171)}({13:function(e,t,i){"use strict";i.d(t,"a",(function(){return h})),i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return a}));
+!function(e){function t(t){for(var i,a,h=t[0],r=t[1],c=0,l=[];c<h.length;c++)a=h[c],Object.prototype.hasOwnProperty.call(n,a)&&n[a]&&l.push(n[a][0]),n[a]=0;for(i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i]);for(o&&o(t);l.length;)l.shift()()}var i={},n={206:0};function a(t){if(i[t])return i[t].exports;var n=i[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.e=function(e){var t=[],i=n[e];if(0!==i)if(i)t.push(i[2]);else{var h=new Promise((function(t,a){i=n[e]=[t,a]}));t.push(i[2]=h);var r,c=document.createElement("script");c.charset="utf-8",c.timeout=120,a.nc&&c.setAttribute("nonce",a.nc),c.src=function(e){return a.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/c",25:"highlight/c-like",26:"highlight/cal",27:"highlight/capnproto",28:"highlight/ceylon",29:"highlight/clean",30:"highlight/clojure",31:"highlight/clojure-repl",32:"highlight/cmake",33:"highlight/coffeescript",34:"highlight/coq",35:"highlight/cos",36:"highlight/cpp",37:"highlight/crmsh",38:"highlight/crystal",39:"highlight/csharp",40:"highlight/csp",41:"highlight/css",42:"highlight/d",43:"highlight/dart",44:"highlight/delphi",45:"highlight/diff",46:"highlight/django",47:"highlight/dns",48:"highlight/dockerfile",49:"highlight/dos",50:"highlight/dsconfig",51:"highlight/dts",52:"highlight/dust",53:"highlight/ebnf",54:"highlight/elixir",55:"highlight/elm",56:"highlight/erb",57:"highlight/erlang",58:"highlight/erlang-repl",59:"highlight/excel",60:"highlight/fix",61:"highlight/flix",62:"highlight/fortran",63:"highlight/fsharp",64:"highlight/gams",65:"highlight/gauss",66:"highlight/gcode",67:"highlight/gherkin",68:"highlight/glsl",69:"highlight/gml",70:"highlight/go",71:"highlight/golo",72:"highlight/gradle",73:"highlight/groovy",74:"highlight/haml",75:"highlight/handlebars",76:"highlight/haskell",77:"highlight/haxe",78:"highlight/hsp",79:"highlight/htmlbars",80:"highlight/http",81:"highlight/hy",82:"highlight/inform7",83:"highlight/ini",84:"highlight/irpf90",85:"highlight/isbl",86:"highlight/java",87:"highlight/javascript",88:"highlight/jboss-cli",89:"highlight/json",90:"highlight/julia",91:"highlight/julia-repl",92:"highlight/kotlin",93:"highlight/lasso",94:"highlight/latex",95:"highlight/ldif",96:"highlight/leaf",97:"highlight/less",98:"highlight/lisp",99:"highlight/livecodeserver",100:"highlight/livescript",101:"highlight/llvm",102:"highlight/lsl",103:"highlight/lua",104:"highlight/makefile",105:"highlight/markdown",106:"highlight/mathematica",107:"highlight/matlab",108:"highlight/maxima",109:"highlight/mel",110:"highlight/mercury",111:"highlight/mipsasm",112:"highlight/mizar",113:"highlight/mojolicious",114:"highlight/monkey",115:"highlight/moonscript",116:"highlight/n1ql",117:"highlight/nginx",118:"highlight/nim",119:"highlight/nix",120:"highlight/node-repl",121:"highlight/nsis",122:"highlight/objectivec",123:"highlight/ocaml",124:"highlight/openscad",125:"highlight/oxygene",126:"highlight/parser3",127:"highlight/perl",128:"highlight/pf",129:"highlight/pgsql",130:"highlight/php",131:"highlight/php-template",132:"highlight/plaintext",133:"highlight/pony",134:"highlight/powershell",135:"highlight/processing",136:"highlight/profile",137:"highlight/prolog",138:"highlight/properties",139:"highlight/protobuf",140:"highlight/puppet",141:"highlight/purebasic",142:"highlight/python",143:"highlight/python-repl",144:"highlight/q",145:"highlight/qml",146:"highlight/r",147:"highlight/reasonml",148:"highlight/rib",149:"highlight/roboconf",150:"highlight/routeros",151:"highlight/rsl",152:"highlight/ruby",153:"highlight/ruleslanguage",154:"highlight/rust",155:"highlight/sas",156:"highlight/scala",157:"highlight/scheme",158:"highlight/scilab",159:"highlight/scss",160:"highlight/shell",161:"highlight/smali",162:"highlight/smalltalk",163:"highlight/sml",164:"highlight/sqf",165:"highlight/sql",166:"highlight/stan",167:"highlight/stata",168:"highlight/step21",169:"highlight/stylus",170:"highlight/subunit",171:"highlight/swift",172:"highlight/taggerscript",173:"highlight/tap",174:"highlight/tcl",175:"highlight/thrift",176:"highlight/tp",177:"highlight/twig",178:"highlight/typescript",179:"highlight/vala",180:"highlight/vbnet",181:"highlight/vbscript",182:"highlight/vbscript-html",183:"highlight/verilog",184:"highlight/vhdl",185:"highlight/vim",186:"highlight/x86asm",187:"highlight/xl",188:"highlight/xml",189:"highlight/xquery",190:"highlight/yaml",191:"highlight/zephir",192:"vendors~editor-collab~editor-guest",193:"vendors~editor-collab~editor-rich",194:"vendors~editor~files-modal",195:"editor",196:"editor-collab",197:"editor-guest",198:"editor-rich",200:"files-modal",203:"vendors~editor",204:"vendors~editor-rich",205:"vendors~files-modal"}[e]||e)+".js?v="+{0:"0418afbf4b7f9a87c3c5",1:"c0f3c95d5adad39aa4d3",2:"8abbfbe1210414170701",3:"c137bcab9ecaa070fe3f",4:"4186c2d8ee942c9a1c8b",5:"c7f7d475e85b52550fb6",6:"2b7d6d77e0027149994e",7:"0b66801886128d3d731b",8:"81a2a9752d6e42821fc5",9:"a7378f6e707197f7ab4c",10:"1183b43341c87d554b70",11:"0d4d5def7c24877f151a",12:"680fcbe04f464680e603",13:"30003d2812f497f1e560",14:"7076164b8b2a9daf33c3",15:"fc73c7a5c13e753b6f59",16:"dc316c2504faef229545",17:"fc76409ecb686e900c99",18:"7062bf9587ec0eea12a2",19:"bef8d32a5a9d7415224b",20:"14e30e2d317832099229",21:"5c670b9d350273ea11fb",22:"9a9eaa0b8d7d9cd06e57",23:"5b54d2a6bd9cb8d1d1a2",24:"fc306cc10fe0611a1876",25:"01170bb49d8ea171d716",26:"2d406f027fe751f344e6",27:"b28dbded609599b79414",28:"c200e4cf0888323711fa",29:"1b616e25117cdb98d4f1",30:"dbf1fc7f43ac253aeb30",31:"68422447c25633f13129",32:"ccfeada5918c4f9aeddb",33:"c60069d82e528215b14a",34:"71a840b44f4072558b1a",35:"1452de80b0a3ee64f1f7",36:"4414b8da17cedac1572f",37:"0252e5ab31638164dc16",38:"1c75035634bdd7d5982d",39:"f623d3c2d30b867d00e2",40:"0078f9f32873e351591d",41:"db9650188e37c89ec771",42:"41bae99dee14303f3d97",43:"34efff2f0144261c0ee5",44:"6748a1b9d4ee180a78ad",45:"0b7289872e09889f2a31",46:"2b5f92ceda38b4c643a9",47:"20556b82ae894fa2c7e4",48:"88210ddae45842aeb71b",49:"ba1c4f3601c246750846",50:"635cb169cc212b9bf153",51:"f32a9f4f02b06a5b350d",52:"a393b296d236cbaf3166",53:"3d69ec19898f46c96a1e",54:"b349577acd551df129fb",55:"8912ac0b9ad4b7065d50",56:"12a2cd32c1339551d571",57:"3269d77e7e89aeb3b42d",58:"a1236619c00f68b97b07",59:"e01534e0bafc187736aa",60:"eae09964f523526a76e4",61:"7e8b1d6bf9add607e7ba",62:"e2c81c18dfa87070bee6",63:"602d4d79f7e367a195d9",64:"96abebcd1dbb12ec0bf9",65:"20ab8d7b107ea963139c",66:"ef3ed372000e178bc36c",67:"c0c1e4f8cf8729e2aca5",68:"a59739d94409a32fefcf",69:"75f53085b07b6ce2f110",70:"da74ec904630b1696da5",71:"187880929ddbeb7b5dbf",72:"70e625acfff650bffd6e",73:"6dba99e1561658677dc5",74:"5f822039bf0de70cc3e0",75:"f4ff462c6ca939fa350c",76:"1297b796e9195dff8ff6",77:"3807d510b9ba39cfef57",78:"f762b7824c148bd898c0",79:"0f2853c05a5627af0439",80:"a5c07529c62f4c335dbc",81:"69be0be8e6afc13ba810",82:"ef18f75cd59d9aa7c2c7",83:"1b30787eff7994854d87",84:"5e1e7ca94f4c280c9c4f",85:"04bfd4f9787f2c1795c5",86:"f791f094696e739920da",87:"24eb1ea17fdc8e5d6c31",88:"48cfab43934d806237dc",89:"55a415e8472d3aa275fa",90:"088aebaa5a676cc393da",91:"a64126cad0acd9d6107b",92:"511a96b39a6d6483bebe",93:"814f7efd6957478145bf",94:"4034ef73393c2c85399d",95:"fa4872faf671b8018800",96:"403ffc5c8ebd7bfe3b4e",97:"8de93e4e4df33e71e4fd",98:"4c5b015300dc4800cd10",99:"0d520e5412d7923a269f",100:"772eccca51cf689ab169",101:"f8f0e9eabe5bd337a19a",102:"115933238c6c371bf28a",103:"15ef411d1d2e4c63e7a8",104:"ade28f56477a308b2361",105:"1eae1084ecfa6f489ada",106:"15e038d9a0b141d6b7c0",107:"ce15aac9b3e74a7bb0a8",108:"1beded160eac6b8199b1",109:"11390d4fce4ccaf32656",110:"cb09ed5dab85fab89f53",111:"9baa041221206f6724fb",112:"c50238e1265d98a8bfd6",113:"babe1fcccf7861b40fb1",114:"7eefcc1070425bf0c564",115:"84a50dc4c834b91b2f25",116:"c0b3f7890eb4de094e30",117:"942ed045765c70783435",118:"3cbd60fd667e95a922ac",119:"0b022f0b7085e6f16771",120:"e4ff00cfc767fc7d89e8",121:"be3e303f198f8dc08079",122:"dcfdcbbd467f17008ebe",123:"d521ae0970bd91c50577",124:"2dedc9189837bda20ec2",125:"1a61416b7c1ad3d60ddd",126:"f346d8e1860c30c8f217",127:"396b390d55948b03acc6",128:"607874786f59f7e98418",129:"4a2d0104de44b6352871",130:"c2a634d8fdbb72d2ddfa",131:"4d5726a3be2c1fd96752",132:"883209f105956d9f37da",133:"c7144f4a49a05c3e1889",134:"4d26d16a70f000e415f7",135:"62282e7ca6c89bb8912c",136:"72e5cebb46ff3319ca12",137:"e2e6d0530077618015c8",138:"739768fc734abaab55e6",139:"71770f3835569e42e48d",140:"a53d2cf34200bea291a5",141:"86e732aa609f20a0a98b",142:"379ae521c2448a5b2af9",143:"ee85469cdf7f59d0291b",144:"0f82aca186ec2b6ece92",145:"aaa6059c36dbce4a7146",146:"303cb1a178db945b6e3c",147:"920f15c4deea64cfe644",148:"1032678d1e0310c8939d",149:"1cd3a81c1692b16c200f",150:"5b155cd57211436922dd",151:"dad38f9a356d4d84723e",152:"565789542a0d007c80fd",153:"4435093f8e33e3e6688d",154:"05e1111e8117f67b6560",155:"34876ec6f45cc3ad1222",156:"c829584c876eae685951",157:"c3b15a74bd9eae42d7df",158:"37a41dee8f3ddca9f4be",159:"71be53d43620bf4124d9",160:"43c7410713894a5597b1",161:"494b9df1fb3909abb24c",162:"33dcc50105704f86ea1d",163:"9839e97794b9f43077fd",164:"1db88e1b54cb7a5cacde",165:"8751e34537f14e76a365",166:"f5a5083a0dcda08d5ae6",167:"33c02a39c99fd09e3a40",168:"84fca6fc8103a2768eff",169:"d38264a80cb62e50f920",170:"6692c6c7b2f4b0e127b0",171:"80032de9afc10a6d34c2",172:"bf07576d23d4219640b5",173:"90f0d5a14b4c63338cd0",174:"7d0107d72972f6269a91",175:"830152ad6d362c3338e2",176:"4961215448541db18073",177:"27f743be7a0ba9ca1294",178:"f6a7da33d4e967548675",179:"1175a0ee0266d75f8c97",180:"60d0ab9e960c95e1c8c3",181:"d52b87f93718cd2a7549",182:"487c256778b56eb414a0",183:"e950251639f3d1a6a9d3",184:"26a02f672fd5059cbddf",185:"6a8e8a8d1fee50bb1b79",186:"17465185f085379a1efd",187:"49763bb35dd202e7c4f3",188:"5d0de9893df3bc08fe6b",189:"70110e4ce1c31ec93d47",190:"007c3559b3b672cdf2b3",191:"6042209b3f11b92e9592",192:"70f36aa8b49f135be138",193:"d773d54abf4e6f54ab03",194:"6da2c0af69186fae0e3c",195:"88aa0fd532dcc8990269",196:"fbe2f40a217e0200bc2d",197:"592d8b354a1954707efa",198:"3f4f3650c531341abec0",200:"f8f76b0e365edd2ee65d",203:"b8f115885cd765ae5389",204:"ace9993bb1c0582c6581",205:"71a49ca67e21c2074be1"}[e]}(e);var o=new Error;r=function(t){c.onerror=c.onload=null,clearTimeout(l);var i=n[e];if(0!==i){if(i){var a=t&&("load"===t.type?"missing":t.type),h=t&&t.target&&t.target.src;o.message="Loading chunk "+e+" failed.\n("+a+": "+h+")",o.name="ChunkLoadError",o.type=a,o.request=h,i[1](o)}n[e]=void 0}};var l=setTimeout((function(){r({type:"timeout",target:c})}),12e4);c.onerror=c.onload=r,document.head.appendChild(c)}return Promise.all(t)},a.m=e,a.c=i,a.d=function(e,t,i){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(a.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(i,n,function(t){return e[t]}.bind(null,n));return i},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="/js/",a.oe=function(e){throw console.error(e),e};var h=window.textWebpackJsonp=window.textWebpackJsonp||[],r=h.push.bind(h);h.push=t,h=h.slice();for(var c=0;c<h.length;c++)t(h[c]);var o=r;a(a.s=186)}({102:function(e,t,i){"use strict";i.r(t);var n=i(103),a=i.n(n);for(var h in n)["default"].indexOf(h)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(h);t.default=a.a},103:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={name:"ViewerComponent",components:{EditorWrapper:function(){return Promise.all([i.e(0),i.e(194),i.e(203),i.e(195)]).then(i.bind(null,123))}},props:{filename:{type:String,default:null},fileid:{type:Number,default:null},active:{type:Boolean,default:!1},shareToken:{type:String,default:null},mime:{type:String,default:null}},beforeMount:function(){void 0!==this.$parent.$parent&&this.$parent.$parent.onResize&&window.removeEventListener("resize",this.$parent.$parent.onResize)}};t.default=n},15:function(e,t,i){"use strict";function n(e,t,i,n,a,h,r,c){var o,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=i,l._compiled=!0),n&&(l.functional=!0),h&&(l._scopeId="data-v-"+h),r?(o=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__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},l._ssrRegister=o):a&&(o=c?function(){a.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:a),o)if(l.functional){l._injectStyles=o;var f=l.render;l.render=function(e,t){return o.call(t),f(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,o):[o]}return{exports:e,options:l}}i.d(t,"a",(function(){return n}))},175:function(e,t,i){"use strict";var n=i(27),a=i.n(n),h=i(28),r=i.n(h)()(a.a);r.push([e.i,"\n#editor-container {\n\theight: calc(100% - 50px);\n\ttop: 50px;\n}\n","",{version:3,sources:["webpack://./src/components/ViewerComponent.vue"],names:[],mappings:";AAmEA;CACA,yBAAA;CACA,SAAA;AACA",sourcesContent:['\x3c!--\n - @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>\n -\n - @author Julius Härtl <jus@bitgrid.net>\n -\n - @license GNU AGPL version 3 or any later version\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n -\n --\x3e\n\n<template>\n\t<EditorWrapper :file-id="fileid"\n\t\t:relative-path="filename"\n\t\t:active="active"\n\t\t:share-token="shareToken"\n\t\t:mime="mime" />\n</template>\n\n<script>\nexport default {\n\tname: \'ViewerComponent\',\n\tcomponents: {\n\t\tEditorWrapper: () => import(/* webpackChunkName: "editor" */\'./EditorWrapper\'),\n\t},\n\tprops: {\n\t\tfilename: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t},\n\t\tfileid: {\n\t\t\ttype: Number,\n\t\t\tdefault: null,\n\t\t},\n\t\tactive: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\t\tshareToken: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t},\n\t\tmime: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t},\n\t},\n\tbeforeMount() {\n\t\t// FIXME Dirty fix to avoid recreating the component on stable16\n\t\tif (typeof this.$parent.$parent !== \'undefined\' && this.$parent.$parent.onResize) {\n\t\t\twindow.removeEventListener(\'resize\', this.$parent.$parent.onResize)\n\t\t}\n\t},\n}\n<\/script>\n<style>\n#editor-container {\n\theight: calc(100% - 50px);\n\ttop: 50px;\n}\n</style>\n'],sourceRoot:""}]),t.a=r},177:function(e,t,i){"use strict";i.d(t,"a",(function(){return n})),i.d(t,"b",(function(){return a}));var n=function(){var e=this.$createElement;return(this._self._c||e)("EditorWrapper",{attrs:{"file-id":this.fileid,"relative-path":this.filename,active:this.active,"share-token":this.shareToken,mime:this.mime}})},a=[]},186:function(e,t,i){"use strict";var n,a=(n=i(187))&&n.__esModule?n:{default:n},h=i(52);function r(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);"Object"===i&&e.constructor&&(i=e.constructor.name);if("Map"===i||"Set"===i)return Array.from(e);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return c(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}i.nc=btoa(OC.requestToken),i.p=OC.linkTo("text","js/"),document.addEventListener("DOMContentLoaded",(function(){void 0!==OCA.Viewer?OCA.Viewer.registerHandler({id:"text",mimes:[].concat(r(h.openMimetypesMarkdown),r(h.openMimetypesPlainText)),component:a.default,group:null}):console.error("Viewer app is not installed")}))},187:function(e,t,i){"use strict";i.r(t);var n=i(177),a=i(102);for(var h in a)["default"].indexOf(h)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(h);i(188);var r=i(15),c=Object(r.a)(a.default,n.a,n.b,!1,null,null,null);t.default=c.exports},188:function(e,t,i){"use strict";var n=i(26),a=i.n(n),h=i(175),r={insert:"head",singleton:!1};a()(h.a,r),h.a.locals},26:function(e,t,i){"use strict";var n,a=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},h=function(){var e={};return function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(e){i=null}e[t]=i}return e[t]}}(),r=[];function c(e){for(var t=-1,i=0;i<r.length;i++)if(r[i].identifier===e){t=i;break}return t}function o(e,t){for(var i={},n=[],a=0;a<e.length;a++){var h=e[a],o=t.base?h[0]+t.base:h[0],l=i[o]||0,f="".concat(o," ").concat(l);i[o]=l+1;var d=c(f),g={css:h[1],media:h[2],sourceMap:h[3]};-1!==d?(r[d].references++,r[d].updater(g)):r.push({identifier:f,updater:p(g,t),references:1}),n.push(f)}return n}function l(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var a=i.nc;a&&(n.nonce=a)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var r=h(e.insert||"head");if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(t)}return t}var f,d=(f=[],function(e,t){return f[e]=t,f.filter(Boolean).join("\n")});function g(e,t,i,n){var a=i?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=d(t,a);else{var h=document.createTextNode(a),r=e.childNodes;r[t]&&e.removeChild(r[t]),r.length?e.insertBefore(h,r[t]):e.appendChild(h)}}function s(e,t,i){var n=i.css,a=i.media,h=i.sourceMap;if(a?e.setAttribute("media",a):e.removeAttribute("media"),h&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(h))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var b=null,u=0;function p(e,t){var i,n,a;if(t.singleton){var h=u++;i=b||(b=l(t)),n=g.bind(null,i,h,!1),a=g.bind(null,i,h,!0)}else i=l(t),n=s.bind(null,i,t),a=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(i)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else a()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=a());var i=o(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<i.length;n++){var a=c(i[n]);r[a].references--}for(var h=o(e,t),l=0;l<i.length;l++){var f=c(i[l]);0===r[f].references&&(r[f].updater(),r.splice(f,1))}i=h}}}},27:function(e,t,i){"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var i=[],n=!0,a=!1,h=void 0;try{for(var r,c=e[Symbol.iterator]();!(n=(r=c.next()).done)&&(i.push(r.value),!t||i.length!==t);n=!0);}catch(e){a=!0,h=e}finally{try{n||null==c.return||c.return()}finally{if(a)throw h}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);"Object"===i&&e.constructor&&(i=e.constructor.name);if("Map"===i||"Set"===i)return Array.from(e);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return a(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}e.exports=function(e){var t=n(e,4),i=t[1],a=t[3];if("function"==typeof btoa){var h=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),r="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(h),c="/*# ".concat(r," */"),o=a.sources.map((function(e){return"/*# sourceURL=".concat(a.sourceRoot||"").concat(e," */")}));return[i].concat(o).concat([c]).join("\n")}return[i].join("\n")}},28:function(e,t,i){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i=e(t);return t[2]?"@media ".concat(t[2]," {").concat(i,"}"):i})).join("")},t.i=function(e,i,n){"string"==typeof e&&(e=[[null,e,""]]);var a={};if(n)for(var h=0;h<this.length;h++){var r=this[h][0];null!=r&&(a[r]=!0)}for(var c=0;c<e.length;c++){var o=[].concat(e[c]);n&&a[o[0]]||(i&&(o[2]?o[2]="".concat(i," and ").concat(o[2]):o[2]=i),t.push(o))}},t}},52:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.openMimetypesPlainText=t.openMimetypesMarkdown=t.openMimetypes=void 0;
/*
* @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>
*
@@ -20,26 +20,5 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
-var n=["text/markdown"],a=["text/plain","application/cmd","application/x-empty","application/x-msdos-program","application/epub+zip","application/javascript","application/json","application/x-perl","application/x-php","application/x-tex","application/xml","application/yaml","text/css","text/csv","text/html","text/org","text/x-c","text/x-c++src","text/x-h","text/x-java-source","text/x-ldif","text/x-python","text/x-shellscript"],h=[].concat(n,a)},165:function(e,t,i){"use strict";var n=i(29),a=i.n(n),h=i(30),r=i.n(h)()(a.a);r.push([e.i,"\n#editor-container {\n\theight: calc(100% - 50px);\n\ttop: 50px;\n}\n","",{version:3,sources:["webpack://./src/components/ViewerComponent.vue"],names:[],mappings:";AAmEA;CACA,yBAAA;CACA,SAAA;AACA",sourcesContent:['\x3c!--\n - @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>\n -\n - @author Julius Härtl <jus@bitgrid.net>\n -\n - @license GNU AGPL version 3 or any later version\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n -\n --\x3e\n\n<template>\n\t<EditorWrapper :file-id="fileid"\n\t\t:relative-path="filename"\n\t\t:active="active"\n\t\t:share-token="shareToken"\n\t\t:mime="mime" />\n</template>\n\n<script>\nexport default {\n\tname: \'ViewerComponent\',\n\tcomponents: {\n\t\tEditorWrapper: () => import(/* webpackChunkName: "editor" */\'./EditorWrapper\'),\n\t},\n\tprops: {\n\t\tfilename: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t},\n\t\tfileid: {\n\t\t\ttype: Number,\n\t\t\tdefault: null,\n\t\t},\n\t\tactive: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\t\tshareToken: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t},\n\t\tmime: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t},\n\t},\n\tbeforeMount() {\n\t\t// FIXME Dirty fix to avoid recreating the component on stable16\n\t\tif (typeof this.$parent.$parent !== \'undefined\' && this.$parent.$parent.onResize) {\n\t\t\twindow.removeEventListener(\'resize\', this.$parent.$parent.onResize)\n\t\t}\n\t},\n}\n<\/script>\n<style>\n#editor-container {\n\theight: calc(100% - 50px);\n\ttop: 50px;\n}\n</style>\n'],sourceRoot:""}]),t.a=r},171:function(e,t,i){"use strict";i.r(t);var n={name:"ViewerComponent",components:{EditorWrapper:function(){return Promise.all([i.e(0),i.e(188),i.e(197),i.e(189)]).then(i.bind(null,173))}},props:{filename:{type:String,default:null},fileid:{type:Number,default:null},active:{type:Boolean,default:!1},shareToken:{type:String,default:null},mime:{type:String,default:null}},beforeMount:function(){void 0!==this.$parent.$parent&&this.$parent.$parent.onResize&&window.removeEventListener("resize",this.$parent.$parent.onResize)}},a=i(28),h=i.n(a),r=i(165),c={insert:"head",singleton:!1},o=(h()(r.a,c),r.a.locals,i(18)),l=Object(o.a)(n,(function(){var e=this.$createElement;return(this._self._c||e)("EditorWrapper",{attrs:{"file-id":this.fileid,"relative-path":this.filename,active:this.active,"share-token":this.shareToken,mime:this.mime}})}),[],!1,null,null,null).exports,f=i(13);function d(e){return function(e){if(Array.isArray(e))return g(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);"Object"===i&&e.constructor&&(i=e.constructor.name);if("Map"===i||"Set"===i)return Array.from(e);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return g(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}
-/*
- * @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>
- *
- * @author Julius Härtl <jus@bitgrid.net>
- *
- * @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 <http://www.gnu.org/licenses/>.
- *
- */i.nc=btoa(OC.requestToken),i.p=OC.linkTo("text","js/"),document.addEventListener("DOMContentLoaded",(function(){void 0!==OCA.Viewer?OCA.Viewer.registerHandler({id:"text",mimes:[].concat(d(f.b),d(f.c)),component:l,group:null}):console.error("Viewer app is not installed")}))},18:function(e,t,i){"use strict";function n(e,t,i,n,a,h,r,c){var o,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=i,l._compiled=!0),n&&(l.functional=!0),h&&(l._scopeId="data-v-"+h),r?(o=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__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},l._ssrRegister=o):a&&(o=c?function(){a.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:a),o)if(l.functional){l._injectStyles=o;var f=l.render;l.render=function(e,t){return o.call(t),f(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,o):[o]}return{exports:e,options:l}}i.d(t,"a",(function(){return n}))},28:function(e,t,i){"use strict";var n,a=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},h=function(){var e={};return function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(e){i=null}e[t]=i}return e[t]}}(),r=[];function c(e){for(var t=-1,i=0;i<r.length;i++)if(r[i].identifier===e){t=i;break}return t}function o(e,t){for(var i={},n=[],a=0;a<e.length;a++){var h=e[a],o=t.base?h[0]+t.base:h[0],l=i[o]||0,f="".concat(o," ").concat(l);i[o]=l+1;var d=c(f),g={css:h[1],media:h[2],sourceMap:h[3]};-1!==d?(r[d].references++,r[d].updater(g)):r.push({identifier:f,updater:p(g,t),references:1}),n.push(f)}return n}function l(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var a=i.nc;a&&(n.nonce=a)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var r=h(e.insert||"head");if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(t)}return t}var f,d=(f=[],function(e,t){return f[e]=t,f.filter(Boolean).join("\n")});function g(e,t,i,n){var a=i?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=d(t,a);else{var h=document.createTextNode(a),r=e.childNodes;r[t]&&e.removeChild(r[t]),r.length?e.insertBefore(h,r[t]):e.appendChild(h)}}function s(e,t,i){var n=i.css,a=i.media,h=i.sourceMap;if(a?e.setAttribute("media",a):e.removeAttribute("media"),h&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(h))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var b=null,u=0;function p(e,t){var i,n,a;if(t.singleton){var h=u++;i=b||(b=l(t)),n=g.bind(null,i,h,!1),a=g.bind(null,i,h,!0)}else i=l(t),n=s.bind(null,i,t),a=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(i)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else a()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=a());var i=o(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<i.length;n++){var a=c(i[n]);r[a].references--}for(var h=o(e,t),l=0;l<i.length;l++){var f=c(i[l]);0===r[f].references&&(r[f].updater(),r.splice(f,1))}i=h}}}},29:function(e,t,i){"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var i=[],n=!0,a=!1,h=void 0;try{for(var r,c=e[Symbol.iterator]();!(n=(r=c.next()).done)&&(i.push(r.value),!t||i.length!==t);n=!0);}catch(e){a=!0,h=e}finally{try{n||null==c.return||c.return()}finally{if(a)throw h}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);"Object"===i&&e.constructor&&(i=e.constructor.name);if("Map"===i||"Set"===i)return Array.from(e);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return a(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}e.exports=function(e){var t=n(e,4),i=t[1],a=t[3];if("function"==typeof btoa){var h=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),r="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(h),c="/*# ".concat(r," */"),o=a.sources.map((function(e){return"/*# sourceURL=".concat(a.sourceRoot||"").concat(e," */")}));return[i].concat(o).concat([c]).join("\n")}return[i].join("\n")}},30:function(e,t,i){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i=e(t);return t[2]?"@media ".concat(t[2]," {").concat(i,"}"):i})).join("")},t.i=function(e,i,n){"string"==typeof e&&(e=[[null,e,""]]);var a={};if(n)for(var h=0;h<this.length;h++){var r=this[h][0];null!=r&&(a[r]=!0)}for(var c=0;c<e.length;c++){var o=[].concat(e[c]);n&&a[o[0]]||(i&&(o[2]?o[2]="".concat(i," and ").concat(o[2]):o[2]=i),t.push(o))}},t}}});
+var n=["text/markdown"];t.openMimetypesMarkdown=n;var a=["text/plain","application/cmd","application/x-empty","application/x-msdos-program","application/epub+zip","application/javascript","application/json","application/x-perl","application/x-php","application/x-tex","application/xml","application/yaml","text/css","text/csv","text/html","text/org","text/x-c","text/x-c++src","text/x-h","text/x-java-source","text/x-ldif","text/x-python","text/x-shellscript"];t.openMimetypesPlainText=a;var h=[].concat(n,a);t.openMimetypes=h}});
//# sourceMappingURL=viewer.js.map \ No newline at end of file