comp-hub 0.42.9 → 0.43.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -2
- package/README.zh-CN.md +144 -0
- package/README.zh-Hant.md +144 -0
- package/dist/cli.js +44 -0
- package/dist/index.js +11 -30
- package/dist/master.js +19 -19
- package/package.json +15 -10
- package/bin/cli.js +0 -59
- package/bin/lib/commands.js +0 -173
- package/bin/lib/constants.js +0 -22
- package/bin/lib/http.js +0 -130
- package/bin/lib/startup.js +0 -254
- package/bin/lib/utils.js +0 -112
- package/dist/website/container/assets/index-6TGp-7st.css +0 -1
- package/dist/website/container/assets/index-BKC7DzZV.js +0 -33
- package/dist/website/container/favicon.ico +0 -0
- package/dist/website/container/index.html +0 -39
- package/dist/website/container/js/less-compiler.js +0 -41
- package/dist/website/container/js/react-jsx-loader.js +0 -233
- package/dist/website/container/js/sass-compiler.js +0 -418
- package/dist/website/container/js/vue2-sfc-loader.js +0 -261
- package/dist/website/container/js/vue3-sfc-loader.js +0 -290
- package/dist/website/item/assets/index-Pkb33-i2.css +0 -1
- package/dist/website/item/assets/index-kBvGmplc.js +0 -62
- package/dist/website/item/favicon.ico +0 -0
- package/dist/website/item/index.html +0 -34
- package/dist/website/main/assets/AuthCodeSendBtn.vue_vue_type_script_setup_true_lang-CH79cQAu.js +0 -1
- package/dist/website/main/assets/BaseBadge-D53B9edx.js +0 -1
- package/dist/website/main/assets/BaseBadge-ledSuDnX.css +0 -1
- package/dist/website/main/assets/BaseDialog.vue_vue_type_script_setup_true_lang-Bcc7UYpp.js +0 -1
- package/dist/website/main/assets/BaseSegmented.vue_vue_type_script_setup_true_lang-RYuIoPF7.js +0 -1
- package/dist/website/main/assets/CanvasAnimation.vue_vue_type_script_setup_true_lang-BNlJ1yyx.js +0 -1
- package/dist/website/main/assets/CodeMirrorEditor-Cqow8ROO-AryRubtp.js +0 -12
- package/dist/website/main/assets/EmptyStatusContainer.vue_vue_type_script_setup_true_lang-kK4W-ekr.js +0 -1
- package/dist/website/main/assets/GithubCallback-BjmPqH_L.js +0 -1
- package/dist/website/main/assets/LoadingWrapper.vue_vue_type_script_setup_true_lang-BPfuSpto.js +0 -1
- package/dist/website/main/assets/ReplyForm.vue_vue_type_script_setup_true_lang-BiETILOo.js +0 -1
- package/dist/website/main/assets/SiteLogo-DEIcFHUB.js +0 -1
- package/dist/website/main/assets/SiteLogo-DbJD21Ac.css +0 -1
- package/dist/website/main/assets/apl-B4CMkyY2.js +0 -1
- package/dist/website/main/assets/asciiarmor-Df11BRmG.js +0 -1
- package/dist/website/main/assets/asn1-EdZsLKOL.js +0 -1
- package/dist/website/main/assets/asterisk-B-8jnY81.js +0 -1
- package/dist/website/main/assets/brainfuck-C4LP7Hcl.js +0 -1
- package/dist/website/main/assets/clike-B9uivgTg.js +0 -1
- package/dist/website/main/assets/clojure-BMjYHr_A.js +0 -1
- package/dist/website/main/assets/cloud-upload-DVf0ki5J.js +0 -1
- package/dist/website/main/assets/cloud-upload-j3Y0taC9.css +0 -1
- package/dist/website/main/assets/cmake-BQqOBYOt.js +0 -1
- package/dist/website/main/assets/cobol-CWcv1MsR.js +0 -1
- package/dist/website/main/assets/coffeescript-S37ZYGWr.js +0 -1
- package/dist/website/main/assets/commonlisp-DBKNyK5s.js +0 -1
- package/dist/website/main/assets/crystal-SjHAIU92.js +0 -1
- package/dist/website/main/assets/css-BnMrqG3P.js +0 -1
- package/dist/website/main/assets/cypher-C_CwsFkJ.js +0 -1
- package/dist/website/main/assets/d-pRatUO7H.js +0 -1
- package/dist/website/main/assets/diff-DbItnlRl.js +0 -1
- package/dist/website/main/assets/dockerfile-BKs6k2Af.js +0 -1
- package/dist/website/main/assets/dtd-DF_7sFjM.js +0 -1
- package/dist/website/main/assets/dylan-DwRh75JA.js +0 -1
- package/dist/website/main/assets/ebnf-CDyGwa7X.js +0 -1
- package/dist/website/main/assets/ecl-Cabwm37j.js +0 -1
- package/dist/website/main/assets/eiffel-CnydiIhH.js +0 -1
- package/dist/website/main/assets/el-card-BAyktVMS.css +0 -1
- package/dist/website/main/assets/el-dropdown-item-BeIfAqTO.css +0 -1
- package/dist/website/main/assets/el-empty-S7fQQ3B8.css +0 -1
- package/dist/website/main/assets/el-link-CPQZ-olG.css +0 -1
- package/dist/website/main/assets/el-table-column-B3ZEEuPD.css +0 -1
- package/dist/website/main/assets/el-table-column-BqpEDPpl.js +0 -1
- package/dist/website/main/assets/elm-vLlmbW-K.js +0 -1
- package/dist/website/main/assets/en-DJCBTPEu.js +0 -1
- package/dist/website/main/assets/erlang-BNw1qcRV.js +0 -1
- package/dist/website/main/assets/factor-kuTfRLto.js +0 -1
- package/dist/website/main/assets/fcl-Kvtd6kyn.js +0 -1
- package/dist/website/main/assets/forth-Ffai-XNe.js +0 -1
- package/dist/website/main/assets/fortran-DYz_wnZ1.js +0 -1
- package/dist/website/main/assets/gas-Bneqetm1.js +0 -1
- package/dist/website/main/assets/gherkin-heZmZLOM.js +0 -1
- package/dist/website/main/assets/groovy-D9Dt4D0W.js +0 -1
- package/dist/website/main/assets/haskell-Cw1EW3IL.js +0 -1
- package/dist/website/main/assets/haxe-H-WmDvRZ.js +0 -1
- package/dist/website/main/assets/home-rounded-B4KVwSYb.css +0 -1
- package/dist/website/main/assets/home-rounded-DcB333c-.js +0 -1
- package/dist/website/main/assets/http-DBlCnlav.js +0 -1
- package/dist/website/main/assets/idl-BEugSyMb.js +0 -1
- package/dist/website/main/assets/index-0jhSi0Id.js +0 -2
- package/dist/website/main/assets/index-6e_pcD2g.js +0 -1
- package/dist/website/main/assets/index-72rReQ2I-Dls_4Kw0.js +0 -6
- package/dist/website/main/assets/index-8dCw6Y2Z.css +0 -1
- package/dist/website/main/assets/index-B-o-geOz.js +0 -1
- package/dist/website/main/assets/index-B6DlcvMU.js +0 -1
- package/dist/website/main/assets/index-BNYhon33.js +0 -1
- package/dist/website/main/assets/index-BOUkLBc8.js +0 -1
- package/dist/website/main/assets/index-BPiRmvZl.js +0 -1
- package/dist/website/main/assets/index-BWSpWNwa.js +0 -4
- package/dist/website/main/assets/index-BhaaT_GF.js +0 -1
- package/dist/website/main/assets/index-Bn5vi5XZ.css +0 -1
- package/dist/website/main/assets/index-BqUqA7W4.js +0 -1
- package/dist/website/main/assets/index-Bqhbsn_n.js +0 -1
- package/dist/website/main/assets/index-BrpXOHl6.js +0 -1
- package/dist/website/main/assets/index-BvmEG8Qn.css +0 -1
- package/dist/website/main/assets/index-BxmgEr3S.js +0 -1
- package/dist/website/main/assets/index-C0WquRMM.css +0 -1
- package/dist/website/main/assets/index-C1Hw6vXQ.js +0 -1
- package/dist/website/main/assets/index-C42i82mF.js +0 -2
- package/dist/website/main/assets/index-C81i40Gx.js +0 -1
- package/dist/website/main/assets/index-C9BP4kWZ.js +0 -6
- package/dist/website/main/assets/index-CFTT7hu0.css +0 -1
- package/dist/website/main/assets/index-CIVzXolG.js +0 -1
- package/dist/website/main/assets/index-CPc1AP3H.js +0 -1
- package/dist/website/main/assets/index-CWMIyyC3.js +0 -1
- package/dist/website/main/assets/index-CdWXO9ks.css +0 -1
- package/dist/website/main/assets/index-CglP2y1M.js +0 -1
- package/dist/website/main/assets/index-ChFpxx4T.css +0 -1
- package/dist/website/main/assets/index-CiPfzZM4.js +0 -1
- package/dist/website/main/assets/index-CioMG7I6.css +0 -1
- package/dist/website/main/assets/index-Cs-jTkU_.js +0 -1
- package/dist/website/main/assets/index-CuvsliuR.js +0 -1
- package/dist/website/main/assets/index-Cv6z_Edq.js +0 -1
- package/dist/website/main/assets/index-CxHPM7Fg.js +0 -1
- package/dist/website/main/assets/index-CytdBEyB.js +0 -1
- package/dist/website/main/assets/index-D-zBzPPy.css +0 -1
- package/dist/website/main/assets/index-D1_g-khQ.js +0 -7
- package/dist/website/main/assets/index-D2eSTfJw.js +0 -1
- package/dist/website/main/assets/index-D3HuxiUJ.js +0 -84
- package/dist/website/main/assets/index-D76eWsZ1-Z0x-dydi.js +0 -1
- package/dist/website/main/assets/index-DFsl7Pen.css +0 -1
- package/dist/website/main/assets/index-DH0rbH_2.js +0 -1
- package/dist/website/main/assets/index-DOlF0Z_P.css +0 -1
- package/dist/website/main/assets/index-DPBASOD1.js +0 -1
- package/dist/website/main/assets/index-DQfTUb4g.js +0 -1
- package/dist/website/main/assets/index-DS0KGu0h.js +0 -1
- package/dist/website/main/assets/index-DVxz8FkV.js +0 -2
- package/dist/website/main/assets/index-DgXgHraR.js +0 -50
- package/dist/website/main/assets/index-DjWcnHPR.js +0 -1
- package/dist/website/main/assets/index-Dms7ZQ2h-B_6qoSW-.js +0 -1
- package/dist/website/main/assets/index-Dnz1UQnr.js +0 -1
- package/dist/website/main/assets/index-DpYJK6hB.js +0 -1
- package/dist/website/main/assets/index-DqiFCfGx-uaEe5kQB.js +0 -1
- package/dist/website/main/assets/index-Dr-xg5xd.js +0 -1
- package/dist/website/main/assets/index-DtBE21vT.js +0 -1
- package/dist/website/main/assets/index-DxdtqQU6.js +0 -1
- package/dist/website/main/assets/index-DxypSQ0K-zR2L90gm.js +0 -1
- package/dist/website/main/assets/index-DzxzRGrk.js +0 -3
- package/dist/website/main/assets/index-Ji2WmMDE.css +0 -1
- package/dist/website/main/assets/index-Mnu1wKgu.css +0 -1
- package/dist/website/main/assets/index-NYRLx08d.js +0 -1
- package/dist/website/main/assets/index-PMqboCW5.js +0 -1
- package/dist/website/main/assets/index-R79ZeMZV.js +0 -1
- package/dist/website/main/assets/index-T76vWLBU-B_wdWDQF.js +0 -13
- package/dist/website/main/assets/index-XhJP7gYm.js +0 -1
- package/dist/website/main/assets/index-fZBcgzqR-CZSkQJVN.js +0 -1
- package/dist/website/main/assets/index-kE41pQo6.js +0 -1
- package/dist/website/main/assets/index-mqeGrL6B-Dup8h8xb.js +0 -1
- package/dist/website/main/assets/index-rRr1TSL-.css +0 -1
- package/dist/website/main/assets/index-tMz4-DEB.js +0 -1
- package/dist/website/main/assets/index-ywM9Y30i.js +0 -1
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-B8gjIiIt.js +0 -2
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-BdH7Nx9p.js +0 -1
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-Bphion84.js +0 -1
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-C8D789jG.js +0 -1
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-CfvoANZj.js +0 -1
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-uwxiML83.js +0 -1
- package/dist/website/main/assets/index.vue_vue_type_style_index_0_lang-DDVUKgQ8.js +0 -1
- package/dist/website/main/assets/index.vue_vue_type_style_index_0_lang-DiN6WUUw.js +0 -6
- package/dist/website/main/assets/index3-BB6QcGH6.js +0 -1
- package/dist/website/main/assets/javascript-iXu5QeM3.js +0 -1
- package/dist/website/main/assets/julia-DuME0IfC.js +0 -1
- package/dist/website/main/assets/kid-star-0b7jegzF.js +0 -1
- package/dist/website/main/assets/kid-star-D1M-aC1C.css +0 -1
- package/dist/website/main/assets/livescript-BwQOo05w.js +0 -1
- package/dist/website/main/assets/lua-VAEuO923.js +0 -1
- package/dist/website/main/assets/mathematica-DTrFuWx2.js +0 -1
- package/dist/website/main/assets/mbox-CNhZ1qSd.js +0 -1
- package/dist/website/main/assets/md5-BqUl3L9Y.js +0 -1
- package/dist/website/main/assets/mirc-CjQqDB4T.js +0 -1
- package/dist/website/main/assets/mllike-CXdrOF99.js +0 -1
- package/dist/website/main/assets/modelica-Dc1JOy9r.js +0 -1
- package/dist/website/main/assets/moment-B-YVwB4U.js +0 -4
- package/dist/website/main/assets/mscgen-BA5vi2Kp.js +0 -1
- package/dist/website/main/assets/mumps-BT43cFF4.js +0 -1
- package/dist/website/main/assets/nginx-DdIZxoE0.js +0 -1
- package/dist/website/main/assets/nsis-LdVXkNf5.js +0 -1
- package/dist/website/main/assets/ntriples-BfvgReVJ.js +0 -1
- package/dist/website/main/assets/octave-Ck1zUtKM.js +0 -1
- package/dist/website/main/assets/oz-BzwKVEFT.js +0 -1
- package/dist/website/main/assets/papaparse.min-Brc8PWCw-BsyFjD51.js +0 -10
- package/dist/website/main/assets/pascal--L3eBynH.js +0 -1
- package/dist/website/main/assets/perl-CdXCOZ3F.js +0 -1
- package/dist/website/main/assets/pig-CevX1Tat.js +0 -1
- package/dist/website/main/assets/powershell-CFHJl5sT.js +0 -1
- package/dist/website/main/assets/properties-C78fOPTZ.js +0 -1
- package/dist/website/main/assets/protobuf-ChK-085T.js +0 -1
- package/dist/website/main/assets/pug-DeIclll2.js +0 -1
- package/dist/website/main/assets/puppet-DMA9R1ak.js +0 -1
- package/dist/website/main/assets/python-BuPzkPfP.js +0 -1
- package/dist/website/main/assets/q-pXgVlZs6.js +0 -1
- package/dist/website/main/assets/r-B6wPVr8A.js +0 -1
- package/dist/website/main/assets/rpm-CTu-6PCP.js +0 -1
- package/dist/website/main/assets/ruby-B2Rjki9n.js +0 -1
- package/dist/website/main/assets/sas-B4kiWyti.js +0 -1
- package/dist/website/main/assets/scheme-C41bIUwD.js +0 -1
- package/dist/website/main/assets/settings-BhagQj3w.css +0 -1
- package/dist/website/main/assets/settings-DpNeh4hy.js +0 -1
- package/dist/website/main/assets/shell-CjFT_Tl9.js +0 -1
- package/dist/website/main/assets/sieve-C3Gn_uJK.js +0 -1
- package/dist/website/main/assets/simple-mode-GW_nhZxv.js +0 -1
- package/dist/website/main/assets/smalltalk-CnHTOXQT.js +0 -1
- package/dist/website/main/assets/solr-DehyRSwq.js +0 -1
- package/dist/website/main/assets/sparql-DkYu6x3z.js +0 -1
- package/dist/website/main/assets/spreadsheet-BCZA_wO0.js +0 -1
- package/dist/website/main/assets/sql-D0XecflT.js +0 -1
- package/dist/website/main/assets/stex-C3f8Ysf7.js +0 -1
- package/dist/website/main/assets/stylus-B533Al4x.js +0 -1
- package/dist/website/main/assets/supervised-user-circle-B5yCz5Oo.js +0 -1
- package/dist/website/main/assets/supervised-user-circle-CZYpyCV4.css +0 -1
- package/dist/website/main/assets/swift-BzpIVaGY.js +0 -1
- package/dist/website/main/assets/sync-saved-locally-rounded-BX8GcRCO.js +0 -1
- package/dist/website/main/assets/sync-saved-locally-rounded-wbwASI26.css +0 -1
- package/dist/website/main/assets/tcl-DVfN8rqt.js +0 -1
- package/dist/website/main/assets/terminal-DFt3N_TH.css +0 -1
- package/dist/website/main/assets/terminal-DXqN9Hoj.js +0 -1
- package/dist/website/main/assets/textile-CnDTJFAw.js +0 -1
- package/dist/website/main/assets/tiddlywiki-DO-Gjzrf.js +0 -1
- package/dist/website/main/assets/tiki-DGYXhP31.js +0 -1
- package/dist/website/main/assets/toml-Bm5Em-hy.js +0 -1
- package/dist/website/main/assets/troff-wAsdV37c.js +0 -1
- package/dist/website/main/assets/ttcn-CfJYG6tj.js +0 -1
- package/dist/website/main/assets/ttcn-cfg-B9xdYoR4.js +0 -1
- package/dist/website/main/assets/turtle-B1tBg_DP.js +0 -1
- package/dist/website/main/assets/useCacheOssStore-DRfQruRw.js +0 -1
- package/dist/website/main/assets/useCompEditStore-C2cDxPfw.css +0 -1
- package/dist/website/main/assets/useCompEditStore-DpFLk9bE.js +0 -70
- package/dist/website/main/assets/useCompMetaLocalStore-Dko7Z-qO.js +0 -1
- package/dist/website/main/assets/useKeyword-Dh8n_REW.js +0 -1
- package/dist/website/main/assets/useMessage-DeFP0yQy.js +0 -1
- package/dist/website/main/assets/useTeamHeaders-BSofrH8c.css +0 -1
- package/dist/website/main/assets/useTeamHeaders-Bl2nRtJe.js +0 -380
- package/dist/website/main/assets/useUnreadStore-C1fMXHK-.js +0 -1
- package/dist/website/main/assets/useVscodeOpen-CcI7l8e8.js +0 -1
- package/dist/website/main/assets/v4-EwEgHOG0.js +0 -1
- package/dist/website/main/assets/vb-CmGdzxic.js +0 -1
- package/dist/website/main/assets/vbscript-BuJXcnF6.js +0 -1
- package/dist/website/main/assets/velocity-D8B20fx6.js +0 -1
- package/dist/website/main/assets/vendor-core-CfnvwQzw.js +0 -3
- package/dist/website/main/assets/vendor-ui-g5RNTRAc.js +0 -50
- package/dist/website/main/assets/vendor-xterm-mNFjEaKn.js +0 -9
- package/dist/website/main/assets/verilog-C6RDOZhf.js +0 -1
- package/dist/website/main/assets/vhdl-lSbBsy5d.js +0 -1
- package/dist/website/main/assets/webidl-ZXfAyPTL.js +0 -1
- package/dist/website/main/assets/xquery-DzFWVndE.js +0 -1
- package/dist/website/main/assets/yacas-BJ4BC0dw.js +0 -1
- package/dist/website/main/assets/z80-Hz9HOZM7.js +0 -1
- package/dist/website/main/assets/zhCN-VSAW5gZn.js +0 -1
- package/dist/website/main/favicon.ico +0 -0
- package/dist/website/main/index.html +0 -111
- package/dist/website/main/md/COMP_REPEAT.en.md +0 -20
- package/dist/website/main/md/COMP_REPEAT.zh.md +0 -20
- package/dist/website/main/md/PUT_TREATY.en.md +0 -68
- package/dist/website/main/md/PUT_TREATY.zh.md +0 -68
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function A(i){var o=i.statementIndentUnit,u=i.dontAlignCalls,c=i.noIndentKeywords||[],s=i.multiLineStrings,a=i.hooks||{};function g(e){for(var n={},t=e.split(" "),r=0;r<t.length;++r)n[t[r]]=!0;return n}var h=g("accept_on alias always always_comb always_ff always_latch and assert assign assume automatic before begin bind bins binsof bit break buf bufif0 bufif1 byte case casex casez cell chandle checker class clocking cmos config const constraint context continue cover covergroup coverpoint cross deassign default defparam design disable dist do edge else end endcase endchecker endclass endclocking endconfig endfunction endgenerate endgroup endinterface endmodule endpackage endprimitive endprogram endproperty endspecify endsequence endtable endtask enum event eventually expect export extends extern final first_match for force foreach forever fork forkjoin function generate genvar global highz0 highz1 if iff ifnone ignore_bins illegal_bins implements implies import incdir include initial inout input inside instance int integer interconnect interface intersect join join_any join_none large let liblist library local localparam logic longint macromodule matches medium modport module nand negedge nettype new nexttime nmos nor noshowcancelled not notif0 notif1 null or output package packed parameter pmos posedge primitive priority program property protected pull0 pull1 pulldown pullup pulsestyle_ondetect pulsestyle_onevent pure rand randc randcase randsequence rcmos real realtime ref reg reject_on release repeat restrict return rnmos rpmos rtran rtranif0 rtranif1 s_always s_eventually s_nexttime s_until s_until_with scalared sequence shortint shortreal showcancelled signed small soft solve specify specparam static string strong strong0 strong1 struct super supply0 supply1 sync_accept_on sync_reject_on table tagged task this throughout time timeprecision timeunit tran tranif0 tranif1 tri tri0 tri1 triand trior trireg type typedef union unique unique0 unsigned until until_with untyped use uwire var vectored virtual void wait wait_order wand weak weak0 weak1 while wildcard wire with within wor xnor xor"),w=/[\+\-\*\/!~&|^%=?:]/,k=/[\[\]{}()]/,b=/\d[0-9_]*/,I=/\d*\s*'s?d\s*\d[0-9_]*/i,O=/\d*\s*'s?b\s*[xz01][xz01_]*/i,T=/\d*\s*'s?o\s*[xz0-7][xz0-7_]*/i,W=/\d*\s*'s?h\s*[0-9a-fxz?][0-9a-fxz?_]*/i,B=/(\d[\d_]*(\.\d[\d_]*)?E-?[\d_]+)|(\d[\d_]*\.\d[\d_]*)/i,M=/^((\w+)|[)}\]])/,U=/[)}\]]/,d,v,K=g("case checker class clocking config function generate interface module package primitive program property specify sequence table task"),f={};for(var m in K)f[m]="end"+m;f.begin="end",f.casex="endcase",f.casez="endcase",f.do="while",f.fork="join;join_any;join_none",f.covergroup="endgroup";for(var V in c){var m=c[V];f[m]&&(f[m]=void 0)}var R=g("always always_comb always_ff always_latch assert assign assume else export for foreach forever if import initial repeat while");function _(e,n){var t=e.peek(),r;if(a[t]&&(r=a[t](e,n))!=!1||a.tokenBase&&(r=a.tokenBase(e,n))!=!1)return r;if(/[,;:\.]/.test(t))return d=e.next(),null;if(k.test(t))return d=e.next(),"bracket";if(t=="`")return e.next(),e.eatWhile(/[\w\$_]/)?"def":null;if(t=="$")return e.next(),e.eatWhile(/[\w\$_]/)?"meta":null;if(t=="#")return e.next(),e.eatWhile(/[\d_.]/),"def";if(t=='"')return e.next(),n.tokenize=D(t),n.tokenize(e,n);if(t=="/"){if(e.next(),e.eat("*"))return n.tokenize=L,L(e,n);if(e.eat("/"))return e.skipToEnd(),"comment";e.backUp(1)}if(e.match(B)||e.match(I)||e.match(O)||e.match(T)||e.match(W)||e.match(b)||e.match(B))return"number";if(e.eatWhile(w))return"meta";if(e.eatWhile(/[\w\$_]/)){var l=e.current();return h[l]?(f[l]&&(d="newblock"),R[l]&&(d="newstatement"),v=l,"keyword"):"variable"}return e.next(),null}function D(e){return function(n,t){for(var r=!1,l,y=!1;(l=n.next())!=null;){if(l==e&&!r){y=!0;break}r=!r&&l=="\\"}return(y||!(r||s))&&(t.tokenize=_),"string"}}function L(e,n){for(var t=!1,r;r=e.next();){if(r=="/"&&t){n.tokenize=_;break}t=r=="*"}return"comment"}function j(e,n,t,r,l){this.indented=e,this.column=n,this.type=t,this.align=r,this.prev=l}function p(e,n,t){var r=e.indented,l=new j(r,n,t,null,e.context);return e.context=l}function C(e){var n=e.context.type;return(n==")"||n=="]"||n=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}function N(e,n){if(e==n)return!0;var t=n.split(";");for(var r in t)if(e==t[r])return!0;return!1}function P(){var e=[];for(var n in f)if(f[n]){var t=f[n].split(";");for(var r in t)e.push(t[r])}var l=new RegExp("[{}()\\[\\]]|("+e.join("|")+")$");return l}return{name:"verilog",startState:function(e){var n={tokenize:null,context:new j(-e,0,"top",!1),indented:0,startOfLine:!0};return a.startState&&a.startState(n),n},token:function(e,n){var t=n.context;if(e.sol()&&(t.align==null&&(t.align=!1),n.indented=e.indentation(),n.startOfLine=!0),a.token){var r=a.token(e,n);if(r!==void 0)return r}if(e.eatSpace())return null;d=null,v=null;var r=(n.tokenize||_)(e,n);if(r=="comment"||r=="meta"||r=="variable")return r;if(t.align==null&&(t.align=!0),d==t.type)C(n);else if(d==";"&&t.type=="statement"||t.type&&N(v,t.type))for(t=C(n);t&&t.type=="statement";)t=C(n);else if(d=="{")p(n,e.column(),"}");else if(d=="[")p(n,e.column(),"]");else if(d=="(")p(n,e.column(),")");else if(t&&t.type=="endcase"&&d==":")p(n,e.column(),"statement");else if(d=="newstatement")p(n,e.column(),"statement");else if(d=="newblock"&&!(v=="function"&&t&&(t.type=="statement"||t.type=="endgroup"))){if(!(v=="task"&&t&&t.type=="statement")){var l=f[v];p(n,e.column(),l)}}return n.startOfLine=!1,r},indent:function(e,n,t){if(e.tokenize!=_&&e.tokenize!=null)return null;if(a.indent){var r=a.indent(e);if(r>=0)return r}var l=e.context,y=n&&n.charAt(0);l.type=="statement"&&y=="}"&&(l=l.prev);var x=!1,$=n.match(M);return $&&(x=N($[0],l.type)),l.type=="statement"?l.indented+(y=="{"?0:o||t.unit):U.test(l.type)&&l.align&&!u?l.column+(x?0:1):l.type==")"&&!x?l.indented+(o||t.unit):l.indented+(x?0:t.unit)},languageData:{indentOnInput:P(),commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}}}const J=A({});var z={"|":"link",">":"property",$:"variable",$$:"variable","?$":"qualifier","?*":"qualifier","-":"contentSeparator","/":"property","/-":"property","@":"variableName.special","@-":"variableName.special","@++":"variableName.special","@+=":"variableName.special","@+=-":"variableName.special","@--":"variableName.special","@-=":"variableName.special","%+":"tag","%-":"tag","%":"tag",">>":"tag","<<":"tag","<>":"tag","#":"tag","^":"attribute","^^":"attribute","^!":"attribute","*":"variable","**":"variable","\\":"keyword",'"':"comment"},E={"/":"beh-hier",">":"beh-hier","-":"phys-hier","|":"pipe","?":"when","@":"stage","\\":"keyword"},S=3,q=/^([~!@#\$%\^&\*-\+=\?\/\\\|'"<>]+)([\d\w_]*)/,F=/^[! ] */,G=/^\/[\/\*]/;const Q=A({hooks:{electricInput:!1,token:function(i,o){var u=void 0,c;if(i.sol()&&!o.tlvInBlockComment){i.peek()=="\\"&&(u="def",i.skipToEnd(),i.string.match(/\\SV/)?o.tlvCodeActive=!1:i.string.match(/\\TLV/)&&(o.tlvCodeActive=!0)),o.tlvCodeActive&&i.pos==0&&o.indented==0&&(c=i.match(F,!1))&&(o.indented=c[0].length);var s=o.indented,a=s/S;if(a<=o.tlvIndentationStyle.length){var g=i.string.length==s,h=a*S;if(h<i.string.length){var w=i.string.slice(h),k=w[0];E[k]&&(c=w.match(q))&&z[c[1]]&&(s+=S,k=="\\"&&h>0||(o.tlvIndentationStyle[a]=E[k],a++))}if(!g)for(;o.tlvIndentationStyle.length>a;)o.tlvIndentationStyle.pop()}o.tlvNextIndent=s}if(o.tlvCodeActive){var c;if(u===void 0)if(o.tlvInBlockComment)i.match(/^.*?\*\//)?o.tlvInBlockComment=!1:i.skipToEnd(),u="comment";else if((c=i.match(G))&&!o.tlvInBlockComment)c[0]=="//"?i.skipToEnd():o.tlvInBlockComment=!0,u="comment";else if(c=i.match(q)){var b=c[1],I=c[2];z.hasOwnProperty(b)&&(I.length>0||i.eol())?u=z[b]:i.backUp(i.current().length-1)}else i.match(/^\t+/)?u="invalid":i.match(/^[\[\]{}\(\);\:]+/)?u="meta":(c=i.match(/^[mM]4([\+_])?[\w\d_]*/))?u=c[1]=="+"?"keyword.special":"keyword":i.match(/^ +/)?i.eol()&&(u="error"):i.match(/^[\w\d_]+/)?u="number":i.next()}else i.match(/^[mM]4([\w\d_]*)/)&&(u="keyword");return u},indent:function(i){return i.tlvCodeActive==!0?i.tlvNextIndent:-1},startState:function(i){i.tlvIndentationStyle=[],i.tlvCodeActive=!0,i.tlvNextIndent=-1,i.tlvInBlockComment=!1}}});export{Q as tlv,J as verilog};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function f(e){for(var t={},n=e.split(","),r=0;r<n.length;++r){var i=n[r].toUpperCase(),l=n[r].charAt(0).toUpperCase()+n[r].slice(1);t[n[r]]=!0,t[i]=!0,t[l]=!0}return t}function p(e){return e.eatWhile(/[\w\$_]/),"meta"}var k=f("null"),s={"`":p,$:p},g=!1,y=f("abs,access,after,alias,all,and,architecture,array,assert,attribute,begin,block,body,buffer,bus,case,component,configuration,constant,disconnect,downto,else,elsif,end,end block,end case,end component,end for,end generate,end if,end loop,end process,end record,end units,entity,exit,file,for,function,generate,generic,generic map,group,guarded,if,impure,in,inertial,inout,is,label,library,linkage,literal,loop,map,mod,nand,new,next,nor,null,of,on,open,or,others,out,package,package body,port,port map,postponed,procedure,process,pure,range,record,register,reject,rem,report,return,rol,ror,select,severity,signal,sla,sll,sra,srl,subtype,then,to,transport,type,unaffected,units,until,use,variable,wait,when,while,with,xnor,xor"),v=f("architecture,entity,begin,case,port,else,elsif,end,for,function,if"),d=/[&|~><!\)\(*#%@+\/=?\:;}{,\.\^\-\[\]]/,o;function c(e,t){var n=e.next();if(s[n]){var r=s[n](e,t);if(r!==!1)return r}if(n=='"')return t.tokenize=m(n),t.tokenize(e,t);if(n=="'")return t.tokenize=b(n),t.tokenize(e,t);if(/[\[\]{}\(\),;\:\.]/.test(n))return o=n,null;if(/[\d']/.test(n))return e.eatWhile(/[\w\.']/),"number";if(n=="-"&&e.eat("-"))return e.skipToEnd(),"comment";if(d.test(n))return e.eatWhile(d),"operator";e.eatWhile(/[\w\$_]/);var i=e.current();return y.propertyIsEnumerable(i.toLowerCase())?(v.propertyIsEnumerable(i)&&(o="newstatement"),"keyword"):k.propertyIsEnumerable(i)?"atom":"variable"}function b(e){return function(t,n){for(var r=!1,i,l=!1;(i=t.next())!=null;){if(i==e&&!r){l=!0;break}r=!r&&i=="--"}return(l||!(r||g))&&(n.tokenize=c),"string"}}function m(e){return function(t,n){for(var r=!1,i,l=!1;(i=t.next())!=null;){if(i==e&&!r){l=!0;break}r=!r&&i=="--"}return(l||!(r||g))&&(n.tokenize=c),"string.special"}}function h(e,t,n,r,i){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=i}function a(e,t,n){return e.context=new h(e.indented,t,n,null,e.context)}function u(e){var t=e.context.type;return(t==")"||t=="]"||t=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}const w={name:"vhdl",startState:function(e){return{tokenize:null,context:new h(-e,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var n=t.context;if(e.sol()&&(n.align==null&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;o=null;var r=(t.tokenize||c)(e,t);if(r=="comment"||r=="meta")return r;if(n.align==null&&(n.align=!0),(o==";"||o==":")&&n.type=="statement")u(t);else if(o=="{")a(t,e.column(),"}");else if(o=="[")a(t,e.column(),"]");else if(o=="(")a(t,e.column(),")");else if(o=="}"){for(;n.type=="statement";)n=u(t);for(n.type=="}"&&(n=u(t));n.type=="statement";)n=u(t)}else o==n.type?u(t):(n.type=="}"||n.type=="top"||n.type=="statement"&&o=="newstatement")&&a(t,e.column(),"statement");return t.startOfLine=!1,r},indent:function(e,t,n){if(e.tokenize!=c&&e.tokenize!=null)return 0;var r=t&&t.charAt(0),i=e.context,l=r==i.type;return i.type=="statement"?i.indented+(r=="{"?0:n.unit):i.align?i.column+(l?0:1):i.indented+(l?0:n.unit)},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{line:"--"}}};export{w as vhdl};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function a(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var l=["Clamp","Constructor","EnforceRange","Exposed","ImplicitThis","Global","PrimaryGlobal","LegacyArrayClass","LegacyUnenumerableNamedProperties","LenientThis","NamedConstructor","NewObject","NoInterfaceObject","OverrideBuiltins","PutForwards","Replaceable","SameObject","TreatNonObjectAsNull","TreatNullAs","EmptyString","Unforgeable","Unscopeable"],u=a(l),o=["unsigned","short","long","unrestricted","float","double","boolean","byte","octet","Promise","ArrayBuffer","DataView","Int8Array","Int16Array","Int32Array","Uint8Array","Uint16Array","Uint32Array","Uint8ClampedArray","Float32Array","Float64Array","ByteString","DOMString","USVString","sequence","object","RegExp","Error","DOMException","FrozenArray","any","void"],m=a(o),c=["attribute","callback","const","deleter","dictionary","enum","getter","implements","inherit","interface","iterable","legacycaller","maplike","partial","required","serializer","setlike","setter","static","stringifier","typedef","optional","readonly","or"],s=a(c),f=["true","false","Infinity","NaN","null"],y=a(f),d=["callback","dictionary","enum","interface"],p=a(d),b=["typedef"],v=a(b),A=/^[:<=>?]/,g=/^-?([1-9][0-9]*|0[Xx][0-9A-Fa-f]+|0[0-7]*)/,h=/^-?(([0-9]+\.[0-9]*|[0-9]*\.[0-9]+)([Ee][+-]?[0-9]+)?|[0-9]+[Ee][+-]?[0-9]+)/,i=/^_?[A-Za-z][0-9A-Z_a-z-]*/,D=/^_?[A-Za-z][0-9A-Z_a-z-]*(?=\s*;)/,k=/^"[^"]*"/,E=/^\/\*.*?\*\//,C=/^\/\*.*/,w=/^.*?\*\//;function N(e,r){if(e.eatSpace())return null;if(r.inComment)return e.match(w)?(r.inComment=!1,"comment"):(e.skipToEnd(),"comment");if(e.match("//"))return e.skipToEnd(),"comment";if(e.match(E))return"comment";if(e.match(C))return r.inComment=!0,"comment";if(e.match(/^-?[0-9\.]/,!1)&&(e.match(g)||e.match(h)))return"number";if(e.match(k))return"string";if(r.startDef&&e.match(i))return"def";if(r.endDef&&e.match(D))return r.endDef=!1,"def";if(e.match(s))return"keyword";if(e.match(m)){var t=r.lastToken,n=(e.match(/^\s*(.+?)\b/,!1)||[])[1];return t===":"||t==="implements"||n==="implements"||n==="="?"builtin":"type"}return e.match(u)?"builtin":e.match(y)?"atom":e.match(i)?"variable":e.match(A)?"operator":(e.next(),null)}const S={name:"webidl",startState:function(){return{inComment:!1,lastToken:"",startDef:!1,endDef:!1}},token:function(e,r){var t=N(e,r);if(t){var n=e.current();r.lastToken=n,t==="keyword"?(r.startDef=p.test(n),r.endDef=r.endDef||v.test(n)):r.startDef=!1}return t},languageData:{autocomplete:l.concat(o).concat(c).concat(f)}};export{S as webIDL};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var d=(function(){function e(w){return{type:w,style:"keyword"}}for(var n=e("operator"),t={type:"atom",style:"atom"},i={type:"punctuation",style:null},o={type:"axis_specifier",style:"qualifier"},l={",":i},p=["after","all","allowing","ancestor","ancestor-or-self","any","array","as","ascending","at","attribute","base-uri","before","boundary-space","by","case","cast","castable","catch","child","collation","comment","construction","contains","content","context","copy","copy-namespaces","count","decimal-format","declare","default","delete","descendant","descendant-or-self","descending","diacritics","different","distance","document","document-node","element","else","empty","empty-sequence","encoding","end","entire","every","exactly","except","external","first","following","following-sibling","for","from","ftand","ftnot","ft-option","ftor","function","fuzzy","greatest","group","if","import","in","inherit","insensitive","insert","instance","intersect","into","invoke","is","item","language","last","lax","least","let","levels","lowercase","map","modify","module","most","namespace","next","no","node","nodes","no-inherit","no-preserve","not","occurs","of","only","option","order","ordered","ordering","paragraph","paragraphs","parent","phrase","preceding","preceding-sibling","preserve","previous","processing-instruction","relationship","rename","replace","return","revalidation","same","satisfies","schema","schema-attribute","schema-element","score","self","sensitive","sentence","sentences","sequence","skip","sliding","some","stable","start","stemming","stop","strict","strip","switch","text","then","thesaurus","times","to","transform","treat","try","tumbling","type","typeswitch","union","unordered","update","updating","uppercase","using","validate","value","variable","version","weight","when","where","wildcards","window","with","without","word","words","xquery"],r=0,a=p.length;r<a;r++)l[p[r]]=e(p[r]);for(var g=["xs:anyAtomicType","xs:anySimpleType","xs:anyType","xs:anyURI","xs:base64Binary","xs:boolean","xs:byte","xs:date","xs:dateTime","xs:dateTimeStamp","xs:dayTimeDuration","xs:decimal","xs:double","xs:duration","xs:ENTITIES","xs:ENTITY","xs:float","xs:gDay","xs:gMonth","xs:gMonthDay","xs:gYear","xs:gYearMonth","xs:hexBinary","xs:ID","xs:IDREF","xs:IDREFS","xs:int","xs:integer","xs:item","xs:java","xs:language","xs:long","xs:Name","xs:NCName","xs:negativeInteger","xs:NMTOKEN","xs:NMTOKENS","xs:nonNegativeInteger","xs:nonPositiveInteger","xs:normalizedString","xs:NOTATION","xs:numeric","xs:positiveInteger","xs:precisionDecimal","xs:QName","xs:short","xs:string","xs:time","xs:token","xs:unsignedByte","xs:unsignedInt","xs:unsignedLong","xs:unsignedShort","xs:untyped","xs:untypedAtomic","xs:yearMonthDuration"],r=0,a=g.length;r<a;r++)l[g[r]]=t;for(var f=["eq","ne","lt","le","gt","ge",":=","=",">",">=","<","<=",".","|","?","and","or","div","idiv","mod","*","/","+","-"],r=0,a=f.length;r<a;r++)l[f[r]]=n;for(var v=["self::","attribute::","child::","descendant::","descendant-or-self::","parent::","ancestor::","ancestor-or-self::","following::","preceding::","following-sibling::","preceding-sibling::"],r=0,a=v.length;r<a;r++)l[v[r]]=o;return l})();function x(e,n,t){return n.tokenize=t,t(e,n)}function u(e,n){var t=e.next(),i=!1,o=_(e);if(t=="<"){if(e.match("!--",!0))return x(e,n,N);if(e.match("![CDATA",!1))return n.tokenize=E,"tag";if(e.match("?",!1))return x(e,n,A);var l=e.eat("/");e.eatSpace();for(var p="",r;r=e.eat(/[^\s\u00a0=<>\"\'\/?]/);)p+=r;return x(e,n,S(p,l))}else{if(t=="{")return s(n,{type:"codeblock"}),null;if(t=="}")return c(n),null;if(b(n))return t==">"?"tag":t=="/"&&e.eat(">")?(c(n),"tag"):"variable";if(/\d/.test(t))return e.match(/^\d*(?:\.\d*)?(?:E[+\-]?\d+)?/),"atom";if(t==="("&&e.eat(":"))return s(n,{type:"comment"}),x(e,n,z);if(!o&&(t==='"'||t==="'"))return m(e,n,t);if(t==="$")return x(e,n,T);if(t===":"&&e.eat("="))return"keyword";if(t==="(")return s(n,{type:"paren"}),null;if(t===")")return c(n),null;if(t==="[")return s(n,{type:"bracket"}),null;if(t==="]")return c(n),null;var a=d.propertyIsEnumerable(t)&&d[t];if(o&&t==='"')for(;e.next()!=='"';);if(o&&t==="'")for(;e.next()!=="'";);a||e.eatWhile(/[\w\$_-]/);var g=e.eat(":");!e.eat(":")&&g&&e.eatWhile(/[\w\$_-]/),e.match(/^[ \t]*\(/,!1)&&(i=!0);var f=e.current();return a=d.propertyIsEnumerable(f)&&d[f],i&&!a&&(a={type:"function_call",style:"def"}),D(n)?(c(n),"variable"):((f=="element"||f=="attribute"||a.type=="axis_specifier")&&s(n,{type:"xmlconstructor"}),a?a.style:"variable")}}function z(e,n){for(var t=!1,i=!1,o=0,l;l=e.next();){if(l==")"&&t)if(o>0)o--;else{c(n);break}else l==":"&&i&&o++;t=l==":",i=l=="("}return"comment"}function I(e,n){return function(t,i){for(var o;o=t.next();)if(o==e){c(i),n&&(i.tokenize=n);break}else if(t.match("{",!1)&&h(i))return s(i,{type:"codeblock"}),i.tokenize=u,"string";return"string"}}function m(e,n,t,i){let o=I(t,i);return s(n,{type:"string",name:t,tokenize:o}),x(e,n,o)}function T(e,n){var t=/[\w\$_-]/;if(e.eat('"')){for(;e.next()!=='"';);e.eat(":")}else e.eatWhile(t),e.match(":=",!1)||e.eat(":");return e.eatWhile(t),n.tokenize=u,"variable"}function S(e,n){return function(t,i){if(t.eatSpace(),n&&t.eat(">"))return c(i),i.tokenize=u,"tag";if(t.eat("/")||s(i,{type:"tag",name:e,tokenize:u}),t.eat(">"))i.tokenize=u;else return i.tokenize=y,"tag";return"tag"}}function y(e,n){var t=e.next();return t=="/"&&e.eat(">")?(h(n)&&c(n),b(n)&&c(n),"tag"):t==">"?(h(n)&&c(n),"tag"):t=="="?null:t=='"'||t=="'"?m(e,n,t,y):(h(n)||s(n,{type:"attribute",tokenize:y}),e.eat(/[a-zA-Z_:]/),e.eatWhile(/[-a-zA-Z0-9_:.]/),e.eatSpace(),(e.match(">",!1)||e.match("/",!1))&&(c(n),n.tokenize=u),"attribute")}function N(e,n){for(var t;t=e.next();)if(t=="-"&&e.match("->",!0))return n.tokenize=u,"comment"}function E(e,n){for(var t;t=e.next();)if(t=="]"&&e.match("]",!0))return n.tokenize=u,"comment"}function A(e,n){for(var t;t=e.next();)if(t=="?"&&e.match(">",!0))return n.tokenize=u,"processingInstruction"}function b(e){return k(e,"tag")}function h(e){return k(e,"attribute")}function D(e){return k(e,"xmlconstructor")}function _(e){return e.current()==='"'?e.match(/^[^\"]+\"\:/,!1):e.current()==="'"?e.match(/^[^\"]+\'\:/,!1):!1}function k(e,n){return e.stack.length&&e.stack[e.stack.length-1].type==n}function s(e,n){e.stack.push(n)}function c(e){e.stack.pop();var n=e.stack.length&&e.stack[e.stack.length-1].tokenize;e.tokenize=n||u}const C={name:"xquery",startState:function(){return{tokenize:u,cc:[],stack:[]}},token:function(e,n){if(e.eatSpace())return null;var t=n.tokenize(e,n);return t},languageData:{commentTokens:{block:{open:"(:",close:":)"}}}};export{C as xQuery};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function t(e){for(var n={},r=e.split(" "),o=0;o<r.length;++o)n[r[o]]=!0;return n}var a=t("Assert BackQuote D Defun Deriv For ForEach FromFile FromString Function Integrate InverseTaylor Limit LocalSymbols Macro MacroRule MacroRulePattern NIntegrate Rule RulePattern Subst TD TExplicitSum TSum Taylor Taylor1 Taylor2 Taylor3 ToFile ToStdout ToString TraceRule Until While"),f="(?:(?:\\.\\d+|\\d+\\.\\d*|\\d+)(?:[eE][+-]?\\d+)?)",u="(?:[a-zA-Z\\$'][a-zA-Z0-9\\$']*)",p=new RegExp(f),d=new RegExp(u),k=new RegExp(u+"?_"+u),s=new RegExp(u+"\\s*\\(");function l(e,n){var r;if(r=e.next(),r==='"')return n.tokenize=v,n.tokenize(e,n);if(r==="/"){if(e.eat("*"))return n.tokenize=h,n.tokenize(e,n);if(e.eat("/"))return e.skipToEnd(),"comment"}e.backUp(1);var o=e.match(/^(\w+)\s*\(/,!1);o!==null&&a.hasOwnProperty(o[1])&&n.scopes.push("bodied");var i=c(n);if(i==="bodied"&&r==="["&&n.scopes.pop(),(r==="["||r==="{"||r==="(")&&n.scopes.push(r),i=c(n),(i==="["&&r==="]"||i==="{"&&r==="}"||i==="("&&r===")")&&n.scopes.pop(),r===";")for(;i==="bodied";)n.scopes.pop(),i=c(n);return e.match(/\d+ *#/,!0,!1)?"qualifier":e.match(p,!0,!1)?"number":e.match(k,!0,!1)?"variableName.special":e.match(/(?:\[|\]|{|}|\(|\))/,!0,!1)?"bracket":e.match(s,!0,!1)?(e.backUp(1),"variableName.function"):e.match(d,!0,!1)?"variable":e.match(/(?:\\|\+|\-|\*|\/|,|;|\.|:|@|~|=|>|<|&|\||_|`|'|\^|\?|!|%|#)/,!0,!1)?"operator":"error"}function v(e,n){for(var r,o=!1,i=!1;(r=e.next())!=null;){if(r==='"'&&!i){o=!0;break}i=!i&&r==="\\"}return o&&!i&&(n.tokenize=l),"string"}function h(e,n){for(var r,o;(o=e.next())!=null;){if(r==="*"&&o==="/"){n.tokenize=l;break}r=o}return"comment"}function c(e){var n=null;return e.scopes.length>0&&(n=e.scopes[e.scopes.length-1]),n}const b={name:"yacas",startState:function(){return{tokenize:l,scopes:[]}},token:function(e,n){return e.eatSpace()?null:n.tokenize(e,n)},indent:function(e,n,r){if(e.tokenize!==l&&e.tokenize!==null)return null;var o=0;return(n==="]"||n==="];"||n==="}"||n==="};"||n===");")&&(o=-1),(e.scopes.length+o)*r.unit},languageData:{electricInput:/[{}\[\]()\;]/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}};export{b as yacas};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function o(t){var n,l;t?(n=/^(exx?|(ld|cp)([di]r?)?|[lp]ea|pop|push|ad[cd]|cpl|daa|dec|inc|neg|sbc|sub|and|bit|[cs]cf|x?or|res|set|r[lr]c?a?|r[lr]d|s[lr]a|srl|djnz|nop|[de]i|halt|im|in([di]mr?|ir?|irx|2r?)|ot(dmr?|[id]rx|imr?)|out(0?|[di]r?|[di]2r?)|tst(io)?|slp)(\.([sl]?i)?[sl])?\b/i,l=/^(((call|j[pr]|rst|ret[in]?)(\.([sl]?i)?[sl])?)|(rs|st)mix)\b/i):(n=/^(exx?|(ld|cp|in)([di]r?)?|pop|push|ad[cd]|cpl|daa|dec|inc|neg|sbc|sub|and|bit|[cs]cf|x?or|res|set|r[lr]c?a?|r[lr]d|s[lr]a|srl|djnz|nop|rst|[de]i|halt|im|ot[di]r|out[di]?)\b/i,l=/^(call|j[pr]|ret[in]?|b_?(call|jump))\b/i);var u=/^(af?|bc?|c|de?|e|hl?|l|i[xy]?|r|sp)\b/i,d=/^(n?[zc]|p[oe]?|m)\b/i,f=/^([hl][xy]|i[xy][hl]|slia|sll)\b/i,c=/^([\da-f]+h|[0-7]+o|[01]+b|\d+d?)\b/i;return{name:"z80",startState:function(){return{context:0}},token:function(e,i){if(e.column()||(i.context=0),e.eatSpace())return null;var r;if(e.eatWhile(/\w/))if(t&&e.eat(".")&&e.eatWhile(/\w/),r=e.current(),e.indentation()){if((i.context==1||i.context==4)&&u.test(r))return i.context=4,"variable";if(i.context==2&&d.test(r))return i.context=4,"variableName.special";if(n.test(r))return i.context=1,"keyword";if(l.test(r))return i.context=2,"keyword";if(i.context==4&&c.test(r))return"number";if(f.test(r))return"error"}else return e.match(c)?"number":null;else{if(e.eat(";"))return e.skipToEnd(),"comment";if(e.eat('"')){for(;(r=e.next())&&r!='"';)r=="\\"&&e.next();return"string"}else if(e.eat("'")){if(e.match(/\\?.'/))return"number"}else if(e.eat(".")||e.sol()&&e.eat("#")){if(i.context=5,e.eatWhile(/\w/))return"def"}else if(e.eat("$")){if(e.eatWhile(/[\da-f]/i))return"number"}else if(e.eat("%")){if(e.eatWhile(/[01]/))return"number"}else e.next()}return null}}}const a=o(!1),s=o(!0);export{s as ez80,a as z80};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e={strings:{},pluralize(){return 0}};e.strings={addBulkFilesFailed:"内部错误导致添加 %{smart_count} 个文件失败",addedNumFiles:"已添加 %{numFiles} 个文件",addingMoreFiles:"添加更多文件",additionalRestrictionsFailed:"有 %{count} 个附加限制未满足",addMore:"添加更多文件",addMoreFiles:"添加更多文件",aggregateExceedsSize:"您选择了 %{size} 的文件,但最大允许大小为 %{sizeAllowed}",allFilesFromFolderNamed:"来自文件夹 %{name} 的所有文件",allowAccessDescription:"为了通过您的相机进行拍照或录像,请给网站相机的访问权限",allowAccessTitle:"请允许对相机的访问权限",allowAudioAccessDescription:"为了录制音频,请允许网站访问麦克风",allowAudioAccessTitle:"请允许访问麦克风",aspectRatioLandscape:"裁剪为横向(16:9)",aspectRatioPortrait:"裁剪为纵向(9:16)",aspectRatioSquare:"裁剪为正方形",authAborted:"认证已中止",authenticate:"连接",authenticateWith:"连接到 %{pluginName}",authenticateWithTitle:"请使用 %{pluginName} 进行认证以选择文件",back:"返回",browse:"浏览",browseFiles:"浏览文件",browseFolders:"浏览文件夹",cancel:"取消",cancelUpload:"取消上传",closeModal:"关闭窗口",companionError:"和 Companion 连接失败了",companionUnauthorizeHint:"请访问 %{url} 以认证您的 %{provider} 账户",complete:"上传完毕",compressedX:"通过压缩图片节省了 %{size}",compressingImages:"正在压缩图片…",connectedToInternet:"连接至网络",copyLink:"复制链接",copyLinkToClipboardFallback:"复制以下网址",copyLinkToClipboardSuccess:"链接已复制到剪贴板",creatingAssembly:"正在准备上传…",creatingAssemblyFailed:"Transloadit:无法创建程序集",dashboardTitle:"文件上传工具",dashboardWindowTitle:"文件上传工具窗口(按 Escape 键关闭)",dataUploadedOfTotal:"%{complete} / %{total}",dataUploadedOfUnknown:"%{complete} / 未知大小",discardMediaFile:"丢弃媒体文件",discardRecordedFile:"丢弃录制的文件",done:"完成",dropHereOr:"将文件拖拽到这里或者%{browse}",dropHint:"拖拽文件到这里",dropPasteBoth:"将文件拖拽到这里,%{browseFiles}或%{browseFolders}",dropPasteFiles:"将文件拖拽到这里或%{browseFiles}",dropPasteFolders:"将文件拖拽到这里或%{browseFolders}",dropPasteImportBoth:"将文件拖拽到这里,%{browseFiles}、%{browseFolders}或从以下位置导入:",dropPasteImportFiles:"将文件拖拽到这里,%{browseFiles}或从以下位置导入:",dropPasteImportFolders:"将文件拖拽到这里,%{browseFolders}或从以下位置导入:",editFile:"编辑文件",editFileWithFilename:"编辑文件 %{file}",editImage:"编辑图片",editing:"正在编辑 %{file}",emptyFolderAdded:"无法从空文件夹添加文件",encoding:"正在编码…",enterCorrectUrl:"错误链接:请确认您输入的是文件的直接链接",enterTextToSearch:"输入文字以搜索图片",enterUrlToImport:"输入链接以导入文件",error:"错误",exceedsSize:"%{file} 超过了最大允许大小 %{size}",failedToFetch:"Companion 无法抓取此链接,请确保它是正确的",failedToUpload:"上传 %{file} 失败",filesUploadedOfTotal:"已上传 %{smart_count} 个文件中的 %{complete} 个",filter:"筛选器",finishEditingFile:"完成文件编辑",flipHorizontal:"水平翻转",folderAdded:"从 %{folder} 添加了 %{smart_count} 个文件",folderAlreadyAdded:'文件夹"%{folder}"已经被添加过了',generatingThumbnails:"正在生成缩略图…",import:"导入",importFiles:"从以下位置导入文件:",importFrom:"从 %{name} 导入",inferiorSize:"此文件小于最小允许大小 %{size}",loadedXFiles:"已加载 %{numFiles} 个文件",loading:"正在载入…",logIn:"登录",logOut:"登出",micDisabled:"麦克风的权限访问被用户拒绝",missingRequiredMetaField:"缺少必需的元数据字段",missingRequiredMetaFieldOnFile:"%{fileName} 中缺少必需的元数据字段",missingRequiredMetaFields:"缺少必需的元数据字段:%{fields}",myDevice:"我的设备",noAudioDescription:"为了录制音频,请连接麦克风或其他音频输入设备",noAudioTitle:"麦克风不可用",noCameraDescription:"为了拍摄照片或录制视频,请连接一个摄像设备",noCameraTitle:"摄像头不可用",noDuplicates:'无法添加重复文件"%{fileName}",该文件已存在',noFilesFound:"这里空空如也",noInternetConnection:"无法连接到网络",noMoreFilesAllowed:"无法添加更多文件",noSearchResults:"很抱歉,没有找到相关搜索结果",openFolderNamed:"打开文件夹 %{name}",pause:"暂停",paused:"已暂停",pauseUpload:"暂停上传",pickFiles:"选择文件",pickPhotos:"选择照片",pleaseWait:"请稍候",pluginNameAudio:"音频",pluginNameCamera:"相机",pluginNameScreenCapture:"屏幕录制",pluginNameUrl:"链接",pluginWebdavInputLabel:"WebDAV 文件 URL(例如来自 ownCloud 或 Nextcloud)",poweredBy:"强力驱动于 %{uppy}",processingXFiles:"正在处理 %{smart_count} 个文件",recording:"正在录制",recordingLength:"录制时长 %{recording_length}",recordingStoppedMaxSize:"录制已停止,文件大小即将超过限制",recordVideoBtn:"录制视频",recoveredAllFiles:"我们已恢复所有文件。您现在可以继续上传。",recoveredXFiles:"我们无法完全恢复 %{smart_count} 个文件。请重新选择它们并继续上传。",removeFile:"删除文件",reSelect:"重新选择",resetFilter:"重置筛选器",resetSearch:"重置搜索",resume:"恢复",resumeUpload:"恢复上传",retry:"重试",retryUpload:"重试上传",revert:"重置",rotate:"旋转 90°",save:"保存",saveChanges:"保存变更",search:"搜索",searchImages:"搜索图片",selectX:"选择 %{smart_count}",sessionRestored:"会话已恢复",showErrorDetails:"显示错误详情",signInWithGoogle:"使用 Google 登录",smile:"笑一笑!",startAudioRecording:"开始音频录制",startCapturing:"开始屏幕录制",startRecording:"开始视频录制",stopAudioRecording:"停止音频录制",stopCapturing:"停止屏幕录制",stopRecording:"停止视频录制",streamActive:"视频流已激活",streamPassive:"视频流未激活",submitRecordedFile:"提交录制的文件",takePicture:"拍照",takePictureBtn:"拍照",takeScreenshot:"截屏",unnamed:"未命名",upload:"上传",uploadComplete:"上传完成",uploadFailed:"上传失败",uploading:"正在上传",uploadingXFiles:"正在上传 %{smart_count} 个文件",uploadPaused:"上传已暂停",uploadStalled:"上传已 %{seconds} 秒没有进度。您可能需要重试。",uploadXFiles:"上传 %{smart_count} 个文件",uploadXNewFiles:"上传 +%{smart_count} 个文件",xFilesSelected:"已选择 %{smart_count} 个文件",xMoreFilesAdded:"又添加了 %{smart_count} 个文件",xTimeLeft:"剩余 %{time}",youCanOnlyUploadFileTypes:"您只能上传:%{types}",youCanOnlyUploadX:"您只能上传 %{smart_count} 个文件",youHaveToAtLeastSelectX:"您至少要选择 %{smart_count} 个文件",zoomIn:"放大",zoomOut:"缩小"};typeof Uppy<"u"&&(globalThis.Uppy.locales.zh_CN=e);const o={"A modern, customizable file manager component built for Vue.":"为 Vue 构建的现代、可自定义的文件管理器组件。","Project Home":"项目主页","If you like it, please follow and ⭐ star on GitHub.":"如果你喜欢,请关注并在 GitHub 上点 ⭐ 星标。",Language:"语言",Create:"创建",Close:"关闭",Cancel:"取消",Save:"保存",Edit:"编辑",Crop:"裁切","New Folder":"新文件夹","New File":"新文件",Rename:"重命名",Delete:"删除",Upload:"上传",Download:"下载",Archive:"压缩",Unarchive:"解压缩",Open:"打开","Open containing folder":"打开对应的文件夹",Refresh:"刷新",Preview:"预览","Toggle Full Screen":"切换到全屏","Change View":"切换视图",Storage:"存储","Go up a directory":"上一级目录",Go:"前往","Enter folder path:":"输入文件夹路径:","Invalid path format. Path must be in format: storage://path/to/folder":"路径格式无效。路径必须为格式: storage://path/to/folder",'Invalid storage. Storage "%s" is not available.':'存储无效。存储 "%s" 不可用。',"Failed to navigate to folder":"导航到文件夹失败","Search anything..":"搜索..",Name:"名称",Size:"大小",Date:"日期",Filepath:"文件路径","Folder Name":"文件夹名称","File Name":"文件名称","Move files":"移动文件","Yes, Move!":"确定,移动!","Delete files":"删除文件","Yes, Delete!":"确定,删除!","Upload Files":"上传文件","No files selected!":"未选择文件!","Select Files":"选择文件","Archive the files":"压缩文件","Unarchive the files":"解压缩文件","The archive will be unarchived at":"此压缩文件将解压到","Archive name. (.zip file will be created)":"压缩包名称。(将创建 .zip 文件)","Create a new folder":"创建一个新文件夹","Create a new file":"创建一个新文件","Are you sure you want to delete these files?":"您确定要删除这些文件吗?","I'm sure delete it, This action cannot be undone.":"我确认要删除此内容。此操作不能撤销。","Search results for":"搜索结果为","%s item(s) selected.":"%s 个文件 已选择。","%s is renamed.":"%s 已重命名。","This is a readonly storage.":"这是只读存储。","%s is created.":"%s 已创建。","Files moved.":"文件已移动。","Files deleted.":"文件已删除。","The file unarchived.":"文件已解压。","The file(s) archived.":"文件已压缩。","Updated.":"已更新。","No search result found.":"未找到搜索结果。","Are you sure you want to move these files?":"您确定要移动这些文件吗?","File Size":"文件大小","Last Modified":"文件修改时间","Select Folders":"选择文件夹","Clear all":"清除全部","Clear only successful":"清除已成功上传的","Drag and drop the files/folders to here.":"拖拽或点击此处上传文件/文件夹。","You can drag & drop files anywhere while this modal is open.":"在此对话框打开时,您可以在任何地方拖放文件。",Canceled:"已取消",Done:"已完成","Network Error, Unable establish connection to the server or interrupted.":"网络错误,无法连接到服务器或连接被意外中断。","Pending upload":"待上传","Please select file to upload first.":"请先选择要上传的文件。",Settings:"设置",Shortcuts:"快捷键",Reset:"重置",Escape:"退出",Search:"搜索","Toggle Sidebar":"切换侧边栏","Open Settings":"打开设置","Reset all settings to default":"重置所有设置为默认","Saved.":"已保存。","Reset Settings":"重置设置",'Download doesn\'t work? You can try right-click "Download" button, select "Save link as...".':'下载不管用?您可以尝试右键点击"下载"按钮,选择"链接另存为..."。',Theme:"主题","Target Directory":"目标目录",Select:"选择","Show thumbnails":"显示缩略图","Persist Path":"保持路径","Metric Units":"公制单位","Select All":"全选","Pinned Folders":"固定文件夹","No folders pinned":"未固定文件夹","Pin Folder":"固定文件夹","Unpin Folder":"取消固定文件夹","Project home":"项目主页","Follow on GitHub":"在 GitHub 上关注","Customize your experience with the following settings":"使用以下设置自定义您的体验",File:"文件",View:"视图",Tools:"工具",Help:"帮助",Exit:"退出","Deselect All":"取消全选",Cut:"剪切",Copy:"复制",Paste:"粘贴","Grid View":"网格视图","List View":"列表视图","Tree View":"树形视图","Show Thumbnails":"显示缩略图","Full Screen":"全屏",items:"个项目",selected:"已选择",About:"关于",Git:"Git",Forward:"前进",Back:"后退","Go to Folder":"转到文件夹",Sorting:"排序",Asc:"升序",Desc:"降序",None:"无",Show:"显示","All items":"所有项目","Files only":"仅文件","Folders only":"仅文件夹","Show hidden files":"显示隐藏文件","Copy files":"复制文件","Are you sure you want to copy these files?":"您确定要复制这些文件吗?","Yes, Copy!":"是的,复制!","Files copied.":"文件已复制。",Browse:"浏览","Create a copy instead of moving":"创建副本而不是移动","Select Target Folder":"选择目标文件夹",Storages:"存储",Loading:"加载中","Search files":"搜索文件","Failed to open containing folder":"无法打开包含文件夹","Include subfolders":"包含子文件夹","More actions":"更多操作","Open Containing Folder":"打开包含文件夹","Searching...":"搜索中...","No results found":"未找到结果","Search Options":"搜索选项","All Files":"所有文件","Small (< 1MB)":"小文件 (< 1MB)","Medium (1-10MB)":"中等文件 (1-10MB)","Large (> 10MB)":"大文件 (> 10MB)","Start typing to search files. Use options to filter or include subfolders.":"开始输入以搜索文件。使用选项进行筛选或包含子文件夹。","Failed to rename":"重命名失败","Name cannot contain slashes.":"名称不能包含斜杠。","Zoom in":"放大","Zoom out":"缩小","Reset zoom":"重置缩放","Sort by":"排序方式","Name (A-Z)":"名称 (A-Z)","Name (Z-A)":"名称 (Z-A)","Size (smallest)":"大小 (最小)","Size (largest)":"大小 (最大)","Date (newest)":"日期 (最新)","Date (oldest)":"日期 (最早)","Preview as":"预览为",Text:"文本",Image:"图片",Table:"表格",Raw:"原始","View as table":"以表格查看","View as raw":"以原始查看","Failed to parse CSV":"解析 CSV 失败","No rows to display":"没有可显示的行","Showing first %s rows out of %s":"显示 %s 行中的前 %s 行","Path copied to clipboard":"路径已复制到剪贴板","Toggle Path Copy Mode":"切换路径复制模式","Target folder":"目标文件夹","No folders":"无文件夹",Pinned:"已固定","Copy Path":"复制路径","Copy Download URL":"复制下载链接",uppy:e,Rotate:"Rotate",Grayscale:"Grayscale",Adjust:"Adjust",Apply:"Apply",Brightness:"Brightness",Contrast:"Contrast",Saturation:"Saturation",Original:"Original","Rotate left 90°":"Rotate left 90°","Rotate right 90°":"Rotate right 90°","Flip horizontal":"Flip horizontal","Flip vertical":"Flip vertical","File info":"File info",Type:"Type",Dimensions:"Dimensions",Duration:"Duration",Path:"Path","Download help":"Download help","Discard unsaved changes?":"You have unsaved changes. Discard?",Editing:"Editing",Unsaved:"Unsaved","File %s of %s":"File %s of %s","Toggle word wrap":"Toggle word wrap","Word wrap on — click to disable":"Word wrap on — click to disable","Word wrap off — click to enable":"Word wrap off — click to enable",Recent:"Recent","Remove from recent":"Remove from recent","Edit this path":"Edit this path","No recent folders yet.":"No recent folders yet.","No matching folders.":"No matching folders.","Folder not found":"Folder not found","Loading…":"Loading…","Show as table":"Show as table"};export{o as default};
|
|
Binary file
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="">
|
|
3
|
-
<head>
|
|
4
|
-
<!-- 勿要删除,base 标签替换字符串 -->
|
|
5
|
-
<!--BASE_HREF-->
|
|
6
|
-
<meta charset="UTF-8" />
|
|
7
|
-
<link rel="icon" href="./favicon.ico" />
|
|
8
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
9
|
-
<script defer src="https://umami.comphub.cn/script.js" data-website-id="9bc36013-f65a-4050-9d13-7aad0fa69b47"></script>
|
|
10
|
-
<style>
|
|
11
|
-
* {
|
|
12
|
-
box-sizing: border-box;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
body {
|
|
16
|
-
margin: 0;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.loading-container {
|
|
20
|
-
width: 100vw;
|
|
21
|
-
height: 100vh;
|
|
22
|
-
display: flex;
|
|
23
|
-
align-items: center;
|
|
24
|
-
justify-content: center;
|
|
25
|
-
overflow: hidden;
|
|
26
|
-
visibility: hidden;
|
|
27
|
-
position: fixed;
|
|
28
|
-
top: 0;
|
|
29
|
-
left: 0;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.loading {
|
|
33
|
-
display: flex;
|
|
34
|
-
flex-direction: column;
|
|
35
|
-
align-items: center;
|
|
36
|
-
justify-content: center;
|
|
37
|
-
gap: 16px;
|
|
38
|
-
color: #42b983;
|
|
39
|
-
font-family: "Microsoft YaHei", Arial, sans-serif;
|
|
40
|
-
font-size: 14px;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.loading-spinner {
|
|
44
|
-
width: 50px;
|
|
45
|
-
height: 50px;
|
|
46
|
-
border: 5px solid #e9f5ed;
|
|
47
|
-
border-top: 5px solid #42b983;
|
|
48
|
-
border-radius: 50%;
|
|
49
|
-
animation: spin 1s linear infinite;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
@keyframes spin {
|
|
53
|
-
0% {
|
|
54
|
-
transform: rotate(0deg);
|
|
55
|
-
/* 初始角度 */
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
100% {
|
|
59
|
-
transform: rotate(360deg);
|
|
60
|
-
/* 旋转一周 */
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
</style>
|
|
64
|
-
|
|
65
|
-
<style>
|
|
66
|
-
html.dark {
|
|
67
|
-
color-scheme: dark;
|
|
68
|
-
}
|
|
69
|
-
</style>
|
|
70
|
-
|
|
71
|
-
<!-- 初始化颜色方案 -->
|
|
72
|
-
<script>
|
|
73
|
-
const isDark = window.matchMedia("(prefers-color-scheme: dark)").matches;
|
|
74
|
-
const scheme = localStorage.getItem("vueuse-color-scheme");
|
|
75
|
-
if ((isDark && scheme === "auto") || scheme === "dark") {
|
|
76
|
-
document.documentElement.classList.add("dark");
|
|
77
|
-
} else {
|
|
78
|
-
document.documentElement.classList.remove("dark");
|
|
79
|
-
}
|
|
80
|
-
</script>
|
|
81
|
-
<script type="module" crossorigin src="./assets/index-DgXgHraR.js"></script>
|
|
82
|
-
<link rel="modulepreload" crossorigin href="./assets/vendor-core-CfnvwQzw.js">
|
|
83
|
-
<link rel="modulepreload" crossorigin href="./assets/vendor-ui-g5RNTRAc.js">
|
|
84
|
-
<link rel="stylesheet" crossorigin href="./assets/index-rRr1TSL-.css">
|
|
85
|
-
</head>
|
|
86
|
-
|
|
87
|
-
<body>
|
|
88
|
-
<div id="app">
|
|
89
|
-
<div class="loading-container" id="loadingContainer">
|
|
90
|
-
<div class="loading">
|
|
91
|
-
<div class="loading-spinner"></div>
|
|
92
|
-
</div>
|
|
93
|
-
</div>
|
|
94
|
-
</div>
|
|
95
|
-
|
|
96
|
-
<!-- 初始化loading -->
|
|
97
|
-
<script>
|
|
98
|
-
// 延迟显示加载动画,避免闪烁
|
|
99
|
-
const loadingContainer = document.getElementById("loadingContainer");
|
|
100
|
-
setTimeout(() => {
|
|
101
|
-
if (loadingContainer) {
|
|
102
|
-
loadingContainer.style.visibility = "visible";
|
|
103
|
-
}
|
|
104
|
-
}, 500);
|
|
105
|
-
</script>
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
<!-- 勿要删除,全局配置替换字符串 -->
|
|
109
|
-
<!--GLOBAL_CONFIG-->
|
|
110
|
-
</body>
|
|
111
|
-
</html>
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
## ⚠️ Duplicate Component Notice
|
|
2
|
-
|
|
3
|
-
### Detection Results
|
|
4
|
-
|
|
5
|
-
Your component is highly similar to existing components on the platform in terms of **core functionality, code structure, or UI interaction**.
|
|
6
|
-
To avoid ecosystem homogenization, **continued upload is not recommended**.
|
|
7
|
-
|
|
8
|
-
### Consequences of Proceeding with Upload
|
|
9
|
-
|
|
10
|
-
- The component **will not be included in or ranked lower** in any public lists such as "Recommended", "Popular", or "Latest";
|
|
11
|
-
- Users can only view and manage this component in **My Components / Team Components**;
|
|
12
|
-
- The platform will display this product in the **"Similar Components" section** of other components as one of the alternative options;
|
|
13
|
-
- Subsequent versions will also **not enjoy recommendation weight** until the differentiation is re-evaluated and approved.
|
|
14
|
-
|
|
15
|
-
### How to Remove Restrictions
|
|
16
|
-
|
|
17
|
-
1. Provide an updated version with **significantly differentiated features** or **unique interactions**;
|
|
18
|
-
|
|
19
|
-
> Uploading a large number of similar components may be considered "design spam", and serious offenders will have their publishing rights suspended.
|
|
20
|
-
> Please cherish the community environment and try to submit original or deeply improved works.
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
## ⚠️ 组件重复提示
|
|
2
|
-
|
|
3
|
-
### 检测结果
|
|
4
|
-
|
|
5
|
-
您的组件与平台已有组件在**核心功能、代码结构或 UI 交互**上高度相似。
|
|
6
|
-
为避免生态同质化,**不建议继续上传**。
|
|
7
|
-
|
|
8
|
-
### 仍坚持上传的后果
|
|
9
|
-
|
|
10
|
-
- 该组件**不会进入或降低排名**在「推荐」「热门」「最新」等任何公共列表;
|
|
11
|
-
- 用户仅能在**我的组件/团队组件**中查看和管理该组件;
|
|
12
|
-
- 平台会在其他组件的**「相似组件」栏目**中展示本品,作为替代选项之一;
|
|
13
|
-
- 后续版本同样**不享受推荐权重**,直至差异性重新评估通过。
|
|
14
|
-
|
|
15
|
-
### 如何解除限制
|
|
16
|
-
|
|
17
|
-
1. 提供**显著差异化功能**或**独创性交互**的更新版本;
|
|
18
|
-
|
|
19
|
-
> 大量上传相似组件可能被视为「设计垃圾组件」,情节严重者将被暂停上架权限。
|
|
20
|
-
> 请珍惜社区环境,尽量提交原创或深度改进作品。
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
# Component Publishing Agreement
|
|
2
|
-
|
|
3
|
-
Welcome to publishing components on this platform. To ensure platform ecosystem compliance, security, and user rights, you must strictly comply with the following terms. **Submitting for publication constitutes acceptance of this agreement**.
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## I. Legality and Compliance Requirements
|
|
8
|
-
|
|
9
|
-
- **Do not publish any component content that violates national laws, regulations, industry regulatory standards, and public order and good customs**.
|
|
10
|
-
- **Prohibited content includes politically sensitive, violent or bloody, pornographic or vulgar, hate speech, discriminatory, feudal superstitious, or other违规 information**.
|
|
11
|
-
- **Do not publish components involving gambling, fraud, pyramid schemes, illegal finance, or other illegal purposes**.
|
|
12
|
-
- Component functionality and content must align with the platform's positioning and **must not exceed the scope of services allowed by the platform**.
|
|
13
|
-
|
|
14
|
-
---
|
|
15
|
-
|
|
16
|
-
## II. Intellectual Property and Authorization Standards
|
|
17
|
-
|
|
18
|
-
- **You must ensure that you have complete and legal intellectual property rights to the published components (including code, interface design, assets, etc.), with no third-party ownership disputes**.
|
|
19
|
-
- If the component uses open-source code, third-party libraries, or assets (such as images, icons, fonts), **you must strictly comply with the corresponding open-source licenses (such as MIT, GPL, Apache, etc.) or authorization terms**, and **clearly indicate the source and copyright information**.
|
|
20
|
-
- **Plagiarism or copying of others' published component content is prohibited**, as is the unauthorized use of others' intellectual property achievements.
|
|
21
|
-
- If the component involves others' portrait rights, name rights, trademark rights, or other rights, **you must obtain written authorization from the relevant parties in advance** and **disclose the authorization information** in the component description.
|
|
22
|
-
|
|
23
|
-
---
|
|
24
|
-
|
|
25
|
-
## III. Content Authenticity and Quality Commitment
|
|
26
|
-
|
|
27
|
-
- **Components must have basic usability, with no known vulnerabilities that could cause system crashes, data loss, or other serious issues**.
|
|
28
|
-
- If the component relies on third-party services (such as API interfaces, cloud storage, etc.), **you must clearly indicate dependencies, applicable environments, and risk warnings for third-party services in the description**.
|
|
29
|
-
- **Publishing blank, test-only, advertising redirect (no actual functionality, used only for promotion), or invalid components unrelated to the platform is prohibited**.
|
|
30
|
-
|
|
31
|
-
---
|
|
32
|
-
|
|
33
|
-
## IV. Security and Privacy Protection Obligations
|
|
34
|
-
|
|
35
|
-
- **Components must not contain malicious code (such as viruses, Trojans, worms), backdoor programs, or functions that may steal user data**.
|
|
36
|
-
- If the component needs to collect user data (such as account information, device information, usage records, etc.), **the following requirements must be met**:
|
|
37
|
-
- **Clearly inform users of the scope, purpose, and usage of data collection**;
|
|
38
|
-
- **Obtain active user authorization (such as pop-up consent)**, and provide ways to delete data and withdraw authorization;
|
|
39
|
-
- **Do not collect data beyond the scope**, and **do not use user data for purposes outside the agreement or disclose it to third parties** (except as required by laws and regulations);
|
|
40
|
-
- **Components must have basic data security protection capabilities** to avoid user data leakage or tampering due to their own vulnerabilities.
|
|
41
|
-
|
|
42
|
-
---
|
|
43
|
-
|
|
44
|
-
## V. Maintenance and Update Responsibilities
|
|
45
|
-
|
|
46
|
-
- **You are advised to maintain components regularly**, promptly fix functional vulnerabilities, adapt to platform version updates, and be compatible with mainstream operating environments.
|
|
47
|
-
- If the component has major security issues (such as data leakage risks, malicious code injection, etc.), **you must submit a fix within 24 hours** and cooperate with the platform for emergency handling.
|
|
48
|
-
- If you plan to stop maintaining or delist the component, **you must announce the notice on the component details page 7 days in advance** to reserve migration time for users who have already used the component.
|
|
49
|
-
- When updating components, **clearly label the update content** (such as new features, bug fixes, compatibility adjustments), and **do not add new permissions or违规 features that are not described in the update**.
|
|
50
|
-
|
|
51
|
-
---
|
|
52
|
-
|
|
53
|
-
## VI. Platform Review and Violation Handling
|
|
54
|
-
|
|
55
|
-
- **The platform has the right to review components you submit**. The review standards are based on this agreement and platform rules. The review results (**approved / rejected / rectification required**) will be notified through system notifications.
|
|
56
|
-
- If the component violates this agreement, **the platform has the right to take the following measures**:
|
|
57
|
-
- **Require rectification within a time limit, and suspend component display during the rectification period**;
|
|
58
|
-
- **Directly reject the publication application, and no refund of review costs incurred (if any)**;
|
|
59
|
-
- **Delist published违规 components and clear related display data**;
|
|
60
|
-
- **If you violate this agreement multiple times (3 times or more cumulatively)**, the platform has the right to **permanently ban your publishing account** and reserves the right to pursue legal liability.
|
|
61
|
-
|
|
62
|
-
---
|
|
63
|
-
|
|
64
|
-
## VII. Disclaimer
|
|
65
|
-
|
|
66
|
-
- **You must bear the legal responsibilities arising from component violations, infringement, or quality issues** (including but not limited to third-party claims, administrative penalties). The platform does not assume related joint liability.
|
|
67
|
-
- The platform **does not assume compensation liability** for user losses caused by improper component use, environment adaptation issues, or third-party service failures.
|
|
68
|
-
- **The platform has the right to adjust the terms of this agreement** based on laws and regulations updates, industry changes, and platform development needs. Updates will be notified through platform announcements. **Your continued publication of components constitutes acceptance of the updated agreement**.
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
# 组件发布协议
|
|
2
|
-
|
|
3
|
-
欢迎您在本平台发布组件,为确保平台生态合规、安全及用户权益,您需严格遵守以下条款,**提交发布即视为已阅读并同意本协议**。
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## 一、合法性与合规性要求
|
|
8
|
-
|
|
9
|
-
- **不得发布任何违反国家法律法规、行业监管标准及公序良俗的组件内容**。
|
|
10
|
-
- **禁止包含政治敏感、暴力血腥、色情低俗、仇恨歧视、封建迷信等违规信息**。
|
|
11
|
-
- **不得发布涉及赌博、诈骗、传销、非法金融等违法用途的组件**。
|
|
12
|
-
- 组件功能及内容需符合平台定位,**不得超出平台允许的服务范围**。
|
|
13
|
-
|
|
14
|
-
---
|
|
15
|
-
|
|
16
|
-
## 二、知识产权与授权规范
|
|
17
|
-
|
|
18
|
-
- **您需确保对发布的组件(含代码、界面设计、素材等)拥有完整、合法的知识产权,无第三方权属争议**。
|
|
19
|
-
- 若组件中使用开源代码、第三方库或素材(如图片、图标、字体),**需严格遵守对应开源协议(如 MIT、GPL、Apache 等)或授权条款**,**明确标注来源及版权信息**。
|
|
20
|
-
- **禁止盗用、抄袭他人已发布的组件内容**,或未经授权使用他人享有知识产权的成果。
|
|
21
|
-
- 若组件涉及他人肖像、姓名、商标等权益,**需提前获得相关方书面授权**,并在组件说明中**公示授权信息**。
|
|
22
|
-
|
|
23
|
-
---
|
|
24
|
-
|
|
25
|
-
## 三、内容真实性与质量承诺
|
|
26
|
-
|
|
27
|
-
- **组件需具备基本可用性,无导致系统崩溃、数据丢失等严重问题的已知漏洞**。
|
|
28
|
-
- 若组件依赖第三方服务(如 API 接口、云存储等),**需在说明中明确标注依赖项、适用环境及第三方服务的风险提示**。
|
|
29
|
-
- **禁止发布空白、测试性质、广告导流(无实际功能仅用于推广)或与平台无关的无效组件**。
|
|
30
|
-
|
|
31
|
-
---
|
|
32
|
-
|
|
33
|
-
## 四、安全与隐私保护义务
|
|
34
|
-
|
|
35
|
-
- **组件不得包含恶意代码(如病毒、木马、蠕虫)、后门程序或可能窃取用户数据的功能**。
|
|
36
|
-
- 若组件需收集用户数据(如账号信息、设备信息、使用记录等),**需满足以下要求**:
|
|
37
|
-
- **明确告知用户数据收集的范围、目的及使用方式**;
|
|
38
|
-
- **获得用户主动授权(如弹窗同意)**,且提供数据删除、撤回授权的途径;
|
|
39
|
-
- **不得超范围收集数据**,**不得将用户数据用于协议外用途或泄露给第三方**(法律法规要求除外);
|
|
40
|
-
- **组件需具备基础的数据安全防护能力**,避免因自身漏洞导致用户数据泄露、篡改。
|
|
41
|
-
|
|
42
|
-
---
|
|
43
|
-
|
|
44
|
-
## 五、维护与更新责任
|
|
45
|
-
|
|
46
|
-
- **建议您定期维护组件**,及时修复功能漏洞、适配平台版本更新及兼容主流运行环境。
|
|
47
|
-
- 若组件出现重大安全问题(如数据泄露风险、恶意代码注入等),**需在 24 小时内提交修复版本**,并配合平台进行应急处理。
|
|
48
|
-
- 若您计划停止组件维护或下架组件,**需提前 7 天在组件详情页公示通知**,为已使用该组件的用户预留迁移时间。
|
|
49
|
-
- 组件更新时,**需清晰标注更新内容**(如功能新增、bug 修复、兼容性调整),**不得在更新中添加未经说明的新权限或违规功能**。
|
|
50
|
-
|
|
51
|
-
---
|
|
52
|
-
|
|
53
|
-
## 六、平台审核与违规处理
|
|
54
|
-
|
|
55
|
-
- **平台有权对您提交的组件进行审核**,审核标准以本协议及平台规则为准,审核结果(**通过 / 驳回 / 整改**)将通过系统通知告知。
|
|
56
|
-
- 若组件存在违反本协议的情况,**平台有权采取以下措施**:
|
|
57
|
-
- **要求限期整改,整改期间暂停组件展示**;
|
|
58
|
-
- **直接驳回发布申请,且不退还已产生的审核成本(若有)**;
|
|
59
|
-
- **下架已发布的违规组件,清除相关展示数据**;
|
|
60
|
-
- **若您多次违反本协议(累计 3 次及以上)**,平台有权**永久封禁您的发布账号**,且保留追究法律责任的权利。
|
|
61
|
-
|
|
62
|
-
---
|
|
63
|
-
|
|
64
|
-
## 七、免责声明
|
|
65
|
-
|
|
66
|
-
- **您需自行承担因组件违规、侵权或质量问题导致的法律责任**(包括但不限于第三方索赔、行政机关处罚),平台不承担相关连带责任。
|
|
67
|
-
- 因组件使用不当、环境适配问题或第三方服务故障导致的用户损失,**平台不承担赔偿责任**。
|
|
68
|
-
- **平台有权根据法律法规更新、行业变化及平台发展需求,调整本协议条款**,更新后将通过平台公告告知,**您继续发布组件即视为同意更新后的协议**。
|