(function(){"use strict";var e="3.3.1",n="1.12.1",i=function(){var e,n,i,o=window.location.search;return e=o&&(n=o.match(/lang=([a-zA-Z_-]+)/))?n[1]:navigator.browserLanguage||navigator.language||navigator.userLanguage,i=(e||"en").substr(0,2),"pt"===i?i="pt_BR":"ug"===i?i="ug_CN":"zh"===i&&(i="zh-tw"===e.substr(0,5).toLowerCase()?"zh_TW":"zh_CN"),i}(),o=function(e,o,t){e.prototype.loadCss("//cdnjs.cloudflare.com/ajax/libs/jqueryui/"+n+"/themes/smoothness/jquery-ui.css"),$((function(){var e={commandsOptions:{edit:{editors:Array.isArray(o)?o:[]}}},n={};t&&t.managers?$.each(t.managers,(function(a,s){n=Object.assign(n,t.defaultOpts||{});try{s.commandsOptions.edit.editors=s.commandsOptions.edit.editors.concat(o||[])}catch(c){Object.assign(s,e)}$("#"+a).elfinder($.extend(!0,{lang:i},n,s||{}),(function(e,n){e.bind("init",(function(){"ja"===e.lang&&require(["encoding-japanese"],(function(n){n&&n.convert&&e.registRawStringDecoder((function(e){return n.convert(e,{to:"UNICODE",type:"string"})}))}))}))}))})):alert('"elFinderConfig" object is wrong.')}))},t=function(){require(["elfinder","extras/editors.default.min","elFinderConfig"],o,(function(e){alert(e.message)}))},a="undefined"===typeof window.addEventListener&&"undefined"===typeof document.getElementsByClassName||!window.chrome&&!document.unqueID&&!window.opera&&!window.sidebar&&"WebkitAppearance"in document.documentElement.style&&document.body.style&&"undefined"===typeof document.body.style.webkitFilter;require.config({baseUrl:"js",paths:{jquery:"//cdnjs.cloudflare.com/ajax/libs/jquery/"+(a?"1.12.4":e)+"/jquery.min","jquery-ui":"//cdnjs.cloudflare.com/ajax/libs/jqueryui/"+n+"/jquery-ui.min",elfinder:"elfinder.min","encoding-japanese":"//cdn.rawgit.com/polygonplanet/encoding.js/1.0.26/encoding.min"},waitSeconds:10}),require.defined("elFinderConfig")||define("elFinderConfig",{defaultOpts:{url:"php/connector.minimal.php",commandsOptions:{edit:{extraOptions:{creativeCloudApiKey:"",managerUrl:""}},quicklook:{sharecadMimes:["image/vnd.dwg","image/vnd.dxf","model/vnd.dwf","application/vnd.hp-hpgl","application/plt","application/step","model/iges","application/vnd.ms-pki.stl","application/sat","image/cgm","application/x-msmetafile"],googleDocsMimes:["application/pdf","image/tiff","application/vnd.ms-office","application/msword","application/vnd.ms-word","application/vnd.ms-excel","application/vnd.ms-powerpoint","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.openxmlformats-officedocument.presentationml.presentation","application/postscript","application/rtf"],officeOnlineMimes:["application/vnd.ms-office","application/msword","application/vnd.ms-word","application/vnd.ms-excel","application/vnd.ms-powerpoint","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.openxmlformats-officedocument.presentationml.presentation","application/vnd.oasis.opendocument.text","application/vnd.oasis.opendocument.spreadsheet","application/vnd.oasis.opendocument.presentation"]}}},managers:{elfinder:{}}}),t()})();