a)_+=2;else if(x>s)m+=2;else if(g){var C=c+h-k;if(C>=0&&C=S)return this.diff_bisectSplit_(e,i,L,x,o)}}}for(var j=-b+v;j<=b-y;j+=2){C=c+j;S=j==-b||j!=b&&p[C-1]a)y+=2;else if(T>s)v+=2;else if(!g){w=c+h-j;if(w>=0&&w=S)return this.diff_bisectSplit_(e,i,L,x,o)}}}}return[new t.Diff(n,e),new t.Diff(r,i)]},t.prototype.diff_bisectSplit_=function(e,t,n,r,i){var o=e.substring(0,n),a=t.substring(0,r),s=e.substring(n),l=t.substring(r),c=this.diff_main(o,a,!1,i),u=this.diff_main(s,l,!1,i);return c.concat(u)},t.prototype.diff_linesToChars_=function(e,t){var n=[],r={};function i(e){var t="",i=0,a=-1,s=n.length;while(ar?e=e.substring(n-r):nt.length?e:t,r=e.length>t.length?t:e;if(n.length<4||2*r.length=e.length?[r,o,a,s,u]:null}var a,s,l,c,u,d=o(n,r,Math.ceil(n.length/4)),p=o(n,r,Math.ceil(n.length/2));if(!d&&!p)return null;a=p?d&&d[4].length>p[4].length?d:p:d,e.length>t.length?(s=a[0],l=a[1],c=a[2],u=a[3]):(c=a[0],u=a[1],s=a[2],l=a[3]);var f=a[4];return[s,l,c,u,f]},t.prototype.diff_cleanupSemantic=function(e){var o=!1,a=[],s=0,l=null,c=0,u=0,d=0,p=0,f=0;while(c0?a[s-1]:-1,u=0,d=0,p=0,f=0,l=null,o=!0)),c++;o&&this.diff_cleanupMerge(e),this.diff_cleanupSemanticLossless(e),c=1;while(c=_?(m>=h.length/2||m>=g.length/2)&&(e.splice(c,0,new t.Diff(i,g.substring(0,m))),e[c-1][1]=h.substring(0,h.length-m),e[c+1][1]=g.substring(m),c++):(_>=h.length/2||_>=g.length/2)&&(e.splice(c,0,new t.Diff(i,h.substring(0,_))),e[c-1][0]=r,e[c-1][1]=g.substring(0,g.length-_),e[c+1][0]=n,e[c+1][1]=h.substring(_),c++),c++}c++}},t.prototype.diff_cleanupSemanticLossless=function(e){function n(e,n){if(!e||!n)return 6;var r=e.charAt(e.length-1),i=n.charAt(0),o=r.match(t.nonAlphaNumericRegex_),a=i.match(t.nonAlphaNumericRegex_),s=o&&r.match(t.whitespaceRegex_),l=a&&i.match(t.whitespaceRegex_),c=s&&r.match(t.linebreakRegex_),u=l&&i.match(t.linebreakRegex_),d=c&&e.match(t.blanklineEndRegex_),p=u&&n.match(t.blanklineStartRegex_);return d||p?5:c||u?4:o&&!s&&l?3:s||l?2:o||a?1:0}var r=1;while(r=f&&(f=h,u=o,d=a,p=s)}e[r-1][1]!=u&&(u?e[r-1][1]=u:(e.splice(r-1,1),r--),e[r][1]=d,p?e[r+1][1]=p:(e.splice(r+1,1),r--))}r++}},t.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,t.whitespaceRegex_=/\s/,t.linebreakRegex_=/[\r\n]/,t.blanklineEndRegex_=/\n\r?\n$/,t.blanklineStartRegex_=/^\r?\n\r?\n/,t.prototype.diff_cleanupEfficiency=function(e){var o=!1,a=[],s=0,l=null,c=0,u=!1,d=!1,p=!1,f=!1;while(c0?a[s-1]:-1,p=f=!1),o=!0)),c++;o&&this.diff_cleanupMerge(e)},t.prototype.diff_cleanupMerge=function(e){e.push(new t.Diff(i,""));var o,a=0,s=0,l=0,c="",u="";while(a1?(0!==s&&0!==l&&(o=this.diff_commonPrefix(u,c),0!==o&&(a-s-l>0&&e[a-s-l-1][0]==i?e[a-s-l-1][1]+=u.substring(0,o):(e.splice(0,0,new t.Diff(i,u.substring(0,o))),a++),u=u.substring(o),c=c.substring(o)),o=this.diff_commonSuffix(u,c),0!==o&&(e[a][1]=u.substring(u.length-o)+e[a][1],u=u.substring(0,u.length-o),c=c.substring(0,c.length-o))),a-=s+l,e.splice(a,s+l),c.length&&(e.splice(a,0,new t.Diff(n,c)),a++),u.length&&(e.splice(a,0,new t.Diff(r,u)),a++),a++):0!==a&&e[a-1][0]==i?(e[a-1][1]+=e[a][1],e.splice(a,1)):a++,l=0,s=0,c="",u="";break}""===e[e.length-1][1]&&e.pop();var d=!1;a=1;while(at)break;s=o,l=a}return e.length!=i&&e[i][0]===n?l:l+(t-s)},t.prototype.diff_prettyHtml=function(e){for(var t=[],o=/&/g,a=//g,l=/\n/g,c=0;c");switch(u){case r:t[c]=''+p+"";break;case n:t[c]=''+p+"";break;case i:t[c]=""+p+"";break}}return t.join("")},t.prototype.diff_text1=function(e){for(var t=[],n=0;nthis.Match_MaxBits)throw new Error("Pattern too long for this browser.");var r=this.match_alphabet_(t),i=this;function o(e,r){var o=e/t.length,a=Math.abs(n-r);return i.Match_Distance?o+a/i.Match_Distance:a?1:o}var a=this.Match_Threshold,s=e.indexOf(t,n);-1!=s&&(a=Math.min(o(0,s),a),s=e.lastIndexOf(t,n+t.length),-1!=s&&(a=Math.min(o(0,s),a)));var l,c,u=1<=h;_--){var v=r[e.charAt(_-1)];if(m[_]=0===f?(m[_+1]<<1|1)&v:(m[_+1]<<1|1)&v|(d[_+1]|d[_])<<1|1|d[_+1],m[_]&u){var y=o(f,_-1);if(y<=a){if(a=y,s=_-1,!(s>n))break;h=Math.max(1,2*n-s)}}}if(o(f+1,n)>a)break;d=m}return s},t.prototype.match_alphabet_=function(e){for(var t={},n=0;n2&&(this.diff_cleanupSemantic(l),this.diff_cleanupEfficiency(l));else if(e&&"object"==typeof e&&"undefined"==typeof o&&"undefined"==typeof a)l=e,s=this.diff_text1(l);else if("string"==typeof e&&o&&"object"==typeof o&&"undefined"==typeof a)s=e,l=o;else{if("string"!=typeof e||"string"!=typeof o||!a||"object"!=typeof a)throw new Error("Unknown call format to patch_make.");s=e,l=a}if(0===l.length)return[];for(var c=[],u=new t.patch_obj,d=0,p=0,f=0,h=s,g=s,m=0;m=2*this.Patch_Margin&&d&&(this.patch_addContext_(u,h),c.push(u),u=new t.patch_obj,d=0,h=g,p=f);break}_!==r&&(p+=v.length),_!==n&&(f+=v.length)}return d&&(this.patch_addContext_(u,h),c.push(u)),c},t.prototype.patch_deepCopy=function(e){for(var n=[],r=0;rthis.Match_MaxBits?(c=this.match_main(t,p.substring(0,this.Match_MaxBits),d),-1!=c&&(f=this.match_main(t,p.substring(p.length-this.Match_MaxBits),d+p.length-this.Match_MaxBits),(-1==f||c>=f)&&(c=-1))):c=this.match_main(t,p,d),-1==c)s[l]=!1,a-=e[l].length2-e[l].length1;else if(s[l]=!0,a=c-d,u=-1==f?t.substring(c,c+p.length):t.substring(c,f+this.Match_MaxBits),p==u)t=t.substring(0,c)+this.diff_text2(e[l].diffs)+t.substring(c+p.length);else{var h=this.diff_main(p,u,!1);if(p.length>this.Match_MaxBits&&this.diff_levenshtein(h)/p.length>this.Patch_DeleteThreshold)s[l]=!1;else{this.diff_cleanupSemanticLossless(h);for(var g,m=0,_=0;_s[0][1].length){var l=n-s[0][1].length;s[0][1]=r.substring(s[0][1].length)+s[0][1],a.start1-=l,a.start2-=l,a.length1+=l,a.length2+=l}if(a=e[e.length-1],s=a.diffs,0==s.length||s[s.length-1][0]!=i)s.push(new t.Diff(i,r)),a.length1+=n,a.length2+=n;else if(n>s[s.length-1][1].length){l=n-s[s.length-1][1].length;s[s.length-1][1]+=r.substring(0,l),a.length1+=l,a.length2+=l}return r},t.prototype.patch_splitMax=function(e){for(var o=this.Match_MaxBits,a=0;a2*o?(d.length1+=h.length,l+=h.length,p=!1,d.diffs.push(new t.Diff(f,h)),s.diffs.shift()):(h=h.substring(0,o-d.length1-this.Patch_Margin),d.length1+=h.length,l+=h.length,f===i?(d.length2+=h.length,c+=h.length):p=!1,d.diffs.push(new t.Diff(f,h)),h==s.diffs[0][1]?s.diffs.shift():s.diffs[0][1]=s.diffs[0][1].substring(h.length))}u=this.diff_text2(d.diffs),u=u.substring(u.length-this.Patch_Margin);var g=this.diff_text1(s.diffs).substring(0,this.Patch_Margin);""!==g&&(d.length1+=g.length,d.length2+=g.length,0!==d.diffs.length&&d.diffs[d.diffs.length-1][0]===i?d.diffs[d.diffs.length-1][1]+=g:d.diffs.push(new t.Diff(i,g))),p||e.splice(++a,0,d)}}},t.prototype.patch_toText=function(e){for(var t=[],n=0;ng.handleClose&&g.handleClose(...e),["self"]))},[(0,r.Lk)("div",a,[(0,r.Lk)("div",s,[t[8]||(t[8]=(0,r.Lk)("h3",null,"Settings",-1)),(0,r.Lk)("div",{class:"close-btn",onClick:t[0]||(t[0]=(...e)=>g.handleClose&&g.handleClose(...e))},[(0,r.bF)(m,{size:20})])]),(0,r.Lk)("div",l,[(0,r.Lk)("div",c,[t[10]||(t[10]=(0,r.Lk)("label",null,"Theme",-1)),(0,r.bo)((0,r.Lk)("select",{"onUpdate:modelValue":t[1]||(t[1]=e=>h.localSettings.theme=e),onChange:t[2]||(t[2]=e=>g.updateTheme(h.localSettings.theme)),class:"setting-select"},t[9]||(t[9]=[(0,r.Lk)("option",{value:"light"},"Light",-1),(0,r.Lk)("option",{value:"dark"},"Dark",-1),(0,r.Lk)("option",{value:"contrast"},"High Contrast",-1)]),544),[[i.u1,h.localSettings.theme]])]),(0,r.Lk)("div",u,[t[12]||(t[12]=(0,r.Lk)("label",null,"Font Size",-1)),(0,r.bo)((0,r.Lk)("select",{"onUpdate:modelValue":t[3]||(t[3]=e=>h.localSettings.fontSize=e),onChange:t[4]||(t[4]=e=>g.updateFontSize(h.localSettings.fontSize)),class:"setting-select"},t[11]||(t[11]=[(0,r.Fv)('',5)]),544),[[i.u1,h.localSettings.fontSize]])]),(0,r.Lk)("div",d,[t[14]||(t[14]=(0,r.Lk)("label",null,"Show Line Numbers",-1)),(0,r.Lk)("div",{class:"switch-container",onClick:t[5]||(t[5]=(...e)=>g.toggleLineNumbers&&g.toggleLineNumbers(...e))},[(0,r.Lk)("div",{class:(0,o.C4)(["switch",{"switch-on":h.localSettings.showLineNumbers}])},t[13]||(t[13]=[(0,r.Lk)("div",{class:"switch-handle"},null,-1)]),2)])]),(0,r.Lk)("div",p,[(0,r.Lk)("button",{class:"close-button",onClick:t[6]||(t[6]=(...e)=>g.handleClose&&g.handleClose(...e))},"Close")])])])])):(0,r.Q3)("",!0)}var h=n(6494),g={name:"SettingsModal",components:{X:h.A},props:{modelValue:{type:Boolean,default:!1}},data(){return{localSettings:{theme:"dark",fontSize:"14",showLineNumbers:!0,autoSave:!1,autoSaveInterval:"60",autoSaveNotifications:!0}}},computed:{visible:{get(){return this.modelValue},set(e){this.$emit("update:modelValue",e)}}},mounted(){this.loadSettings()},methods:{loadSettings(){const e=localStorage.getItem("theme");e&&(this.localSettings.theme=e);const t=localStorage.getItem("fontSize");t&&(this.localSettings.fontSize=t);const n=localStorage.getItem("showLineNumbers");null!==n&&(this.localSettings.showLineNumbers="true"===n);const r=localStorage.getItem("autoSave");null!==r&&(this.localSettings.autoSave="true"===r);const i=localStorage.getItem("autoSaveInterval");i&&(this.localSettings.autoSaveInterval=i);const o=localStorage.getItem("autoSaveNotifications");null!==o&&(this.localSettings.autoSaveNotifications="true"===o),document.documentElement.setAttribute("data-theme",this.localSettings.theme)},updateTheme(e){document.documentElement.setAttribute("data-theme",e),localStorage.setItem("theme",e)},updateFontSize(e){localStorage.setItem("fontSize",e),this.$emit("update-font-size",e)},updateLineNumbers(e){localStorage.setItem("showLineNumbers",e),this.$emit("update-line-numbers",e)},updateAutoSave(e){localStorage.setItem("autoSave",e),this.$emit("update-auto-save",e)},updateAutoSaveInterval(e){localStorage.setItem("autoSaveInterval",e),this.$emit("update-auto-save-interval",e)},updateAutoSaveNotifications(e){localStorage.setItem("autoSaveNotifications",e),this.$emit("update-auto-save-notifications",e)},toggleLineNumbers(){this.localSettings.showLineNumbers=!this.localSettings.showLineNumbers,this.updateLineNumbers(this.localSettings.showLineNumbers)},toggleAutoSave(){this.localSettings.autoSave=!this.localSettings.autoSave,this.updateAutoSave(this.localSettings.autoSave)},toggleAutoSaveNotifications(){this.localSettings.autoSaveNotifications=!this.localSettings.autoSaveNotifications,this.updateAutoSaveNotifications(this.localSettings.autoSaveNotifications)},handleClose(){this.visible=!1}}},m=n(66262);const _=(0,m.A)(g,[["render",f],["__scopeId","data-v-66da283c"]]);var v=_},4115:function(e,t,n){"use strict";e.exports=n.p+"static/img/file_type_xml.972323ec.svg"},4413:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FileNamesToIcon=void 0,t.FileNamesToIcon={".angular-cli.json":"file_type_angular.svg","angular-cli.json":"file_type_angular.svg","angular.json":"file_type_angular.svg",".angular.json":"file_type_angular.svg","api-extractor.json":"file_type_api_extractor.svg","api-extractor-base.json":"file_type_api_extractor.svg",".appsemblerc.yaml":"file_type_appsemble.svg","app-definition.yaml":"file_type_appsemble.svg","appveyor.yml":"file_type_appveyor.svg",".appveyor.yml":"file_type_appveyor.svg","astro.config.js":"file_type_astroconfig.svg","astro.config.cjs":"file_type_astroconfig.svg","astro.config.mjs":"file_type_astroconfig.svg","aurelia.json":"file_type_aurelia.svg","azure-pipelines.yml":"file_type_azurepipelines.svg",".vsts-ci.yml":"file_type_azurepipelines.svg",".babelrc":"file_type_light_babel.svg",".babelignore":"file_type_light_babel.svg",".babelrc.js":"file_type_light_babel.svg",".babelrc.cjs":"file_type_light_babel.svg",".babelrc.mjs":"file_type_light_babel.svg",".babelrc.json":"file_type_light_babel.svg","babel.config.js":"file_type_light_babel.svg","babel.config.cjs":"file_type_light_babel.svg","babel.config.mjs":"file_type_light_babel.svg","babel.config.json":"file_type_light_babel.svg",".bzrignore":"file_type_bazaar.svg","BUILD.bazel":"file_type_bazel.svg",".bazelrc":"file_type_bazel.svg","bazel.rc":"file_type_bazel.svg","bazel.bazelrc":"file_type_bazel.svg","bitbucket-pipelines.yml":"file_type_bitbucketpipeline.svg",".bithoundrc":"file_type_bithound.svg",".bowerrc":"file_type_bower.svg","bower.json":"file_type_bower.svg",".browserslistrc":"file_type_browserslist.svg",browserslist:"file_type_browserslist.svg",".buckconfig":"file_type_buckbuild.svg",gemfile:"file_type_bundler.svg","gemfile.lock":"file_type_bundler.svg","capacitor.config.json":"file_type_capacitor.svg","cargo.toml":"file_type_cargo.svg","cargo.lock":"file_type_cargo.svg",chefignore:"file_type_chef.svg",berksfile:"file_type_chef.svg","berksfile.lock":"file_type_chef.svg","policyfile.rb":"file_type_chef.svg","policyfile.lock.json":"file_type_chef.svg","circle.yml":"file_type_light_circleci.svg",".cfignore":"file_type_light_cloudfoundry.svg",".codacy.yml":"file_type_light_codacy.svg",".codacy.yaml":"file_type_light_codacy.svg",".codeclimate.yml":"file_type_light_codeclimate.svg","codecov.yml":"file_type_codecov.svg",".codecov.yml":"file_type_codecov.svg","config.codekit":"file_type_codekit.svg","config.codekit2":"file_type_codekit.svg","config.codekit3":"file_type_codekit.svg",".config.codekit":"file_type_codekit.svg",".config.codekit2":"file_type_codekit.svg",".config.codekit3":"file_type_codekit.svg","coffeelint.json":"file_type_coffeelint.svg",".coffeelintignore":"file_type_coffeelint.svg","commitlint.config.js":"file_type_commitlint.svg",".commitlintrc.js":"file_type_commitlint.svg",".commitlintrc.json":"file_type_commitlint.svg",".commitlintrc.yml":"file_type_commitlint.svg","composer.json":"file_type_composer.svg","composer.lock":"file_type_composer.svg","conanfile.txt":"file_type_conan.svg","conanfile.py":"file_type_conan.svg",".condarc":"file_type_conda.svg",".coveralls.yml":"file_type_coveralls.svg","crowdin.yml":"file_type_crowdin.svg",".csscomb.json":"file_type_csscomb.svg",".csslintrc":"file_type_csslint.svg",".cvsignore":"file_type_cvs.svg","cypress.json":"file_type_cypress.svg","cypress.env.json":"file_type_cypress.svg",".boringignore":"file_type_darcs.svg","dependabot.yml":"file_type_dependabot.svg","dependencies.yml":"file_type_dependencies.svg","devcontainer.json":"file_type_devcontainer.svg",".devcontainer.json":"file_type_devcontainer.svg","compose.yaml":"file_type_docker.svg","compose.yml":"file_type_docker.svg","docker-compose.yaml":"file_type_docker.svg","docker-compose.yml":"file_type_docker.svg","docker-compose.ci-build.yaml":"file_type_docker.svg","docker-compose.ci-build.yml":"file_type_docker.svg","docker-compose.override.yaml":"file_type_docker.svg","docker-compose.override.yml":"file_type_docker.svg","docker-compose.vs.debug.yaml":"file_type_docker.svg","docker-compose.vs.debug.yml":"file_type_docker.svg","docker-compose.vs.release.yaml":"file_type_docker.svg","docker-compose.vs.release.yml":"file_type_docker.svg","docker-cloud.yaml":"file_type_docker.svg","docker-cloud.yml":"file_type_docker.svg","docker-compose.test.yml":"file_type_dockertest.svg",".doczrc":"file_type_docz.svg","docz.js":"file_type_docz.svg","docz.json":"file_type_docz.svg",".docz.js":"file_type_docz.svg",".docz.json":"file_type_docz.svg","doczrc.js":"file_type_docz.svg","doczrc.json":"file_type_docz.svg","docz.config.js":"file_type_docz.svg","docz.config.json":"file_type_docz.svg",".dojorc":"file_type_dojo.svg",".drone.yml":"file_type_light_drone.svg",".drone.yml.sig":"file_type_light_drone.svg",".dvc":"file_type_dvc.svg",".editorconfig":"file_type_editorconfig.svg","elm-package.json":"file_type_elm.svg",".ember-cli":"file_type_ember.svg",emakefile:"file_type_erlang.svg",".emakerfile":"file_type_erlang.svg",".eslintrc":"file_type_eslint.svg",".eslintignore":"file_type_eslint.svg",".eslintcache":"file_type_eslint.svg",".eslintrc.js":"file_type_eslint.svg",".eslintrc.mjs":"file_type_eslint.svg",".eslintrc.cjs":"file_type_eslint.svg",".eslintrc.json":"file_type_eslint.svg",".eslintrc.yaml":"file_type_eslint.svg",".eslintrc.yml":"file_type_eslint.svg","app.json":"file_type_light_expo.svg","app.config.js":"file_type_light_expo.svg","app.config.json":"file_type_light_expo.svg","app.config.json5":"file_type_light_expo.svg",".faunarc":"file_type_fauna.svg","favicon.ico":"file_type_favicon.svg",".firebaserc":"file_type_firebase.svg","firebase.json":"file_type_light_firebasehosting.svg","firestore.rules":"file_type_firestore.svg","firestore.indexes.json":"file_type_firestore.svg",".flooignore":"file_type_floobits.svg",".flowconfig":"file_type_flow.svg",".flutter-plugins":"file_type_flutter.svg",".metadata":"file_type_flutter.svg","pubspec.lock":"file_type_flutter_package.svg","pubspec.yaml":"file_type_flutter_package.svg",".packages":"file_type_flutter_package.svg",".fossaignore":"file_type_fossa.svg","ignore-glob":"file_type_fossil.svg","fuse.js":"file_type_fusebox.svg","gatsby-config.js":"file_type_gatsby.svg","gatsby-config.ts":"file_type_gatsby.svg","gatsby-node.js":"file_type_gatsby.svg","gatsby-node.ts":"file_type_gatsby.svg","gatsby-browser.js":"file_type_gatsby.svg","gatsby-browser.ts":"file_type_gatsby.svg","gatsby-ssr.js":"file_type_gatsby.svg","gatsby-ssr.ts":"file_type_gatsby.svg",".gitattributes":"file_type_git.svg",".gitconfig":"file_type_git.svg",".gitignore":"file_type_git.svg",".gitmodules":"file_type_git.svg",".gitkeep":"file_type_git.svg",".mailmap":"file_type_git.svg",".gitlab-ci.yml":"file_type_gitlab.svg",".gitpod.yaml":"file_type_gitpod.svg",".gitpod.yml":"file_type_gitpod.svg","gitpod.yaml":"file_type_gitpod.svg","gitpod.yml":"file_type_gitpod.svg","glide.yml":"file_type_glide.svg",".glitterrc":"file_type_glitter.svg","go.sum":"file_type_go_package.svg","go.mod":"file_type_go_package.svg",".gqlconfig":"file_type_graphql.svg",".graphqlconfig":"file_type_graphql_config.svg",".graphqlconfig.yml":"file_type_graphql_config.svg",".graphqlconfig.yaml":"file_type_graphql_config.svg","greenkeeper.json":"file_type_greenkeeper.svg","gridsome.config.js":"file_type_gridsome.svg","gridsome.config.ts":"file_type_gridsome.svg","gridsome.server.js":"file_type_gridsome.svg","gridsome.server.ts":"file_type_gridsome.svg","gridsome.client.js":"file_type_gridsome.svg","gridsome.client.ts":"file_type_gridsome.svg","gruntfile.js":"file_type_grunt.svg","gruntfile.coffee":"file_type_grunt.svg","gruntfile.ts":"file_type_grunt.svg","gruntfile.babel.js":"file_type_grunt.svg","gruntfile.babel.coffee":"file_type_grunt.svg","gruntfile.babel.ts":"file_type_grunt.svg","gulpfile.js":"file_type_gulp.svg","gulpfile.coffee":"file_type_gulp.svg","gulpfile.ts":"file_type_gulp.svg","gulpfile.mjs":"file_type_gulp.svg","gulpfile.esm.js":"file_type_gulp.svg","gulpfile.esm.coffee":"file_type_gulp.svg","gulpfile.esm.ts":"file_type_gulp.svg","gulpfile.esm.mjs":"file_type_gulp.svg","gulpfile.babel.js":"file_type_gulp.svg","gulpfile.babel.coffee":"file_type_gulp.svg","gulpfile.babel.ts":"file_type_gulp.svg","gulpfile.babel.mjs":"file_type_gulp.svg","haxelib.json":"file_type_haxe.svg","checkstyle.json":"file_type_haxecheckstyle.svg",".p4ignore":"file_type_helix.svg","chart.lock":"file_type_helm.svg","chart.yaml":"file_type_helm.svg","horusec-config.json":"file_type_horusec.svg",".htmlhintrc":"file_type_htmlhint.svg",".huskyrc":"file_type_husky.svg","husky.config.js":"file_type_husky.svg",".huskyrc.js":"file_type_husky.svg",".huskyrc.json":"file_type_husky.svg",".huskyrc.yaml":"file_type_husky.svg",".huskyrc.yml":"file_type_husky.svg","ionic.project":"file_type_ionic.svg","ionic.config.json":"file_type_ionic.svg",jakefile:"file_type_jake.svg","jakefile.js":"file_type_jake.svg","jasmine.json":"file_type_jasmine.svg","jest.config.json":"file_type_jest.svg","jest.config.base.json":"file_type_jest.svg","jest.config.common.json":"file_type_jest.svg","jest.config.ts":"file_type_jest.svg","jest.config.base.ts":"file_type_jest.svg","jest.config.common.ts":"file_type_jest.svg","jest.json":"file_type_jest.svg",".jestrc":"file_type_jest.svg",".jestrc.js":"file_type_jest.svg",".jestrc.json":"file_type_jest.svg","jest.config.js":"file_type_jest.svg","jest.config.cjs":"file_type_jest.svg","jest.config.mjs":"file_type_jest.svg","jest.config.base.js":"file_type_jest.svg","jest.config.base.cjs":"file_type_jest.svg","jest.config.base.mjs":"file_type_jest.svg","jest.config.common.js":"file_type_jest.svg","jest.config.common.cjs":"file_type_jest.svg","jest.config.common.mjs":"file_type_jest.svg","jest.config.babel.js":"file_type_jest.svg","jest.config.babel.cjs":"file_type_jest.svg","jest.config.babel.mjs":"file_type_jest.svg",".jpmignore":"file_type_jpm.svg",".jsbeautifyrc":"file_type_jsbeautify.svg",jsbeautifyrc:"file_type_jsbeautify.svg",".jsbeautify":"file_type_jsbeautify.svg",jsbeautify:"file_type_jsbeautify.svg","jsconfig.json":"file_type_light_jsconfig.svg",".jscpd.json":"file_type_jscpd.svg","jscpd-report.xml":"file_type_jscpd.svg","jscpd-report.json":"file_type_jscpd.svg","jscpd-report.html":"file_type_jscpd.svg",".jshintrc":"file_type_jshint.svg",".jshintignore":"file_type_jshint.svg","karma.conf.js":"file_type_karma.svg","karma.conf.coffee":"file_type_karma.svg","karma.conf.ts":"file_type_karma.svg",".kitchen.yml":"file_type_kitchenci.svg","kitchen.yml":"file_type_kitchenci.svg",".kiteignore":"file_type_light_kite.svg","layout.html":"file_type_layout.svg","layout.htm":"file_type_layout.svg","lerna.json":"file_type_light_lerna.svg",license:"file_type_license.svg",licence:"file_type_license.svg",copying:"file_type_license.svg","copying.lesser":"file_type_license.svg","license.md":"file_type_license.svg","license.txt":"file_type_license.svg","licence.md":"file_type_license.svg","licence.txt":"file_type_license.svg","copying.md":"file_type_license.svg","copying.txt":"file_type_license.svg","copying.lesser.md":"file_type_license.svg","copying.lesser.txt":"file_type_license.svg",".licrc":"file_type_licensebat.svg",".lighthouserc.js":"file_type_lighthouse.svg",".lighthouserc.json":"file_type_lighthouse.svg",".lighthouserc.yaml":"file_type_lighthouse.svg",".lighthouserc.yml":"file_type_lighthouse.svg","include.xml":"file_type_lime.svg",".lintstagedrc":"file_type_lintstagedrc.svg","lint-staged.config.js":"file_type_lintstagedrc.svg",".lintstagedrc.js":"file_type_lintstagedrc.svg",".lintstagedrc.json":"file_type_lintstagedrc.svg",".lintstagedrc.yaml":"file_type_lintstagedrc.svg",".lintstagedrc.yml":"file_type_lintstagedrc.svg",manifest:"file_type_manifest.svg","manifest.bak":"file_type_manifest_bak.svg","manifest.skip":"file_type_manifest_skip.svg",".markdownlint.json":"file_type_markdownlint.svg","maven.config":"file_type_maven.svg","pom.xml":"file_type_maven.svg","extensions.xml":"file_type_maven.svg","settings.xml":"file_type_maven.svg",".hgignore":"file_type_mercurial.svg","mocha.opts":"file_type_mocha.svg",".mocharc.js":"file_type_mocha.svg",".mocharc.json":"file_type_mocha.svg",".mocharc.jsonc":"file_type_mocha.svg",".mocharc.yaml":"file_type_mocha.svg",".mocharc.yml":"file_type_mocha.svg",modernizr:"file_type_modernizr.svg","modernizr.js":"file_type_modernizr.svg","modernizrrc.js":"file_type_modernizr.svg",".modernizr.js":"file_type_modernizr.svg",".modernizrrc.js":"file_type_modernizr.svg","moleculer.config.js":"file_type_moleculer.svg","moleculer.config.json":"file_type_moleculer.svg","moleculer.config.ts":"file_type_moleculer.svg",".mtn-ignore":"file_type_monotone.svg",".nest-cli.json":"file_type_nestjs.svg","nest-cli.json":"file_type_nestjs.svg","nestconfig.json":"file_type_nestjs.svg",".nestconfig.json":"file_type_nestjs.svg","netlify.toml":"file_type_netlify.svg","next.config.js":"file_type_light_next.svg","ng-tailwind.js":"file_type_ng_tailwind.svg","nginx.conf":"file_type_nginx.svg","build.ninja":"file_type_ninja.svg",".node-version":"file_type_node.svg",".nvmrc":"file_type_node.svg","nodemon.json":"file_type_nodemon.svg",".npmignore":"file_type_npm.svg",".npmrc":"file_type_npm.svg","package.json":"file_type_npm.svg","package-lock.json":"file_type_npm.svg","npm-shrinkwrap.json":"file_type_npm.svg",".nsrirc":"file_type_nsri.svg",".nsriignore":"file_type_nsri.svg","nsri.config.js":"file_type_nsri.svg",".nsrirc.js":"file_type_nsri.svg",".nsrirc.json":"file_type_nsri.svg",".nsrirc.yaml":"file_type_nsri.svg",".nsrirc.yml":"file_type_nsri.svg",".integrity.json":"file_type_nsri-integrity.svg","nuxt.config.js":"file_type_nuxt.svg","nuxt.config.ts":"file_type_nuxt.svg",".nycrc":"file_type_nyc.svg",".nycrc.json":"file_type_nyc.svg",".merlin":"file_type_ocaml.svg","paket.dependencies":"file_type_paket.svg","paket.lock":"file_type_paket.svg","paket.references":"file_type_paket.svg","paket.template":"file_type_paket.svg","paket.local":"file_type_paket.svg",".php_cs":"file_type_phpcsfixer.svg",".php_cs.dist":"file_type_phpcsfixer.svg",phpunit:"file_type_phpunit.svg","phpunit.xml":"file_type_phpunit.svg","phpunit.xml.dist":"file_type_phpunit.svg",".phraseapp.yml":"file_type_phraseapp.svg",pipfile:"file_type_pip.svg","pipfile.lock":"file_type_pip.svg","platformio.ini":"file_type_platformio.svg","pnpmfile.js":"file_type_light_pnpm.svg","pnpm-lock.yaml":"file_type_light_pnpm.svg","pnpm-workspace.yaml":"file_type_light_pnpm.svg",".postcssrc":"file_type_postcssconfig.svg",".postcssrc.json":"file_type_postcssconfig.svg",".postcssrc.yaml":"file_type_postcssconfig.svg",".postcssrc.yml":"file_type_postcssconfig.svg",".postcssrc.ts":"file_type_postcssconfig.svg",".postcssrc.js":"file_type_postcssconfig.svg",".postcssrc.cjs":"file_type_postcssconfig.svg","postcss.config.ts":"file_type_postcssconfig.svg","postcss.config.js":"file_type_postcssconfig.svg","postcss.config.cjs":"file_type_postcssconfig.svg","preact.config.js":"file_type_preact.svg",".pre-commit-config.yaml":"file_type_precommit.svg",".prettierrc":"file_type_light_prettier.svg",".prettierignore":"file_type_light_prettier.svg","prettier.config.js":"file_type_light_prettier.svg","prettier.config.cjs":"file_type_light_prettier.svg","prettier.config.ts":"file_type_light_prettier.svg","prettier.config.coffee":"file_type_light_prettier.svg",".prettierrc.js":"file_type_light_prettier.svg",".prettierrc.cjs":"file_type_light_prettier.svg",".prettierrc.json":"file_type_light_prettier.svg",".prettierrc.json5":"file_type_light_prettier.svg",".prettierrc.yml":"file_type_light_prettier.svg",".prettierrc.yaml":"file_type_light_prettier.svg",procfile:"file_type_procfile.svg","protractor.conf.js":"file_type_protractor.svg","protractor.conf.coffee":"file_type_protractor.svg","protractor.conf.ts":"file_type_protractor.svg",".jade-lintrc":"file_type_pug.svg",".pug-lintrc":"file_type_pug.svg",".jade-lint.json":"file_type_pug.svg",".pug-lintrc.js":"file_type_pug.svg",".pug-lintrc.json":"file_type_pug.svg","py.typed":"file_type_pytyped.svg",".pyup":"file_type_pyup.svg",".pyup.yml":"file_type_pyup.svg",qmldir:"file_type_qmldir.svg","quasar.conf.js":"file_type_quasar.svg",rakefile:"file_type_rake.svg","razzle.config.js":"file_type_light_razzle.svg",".rehyperc":"file_type_light_rehype.svg",".rehypeignore":"file_type_light_rehype.svg",".rehyperc.cjs":"file_type_light_rehype.svg",".rehyperc.js":"file_type_light_rehype.svg",".rehyperc.json":"file_type_light_rehype.svg",".rehyperc.mjs":"file_type_light_rehype.svg",".rehyperc.yml":"file_type_light_rehype.svg",".rehyperc.yaml":"file_type_light_rehype.svg",".remarkrc":"file_type_light_remark.svg",".remarkignore":"file_type_light_remark.svg",".remarkrc.cjs":"file_type_light_remark.svg",".remarkrc.js":"file_type_light_remark.svg",".remarkrc.json":"file_type_light_remark.svg",".remarkrc.mjs":"file_type_light_remark.svg",".remarkrc.yml":"file_type_light_remark.svg",".remarkrc.yaml":"file_type_light_remark.svg",".renovaterc":"file_type_renovate.svg","renovate.json":"file_type_renovate.svg",".renovaterc.json":"file_type_renovate.svg",".retextrc":"file_type_light_retext.svg",".retextignore":"file_type_light_retext.svg",".retextrc.cjs":"file_type_light_retext.svg",".retextrc.js":"file_type_light_retext.svg",".retextrc.json":"file_type_light_retext.svg",".retextrc.mjs":"file_type_light_retext.svg",".retextrc.yml":"file_type_light_retext.svg",".retextrc.yaml":"file_type_light_retext.svg","robots.txt":"file_type_robots.svg","rollup.config.js":"file_type_rollup.svg","rollup.config.cjs":"file_type_rollup.svg","rollup.config.mjs":"file_type_rollup.svg","rollup.config.coffee":"file_type_rollup.svg","rollup.config.ts":"file_type_rollup.svg","rollup.config.common.js":"file_type_rollup.svg","rollup.config.common.cjs":"file_type_rollup.svg","rollup.config.common.mjs":"file_type_rollup.svg","rollup.config.common.coffee":"file_type_rollup.svg","rollup.config.common.ts":"file_type_rollup.svg","rollup.config.dev.js":"file_type_rollup.svg","rollup.config.dev.cjs":"file_type_rollup.svg","rollup.config.dev.mjs":"file_type_rollup.svg","rollup.config.dev.coffee":"file_type_rollup.svg","rollup.config.dev.ts":"file_type_rollup.svg","rollup.config.prod.js":"file_type_rollup.svg","rollup.config.prod.cjs":"file_type_rollup.svg","rollup.config.prod.mjs":"file_type_rollup.svg","rollup.config.prod.coffee":"file_type_rollup.svg","rollup.config.prod.ts":"file_type_rollup.svg",".rspec":"file_type_rspec.svg",".rubocop.yml":"file_type_light_rubocop.svg",".rubocop_todo.yml":"file_type_light_rubocop.svg","rust-toolchain":"file_type_light_rust_toolchain.svg",".sailsrc":"file_type_sails.svg",".sentryclirc":"file_type_sentry.svg",".sequelizerc":"file_type_sequelize.svg",".sequelizerc.js":"file_type_sequelize.svg",".sequelizerc.json":"file_type_sequelize.svg","serverless.yml":"file_type_serverless.svg","serverless.json":"file_type_serverless.svg","serverless.js":"file_type_serverless.svg","serverless.ts":"file_type_serverless.svg","snapcraft.yaml":"file_type_snapcraft.svg",".snyk":"file_type_snyk.svg",".solidarity":"file_type_solidarity.svg",".solidarity.json":"file_type_solidarity.svg",".stylelintrc":"file_type_light_stylelint.svg",".stylelintignore":"file_type_light_stylelint.svg",".stylelintcache":"file_type_light_stylelint.svg","stylelint.config.js":"file_type_light_stylelint.svg","stylelint.config.json":"file_type_light_stylelint.svg","stylelint.config.yaml":"file_type_light_stylelint.svg","stylelint.config.yml":"file_type_light_stylelint.svg","stylelint.config.ts":"file_type_light_stylelint.svg","stylelint.config.cjs":"file_type_light_stylelint.svg",".stylelintrc.js":"file_type_light_stylelint.svg",".stylelintrc.json":"file_type_light_stylelint.svg",".stylelintrc.yaml":"file_type_light_stylelint.svg",".stylelintrc.yml":"file_type_light_stylelint.svg",".stylelintrc.ts":"file_type_light_stylelint.svg",".stylelintrc.cjs":"file_type_light_stylelint.svg",".stylish-haskell.yaml":"file_type_stylish_haskell.svg",".svnignore":"file_type_subversion.svg","package.pins":"file_type_swift.svg","symfony.lock":"file_type_light_symfony.svg","tailwind.js":"file_type_tailwind.svg","tailwind.cjs":"file_type_tailwind.svg","tailwind.coffee":"file_type_tailwind.svg","tailwind.ts":"file_type_tailwind.svg","tailwind.json":"file_type_tailwind.svg","tailwind.config.js":"file_type_tailwind.svg","tailwind.config.cjs":"file_type_tailwind.svg","tailwind.config.coffee":"file_type_tailwind.svg","tailwind.config.ts":"file_type_tailwind.svg","tailwind.config.json":"file_type_tailwind.svg",".testcaferc.json":"file_type_light_testcafe.svg",".tfignore":"file_type_tfs.svg","tox.ini":"file_type_tox.svg",".travis.yml":"file_type_travis.svg","tsconfig.json":"file_type_tsconfig.svg","tsconfig.app.json":"file_type_tsconfig.svg","tsconfig.base.json":"file_type_tsconfig.svg","tsconfig.common.json":"file_type_tsconfig.svg","tsconfig.dev.json":"file_type_tsconfig.svg","tsconfig.development.json":"file_type_tsconfig.svg","tsconfig.e2e.json":"file_type_tsconfig.svg","tsconfig.prod.json":"file_type_tsconfig.svg","tsconfig.production.json":"file_type_tsconfig.svg","tsconfig.server.json":"file_type_tsconfig.svg","tsconfig.spec.json":"file_type_tsconfig.svg","tsconfig.staging.json":"file_type_tsconfig.svg","tsconfig.test.json":"file_type_tsconfig.svg","tsconfig.lib.json":"file_type_tsconfig.svg","tsconfig.lib.prod.json":"file_type_tsconfig.svg","tslint.json":"file_type_tslint.svg","tslint.yaml":"file_type_tslint.svg","tslint.yml":"file_type_tslint.svg","typedoc.js":"file_type_typedoc.svg","typedoc.json":"file_type_typedoc.svg",".unibeautifyrc":"file_type_light_unibeautify.svg","unibeautify.config.js":"file_type_light_unibeautify.svg",".unibeautifyrc.js":"file_type_light_unibeautify.svg",".unibeautifyrc.json":"file_type_light_unibeautify.svg",".unibeautifyrc.yaml":"file_type_light_unibeautify.svg",".unibeautifyrc.yml":"file_type_light_unibeautify.svg",unlicense:"file_type_unlicense.svg",unlicence:"file_type_unlicense.svg","unlicense.md":"file_type_unlicense.svg","unlicense.txt":"file_type_unlicense.svg","unlicence.md":"file_type_unlicense.svg","unlicence.txt":"file_type_unlicense.svg",vagrantfile:"file_type_vagrant.svg","vapor.yml":"file_type_vapor.svg",".vimrc":"file_type_vim.svg",".gvimrc":"file_type_vim.svg","vite.config.js":"file_type_vite.svg","vite.config.ts":"file_type_vite.svg",".vscodeignore":"file_type_vscode.svg","launch.json":"file_type_vscode.svg","tasks.json":"file_type_vscode.svg","vscodeignore.json":"file_type_vscode.svg",".vuerc":"file_type_vueconfig.svg","vue.config.js":"file_type_vueconfig.svg","wallaby.json":"file_type_wallaby.svg","wallaby.js":"file_type_wallaby.svg","wallaby.ts":"file_type_wallaby.svg","wallaby.coffee":"file_type_wallaby.svg","wallaby.conf.json":"file_type_wallaby.svg","wallaby.conf.js":"file_type_wallaby.svg","wallaby.conf.ts":"file_type_wallaby.svg","wallaby.conf.coffee":"file_type_wallaby.svg",".wallaby.json":"file_type_wallaby.svg",".wallaby.js":"file_type_wallaby.svg",".wallaby.ts":"file_type_wallaby.svg",".wallaby.coffee":"file_type_wallaby.svg",".wallaby.conf.json":"file_type_wallaby.svg",".wallaby.conf.js":"file_type_wallaby.svg",".wallaby.conf.ts":"file_type_wallaby.svg",".wallaby.conf.coffee":"file_type_wallaby.svg",".watchmanconfig":"file_type_watchmanconfig.svg","webpack.base.conf.js":"file_type_webpack.svg","webpack.base.conf.coffee":"file_type_webpack.svg","webpack.base.conf.ts":"file_type_webpack.svg","webpack.common.js":"file_type_webpack.svg","webpack.common.coffee":"file_type_webpack.svg","webpack.common.ts":"file_type_webpack.svg","webpack.config.js":"file_type_webpack.svg","webpack.config.coffee":"file_type_webpack.svg","webpack.config.ts":"file_type_webpack.svg","webpack.config.base.js":"file_type_webpack.svg","webpack.config.base.coffee":"file_type_webpack.svg","webpack.config.base.ts":"file_type_webpack.svg","webpack.config.common.js":"file_type_webpack.svg","webpack.config.common.coffee":"file_type_webpack.svg","webpack.config.common.ts":"file_type_webpack.svg","webpack.config.dev.js":"file_type_webpack.svg","webpack.config.dev.coffee":"file_type_webpack.svg","webpack.config.dev.ts":"file_type_webpack.svg","webpack.config.development.js":"file_type_webpack.svg","webpack.config.development.coffee":"file_type_webpack.svg","webpack.config.development.ts":"file_type_webpack.svg","webpack.config.staging.js":"file_type_webpack.svg","webpack.config.staging.coffee":"file_type_webpack.svg","webpack.config.staging.ts":"file_type_webpack.svg","webpack.config.test.js":"file_type_webpack.svg","webpack.config.test.coffee":"file_type_webpack.svg","webpack.config.test.ts":"file_type_webpack.svg","webpack.config.prod.js":"file_type_webpack.svg","webpack.config.prod.coffee":"file_type_webpack.svg","webpack.config.prod.ts":"file_type_webpack.svg","webpack.config.production.js":"file_type_webpack.svg","webpack.config.production.coffee":"file_type_webpack.svg","webpack.config.production.ts":"file_type_webpack.svg","webpack.config.babel.js":"file_type_webpack.svg","webpack.config.babel.coffee":"file_type_webpack.svg","webpack.config.babel.ts":"file_type_webpack.svg","webpack.config.base.babel.js":"file_type_webpack.svg","webpack.config.base.babel.coffee":"file_type_webpack.svg","webpack.config.base.babel.ts":"file_type_webpack.svg","webpack.config.common.babel.js":"file_type_webpack.svg","webpack.config.common.babel.coffee":"file_type_webpack.svg","webpack.config.common.babel.ts":"file_type_webpack.svg","webpack.config.dev.babel.js":"file_type_webpack.svg","webpack.config.dev.babel.coffee":"file_type_webpack.svg","webpack.config.dev.babel.ts":"file_type_webpack.svg","webpack.config.development.babel.js":"file_type_webpack.svg","webpack.config.development.babel.coffee":"file_type_webpack.svg","webpack.config.development.babel.ts":"file_type_webpack.svg","webpack.config.staging.babel.js":"file_type_webpack.svg","webpack.config.staging.babel.coffee":"file_type_webpack.svg","webpack.config.staging.babel.ts":"file_type_webpack.svg","webpack.config.test.babel.js":"file_type_webpack.svg","webpack.config.test.babel.coffee":"file_type_webpack.svg","webpack.config.test.babel.ts":"file_type_webpack.svg","webpack.config.prod.babel.js":"file_type_webpack.svg","webpack.config.prod.babel.coffee":"file_type_webpack.svg","webpack.config.prod.babel.ts":"file_type_webpack.svg","webpack.config.production.babel.js":"file_type_webpack.svg","webpack.config.production.babel.coffee":"file_type_webpack.svg","webpack.config.production.babel.ts":"file_type_webpack.svg","webpack.dev.js":"file_type_webpack.svg","webpack.dev.coffee":"file_type_webpack.svg","webpack.dev.ts":"file_type_webpack.svg","webpack.dev.conf.js":"file_type_webpack.svg","webpack.dev.conf.coffee":"file_type_webpack.svg","webpack.dev.conf.ts":"file_type_webpack.svg","webpack.prod.js":"file_type_webpack.svg","webpack.prod.coffee":"file_type_webpack.svg","webpack.prod.ts":"file_type_webpack.svg","webpack.prod.conf.js":"file_type_webpack.svg","webpack.prod.conf.coffee":"file_type_webpack.svg","webpack.prod.conf.ts":"file_type_webpack.svg","webpack.main.config.js":"file_type_webpack.svg","webpack.main.config.coffee":"file_type_webpack.svg","webpack.main.config.ts":"file_type_webpack.svg","webpack.mix.js":"file_type_webpack.svg","webpack.mix.coffee":"file_type_webpack.svg","webpack.mix.ts":"file_type_webpack.svg","webpack.plugins.js":"file_type_webpack.svg","webpack.plugins.coffee":"file_type_webpack.svg","webpack.plugins.ts":"file_type_webpack.svg","webpack.renderer.config.js":"file_type_webpack.svg","webpack.renderer.config.coffee":"file_type_webpack.svg","webpack.renderer.config.ts":"file_type_webpack.svg","webpack.rules.js":"file_type_webpack.svg","webpack.rules.coffee":"file_type_webpack.svg","webpack.rules.ts":"file_type_webpack.svg","webpack.test.conf.js":"file_type_webpack.svg","webpack.test.conf.coffee":"file_type_webpack.svg","webpack.test.conf.ts":"file_type_webpack.svg","wercker.yml":"file_type_wercker.svg","wpml-config.xml":"file_type_wpml.svg",".yamllint":"file_type_yamllint.svg",".yaspellerrc":"file_type_yandex.svg",".yaspeller.json":"file_type_yandex.svg","yarn.lock":"file_type_yarn.svg",".yarnrc":"file_type_yarn.svg",".yarnrc.yml":"file_type_yarn.svg",".yarnclean":"file_type_yarn.svg",".yarn-integrity":"file_type_yarn.svg",".yarn-metadata.json":"file_type_yarn.svg",".yarnignore":"file_type_yarn.svg",".yo-rc.json":"file_type_yeoman.svg","now.json":"file_type_light_zeit.svg",".nowignore":"file_type_light_zeit.svg","vercel.json":"file_type_light_zeit.svg",".vercelignore":"file_type_light_zeit.svg",Jenkinsfile:"file_type_groovy.svg",config:"file_type_ini.svg",gitconfig:"file_type_ini.svg",guardfile:"file_type_ruby.svg",podfile:"file_type_ruby.svg",capfile:"file_type_ruby.svg"}},4917:function(e,t,n){"use strict";e.exports=n.p+"static/img/folder_type_private_opened.721abd95.svg"},5012:function(e,t,n){"use strict";n.d(t,{A:function(){return j}});var r=n(20641),i=n(90033),o=n(53751);const a={class:"python-repl"},s={class:"repl-output",ref:"replOutput"},l={key:0,class:"welcome-text"},c={key:1,class:"output-text"},u={key:2,class:"input-line"},d={class:"prompt"},p={class:"user-input"},f={key:3,class:"error-text"},h={key:4,class:"system-text"},g={class:"repl-input-area"},m={class:"input-line-container"},_={class:"repl-prompt"},v=["placeholder","rows"],y={class:"repl-controls"};function b(e,t,n,b,k,w){return(0,r.uX)(),(0,r.CE)("div",a,[(0,r.Lk)("div",s,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(b.outputLines,(e,t)=>((0,r.uX)(),(0,r.CE)("div",{key:t,class:"repl-line"},["welcome"===e.type?((0,r.uX)(),(0,r.CE)("pre",l,(0,i.v_)(e.content),1)):"output"===e.type?((0,r.uX)(),(0,r.CE)("pre",c,(0,i.v_)(e.content),1)):"input"===e.type?((0,r.uX)(),(0,r.CE)("div",u,[(0,r.Lk)("span",d,(0,i.v_)(e.prompt),1),(0,r.Lk)("span",p,(0,i.v_)(e.content),1)])):"error"===e.type?((0,r.uX)(),(0,r.CE)("pre",f,(0,i.v_)(e.content),1)):"system"===e.type?((0,r.uX)(),(0,r.CE)("pre",h,(0,i.v_)(e.content),1)):(0,r.Q3)("",!0)]))),128))],512),(0,r.Lk)("div",g,[(0,r.Lk)("div",m,[(0,r.Lk)("span",_,(0,i.v_)(b.currentPrompt),1),(0,r.bo)((0,r.Lk)("textarea",{"onUpdate:modelValue":t[0]||(t[0]=e=>b.currentInput=e),onKeydown:t[1]||(t[1]=(...e)=>b.handleKeyDown&&b.handleKeyDown(...e)),ref:"replInput",class:"repl-input-field",placeholder:b.placeholder,rows:b.inputRows,autofocus:""},null,40,v),[[o.Jo,b.currentInput]])]),t[6]||(t[6]=(0,r.Lk)("div",{class:"repl-hints"},[(0,r.Lk)("span",{class:"hint"},"Enter: Execute | Shift+Enter: New line | Tab: Indent | Up/Down: History")],-1))]),(0,r.Lk)("div",y,[b.isRunning?((0,r.uX)(),(0,r.CE)("button",{key:1,onClick:t[3]||(t[3]=(...e)=>b.stopREPL&&b.stopREPL(...e)),class:"control-btn stop"}," ⬛ Stop REPL ")):((0,r.uX)(),(0,r.CE)("button",{key:0,onClick:t[2]||(t[2]=(...e)=>b.startREPL&&b.startREPL(...e)),class:"control-btn start"}," ▶ Start REPL ")),(0,r.Lk)("button",{onClick:t[4]||(t[4]=(...e)=>b.clearOutput&&b.clearOutput(...e)),class:"control-btn clear"}," 🗑 Clear "),(0,r.Lk)("button",{onClick:t[5]||(t[5]=(...e)=>b.exportHistory&&b.exportHistory(...e)),class:"control-btn export"}," 💾 Export History ")])])}n(44114),n(18111),n(7588),n(14603),n(47566),n(98721);var k=n(50953),w=n(66278),x={name:"PythonREPL",setup(){const e=(0,w.Pj)(),t=(0,k.KR)([]),n=(0,k.KR)(""),i=(0,k.KR)(">>> "),o=(0,k.KR)(!1),a=(0,k.KR)(null),s=(0,k.KR)([]),l=(0,k.KR)(-1),c=(0,k.KR)("Enter Python code..."),u=(0,k.KR)(1),d=(0,k.KR)(null),p=(0,k.KR)(null),f=e=>{if(a.value&&e.id===a.value)if(0===e.code){if(e.data&&e.data.stdout){const n=e.data.stdout.split("\n");n.forEach(e=>{e&&t.value.push({type:"output",content:e})}),b()}}else 2e3===e.code?e.data&&"repl_prompt"===e.data.type&&(i.value=e.data.prompt,(0,r.dY)(()=>{p.value&&p.value.focus()})):1111===e.code&&(e.data&&e.data.stdout&&t.value.push({type:"system",content:e.data.stdout}),o.value=!1,a.value=null)},h=async()=>{a.value=Date.now().toString(),o.value=!0,t.value=[],await e.dispatch("websocket/sendMessage",{cmd:"start_python_repl",cmd_id:a.value,data:{projectName:e.state.ide.currentProject||"repl"}}),t.value.push({type:"welcome",content:"Python REPL started. You can now execute Python code interactively."})},g=async()=>{a.value&&await e.dispatch("websocket/sendMessage",{cmd:"stop_python_program",cmd_id:Date.now().toString(),data:{program_id:a.value}}),o.value=!1,a.value=null,i.value=">>> "},m=async()=>{if(!n.value.trim()||!a.value)return;const r=n.value;t.value.push({type:"input",prompt:i.value,content:r}),s.value.push(r),l.value=s.value.length,await e.dispatch("websocket/sendMessage",{cmd:"send_program_input",cmd_id:Date.now().toString(),data:{program_id:a.value,input:r}}),n.value="",u.value=1,b()},_=e=>{if("Enter"!==e.key||e.shiftKey)if("Enter"===e.key&&e.shiftKey)u.value=Math.min(10,u.value+1);else if("Tab"===e.key){e.preventDefault();const t=e.target.selectionStart,i=e.target.selectionEnd,o=n.value;n.value=o.substring(0,t)+" "+o.substring(i),(0,r.dY)(()=>{e.target.selectionStart=e.target.selectionEnd=t+4})}else"ArrowUp"===e.key&&0===e.target.selectionStart?(e.preventDefault(),l.value>0&&(l.value--,n.value=s.value[l.value])):"ArrowDown"===e.key&&(e.preventDefault(),l.value{if(p.value){const e=n.value.split("\n").length;u.value=Math.min(10,Math.max(1,e))}})},v=()=>{t.value=[],o.value&&t.value.push({type:"welcome",content:"Output cleared. REPL is still running."})},y=()=>{const e=s.value.join("\n"),t=new Blob([e],{type:"text/plain"}),n=URL.createObjectURL(t),r=document.createElement("a");r.href=n,r.download=`python_repl_history_${Date.now()}.py`,r.click(),URL.revokeObjectURL(n)},b=()=>{(0,r.dY)(()=>{d.value&&(d.value.scrollTop=d.value.scrollHeight)})};return(0,r.sV)(()=>{e.commit("websocket/setMessageHandler",f)}),(0,r.hi)(()=>{o.value&&g()}),{outputLines:t,currentInput:n,currentPrompt:i,isRunning:o,placeholder:c,inputRows:u,replOutput:d,replInput:p,commandHistory:s,historyIndex:l,startREPL:h,stopREPL:g,sendInput:m,handleKeyDown:_,clearOutput:v,exportHistory:y}}},C=n(66262);const S=(0,C.A)(x,[["render",b],["__scopeId","data-v-4691abe7"]]);var j=S},5828:function(e,t,n){"use strict";e.exports=n.p+"static/img/file_type_pdf2.08cbb53f.svg"},6494:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var r=n(53957);
-/**
- * @license lucide-vue-next v0.539.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */const i=(0,r.A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},7093:function(e,t,n){"use strict";n.d(t,{A:function(){return h}});var r=n(20641),i=n(90033);const o={id:"root-delete",class:"noselected"},a={class:"dialog-wrap"},s={class:"dialog-content"},l={class:"top-title"},c={style:{"margin-top":"156px"}};function u(e,t,n,u,d,p){return(0,r.uX)(),(0,r.CE)("div",o,[(0,r.Lk)("div",a,[(0,r.Lk)("div",{class:"dialog-cover",onClick:t[0]||(t[0]=t=>e.$emit("onCancel"))}),(0,r.Lk)("div",s,[(0,r.Lk)("span",l,(0,i.v_)(n.title),1),(0,r.Lk)("div",c,[(0,r.Lk)("div",{class:"float-left btn-cancel",onClick:t[1]||(t[1]=t=>e.$emit("onCancel"))}," Cancel "),(0,r.Lk)("div",{class:"float-left btn-delete cursor-pointer",onClick:t[2]||(t[2]=t=>e.$emit("onDelete"))}," Delete ")])])])])}var d={props:{title:String},data(){return{}},methods:{},components:{},mounted(){},computed:{}},p=n(66262);const f=(0,p.A)(d,[["render",u],["__scopeId","data-v-1141e722"]]);var h=f},8208:function(e,t,n){(function(e){e(n(15237),n(23653),n(97923))})(function(e){"use strict";var t=e.commands,n=e.Pos;function r(t,r,i){if(i<0&&0==r.ch)return t.clipPos(n(r.line-1));var o=t.getLine(r.line);if(i>0&&r.ch>=o.length)return t.clipPos(n(r.line+1,0));for(var a,s="start",l=r.ch,c=l,u=i<0?0:o.length,d=0;c!=u;c+=i,d++){var p=o.charAt(i<0?c-1:c),f="_"!=p&&e.isWordChar(p)?"w":"o";if("w"==f&&p.toUpperCase()==p&&(f="W"),"start"==s)"o"!=f?(s="in",a=f):l=c+i;else if("in"==s&&a!=f){if("w"==a&&"W"==f&&i<0&&c--,"W"==a&&"w"==f&&i>0){if(c==l+1){a="w";continue}c--}break}}return n(r.line,c)}function i(e,t){e.extendSelectionsBy(function(n){return e.display.shift||e.doc.extend||n.empty()?r(e.doc,n.head,t):t<0?n.from():n.to()})}function o(t,r){if(t.isReadOnly())return e.Pass;t.operation(function(){for(var e=t.listSelections().length,i=[],o=-1,a=0;a=n&&e.execCommand("goLineUp")}e.scrollTo(null,t.top-e.defaultTextHeight())},t.scrollLineDown=function(e){var t=e.getScrollInfo();if(!e.somethingSelected()){var n=e.lineAtHeight(t.top,"local")+1;e.getCursor().line<=n&&e.execCommand("goLineDown")}e.scrollTo(null,t.top+e.defaultTextHeight())},t.splitSelectionByLine=function(e){for(var t=e.listSelections(),r=[],i=0;io.line&&s==a.line&&0==a.ch||r.push({anchor:s==o.line?o:n(s,0),head:s==a.line?a:n(s)});e.setSelections(r,0)},t.singleSelectionTop=function(e){var t=e.listSelections()[0];e.setSelection(t.anchor,t.head,{scroll:!1})},t.selectLine=function(e){for(var t=e.listSelections(),r=[],i=0;i=0;s--){l=r[i[s]];if(!(c&&e.cmpPos(l.head,c)>0)){var u=a(t,l.head);c=u.from,t.replaceRange(n(u.word),u.from,u.to)}}})}function h(t){var n=t.getCursor("from"),r=t.getCursor("to");if(0==e.cmpPos(n,r)){var i=a(t,n);if(!i.word)return;n=i.from,r=i.to}return{from:n,to:r,query:t.getRange(n,r),word:i}}function g(e,t){var r=h(e);if(r){var i=r.query,o=e.getSearchCursor(i,t?r.to:r.from);(t?o.findNext():o.findPrevious())?e.setSelection(o.from(),o.to()):(o=e.getSearchCursor(i,t?n(e.firstLine(),0):e.clipPos(n(e.lastLine()))),(t?o.findNext():o.findPrevious())?e.setSelection(o.from(),o.to()):r.word&&e.setSelection(r.from,r.to))}}t.selectScope=function(e){u(e)||e.execCommand("selectAll")},t.selectBetweenBrackets=function(t){if(!u(t))return e.Pass},t.goToBracket=function(t){t.extendSelectionsBy(function(r){var i=t.scanForBracket(r.head,1,d(t.getTokenTypeAt(r.head)));if(i&&0!=e.cmpPos(i.pos,r.head))return i.pos;var o=t.scanForBracket(r.head,-1,d(t.getTokenTypeAt(n(r.head.line,r.head.ch+1))));return o&&n(o.pos.line,o.pos.ch+1)||r.head})},t.swapLineUp=function(t){if(t.isReadOnly())return e.Pass;for(var r=t.listSelections(),i=[],o=t.firstLine()-1,a=[],s=0;so?i.push(c,u):i.length&&(i[i.length-1]=u),o=u}t.operation(function(){for(var e=0;et.lastLine()?t.replaceRange("\n"+s,n(t.lastLine()),null,"+swapLine"):t.replaceRange(s+"\n",n(o,0),null,"+swapLine")}t.setSelections(a),t.scrollIntoView()})},t.swapLineDown=function(t){if(t.isReadOnly())return e.Pass;for(var r=t.listSelections(),i=[],o=t.lastLine()+1,a=r.length-1;a>=0;a--){var s=r[a],l=s.to().line+1,c=s.from().line;0!=s.to().ch||s.empty()||l--,l=0;e-=2){var r=i[e],o=i[e+1],a=t.getLine(r);r==t.lastLine()?t.replaceRange("",n(r-1),n(r),"+swapLine"):t.replaceRange("",n(r,0),n(r+1,0),"+swapLine"),t.replaceRange(a+"\n",n(o,0),null,"+swapLine")}t.scrollIntoView()})},t.toggleCommentIndented=function(e){e.toggleComment({indent:!0})},t.joinLines=function(e){for(var t=e.listSelections(),r=[],i=0;i=0;o--){var a=r[o].head,s=t.getRange({line:a.line,ch:0},a),l=e.countColumn(s,null,t.getOption("tabSize")),c=t.findPosH(a,-1,"char",!1);if(s&&!/\S/.test(s)&&l%i==0){var u=new n(a.line,e.findColumn(s,l-i,i));u.ch!=a.ch&&(c=u)}t.replaceRange("",c,a,"+delete")}})},t.delLineRight=function(e){e.operation(function(){for(var t=e.listSelections(),r=t.length-1;r>=0;r--)e.replaceRange("",t[r].anchor,n(t[r].to().line),"+delete");e.scrollIntoView()})},t.upcaseAtCursor=function(e){f(e,function(e){return e.toUpperCase()})},t.downcaseAtCursor=function(e){f(e,function(e){return e.toLowerCase()})},t.setSublimeMark=function(e){e.state.sublimeMark&&e.state.sublimeMark.clear(),e.state.sublimeMark=e.setBookmark(e.getCursor())},t.selectToSublimeMark=function(e){var t=e.state.sublimeMark&&e.state.sublimeMark.find();t&&e.setSelection(e.getCursor(),t)},t.deleteToSublimeMark=function(t){var n=t.state.sublimeMark&&t.state.sublimeMark.find();if(n){var r=t.getCursor(),i=n;if(e.cmpPos(r,i)>0){var o=i;i=r,r=o}t.state.sublimeKilled=t.getRange(r,i),t.replaceRange("",r,i)}},t.swapWithSublimeMark=function(e){var t=e.state.sublimeMark&&e.state.sublimeMark.find();t&&(e.state.sublimeMark.clear(),e.state.sublimeMark=e.setBookmark(e.getCursor()),e.setCursor(t))},t.sublimeYank=function(e){null!=e.state.sublimeKilled&&e.replaceSelection(e.state.sublimeKilled,null,"paste")},t.showInCenter=function(e){var t=e.cursorCoords(null,"local");e.scrollTo(null,(t.top+t.bottom)/2-e.getScrollInfo().clientHeight/2)},t.findUnder=function(e){g(e,!0)},t.findUnderPrevious=function(e){g(e,!1)},t.findAllUnder=function(e){var t=h(e);if(t){var n=e.getSearchCursor(t.query),r=[],i=-1;while(n.findNext())r.push({anchor:n.from(),head:n.to()}),n.from().line<=t.from.line&&n.from().ch<=t.from.ch&&i++;e.setSelections(r,i)}};var m=e.keyMap;m.macSublime={"Cmd-Left":"goLineStartSmart","Shift-Tab":"indentLess","Shift-Ctrl-K":"deleteLine","Alt-Q":"wrapLines","Ctrl-Left":"goSubwordLeft","Ctrl-Right":"goSubwordRight","Ctrl-Alt-Up":"scrollLineUp","Ctrl-Alt-Down":"scrollLineDown","Cmd-L":"selectLine","Shift-Cmd-L":"splitSelectionByLine",Esc:"singleSelectionTop","Cmd-Enter":"insertLineAfter","Shift-Cmd-Enter":"insertLineBefore","Cmd-D":"selectNextOccurrence","Shift-Cmd-Space":"selectScope","Shift-Cmd-M":"selectBetweenBrackets","Cmd-M":"goToBracket","Cmd-Ctrl-Up":"swapLineUp","Cmd-Ctrl-Down":"swapLineDown","Cmd-/":"toggleCommentIndented","Cmd-J":"joinLines","Shift-Cmd-D":"duplicateLine",F5:"sortLines","Shift-F5":"reverseSortLines","Cmd-F5":"sortLinesInsensitive","Shift-Cmd-F5":"reverseSortLinesInsensitive",F2:"nextBookmark","Shift-F2":"prevBookmark","Cmd-F2":"toggleBookmark","Shift-Cmd-F2":"clearBookmarks","Alt-F2":"selectBookmarks",Backspace:"smartBackspace","Cmd-K Cmd-D":"skipAndSelectNextOccurrence","Cmd-K Cmd-K":"delLineRight","Cmd-K Cmd-U":"upcaseAtCursor","Cmd-K Cmd-L":"downcaseAtCursor","Cmd-K Cmd-Space":"setSublimeMark","Cmd-K Cmd-A":"selectToSublimeMark","Cmd-K Cmd-W":"deleteToSublimeMark","Cmd-K Cmd-X":"swapWithSublimeMark","Cmd-K Cmd-Y":"sublimeYank","Cmd-K Cmd-C":"showInCenter","Cmd-K Cmd-G":"clearBookmarks","Cmd-K Cmd-Backspace":"delLineLeft","Cmd-K Cmd-1":"foldAll","Cmd-K Cmd-0":"unfoldAll","Cmd-K Cmd-J":"unfoldAll","Ctrl-Shift-Up":"addCursorToPrevLine","Ctrl-Shift-Down":"addCursorToNextLine","Cmd-F3":"findUnder","Shift-Cmd-F3":"findUnderPrevious","Alt-F3":"findAllUnder","Shift-Cmd-[":"fold","Shift-Cmd-]":"unfold","Cmd-I":"findIncremental","Shift-Cmd-I":"findIncrementalReverse","Cmd-H":"replace",F3:"findNext","Shift-F3":"findPrev",fallthrough:"macDefault"},e.normalizeKeyMap(m.macSublime),m.pcSublime={"Shift-Tab":"indentLess","Shift-Ctrl-K":"deleteLine","Alt-Q":"wrapLines","Ctrl-T":"transposeChars","Alt-Left":"goSubwordLeft","Alt-Right":"goSubwordRight","Ctrl-Up":"scrollLineUp","Ctrl-Down":"scrollLineDown","Ctrl-L":"selectLine","Shift-Ctrl-L":"splitSelectionByLine",Esc:"singleSelectionTop","Ctrl-Enter":"insertLineAfter","Shift-Ctrl-Enter":"insertLineBefore","Ctrl-D":"selectNextOccurrence","Shift-Ctrl-Space":"selectScope","Shift-Ctrl-M":"selectBetweenBrackets","Ctrl-M":"goToBracket","Shift-Ctrl-Up":"swapLineUp","Shift-Ctrl-Down":"swapLineDown","Ctrl-/":"toggleCommentIndented","Ctrl-J":"joinLines","Shift-Ctrl-D":"duplicateLine",F9:"sortLines","Shift-F9":"reverseSortLines","Ctrl-F9":"sortLinesInsensitive","Shift-Ctrl-F9":"reverseSortLinesInsensitive",F2:"nextBookmark","Shift-F2":"prevBookmark","Ctrl-F2":"toggleBookmark","Shift-Ctrl-F2":"clearBookmarks","Alt-F2":"selectBookmarks",Backspace:"smartBackspace","Ctrl-K Ctrl-D":"skipAndSelectNextOccurrence","Ctrl-K Ctrl-K":"delLineRight","Ctrl-K Ctrl-U":"upcaseAtCursor","Ctrl-K Ctrl-L":"downcaseAtCursor","Ctrl-K Ctrl-Space":"setSublimeMark","Ctrl-K Ctrl-A":"selectToSublimeMark","Ctrl-K Ctrl-W":"deleteToSublimeMark","Ctrl-K Ctrl-X":"swapWithSublimeMark","Ctrl-K Ctrl-Y":"sublimeYank","Ctrl-K Ctrl-C":"showInCenter","Ctrl-K Ctrl-G":"clearBookmarks","Ctrl-K Ctrl-Backspace":"delLineLeft","Ctrl-K Ctrl-1":"foldAll","Ctrl-K Ctrl-0":"unfoldAll","Ctrl-K Ctrl-J":"unfoldAll","Ctrl-Alt-Up":"addCursorToPrevLine","Ctrl-Alt-Down":"addCursorToNextLine","Ctrl-F3":"findUnder","Shift-Ctrl-F3":"findUnderPrevious","Alt-F3":"findAllUnder","Shift-Ctrl-[":"fold","Shift-Ctrl-]":"unfold","Ctrl-I":"findIncremental","Shift-Ctrl-I":"findIncrementalReverse","Ctrl-H":"replace",F3:"findNext","Shift-F3":"findPrev",fallthrough:"pcDefault"},e.normalizeKeyMap(m.pcSublime);var _=m.default==m.macDefault;m.sublime=_?m.macSublime:m.pcSublime})},8756:function(e,t,n){"use strict";n.r(t),n.d(t,{BaseTransition:function(){return r.pR},BaseTransitionPropsValidators:function(){return r.QP},Comment:function(){return r.Mw},DeprecationTypes:function(){return r.aT},EffectScope:function(){return r.yC},ErrorCodes:function(){return r.tG},ErrorTypeStrings:function(){return r.ZQ},Fragment:function(){return r.FK},KeepAlive:function(){return r.PR},ReactiveEffect:function(){return r.X2},Static:function(){return r.jC},Suspense:function(){return r.tY},Teleport:function(){return r.Im},Text:function(){return r.EY},TrackOpTypes:function(){return r.Ul},Transition:function(){return r.eB},TransitionGroup:function(){return r.F},TriggerOpTypes:function(){return r.PP},VueElement:function(){return r.Vy},assertNumber:function(){return r.U4},callWithAsyncErrorHandling:function(){return r.qL},callWithErrorHandling:function(){return r.gh},camelize:function(){return r.PT},capitalize:function(){return r.ZH},cloneVNode:function(){return r.E3},compatUtils:function(){return r.Y5},compile:function(){return i},computed:function(){return r.EW},createApp:function(){return r.Ef},createBlock:function(){return r.Wv},createCommentVNode:function(){return r.Q3},createElementBlock:function(){return r.CE},createElementVNode:function(){return r.Lk},createHydrationRenderer:function(){return r.ci},createPropsRestProxy:function(){return r.bn},createRenderer:function(){return r.K9},createSSRApp:function(){return r.m1},createSlots:function(){return r.eX},createStaticVNode:function(){return r.Fv},createTextVNode:function(){return r.eW},createVNode:function(){return r.bF},customRef:function(){return r.rY},defineAsyncComponent:function(){return r.$V},defineComponent:function(){return r.pM},defineCustomElement:function(){return r.Xq},defineEmits:function(){return r.qP},defineExpose:function(){return r.wk},defineModel:function(){return r.NP},defineOptions:function(){return r.GM},defineProps:function(){return r.Yj},defineSSRCustomElement:function(){return r.Po},defineSlots:function(){return r.Lu},devtools:function(){return r.lt},effect:function(){return r.QZ},effectScope:function(){return r.uY},getCurrentInstance:function(){return r.nI},getCurrentScope:function(){return r.o5},getCurrentWatcher:function(){return r.Yv},getTransitionRawChildren:function(){return r.Df},guardReactiveProps:function(){return r.Ng},h:function(){return r.h},handleError:function(){return r.H4},hasInjectionContext:function(){return r.PS},hydrate:function(){return r.Qv},hydrateOnIdle:function(){return r.rU},hydrateOnInteraction:function(){return r.Tq},hydrateOnMediaQuery:function(){return r.dA},hydrateOnVisible:function(){return r.Pn},initCustomFormatter:function(){return r.y$},initDirectivesForSSR:function(){return r.Ib},inject:function(){return r.WQ},isMemoSame:function(){return r.Bs},isProxy:function(){return r.ju},isReactive:function(){return r.g8},isReadonly:function(){return r.Tm},isRef:function(){return r.i9},isRuntimeOnly:function(){return r.wX},isShallow:function(){return r.fE},isVNode:function(){return r.vv},markRaw:function(){return r.IG},mergeDefaults:function(){return r.HF},mergeModels:function(){return r.zz},mergeProps:function(){return r.v6},nextTick:function(){return r.dY},normalizeClass:function(){return r.C4},normalizeProps:function(){return r._B},normalizeStyle:function(){return r.Tr},onActivated:function(){return r.n},onBeforeMount:function(){return r.KC},onBeforeUnmount:function(){return r.xo},onBeforeUpdate:function(){return r.Ic},onDeactivated:function(){return r.Y4},onErrorCaptured:function(){return r.qG},onMounted:function(){return r.sV},onRenderTracked:function(){return r.qR},onRenderTriggered:function(){return r.bj},onScopeDispose:function(){return r.jr},onServerPrefetch:function(){return r.SS},onUnmounted:function(){return r.hi},onUpdated:function(){return r.$u},onWatcherCleanup:function(){return r.ch},openBlock:function(){return r.uX},popScopeId:function(){return r.jt},provide:function(){return r.Gt},proxyRefs:function(){return r.Pr},pushScopeId:function(){return r.Qi},queuePostFlushCb:function(){return r.Dl},reactive:function(){return r.Kh},readonly:function(){return r.tB},ref:function(){return r.KR},registerRuntimeCompiler:function(){return r.tC},render:function(){return r.XX},renderList:function(){return r.pI},renderSlot:function(){return r.RG},resolveComponent:function(){return r.g2},resolveDirective:function(){return r.gN},resolveDynamicComponent:function(){return r.$y},resolveFilter:function(){return r.LJ},resolveTransitionHooks:function(){return r.OW},setBlockTracking:function(){return r.Vq},setDevtoolsHook:function(){return r.iD},setTransitionHooks:function(){return r.MZ},shallowReactive:function(){return r.Gc},shallowReadonly:function(){return r.nD},shallowRef:function(){return r.IJ},ssrContextKey:function(){return r.Fw},ssrUtils:function(){return r.Gw},stop:function(){return r.ds},toDisplayString:function(){return r.v_},toHandlerKey:function(){return r.Kf},toHandlers:function(){return r.Tb},toRaw:function(){return r.ux},toRef:function(){return r.lW},toRefs:function(){return r.QW},toValue:function(){return r.BA},transformVNodeArgs:function(){return r.gW},triggerRef:function(){return r.mu},unref:function(){return r.R1},useAttrs:function(){return r.OA},useCssModule:function(){return r.D},useCssVars:function(){return r.$9},useHost:function(){return r.KT},useId:function(){return r.Bi},useModel:function(){return r.fn},useSSRContext:function(){return r.LM},useShadowRoot:function(){return r._U},useSlots:function(){return r.Ht},useTemplateRef:function(){return r.rk},useTransitionState:function(){return r.Gy},vModelCheckbox:function(){return r.lH},vModelDynamic:function(){return r.hp},vModelRadio:function(){return r.XL},vModelSelect:function(){return r.u1},vModelText:function(){return r.Jo},vShow:function(){return r.aG},version:function(){return r.rE},warn:function(){return r.R8},watch:function(){return r.wB},watchEffect:function(){return r.nT},watchPostEffect:function(){return r.p9},watchSyncEffect:function(){return r.U_},withAsyncContext:function(){return r.E},withCtx:function(){return r.k6},withDefaults:function(){return r.rO},withDirectives:function(){return r.bo},withKeys:function(){return r.jR},withMemo:function(){return r.bU},withModifiers:function(){return r.D$},withScopeId:function(){return r.YY}});var r=n(53751);
-/**
-* vue v3.5.18
-* (c) 2018-present Yuxi (Evan) You and Vue contributors
-* @license MIT
-**/const i=()=>{0}},9486:function(e,t,n){"use strict";var r=n(46518),i=n(44576),o=n(79504),a=n(83972),s=n(34154),l=n(55169),c=n(92804),u=n(944),d=c.i2c,p=c.i2cUrl,f=o("".charAt),h=i.Uint8Array,g=!h||!h.prototype.toBase64||!function(){try{var e=new h;e.toBase64(null)}catch(t){return!0}}();h&&r({target:"Uint8Array",proto:!0,forced:g},{toBase64:function(){var e=s(this),t=arguments.length?a(arguments[0]):void 0,n="base64"===u(t)?d:p,r=!!t&&!!t.omitPadding;l(this.buffer);for(var i,o="",c=0,h=e.length,g=function(e){return f(n,i>>6*e&63)};c+21)){if(this.somethingSelected()){if(!t.hint.supportsSelection)return;for(var i=0;ip.clientHeight+1;setTimeout(function(){D=a.getScrollInfo()});var z=O.bottom-M;if(z>0){var I=O.bottom-O.top,F=O.top-(b.bottom-b.top)-2;M-O.topF&&(p.style.height=(I=F)+"px"),p.style.top=(w=b.top-I)-S+"px",x=!1):p.style.height=M-O.top-2+"px"}var P,R=O.right-A;if(N&&(R+=a.display.nativeBarWidth),R>0&&(O.right-O.left>A&&(p.style.width=A-5+"px",R-=O.right-O.left-A),p.style.left=(k=Math.max(b.left-R-C,0))+"px"),N)for(var q=p.firstChild;q;q=q.nextSibling)q.style.paddingRight=a.display.nativeBarWidth+"px";(a.addKeyMap(this.keyMap=l(r,{moveFocus:function(e,t){o.changeActive(o.selectedHint+e,t)},setFocus:function(e){o.changeActive(e)},menuSize:function(){return o.screenAmount()},length:h.length,close:function(){r.close()},pick:function(){o.pick()},data:i})),r.options.closeOnUnfocus)&&(a.on("blur",this.onBlur=function(){P=setTimeout(function(){r.close()},100)}),a.on("focus",this.onFocus=function(){clearTimeout(P)}));a.on("scroll",this.onScroll=function(){var e=a.getScrollInfo(),t=a.getWrapperElement().getBoundingClientRect();D||(D=a.getScrollInfo());var n=w+D.top-e.top,i=n-(d.pageYOffset||(u.documentElement||u.body).scrollTop);if(x||(i+=p.offsetHeight),i<=t.top||i>=t.bottom)return r.close();p.style.top=n+"px",p.style.left=k+D.left-e.left+"px"}),e.on(p,"dblclick",function(e){var t=c(p,e.target||e.srcElement);t&&null!=t.hintId&&(o.changeActive(t.hintId),o.pick())}),e.on(p,"click",function(e){var t=c(p,e.target||e.srcElement);t&&null!=t.hintId&&(o.changeActive(t.hintId),r.options.completeOnSingleClick&&o.pick())}),e.on(p,"mousedown",function(){setTimeout(function(){a.focus()},20)});var B=this.getSelectedHintRange();return 0===B.from&&0===B.to||this.scrollToActive(),e.signal(i,"select",h[this.selectedHint],p.childNodes[this.selectedHint]),!0}function d(e,t){if(!e.somethingSelected())return t;for(var n=[],r=0;r0?t(e):o(i+1)})}o(0)};return o.async=!0,o.supportsSelection=!0,o}return(r=t.getHelper(t.getCursor(),"hintWords"))?function(t){return e.hint.fromList(t,{words:r})}:e.hint.anyword?function(t,n){return e.hint.anyword(t,n)}:function(){}}r.prototype={close:function(){this.active()&&(this.cm.state.completionActive=null,this.tick=null,this.options.updateOnCursorActivity&&this.cm.off("cursorActivity",this.activityFunc),this.widget&&this.data&&e.signal(this.data,"close"),this.widget&&this.widget.close(),e.signal(this.cm,"endCompletion",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(t,n){var r=t.list[n],i=this;this.cm.operation(function(){r.hint?r.hint(i.cm,t,r):i.cm.replaceRange(s(r),r.from||t.from,r.to||t.to,"complete"),e.signal(t,"pick",r),i.cm.scrollIntoView()}),this.options.closeOnPick&&this.close()},cursorActivity:function(){this.debounce&&(o(this.debounce),this.debounce=0);var e=this.startPos;this.data&&(e=this.data.from);var t=this.cm.getCursor(),n=this.cm.getLine(t.line);if(t.line!=this.startPos.line||n.length-t.ch!=this.startLen-this.startPos.ch||t.ch=this.data.list.length?t=r?this.data.list.length-1:0:t<0&&(t=r?0:this.data.list.length-1),this.selectedHint!=t){var i=this.hints.childNodes[this.selectedHint];i&&(i.className=i.className.replace(" "+n,""),i.removeAttribute("aria-selected")),i=this.hints.childNodes[this.selectedHint=t],i.className+=" "+n,i.setAttribute("aria-selected","true"),this.completion.cm.getInputField().setAttribute("aria-activedescendant",i.id),this.scrollToActive(),e.signal(this.data,"select",this.data.list[this.selectedHint],i)}},scrollToActive:function(){var e=this.getSelectedHintRange(),t=this.hints.childNodes[e.from],n=this.hints.childNodes[e.to],r=this.hints.firstChild;t.offsetTopthis.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=n.offsetTop+n.offsetHeight-this.hints.clientHeight+r.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var e=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-e),to:Math.min(this.data.list.length-1,this.selectedHint+e)}}},e.registerHelper("hint","auto",{resolve:f}),e.registerHelper("hint","fromList",function(t,n){var r,i=t.getCursor(),o=t.getTokenAt(i),a=e.Pos(i.line,o.start),s=i;o.start,]/,closeOnPick:!0,closeOnUnfocus:!0,updateOnCursorActivity:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null,paddingForScrollbar:!0,moveOnOverlap:!0};e.defineOption("hintOptions",null)})},10274:function(e,t,n){"use strict";e.exports=n.p+"static/img/folder_type_test.bee5252d.svg"},10841:function(e,t,n){"use strict";e.exports=n.p+"static/img/file_type_numpy.08037ae3.svg"},11360:function(e,t,n){"use strict";e.exports=n.p+"static/img/file_type_git.18e73a3f.svg"},11398:function(e,t,n){"use strict";e.exports=n.p+"static/img/file_type_python.556a0a36.svg"},11647:function(e,t,n){"use strict";e.exports=n.p+"static/img/file_type_pytyped.37cea703.svg"},11909:function(e,t,n){(function(e){e(n(15237))})(function(e){"use strict";var t=e.Pos,n="http://www.w3.org/2000/svg";function r(e,t){this.mv=e,this.type=t,this.classes="left"==t?{chunk:"CodeMirror-merge-l-chunk",start:"CodeMirror-merge-l-chunk-start",end:"CodeMirror-merge-l-chunk-end",insert:"CodeMirror-merge-l-inserted",del:"CodeMirror-merge-l-deleted",connect:"CodeMirror-merge-l-connect"}:{chunk:"CodeMirror-merge-r-chunk",start:"CodeMirror-merge-r-chunk-start",end:"CodeMirror-merge-r-chunk-end",insert:"CodeMirror-merge-r-inserted",del:"CodeMirror-merge-r-deleted",connect:"CodeMirror-merge-r-connect"}}function i(t){t.diffOutOfDate&&(t.diff=A(t.orig.getValue(),t.edit.getValue(),t.mv.options.ignoreWhitespace),t.chunks=M(t.diff),t.diffOutOfDate=!1,e.signal(t.edit,"updateDiff",t.diff))}r.prototype={constructor:r,init:function(t,n,r){this.edit=this.mv.edit,(this.edit.state.diffViews||(this.edit.state.diffViews=[])).push(this),this.orig=e(t,$({value:n,readOnly:!this.mv.options.allowEditingOriginals},$(r))),"align"==this.mv.options.connect&&(this.edit.state.trackAlignable||(this.edit.state.trackAlignable=new K(this.edit)),this.orig.state.trackAlignable=new K(this.orig)),this.lockButton.title=this.edit.phrase("Toggle locked scrolling"),this.lockButton.setAttribute("aria-label",this.lockButton.title),this.orig.state.diffViews=[this];var i=r.chunkClassLocation||"background";"[object Array]"!=Object.prototype.toString.call(i)&&(i=[i]),this.classes.classLocation=i,this.diff=A(E(n),E(r.value),this.mv.options.ignoreWhitespace),this.chunks=M(this.diff),this.diffOutOfDate=this.dealigned=!1,this.needsScrollSync=null,this.showDifferences=!1!==r.showDifferences},registerEvents:function(e){this.forceUpdate=a(this),u(this,!0,!1),s(this,e)},setShowDifferences:function(e){e=!1!==e,e!=this.showDifferences&&(this.showDifferences=e,this.forceUpdate("full"))}};var o=!1;function a(t){var n,r={from:0,to:0,marked:[]},a={from:0,to:0,marked:[]},s=!1;function c(e){o=!0,s=!1,"full"==e&&(t.svg&&q(t.svg),t.copyButtons&&q(t.copyButtons),p(t.edit,r.marked,t.classes),p(t.orig,a.marked,t.classes),r.from=r.to=a.from=a.to=0),i(t),t.showDifferences&&(f(t.edit,t.diff,r,DIFF_INSERT,t.classes),f(t.orig,t.diff,a,DIFF_DELETE,t.classes)),"align"==t.mv.options.connect&&k(t),m(t),null!=t.needsScrollSync&&l(t,t.needsScrollSync),o=!1}function u(e){o||(t.dealigned=!0,d(e))}function d(e){o||s||(clearTimeout(n),!0===e&&(s=!0),n=setTimeout(c,!0===e?20:250))}function h(e,n){t.diffOutOfDate||(t.diffOutOfDate=!0,r.from=r.to=a.from=a.to=0),u(n.text.length-1!=n.to.line-n.from.line)}function g(){t.diffOutOfDate=!0,t.dealigned=!0,c("full")}return t.edit.on("change",h),t.orig.on("change",h),t.edit.on("swapDoc",g),t.orig.on("swapDoc",g),"align"==t.mv.options.connect&&(e.on(t.edit.state.trackAlignable,"realign",u),e.on(t.orig.state.trackAlignable,"realign",u)),t.edit.on("viewportChange",function(){d(!1)}),t.orig.on("viewportChange",function(){d(!1)}),c(),c}function s(e,t){e.edit.on("scroll",function(){l(e,!0)&&m(e)}),e.orig.on("scroll",function(){l(e,!1)&&m(e),t&&l(t,!0)&&m(t)})}function l(e,t){if(e.diffOutOfDate)return e.lockScroll&&null==e.needsScrollSync&&(e.needsScrollSync=t),!1;if(e.needsScrollSync=null,!e.lockScroll)return!0;var n,r,i=+new Date;if(t?(n=e.edit,r=e.orig):(n=e.orig,r=e.edit),n.state.scrollSetBy==e&&(n.state.scrollSetAt||0)+250>i)return!1;var o=n.getScrollInfo();if("align"==e.mv.options.connect)m=o.top;else{var a,s,l=.5*o.clientHeight,u=o.top+l,d=n.lineAtHeight(u,"local"),p=N(e.chunks,d,t),f=c(n,t?p.edit:p.orig),h=c(r,t?p.orig:p.edit),g=(u-f.top)/(f.bot-f.top),m=h.top-l+g*(h.bot-h.top);if(m>o.top&&(s=o.top/l)<1)m=m*s+o.top*(1-s);else if((a=o.height-o.clientHeight-o.top)a&&(s=a/l)<1&&(m=m*s+(_.height-_.clientHeight-a)*(1-s))}}return r.scrollTo(o.left,m),r.state.scrollSetAt=i,r.state.scrollSetBy=e,!0}function c(e,t){var n=t.after;return null==n&&(n=e.lastLine()+1),{top:e.heightAtLine(t.before||0,"local"),bot:e.heightAtLine(n,"local")}}function u(t,n,r){t.lockScroll=n,n&&0!=r&&l(t,DIFF_INSERT)&&m(t),(n?e.addClass:e.rmClass)(t.lockButton,"CodeMirror-merge-scrolllock-enabled")}function d(e,t,n){for(var r=n.classLocation,i=0;i20||n.from-o.to>20?(p(e,n.marked,i),g(e,t,r,n.marked,o.from,o.to,i),n.from=o.from,n.to=o.to):(o.fromn.to&&(g(e,t,r,n.marked,n.to,o.to,i),n.to=o.to))})}function h(e,t,n,r,i,o){for(var a=n.classLocation,s=e.getLineHandle(t),l=0;lb&&(g&&(p(f,b),g=!1),f=k)}else if(g=!0,v==r){var w=H(l,y,!0),x=G(c,l),C=X(u,w);Q(x,C)||i.push(e.markText(x,C,{className:d})),l=w}}g&&p(f,l.line+1)}function m(e){if(e.showDifferences){if(e.svg){q(e.svg);var t=e.gap.offsetWidth;B(e.svg,"width",t,"height",e.gap.offsetHeight)}e.copyButtons&&q(e.copyButtons);for(var n=e.edit.getViewport(),r=e.orig.getViewport(),i=e.mv.wrap.getBoundingClientRect().top,o=i-e.edit.getScrollerElement().getBoundingClientRect().top+e.edit.getScrollInfo().top,a=i-e.orig.getScrollerElement().getBoundingClientRect().top+e.orig.getScrollInfo().top,s=0;s=n.from&&l.origFrom<=r.to&&l.origTo>=r.from&&C(e,l,a,o,t)}}}function _(e,t){for(var n=0,r=0,i=0;ie&&o.editFrom<=e)return null;if(o.editFrom>e)break;n=o.editTo,r=o.origTo}return r+(e-n)}function v(e,t,n){for(var r=e.state.trackAlignable,i=e.firstLine(),o=0,a=[],s=0;;s++){for(var l=t[s],c=l?n?l.origFrom:l.editFrom:1e9;od){o++,i--;continue e}if(p.editTo>u){if(p.editFrom<=u)continue e;break}s+=p.origTo-p.origFrom-(p.editTo-p.editFrom),a++}if(u==d-s)l[r]=d,o++;else if(u1&&r.push(x(e[a],n[a],l))}}function x(e,t,n){var r=!0;t>e.lastLine()&&(t--,r=!1);var i=document.createElement("div");return i.className="CodeMirror-merge-spacer",i.style.height=n+"px",i.style.minWidth="1px",e.addLineWidget(t,i,{height:n,above:r,mergeSpacer:!0,handleMouseEvents:!0})}function C(e,t,r,i,o){var a="left"==e.type,s=e.orig.heightAtLine(t.origFrom,"local",!0)-r;if(e.svg){var l=s,c=e.edit.heightAtLine(t.editFrom,"local",!0)-i;if(a){var u=l;l=c,c=u}var d=e.orig.heightAtLine(t.origTo,"local",!0)-r,p=e.edit.heightAtLine(t.editTo,"local",!0)-i;if(a){u=d;d=p,p=u}var f=" C "+o/2+" "+c+" "+o/2+" "+l+" "+(o+2)+" "+l,h=" C "+o/2+" "+d+" "+o/2+" "+p+" -1 "+p;B(e.svg.appendChild(document.createElementNS(n,"path")),"d","M -1 "+c+f+" L "+(o+2)+" "+d+h+" z","class",e.classes.connect)}if(e.copyButtons){var g=e.copyButtons.appendChild(R("div","left"==e.type?"⇝":"⇜","CodeMirror-merge-copy")),m=e.mv.options.allowEditingOriginals;if(g.title=e.edit.phrase(m?"Push to left":"Revert chunk"),g.chunk=t,g.style.top=(t.origTo>t.origFrom?s:e.edit.heightAtLine(t.editFrom,"local")-i)+"px",g.setAttribute("role","button"),g.setAttribute("tabindex","0"),g.setAttribute("aria-label",g.title),m){var _=e.edit.heightAtLine(t.editFrom,"local")-i,v=e.copyButtons.appendChild(R("div","right"==e.type?"⇝":"⇜","CodeMirror-merge-copy-reverse"));v.title="Push to right",v.chunk={editFrom:t.origFrom,editTo:t.origTo,origFrom:t.editFrom,origTo:t.editTo},v.style.top=_+"px","right"==e.type?v.style.left="2px":v.style.right="2px",v.setAttribute("role","button"),v.setAttribute("tabindex","0"),v.setAttribute("aria-label",v.title)}}}function S(e,n,r,i){if(!e.diffOutOfDate){var o=i.origTo>r.lastLine()?t(i.origFrom-1):t(i.origFrom,0),a=t(i.origTo,0),s=i.editTo>n.lastLine()?t(i.editFrom-1):t(i.editFrom,0),l=t(i.editTo,0),c=e.mv.options.revertChunk;c?c(e.mv,r,o,a,n,s,l):n.replaceRange(r.getRange(o,a),s,l)}}var j,T=e.MergeView=function(t,n){if(!(this instanceof T))return new T(t,n);this.options=n;var i=n.origLeft,o=null==n.origRight?n.orig:n.origRight,a=null!=i,s=null!=o,l=1+(a?1:0)+(s?1:0),c=[],u=this.left=null,d=this.right=null,p=this;if(a){u=this.left=new r(this,"left");var f=R("div",null,"CodeMirror-merge-pane CodeMirror-merge-left");c.push(f),c.push(L(u))}var h=R("div",null,"CodeMirror-merge-pane CodeMirror-merge-editor");if(c.push(h),s){d=this.right=new r(this,"right"),c.push(L(d));var g=R("div",null,"CodeMirror-merge-pane CodeMirror-merge-right");c.push(g)}(s?g:h).className+=" CodeMirror-merge-pane-rightmost",c.push(R("div",null,null,"height: 0; clear: both;"));var _=this.wrap=t.appendChild(R("div",c,"CodeMirror-merge CodeMirror-merge-"+l+"pane"));this.edit=e(h,$(n)),u&&u.init(f,i,n),d&&d.init(g,o,n),n.collapseIdentical&&this.editor().operation(function(){P(p,n.collapseIdentical)}),"align"==n.connect&&(this.aligners=[],k(this.left||this.right,!0)),u&&u.registerEvents(d),d&&d.registerEvents(u);var v=function(){u&&m(u),d&&m(d)};e.on(window,"resize",v);var y=setInterval(function(){for(var t=_.parentNode;t&&t!=document.body;t=t.parentNode);t||(clearInterval(y),e.off(window,"resize",v))},5e3)};function L(t){var r=t.lockButton=R("div",null,"CodeMirror-merge-scrolllock");r.setAttribute("role","button"),r.setAttribute("tabindex","0");var i=R("div",[r],"CodeMirror-merge-scrolllock-wrap");e.on(r,"click",function(){u(t,!t.lockScroll)}),e.on(r,"keyup",function(e){("Enter"===e.key||"Space"===e.code)&&u(t,!t.lockScroll)});var o=[i];if(!1!==t.mv.options.revertButtons){t.copyButtons=R("div",null,"CodeMirror-merge-copybuttons-"+t.type);var a=function(e){var n=e.target||e.srcElement;n.chunk&&("CodeMirror-merge-copy-reverse"!=n.className?S(t,t.edit,t.orig,n.chunk):S(t,t.orig,t.edit,n.chunk))};e.on(t.copyButtons,"click",a),e.on(t.copyButtons,"keyup",function(e){("Enter"===e.key||"Space"===e.code)&&a(e)}),o.unshift(t.copyButtons)}if("align"!=t.mv.options.connect){var s=document.createElementNS&&document.createElementNS(n,"svg");s&&!s.createSVGRect&&(s=null),t.svg=s,s&&o.push(s)}return t.gap=R("div",o,"CodeMirror-merge-gap")}function E(e){return"string"==typeof e?e:e.getValue()}function A(e,t,n){j||(j=new diff_match_patch);for(var r=j.diff_main(e,t),i=0;id&&(s&&n.push({origFrom:i,origTo:p,editFrom:r,editTo:d}),r=h,i=g)}else H(c==DIFF_INSERT?o:a,l[1])}return(r<=o.line||i<=a.line)&&n.push({origFrom:i,origTo:a.line+1,editFrom:r,editTo:o.line+1}),n}function D(e,t){if(t==e.length-1)return!0;var n=e[t+1][1];return!(1==n.length&&t1||t==e.length-3)&&10==n.charCodeAt(0)))}function O(e,t){if(0==t)return!0;var n=e[t-1][1];return 10==n.charCodeAt(n.length-1)&&(1==t||(n=e[t-2][1],10==n.charCodeAt(n.length-1)))}function N(e,t,n){for(var r,i,o,a,s=0;st?(i=l.editFrom,a=l.origFrom):u>t&&(i=l.editTo,a=l.origTo)),u<=t?(r=l.editTo,o=l.origTo):c<=t&&(r=l.editFrom,o=l.origFrom)}return{edit:{before:r,after:i},orig:{before:o,after:a}}}function z(n,r,i){n.addLineClass(r,"wrap","CodeMirror-merge-collapsed-line");var o=document.createElement("span");o.className="CodeMirror-merge-collapsed-widget",o.title=n.phrase("Identical text collapsed. Click to expand.");var a=n.markText(t(r,0),t(i-1),{inclusiveLeft:!0,inclusiveRight:!0,replacedWith:o,clearOnEnter:!0});function s(){a.clear(),n.removeLineClass(r,"wrap","CodeMirror-merge-collapsed-line")}return a.explicitlyCleared&&s(),e.on(o,"click",s),a.on("clear",s),e.on(o,"click",s),{mark:a,clear:s}}function I(e,t){var n=[];function r(){for(var e=0;e=0&&st){var u=[{line:l,cm:r}];e.left&&u.push({line:_(l,e.left.chunks),cm:e.left.orig}),e.right&&u.push({line:_(l,e.right.chunks),cm:e.right.orig});var d=I(c,u);e.options.onCollapse&&e.options.onCollapse(e,l,c,d)}}}function R(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o0;--t)e.removeChild(e.firstChild)}function B(e){for(var t=1;t0?e:t}function Q(e,t){return e.line==t.line&&e.ch==t.ch}function Z(e,t,n){for(var r=e.length-1;r>=0;r--){var i=e[r],o=(n?i.origTo:i.editTo)-1;if(ot)return o}}function J(t,n){var r=null,o=t.state.diffViews,a=t.getCursor().line;if(o)for(var s=0;sr:u0)break}this.signal(),this.alignable.splice(n,0,e,t)},find:function(e){for(var t=0;t-1){var c=this.alignable[o+1];c==U?this.alignable.splice(o,2):this.alignable[o+1]=c&~U}a>-1&&n&&this.set(e+n,U)}},e.commands.goNextDiff=function(e){return J(e,1)},e.commands.goPrevDiff=function(e){return J(e,-1)}})},12520:function(e,t,n){(function(e){e(n(15237),n(40576),n(16792),n(68656))})(function(e){"use strict";var t={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]};function n(e,t,n){var r=e.current(),i=r.search(t);return i>-1?e.backUp(r.length-i):r.match(/<\/?$/)&&(e.backUp(r.length),e.match(t,!1)||e.match(r)),n}var r={};function i(e){var t=r[e];return t||(r[e]=new RegExp("\\s+"+e+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*"))}function o(e,t){var n=e.match(i(t));return n?/^\s*(.*?)\s*$/.exec(n[2])[1]:""}function a(e,t){return new RegExp((t?"^":"")+"\\s*"+e+"\\s*>","i")}function s(e,t){for(var n in e)for(var r=t[n]||(t[n]=[]),i=e[n],o=i.length-1;o>=0;o--)r.unshift(i[o])}function l(e,t){for(var n=0;n=0;p--)c.script.unshift(["type",d[p].matches,d[p].mode]);function f(t,i){var s,u=o.token(t,i.htmlState),d=/\btag\b/.test(u);if(d&&!/[<>\s\/]/.test(t.current())&&(s=i.htmlState.tagName&&i.htmlState.tagName.toLowerCase())&&c.hasOwnProperty(s))i.inTag=s+" ";else if(i.inTag&&d&&/>$/.test(t.current())){var p=/^([\S]+) (.*)/.exec(i.inTag);i.inTag=null;var h=">"==t.current()&&l(c[p[1]],p[2]),g=e.getMode(r,h),m=a(p[1],!0),_=a(p[1],!1);i.token=function(e,t){return e.match(m,!1)?(t.token=f,t.localState=t.localMode=null,null):n(e,_,t.localMode.token(e,t.localState))},i.localMode=g,i.localState=e.startState(g,o.indent(i.htmlState,"",""))}else i.inTag&&(i.inTag+=t.current(),t.eol()&&(i.inTag+=" "));return u}return{startState:function(){var t=e.startState(o);return{token:f,inTag:null,localMode:null,localState:null,htmlState:t}},copyState:function(t){var n;return t.localState&&(n=e.copyState(t.localMode,t.localState)),{token:t.token,inTag:t.inTag,localMode:t.localMode,localState:n,htmlState:e.copyState(o,t.htmlState)}},token:function(e,t){return t.token(e,t)},indent:function(t,n,r){return!t.localMode||/^\s*<\//.test(n)?o.indent(t.htmlState,n,r):t.localMode.indent?t.localMode.indent(t.localState,n,r):e.Pass},innerMode:function(e){return{state:e.localState||e.htmlState,mode:e.localMode||o}}}},"xml","javascript","css"),e.defineMIME("text/html","htmlmixed")})},12648:function(e,t,n){"use strict";e.exports=n.p+"static/img/folder_type_python.152fce8e.svg"},13579:function(e,t,n){"use strict";var r=n(46518),i=n(69565),o=n(72652),a=n(79306),s=n(28551),l=n(1767),c=n(9539),u=n(84549),d=u("some",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:d},{some:function(e){s(this);try{a(e)}catch(r){c(this,"throw",r)}if(d)return i(d,this,e);var t=l(this),n=0;return o(t,function(t,r){if(e(t,n++))return r()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},13684:function(e,t,n){(function(e){e(n(15237))})(function(e){"use strict";e.defineMode("shell",function(){var t={};function n(e,n){for(var r=0;r1&&e.eat("$");var n=e.next();return/['"({]/.test(n)?(t.tokens[0]=s(n,"("==n?"quote":"{"==n?"def":"string"),d(e,t)):(/\d/.test(n)||e.eatWhile(/\w/),t.tokens.shift(),"def")};function u(e){return function(t,n){return t.sol()&&t.string==e&&n.tokens.shift(),t.skipToEnd(),"string-2"}}function d(e,t){return(t.tokens[0]||a)(e,t)}return{startState:function(){return{tokens:[]}},token:function(e,t){return d(e,t)},closeBrackets:"()[]{}''\"\"``",lineComment:"#",fold:"brace"}}),e.defineMIME("text/x-sh","shell"),e.defineMIME("application/x-sh","shell")})},13925:function(e,t,n){"use strict";var r=n(20034);e.exports=function(e){return r(e)||null===e}},14603:function(e,t,n){"use strict";var r=n(36840),i=n(79504),o=n(655),a=n(22812),s=URLSearchParams,l=s.prototype,c=i(l.append),u=i(l["delete"]),d=i(l.forEach),p=i([].push),f=new s("a=1&a=2&b=3");f["delete"]("a",1),f["delete"]("b",void 0),f+""!=="a=2"&&r(l,"delete",function(e){var t=arguments.length,n=t<2?void 0:arguments[1];if(t&&void 0===n)return u(this,e);var r=[];d(this,function(e,t){p(r,{key:t,value:e})}),a(t,1);var i,s=o(e),l=o(n),f=0,h=0,g=!1,m=r.length;while(f2),_=/Android/.test(e),v=m||_||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),y=m||/Mac/.test(t),b=/\bCrOS\b/.test(e),k=/win/i.test(t),w=p&&e.match(/Version\/(\d*\.\d*)/);w&&(w=Number(w[1])),w&&w>=15&&(p=!1,l=!0);var x=y&&(c||p&&(null==w||w<12.11)),C=n||a&&s>=9;function S(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var j,T=function(e,t){var n=e.className,r=S(t).exec(n);if(r){var i=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(i?r[1]+i:"")}};function L(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function E(e,t){return L(e).appendChild(t)}function A(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o=t)return a+(t-o);a+=s-o,a+=n-a%n,o=s+1}}m?I=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:a&&(I=function(e){try{e.select()}catch(t){}});var W=function(){this.id=null,this.f=null,this.time=0,this.handler=B(this.onTimeout,this)};function U(e,t){for(var n=0;n=t)return r+Math.min(a,t-i);if(i+=o-r,i+=n-i%n,r=o+1,i>=t)return r}}var Y=[""];function J(e){while(Y.length<=e)Y.push(ee(Y)+" ");return Y[e]}function ee(e){return e[e.length-1]}function te(e,t){for(var n=[],r=0;r""&&(e.toUpperCase()!=e.toLowerCase()||oe.test(e))}function se(e,t){return t?!!(t.source.indexOf("\\w")>-1&&ae(e))||t.test(e):ae(e)}function le(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var ce=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function ue(e){return e.charCodeAt(0)>=768&&ce.test(e)}function de(e,t,n){while((n<0?t>0:tn?-1:1;;){if(t==n)return t;var i=(t+n)/2,o=r<0?Math.ceil(i):Math.floor(i);if(o==t)return e(o)?t:n;e(o)?n=o:t=o+r}}function fe(e,t,n,r){if(!e)return r(t,n,"ltr",0);for(var i=!1,o=0;ot||t==n&&a.to==t)&&(r(Math.max(a.from,t),Math.min(a.to,n),1==a.level?"rtl":"ltr",o),i=!0)}i||r(t,n,"ltr")}var he=null;function ge(e,t,n){var r;he=null;for(var i=0;it)return i;o.to==t&&(o.from!=o.to&&"before"==n?r=i:he=i),o.from==t&&(o.from!=o.to&&"before"!=n?r=i:he=i)}return null!=r?r:he}var me=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function n(n){return n<=247?e.charAt(n):1424<=n&&n<=1524?"R":1536<=n&&n<=1785?t.charAt(n-1536):1774<=n&&n<=2220?"r":8192<=n&&n<=8203?"w":8204==n?"b":"L"}var r=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,i=/[stwN]/,o=/[LRr]/,a=/[Lb1n]/,s=/[1n]/;function l(e,t,n){this.level=e,this.from=t,this.to=n}return function(e,t){var c="ltr"==t?"L":"R";if(0==e.length||"ltr"==t&&!r.test(e))return!1;for(var u=e.length,d=[],p=0;p-1&&(r[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function we(e,t){var n=be(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i0}function je(e){e.prototype.on=function(e,t){ye(this,e,t)},e.prototype.off=function(e,t){ke(this,e,t)}}function Te(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Le(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Ee(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function Ae(e){Te(e),Le(e)}function Me(e){return e.target||e.srcElement}function De(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),y&&e.ctrlKey&&1==t&&(t=3),t}var Oe,Ne,ze=function(){if(a&&s<9)return!1;var e=A("div");return"draggable"in e||"dragDrop"in e}();function Ie(e){if(null==Oe){var t=A("span","");E(e,A("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(Oe=t.offsetWidth<=1&&t.offsetHeight>2&&!(a&&s<8))}var n=Oe?A("span",""):A("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function Fe(e){if(null!=Ne)return Ne;var t=E(e,document.createTextNode("AخA")),n=j(t,0,1).getBoundingClientRect(),r=j(t,1,2).getBoundingClientRect();return L(e),!(!n||n.left==n.right)&&(Ne=r.right-n.right<3)}var Pe=3!="\n\nb".split(/\n/).length?function(e){var t=0,n=[],r=e.length;while(t<=r){var i=e.indexOf("\n",t);-1==i&&(i=e.length);var o=e.slice(t,"\r"==e.charAt(i-1)?i-1:i),a=o.indexOf("\r");-1!=a?(n.push(o.slice(0,a)),t+=a+1):(n.push(o),t=i+1)}return n}:function(e){return e.split(/\r\n?|\n/)},Re=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(t){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(n){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},qe=function(){var e=A("div");return"oncopy"in e||(e.setAttribute("oncopy","return;"),"function"==typeof e.oncopy)}(),Be=null;function $e(e){if(null!=Be)return Be;var t=E(e,A("span","x")),n=t.getBoundingClientRect(),r=j(t,0,1).getBoundingClientRect();return Be=Math.abs(n.left-r.left)>1}var He={},We={};function Ue(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),He[e]=t}function Ve(e,t){We[e]=t}function Ke(e){if("string"==typeof e&&We.hasOwnProperty(e))e=We[e];else if(e&&"string"==typeof e.name&&We.hasOwnProperty(e.name)){var t=We[e.name];"string"==typeof t&&(t={name:t}),e=ie(t,e),e.name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Ke("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Ke("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function Xe(e,t){t=Ke(t);var n=He[t.name];if(!n)return Xe(e,"text/plain");var r=n(e,t);if(Ge.hasOwnProperty(t.name)){var i=Ge[t.name];for(var o in i)i.hasOwnProperty(o)&&(r.hasOwnProperty(o)&&(r["_"+o]=r[o]),r[o]=i[o])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var a in t.modeProps)r[a]=t.modeProps[a];return r}var Ge={};function Qe(e,t){var n=Ge.hasOwnProperty(e)?Ge[e]:Ge[e]={};$(t,n)}function Ze(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var i=t[r];i instanceof Array&&(i=i.concat([])),n[r]=i}return n}function Ye(e,t){var n;while(e.innerMode){if(n=e.innerMode(t),!n||n.mode==e)break;t=n.state,e=n.mode}return n||{mode:e,state:t}}function Je(e,t,n){return!e.startState||e.startState(t,n)}var et=function(e,t,n){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};function tt(e,t){if(t-=e.first,t<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");var n=e;while(!n.lines)for(var r=0;;++r){var i=n.children[r],o=i.chunkSize();if(t=e.first&&tn?ct(n,tt(e,n).text.length):_t(t,tt(e,t.line).text.length)}function _t(e,t){var n=e.ch;return null==n||n>t?ct(e.line,t):n<0?ct(e.line,0):e}function vt(e,t){for(var n=[],r=0;r=this.string.length},et.prototype.sol=function(){return this.pos==this.lineStart},et.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},et.prototype.next=function(){if(this.post},et.prototype.eatSpace=function(){var e=this.pos;while(/[\s\u00a0]/.test(this.string.charAt(this.pos)))++this.pos;return this.pos>e},et.prototype.skipToEnd=function(){this.pos=this.string.length},et.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},et.prototype.backUp=function(e){this.pos-=e},et.prototype.column=function(){return this.lastColumnPos0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}var i=function(e){return n?e.toLowerCase():e},o=this.string.substr(this.pos,e.length);if(i(o)==i(e))return!1!==t&&(this.pos+=e.length),!0},et.prototype.current=function(){return this.string.slice(this.start,this.pos)},et.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},et.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},et.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var yt=function(e,t){this.state=e,this.lookAhead=t},bt=function(e,t,n,r){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};function kt(e,t,n,r){var i=[e.state.modeGen],o={};At(e,t.text,e.doc.mode,n,function(e,t){return i.push(e,t)},o,r);for(var a=n.state,s=function(r){n.baseTokens=i;var s=e.state.overlays[r],l=1,c=0;n.state=!0,At(e,t.text,s.mode,n,function(e,t){var n=l;while(ce&&i.splice(l,1,e,i[l+1],r),l+=2,c=Math.min(e,r)}if(t)if(s.opaque)i.splice(n,l-n,e,"overlay "+t),l=n+2;else for(;ne.options.maxHighlightLength&&Ze(e.doc.mode,r.state),o=kt(e,t,r);i&&(r.state=i),t.stateAfter=r.save(!i),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function xt(e,t,n){var r=e.doc,i=e.display;if(!r.mode.startState)return new bt(r,!0,t);var o=Mt(e,t,n),a=o>r.first&&tt(r,o-1).stateAfter,s=a?bt.fromSaved(r,a,o):new bt(r,Je(r.mode),o);return r.iter(o,t,function(n){Ct(e,n.text,s);var r=s.line;n.stateAfter=r==t-1||r%5==0||r>=i.viewFrom&&rt.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}bt.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},bt.prototype.baseToken=function(e){if(!this.baseTokens)return null;while(this.baseTokens[this.baseTokenPos]<=e)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},bt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},bt.fromSaved=function(e,t,n){return t instanceof yt?new bt(e,Ze(e.mode,t.state),n,t.lookAhead):new bt(e,Ze(e.mode,t),n)},bt.prototype.save=function(e){var t=!1!==e?Ze(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new yt(t,this.maxLookAhead):t};var Tt=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n};function Lt(e,t,n,r){var i,o=e.doc,a=o.mode;t=mt(o,t);var s,l=tt(o,t.line),c=xt(e,t.line,n),u=new et(l.text,e.options.tabSize,c);r&&(s=[]);while((r||u.pose.options.maxHighlightLength?(s=!1,a&&Ct(e,t,r,d.pos),d.pos=t.length,l=null):l=Et(jt(n,d,r.state,p),o),p){var f=p[0].name;f&&(l="m-"+(l?f+" "+l:f))}if(!s||u!=l){while(ca;--s){if(s<=o.first)return o.first;var l=tt(o,s-1),c=l.stateAfter;if(c&&(!n||s+(c instanceof yt?c.lookAhead:0)<=o.modeFrontier))return s;var u=H(l.text,null,e.options.tabSize);(null==i||r>u)&&(i=s-1,r=u)}return i}function Dt(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontiern;r--){var i=tt(e,r).stateAfter;if(i&&(!(i instanceof yt)||r+i.lookAhead=t:o.to>t);(r||(r=[])).push(new Ft(a,o.from,l?null:o.to))}}return r}function $t(e,t,n){var r;if(e)for(var i=0;i=t:o.to>t);if(s||o.from==t&&"bookmark"==a.type&&(!n||o.marker.insertLeft)){var l=null==o.from||(a.inclusiveLeft?o.from<=t:o.from0&&s)for(var b=0;b0)){var u=[l,1],d=ut(c.from,s.from),p=ut(c.to,s.to);(d<0||!a.inclusiveLeft&&!d)&&u.push({from:c.from,to:s.from}),(p>0||!a.inclusiveRight&&!p)&&u.push({from:s.to,to:c.to}),i.splice.apply(i,u),l+=u.length-3}}return i}function Vt(e){var t=e.markedSpans;if(t){for(var n=0;nt)&&(!n||Qt(n,o.marker)<0)&&(n=o.marker)}return n}function tn(e,t,n,r,i){var o=tt(e,t),a=Nt&&o.markedSpans;if(a)for(var s=0;s=0&&d<=0||u<=0&&d>=0)&&(u<=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?ut(c.to,n)>=0:ut(c.to,n)>0)||u>=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?ut(c.from,r)<=0:ut(c.from,r)<0)))return!0}}}function nn(e){var t;while(t=Yt(e))e=t.find(-1,!0).line;return e}function rn(e){var t;while(t=Jt(e))e=t.find(1,!0).line;return e}function on(e){var t,n;while(t=Jt(e))e=t.find(1,!0).line,(n||(n=[])).push(e);return n}function an(e,t){var n=tt(e,t),r=nn(n);return n==r?t:ot(r)}function sn(e,t){if(t>e.lastLine())return t;var n,r=tt(e,t);if(!ln(e,r))return t;while(n=Jt(r))r=n.find(1,!0).line;return ot(r)+1}function ln(e,t){var n=Nt&&t.markedSpans;if(n)for(var r=void 0,i=0;it.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)})}var fn=function(e,t,n){this.text=e,Kt(this,t),this.height=n?n(this):1};function hn(e,t,n,r){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),null!=e.order&&(e.order=null),Vt(e),Kt(e,n);var i=r?r(e):1;i!=e.height&&it(e,i)}function gn(e){e.parent=null,Vt(e)}fn.prototype.lineNo=function(){return ot(this)},je(fn);var mn={},_n={};function vn(e,t){if(!e||/^\s*$/.test(e))return null;var n=t.addModeClass?_n:mn;return n[e]||(n[e]=e.replace(/\S+/g,"cm-$&"))}function yn(e,t){var n=M("span",null,null,l?"padding-right: .1px":null),r={pre:M("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var o=i?t.rest[i-1]:t.line,a=void 0;r.pos=0,r.addToken=kn,Fe(e.display.measure)&&(a=_e(o,e.doc.direction))&&(r.addToken=xn(r.addToken,a)),r.map=[];var s=t!=e.display.externalMeasured&&ot(o);Sn(o,r,wt(e,o,s)),o.styleClasses&&(o.styleClasses.bgClass&&(r.bgClass=z(o.styleClasses.bgClass,r.bgClass||"")),o.styleClasses.textClass&&(r.textClass=z(o.styleClasses.textClass,r.textClass||""))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(Ie(e.display.measure))),0==i?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(l){var c=r.content.lastChild;(/\bcm-tab\b/.test(c.className)||c.querySelector&&c.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return we(e,"renderLine",e,t.line,r.pre),r.pre.className&&(r.textClass=z(r.pre.className,r.textClass||"")),r}function bn(e){var t=A("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function kn(e,t,n,r,i,o,l){if(t){var c,u=e.splitSpaces?wn(t,e.trailingSpace):t,d=e.cm.state.specialChars,p=!1;if(d.test(t)){c=document.createDocumentFragment();var f=0;while(1){d.lastIndex=f;var h=d.exec(t),g=h?h.index-f:t.length-f;if(g){var m=document.createTextNode(u.slice(f,f+g));a&&s<9?c.appendChild(A("span",[m])):c.appendChild(m),e.map.push(e.pos,e.pos+g,m),e.col+=g,e.pos+=g}if(!h)break;f+=g+1;var _=void 0;if("\t"==h[0]){var v=e.cm.options.tabSize,y=v-e.col%v;_=c.appendChild(A("span",J(y),"cm-tab")),_.setAttribute("role","presentation"),_.setAttribute("cm-text","\t"),e.col+=y}else"\r"==h[0]||"\n"==h[0]?(_=c.appendChild(A("span","\r"==h[0]?"␍":"","cm-invalidchar")),_.setAttribute("cm-text",h[0]),e.col+=1):(_=e.cm.options.specialCharPlaceholder(h[0]),_.setAttribute("cm-text",h[0]),a&&s<9?c.appendChild(A("span",[_])):c.appendChild(_),e.col+=1);e.map.push(e.pos,e.pos+1,_),e.pos++}}else e.col+=t.length,c=document.createTextNode(u),e.map.push(e.pos,e.pos+t.length,c),a&&s<9&&(p=!0),e.pos+=t.length;if(e.trailingSpace=32==u.charCodeAt(t.length-1),n||r||i||p||o||l){var b=n||"";r&&(b+=r),i&&(b+=i);var k=A("span",[c],b,o);if(l)for(var w in l)l.hasOwnProperty(w)&&"style"!=w&&"class"!=w&&k.setAttribute(w,l[w]);return e.content.appendChild(k)}e.content.appendChild(c)}}function wn(e,t){if(e.length>1&&!/ /.test(e))return e;for(var n=t,r="",i=0;ic&&d.from<=c)break;if(d.to>=u)return e(n,r,i,o,a,s,l);e(n,r.slice(0,d.to-c),i,o,null,s,l),o=null,r=r.slice(d.to-c),c=d.to}}}function Cn(e,t,n,r){var i=!r&&n.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!r&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",n.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1}function Sn(e,t,n){var r=e.markedSpans,i=e.text,o=0;if(r)for(var a,s,l,c,u,d,p,f=i.length,h=0,g=1,m="",_=0;;){if(_==h){l=c=u=s="",p=null,d=null,_=1/0;for(var v=[],y=void 0,b=0;bh||w.collapsed&&k.to==h&&k.from==h)){if(null!=k.to&&k.to!=h&&_>k.to&&(_=k.to,c=""),w.className&&(l+=" "+w.className),w.css&&(s=(s?s+";":"")+w.css),w.startStyle&&k.from==h&&(u+=" "+w.startStyle),w.endStyle&&k.to==_&&(y||(y=[])).push(w.endStyle,k.to),w.title&&((p||(p={})).title=w.title),w.attributes)for(var x in w.attributes)(p||(p={}))[x]=w.attributes[x];w.collapsed&&(!d||Qt(d.marker,w)<0)&&(d=k)}else k.from>h&&_>k.from&&(_=k.from)}if(y)for(var C=0;C=f)break;var j=Math.min(f,_);while(1){if(m){var T=h+m.length;if(!d){var L=T>j?m.slice(0,j-h):m;t.addToken(t,L,a?a+l:l,u,h+L.length==_?c:"",s,p)}if(T>=j){m=m.slice(j-h),h=j;break}h=T,u=""}m=i.slice(o,o=n[g++]),a=vn(n[g++],t.cm.options)}}else for(var E=1;E2&&o.push((l.bottom+c.top)/2-n.top)}}o.push(n.bottom-n.top)}}function nr(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};if(e.rest){for(var r=0;rn)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}}function rr(e,t){t=nn(t);var n=ot(t),r=e.display.externalMeasured=new jn(e.doc,t,n);r.lineN=n;var i=r.built=yn(e,r);return r.text=i.pre,E(e.display.lineMeasure,i.pre),r}function ir(e,t,n,r){return sr(e,ar(e,t),n,r)}function or(e,t){if(t>=e.display.viewFrom&&t=n.lineN&&tt)&&(o=l-s,i=o-1,t>=l&&(a="right")),null!=i){if(r=e[c+2],s==l&&n==(r.insertLeft?"left":"right")&&(a=n),"left"==n&&0==i)while(c&&e[c-2]==e[c-3]&&e[c-1].insertLeft)r=e[2+(c-=3)],a="left";if("right"==n&&i==l-s)while(c=0;i--)if((n=e[i]).left!=n.right)break;return n}function pr(e,t,n,r){var i,o=ur(t.map,n,r),l=o.node,c=o.start,u=o.end,d=o.collapse;if(3==l.nodeType){for(var p=0;p<4;p++){while(c&&ue(t.line.text.charAt(o.coverStart+c)))--c;while(o.coverStart+u0&&(d=r="right"),i=e.options.lineWrapping&&(f=l.getClientRects()).length>1?f["right"==r?f.length-1:0]:l.getBoundingClientRect()}if(a&&s<9&&!c&&(!i||!i.left&&!i.right)){var h=l.parentNode.getClientRects()[0];i=h?{left:h.left,right:h.left+Nr(e.display),top:h.top,bottom:h.bottom}:cr}for(var g=i.top-t.rect.top,m=i.bottom-t.rect.top,_=(g+m)/2,v=t.view.measure.heights,y=0;y=r.text.length?(l=r.text.length,c="before"):l<=0&&(l=0,c="after"),!s)return a("before"==c?l-1:l,"before"==c);function u(e,t,n){var r=s[t],i=1==r.level;return a(n?e-1:e,i!=n)}var d=ge(s,l,c),p=he,f=u(l,d,"before"==c);return null!=p&&(f.other=u(l,p,"before"!=c)),f}function Cr(e,t){var n=0;t=mt(e.doc,t),e.options.lineWrapping||(n=Nr(e.display)*t.ch);var r=tt(e.doc,t.line),i=un(r)+Gn(e.display);return{left:n,right:n,top:i,bottom:i+r.height}}function Sr(e,t,n,r,i){var o=ct(e,t,n);return o.xRel=i,r&&(o.outside=r),o}function jr(e,t,n){var r=e.doc;if(n+=e.display.viewOffset,n<0)return Sr(r.first,0,null,-1,-1);var i=at(r,n),o=r.first+r.size-1;if(i>o)return Sr(r.first+r.size-1,tt(r,o).text.length,null,1,1);t<0&&(t=0);for(var a=tt(r,i);;){var s=Ar(e,a,i,t,n),l=en(a,s.ch+(s.xRel>0||s.outside>0?1:0));if(!l)return s;var c=l.find(1);if(c.line==i)return c;a=tt(r,i=c.line)}}function Tr(e,t,n,r){r-=yr(t);var i=t.text.length,o=pe(function(t){return sr(e,n,t-1).bottom<=r},i,0);return i=pe(function(t){return sr(e,n,t).top>r},o,i),{begin:o,end:i}}function Lr(e,t,n,r){n||(n=ar(e,t));var i=br(e,t,sr(e,n,r),"line").top;return Tr(e,t,n,i)}function Er(e,t,n,r){return!(e.bottom<=n)&&(e.top>n||(r?e.left:e.right)>t)}function Ar(e,t,n,r,i){i-=un(t);var o=ar(e,t),a=yr(t),s=0,l=t.text.length,c=!0,u=_e(t,e.doc.direction);if(u){var d=(e.options.lineWrapping?Dr:Mr)(e,t,n,o,u,r,i);c=1!=d.level,s=c?d.from:d.to-1,l=c?d.to:d.from-1}var p,f,h=null,g=null,m=pe(function(t){var n=sr(e,o,t);return n.top+=a,n.bottom+=a,!!Er(n,r,i,!1)&&(n.top<=i&&n.left<=r&&(h=t,g=n),!0)},s,l),_=!1;if(g){var v=r-g.left=b.bottom?1:0}return m=de(t.text,m,1),Sr(n,m,f,_,r-p)}function Mr(e,t,n,r,i,o,a){var s=pe(function(s){var l=i[s],c=1!=l.level;return Er(xr(e,ct(n,c?l.to:l.from,c?"before":"after"),"line",t,r),o,a,!0)},0,i.length-1),l=i[s];if(s>0){var c=1!=l.level,u=xr(e,ct(n,c?l.from:l.to,c?"after":"before"),"line",t,r);Er(u,o,a,!0)&&u.top>a&&(l=i[s-1])}return l}function Dr(e,t,n,r,i,o,a){var s=Tr(e,t,r,a),l=s.begin,c=s.end;/\s/.test(t.text.charAt(c-1))&&c--;for(var u=null,d=null,p=0;p=c||f.to<=l)){var h=1!=f.level,g=sr(e,r,h?Math.min(c,f.to)-1:Math.max(l,f.from)).right,m=gm)&&(u=f,d=m)}}return u||(u=i[i.length-1]),u.fromc&&(u={from:u.from,to:c,level:u.level}),u}function Or(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==lr){lr=A("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)lr.appendChild(document.createTextNode("x")),lr.appendChild(A("br"));lr.appendChild(document.createTextNode("x"))}E(e.measure,lr);var n=lr.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),L(e.measure),n||1}function Nr(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=A("span","xxxxxxxxxx"),n=A("pre",[t],"CodeMirror-line-like");E(e.measure,n);var r=t.getBoundingClientRect(),i=(r.right-r.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function zr(e){for(var t=e.display,n={},r={},i=t.gutters.clientLeft,o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a){var s=e.display.gutterSpecs[a].className;n[s]=o.offsetLeft+o.clientLeft+i,r[s]=o.clientWidth}return{fixedPos:Ir(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function Ir(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function Fr(e){var t=Or(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/Nr(e.display)-3);return function(i){if(ln(e.doc,i))return 0;var o=0;if(i.widgets)for(var a=0;a0&&(l=tt(e.doc,c.line).text).length==c.ch){var u=H(l,l.length,e.options.tabSize)-l.length;c=ct(c.line,Math.max(0,Math.round((o-Zn(e.display).left)/Nr(e.display))-u))}return c}function qr(e,t){if(t>=e.display.viewTo)return null;if(t-=e.display.viewFrom,t<0)return null;for(var n=e.display.view,r=0;rt)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)Nt&&an(e.doc,t)i.viewFrom?Hr(e):(i.viewFrom+=r,i.viewTo+=r);else if(t<=i.viewFrom&&n>=i.viewTo)Hr(e);else if(t<=i.viewFrom){var o=Wr(e,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):Hr(e)}else if(n>=i.viewTo){var a=Wr(e,t,t,-1);a?(i.view=i.view.slice(0,a.index),i.viewTo=a.lineN):Hr(e)}else{var s=Wr(e,t,t,-1),l=Wr(e,n,n+r,1);s&&l?(i.view=i.view.slice(0,s.index).concat(Tn(e,s.lineN,l.lineN)).concat(i.view.slice(l.index)),i.viewTo+=r):Hr(e)}var c=i.externalMeasured;c&&(n=i.lineN&&t=r.viewTo)){var o=r.view[qr(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==U(a,n)&&a.push(n)}}}function Hr(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Wr(e,t,n,r){var i,o=qr(e,t),a=e.display.view;if(!Nt||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var s=e.display.viewFrom,l=0;l0){if(o==a.length-1)return null;i=s+a[o].size-t,o++}else i=s-t;t+=i,n+=i}while(an(e.doc,n)!=n){if(o==(r<0?0:a.length-1))return null;n+=r*a[o-(r<0?1:0)].size,o+=r}return{index:o,lineN:n}}function Ur(e,t,n){var r=e.display,i=r.view;0==i.length||t>=r.viewTo||n<=r.viewFrom?(r.view=Tn(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=Tn(e,t,r.viewFrom).concat(r.view):r.viewFromn&&(r.view=r.view.slice(0,qr(e,n)))),r.viewTo=n}function Vr(e){for(var t=e.display.view,n=0,r=0;r=e.display.viewTo||l.to().line0?a:e.defaultCharWidth())+"px"}if(r.other){var s=n.appendChild(A("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));s.style.display="",s.style.left=r.other.left+"px",s.style.top=r.other.top+"px",s.style.height=.85*(r.other.bottom-r.other.top)+"px"}}function Qr(e,t){return e.top-t.top||e.left-t.left}function Zr(e,t,n){var r=e.display,i=e.doc,o=document.createDocumentFragment(),a=Zn(e.display),s=a.left,l=Math.max(r.sizerWidth,Jn(e)-r.sizer.offsetLeft)-a.right,c="ltr"==i.direction;function u(e,t,n,r){t<0&&(t=0),t=Math.round(t),r=Math.round(r),o.appendChild(A("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px;\n top: "+t+"px; width: "+(null==n?l-e:n)+"px;\n height: "+(r-t)+"px"))}function d(t,n,r){var o,a,d=tt(i,t),p=d.text.length;function f(n,r){return wr(e,ct(t,n),"div",d,r)}function h(t,n,r){var i=Lr(e,d,null,t),o="ltr"==n==("after"==r)?"left":"right",a="after"==r?i.begin:i.end-(/\s/.test(d.text.charAt(i.end-1))?2:1);return f(a,o)[o]}var g=_e(d,i.direction);return fe(g,n||0,null==r?p:r,function(e,t,i,d){var m="ltr"==i,_=f(e,m?"left":"right"),v=f(t-1,m?"right":"left"),y=null==n&&0==e,b=null==r&&t==p,k=0==d,w=!g||d==g.length-1;if(v.top-_.top<=3){var x=(c?y:b)&&k,C=(c?b:y)&&w,S=x?s:(m?_:v).left,j=C?l:(m?v:_).right;u(S,_.top,j-S,_.bottom)}else{var T,L,E,A;m?(T=c&&y&&k?s:_.left,L=c?l:h(e,i,"before"),E=c?s:h(t,i,"after"),A=c&&b&&w?l:v.right):(T=c?h(e,i,"before"):s,L=!c&&y&&k?l:_.right,E=!c&&b&&w?s:v.left,A=c?h(t,i,"after"):l),u(T,_.top,L-T,_.bottom),_.bottom0?t.blinker=setInterval(function(){e.hasFocus()||ni(e),t.cursorDiv.style.visibility=(n=!n)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function Jr(e){e.hasFocus()||(e.display.input.focus(),e.state.focused||ti(e))}function ei(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,e.state.focused&&ni(e))},100)}function ti(e,t){e.state.delayingBlurEvent&&!e.state.draggingText&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(we(e,"focus",e,t),e.state.focused=!0,N(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),l&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),Yr(e))}function ni(e,t){e.state.delayingBlurEvent||(e.state.focused&&(we(e,"blur",e,t),e.state.focused=!1,T(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function ri(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=Math.max(0,t.scroller.getBoundingClientRect().top),i=t.lineDiv.getBoundingClientRect().top,o=0,l=0;l.005||g<-.005)&&(ie.display.sizerWidth){var _=Math.ceil(p/Nr(e.display));_>e.display.maxLineLength&&(e.display.maxLineLength=_,e.display.maxLine=c.line,e.display.maxLineChanged=!0)}}}Math.abs(o)>2&&(t.scroller.scrollTop+=o)}function ii(e){if(e.widgets)for(var t=0;t=a&&(o=at(t,un(tt(t,l))-e.wrapper.clientHeight),a=l)}return{from:o,to:Math.max(a,o+1)}}function ai(e,t){if(!xe(e,"scrollCursorIntoView")){var n=e.display,r=n.sizer.getBoundingClientRect(),i=null,o=n.wrapper.ownerDocument;if(t.top+r.top<0?i=!0:t.bottom+r.top>(o.defaultView.innerHeight||o.documentElement.clientHeight)&&(i=!1),null!=i&&!g){var a=A("div","",null,"position: absolute;\n top: "+(t.top-n.viewOffset-Gn(e.display))+"px;\n height: "+(t.bottom-t.top+Yn(e)+n.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(a),a.scrollIntoView(i),e.display.lineSpace.removeChild(a)}}}function si(e,t,n,r){var i;null==r&&(r=0),e.options.lineWrapping||t!=n||(n="before"==t.sticky?ct(t.line,t.ch+1,"before"):t,t=t.ch?ct(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t);for(var o=0;o<5;o++){var a=!1,s=xr(e,t),l=n&&n!=t?xr(e,n):s;i={left:Math.min(s.left,l.left),top:Math.min(s.top,l.top)-r,right:Math.max(s.left,l.left),bottom:Math.max(s.bottom,l.bottom)+r};var c=ci(e,i),u=e.doc.scrollTop,d=e.doc.scrollLeft;if(null!=c.scrollTop&&(mi(e,c.scrollTop),Math.abs(e.doc.scrollTop-u)>1&&(a=!0)),null!=c.scrollLeft&&(vi(e,c.scrollLeft),Math.abs(e.doc.scrollLeft-d)>1&&(a=!0)),!a)break}return i}function li(e,t){var n=ci(e,t);null!=n.scrollTop&&mi(e,n.scrollTop),null!=n.scrollLeft&&vi(e,n.scrollLeft)}function ci(e,t){var n=e.display,r=Or(e.display);t.top<0&&(t.top=0);var i=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:n.scroller.scrollTop,o=er(e),a={};t.bottom-t.top>o&&(t.bottom=t.top+o);var s=e.doc.height+Qn(n),l=t.tops-r;if(t.topi+o){var u=Math.min(t.top,(c?s:t.bottom)-o);u!=i&&(a.scrollTop=u)}var d=e.options.fixedGutter?0:n.gutters.offsetWidth,p=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft-d,f=Jn(e)-n.gutters.offsetWidth,h=t.right-t.left>f;return h&&(t.right=t.left+f),t.left<10?a.scrollLeft=0:t.leftf+p-3&&(a.scrollLeft=t.right+(h?0:10)-f),a}function ui(e,t){null!=t&&(hi(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function di(e){hi(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function pi(e,t,n){null==t&&null==n||hi(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function fi(e,t){hi(e),e.curOp.scrollToPos=t}function hi(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var n=Cr(e,t.from),r=Cr(e,t.to);gi(e,n,r,t.margin)}}function gi(e,t,n,r){var i=ci(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-r,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+r});pi(e,i.scrollLeft,i.scrollTop)}function mi(e,t){Math.abs(e.doc.scrollTop-t)<2||(n||Ki(e,{top:t}),_i(e,t,!0),n&&Ki(e),Ri(e,100))}function _i(e,t,n){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),(e.display.scroller.scrollTop!=t||n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function vi(e,t,n,r){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!r||(e.doc.scrollLeft=t,Zi(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function yi(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+Qn(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+Yn(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}var bi=function(e,t,n){this.cm=n;var r=this.vert=A("div",[A("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=A("div",[A("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");r.tabIndex=i.tabIndex=-1,e(r),e(i),ye(r,"scroll",function(){r.clientHeight&&t(r.scrollTop,"vertical")}),ye(i,"scroll",function(){i.clientWidth&&t(i.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,a&&s<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};bi.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=t?r+"px":"0";var i=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:t?r:0}},bi.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},bi.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},bi.prototype.zeroWidthHack=function(){var e=y&&!h?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.visibility=this.vert.style.visibility="hidden",this.disableHoriz=new W,this.disableVert=new W},bi.prototype.enableZeroWidthBar=function(e,t,n){function r(){var i=e.getBoundingClientRect(),o="vert"==n?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1);o!=e?e.style.visibility="hidden":t.set(1e3,r)}e.style.visibility="",t.set(1e3,r)},bi.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var ki=function(){};function wi(e,t){t||(t=yi(e));var n=e.display.barWidth,r=e.display.barHeight;xi(e,t);for(var i=0;i<4&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&ri(e),xi(e,yi(e)),n=e.display.barWidth,r=e.display.barHeight}function xi(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",n.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}ki.prototype.update=function(){return{bottom:0,right:0}},ki.prototype.setScrollLeft=function(){},ki.prototype.setScrollTop=function(){},ki.prototype.clear=function(){};var Ci={native:bi,null:ki};function Si(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&T(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new Ci[e.options.scrollbarStyle](function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),ye(t,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus()},0)}),t.setAttribute("cm-not-content","true")},function(t,n){"horizontal"==n?vi(e,t):mi(e,t)},e),e.display.scrollbars.addClass&&N(e.display.wrapper,e.display.scrollbars.addClass)}var ji=0;function Ti(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++ji,markArrays:null},En(e.curOp)}function Li(e){var t=e.curOp;t&&Mn(t,function(e){for(var t=0;t=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new Bi(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Mi(e){e.updatedDisplay=e.mustUpdate&&Ui(e.cm,e.update)}function Di(e){var t=e.cm,n=t.display;e.updatedDisplay&&ri(t),e.barMeasure=yi(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=ir(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+Yn(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-Jn(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function Oi(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft=e.display.viewTo)){var n=+new Date+e.options.workTime,r=xt(e,t.highlightFrontier),i=[];t.iter(r.line,Math.min(t.first+t.size,e.display.viewTo+500),function(o){if(r.line>=e.display.viewFrom){var a=o.styles,s=o.text.length>e.options.maxHighlightLength?Ze(t.mode,r.state):null,l=kt(e,o,r,!0);s&&(r.state=s),o.styles=l.styles;var c=o.styleClasses,u=l.classes;u?o.styleClasses=u:c&&(o.styleClasses=null);for(var d=!a||a.length!=o.styles.length||c!=u&&(!c||!u||c.bgClass!=u.bgClass||c.textClass!=u.textClass),p=0;!d&&pn)return Ri(e,e.options.workDelay),!0}),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),i.length&&zi(e,function(){for(var t=0;t=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==Vr(e))return!1;Yi(e)&&(Hr(e),t.dims=zr(e));var i=r.first+r.size,o=Math.max(t.visible.from-e.options.viewportMargin,r.first),a=Math.min(i,t.visible.to+e.options.viewportMargin);n.viewFroma&&n.viewTo-a<20&&(a=Math.min(i,n.viewTo)),Nt&&(o=an(e.doc,o),a=sn(e.doc,a));var s=o!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;Ur(e,o,a),n.viewOffset=un(tt(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var l=Vr(e);if(!s&&0==l&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var c=Hi(e);return l>4&&(n.lineDiv.style.display="none"),Xi(e,n.updateLineNumbers,t.dims),l>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,Wi(c),L(n.cursorDiv),L(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,s&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,Ri(e,400)),n.updateLineNumbers=null,!0}function Vi(e,t){for(var n=t.viewport,r=!0;;r=!1){if(r&&e.options.lineWrapping&&t.oldDisplayWidth!=Jn(e))r&&(t.visible=oi(e.display,e.doc,n));else if(n&&null!=n.top&&(n={top:Math.min(e.doc.height+Qn(e.display)-er(e),n.top)}),t.visible=oi(e.display,e.doc,n),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break;if(!Ui(e,t))break;ri(e);var i=yi(e);Kr(e),wi(e,i),Qi(e,i),t.force=!1}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function Ki(e,t){var n=new Bi(e,t);if(Ui(e,n)){ri(e),Vi(e,n);var r=yi(e);Kr(e),wi(e,r),Qi(e,r),n.finish()}}function Xi(e,t,n){var r=e.display,i=e.options.lineNumbers,o=r.lineDiv,a=o.firstChild;function s(t){var n=t.nextSibling;return l&&y&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}for(var c=r.view,u=r.viewFrom,d=0;d-1&&(f=!1),zn(e,p,u,n)),f&&(L(p.lineNumber),p.lineNumber.appendChild(document.createTextNode(lt(e.options,u)))),a=p.node.nextSibling}else{var h=Hn(e,p,u,n);o.insertBefore(h,a)}u+=p.size}while(a)a=s(a)}function Gi(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px",On(e,"gutterChanged",e)}function Qi(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+Yn(e)+"px"}function Zi(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=Ir(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=r+"px",a=0;ac.clientWidth,h=c.scrollHeight>c.clientHeight;if(i&&f||o&&h){if(o&&y&&l)e:for(var g=t.target,m=s.view;g!=c;g=g.parentNode)for(var _=0;_=0&&ut(e,r.to())<=0)return n}return-1};var co=function(e,t){this.anchor=e,this.head=t};function uo(e,t,n){var r=e&&e.options.selectionsMayTouch,i=t[n];t.sort(function(e,t){return ut(e.from(),t.from())}),n=U(t,i);for(var o=1;o0:l>=0){var c=ht(s.from(),a.from()),u=ft(s.to(),a.to()),d=s.empty()?a.from()==a.head:s.from()==s.head;o<=n&&--n,t.splice(--o,2,new co(d?u:c,d?c:u))}}return new lo(t,n)}function po(e,t){return new lo([new co(e,t||e)],0)}function fo(e){return e.text?ct(e.from.line+e.text.length-1,ee(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function ho(e,t){if(ut(e,t.from)<0)return e;if(ut(e,t.to)<=0)return fo(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=fo(t).ch-t.to.ch),ct(n,r)}function go(e,t){for(var n=[],r=0;r1&&e.remove(s.line+1,h-1),e.insert(s.line+1,_)}On(e,"change",e,t)}function wo(e,t,n){function r(e,i,o){if(e.linked)for(var a=0;a1&&!e.done[e.done.length-2].ranges?(e.done.pop(),ee(e.done)):void 0}function Ao(e,t,n,r){var i=e.history;i.undone.length=0;var o,a,s=+new Date;if((i.lastOp==r||i.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&i.lastModTime>s-(e.cm?e.cm.options.historyEventDelay:500)||"*"==t.origin.charAt(0)))&&(o=Eo(i,i.lastOp==r)))a=ee(o.changes),0==ut(t.from,t.to)&&0==ut(t.from,a.to)?a.to=fo(t):o.changes.push(To(e,t));else{var l=ee(i.done);l&&l.ranges||Oo(e.sel,i.done),o={changes:[To(e,t)],generation:i.generation},i.done.push(o);while(i.done.length>i.undoDepth)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(n),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=s,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=t.origin,a||we(e,"historyAdded")}function Mo(e,t,n,r){var i=t.charAt(0);return"*"==i||"+"==i&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function Do(e,t,n,r){var i=e.history,o=r&&r.origin;n==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||Mo(e,o,ee(i.done),t))?i.done[i.done.length-1]=t:Oo(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&!1!==r.clearRedo&&Lo(i.undone)}function Oo(e,t){var n=ee(t);n&&n.ranges&&n.equals(e)||t.push(e)}function No(e,t,n,r){var i=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),function(n){n.markedSpans&&((i||(i=t["spans_"+e.id]={}))[o]=n.markedSpans),++o})}function zo(e){if(!e)return null;for(var t,n=0;n-1&&(ee(s)[d]=c[d],delete c[d])}}}return r}function Ro(e,t,n,r){if(r){var i=e.anchor;if(n){var o=ut(t,i)<0;o!=ut(n,i)<0?(i=t,t=n):o!=ut(t,n)<0&&(t=n)}return new co(i,t)}return new co(n||t,t)}function qo(e,t,n,r,i){null==i&&(i=e.cm&&(e.cm.display.shift||e.extend)),Vo(e,new lo([Ro(e.sel.primary(),t,n,i)],0),r)}function Bo(e,t,n){for(var r=[],i=e.cm&&(e.cm.display.shift||e.extend),o=0;o=t.ch:s.to>t.ch))){if(i&&(we(l,"beforeCursorEnter"),l.explicitlyCleared)){if(o.markedSpans){--a;continue}break}if(!l.atomic)continue;if(n){var d=l.find(r<0?1:-1),p=void 0;if((r<0?u:c)&&(d=Jo(e,d,-r,d&&d.line==t.line?o:null)),d&&d.line==t.line&&(p=ut(d,n))&&(r<0?p<0:p>0))return Zo(e,d,t,r,i)}var f=l.find(r<0?-1:1);return(r<0?c:u)&&(f=Jo(e,f,r,f.line==t.line?o:null)),f?Zo(e,f,t,r,i):null}}return t}function Yo(e,t,n,r,i){var o=r||1,a=Zo(e,t,n,o,i)||!i&&Zo(e,t,n,o,!0)||Zo(e,t,n,-o,i)||!i&&Zo(e,t,n,-o,!0);return a||(e.cantEdit=!0,ct(e.first,0))}function Jo(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?mt(e,ct(t.line-1)):null:n>0&&t.ch==(r||tt(e,t.line)).text.length?t.line=0;--i)ra(e,{from:r[i].from,to:r[i].to,text:i?[""]:t.text,origin:t.origin});else ra(e,t)}}function ra(e,t){if(1!=t.text.length||""!=t.text[0]||0!=ut(t.from,t.to)){var n=go(e,t);Ao(e,t,n,e.cm?e.cm.curOp.id:NaN),aa(e,t,n,Ht(e,t));var r=[];wo(e,function(e,n){n||-1!=U(r,e.history)||(da(e.history,t),r.push(e.history)),aa(e,t,null,Ht(e,t))})}}function ia(e,t,n){var r=e.cm&&e.cm.state.suppressEdits;if(!r||n){for(var i,o=e.history,a=e.sel,s="undo"==t?o.done:o.undone,l="undo"==t?o.undone:o.done,c=0;c=0;--f){var h=p(f);if(h)return h.v}}}}function oa(e,t){if(0!=t&&(e.first+=t,e.sel=new lo(te(e.sel.ranges,function(e){return new co(ct(e.anchor.line+t,e.anchor.ch),ct(e.head.line+t,e.head.ch))}),e.sel.primIndex),e.cm)){Br(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;re.lastLine())){if(t.from.lineo&&(t={from:t.from,to:ct(o,tt(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=nt(e,t.from,t.to),n||(n=go(e,t)),e.cm?sa(e.cm,t,r):ko(e,t,r),Ko(e,n,X),e.cantEdit&&Yo(e,ct(e.firstLine(),0))&&(e.cantEdit=!1)}}function sa(e,t,n){var r=e.doc,i=e.display,o=t.from,a=t.to,s=!1,l=o.line;e.options.lineWrapping||(l=ot(nn(tt(r,o.line))),r.iter(l,a.line+1,function(e){if(e==i.maxLine)return s=!0,!0})),r.sel.contains(t.from,t.to)>-1&&Ce(e),ko(r,t,n,Fr(e)),e.options.lineWrapping||(r.iter(l,o.line+t.text.length,function(e){var t=dn(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,s=!1)}),s&&(e.curOp.updateMaxLine=!0)),Dt(r,o.line),Ri(e,400);var c=t.text.length-(a.line-o.line)-1;t.full?Br(e):o.line!=a.line||1!=t.text.length||bo(e.doc,t)?Br(e,o.line,a.line+1,c):$r(e,o.line,"text");var u=Se(e,"changes"),d=Se(e,"change");if(d||u){var p={from:o,to:a,text:t.text,removed:t.removed,origin:t.origin};d&&On(e,"change",e,p),u&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(p)}e.display.selForContextMenu=null}function la(e,t,n,r,i){var o;r||(r=n),ut(r,n)<0&&(o=[r,n],n=o[0],r=o[1]),"string"==typeof t&&(t=e.splitLines(t)),na(e,{from:n,to:r,text:t,origin:i})}function ca(e,t,n,r){n1||!(this.children[0]instanceof fa))){var s=[];this.collapse(s),this.children=[new fa(s)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t50){for(var a=i.lines.length%25+25,s=a;s10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=0;r0||0==a&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=M("span",[o.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(tn(e,t.line,t,n,o)||t.line!=n.line&&tn(e,n.line,t,n,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");It()}o.addToHistory&&Ao(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var s,l=t.line,c=e.cm;if(e.iter(l,n.line+1,function(r){c&&o.collapsed&&!c.options.lineWrapping&&nn(r)==c.display.maxLine&&(s=!0),o.collapsed&&l!=t.line&&it(r,0),qt(r,new Ft(o,l==t.line?t.ch:null,l==n.line?n.ch:null),e.cm&&e.cm.curOp),++l}),o.collapsed&&e.iter(t.line,n.line+1,function(t){ln(e,t)&&it(t,0)}),o.clearOnEnter&&ye(o,"beforeCursorEnter",function(){return o.clear()}),o.readOnly&&(zt(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++va,o.atomic=!0),c){if(s&&(c.curOp.updateMaxLine=!0),o.collapsed)Br(c,t.line,n.line+1);else if(o.className||o.startStyle||o.endStyle||o.css||o.attributes||o.title)for(var u=t.line;u<=n.line;u++)$r(c,u,"text");o.atomic&&Go(c.doc),On(c,"markerAdded",c,o)}return o}ya.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&Ti(e),Se(this,"clear")){var n=this.find();n&&On(this,"clear",n.from,n.to)}for(var r=null,i=null,o=0;oe.display.maxLineLength&&(e.display.maxLine=c,e.display.maxLineLength=u,e.display.maxLineChanged=!0)}null!=r&&e&&this.collapsed&&Br(e,r,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Go(e.doc)),e&&On(e,"markerCleared",e,this,r,i),t&&Li(e),this.parent&&this.parent.clear()}},ya.prototype.find=function(e,t){var n,r;null==e&&"bookmark"==this.type&&(e=1);for(var i=0;i=0;l--)na(this,r[l]);s?Uo(this,s):this.cm&&di(this.cm)}),undo:Pi(function(){ia(this,"undo")}),redo:Pi(function(){ia(this,"redo")}),undoSelection:Pi(function(){ia(this,"undo",!0)}),redoSelection:Pi(function(){ia(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,n){e=mt(this,e),t=mt(this,t);var r=[],i=e.line;return this.iter(e.line,t.line+1,function(o){var a=o.markedSpans;if(a)for(var s=0;s=l.to||null==l.from&&i!=e.line||null!=l.from&&i==t.line&&l.from>=t.ch||n&&!n(l.marker)||r.push(l.marker.parent||l.marker)}++i}),r},getAllMarks:function(){var e=[];return this.iter(function(t){var n=t.markedSpans;if(n)for(var r=0;re)return t=e,!0;e-=o,++n}),mt(this,ct(n,t))},indexFromPos:function(e){e=mt(this,e);var t=e.ch;if(e.linet&&(t=e.from),null!=e.to&&e.to-1)return t.state.draggingText(e),void setTimeout(function(){return t.display.input.focus()},20);try{var d=e.dataTransfer.getData("Text");if(d){var p;if(t.state.draggingText&&!t.state.draggingText.copy&&(p=t.listSelections()),Ko(t.doc,po(n,n)),p)for(var f=0;f=0;t--)la(e.doc,"",r[t].from,r[t].to,"+delete");di(e)})}function Za(e,t,n){var r=de(e.text,t+n,n);return r<0||r>e.text.length?null:r}function Ya(e,t,n){var r=Za(e,t.ch,n);return null==r?null:new ct(t.line,r,n<0?"after":"before")}function Ja(e,t,n,r,i){if(e){"rtl"==t.doc.direction&&(i=-i);var o=_e(n,t.doc.direction);if(o){var a,s=i<0?ee(o):o[0],l=i<0==(1==s.level),c=l?"after":"before";if(s.level>0||"rtl"==t.doc.direction){var u=ar(t,n);a=i<0?n.text.length-1:0;var d=sr(t,u,a).top;a=pe(function(e){return sr(t,u,e).top==d},i<0==(1==s.level)?s.from:s.to-1,a),"before"==c&&(a=Za(n,a,1))}else a=i<0?s.to:s.from;return new ct(r,a,c)}}return new ct(r,i<0?n.text.length:0,i<0?"before":"after")}function es(e,t,n,r){var i=_e(t,e.doc.direction);if(!i)return Ya(t,n,r);n.ch>=t.text.length?(n.ch=t.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var o=ge(i,n.ch,n.sticky),a=i[o];if("ltr"==e.doc.direction&&a.level%2==0&&(r>0?a.to>n.ch:a.from=a.from&&p>=u.begin)){var f=d?"before":"after";return new ct(n.line,p,f)}}var h=function(e,t,r){for(var o=function(e,t){return t?new ct(n.line,l(e,1),"before"):new ct(n.line,e,"after")};e>=0&&e0==(1!=a.level),c=s?r.begin:l(r.end,-1);if(a.from<=c&&c0?u.end:l(u.begin,-1);return null==m||r>0&&m==t.text.length||(g=h(r>0?0:i.length-1,r,c(m)),!g)?null:g}$a.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},$a.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},$a.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},$a.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},$a["default"]=y?$a.macDefault:$a.pcDefault;var ts={selectAll:ea,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),X)},killLine:function(e){return Qa(e,function(t){if(t.empty()){var n=tt(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line0)i=new ct(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),ct(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var a=tt(e.doc,i.line-1).text;a&&(i=new ct(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),ct(i.line-1,a.length-1),i,"+transpose"))}n.push(new co(i,i))}e.setSelections(n)})},newlineAndIndent:function(e){return zi(e,function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,"+input");t=e.listSelections();for(var r=0;r-1&&(ut((i=s.ranges[i]).from(),t)<0||t.xRel>0)&&(ut(i.to(),t)>0||t.xRel<0)?js(e,r,t,o):Ls(e,r,t,o)}function js(e,t,n,r){var i=e.display,o=!1,c=Ii(e,function(t){l&&(i.scroller.draggable=!1),e.state.draggingText=!1,e.state.delayingBlurEvent&&(e.hasFocus()?e.state.delayingBlurEvent=!1:ei(e)),ke(i.wrapper.ownerDocument,"mouseup",c),ke(i.wrapper.ownerDocument,"mousemove",u),ke(i.scroller,"dragstart",d),ke(i.scroller,"drop",c),o||(Te(t),r.addNew||qo(e.doc,n,null,null,r.extend),l&&!f||a&&9==s?setTimeout(function(){i.wrapper.ownerDocument.body.focus({preventScroll:!0}),i.input.focus()},20):i.input.focus())}),u=function(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},d=function(){return o=!0};l&&(i.scroller.draggable=!0),e.state.draggingText=c,c.copy=!r.moveOnDrag,ye(i.wrapper.ownerDocument,"mouseup",c),ye(i.wrapper.ownerDocument,"mousemove",u),ye(i.scroller,"dragstart",d),ye(i.scroller,"drop",c),e.state.delayingBlurEvent=!0,setTimeout(function(){return i.input.focus()},20),i.scroller.dragDrop&&i.scroller.dragDrop()}function Ts(e,t,n){if("char"==n)return new co(t,t);if("word"==n)return e.findWordAt(t);if("line"==n)return new co(ct(t.line,0),mt(e.doc,ct(t.line+1,0)));var r=n(e,t);return new co(r.from,r.to)}function Ls(e,t,n,r){a&&ei(e);var i=e.display,o=e.doc;Te(t);var s,l,c=o.sel,u=c.ranges;if(r.addNew&&!r.extend?(l=o.sel.contains(n),s=l>-1?u[l]:new co(n,n)):(s=o.sel.primary(),l=o.sel.primIndex),"rectangle"==r.unit)r.addNew||(s=new co(n,n)),n=Rr(e,t,!0,!0),l=-1;else{var d=Ts(e,n,r.unit);s=r.extend?Ro(s,d.anchor,d.head,r.extend):d}r.addNew?-1==l?(l=u.length,Vo(o,uo(e,u.concat([s]),l),{scroll:!1,origin:"*mouse"})):u.length>1&&u[l].empty()&&"char"==r.unit&&!r.extend?(Vo(o,uo(e,u.slice(0,l).concat(u.slice(l+1)),0),{scroll:!1,origin:"*mouse"}),c=o.sel):$o(o,l,s,G):(l=0,Vo(o,new lo([s],0),G),c=o.sel);var p=n;function f(t){if(0!=ut(p,t))if(p=t,"rectangle"==r.unit){for(var i=[],a=e.options.tabSize,u=H(tt(o,n.line).text,n.ch,a),d=H(tt(o,t.line).text,t.ch,a),f=Math.min(u,d),h=Math.max(u,d),g=Math.min(n.line,t.line),m=Math.min(e.lastLine(),Math.max(n.line,t.line));g<=m;g++){var _=tt(o,g).text,v=Z(_,f,a);f==h?i.push(new co(ct(g,v),ct(g,v))):_.length>v&&i.push(new co(ct(g,v),ct(g,Z(_,h,a))))}i.length||i.push(new co(n,n)),Vo(o,uo(e,c.ranges.slice(0,l).concat(i),l),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var y,b=s,k=Ts(e,t,r.unit),w=b.anchor;ut(k.anchor,w)>0?(y=k.head,w=ht(b.from(),k.anchor)):(y=k.anchor,w=ft(b.to(),k.head));var x=c.ranges.slice(0);x[l]=Es(e,new co(mt(o,w),y)),Vo(o,uo(e,x,l),G)}}var h=i.wrapper.getBoundingClientRect(),g=0;function m(t){var n=++g,a=Rr(e,t,!0,"rectangle"==r.unit);if(a)if(0!=ut(a,p)){e.curOp.focus=O(P(e)),f(a);var s=oi(i,o);(a.line>=s.to||a.lineh.bottom?20:0;l&&setTimeout(Ii(e,function(){g==n&&(i.scroller.scrollTop+=l,m(t))}),50)}}function _(t){e.state.selectingText=!1,g=1/0,t&&(Te(t),i.input.focus()),ke(i.wrapper.ownerDocument,"mousemove",v),ke(i.wrapper.ownerDocument,"mouseup",y),o.history.lastSelOrigin=null}var v=Ii(e,function(e){0!==e.buttons&&De(e)?m(e):_(e)}),y=Ii(e,_);e.state.selectingText=y,ye(i.wrapper.ownerDocument,"mousemove",v),ye(i.wrapper.ownerDocument,"mouseup",y)}function Es(e,t){var n=t.anchor,r=t.head,i=tt(e.doc,n.line);if(0==ut(n,r)&&n.sticky==r.sticky)return t;var o=_e(i);if(!o)return t;var a=ge(o,n.ch,n.sticky),s=o[a];if(s.from!=n.ch&&s.to!=n.ch)return t;var l,c=a+(s.from==n.ch==(1!=s.level)?0:1);if(0==c||c==o.length)return t;if(r.line!=n.line)l=(r.line-n.line)*("ltr"==e.doc.direction?1:-1)>0;else{var u=ge(o,r.ch,r.sticky),d=u-a||(r.ch-n.ch)*(1==s.level?-1:1);l=u==c-1||u==c?d<0:d>0}var p=o[c+(l?-1:0)],f=l==(1==p.level),h=f?p.from:p.to,g=f?"after":"before";return n.ch==h&&n.sticky==g?t:new co(new ct(n.line,h,g),r)}function As(e,t,n,r){var i,o;if(t.touches)i=t.touches[0].clientX,o=t.touches[0].clientY;else try{i=t.clientX,o=t.clientY}catch(p){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&Te(t);var a=e.display,s=a.lineDiv.getBoundingClientRect();if(o>s.bottom||!Se(e,n))return Ee(t);o-=s.top-a.viewOffset;for(var l=0;l=i){var u=at(e.doc,o),d=e.display.gutterSpecs[l];return we(e,n,e,u,d.className,t),Ee(t)}}}function Ms(e,t){return As(e,t,"gutterClick",!0)}function Ds(e,t){Xn(e.display,t)||Os(e,t)||xe(e,t,"contextmenu")||C||e.display.input.onContextMenu(t)}function Os(e,t){return!!Se(e,"gutterContextMenu")&&As(e,t,"gutterContextMenu",!1)}function Ns(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),mr(e)}bs.prototype.compare=function(e,t,n){return this.time+ys>e&&0==ut(t,this.pos)&&n==this.button};var zs={toString:function(){return"CodeMirror.Init"}},Is={},Fs={};function Ps(e){var t=e.optionHandlers;function n(n,r,i,o){e.defaults[n]=r,i&&(t[n]=o?function(e,t,n){n!=zs&&i(e,t,n)}:i)}e.defineOption=n,e.Init=zs,n("value","",function(e,t){return e.setValue(t)},!0),n("mode",null,function(e,t){e.doc.modeOption=t,vo(e)},!0),n("indentUnit",2,vo,!0),n("indentWithTabs",!1),n("smartIndent",!0),n("tabSize",4,function(e){yo(e),mr(e),Br(e)},!0),n("lineSeparator",null,function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter(function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(-1==o)break;i=o+t.length,n.push(ct(r,o))}r++});for(var i=n.length-1;i>=0;i--)la(e.doc,t,n[i],ct(n[i].line,n[i].ch+t.length))}}),n("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\u202d\u202e\u2066\u2067\u2069\ufeff\ufff9-\ufffc]/g,function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),n!=zs&&e.refresh()}),n("specialCharPlaceholder",bn,function(e){return e.refresh()},!0),n("electricChars",!0),n("inputStyle",v?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),n("spellcheck",!1,function(e,t){return e.getInputField().spellcheck=t},!0),n("autocorrect",!1,function(e,t){return e.getInputField().autocorrect=t},!0),n("autocapitalize",!1,function(e,t){return e.getInputField().autocapitalize=t},!0),n("rtlMoveVisually",!k),n("wholeLineUpdateBefore",!0),n("theme","default",function(e){Ns(e),to(e)},!0),n("keyMap","default",function(e,t,n){var r=Ga(t),i=n!=zs&&Ga(n);i&&i.detach&&i.detach(e,r),r.attach&&r.attach(e,i||null)}),n("extraKeys",null),n("configureMouse",null),n("lineWrapping",!1,qs,!0),n("gutters",[],function(e,t){e.display.gutterSpecs=Ji(t,e.options.lineNumbers),to(e)},!0),n("fixedGutter",!0,function(e,t){e.display.gutters.style.left=t?Ir(e.display)+"px":"0",e.refresh()},!0),n("coverGutterNextToScrollbar",!1,function(e){return wi(e)},!0),n("scrollbarStyle","native",function(e){Si(e),wi(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)},!0),n("lineNumbers",!1,function(e,t){e.display.gutterSpecs=Ji(e.options.gutters,t),to(e)},!0),n("firstLineNumber",1,to,!0),n("lineNumberFormatter",function(e){return e},to,!0),n("showCursorWhenSelecting",!1,Kr,!0),n("resetSelectionOnContextMenu",!0),n("lineWiseCopyCut",!0),n("pasteLinesPerSelection",!0),n("selectionsMayTouch",!1),n("readOnly",!1,function(e,t){"nocursor"==t&&(ni(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)}),n("screenReaderLabel",null,function(e,t){t=""===t?null:t,e.display.input.screenReaderLabelChanged(t)}),n("disableInput",!1,function(e,t){t||e.display.input.reset()},!0),n("dragDrop",!0,Rs),n("allowDropFileTypes",null),n("cursorBlinkRate",530),n("cursorScrollMargin",0),n("cursorHeight",1,Kr,!0),n("singleCursorHeightPerLine",!0,Kr,!0),n("workTime",100),n("workDelay",100),n("flattenSpans",!0,yo,!0),n("addModeClass",!1,yo,!0),n("pollInterval",100),n("undoDepth",200,function(e,t){return e.doc.history.undoDepth=t}),n("historyEventDelay",1250),n("viewportMargin",10,function(e){return e.refresh()},!0),n("maxHighlightLength",1e4,yo,!0),n("moveInputWithCursor",!0,function(e,t){t||e.display.input.resetPosition()}),n("tabindex",null,function(e,t){return e.display.input.getField().tabIndex=t||""}),n("autofocus",null),n("direction","ltr",function(e,t){return e.doc.setDirection(t)},!0),n("phrases",null)}function Rs(e,t,n){var r=n&&n!=zs;if(!t!=!r){var i=e.display.dragFunctions,o=t?ye:ke;o(e.display.scroller,"dragstart",i.start),o(e.display.scroller,"dragenter",i.enter),o(e.display.scroller,"dragover",i.over),o(e.display.scroller,"dragleave",i.leave),o(e.display.scroller,"drop",i.drop)}}function qs(e){e.options.lineWrapping?(N(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(T(e.display.wrapper,"CodeMirror-wrap"),pn(e)),Pr(e),Br(e),mr(e),setTimeout(function(){return wi(e)},100)}function Bs(e,t){var n=this;if(!(this instanceof Bs))return new Bs(e,t);this.options=t=t?$(t):{},$(Is,t,!1);var r=t.value;"string"==typeof r?r=new Ta(r,t.mode,null,t.lineSeparator,t.direction):t.mode&&(r.modeOption=t.mode),this.doc=r;var i=new Bs.inputStyles[t.inputStyle](this),o=this.display=new no(e,r,i,t);for(var c in o.wrapper.CodeMirror=this,Ns(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Si(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new W,keySeq:null,specialChars:null},t.autofocus&&!v&&o.input.focus(),a&&s<11&&setTimeout(function(){return n.display.input.reset(!0)},20),$s(this),za(),Ti(this),this.curOp.forceUpdate=!0,xo(this,r),t.autofocus&&!v||this.hasFocus()?setTimeout(function(){n.hasFocus()&&!n.state.focused&&ti(n)},20):ni(this),Fs)Fs.hasOwnProperty(c)&&Fs[c](this,t[c],zs);Yi(this),t.finishInit&&t.finishInit(this);for(var u=0;u400}ye(t.scroller,"touchstart",function(i){if(!xe(e,i)&&!o(i)&&!Ms(e,i)){t.input.ensurePolled(),clearTimeout(n);var a=+new Date;t.activeTouch={start:a,moved:!1,prev:a-r.end<=300?r:null},1==i.touches.length&&(t.activeTouch.left=i.touches[0].pageX,t.activeTouch.top=i.touches[0].pageY)}}),ye(t.scroller,"touchmove",function(){t.activeTouch&&(t.activeTouch.moved=!0)}),ye(t.scroller,"touchend",function(n){var r=t.activeTouch;if(r&&!Xn(t,n)&&null!=r.left&&!r.moved&&new Date-r.start<300){var o,a=e.coordsChar(t.activeTouch,"page");o=!r.prev||l(r,r.prev)?new co(a,a):!r.prev.prev||l(r,r.prev.prev)?e.findWordAt(a):new co(ct(a.line,0),mt(e.doc,ct(a.line+1,0))),e.setSelection(o.anchor,o.head),e.focus(),Te(n)}i()}),ye(t.scroller,"touchcancel",i),ye(t.scroller,"scroll",function(){t.scroller.clientHeight&&(mi(e,t.scroller.scrollTop),vi(e,t.scroller.scrollLeft,!0),we(e,"scroll",e))}),ye(t.scroller,"mousewheel",function(t){return so(e,t)}),ye(t.scroller,"DOMMouseScroll",function(t){return so(e,t)}),ye(t.wrapper,"scroll",function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0}),t.dragFunctions={enter:function(t){xe(e,t)||Ae(t)},over:function(t){xe(e,t)||(Ma(e,t),Ae(t))},start:function(t){return Aa(e,t)},drop:Ii(e,Ea),leave:function(t){xe(e,t)||Da(e)}};var c=t.input.getField();ye(c,"keyup",function(t){return gs.call(e,t)}),ye(c,"keydown",Ii(e,fs)),ye(c,"keypress",Ii(e,ms)),ye(c,"focus",function(t){return ti(e,t)}),ye(c,"blur",function(t){return ni(e,t)})}Bs.defaults=Is,Bs.optionHandlers=Fs;var Hs=[];function Ws(e,t,n,r){var i,o=e.doc;null==n&&(n="add"),"smart"==n&&(o.mode.indent?i=xt(e,t).state:n="prev");var a=e.options.tabSize,s=tt(o,t),l=H(s.text,null,a);s.stateAfter&&(s.stateAfter=null);var c,u=s.text.match(/^\s*/)[0];if(r||/\S/.test(s.text)){if("smart"==n&&(c=o.mode.indent(i,s.text.slice(u.length),s.text),c==K||c>150)){if(!r)return;n="prev"}}else c=0,n="not";"prev"==n?c=t>o.first?H(tt(o,t-1).text,null,a):0:"add"==n?c=l+e.options.indentUnit:"subtract"==n?c=l-e.options.indentUnit:"number"==typeof n&&(c=l+n),c=Math.max(0,c);var d="",p=0;if(e.options.indentWithTabs)for(var f=Math.floor(c/a);f;--f)p+=a,d+="\t";if(pa,l=Pe(t),c=null;if(s&&r.ranges.length>1)if(Us&&Us.text.join("\n")==t){if(r.ranges.length%Us.text.length==0){c=[];for(var u=0;u=0;p--){var f=r.ranges[p],h=f.from(),g=f.to();f.empty()&&(n&&n>0?h=ct(h.line,h.ch-n):e.state.overwrite&&!s?g=ct(g.line,Math.min(tt(o,g.line).text.length,g.ch+ee(l).length)):s&&Us&&Us.lineWise&&Us.text.join("\n")==l.join("\n")&&(h=g=ct(h.line,0)));var m={from:h,to:g,text:c?c[p%c.length]:l,origin:i||(s?"paste":e.state.cutIncoming>a?"cut":"+input")};na(e.doc,m),On(e,"inputRead",e,m)}t&&!s&&Gs(e,t),di(e),e.curOp.updateInput<2&&(e.curOp.updateInput=d),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function Xs(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||!t.hasFocus()||zi(t,function(){return Ks(t,n,0,null,"paste")}),!0}function Gs(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var i=n.ranges[r];if(!(i.head.ch>100||r&&n.ranges[r-1].head.line==i.head.line)){var o=e.getModeAt(i.head),a=!1;if(o.electricChars){for(var s=0;s-1){a=Ws(e,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(tt(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=Ws(e,i.head.line,"smart"));a&&On(e,"electricInput",e,i.head.line)}}}function Qs(e){for(var t=[],n=[],r=0;rn&&(Ws(this,i.head.line,e,!0),n=i.head.line,r==this.doc.sel.primIndex&&di(this));else{var o=i.from(),a=i.to(),s=Math.max(n,o.line);n=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var l=s;l0&&$o(this.doc,r,new co(o,c[r].to()),X)}}}),getTokenAt:function(e,t){return Lt(this,e,t)},getLineTokens:function(e,t){return Lt(this,ct(e),t,!0)},getTokenTypeAt:function(e){e=mt(this.doc,e);var t,n=wt(this,tt(this.doc,e.line)),r=0,i=(n.length-1)/2,o=e.ch;if(0==o)t=n[2];else for(;;){var a=r+i>>1;if((a?n[2*a-1]:0)>=o)i=a;else{if(!(n[2*a+1]o&&(e=o,i=!0),r=tt(this.doc,e)}else r=e;return br(this,r,{top:0,left:0},t||"page",n||i).top+(i?this.doc.height-un(r):0)},defaultTextHeight:function(){return Or(this.display)},defaultCharWidth:function(){return Nr(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,i){var o=this.display;e=xr(this,mt(this.doc,e));var a=e.bottom,s=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),o.sizer.appendChild(t),"over"==r)a=e.top;else if("above"==r||"near"==r){var l=Math.max(o.wrapper.clientHeight,this.doc.height),c=Math.max(o.sizer.clientWidth,o.lineSpace.clientWidth);("above"==r||e.bottom+t.offsetHeight>l)&&e.top>t.offsetHeight?a=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=l&&(a=e.bottom),s+t.offsetWidth>c&&(s=c-t.offsetWidth)}t.style.top=a+"px",t.style.left=t.style.right="","right"==i?(s=o.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?s=0:"middle"==i&&(s=(o.sizer.clientWidth-t.offsetWidth)/2),t.style.left=s+"px"),n&&li(this,{left:s,top:a,right:s+t.offsetWidth,bottom:a+t.offsetHeight})},triggerOnKeyDown:Fi(fs),triggerOnKeyPress:Fi(ms),triggerOnKeyUp:gs,triggerOnMouseDown:Fi(ws),execCommand:function(e){if(ts.hasOwnProperty(e))return ts[e].call(null,this)},triggerElectric:Fi(function(e){Gs(this,e)}),findPosH:function(e,t,n,r){var i=1;t<0&&(i=-1,t=-t);for(var o=mt(this.doc,e),a=0;a0&&s(n.charAt(r-1)))--r;while(i.5||this.options.lineWrapping)&&Pr(this),we(this,"refresh",this)}),swapDoc:Fi(function(e){var t=this.doc;return t.cm=null,this.state.selectingText&&this.state.selectingText(),xo(this,e),mr(this),this.display.input.reset(),pi(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,On(this,"swapDoc",this,t),t}),phrase:function(e){var t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},je(e),e.registerHelper=function(t,r,i){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][r]=i},e.registerGlobalHelper=function(t,r,i,o){e.registerHelper(t,r,o),n[t]._global.push({pred:i,val:o})}}function el(e,t,n,r,i){var o=t,a=n,s=tt(e,t.line),l=i&&"rtl"==e.direction?-n:n;function c(){var n=t.line+l;return!(n=e.first+e.size)&&(t=new ct(n,t.ch,t.sticky),s=tt(e,n))}function u(o){var a;if("codepoint"==r){var u=s.text.charCodeAt(t.ch+(n>0?0:-1));if(isNaN(u))a=null;else{var d=n>0?u>=55296&&u<56320:u>=56320&&u<57343;a=new ct(t.line,Math.max(0,Math.min(s.text.length,t.ch+n*(d?2:1))),-n)}}else a=i?es(e.cm,s,t,n):Ya(s,t,n);if(null==a){if(o||!c())return!1;t=Ja(i,e.cm,s,t.line,l)}else t=a;return!0}if("char"==r||"codepoint"==r)u();else if("column"==r)u(!0);else if("word"==r||"group"==r)for(var d=null,p="group"==r,f=e.cm&&e.cm.getHelper(t,"wordChars"),h=!0;;h=!1){if(n<0&&!u(!h))break;var g=s.text.charAt(t.ch)||"\n",m=se(g,f)?"w":p&&"\n"==g?"n":!p||/\s/.test(g)?null:"p";if(!p||h||m||(m="s"),d&&d!=m){n<0&&(n=1,u(),t.sticky="after");break}if(m&&(d=m),n>0&&!u(!h))break}var _=Yo(e,t,o,a,!0);return dt(o,_)&&(_.hitSide=!0),_}function tl(e,t,n,r){var i,o,a=e.doc,s=t.left;if("page"==r){var l=Math.min(e.display.wrapper.clientHeight,q(e).innerHeight||a(e).documentElement.clientHeight),c=Math.max(l-.5*Or(e.display),3);i=(n>0?t.bottom:t.top)+n*c}else"line"==r&&(i=n>0?t.bottom+3:t.top-3);for(;;){if(o=jr(e,s,i),!o.outside)break;if(n<0?i<=0:i>=a.height){o.hitSide=!0;break}i+=5*n}return o}var nl=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new W,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function rl(e,t){var n=or(e,t.line);if(!n||n.hidden)return null;var r=tt(e.doc,t.line),i=nr(n,r,t.line),o=_e(r,e.doc.direction),a="left";if(o){var s=ge(o,t.ch);a=s%2?"right":"left"}var l=ur(i.map,t.ch,a);return l.offset="right"==l.collapse?l.end:l.start,l}function il(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function ol(e,t){return t&&(e.bad=!0),e}function al(e,t,n,r,i){var o="",a=!1,s=e.doc.lineSeparator(),l=!1;function c(e){return function(t){return t.id==e}}function u(){a&&(o+=s,l&&(o+=s),a=l=!1)}function d(e){e&&(u(),o+=e)}function p(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(n)return void d(n);var o,f=t.getAttribute("cm-marker");if(f){var h=e.findMarks(ct(r,0),ct(i+1,0),c(+f));return void(h.length&&(o=h[0].find(0))&&d(nt(e.doc,o.from,o.to).join(s)))}if("false"==t.getAttribute("contenteditable"))return;var g=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;g&&u();for(var m=0;m=t.display.viewTo||o.line=t.display.viewFrom&&rl(t,i)||{node:l[0].measure.map[2],offset:0},u=o.liner.firstLine()&&(a=ct(a.line-1,tt(r.doc,a.line-1).length)),s.ch==tt(r.doc,s.line).text.length&&s.linei.viewTo-1)return!1;a.line==i.viewFrom||0==(e=qr(r,a.line))?(t=ot(i.view[0].line),n=i.view[0].node):(t=ot(i.view[e].line),n=i.view[e-1].node.nextSibling);var l,c,u=qr(r,s.line);if(u==i.view.length-1?(l=i.viewTo-1,c=i.lineDiv.lastChild):(l=ot(i.view[u+1].line)-1,c=i.view[u+1].node.previousSibling),!n)return!1;var d=r.doc.splitLines(al(r,n,c,t,l)),p=nt(r.doc,ct(t,0),ct(l,tt(r.doc,l).text.length));while(d.length>1&&p.length>1)if(ee(d)==ee(p))d.pop(),p.pop(),l--;else{if(d[0]!=p[0])break;d.shift(),p.shift(),t++}var f=0,h=0,g=d[0],m=p[0],_=Math.min(g.length,m.length);while(f<_&&g.charCodeAt(f)==m.charCodeAt(f))++f;var v=ee(d),y=ee(p),b=Math.min(v.length-(1==d.length?f:0),y.length-(1==p.length?f:0));while(ha.ch&&v.charCodeAt(v.length-h-1)==y.charCodeAt(y.length-h-1))f--,h++;d[d.length-1]=v.slice(0,v.length-h).replace(/^\u200b+/,""),d[0]=d[0].slice(f).replace(/\u200b+$/,"");var k=ct(t,f),w=ct(l,p.length?ee(p).length-h:0);return d.length>1||d[0]||ut(k,w)?(la(r.doc,d,k,w,"+input"),!0):void 0},nl.prototype.ensurePolled=function(){this.forceCompositionEnd()},nl.prototype.reset=function(){this.forceCompositionEnd()},nl.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},nl.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()},80))},nl.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||zi(this.cm,function(){return Br(e.cm)})},nl.prototype.setUneditable=function(e){e.contentEditable="false"},nl.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||Ii(this.cm,Ks)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},nl.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},nl.prototype.onContextMenu=function(){},nl.prototype.resetPosition=function(){},nl.prototype.needsContentAttribute=!0;var cl=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new W,this.hasSelection=!1,this.composing=null,this.resetting=!1};function ul(e,t){if(t=t?$(t):{},t.value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var n=O(R(e));t.autofocus=n==e||null!=e.getAttribute("autofocus")&&n==document.body}function r(){e.value=s.getValue()}var i;if(e.form&&(ye(e.form,"submit",r),!t.leaveSubmitMethodAlone)){var o=e.form;i=o.submit;try{var a=o.submit=function(){r(),o.submit=i,o.submit(),o.submit=a}}catch(l){}}t.finishInit=function(n){n.save=r,n.getTextArea=function(){return e},n.toTextArea=function(){n.toTextArea=isNaN,r(),e.parentNode.removeChild(n.getWrapperElement()),e.style.display="",e.form&&(ke(e.form,"submit",r),t.leaveSubmitMethodAlone||"function"!=typeof e.form.submit||(e.form.submit=i))}},e.style.display="none";var s=Bs(function(t){return e.parentNode.insertBefore(t,e.nextSibling)},t);return s}function dl(e){e.off=ke,e.on=ye,e.wheelEventPixels=ao,e.Doc=Ta,e.splitLines=Pe,e.countColumn=H,e.findColumn=Z,e.isWordChar=ae,e.Pass=K,e.signal=we,e.Line=fn,e.changeEnd=fo,e.scrollbarModel=Ci,e.Pos=ct,e.cmpPos=ut,e.modes=He,e.mimeModes=We,e.resolveMode=Ke,e.getMode=Xe,e.modeExtensions=Ge,e.extendMode=Qe,e.copyState=Ze,e.startState=Je,e.innerMode=Ye,e.commands=ts,e.keyMap=$a,e.keyName=Xa,e.isModifierKey=Va,e.lookupKey=Ua,e.normalizeKeyMap=Wa,e.StringStream=et,e.SharedTextMarker=ka,e.TextMarker=ya,e.LineWidget=ga,e.e_preventDefault=Te,e.e_stopPropagation=Le,e.e_stop=Ae,e.addClass=N,e.contains=D,e.rmClass=T,e.keyNames=Pa}cl.prototype.init=function(e){var t=this,n=this,r=this.cm;this.createField(e);var i=this.textarea;function o(e){if(!xe(r,e)){if(r.somethingSelected())Vs({lineWise:!1,text:r.getSelections()});else{if(!r.options.lineWiseCopyCut)return;var t=Qs(r);Vs({lineWise:!0,text:t.text}),"cut"==e.type?r.setSelections(t.ranges,null,X):(n.prevInput="",i.value=t.text.join("\n"),I(i))}"cut"==e.type&&(r.state.cutIncoming=+new Date)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),m&&(i.style.width="0px"),ye(i,"input",function(){a&&s>=9&&t.hasSelection&&(t.hasSelection=null),n.poll()}),ye(i,"paste",function(e){xe(r,e)||Xs(e,r)||(r.state.pasteIncoming=+new Date,n.fastPoll())}),ye(i,"cut",o),ye(i,"copy",o),ye(e.scroller,"paste",function(t){if(!Xn(e,t)&&!xe(r,t)){if(!i.dispatchEvent)return r.state.pasteIncoming=+new Date,void n.focus();var o=new Event("paste");o.clipboardData=t.clipboardData,i.dispatchEvent(o)}}),ye(e.lineSpace,"selectstart",function(t){Xn(e,t)||Te(t)}),ye(i,"compositionstart",function(){var e=r.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:e,range:r.markText(e,r.getCursor("to"),{className:"CodeMirror-composing"})}}),ye(i,"compositionend",function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)})},cl.prototype.createField=function(e){this.wrapper=Ys(),this.textarea=this.wrapper.firstChild;var t=this.cm.options;Zs(this.textarea,t.spellcheck,t.autocorrect,t.autocapitalize)},cl.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},cl.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=Xr(e);if(e.options.moveInputWithCursor){var i=xr(e,n.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+a.top-o.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+a.left-o.left))}return r},cl.prototype.showSelection=function(e){var t=this.cm,n=t.display;E(n.cursorDiv,e.cursors),E(n.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},cl.prototype.reset=function(e){if(!(this.contextMenuPending||this.composing&&e)){var t=this.cm;if(this.resetting=!0,t.somethingSelected()){this.prevInput="";var n=t.getSelection();this.textarea.value=n,t.state.focused&&I(this.textarea),a&&s>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value="",a&&s>=9&&(this.hasSelection=null));this.resetting=!1}},cl.prototype.getField=function(){return this.textarea},cl.prototype.supportsTouch=function(){return!1},cl.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!v||O(R(this.textarea))!=this.textarea))try{this.textarea.focus()}catch(e){}},cl.prototype.blur=function(){this.textarea.blur()},cl.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},cl.prototype.receivedFocus=function(){this.slowPoll()},cl.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},cl.prototype.fastPoll=function(){var e=!1,t=this;function n(){var r=t.poll();r||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,n))}t.pollingFast=!0,t.polling.set(20,n)},cl.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||this.resetting||!t.state.focused||Re(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=n.value;if(i==r&&!t.somethingSelected())return!1;if(a&&s>=9&&this.hasSelection===i||y&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||r||(r=""),8666==o)return this.reset(),this.cm.execCommand("undo")}var l=0,c=Math.min(r.length,i.length);while(l1e3||i.indexOf("\n")>-1?n.value=e.prevInput="":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},cl.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},cl.prototype.onKeyPress=function(){a&&s>=9&&(this.hasSelection=null),this.fastPoll()},cl.prototype.onContextMenu=function(e){var t=this,n=t.cm,r=n.display,i=t.textarea;t.contextMenuPending&&t.contextMenuPending();var o=Rr(n,e),c=r.scroller.scrollTop;if(o&&!p){var u=n.options.resetSelectionOnContextMenu;u&&-1==n.doc.sel.contains(o)&&Ii(n,Vo)(n.doc,po(o),X);var d,f=i.style.cssText,h=t.wrapper.style.cssText,g=t.wrapper.offsetParent.getBoundingClientRect();if(t.wrapper.style.cssText="position: static",i.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-g.top-5)+"px; left: "+(e.clientX-g.left-5)+"px;\n z-index: 1000; background: "+(a?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",l&&(d=i.ownerDocument.defaultView.scrollY),r.input.focus(),l&&i.ownerDocument.defaultView.scrollTo(null,d),r.input.reset(),n.somethingSelected()||(i.value=t.prevInput=" "),t.contextMenuPending=v,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll),a&&s>=9&&_(),C){Ae(e);var m=function(){ke(window,"mouseup",m),setTimeout(v,20)};ye(window,"mouseup",m)}else setTimeout(v,50)}function _(){if(null!=i.selectionStart){var e=n.somethingSelected(),o=""+(e?i.value:"");i.value="⇚",i.value=o,t.prevInput=e?"":"",i.selectionStart=1,i.selectionEnd=o.length,r.selForContextMenu=n.doc.sel}}function v(){if(t.contextMenuPending==v&&(t.contextMenuPending=!1,t.wrapper.style.cssText=h,i.style.cssText=f,a&&s<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=c),null!=i.selectionStart)){(!a||a&&s<9)&&_();var e=0,o=function(){r.selForContextMenu==n.doc.sel&&0==i.selectionStart&&i.selectionEnd>0&&""==t.prevInput?Ii(n,ea)(n):e++<10?r.detectingSelectAll=setTimeout(o,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(o,200)}}},cl.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e,this.textarea.readOnly=!!e},cl.prototype.setUneditable=function(){},cl.prototype.needsContentAttribute=!1,Ps(Bs),Js(Bs);var pl="iter insert remove copy getEditor constructor".split(" ");for(var fl in Ta.prototype)Ta.prototype.hasOwnProperty(fl)&&U(pl,fl)<0&&(Bs.prototype[fl]=function(e){return function(){return e.apply(this.doc,arguments)}}(Ta.prototype[fl]));return je(Ta),Bs.inputStyles={textarea:cl,contenteditable:nl},Bs.defineMode=function(e){Bs.defaults.mode||"null"==e||(Bs.defaults.mode=e),Ue.apply(this,arguments)},Bs.defineMIME=Ve,Bs.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),Bs.defineMIME("text/plain","null"),Bs.defineExtension=function(e,t){Bs.prototype[e]=t},Bs.defineDocExtension=function(e,t){Ta.prototype[e]=t},Bs.fromTextArea=ul,dl(Bs),Bs.version="5.65.20",Bs})},16193:function(e,t,n){"use strict";var r=n(84215);e.exports="NODE"===r},16533:function(e,t,n){"use strict";e.exports=n.p+"static/img/file_type_css.892d68fc.svg"},16573:function(e,t,n){"use strict";var r=n(43724),i=n(62106),o=n(3238),a=ArrayBuffer.prototype;r&&!("detached"in a)&&i(a,"detached",{configurable:!0,get:function(){return o(this)}})},16632:function(e,t,n){"use strict";var r=n(46518),i=n(44576),o=n(59143),a=n(34154),s=i.Uint8Array,l=!s||!s.prototype.setFromBase64||!function(){var e=new s([255,255,255,255,255]);try{return void e.setFromBase64("",null)}catch(t){}try{return void e.setFromBase64("a")}catch(t){}try{e.setFromBase64("MjYyZg===")}catch(t){return 50===e[0]&&54===e[1]&&50===e[2]&&255===e[3]&&255===e[4]}}();s&&r({target:"Uint8Array",proto:!0,forced:l},{setFromBase64:function(e){a(this);var t=o(e,arguments.length>1?arguments[1]:void 0,this,this.length);return{read:t.read,written:t.written}}})},16792:function(e,t,n){(function(e){e(n(15237))})(function(e){"use strict";e.defineMode("javascript",function(t,n){var r,i,o=t.indentUnit,a=n.statementIndent,s=n.jsonld,l=n.json||s,c=!1!==n.trackScope,u=n.typescript,d=n.wordCharacters||/[\w$\xa1-\uffff]/,p=function(){function e(e){return{type:e,style:"keyword"}}var t=e("keyword a"),n=e("keyword b"),r=e("keyword c"),i=e("keyword d"),o=e("operator"),a={type:"atom",style:"atom"};return{if:e("if"),while:t,with:t,else:n,do:n,try:n,finally:n,return:i,break:i,continue:i,new:e("new"),delete:r,void:r,throw:r,debugger:e("debugger"),var:e("var"),const:e("var"),let:e("var"),function:e("function"),catch:e("catch"),for:e("for"),switch:e("switch"),case:e("case"),default:e("default"),in:o,typeof:o,instanceof:o,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:e("this"),class:e("class"),super:e("atom"),yield:r,export:e("export"),import:e("import"),extends:r,await:r}}(),f=/[+\-*&%=<>!?|~^@]/,h=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function g(e){var t,n=!1,r=!1;while(null!=(t=e.next())){if(!n){if("/"==t&&!r)return;"["==t?r=!0:r&&"]"==t&&(r=!1)}n=!n&&"\\"==t}}function m(e,t,n){return r=e,i=n,t}function _(e,t){var n=e.next();if('"'==n||"'"==n)return t.tokenize=v(n),t.tokenize(e,t);if("."==n&&e.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return m("number","number");if("."==n&&e.match(".."))return m("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(n))return m(n);if("="==n&&e.eat(">"))return m("=>","operator");if("0"==n&&e.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return m("number","number");if(/\d/.test(n))return e.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),m("number","number");if("/"==n)return e.eat("*")?(t.tokenize=y,y(e,t)):e.eat("/")?(e.skipToEnd(),m("comment","comment")):it(e,t,1)?(g(e),e.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),m("regexp","string-2")):(e.eat("="),m("operator","operator",e.current()));if("`"==n)return t.tokenize=b,b(e,t);if("#"==n&&"!"==e.peek())return e.skipToEnd(),m("meta","meta");if("#"==n&&e.eatWhile(d))return m("variable","property");if("<"==n&&e.match("!--")||"-"==n&&e.match("->")&&!/\S/.test(e.string.slice(0,e.start)))return e.skipToEnd(),m("comment","comment");if(f.test(n))return">"==n&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=n&&"="!=n||e.eat("="):/[<>*+\-|&?]/.test(n)&&(e.eat(n),">"==n&&e.eat(n))),"?"==n&&e.eat(".")?m("."):m("operator","operator",e.current());if(d.test(n)){e.eatWhile(d);var r=e.current();if("."!=t.lastType){if(p.propertyIsEnumerable(r)){var i=p[r];return m(i.type,i.style,r)}if("async"==r&&e.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return m("async","keyword",r)}return m("variable","variable",r)}}function v(e){return function(t,n){var r,i=!1;if(s&&"@"==t.peek()&&t.match(h))return n.tokenize=_,m("jsonld-keyword","meta");while(null!=(r=t.next())){if(r==e&&!i)break;i=!i&&"\\"==r}return i||(n.tokenize=_),m("string","string")}}function y(e,t){var n,r=!1;while(n=e.next()){if("/"==n&&r){t.tokenize=_;break}r="*"==n}return m("comment","comment")}function b(e,t){var n,r=!1;while(null!=(n=e.next())){if(!r&&("`"==n||"$"==n&&e.eat("{"))){t.tokenize=_;break}r=!r&&"\\"==n}return m("quasi","string-2",e.current())}var k="([{}])";function w(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var n=e.string.indexOf("=>",e.start);if(!(n<0)){if(u){var r=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,n));r&&(n=r.index)}for(var i=0,o=!1,a=n-1;a>=0;--a){var s=e.string.charAt(a),l=k.indexOf(s);if(l>=0&&l<3){if(!i){++a;break}if(0==--i){"("==s&&(o=!0);break}}else if(l>=3&&l<6)++i;else if(d.test(s))o=!0;else if(/["'\/`]/.test(s))for(;;--a){if(0==a)return;var c=e.string.charAt(a-1);if(c==s&&"\\"!=e.string.charAt(a-2)){a--;break}}else if(o&&!i){++a;break}}o&&!i&&(t.fatArrowAt=a)}}var x={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function C(e,t,n,r,i,o){this.indented=e,this.column=t,this.type=n,this.prev=i,this.info=o,null!=r&&(this.align=r)}function S(e,t){if(!c)return!1;for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0;for(var r=e.context;r;r=r.prev)for(n=r.vars;n;n=n.next)if(n.name==t)return!0}function j(e,t,n,r,i){var o=e.cc;T.state=e,T.stream=i,T.marked=null,T.cc=o,T.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);while(1){var a=o.length?o.pop():l?U:H;if(a(n,r)){while(o.length&&o[o.length-1].lex)o.pop()();return T.marked?T.marked:"variable"==n&&S(e,r)?"variable-2":t}}}var T={state:null,column:null,marked:null,cc:null};function L(){for(var e=arguments.length-1;e>=0;e--)T.cc.push(arguments[e])}function E(){return L.apply(null,arguments),!0}function A(e,t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}function M(e){var t=T.state;if(T.marked="def",c){if(t.context)if("var"==t.lexical.info&&t.context&&t.context.block){var r=D(e,t.context);if(null!=r)return void(t.context=r)}else if(!A(e,t.localVars))return void(t.localVars=new z(e,t.localVars));n.globalVars&&!A(e,t.globalVars)&&(t.globalVars=new z(e,t.globalVars))}}function D(e,t){if(t){if(t.block){var n=D(e,t.prev);return n?n==t.prev?t:new N(n,t.vars,!0):null}return A(e,t.vars)?t:new N(t.prev,new z(e,t.vars),!1)}return null}function O(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function N(e,t,n){this.prev=e,this.vars=t,this.block=n}function z(e,t){this.name=e,this.next=t}var I=new z("this",new z("arguments",null));function F(){T.state.context=new N(T.state.context,T.state.localVars,!1),T.state.localVars=I}function P(){T.state.context=new N(T.state.context,T.state.localVars,!0),T.state.localVars=null}function R(){T.state.localVars=T.state.context.vars,T.state.context=T.state.context.prev}function q(e,t){var n=function(){var n=T.state,r=n.indented;if("stat"==n.lexical.type)r=n.lexical.indented;else for(var i=n.lexical;i&&")"==i.type&&i.align;i=i.prev)r=i.indented;n.lexical=new C(r,T.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function B(){var e=T.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function $(e){function t(n){return n==e?E():";"==e||"}"==n||")"==n||"]"==n?L():E(t)}return t}function H(e,t){return"var"==e?E(q("vardef",t),Le,$(";"),B):"keyword a"==e?E(q("form"),K,H,B):"keyword b"==e?E(q("form"),H,B):"keyword d"==e?T.stream.match(/^\s*$/,!1)?E():E(q("stat"),G,$(";"),B):"debugger"==e?E($(";")):"{"==e?E(q("}"),P,pe,B,R):";"==e?E():"if"==e?("else"==T.state.lexical.info&&T.state.cc[T.state.cc.length-1]==B&&T.state.cc.pop()(),E(q("form"),K,H,B,Ne)):"function"==e?E(Pe):"for"==e?E(q("form"),P,ze,H,R,B):"class"==e||u&&"interface"==t?(T.marked="keyword",E(q("form","class"==e?e:t),He,B)):"variable"==e?u&&"declare"==t?(T.marked="keyword",E(H)):u&&("module"==t||"enum"==t||"type"==t)&&T.stream.match(/^\s*\w/,!1)?(T.marked="keyword","enum"==t?E(tt):"type"==t?E(qe,$("operator"),_e,$(";")):E(q("form"),Ee,$("{"),q("}"),pe,B,B)):u&&"namespace"==t?(T.marked="keyword",E(q("form"),U,H,B)):u&&"abstract"==t?(T.marked="keyword",E(H)):E(q("stat"),oe):"switch"==e?E(q("form"),K,$("{"),q("}","switch"),P,pe,B,B,R):"case"==e?E(U,$(":")):"default"==e?E($(":")):"catch"==e?E(q("form"),F,W,H,B,R):"export"==e?E(q("stat"),Ke,B):"import"==e?E(q("stat"),Ge,B):"async"==e?E(H):"@"==t?E(U,H):L(q("stat"),U,$(";"),B)}function W(e){if("("==e)return E(Be,$(")"))}function U(e,t){return X(e,t,!1)}function V(e,t){return X(e,t,!0)}function K(e){return"("!=e?L():E(q(")"),G,$(")"),B)}function X(e,t,n){if(T.state.fatArrowAt==T.stream.start){var r=n?te:ee;if("("==e)return E(F,q(")"),ue(Be,")"),B,$("=>"),r,R);if("variable"==e)return L(F,Ee,$("=>"),r,R)}var i=n?Z:Q;return x.hasOwnProperty(e)?E(i):"function"==e?E(Pe,i):"class"==e||u&&"interface"==t?(T.marked="keyword",E(q("form"),$e,B)):"keyword c"==e||"async"==e?E(n?V:U):"("==e?E(q(")"),G,$(")"),B,i):"operator"==e||"spread"==e?E(n?V:U):"["==e?E(q("]"),et,B,i):"{"==e?de(se,"}",null,i):"quasi"==e?L(Y,i):"new"==e?E(ne(n)):E()}function G(e){return e.match(/[;\}\)\],]/)?L():L(U)}function Q(e,t){return","==e?E(G):Z(e,t,!1)}function Z(e,t,n){var r=0==n?Q:Z,i=0==n?U:V;return"=>"==e?E(F,n?te:ee,R):"operator"==e?/\+\+|--/.test(t)||u&&"!"==t?E(r):u&&"<"==t&&T.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?E(q(">"),ue(_e,">"),B,r):"?"==t?E(U,$(":"),i):E(i):"quasi"==e?L(Y,r):";"!=e?"("==e?de(V,")","call",r):"."==e?E(ae,r):"["==e?E(q("]"),G,$("]"),B,r):u&&"as"==t?(T.marked="keyword",E(_e,r)):"regexp"==e?(T.state.lastType=T.marked="operator",T.stream.backUp(T.stream.pos-T.stream.start-1),E(i)):void 0:void 0}function Y(e,t){return"quasi"!=e?L():"${"!=t.slice(t.length-2)?E(Y):E(G,J)}function J(e){if("}"==e)return T.marked="string-2",T.state.tokenize=b,E(Y)}function ee(e){return w(T.stream,T.state),L("{"==e?H:U)}function te(e){return w(T.stream,T.state),L("{"==e?H:V)}function ne(e){return function(t){return"."==t?E(e?ie:re):"variable"==t&&u?E(Se,e?Z:Q):L(e?V:U)}}function re(e,t){if("target"==t)return T.marked="keyword",E(Q)}function ie(e,t){if("target"==t)return T.marked="keyword",E(Z)}function oe(e){return":"==e?E(B,H):L(Q,$(";"),B)}function ae(e){if("variable"==e)return T.marked="property",E()}function se(e,t){return"async"==e?(T.marked="property",E(se)):"variable"==e||"keyword"==T.style?(T.marked="property","get"==t||"set"==t?E(le):(u&&T.state.fatArrowAt==T.stream.start&&(n=T.stream.match(/^\s*:\s*/,!1))&&(T.state.fatArrowAt=T.stream.pos+n[0].length),E(ce))):"number"==e||"string"==e?(T.marked=s?"property":T.style+" property",E(ce)):"jsonld-keyword"==e?E(ce):u&&O(t)?(T.marked="keyword",E(se)):"["==e?E(U,fe,$("]"),ce):"spread"==e?E(V,ce):"*"==t?(T.marked="keyword",E(se)):":"==e?L(ce):void 0;var n}function le(e){return"variable"!=e?L(ce):(T.marked="property",E(Pe))}function ce(e){return":"==e?E(V):"("==e?L(Pe):void 0}function ue(e,t,n){function r(i,o){if(n?n.indexOf(i)>-1:","==i){var a=T.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),E(function(n,r){return n==t||r==t?L():L(e)},r)}return i==t||o==t?E():n&&n.indexOf(";")>-1?L(e):E($(t))}return function(n,i){return n==t||i==t?E():L(e,r)}}function de(e,t,n){for(var r=3;r"),_e):"quasi"==e?L(ke,Ce):void 0}function ve(e){if("=>"==e)return E(_e)}function ye(e){return e.match(/[\}\)\]]/)?E():","==e||";"==e?E(ye):L(be,ye)}function be(e,t){return"variable"==e||"keyword"==T.style?(T.marked="property",E(be)):"?"==t||"number"==e||"string"==e?E(be):":"==e?E(_e):"["==e?E($("variable"),he,$("]"),be):"("==e?L(Re,be):e.match(/[;\}\)\],]/)?void 0:E()}function ke(e,t){return"quasi"!=e?L():"${"!=t.slice(t.length-2)?E(ke):E(_e,we)}function we(e){if("}"==e)return T.marked="string-2",T.state.tokenize=b,E(ke)}function xe(e,t){return"variable"==e&&T.stream.match(/^\s*[?:]/,!1)||"?"==t?E(xe):":"==e?E(_e):"spread"==e?E(xe):L(_e)}function Ce(e,t){return"<"==t?E(q(">"),ue(_e,">"),B,Ce):"|"==t||"."==e||"&"==t?E(_e):"["==e?E(_e,$("]"),Ce):"extends"==t||"implements"==t?(T.marked="keyword",E(_e)):"?"==t?E(_e,$(":"),_e):void 0}function Se(e,t){if("<"==t)return E(q(">"),ue(_e,">"),B,Ce)}function je(){return L(_e,Te)}function Te(e,t){if("="==t)return E(_e)}function Le(e,t){return"enum"==t?(T.marked="keyword",E(tt)):L(Ee,fe,De,Oe)}function Ee(e,t){return u&&O(t)?(T.marked="keyword",E(Ee)):"variable"==e?(M(t),E()):"spread"==e?E(Ee):"["==e?de(Me,"]"):"{"==e?de(Ae,"}"):void 0}function Ae(e,t){return"variable"!=e||T.stream.match(/^\s*:/,!1)?("variable"==e&&(T.marked="property"),"spread"==e?E(Ee):"}"==e?L():"["==e?E(U,$("]"),$(":"),Ae):E($(":"),Ee,De)):(M(t),E(De))}function Me(){return L(Ee,De)}function De(e,t){if("="==t)return E(V)}function Oe(e){if(","==e)return E(Le)}function Ne(e,t){if("keyword b"==e&&"else"==t)return E(q("form","else"),H,B)}function ze(e,t){return"await"==t?E(ze):"("==e?E(q(")"),Ie,B):void 0}function Ie(e){return"var"==e?E(Le,Fe):"variable"==e?E(Fe):L(Fe)}function Fe(e,t){return")"==e?E():";"==e?E(Fe):"in"==t||"of"==t?(T.marked="keyword",E(U,Fe)):L(U,Fe)}function Pe(e,t){return"*"==t?(T.marked="keyword",E(Pe)):"variable"==e?(M(t),E(Pe)):"("==e?E(F,q(")"),ue(Be,")"),B,ge,H,R):u&&"<"==t?E(q(">"),ue(je,">"),B,Pe):void 0}function Re(e,t){return"*"==t?(T.marked="keyword",E(Re)):"variable"==e?(M(t),E(Re)):"("==e?E(F,q(")"),ue(Be,")"),B,ge,R):u&&"<"==t?E(q(">"),ue(je,">"),B,Re):void 0}function qe(e,t){return"keyword"==e||"variable"==e?(T.marked="type",E(qe)):"<"==t?E(q(">"),ue(je,">"),B):void 0}function Be(e,t){return"@"==t&&E(U,Be),"spread"==e?E(Be):u&&O(t)?(T.marked="keyword",E(Be)):u&&"this"==e?E(fe,De):L(Ee,fe,De)}function $e(e,t){return"variable"==e?He(e,t):We(e,t)}function He(e,t){if("variable"==e)return M(t),E(We)}function We(e,t){return"<"==t?E(q(">"),ue(je,">"),B,We):"extends"==t||"implements"==t||u&&","==e?("implements"==t&&(T.marked="keyword"),E(u?_e:U,We)):"{"==e?E(q("}"),Ue,B):void 0}function Ue(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||u&&O(t))&&T.stream.match(/^\s+#?[\w$\xa1-\uffff]/,!1)?(T.marked="keyword",E(Ue)):"variable"==e||"keyword"==T.style?(T.marked="property",E(Ve,Ue)):"number"==e||"string"==e?E(Ve,Ue):"["==e?E(U,fe,$("]"),Ve,Ue):"*"==t?(T.marked="keyword",E(Ue)):u&&"("==e?L(Re,Ue):";"==e||","==e?E(Ue):"}"==e?E():"@"==t?E(U,Ue):void 0}function Ve(e,t){if("!"==t)return E(Ve);if("?"==t)return E(Ve);if(":"==e)return E(_e,De);if("="==t)return E(V);var n=T.state.lexical.prev,r=n&&"interface"==n.info;return L(r?Re:Pe)}function Ke(e,t){return"*"==t?(T.marked="keyword",E(Je,$(";"))):"default"==t?(T.marked="keyword",E(U,$(";"))):"{"==e?E(ue(Xe,"}"),Je,$(";")):L(H)}function Xe(e,t){return"as"==t?(T.marked="keyword",E($("variable"))):"variable"==e?L(V,Xe):void 0}function Ge(e){return"string"==e?E():"("==e?L(U):"."==e?L(Q):L(Qe,Ze,Je)}function Qe(e,t){return"{"==e?de(Qe,"}"):("variable"==e&&M(t),"*"==t&&(T.marked="keyword"),E(Ye))}function Ze(e){if(","==e)return E(Qe,Ze)}function Ye(e,t){if("as"==t)return T.marked="keyword",E(Qe)}function Je(e,t){if("from"==t)return T.marked="keyword",E(U)}function et(e){return"]"==e?E():L(ue(V,"]"))}function tt(){return L(q("form"),Ee,$("{"),q("}"),ue(nt,"}"),B,B)}function nt(){return L(Ee,De)}function rt(e,t){return"operator"==e.lastType||","==e.lastType||f.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}function it(e,t,n){return t.tokenize==_&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(n||0)))}return F.lex=P.lex=!0,R.lex=!0,B.lex=!0,{startState:function(e){var t={tokenize:_,lastType:"sof",cc:[],lexical:new C((e||0)-o,0,"block",!1),localVars:n.localVars,context:n.localVars&&new N(null,null,!1),indented:e||0};return n.globalVars&&"object"==typeof n.globalVars&&(t.globalVars=n.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),w(e,t)),t.tokenize!=y&&e.eatSpace())return null;var n=t.tokenize(e,t);return"comment"==r?n:(t.lastType="operator"!=r||"++"!=i&&"--"!=i?r:"incdec",j(t,n,r,i,e))},indent:function(t,r){if(t.tokenize==y||t.tokenize==b)return e.Pass;if(t.tokenize!=_)return 0;var i,s=r&&r.charAt(0),l=t.lexical;if(!/^\s*else\b/.test(r))for(var c=t.cc.length-1;c>=0;--c){var u=t.cc[c];if(u==B)l=l.prev;else if(u!=Ne&&u!=R)break}while(("stat"==l.type||"form"==l.type)&&("}"==s||(i=t.cc[t.cc.length-1])&&(i==Q||i==Z)&&!/^[,\.=+\-*:?[\(]/.test(r)))l=l.prev;a&&")"==l.type&&"stat"==l.prev.type&&(l=l.prev);var d=l.type,p=s==d;return"vardef"==d?l.indented+("operator"==t.lastType||","==t.lastType?l.info.length+1:0):"form"==d&&"{"==s?l.indented:"form"==d?l.indented+o:"stat"==d?l.indented+(rt(t,r)?a||o:0):"switch"!=l.info||p||0==n.doubleIndentSwitch?l.align?l.column+(p?0:1):l.indented+(p?0:o):l.indented+(/^(?:case|default)\b/.test(r)?o:2*o)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:l?null:"/*",blockCommentEnd:l?null:"*/",blockCommentContinue:l?null:" * ",lineComment:l?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:l?"json":"javascript",jsonldMode:s,jsonMode:l,expressionAllowed:it,skipExpression:function(t){j(t,"atom","atom","true",new e.StringStream("",2,null))}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/manifest+json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})},18613:function(e,t,n){"use strict";e.exports=n.p+"static/img/file_type_text.7916b128.svg"},18727:function(e,t,n){"use strict";var r=n(36955);e.exports=function(e){var t=r(e);return"BigInt64Array"===t||"BigUint64Array"===t}},20456:function(e,t,n){"use strict";var r=n(46518),i=n(44576),o=n(79504),a=n(34154),s=n(55169),l=o(1.1.toString),c=i.Uint8Array,u=!c||!c.prototype.toHex||!function(){try{var e=new c([255,255,255,255,255,255,255,255]);return"ffffffffffffffff"===e.toHex()}catch(t){return!1}}();c&&r({target:"Uint8Array",proto:!0,forced:u},{toHex:function(){a(this),s(this.buffer);for(var e="",t=0,n=this.length;tn.keyCol)return e.skipToEnd(),"string";if(n.literal&&(n.literal=!1),e.sol()){if(n.keyCol=0,n.pair=!1,n.pairStart=!1,e.match("---"))return"def";if(e.match("..."))return"def";if(e.match(/\s*-\s+/))return"meta"}if(e.match(/^(\{|\}|\[|\])/))return"{"==r?n.inlinePairs++:"}"==r?n.inlinePairs--:"["==r?n.inlineList++:n.inlineList--,"meta";if(n.inlineList>0&&!i&&","==r)return e.next(),"meta";if(n.inlinePairs>0&&!i&&","==r)return n.keyCol=0,n.pair=!1,n.pairStart=!1,e.next(),"meta";if(n.pairStart){if(e.match(/^\s*(\||\>)\s*/))return n.literal=!0,"meta";if(e.match(/^\s*(\&|\*)[a-z0-9\._-]+\b/i))return"variable-2";if(0==n.inlinePairs&&e.match(/^\s*-?[0-9\.\,]+\s?$/))return"number";if(n.inlinePairs>0&&e.match(/^\s*-?[0-9\.\,]+\s?(?=(,|}))/))return"number";if(e.match(t))return"keyword"}return!n.pair&&e.match(/^\s*(?:[,\[\]{}&*!|>'"%@`][^\s'":]|[^\s,\[\]{}#&*!|>'"%@`])[^#:]*(?=:($|\s))/)?(n.pair=!0,n.keyCol=e.indentation(),"atom"):n.pair&&e.match(/^:\s*/)?(n.pairStart=!0,"meta"):(n.pairStart=!1,n.escaped="\\"==r,e.next(),null)},startState:function(){return{pair:!1,pairStart:!1,keyCol:0,inlinePairs:0,inlineList:0,literal:!1,escaped:!1}},lineComment:"#",fold:"indent"}}),e.defineMIME("text/x-yaml","yaml"),e.defineMIME("text/yaml","yaml")})},20845:function(e,t,n){"use strict";e.exports=n.p+"static/img/default_root_folder.f8a91e0b.svg"},21743:function(e,t,n){"use strict";e.exports=n.p+"static/img/file_type_html.1758920c.svg"},22164:function(e,t,n){"use strict";n.d(t,{A:function(){return v}});var r=n(20641),i=n(90033),o=n(53751);const a={id:"root-dialog",class:"noselected"},s={class:"dialog-wrap"},l={class:"dialog-top"},c={class:"dialog-top-title"},u={class:"position-absolute dialog-error"},d={class:"position-absolute",style:{bottom:"0px"}},p={key:0},f={key:1};function h(e,t,n,h,g,m){return(0,r.uX)(),(0,r.CE)("div",a,[(0,r.Lk)("div",s,[(0,r.Lk)("div",{class:"dialog-cover",onClick:t[0]||(t[0]=t=>e.$emit("onCancel"))}),(0,r.Lk)("div",{class:"dialog-content",onClick:t[6]||(t[6]=(...e)=>m.contentClick&&m.contentClick(...e))},[(0,r.Lk)("div",l,[(0,r.Lk)("span",c,(0,i.v_)(n.title),1)]),(0,r.Lk)("div",null,[(0,r.bo)((0,r.Lk)("input",{id:"ide-input-text",onKeyup:[t[1]||(t[1]=t=>e.$emit("check-input",g.inputText,m.updateLegalResult)),t[3]||(t[3]=(0,o.jR)(t=>e.$emit("onCreate"),["enter"]))],"onUpdate:modelValue":t[2]||(t[2]=e=>g.inputText=e),type:"text",class:"position-absolute dialog-input input-focus"},null,544),[[o.Jo,g.inputText]])]),(0,r.Lk)("div",u,(0,i.v_)(n.tips),1),(0,r.Lk)("div",d,[(0,r.Lk)("div",{class:"float-left btn-cancel",onClick:t[4]||(t[4]=t=>e.$emit("onCancel"))}," Cancel "),g.isLegal?((0,r.uX)(),(0,r.CE)("span",p,[(0,r.Lk)("div",{class:"float-left btn-create cursor-pointer",onClick:t[5]||(t[5]=t=>e.$emit("onCreate"))}," OK ")])):((0,r.uX)(),(0,r.CE)("span",f,t[7]||(t[7]=[(0,r.Lk)("div",{class:"float-left btn-create btn-create-opacity"}," OK ",-1)])))])])])])}var g={props:{title:String,text:String,tips:String},data(){return{inputText:this.text,isLegal:!1}},mounted(){const e=document.getElementById("ide-input-text");null!==e&&void 0!==e&&e.focus(),this.$emit("check-input",this.inputText,this.updateLegalResult)},methods:{updateLegalResult(e){this.isLegal=e},keyEvent(e){var t=e.keyCode?e.keyCode:e.which?e.which:e.charCode;13===t&&this.$emit("onCreate")},contentClick(){const e=document.getElementsByClassName("option")[0];void 0!==e&&(e.style.display="none")}},components:{},computed:{}},m=n(66262);const _=(0,m.A)(g,[["render",h],["__scopeId","data-v-362a7aa0"]]);var v=_},22261:function(e,t,n){"use strict";e.exports=n.p+"static/img/folder_type_public.ef3f9250.svg"},22542:function(e,t,n){"use strict";n.d(t,{A:function(){return F}});var r=n(20641),i=n(90033);const o={class:"upload-dialog"},a={class:"dialog-header"},s={class:"dialog-body"},l={class:"directory-section"},c={class:"directory-nav"},u={key:0,class:"directory-tree"},d=["onClick"],p={class:"upload-section"},f={class:"file-input-wrapper"},h={key:0},g={key:1},m={key:0,class:"preview-section"},_={class:"file-preview"},v={class:"file-info"},y={class:"file-name"},b={class:"file-size"},k={class:"dialog-footer"},w=["disabled"];function x(e,t,n,x,C,S){const j=(0,r.g2)("X"),T=(0,r.g2)("FolderOpen"),L=(0,r.g2)("ChevronDown"),E=(0,r.g2)("ChevronRight"),A=(0,r.g2)("Home"),M=(0,r.g2)("Folder"),D=(0,r.g2)("Upload"),O=(0,r.g2)("FileText");return(0,r.uX)(),(0,r.CE)("div",null,[t[11]||(t[11]=(0,r.Lk)("div",{class:"dialog-cover"},null,-1)),(0,r.Lk)("div",o,[(0,r.Lk)("div",a,[t[6]||(t[6]=(0,r.Lk)("h3",null,"Import File",-1)),(0,r.Lk)("div",{class:"close-btn",onClick:t[0]||(t[0]=(...e)=>S.onCancel&&S.onCancel(...e))},[(0,r.bF)(j,{size:20})])]),(0,r.Lk)("div",s,[(0,r.Lk)("div",l,[t[7]||(t[7]=(0,r.Lk)("label",null,"Select Directory:",-1)),(0,r.Lk)("div",c,[(0,r.Lk)("div",{class:"current-path",onClick:t[1]||(t[1]=(...e)=>S.toggleDirectoryTree&&S.toggleDirectoryTree(...e))},[(0,r.bF)(T,{size:16}),(0,r.Lk)("span",null,(0,i.v_)(S.formatCurrentPath(C.currentPath)),1),C.showDirectoryTree?((0,r.uX)(),(0,r.Wv)(L,{key:0,size:16,class:"chevron"})):((0,r.uX)(),(0,r.Wv)(E,{key:1,size:16,class:"chevron"}))]),C.showDirectoryTree?((0,r.uX)(),(0,r.CE)("div",u,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(C.directories,e=>((0,r.uX)(),(0,r.CE)("div",{key:e.path,class:(0,i.C4)(["directory-item",{selected:C.currentPath===e.path,"root-item":e.isRoot}]),style:(0,i.Tr)({paddingLeft:20*e.level+12+"px"}),onClick:t=>S.selectDirectory(e)},[e.isRoot?((0,r.uX)(),(0,r.Wv)(A,{key:0,size:14})):((0,r.uX)(),(0,r.CE)(r.FK,{key:1},[(0,r.bF)(E,{size:14}),(0,r.bF)(M,{size:14})],64)),(0,r.Lk)("span",null,(0,i.v_)(e.displayName||e.name),1)],14,d))),128))])):(0,r.Q3)("",!0)])]),(0,r.Lk)("div",p,[t[8]||(t[8]=(0,r.Lk)("label",null,"Select File to Upload:",-1)),(0,r.Lk)("div",f,[(0,r.Lk)("input",{type:"file",ref:"fileInput",onChange:t[2]||(t[2]=(...e)=>S.onFileSelect&&S.onFileSelect(...e)),accept:".py,.csv,.pdf,.png,.jpg,.jpeg,.gif,.bmp,.svg",class:"file-input"},null,544),(0,r.Lk)("div",{class:"file-input-display",onClick:t[3]||(t[3]=t=>e.$refs.fileInput.click())},[(0,r.bF)(D,{size:20}),C.selectedFile?((0,r.uX)(),(0,r.CE)("span",g,(0,i.v_)(C.selectedFile.name),1)):((0,r.uX)(),(0,r.CE)("span",h,"Click to select file..."))])]),t[9]||(t[9]=(0,r.Lk)("div",{class:"file-types-hint"}," Supported: .py, .csv, .pdf, .png, .jpg, .jpeg, .gif, .bmp, .svg ",-1))]),C.selectedFile?((0,r.uX)(),(0,r.CE)("div",m,[t[10]||(t[10]=(0,r.Lk)("label",null,"File Preview:",-1)),(0,r.Lk)("div",_,[(0,r.Lk)("div",v,[(0,r.bF)(O,{size:20}),(0,r.Lk)("div",null,[(0,r.Lk)("div",y,(0,i.v_)(C.selectedFile.name),1),(0,r.Lk)("div",b,(0,i.v_)(S.formatFileSize(C.selectedFile.size)),1)])])])])):(0,r.Q3)("",!0)]),(0,r.Lk)("div",k,[(0,r.Lk)("button",{class:"btn-cancel",onClick:t[4]||(t[4]=(...e)=>S.onCancel&&S.onCancel(...e))},"Cancel"),(0,r.Lk)("button",{class:"btn-upload",onClick:t[5]||(t[5]=(...e)=>S.onUpload&&S.onUpload(...e)),disabled:!C.selectedFile||C.uploading},(0,i.v_)(C.uploading?"Uploading...":"Upload"),9,w)])])])}n(44114),n(18111),n(7588);var C=n(6494),S=n(75365),j=n(74829),T=n(27336),L=n(77950),E=n(24758),A=n(79992),M=n(51058),D=n(56660),O=n(96763),N={props:{modelValue:Boolean},data(){return{currentPath:"/",currentProject:null,directories:[],selectedFile:null,uploading:!1,showDirectoryTree:!1}},computed:{ideInfo(){return this.$store.state.ide.ideInfo}},components:{X:C.A,Upload:S.A,FolderOpen:j.A,Folder:T.A,ChevronRight:L.A,ChevronDown:E.A,FileText:A.A,Home:M.A},mounted(){this.loadDirectoryStructure()},methods:{loadDirectoryStructure(){this.ideInfo.multiRootData&&this.ideInfo.multiRootData.children.length>0?(this.directories=[],this.ideInfo.multiRootData.children.forEach(e=>{const t=this.buildDirectoryTree(e,0,e.label);this.directories=this.directories.concat(t)})):this.ideInfo.currProj&&this.ideInfo.currProj.data&&(this.directories=this.buildDirectoryTree(this.ideInfo.currProj.data,0,this.ideInfo.currProj.data.label)),this.ideInfo.nodeSelected&&"dir"===this.ideInfo.nodeSelected.type&&(this.currentPath=this.ideInfo.nodeSelected.path,this.currentProject=this.ideInfo.nodeSelected.projectName||this.ideInfo.currProj?.data?.name)},buildDirectoryTree(e,t=0,n=null){let r=[];return 0===t&&r.push({name:n||e.label||"/",displayName:n||e.label||"/",path:e.path||"/",level:0,isRoot:!0,projectName:n||e.label,fullPath:n?`${n}${e.path}`:e.path}),e.children&&e.children.forEach(e=>{"dir"!==e.type&&"folder"!==e.type||(r.push({name:e.label,displayName:e.label,path:e.path,level:t+1,isRoot:!1,projectName:n||e.projectName,fullPath:n?`${n}${e.path}`:e.path}),e.children&&(r=r.concat(this.buildDirectoryTree(e,t+1,n))))}),r},selectDirectory(e){this.currentPath=e.path,this.currentProject=e.projectName,this.showDirectoryTree=!1},toggleDirectoryTree(){this.showDirectoryTree=!this.showDirectoryTree},formatCurrentPath(e){return this.currentProject?"/"===e?this.currentProject:this.currentProject+e:"/"===e&&this.ideInfo.currProj?this.ideInfo.currProj.label:e.startsWith("/")&&this.ideInfo.currProj?this.ideInfo.currProj.label+e:e},onFileSelect(e){const t=e.target.files[0];t&&(this.selectedFile=t)},formatFileSize(e){if(0===e)return"0 Bytes";const t=1024,n=["Bytes","KB","MB","GB"],r=Math.floor(Math.log(e)/Math.log(t));return Math.round(e/Math.pow(t,r)*100)/100+" "+n[r]},async onUpload(){if(this.selectedFile){this.uploading=!0;try{const e=new FileReader,t=this.selectedFile.name,n="/"===this.currentPath?`/${t}`:`${this.currentPath}/${t}`,r=/\.(png|jpg|jpeg|gif|bmp|svg|pdf)$/i.test(t);e.onload=e=>{const t=e.target.result;if(r){const e=t.split(",")[1];this.uploadFile(n,e,!0)}else this.uploadFile(n,t,!1)},e.onerror=e=>{O.error("File read error:",e),this.uploading=!1,alert("Failed to read file. Please try again.")},r?e.readAsDataURL(this.selectedFile):e.readAsText(this.selectedFile)}catch(e){O.error("Upload error:",e),this.uploading=!1}}},uploadFile(e,t,n){this.$store.dispatch(`ide/${D._L}`,{filePath:e,fileData:t,isBinary:n,callback:e=>{this.uploading=!1,e&&0===e.code?(this.$emit("refresh-tree"),this.selectedFile=null,this.$refs.fileInput&&(this.$refs.fileInput.value=""),this.onCancel(),window.ElMessage&&window.ElMessage({type:"success",message:"File uploaded successfully",duration:2e3})):(O.error("Failed to upload file:",e),alert("Failed to upload file. Please try again."))}})},onCancel(){this.selectedFile=null,this.uploading=!1,this.$emit("update:modelValue",!1),this.$emit("close")}}},z=n(66262);const I=(0,z.A)(N,[["render",x],["__scopeId","data-v-8ec5509e"]]);var F=I},22812:function(e){"use strict";var t=TypeError;e.exports=function(e,n){if(eu)break;var p=e.getLine(c++);i=null==i?p:i+"\n"+p}l*=2,t.lastIndex=n.ch;var f=t.exec(i);if(f){var h=i.slice(0,f.index).split("\n"),g=f[0].split("\n"),m=n.line+h.length-1,_=h[h.length-1].length;return{from:r(m,_),to:r(m+g.length-1,1==g.length?_+g[0].length:g[g.length-1].length),match:f}}}}function c(e,t,n){var r,i=0;while(i<=e.length){t.lastIndex=i;var o=t.exec(e);if(!o)break;var a=o.index+o[0].length;if(a>e.length-n)break;(!r||a>r.index+r[0].length)&&(r=o),i=o.index+1}return r}function u(e,t,n){t=o(t,"g");for(var i=n.line,a=n.ch,s=e.firstLine();i>=s;i--,a=-1){var l=e.getLine(i),u=c(l,t,a<0?0:l.length-a);if(u)return{from:r(i,u.index),to:r(i,u.index+u[0].length),match:u}}}function d(e,t,n){if(!a(t))return u(e,t,n);t=o(t,"gm");for(var i,s=1,l=e.getLine(n.line).length-n.ch,d=n.line,p=e.firstLine();d>=p;){for(var f=0;f=p;f++){var h=e.getLine(d--);i=null==i?h:h+"\n"+i}s*=2;var g=c(i,t,l);if(g){var m=i.slice(0,g.index).split("\n"),_=g[0].split("\n"),v=d+m.length,y=m[m.length-1].length;return{from:r(v,y),to:r(v+_.length-1,1==_.length?y+_[0].length:_[_.length-1].length),match:g}}}}function p(e,t,n,r){if(e.length==t.length)return n;for(var i=0,o=n+Math.max(0,e.length-t.length);;){if(i==o)return i;var a=i+o>>1,s=r(e.slice(0,a)).length;if(s==n)return a;s>n?o=a:i=a+1}}function f(e,i,o,a){if(!i.length)return null;var s=a?t:n,l=s(i).split(/\r|\n\r?/);e:for(var c=o.line,u=o.ch,d=e.lastLine()+1-l.length;c<=d;c++,u=0){var f=e.getLine(c).slice(u),h=s(f);if(1==l.length){var g=h.indexOf(l[0]);if(-1==g)continue e;o=p(f,h,g,s)+u;return{from:r(c,p(f,h,g,s)+u),to:r(c,p(f,h,g+l[0].length,s)+u)}}var m=h.length-l[0].length;if(h.slice(m)==l[0]){for(var _=1;_=d;c--,u=-1){var f=e.getLine(c);u>-1&&(f=f.slice(0,u));var h=s(f);if(1==l.length){var g=h.lastIndexOf(l[0]);if(-1==g)continue e;return{from:r(c,p(f,h,g,s)),to:r(c,p(f,h,g+l[0].length,s))}}var m=l[l.length-1];if(h.slice(0,m.length)==m){var _=1;for(o=c-l.length+1;_(this.doc.getLine(n.line)||"").length&&(n.ch=0,n.line++)),0!=e.cmpPos(n,this.doc.clipPos(n))))return this.atOccurrence=!1;var i=this.matches(t,n);if(this.afterEmptyMatch=i&&0==e.cmpPos(i.from,i.to),i)return this.pos=i,this.atOccurrence=!0,this.pos.match||!0;var o=r(t?this.doc.firstLine():this.doc.lastLine()+1,0);return this.pos={from:o,to:o},this.atOccurrence=!1},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(t,n){if(this.atOccurrence){var i=e.splitLines(t);this.doc.replaceRange(i,this.pos.from,this.pos.to,n),this.pos.to=r(this.pos.from.line+i.length-1,i[i.length-1].length+(1==i.length?this.pos.from.ch:0))}}},e.defineExtension("getSearchCursor",function(e,t,n){return new g(this.doc,e,t,n)}),e.defineDocExtension("getSearchCursor",function(e,t,n){return new g(this,e,t,n)}),e.defineExtension("selectMatches",function(t,n){var r=[],i=this.getSearchCursor(t,this.getCursor("from"),n);while(i.findNext()){if(e.cmpPos(i.to(),this.getCursor("to"))>0)break;r.push({anchor:i.from(),head:i.to()})}r.length&&this.setSelections(r,0)})})},23843:function(e,t,n){"use strict";e.exports=n.p+"static/img/default_root_folder_opened.81974082.svg"},24419:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FolderNamesToIcon=void 0,t.FolderNamesToIcon={android:"folder_type_android.svg",api:"folder_type_api.svg",".api":"folder_type_api.svg",apis:"folder_type_api.svg",".apis":"folder_type_api.svg",app:"folder_type_app.svg",".app":"folder_type_app.svg",arangodb:"folder_type_arangodb.svg",arango:"folder_type_arangodb.svg",assets:"folder_type_asset.svg",".assets":"folder_type_asset.svg",audio:"folder_type_audio.svg",".audio":"folder_type_audio.svg",audios:"folder_type_audio.svg",".audios":"folder_type_audio.svg",sound:"folder_type_audio.svg",".sound":"folder_type_audio.svg",sounds:"folder_type_audio.svg",".sounds":"folder_type_audio.svg",aurelia_project:"folder_type_aurelia.svg",aws:"folder_type_aws.svg",".aws":"folder_type_aws.svg",azure:"folder_type_azure.svg",".azure":"folder_type_azure.svg","azure-pipelines":"folder_type_azurepipelines.svg",".azure-pipelines":"folder_type_azurepipelines.svg",bin:"folder_type_binary.svg",".bin":"folder_type_binary.svg",blocs:"folder_type_bloc.svg",bloc:"folder_type_bloc.svg",blueprint:"folder_type_blueprint.svg",".blueprint":"folder_type_blueprint.svg",blueprints:"folder_type_blueprint.svg",".blueprints":"folder_type_blueprint.svg",bower_components:"folder_type_bower.svg",".buildkite":"folder_type_buildkite.svg",cake:"folder_type_cake.svg",".cake":"folder_type_cake.svg",certificates:"folder_type_certificate.svg",".certificates":"folder_type_certificate.svg",certs:"folder_type_certificate.svg","certs.":"folder_type_certificate.svg",chef:"folder_type_chef.svg",".chef":"folder_type_chef.svg",".circleci":"folder_type_circleci.svg",cli:"folder_type_cli.svg",cmd:"folder_type_cli.svg",command:"folder_type_cli.svg",commands:"folder_type_cli.svg",commandline:"folder_type_cli.svg",console:"folder_type_cli.svg",client:"folder_type_client.svg",clients:"folder_type_client.svg",".cmake":"folder_type_cmake.svg",cmake:"folder_type_cmake.svg",component:"folder_type_component.svg",components:"folder_type_component.svg",".components":"folder_type_component.svg",widgets:"folder_type_component.svg",composer:"folder_type_composer.svg",".composer":"folder_type_composer.svg",conf:"folder_type_config.svg",".conf":"folder_type_config.svg",config:"folder_type_config.svg",".config":"folder_type_config.svg",configs:"folder_type_config.svg",".configs":"folder_type_config.svg",configuration:"folder_type_config.svg",".configuration":"folder_type_config.svg",configurations:"folder_type_config.svg",".configurations":"folder_type_config.svg",setting:"folder_type_config.svg",".setting":"folder_type_config.svg",settings:"folder_type_config.svg",".settings":"folder_type_config.svg",ini:"folder_type_config.svg",".ini":"folder_type_config.svg",initializers:"folder_type_config.svg",".initializers":"folder_type_config.svg",controller:"folder_type_controller.svg",controllers:"folder_type_controller.svg",".controllers":"folder_type_controller.svg",handlers:"folder_type_controller.svg",".handlers":"folder_type_controller.svg",coverage:"folder_type_coverage.svg",css:"folder_type_css.svg",_css:"folder_type_css.svg",cubits:"folder_type_cubit.svg",cubit:"folder_type_cubit.svg",cypress:"folder_type_cypress.svg",".dapr":"folder_type_dapr.svg",dapr:"folder_type_dapr.svg",db:"folder_type_db.svg",database:"folder_type_db.svg",sql:"folder_type_db.svg",data:"folder_type_db.svg",repo:"folder_type_db.svg",repository:"folder_type_db.svg",repositories:"folder_type_db.svg",debian:"folder_type_debian.svg",deb:"folder_type_debian.svg",".dependabot":"folder_type_dependabot.svg",".devcontainer":"folder_type_devcontainer.svg",dist:"folder_type_dist.svg",".dist":"folder_type_dist.svg",dists:"folder_type_dist.svg",out:"folder_type_dist.svg",outs:"folder_type_dist.svg",export:"folder_type_dist.svg",exports:"folder_type_dist.svg",build:"folder_type_dist.svg",".build":"folder_type_dist.svg",builds:"folder_type_dist.svg",release:"folder_type_dist.svg",releases:"folder_type_dist.svg",target:"folder_type_dist.svg",targets:"folder_type_dist.svg",docker:"folder_type_docker.svg",".docker":"folder_type_docker.svg",docs:"folder_type_docs.svg",doc:"folder_type_docs.svg",e2e:"folder_type_e2e.svg",".elasticbeanstalk":"folder_type_elasticbeanstalk.svg",".ebextensions":"folder_type_elasticbeanstalk.svg",electron:"folder_type_light_electron.svg",".expo":"folder_type_light_expo.svg",".expo-shared":"folder_type_light_expo.svg",favicon:"folder_type_favicon.svg",favicons:"folder_type_favicon.svg",flow:"folder_type_flow.svg","flow-typed":"folder_type_flow.svg",fonts:"folder_type_light_fonts.svg",font:"folder_type_light_fonts.svg",fnt:"folder_type_light_fonts.svg",gcp:"folder_type_gcp.svg",".gcp":"folder_type_gcp.svg",".git":"folder_type_git.svg",submodules:"folder_type_git.svg",".submodules":"folder_type_git.svg",".github":"folder_type_github.svg",".gitlab":"folder_type_gitlab.svg",gradle:"folder_type_light_gradle.svg",".gradle":"folder_type_light_gradle.svg",graphql:"folder_type_graphql.svg",grunt:"folder_type_grunt.svg",gulp:"folder_type_gulp.svg","gulpfile.js":"folder_type_gulp.svg","gulpfile.coffee":"folder_type_gulp.svg","gulpfile.ts":"folder_type_gulp.svg","gulpfile.babel.js":"folder_type_gulp.svg","gulpfile.babel.coffee":"folder_type_gulp.svg","gulpfile.babel.ts":"folder_type_gulp.svg",".haxelib":"folder_type_haxelib.svg",haxe_libraries:"folder_type_haxelib.svg",helper:"folder_type_helper.svg",".helper":"folder_type_helper.svg",helpers:"folder_type_helper.svg",".helpers":"folder_type_helper.svg",hook:"folder_type_hook.svg",".hook":"folder_type_hook.svg",hooks:"folder_type_hook.svg",".hooks":"folder_type_hook.svg",".husky":"folder_type_husky.svg",".idea":"folder_type_idea.svg",images:"folder_type_images.svg",image:"folder_type_images.svg",img:"folder_type_images.svg",icons:"folder_type_images.svg",icon:"folder_type_images.svg",ico:"folder_type_images.svg",screenshot:"folder_type_images.svg",screenshots:"folder_type_images.svg",svg:"folder_type_images.svg",include:"folder_type_include.svg",includes:"folder_type_include.svg",incl:"folder_type_include.svg",inc:"folder_type_include.svg",".include":"folder_type_include.svg",".includes":"folder_type_include.svg",".incl":"folder_type_include.svg",".inc":"folder_type_include.svg",_include:"folder_type_include.svg",_includes:"folder_type_include.svg",_incl:"folder_type_include.svg",_inc:"folder_type_include.svg",interface:"folder_type_interfaces.svg",interfaces:"folder_type_interfaces.svg",ios:"folder_type_ios.svg",js:"folder_type_js.svg",json:"folder_type_json.svg",kubernetes:"folder_type_kubernetes.svg",k8s:"folder_type_kubernetes.svg",kube:"folder_type_kubernetes.svg",kuber:"folder_type_kubernetes.svg",".kubernetes":"folder_type_kubernetes.svg",".k8s":"folder_type_kubernetes.svg",".kube":"folder_type_kubernetes.svg",".kuber":"folder_type_kubernetes.svg",less:"folder_type_less.svg",_less:"folder_type_less.svg",lib:"folder_type_library.svg",libs:"folder_type_library.svg",".lib":"folder_type_library.svg",".libs":"folder_type_library.svg",library:"folder_type_library.svg",libraries:"folder_type_library.svg",linux:"folder_type_linux.svg",lang:"folder_type_locale.svg",language:"folder_type_locale.svg",languages:"folder_type_locale.svg",locale:"folder_type_locale.svg",locales:"folder_type_locale.svg",_locale:"folder_type_locale.svg",_locales:"folder_type_locale.svg",internationalization:"folder_type_locale.svg",globalization:"folder_type_locale.svg",localization:"folder_type_locale.svg",i18n:"folder_type_locale.svg",g11n:"folder_type_locale.svg",l10n:"folder_type_locale.svg",log:"folder_type_log.svg",logs:"folder_type_log.svg",macos:"folder_type_macos.svg",darwin:"folder_type_macos.svg",mariadb:"folder_type_mariadb.svg",maria:"folder_type_mariadb.svg",".mvn":"folder_type_maven.svg",memcached:"folder_type_memcached.svg",".memcached":"folder_type_memcached.svg",".meteor":"folder_type_light_meteor.svg",middleware:"folder_type_middleware.svg",middlewares:"folder_type_middleware.svg",minikube:"folder_type_minikube.svg",minik8s:"folder_type_minikube.svg",minikuber:"folder_type_minikube.svg",mjml:"folder_type_mjml.svg",".mjml":"folder_type_mjml.svg",mocks:"folder_type_mock.svg",".mocks":"folder_type_mock.svg",__mocks__:"folder_type_mock.svg",model:"folder_type_model.svg",".model":"folder_type_model.svg",models:"folder_type_model.svg",".models":"folder_type_model.svg",entities:"folder_type_model.svg",".entities":"folder_type_model.svg",modules:"folder_type_module.svg",mongodb:"folder_type_mongodb.svg",mongo:"folder_type_mongodb.svg",mysqldb:"folder_type_light_mysql.svg",mysql:"folder_type_light_mysql.svg",".next":"folder_type_next.svg",nginx:"folder_type_nginx.svg","conf.d":"folder_type_nginx.svg",node_modules:"folder_type_light_node.svg",notification:"folder_type_notification.svg",notifications:"folder_type_notification.svg",event:"folder_type_notification.svg",events:"folder_type_notification.svg",".nuget":"folder_type_nuget.svg",".nuxt":"folder_type_nuxt.svg",package:"folder_type_package.svg",packages:"folder_type_package.svg",".package":"folder_type_package.svg",".packages":"folder_type_package.svg",pkg:"folder_type_package.svg",".paket":"folder_type_paket.svg",php:"folder_type_php.svg",".pio":"folder_type_platformio.svg",".pioenvs":"folder_type_platformio.svg",plugin:"folder_type_plugin.svg",".plugin":"folder_type_plugin.svg",plugins:"folder_type_plugin.svg",".plugins":"folder_type_plugin.svg",extension:"folder_type_plugin.svg",".extension":"folder_type_plugin.svg",extensions:"folder_type_plugin.svg",".extensions":"folder_type_plugin.svg",private:"folder_type_private.svg",".private":"folder_type_private.svg",public:"folder_type_public.svg",".public":"folder_type_public.svg",".venv":"folder_type_python.svg",".virtualenv":"folder_type_python.svg",ravendb:"folder_type_ravendb.svg",redis:"folder_type_redis.svg",redux:"folder_type_light_redux.svg",route:"folder_type_route.svg",routes:"folder_type_route.svg",_route:"folder_type_route.svg",_routes:"folder_type_route.svg",routers:"folder_type_route.svg",sass:"folder_type_light_sass.svg",scss:"folder_type_light_sass.svg",_sass:"folder_type_light_sass.svg",_scss:"folder_type_light_sass.svg",script:"folder_type_script.svg",scripts:"folder_type_script.svg",server:"folder_type_server.svg",service:"folder_type_services.svg",services:"folder_type_services.svg",src:"folder_type_src.svg",source:"folder_type_src.svg",sources:"folder_type_src.svg",sso:"folder_type_sso.svg",story:"folder_type_story.svg",stories:"folder_type_story.svg",__stories__:"folder_type_story.svg",".storybook":"folder_type_story.svg",style:"folder_type_style.svg",styles:"folder_type_style.svg",temp:"folder_type_temp.svg",".temp":"folder_type_temp.svg",tmp:"folder_type_temp.svg",".tmp":"folder_type_temp.svg",template:"folder_type_template.svg",".template":"folder_type_template.svg",templates:"folder_type_template.svg",".templates":"folder_type_template.svg",tests:"folder_type_test.svg",".tests":"folder_type_test.svg",test:"folder_type_test.svg",".test":"folder_type_test.svg",__tests__:"folder_type_test.svg",__test__:"folder_type_test.svg",spec:"folder_type_test.svg",".spec":"folder_type_test.svg",specs:"folder_type_test.svg",".specs":"folder_type_test.svg",integration:"folder_type_test.svg",theme:"folder_type_theme.svg",themes:"folder_type_theme.svg",tool:"folder_type_tools.svg",tools:"folder_type_tools.svg",".tools":"folder_type_tools.svg",util:"folder_type_tools.svg",utils:"folder_type_tools.svg",".travis":"folder_type_travis.svg",typescript:"folder_type_typescript.svg",ts:"folder_type_typescript.svg",typings:"folder_type_typings.svg","@types":"folder_type_typings.svg",vagrant:"folder_type_vagrant.svg",".vagrant":"folder_type_vagrant.svg",video:"folder_type_video.svg",".video":"folder_type_video.svg",videos:"folder_type_video.svg",".videos":"folder_type_video.svg",html:"folder_type_view.svg",view:"folder_type_view.svg",views:"folder_type_view.svg",layout:"folder_type_view.svg",layouts:"folder_type_view.svg",page:"folder_type_view.svg",pages:"folder_type_view.svg",_view:"folder_type_view.svg",_views:"folder_type_view.svg",_layout:"folder_type_view.svg",_layouts:"folder_type_view.svg",_page:"folder_type_view.svg",_pages:"folder_type_view.svg",".vs":"folder_type_vs.svg",".vscode":"folder_type_vscode.svg",vscode:"folder_type_vscode.svg",".vscode-test":"folder_type_vscode_test.svg",webpack:"folder_type_webpack.svg",windows:"folder_type_windows.svg",win32:"folder_type_windows.svg",www:"folder_type_www.svg",wwwroot:"folder_type_www.svg"}},24719:function(e,t,n){"use strict";e.exports=n.p+"static/img/file_type_binary.6f6ddddd.svg"},24758:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var r=n(53957);
-/**
- * @license lucide-vue-next v0.539.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */const i=(0,r.A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},26685:function(e,t,n){(function(e){e(n(15237),n(23653),n(53004))})(function(e){"use strict";function t(e,t,n,r){this.cm=e,this.options=r;var i={listenForChanges:!1};for(var o in r)i[o]=r[o];i.className||(i.className="CodeMirror-search-match"),this.annotation=e.annotateScrollbar(i),this.query=t,this.caseFold=n,this.gap={from:e.firstLine(),to:e.lastLine()+1},this.matches=[],this.update=null,this.findMatches(),this.annotation.update(this.matches);var a=this;e.on("change",this.changeHandler=function(e,t){a.onChange(t)})}e.defineExtension("showMatchesOnScrollbar",function(e,n,r){return"string"==typeof r&&(r={className:r}),r||(r={}),new t(this,e,n,r)});var n=1e3;function r(e,t,n){return e<=t?e:Math.max(t,e+n)}t.prototype.findMatches=function(){if(this.gap){for(var t=0;t=this.gap.to)break;r.to.line>=this.gap.from&&this.matches.splice(t--,1)}var i=this.cm.getSearchCursor(this.query,e.Pos(this.gap.from,0),{caseFold:this.caseFold,multiline:this.options.multiline}),o=this.options&&this.options.maxMatches||n;while(i.findNext()){r={from:i.from(),to:i.to()};if(r.from.line>=this.gap.to)break;if(this.matches.splice(t++,0,r),this.matches.length>o)break}this.gap=null}},t.prototype.onChange=function(t){var n=t.from.line,i=e.changeEnd(t).line,o=i-t.to.line;if(this.gap?(this.gap.from=Math.min(r(this.gap.from,n,o),t.from.line),this.gap.to=Math.max(r(this.gap.to,n,o),t.from.line)):this.gap={from:t.from.line,to:i+1},o)for(var a=0;anull==t?void 0:t[e||c],p=(e,t,n)=>{const r=e.value.currentNode;n();const i=e.value.currentNode;r!==i&&t("current-change",i?i.data:null,i)};var f=n(2154);const h=e=>{let t=!0,n=!0,r=!0;for(let i=0,o=e.length;i{e.canFocus=t,_(e.childNodes,t)})};let v=0;class y{constructor(e){this.isLeafByUser=void 0,this.isLeaf=void 0,this.id=v++,this.text=null,this.checked=!1,this.indeterminate=!1,this.data=null,this.expanded=!1,this.parent=null,this.visible=!0,this.isCurrent=!1,this.canFocus=!1;for(const t in e)(0,o.$3)(e,t)&&(this[t]=e[t]);this.level=0,this.loaded=!1,this.childNodes=[],this.loading=!1,this.parent&&(this.level=this.parent.level+1)}initialize(){var e;const t=this.store;if(!t)throw new Error("[Node]store is required!");t.registerNode(this);const n=t.props;if(n&&"undefined"!==typeof n.isLeaf){const e=m(this,"isLeaf");(0,f.Lm)(e)&&(this.isLeafByUser=e)}if(!0!==t.lazy&&this.data?(this.setData(this.data),t.defaultExpandAll&&(this.expanded=!0,this.canFocus=!0)):this.level>0&&t.lazy&&t.defaultExpandAll&&!this.isLeafByUser&&this.expand(),(0,o.cy)(this.data)||u(this,this.data),!this.data)return;const r=t.defaultExpandedKeys,i=t.key;i&&!(0,l.A)(this.key)&&r&&r.includes(this.key)&&this.expand(null,t.autoExpandParent),i&&void 0!==t.currentNodeKey&&this.key===t.currentNodeKey&&(t.currentNode=this,t.currentNode.isCurrent=!0),t.lazy&&t._initDefaultCheckedNode(this),this.updateLeafState(),1!==this.level&&!0!==(null==(e=this.parent)?void 0:e.expanded)||(this.canFocus=!0)}setData(e){let t;(0,o.cy)(e)||u(this,e),this.data=e,this.childNodes=[],t=0===this.level&&(0,o.cy)(this.data)?this.data:m(this,"children")||[];for(let n=0,r=t.length;n-1)return e.childNodes[t+1]}return null}get previousSibling(){const e=this.parent;if(e){const t=e.childNodes.indexOf(this);if(t>-1)return t>0?e.childNodes[t-1]:null}return null}contains(e,t=!0){return(this.childNodes||[]).some(n=>n===e||t&&n.contains(e))}remove(){const e=this.parent;e&&e.removeChild(this)}insertChild(e,t,n){if(!e)throw new Error("InsertChild error: child is required.");if(!(e instanceof y)){if(!n){const n=this.getChildren(!0);(null==n?void 0:n.includes(e.data))||((0,f.b0)(t)||t<0?null==n||n.push(e.data):null==n||n.splice(t,0,e.data))}Object.assign(e,{parent:this,store:this.store}),e=(0,i.Kh)(new y(e)),e instanceof y&&e.initialize()}e.level=this.level+1,(0,f.b0)(t)||t<0?this.childNodes.push(e):this.childNodes.splice(t,0,e),this.updateLeafState()}insertBefore(e,t){let n;t&&(n=this.childNodes.indexOf(t)),this.insertChild(e,n)}insertAfter(e,t){let n;t&&(n=this.childNodes.indexOf(t),-1!==n&&(n+=1)),this.insertChild(e,n)}removeChild(e){const t=this.getChildren()||[],n=t.indexOf(e.data);n>-1&&t.splice(n,1);const r=this.childNodes.indexOf(e);r>-1&&(this.store&&this.store.deregisterNode(e),e.parent=null,this.childNodes.splice(r,1)),this.updateLeafState()}removeChildByData(e){let t=null;for(let n=0;n{if(t){let e=this.parent;while(e&&e.level>0)e.expanded=!0,e=e.parent}this.expanded=!0,e&&e(),_(this.childNodes,!0)};this.shouldLoadData()?this.loadData(e=>{(0,o.cy)(e)&&(this.checked?this.setChecked(!0,!0):this.store.checkStrictly||g(this),n())}):n()}doCreateChildren(e,t={}){e.forEach(e=>{this.insertChild(Object.assign({data:e},t),void 0,!0)})}collapse(){this.expanded=!1,_(this.childNodes,!1)}shouldLoadData(){return Boolean(!0===this.store.lazy&&this.store.load&&!this.loaded)}updateLeafState(){if(!0===this.store.lazy&&!0!==this.loaded&&"undefined"!==typeof this.isLeafByUser)return void(this.isLeaf=this.isLeafByUser);const e=this.childNodes;!this.store.lazy||!0===this.store.lazy&&!0===this.loaded?this.isLeaf=!e||0===e.length:this.isLeaf=!1}setChecked(e,t,n,r){if(this.indeterminate="half"===e,this.checked=!0===e,this.store.checkStrictly)return;if(!this.shouldLoadData()||this.store.checkDescendants){const{all:n,allWithoutDisable:i}=h(this.childNodes);this.isLeaf||n||!i||(this.checked=!1,e=!1);const o=()=>{if(t){const n=this.childNodes;for(let a=0,s=n.length;a{o(),g(this)},{checked:!1!==e});o()}const i=this.parent;i&&0!==i.level&&(n||g(i))}getChildren(e=!1){if(0===this.level)return this.data;const t=this.data;if(!t)return null;const n=this.store.props;let r="children";return n&&(r=n.children||"children"),(0,f.b0)(t[r])&&(t[r]=null),e&&!t[r]&&(t[r]=[]),t[r]}updateChildren(){const e=this.getChildren()||[],t=this.childNodes.map(e=>e.data),n={},r=[];e.forEach((e,i)=>{const o=e[c],a=!!o&&t.findIndex(e=>(null==e?void 0:e[c])===o)>=0;a?n[o]={index:i,data:e}:r.push({index:i,data:e})}),this.store.lazy||t.forEach(e=>{n[null==e?void 0:e[c]]||this.removeChildByData(e)}),r.forEach(({index:e,data:t})=>{this.insertChild({data:t},e)}),this.updateLeafState()}loadData(e,t={}){if(!0!==this.store.lazy||!this.store.load||this.loaded||this.loading&&!Object.keys(t).length)e&&e.call(this);else{this.loading=!0;const n=n=>{this.childNodes=[],this.doCreateChildren(n,t),this.loaded=!0,this.loading=!1,this.updateLeafState(),e&&e.call(this,n)},r=()=>{this.loading=!1};this.store.load(this,n,r)}}eachNode(e){const t=[this];while(t.length){const n=t.shift();t.unshift(...n.childNodes),e(n)}}reInitChecked(){this.store.checkStrictly||g(this)}}class b{constructor(e){this.lazy=!1,this.checkStrictly=!1,this.autoExpandParent=!1,this.defaultExpandAll=!1,this.checkDescendants=!1,this.currentNode=null,this.currentNodeKey=null;for(const t in e)(0,o.$3)(e,t)&&(this[t]=e[t]);this.nodesMap={}}initialize(){if(this.root=new y({data:this.data,store:this}),this.root.initialize(),this.lazy&&this.load){const e=this.load;e(this.root,e=>{this.root.doCreateChildren(e),this._initDefaultCheckedNodes()},o.tE)}else this._initDefaultCheckedNodes()}filter(e){const t=this.filterNodeMethod,n=this.lazy,i=async function(o){const a=o.root?o.root.childNodes:o.childNodes;for(const[n,s]of a.entries())s.visible=!!(null==t?void 0:t.call(s,e,s.data,s)),n%80===0&&n>0&&await(0,r.dY)(),await i(s);if(!o.visible&&a.length){let e=!0;e=!a.some(e=>e.visible),o.root?o.root.visible=!1===e:o.visible=!1===e}e&&o.visible&&!o.isLeaf&&(n&&!o.loaded||o.expand())};i(this)}setData(e){const t=e!==this.root.data;t?(this.nodesMap={},this.root.setData(e),this._initDefaultCheckedNodes(),this.setCurrentNodeKey(this.currentNodeKey)):this.root.updateChildren()}getNode(e){if(e instanceof y)return e;const t=(0,o.Gv)(e)?d(this.key,e):e;return this.nodesMap[t]||null}insertBefore(e,t){var n;const r=this.getNode(t);null==(n=r.parent)||n.insertBefore({data:e},r)}insertAfter(e,t){var n;const r=this.getNode(t);null==(n=r.parent)||n.insertAfter({data:e},r)}remove(e){const t=this.getNode(e);t&&t.parent&&(t===this.currentNode&&(this.currentNode=null),t.parent.removeChild(t))}append(e,t){const n=(0,f.Xj)(t)?this.root:this.getNode(t);n&&n.insertChild({data:e})}_initDefaultCheckedNodes(){const e=this.defaultCheckedKeys||[],t=this.nodesMap;e.forEach(e=>{const n=t[e];n&&n.setChecked(!0,!this.checkStrictly)})}_initDefaultCheckedNode(e){const t=this.defaultCheckedKeys||[];!(0,l.A)(e.key)&&t.includes(e.key)&&e.setChecked(!0,!this.checkStrictly)}setDefaultCheckedKey(e){e!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=e,this._initDefaultCheckedNodes())}registerNode(e){const t=this.key;if(e&&e.data)if(t){const t=e.key;(0,l.A)(t)||(this.nodesMap[t]=e)}else this.nodesMap[e.id]=e}deregisterNode(e){const t=this.key;t&&e&&e.data&&(e.childNodes.forEach(e=>{this.deregisterNode(e)}),delete this.nodesMap[e.key])}getCheckedNodes(e=!1,t=!1){const n=[],r=function(i){const o=i.root?i.root.childNodes:i.childNodes;o.forEach(i=>{(i.checked||t&&i.indeterminate)&&(!e||e&&i.isLeaf)&&n.push(i.data),r(i)})};return r(this),n}getCheckedKeys(e=!1){return this.getCheckedNodes(e).map(e=>(e||{})[this.key])}getHalfCheckedNodes(){const e=[],t=function(n){const r=n.root?n.root.childNodes:n.childNodes;r.forEach(n=>{n.indeterminate&&e.push(n.data),t(n)})};return t(this),e}getHalfCheckedKeys(){return this.getHalfCheckedNodes().map(e=>(e||{})[this.key])}_getAllNodes(){const e=[],t=this.nodesMap;for(const n in t)(0,o.$3)(t,n)&&e.push(t[n]);return e}updateChildren(e,t){const n=this.nodesMap[e];if(!n)return;const r=n.childNodes;for(let i=r.length-1;i>=0;i--){const e=r[i];this.remove(e.data)}for(let i=0,o=t.length;ie.level-t.level),i=Object.create(null),o=Object.keys(n);r.forEach(e=>e.setChecked(!1,!1));const a=t=>{t.childNodes.forEach(t=>{var n;i[t.data[e]]=!0,(null==(n=t.childNodes)?void 0:n.length)&&a(t)})};for(let s=0,l=r.length;s{t.isLeaf||t.setChecked(!1,!1),e(t)})};e(n)}}else n.checked&&!i[l]&&n.setChecked(!1,!1)}}setCheckedNodes(e,t=!1){const n=this.key,r={};e.forEach(e=>{r[(e||{})[n]]=!0}),this._setCheckedKeys(n,t,r)}setCheckedKeys(e,t=!1){this.defaultCheckedKeys=e;const n=this.key,r={};e.forEach(e=>{r[e]=!0}),this._setCheckedKeys(n,t,r)}setDefaultExpandedKeys(e){e=e||[],this.defaultExpandedKeys=e,e.forEach(e=>{const t=this.getNode(e);t&&t.expand(null,this.autoExpandParent)})}setChecked(e,t,n){const r=this.getNode(e);r&&r.setChecked(!!t,n)}getCurrentNode(){return this.currentNode}setCurrentNode(e){const t=this.currentNode;t&&(t.isCurrent=!1),this.currentNode=e,this.currentNode.isCurrent=!0}setUserCurrentNode(e,t=!0){var n;const r=e[this.key],i=this.nodesMap[r];this.setCurrentNode(i),t&&this.currentNode&&this.currentNode.level>1&&(null==(n=this.currentNode.parent)||n.expand(null,!0))}setCurrentNodeKey(e,t=!0){var n;if(this.currentNodeKey=e,(0,f.Xj)(e))return this.currentNode&&(this.currentNode.isCurrent=!1),void(this.currentNode=null);const r=this.getNode(e);r&&(this.setCurrentNode(r),t&&this.currentNode&&this.currentNode.level>1&&(null==(n=this.currentNode.parent)||n.expand(null,!0)))}}var k=n(78396),w=n(65980);const x=(0,r.pM)({name:"ElCollapseTransition"}),C=(0,r.pM)({...x,setup(e){const t=(0,w.DU)("collapse-transition"),n=e=>{e.style.maxHeight="",e.style.overflow=e.dataset.oldOverflow,e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom},o={beforeEnter(e){e.dataset||(e.dataset={}),e.dataset.oldPaddingTop=e.style.paddingTop,e.dataset.oldPaddingBottom=e.style.paddingBottom,e.style.height&&(e.dataset.elExistsHeight=e.style.height),e.style.maxHeight=0,e.style.paddingTop=0,e.style.paddingBottom=0},enter(e){requestAnimationFrame(()=>{e.dataset.oldOverflow=e.style.overflow,e.dataset.elExistsHeight?e.style.maxHeight=e.dataset.elExistsHeight:0!==e.scrollHeight?e.style.maxHeight=`${e.scrollHeight}px`:e.style.maxHeight=0,e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom,e.style.overflow="hidden"})},afterEnter(e){e.style.maxHeight="",e.style.overflow=e.dataset.oldOverflow},enterCancelled(e){n(e)},beforeLeave(e){e.dataset||(e.dataset={}),e.dataset.oldPaddingTop=e.style.paddingTop,e.dataset.oldPaddingBottom=e.style.paddingBottom,e.dataset.oldOverflow=e.style.overflow,e.style.maxHeight=`${e.scrollHeight}px`,e.style.overflow="hidden"},leave(e){0!==e.scrollHeight&&(e.style.maxHeight=0,e.style.paddingTop=0,e.style.paddingBottom=0)},afterLeave(e){n(e)},leaveCancelled(e){n(e)}};return(e,n)=>((0,r.uX)(),(0,r.Wv)(a.eB,(0,r.v6)({name:(0,i.R1)(t).b()},(0,r.Tb)(o)),{default:(0,r.k6)(()=>[(0,r.RG)(e.$slots,"default")]),_:3},16,["name"]))}});var S=(0,k.A)(C,[["__file","collapse-transition.vue"]]),j=n(64769);const T=(0,j.GU)(S);var L=n(5728),E=n(91361),A=n(48548),M=n(50819),D=n(18472);const O=(0,M.b_)({type:{type:String,values:["primary","success","info","warning","danger",""],default:""},size:{type:String,values:D.I,default:""},truncated:Boolean,lineClamp:{type:[String,Number]},tag:{type:String,default:"span"}});var N=n(72207);const z=(0,r.pM)({name:"ElText"}),I=(0,r.pM)({...z,props:O,setup(e){const t=e,n=(0,i.KR)(),a=(0,N.NV)(),s=(0,w.DU)("text"),l=(0,r.EW)(()=>[s.b(),s.m(t.type),s.m(a.value),s.is("truncated",t.truncated),s.is("line-clamp",!(0,f.b0)(t.lineClamp))]),c=()=>{var e,i,o,a,s,l,c;const u=(0,r.OA)().title;if(u)return;let d=!1;const p=(null==(e=n.value)?void 0:e.textContent)||"";if(t.truncated){const e=null==(i=n.value)?void 0:i.offsetWidth,t=null==(o=n.value)?void 0:o.scrollWidth;e&&t&&t>e&&(d=!0)}else if(!(0,f.b0)(t.lineClamp)){const e=null==(a=n.value)?void 0:a.offsetHeight,t=null==(s=n.value)?void 0:s.scrollHeight;e&&t&&t>e&&(d=!0)}d?null==(l=n.value)||l.setAttribute("title",p):null==(c=n.value)||c.removeAttribute("title")};return(0,r.sV)(c),(0,r.$u)(c),(e,t)=>((0,r.uX)(),(0,r.Wv)((0,r.$y)(e.tag),{ref_key:"textRef",ref:n,class:(0,o.C4)((0,i.R1)(l)),style:(0,o.Tr)({"-webkit-line-clamp":e.lineClamp})},{default:(0,r.k6)(()=>[(0,r.RG)(e.$slots,"default")]),_:3},8,["class","style"]))}});var F=(0,k.A)(I,[["__file","text.vue"]]);const P=(0,j.GU)(F),R="RootTree",q="NodeInstance",B="TreeNodeMap",$=(0,r.pM)({name:"ElTreeNodeContent",props:{node:{type:Object,required:!0},renderContent:Function},setup(e){const t=(0,w.DU)("tree"),n=(0,r.WQ)(q),i=(0,r.WQ)(R);return()=>{const o=e.node,{data:a,store:s}=o;return e.renderContent?e.renderContent(r.h,{_self:n,node:o,data:a,store:s}):(0,r.RG)(i.ctx.slots,"default",{node:o,data:a},()=>[(0,r.h)(P,{tag:"span",truncated:!0,class:t.be("node","label")},()=>[o.label])])}}});var H=(0,k.A)($,[["__file","tree-node-content.vue"]]);function W(e){const t=(0,r.WQ)(B,null),n={treeNodeExpand:t=>{var n;e.node!==t&&(null==(n=e.node)||n.collapse())},children:[]};return t&&t.children.push(n),(0,r.Gt)(B,n),{broadcastExpanded:t=>{if(e.accordion)for(const e of n.children)e.treeNodeExpand(t)}}}var U=n(76031);const V=Symbol("dragEvents");function K({props:e,ctx:t,el$:n,dropIndicator$:a,store:s}){const l=(0,w.DU)("tree"),c=(0,i.KR)({showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0,dropType:null}),u=({event:n,treeNode:r})=>{if(n.dataTransfer){if((0,o.Tn)(e.allowDrag)&&!e.allowDrag(r.node))return n.preventDefault(),!1;n.dataTransfer.effectAllowed="move";try{n.dataTransfer.setData("text/plain","")}catch(i){}c.value.draggingNode=r,t.emit("node-drag-start",r.node,n)}},d=({event:r,treeNode:i})=>{if(!r.dataTransfer)return;const s=i,u=c.value.dropNode;u&&u.node.id!==s.node.id&&(0,U.vy)(u.$el,l.is("drop-inner"));const d=c.value.draggingNode;if(!d||!s)return;let p=!0,f=!0,h=!0,g=!0;(0,o.Tn)(e.allowDrop)&&(p=e.allowDrop(d.node,s.node,"prev"),g=f=e.allowDrop(d.node,s.node,"inner"),h=e.allowDrop(d.node,s.node,"next")),r.dataTransfer.dropEffect=f||p||h?"move":"none",(p||f||h)&&(null==u?void 0:u.node.id)!==s.node.id&&(u&&t.emit("node-drag-leave",d.node,u.node,r),t.emit("node-drag-enter",d.node,s.node,r)),c.value.dropNode=p||f||h?s:null,s.node.nextSibling===d.node&&(h=!1),s.node.previousSibling===d.node&&(p=!1),s.node.contains(d.node,!1)&&(f=!1),(d.node===s.node||d.node.contains(s.node))&&(p=!1,f=!1,h=!1);const m=s.$el,_=m.querySelector(`.${l.be("node","content")}`).getBoundingClientRect(),v=n.value.getBoundingClientRect();let y;const b=p?f?.25:h?.45:1:-1,k=h?f?.75:p?.55:0:1;let w=-9999;const x=r.clientY-_.top;y=x<_.height*b?"before":x>_.height*k?"after":f?"inner":"none";const C=m.querySelector(`.${l.be("node","expand-icon")}`).getBoundingClientRect(),S=a.value;"before"===y?w=C.top-v.top:"after"===y&&(w=C.bottom-v.top),S.style.top=`${w}px`,S.style.left=C.right-v.left+"px","inner"===y?(0,U.iQ)(m,l.is("drop-inner")):(0,U.vy)(m,l.is("drop-inner")),c.value.showDropIndicator="before"===y||"after"===y,c.value.allowDrop=c.value.showDropIndicator||g,c.value.dropType=y,t.emit("node-drag-over",d.node,s.node,r)},p=e=>{var n,r;const{draggingNode:i,dropType:o,dropNode:a}=c.value;if(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect="move"),(null==i?void 0:i.node.data)&&a){const c={data:i.node.data};"none"!==o&&i.node.remove(),"before"===o?null==(n=a.node.parent)||n.insertBefore(c,a.node):"after"===o?null==(r=a.node.parent)||r.insertAfter(c,a.node):"inner"===o&&a.node.insertChild(c),"none"!==o&&(s.value.registerNode(c),s.value.key&&i.node.eachNode(e=>{var t;null==(t=s.value.nodesMap[e.data[s.value.key]])||t.setChecked(e.checked,!s.value.checkStrictly)})),(0,U.vy)(a.$el,l.is("drop-inner")),t.emit("node-drag-end",i.node,a.node,o,e),"none"!==o&&t.emit("node-drop",i.node,a.node,o,e)}i&&!a&&t.emit("node-drag-end",i.node,null,o,e),c.value.showDropIndicator=!1,c.value.draggingNode=null,c.value.dropNode=null,c.value.allowDrop=!0};return(0,r.Gt)(V,{treeNodeDragStart:u,treeNodeDragOver:d,treeNodeDragEnd:p}),{dragState:c}}const X=(0,r.pM)({name:"ElTreeNode",components:{ElCollapseTransition:T,ElCheckbox:L.dI,NodeContent:H,ElIcon:E.tk,Loading:A.Rhj},props:{node:{type:y,default:()=>({})},props:{type:Object,default:()=>({})},accordion:Boolean,renderContent:Function,renderAfterExpand:Boolean,showCheckbox:Boolean},emits:["node-expand"],setup(e,t){const n=(0,w.DU)("tree"),{broadcastExpanded:a}=W(e),s=(0,r.WQ)(R),l=(0,i.KR)(!1),c=(0,i.KR)(!1),u=(0,i.KR)(),f=(0,i.KR)(),h=(0,i.KR)(),g=(0,r.WQ)(V),m=(0,r.nI)();(0,r.Gt)(q,m),e.node.expanded&&(l.value=!0,c.value=!0);const _=s.props.props["children"]||"children";(0,r.wB)(()=>{var t;const n=null==(t=e.node.data)?void 0:t[_];return n&&[...n]},()=>{e.node.updateChildren()}),(0,r.wB)(()=>e.node.indeterminate,t=>{b(e.node.checked,t)}),(0,r.wB)(()=>e.node.checked,t=>{b(t,e.node.indeterminate)}),(0,r.wB)(()=>e.node.childNodes.length,()=>e.node.reInitChecked()),(0,r.wB)(()=>e.node.expanded,e=>{(0,r.dY)(()=>l.value=e),e&&(c.value=!0)});const v=e=>d(s.props.nodeKey,e.data),y=t=>{const n=e.props.class;if(!n)return{};let r;if((0,o.Tn)(n)){const{data:e}=t;r=n(e,t)}else r=n;return(0,o.Kg)(r)?{[r]:!0}:r},b=(t,n)=>{u.value===t&&f.value===n||s.ctx.emit("check-change",e.node.data,t,n),u.value=t,f.value=n},k=t=>{p(s.store,s.ctx.emit,()=>{var t;const n=null==(t=null==s?void 0:s.props)?void 0:t.nodeKey;if(n){const t=v(e.node);s.store.value.setCurrentNodeKey(t)}else s.store.value.setCurrentNode(e.node)}),s.currentNode.value=e.node,s.props.expandOnClickNode&&C(),(s.props.checkOnClickNode||e.node.isLeaf&&s.props.checkOnClickLeaf&&e.showCheckbox)&&!e.node.disabled&&S(!e.node.checked),s.ctx.emit("node-click",e.node.data,e.node,m,t)},x=t=>{var n;(null==(n=s.instance.vnode.props)?void 0:n["onNodeContextmenu"])&&(t.stopPropagation(),t.preventDefault()),s.ctx.emit("node-contextmenu",t,e.node.data,e.node,m)},C=()=>{e.node.isLeaf||(l.value?(s.ctx.emit("node-collapse",e.node.data,e.node,m),e.node.collapse()):e.node.expand(()=>{t.emit("node-expand",e.node.data,e.node,m)}))},S=t=>{e.node.setChecked(t,!(null==s?void 0:s.props.checkStrictly)),(0,r.dY)(()=>{const t=s.store.value;s.ctx.emit("check",e.node.data,{checkedNodes:t.getCheckedNodes(),checkedKeys:t.getCheckedKeys(),halfCheckedNodes:t.getHalfCheckedNodes(),halfCheckedKeys:t.getHalfCheckedKeys()})})},j=(e,t,n)=>{a(t),s.ctx.emit("node-expand",e,t,n)},T=t=>{s.props.draggable&&g.treeNodeDragStart({event:t,treeNode:e})},L=t=>{t.preventDefault(),s.props.draggable&&g.treeNodeDragOver({event:t,treeNode:{$el:h.value,node:e.node}})},E=e=>{e.preventDefault()},M=e=>{s.props.draggable&&g.treeNodeDragEnd(e)};return{ns:n,node$:h,tree:s,expanded:l,childNodeRendered:c,oldChecked:u,oldIndeterminate:f,getNodeKey:v,getNodeClass:y,handleSelectChange:b,handleClick:k,handleContextMenu:x,handleExpandIconClick:C,handleCheckChange:S,handleChildNodeExpand:j,handleDragStart:T,handleDragOver:L,handleDrop:E,handleDragEnd:M,CaretRight:A.K3R}}});function G(e,t,n,i,s,l){const c=(0,r.g2)("el-icon"),u=(0,r.g2)("el-checkbox"),d=(0,r.g2)("loading"),p=(0,r.g2)("node-content"),f=(0,r.g2)("el-tree-node"),h=(0,r.g2)("el-collapse-transition");return(0,r.bo)(((0,r.uX)(),(0,r.CE)("div",{ref:"node$",class:(0,o.C4)([e.ns.b("node"),e.ns.is("expanded",e.expanded),e.ns.is("current",e.node.isCurrent),e.ns.is("hidden",!e.node.visible),e.ns.is("focusable",!e.node.disabled),e.ns.is("checked",!e.node.disabled&&e.node.checked),e.getNodeClass(e.node)]),role:"treeitem",tabindex:"-1","aria-expanded":e.expanded,"aria-disabled":e.node.disabled,"aria-checked":e.node.checked,draggable:e.tree.props.draggable,"data-key":e.getNodeKey(e.node),onClick:(0,a.D$)(e.handleClick,["stop"]),onContextmenu:e.handleContextMenu,onDragstart:(0,a.D$)(e.handleDragStart,["stop"]),onDragover:(0,a.D$)(e.handleDragOver,["stop"]),onDragend:(0,a.D$)(e.handleDragEnd,["stop"]),onDrop:(0,a.D$)(e.handleDrop,["stop"])},[(0,r.Lk)("div",{class:(0,o.C4)(e.ns.be("node","content")),style:(0,o.Tr)({paddingLeft:(e.node.level-1)*e.tree.props.indent+"px"})},[e.tree.props.icon||e.CaretRight?((0,r.uX)(),(0,r.Wv)(c,{key:0,class:(0,o.C4)([e.ns.be("node","expand-icon"),e.ns.is("leaf",e.node.isLeaf),{expanded:!e.node.isLeaf&&e.expanded}]),onClick:(0,a.D$)(e.handleExpandIconClick,["stop"])},{default:(0,r.k6)(()=>[((0,r.uX)(),(0,r.Wv)((0,r.$y)(e.tree.props.icon||e.CaretRight)))]),_:1},8,["class","onClick"])):(0,r.Q3)("v-if",!0),e.showCheckbox?((0,r.uX)(),(0,r.Wv)(u,{key:1,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:!!e.node.disabled,onClick:(0,a.D$)(()=>{},["stop"]),onChange:e.handleCheckChange},null,8,["model-value","indeterminate","disabled","onClick","onChange"])):(0,r.Q3)("v-if",!0),e.node.loading?((0,r.uX)(),(0,r.Wv)(c,{key:2,class:(0,o.C4)([e.ns.be("node","loading-icon"),e.ns.is("loading")])},{default:(0,r.k6)(()=>[(0,r.bF)(d)]),_:1},8,["class"])):(0,r.Q3)("v-if",!0),(0,r.bF)(p,{node:e.node,"render-content":e.renderContent},null,8,["node","render-content"])],6),(0,r.bF)(h,null,{default:(0,r.k6)(()=>[!e.renderAfterExpand||e.childNodeRendered?(0,r.bo)(((0,r.uX)(),(0,r.CE)("div",{key:0,class:(0,o.C4)(e.ns.be("node","children")),role:"group","aria-expanded":e.expanded,onClick:(0,a.D$)(()=>{},["stop"])},[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(e.node.childNodes,t=>((0,r.uX)(),(0,r.Wv)(f,{key:e.getNodeKey(t),"render-content":e.renderContent,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,node:t,accordion:e.accordion,props:e.props,onNodeExpand:e.handleChildNodeExpand},null,8,["render-content","render-after-expand","show-checkbox","node","accordion","props","onNodeExpand"]))),128))],10,["aria-expanded","onClick"])),[[a.aG,e.expanded]]):(0,r.Q3)("v-if",!0)]),_:1})],42,["aria-expanded","aria-disabled","aria-checked","draggable","data-key","onClick","onContextmenu","onDragstart","onDragover","onDragend","onDrop"])),[[a.aG,e.node.visible]])}var Q=(0,k.A)(X,[["render",G],["__file","tree-node.vue"]]),Z=n(97786),Y=n(53344);function J({el$:e},t){const n=(0,w.DU)("tree");function i(e,n){var r,i;const o=t.value.getNode(e[n].dataset.key);return o.canFocus&&o.visible&&((null==(r=o.parent)?void 0:r.expanded)||0===(null==(i=o.parent)?void 0:i.level))}(0,r.sV)(()=>{a()}),(0,r.$u)(()=>{const t=Array.from(e.value.querySelectorAll("input[type=checkbox]"));t.forEach(e=>{e.setAttribute("tabindex","-1")})});const o=t=>{const r=t.target;if(!r.className.includes(n.b("node")))return;const o=t.code,a=Array.from(e.value.querySelectorAll(`.${n.is("focusable")}[role=treeitem]`)),s=a.indexOf(r);let l;if([Y.R.up,Y.R.down].includes(o)){if(t.preventDefault(),o===Y.R.up){l=-1===s?0:0!==s?s-1:a.length-1;const e=l;while(1){if(i(a,l))break;if(l--,l===e){l=-1;break}l<0&&(l=a.length-1)}}else{l=-1===s?0:s=a.length&&(l=0)}}-1!==l&&a[l].focus()}[Y.R.left,Y.R.right].includes(o)&&(t.preventDefault(),r.click());const c=r.querySelector('[type="checkbox"]');[Y.R.enter,Y.R.numpadEnter,Y.R.space].includes(o)&&c&&(t.preventDefault(),c.click())};(0,Z.MLh)(e,"keydown",o);const a=()=>{var t;if(!e.value)return;const r=Array.from(e.value.querySelectorAll(`.${n.is("focusable")}[role=treeitem]`)),i=Array.from(e.value.querySelectorAll("input[type=checkbox]"));i.forEach(e=>{e.setAttribute("tabindex","-1")});const o=e.value.querySelectorAll(`.${n.is("checked")}[role=treeitem]`);o.length?o[0].setAttribute("tabindex","0"):null==(t=r[0])||t.setAttribute("tabindex","0")}}var ee=n(46996),te=n(25343),ne=n(87404),re=n(67959);const ie=(0,r.pM)({name:"ElTree",components:{ElTreeNode:Q},props:{data:{type:(0,M.jq)(Array),default:()=>[]},emptyText:{type:String},renderAfterExpand:{type:Boolean,default:!0},nodeKey:String,checkStrictly:Boolean,defaultExpandAll:Boolean,expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkOnClickLeaf:{type:Boolean,default:!0},checkDescendants:Boolean,autoExpandParent:{type:Boolean,default:!0},defaultCheckedKeys:Array,defaultExpandedKeys:Array,currentNodeKey:[String,Number],renderContent:{type:(0,M.jq)(Function)},showCheckbox:Boolean,draggable:Boolean,allowDrag:{type:(0,M.jq)(Function)},allowDrop:{type:(0,M.jq)(Function)},props:{type:Object,default:()=>({children:"children",label:"label",disabled:"disabled"})},lazy:Boolean,highlightCurrent:Boolean,load:Function,filterNodeMethod:Function,accordion:Boolean,indent:{type:Number,default:18},icon:{type:te.Ze}},emits:["check-change","current-change","node-click","node-contextmenu","node-collapse","node-expand","check","node-drag-start","node-drag-end","node-drop","node-drag-leave","node-drag-enter","node-drag-over"],setup(e,t){const{t:n}=(0,ne.Ym)(),o=(0,w.DU)("tree"),a=(0,r.WQ)(s.u,null),l=(0,i.KR)(new b({key:e.nodeKey,data:e.data,lazy:e.lazy,props:e.props,load:e.load,currentNodeKey:e.currentNodeKey,checkStrictly:e.checkStrictly,checkDescendants:e.checkDescendants,defaultCheckedKeys:e.defaultCheckedKeys,defaultExpandedKeys:e.defaultExpandedKeys,autoExpandParent:e.autoExpandParent,defaultExpandAll:e.defaultExpandAll,filterNodeMethod:e.filterNodeMethod}));l.value.initialize();const c=(0,i.KR)(l.value.root),u=(0,i.KR)(null),f=(0,i.KR)(null),h=(0,i.KR)(null),{broadcastExpanded:g}=W(e),{dragState:m}=K({props:e,ctx:t,el$:f,dropIndicator$:h,store:l});J({el$:f},l);const _=(0,r.EW)(()=>{const{childNodes:e}=c.value,t=!!a&&0!==a.hasFilteredOptions;return(!e||0===e.length||e.every(({visible:e})=>!e))&&!t});(0,r.wB)(()=>e.currentNodeKey,e=>{l.value.setCurrentNodeKey(null!=e?e:null)}),(0,r.wB)(()=>e.defaultCheckedKeys,(e,t)=>{(0,ee.A)(e,t)||l.value.setDefaultCheckedKey(null!=e?e:[])}),(0,r.wB)(()=>e.defaultExpandedKeys,e=>{l.value.setDefaultExpandedKeys(null!=e?e:[])}),(0,r.wB)(()=>e.data,e=>{l.value.setData(e)},{deep:!0}),(0,r.wB)(()=>e.checkStrictly,e=>{l.value.checkStrictly=e});const v=t=>{if(!e.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");l.value.filter(t)},y=t=>d(e.nodeKey,t.data),k=t=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in getNodePath");const n=l.value.getNode(t);if(!n)return[];const r=[n.data];let i=n.parent;while(i&&i!==c.value)r.push(i.data),i=i.parent;return r.reverse()},x=(e,t)=>l.value.getCheckedNodes(e,t),C=e=>l.value.getCheckedKeys(e),S=()=>{const e=l.value.getCurrentNode();return e?e.data:null},j=()=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in getCurrentKey");const t=S();return t?t[e.nodeKey]:null},T=(t,n)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedNodes");l.value.setCheckedNodes(t,n)},L=(t,n)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedKeys");l.value.setCheckedKeys(t,n)},E=(e,t,n)=>{l.value.setChecked(e,t,n)},A=()=>l.value.getHalfCheckedNodes(),M=()=>l.value.getHalfCheckedKeys(),D=(n,r=!0)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentNode");p(l,t.emit,()=>{g(n),l.value.setUserCurrentNode(n,r)})},O=(n,r=!0)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentKey");p(l,t.emit,()=>{g(),l.value.setCurrentNodeKey(null!=n?n:null,r)})},N=e=>l.value.getNode(e),z=e=>{l.value.remove(e)},I=(e,t)=>{l.value.append(e,t)},F=(e,t)=>{l.value.insertBefore(e,t)},P=(e,t)=>{l.value.insertAfter(e,t)},q=(e,n,r)=>{g(n),t.emit("node-expand",e,n,r)},B=(t,n)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in updateKeyChild");l.value.updateChildren(t,n)};return(0,r.Gt)(R,{ctx:t,props:e,store:l,root:c,currentNode:u,instance:(0,r.nI)()}),(0,r.Gt)(re.w,void 0),{ns:o,store:l,root:c,currentNode:u,dragState:m,el$:f,dropIndicator$:h,isEmpty:_,filter:v,getNodeKey:y,getNodePath:k,getCheckedNodes:x,getCheckedKeys:C,getCurrentNode:S,getCurrentKey:j,setCheckedNodes:T,setCheckedKeys:L,setChecked:E,getHalfCheckedNodes:A,getHalfCheckedKeys:M,setCurrentNode:D,setCurrentKey:O,t:n,getNode:N,remove:z,append:I,insertBefore:F,insertAfter:P,handleNodeExpand:q,updateKeyChildren:B}}});function oe(e,t,n,i,s,l){const c=(0,r.g2)("el-tree-node");return(0,r.uX)(),(0,r.CE)("div",{ref:"el$",class:(0,o.C4)([e.ns.b(),e.ns.is("dragging",!!e.dragState.draggingNode),e.ns.is("drop-not-allow",!e.dragState.allowDrop),e.ns.is("drop-inner","inner"===e.dragState.dropType),{[e.ns.m("highlight-current")]:e.highlightCurrent}]),role:"tree"},[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(e.root.childNodes,t=>((0,r.uX)(),(0,r.Wv)(c,{key:e.getNodeKey(t),node:t,props:e.props,accordion:e.accordion,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,"render-content":e.renderContent,onNodeExpand:e.handleNodeExpand},null,8,["node","props","accordion","render-after-expand","show-checkbox","render-content","onNodeExpand"]))),128)),e.isEmpty?((0,r.uX)(),(0,r.CE)("div",{key:0,class:(0,o.C4)(e.ns.e("empty-block"))},[(0,r.RG)(e.$slots,"empty",{},()=>{var t;return[(0,r.Lk)("span",{class:(0,o.C4)(e.ns.e("empty-text"))},(0,o.v_)(null!=(t=e.emptyText)?t:e.t("el.tree.emptyText")),3)]})],2)):(0,r.Q3)("v-if",!0),(0,r.bo)((0,r.Lk)("div",{ref:"dropIndicator$",class:(0,o.C4)(e.ns.e("drop-indicator"))},null,2),[[a.aG,e.dragState.showDropIndicator]])],2)}var ae=(0,k.A)(ie,[["render",oe],["__file","tree.vue"]]);const se=(0,j.GU)(ae)},29532:function(e,t,n){(function(e){e(n(15237))})(function(e){"use strict";function t(e){var t;while(null!=(t=e.next()))if("`"==t&&!e.eat("`"))return"variable-2";return e.backUp(e.current().length-1),e.eatWhile(/\w/)?"variable-2":null}function n(e){var t;while(null!=(t=e.next()))if('"'==t&&!e.eat('"'))return"variable-2";return e.backUp(e.current().length-1),e.eatWhile(/\w/)?"variable-2":null}function r(e){return e.eat("@")&&(e.match("session."),e.match("local."),e.match("global.")),e.eat("'")?(e.match(/^.*'/),"variable-2"):e.eat('"')?(e.match(/^.*"/),"variable-2"):e.eat("`")?(e.match(/^.*`/),"variable-2"):e.match(/^[0-9a-zA-Z$\.\_]+/)?"variable-2":null}function i(e){return e.eat("N")?"atom":e.match(/^[a-zA-Z.#!?]/)?"variable-2":null}e.defineMode("sql",function(t,n){var r=n.client||{},i=n.atoms||{false:!0,true:!0,null:!0},l=n.builtin||a(s),c=n.keywords||a(o),u=n.operatorChars||/^[*+\-%<>!=&|~^\/]/,d=n.support||{},p=n.hooks||{},f=n.dateSQL||{date:!0,time:!0,timestamp:!0},h=!1!==n.backslashStringEscapes,g=n.brackets||/^[\{}\(\)\[\]]/,m=n.punctuation||/^[;.,:]/;function _(e,t){var n=e.next();if(p[n]){var o=p[n](e,t);if(!1!==o)return o}if(d.hexNumber&&("0"==n&&e.match(/^[xX][0-9a-fA-F]+/)||("x"==n||"X"==n)&&e.match(/^'[0-9a-fA-F]*'/)))return"number";if(d.binaryNumber&&(("b"==n||"B"==n)&&e.match(/^'[01]*'/)||"0"==n&&e.match(/^b[01]+/)))return"number";if(n.charCodeAt(0)>47&&n.charCodeAt(0)<58)return e.match(/^[0-9]*(\.[0-9]+)?([eE][-+]?[0-9]+)?/),d.decimallessFloat&&e.match(/^\.(?!\.)/),"number";if("?"==n&&(e.eatSpace()||e.eol()||e.eat(";")))return"variable-3";if("'"==n||'"'==n&&d.doubleQuote)return t.tokenize=v(n),t.tokenize(e,t);if((d.nCharCast&&("n"==n||"N"==n)||d.charsetCast&&"_"==n&&e.match(/[a-z][a-z0-9]*/i))&&("'"==e.peek()||'"'==e.peek()))return"keyword";if(d.escapeConstant&&("e"==n||"E"==n)&&("'"==e.peek()||'"'==e.peek()&&d.doubleQuote))return t.tokenize=function(e,t){return(t.tokenize=v(e.next(),!0))(e,t)},"keyword";if(d.commentSlashSlash&&"/"==n&&e.eat("/"))return e.skipToEnd(),"comment";if(d.commentHash&&"#"==n||"-"==n&&e.eat("-")&&(!d.commentSpaceRequired||e.eat(" ")))return e.skipToEnd(),"comment";if("/"==n&&e.eat("*"))return t.tokenize=y(1),t.tokenize(e,t);if("."!=n){if(u.test(n))return e.eatWhile(u),"operator";if(g.test(n))return"bracket";if(m.test(n))return e.eatWhile(m),"punctuation";if("{"==n&&(e.match(/^( )*(d|D|t|T|ts|TS)( )*'[^']*'( )*}/)||e.match(/^( )*(d|D|t|T|ts|TS)( )*"[^"]*"( )*}/)))return"number";e.eatWhile(/^[_\w\d]/);var a=e.current().toLowerCase();return f.hasOwnProperty(a)&&(e.match(/^( )+'[^']*'/)||e.match(/^( )+"[^"]*"/))?"number":i.hasOwnProperty(a)?"atom":l.hasOwnProperty(a)?"type":c.hasOwnProperty(a)?"keyword":r.hasOwnProperty(a)?"builtin":null}return d.zerolessFloat&&e.match(/^(?:\d+(?:e[+-]?\d+)?)/i)?"number":e.match(/^\.+/)?null:e.match(/^[\w\d_$#]+/)?"variable-2":void 0}function v(e,t){return function(n,r){var i,o=!1;while(null!=(i=n.next())){if(i==e&&!o){r.tokenize=_;break}o=(h||t)&&!o&&"\\"==i}return"string"}}function y(e){return function(t,n){var r=t.match(/^.*?(\/\*|\*\/)/);return r?"/*"==r[1]?n.tokenize=y(e+1):n.tokenize=e>1?y(e-1):_:t.skipToEnd(),"comment"}}function b(e,t,n){t.context={prev:t.context,indent:e.indentation(),col:e.column(),type:n}}function k(e){e.indent=e.context.indent,e.context=e.context.prev}return{startState:function(){return{tokenize:_,context:null}},token:function(e,t){if(e.sol()&&t.context&&null==t.context.align&&(t.context.align=!1),t.tokenize==_&&e.eatSpace())return null;var n=t.tokenize(e,t);if("comment"==n)return n;t.context&&null==t.context.align&&(t.context.align=!0);var r=e.current();return"("==r?b(e,t,")"):"["==r?b(e,t,"]"):t.context&&t.context.type==r&&k(t),n},indent:function(n,r){var i=n.context;if(!i)return e.Pass;var o=r.charAt(0)==i.type;return i.align?i.col+(o?0:1):i.indent+(o?0:t.indentUnit)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:d.commentSlashSlash?"//":d.commentHash?"#":"--",closeBrackets:"()[]{}''\"\"``",config:n}});var o="alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit ";function a(e){for(var t={},n=e.split(" "),r=0;r!=^\&|\/]/,brackets:/^[\{}\(\)]/,punctuation:/^[;.,:/]/,backslashStringEscapes:!1,dateSQL:a("date datetimeoffset datetime2 smalldatetime datetime time"),hooks:{"@":r}}),e.defineMIME("text/x-mysql",{name:"sql",client:a("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:a(o+"accessible action add after algorithm all analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general get global grant grants group group_concat handler hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show signal slave slow smallint snapshot soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:a("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:a("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:a("date time timestamp"),support:a("decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":r,"`":t,"\\":i}}),e.defineMIME("text/x-mariadb",{name:"sql",client:a("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:a(o+"accessible action add after algorithm all always analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general generated get global grant grants group group_concat handler hard hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password persistent phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show shutdown signal slave slow smallint snapshot soft soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views virtual warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:a("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:a("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:a("date time timestamp"),support:a("decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":r,"`":t,"\\":i}}),e.defineMIME("text/x-sqlite",{name:"sql",client:a("auth backup bail binary changes check clone databases dbinfo dump echo eqp exit explain fullschema headers help import imposter indexes iotrace limit lint load log mode nullvalue once open output print prompt quit read restore save scanstats schema separator session shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width"),keywords:a(o+"abort action add after all analyze attach autoincrement before begin cascade case cast check collate column commit conflict constraint cross current_date current_time current_timestamp database default deferrable deferred detach each else end escape except exclusive exists explain fail for foreign full glob if ignore immediate index indexed initially inner instead intersect isnull key left limit match natural no notnull null of offset outer plan pragma primary query raise recursive references regexp reindex release rename replace restrict right rollback row savepoint temp temporary then to transaction trigger unique using vacuum view virtual when with without"),builtin:a("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text clob bigint int int2 int8 integer float double char varchar date datetime year unsigned signed numeric real"),atoms:a("null current_date current_time current_timestamp"),operatorChars:/^[*+\-%<>!=&|/~]/,dateSQL:a("date time timestamp datetime"),support:a("decimallessFloat zerolessFloat"),identifierQuote:'"',hooks:{"@":r,":":r,"?":r,$:r,'"':n,"`":t}}),e.defineMIME("text/x-cassandra",{name:"sql",client:{},keywords:a("add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime"),builtin:a("ascii bigint blob boolean counter decimal double float frozen inet int list map static text timestamp timeuuid tuple uuid varchar varint"),atoms:a("false true infinity NaN"),operatorChars:/^[<>=]/,dateSQL:{},support:a("commentSlashSlash decimallessFloat"),hooks:{}}),e.defineMIME("text/x-plsql",{name:"sql",client:a("appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define describe echo editfile embedded escape exec execute feedback flagger flush heading headsep instance linesize lno loboffset logsource long longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar release repfooter repheader serveroutput shiftinout show showmode size spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout time timing trimout trimspool ttitle underline verify version wrap"),keywords:a("abort accept access add all alter and any array arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body boolean by case cast char char_base check close cluster clusters colauth column comment commit compress connect connected constant constraint crash create current currval cursor data_base database date dba deallocate debugoff debugon decimal declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry escape exception exception_init exchange exclusive exists exit external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging long loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base object of off offline on online only open option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw read rebuild record ref references refresh release rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate session set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work"),builtin:a("abs acos add_months ascii asin atan atan2 average bfile bfilename bigserial bit blob ceil character chartorowid chr clob concat convert cos cosh count dec decode deref dual dump dup_val_on_index empty error exp false float floor found glb greatest hextoraw initcap instr instrb int integer isopen last_day least length lengthb ln lower lpad ltrim lub make_ref max min mlslabel mod months_between natural naturaln nchar nclob new_time next_day nextval nls_charset_decl_len nls_charset_id nls_charset_name nls_initcap nls_lower nls_sort nls_upper nlssort no_data_found notfound null number numeric nvarchar2 nvl others power rawtohex real reftohex round rowcount rowidtochar rowtype rpad rtrim serial sign signtype sin sinh smallint soundex sqlcode sqlerrm sqrt stddev string substr substrb sum sysdate tan tanh to_char text to_date to_label to_multi_byte to_number to_single_byte translate true trunc uid unlogged upper user userenv varchar varchar2 variance varying vsize xml"),operatorChars:/^[*\/+\-%<>!=~]/,dateSQL:a("date time timestamp"),support:a("doubleQuote nCharCast zerolessFloat binaryNumber hexNumber")}),e.defineMIME("text/x-hive",{name:"sql",keywords:a("select alter $elem$ $key$ $value$ add after all analyze and archive as asc before between binary both bucket buckets by cascade case cast change cluster clustered clusterstatus collection column columns comment compute concatenate continue create cross cursor data database databases dbproperties deferred delete delimited desc describe directory disable distinct distribute drop else enable end escaped exclusive exists explain export extended external fetch fields fileformat first format formatted from full function functions grant group having hold_ddltime idxproperties if import in index indexes inpath inputdriver inputformat insert intersect into is items join keys lateral left like limit lines load local location lock locks mapjoin materialized minus msck no_drop nocompress not of offline on option or order out outer outputdriver outputformat overwrite partition partitioned partitions percent plus preserve procedure purge range rcfile read readonly reads rebuild recordreader recordwriter recover reduce regexp rename repair replace restrict revoke right rlike row schema schemas semi sequencefile serde serdeproperties set shared show show_database sort sorted ssl statistics stored streamtable table tables tablesample tblproperties temporary terminated textfile then tmp to touch transform trigger unarchive undo union uniquejoin unlock update use using utc utc_tmestamp view when where while with admin authorization char compact compactions conf cube current current_date current_timestamp day decimal defined dependency directories elem_type exchange file following for grouping hour ignore inner interval jar less logical macro minute month more none noscan over owner partialscan preceding pretty principals protection reload rewrite role roles rollup rows second server sets skewed transactions truncate unbounded unset uri user values window year"),builtin:a("bool boolean long timestamp tinyint smallint bigint int float double date datetime unsigned string array struct map uniontype key_type utctimestamp value_type varchar"),atoms:a("false true null unknown"),operatorChars:/^[*+\-%<>!=]/,dateSQL:a("date timestamp"),support:a("doubleQuote binaryNumber hexNumber")}),e.defineMIME("text/x-pgsql",{name:"sql",client:a("source"),keywords:a(o+"a abort abs absent absolute access according action ada add admin after aggregate alias all allocate also alter always analyse analyze and any are array array_agg array_max_cardinality as asc asensitive assert assertion assignment asymmetric at atomic attach attribute attributes authorization avg backward base64 before begin begin_frame begin_partition bernoulli between bigint binary bit bit_length blob blocked bom boolean both breadth by c cache call called cardinality cascade cascaded case cast catalog catalog_name ceil ceiling chain char char_length character character_length character_set_catalog character_set_name character_set_schema characteristics characters check checkpoint class class_origin clob close cluster coalesce cobol collate collation collation_catalog collation_name collation_schema collect column column_name columns command_function command_function_code comment comments commit committed concurrently condition condition_number configuration conflict connect connection connection_name constant constraint constraint_catalog constraint_name constraint_schema constraints constructor contains content continue control conversion convert copy corr corresponding cost count covar_pop covar_samp create cross csv cube cume_dist current current_catalog current_date current_default_transform_group current_path current_role current_row current_schema current_time current_timestamp current_transform_group_for_type current_user cursor cursor_name cycle data database datalink datatype date datetime_interval_code datetime_interval_precision day db deallocate debug dec decimal declare default defaults deferrable deferred defined definer degree delete delimiter delimiters dense_rank depends depth deref derived desc describe descriptor detach detail deterministic diagnostics dictionary disable discard disconnect dispatch distinct dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue do document domain double drop dump dynamic dynamic_function dynamic_function_code each element else elseif elsif empty enable encoding encrypted end end_frame end_partition endexec enforced enum equals errcode error escape event every except exception exclude excluding exclusive exec execute exists exit exp explain expression extension external extract false family fetch file filter final first first_value flag float floor following for force foreach foreign fortran forward found frame_row free freeze from fs full function functions fusion g general generated get global go goto grant granted greatest group grouping groups handler having header hex hierarchy hint hold hour id identity if ignore ilike immediate immediately immutable implementation implicit import in include including increment indent index indexes indicator info inherit inherits initially inline inner inout input insensitive insert instance instantiable instead int integer integrity intersect intersection interval into invoker is isnull isolation join k key key_member key_type label lag language large last last_value lateral lead leading leakproof least left length level library like like_regex limit link listen ln load local localtime localtimestamp location locator lock locked log logged loop lower m map mapping match matched materialized max max_cardinality maxvalue member merge message message_length message_octet_length message_text method min minute minvalue mod mode modifies module month more move multiset mumps name names namespace national natural nchar nclob nesting new next nfc nfd nfkc nfkd nil no none normalize normalized not nothing notice notify notnull nowait nth_value ntile null nullable nullif nulls number numeric object occurrences_regex octet_length octets of off offset oids old on only open operator option options or order ordering ordinality others out outer output over overlaps overlay overriding owned owner p pad parallel parameter parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partial partition pascal passing passthrough password path percent percent_rank percentile_cont percentile_disc perform period permission pg_context pg_datatype_name pg_exception_context pg_exception_detail pg_exception_hint placing plans pli policy portion position position_regex power precedes preceding precision prepare prepared preserve primary print_strict_params prior privileges procedural procedure procedures program public publication query quote raise range rank read reads real reassign recheck recovery recursive ref references referencing refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex relative release rename repeatable replace replica requiring reset respect restart restore restrict result result_oid return returned_cardinality returned_length returned_octet_length returned_sqlstate returning returns reverse revoke right role rollback rollup routine routine_catalog routine_name routine_schema routines row row_count row_number rows rowtype rule savepoint scale schema schema_name schemas scope scope_catalog scope_name scope_schema scroll search second section security select selective self sensitive sequence sequences serializable server server_name session session_user set setof sets share show similar simple size skip slice smallint snapshot some source space specific specific_name specifictype sql sqlcode sqlerror sqlexception sqlstate sqlwarning sqrt stable stacked standalone start state statement static statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset subscription substring substring_regex succeeds sum symmetric sysid system system_time system_user t table table_name tables tablesample tablespace temp template temporary text then ties time timestamp timezone_hour timezone_minute to token top_level_count trailing transaction transaction_active transactions_committed transactions_rolled_back transform transforms translate translate_regex translation treat trigger trigger_catalog trigger_name trigger_schema trim trim_array true truncate trusted type types uescape unbounded uncommitted under unencrypted union unique unknown unlink unlisten unlogged unnamed unnest until untyped update upper uri usage use_column use_variable user user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema using vacuum valid validate validator value value_of values var_pop var_samp varbinary varchar variable_conflict variadic varying verbose version versioning view views volatile warning when whenever where while whitespace width_bucket window with within without work wrapper write xml xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate year yes zone"),builtin:a("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time zone timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:a("false true null unknown"),operatorChars:/^[*\/+\-%<>!=&|^\/#@?~]/,backslashStringEscapes:!1,identifierQuote:'"',hooks:{'"':n},dateSQL:a("date time timestamp"),support:a("decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast escapeConstant")}),e.defineMIME("text/x-gql",{name:"sql",keywords:a("ancestor and asc by contains desc descendant distinct from group has in is limit offset on order select superset where"),atoms:a("false true"),builtin:a("blob datetime first key __key__ string integer double boolean null"),operatorChars:/^[*+\-%<>!=]/}),e.defineMIME("text/x-gpsql",{name:"sql",client:a("source"),keywords:a("abort absolute access action active add admin after aggregate all also alter always analyse analyze and any array as asc assertion assignment asymmetric at authorization backward before begin between bigint binary bit boolean both by cache called cascade cascaded case cast chain char character characteristics check checkpoint class close cluster coalesce codegen collate column comment commit committed concurrency concurrently configuration connection constraint constraints contains content continue conversion copy cost cpu_rate_limit create createdb createexttable createrole createuser cross csv cube current current_catalog current_date current_role current_schema current_time current_timestamp current_user cursor cycle data database day deallocate dec decimal declare decode default defaults deferrable deferred definer delete delimiter delimiters deny desc dictionary disable discard distinct distributed do document domain double drop dxl each else enable encoding encrypted end enum errors escape every except exchange exclude excluding exclusive execute exists explain extension external extract false family fetch fields filespace fill filter first float following for force foreign format forward freeze from full function global grant granted greatest group group_id grouping handler hash having header hold host hour identity if ignore ilike immediate immutable implicit in including inclusive increment index indexes inherit inherits initially inline inner inout input insensitive insert instead int integer intersect interval into invoker is isnull isolation join key language large last leading least left level like limit list listen load local localtime localtimestamp location lock log login mapping master match maxvalue median merge minute minvalue missing mode modifies modify month move name names national natural nchar new newline next no nocreatedb nocreateexttable nocreaterole nocreateuser noinherit nologin none noovercommit nosuperuser not nothing notify notnull nowait null nullif nulls numeric object of off offset oids old on only operator option options or order ordered others out outer over overcommit overlaps overlay owned owner parser partial partition partitions passing password percent percentile_cont percentile_disc placing plans position preceding precision prepare prepared preserve primary prior privileges procedural procedure protocol queue quote randomly range read readable reads real reassign recheck recursive ref references reindex reject relative release rename repeatable replace replica reset resource restart restrict returning returns revoke right role rollback rollup rootpartition row rows rule savepoint scatter schema scroll search second security segment select sequence serializable session session_user set setof sets share show similar simple smallint some split sql stable standalone start statement statistics stdin stdout storage strict strip subpartition subpartitions substring superuser symmetric sysid system table tablespace temp template temporary text then threshold ties time timestamp to trailing transaction treat trigger trim true truncate trusted type unbounded uncommitted unencrypted union unique unknown unlisten until update user using vacuum valid validation validator value values varchar variadic varying verbose version view volatile web when where whitespace window with within without work writable write xml xmlattributes xmlconcat xmlelement xmlexists xmlforest xmlparse xmlpi xmlroot xmlserialize year yes zone"),builtin:a("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:a("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:a("date time timestamp"),support:a("decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast")}),e.defineMIME("text/x-sparksql",{name:"sql",keywords:a("add after all alter analyze and anti archive array as asc at between bucket buckets by cache cascade case cast change clear cluster clustered codegen collection column columns comment commit compact compactions compute concatenate cost create cross cube current current_date current_timestamp database databases data dbproperties defined delete delimited deny desc describe dfs directories distinct distribute drop else end escaped except exchange exists explain export extended external false fields fileformat first following for format formatted from full function functions global grant group grouping having if ignore import in index indexes inner inpath inputformat insert intersect interval into is items join keys last lateral lazy left like limit lines list load local location lock locks logical macro map minus msck natural no not null nulls of on optimize option options or order out outer outputformat over overwrite partition partitioned partitions percent preceding principals purge range recordreader recordwriter recover reduce refresh regexp rename repair replace reset restrict revoke right rlike role roles rollback rollup row rows schema schemas select semi separated serde serdeproperties set sets show skewed sort sorted start statistics stored stratify struct table tables tablesample tblproperties temp temporary terminated then to touch transaction transactions transform true truncate unarchive unbounded uncache union unlock unset use using values view when where window with"),builtin:a("abs acos acosh add_months aggregate and any approx_count_distinct approx_percentile array array_contains array_distinct array_except array_intersect array_join array_max array_min array_position array_remove array_repeat array_sort array_union arrays_overlap arrays_zip ascii asin asinh assert_true atan atan2 atanh avg base64 between bigint bin binary bit_and bit_count bit_get bit_length bit_or bit_xor bool_and bool_or boolean bround btrim cardinality case cast cbrt ceil ceiling char char_length character_length chr coalesce collect_list collect_set concat concat_ws conv corr cos cosh cot count count_if count_min_sketch covar_pop covar_samp crc32 cume_dist current_catalog current_database current_date current_timestamp current_timezone current_user date date_add date_format date_from_unix_date date_part date_sub date_trunc datediff day dayofmonth dayofweek dayofyear decimal decode degrees delimited dense_rank div double e element_at elt encode every exists exp explode explode_outer expm1 extract factorial filter find_in_set first first_value flatten float floor forall format_number format_string from_csv from_json from_unixtime from_utc_timestamp get_json_object getbit greatest grouping grouping_id hash hex hour hypot if ifnull in initcap inline inline_outer input_file_block_length input_file_block_start input_file_name inputformat instr int isnan isnotnull isnull java_method json_array_length json_object_keys json_tuple kurtosis lag last last_day last_value lcase lead least left length levenshtein like ln locate log log10 log1p log2 lower lpad ltrim make_date make_dt_interval make_interval make_timestamp make_ym_interval map map_concat map_entries map_filter map_from_arrays map_from_entries map_keys map_values map_zip_with max max_by md5 mean min min_by minute mod monotonically_increasing_id month months_between named_struct nanvl negative next_day not now nth_value ntile nullif nvl nvl2 octet_length or outputformat overlay parse_url percent_rank percentile percentile_approx pi pmod posexplode posexplode_outer position positive pow power printf quarter radians raise_error rand randn random rank rcfile reflect regexp regexp_extract regexp_extract_all regexp_like regexp_replace repeat replace reverse right rint rlike round row_number rpad rtrim schema_of_csv schema_of_json second sentences sequence sequencefile serde session_window sha sha1 sha2 shiftleft shiftright shiftrightunsigned shuffle sign signum sin sinh size skewness slice smallint some sort_array soundex space spark_partition_id split sqrt stack std stddev stddev_pop stddev_samp str_to_map string struct substr substring substring_index sum tan tanh textfile timestamp timestamp_micros timestamp_millis timestamp_seconds tinyint to_csv to_date to_json to_timestamp to_unix_timestamp to_utc_timestamp transform transform_keys transform_values translate trim trunc try_add try_divide typeof ucase unbase64 unhex uniontype unix_date unix_micros unix_millis unix_seconds unix_timestamp upper uuid var_pop var_samp variance version weekday weekofyear when width_bucket window xpath xpath_boolean xpath_double xpath_float xpath_int xpath_long xpath_number xpath_short xpath_string xxhash64 year zip_with"),atoms:a("false true null"),operatorChars:/^[*\/+\-%<>!=~&|^]/,dateSQL:a("date time timestamp"),support:a("doubleQuote zerolessFloat")}),e.defineMIME("text/x-esper",{name:"sql",client:a("source"),keywords:a("alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit after all and as at asc avedev avg between by case cast coalesce count create current_timestamp day days delete define desc distinct else end escape events every exists false first from full group having hour hours in inner insert instanceof into irstream is istream join last lastweekday left limit like max match_recognize matches median measures metadatasql min minute minutes msec millisecond milliseconds not null offset on or order outer output partition pattern prev prior regexp retain-union retain-intersection right rstream sec second seconds select set some snapshot sql stddev sum then true unidirectional until update variable weekday when where window"),builtin:{},atoms:a("false true null"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:a("time"),support:a("decimallessFloat zerolessFloat binaryNumber hexNumber")}),e.defineMIME("text/x-trino",{name:"sql",keywords:a("abs absent acos add admin after all all_match alter analyze and any any_match approx_distinct approx_most_frequent approx_percentile approx_set arbitrary array_agg array_distinct array_except array_intersect array_join array_max array_min array_position array_remove array_sort array_union arrays_overlap as asc asin at at_timezone atan atan2 authorization avg bar bernoulli beta_cdf between bing_tile bing_tile_at bing_tile_coordinates bing_tile_polygon bing_tile_quadkey bing_tile_zoom_level bing_tiles_around bit_count bitwise_and bitwise_and_agg bitwise_left_shift bitwise_not bitwise_or bitwise_or_agg bitwise_right_shift bitwise_right_shift_arithmetic bitwise_xor bool_and bool_or both by call cardinality cascade case cast catalogs cbrt ceil ceiling char2hexint checksum chr classify coalesce codepoint column columns combinations comment commit committed concat concat_ws conditional constraint contains contains_sequence convex_hull_agg copartition corr cos cosh cosine_similarity count count_if covar_pop covar_samp crc32 create cross cube cume_dist current current_catalog current_date current_groups current_path current_role current_schema current_time current_timestamp current_timezone current_user data date_add date_diff date_format date_parse date_trunc day day_of_month day_of_week day_of_year deallocate default define definer degrees delete dense_rank deny desc describe descriptor distinct distributed dow doy drop e element_at else empty empty_approx_set encoding end error escape evaluate_classifier_predictions every except excluding execute exists exp explain extract false features fetch filter final first first_value flatten floor following for format format_datetime format_number from from_base from_base32 from_base64 from_base64url from_big_endian_32 from_big_endian_64 from_encoded_polyline from_geojson_geometry from_hex from_ieee754_32 from_ieee754_64 from_iso8601_date from_iso8601_timestamp from_iso8601_timestamp_nanos from_unixtime from_unixtime_nanos from_utf8 full functions geometric_mean geometry_from_hadoop_shape geometry_invalid_reason geometry_nearest_points geometry_to_bing_tiles geometry_union geometry_union_agg grant granted grants graphviz great_circle_distance greatest group grouping groups hamming_distance hash_counts having histogram hmac_md5 hmac_sha1 hmac_sha256 hmac_sha512 hour human_readable_seconds if ignore in including index infinity initial inner input insert intersect intersection_cardinality into inverse_beta_cdf inverse_normal_cdf invoker io is is_finite is_infinite is_json_scalar is_nan isolation jaccard_index join json_array json_array_contains json_array_get json_array_length json_exists json_extract json_extract_scalar json_format json_object json_parse json_query json_size json_value keep key keys kurtosis lag last last_day_of_month last_value lateral lead leading learn_classifier learn_libsvm_classifier learn_libsvm_regressor learn_regressor least left length level levenshtein_distance like limit line_interpolate_point line_interpolate_points line_locate_point listagg ln local localtime localtimestamp log log10 log2 logical lower lpad ltrim luhn_check make_set_digest map_agg map_concat map_entries map_filter map_from_entries map_keys map_union map_values map_zip_with match match_recognize matched matches materialized max max_by md5 measures merge merge_set_digest millisecond min min_by minute mod month multimap_agg multimap_from_entries murmur3 nan natural next nfc nfd nfkc nfkd ngrams no none none_match normal_cdf normalize not now nth_value ntile null nullif nulls numeric_histogram object objectid_timestamp of offset omit on one only option or order ordinality outer output over overflow parse_data_size parse_datetime parse_duration partition partitions passing past path pattern per percent_rank permute pi position pow power preceding prepare privileges properties prune qdigest_agg quarter quotes radians rand random range rank read recursive reduce reduce_agg refresh regexp_count regexp_extract regexp_extract_all regexp_like regexp_position regexp_replace regexp_split regr_intercept regr_slope regress rename render repeat repeatable replace reset respect restrict returning reverse revoke rgb right role roles rollback rollup round row_number rows rpad rtrim running scalar schema schemas second security seek select sequence serializable session set sets sha1 sha256 sha512 show shuffle sign simplify_geometry sin skewness skip slice some soundex spatial_partitioning spatial_partitions split split_part split_to_map split_to_multimap spooky_hash_v2_32 spooky_hash_v2_64 sqrt st_area st_asbinary st_astext st_boundary st_buffer st_centroid st_contains st_convexhull st_coorddim st_crosses st_difference st_dimension st_disjoint st_distance st_endpoint st_envelope st_envelopeaspts st_equals st_exteriorring st_geometries st_geometryfromtext st_geometryn st_geometrytype st_geomfrombinary st_interiorringn st_interiorrings st_intersection st_intersects st_isclosed st_isempty st_isring st_issimple st_isvalid st_length st_linefromtext st_linestring st_multipoint st_numgeometries st_numinteriorring st_numpoints st_overlaps st_point st_pointn st_points st_polygon st_relate st_startpoint st_symdifference st_touches st_union st_within st_x st_xmax st_xmin st_y st_ymax st_ymin start starts_with stats stddev stddev_pop stddev_samp string strpos subset substr substring sum system table tables tablesample tan tanh tdigest_agg text then ties timestamp_objectid timezone_hour timezone_minute to to_base to_base32 to_base64 to_base64url to_big_endian_32 to_big_endian_64 to_char to_date to_encoded_polyline to_geojson_geometry to_geometry to_hex to_ieee754_32 to_ieee754_64 to_iso8601 to_milliseconds to_spherical_geography to_timestamp to_unixtime to_utf8 trailing transaction transform transform_keys transform_values translate trim trim_array true truncate try try_cast type typeof uescape unbounded uncommitted unconditional union unique unknown unmatched unnest update upper url_decode url_encode url_extract_fragment url_extract_host url_extract_parameter url_extract_path url_extract_port url_extract_protocol url_extract_query use user using utf16 utf32 utf8 validate value value_at_quantile values values_at_quantiles var_pop var_samp variance verbose version view week week_of_year when where width_bucket wilson_interval_lower wilson_interval_upper window with with_timezone within without word_stem work wrapper write xxhash64 year year_of_week yow zip zip_with"),builtin:a("array bigint bingtile boolean char codepoints color date decimal double function geometry hyperloglog int integer interval ipaddress joniregexp json json2016 jsonpath kdbtree likepattern map model objectid p4hyperloglog precision qdigest re2jregexp real regressor row setdigest smallint sphericalgeography tdigest time timestamp tinyint uuid varbinary varchar zone"),atoms:a("false true null unknown"),operatorChars:/^[[\]|<>=!\-+*/%]/,dateSQL:a("date time timestamp zone"),support:a("decimallessFloat zerolessFloat hexNumber")})})},30764:function(e,t,n){"use strict";e.exports=n.p+"static/img/file_type_sqlite.6549c95c.svg"},31216:function(e,t,n){"use strict";e.exports=n.p+"static/img/file_type_json2.027aae3c.svg"},32104:function(e,t,n){"use strict";n.d(t,{A:function(){return x}});var r=n(20641),i=n(90033),o=n(53751);const a={class:"csv-viewer-container"},s={class:"csv-controls"},l={class:"csv-info"},c={key:0,class:"large-file-warning"},u={key:0,class:"csv-search"},d=["onClick"],p={class:"header-content"},f={key:0,class:"sort-icon"},h={class:"row-number"},g=["title"],m={key:0,class:"no-data"},_={key:0,class:"scroll-info"};function v(e,t,n,v,y,b){return(0,r.uX)(),(0,r.CE)("div",a,[(0,r.Lk)("div",s,[(0,r.Lk)("div",l,[(0,r.Lk)("span",null,(0,i.v_)(b.rowCount)+" rows × "+(0,i.v_)(b.columnCount)+" columns",1),y.showLargeFileWarning?((0,r.uX)(),(0,r.CE)("span",c," ⚠️ Large file - scroll performance may vary ")):(0,r.Q3)("",!0)]),b.isExamMode?(0,r.Q3)("",!0):((0,r.uX)(),(0,r.CE)("div",u,[(0,r.bo)((0,r.Lk)("input",{"onUpdate:modelValue":t[0]||(t[0]=e=>y.searchQuery=e),placeholder:"Search...",class:"search-input"},null,512),[[o.Jo,y.searchQuery]])]))]),(0,r.Lk)("div",{ref:"tableContainer",class:"csv-table-wrapper",onScroll:t[1]||(t[1]=(...e)=>b.handleScroll&&b.handleScroll(...e))},[(0,r.Lk)("div",{style:(0,i.Tr)({height:b.totalHeight+"px",position:"relative"})},[(0,r.Lk)("table",{class:"csv-table",style:(0,i.Tr)({transform:`translateY(${b.offsetY}px)`})},[(0,r.Lk)("thead",null,[(0,r.Lk)("tr",null,[t[2]||(t[2]=(0,r.Lk)("th",{class:"row-number-header"},"#",-1)),((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(b.displayHeaders,(e,t)=>((0,r.uX)(),(0,r.CE)("th",{key:t,class:(0,i.C4)(["csv-header",{sortable:!b.isExamMode}]),onClick:e=>!b.isExamMode&&b.sortBy(t)},[(0,r.Lk)("div",p,[(0,r.Lk)("span",null,(0,i.v_)(e||`Column ${t+1}`),1),y.sortColumn===t?((0,r.uX)(),(0,r.CE)("span",f,(0,i.v_)("asc"===y.sortDirection?"▲":"▼"),1)):(0,r.Q3)("",!0)])],10,d))),128))])]),(0,r.Lk)("tbody",null,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(b.visibleRows,(e,t)=>((0,r.uX)(),(0,r.CE)("tr",{key:b.visibleStartIndex+t},[(0,r.Lk)("td",h,(0,i.v_)(b.visibleStartIndex+t+1),1),((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(e,(e,t)=>((0,r.uX)(),(0,r.CE)("td",{key:t,class:"csv-cell",title:e},(0,i.v_)(e),9,g))),128))]))),128))])],4)],4),0===b.filteredData.length?((0,r.uX)(),(0,r.CE)("div",m," No data to display ")):(0,r.Q3)("",!0)],544),b.filteredData.length>0?((0,r.uX)(),(0,r.CE)("div",_,[(0,r.Lk)("span",null,"Showing rows "+(0,i.v_)(b.visibleStartIndex+1)+" - "+(0,i.v_)(Math.min(b.visibleEndIndex,b.filteredData.length))+" of "+(0,i.v_)(b.filteredData.length),1)])):(0,r.Q3)("",!0)])}n(44114),n(18111),n(22489),n(61701),n(13579);var y=n(16990),b={props:{content:{type:String,required:!0}},data(){return{headers:[],rows:[],searchQuery:"",sortColumn:null,sortDirection:"asc",scrollTop:0,containerHeight:400,rowHeight:32,overscan:5,showLargeFileWarning:!1,resizeObserver:null}},computed:{isExamMode(){const e=window.location.hostname;if(e.startsWith("exam.")||e.includes("exam"))return!0;const t=this.$store?.state?.ide?.ideInfo?.isExamMode;return void 0!==t&&null!==t?t:"true"===localStorage.getItem("is_exam_mode")},parsedData(){if(!this.content)return{headers:[],rows:[]};const e=this.content.split("\n").filter(e=>e.trim());if(0===e.length)return{headers:[],rows:[]};const t=e=>{const t=[];let n="",r=!1;for(let i=0;it(e));return{headers:n,rows:r}},filteredData(){let e=this.parsedData.rows;if(this.searchQuery){const t=this.searchQuery.toLowerCase();e=e.filter(e=>e.some(e=>e.toString().toLowerCase().includes(t)))}return null!==this.sortColumn&&(e=[...e].sort((e,t)=>{const n=e[this.sortColumn]||"",r=t[this.sortColumn]||"",i=parseFloat(n),o=parseFloat(r);if(!isNaN(i)&&!isNaN(o))return"asc"===this.sortDirection?i-o:o-i;const a=n.toString().localeCompare(r.toString());return"asc"===this.sortDirection?a:-a})),e},totalRows(){return this.filteredData.length},totalHeight(){return this.totalRows*this.rowHeight},visibleStartIndex(){return Math.max(0,Math.floor(this.scrollTop/this.rowHeight)-this.overscan)},visibleEndIndex(){const e=Math.ceil(this.containerHeight/this.rowHeight);return Math.min(this.totalRows,this.visibleStartIndex+e+2*this.overscan)},visibleRows(){return this.filteredData.slice(this.visibleStartIndex,this.visibleEndIndex)},offsetY(){return this.visibleStartIndex*this.rowHeight},rowCount(){return this.parsedData.rows.length},columnCount(){return this.parsedData.headers.length},displayHeaders(){return this.parsedData.headers}},watch:{content(){this.scrollTop=0,this.sortColumn=null,this.sortDirection="asc",this.checkLargeFile(),this.$refs.tableContainer&&(this.$refs.tableContainer.scrollTop=0)},searchQuery(){this.scrollTop=0,this.$refs.tableContainer&&(this.$refs.tableContainer.scrollTop=0)}},mounted(){this.initContainerHeight(),this.setupResizeObserver(),this.checkLargeFile()},beforeUnmount(){this.resizeObserver&&this.resizeObserver.disconnect()},methods:{handleScroll(e){this.scrollTop=e.target.scrollTop},initContainerHeight(){this.$refs.tableContainer&&(this.containerHeight=this.$refs.tableContainer.clientHeight||400)},setupResizeObserver(){"undefined"!==typeof ResizeObserver&&this.$refs.tableContainer&&(this.resizeObserver=new ResizeObserver(e=>{for(const t of e)this.containerHeight=t.contentRect.height||400}),this.resizeObserver.observe(this.$refs.tableContainer))},checkLargeFile(){this.parsedData.rows.length>1e4?(this.showLargeFileWarning=!0,y.nk.warning({message:`Large CSV file: ${this.parsedData.rows.length.toLocaleString()} rows. Using virtual scrolling for better performance.`,duration:4e3})):this.showLargeFileWarning=!1},sortBy(e){this.sortColumn===e?this.sortDirection="asc"===this.sortDirection?"desc":"asc":(this.sortColumn=e,this.sortDirection="asc"),this.scrollTop=0,this.$refs.tableContainer&&(this.$refs.tableContainer.scrollTop=0)}}},k=n(66262);const w=(0,k.A)(b,[["render",v],["__scopeId","data-v-6a013383"]]);var x=w},32603:function(e,t,n){"use strict";var r=n(655);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},33887:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var r=n(53957);
-/**
- * @license lucide-vue-next v0.539.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */const i=(0,r.A)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},34154:function(e,t,n){"use strict";var r=n(36955),i=TypeError;e.exports=function(e){if("Uint8Array"===r(e))return e;throw new i("Argument is not an Uint8Array")}},34226:function(e,t,n){"use strict";var r=n(46518),i=n(44576),o=n(63463),a=n(34154),s=n(55169),l=n(42303);i.Uint8Array&&r({target:"Uint8Array",proto:!0},{setFromHex:function(e){a(this),o(e),s(this.buffer);var t=l(e,this).read;return{read:t,written:t/2}}})},34856:function(e,t,n){(function(e){e(n(15237))})(function(e){"use strict";function t(e,t){if(!e.hasOwnProperty(t))throw new Error("Undefined state "+t+" in simple mode")}function n(e,t){if(!e)return/(?:)/;var n="";return e instanceof RegExp?(e.ignoreCase&&(n="i"),e.unicode&&(n+="u"),e=e.source):e=String(e),new RegExp((!1===t?"":"^")+"(?:"+e+")",n)}function r(e){if(!e)return null;if(e.apply)return e;if("string"==typeof e)return e.replace(/\./g," ");for(var t=[],n=0;n2&&u.token&&"string"!=typeof u.token){for(var f=2;f-1)return e.Pass;var a=r.indent.length-1,s=t[r.state];e:for(;;){for(var c=0;c(d.log("[FIND BLOCKED] Ctrl+F disabled for assignment"),!1),"Cmd-F":e=>(d.log("[FIND BLOCKED] Cmd+F disabled for assignment"),!1),"Ctrl-H":e=>(d.log("[REPLACE BLOCKED] Ctrl+H disabled for assignment"),!1),"Cmd-H":e=>(d.log("[REPLACE BLOCKED] Cmd+H disabled for assignment"),!1),Backspace:e=>{e.somethingSelected()?e.replaceSelection("",e.getSelection()):s().commands.smartBackspace(e)},F5:e=>{d.log("[F5-DEBUG] F5 key pressed, isPython:",this.isPython,"consoleLimit:",this.consoleLimit),this.isPython&&!this.consoleLimit?(d.log("[F5-DEBUG] Emitting run-item event from F5"),this.$emit("run-item")):d.log("[F5-DEBUG] F5 not processed - isPython:",this.isPython,"consoleLimit:",this.consoleLimit)},"Ctrl-C":e=>{const t=e.getSelection();return t&&(u.A.trackIDECopy(t),d.log("[CodeMirror] Copy tracked:",t.substring(0,50)),navigator.clipboard&&navigator.clipboard.writeText&&window.isSecureContext?navigator.clipboard.writeText(t).catch(n=>{d.error("[CodeMirror] Modern clipboard API failed:",n),this.copyTextFallback(t,e)}):(d.log("[CodeMirror] Using legacy copy method (HTTP environment)"),this.copyTextFallback(t,e))),!1},"Ctrl-X":e=>{const t=e.getSelection();return t&&(u.A.trackIDECopy(t),d.log("[CodeMirror] Cut tracked:",t.substring(0,50)),navigator.clipboard&&navigator.clipboard.writeText&&window.isSecureContext?navigator.clipboard.writeText(t).then(()=>{e.replaceSelection("")}).catch(n=>{d.error("[CodeMirror] Modern clipboard cut failed:",n),this.cutTextFallback(t,e)}):(d.log("[CodeMirror] Using legacy cut method (HTTP environment)"),this.cutTextFallback(t,e))),!1},"Ctrl-V":async e=>{await this.handlePasteOperation(e)},"Shift-Ctrl-V":async e=>{await this.handlePasteOperation(e)},"Cmd-C":e=>{const t=e.getSelection();return t&&(u.A.trackIDECopy(t),d.log("[CodeMirror] Mac Copy tracked:",t.substring(0,50)),navigator.clipboard&&navigator.clipboard.writeText&&window.isSecureContext?navigator.clipboard.writeText(t).catch(n=>{d.error("[CodeMirror] Mac clipboard API failed:",n),this.copyTextFallback(t,e)}):this.copyTextFallback(t,e)),!1},"Cmd-X":e=>{const t=e.getSelection();return t&&(u.A.trackIDECopy(t),d.log("[CodeMirror] Mac Cut tracked:",t.substring(0,50)),navigator.clipboard&&navigator.clipboard.writeText&&window.isSecureContext?navigator.clipboard.writeText(t).then(()=>{e.replaceSelection("")}).catch(n=>{d.error("[CodeMirror] Mac clipboard cut failed:",n),this.cutTextFallback(t,e)}):this.cutTextFallback(t,e)),!1},"Cmd-V":async e=>{await this.handlePasteOperation(e)},"Shift-Cmd-V":async e=>{await this.handlePasteOperation(e)}}}}},mounted(){this.updateEditorTheme(),this.$nextTick(()=>{if(this.$refs.codeEditor&&this.$refs.codeEditor.cminstance){this.$refs.codeEditor.cminstance.refresh(),this.applySavedSettings(),setTimeout(()=>{this.$refs.codeEditor.cminstance.refresh()},100);const e=this.$refs.codeEditor.$el;e&&e.addEventListener("paste",this.handleDOMPaste,!0)}});const e=new MutationObserver(()=>{this.updateEditorTheme(),this.$nextTick(()=>{this.$refs.codeEditor&&this.$refs.codeEditor.cminstance&&this.$refs.codeEditor.cminstance.refresh()})});e.observe(document.documentElement,{attributes:!0,attributeFilter:["data-theme"]}),window.addEventListener("storage",e=>{("fontSize"===e.key||"showLineNumbers"===e.key)&&this.applySavedSettings()}),window.addEventListener("fontSizeChanged",()=>{this.applySavedSettings()})},watch:{"codeItem.content":{handler(){this.$nextTick(()=>{this.fixCoordinateSystem()})},deep:!0}},beforeUnmount(){this.writeTimeout&&clearTimeout(this.writeTimeout),this.$refs.codeEditor&&this.$refs.codeEditor.$el&&this.$refs.codeEditor.$el.removeEventListener("paste",this.handleDOMPaste,!0)},computed:{currentTheme(){const e=document.documentElement.getAttribute("data-theme");return"light"===e?"idea":"darcula"},cmOptions(){const e={...this.codeBaseOptions};e.theme=this.currentTheme;const t=localStorage.getItem("showLineNumbers");return null!==t&&(e.lineNumbers="true"===t),Object.assign(e,this.codeOtherOptions[this.codeItem.path.substring(this.codeItem.path.lastIndexOf(".")+1)])},ideInfo(){return this.$store.state.ide.ideInfo},codeItemContent:{get(){return this.codeItem.content},set(e){this.$store.commit("ide/setCodeItemContent",{index:this.codeItemIndex,content:e})}},isMarkdown(){return this.codeItem.path.endsWith(".md")},isPython(){return this.codeItem.path.endsWith(".py")}},components:{Codemirror:l.Ay},watch:{wordWrap(e){this.$refs.codeEditor&&this.$refs.codeEditor.codemirror&&this.$refs.codeEditor.codemirror.setOption("lineWrapping",e)}},methods:{async handleDOMPaste(e){e.preventDefault(),e.stopPropagation();const t=e.clipboardData||window.clipboardData,n=t?.getData("text");if(n){const e=await u.A.validatePaste(n);if(e){const e=this.$refs.codeEditor?.cminstance;e&&e.replaceSelection(n)}}},applySavedSettings(){const e=localStorage.getItem("fontSize")||localStorage.getItem("editorFontSize");if(e){const t=parseInt(e)+"px",n=this.$refs.codeEditor?.cminstance;if(n){const e=n.getWrapperElement();e&&(e.style.fontSize=t,n.refresh())}}const t=localStorage.getItem("showLineNumbers")||localStorage.getItem("editorLineNumbers");if(null!==t){const e="true"===t||!0===t,n=this.$refs.codeEditor?.cminstance;n&&n.setOption("lineNumbers",e)}},updateEditorTheme(){if(this.$refs.codeEditor&&this.$refs.codeEditor.cminstance){const e=this.currentTheme;this.$refs.codeEditor.cminstance.setOption("theme",e),this.$refs.codeEditor.cminstance.refresh()}},fixCoordinateSystem(){if(this.$refs.codeEditor&&this.$refs.codeEditor.cminstance){const e=this.$refs.codeEditor.cminstance;e.refresh(),e.getWrapperElement().style.display="none",e.getWrapperElement().offsetHeight,e.getWrapperElement().style.display="",e.refresh()}},codeChanged(e,t){t.closeHint(),this.$store.commit("ide/setCodeItemContent",{index:this.codeItemIndex,content:e}),this.writeTimeout&&clearTimeout(this.writeTimeout);const n="true"===localStorage.getItem("autoSave"),r=this.$store.state.ide.ideInfo?.autoSave||!1;d.log("[AUTO-SAVE-DEBUG] localStorage autoSave:",localStorage.getItem("autoSave"),"parsed:",n),d.log("[AUTO-SAVE-DEBUG] Store autoSave value:",r),d.log("[AUTO-SAVE-DEBUG] Will use localStorage value:",n),n?d.log("[CHARACTER-SAVE] Skipping character-based save (auto-save enabled in localStorage)"):this.writeTimeout=setTimeout(()=>{d.log("[CHARACTER-SAVE] Saving due to character change (auto-save disabled)");const t=this.codeItem.projectName||this.ideInfo.currProj?.data?.name||this.ideInfo.currProj?.config?.name;this.$store.dispatch(`ide/${c._L}`,{projectName:t,filePath:this.codeItem.path,fileData:e,complete:!1,line:0,column:0,callback:e=>{}})},500)},async handlePasteOperation(e){try{if(d.log("[CodeMirror] Paste operation started"),navigator.clipboard&&navigator.clipboard.readText&&window.isSecureContext)try{const t=await navigator.clipboard.readText();d.log("[CodeMirror] Clipboard content retrieved via modern API:",t?.substring(0,50));const n=await u.A.validatePaste(t);n?(e.replaceSelection(t),d.log("[CodeMirror] Paste allowed:",t.substring(0,50))):d.log("[CodeMirror] Paste blocked for student")}catch(t){d.error("[CodeMirror] Modern clipboard API failed:",t),this.handleLegacyPaste(e)}else d.log("[CodeMirror] Using legacy paste method (HTTP environment)"),this.handleLegacyPaste(e)}catch(n){d.error("[CodeMirror] Paste operation failed:",n),this.handleLegacyPaste(e)}},handleLegacyPaste(e){d.log("[CodeMirror] Legacy paste - validation limited in HTTP environment"),u.A.isStudent()&&(d.warn("[CodeMirror] HTTP environment - limited paste validation for student"),setTimeout(()=>{const t=e.getDoc(),n=t.getCursor();t.getLine(n.line);d.log("[CodeMirror] Attempted to track legacy paste content")},100)),document.execCommand("paste")},copyTextFallback(e,t){try{const t=document.createElement("textarea");t.value=e,document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t),d.log("[CodeMirror] Legacy copy successful")}catch(n){d.error("[CodeMirror] Legacy copy failed:",n)}},cutTextFallback(e,t){try{this.copyTextFallback(e,t),t.replaceSelection(""),d.log("[CodeMirror] Legacy cut successful")}catch(n){d.error("[CodeMirror] Legacy cut failed:",n)}},anywordHint(e,t){var n=/[\w$]+/,r=500,i=t&&t.word||n,o=t&&t.range||r,a=e.getCursor(),l=e.getLine(a.line),c=a.ch,u=c;while(u&&i.test(l.charAt(u-1)))--u;for(var d=u!=c&&l.slice(u,c),p=t&&t.list||[],f={},h=new RegExp(i.source,"g"),g=-1;g<=1;g+=2)for(var m=a.line,_=Math.min(Math.max(m+g*o,e.firstLine()),e.lastLine())+g;m!=_;m+=g){var v,y=e.getLine(m);v=h.exec(y);while(v)m!=a.line||v[0]!==d?(d&&0!=v[0].lastIndexOf(d,0)||Object.prototype.hasOwnProperty.call(f,v[0])||(f[v[0]]=!0,p.push(v[0])),v=h.exec(y)):v=h.exec(y)}return{list:p,from:s().Pos(a.line,u),to:s().Pos(a.line,c)}},getPrefix(e){for(var t=e.length-1;t>=0;t--)if(!/^[a-zA-Z0-9]+$/.test(e.charAt(t)))return e.substring(t+1,e.length);return e},getFirstNonBlankChar(e){for(var t=0;te.$emit("run-item")),codeItemIndex:n.codeItemIndex},null,8,["codeItem","consoleLimit","wordWrap","codeItemIndex"]))],2)}var j={props:{codeItem:Object,codeItemIndex:Number,consoleLimit:Boolean,wordWrap:{type:Boolean,default:!0}},data(){return{}},computed:{isMarkdown(){return this.codeItem.path.endsWith(".md")},isCsvFile(){return this.codeItem.path.toLowerCase().endsWith(".csv")},isMediaFile(){const e=[".png",".jpg",".jpeg",".gif",".bmp",".svg",".webp",".pdf"],t=this.codeItem.path.toLowerCase();return e.some(e=>t.endsWith(e))}},components:{CodeEditor:g,MarkdownEditor:x,MediaViewer:m.A,CsvViewer:_.A}};const T=(0,f.A)(j,[["render",S],["__scopeId","data-v-263b409e"]]);var L=T},38574:function(e,t,n){"use strict";var r=n(79504),i=Error,o=r("".replace),a=function(e){return String(new i(e).stack)}("zxcasd"),s=/\n\s*at [^:]*:[^\n]*/,l=s.test(a);e.exports=function(e,t){if(l&&"string"==typeof e&&!i.prepareStackTrace)while(t--)e=o(e,s,"");return e}},39037:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var r=n(53957);
-/**
- * @license lucide-vue-next v0.539.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */const i=(0,r.A)("settings",[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},39928:function(e,t,n){"use strict";var r=n(26198),i=n(91291),o=RangeError;e.exports=function(e,t,n,a){var s=r(e),l=i(n),c=l<0?s+l:l;if(c>=s||c<0)throw new o("Incorrect index");for(var u=new t(s),d=0;d")):null:e.match("--")?n(h("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),n(g(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=h("meta","?>"),"meta"):(o=e.eat("/")?"closeTag":"openTag",t.tokenize=p,"tag bracket"):"&"==i?(r=e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"),r?"atom":"error"):(e.eatWhile(/[^&<]/),null)}function p(e,t){var n=e.next();if(">"==n||"/"==n&&e.eat(">"))return t.tokenize=d,o=">"==n?"endTag":"selfcloseTag","tag bracket";if("="==n)return o="equals",null;if("<"==n){t.tokenize=d,t.state=b,t.tagName=t.tagStart=null;var r=t.tokenize(e,t);return r?r+" tag error":"tag error"}return/[\'\"]/.test(n)?(t.tokenize=f(n),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function f(e){var t=function(t,n){while(!t.eol())if(t.next()==e){n.tokenize=p;break}return"string"};return t.isInAttribute=!0,t}function h(e,t){return function(n,r){while(!n.eol()){if(n.match(t)){r.tokenize=d;break}n.next()}return e}}function g(e){return function(t,n){var r;while(null!=(r=t.next())){if("<"==r)return n.tokenize=g(e+1),n.tokenize(t,n);if(">"==r){if(1==e){n.tokenize=d;break}return n.tokenize=g(e-1),n.tokenize(t,n)}}return"meta"}}function m(e){return e&&e.toLowerCase()}function _(e,t,n){this.prev=e.context,this.tagName=t||"",this.indent=e.indented,this.startOfLine=n,(l.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}function v(e){e.context&&(e.context=e.context.prev)}function y(e,t){var n;while(1){if(!e.context)return;if(n=e.context.tagName,!l.contextGrabbers.hasOwnProperty(m(n))||!l.contextGrabbers[m(n)].hasOwnProperty(m(t)))return;v(e)}}function b(e,t,n){return"openTag"==e?(n.tagStart=t.column(),k):"closeTag"==e?w:b}function k(e,t,n){return"word"==e?(n.tagName=t.current(),a="tag",S):l.allowMissingTagName&&"endTag"==e?(a="tag bracket",S(e,t,n)):(a="error",k)}function w(e,t,n){if("word"==e){var r=t.current();return n.context&&n.context.tagName!=r&&l.implicitlyClosed.hasOwnProperty(m(n.context.tagName))&&v(n),n.context&&n.context.tagName==r||!1===l.matchClosing?(a="tag",x):(a="tag error",C)}return l.allowMissingTagName&&"endTag"==e?(a="tag bracket",x(e,t,n)):(a="error",C)}function x(e,t,n){return"endTag"!=e?(a="error",x):(v(n),b)}function C(e,t,n){return a="error",x(e,t,n)}function S(e,t,n){if("word"==e)return a="attribute",j;if("endTag"==e||"selfcloseTag"==e){var r=n.tagName,i=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==e||l.autoSelfClosers.hasOwnProperty(m(r))?y(n,r):(y(n,r),n.context=new _(n,r,i==n.indented)),b}return a="error",S}function j(e,t,n){return"equals"==e?T:(l.allowMissing||(a="error"),S(e,t,n))}function T(e,t,n){return"string"==e?L:"word"==e&&l.allowUnquoted?(a="string",S):(a="error",S(e,t,n))}function L(e,t,n){return"string"==e?L:S(e,t,n)}return d.isInText=!0,{startState:function(e){var t={tokenize:d,state:b,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;o=null;var n=t.tokenize(e,t);return(n||o)&&"comment"!=n&&(a=null,t.state=t.state(o||n,e,t),a&&(n="error"==a?n+" error":a)),n},indent:function(t,n,r){var i=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+s;if(i&&i.noIndent)return e.Pass;if(t.tokenize!=p&&t.tokenize!=d)return r?r.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==l.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+s*(l.multilineTagIndentFactor||1);if(l.alignCDATA&&/$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:l.htmlMode?"html":"xml",helperType:l.htmlMode?"html":"xml",skipAttribute:function(e){e.state==T&&(e.state=S)},xmlCurrentTag:function(e){return e.tagName?{name:e.tagName,close:"closeTag"==e.type}:null},xmlCurrentContext:function(e){for(var t=[],n=e.context;n;n=n.prev)t.push(n.tagName);return t.reverse()}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})})},40795:function(e,t,n){(function(e){e(n(15237))})(function(e){"use strict";function t(t){return function(n,r){var i=r.line,o=n.getLine(i);function a(t){for(var a,s=r.ch,l=0;;){var c=s<=0?-1:o.lastIndexOf(t[0],s-1);if(-1!=c){if(1==l&&ct.lastLine())return null;var r=t.getTokenAt(e.Pos(n,1));if(/\S/.test(r.string)||(r=t.getTokenAt(e.Pos(n,r.end+1))),"keyword"!=r.type||"import"!=r.string)return null;for(var i=n,o=Math.min(t.lastLine(),n+10);i<=o;++i){var a=t.getLine(i),s=a.indexOf(";");if(-1!=s)return{startCh:r.end,end:e.Pos(i,s)}}}var i,o=n.line,a=r(o);if(!a||r(o-1)||(i=r(o-2))&&i.end.line==o-1)return null;for(var s=a.end;;){var l=r(s.line+1);if(null==l)break;s=l.end}return{from:t.clipPos(e.Pos(o,a.startCh+1)),to:s}}),e.registerHelper("fold","include",function(t,n){function r(n){if(nt.lastLine())return null;var r=t.getTokenAt(e.Pos(n,1));return/\S/.test(r.string)||(r=t.getTokenAt(e.Pos(n,r.end+1))),"meta"==r.type&&"#include"==r.string.slice(0,8)?r.start+8:void 0}var i=n.line,o=r(i);if(null==o||null!=r(i-1))return null;for(var a=i;;){var s=r(a+1);if(null==s)break;++a}return{from:e.Pos(i,o+1),to:t.clipPos(e.Pos(a))}})})},41549:function(e,t,n){"use strict";n(16632)},42258:function(e,t,n){"use strict";n.d(t,{A:function(){return N}});var r=n(64481),i=n(91361),o=n(20641);const a={class:"simple-pdf-viewer"},s={class:"pdf-toolbar"},l={class:"pdf-content"},c=["src"],u={key:1,class:"pdf-error"};function d(e,t,n,d,p,f){const h=(0,o.g2)("download"),g=i.tk,m=r.S2,_=(0,o.g2)("document-delete");return(0,o.uX)(),(0,o.CE)("div",a,[(0,o.Lk)("div",s,[(0,o.bF)(m,{onClick:f.downloadPdf,size:"small"},{default:(0,o.k6)(()=>[(0,o.bF)(g,null,{default:(0,o.k6)(()=>[(0,o.bF)(h)]),_:1}),t[1]||(t[1]=(0,o.eW)(" Download PDF ",-1))]),_:1,__:[1]},8,["onClick"])]),(0,o.Lk)("div",l,[f.pdfUrl?((0,o.uX)(),(0,o.CE)("iframe",{key:0,src:f.pdfUrl,class:"pdf-iframe",onError:t[0]||(t[0]=(...e)=>f.handleError&&f.handleError(...e))},null,40,c)):((0,o.uX)(),(0,o.CE)("div",u,[(0,o.bF)(g,{size:"48"},{default:(0,o.k6)(()=>[(0,o.bF)(_)]),_:1}),t[3]||(t[3]=(0,o.Lk)("p",null,"Unable to display PDF",-1)),(0,o.bF)(m,{onClick:f.downloadPdf,type:"primary",size:"small"},{default:(0,o.k6)(()=>t[2]||(t[2]=[(0,o.eW)(" Download PDF Instead ",-1)])),_:1,__:[2]},8,["onClick"])]))])])}n(16573),n(78100),n(77936),n(79577),n(41549),n(49797),n(49631),n(35623),n(64979),n(14603),n(47566),n(98721);var p=n(48548),f=n(96763),h={name:"SimplePdfViewer",components:{Download:p.f5X,DocumentDelete:p.Xs$},props:{pdfData:{type:String,required:!0},fileName:{type:String,default:"document.pdf"}},computed:{pdfUrl(){if(!this.pdfData)return null;try{if(this.pdfData.startsWith("data:"))return this.pdfData;const e=this.pdfData.replace(/[\s\n\r]/g,""),t=(4-e.length%4)%4,n=e+"=".repeat(t);return`data:application/pdf;base64,${n}`}catch(e){return f.error("Error creating PDF URL:",e),null}}},methods:{handleError(){f.error("Failed to load PDF in iframe")},downloadPdf(){try{let e=this.pdfData;this.pdfData.startsWith("data:")&&(e=this.pdfData.split(",")[1]);const t=e.replace(/[\s\n\r]/g,""),n=(4-t.length%4)%4,r=t+"=".repeat(n),i=atob(r),o=new Uint8Array(i.length);for(let c=0;cwindow.URL.revokeObjectURL(s),100)}catch(e){if(f.error("Error downloading PDF:",e),this.pdfUrl){const e=document.createElement("a");e.href=this.pdfUrl,e.download=this.fileName,document.body.appendChild(e),e.click(),document.body.removeChild(e)}}}}},g=n(66262);const m=(0,g.A)(h,[["render",d],["__scopeId","data-v-6488c88e"]]);var _=m,v=n(90033);const y={class:"media-viewer"},b={key:0,class:"loading-container"},k={key:1,class:"error-container"},w={key:2,class:"image-container"},x={class:"toolbar"},C={class:"zoom-level"},S=["src","alt"],j={key:3,class:"pdf-container"},T={key:4,class:"unsupported-file"};function L(e,t,n,a,s,l){const c=(0,o.g2)("refresh"),u=i.tk,d=(0,o.g2)("document"),p=r.S2,f=(0,o.g2)("zoom-in"),h=(0,o.g2)("zoom-out"),g=(0,o.g2)("download"),m=r.fg,L=_;return(0,o.uX)(),(0,o.CE)("div",y,[s.loading?((0,o.uX)(),(0,o.CE)("div",b,[(0,o.bF)(u,{size:"32",class:"loading-icon"},{default:(0,o.k6)(()=>[(0,o.bF)(c)]),_:1}),t[2]||(t[2]=(0,o.Lk)("p",null,"Loading media file...",-1))])):s.error?((0,o.uX)(),(0,o.CE)("div",k,[(0,o.bF)(u,{size:"64",class:"error-icon"},{default:(0,o.k6)(()=>[(0,o.bF)(d)]),_:1}),t[4]||(t[4]=(0,o.Lk)("p",null,"Failed to load media file",-1)),(0,o.bF)(p,{onClick:l.loadFile,type:"primary"},{default:(0,o.k6)(()=>[(0,o.bF)(u,null,{default:(0,o.k6)(()=>[(0,o.bF)(c)]),_:1}),t[3]||(t[3]=(0,o.eW)(" Retry ",-1))]),_:1,__:[3]},8,["onClick"])])):l.isImage?((0,o.uX)(),(0,o.CE)("div",w,[(0,o.Lk)("div",x,[(0,o.bF)(m,null,{default:(0,o.k6)(()=>[(0,o.bF)(p,{onClick:l.zoomIn,size:"small"},{default:(0,o.k6)(()=>[(0,o.bF)(u,null,{default:(0,o.k6)(()=>[(0,o.bF)(f)]),_:1}),t[5]||(t[5]=(0,o.eW)(" Zoom In ",-1))]),_:1,__:[5]},8,["onClick"]),(0,o.bF)(p,{onClick:l.zoomOut,size:"small"},{default:(0,o.k6)(()=>[(0,o.bF)(u,null,{default:(0,o.k6)(()=>[(0,o.bF)(h)]),_:1}),t[6]||(t[6]=(0,o.eW)(" Zoom Out ",-1))]),_:1,__:[6]},8,["onClick"]),(0,o.bF)(p,{onClick:l.resetZoom,size:"small"},{default:(0,o.k6)(()=>[(0,o.bF)(u,null,{default:(0,o.k6)(()=>[(0,o.bF)(c)]),_:1}),t[7]||(t[7]=(0,o.eW)(" Reset ",-1))]),_:1,__:[7]},8,["onClick"]),(0,o.bF)(p,{onClick:l.downloadFile,size:"small"},{default:(0,o.k6)(()=>[(0,o.bF)(u,null,{default:(0,o.k6)(()=>[(0,o.bF)(g)]),_:1}),t[8]||(t[8]=(0,o.eW)(" Download ",-1))]),_:1,__:[8]},8,["onClick"])]),_:1}),(0,o.Lk)("span",C,(0,v.v_)(Math.round(100*s.zoomLevel))+"%",1)]),(0,o.Lk)("div",{class:"image-wrapper",onWheel:t[1]||(t[1]=(...e)=>l.handleWheel&&l.handleWheel(...e))},[s.fileUrl?((0,o.uX)(),(0,o.CE)("img",{key:0,src:s.fileUrl,alt:l.fileName,style:(0,v.Tr)({transform:`scale(${s.zoomLevel})`}),onError:t[0]||(t[0]=(...e)=>l.handleError&&l.handleError(...e)),draggable:"false"},null,44,S)):(0,o.Q3)("",!0)],32)])):l.isPdf?((0,o.uX)(),(0,o.CE)("div",j,[s.fileUrl?((0,o.uX)(),(0,o.Wv)(L,{key:0,"pdf-data":l.getPdfData(),"file-name":l.fileName},null,8,["pdf-data","file-name"])):(0,o.Q3)("",!0)])):((0,o.uX)(),(0,o.CE)("div",T,[(0,o.bF)(u,{size:"64"},{default:(0,o.k6)(()=>[(0,o.bF)(d)]),_:1}),t[10]||(t[10]=(0,o.Lk)("p",null,"Preview not available for this file type",-1)),(0,o.bF)(p,{onClick:l.downloadFile,type:"primary"},{default:(0,o.k6)(()=>[(0,o.bF)(u,null,{default:(0,o.k6)(()=>[(0,o.bF)(g)]),_:1}),t[9]||(t[9]=(0,o.eW)(" Download File ",-1))]),_:1,__:[9]},8,["onClick"])]))])}var E=n(16990),A=n(56660),M=n(96763),D={name:"MediaViewer",components:{ZoomIn:p.$Zd,ZoomOut:p.enP,Refresh:p.C42,Download:p.f5X,Document:p.yoT,SimplePdfViewer:_},props:{codeItem:Object,codeItemIndex:Number},data(){return{zoomLevel:1,fileUrl:"",error:!1,loading:!1}},computed:{fileName(){return this.codeItem?.name||""},fileExtension(){const e=this.fileName.lastIndexOf(".");return-1===e?"":this.fileName.substring(e+1).toLowerCase()},isImage(){return["png","jpg","jpeg","gif","bmp","svg","webp"].includes(this.fileExtension)},isPdf(){return"pdf"===this.fileExtension},ideInfo(){return this.$store.state.ide.ideInfo},pdfViewerUrl(){return this.fileUrl}},mounted(){this.loadFile()},watch:{codeItem:{deep:!0,handler(){this.loadFile()}}},methods:{async loadFile(e=0){if(this.error=!1,this.loading=!0,this.fileUrl="",this.codeItem?.preloaded&&this.codeItem?.content)return this.loading=!1,this.fileUrl=this.codeItem.content,void M.log("Using preloaded content for media file");const t=this.codeItem?.projectName||this.ideInfo.currProj?.data?.name;let n=this.codeItem?.path;if(!t||!n)return this.loading=!1,void(this.error=!0);const r=this.ideInfo.nodeSelected;r&&r.path&&r.name===this.fileName&&(n=r.path,M.log("Using nodeSelected path:",n)),n&&n.startsWith("/")&&(n=n.substring(1)),M.log("Loading media file:",{projectName:t,filePath:n,originalPath:this.codeItem?.path,nodeSelectedPath:r?.path,nodeSelectedName:r?.name,fileName:this.fileName,binary:!0,retryCount:e,codeItem:this.codeItem}),0===e&&this.isImage&&await new Promise(e=>setTimeout(e,500)),this.$store.dispatch(`ide/${A.Jh}`,{projectName:t,filePath:n,binary:!0,callback:async t=>{if(M.log("Media file response:",{code:t.code,hasData:!!t.data,dataKeys:t.data?Object.keys(t.data):[],contentLength:t.data?.content?t.data.content.length:0,retryCount:e,fullResponse:t}),0===t.code&&t.data)if(t.data.content&&t.data.content.length>0){this.loading=!1;const e=this.getMimeType();this.fileUrl=`data:${e};base64,${t.data.content}`,M.log("File loaded successfully:",{mimeType:e,fileUrl:this.fileUrl.substring(0,50)+"..."})}else if(e<2){const t=1e3*Math.pow(1.5,e);M.log(`No content or empty content, retrying in ${t}ms... (attempt ${e+1})`),await new Promise(e=>setTimeout(e,t)),this.loadFile(e+1)}else this.loading=!1,M.error("No content in response data after retries"),this.handleError();else if(-22===t.code&&e<2){const t=1e3*Math.pow(1.5,e);M.log(`File not found, retrying in ${t}ms... (attempt ${e+1})`),await new Promise(e=>setTimeout(e,t)),this.loadFile(e+1)}else this.loading=!1,M.error("Failed to load file:",t),this.handleError()}})},getMimeType(){const e={png:"image/png",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",bmp:"image/bmp",svg:"image/svg+xml",webp:"image/webp",pdf:"application/pdf"};return e[this.fileExtension]||"application/octet-stream"},zoomIn(){this.zoomLevel=Math.min(this.zoomLevel+.25,3)},zoomOut(){this.zoomLevel=Math.max(this.zoomLevel-.25,.25)},resetZoom(){this.zoomLevel=1},handleWheel(e){(e.ctrlKey||e.metaKey)&&(e.preventDefault(),e.deltaY<0?this.zoomIn():this.zoomOut())},downloadFile(){const e=document.createElement("a");e.href=this.fileUrl,e.download=this.fileName,e.click()},handleError(){this.fileUrl&&this.fileUrl.length>0&&(this.error=!0,this.loading=!1,M.error("MediaViewer error:",{fileName:this.fileName,filePath:this.codeItem?.path,fileUrl:this.fileUrl}),E.nk.error(`Failed to load file: ${this.fileName}`))},getPdfData(){return this.codeItem?.preloaded&&this.codeItem?.content?this.codeItem.content:(this.fileUrl&&this.fileUrl.startsWith("data:"),this.fileUrl)}}};const O=(0,g.A)(D,[["render",L],["__scopeId","data-v-3928fc30"]]);var N=O},42303:function(e,t,n){"use strict";var r=n(44576),i=n(79504),o=r.Uint8Array,a=r.SyntaxError,s=r.parseInt,l=Math.min,c=/[^\da-f]/i,u=i(c.exec),d=i("".slice);e.exports=function(e,t){var n=e.length;if(n%2!==0)throw new a("String should be an even number of characters");var r=t?l(t.length,n/2):n/2,i=t||new o(r),p=0,f=0;while(f({})},cminstance:{type:Object,default:()=>null},placeholder:{type:String,default:""}},emits:{ready:e=>e,"update:cminstance":e=>e},setup(e,{emit:t}){const n=(0,i.KR)(),o=(0,i.KR)(null),a=()=>{o.value=(0,i.IG)(c.fromTextArea(n.value,e.options)),t("update:cminstance",o.value);const a=(0,r.wB)(()=>e.cminstance,n=>{var r;n&&(null==(r=e.cminstance)||r.setValue(e.value||e.content)),t("ready",(0,i.R1)(o)),null==a||a()},{deep:!0})};return(0,r.sV)(()=>{a()}),{textarea:n,initialize:a}}}),d=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},p=["name","placeholder"];function f(e,t,n,i,o,a){return(0,r.uX)(),(0,r.CE)("textarea",{ref:"textarea",name:e.$props.name,placeholder:e.$props.placeholder},null,8,p)}const h=d(u,[["render",f]]);window.diff_match_patch=s,window.DIFF_DELETE=-1,window.DIFF_INSERT=1,window.DIFF_EQUAL=0;const g=(0,r.pM)({name:"MergeMode",props:{options:{type:Object,default:()=>({})},cminstance:{type:Object,default:()=>({})}},emits:["update:cminstance","ready"],setup(e,{emit:t}){const n=(0,i.KR)(),o=(0,i.KR)(),a=()=>{n.value=(0,i.IG)(c.MergeView(o.value,e.options)),t("update:cminstance",n.value),t("ready",n)};return(0,r.sV)(()=>{a()}),{mergeView:o,initialize:a}}}),m={ref:"mergeView"};function _(e,t,n,i,o,a){return(0,r.uX)(),(0,r.CE)("div",m,null,512)}const v=d(g,[["render",_]]);function y(e){const t=/#link#(.+)#link#/g,n=[];let r;for(r=t.exec(e);r;){const i=document.createElement("a"),o=JSON.parse(r[1]),a=Object.entries(o);for(const[e,t]of a)i.setAttribute(e,t);i.className="editor_custom_link",i.innerHTML="logDownload",n.push({start:r.index,end:r.index+r[0].length,node:i}),r=t.exec(e)}return n}function b(e){const t=[];function n(){const n=/#log<(\w*)>log#((.|\r\n|\n)*?)#log<(\w*)>log#/g;let r;for(r=n.exec(e);r;){const i=r[0].replace(/\r\n/g,"\n").split("\n"),o=r[2].replace(/\r\n/g,"\n").split("\n"),a=document.createElement("span"),s=r[1];a.className=`c-editor--log__${s}`;let l=0;for(let e=0;e[ \t])(.+)/,token:["tag","","error.strong","error.strong"],sol:!0},{regex:/(\[.*?\])([ \t]*)()(.+)(.?)/,token:["tag","","bracket","bracket","hr"],sol:!0},{regex:/(\[.*?\])([ \t]*)()(.+)(.?)/,token:["tag","","comment","comment","hr"],sol:!0}];c.defineSimpleMode("fclog",{start:[...k,{regex:/.*/,token:"hr"}],error:[...k,{regex:/.*/,token:"error.strong"}],info:[...k,{regex:/.*/,token:"bracket"}],warning:[...k,{regex:/.*\[/,token:"comment"}]}),c.defineSimpleMode("log",{start:[{regex:/^[=]+[^=]*[=]+/,token:"strong"},{regex:/([^\w])([A-Z][\w]*)/,token:["","string"]},{regex:/(^[A-Z][\w]*)/,token:"string"}]});const w=(0,r.pM)({name:"CodemirrorFclog",props:{value:{type:String,default:""},name:{type:String,default:"cm-textarea-"+ +new Date},options:{type:Object,default:()=>({})},cminstance:{type:Object,default:()=>({})},placeholder:{type:String,default:""}},emits:["update:cminstance","ready"],setup(e,{emit:t}){const n=(0,i.KR)(),o=(0,i.KR)(null),a=(t=e.cminstance)=>{t.getAllMarks().forEach(e=>e.clear());const n=t.getValue(),r=[].concat(y(n)).concat(b(n));for(let e=0;e{var r;o.value=(0,i.IG)(c.fromTextArea(n.value,e.options)),t("update:cminstance",(0,i.R1)(o)),null==(r=o.value)||r.on("change",a)};return(0,r.wB)(()=>e.cminstance,n=>{var r;n&&(a(e.cminstance),null==(r=e.cminstance)||r.setValue(e.value),t("ready",o))},{deep:!0,immediate:!0}),(0,r.sV)(()=>{s()}),{initialize:s,textarea:n}}}),x=["name","placeholder"];function C(e,t,n,i,o,a){return(0,r.uX)(),(0,r.CE)("textarea",{ref:"textarea",name:e.$props.name,placeholder:e.$props.placeholder},null,8,x)}const S=d(w,[["render",C]]),j={"update:value":()=>!0,change:(e,t)=>({value:e,cm:t}),input:()=>!0,ready:e=>e},T=["changes","scroll","beforeChange","cursorActivity","keyHandled","inputRead","electricInput","beforeSelectionChange","viewportChange","swapDoc","gutterClick","gutterContextMenu","focus","blur","refresh","optionChange","scrollCursorIntoView","update"],L=()=>{const e={};return T.forEach(t=>{e[t]=(...e)=>e}),e},E={...j,...L()},A={mode:"text",theme:"default",lineNumbers:!0,smartIndent:!0,indentUnit:2,styleActiveLine:!0};function M(e){Promise.resolve().then(()=>{const t=e.getScrollInfo();e.scrollTo(t.left,t.height)})}const D=({props:e,cminstance:t,emit:n,internalInstance:o,content:a})=>{const s=(0,r.EW)(()=>{var n;return e.merge?null==(n=(0,i.R1)(t))?void 0:n.editor():(0,i.R1)(t)}),l=()=>{const e=[];return Object.keys(null==o?void 0:o.vnode.props).forEach(t=>{if(t.startsWith("on")){const n=t.replace(t[2],t[2].toLowerCase()).slice(2);!j[n]&&e.push(n)}}),e};return{listenerEvents:()=>{s.value.on("change",t=>{const r=t.getValue();r===a.value&&""!==r||(a.value=r,n("update:value",a.value||""),n("input",a.value||" "),Promise.resolve().then(()=>{n("change",a.value,t)}),e.keepCursorInEnd&&M(t))});const t={};l().filter(e=>!t[e]&&(t[e]=!0)).forEach(e=>{s.value.on(e,(...t)=>{n(e,...t)})})}}};function O({props:e,cminstance:t,presetRef:n}){const o=(0,i.KR)("100%"),a=(0,i.KR)("100%"),s=(0,r.EW)(()=>{var n;return e.merge?null==(n=(0,i.R1)(t))?void 0:n.editor():(0,i.R1)(t)}),c=()=>{(0,r.dY)(()=>{var e;null==(e=s.value)||e.refresh()})},u=e=>!!e&&!(e&&isNaN(+e)),d=(t=e.width,n=e.height)=>{var r;let i="100%",c="100%";u(t)?i=`${String(t)}px`:t&&(i=t),u(n)?c=`${String(n)}px`:n&&(c=n),o.value=i,a.value=c,l.log("resize",i,c),null==(r=s.value)||r.setSize("100%","100%")},p=()=>{var e;const t=null==(e=s.value)?void 0:e.getWrapperElement();null==t||t.remove()},f=()=>{var e,t,r;const i=null==(e=s.value)?void 0:e.getDoc().getHistory();null==(t=n.value)||t.initialize(),p(),null==(r=s.value)||r.getDoc().setHistory(i)},h=()=>{const e=document.querySelector(".CodeMirror-gutters");return"0"!==(null==e?void 0:e.style.left.replace("px",""))};return{reload:f,refresh:c,resize:d,destroy:p,containerWidth:o,containerHeight:a,reviseStyle:()=>{if(c(),!h())return;const e=setInterval(()=>{h()?c():clearInterval(e)},60),t=setTimeout(()=>{clearInterval(e),clearTimeout(t)},400)}}}const N=(0,r.pM)({__name:"index",props:{value:{type:String,default:""},options:{type:Object,default:()=>A},globalOptions:{type:Object,default:()=>A},placeholder:{type:String,default:""},border:{type:Boolean,default:!1},width:{type:[String,Number],default:null},height:{type:[String,Number],default:null},originalStyle:{type:Boolean,default:!1},keepCursorInEnd:{type:Boolean,default:!1},merge:{type:Boolean,default:!1},name:{type:String,default:""},marker:{type:Function,default:()=>null},unseenLines:{type:Array,default:()=>[]}},emits:E,setup(e,{expose:t,emit:n}){var a,s,l;"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");const t=Object(e);for(let n=1;n{var e;return c.merge?null==(e=(0,i.R1)(d))?void 0:e.editor():(0,i.R1)(d)}),{refresh:k,resize:w,destroy:x,containerHeight:C,containerWidth:j,reviseStyle:T}=O({props:c,cminstance:d,presetRef:y}),{listenerEvents:L}=D({props:c,cminstance:d,emit:u,internalInstance:m,content:p}),E=()=>{void 0!==c.unseenLines&&void 0!==c.marker&&c.unseenLines.forEach(e=>{var t,n;const r=null==(t=d.value)?void 0:t.lineInfo(e);null==(n=d.value)||n.setGutterMarker(e,"breakpoints",null!=r&&r.gutterMarkers?null:c.marker())})},M=e=>{var t,n;const r=null==(t=d.value)?void 0:t.getValue();e!==r&&(null==(n=d.value)||n.setValue(e),p.value=e,T()),E()},N=()=>{L(),E(),w(c.width,c.height),u("ready",d.value),(0,r.wB)([()=>c.width,()=>c.height],([e,t])=>{w(e,t)},{deep:!0})},z=()=>{"fclog"!==c.options.mode&&"log"!==c.options.mode?c.merge?f.value=v:f.value=h:f.value=S};return(0,r.wB)(()=>c.options,e=>{var t;for(const n in c.options)null==(t=b.value)||t.setOption(n,(0,i.R1)(e[n]))},{deep:!0}),(0,r.wB)(()=>c.value,e=>{M(e)}),(0,r.wB)(()=>c.merge,z,{immediate:!0}),(0,r.xo)(()=>{x()}),t({cminstance:d,resize:w,refresh:k,destroy:x}),(e,t)=>((0,r.uX)(),(0,r.CE)("div",{class:(0,o.C4)(["codemirror-container",{merge:e.$props.merge,bordered:e.$props.border||e.$props.merge&&!c.originalStyle,"original-style":c.originalStyle}]),style:(0,o.Tr)({height:(0,i.R1)(C),width:(0,i.R1)(j)})},[((0,r.uX)(),(0,r.Wv)((0,r.$y)(f.value),(0,r.v6)({ref_key:"presetRef",ref:y,cminstance:d.value,"onUpdate:cminstance":t[0]||(t[0]=e=>d.value=e),style:{height:"100%"}},{...e.$props,...e.$attrs,options:g.value,name:(0,i.R1)(_),content:p.value},{onReady:N}),null,16,["cminstance"]))],6))}});window.CodeMirror;function z(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!==typeof document){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===n&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}z(".codemirror-container {\n position: relative;\n display: inline-block;\n height: 100%;\n width: fit-content;\n font-size: 13px;\n overflow: hidden;\n}\n.codemirror-container.bordered {\n border: 1px solid #aaaaaa;\n}\n\n.codemirror-container .editor_custom_link {\n cursor: pointer;\n color: #1474f1;\n text-decoration: underline;\n}\n.codemirror-container .editor_custom_link:hover {\n color: #04b4fa;\n}\n.codemirror-container:not(.original-style) .CodeMirror-lines .CodeMirror-placeholder.CodeMirror-line-like {\n color: #666;\n}\n.codemirror-container:not(.original-style) .CodeMirror,\n.codemirror-container:not(.original-style) .CodeMirror-merge-pane {\n height: 100%;\n font-family: consolas !important;\n}\n.codemirror-container:not(.original-style) .CodeMirror-merge,\n.codemirror-container:not(.original-style) .CodeMirror-merge-right .CodeMirror {\n height: 100%;\n border: none !important;\n}\n.codemirror-container:not(.original-style) .c-editor--log__error {\n color: #bb0606;\n font-weight: bold;\n}\n.codemirror-container:not(.original-style) .c-editor--log__info {\n color: #333333;\n font-weight: bold;\n}\n.codemirror-container:not(.original-style) .c-editor--log__warning {\n color: #ee9900;\n}\n.codemirror-container:not(.original-style) .c-editor--log__success {\n color: #669600;\n}\n.codemirror-container:not(.original-style) .cm-header,\n.codemirror-container:not(.original-style) .cm-strong {\n font-weight: bold;\n}\n")},43739:function(e,t,n){"use strict";e.exports=n.p+"static/img/file_type_markdown.71e2f1af.svg"},46885:function(e,t,n){"use strict";n.r(t)},47478:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var r=n(53957);
-/**
- * @license lucide-vue-next v0.539.0 - ISC
- *
- * This source code is licensed under the ISC license.
- * See the LICENSE file in the root directory of this source tree.
- */const i=(0,r.A)("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]])},47566:function(e,t,n){"use strict";var r=n(36840),i=n(79504),o=n(655),a=n(22812),s=URLSearchParams,l=s.prototype,c=i(l.getAll),u=i(l.has),d=new s("a=1");!d.has("a",2)&&d.has("a",void 0)||r(l,"has",function(e){var t=arguments.length,n=t<2?void 0:arguments[1];if(t&&void 0===n)return u(this,e);var r=c(this,e);a(t,1);var i=o(n),s=0;while(s=55296&&e<=57343)&&!(e>=64976&&e<=65007)&&65535!=(65535&e)&&65534!=(65535&e)&&!(e>=0&&e<=8)&&11!==e&&!(e>=14&&e<=31)&&!(e>=127&&e<=159)&&!(e>1114111)}function a(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var s=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,l=new RegExp(s.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),c=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=n(62),d=/[&<>"]/,p=/[&<>"]/g,f={"&":"&","<":"<",">":">",'"':"""};function h(e){return f[e]}var g=/[.?*+^$[\]\\(){}|-]/g,m=n(40);t.lib={},t.lib.mdurl=n(63),t.lib.ucmicro=n(147),t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach(function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach(function(n){e[n]=t[n]})}}),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=i,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(s,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(l,function(e,t,n){return t||function(e,t){var n=0;return i(u,t)?u[t]:35===t.charCodeAt(0)&&c.test(t)&&o(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?a(n):e}(e,n)})},t.isValidEntityCode=o,t.fromCodePoint=a,t.escapeHtml=function(e){return d.test(e)?e.replace(p,h):e},t.arrayReplaceAt=function(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return m.test(e)},t.escapeRE=function(e){return e.replace(g,"\\$&")},t.normalizeReference=function(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(6),i=n(16);e.exports=n(7)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(14),i=n(47),o=n(28),a=Object.defineProperty;t.f=n(7)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){e.exports=!n(15)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(89),i=n(27);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(32)("wks"),i=n(17),o=n(2).Symbol,a="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=r},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(module,exports,__nested_webpack_require_5055__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _typeof2=__nested_webpack_require_5055__(25),_typeof3=_interopRequireDefault(_typeof2),_keydownListen=__nested_webpack_require_5055__(110),_langHljsCss=__nested_webpack_require_5055__(111),_langHljsCss2=_interopRequireDefault(_langHljsCss),_langHljs=__nested_webpack_require_5055__(56),_langHljs2=_interopRequireDefault(_langHljs),_extraFunction=__nested_webpack_require_5055__(57),_util=__nested_webpack_require_5055__(112),_toolbar_left_click2=__nested_webpack_require_5055__(113),_toolbar_right_click2=__nested_webpack_require_5055__(114),_config=__nested_webpack_require_5055__(115),_markdown=__nested_webpack_require_5055__(134),_markdown2=_interopRequireDefault(_markdown),_mdToolbarLeft=__nested_webpack_require_5055__(70),_mdToolbarLeft2=_interopRequireDefault(_mdToolbarLeft),_mdToolbarRight=__nested_webpack_require_5055__(72),_mdToolbarRight2=_interopRequireDefault(_mdToolbarRight),_autoTextarea=__nested_webpack_require_5055__(218),_autoTextarea2=_interopRequireDefault(_autoTextarea);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}__nested_webpack_require_5055__(224),__nested_webpack_require_5055__(233),exports.default={emits:["imgDel","change","fullScreen","readModel","previewToggle","subfieldToggle","htmlCode","helpToggle","save","navigationToggle","update:modelValue"],mixins:[_markdown2.default],props:{scrollStyle:{type:Boolean,default:!0},boxShadow:{type:Boolean,default:!0},transition:{type:Boolean,default:!0},autofocus:{type:Boolean,default:!0},fontSize:{type:String,default:"14px"},toolbarsBackground:{type:String,default:"#ffffff"},editorBackground:{type:String,default:"#ffffff"},previewBackground:{type:String,default:"#fbfbfb"},boxShadowStyle:{type:String,default:"0 2px 12px 0 rgba(0, 0, 0, 0.1)"},help:{type:String,default:null},modelValue:{type:String,default:""},language:{type:String,default:"zh-CN"},subfield:{type:Boolean,default:!0},navigation:{type:Boolean,default:!1},defaultOpen:{type:String,default:null},editable:{type:Boolean,default:!0},toolbarsFlag:{type:Boolean,default:!0},toolbars:{type:Object,default:function(){return _config.CONFIG.toolbars}},html:{type:Boolean,default:!0},xssOptions:{type:[Object,Boolean],default:function(){return{}}},codeStyle:{type:String,default:function(){return"github"}},placeholder:{type:String,default:null},ishljs:{type:Boolean,default:!0},externalLink:{type:[Object,Boolean],default:!0},imageFilter:{type:Function,default:null},imageClick:{type:Function,default:null},tabSize:{type:Number,default:0},shortCut:{type:Boolean,default:!0}},data:function(){var e,t,n=this;return{s_right_click_menu_show:!1,right_click_menu_top:0,right_click_menu_left:0,s_subfield:n.subfield,s_autofocus:!0,s_navigation:n.navigation,s_scrollStyle:n.scrollStyle,d_value:"",d_render:"",s_preview_switch:(t=n.defaultOpen,t||(t=n.subfield?"preview":"edit"),"preview"===t),s_fullScreen:!1,s_help:!1,s_html_code:!1,d_help:null,d_words:null,edit_scroll_height:-1,s_readmodel:!1,s_table_enter:!1,d_history:(e=[],e.push(n.modelValue),e),d_history_index:0,currentTimeout:"",d_image_file:[],d_preview_imgsrc:null,s_external_link:{markdown_css:function(){return"https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/2.9.0/github-markdown.min.css"},hljs_js:function(){return"https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.3.1/highlight.min.js"},hljs_lang:function(e){return"https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.3.1/languages/"+e+".min.js"},hljs_css:function(e){return _langHljsCss2.default[e]?"https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.3.1/styles/"+e+".min.css":""},katex_js:function(){return"https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.8.3/katex.min.js"},katex_css:function(){return"https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.8.3/katex.min.css"}},p_external_link:{},textarea_selectionEnd:0,textarea_selectionEnds:[0],_xssHandler:null}},created:function(){var e=this;this.initLanguage(),this.initExternalFuc(),this.$nextTick(function(){e.editableTextarea()})},mounted:function(){var e=this;this.$el.addEventListener("paste",function(t){e.$paste(t)}),this.$el.addEventListener("drop",function(t){e.$drag(t)}),(0,_keydownListen.keydownListen)(this),(0,_extraFunction.ImagePreviewListener)(this),this.autofocus&&this.getTextareaDom().focus(),(0,_extraFunction.fullscreenchange)(this),this.d_value=this.modelValue||"",document.body.appendChild(this.$refs.help),this.loadExternalLink("markdown_css","css"),this.loadExternalLink("katex_css","css"),this.loadExternalLink("katex_js","js",function(){e.iRender(!0)}),this.loadExternalLink("hljs_js","js",function(){e.iRender(!0)}),"object"===(0,_typeof3.default)(e.externalLink)&&"function"==typeof e.externalLink.markdown_css||e.codeStyleChange(e.codeStyle,!0)},beforeUnmount:function(){document.body.removeChild(this.$refs.help)},getMarkdownIt:function(){var e=this.mixins[0].data().markdownIt;return e||(e=(0,_markdown.initMarkdown)()),e},methods:{loadExternalLink:function(e,t,n){if("function"==typeof this.p_external_link[e]){var r={css:_extraFunction.loadLink,js:_extraFunction.loadScript};r.hasOwnProperty(t)&&r[t](this.p_external_link[e](),n)}else!1!==this.p_external_link[e]&&console.error("external_link."+e,"is not a function, if you want to disabled this error log, set external_link."+e,"to function or false")},initExternalFuc:function(){for(var e=["markdown_css","hljs_js","hljs_css","hljs_lang","katex_js","katex_css"],t=(0,_typeof3.default)(this.externalLink),n="object"===t,r="boolean"===t,i=0;i0&&(e.preventDefault(),this.$refs.toolbar_left.$imgFilesAdd(n))}},$paste:function(e){var t=e.clipboardData;if(t){var n=t.items;if(!n)return;for(var r=t.types||[],i=null,o=0;o=0?this.language:"zh-CN",t=this;t.$render(_config.CONFIG["help_"+e],function(e){t.d_help=e}),this.d_words=_config.CONFIG["words_"+e]},editableTextarea:function(){var e=this.$refs.vNoteTextarea.$refs.vTextarea;this.editable?e.removeAttribute("disabled"):e.setAttribute("disabled","disabled")},codeStyleChange:function(e,t){if(t=t||!1,"function"==typeof this.p_external_link.hljs_css){var n=this.p_external_link.hljs_css(e);0===n.length&&t&&(console.warn("hljs color scheme",e,"do not exist, loading default github"),n=this.p_external_link.hljs_css("github")),n.length>0?(0,_extraFunction.loadLink)(n,null,"md-code-style"):console.warn("hljs color scheme",e,"do not exist, hljs color scheme will not change")}else!1!==this.p_external_link.hljs_css&&console.error("external_link.hljs_css is not a function, if you want to disabled this error log, set external_link.hljs_css to function or false")},iRender:function(e){var t=this;this.$render(t.d_value,function(n){t.d_render=n,e||t.change&&t.change(t.d_value,t.d_render),t.s_navigation&&(0,_extraFunction.getNavigation)(t,!1),t.$emit("update:modelValue",t.d_value),t.d_value!==t.d_history[t.d_history_index]&&(window.clearTimeout(t.currentTimeout),t.currentTimeout=setTimeout(function(){t.saveHistory()},500))})},$emptyHistory:function(){this.d_history=[this.d_value],this.d_history_index=0}},watch:{d_value:function(e,t){this.saveSelectionEndsHistory(),this.iRender()},modelValue:function(e,t){e!==this.d_value&&(this.d_value=e)},subfield:function(e,t){this.s_subfield=e},d_history_index:function(){this.d_history_index>20&&(this.d_history.shift(),this.d_history_index=this.d_history_index-1),this.d_value=this.d_history[this.d_history_index]},language:function(e){this.initLanguage()},editable:function(){this.editableTextarea()},defaultOpen:function(e){var t=e;return t||(t=this.subfield?"preview":"edit"),this.s_preview_switch="preview"===t,this.s_preview_switch},codeStyle:function(e){this.codeStyleChange(e)}},components:{"v-autoTextarea":_autoTextarea2.default,"v-md-toolbar-left":_mdToolbarLeft2.default,"v-md-toolbar-right":_mdToolbarRight2.default}}},function(e,t){e.exports=!0},function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(10);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={emits:["toolbar_left_addlink","imgTouch","imgAdd","imgDel","imgAdd","imgAdd","toolbar_left_click","toolbar_left_click"],name:"s-md-toolbar-left",props:{editable:{type:Boolean,default:!0},transition:{type:Boolean,default:!0},toolbars:{type:Object,required:!0},d_words:{type:Object,required:!0},image_filter:{type:Function,default:null}},data:function(){return{img_file:[[0,null]],img_timer:null,header_timer:null,s_img_dropdown_open:!1,s_header_dropdown_open:!1,s_img_link_open:!1,trigger:null,num:0,link_text:"",link_addr:"",link_type:"link"}},methods:{$imgLinkAdd:function(){this.$emit("toolbar_left_addlink",this.link_type,this.link_text,this.link_addr),this.s_img_link_open=!1},$toggle_imgLinkAdd:function(e){var t=this;this.link_type=e,this.link_text=this.link_addr="",this.s_img_link_open=!0,this.$nextTick(function(){t.$refs.linkTextInput.focus()}),this.s_img_dropdown_open=!1},$imgFileListClick:function(e){this.$emit("imgTouch",this.img_file[e])},$changeUrl:function(e,t){this.img_file[e][0]=t},$imgFileAdd:function(e){this.img_file.push([++this.num,e]),this.$emit("imgAdd",this.num,e),this.s_img_dropdown_open=!1},$imgFilesAdd:function(e){for(var t="function"==typeof this.image_filter,n=0;nt;){if(this.img_file[t][1]===e||this.isEqualName(e,t))return this.$imgDel(t),!0;t+=1}return!1},$imgAddByFilename:function(e,t){for(var n=0;n0?r:n)(e)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(10);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports={}},function(e,t,n){var r=n(51),i=n(33);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){var r=n(32)("keys"),i=n(17);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t,n){var r=n(13),i=n(2),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(12)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(6).f,i=n(4),o=n(9)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t,n){t.f=n(9)},function(e,t,n){var r=n(2),i=n(13),o=n(12),a=n(35),s=n(6).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var r=n(59),i=n(137);for(var o in(t=e.exports=function(e,t){return new i(t).process(e)}).FilterCSS=i,r)t[o]=r[o];"undefined"!=typeof window&&(window.filterCSS=e.exports)},function(e,t){e.exports={indexOf:function(e,t){var n,r;if(Array.prototype.indexOf)return e.indexOf(t);for(n=0,r=e.length;n=0&&(n=this.attrs[t][1]),n},r.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},e.exports=r},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=function(e,t){var n,r,i,o=e[1]||"",a=e[3];if(!a)return o;if(t&&"function"==typeof btoa){var s=(n=a,r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),"/*# ".concat(i," */")),l=a.sources.map(function(e){return"/*# sourceURL=".concat(a.sourceRoot||"").concat(e," */")});return[o].concat(l).concat([s]).join("\n")}return[o].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n}).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(r)for(var o=0;on.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(i=0;idocument.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[o[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=l(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(4),i=n(8),o=n(90)(!1),a=n(31)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),l=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~o(c,n)||c.push(n));return c}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(27);e.exports=function(e){return Object(r(e))}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(51),i=n(33).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={"1c":"1c",abnf:"abnf",accesslog:"accesslog",actionscript:"actionscript",as:"actionscript",ada:"ada",apache:"apache",apacheconf:"apache",applescript:"applescript",osascript:"applescript",arduino:"arduino",armasm:"armasm",arm:"armasm",asciidoc:"asciidoc",adoc:"asciidoc",aspectj:"aspectj",autohotkey:"autohotkey",ahk:"autohotkey",autoit:"autoit",avrasm:"avrasm",awk:"awk",axapta:"axapta",bash:"bash",sh:"bash",zsh:"bash",basic:"basic",bnf:"bnf",brainfuck:"brainfuck",bf:"brainfuck",cal:"cal",capnproto:"capnproto",capnp:"capnproto",ceylon:"ceylon",clean:"clean",icl:"clean",dcl:"clean","clojure-repl":"clojure-repl",clojure:"clojure",clj:"clojure",cmake:"cmake","cmake.in":"cmake",coffeescript:"coffeescript",coffee:"coffeescript",cson:"coffeescript",iced:"coffeescript",coq:"coq",cos:"cos",cls:"cos",cpp:"cpp",c:"cpp",cc:"cpp",h:"cpp","c++":"cpp","h++":"cpp",hpp:"cpp",crmsh:"crmsh",crm:"crmsh",pcmk:"crmsh",crystal:"crystal",cr:"crystal",cs:"cs",csharp:"cs",csp:"csp",css:"css",d:"d",dart:"dart",delphi:"delphi",dpr:"delphi",dfm:"delphi",pas:"delphi",pascal:"delphi",freepascal:"delphi",lazarus:"delphi",lpr:"delphi",lfm:"delphi",diff:"diff",patch:"diff",django:"django",jinja:"django",dns:"dns",bind:"dns",zone:"dns",dockerfile:"dockerfile",docker:"dockerfile",dos:"dos",bat:"dos",cmd:"dos",dsconfig:"dsconfig",dts:"dts",dust:"dust",dst:"dust",ebnf:"ebnf",elixir:"elixir",elm:"elm",erb:"erb","erlang-repl":"erlang-repl",erlang:"erlang",erl:"erlang",excel:"excel",xlsx:"excel",xls:"excel",fix:"fix",flix:"flix",fortran:"fortran",f90:"fortran",f95:"fortran",fsharp:"fsharp",fs:"fsharp",gams:"gams",gms:"gams",gauss:"gauss",gss:"gauss",gcode:"gcode",nc:"gcode",gherkin:"gherkin",feature:"gherkin",glsl:"glsl",go:"go",golang:"go",golo:"golo",gradle:"gradle",groovy:"groovy",haml:"haml",handlebars:"handlebars",hbs:"handlebars","html.hbs":"handlebars","html.handlebars":"handlebars",haskell:"haskell",hs:"haskell",haxe:"haxe",hx:"haxe",hsp:"hsp",htmlbars:"htmlbars",http:"http",https:"http",hy:"hy",hylang:"hy",inform7:"inform7",i7:"inform7",ini:"ini",toml:"ini",irpf90:"irpf90",java:"java",jsp:"java",javascript:"javascript",js:"javascript",jsx:"javascript","jboss-cli":"jboss-cli","wildfly-cli":"jboss-cli",json:"json","julia-repl":"julia-repl",julia:"julia",kotlin:"kotlin",lasso:"lasso",ls:"livescript",lassoscript:"lasso",ldif:"ldif",leaf:"leaf",less:"less",lisp:"lisp",livecodeserver:"livecodeserver",livescript:"livescript",llvm:"llvm",lsl:"lsl",lua:"lua",makefile:"makefile",mk:"makefile",mak:"makefile",markdown:"markdown",md:"markdown",mkdown:"markdown",mkd:"markdown",mathematica:"mathematica",mma:"mathematica",matlab:"matlab",maxima:"maxima",mel:"mel",mercury:"mercury",m:"mercury",moo:"mercury",mipsasm:"mipsasm",mips:"mipsasm",mizar:"mizar",mojolicious:"mojolicious",monkey:"monkey",moonscript:"moonscript",moon:"moonscript",n1ql:"n1ql",nginx:"nginx",nginxconf:"nginx",nimrod:"nimrod",nim:"nimrod",nix:"nix",nixos:"nix",nsis:"nsis",objectivec:"objectivec",mm:"objectivec",objc:"objectivec","obj-c":"objectivec",ocaml:"ocaml",ml:"sml",openscad:"openscad",scad:"openscad",oxygene:"oxygene",parser3:"parser3",perl:"perl",pl:"perl",pm:"perl",pf:"pf","pf.conf":"pf",php:"php",php3:"php",php4:"php",php5:"php",php6:"php",pony:"pony",powershell:"powershell",ps:"powershell",processing:"processing",profile:"profile",prolog:"prolog",protobuf:"protobuf",puppet:"puppet",pp:"puppet",purebasic:"purebasic",pb:"purebasic",pbi:"purebasic",python:"python",py:"python",gyp:"python",q:"q",k:"q",kdb:"q",qml:"qml",qt:"qml",r:"r",rib:"rib",roboconf:"roboconf",graph:"roboconf",instances:"roboconf",routeros:"routeros",mikrotik:"routeros",rsl:"rsl",ruby:"ruby",rb:"ruby",gemspec:"ruby",podspec:"ruby",thor:"ruby",irb:"ruby",ruleslanguage:"ruleslanguage",rust:"rust",rs:"rust",scala:"scala",scheme:"scheme",scilab:"scilab",sci:"scilab",scss:"scss",shell:"shell",console:"shell",smali:"smali",smalltalk:"smalltalk",st:"smalltalk",sml:"sml",sqf:"sqf",sql:"sql",stan:"stan",stata:"stata",do:"stata",ado:"stata",step21:"step21",p21:"step21",step:"step21",stp:"step21",stylus:"stylus",styl:"stylus",subunit:"subunit",swift:"swift",taggerscript:"taggerscript",tap:"tap",tcl:"tcl",tk:"tcl",tex:"tex",thrift:"thrift",tp:"tp",twig:"twig",craftcms:"twig",typescript:"typescript",ts:"typescript",vala:"vala",vbnet:"vbnet",vb:"vbnet","vbscript-html":"vbscript-html",vbscript:"vbscript",vbs:"vbscript",verilog:"verilog",v:"verilog",sv:"verilog",svh:"verilog",vhdl:"vhdl",vim:"vim",x86asm:"x86asm",xl:"xl",tao:"xl",xml:"xml",html:"xml",xhtml:"xml",rss:"xml",atom:"xml",xjb:"xml",xsd:"xml",xsl:"xml",plist:"xml",xquery:"xquery",xpath:"xquery",xq:"xquery",yaml:"yaml",yml:"yaml",YAML:"yaml",zephir:"zephir",zep:"zephir"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadScript=function(e,t){"function"!=typeof t&&(t=function(){});var n=document.querySelectorAll("script[src='"+e+"']");if(n.length>0)return n[0].addEventListener("load",function(){t()}),void t();var r=document.createElement("script"),i=document.getElementsByTagName("head")[0];r.type="text/javascript",r.charset="UTF-8",r.src=e,r.addEventListener?r.addEventListener("load",function(){t()},!1):r.attachEvent&&r.attachEvent("onreadystatechange",function(){"loaded"===window.event.srcElement.readyState&&t()}),i.appendChild(r)},t.loadLink=function(e,t,n){if("function"!=typeof t&&(t=function(){}),document.querySelectorAll("link[href='"+e+"']").length>0)t();else{if(n){var r=document.querySelectorAll("link#"+n);if(r.length)return void(r[0].href=e)}var i=document.createElement("link"),o=document.getElementsByTagName("head")[0];i.rel="stylesheet",i.href=e,n&&(i.id=n),i.addEventListener?i.addEventListener("load",function(){t()},!1):i.attachEvent&&i.attachEvent("onreadystatechange",function(){"loaded"===window.event.srcElement.readyState&&t()}),o.appendChild(i)}},t.insertTextAtCaret=function(e,t,n){var r=t.prefix,i=t.subfix,o=t.str;if(t.type,e.focus(),s(e)){var a=e.selectionStart,l=e.selectionEnd,c=e.value;a===l?(e.value=c.substring(0,a)+r+o+i+c.substring(l,c.length),e.selectionStart=a+r.length,e.selectionEnd=a+(o.length+r.length)):c.substring(a-r.length,a)===r&&c.substring(l,l+i.length)===i&&function(e,t,n,r,i){return"*"!==e||"*"!==t||"*"!==n.substring(r-2,r-1)||"*"!==n.substring(i+1,i+2)}(r,i,c,a,l)?(e.value=c.substring(0,a-r.length)+c.substring(a,l)+c.substring(l+i.length,c.length),e.selectionStart=a-r.length,e.selectionEnd=l-r.length):(e.value=c.substring(0,a)+r+c.substring(a,l)+i+c.substring(l,c.length),e.selectionStart=a+r.length,e.selectionEnd=a+(l-a+r.length))}else alert("Error: Browser version is too low");n.d_value=e.value,e.focus()};var r="```",i="\n```\n",o="language";function a(e,t,n){var o=r,a=i,s=n.selectionStart,l=n.selectionEnd,c=n.value,u=c.substring(0,s);u+=o+e+"\n",u+=t,u+=a,u+=c.substring(l,c.length),n.value=u,n.selectionStart=s+o.length+(e?0:1),n.selectionEnd=n.selectionStart+e.length+t.length}function s(e){return"number"==typeof e.selectionStart&&"number"==typeof e.selectionEnd}t.insertCodeBlock=function(e){var t=e.getTextareaDom();if(s(t)){var n=o,l=t.selectionStart,c=t.selectionEnd,u=t.value;l===c?a(n,"",t):function(e){var t=e.selectionStart,n=e.selectionEnd,o=e.value,a=r,s=i;return"\n"===o.substring(t-1,t)?a+="\n":s="\n"+s,o.substring(t-a.length,t)===a&&o.substring(n,n+s.length)===s}(t)?function(e){var t=r,n=i,a=o,s=e.selectionStart,l=e.selectionEnd,c=e.value,u=c.substring(s,l);if("\n"===c.substring(s-1,s))t+="\n";else if(t+a+(n="\n"+n)===c.substring(s-t.length,l+n.length)){var d=c.substring(0,s-t.length);return d+=c.substring(l+n.length,c.length),e.value=d,e.selectionStart=s-t.length,void(e.selectionEnd=e.selectionStart)}var p=c.substring(0,s-t.length);p+=u,p+=c.substring(l+n.length,c.length),e.value=p,e.selectionStart=s-t.length,e.selectionEnd=e.selectionStart+u.length}(t):a("",u.substring(l,c),t),e.d_value=t.value,t.focus()}else alert("Error: Browser version is too low")},t.insertOl=function(e){var t=e.getTextareaDom();if(s(t)){var n=t.selectionStart,r=t.selectionEnd,i=t.value;if(n===r)t.value=i.substring(0,n)+"1. "+i.substring(r,i.length),t.selectionEnd=t.selectionStart=n+3;else{for(var o=n;o>0&&"\n"!==i.substring(o-1,o);)o--;for(var a=i.substring(o,r),l=a.split("\n"),c=0;c0&&"\n"!==i.substring(o-1,o);)o--;for(var a=r;a0&&"\n"!==i.substring(o-1,o);)o--;var a=i.substring(o,r),l=a.replace(/\n/g,"\n- ");l="- "+l,t.value=i.substring(0,o)+l+i.substring(r,i.length),t.selectionStart=o,t.selectionEnd=r+l.length-a.length}}else alert("Error: Browser version is too low");e.d_value=t.value,t.focus()},t.insertTab=function(e,t){t=t?new Array(t).fill(" ").join(""):"\t";var n=e.getTextareaDom();if(s(n)){var r=n.selectionStart,i=n.selectionEnd,o=n.value,a=o.substring(0,r).split("\n").pop();if(a.match(/^\s*[0-9]+\.\s+\S*/)){var l=a.replace(/(\d+)/,1);n.value=o.substring(0,r-l.length)+t+l+o.substring(i,o.length)}else a.match(/^\s*-\s+\S*/)?n.value=o.substring(0,r-a.length)+t+a+o.substring(i,o.length):n.value=o.substring(0,r)+t+o.substring(i,o.length);n.selectionStart=n.selectionEnd=r+t.length}else alert("Error: Browser version is too low");e.d_value=n.value,n.focus()},t.unInsertTab=function(e,t){var n=new RegExp(t?"\\s{"+t+"}":"\t");console.log("regTab:",n);var r=e.getTextareaDom();if(s(r)){var i=r.selectionStart,o=r.selectionEnd,a=r.value,l=a.substring(0,i).split("\n").pop();l.search(n)>=0&&(r.value=a.substring(0,i-l.length)+l.replace(n,"")+a.substring(o,a.length),r.selectionStart=r.selectionEnd=i-(t||1))}else alert("Error: Browser version is too low");e.d_value=r.value,r.focus()},t.insertEnter=function(e,t){var n=e.getTextareaDom();if(s(n)){var r=n.selectionStart,i=n.selectionEnd,o=n.value,a=o.substring(0,r).split("\n").pop(),l=a.match(/^\s*(?:[0-9]+\.|-)\s+\S+/);if(l){t.preventDefault();var c=l.shift().match(/^\s*(?:[0-9]+\.|-)\s/).shift();if(c.search(/-/)>=0)n.value=o.substring(0,r)+"\n"+c+o.substring(i,o.length),n.selectionStart=n.selectionEnd=r+c.length+1;else{var u=c.replace(/(\d+)/,parseInt(c)+1);n.value=o.substring(0,r)+"\n"+u+o.substring(i,o.length),n.selectionStart=n.selectionEnd=r+u.length+1}}else{var d=a.match(/^\s*(?:[0-9]+\.|-)\s+$/);if(d){t.preventDefault();var p=d.shift().length;n.value=o.substring(0,r-p)+"\n"+o.substring(i,o.length),n.selectionStart=n.selectionEnd=r-p}}}else alert("Error: Browser version is too low");e.d_value=n.value,n.focus()},t.getNavigation=function(e,t){var n=void 0;(n=e.$refs.navigationContent).innerHTML=e.d_render;var r=n.children;if(r.length)for(var i=0;i=0&&n.scrollHeight!==t.edit_scroll_height&&n.scrollHeight-n.offsetHeight-n.scrollTop<=30&&(t.$refs.vNoteEdit.scrollTop=n.scrollHeight-n.offsetHeight,r=1),t.edit_scroll_height=n.scrollHeight,t.$refs.vShowContent.scrollHeight>t.$refs.vShowContent.offsetHeight&&(t.$refs.vShowContent.scrollTop=(t.$refs.vShowContent.scrollHeight-t.$refs.vShowContent.offsetHeight)*r)},t.fullscreenchange=function(e){e.$el.addEventListener("fullscreenchange",function(t){e.$toolbar_right_read_change_status()},!1),e.$el.addEventListener("mozfullscreenchange",function(t){e.$toolbar_right_read_change_status()},!1),e.$el.addEventListener("webkitfullscreenchange",function(t){e.$toolbar_right_read_change_status()},!1),e.$el.addEventListener("msfullscreenchange",function(t){e.$toolbar_right_read_change_status()},!1)},t.windowResize=function(e){function t(){e.$el.clientWidth>768?e.s_subfield=e.subfield:e.s_subfield=!1}t(),window.addEventListener("resize",t)},t.ImagePreviewListener=function(e){e.$refs.vShowContent.addEventListener("click",function(t){var n=(t=t||window.event).srcElement?t.srcElement:t.target;"IMG"===n.tagName&&(null!=e.imageClick?e.imageClick(n):e.d_preview_imgsrc=n.src)})}},function(e,t,n){var r=n(38).FilterCSS,i=n(38).getDefaultWhiteList,o=n(39);function a(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height","loading"],ins:["datetime"],kbd:[],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var s=new r;function l(e){return e.replace(c,"<").replace(u,">")}var c=//g,d=/"/g,p=/"/g,f=/([a-zA-Z0-9]*);?/gim,h=/:?/gim,g=/&newline;?/gim,m=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,_=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,v=/u\s*r\s*l\s*\(.*/gi;function y(e){return e.replace(d,""")}function b(e){return e.replace(p,'"')}function k(e){return e.replace(f,function(e,t){return"x"===t[0]||"X"===t[0]?String.fromCharCode(parseInt(t.substr(1),16)):String.fromCharCode(parseInt(t,10))})}function w(e){return e.replace(h,":").replace(g," ")}function x(e){for(var t="",n=0,r=e.length;n0;t--){var n=e[t];if(" "!==n)return"="===n?t:-1}}function u(e){return function(e){return'"'===e[0]&&'"'===e[e.length-1]||"'"===e[0]&&"'"===e[e.length-1]}(e)?e.substr(1,e.length-2):e}t.parseTag=function(e,t,n){"use strict";var r="",a=0,s=!1,l=!1,c=0,u=e.length,d="",p="";e:for(c=0;c"===f||c===u-1){r+=n(e.slice(a,s)),d=i(p=e.slice(s,c+1)),r+=t(s,r.length,d,p,o(p)),a=c+1,s=!1;continue}if('"'===f||"'"===f)for(var h=1,g=e.charAt(c-h);""===g.trim()||"="===g;){if("="===g){l=f;continue e}g=e.charAt(c-++h)}}else if(f===l){l=!1;continue}}return a`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",i="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",o=new RegExp("^(?:"+r+"|"+i+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|]*>|)"),a=new RegExp("^(?:"+r+"|"+i+")");e.exports.HTML_TAG_RE=o,e.exports.HTML_OPEN_CLOSE_TAG_RE=a},function(e,t,n){"use strict";function r(e,t){var n,r,i,o,a,s=[],l=t.length;for(n=0;n=0;n--)95!==(r=t[n]).marker&&42!==r.marker||-1!==r.end&&(i=t[r.end],s=n>0&&t[n-1].end===r.end+1&&t[n-1].token===r.token-1&&t[r.end+1].token===i.token+1&&t[n-1].marker===r.marker,a=String.fromCharCode(r.marker),(o=e.tokens[r.token]).type=s?"strong_open":"em_open",o.tag=s?"strong":"em",o.nesting=1,o.markup=s?a+a:a,o.content="",(o=e.tokens[i.token]).type=s?"strong_close":"em_close",o.tag=s?"strong":"em",o.nesting=-1,o.markup=s?a+a:a,o.content="",s&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--))}e.exports.tokenize=function(e,t){var n,r,i=e.pos,o=e.src.charCodeAt(i);if(t)return!1;if(95!==o&&42!==o)return!1;for(r=e.scanDelims(e.pos,42===o),n=0;n[Object(r.renderSlot)(e.$slots,"left-toolbar-before",{},void 0,!0)]),"left-toolbar-after":Object(r.withCtx)(()=>[Object(r.renderSlot)(e.$slots,"left-toolbar-after",{},void 0,!0)]),_:3},8,["editable","transition","d_words","onToolbar_left_click","onToolbar_left_addlink","toolbars","onImgAdd","onImgDel","onImgTouch","image_filter","class"]),Object(r.createVNode)(g,{ref:"toolbar_right",d_words:p.d_words,onToolbar_right_click:f.toolbar_right_click,toolbars:n.toolbars,s_subfield:p.s_subfield,s_preview_switch:p.s_preview_switch,s_fullScreen:p.s_fullScreen,s_html_code:p.s_html_code,s_navigation:p.s_navigation,class:Object(r.normalizeClass)({transition:n.transition})},{"right-toolbar-before":Object(r.withCtx)(()=>[Object(r.renderSlot)(e.$slots,"right-toolbar-before",{},void 0,!0)]),"right-toolbar-after":Object(r.withCtx)(()=>[Object(r.renderSlot)(e.$slots,"right-toolbar-after",{},void 0,!0)]),_:3},8,["d_words","onToolbar_right_click","toolbars","s_subfield","s_preview_switch","s_fullScreen","s_html_code","s_navigation","class"])],4),[[r.vShow,n.toolbarsFlag]]),Object(r.createCommentVNode)("编辑展示区域"),Object(r.createElementVNode)("div",i,[Object(r.createCommentVNode)("编辑区"),Object(r.createElementVNode)("div",{ref:"vNoteEdit",onScroll:t[1]||(t[1]=(...e)=>f.$v_edit_scroll&&f.$v_edit_scroll(...e)),class:Object(r.normalizeClass)(["v-note-edit divarea-wrapper",{"scroll-style":p.s_scrollStyle,"scroll-style-border-radius":p.s_scrollStyle&&!p.s_preview_switch&&!p.s_html_code,"single-edit":!p.s_preview_switch&&!p.s_html_code,"single-show":!p.s_subfield&&p.s_preview_switch||!p.s_subfield&&p.s_html_code,transition:n.transition}]),onClick:t[2]||(t[2]=(...e)=>f.textAreaFocus&&f.textAreaFocus(...e))},[Object(r.createElementVNode)("div",{class:"content-input-wrapper",style:Object(r.normalizeStyle)({"background-color":n.editorBackground})},[Object(r.createCommentVNode)(" 双栏 "),Object(r.createVNode)(m,{ref:"vNoteTextarea",placeholder:n.placeholder?n.placeholder:p.d_words.start_editor,class:"content-input",fontSize:n.fontSize,lineHeight:"1.5",modelValue:p.d_value,"onUpdate:modelValue":t[0]||(t[0]=e=>p.d_value=e),fullHeight:"",style:Object(r.normalizeStyle)({"background-color":n.editorBackground})},null,8,["placeholder","fontSize","modelValue","style"])],4)],34),Object(r.createCommentVNode)("展示区"),Object(r.withDirectives)(Object(r.createElementVNode)("div",{class:Object(r.normalizeClass)([{"single-show":!p.s_subfield&&p.s_preview_switch||!p.s_subfield&&p.s_html_code},"v-note-show"])},[Object(r.withDirectives)(Object(r.createElementVNode)("div",{ref:"vShowContent",innerHTML:p.d_render,class:Object(r.normalizeClass)([{"scroll-style":p.s_scrollStyle,"scroll-style-border-radius":p.s_scrollStyle},"v-show-content"]),style:Object(r.normalizeStyle)({"background-color":n.previewBackground})},null,14,o),[[r.vShow,!p.s_html_code]]),Object(r.withDirectives)(Object(r.createElementVNode)("div",{class:Object(r.normalizeClass)([{"scroll-style":p.s_scrollStyle,"scroll-style-border-radius":p.s_scrollStyle},"v-show-content-html"]),style:Object(r.normalizeStyle)({"background-color":n.previewBackground})},Object(r.toDisplayString)(p.d_render),7),[[r.vShow,p.s_html_code]])],2),[[r.vShow,p.s_preview_switch||p.s_html_code]]),Object(r.createCommentVNode)("标题导航"),Object(r.createVNode)(r.Transition,{name:"slideTop",persisted:""},{default:Object(r.withCtx)(()=>[Object(r.withDirectives)(Object(r.createElementVNode)("div",{class:Object(r.normalizeClass)(["v-note-navigation-wrapper",{transition:n.transition}])},[Object(r.createElementVNode)("div",a,[Object(r.createTextVNode)(Object(r.toDisplayString)(p.d_words.navigation_title),1),Object(r.createElementVNode)("i",{onClick:t[3]||(t[3]=e=>f.toolbar_right_click("navigation")),class:"fa fa-mavon-times v-note-navigation-close","aria-hidden":"true"})]),Object(r.createElementVNode)("div",{ref:"navigationContent",class:Object(r.normalizeClass)(["v-note-navigation-content",{"scroll-style":p.s_scrollStyle}])},null,2)],2),[[r.vShow,p.s_navigation]])]),_:1})]),Object(r.createCommentVNode)("帮助文档"),Object(r.createVNode)(r.Transition,{name:"fade"},{default:Object(r.withCtx)(()=>[Object(r.createElementVNode)("div",s,[p.s_help?(Object(r.openBlock)(),Object(r.createElementBlock)("div",{key:0,onClick:t[5]||(t[5]=Object(r.withModifiers)(e=>f.toolbar_right_click("help"),["self"])),class:"v-note-help-wrapper"},[Object(r.createElementVNode)("div",{class:Object(r.normalizeClass)(["v-note-help-content markdown-body",{shadow:n.boxShadow}])},[Object(r.createElementVNode)("i",{onClick:t[4]||(t[4]=Object(r.withModifiers)(e=>f.toolbar_right_click("help"),["stop","prevent"])),class:"fa fa-mavon-times","aria-hidden":"true"}),Object(r.createElementVNode)("div",{class:"scroll-style v-note-help-show",innerHTML:p.d_help},null,8,l)],2)])):Object(r.createCommentVNode)("v-if",!0)],512)]),_:1}),Object(r.createCommentVNode)(" 预览图片 "),Object(r.createVNode)(r.Transition,{name:"fade"},{default:Object(r.withCtx)(()=>[p.d_preview_imgsrc?(Object(r.openBlock)(),Object(r.createElementBlock)("div",{key:0,onClick:t[6]||(t[6]=e=>p.d_preview_imgsrc=null),class:"v-note-img-wrapper"},[Object(r.createElementVNode)("img",{src:p.d_preview_imgsrc,alt:"none"},null,8,c)])):Object(r.createCommentVNode)("v-if",!0)]),_:1}),Object(r.createCommentVNode)("阅读模式"),Object(r.createElementVNode)("div",{class:Object(r.normalizeClass)([{show:p.s_readmodel},"v-note-read-model scroll-style"]),ref:"vReadModel"},[Object(r.createElementVNode)("div",{ref:"vNoteReadContent",class:"v-note-read-content",innerHTML:p.d_render},null,8,u)],2)],6)}},function(e,t,n){"use strict";n.d(t,"a",function(){return $});var r=n(0);const i={class:"v-left-item"},o=["disabled","title"],a=["disabled","title"],s=["disabled","title"],l={key:3,class:"op-icon-divider"},c=["disabled","title"],u=["disabled","title"],d=["disabled","title"],p=["disabled","title"],f=["disabled","title"],h=["disabled","title"],g=["disabled","title"],m=["disabled","title"],_={key:12,class:"op-icon-divider"},v=["disabled","title"],y=["disabled","title"],b=["disabled","title"],k={key:16,class:"op-icon-divider"},w=["disabled","title"],x=["disabled"],C={class:"dropdown-item",style:{overflow:"hidden"}},S=["title","onClick"],j=["onClick","title"],T=["src"],L=["disabled","title"],E=["disabled","title"],A={key:21,class:"op-icon-divider"},M=["title"],D=["title"],O=["title"],N=["title"],z={key:0,class:"add-image-link-wrapper"},I={class:"add-image-link"},F={class:"title"},P={class:"link-text input-wrapper"},R=["placeholder"],q={class:"link-addr input-wrapper"},B=["placeholder"];function $(e,t,n,$,H,W){return Object(r.openBlock)(),Object(r.createElementBlock)("div",i,[Object(r.renderSlot)(e.$slots,"left-toolbar-before",{},void 0,!0),n.toolbars.bold?(Object(r.openBlock)(),Object(r.createElementBlock)("button",{key:0,disabled:!n.editable,type:"button",onClick:t[0]||(t[0]=e=>W.$clicks("bold")),class:"op-icon fa fa-mavon-bold","aria-hidden":"true",title:n.d_words.tl_bold+" (ctrl+b)"},null,8,o)):Object(r.createCommentVNode)("v-if",!0),n.toolbars.italic?(Object(r.openBlock)(),Object(r.createElementBlock)("button",{key:1,disabled:!n.editable,type:"button",onClick:t[1]||(t[1]=e=>W.$clicks("italic")),class:"op-icon fa fa-mavon-italic","aria-hidden":"true",title:n.d_words.tl_italic+" (ctrl+i)"},null,8,a)):Object(r.createCommentVNode)("v-if",!0),n.toolbars.header?(Object(r.openBlock)(),Object(r.createElementBlock)("div",{key:2,class:Object(r.normalizeClass)([{selected:H.s_header_dropdown_open},"op-icon fa fa-mavon-header dropdown dropdown-wrapper"]),disabled:!n.editable,type:"button",onMouseleave:t[10]||(t[10]=(...e)=>W.$mouseleave_header_dropdown&&W.$mouseleave_header_dropdown(...e)),onMouseenter:t[11]||(t[11]=(...e)=>W.$mouseenter_header_dropdown&&W.$mouseenter_header_dropdown(...e)),"aria-hidden":"true",title:n.d_words.tl_header+" (ctrl+h)"},[Object(r.createVNode)(r.Transition,{name:"fade",persisted:""},{default:Object(r.withCtx)(()=>[Object(r.withDirectives)(Object(r.createElementVNode)("div",{class:Object(r.normalizeClass)(["op-header popup-dropdown",{transition:n.transition}]),onMouseenter:t[8]||(t[8]=(...e)=>W.$mouseenter_header_dropdown&&W.$mouseenter_header_dropdown(...e)),onMouseleave:t[9]||(t[9]=(...e)=>W.$mouseleave_header_dropdown&&W.$mouseleave_header_dropdown(...e))},[Object(r.createElementVNode)("div",{title:"#",class:"dropdown-item",onClick:t[2]||(t[2]=Object(r.withModifiers)(e=>W.$click_header("header1"),["stop"]))},[Object(r.createElementVNode)("span",null,Object(r.toDisplayString)(n.d_words.tl_header_one),1)]),Object(r.createElementVNode)("div",{title:"## ",class:"dropdown-item",onClick:t[3]||(t[3]=Object(r.withModifiers)(e=>W.$click_header("header2"),["stop"]))},[Object(r.createElementVNode)("span",null,Object(r.toDisplayString)(n.d_words.tl_header_two),1)]),Object(r.createElementVNode)("div",{title:"### ",class:"dropdown-item",onClick:t[4]||(t[4]=Object(r.withModifiers)(e=>W.$click_header("header3"),["stop"]))},[Object(r.createElementVNode)("span",null,Object(r.toDisplayString)(n.d_words.tl_header_three),1)]),Object(r.createElementVNode)("div",{title:"#### ",class:"dropdown-item",onClick:t[5]||(t[5]=Object(r.withModifiers)(e=>W.$click_header("header4"),["stop"]))},[Object(r.createElementVNode)("span",null,Object(r.toDisplayString)(n.d_words.tl_header_four),1)]),Object(r.createElementVNode)("div",{title:"##### ",class:"dropdown-item",onClick:t[6]||(t[6]=Object(r.withModifiers)(e=>W.$click_header("header5"),["stop"]))},[Object(r.createElementVNode)("span",null,Object(r.toDisplayString)(n.d_words.tl_header_five),1)]),Object(r.createElementVNode)("div",{title:"###### ",class:"dropdown-item",onClick:t[7]||(t[7]=Object(r.withModifiers)(e=>W.$click_header("header6"),["stop"]))},[Object(r.createElementVNode)("span",null,Object(r.toDisplayString)(n.d_words.tl_header_six),1)])],34),[[r.vShow,H.s_header_dropdown_open]])]),_:1})],42,s)):Object(r.createCommentVNode)("v-if",!0),n.toolbars.header||n.toolbars.italic||n.toolbars.bold?(Object(r.openBlock)(),Object(r.createElementBlock)("span",l)):Object(r.createCommentVNode)("v-if",!0),n.toolbars.underline?(Object(r.openBlock)(),Object(r.createElementBlock)("button",{key:4,disabled:!n.editable,type:"button",onClick:t[12]||(t[12]=e=>W.$clicks("underline")),class:"op-icon fa fa-mavon-underline",title:n.d_words.tl_underline+" (ctrl+u)","aria-hidden":"true"},null,8,c)):Object(r.createCommentVNode)("v-if",!0),n.toolbars.strikethrough?(Object(r.openBlock)(),Object(r.createElementBlock)("button",{key:5,disabled:!n.editable,type:"button",onClick:t[13]||(t[13]=e=>W.$clicks("strikethrough")),class:"op-icon fa fa-mavon-strikethrough",title:n.d_words.tl_strikethrough+" (ctrl+shift+d)","aria-hidden":"true"},null,8,u)):Object(r.createCommentVNode)("v-if",!0),n.toolbars.mark?(Object(r.openBlock)(),Object(r.createElementBlock)("button",{key:6,disabled:!n.editable,type:"button",onClick:t[14]||(t[14]=e=>W.$clicks("mark")),class:"op-icon fa fa-mavon-thumb-tack",title:n.d_words.tl_mark+" (ctrl+m)","aria-hidden":"true"},null,8,d)):Object(r.createCommentVNode)("v-if",!0),n.toolbars.superscript?(Object(r.openBlock)(),Object(r.createElementBlock)("button",{key:7,disabled:!n.editable,type:"button",onClick:t[15]||(t[15]=e=>W.$clicks("superscript")),class:"op-icon fa fa-mavon-superscript","aria-hidden":"true",title:n.d_words.tl_superscript+" (ctrl+alt+s)"},null,8,p)):Object(r.createCommentVNode)("v-if",!0),n.toolbars.subscript?(Object(r.openBlock)(),Object(r.createElementBlock)("button",{key:8,disabled:!n.editable,type:"button",onClick:t[16]||(t[16]=e=>W.$clicks("subscript")),class:"op-icon fa fa-mavon-subscript","aria-hidden":"true",title:n.d_words.tl_subscript+" (ctrl+shift+s)"},null,8,f)):Object(r.createCommentVNode)("v-if",!0),n.toolbars.alignleft?(Object(r.openBlock)(),Object(r.createElementBlock)("button",{key:9,disabled:!n.editable,type:"button",onClick:t[17]||(t[17]=e=>W.$clicks("alignleft")),class:"op-icon fa fa-mavon-align-left","aria-hidden":"true",title:n.d_words.tl_alignleft+" (ctrl+l)"},null,8,h)):Object(r.createCommentVNode)("v-if",!0),n.toolbars.aligncenter?(Object(r.openBlock)(),Object(r.createElementBlock)("button",{key:10,disabled:!n.editable,type:"button",onClick:t[18]||(t[18]=e=>W.$clicks("aligncenter")),class:"op-icon fa fa-mavon-align-center","aria-hidden":"true",title:n.d_words.tl_aligncenter+" (ctrl+e)"},null,8,g)):Object(r.createCommentVNode)("v-if",!0),n.toolbars.alignright?(Object(r.openBlock)(),Object(r.createElementBlock)("button",{key:11,disabled:!n.editable,type:"button",onClick:t[19]||(t[19]=e=>W.$clicks("alignright")),class:"op-icon fa fa-mavon-align-right","aria-hidden":"true",title:n.d_words.tl_alignright+" (ctrl+r)"},null,8,m)):Object(r.createCommentVNode)("v-if",!0),n.toolbars.superscript||n.toolbars.subscript||n.toolbars.underline||n.toolbars.strikethrough||n.toolbars.mark?(Object(r.openBlock)(),Object(r.createElementBlock)("span",_)):Object(r.createCommentVNode)("v-if",!0),n.toolbars.quote?(Object(r.openBlock)(),Object(r.createElementBlock)("button",{key:13,disabled:!n.editable,type:"button",onClick:t[20]||(t[20]=e=>W.$clicks("quote")),class:"op-icon fa fa-mavon-quote-left","aria-hidden":"true",title:n.d_words.tl_quote+" (ctrl+q)"},null,8,v)):Object(r.createCommentVNode)("v-if",!0),n.toolbars.ol?(Object(r.openBlock)(),Object(r.createElementBlock)("button",{key:14,disabled:!n.editable,type:"button",onClick:t[21]||(t[21]=e=>W.$clicks("ol")),class:"op-icon fa fa-mavon-list-ol","aria-hidden":"true",title:n.d_words.tl_ol+" (ctrl+o)"},null,8,y)):Object(r.createCommentVNode)("v-if",!0),n.toolbars.ul?(Object(r.openBlock)(),Object(r.createElementBlock)("button",{key:15,disabled:!n.editable,type:"button",onClick:t[22]||(t[22]=e=>W.$clicks("ul")),class:"op-icon fa fa-mavon-list-ul","aria-hidden":"true",title:n.d_words.tl_ul+" (ctrl+alt+u)"},null,8,b)):Object(r.createCommentVNode)("v-if",!0),n.toolbars.ul||n.toolbars.ol||n.toolbars.quote?(Object(r.openBlock)(),Object(r.createElementBlock)("span",k)):Object(r.createCommentVNode)("v-if",!0),n.toolbars.link?(Object(r.openBlock)(),Object(r.createElementBlock)("button",{key:17,disabled:!n.editable,type:"button",onClick:t[23]||(t[23]=Object(r.withModifiers)(e=>W.$toggle_imgLinkAdd("link"),["stop"])),class:"op-icon fa fa-mavon-link","aria-hidden":"true",title:n.d_words.tl_link+" (ctrl+l)"},null,8,w)):Object(r.createCommentVNode)("v-if",!0),n.toolbars.imagelink?(Object(r.openBlock)(),Object(r.createElementBlock)("div",{key:18,disabled:!n.editable,class:Object(r.normalizeClass)([{selected:H.s_img_dropdown_open},"op-icon fa fa-mavon-picture-o dropdown dropdown-wrapper"]),type:"button",onMouseleave:t[28]||(t[28]=(...e)=>W.$mouseleave_img_dropdown&&W.$mouseleave_img_dropdown(...e)),onMouseenter:t[29]||(t[29]=(...e)=>W.$mouseenter_img_dropdown&&W.$mouseenter_img_dropdown(...e)),"aria-hidden":"true"},[Object(r.createVNode)(r.Transition,{name:"fade",persisted:""},{default:Object(r.withCtx)(()=>[Object(r.withDirectives)(Object(r.createElementVNode)("div",{class:Object(r.normalizeClass)(["op-image popup-dropdown",{transition:n.transition}]),onMouseleave:t[26]||(t[26]=(...e)=>W.$mouseleave_img_dropdown&&W.$mouseleave_img_dropdown(...e)),onMouseenter:t[27]||(t[27]=(...e)=>W.$mouseenter_img_dropdown&&W.$mouseenter_img_dropdown(...e))},[Object(r.createElementVNode)("div",{class:"dropdown-item",onClick:t[24]||(t[24]=Object(r.withModifiers)(e=>W.$toggle_imgLinkAdd("imagelink"),["stop"]))},[Object(r.createElementVNode)("span",null,Object(r.toDisplayString)(n.d_words.tl_image),1)]),Object(r.createElementVNode)("div",C,[Object(r.createElementVNode)("input",{type:"file",accept:"image/gif,image/jpeg,image/jpg,image/png,image/svg",onChange:t[25]||(t[25]=e=>W.$imgAdd(e)),multiple:"multiple"},null,32),Object(r.createTextVNode)(Object(r.toDisplayString)(n.d_words.tl_upload),1)]),(Object(r.openBlock)(!0),Object(r.createElementBlock)(r.Fragment,null,Object(r.renderList)(H.img_file,(e,t)=>(Object(r.openBlock)(),Object(r.createElementBlock)(r.Fragment,{key:t},[e&&e[1]?(Object(r.openBlock)(),Object(r.createElementBlock)("div",{key:0,class:"dropdown-item dropdown-images",title:e[1].name,onClick:Object(r.withModifiers)(e=>W.$imgFileListClick(t),["stop"])},[Object(r.createElementVNode)("span",null,Object(r.toDisplayString)(e[1].name),1),Object(r.createElementVNode)("button",{type:"button",onClick:Object(r.withModifiers)(e=>W.$imgDel(t),["stop"]),class:"op-icon fa fa-mavon-times","aria-hidden":"true",title:n.d_words.tl_upload_remove},null,8,j),Object(r.createCommentVNode)(" 缩略图展示 "),Object(r.createElementVNode)("img",{class:Object(r.normalizeClass)(["image-show",{transition:n.transition}]),src:e[1].miniurl,alt:"none"},null,10,T)],8,S)):Object(r.createCommentVNode)("v-if",!0)],64))),128))],34),[[r.vShow,H.s_img_dropdown_open]])]),_:1})],42,x)):Object(r.createCommentVNode)("v-if",!0),n.toolbars.code?(Object(r.openBlock)(),Object(r.createElementBlock)("button",{key:19,disabled:!n.editable,type:"button",onClick:t[30]||(t[30]=e=>W.$clicks("code")),class:"op-icon fa fa-mavon-code","aria-hidden":"true",title:n.d_words.tl_code+" (ctrl+alt+c)"},null,8,L)):Object(r.createCommentVNode)("v-if",!0),n.toolbars.table?(Object(r.openBlock)(),Object(r.createElementBlock)("button",{key:20,disabled:!n.editable,type:"button",onClick:t[31]||(t[31]=e=>W.$clicks("table")),class:"op-icon fa fa-mavon-table","aria-hidden":"true",title:n.d_words.tl_table+" (ctrl+alt+t)"},null,8,E)):Object(r.createCommentVNode)("v-if",!0),n.toolbars.link||n.toolbars.imagelink||n.toolbars.code||n.toolbars.table?(Object(r.openBlock)(),Object(r.createElementBlock)("span",A)):Object(r.createCommentVNode)("v-if",!0),n.toolbars.undo?(Object(r.openBlock)(),Object(r.createElementBlock)("button",{key:22,type:"button",onClick:t[32]||(t[32]=e=>W.$clicks("undo")),class:"op-icon fa fa-mavon-undo","aria-hidden":"true",title:n.d_words.tl_undo+" (ctrl+z)"},null,8,M)):Object(r.createCommentVNode)("v-if",!0),n.toolbars.redo?(Object(r.openBlock)(),Object(r.createElementBlock)("button",{key:23,type:"button",onClick:t[33]||(t[33]=e=>W.$clicks("redo")),class:"op-icon fa fa-mavon-repeat","aria-hidden":"true",title:n.d_words.tl_redo+" (ctrl+y)"},null,8,D)):Object(r.createCommentVNode)("v-if",!0),n.toolbars.trash?(Object(r.openBlock)(),Object(r.createElementBlock)("button",{key:24,type:"button",onClick:t[34]||(t[34]=e=>W.$clicks("trash")),class:"op-icon fa fa-mavon-trash-o","aria-hidden":"true",title:n.d_words.tl_trash+" (ctrl+breakspace)"},null,8,O)):Object(r.createCommentVNode)("v-if",!0),n.toolbars.save?(Object(r.openBlock)(),Object(r.createElementBlock)("button",{key:25,type:"button",onClick:t[35]||(t[35]=e=>W.$clicks("save")),class:"op-icon fa fa-mavon-floppy-o","aria-hidden":"true",title:n.d_words.tl_save+" (ctrl+s)"},null,8,N)):Object(r.createCommentVNode)("v-if",!0),Object(r.renderSlot)(e.$slots,"left-toolbar-after",{},void 0,!0),Object(r.createCommentVNode)(" 添加image链接 "),Object(r.createVNode)(r.Transition,{name:"fade"},{default:Object(r.withCtx)(()=>[H.s_img_link_open?(Object(r.openBlock)(),Object(r.createElementBlock)("div",z,[Object(r.createElementVNode)("div",I,[Object(r.createElementVNode)("i",{onClick:t[36]||(t[36]=Object(r.withModifiers)(e=>H.s_img_link_open=!1,["stop","prevent"])),class:"fa fa-mavon-times","aria-hidden":"true"}),Object(r.createElementVNode)("h3",F,Object(r.toDisplayString)("link"==H.link_type?n.d_words.tl_popup_link_title:n.d_words.tl_popup_img_link_title),1),Object(r.createElementVNode)("div",P,[Object(r.withDirectives)(Object(r.createElementVNode)("input",{ref:"linkTextInput",type:"text","onUpdate:modelValue":t[37]||(t[37]=e=>H.link_text=e),placeholder:"link"==H.link_type?n.d_words.tl_popup_link_text:n.d_words.tl_popup_img_link_text},null,8,R),[[r.vModelText,H.link_text]])]),Object(r.createElementVNode)("div",q,[Object(r.withDirectives)(Object(r.createElementVNode)("input",{type:"text","onUpdate:modelValue":t[38]||(t[38]=e=>H.link_addr=e),placeholder:"link"==H.link_type?n.d_words.tl_popup_link_addr:n.d_words.tl_popup_img_link_addr},null,8,B),[[r.vModelText,H.link_addr]])]),Object(r.createElementVNode)("div",{class:"op-btn cancel",onClick:t[39]||(t[39]=Object(r.withModifiers)(e=>H.s_img_link_open=!1,["stop"]))},Object(r.toDisplayString)(n.d_words.tl_popup_link_cancel),1),Object(r.createElementVNode)("div",{class:"op-btn sure",onClick:t[40]||(t[40]=Object(r.withModifiers)(e=>W.$imgLinkAdd(),["stop"]))},Object(r.toDisplayString)(n.d_words.tl_popup_link_sure),1)])])):Object(r.createCommentVNode)("v-if",!0)]),_:1})])}},function(e,t,n){"use strict";n.d(t,"a",function(){return _});var r=n(0);const i={class:"v-right-item"},o=["title"],a=["title"],s=["title"],l=["title"],c=["title"],u=["title"],d=["title"],p=["title"],f={key:8,class:"op-icon-divider"},h=["title"],g=["title"],m=["title"];function _(e,t,n,_,v,y){return Object(r.openBlock)(),Object(r.createElementBlock)("div",i,[Object(r.renderSlot)(e.$slots,"right-toolbar-before"),n.toolbars.navigation?Object(r.withDirectives)((Object(r.openBlock)(),Object(r.createElementBlock)("button",{key:0,type:"button",onClick:t[0]||(t[0]=e=>y.$clicks("navigation")),class:"op-icon fa fa-mavon-bars","aria-hidden":"true",title:n.d_words.tl_navigation_on+" (F8)"},null,8,o)),[[r.vShow,!n.s_navigation]]):Object(r.createCommentVNode)("v-if",!0),n.toolbars.navigation?Object(r.withDirectives)((Object(r.openBlock)(),Object(r.createElementBlock)("button",{key:1,type:"button",onClick:t[1]||(t[1]=e=>y.$clicks("navigation")),class:"op-icon fa fa-mavon-bars selected","aria-hidden":"true",title:n.d_words.tl_navigation_off+" (F8)"},null,8,a)),[[r.vShow,n.s_navigation]]):Object(r.createCommentVNode)("v-if",!0),n.toolbars.preview?Object(r.withDirectives)((Object(r.openBlock)(),Object(r.createElementBlock)("button",{key:2,type:"button",onClick:t[2]||(t[2]=e=>y.$clicks("preview")),class:"op-icon fa fa-mavon-eye-slash selected","aria-hidden":"true",title:n.d_words.tl_edit+" (F9)"},null,8,s)),[[r.vShow,n.s_preview_switch]]):Object(r.createCommentVNode)("v-if",!0),n.toolbars.preview?Object(r.withDirectives)((Object(r.openBlock)(),Object(r.createElementBlock)("button",{key:3,type:"button",onClick:t[3]||(t[3]=e=>y.$clicks("preview")),class:"op-icon fa fa-mavon-eye","aria-hidden":"true",title:n.d_words.tl_preview+" (F9)"},null,8,l)),[[r.vShow,!n.s_preview_switch]]):Object(r.createCommentVNode)("v-if",!0),n.toolbars.fullscreen?Object(r.withDirectives)((Object(r.openBlock)(),Object(r.createElementBlock)("button",{key:4,type:"button",onClick:t[4]||(t[4]=e=>y.$clicks("fullscreen")),class:"op-icon fa fa-mavon-arrows-alt",title:n.d_words.tl_fullscreen_on+" (F10)","aria-hidden":"true"},null,8,c)),[[r.vShow,!n.s_fullScreen]]):Object(r.createCommentVNode)("v-if",!0),n.toolbars.fullscreen?Object(r.withDirectives)((Object(r.openBlock)(),Object(r.createElementBlock)("button",{key:5,type:"button",onClick:t[5]||(t[5]=e=>y.$clicks("fullscreen")),class:"op-icon fa fa-mavon-compress selected",title:n.d_words.tl_fullscreen_off+" (F10)","aria-hidden":"true"},null,8,u)),[[r.vShow,n.s_fullScreen]]):Object(r.createCommentVNode)("v-if",!0),n.toolbars.readmodel?(Object(r.openBlock)(),Object(r.createElementBlock)("button",{key:6,type:"button",onClick:t[6]||(t[6]=e=>y.$clicks("read")),class:"op-icon fa fa-mavon-window-maximize","aria-hidden":"true",title:n.d_words.tl_read+" (F11)"},null,8,d)):Object(r.createCommentVNode)("v-if",!0),n.toolbars.subfield?(Object(r.openBlock)(),Object(r.createElementBlock)("button",{key:7,type:"button",onClick:t[7]||(t[7]=e=>y.$clicks("subfield")),class:Object(r.normalizeClass)(["op-icon fa fa-mavon-columns",{selected:n.s_subfield}]),"aria-hidden":"true",title:(n.s_subfield?n.d_words.tl_single_column:n.d_words.tl_double_column)+" (F12)"},null,10,p)):Object(r.createCommentVNode)("v-if",!0),n.toolbars.help&&n.toolbars.htmlcode&&n.toolbars.readmodel&&n.toolbars.fullscreen&&n.toolbars.subfield&&n.toolbars.navigation?(Object(r.openBlock)(),Object(r.createElementBlock)("span",f)):Object(r.createCommentVNode)("v-if",!0),n.toolbars.htmlcode?Object(r.withDirectives)((Object(r.openBlock)(),Object(r.createElementBlock)("button",{key:9,type:"button",onClick:t[8]||(t[8]=e=>y.$clicks("html")),class:"op-icon fa fa-mavon-code",title:n.d_words.tl_html_on,"aria-hidden":"true"},null,8,h)),[[r.vShow,!n.s_html_code]]):Object(r.createCommentVNode)("v-if",!0),n.toolbars.htmlcode?Object(r.withDirectives)((Object(r.openBlock)(),Object(r.createElementBlock)("button",{key:10,type:"button",onClick:t[9]||(t[9]=e=>y.$clicks("html")),class:"op-icon fa fa-mavon-code selected",title:n.d_words.tl_html_off,"aria-hidden":"true"},null,8,g)),[[r.vShow,n.s_html_code]]):Object(r.createCommentVNode)("v-if",!0),n.toolbars.help?(Object(r.openBlock)(),Object(r.createElementBlock)("button",{key:11,type:"button",onClick:t[10]||(t[10]=e=>y.$clicks("help")),class:"op-icon fa fa-mavon-question-circle",style:{"font-size":"17px",padding:"5px 6px 5px 3px"},title:n.d_words.tl_help,"aria-hidden":"true"},null,8,m)):Object(r.createCommentVNode)("v-if",!0),Object(r.renderSlot)(e.$slots,"right-toolbar-after")])}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(0);const i=["autofocus","placeholder"];function o(e,t,n,o,a,s){return Object(r.openBlock)(),Object(r.createElementBlock)("div",{style:Object(r.normalizeStyle)({fontSize:n.fontSize,lineHeight:n.lineHeight,height:n.fullHeight?"100%":"auto"}),class:"auto-textarea-wrapper"},[Object(r.createElementVNode)("pre",{style:Object(r.normalizeStyle)({fontSize:n.fontSize,lineHeight:n.lineHeight,minHeight:n.fullHeight?"100%":"auto"}),class:"auto-textarea-block"},[t[2]||(t[2]=Object(r.createElementVNode)("br",null,null,-1)),Object(r.createTextVNode)(Object(r.toDisplayString)(a.temp_value)+" ",1)],4),Object(r.withDirectives)(Object(r.createElementVNode)("textarea",{ref:"vTextarea",autofocus:a.s_autofocus,onKeyup:t[0]||(t[0]=(...e)=>s.change&&s.change(...e)),spellcheck:"false",placeholder:n.placeholder,"onUpdate:modelValue":t[1]||(t[1]=e=>a.temp_value=e),style:Object(r.normalizeStyle)({fontSize:n.fontSize,lineHeight:n.lineHeight}),class:Object(r.normalizeClass)([{"no-border":!n.border,"no-resize":!n.resize},"auto-textarea-input"])}," ",46,i),[[r.vModelText,a.temp_value]])],4)}},function(e,t,n){"use strict";var r=n(80).default,i={markdownIt:r.mixins[0].data().markdownIt,mavonEditor:r,LeftToolbar:n(70).default,RightToolbar:n(72).default,install:function(e){e.component("mavon-editor",r)}};e.exports=i},function(e,t,n){"use strict";n.r(t);var r=n(75),i=n(21);for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,function(){return i[e]})}(o);n(221),n(223);var a=n(3);const s=n.n(a)()(i.default,[["render",r.a],["__scopeId","data-v-33c11741"]]);t.default=s},function(e,t,n){e.exports={default:n(82),__esModule:!0}},function(e,t,n){n(83),n(95),e.exports=n(35).f("iterator")},function(e,t,n){"use strict";var r=n(84)(!0);n(45)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){var r=n(26),i=n(27);e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536}}},function(e,t,n){var r=n(86);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";var r=n(50),i=n(16),o=n(34),a={};n(5)(a,n(9)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},function(e,t,n){var r=n(6),i=n(14),o=n(30);e.exports=n(7)?Object.defineProperties:function(e,t){i(e);for(var n,a=o(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},function(e,t,n){var r=n(52);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(8),i=n(91),o=n(92);e.exports=function(e){return function(t,n,a){var s,l=r(t),c=i(l.length),u=o(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){var r=n(26),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(26),i=Math.max,o=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):o(e,t)}},function(e,t,n){var r=n(2).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(4),i=n(53),o=n(31)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){n(96);for(var r=n(2),i=n(5),o=n(29),a=n(9)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){e.exports={default:n(100),__esModule:!0}},function(e,t,n){n(101),n(107),n(108),n(109),e.exports=n(13).Symbol},function(e,t,n){"use strict";var r=n(2),i=n(4),o=n(7),a=n(46),s=n(49),l=n(102).KEY,c=n(15),u=n(32),d=n(34),p=n(17),f=n(9),h=n(35),g=n(36),m=n(103),_=n(104),v=n(14),y=n(10),b=n(53),k=n(8),w=n(28),x=n(16),C=n(50),S=n(105),j=n(106),T=n(54),L=n(6),E=n(30),A=j.f,M=L.f,D=S.f,O=r.Symbol,N=r.JSON,z=N&&N.stringify,I=f("_hidden"),F=f("toPrimitive"),P={}.propertyIsEnumerable,R=u("symbol-registry"),q=u("symbols"),B=u("op-symbols"),$=Object.prototype,H="function"==typeof O&&!!T.f,W=r.QObject,U=!W||!W.prototype||!W.prototype.findChild,V=o&&c(function(){return 7!=C(M({},"a",{get:function(){return M(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=A($,t);r&&delete $[t],M(e,t,n),r&&e!==$&&M($,t,r)}:M,K=function(e){var t=q[e]=C(O.prototype);return t._k=e,t},X=H&&"symbol"==typeof O.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof O},G=function(e,t,n){return e===$&&G(B,t,n),v(e),t=w(t,!0),v(n),i(q,t)?(n.enumerable?(i(e,I)&&e[I][t]&&(e[I][t]=!1),n=C(n,{enumerable:x(0,!1)})):(i(e,I)||M(e,I,x(1,{})),e[I][t]=!0),V(e,t,n)):M(e,t,n)},Q=function(e,t){v(e);for(var n,r=m(t=k(t)),i=0,o=r.length;o>i;)G(e,n=r[i++],t[n]);return e},Z=function(e){var t=P.call(this,e=w(e,!0));return!(this===$&&i(q,e)&&!i(B,e))&&(!(t||!i(this,e)||!i(q,e)||i(this,I)&&this[I][e])||t)},Y=function(e,t){if(e=k(e),t=w(t,!0),e!==$||!i(q,t)||i(B,t)){var n=A(e,t);return!n||!i(q,t)||i(e,I)&&e[I][t]||(n.enumerable=!0),n}},J=function(e){for(var t,n=D(k(e)),r=[],o=0;n.length>o;)i(q,t=n[o++])||t==I||t==l||r.push(t);return r},ee=function(e){for(var t,n=e===$,r=D(n?B:k(e)),o=[],a=0;r.length>a;)!i(q,t=r[a++])||n&&!i($,t)||o.push(q[t]);return o};H||(s((O=function(){if(this instanceof O)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===$&&t.call(B,n),i(this,I)&&i(this[I],e)&&(this[I][e]=!1),V(this,e,x(1,n))};return o&&U&&V($,e,{configurable:!0,set:t}),K(e)}).prototype,"toString",function(){return this._k}),j.f=Y,L.f=G,n(55).f=S.f=J,n(37).f=Z,T.f=ee,o&&!n(12)&&s($,"propertyIsEnumerable",Z,!0),h.f=function(e){return K(f(e))}),a(a.G+a.W+a.F*!H,{Symbol:O});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)f(te[ne++]);for(var re=E(f.store),ie=0;re.length>ie;)g(re[ie++]);a(a.S+a.F*!H,"Symbol",{for:function(e){return i(R,e+="")?R[e]:R[e]=O(e)},keyFor:function(e){if(!X(e))throw TypeError(e+" is not a symbol!");for(var t in R)if(R[t]===e)return t},useSetter:function(){U=!0},useSimple:function(){U=!1}}),a(a.S+a.F*!H,"Object",{create:function(e,t){return void 0===t?C(e):Q(C(e),t)},defineProperty:G,defineProperties:Q,getOwnPropertyDescriptor:Y,getOwnPropertyNames:J,getOwnPropertySymbols:ee});var oe=c(function(){T.f(1)});a(a.S+a.F*oe,"Object",{getOwnPropertySymbols:function(e){return T.f(b(e))}}),N&&a(a.S+a.F*(!H||c(function(){var e=O();return"[null]"!=z([e])||"{}"!=z({a:e})||"{}"!=z(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(y(t)||void 0!==e)&&!X(e))return _(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!X(t))return t}),r[1]=t,z.apply(N,r)}}),O.prototype[F]||n(5)(O.prototype,F,O.prototype.valueOf),d(O,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(e,t,n){var r=n(17)("meta"),i=n(10),o=n(4),a=n(6).f,s=0,l=Object.isExtensible||function(){return!0},c=!n(15)(function(){return l(Object.preventExtensions({}))}),u=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},d=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[r].i},getWeak:function(e,t){if(!o(e,r)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[r].w},onFreeze:function(e){return c&&d.NEED&&l(e)&&!o(e,r)&&u(e),e}}},function(e,t,n){var r=n(30),i=n(54),o=n(37);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var a,s=n(e),l=o.f,c=0;s.length>c;)l.call(e,a=s[c++])&&t.push(a);return t}},function(e,t,n){var r=n(52);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(8),i=n(55).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?function(e){try{return i(e)}catch(e){return a.slice()}}(e):i(r(e))}},function(e,t,n){var r=n(37),i=n(16),o=n(8),a=n(28),s=n(4),l=n(47),c=Object.getOwnPropertyDescriptor;t.f=n(7)?c:function(e,t){if(e=o(e),t=a(t,!0),l)try{return c(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t){},function(e,t,n){n(36)("asyncIterator")},function(e,t,n){n(36)("observable")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=119,i=120,o=121,a=122,s=123,l=66,c=73,u=72,d=85,p=68,f=77,h=81,g=79,m=76,_=83,v=90,y=89,b=67,k=84,w=82,x=8,C=9,S=13,j=97,T=98,L=99,E=100,A=101,M=102,D=49,O=50,N=51,z=52,I=53,F=54;t.keydownListen=function(e){e.shortCut&&e.$el.addEventListener("keydown",function(t){if(t.ctrlKey||t.metaKey||t.altKey||t.shiftKey)if(!t.ctrlKey&&!t.metaKey||t.altKey||t.shiftKey){if((t.ctrlKey||t.metaKey)&&t.altKey&&!t.shiftKey)switch(t.keyCode){case _:t.preventDefault(),e.toolbar_left_click("superscript");break;case d:t.preventDefault(),e.toolbar_left_click("ul");break;case m:t.preventDefault(),e.toolbar_left_click("imagelink");break;case b:t.preventDefault(),e.toolbar_left_click("code");break;case k:t.preventDefault(),e.toolbar_left_click("table")}else if((t.ctrlKey||t.metaKey)&&t.shiftKey&&!t.altKey)switch(t.keyCode){case _:t.preventDefault(),e.toolbar_left_click("subscript");break;case p:t.preventDefault(),e.toolbar_left_click("strikethrough");break;case m:t.preventDefault(),e.toolbar_left_click("alignleft");break;case w:t.preventDefault(),e.toolbar_left_click("alignright");break;case b:t.preventDefault(),e.toolbar_left_click("aligncenter")}else if(!t.ctrlKey&&!t.metaKey&&t.shiftKey&&!t.altKey)switch(t.keyCode){case C:e.$refs.toolbar_left.s_img_link_open||(t.preventDefault(),e.unInsertTab())}}else switch(t.keyCode){case l:t.preventDefault(),e.toolbar_left_click("bold");break;case c:t.preventDefault(),e.toolbar_left_click("italic");break;case u:t.preventDefault(),e.toolbar_left_click("header");break;case d:t.preventDefault(),e.toolbar_left_click("underline");break;case p:t.preventDefault(),e.toolbar_left_click("removeLine");break;case f:t.preventDefault(),e.toolbar_left_click("mark");break;case h:t.preventDefault(),e.toolbar_left_click("quote");break;case g:t.preventDefault(),e.toolbar_left_click("ol");break;case m:t.preventDefault(),e.toolbar_left_click("link");break;case _:t.preventDefault(),e.toolbar_left_click("save");break;case v:t.preventDefault(),e.toolbar_left_click("undo");break;case y:t.preventDefault(),e.toolbar_left_click("redo");break;case x:t.preventDefault(),e.toolbar_left_click("trash");break;case j:t.preventDefault(),e.toolbar_left_click("header1");break;case T:t.preventDefault(),e.toolbar_left_click("header2");break;case L:t.preventDefault(),e.toolbar_left_click("header3");break;case E:t.preventDefault(),e.toolbar_left_click("header4");break;case A:t.preventDefault(),e.toolbar_left_click("header5");break;case M:t.preventDefault(),e.toolbar_left_click("header6");break;case D:t.preventDefault(),e.toolbar_left_click("header1");break;case O:t.preventDefault(),e.toolbar_left_click("header2");break;case N:t.preventDefault(),e.toolbar_left_click("header3");break;case z:t.preventDefault(),e.toolbar_left_click("header4");break;case I:t.preventDefault(),e.toolbar_left_click("header5");break;case F:t.preventDefault(),e.toolbar_left_click("header6")}else switch(t.keyCode){case r:e.toolbars.navigation&&(t.preventDefault(),e.toolbar_right_click("navigation"));break;case i:e.toolbars.preview&&(t.preventDefault(),e.toolbar_right_click("preview"));break;case o:e.toolbars.fullscreen&&(t.preventDefault(),e.toolbar_right_click("fullscreen"));break;case a:e.toolbars.readmodel&&(t.preventDefault(),e.toolbar_right_click("read"));break;case s:e.toolbars.subfield&&(t.preventDefault(),e.toolbar_right_click("subfield"));break;case C:e.$refs.toolbar_left.s_img_link_open||(t.preventDefault(),e.insertTab());break;case S:e.$refs.toolbar_left.s_img_link_open?(t.preventDefault(),e.$refs.toolbar_left.$imgLinkAdd()):e.insertEnter(t)}})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={agate:1,androidstudio:1,"arduino-light":1,arta:1,ascetic:1,"atom-one-dark":1,"atom-one-light":1,"brown-paper":1,"codepen-embed":1,"color-brewer":1,dark:1,default:1,docco:1,far:1,foundation:1,github:1,googlecode:1,grayscale:1,hybrid:1,idea:1,"ir-black":1,magula:1,"mono-blue":1,"monokai-sublime":1,monokai:1,obsidian:1,"paraiso-dark":1,"paraiso-light":1,pojoaque:1,purebasic:1,rainbow:1,routeros:1,"school-book":1,sunburst:1,"tomorrow-night-blue":1,"tomorrow-night-bright":1,vs:1,vs2015:1,xcode:1,xt256:1,"a11y-dark":1,"a11y-light":1,"an-old-hope":1,"atom-one-dark-reasonable":1,"brown-pap":1,devibeans:1,"github-dark":1,"github-dark-dimmed":1,gml:1,"gradient-dark":1,"gradient-light":1,"isbl-editor-dark":1,"isbl-editor-light":1,"kimbie-dark":1,"kimbie-light":1,lightfair:1,lioshi:1,"night-owl":1,"nnfx-dark":1,"nnfx-light":1,nord:1,pojo:1,"qtcreator-dark":1,"qtcreator-light":1,"shades-of-purple":1,srcery:1,"stackoverflow-dark":1,"stackoverflow-light":1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(25),o=(r=i)&&r.__esModule?r:{default:r};t.p_ObjectCopy_DEEP=function e(t,n){for(var r in n){var i=(0,o.default)(n[r]);!t[r]||"Object"!==i&&"object"!==i?t[r]=n[r]:t[r]=e(t[r],n[r])}return t},t.p_urlParse=function(){var e=window.location.search,t={},n=e.match(/[?&][^?&]+=[^?&]+/g);return n&&n.forEach(function(e){var n=e.substring(1).split("="),r=decodeURIComponent(n[0]),i=decodeURIComponent(n[1]);t[r]=i}),t},t.stopEvent=function(e){e&&(e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation())}},function(e,t,n){"use strict";function r(e){e.d_history_index>0&&e.d_history_index--,e.$nextTick(function(){var t=e.textarea_selectionEnds[e.d_history_index];e.getTextareaDom().selectionStart=t,e.getTextareaDom().selectionEnd=t}),e.getTextareaDom().focus()}function i(e){e.d_history_index ",subfix:"",str:t.d_words.tl_quote},link:{prefix:"[](",subfix:")",str:t.d_words.tl_link},imagelink:{prefix:"",str:t.d_words.tl_image},table:{prefix:"",subfix:"",str:"|column1|column2|column3|\n|-|-|-|\n|content1|content2|content3|\n"},aligncenter:{prefix:"::: hljs-center\n\n",subfix:"\n\n:::\n",str:t.d_words.tl_aligncenter},alignright:{prefix:"::: hljs-right\n\n",subfix:"\n\n:::\n",str:t.d_words.tl_alignright},alignleft:{prefix:"::: hljs-left\n\n",subfix:"\n\n:::\n",str:t.d_words.tl_alignleft}};n.hasOwnProperty(e)&&t.insertText(t.getTextareaDom(),n[e]);var d={undo:r,redo:i,trash:o,save:a,ol:s,ul:l,removeLine:c,code:u};d.hasOwnProperty(e)&&d[e](t)}},function(e,t,n){"use strict";function r(e){e.s_html_code=!e.s_html_code,e.htmlcode&&e.htmlcode(e.s_html_code,e.d_value)}function i(e){e.s_help=!e.s_help,e.helptoggle&&e.helptoggle(e.s_help,e.d_value)}function o(e){var t=e.$refs.vReadModel;t.requestFullscreen?t.requestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():t.msRequestFullscreen&&t.msRequestFullscreen()}function a(e){e.s_preview_switch=!e.s_preview_switch,e.previewtoggle&&e.previewtoggle(e.s_preview_switch,e.d_value)}function s(e){e.s_fullScreen=!e.s_fullScreen,e.fullscreen&&e.fullscreen(e.s_fullScreen,e.d_value)}function l(e){e.s_subfield=!e.s_subfield,e.s_preview_switch=e.s_subfield,e.previewtoggle&&e.previewtoggle(e.s_preview_switch,e.d_value),e.subfieldtoggle&&e.subfieldtoggle(e.s_subfield,e.d_value)}function c(e){e.s_navigation=!e.s_navigation,e.s_navigation&&(e.s_preview_switch=!0),e.navigationtoggle&&e.navigationtoggle(e.s_navigation,e.d_value),e.s_navigation&&e.getNavigation(e,!1)}Object.defineProperty(t,"__esModule",{value:!0}),t.toolbar_right_click=function(e,t){var n={help:i,html:r,read:o,preview:a,fullscreen:s,navigation:c,subfield:l};n.hasOwnProperty(e)&&n[e](t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CONFIG=void 0;var r=b(n(116)),i=b(n(117)),o=b(n(118)),a=b(n(119)),s=b(n(120)),l=b(n(121)),c=b(n(122)),u=b(n(123)),d=(b(n(124)),b(n(125))),p=b(n(126)),f=b(n(127)),h=b(n(128)),g=b(n(129)),m=b(n(130)),_=b(n(131)),v=b(n(132)),y=b(n(133));function b(e){return e&&e.__esModule?e:{default:e}}t.CONFIG={"help_zh-CN":r.default,"help_zh-TW":i.default,"help_pt-BR":s.default,help_en:o.default,help_fr:a.default,help_ru:l.default,help_de:c.default,help_ja:u.default,"words_zh-CN":d.default,"words_zh-TW":p.default,"words_pt-BR":g.default,words_en:f.default,words_fr:h.default,words_ru:m.default,words_de:_.default,words_ja:v.default,words_kr:y.default,langList:["en","zh-CN","zh-TW","fr","pt-BR","ru","de","ja","kr"],toolbars:{bold:!0,italic:!0,header:!0,underline:!0,strikethrough:!0,mark:!0,superscript:!0,subscript:!0,quote:!0,ol:!0,ul:!0,link:!0,imagelink:!0,code:!0,table:!0,undo:!0,redo:!0,trash:!0,save:!0,alignleft:!0,aligncenter:!0,alignright:!0,navigation:!0,subfield:!0,fullscreen:!0,readmodel:!0,htmlcode:!0,help:!0,preview:!0}}},function(e,t){e.exports='@[toc](目录)\r\n\r\nMarkdown 语法简介\r\n=============\r\n> [语法详解](http://commonmark.org/help/)\r\n\r\n## **目录**\r\n```\r\n@[toc](目录)\r\n```\r\n\r\n## **粗体**\r\n```\r\n**粗体**\r\n__粗体__\r\n```\r\n## *斜体*\r\n```\r\n*斜体*\r\n_斜体_\r\n```\r\n## 标题\r\n```\r\n# 一级标题 #\r\n一级标题\r\n====\r\n## 二级标题 ##\r\n二级标题\r\n----\r\n### 三级标题 ###\r\n#### 四级标题 ####\r\n##### 五级标题 #####\r\n###### 六级标题 ######\r\n```\r\n## 分割线\r\n```\r\n***\r\n---\r\n```\r\n****\r\n## ^上^角~下~标\r\n```\r\n上角标 x^2^\r\n下角标 H~2~0\r\n```\r\n## ++下划线++ ~~中划线~~\r\n```\r\n++下划线++\r\n~~中划线~~\r\n```\r\n## ==标记==\r\n```\r\n==标记==\r\n```\r\n## 段落引用\r\n```\r\n> 一级\r\n>> 二级\r\n>>> 三级\r\n...\r\n```\r\n\r\n## 列表\r\n```\r\n有序列表\r\n1.\r\n2.\r\n3.\r\n...\r\n无序列表\r\n-\r\n-\r\n...\r\n```\r\n\r\n## 任务列表\r\n\r\n- [x] 已完成任务\r\n- [ ] 未完成任务\r\n\r\n```\r\n- [x] 已完成任务\r\n- [ ] 未完成任务\r\n```\r\n\r\n## 链接\r\n```\r\n[链接](www.baidu.com)\r\n\r\n```\r\n## 代码段落\r\n\\``` type\r\n\r\n代码段落\r\n\r\n\\```\r\n\r\n\\` 代码块 \\`\r\n\r\n```c++\r\nint main()\r\n{\r\n printf("hello world!");\r\n}\r\n```\r\n`code`\r\n## 表格(table)\r\n```\r\n| 标题1 | 标题2 | 标题3 |\r\n| :-- | :--: | ----: |\r\n| 左对齐 | 居中 | 右对齐 |\r\n| ---------------------- | ------------- | ----------------- |\r\n```\r\n| 标题1 | 标题2 | 标题3 |\r\n| :-- | :--: | ----: |\r\n| 左对齐 | 居中 | 右对齐 |\r\n| ---------------------- | ------------- | ----------------- |\r\n## 脚注(footnote)\r\n```\r\nhello[^hello]\r\n```\r\n\r\n见底部脚注[^hello]\r\n\r\n[^hello]: 一个注脚\r\n\r\n## 表情(emoji)\r\n[参考网站: https://www.webpagefx.com/tools/emoji-cheat-sheet/](https://www.webpagefx.com/tools/emoji-cheat-sheet/)\r\n```\r\n:laughing:\r\n:blush:\r\n:smiley:\r\n:)\r\n...\r\n```\r\n:laughing::blush::smiley::)\r\n\r\n## $\\KaTeX$公式\r\n\r\n我们可以渲染公式例如:$x_i + y_i = z_i$和$\\sum_{i=1}^n a_i=0$\r\n我们也可以单行渲染\r\n$$\\sum_{i=1}^n a_i=0$$\r\n具体可参照[katex文档](http://www.intmath.com/cg5/katex-mathjax-comparison.php)和[katex支持的函数](https://github.com/Khan/KaTeX/wiki/Function-Support-in-KaTeX)以及[latex文档](https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference)\r\n\r\n## 布局\r\n\r\n::: hljs-left\r\n`::: hljs-left`\r\n`居左`\r\n`:::`\r\n:::\r\n\r\n::: hljs-center\r\n`::: hljs-center`\r\n`居中`\r\n`:::`\r\n:::\r\n\r\n::: hljs-right\r\n`::: hljs-right`\r\n`居右`\r\n`:::`\r\n:::\r\n\r\n## 定义\r\n\r\n术语一\r\n\r\n: 定义一\r\n\r\n包含有*行内标记*的术语二\r\n\r\n: 定义二\r\n\r\n {一些定义二的文字或代码}\r\n\r\n 定义二的第三段\r\n\r\n```\r\n术语一\r\n\r\n: 定义一\r\n\r\n包含有*行内标记*的术语二\r\n\r\n: 定义二\r\n\r\n {一些定义二的文字或代码}\r\n\r\n 定义二的第三段\r\n\r\n```\r\n\r\n## abbr\r\n*[HTML]: Hyper Text Markup Language\r\n*[W3C]: World Wide Web Consortium\r\nHTML 规范由 W3C 维护\r\n```\r\n*[HTML]: Hyper Text Markup Language\r\n*[W3C]: World Wide Web Consortium\r\nHTML 规范由 W3C 维护\r\n```\r\n\r\n'},function(e,t){e.exports='@[toc](目錄)\r\n\r\nMarkdown 語法簡介\r\n=============\r\n> [語法詳解](http://commonmark.org/help/)\r\n\r\n## **粗體**\r\n```\r\n**粗體**\r\n__粗體__\r\n```\r\n## *斜體*\r\n```\r\n*斜體*\r\n_斜體_\r\n```\r\n## 標題\r\n```\r\n# 一級標題 #\r\n一級標題\r\n====\r\n## 二級標題 ##\r\n二級標題\r\n----\r\n### 三級標題 ###\r\n#### 四級標題 ####\r\n##### 五級標題 #####\r\n###### 六級標題 ######\r\n```\r\n## 分割線\r\n```\r\n***\r\n---\r\n```\r\n****\r\n## ^上^角~下~標\r\n```\r\n上角標 x^2^\r\n下角標 H~2~0\r\n```\r\n## ++下劃線++ ~~中劃線~~\r\n```\r\n++下劃線++\r\n~~中劃線~~\r\n```\r\n## ==標記==\r\n```\r\n==標記==\r\n```\r\n## 段落引用\r\n```\r\n> 一級\r\n>> 二級\r\n>>> 三級\r\n...\r\n```\r\n\r\n## 列表\r\n```\r\n有序列表\r\n1.\r\n2.\r\n3.\r\n...\r\n無序列表\r\n-\r\n-\r\n...\r\n```\r\n\r\n## 任務列表\r\n\r\n- [x] 已完成任務\r\n- [ ] 未完成任務\r\n\r\n```\r\n- [x] 已完成任務\r\n- [ ] 未完成任務\r\n```\r\n\r\n## 鏈接\r\n```\r\n[鏈接](www.baidu.com)\r\n\r\n```\r\n## 代碼段落\r\n\\``` type\r\n\r\n代碼段落\r\n\r\n\\```\r\n\r\n\\` 代碼塊 \\`\r\n\r\n```c++\r\nint main()\r\n{\r\n printf("hello world!");\r\n}\r\n```\r\n`code`\r\n## 表格(table)\r\n```\r\n| 標題1 | 標題2 | 標題3 |\r\n| :-- | :--: | ----: |\r\n| 左對齊 | 居中 | 右對齊 |\r\n| ---------------------- | ------------- | ----------------- |\r\n```\r\n| 標題1 | 標題2 | 標題3 |\r\n| :-- | :--: | ----: |\r\n| 左對齊 | 居中 | 右對齊 |\r\n| ---------------------- | ------------- | ----------------- |\r\n## 腳註(footnote)\r\n```\r\nhello[^hello]\r\n```\r\n\r\n見底部腳註[^hello]\r\n\r\n[^hello]: 一個註腳\r\n\r\n## 表情(emoji)\r\n[參考網站: https://www.webpagefx.com/tools/emoji-cheat-sheet/](https://www.webpagefx.com/tools/emoji-cheat-sheet/)\r\n```\r\n:laughing:\r\n:blush:\r\n:smiley:\r\n:)\r\n...\r\n```\r\n:laughing::blush::smiley::)\r\n\r\n## $\\KaTeX$公式\r\n\r\n我們可以渲染公式例如:$x_i + y_i = z_i$和$\\sum_{i=1}^n a_i=0$\r\n我們也可以單行渲染\r\n$$\\sum_{i=1}^n a_i=0$$\r\n具體可參照[katex文檔](http://www.intmath.com/cg5/katex-mathjax-comparison.php)和[katex支持的函數](https://github.com/Khan/KaTeX/wiki/Function-Support-in-KaTeX)以及[latex文檔](https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference)\r\n\r\n## 布局\r\n\r\n::: hljs-left\r\n`::: hljs-left`\r\n`居左`\r\n`:::`\r\n:::\r\n\r\n::: hljs-center\r\n`::: hljs-center`\r\n`居中`\r\n`:::`\r\n:::\r\n\r\n::: hljs-right\r\n`::: hljs-right`\r\n`居右`\r\n`:::`\r\n:::\r\n\r\n## 定義\r\n\r\n術語一\r\n\r\n: 定義一\r\n\r\n包含有*行內標記*的術語二\r\n\r\n: 定義二\r\n\r\n {一些定義二的文字或代碼}\r\n\r\n 定義二的第三段\r\n\r\n```\r\n術語一\r\n\r\n: 定義一\r\n\r\n包含有*行內標記*的術語二\r\n\r\n: 定義二\r\n\r\n {一些定義二的文字或代碼}\r\n\r\n 定義二的第三段\r\n\r\n```\r\n\r\n## abbr\r\n*[HTML]: Hyper Text Markup Language\r\n*[W3C]: World Wide Web Consortium\r\nHTML 規範由 W3C 維護\r\n```\r\n*[HTML]: Hyper Text Markup Language\r\n*[W3C]: World Wide Web Consortium\r\nHTML 規範由 W3C 維護\r\n```\r\n\r\n'},function(e,t){e.exports='@[toc](Catalog)\r\n\r\nMarkdown Guide\r\n===\r\n> Detailed: [http://commonmark.org/help/](http://commonmark.org/help/)\r\n\r\n## **Bold**\r\n```\r\n**bold**\r\n__bold__\r\n```\r\n## *Italic*\r\n```\r\n*italic*\r\n_italic_\r\n```\r\n## Header\r\n```\r\n# h1 #\r\nh1\r\n====\r\n## h2 ##\r\nh2\r\n----\r\n### h3 ###\r\n#### h4 ####\r\n##### h5 #####\r\n###### h6 ######\r\n```\r\n## Dividing line\r\n```\r\n***\r\n---\r\n```\r\n****\r\n## ^Super^script & ~Sub~script\r\n```\r\nsuper x^2^\r\nsub H~2~0\r\n```\r\n## ++Underline++ & ~~Strikethrough~~\r\n```\r\n++underline++\r\n~~strikethrough~~\r\n```\r\n## ==Mark==\r\n```\r\n==mark==\r\n```\r\n## Quote\r\n\r\n```\r\n> quote 1\r\n>> quote 2\r\n>>> quote 3\r\n...\r\n```\r\n\r\n## List\r\n```\r\nol\r\n1.\r\n2.\r\n3.\r\n...\r\n\r\nul\r\n-\r\n-\r\n...\r\n```\r\n\r\n## Todo List\r\n\r\n- [x] task 1\r\n- [ ] task 2\r\n\r\n```\r\n- [x] task 1\r\n- [ ] task 2\r\n```\r\n\r\n## Link\r\n```\r\nText Link\r\n[Text](www.baidu.com)\r\n\r\nImage Link\r\n\r\n```\r\n## Code\r\n\\``` type\r\n\r\ncode block\r\n\r\n\\```\r\n\r\n\\` code \\`\r\n\r\n```c++\r\nint main()\r\n{\r\n printf("hello world!");\r\n}\r\n```\r\n`code`\r\n\r\n## Table\r\n```\r\n| th1 | th2 | th3 |\r\n| :-- | :--: | ----: |\r\n| left | center | right |\r\n```\r\n| th1 | th2 | th3 |\r\n| :-- | :--: | ----: |\r\n| left | center | right |\r\n| ---------------------- | ------------- | ----------------- |\r\n## Footnote\r\n```\r\nhello[^hello]\r\n```\r\n\r\nLook at the bottom[^hello]\r\n\r\n[^hello]: footnote\r\n\r\n## Emojis\r\nDetailed: [https://www.webpagefx.com/tools/emoji-cheat-sheet/](https://www.webpagefx.com/tools/emoji-cheat-sheet/)\r\n```\r\n:laughing:\r\n:blush:\r\n:smiley:\r\n:)\r\n...\r\n```\r\n:laughing::blush::smiley::)\r\n\r\n## $\\KaTeX$ Mathematics\r\n\r\nWe can render formulas for example:$x_i + y_i = z_i$ and $\\sum_{i=1}^n a_i=0$\r\nWe can also single-line rendering\r\n$$\\sum_{i=1}^n a_i=0$$\r\nDetailed: [katex](http://www.intmath.com/cg5/katex-mathjax-comparison.php)和[katex function](https://github.com/Khan/KaTeX/wiki/Function-Support-in-KaTeX)以及[latex](https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference)\r\n\r\n## Layout\r\n\r\n::: hljs-left\r\n`::: hljs-left`\r\n`left`\r\n`:::`\r\n:::\r\n\r\n::: hljs-center\r\n`::: hljs-center`\r\n`center`\r\n`:::`\r\n:::\r\n\r\n::: hljs-right\r\n`::: hljs-right`\r\n`right`\r\n`:::`\r\n:::\r\n\r\n## deflist\r\n\r\nTerm 1\r\n\r\n: Definition 1\r\n\r\nTerm 2 with *inline markup*\r\n\r\n: Definition 2\r\n\r\n { some code, part of Definition 2 }\r\n\r\n Third paragraph of definition 2.\r\n\r\n```\r\nTerm 1\r\n\r\n: Definition 1\r\n\r\nTerm 2 with *inline markup*\r\n\r\n: Definition 2\r\n\r\n { some code, part of Definition 2 }\r\n\r\n Third paragraph of definition 2.\r\n\r\n```\r\n\r\n## abbr\r\n*[HTML]: Hyper Text Markup Language\r\n*[W3C]: World Wide Web Consortium\r\nThe HTML specification\r\nis maintained by the W3C.\r\n```\r\n*[HTML]: Hyper Text Markup Language\r\n*[W3C]: World Wide Web Consortium\r\nThe HTML specification\r\nis maintained by the W3C.\r\n```\r\n'},function(e,t){e.exports='@[toc](Catalogue)\r\n\r\nGuide Markdown\r\n==============\r\n> Détail : [http://commonmark.org/help/](http://commonmark.org/help/)\r\n\r\n## **Bold**\r\n```\r\n**bold**\r\n__bold__\r\n```\r\n## *Italic*\r\n```\r\n*italic*\r\n_italic_\r\n```\r\n## Header\r\n```\r\n# h1 #\r\nh1\r\n====\r\n## h2 ##\r\nh2\r\n----\r\n### h3 ###\r\n#### h4 ####\r\n##### h5 #####\r\n###### h6 ######\r\n```\r\n## Dividing line\r\n```\r\n***\r\n---\r\n```\r\n****\r\n## ^Super^script & ~Sub~script\r\n```\r\nsuper x^2^\r\nsub H~2~0\r\n```\r\n## ++Underline++ & ~~Strikethrough~~\r\n```\r\n++underline++\r\n~~strikethrough~~\r\n```\r\n## ==Mark==\r\n```\r\n==mark==\r\n```\r\n## Quote\r\n\r\n```\r\n> quote 1\r\n>> quote 2\r\n>>> quote 3\r\n...\r\n```\r\n\r\n## List\r\n```\r\nol\r\n1.\r\n2.\r\n3.\r\n...\r\n\r\nul\r\n-\r\n-\r\n...\r\n```\r\n## Link\r\n\r\n## Todo List\r\n\r\n- [x] Équipe 1\r\n- [ ] Équipe 2\r\n\r\n```\r\n- [x] Équipe 1\r\n- [ ] Équipe 2\r\n```\r\n\r\n```\r\nText Link\r\n[Text](www.baidu.com)\r\n\r\nImage Link\r\n\r\n```\r\n## Code\r\n\\``` type\r\n\r\ncode block\r\n\r\n\\```\r\n\r\n\\` code \\`\r\n\r\n```c++\r\nint main()\r\n{\r\n printf("hello world!");\r\n}\r\n```\r\n`code`\r\n\r\n## Table\r\n```\r\n| th1 | th2 | th3 |\r\n| :-- | :--: | ----: |\r\n| left | center | right |\r\n```\r\n| th1 | th2 | th3 |\r\n| :-- | :--: | ----: |\r\n| left | center | right |\r\n| ---------------------- | ------------- | ----------------- |\r\n## Footnote\r\n```\r\nhello[^hello]\r\n```\r\n\r\nLook at the bottom[^hello]\r\n\r\n[^hello]: footnote\r\n\r\n## Emojis\r\nDetailed: [https://www.webpagefx.com/tools/emoji-cheat-sheet/](https://www.webpagefx.com/tools/emoji-cheat-sheet/)\r\n```\r\n:laughing:\r\n:blush:\r\n:smiley:\r\n:)\r\n...\r\n```\r\n:laughing::blush::smiley::)\r\n\r\n## $\\KaTeX$ Mathematics\r\n\r\nWe can render formulas for example:$x_i + y_i = z_i$ and $\\sum_{i=1}^n a_i=0$\r\nWe can also single-line rendering\r\n$$\\sum_{i=1}^n a_i=0$$\r\nDetailed: [katex](http://www.intmath.com/cg5/katex-mathjax-comparison.php)和[katex function](https://github.com/Khan/KaTeX/wiki/Function-Support-in-KaTeX)以及[latex](https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference)\r\n\r\n## Layout\r\n\r\n::: hljs-left\r\n`::: hljs-left`\r\n`left`\r\n`:::`\r\n:::\r\n\r\n::: hljs-center\r\n`::: hljs-center`\r\n`center`\r\n`:::`\r\n:::\r\n\r\n::: hljs-right\r\n`::: hljs-right`\r\n`right`\r\n`:::`\r\n:::\r\n\r\n## deflist\r\n\r\nTerm 1\r\n\r\n: Definition 1\r\n\r\nTerm 2 with *inline markup*\r\n\r\n: Definition 2\r\n\r\n { some code, part of Definition 2 }\r\n\r\n Third paragraph of definition 2.\r\n\r\n```\r\nTerm 1\r\n\r\n: Definition 1\r\n\r\nTerm 2 with *inline markup*\r\n\r\n: Definition 2\r\n\r\n { some code, part of Definition 2 }\r\n\r\n Third paragraph of definition 2.\r\n\r\n```\r\n\r\n## abbr\r\n*[HTML]: Hyper Text Markup Language\r\n*[W3C]: World Wide Web Consortium\r\nThe HTML specification\r\nis maintained by the W3C.\r\n```\r\n*[HTML]: Hyper Text Markup Language\r\n*[W3C]: World Wide Web Consortium\r\nThe HTML specification\r\nis maintained by the W3C.\r\n```\r\n'},function(e,t){e.exports='@[toc](Directory)\r\n\r\nGuia Markdown\r\n===\r\n> Detalhes: [http://commonmark.org/help/](http://commonmark.org/help/)\r\n\r\n## **Negrito**\r\n```\r\n**negrito**\r\n__negrito__\r\n```\r\n## *Itálico*\r\n```\r\n*itálico*\r\n_itálico_\r\n```\r\n## Cabeçalho\r\n```\r\n# h1 #\r\nh1\r\n====\r\n## h2 ##\r\nh2\r\n----\r\n### h3 ###\r\n#### h4 ####\r\n##### h5 #####\r\n###### h6 ######\r\n```\r\n## Linha Divisora\r\n```\r\n***\r\n---\r\n```\r\n****\r\n## ^Sobre^scrito & ~Sub~scrito\r\n```\r\nsobre x^2^\r\nsub H~2~0\r\n```\r\n## ++Sublinhar++ & ~~Tachar~~\r\n```\r\n++sublinhar++\r\n~~tachar~~\r\n```\r\n## ==Marcador==\r\n```\r\n==marcador==\r\n```\r\n## Citação\r\n\r\n```\r\n> citação 1\r\n>> citação 2\r\n>>> citação 3\r\n...\r\n```\r\n\r\n## Listas\r\n```\r\nlista Numerada\r\n1.\r\n2.\r\n3.\r\n...\r\n\r\nlista com marcadores\r\n-\r\n-\r\n...\r\n```\r\n\r\n## Todo Listas\r\n\r\n- [x] Tarefa 1\r\n- [ ] Tarefa 2\r\n\r\n```\r\n- [x] Tarefa 1\r\n- [ ] Tarefa 2\r\n```\r\n\r\n## Link\r\n```\r\nLink Texto\r\n[Text](www.baidu.com)\r\n\r\nLink Imagem\r\n\r\n```\r\n## Código\r\n\\``` tipo\r\n\r\nbloco de código\r\n\r\n\\```\r\n\r\n\\` código \\`\r\n\r\n```c++\r\nint main()\r\n{\r\n printf("hello world!");\r\n}\r\n```\r\n`code`\r\n\r\n## Tabela\r\n```\r\n| th1 | th2 | th3 |\r\n| :-- | :--: | ----: |\r\n| esquerda | centro | direita |\r\n```\r\n| th1 | th2 | th3 |\r\n| :-- | :--: | ----: |\r\n| esquerda | centro | direita |\r\n| ---------------------- | ------------- | ----------------- |\r\n## Rodapé\r\n```\r\nolá[^olá]\r\n```\r\n\r\nOlhe para baixo[^olá]\r\n\r\n[^olá]: rodapé\r\n\r\n## Emojis\r\nDetalhes: [https://www.webpagefx.com/tools/emoji-cheat-sheet/](https://www.webpagefx.com/tools/emoji-cheat-sheet/)\r\n```\r\n:laughing:\r\n:blush:\r\n:smiley:\r\n:)\r\n...\r\n```\r\n:laughing::blush::smiley::)\r\n\r\n## $\\KaTeX$ Mathematics\r\n\r\nPodemos mostrar fórmulas por exemplo:$x_i + y_i = z_i$ and $\\sum_{i=1}^n a_i=0$\r\nPodemos também mostrar em uma única linha:\r\n$$\\sum_{i=1}^n a_i=0$$\r\nDetalhes: [katex](http://www.intmath.com/cg5/katex-mathjax-comparison.php)和[katex function](https://github.com/Khan/KaTeX/wiki/Function-Support-in-KaTeX)以及[latex](https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference)\r\n\r\n## Layout\r\n\r\n::: hljs-left\r\n`::: hljs-left`\r\n`esquerda`\r\n`:::`\r\n:::\r\n\r\n::: hljs-center\r\n`::: hljs-center`\r\n`centro`\r\n`:::`\r\n:::\r\n\r\n::: hljs-right\r\n`::: hljs-right`\r\n`direita`\r\n`:::`\r\n:::\r\n\r\n## Definições\r\n\r\nTermo 1\r\n\r\n: Definição 1\r\n\r\nTermo 2 com *markup inline*\r\n\r\n: Definição 2\r\n\r\n { um pouco de código, parte da Definição 2 }\r\n\r\n Terceiro parágrafo da definição 2.\r\n\r\n```\r\nTermo 1\r\n\r\n: Definição 1\r\n\r\nTermo 2 com *markup inline*\r\n\r\n: Definição 2\r\n\r\n { um pouco de código, parte da Definição 2 }\r\n\r\n Terceiro parágrafo da definição 2.\r\n\r\n```\r\n\r\n## Abreviações\r\n*[HTML]: Hyper Text Markup Language\r\n*[W3C]: World Wide Web Consortium\r\nA especificação HTML\r\né mantida pela W3C.\r\n```\r\n*[HTML]: Hyper Text Markup Language\r\n*[W3C]: World Wide Web Consortium\r\nThe HTML specification\r\né mantida pela W3C.\r\n```\r\n'},function(e,t){e.exports='@[toc](Catalog) \r\n \r\nMarkdown помощь \r\n=== \r\n> Подробнее: [http://commonmark.org/help/](http://commonmark.org/help/) \r\n \r\n## **Полужирный** \r\n``` \r\n**Полужирный** \r\n__Полужирный__ \r\n``` \r\n## *Курсив* \r\n``` \r\n*Курсив* \r\n_Курсив_ \r\n``` \r\n## Заголовок \r\n``` \r\n# h1 # \r\nh1 \r\n==== \r\n## h2 ## \r\nh2 \r\n---- \r\n### h3 ### \r\n#### h4 #### \r\n##### h5 ##### \r\n###### h6 ###### \r\n``` \r\n## Разделительная линия \r\n``` \r\n*** \r\n--- \r\n``` \r\n**** \r\n## ^Верхний^индекс & ~Нижний~индекс \r\n``` \r\nверхний x^2^ \r\nнижний H~2~0 \r\n``` \r\n## ++Подчеркнутый++ & ~~Зачеркнутый~~ \r\n``` \r\n++Подчеркнутый++ \r\n~~Зачеркнутый~~ \r\n``` \r\n## ==Отметка== \r\n``` \r\n==Отметка== \r\n``` \r\n## Цитата \r\n \r\n``` \r\n> Цитата \r\n>> Цитата 2 \r\n>>> Цитата 3 \r\n... \r\n``` \r\n \r\n## Список \r\n``` \r\nol \r\n1. \r\n2. \r\n3. \r\n... \r\n \r\nul \r\n- \r\n- \r\n... \r\n``` \r\n \r\n## Список задач \r\n \r\n- [x] Задача 1 \r\n- [ ] Задача 2 \r\n \r\n``` \r\n- [x] Задача 1 \r\n- [ ] Задача 2 \r\n``` \r\n \r\n## Ссылка \r\n``` \r\nСсылка \r\n[Текст](www.baidu.com) \r\n \r\nСсылка изображения \r\n \r\n``` \r\n## Код \r\n\\``` type \r\n \r\ncode block \r\n \r\n\\``` \r\n \r\n\\` code \\` \r\n \r\n```c++ \r\nint main() \r\n{ \r\n printf("hello world!");} \r\n``` \r\n`code` \r\n \r\n## Таблица \r\n``` \r\n| th1 | th2 | th3 | \r\n| :-- | :--: | ----: | \r\n| left | center | right | \r\n``` \r\n| th1 | th2 | th3 | \r\n| :-- | :--: | ----: | \r\n| left | center | right | \r\n| ---------------------- | ------------- | ----------------- | \r\n## Сноска \r\n``` \r\nПривет[^Привет] \r\n``` \r\n \r\nТут что-то непонятное[^Привет] \r\n \r\n[^Привет]: А тут объяснение \r\n \r\n## Emojis \r\nПодробнее: [https://www.webpagefx.com/tools/emoji-cheat-sheet/](https://www.webpagefx.com/tools/emoji-cheat-sheet/) \r\n``` \r\n:laughing: \r\n:blush: \r\n:smiley: \r\n:) \r\n... \r\n``` \r\n:laughing::blush::smiley::) \r\n \r\n## $\\KaTeX$ Mathematics \r\n \r\nМожно выводить такие формулы:$x_i + y_i = z_i$ and $\\sum_{i=1}^n a_i=0$ \r\nА также в одну строку:\r\n$$\\sum_{i=1}^n a_i=0$$ \r\nПодробнее: \r\n- [katex](http://www.intmath.com/cg5/katex-mathjax-comparison.php)\r\n- [katex function](https://github.com/Khan/KaTeX/wiki/Function-Support-in-KaTeX)\r\n- [latex](https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference) \r\n \r\n## Разметка\r\n \r\n::: hljs-left \r\n`::: hljs-left` \r\n`left` \r\n`:::` \r\n::: \r\n \r\n::: hljs-center \r\n`::: hljs-center` \r\n`center` \r\n`:::` \r\n::: \r\n \r\n::: hljs-right \r\n`::: hljs-right` \r\n`right` \r\n`:::` \r\n::: \r\n \r\n## Список определений\r\n \r\nТермин 1 \r\n \r\n: Определение 1 \r\n \r\nТермин 2 с использованием *разметки*\r\n \r\n: Определение 2 \r\n \r\n { Какой-нибудь код, часть определения 2 } \r\n Третий параграф определения 2. \r\n``` \r\nТермин 1 \r\n \r\n: Определение 1 \r\n \r\nТермин 2 с использованием *разметки*\r\n \r\n: Определение 2 \r\n \r\n { Какой-нибудь код, часть определения 2 } \r\n Третий параграф определения 2. \r\n``` \r\n \r\n## Сокращения\r\n*[HTML]: Hyper Text Markup Language \r\n*[W3C]: World Wide Web Consortium \r\nThe HTML specification \r\nis maintained by the W3C. \r\n``` \r\n*[HTML]: Hyper Text Markup Language \r\n*[W3C]: World Wide Web Consortium \r\nThe HTML specification \r\nis maintained by the W3C. \r\n```\r\n'},function(e,t){e.exports='@[toc](Catalog)\r\n\r\nMarkdown Handbuch\r\n===\r\n> Details: [http://commonmark.org/help/](http://commonmark.org/help/)\r\n\r\n## **Fett**\r\n```\r\n**fett**\r\n__fett__\r\n```\r\n## *Kursiv*\r\n```\r\n*kursiv*\r\n_kursiv_\r\n```\r\n## Überschriften\r\n```\r\n# h1 #\r\nh1\r\n====\r\n## h2 ##\r\nh2\r\n----\r\n### h3 ###\r\n#### h4 ####\r\n##### h5 #####\r\n###### h6 ######\r\n```\r\n## Trennlinien\r\n```\r\n***\r\n---\r\n```\r\n****\r\n## ^Hoch^gestellt & ~Tief~gestellt\r\n```\r\nhochgestellt x^2^\r\ntiefgestellt H~2~0\r\n```\r\n## ++Unterstrichen++ & ~~Durchgestrichen~~\r\n```\r\n++unterstrichen++\r\n~~durchgestrichen~~\r\n```\r\n## ==Markiert==\r\n```\r\n==markiert==\r\n```\r\n## Zitat\r\n\r\n```\r\n> zitat 1\r\n>> zitat 2\r\n>>> zitat 3\r\n...\r\n```\r\n\r\n## Liste\r\n```\r\nol\r\n1.\r\n2.\r\n3.\r\n...\r\n\r\nul\r\n-\r\n-\r\n...\r\n```\r\n\r\n## Todo Liste\r\n\r\n- [x] aufgabe 1\r\n- [ ] aufgabe 2\r\n\r\n```\r\n- [x] aufgabe 1\r\n- [ ] aufgabe 2\r\n```\r\n\r\n## Link\r\n```\r\nText Link\r\n[Text](www.baidu.com)\r\n\r\nLink mit Bild\r\n\r\n```\r\n## Code\r\n\\``` Typ\r\n\r\nCodeblock\r\n\r\n\\```\r\n\r\n\\` code \\`\r\n\r\n```c++\r\nint main()\r\n{\r\n printf("hello world!");\r\n}\r\n```\r\n`code`\r\n\r\n## Tabelle\r\n```\r\n| th1 | th2 | th3 |\r\n| :-- | :--: | ----: |\r\n| links | mitte | rechts |\r\n```\r\n| th1 | th2 | th3 |\r\n| :-- | :--: | ----: |\r\n| links | mitte | rechts |\r\n| ---------------------- | ------------- | ----------------- |\r\n## Fußnote\r\n```\r\nhallo[^hallo]\r\n```\r\n\r\nSchau zum unteren Rand[^hallo]\r\n\r\n[^hallo]: fussnote\r\n\r\n## Emojis\r\nDetails: [https://www.webpagefx.com/tools/emoji-cheat-sheet/](https://www.webpagefx.com/tools/emoji-cheat-sheet/)\r\n```\r\n:laughing:\r\n:blush:\r\n:smiley:\r\n:)\r\n...\r\n```\r\n:laughing::blush::smiley::)\r\n\r\n## $\\KaTeX$ Mathematik\r\n\r\nFormeln lassen sich darstellen z.b. :$x_i + y_i = z_i$ und $\\sum_{i=1}^n a_i=0$\r\nFormeln können auf einer eigenen Zeile gerendert werden\r\n$$\\sum_{i=1}^n a_i=0$$\r\nDetails: [katex](http://www.intmath.com/cg5/katex-mathjax-comparison.php)和[katex function](https://github.com/Khan/KaTeX/wiki/Function-Support-in-KaTeX)以及[latex](https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference)\r\n\r\n## Layout\r\n\r\n::: hljs-left\r\n`::: hljs-left`\r\n`links`\r\n`:::`\r\n:::\r\n\r\n::: hljs-center\r\n`::: hljs-center`\r\n`mitte`\r\n`:::`\r\n:::\r\n\r\n::: hljs-right\r\n`::: hljs-right`\r\n`rechts`\r\n`:::`\r\n:::\r\n\r\n## Liste von Definitionen\r\n\r\nTerm 1\r\n\r\n: Definition 1\r\n\r\nTerm 2 mit *inline markup*\r\n\r\n: Definition 2\r\n\r\n { ein wenig code, teil von Definition 2 }\r\n\r\n Dritter Absatz von Definition 2.\r\n\r\n```\r\nTerm 1\r\n\r\n: Definition 1\r\n\r\nTerm 2 mit *inline markup*\r\n\r\n: Definition 2\r\n\r\n { ein wenig code, teil von Definition 2 }\r\n\r\n Dritter Absatz von Definition 2.\r\n\r\n```\r\n\r\n## Abkürzungen\r\n*[HTML]: Hyper Text Markup Language\r\n*[W3C]: World Wide Web Consortium\r\nDie HTML Spezifikation\r\nwird gepflegt vom W3C.\r\n```\r\n*[HTML]: Hyper Text Markup Language\r\n*[W3C]: World Wide Web Consortium\r\nDie HTML Spezifikation\r\nwird gepflegt vom W3C.\r\n```\r\n'},function(e,t){e.exports='@[toc](目次)\r\n\r\nMarkdown 文法ガイド\r\n===\r\n> Detailed: [http://commonmark.org/help/](http://commonmark.org/help/)\r\n\r\n## **太字**\r\n```\r\n**太字**\r\n__太字__\r\n```\r\n## *斜体*\r\n```\r\n*斜体*\r\n_斜体_\r\n```\r\n## 見出し\r\n```\r\n# h1 #\r\nh1\r\n====\r\n## h2 ##\r\nh2\r\n----\r\n### h3 ###\r\n#### h4 ####\r\n##### h5 #####\r\n###### h6 ######\r\n```\r\n## 横線\r\n```\r\n***\r\n---\r\n```\r\n****\r\n## ^上付き^文字 & ~下付き~文字\r\n```\r\nsuper x^2^\r\nsub H~2~0\r\n```\r\n## ++下線++ & ~~取り消し線~~\r\n```\r\n++underline++\r\n~~strikethrough~~\r\n```\r\n## ==蛍光ペン==\r\n```\r\n==mark==\r\n```\r\n## 引用\r\n\r\n```\r\n> quote 1\r\n>> quote 2\r\n>>> quote 3\r\n...\r\n```\r\n\r\n## リスト\r\n```\r\n番号付きリスト\r\n1.\r\n2.\r\n3.\r\n...\r\n\r\n箇条書きリスト\r\n-\r\n-\r\n...\r\n```\r\n\r\n## Todoリスト\r\n\r\n- [x] task 1\r\n- [ ] task 2\r\n\r\n```\r\n- [x] task 1\r\n- [ ] task 2\r\n```\r\n\r\n## リンク\r\n```\r\nText Link\r\n[Text](www.baidu.com)\r\n\r\nImage Link\r\n\r\n```\r\n## コード\r\n\\``` type\r\n\r\ncode block\r\n\r\n\\```\r\n\r\n\\` code \\`\r\n\r\n```c++\r\nint main()\r\n{\r\n printf("hello world!");\r\n}\r\n```\r\n`code`\r\n\r\n## 表\r\n```\r\n| th1 | th2 | th3 |\r\n| :-- | :--: | ----: |\r\n| left | center | right |\r\n```\r\n| th1 | th2 | th3 |\r\n| :-- | :--: | ----: |\r\n| left | center | right |\r\n| ---------------------- | ------------- | ----------------- |\r\n\r\n## 脚注\r\n```\r\nhello[^hello]\r\n```\r\n\r\nLook at the bottom[^hello]\r\n\r\n[^hello]: footnote\r\n\r\n## 絵文字\r\n> Detailed: [https://www.webpagefx.com/tools/emoji-cheat-sheet/](https://www.webpagefx.com/tools/emoji-cheat-sheet/)\r\n```\r\n:laughing:\r\n:blush:\r\n:smiley:\r\n:)\r\n...\r\n```\r\n:laughing::blush::smiley::)\r\n\r\n## $\\KaTeX$ 数式\r\n> Detailed: [KaTeXマニュアル](http://www.intmath.com/cg5/katex-mathjax-comparison.php)、[KaTeX function](https://github.com/Khan/KaTeX/wiki/Function-Support-in-KaTeX)、[LaTeXマニュアル](https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference)\r\n\r\nWe can render formulas for example:$x_i + y_i = z_i$ and $\\sum_{i=1}^n a_i=0$ \r\nWe can also single-line rendering\r\n$$\\sum_{i=1}^n a_i=0$$\r\n\r\n## レイアウト\r\n\r\n::: hljs-left\r\n`::: hljs-left`\r\n`left`\r\n`:::`\r\n:::\r\n\r\n::: hljs-center\r\n`::: hljs-center`\r\n`center`\r\n`:::`\r\n:::\r\n\r\n::: hljs-right\r\n`::: hljs-right`\r\n`right`\r\n`:::`\r\n:::\r\n\r\n## 定義リスト\r\n\r\nTerm 1\r\n\r\n: Definition 1\r\n\r\nTerm 2 with *inline markup*\r\n\r\n: Definition 2\r\n\r\n { some code, part of Definition 2 }\r\n\r\n Third paragraph of definition 2.\r\n\r\n```\r\nTerm 1\r\n\r\n: Definition 1\r\n\r\nTerm 2 with *inline markup*\r\n\r\n: Definition 2\r\n\r\n { some code, part of Definition 2 }\r\n\r\n Third paragraph of definition 2.\r\n\r\n```\r\n\r\n## abbr\r\n*[HTML]: Hyper Text Markup Language\r\n*[W3C]: World Wide Web Consortium\r\nThe HTML specification\r\nis maintained by the W3C.\r\n```\r\n*[HTML]: Hyper Text Markup Language\r\n*[W3C]: World Wide Web Consortium\r\nThe HTML specification\r\nis maintained by the W3C.\r\n```\r\n'},function(e,t){e.exports='@[toc](Catalog)\r\n\r\n\r\n마크다운 가이드\r\n===\r\n> 자세히 보기: [http://commonmark.org/help/](http://commonmark.org/help/)\r\n\r\n## **볼드체(굵게)**\r\n```\r\n**볼드체**\r\n__볼드체__\r\n```\r\n## *이탈릭체(기울임꼴)*\r\n```\r\n*이탈릭체*\r\n_이탈릭체_\r\n```\r\n## 헤더\r\n```\r\n# h1 #\r\nh1\r\n====\r\n## h2 ##\r\nh2\r\n----\r\n### h3 ###\r\n#### h4 ####\r\n##### h5 #####\r\n###### h6 ######\r\n```\r\n## 구분선\r\n```\r\n***\r\n---\r\n```\r\n****\r\n## ^위^첨자 & ~아래~첨자\r\n```\r\n위첨자 x^2^\r\n아래첨자 H~2~0\r\n```\r\n## ++밑줄++ & ~~취소선~~\r\n```\r\n++밑줄++\r\n~~취소선~~\r\n```\r\n## ==마커==\r\n```\r\n==마커==\r\n```\r\n## 인용\r\n\r\n```\r\n> quote 1\r\n>> quote 2\r\n>>> quote 3\r\n...\r\n```\r\n\r\n## 리스트\r\n```\r\nol\r\n1.\r\n2.\r\n3.\r\n...\r\n\r\nul\r\n-\r\n-\r\n...\r\n```\r\n\r\n## 할일\r\n\r\n- [x] task 1\r\n- [ ] task 2\r\n\r\n```\r\n- [x] task 1\r\n- [ ] task 2\r\n```\r\n\r\n## 링크\r\n```\r\n텍스트 링크\r\n[Text](www.baidu.com)\r\n\r\n이미지 링크\r\n\r\n```\r\n## 코드블럭\r\n\\``` type\r\n\r\ncode block\r\n\r\n\\```\r\n\r\n\\` code \\`\r\n\r\n```c++\r\nint main()\r\n{\r\n printf("hello world!");\r\n}\r\n```\r\n`code`\r\n\r\n## 테이블\r\n```\r\n| th1 | th2 | th3 |\r\n| :-- | :--: | ----: |\r\n| left | center | right |\r\n```\r\n| th1 | th2 | th3 |\r\n| :-- | :--: | ----: |\r\n| left | center | right |\r\n| ---------------------- | ------------- | ----------------- |\r\n## Footnote\r\n```\r\nhello[^hello]\r\n```\r\n\r\nLook at the bottom[^hello]\r\n\r\n[^hello]: footnote\r\n\r\n## 이모티콘\r\nDetailed: [https://www.webpagefx.com/tools/emoji-cheat-sheet/](https://www.webpagefx.com/tools/emoji-cheat-sheet/)\r\n```\r\n:laughing:\r\n:blush:\r\n:smiley:\r\n:)\r\n...\r\n```\r\n:laughing::blush::smiley::)\r\n\r\n## $\\KaTeX$ 수학공식\r\n\r\n우리는 다음과 같이 함수를 만들 수 있습니다.:$x_i + y_i = z_i$ and $\\sum_{i=1}^n a_i=0$\r\n단일 항으로도 가능합니다.\r\n$$\\sum_{i=1}^n a_i=0$$\r\nDetailed: [katex](http://www.intmath.com/cg5/katex-mathjax-comparison.php) and [katex function](https://github.com/Khan/KaTeX/wiki/Function-Support-in-KaTeX) and [latex](https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference)\r\n\r\n## 레이아웃\r\n\r\n::: hljs-left\r\n`::: hljs-left`\r\n`left`\r\n`:::`\r\n:::\r\n\r\n::: hljs-center\r\n`::: hljs-center`\r\n`center`\r\n`:::`\r\n:::\r\n\r\n::: hljs-right\r\n`::: hljs-right`\r\n`right`\r\n`:::`\r\n:::\r\n\r\n## deflist\r\n\r\nTerm 1\r\n\r\n: Definition 1\r\n\r\nTerm 2 with *inline markup*\r\n\r\n: Definition 2\r\n\r\n { some code, part of Definition 2 }\r\n\r\n Third paragraph of definition 2.\r\n\r\n```\r\nTerm 1\r\n\r\n: Definition 1\r\n\r\nTerm 2 with *inline markup*\r\n\r\n: Definition 2\r\n\r\n { some code, part of Definition 2 }\r\n\r\n Third paragraph of definition 2.\r\n\r\n```\r\n\r\n## abbr\r\n*[HTML]: Hyper Text Markup Language\r\n*[W3C]: World Wide Web Consortium\r\nThe HTML specification\r\nis maintained by the W3C.\r\n```\r\n*[HTML]: Hyper Text Markup Language\r\n*[W3C]: World Wide Web Consortium\r\nThe HTML specification\r\nis maintained by the W3C.\r\n```\r\n'},function(e){e.exports=JSON.parse('{"start_editor":"开始编辑...","navigation_title":"导航目录","tl_bold":"粗体","tl_italic":"斜体","tl_header":"标题","tl_header_one":"一级标题","tl_header_two":"二级标题","tl_header_three":"三级标题","tl_header_four":"四级标题","tl_header_five":"五级标题","tl_header_six":"六级标题","tl_underline":"下划线","tl_strikethrough":"中划线","tl_mark":"标记","tl_superscript":"上角标","tl_subscript":"下角标","tl_quote":"段落引用","tl_ol":"有序列表","tl_ul":"无序列表","tl_link":"链接","tl_image":"添加图片链接","tl_code":"代码块","tl_table":"表格","tl_undo":"上一步","tl_redo":"下一步","tl_trash":"清空","tl_save":"保存","tl_navigation_on":"开启标题导航","tl_navigation_off":"关闭标题导航","tl_preview":"预览","tl_aligncenter":"居中","tl_alignleft":"居左","tl_alignright":"居右","tl_edit":"编辑","tl_single_column":"单栏","tl_double_column":"双栏","tl_fullscreen_on":"全屏编辑","tl_fullscreen_off":"退出全屏","tl_read":"沉浸式阅读","tl_html_on":"查看html文本","tl_html_off":"返回markdown文本","tl_help":"markdown语法帮助","tl_upload":"上传图片","tl_upload_remove":"删除","tl_popup_link_title":"添加链接","tl_popup_link_text":"链接描述","tl_popup_link_addr":"链接地址","tl_popup_img_link_title":"添加图片","tl_popup_img_link_text":"图片描述","tl_popup_img_link_addr":"图片链接","tl_popup_link_sure":"确定","tl_popup_link_cancel":"取消"}')},function(e){e.exports=JSON.parse('{"start_editor":"開始編輯...","navigation_title":"導航目錄","tl_bold":"粗體","tl_italic":"斜體","tl_header":"標題","tl_header_one":"一級標題","tl_header_two":"二級標題","tl_header_three":"三級標題","tl_header_four":"四級標題","tl_header_five":"五級標題","tl_header_six":"六級標題","tl_underline":"下劃線","tl_strikethrough":"中劃線","tl_mark":"標記","tl_superscript":"上角標","tl_subscript":"下角標","tl_quote":"段落引用","tl_ol":"有序列表","tl_ul":"無序列表","tl_link":"鏈接","tl_image":"添加圖片鏈接","tl_code":"代碼塊","tl_table":"表格","tl_undo":"上一步","tl_redo":"下一步","tl_trash":"清空","tl_save":"保存","tl_navigation_on":"開啟標題導航","tl_navigation_off":"關閉標題導航","tl_preview":"預覽","tl_aligncenter":"居中","tl_alignleft":"居左","tl_alignright":"居右","tl_edit":"編輯","tl_single_column":"單欄","tl_double_column":"雙欄","tl_fullscreen_on":"全屏編輯","tl_fullscreen_off":"退出全屏","tl_read":"沈浸式閱讀","tl_html_on":"查看html文本","tl_html_off":"返回markdown文本","tl_help":"markdown語法幫助","tl_upload":"上傳圖片","tl_upload_remove":"刪除","tl_popup_link_title":"添加鏈接","tl_popup_link_text":"鏈接描述","tl_popup_link_addr":"鏈接地址","tl_popup_img_link_title":"添加圖片","tl_popup_img_link_text":"圖片描述","tl_popup_img_link_addr":"圖片鏈接","tl_popup_link_sure":"確定","tl_popup_link_cancel":"取消"}')},function(e){e.exports=JSON.parse('{"start_editor":"Begin editing...","navigation_title":"Navigation","tl_bold":"Bold","tl_italic":"Italic","tl_header":"Header","tl_header_one":"Header 1","tl_header_two":"Header 2","tl_header_three":"Header 3","tl_header_four":"Header 4","tl_header_five":"Header 5","tl_header_six":"Header 6","tl_underline":"Underline","tl_strikethrough":"Strikethrough","tl_mark":"Mark","tl_superscript":"Superscript","tl_subscript":"Subscript","tl_quote":"Quote","tl_ol":"Ol","tl_ul":"Ul","tl_link":"Link","tl_image":"Image Link","tl_code":"Code","tl_table":"Table","tl_undo":"Undo","tl_redo":"Redo","tl_trash":"Trash","tl_save":"Save","tl_navigation_on":"Navigation ON","tl_navigation_off":"Navigation OFF","tl_preview":"Preview","tl_aligncenter":"Center text","tl_alignleft":"Clamp text to the left","tl_alignright":"Clamp text to the right","tl_edit":"Edit","tl_single_column":"Single Column","tl_double_column":"Double Columns","tl_fullscreen_on":"FullScreen ON","tl_fullscreen_off":"FullScreen OFF","tl_read":"Read Model","tl_html_on":"HTML ON","tl_html_off":"HTML OFF","tl_help":"Markdown Guide","tl_upload":"Upload Images","tl_upload_remove":"Remove","tl_popup_link_title":"Add Link","tl_popup_link_text":"Link text","tl_popup_link_addr":"Link address","tl_popup_img_link_title":"Add Image","tl_popup_img_link_text":"Image Text","tl_popup_img_link_addr":"Image Link","tl_popup_link_sure":"Sure","tl_popup_link_cancel":"Cancel"}')},function(e){e.exports=JSON.parse('{"start_editor":"Début d\'édition...","navigation_title":"Navigation","tl_bold":"Gras","tl_italic":"Italique","tl_header":"Entête","tl_header_one":"Entête 1","tl_header_two":"Entête 2","tl_header_three":"Entête 3","tl_header_four":"Entête 4","tl_header_five":"Entête 5","tl_header_six":"Entête 6","tl_underline":"Souligné","tl_strikethrough":"Barré","tl_mark":"Mark","tl_superscript":"Exposant","tl_subscript":"Sous-exposant","tl_quote":"Quote","tl_ol":"Liste ","tl_ul":"Puce","tl_link":"Lien","tl_image":"Image Lien","tl_code":"Code","tl_table":"Table","tl_undo":"Annuler","tl_redo":"Refaire","tl_trash":"Supprimer","tl_save":"Sauver","tl_navigation_on":"Activer la navigation","tl_navigation_off":"Désactiver le navigation","tl_preview":"Previsualisé","tl_aligncenter":"Center le texte","tl_alignleft":"Férer le texte à gauche","tl_alignright":"Férer le texte à droite","tl_edit":"Editer","tl_single_column":"Seule Colonne","tl_double_column":"Colonnes Doubles","tl_fullscreen_on":"Activer le mode plein écran","tl_fullscreen_off":"Désactiver le mode plein écran","tl_read":"Lire le modèle","tl_html_on":"Activer le mode HTML","tl_html_off":"Désactiver le mode HTML","tl_help":"Guide Markdown","tl_upload":"Télécharger les images","tl_upload_remove":"Supprimer","tl_popup_link_title":"Ajouter un lien","tl_popup_link_text":"Description","tl_popup_link_addr":"Link","tl_popup_img_link_title":"Ajouter une image","tl_popup_img_link_text":"Description","tl_popup_img_link_addr":"Link","tl_popup_link_sure":"sûr","tl_popup_link_cancel":"Annuler"}')},function(e){e.exports=JSON.parse('{"start_editor":"Começar edição...","navigation_title":"Navegação","tl_bold":"Negrito","tl_italic":"Itálico","tl_header":"Cabeçalho","tl_header_one":"Cabeçalho 1","tl_header_two":"Cabeçalho 2","tl_header_three":"Cabeçalho 3","tl_header_four":"Cabeçalho 4","tl_header_five":"Cabeçalho 5","tl_header_six":"Cabeçalho 6","tl_underline":"Sublinhar","tl_strikethrough":"Tachar","tl_mark":"Marcação","tl_superscript":"Sobrescrito","tl_subscript":"Subscrito","tl_quote":"Citação","tl_ol":"Lista Numerada","tl_ul":"Lista com marcadores","tl_link":"Link","tl_image":"Link de imagem","tl_code":"Código","tl_table":"Tabela","tl_undo":"Desfazer","tl_redo":"Refazer","tl_trash":"Lixo","tl_save":"Salvar","tl_navigation_on":"Mostrar Navegação","tl_navigation_off":"Esconder Navegação","tl_preview":"Preview","tl_aligncenter":"Alinhar no centro","tl_alignleft":"Alinhar à esquerda","tl_alignright":"Alinhar à direita","tl_edit":"Editar","tl_single_column":"Coluna Única","tl_double_column":"Duas Colunas","tl_fullscreen_on":"Ligar Tela Cheia","tl_fullscreen_off":"Desligar Tela Cheia","tl_read":"Modo de Leitura","tl_html_on":"Ligar HTML","tl_html_off":"Desligar HTML","tl_help":"Guia Markdown","tl_upload":"Upload de Imagens","tl_upload_remove":"Remover","tl_popup_link_title":"Adicionar Link","tl_popup_link_text":"Descrição","tl_popup_link_addr":"Link","tl_popup_img_link_title":"Adicionar fotos","tl_popup_img_link_text":"Descrição","tl_popup_img_link_addr":"Link","tl_popup_link_sure":"Confirmar","tl_popup_link_cancel":"Cancelar"}')},function(e){e.exports=JSON.parse('{"start_editor":"Начните редактирование...","navigation_title":"Навигация","tl_bold":"Полужирный","tl_italic":"Курсив","tl_header":"Заголовки","tl_header_one":"Заголовок 1","tl_header_two":"Заголовок 2","tl_header_three":"Заголовок 3","tl_header_four":"Заголовок 4","tl_header_five":"Заголовок 5","tl_header_six":"Заголовок 6","tl_underline":"Подчеркнутый","tl_strikethrough":"Зачеркнутый","tl_mark":"Отметка","tl_superscript":"Верхний индекс","tl_subscript":"Нижний индекс","tl_quote":"Цитата","tl_ol":"Нумерованный список","tl_ul":"Список","tl_link":"Ссылка","tl_image":"Ссылка изображения","tl_code":"Код","tl_table":"Таблица","tl_undo":"Отменить","tl_redo":"Вернуть","tl_trash":"Удалить","tl_save":"Сохранить","tl_navigation_on":"Показать навигацию","tl_navigation_off":"Скрыть навигацию","tl_preview":"Предпросмотр","tl_aligncenter":"Выровнять по центру","tl_alignleft":"Выровнять по левому краю","tl_alignright":"Выровнять по правому краю","tl_edit":"Редактор","tl_single_column":"Одно поле","tl_double_column":"Два поля","tl_fullscreen_on":"Полноэкранный режим","tl_fullscreen_off":"Выключить полноэкранный режим","tl_read":"Режим чтения","tl_html_on":"Показать HTML","tl_html_off":"Убрать HTML","tl_help":"Markdown помощь","tl_upload":"Загрузить изображение","tl_upload_remove":"Удалить","tl_popup_link_title":"Добавить ссылку","tl_popup_link_text":"Текст ссылки","tl_popup_link_addr":"Адрес ссылки","tl_popup_img_link_title":"Локальное изображение","tl_popup_img_link_text":"Текст изображения","tl_popup_img_link_addr":"Ссылка изображения","tl_popup_link_sure":"Добавить","tl_popup_link_cancel":"Отменить"}')},function(e){e.exports=JSON.parse('{"start_editor":"Bearbeitung beginnen...","navigation_title":"Navigation","tl_bold":"Fett","tl_italic":"Kursiv","tl_header":"Überschrift","tl_header_one":"Überschrift 1","tl_header_two":"Überschrift 2","tl_header_three":"Überschrift 3","tl_header_four":"Überschrift 4","tl_header_five":"Überschrift 5","tl_header_six":"Überschrift 6","tl_underline":"Unterstrichen","tl_strikethrough":"Durchgestrichen","tl_mark":"Markiert","tl_superscript":"Hochgestellt","tl_subscript":"Tiefgestellt","tl_quote":"Zitat","tl_ol":"Ol","tl_ul":"Ul","tl_link":"Link","tl_image":"Link mit Bild","tl_code":"Code","tl_table":"Tabelle","tl_undo":"Rückgängig","tl_redo":"Wiederherstellen","tl_trash":"Mülleimer","tl_save":"Speichern","tl_navigation_on":"Navigation AN","tl_navigation_off":"Navigation AUS","tl_preview":"Vorschau","tl_aligncenter":"Text zentrieren","tl_alignleft":"Nach links ausrichten","tl_alignright":"Nach rechts ausrichten","tl_edit":"Bearbeiten","tl_single_column":"Einspaltig","tl_double_column":"Zweispaltig","tl_fullscreen_on":"Vollbild AN","tl_fullscreen_off":"Vollbild AUS","tl_read":"Lesemodus","tl_html_on":"HTML AN","tl_html_off":"HTML AUS","tl_help":"Markdown Handbuch","tl_upload":"Bilder-Upload","tl_upload_remove":"Entfernen","tl_popup_link_title":"Link hinzufügen","tl_popup_link_text":"Text des Links","tl_popup_link_addr":"Linkziel","tl_popup_img_link_title":"Bild hinzufügen","tl_popup_img_link_text":"Text des Bildes","tl_popup_img_link_addr":"Link auf Bild","tl_popup_link_sure":"Ja","tl_popup_link_cancel":"Abbruch"}')},function(e){e.exports=JSON.parse('{"start_editor":"編集を始めてね!","navigation_title":"ナビゲーション","tl_bold":"太字","tl_italic":"斜体","tl_header":"見出し","tl_header_one":"見出し1","tl_header_two":"見出し2","tl_header_three":"見出し3","tl_header_four":"見出し4","tl_header_five":"見出し5","tl_header_six":"見出し6","tl_underline":"下線","tl_strikethrough":"取り消し線","tl_mark":"蛍光ペン","tl_superscript":"上付き文字","tl_subscript":"下付き文字","tl_quote":"引用","tl_ol":"番号付きリスト","tl_ul":"箇条書きリスト","tl_link":"ハイパーリンク","tl_image":"画像のリンク","tl_code":"コードの挿入","tl_table":"表の挿入","tl_undo":"戻る","tl_redo":"進む","tl_trash":"削除","tl_save":"保存","tl_navigation_on":"ナビゲーションを表示","tl_navigation_off":"ナビゲーションを非表示","tl_preview":"プレビュー","tl_aligncenter":"中央揃え","tl_alignleft":"左揃え","tl_alignright":"右揃え","tl_edit":"編集","tl_single_column":"一列","tl_double_column":"二列","tl_fullscreen_on":"全画面表示","tl_fullscreen_off":"全画面表示の終了","tl_read":"モデルの読み込み","tl_html_on":"HTMLで表示","tl_html_off":"HTML表示の終了","tl_help":"ヘルプ","tl_upload":"画像をアップロード","tl_upload_remove":"画像の削除","tl_popup_link_title":"リンクの追加","tl_popup_link_text":"リンクテキスト","tl_popup_link_addr":"リンク先のURL","tl_popup_img_link_title":"画像の追加","tl_popup_img_link_text":"画像タイトル","tl_popup_img_link_addr":"画像URL","tl_popup_link_sure":"OK","tl_popup_link_cancel":"戻る"}')},function(e){e.exports=JSON.parse('{"start_editor":"작성해주세요.","navigation_title":"네비게이션","tl_bold":"굵게","tl_italic":"기울임꼴","tl_header":"헤더","tl_header_one":"헤더 1","tl_header_two":"헤더 2","tl_header_three":"헤더 3","tl_header_four":"헤더 4","tl_header_five":"헤더 5","tl_header_six":"헤더 6","tl_underline":"밑줄","tl_strikethrough":"취소선","tl_mark":"마커","tl_superscript":"위첨자","tl_subscript":"아래첨자","tl_quote":"Quote","tl_ol":"숫자 리스트","tl_ul":"점 리스트","tl_link":"링크","tl_image":"이미지 링크","tl_code":"코드블럭","tl_table":"테이블","tl_undo":"실행취소","tl_redo":"되돌리기","tl_trash":"삭제","tl_save":"저장","tl_navigation_on":"네비게이션 끔","tl_navigation_off":"네비게이션 켬","tl_preview":"미리보기","tl_aligncenter":"가운데 정렬","tl_alignleft":"왼쪽 정렬","tl_alignright":"오른쪽 정렬","tl_edit":"수정","tl_single_column":"단일 열","tl_double_column":"복수 열","tl_fullscreen_on":"전체화면 활성화","tl_fullscreen_off":"전체화면 종료","tl_read":"읽기모드","tl_html_on":"HTML 켬","tl_html_off":"HTML 끔","tl_help":"마크다운 가이드","tl_upload":"이미지 업로드","tl_upload_remove":"제거","tl_popup_link_title":"링크 삽입","tl_popup_link_text":"텍스트","tl_popup_link_addr":"링크주소","tl_popup_img_link_title":"이미지 추가","tl_popup_img_link_text":"이미지 이름","tl_popup_img_link_addr":"링크주소","tl_popup_link_sure":"삽입","tl_popup_link_cancel":"취소"}')},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(25));t.initMarkdown=T;var i=s(n(56)),o=n(57),a=s(n(135));function s(e){return e&&e.__esModule?e:{default:e}}var l={html:!0,xhtmlOut:!0,breaks:!0,langPrefix:"lang-",linkify:!1,typographer:!0,quotes:"“”‘’"},c=n(140),u=n(197),d=n(203),p=n(204),f=n(205),h=n(206),g=n(207),m=n(208),_=n(209),v=n(210),y=n(211),b=n(212),k=n(213),w=n(214),x=n(215),C={},S=[],j={hljs:"auto",highlighted:!0,langCheck:function(e){e&&i.default[e]&&!C[e]&&(C[e]=1,S.push(i.default[e]))}};function T(){var e=new c(l),t=e.renderer.rules.link_open||function(e,t,n,r,i){return i.renderToken(e,t,n)};return e.renderer.rules.link_open=function(e,n,r,i,o){var a=e[n].attrIndex("href");if(e[n].attrs[a][1].startsWith("#"))return t(e,n,r,i,o);var s=e[n].attrIndex("target");return s<0?e[n].attrPush(["target","_blank"]):e[n].attrs[s][1]="_blank",t(e,n,r,i,o)},e.use(k,j).use(u).use(p).use(d).use(y).use(y,"hljs-left").use(y,"hljs-center").use(y,"hljs-right").use(f).use(h).use(g).use(m).use(_).use(y).use(x).use(w).use(v).use(b),e}t.default={data:function(){return{markdownIt:null}},created:function(){this.markdownIt=T(),this.html?"object"===(0,r.default)(this.xssOptions)&&this.markdownIt.use(a.default,this.xssOptions):(this.markdownIt.set({html:!1}),this.xssOptions=!1)},mounted:function(){j.highlighted=this.ishljs},methods:{$render:function(e,t){C={},S=[];var n=this.markdownIt.render(e);this.ishljs&&S.length>0&&this.$_render(e,t,n),t(n)},$_render:function(e,t,n){for(var r=this,i=0,a=0;a";var y=function(e){var t=l.spaceIndex(e);if(-1===t)return{html:"",closing:"/"===e[e.length-2]};var n="/"===(e=l.trim(e.slice(t+1,-1)))[e.length-1];return n&&(e=l.trim(e.slice(0,-1))),{html:e,closing:n}}(a),b=n[i],k=s(y.html,function(e,t){var n=-1!==l.indexOf(b,e),r=u(i,e,t,n);return c(r)?n?(t=p(i,e,t,g))?e+"="+h+t+h:e:c(r=d(i,e,t,n))?void 0:r:r});return a="<"+i,k&&(a+=" "+k),y.closing&&(a+=" /"),a+">"}return c(v=o(i,a,_))?f(a):v},f);return m&&(_=m.remove(_)),_},e.exports=u},function(e,t,n){"use strict";e.exports=n(141)},function(e,t,n){"use strict";var r=n(1),i=n(149),o=n(153),a=n(154),s=n(162),l=n(176),c=n(189),u=n(63),d=n(191),p={default:n(194),zero:n(195),commonmark:n(196)},f=/^(vbscript|javascript|file|data):/,h=/^data:image\/(gif|png|jpeg|webp);/;function g(e){var t=e.trim().toLowerCase();return!f.test(t)||!!h.test(t)}var m=["http:","https:","mailto:"];function _(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||m.indexOf(t.protocol)>=0))try{t.hostname=d.toASCII(t.hostname)}catch(e){}return u.encode(u.format(t))}function v(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||m.indexOf(t.protocol)>=0))try{t.hostname=d.toUnicode(t.hostname)}catch(e){}return u.decode(u.format(t))}function y(e,t){if(!(this instanceof y))return new y(e,t);t||r.isString(e)||(t=e||{},e="default"),this.inline=new l,this.block=new s,this.core=new a,this.renderer=new o,this.linkify=new c,this.validateLink=g,this.normalizeLink=_,this.normalizeLinkText=v,this.utils=r,this.helpers=r.assign({},i),this.options={},this.configure(e),t&&this.set(t)}y.prototype.set=function(e){return r.assign(this.options,e),this},y.prototype.configure=function(e){var t,n=this;if(r.isString(e)&&!(e=p[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach(function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)}),this},y.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},y.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},y.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},y.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},y.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},y.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},y.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=y},function(e){e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"","InvisibleTimes":"","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"","NegativeThickSpace":"","NegativeThinSpace":"","NegativeVeryThinSpace":"","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":" ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"","zwnj":""}')},function(e,t,n){"use strict";var r={};function i(e,t,n){var o,a,s,l,c,u="";for("string"!=typeof t&&(n=t,t=i.defaultChars),void 0===n&&(n=!0),c=function(e){var t,n,i=r[e];if(i)return i;for(i=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?i.push(n):i.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1=56320&&l<=57343){u+=encodeURIComponent(e[o]+e[o+1]),o++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[o]);return u}i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",e.exports=i},function(e,t,n){"use strict";var r={};function i(e,t){var n;return"string"!=typeof t&&(t=i.defaultChars),n=function(e){var t,n,i=r[e];if(i)return i;for(i=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),i.push(n);for(t=0;t=55296&&l<=57343?"���":String.fromCharCode(l),t+=6):240==(248&i)&&t+91114111?c+="����":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+="�";return c})}i.defaultChars=";/?:@&=+$,#",i.componentChars="",e.exports=i},function(e,t,n){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+(e.hash||"")}},function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var i=/^([a-z0-9.+-]+:)/i,o=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,s=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(s),c=["%","/","?",";","#"].concat(l),u=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},h={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};r.prototype.parse=function(e,t){var n,r,o,s,l,g=e;if(g=g.trim(),!t&&1===e.split("#").length){var m=a.exec(g);if(m)return this.pathname=m[1],m[2]&&(this.search=m[2]),this}var _=i.exec(g);if(_&&(o=(_=_[0]).toLowerCase(),this.protocol=_,g=g.substr(_.length)),(t||_||g.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(l="//"===g.substr(0,2))||_&&f[_]||(g=g.substr(2),this.slashes=!0)),!f[_]&&(l||_&&!h[_])){var v,y,b=-1;for(n=0;n127?S+="x":S+=C[j];if(!S.match(d)){var L=x.slice(0,n),E=x.slice(n+1),A=C.match(p);A&&(L.push(A[1]),E.unshift(A[2])),E.length&&(g=E.join(".")+g),this.hostname=L.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),w&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var M=g.indexOf("#");-1!==M&&(this.hash=g.substr(M),g=g.slice(0,M));var D=g.indexOf("?");return-1!==D&&(this.search=g.substr(D),g=g.slice(0,D)),g&&(this.pathname=g),h[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(e){var t=o.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,t){if(e&&e instanceof r)return e;var n=new r;return n.parse(e,t),n}},function(e,t,n){"use strict";t.Any=n(64),t.Cc=n(65),t.Cf=n(148),t.P=n(40),t.Z=n(66)},function(e,t){e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},function(e,t,n){"use strict";t.parseLinkLabel=n(150),t.parseLinkDestination=n(151),t.parseLinkTitle=n(152)},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,i,o,a,s=-1,l=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos