File: /www/server/panel/BTPanel/static/js/index-legacy331.js
!function(){function e(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(e){if("string"==typeof e)return l(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?l(e,n):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,l){(null==l||l>e.length)&&(l=e.length);for(var n=0,t=Array(l);n<l;n++)t[n]=e[n];return t}System.register(["./base-lib-legacy.js?v=1777008528","./index-legacy130.js?v=1777008528","./index-legacy60.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528","./ace-legacy.js?v=1777008528","./utils-lib-legacy.js?v=1777008528","./site-legacy.js?v=1777008528","./index-legacy3.js?v=1777008528","./index-legacy119.js?v=1777008528","./index-legacy116.js?v=1777008528","./index-legacy212.js?v=1777008528","./index-legacy121.js?v=1777008528","./ActivityCenter.vue_vue_type_style_index_1_scoped_a56e7856_lang-legacy.js?v=1777008528","./ssl-legacy.js?v=1777008528","./useController-legacy2.js?v=1777008528","./config-legacy.js?v=1777008528","./useStore-legacy.js?v=1777008528","./store-legacy.js?v=1777008528","./store-legacy2.js?v=1777008528","./useController-legacy7.js?v=1777008528","./useStore-legacy7.js?v=1777008528","./useStore-legacy11.js?v=1777008528","./useController-legacy8.js?v=1777008528","./index-legacy118.js?v=1777008528","./useStore-legacy2.js?v=1777008528","./useStore-legacy3.js?v=1777008528","./useController-legacy18.js?v=1777008528","./useMethod-legacy3.js?v=1777008528","./useController-legacy13.js?v=1777008528","./useController-legacy19.js?v=1777008528","./useMethod-legacy12.js?v=1777008528","./index-legacy192.js?v=1777008528","./useController-legacy20.js?v=1777008528","./useMethod-legacy8.js?v=1777008528","./store-legacy3.js?v=1777008528","./hooks-legacy.js?v=1777008528"],function(l,n){"use strict";var t,r,u,a,s,o,c,i,y,g,f,j,d,m;return{setters:[function(e){t=e.c,r=e.aI,u=e.o,a=e.j,s=e.k,o=e.q,c=e.e,i=e.p,y=e.Q,g=e.v,f=e.x,j=e.z},function(e){d=e.B},function(e){m=e.H},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){var n={class:"flex flex-col p-[2rem] h-[100%]"},v={class:"flex-1"},x={class:"mt-[1rem] flex justify-end"};l("default",t({__name:"index",setup:function(l,t){var p=t.expose,h=m(),_=r(h),S=_.content,C=_.path;return u(function(){return h.getMemoData()}),p({onCancel:function(){h.getOverviewData()}}),function(l,t){var r=d,u=j;return a(),s("div",n,[t[2]||(t[2]=o("div",{class:"text-secondary h-[2rem] leading-[2rem] mb-[1rem]"},"提示:Ctrl+S 保存",-1)),o("div",v,[c(r,{ref:"aceEditorRef",id:"memo-file",class:"h-48rem",filePath:i(C),modelValue:i(S),"onUpdate:modelValue":t[0]||(t[0]=function(e){return y(S)?S.value=e:null}),onSave:i(h).saveFileEvent},null,8,["filePath","modelValue","onSave"])]),o("div",x,[c(u,{type:"primary",onClick:i(h).saveFileEvent,class:"h-[3.2rem] px-[12px]"},{default:g(function(){return e(t[1]||(t[1]=[f("保存",-1)]))}),_:1},8,["onClick"])])])}}}))}}})}();