1
|
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/helpers/mime.js","webpack:///./src/components/ViewerComponent.vue?10db","webpack:///./src/components/ViewerComponent.vue?f26a","webpack:///./src/components/ViewerComponent.vue?7b36","webpack:///./src/components/ViewerComponent.vue?c9f8","webpack:///./src/components/ViewerComponent.vue?f8ea","webpack:///src/components/ViewerComponent.vue","webpack:///./src/components/ViewerComponent.vue","webpack:///./src/viewer.js","webpack:///./node_modules/vue-loader/lib/runtime/componentNormalizer.js","webpack:///./node_modules/css-loader/dist/runtime/api.js","webpack:///./node_modules/vue-style-loader/lib/listToStyles.js","webpack:///./node_modules/vue-style-loader/lib/addStylesClient.js"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","installedModules","200","__webpack_require__","exports","module","l","e","promises","installedChunkData","promise","Promise","resolve","reject","onScriptComplete","script","document","createElement","charset","timeout","nc","setAttribute","src","p","jsonpScriptSrc","error","Error","event","onerror","onload","clearTimeout","chunk","errorType","type","realSrc","target","message","name","request","undefined","setTimeout","head","appendChild","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","err","console","jsonpArray","window","oldJsonpFunction","slice","s","openMimetypesMarkdown","openMimetypesPlainText","openMimetypes","content","locals","add","default","___CSS_LOADER_API_IMPORT___","_h","this","$createElement","_self","_c","attrs","fileid","filename","active","shareToken","mime","__webpack_nonce__","btoa","OC","requestToken","__webpack_public_path__","linkTo","addEventListener","OCA","Viewer","registerHandler","id","mimes","component","ViewerComponent","group","normalizeComponent","scriptExports","render","staticRenderFns","functionalTemplate","injectStyles","scopeId","moduleIdentifier","shadowMode","hook","options","_compiled","functional","_scopeId","context","$vnode","ssrContext","parent","__VUE_SSR_CONTEXT__","_registeredComponents","_ssrRegister","$root","$options","shadowRoot","_injectStyles","originalRender","h","existing","beforeCreate","concat","useSourceMap","list","toString","map","item","cssMapping","sourceMapping","sourceMap","base64","unescape","encodeURIComponent","JSON","stringify","sourceURLs","sources","source","sourceRoot","join","cssWithMappingToString","mediaQuery","dedupe","alreadyImportedModules","_i","listToStyles","parentId","styles","newStyles","part","css","media","parts","hasDocument","DEBUG","stylesInDom","getElementsByTagName","singletonElement","singletonCounter","isProduction","noop","isOldIE","navigator","test","userAgent","toLowerCase","addStylesClient","_isProduction","_options","addStylesToDom","newList","mayRemove","domStyle","refs","j","addStyle","createStyleElement","styleElement","obj","update","remove","querySelector","parentNode","removeChild","styleIndex","applyToSingletonTag","applyToTag","newObj","textStore","replaceText","index","replacement","filter","Boolean","styleSheet","cssText","cssNode","createTextNode","childNodes","insertBefore","ssrId","firstChild"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GAKAK,EAAI,EAAGC,EAAW,GACpCD,EAAIF,EAASI,OAAQF,IACzBH,EAAUC,EAASE,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBV,IAAYU,EAAgBV,IACpFI,EAASO,KAAKD,EAAgBV,GAAS,IAExCU,EAAgBV,GAAW,EAE5B,IAAID,KAAYG,EACZI,OAAOC,UAAUC,eAAeC,KAAKP,EAAaH,KACpDa,EAAQb,GAAYG,EAAYH,IAKlC,IAFGc,GAAqBA,EAAoBf,GAEtCM,EAASC,QACdD,EAASU,OAATV,GAOF,IAAIW,EAAmB,GAKnBL,EAAkB,CACrBM,IAAK,GAWN,SAASC,EAAoBlB,GAG5B,GAAGgB,EAAiBhB,GACnB,OAAOgB,EAAiBhB,GAAUmB,QAGnC,IAAIC,EAASJ,EAAiBhB,GAAY,CACzCI,EAAGJ,EACHqB,GAAG,EACHF,QAAS,IAUV,OANAN,EAAQb,GAAUU,KAAKU,EAAOD,QAASC,EAAQA,EAAOD,QAASD,GAG/DE,EAAOC,GAAI,EAGJD,EAAOD,QA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EAAMS,QAEbP,KAKN,IACMQ,EADFC,GACED,EAAY,GAET,SAAUE,EAAOC,GAEtB,OADAH,EAAUE,GAASC,EACZH,EAAUI,OAAOC,SAAStD,KAAK,QAI1C,SAAS8C,EAAqBR,EAAca,EAAOV,EAAQF,GACzD,IAAI5B,EAAM8B,EAAS,GAAKF,EAAI5B,IAE5B,GAAI2B,EAAaiB,WACfjB,EAAaiB,WAAWC,QAAUN,EAAYC,EAAOxC,OAChD,CACL,IAAI8C,EAAUpM,SAASqM,eAAe/C,GAClCgD,EAAarB,EAAaqB,WAC1BA,EAAWR,IAAQb,EAAaM,YAAYe,EAAWR,IACvDQ,EAAW/N,OACb0M,EAAasB,aAAaH,EAASE,EAAWR,IAE9Cb,EAAavJ,YAAY0K,IAK/B,SAASV,EAAYT,EAAcC,GACjC,IAAI5B,EAAM4B,EAAI5B,IACVC,EAAQ2B,EAAI3B,MACZtB,EAAYiD,EAAIjD,UAiBpB,GAfIsB,GACF0B,EAAa5K,aAAa,QAASkJ,GAEjCjD,EAAQkG,OACVvB,EAAa5K,aA7JF,kBA6JyB6K,EAAI3F,IAGtC0C,IAGFqB,GAAO,mBAAqBrB,EAAUO,QAAQ,GAAK,MAEnDc,GAAO,uDAAyDxE,KAAKqD,SAASC,mBAAmBC,KAAKC,UAAUL,MAAgB,OAG9HgD,EAAaiB,WACfjB,EAAaiB,WAAWC,QAAU7C,MAC7B,CACL,KAAO2B,EAAawB,YAClBxB,EAAaM,YAAYN,EAAawB,YAExCxB,EAAavJ,YAAY1B,SAASqM,eAAe/C","file":"viewer.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t};\n\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t200: 0\n \t};\n\n\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.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-rich~files-modal\",\"189\":\"vendors~editor~files-modal\",\"190\":\"editor\",\"191\":\"editor-collab\",\"192\":\"editor-guest\",\"193\":\"editor-rich\",\"195\":\"files-modal\",\"198\":\"vendors~editor\",\"199\":\"vendors~editor-rich\"}[chunkId]||chunkId) + \".js?v=\" + {\"0\":\"36248677afa2503d88e9\",\"1\":\"2e81dc1ad1521cd79660\",\"2\":\"b88c630d1fd8e1251429\",\"3\":\"8d91477bb91fb2199bc8\",\"4\":\"f9b92c593850f4152946\",\"5\":\"1629f32641171b113eb8\",\"6\":\"4798ee39e4d283b873a8\",\"7\":\"fe220bab69751736ef20\",\"8\":\"4ce137ea65979cc6079a\",\"9\":\"32a6c5378237fa3370a9\",\"10\":\"d17e043e5b5a148c35e5\",\"11\":\"59fa30f62da0440cdec7\",\"12\":\"c346e6a8e0dd57dc2c44\",\"13\":\"f3f7bc4d61ffcbe7a975\",\"14\":\"6b76f47b6d413b5b8439\",\"15\":\"fc9023ffba0d62628c10\",\"16\":\"91553ddb2a6717a126d7\",\"17\":\"e7b9a0a053c932a78340\",\"18\":\"d696a40e853acbe2b631\",\"19\":\"48e5d562ffa4320db022\",\"20\":\"f48f55525654e2318056\",\"21\":\"e6fd865170ccaac83b13\",\"22\":\"2028f6324d07f6ddd88e\",\"23\":\"c4f79446f8071395c8e8\",\"24\":\"b480ae213b946453d957\",\"25\":\"48fb447cccc2dc11a281\",\"26\":\"3c55e89196d86b382e5e\",\"27\":\"0863b5a0195c7bb1d00f\",\"28\":\"b26bc630f7e286e4e5aa\",\"29\":\"6461943576e68c8cfa4e\",\"30\":\"0b73684e74135124be92\",\"31\":\"a1fc5b97044e4d095c6e\",\"32\":\"81491e06ce0a555e2d90\",\"33\":\"d7f96b9cc68faab60d9b\",\"34\":\"c6f15c0c521244c145db\",\"35\":\"92fd02c1f8bffe2aa87e\",\"36\":\"fb0ccd5e7253dfff9d55\",\"37\":\"a72e52e1a720eecc83ed\",\"38\":\"7c4cbe5a2d62f9072169\",\"39\":\"f092f8d5154d9c9b4679\",\"40\":\"2faca426fb87a93f8706\",\"41\":\"757296bcee8bb97eed87\",\"42\":\"de707c033b5042d91ded\",\"43\":\"ebbc84e47c1a90f4ef8c\",\"44\":\"4add38c09fa5711abb6d\",\"45\":\"e98286d0c41fd0bd3278\",\"46\":\"07ad65895641e06416e3\",\"47\":\"74d03a09e9d65b5cb96b\",\"48\":\"618ab5c6c05d3ef25d92\",\"49\":\"868ba05773d3e7349cec\",\"50\":\"2ff9df9b5bdcc57ff6d9\",\"51\":\"85bf8a87089925018ade\",\"52\":\"c4e287d996d7ae96f9d9\",\"53\":\"bed78bf9ec8d94a7f081\",\"54\":\"d2dfe9b228ea94d2f48b\",\"55\":\"0c37a969a971c04d528c\",\"56\":\"dafe6dfdfc388ef39f41\",\"57\":\"c629efe083777629c3aa\",\"58\":\"8a8d735845111067181c\",\"59\":\"02ccff94b0d6fe33b221\",\"60\":\"ddff4125e73c7d4aa12f\",\"61\":\"30cea4385c4c40781794\",\"62\":\"aa0ec73adb9515e8d09d\",\"63\":\"f7d0f50d5373caad2dd8\",\"64\":\"3b8854f459f2a17c6da3\",\"65\":\"f981313abc1df095586a\",\"66\":\"4e3f2d2e2098a28903b3\",\"67\":\"1c93061cebb3e9bac2d9\",\"68\":\"964f547847e62eb57a18\",\"69\":\"9b7ff45c1b2ca81b8205\",\"70\":\"adb3dbdaf921b9f74322\",\"71\":\"84a45dee9056b59f808f\",\"72\":\"6b6290742ba6afc7d2bc\",\"73\":\"4b740b4e97e8e7a8a93e\",\"74\":\"b64da18cbf5d3730329a\",\"75\":\"eecbabab20d0d86eb91f\",\"76\":\"1d4723f683551d80c6b9\",\"77\":\"ac06ce4edb06d1e9e643\",\"78\":\"1a3204af295754decfb0\",\"79\":\"ab18efc74e57be03ed8c\",\"80\":\"c87d940d1c68583f4c43\",\"81\":\"4b277cc8fa3758c602cb\",\"82\":\"8ddd7ec3a3287f57e785\",\"83\":\"ef13da0de4e2ef9db078\",\"84\":\"dbd6824df7f218ba45f6\",\"85\":\"d98d3ff6e45eb4dcdb03\",\"86\":\"a587b97cbd1f7dc31b24\",\"87\":\"073b01ef3a66ecdafe78\",\"88\":\"ab5fc2b7951d6c08655e\",\"89\":\"d119d0bd240f9d5a65cb\",\"90\":\"f110f5eab8d103413a88\",\"91\":\"f2f6a125d10d827f258e\",\"92\":\"3eede9d8f9300c8fd71b\",\"93\":\"8a5f7cb6c3cade83287a\",\"94\":\"f327ff5b0dfc769eaa69\",\"95\":\"f64a1615f22f3655de22\",\"96\":\"4789b7ffeb03176192be\",\"97\":\"75f4a8f78c39fdd5d3aa\",\"98\":\"1a1b7a0f58c78ffc6d58\",\"99\":\"f6bdaf95684550b8b091\",\"100\":\"e7ed7e918eb507c26e27\",\"101\":\"d96073b7f5e9adf89495\",\"102\":\"319a5a3fa84f6caf10c6\",\"103\":\"bfe96ef4a497cc79572f\",\"104\":\"8f6d0e58ce01ab449006\",\"105\":\"274d696436be63646cc3\",\"106\":\"64f5c24260f2678a4513\",\"107\":\"d2eedd80110cd6e5becd\",\"108\":\"e420af0768ce50dc635f\",\"109\":\"e1de1cc84362753d3dfa\",\"110\":\"c76ba7b2bafbeaf1d2eb\",\"111\":\"2af9cad243cda26d209c\",\"112\":\"7ed7f3dc32866f3b41d5\",\"113\":\"b31116d6dc33d900f6b3\",\"114\":\"8262b4b8ea807eb67585\",\"115\":\"6d1c7eb739f2f3163cbf\",\"116\":\"5b29cfeb908348b5d67e\",\"117\":\"1070e832713f892fb0dc\",\"118\":\"f4d4cf0059577bf0d471\",\"119\":\"e13c270a4ca43281536f\",\"120\":\"e83d0921901ada51d4a3\",\"121\":\"360c4900b9d49bd84553\",\"122\":\"547ff5e9024748dafa03\",\"123\":\"b3f8bbb0185a0878579f\",\"124\":\"6e44dadebd4aa190a3a3\",\"125\":\"12688e8ce034bbbf9d8d\",\"126\":\"3dafded9d93c6437a4d7\",\"127\":\"d3023489207885fdd879\",\"128\":\"71be810cef519bd810bc\",\"129\":\"65560815bcb50c7f7291\",\"130\":\"056f84af54ecd9178694\",\"131\":\"162cf5ef44aedd9d81b7\",\"132\":\"1ec3abbe8631fc98d537\",\"133\":\"23800c43821898620c82\",\"134\":\"6a55821c85e77a52ee0a\",\"135\":\"fb17d94231fa2d2b817a\",\"136\":\"a1a3316b65ecf4d16cba\",\"137\":\"e43b5cd8691f1b6a6bba\",\"138\":\"fa67a9db0f75b07c24d0\",\"139\":\"ef803a0b876e6a749e29\",\"140\":\"38dbfb1d53f4406a521d\",\"141\":\"63524b1271e13b56a6dc\",\"142\":\"4a8db7e11eeb1279e437\",\"143\":\"d54b376892dad89cead8\",\"144\":\"a70c6de6ff68de2ead21\",\"145\":\"af5385f2bf89aaa1cd39\",\"146\":\"83ad4d208b676915bd7d\",\"147\":\"d8cceb6d3fc7287cea16\",\"148\":\"005eed1ef4948a3a3497\",\"149\":\"5a9428cab479bb279cc6\",\"150\":\"9f067bb0bb914db82f9f\",\"151\":\"79e3a432873059e74143\",\"152\":\"035ad28a5eaefa0e337b\",\"153\":\"cf0d5857d8a8fcc38b97\",\"154\":\"8100c18d07642168cfa3\",\"155\":\"4dfa25b0023007b6dca3\",\"156\":\"6abef5492e2e9e33f33c\",\"157\":\"d1ffcca8d705da221aaa\",\"158\":\"fa789516814b868eb121\",\"159\":\"93335488199ca9f43888\",\"160\":\"a55f759ba13dc2d13761\",\"161\":\"c61a1cbba34b4d2d2f8a\",\"162\":\"4bd5701a54574e9e6a61\",\"163\":\"51c47162ede554ede878\",\"164\":\"d99d53846fde673be095\",\"165\":\"bdd224805ee514dbb2dc\",\"166\":\"205e1a9c3ead2eaa2cbc\",\"167\":\"012f41fcc1add17b43a5\",\"168\":\"0ff37ca33dff68191ea2\",\"169\":\"4fe5451576a11dbacf88\",\"170\":\"f775b5e7c91b6f49b2da\",\"171\":\"927fed643f3b91050312\",\"172\":\"675f2731a56bc6cc546d\",\"173\":\"cb732c7aaa4899460834\",\"174\":\"21933878f4fbb8400ecf\",\"175\":\"634afb86b6a9321374cd\",\"176\":\"501a2ed62e1cee5575c1\",\"177\":\"1c175c294e725722f77a\",\"178\":\"c662f0ace5a69b742ccc\",\"179\":\"1370b73be12b3f45438b\",\"180\":\"4f163f2a7cd77cb24282\",\"181\":\"dd103d8e001d556b957d\",\"182\":\"c81e1e9adce8b99af03d\",\"183\":\"bd329b9e2710085cb979\",\"184\":\"a072d7e920ed99f7769e\",\"185\":\"2a8702f7b1198ecfa50c\",\"186\":\"36725754089026e626e0\",\"187\":\"80e2295493b792662bb9\",\"188\":\"f704e5dcdab066d5d0d7\",\"189\":\"594bb9941aa79ec5eb29\",\"190\":\"0077abfd82c0f63f4e07\",\"191\":\"8819c9682777621b41f0\",\"192\":\"11da10c78b2a4a1a0548\",\"193\":\"1fca7bd26bb8372f55ca\",\"195\":\"0a53bf85074b03faeb99\",\"198\":\"f0b331e33ce3b10cde75\",\"199\":\"715d6dec5441649e874d\"}[chunkId] + \"\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/js/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"textWebpackJsonp\"] = window[\"textWebpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 175);\n","/*\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 */\n\nconst openMimetypesMarkdown = [\n\t'text/markdown',\n]\n\nconst openMimetypesPlainText = [\n\t'text/plain',\n\t'application/cmd',\n\t'application/x-empty',\n\t'application/x-msdos-program',\n\t'application/epub+zip',\n\t'application/javascript',\n\t'application/json',\n\t'application/x-perl',\n\t'application/x-php',\n\t'application/x-tex',\n\t'application/xml',\n\t'application/yaml',\n\t'text/css',\n\t'text/csv',\n\t'text/html',\n\t'text/x-c',\n\t'text/x-c++src',\n\t'text/x-h',\n\t'text/x-java-source',\n\t'text/x-ldif',\n\t'text/x-python',\n\t'text/x-shellscript',\n]\n\nconst openMimetypes = [...openMimetypesMarkdown, ...openMimetypesPlainText]\n\nexport {\n\topenMimetypes,\n\topenMimetypesMarkdown,\n\topenMimetypesPlainText,\n}\n","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../node_modules/css-loader/dist/cjs.js!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ViewerComponent.vue?vue&type=style&index=0&lang=css&\");\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"4861ac69\", content, true, {});","export * from \"-!../../node_modules/vue-style-loader/index.js!../../node_modules/css-loader/dist/cjs.js!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ViewerComponent.vue?vue&type=style&index=0&lang=css&\"","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \"\\n#editor-container {\\n\\theight: calc(100% - 50px);\\n\\ttop: 50px;\\n}\\n\", \"\"]);\n// Exports\nmodule.exports = exports;\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('EditorWrapper',{attrs:{\"file-id\":_vm.fileid,\"relative-path\":_vm.filename,\"active\":_vm.active,\"share-token\":_vm.shareToken,\"mime\":_vm.mime}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../node_modules/babel-loader/lib/index.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ViewerComponent.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/babel-loader/lib/index.js!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ViewerComponent.vue?vue&type=script&lang=js&\"","<!--\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 -->\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","import { render, staticRenderFns } from \"./ViewerComponent.vue?vue&type=template&id=5ae8db58&\"\nimport script from \"./ViewerComponent.vue?vue&type=script&lang=js&\"\nexport * from \"./ViewerComponent.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ViewerComponent.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","/*\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 */\n\nimport ViewerComponent from './components/ViewerComponent'\nimport { openMimetypesMarkdown, openMimetypesPlainText } from './helpers/mime'\n\n__webpack_nonce__ = btoa(OC.requestToken) // eslint-disable-line\n__webpack_public_path__ = OC.linkTo('text', 'js/') // eslint-disable-line\n\ndocument.addEventListener('DOMContentLoaded', () => {\n\tif (typeof OCA.Viewer === 'undefined') {\n\t\tconsole.error('Viewer app is not installed')\n\t\treturn\n\t}\n\n\tOCA.Viewer.registerHandler({\n\t\tid: 'text',\n\t\tmimes: [...openMimetypesMarkdown, ...openMimetypesPlainText],\n\t\tcomponent: ViewerComponent,\n\t\tgroup: null,\n\t})\n})\n","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent (\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier, /* server only */\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function'\n ? scriptExports.options\n : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) { // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () {\n injectStyles.call(\n this,\n (options.functional ? this.parent : this).$root.$options.shadowRoot\n )\n }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functional component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection (h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing\n ? [].concat(existing, hook)\n : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\n// eslint-disable-next-line func-names\nmodule.exports = function (useSourceMap) {\n var list = []; // return the list of modules as css string\n\n list.toString = function toString() {\n return this.map(function (item) {\n var content = cssWithMappingToString(item, useSourceMap);\n\n if (item[2]) {\n return \"@media \".concat(item[2], \" {\").concat(content, \"}\");\n }\n\n return content;\n }).join('');\n }; // import a list of modules into the list\n // eslint-disable-next-line func-names\n\n\n list.i = function (modules, mediaQuery, dedupe) {\n if (typeof modules === 'string') {\n // eslint-disable-next-line no-param-reassign\n modules = [[null, modules, '']];\n }\n\n var alreadyImportedModules = {};\n\n if (dedupe) {\n for (var i = 0; i < this.length; i++) {\n // eslint-disable-next-line prefer-destructuring\n var id = this[i][0];\n\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n\n for (var _i = 0; _i < modules.length; _i++) {\n var item = [].concat(modules[_i]);\n\n if (dedupe && alreadyImportedModules[item[0]]) {\n // eslint-disable-next-line no-continue\n continue;\n }\n\n if (mediaQuery) {\n if (!item[2]) {\n item[2] = mediaQuery;\n } else {\n item[2] = \"\".concat(mediaQuery, \" and \").concat(item[2]);\n }\n }\n\n list.push(item);\n }\n };\n\n return list;\n};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n var content = item[1] || ''; // eslint-disable-next-line prefer-destructuring\n\n var cssMapping = item[3];\n\n if (!cssMapping) {\n return content;\n }\n\n if (useSourceMap && typeof btoa === 'function') {\n var sourceMapping = toComment(cssMapping);\n var sourceURLs = cssMapping.sources.map(function (source) {\n return \"/*# sourceURL=\".concat(cssMapping.sourceRoot || '').concat(source, \" */\");\n });\n return [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n }\n\n return [content].join('\\n');\n} // Adapted from convert-source-map (MIT)\n\n\nfunction toComment(sourceMap) {\n // eslint-disable-next-line no-undef\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n var data = \"sourceMappingURL=data:application/json;charset=utf-8;base64,\".concat(base64);\n return \"/*# \".concat(data, \" */\");\n}","/**\n * Translates the list format produced by css-loader into something\n * easier to manipulate.\n */\nexport default function listToStyles (parentId, list) {\n var styles = []\n var newStyles = {}\n for (var i = 0; i < list.length; i++) {\n var item = list[i]\n var id = item[0]\n var css = item[1]\n var media = item[2]\n var sourceMap = item[3]\n var part = {\n id: parentId + ':' + i,\n css: css,\n media: media,\n sourceMap: sourceMap\n }\n if (!newStyles[id]) {\n styles.push(newStyles[id] = { id: id, parts: [part] })\n } else {\n newStyles[id].parts.push(part)\n }\n }\n return styles\n}\n","/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n Modified by Evan You @yyx990803\n*/\n\nimport listToStyles from './listToStyles'\n\nvar hasDocument = typeof document !== 'undefined'\n\nif (typeof DEBUG !== 'undefined' && DEBUG) {\n if (!hasDocument) {\n throw new Error(\n 'vue-style-loader cannot be used in a non-browser environment. ' +\n \"Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.\"\n ) }\n}\n\n/*\ntype StyleObject = {\n id: number;\n parts: Array<StyleObjectPart>\n}\n\ntype StyleObjectPart = {\n css: string;\n media: string;\n sourceMap: ?string\n}\n*/\n\nvar stylesInDom = {/*\n [id: number]: {\n id: number,\n refs: number,\n parts: Array<(obj?: StyleObjectPart) => void>\n }\n*/}\n\nvar head = hasDocument && (document.head || document.getElementsByTagName('head')[0])\nvar singletonElement = null\nvar singletonCounter = 0\nvar isProduction = false\nvar noop = function () {}\nvar options = null\nvar ssrIdKey = 'data-vue-ssr-id'\n\n// Force single-tag solution on IE6-9, which has a hard limit on the # of <style>\n// tags it will allow on a page\nvar isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase())\n\nexport default function addStylesClient (parentId, list, _isProduction, _options) {\n isProduction = _isProduction\n\n options = _options || {}\n\n var styles = listToStyles(parentId, list)\n addStylesToDom(styles)\n\n return function update (newList) {\n var mayRemove = []\n for (var i = 0; i < styles.length; i++) {\n var item = styles[i]\n var domStyle = stylesInDom[item.id]\n domStyle.refs--\n mayRemove.push(domStyle)\n }\n if (newList) {\n styles = listToStyles(parentId, newList)\n addStylesToDom(styles)\n } else {\n styles = []\n }\n for (var i = 0; i < mayRemove.length; i++) {\n var domStyle = mayRemove[i]\n if (domStyle.refs === 0) {\n for (var j = 0; j < domStyle.parts.length; j++) {\n domStyle.parts[j]()\n }\n delete stylesInDom[domStyle.id]\n }\n }\n }\n}\n\nfunction addStylesToDom (styles /* Array<StyleObject> */) {\n for (var i = 0; i < styles.length; i++) {\n var item = styles[i]\n var domStyle = stylesInDom[item.id]\n if (domStyle) {\n domStyle.refs++\n for (var j = 0; j < domStyle.parts.length; j++) {\n domStyle.parts[j](item.parts[j])\n }\n for (; j < item.parts.length; j++) {\n domStyle.parts.push(addStyle(item.parts[j]))\n }\n if (domStyle.parts.length > item.parts.length) {\n domStyle.parts.length = item.parts.length\n }\n } else {\n var parts = []\n for (var j = 0; j < item.parts.length; j++) {\n parts.push(addStyle(item.parts[j]))\n }\n stylesInDom[item.id] = { id: item.id, refs: 1, parts: parts }\n }\n }\n}\n\nfunction createStyleElement () {\n var styleElement = document.createElement('style')\n styleElement.type = 'text/css'\n head.appendChild(styleElement)\n return styleElement\n}\n\nfunction addStyle (obj /* StyleObjectPart */) {\n var update, remove\n var styleElement = document.querySelector('style[' + ssrIdKey + '~=\"' + obj.id + '\"]')\n\n if (styleElement) {\n if (isProduction) {\n // has SSR styles and in production mode.\n // simply do nothing.\n return noop\n } else {\n // has SSR styles but in dev mode.\n // for some reason Chrome can't handle source map in server-rendered\n // style tags - source maps in <style> only works if the style tag is\n // created and inserted dynamically. So we remove the server rendered\n // styles and inject new ones.\n styleElement.parentNode.removeChild(styleElement)\n }\n }\n\n if (isOldIE) {\n // use singleton mode for IE9.\n var styleIndex = singletonCounter++\n styleElement = singletonElement || (singletonElement = createStyleElement())\n update = applyToSingletonTag.bind(null, styleElement, styleIndex, false)\n remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true)\n } else {\n // use multi-style-tag mode in all other cases\n styleElement = createStyleElement()\n update = applyToTag.bind(null, styleElement)\n remove = function () {\n styleElement.parentNode.removeChild(styleElement)\n }\n }\n\n update(obj)\n\n return function updateStyle (newObj /* StyleObjectPart */) {\n if (newObj) {\n if (newObj.css === obj.css &&\n newObj.media === obj.media &&\n newObj.sourceMap === obj.sourceMap) {\n return\n }\n update(obj = newObj)\n } else {\n remove()\n }\n }\n}\n\nvar replaceText = (function () {\n var textStore = []\n\n return function (index, replacement) {\n textStore[index] = replacement\n return textStore.filter(Boolean).join('\\n')\n }\n})()\n\nfunction applyToSingletonTag (styleElement, index, remove, obj) {\n var css = remove ? '' : obj.css\n\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = replaceText(index, css)\n } else {\n var cssNode = document.createTextNode(css)\n var childNodes = styleElement.childNodes\n if (childNodes[index]) styleElement.removeChild(childNodes[index])\n if (childNodes.length) {\n styleElement.insertBefore(cssNode, childNodes[index])\n } else {\n styleElement.appendChild(cssNode)\n }\n }\n}\n\nfunction applyToTag (styleElement, obj) {\n var css = obj.css\n var media = obj.media\n var sourceMap = obj.sourceMap\n\n if (media) {\n styleElement.setAttribute('media', media)\n }\n if (options.ssrId) {\n styleElement.setAttribute(ssrIdKey, obj.id)\n }\n\n if (sourceMap) {\n // https://developer.chrome.com/devtools/docs/javascript-debugging\n // this makes source maps inside style tags work properly in Chrome\n css += '\\n/*# sourceURL=' + sourceMap.sources[0] + ' */'\n // http://stackoverflow.com/a/26603875\n css += '\\n/*# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + ' */'\n }\n\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild)\n }\n styleElement.appendChild(document.createTextNode(css))\n }\n}\n"],"sourceRoot":""}
|