Update(boards): xpython板卡执行 build:prod

This commit is contained in:
Irene-Maxine
2024-10-24 23:09:38 +08:00
parent 99e168f363
commit d46220cac2
22 changed files with 43 additions and 19 deletions

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
(()=>{var e,r,t={6944:e=>{"use strict";e.exports=path},8982:()=>{},7790:()=>{},3776:()=>{},7965:()=>{},6089:()=>{},9368:()=>{},4688:()=>{},1069:()=>{},5340:()=>{},9838:()=>{},6490:()=>{},3779:()=>{},7199:()=>{}},o={};function i(e){var r=o[e];if(void 0!==r)return r.exports;var n=o[e]={id:e,loaded:!1,exports:{}};return t[e].call(n.exports,n,n.exports,i),n.loaded=!0,n.exports}i.m=t,i.x=()=>{var e=i.O(void 0,[738,36],(()=>i(8052)));return e=i.O(e)},e=[],i.O=(r,t,o,n)=>{if(!t){var a=1/0;for(l=0;l<e.length;l++){for(var[t,o,n]=e[l],p=!0,s=0;s<t.length;s++)(!1&n||a>=n)&&Object.keys(i.O).every((e=>i.O[e](t[s])))?t.splice(s--,1):(p=!1,n<a&&(a=n));if(p){e.splice(l--,1);var c=o();void 0!==c&&(r=c)}}return r}n=n||0;for(var l=e.length;l>0&&e[l-1][2]>n;l--)e[l]=e[l-1];e[l]=[t,o,n]},i.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return i.d(r,{a:r}),r},i.d=(e,r)=>{for(var t in r)i.o(r,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((r,t)=>(i.f[t](e,r),r)),[])),i.u=e=>e+".bundle.js",i.miniCssF=e=>{},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;i.g.importScripts&&(e=i.g.location+"");var r=i.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var o=t.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=t[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.p=e})(),(()=>{i.b=self.location+"";var e={0:1};i.f.i=(r,t)=>{e[r]||importScripts(i.p+i.u(r))};var r=self.webpackChunk_mixly_python_pyodide=self.webpackChunk_mixly_python_pyodide||[],t=r.push.bind(r);r.push=r=>{var[o,n,a]=r;for(var p in n)i.o(n,p)&&(i.m[p]=n[p]);for(a&&a(i);o.length;)e[o.pop()]=1;t(r)}})(),r=i.x,i.x=()=>Promise.all([i.e(738),i.e(36)]).then(r);i.x()})();

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,7 @@
(()=>{"use strict";
/**
* @license
* Copyright 2019 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
const e=Symbol("Comlink.proxy"),t=Symbol("Comlink.endpoint"),n=Symbol("Comlink.releaseProxy"),r=Symbol("Comlink.finalizer"),a=Symbol("Comlink.thrown"),s=e=>"object"==typeof e&&null!==e||"function"==typeof e,o=new Map([["proxy",{canHandle:t=>s(t)&&t[e],serialize(e){const{port1:t,port2:n}=new MessageChannel;return i(e,t),[n,[n]]},deserialize(e){return e.start(),g(e,[],t);var t}}],["throw",{canHandle:e=>s(e)&&a in e,serialize({value:e}){let t;return t=e instanceof Error?{isError:!0,value:{message:e.message,name:e.name,stack:e.stack}}:{isError:!1,value:e},[t,[]]},deserialize(e){if(e.isError)throw Object.assign(new Error(e.value.message),e.value);throw e.value}}]]);function i(t,n=globalThis,s=["*"]){n.addEventListener("message",(function o(u){if(!u||!u.data)return;if(!function(e,t){for(const n of e){if(t===n||"*"===n)return!0;if(n instanceof RegExp&&n.test(t))return!0}return!1}(s,u.origin))return void console.warn(`Invalid origin '${u.origin}' for comlink proxy`);const{id:l,type:f,path:p}=Object.assign({path:[]},u.data),g=(u.data.argumentList||[]).map(E);let h;try{const n=p.slice(0,-1).reduce(((e,t)=>e[t]),t),r=p.reduce(((e,t)=>e[t]),t);switch(f){case"GET":h=r;break;case"SET":n[p.slice(-1)[0]]=E(u.data.value),h=!0;break;case"APPLY":h=r.apply(n,g);break;case"CONSTRUCT":h=function(t){return Object.assign(t,{[e]:!0})}(new r(...g));break;case"ENDPOINT":{const{port1:e,port2:n}=new MessageChannel;i(t,n),h=m(e,[e])}break;case"RELEASE":h=void 0;break;default:return}}catch(e){h={value:e,[a]:0}}Promise.resolve(h).catch((e=>({value:e,[a]:0}))).then((e=>{const[a,s]=y(e);n.postMessage(Object.assign(Object.assign({},a),{id:l}),s),"RELEASE"===f&&(n.removeEventListener("message",o),c(n),r in t&&"function"==typeof t[r]&&t[r]())})).catch((e=>{const[t,r]=y({value:new TypeError("Unserializable return value"),[a]:0});n.postMessage(Object.assign(Object.assign({},t),{id:l}),r)}))})),n.start&&n.start()}function c(e){(function(e){return"MessagePort"===e.constructor.name})(e)&&e.close()}function u(e){if(e)throw new Error("Proxy has been released and is not useable")}function l(e){return b(e,{type:"RELEASE"}).then((()=>{c(e)}))}const f=new WeakMap,p="FinalizationRegistry"in globalThis&&new FinalizationRegistry((e=>{const t=(f.get(e)||0)-1;f.set(e,t),0===t&&l(e)}));function g(e,r=[],a=function(){}){let s=!1;const o=new Proxy(a,{get(t,a){if(u(s),a===n)return()=>{!function(e){p&&p.unregister(e)}(o),l(e),s=!0};if("then"===a){if(0===r.length)return{then:()=>o};const t=b(e,{type:"GET",path:r.map((e=>e.toString()))}).then(E);return t.then.bind(t)}return g(e,[...r,a])},set(t,n,a){u(s);const[o,i]=y(a);return b(e,{type:"SET",path:[...r,n].map((e=>e.toString())),value:o},i).then(E)},apply(n,a,o){u(s);const i=r[r.length-1];if(i===t)return b(e,{type:"ENDPOINT"}).then(E);if("bind"===i)return g(e,r.slice(0,-1));const[c,l]=h(o);return b(e,{type:"APPLY",path:r.map((e=>e.toString())),argumentList:c},l).then(E)},construct(t,n){u(s);const[a,o]=h(n);return b(e,{type:"CONSTRUCT",path:r.map((e=>e.toString())),argumentList:a},o).then(E)}});return function(e,t){const n=(f.get(t)||0)+1;f.set(t,n),p&&p.register(e,t,e)}(o,e),o}function h(e){const t=e.map(y);return[t.map((e=>e[0])),(n=t.map((e=>e[1])),Array.prototype.concat.apply([],n))];var n}const d=new WeakMap;function m(e,t){return d.set(e,t),e}function y(e){for(const[t,n]of o)if(n.canHandle(e)){const[r,a]=n.serialize(e);return[{type:"HANDLER",name:t,value:r},a]}return[{type:"RAW",value:e},d.get(e)||[]]}function E(e){switch(e.type){case"HANDLER":return o.get(e.name).deserialize(e.value);case"RAW":return e.value}}function b(e,t,n){return new Promise((r=>{const a=new Array(4).fill(0).map((()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16))).join("-");e.addEventListener("message",(function t(n){n.data&&n.data.id&&n.data.id===a&&(e.removeEventListener("message",t),r(n.data))})),e.start&&e.start(),e.postMessage(Object.assign({id:a},t),n)}))}i(new class{async fetch(e,t){const n=e=>e.substring(0,e.lastIndexOf("/")),r=n(new URL(globalThis.location.toString()).href);if(!n(new URL(e).href).startsWith(r))throw new Error(`URL ${e} is outside of proxy' scope`);if("omit"!==t?.credentials)throw new Error("Request tries to use credentials");const a=await globalThis.fetch(e,t),s=await a.arrayBuffer();return{body:m(s,[s]),options:{status:a.status,statusText:a.statusText,headers:new Map(a.headers)}}}})})();

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunk_mixly_python_pyodide=self.webpackChunk_mixly_python_pyodide||[]).push([[754],{2754:(e,r,n)=>{n.d(r,{SQLKernel:()=>t});var s=n(7738);class t extends s.I{constructor(e){super(e)}newWorker(){return new Worker(new URL(n.p+n.u(0),n.b),{type:void 0,sandboxed:!0})}language(){return"sql"}languageName(){return"SQL"}moduleExts(){return["sql","db","sqlite"]}ps1(){return"sql> "}ps2(){return"...> "}}}}]);

View File

@@ -1 +0,0 @@
(self.webpackChunk_mixly_python_pyodide=self.webpackChunk_mixly_python_pyodide||[]).push([[837],{8982:()=>{},7790:()=>{},3776:()=>{},7965:()=>{},6089:()=>{},9368:()=>{},4688:()=>{},1069:()=>{},5340:()=>{},9838:()=>{},6490:()=>{},3779:()=>{},7199:()=>{}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -748,13 +748,13 @@ export const dicts_to_to ={
this.appendValueInput('DICT')
.setCheck('Dict');
this.appendValueInput('VAR1')
.appendField('r');
.appendField('key1');
this.appendValueInput('VAR2')
.appendField('index');
this.appendValueInput('VAR3')
.appendField('l');
.appendField('key2');
this.appendValueInput('VAR4')
.appendField('n');
.appendField('key3');
this.setInputsInline(true)
this.setTooltip(Blockly.Msg.MIXLY_CONVERT_TO_JSON_TOOLTIP);
this.setOutput(true);