File: /www/server/panel/BTPanel/static/js/full-screen-legacy.js
!function(){function t(t){return function(t){if(Array.isArray(t))return e(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return e(t,n);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?e(t,n):void 0}}(t)||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 e(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function n(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var t,e,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.toStringTag||"@@toStringTag";function c(n,o,i,a){var c=o&&o.prototype instanceof u?o:u,s=Object.create(c.prototype);return r(s,"_invoke",function(n,r,o){var i,a,c,u=0,s=o||[],f=!1,p={p:0,n:0,v:t,a:y,f:y.bind(t,4),d:function(e,n){return i=e,a=0,c=t,p.n=n,l}};function y(n,r){for(a=n,c=r,e=0;!f&&u&&!o&&e<s.length;e++){var o,i=s[e],y=p.p,d=i[2];n>3?(o=d===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=t):i[0]<=y&&((o=n<2&&y<i[1])?(a=0,p.v=r,p.n=i[1]):y<d&&(o=n<3||i[0]>r||r>d)&&(i[4]=n,i[5]=r,p.n=d,a=0))}if(o||n>1)return l;throw f=!0,r}return function(o,s,d){if(u>1)throw TypeError("Generator is already running");for(f&&1===s&&y(s,d),a=s,c=d;(e=a<2?t:c)||!f;){i||(a?a<3?(a>1&&(p.n=-1),y(a,c)):p.n=c:p.v=c);try{if(u=2,i){if(a||(o="next"),e=i[o]){if(!(e=e.call(i,c)))throw TypeError("iterator result is not an object");if(!e.done)return e;c=e.value,a<2&&(a=0)}else 1===a&&(e=i.return)&&e.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=t}else if((e=(f=p.n<0)?c:n.call(r,p))!==l)break}catch(e){i=t,a=1,c=e}finally{u=1}}return{value:e,done:f}}}(n,i,a),!0),s}var l={};function u(){}function s(){}function f(){}e=Object.getPrototypeOf;var p=[][i]?e(e([][i]())):(r(e={},i,function(){return this}),e),y=f.prototype=u.prototype=Object.create(p);function d(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,r(t,a,"GeneratorFunction")),t.prototype=Object.create(y),t}return s.prototype=f,r(y,"constructor",f),r(f,"constructor",s),s.displayName="GeneratorFunction",r(f,a,"GeneratorFunction"),r(y),r(y,a,"Generator"),r(y,i,function(){return this}),r(y,"toString",function(){return"[object Generator]"}),(n=function(){return{w:c,m:d}})()}function r(t,e,n,o){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}r=function(t,e,n,o){function a(e,n){r(t,e,function(t){return this._invoke(e,n,t)})}e?i?i(t,e,{value:n,enumerable:!o,configurable:!o,writable:!o}):t[e]=n:(a("next",0),a("throw",1),a("return",2))},r(t,e,n,o)}function o(t,e,n,r,o,i,a){try{var c=t[i](a),l=c.value}catch(t){return void n(t)}c.done?e(l):Promise.resolve(l).then(r,o)}System.register(["./base-lib-legacy.js?v=1777008528","./utils-lib-legacy.js?v=1777008528","./index-legacy206.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528","./index-legacy3.js?v=1777008528","./index-legacy119.js?v=1777008528","./index-legacy116.js?v=1777008528"],function(e,r){"use strict";var i,a,c,l,u,s,f,p,y,d,m,v,g,h,b,w,C,x;return{setters:[function(t){i=t.c,a=t.r,c=t.o,l=t.j,u=t.k,s=t.q,f=t.e,p=t.v,y=t.x,d=t.M,m=t.p,v=t.y,g=t.bm,h=t.z},function(t){b=t.gp,w=t.M,C=t.cZ},function(t){x=t._},null,null,null,null],execute:function(){var r={class:"mb-1rem"},E={class:"flex-1"},j=i({__name:"full-screen",props:{compData:{default:function(){return{isHtml:!1,autoScroll:!0,onRefresh:function(){return{}},getContent:function(){return""},siteName:"",logType:""}}}},setup:function(e){var i=e,C=a(""),j=a(window.innerHeight-44),_=a(window.innerHeight-124),S=b({siteName:i.compData.siteName,logType:i.compData.logType}),A=S.containerRef,O=S.tipStyle,T=S.selectedText,G=S.handleAiAnalyze;window.onresize=function(){j.value=window.innerHeight-44,_.value=window.innerHeight-124};var k=function(){var t,e=(t=n().m(function t(){return n().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,i.compData.onRefresh();case 1:C.value=i.compData.getContent(),w.success("刷新成功");case 2:return t.a(2)}},t)}),function(){var e=this,n=arguments;return new Promise(function(r,i){var a=t.apply(e,n);function c(t){o(a,r,i,c,l,"next",t)}function l(t){o(a,r,i,c,l,"throw",t)}c(void 0)})});return function(){return e.apply(this,arguments)}}();return c(function(){C.value=i.compData.getContent()}),function(n,o){var i=h;return l(),u("div",{class:"w-full flex flex-col p-2rem relative",style:d({height:m(j)+"px !important"}),ref_key:"logContainerRef",ref:A},[s("div",r,[f(i,{onClick:k},{default:p(function(){return t(o[1]||(o[1]=[y("刷新日志",-1)]))}),_:1})]),s("div",E,[f(x,{style:d({height:m(_)+"px"}),content:m(C),"is-html":e.compData.isHtml,"auto-scroll":e.compData.autoScroll},null,8,["style","content","is-html","auto-scroll"]),f(g,{name:"tip-fade"},{default:p(function(){return[m(T)?(l(),u("div",{key:0,class:"log-ai-tip",style:d(m(O)),onClick:o[0]||(o[0]=function(){return m(G)&&m(G).apply(void 0,arguments)})},t(o[2]||(o[2]=[s("img",{src:"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='14' fill='none'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='3.001' x2='12.142' y1='0' y2='1.302' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23C2C63E'/%3E%3Cstop offset='1' stop-color='%2329A73A'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='11.464' x2='15.12' y1='9.333' y2='9.853' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23C2C63E'/%3E%3Cstop offset='1' stop-color='%2329A73A'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill-rule='evenodd'%3E%3Cpath fill='url(%23a)' d='m7.52 4.258 4.322 1.576L7.52 7.41 5.921 11.67l-1.6-4.259L0 5.834l4.322-1.576L5.922 0z'/%3E%3Cpath fill='url(%23b)' d='m13.271 11.036 1.73.63-1.73.63-.64 1.704-.64-1.703-1.728-.63 1.729-.631.64-1.703z'/%3E%3C/g%3E%3C/svg%3E",class:"ai-icon"},null,-1),s("span",{class:"tip-text"},"AI分析",-1)])),4)):v("",!0)]}),_:1})])],4)}}});e("default",C(j,[["__scopeId","data-v-908cd235"]]))}}})}();