test / bt-source /panel /BTPanel /static /js /add-command-legacy.js
GGSheng's picture
feat: deploy Gemma 4 to hf space
08c964e verified
!function(){function e(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var n,r,o="function"==typeof Symbol?Symbol:{},u=o.iterator||"@@iterator",i=o.toStringTag||"@@toStringTag";function a(e,o,u,i){var a=o&&o.prototype instanceof l?o:l,s=Object.create(a.prototype);return t(s,"_invoke",function(e,t,o){var u,i,a,l=0,s=o||[],f=!1,y={p:0,n:0,v:n,a:p,f:p.bind(n,4),d:function(e,t){return u=e,i=0,a=n,y.n=t,c}};function p(e,t){for(i=e,a=t,r=0;!f&&l&&!o&&r<s.length;r++){var o,u=s[r],p=y.p,g=u[2];e>3?(o=g===t)&&(a=u[(i=u[4])?5:(i=3,3)],u[4]=u[5]=n):u[0]<=p&&((o=e<2&&p<u[1])?(i=0,y.v=t,y.n=u[1]):p<g&&(o=e<3||u[0]>t||t>g)&&(u[4]=e,u[5]=t,y.n=g,i=0))}if(o||e>1)return c;throw f=!0,t}return function(o,s,g){if(l>1)throw TypeError("Generator is already running");for(f&&1===s&&p(s,g),i=s,a=g;(r=i<2?n:a)||!f;){u||(i?i<3?(i>1&&(y.n=-1),p(i,a)):y.n=a:y.v=a);try{if(l=2,u){if(i||(o="next"),r=u[o]){if(!(r=r.call(u,a)))throw TypeError("iterator result is not an object");if(!r.done)return r;a=r.value,i<2&&(i=0)}else 1===i&&(r=u.return)&&r.call(u),i<2&&(a=TypeError("The iterator does not provide a '"+o+"' method"),i=1);u=n}else if((r=(f=y.n<0)?a:e.call(t,y))!==c)break}catch(r){u=n,i=1,a=r}finally{l=1}}return{value:r,done:f}}}(e,u,i),!0),s}var c={};function l(){}function s(){}function f(){}r=Object.getPrototypeOf;var y=[][u]?r(r([][u]())):(t(r={},u,function(){return this}),r),p=f.prototype=l.prototype=Object.create(y);function g(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,t(e,i,"GeneratorFunction")),e.prototype=Object.create(p),e}return s.prototype=f,t(p,"constructor",f),t(f,"constructor",s),s.displayName="GeneratorFunction",t(f,i,"GeneratorFunction"),t(p),t(p,i,"Generator"),t(p,u,function(){return this}),t(p,"toString",function(){return"[object Generator]"}),(e=function(){return{w:a,m:g}})()}function t(e,n,r,o){var u=Object.defineProperty;try{u({},"",{})}catch(e){u=0}t=function(e,n,r,o){function i(n,r){t(e,n,function(e){return this._invoke(n,r,e)})}n?u?u(e,n,{value:r,enumerable:!o,configurable:!o,writable:!o}):e[n]=r:(i("next",0),i("throw",1),i("return",2))},t(e,n,r,o)}function n(e,t,n,r,o,u,i){try{var a=e[u](i),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}System.register(["./utils-lib-legacy.js?v=1775629002","./base-lib-legacy.js?v=1775629002","./index-legacy91.js?v=1775629002","./__commonjsHelpers__-legacy.js?v=1775629002","./index.vue_vue_type_style_index_0_lang-legacy.js?v=1775629002","./add-host.vue_vue_type_script_setup_true_lang-legacy.js?v=1775629002","./form-item-legacy.js?v=1775629002","./index-legacy111.js?v=1775629002","./useController-legacy8.js?v=1775629002","./default-legacy.js?v=1775629002","./useStore-legacy.js?v=1775629002","./config-legacy.js?v=1775629002","./validator-legacy.js?v=1775629002","./column-legacy.js?v=1775629002","./index-legacy108.js?v=1775629002","./index-legacy110.js?v=1775629002"],function(t,r){"use strict";var o,u,i,a,c,l,s,f;return{setters:[function(e){o=e.O},function(e){u=e.c,i=e.g,a=e.x,c=e.O,l=e.z},function(e){s=e.i,f=e.h},null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){t("default",u({__name:"add-command",setup:function(t,r){var u,y,p=r.expose,g=i(function(){return[{label:"命令名称",key:"title",type:"input",attrs:{placeholder:"请输入命令名称",class:"mr-4 !w-[280px]"},rules:[{required:!0,message:"请输入命令名称",trigger:["blur","change"]}]},{label:"命令内容",type:"input",key:"shell",attrs:{placeholder:"请输入命令内容",class:"mr-4 !w-[280px]",type:"textarea",autosize:{minRows:8,maxRows:8}},rules:[{required:!0,message:"请输入命令内容",trigger:["blur","change"]}]}]}),d=o({data:s,options:function(){return g},submit:(u=e().m(function t(n,r){return e().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,r();case 1:return e.n=2,f(n);case 2:return e.a(2,e.v)}},t)}),y=function(){var e=this,t=arguments;return new Promise(function(r,o){var i=u.apply(e,t);function a(e){n(i,r,o,a,c,"next",e)}function c(e){n(i,r,o,a,c,"throw",e)}a(void 0)})},function(e,t){return y.apply(this,arguments)})}),v=d.BtForm;return p({onConfirm:d.submit}),function(e,t){return a(),c(l(v),{class:"p-[2rem]","label-width":"4rem"})}}}))}}})}();