initial release
@@ -0,0 +1 @@
|
|||||||
|
.dialog-card[data-v-e5278878]{background-color:var(--color-98)}.dialog-card[data-v-e5278878] .q-field__native{color:var(--text-primary)}.macro-progress-name-label[data-v-e5278878]{margin-left:2px}.macro-progress-name-label[data-v-e5278878] .q-badge{background-color:var(--green)}.macro-key-item[data-v-e5278878]{margin:2px 2px 2px 4px;width:47rem;height:3rem}.macro-key-item[data-v-e5278878]:hover{outline:2px solid var(--card-hover-highlight)}.ghost[data-v-e5278878]{opacity:.5;background:#65b1d4}.pop-proxy-menu-item[data-v-e5278878]{margin:3px auto;padding-left:4px;width:95%;height:2rem;display:flex;align-items:center;border-radius:.2rem;transition:.2s all ease-in-out}.pop-proxy-menu-item[data-v-e5278878]:hover{background-color:var(--color-90)}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
.driver-active .driver-overlay,.driver-active *{pointer-events:none}.driver-active .driver-active-element,.driver-active .driver-active-element *,.driver-popover,.driver-popover *{pointer-events:auto}@keyframes animate-fade-in{0%{opacity:0}to{opacity:1}}.driver-fade .driver-overlay{animation:animate-fade-in .2s ease-in-out}.driver-fade .driver-popover{animation:animate-fade-in .2s}.driver-popover{all:unset;box-sizing:border-box;color:#2d2d2d;margin:0;padding:15px;border-radius:5px;min-width:250px;max-width:300px;box-shadow:0 1px 10px #0006;z-index:1000000000;position:fixed;top:0;right:0;background-color:#fff}.driver-popover *{font-family:Helvetica Neue,Inter,ui-sans-serif,"Apple Color Emoji",Helvetica,Arial,sans-serif}.driver-popover-title{font:19px/normal sans-serif;font-weight:700;display:block;position:relative;line-height:1.5;zoom:1;margin:0}.driver-popover-close-btn{all:unset;position:absolute;top:0;right:0;width:32px;height:28px;cursor:pointer;font-size:18px;font-weight:500;color:#d2d2d2;z-index:1;text-align:center;transition:color;transition-duration:.2s}.driver-popover-close-btn:hover,.driver-popover-close-btn:focus{color:#2d2d2d}.driver-popover-title[style*=block]+.driver-popover-description{margin-top:5px}.driver-popover-description{margin-bottom:0;font:14px/normal sans-serif;line-height:1.5;font-weight:400;zoom:1}.driver-popover-footer{margin-top:15px;text-align:right;zoom:1;display:flex;align-items:center;justify-content:space-between}.driver-popover-progress-text{font-size:13px;font-weight:400;color:#727272;zoom:1}.driver-popover-footer button{all:unset;display:inline-block;box-sizing:border-box;padding:3px 7px;text-decoration:none;text-shadow:1px 1px 0 #fff;background-color:#fff;color:#2d2d2d;font:12px/normal sans-serif;cursor:pointer;outline:0;zoom:1;line-height:1.3;border:1px solid #ccc;border-radius:3px}.driver-popover-footer .driver-popover-btn-disabled{opacity:.5;pointer-events:none}:not(body):has(>.driver-active-element){overflow:hidden!important}.driver-no-interaction,.driver-no-interaction *{pointer-events:none!important}.driver-popover-footer button:hover,.driver-popover-footer button:focus{background-color:#f7f7f7}.driver-popover-navigation-btns{display:flex;flex-grow:1;justify-content:flex-end}.driver-popover-navigation-btns button+button{margin-left:4px}.driver-popover-arrow{content:"";position:absolute;border:5px solid #fff}.driver-popover-arrow-side-over{display:none}.driver-popover-arrow-side-left{left:100%;border-right-color:transparent;border-bottom-color:transparent;border-top-color:transparent}.driver-popover-arrow-side-right{right:100%;border-left-color:transparent;border-bottom-color:transparent;border-top-color:transparent}.driver-popover-arrow-side-top{top:100%;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}.driver-popover-arrow-side-bottom{bottom:100%;border-left-color:transparent;border-top-color:transparent;border-right-color:transparent}.driver-popover-arrow-side-center{display:none}.driver-popover-arrow-side-left.driver-popover-arrow-align-start,.driver-popover-arrow-side-right.driver-popover-arrow-align-start{top:15px}.driver-popover-arrow-side-top.driver-popover-arrow-align-start,.driver-popover-arrow-side-bottom.driver-popover-arrow-align-start{left:15px}.driver-popover-arrow-align-end.driver-popover-arrow-side-left,.driver-popover-arrow-align-end.driver-popover-arrow-side-right{bottom:15px}.driver-popover-arrow-side-top.driver-popover-arrow-align-end,.driver-popover-arrow-side-bottom.driver-popover-arrow-align-end{right:15px}.driver-popover-arrow-side-left.driver-popover-arrow-align-center,.driver-popover-arrow-side-right.driver-popover-arrow-align-center{top:50%;margin-top:-5px}.driver-popover-arrow-side-top.driver-popover-arrow-align-center,.driver-popover-arrow-side-bottom.driver-popover-arrow-align-center{left:50%;margin-left:-5px}.driver-popover-arrow-none{display:none}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
.toggle{border:1px solid rgb(24,103,192)}
|
||||||
|
After Width: | Height: | Size: 141 KiB |
@@ -0,0 +1 @@
|
|||||||
|
.btn-connect[data-v-67c1c39b]{font-size:1rem;align-items:center;justify-content:center;margin-top:46px;border-radius:.3rem;border:1px solid black;padding:.4rem 1rem}.btn-connect[data-v-67c1c39b]:hover{background:#f5f5f5}.setup-bg[data-v-67c1c39b]{height:100vh;background:#1f1f1f;width:100%;display:flex;justify-content:center;align-items:center;position:relative;-webkit-user-select:none;user-select:none}.setup-inner[data-v-67c1c39b]{background:#fff;border-radius:1rem;width:650px;height:500px;display:flex;flex-direction:row}.setup-footer[data-v-67c1c39b]{color:#fff;position:absolute;bottom:2rem}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
.pop-proxy-menu-wrapper[data-v-9d5f237e]{padding:4px;display:flex;justify-content:center;align-items:center;flex-direction:column;border-radius:4px;width:10rem;background-color:var(--color-98);border-color:var(--color-90);-webkit-user-select:none;user-select:none}.menu-device-wrapper[data-v-9d5f237e]{color:#fff;width:10rem;font-size:.6rem;margin-left:4px;display:flex;align-items:center;justify-content:center}.update-flag[data-v-9d5f237e]{border-radius:8px;width:8px;height:8px;position:absolute;background:var(--red);right:-1rem;top:0;animation:update-flag-animation-9d5f237e infinite 2s}@keyframes update-flag-animation-9d5f237e{0%{opacity:0}to{opacity:1}}.menu-device[data-v-9d5f237e]{margin:1rem;height:6rem;width:13rem;background-color:var(--v-primary)}.menu-wrapper[data-v-9d5f237e]{border-radius:5px;margin:.4rem 0 .5rem .5rem;height:56.7rem;width:15rem;text-transform:none;background-color:var(--background-senary);-webkit-user-select:none;user-select:none;position:relative}.dialog-card[data-v-9d5f237e]{background-color:var(--color-98)}.dialog-card[data-v-9d5f237e] .q-field__native{color:var(--text-primary)}.pop-proxy-menu-item[data-v-9d5f237e]{margin:3px auto;padding-left:4px;width:95%;height:2rem;display:flex;align-items:center;border-radius:.2rem;transition:.2s all ease-in-out}.pop-proxy-menu-item[data-v-9d5f237e]:hover{background-color:var(--color-90)}.v-btn[data-v-9d5f237e]{text-transform:none}.device-expand-menu[data-v-9d5f237e]{padding:2px}.device-expand-menu[data-v-9d5f237e]:hover{background-color:#f1f2f4}.item-device[data-v-9d5f237e]{margin:0 1rem 1rem;height:4rem;width:13rem;font-size:.6rem;position:relative;display:flex;justify-content:center;align-items:center;background-color:#292c37}#refresh-circle[data-v-9d5f237e]{animation-name:rotate-9d5f237e;animation-duration:1s;animation-play-state:paused;animation-fill-mode:none;animation-iteration-count:infinite;animation-timing-function:linear}@keyframes rotate-9d5f237e{0%{transform:rotate(0)}to{transform:rotate(360deg)}}[data-v-9d5f237e] .q-checkbox__label{color:#101010aa}.loading-dots .dot[data-v-9d5f237e]{animation:loading-dots-9d5f237e 1.4s infinite;animation-fill-mode:both}.loading-dots .dot[data-v-9d5f237e]:nth-child(1){animation-delay:0s}.loading-dots .dot[data-v-9d5f237e]:nth-child(2){animation-delay:.2s}.loading-dots .dot[data-v-9d5f237e]:nth-child(3){animation-delay:.4s}@keyframes loading-dots-9d5f237e{0%,80%,to{opacity:.3}40%{opacity:1}}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
.wrapper[data-v-30e69695]{margin:.5rem .5rem 0;height:27rem;width:103rem;background-color:var(--color-98)}.wrapper-right-layers[data-v-30e69695]{position:absolute;right:12rem;top:7rem;height:14rem;display:flex;flex-direction:column;justify-content:center;align-items:center;width:9rem;background-color:var(--color-92);color:var(--text-dark)}.wrapper-layers-content[data-v-30e69695]{display:flex;flex-direction:row;justify-content:center;margin-top:1rem;margin-bottom:1rem}.key-layer-item[data-v-30e69695]:hover{outline:2px solid var(--card-hover-highlight)}.keyboard[data-v-30e69695]{position:absolute;-webkit-user-select:none;user-select:none}.keyboard .key[data-v-30e69695]{display:flex;align-items:center;justify-content:center;border-radius:3px;position:absolute;font-size:.5rem;background-color:#93e1f580;border:2px solid greenyellow}.keyboard .key[data-v-30e69695]:active{color:#adff2f;border:2px solid red}.keyboard .key[data-v-30e69695]:hover{color:red;border:2px solid red}.layer-tab[data-v-30e69695]{margin:2px}.wrapper[data-v-2e043cbe]{margin:.5rem .5rem 0;height:25.5rem;width:103rem;background-color:var(--background-secondary);-webkit-user-select:none;user-select:none}.key-item-container[data-v-2e043cbe]{margin-left:4px}.key-item[data-v-2e043cbe]{float:left;margin:.3rem;min-width:3rem;height:3rem;display:flex;justify-content:center;align-items:center;color:var(--text-primary);border-radius:.5rem;background-color:var(--color-88);outline:2px solid var(--color-88);transition:all .3s ease-in-out}.key-item[data-v-2e043cbe]:hover{outline:2px solid var(--orange);background-color:var(--color-85)}.wrapper[data-v-cd9ce71a]{margin:.5rem .5rem 0;height:27rem;width:103rem;background-color:#ffffff4d}.wrapper-layers[data-v-cd9ce71a]{position:absolute;right:12rem;top:5rem;height:16rem;display:flex;flex-direction:column;justify-content:center;align-items:center;width:9rem;background-color:var(--color-92);color:var(--text-dark)}.wrapper-layers-content[data-v-cd9ce71a]{display:flex;flex-direction:row;justify-content:center;margin-top:1rem;margin-bottom:1rem}.key-layer-item[data-v-cd9ce71a]:hover{outline:2px solid var(--card-hover-highlight)}.keyboard[data-v-cd9ce71a]{position:absolute;-webkit-user-select:none;user-select:none}.keyboard .key[data-v-cd9ce71a]{display:flex;align-items:center;justify-content:center;border-radius:3px;position:absolute;font-size:.5rem;background-color:#93e1f580;border:2px solid greenyellow}.keyboard .key[data-v-cd9ce71a]:active{color:#adff2f;border:2px solid red}.keyboard .key[data-v-cd9ce71a]:hover{color:red;border:2px solid red}.layer-tab[data-v-cd9ce71a]{margin:2px}.menu-wrapper[data-v-8baa4689]{margin:.5rem .5rem 0;height:25.5rem;width:103rem;background-color:var(--background-secondary);-webkit-user-select:none;user-select:none}.key-item-container[data-v-8baa4689]{margin-left:4px}.key-item[data-v-8baa4689]{float:left;margin:.3rem;min-width:3rem;height:3rem;display:flex;justify-content:center;align-items:center;color:var(--text-primary);border-radius:.5rem;background-color:var(--color-88);outline:2px solid var(--color-88);transition:all .3s ease-in-out}.key-item[data-v-8baa4689]:hover{outline:2px solid var(--orange);background-color:var(--color-85)}.ms-wrapper[data-v-93ba6956]{position:absolute;-webkit-user-select:none;user-select:none;width:72rem;height:52rem;left:31rem;top:0}.dialog-card[data-v-93ba6956]{background-color:var(--color-98)}.dialog-card[data-v-93ba6956] .q-field__native{color:var(--text-primary)}.menu-item[data-v-93ba6956]{margin-left:4px;height:3rem;border-radius:6px;padding:10px;color:var(--text-primary);transition:all ease-in-out .1s}.menu-item[data-v-93ba6956]:hover{background-color:var(--color-90)}.ms-wrapper[data-v-b7a519a3]{position:absolute;-webkit-user-select:none;user-select:none;width:72rem;height:52rem;left:31rem;top:0rem}.dialog-card[data-v-b7a519a3]{background-color:var(--color-98)}.dialog-card[data-v-b7a519a3] .q-field__native{color:var(--text-primary)}.menu-item[data-v-b7a519a3]{margin-left:4px;height:3rem;border-radius:6px;padding:10px;color:var(--text-primary);transition:all ease-in-out .1s}.menu-item[data-v-b7a519a3]:hover{background-color:var(--color-90)}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
.setting-menu-item[data-v-f0c65a39]{margin:1rem 1rem 0rem;height:4rem;background-color:var(--background-secondary);color:var(--text-dark)}[data-v-a5269f04] .v-field__input{--v-field-input-padding-top: 0;min-height:2.4rem}[data-v-a5269f04] .v-field__append-inner{padding-top:0!important}[data-v-a5269f04] .v-field__append-inner svg{margin-top:.3rem}[data-v-a5269f04] .v-field{font-size:.875rem}[data-v-a5269f04] .v-list-item-title{font-size:.875rem!important}.setting-menu-item[data-v-a5269f04]{margin:1rem 1rem 0;height:4rem;background-color:var(--background-secondary);color:var(--text-dark)}.setting-menu-item[data-v-fa3bf610],.setting-menu-item[data-v-35386b3c],.setting-menu-item[data-v-c600cb71]{min-height:4rem}.setting-menu-item{margin:1rem 1rem 0rem;height:4rem;background-color:var(--background-secondary);color:var(--text-dark)}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
.battery[data-v-8a789231]{border:3px solid #333;width:18px;height:28px;padding:2px;border-radius:4px;position:relative;margin:15px 0}.battery[data-v-8a789231]:before{content:"";height:3px;width:9px;background:#333;display:block;position:absolute;top:-6px;border-radius:4px 4px 0 0}.battery[data-v-8a789231]:after{content:"";display:block;position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;border:1px solid #fff;border-radius:2px}.battery-level[data-v-8a789231]{background:#30b455;position:absolute;bottom:0;left:0;right:0}.battery-level.warn[data-v-8a789231]{background-color:#efaf13}.battery-level.alert[data-v-8a789231]{background-color:#e81309}.battery-level.alert[data-v-8a789231]:before{background-image:url(data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cg%3E%3C%2Fg%3E%20%3Cpath%20fill%3D%22%23e81309%22%20d%3D%22M17.927%2012l2.68-10.28c0.040-0.126%200.060-0.261%200.060-0.4%200-0.726-0.587-1.32-1.314-1.32-0.413%200-0.78%200.187-1.019%200.487l-13.38%2017.353c-0.18%200.227-0.287%200.513-0.287%200.827%200%200.733%200.6%201.333%201.333%201.333h8.073l-2.68%2010.28c-0.041%200.127-0.060%200.261-0.060%200.4%200.001%200.727%200.587%201.32%201.314%201.32%200.413%200%200.78-0.186%201.020-0.487l13.379-17.353c0.181-0.227%200.287-0.513%200.287-0.827%200-0.733-0.6-1.333-1.333-1.333h-8.073z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E);background-repeat:no-repeat;background-size:18px;height:18px;width:18px;margin:-25px 0 0 2px;content:"";display:inline-block;position:absolute}.dialog-card[data-v-5cbd993f]{background-color:var(--color-98);margin-left:2px;margin-right:2px}.dialog-card[data-v-5cbd993f] .q-field__native{color:var(--text-primary)}.card-device-item[data-v-5cbd993f]{background:#ffffff4d;width:20rem;height:18rem;margin:1rem;float:left;transition:all .2s ease-in-out;border:1px solid var(--white)}.card-device-item[data-v-5cbd993f]:hover{background:#fff;border:1px solid var(--color-85)}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
import{m as te,g as C,a as f,w as E,x as k,l as x,a3 as oe}from"./chunk-DhYw-kuD.js";import{u as ae,v as H,a as ne,b as ie,c as se,r as A,s as le,p as q,d as re}from"./chunk-CCQf9h9p.js";import{u as ue,c as p,s as ce,a as de,d as fe,b as me,e as he,f as D,g as ve}from"./chunk-DBKH8df9.js";import{u as ge,a as pe}from"./chunk-xwEmqXCW.js";import{B as Te,V as M,W as j,C as ye}from"./app-CPb3bToC.js";import{b as be}from"./chunk-CusLMHK2.js";const ke=Te({name:"QTooltip",inheritAttrs:!1,props:{...ae,...ue,...p,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null},transitionShow:{...p.transitionShow,default:"jump-down"},transitionHide:{...p.transitionHide,default:"jump-up"},anchor:{type:String,default:"bottom middle",validator:H},self:{type:String,default:"top middle",validator:H},offset:{type:Array,default:()=>[14,14],validator:ne},scrollTarget:ce,delay:{type:Number,default:0},hideDelay:{type:Number,default:0},persistent:Boolean},emits:[...de],setup(e,{slots:L,emit:T,attrs:m}){let i,s;const h=te(),{proxy:{$q:o}}=h,l=C(null),c=C(!1),W=f(()=>q(e.anchor,o.lang.rtl)),B=f(()=>q(e.self,o.lang.rtl)),Q=f(()=>e.persistent!==!0),{registerTick:N,removeTick:R}=ge(),{registerTimeout:d}=pe(),{transitionProps:V,transitionStyle:_}=fe(e),{localScrollTarget:y,changeScrollEvent:I,unconfigureScrollTarget:U}=ie(e,w),{anchorEl:a,canShow:$,anchorEvents:r}=se({showing:c,configureAnchorEl:Y}),{show:z,hide:v}=me({showing:c,canShow:$,handleShow:G,handleHide:J,hideOnRouteChange:Q,processOnMount:!0});Object.assign(r,{delayShow:K,delayHide:X});const{showPortal:b,hidePortal:S,renderPortal:F}=he(h,l,ee,"tooltip");if(o.platform.is.mobile===!0){const t={anchorEl:a,innerRef:l,onClickOutside(n){return v(n),n.target.classList.contains("q-dialog__backdrop")&&ye(n),!0}},g=f(()=>e.modelValue===null&&e.persistent!==!0&&c.value===!0);E(g,n=>{(n===!0?re:A)(t)}),k(()=>{A(t)})}function G(t){b(),N(()=>{s=new MutationObserver(()=>u()),s.observe(l.value,{attributes:!1,childList:!0,characterData:!0,subtree:!0}),u(),w()}),i===void 0&&(i=E(()=>o.screen.width+"|"+o.screen.height+"|"+e.self+"|"+e.anchor+"|"+o.lang.rtl,u)),d(()=>{b(!0),T("show",t)},e.transitionDuration)}function J(t){R(),S(),P(),d(()=>{S(!0),T("hide",t)},e.transitionDuration)}function P(){s!==void 0&&(s.disconnect(),s=void 0),i!==void 0&&(i(),i=void 0),U(),M(r,"tooltipTemp")}function u(){le({targetEl:l.value,offset:e.offset,anchorEl:a.value,anchorOrigin:W.value,selfOrigin:B.value,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function K(t){if(o.platform.is.mobile===!0){D(),document.body.classList.add("non-selectable");const g=a.value,n=["touchmove","touchcancel","touchend","click"].map(O=>[g,O,"delayHide","passiveCapture"]);j(r,"tooltipTemp",n)}d(()=>{z(t)},e.delay)}function X(t){o.platform.is.mobile===!0&&(M(r,"tooltipTemp"),D(),setTimeout(()=>{document.body.classList.remove("non-selectable")},10)),d(()=>{v(t)},e.hideDelay)}function Y(){if(e.noParentEvent===!0||a.value===null)return;const t=o.platform.is.mobile===!0?[[a.value,"touchstart","delayShow","passive"]]:[[a.value,"mouseenter","delayShow","passive"],[a.value,"mouseleave","delayHide","passive"]];j(r,"anchor",t)}function w(){if(a.value!==null||e.scrollTarget!==void 0){y.value=ve(a.value,e.scrollTarget);const t=e.noParentEvent===!0?u:v;I(y.value,t)}}function Z(){return c.value===!0?x("div",{...m,ref:l,class:["q-tooltip q-tooltip--style q-position-engine no-pointer-events",m.class],style:[m.style,_.value],role:"tooltip"},be(L.default)):null}function ee(){return x(oe,V.value,Z)}return k(P),Object.assign(h.proxy,{updatePosition:u}),F}});export{ke as Q};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
import{a as e}from"./chunk-DhYw-kuD.js";const u={dark:{type:Boolean,default:null}};function o(a,r){return e(()=>a.dark===null?r.dark.isActive:a.dark)}export{o as a,u};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
const s="data:image/svg+xml,%3c?xml%20version='1.0'%20?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20width='512'%20height='512'%3e%3cpath%20fill='currentColor'%20d='m12.039.02C5.422.02.039,5.402.039,12.02s5.383,12,12,12,12-5.383,12-12S18.655.02,12.039.02Zm0,22c-5.514,0-10-4.486-10-10S6.524,2.02,12.039,2.02s10,4.486,10,10-4.486,10-10,10Zm6-13.878v8.89c0,.553-.448,1-1,1s-1-.447-1-1v-8.901s-.003.006-.005.009l-3.097,6.321c-.168.343-.517.56-.898.56h-.007c-.384-.003-.733-.226-.897-.573l-2.996-6.353s-.033-.081-.066-.062c-.031.007-.033.086-.033.109v8.89c0,.553-.448,1-1,1s-1-.447-1-1v-8.89c0-1.008.633-1.835,1.575-2.057.945-.221,1.875.236,2.324,1.136l2.118,4.491,2.186-4.46c.453-.907,1.368-1.372,2.276-1.154.91.215,1.521,1.036,1.521,2.044Z'/%3e%3c/svg%3e";export{s as _};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
import{B as n}from"./app-CPb3bToC.js";import{b as r}from"./chunk-CusLMHK2.js";import{a as l,l as s}from"./chunk-DhYw-kuD.js";const b=n({name:"QItemLabel",props:{overline:Boolean,caption:Boolean,header:Boolean,lines:[Number,String]},setup(e,{slots:a}){const t=l(()=>parseInt(e.lines,10)),i=l(()=>"q-item__label"+(e.overline===!0?" q-item__label--overline text-overline":"")+(e.caption===!0?" q-item__label--caption text-caption":"")+(e.header===!0?" q-item__label--header":"")+(t.value===1?" ellipsis":"")),o=l(()=>e.lines!==void 0&&t.value>1?{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":t.value}:null);return()=>s("div",{style:o.value,class:i.value},r(a.default))}});export{b as Q};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
import{d as o}from"./app-CPb3bToC.js";const r=o("model_macro",{state:()=>({macro_config:[]}),persist:!0});export{r as m};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
const a=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,s=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,r=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,e=/^rgb\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5])\)$/,d=/^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/,o={date:t=>/^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(t),time:t=>/^([0-1]?\d|2[0-3]):[0-5]\d$/.test(t),fulltime:t=>/^([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d$/.test(t),timeOrFulltime:t=>/^([0-1]?\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/.test(t),email:t=>/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(t),hexColor:t=>a.test(t),hexaColor:t=>s.test(t),hexOrHexaColor:t=>r.test(t),rgbColor:t=>e.test(t),rgbaColor:t=>d.test(t),rgbOrRgbaColor:t=>e.test(t)||d.test(t),hexOrRgbColor:t=>a.test(t)||e.test(t),hexaOrRgbaColor:t=>s.test(t)||d.test(t),anyColor:t=>r.test(t)||e.test(t)||d.test(t)};export{o as t};
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
import"./chunk-CRkDt6fp.js";import{_ as d,m as i,a as m,c as u,M as c,t as o}from"./app-CPb3bToC.js";import{E as p,V as e,an as r,u as a,D as h}from"./chunk-DhYw-kuD.js";import"./chunk-CusLMHK2.js";import"./chunk-xxORVLuj.js";import"./chunk-8e5kB75k.js";import"./chunk-C6R67zTo.js";import"./chunk-GYMadCV3.js";import"./chunk-D3Pjrapm.js";import"./chunk-DbbZ0htz.js";function f(){return"zh_CN"}function g(){return f().replace("_","-").toLowerCase()}const v={class:"setup-bg"},w={class:"setup-inner"},y={style:{width:"50%",position:"relative"}},b={style:{color:"rgb(19, 119, 204)","font-size":"1.2rem",position:"absolute",bottom:"2rem",left:"2rem"}},z={style:{display:"flex","flex-direction":"column",transform:"translateX(1.5rem)"}},x={class:"row",style:{"text-align":"center","justify-content":"center","margin-top":"157px","font-size":"1.4rem",width:"16rem","font-weight":"bold","font-family":`Microsoft YaHei,\r
|
||||||
|
sans-serif !important`}},k={class:"row",style:{"justify-content":"center"}},L={class:"setup-footer"};function l(){}const B={data(){return{tab:"mchose",current_locale_name:g(),current_theme:"light",show_language:!1,show_theme:!1,loading_setup_btn:!1}},mounted(){let t=i();this.$mitt.on("on_theme_change",s=>{this.current_theme=s.theme}),this.$mitt.on("on_lang_change",s=>{this.current_locale_name=s.lang}),this.current_locale_name=t.current_locale,this.current_theme=t.current_theme},unmounted(){document.body.style.zoom="unset",window.removeEventListener("resize",l)},created(){i(),window.addEventListener("resize",l)},methods:{async on_setting(){this.loading_setup_btn=!1;let t=m();await t.update_device(),t.current_device=t.online_devices[0];let s=i();s.path_tab="keyboard",await this.$router.push({path:"/keyboard",params:{}})},async on_setup(){try{if(this.loading_setup_btn=!0,await u()===null){c.error(o("get_device_failed_retry")),this.loading_setup_btn=!1;return}c.success(o("connect_success")),await this.on_setting()}catch{c.error(o("connect_failed"))}finally{this.loading_setup_btn=!1}}}},E=Object.assign(B,{__name:"ViewSplash",setup(t){return(s,n)=>(h(),p("div",v,[e("div",w,[e("div",y,[n[1]||(n[1]=e("img",{draggable:"false",alt:"logo",src:"src/assets/img/logo_aula.png",style:{width:"520px",transform:"translateY(-1rem)"}},null,-1)),e("div",b,r(a(o)("home_page_url")),1)]),e("div",z,[e("div",x,r(a(o)("connect_device_permission_required")),1),e("div",k,[e("div",{class:"row btn-connect",onClick:n[0]||(n[0]=(..._)=>s.on_setup&&s.on_setup(..._))},r(a(o)("connect_device")),1)])])]),e("div",L,r(a(o)("home_page_copyright")),1)]))}}),F=d(E,[["__scopeId","data-v-67c1c39b"]]);export{F as default};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
const r={left:!0,right:!0,up:!0,down:!0,horizontal:!0,vertical:!0},o=Object.keys(r);r.all=!0;function n(t){const e={};for(const i of o)t[i]===!0&&(e[i]=!0);return Object.keys(e).length===0?r:(e.horizontal===!0?e.left=e.right=!0:e.left===!0&&e.right===!0&&(e.horizontal=!0),e.vertical===!0?e.up=e.down=!0:e.up===!0&&e.down===!0&&(e.vertical=!0),e.horizontal===!0&&e.vertical===!0&&(e.all=!0),e)}const u=["INPUT","TEXTAREA"];function l(t,e){return e.event===void 0&&t.target!==void 0&&t.target.draggable!==!0&&typeof e.handler=="function"&&u.includes(t.target.nodeName.toUpperCase())===!1&&(t.qClonedBy===void 0||t.qClonedBy.indexOf(e.uid)===-1)}export{n as g,l as s};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
import{u as s,a as d}from"./chunk-8e5kB75k.js";import{B as u}from"./app-CPb3bToC.js";import{b as n}from"./chunk-CusLMHK2.js";import{m as c,a as l,l as m}from"./chunk-DhYw-kuD.js";const k=u({name:"QCard",props:{...s,tag:{type:String,default:"div"},square:Boolean,flat:Boolean,bordered:Boolean},setup(a,{slots:r}){const{proxy:{$q:e}}=c(),t=d(a,e),o=l(()=>"q-card"+(t.value===!0?" q-card--dark q-dark":"")+(a.bordered===!0?" q-card--bordered":"")+(a.square===!0?" q-card--square no-border-radius":"")+(a.flat===!0?" q-card--flat no-shadow":""));return()=>m(a.tag,{class:o.value},n(r.default))}});export{k as Q};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
import{B as v}from"./app-CPb3bToC.js";import{h as g,u as k,a as B}from"./chunk-CusLMHK2.js";import{a as t,l as n,m as x}from"./chunk-DhYw-kuD.js";import{u as h,a as C}from"./chunk-8e5kB75k.js";const w=["top","middle","bottom"],D=v({name:"QBadge",props:{color:String,textColor:String,floating:Boolean,transparent:Boolean,multiLine:Boolean,outline:Boolean,rounded:Boolean,label:[Number,String],align:{type:String,validator:e=>w.includes(e)}},setup(e,{slots:l}){const a=t(()=>e.align!==void 0?{verticalAlign:e.align}:null),o=t(()=>{const r=e.outline===!0&&e.color||e.textColor;return`q-badge flex inline items-center no-wrap q-badge--${e.multiLine===!0?"multi":"single"}-line`+(e.outline===!0?" q-badge--outline":e.color!==void 0?` bg-${e.color}`:"")+(r!==void 0?` text-${r}`:"")+(e.floating===!0?" q-badge--floating":"")+(e.rounded===!0?" q-badge--rounded":"")+(e.transparent===!0?" q-badge--transparent":"")});return()=>n("div",{class:o.value,style:a.value,role:"status","aria-label":e.label},g(l.default,e.label!==void 0?[e.label]:[]))}}),Q={xs:2,sm:4,md:6,lg:10,xl:14};function c(e,l,a){return{transform:l===!0?`translateX(${a.lang.rtl===!0?"-":""}100%) scale3d(${-e},1,1)`:`scale3d(${e},1,1)`}}const F=v({name:"QLinearProgress",props:{...h,...k,value:{type:Number,default:0},buffer:Number,color:String,trackColor:String,reverse:Boolean,stripe:Boolean,indeterminate:Boolean,query:Boolean,rounded:Boolean,animationSpeed:{type:[String,Number],default:2100},instantFeedback:Boolean},setup(e,{slots:l}){const{proxy:a}=x(),o=C(e,a.$q),r=B(e,Q),i=t(()=>e.indeterminate===!0||e.query===!0),s=t(()=>e.reverse!==e.query),m=t(()=>({...r.value!==null?r.value:{},"--q-linear-progress-speed":`${e.animationSpeed}ms`})),b=t(()=>"q-linear-progress"+(e.color!==void 0?` text-${e.color}`:"")+(e.reverse===!0||e.query===!0?" q-linear-progress--reverse":"")+(e.rounded===!0?" rounded-borders":"")),f=t(()=>c(e.buffer!==void 0?e.buffer:1,s.value,a.$q)),u=t(()=>`with${e.instantFeedback===!0?"out":""}-transition`),q=t(()=>`q-linear-progress__track absolute-full q-linear-progress__track--${u.value} q-linear-progress__track--${o.value===!0?"dark":"light"}`+(e.trackColor!==void 0?` bg-${e.trackColor}`:"")),$=t(()=>c(i.value===!0?1:e.value,s.value,a.$q)),y=t(()=>`q-linear-progress__model absolute-full q-linear-progress__model--${u.value} q-linear-progress__model--${i.value===!0?"in":""}determinate`),S=t(()=>({width:`${e.value*100}%`})),_=t(()=>`q-linear-progress__stripe absolute-${e.reverse===!0?"right":"left"} q-linear-progress__stripe--${u.value}`);return()=>{const d=[n("div",{class:q.value,style:f.value}),n("div",{class:y.value,style:$.value})];return e.stripe===!0&&i.value===!1&&d.push(n("div",{class:_.value,style:S.value})),n("div",{class:b.value,style:m.value,role:"progressbar","aria-valuemin":0,"aria-valuemax":1,"aria-valuenow":e.indeterminate===!0?void 0:e.value},g(l.default,d))}}});export{F as Q,D as a};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
function n(a,c){const e=document.createElement("a");e.href=a,e.download=c,e.click()}export{n as s};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
import{Q as b,a as r}from"./chunk-C64o1gyF.js";import{m as y,a as f,e as v,b as _,t as l}from"./app-CPb3bToC.js";import{u as g}from"./chunk-D3IYX2LY.js";import{E as p,q as a,as as i,D as u,V as o,X as d,an as n,u as m,F as k,at as h}from"./chunk-DhYw-kuD.js";import"./chunk-CusLMHK2.js";import"./chunk-C7mbSHwF.js";import"./chunk-DfTn_VfD.js";import"./chunk-Bzmka5Fh.js";import"./chunk-DOJZQpJk.js";import"./chunk-xwEmqXCW.js";import"./chunk-D3Pjrapm.js";import"./chunk-DbbZ0htz.js";import"./chunk-BoHz2A9L.js";const w={class:"flex-col",style:{margin:"0.5rem 0.5rem 0 0.5rem",height:"3rem",width:"103rem","padding-right":"2px"},bordered:""},S={style:{height:"100%","min-width":"10rem"}},V={key:0,style:{height:"100%","min-width":"10rem"}},B={key:1,style:{height:"100%","min-width":"10rem"}},D={key:2,style:{height:"100%","min-width":"10rem"}},N={key:3,style:{height:"100%","min-width":"10rem"}},R={key:4},T={data(){return{tabv:"keyboard",type_device:"",type_protocol:""}},updated(){const s=y();s.path_tab=this.tabv,f().current_device!==null&&this.$router.push({path:"/"+this.tabv,params:{}})},computed:{...v(g,{isRhythmSupport:"isSupport"}),isDev(){return!1},isMagneticSwitchKeyboard(){return _().isMagneticSwitchKeyboard}},watch:{isRhythmSupport(s){!s&&this.tabv==="rhythm"&&(this.tabv="keyboard")}},async created(){try{let e=_();await e.fetch_feature_key_type(),await e.fetch_feature_key_precision();const c=f();this.type_device=c.current_device.type_device,this.type_protocol=c.current_device.type_protocol}catch{}const s=y();this.tabv=s.path_tab,f().current_device!==null&&this.$router.push({path:"/"+this.tabv,params:{}})},methods:{async on_page_change(){const s=y();s.path_tab=this.tabv,f().current_device!==null&&this.$router.push({path:"/"+this.tabv,params:{}})}}},z=Object.assign(T,{__name:"TopBar",setup(s){return(t,e)=>(u(),p("div",w,[a(b,{align:"left",modelValue:t.tabv,"onUpdate:modelValue":[e[0]||(e[0]=c=>t.tabv=c),t.on_page_change],style:{"background-color":"var(--color-98)",color:"var(--text-primary)",height:"100%",outline:"2px solid var(--color-90)","border-radius":"0.5rem","box-shadow":"0 2px 4px rgba(0, 0, 0, 0.1)"}},{default:i(()=>[a(r,{name:"keyboard",style:{"min-width":"10rem"}},{default:i(()=>[e[1]||(e[1]=o("i",{class:"fa-solid fa-keyboard"},null,-1)),d(" "+n(m(l)("button_config")),1)]),_:1}),t.type_device==="keyboard"?(u(),p(k,{key:0},[o("div",S,[a(r,{name:"lighting",class:"fit"},{default:i(()=>[e[2]||(e[2]=o("i",{class:"fa-solid fa-lightbulb"},null,-1)),d(" "+n(m(l)("light_config")),1)]),_:1})]),t.isRhythmSupport?(u(),p("div",V,[a(r,{name:"rhythm",class:"fit"},{default:i(()=>[e[3]||(e[3]=o("i",{class:"fa-solid fa-music"},null,-1)),d(" "+n(m(l)("rhythm_config")),1)]),_:1})])):h("",!0)],64)):t.type_device==="mouse"?(u(),p("div",B,[a(r,{name:"lighting",class:"fit"},{default:i(()=>[e[4]||(e[4]=o("i",{class:"fa-solid fa-gauge-high"},null,-1)),d(" "+n(m(l)("dpi_config")),1)]),_:1})])):h("",!0),a(r,{name:"macro",style:{height:"100%","min-width":"10rem"}},{default:i(()=>[e[5]||(e[5]=o("i",{class:"fa-solid fa-scroll"},null,-1)),d(" "+n(m(l)("macro_config")),1)]),_:1}),t.type_protocol==="kb_by_v3_wired"&&t.isMagneticSwitchKeyboard?(u(),p("div",D,[a(r,{name:"performance",class:"fit"},{default:i(()=>[e[6]||(e[6]=o("i",{class:"fa-solid fa-chart-simple"},null,-1)),d(" "+n(m(l)("performance")),1)]),_:1})])):h("",!0),t.type_protocol==="kb_by_v3_wired"?(u(),p("div",N,[a(r,{name:"advanced",class:"fit"},{default:i(()=>[e[7]||(e[7]=o("i",{class:"fa-solid fa-wrench"},null,-1)),d(" "+n(m(l)("advanced_keys")),1)]),_:1})])):h("",!0),a(r,{name:"features",style:{"min-width":"10rem"}},{default:i(()=>[e[8]||(e[8]=o("i",{class:"fa-solid fa-atom"},null,-1)),d(" "+n(m(l)("device_feature")),1)]),_:1}),t.type_device==="keyboard"&&t.isDev?(u(),p("div",R,[a(r,{name:"custom_keys_layout",style:{"min-width":"10rem"}},{default:i(()=>[e[9]||(e[9]=o("i",{class:"fa-solid fa-wrench"},null,-1)),d(" "+n(m(l)("custom_keys_layout")),1)]),_:1})])):h("",!0)]),_:1},8,["modelValue","onUpdate:modelValue"])]))}});export{z as default};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
import{u as C,a as _,c as x,Q as u,d as y}from"./chunk-CusLMHK2.js";import{R as B}from"./chunk-C7mbSHwF.js";import{u as R,a as I}from"./chunk-8e5kB75k.js";import{B as Q,C as w}from"./app-CPb3bToC.js";import{m as z,a as l,l as i}from"./chunk-DhYw-kuD.js";const D={xs:8,sm:10,md:14,lg:20,xl:24},j=Q({name:"QChip",props:{...R,...C,dense:Boolean,icon:String,iconRight:String,iconRemove:String,iconSelected:String,label:[String,Number],color:String,textColor:String,modelValue:{type:Boolean,default:!0},selected:{type:Boolean,default:null},square:Boolean,outline:Boolean,clickable:Boolean,removable:Boolean,removeAriaLabel:String,tabindex:[String,Number],disable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","update:selected","remove","click"],setup(e,{slots:m,emit:a}){const{proxy:{$q:n}}=z(),h=I(e,n),v=_(e,D),b=l(()=>e.selected===!0||e.icon!==void 0),f=l(()=>e.selected===!0?e.iconSelected||n.iconSet.chip.selected:e.icon),q=l(()=>e.iconRemove||n.iconSet.chip.remove),c=l(()=>e.disable===!1&&(e.clickable===!0||e.selected!==null)),g=l(()=>{const t=e.outline===!0&&e.color||e.textColor;return"q-chip row inline no-wrap items-center"+(e.outline===!1&&e.color!==void 0?` bg-${e.color}`:"")+(t?` text-${t} q-chip--colored`:"")+(e.disable===!0?" disabled":"")+(e.dense===!0?" q-chip--dense":"")+(e.outline===!0?" q-chip--outline":"")+(e.selected===!0?" q-chip--selected":"")+(c.value===!0?" q-chip--clickable cursor-pointer non-selectable q-hoverable":"")+(e.square===!0?" q-chip--square":"")+(h.value===!0?" q-chip--dark q-dark":"")}),r=l(()=>{const t=e.disable===!0?{tabindex:-1,"aria-disabled":"true"}:{tabindex:e.tabindex||0},o={...t,role:"button","aria-hidden":"false","aria-label":e.removeAriaLabel||n.lang.label.remove};return{chip:t,remove:o}});function S(t){t.keyCode===13&&s(t)}function s(t){e.disable||(a("update:selected",!e.selected),a("click",t))}function d(t){(t.keyCode===void 0||t.keyCode===13)&&(w(t),e.disable===!1&&(a("update:modelValue",!1),a("remove")))}function k(){const t=[];c.value===!0&&t.push(i("div",{class:"q-focus-helper"})),b.value===!0&&t.push(i(u,{class:"q-chip__icon q-chip__icon--left",name:f.value}));const o=e.label!==void 0?[i("div",{class:"ellipsis"},[e.label])]:void 0;return t.push(i("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"},y(m.default,o))),e.iconRight&&t.push(i(u,{class:"q-chip__icon q-chip__icon--right",name:e.iconRight})),e.removable===!0&&t.push(i(u,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:q.value,...r.value.remove,onClick:d,onKeyup:d})),t}return()=>{if(e.modelValue===!1)return;const t={class:g.value,style:v.value};return c.value===!0&&Object.assign(t,r.value.chip,{onClick:s,onKeyup:S}),x("div",t,k(),"ripple",e.ripple!==!1&&e.disable!==!0,()=>[[B,e.ripple]])}}});export{j as Q};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
import{Q as u}from"./chunk-CusLMHK2.js";import{u as i,a as s,b as m}from"./chunk-xxORVLuj.js";import{B as g}from"./app-CPb3bToC.js";import{a as c,l as o}from"./chunk-DhYw-kuD.js";const b=g({name:"QToggle",props:{...i,icon:String,iconColor:String},emits:s,setup(e){function a(t,r){const n=c(()=>(t.value===!0?e.checkedIcon:r.value===!0?e.indeterminateIcon:e.uncheckedIcon)||e.icon),l=c(()=>t.value===!0?e.iconColor:null);return()=>[o("div",{class:"q-toggle__track"}),o("div",{class:"q-toggle__thumb absolute flex flex-center no-wrap"},n.value!==void 0?[o(u,{name:n.value,color:l.value})]:void 0)]}return m("toggle",a)}});export{b as Q};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
let i,n=0;const o=new Array(256);for(let t=0;t<256;t++)o[t]=(t+256).toString(16).substring(1);const u=(()=>{const t=typeof crypto<"u"?crypto:typeof window<"u"?window.crypto||window.msCrypto:void 0;if(t!==void 0){if(t.randomBytes!==void 0)return t.randomBytes;if(t.getRandomValues!==void 0)return e=>{const r=new Uint8Array(e);return t.getRandomValues(r),r}}return e=>{const r=[];for(let d=e;d>0;d--)r.push(Math.floor(Math.random()*256));return r}})(),s=4096;function f(){(i===void 0||n+16>s)&&(n=0,i=u(s));const t=Array.prototype.slice.call(i,n,n+=16);return t[6]=t[6]&15|64,t[8]=t[8]&63|128,o[t[0]]+o[t[1]]+o[t[2]]+o[t[3]]+"-"+o[t[4]]+o[t[5]]+"-"+o[t[6]]+o[t[7]]+"-"+o[t[8]]+o[t[9]]+"-"+o[t[10]]+o[t[11]]+o[t[12]]+o[t[13]]+o[t[14]]+o[t[15]]}export{f as u};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
import{u as i}from"./chunk-Bzmka5Fh.js";import{Z as s}from"./app-CPb3bToC.js";import{g as r,O as d,w as e,a as l}from"./chunk-DhYw-kuD.js";function m(u){return u??null}function t(u,n){return u??(n===!0?`f_${i()}`:null)}function v({getValue:u,required:n=!0}={}){if(s.value===!0){const o=u!==void 0?r(m(u())):r(null);return n===!0&&o.value===null&&d(()=>{o.value=`f_${i()}`}),u!==void 0&&e(u,f=>{o.value=t(f,n)}),o}return u!==void 0?l(()=>t(u(),n)):r(`f_${i()}`)}export{v as u};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
import{g as r,a,l as c}from"./chunk-DhYw-kuD.js";function f(o,u){const n=r(null),s=a(()=>o.disable===!0?null:c("span",{ref:n,class:"no-outline",tabindex:-1}));function l(t){const e=u.value;t!==void 0&&t.type.indexOf("key")===0?e!==null&&document.activeElement!==e&&e.contains(document.activeElement)===!0&&e.focus():n.value!==null&&(t===void 0||e!==null&&e.contains(t.target)===!0)&&n.value.focus()}return{refocusTargetEl:s,refocusTarget:l}}const d={xs:30,sm:35,md:40,lg:50,xl:60};export{d as o,f as u};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
import{a1 as w,I as x,W as C,V as E,J as R,U as g}from"./app-CPb3bToC.js";import{d as T}from"./chunk-DfTn_VfD.js";function L(r,t=250){let e=!1,a;return function(){return e===!1&&(e=!0,setTimeout(()=>{e=!1},t),a=r.apply(this,arguments)),a}}function h(r,t,e,a){e.modifiers.stop===!0&&R(r);const s=e.modifiers.color;let l=e.modifiers.center;l=l===!0||a===!0;const i=document.createElement("span"),o=document.createElement("span"),d=g(r),{left:$,top:k,width:n,height:c}=t.getBoundingClientRect(),p=Math.sqrt(n*n+c*c),f=p/2,m=`${(n-p)/2}px`,v=l?m:`${d.left-$-f}px`,y=`${(c-p)/2}px`,b=l?y:`${d.top-k-f}px`;o.className="q-ripple__inner",T(o,{height:`${p}px`,width:`${p}px`,transform:`translate3d(${v},${b},0) scale3d(.2,.2,1)`,opacity:0}),i.className=`q-ripple${s?" text-"+s:""}`,i.setAttribute("dir","ltr"),i.appendChild(o),t.appendChild(i);const _=()=>{i.remove(),clearTimeout(u)};e.abort.push(_);let u=setTimeout(()=>{o.classList.add("q-ripple__inner--enter"),o.style.transform=`translate3d(${m},${y},0) scale3d(1,1,1)`,o.style.opacity=.2,u=setTimeout(()=>{o.classList.remove("q-ripple__inner--enter"),o.classList.add("q-ripple__inner--leave"),o.style.opacity=0,u=setTimeout(()=>{i.remove(),e.abort.splice(e.abort.indexOf(_),1)},275)},250)},50)}function q(r,{modifiers:t,value:e,arg:a}){const s=Object.assign({},r.cfg.ripple,t,e);r.modifiers={early:s.early===!0,stop:s.stop===!0,center:s.center===!0,color:s.color||a,keyCodes:[].concat(s.keyCodes||13)}}const O=w({name:"ripple",beforeMount(r,t){const e=t.instance.$.appContext.config.globalProperties.$q.config||{};if(e.ripple===!1)return;const a={cfg:e,enabled:t.value!==!1,modifiers:{},abort:[],start(s){a.enabled===!0&&s.qSkipRipple!==!0&&s.type===(a.modifiers.early===!0?"pointerdown":"click")&&h(s,r,a,s.qKeyEvent===!0)},keystart:L(s=>{a.enabled===!0&&s.qSkipRipple!==!0&&x(s,a.modifiers.keyCodes)===!0&&s.type===`key${a.modifiers.early===!0?"down":"up"}`&&h(s,r,a,!0)},300)};q(a,t),r.__qripple=a,C(a,"main",[[r,"pointerdown","start","passive"],[r,"click","start","passive"],[r,"keydown","keystart","passive"],[r,"keyup","keystart","passive"]])},updated(r,t){if(t.oldValue!==t.value){const e=r.__qripple;e!==void 0&&(e.enabled=t.value!==!1,e.enabled===!0&&Object(t.value)===t.value&&q(e,t))}},beforeUnmount(r){const t=r.__qripple;t!==void 0&&(t.abort.forEach(e=>{e()}),E(t,"main"),delete r._qripple)}});export{O as R,L as t};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
import{Q as l}from"./chunk-CusLMHK2.js";import{B as u}from"./app-CPb3bToC.js";import{u as r,a as i,b}from"./chunk-xxORVLuj.js";import{l as e,a as h}from"./chunk-DhYw-kuD.js";const k=()=>e("div",{key:"svg",class:"q-checkbox__bg absolute"},[e("svg",{class:"q-checkbox__svg fit absolute-full",viewBox:"0 0 24 24"},[e("path",{class:"q-checkbox__truthy",fill:"none",d:"M1.73,12.91 8.1,19.28 22.79,4.59"}),e("path",{class:"q-checkbox__indet",d:"M4,14H20V10H4"})])]),f=u({name:"QCheckbox",props:r,emits:i,setup(c){const s=k();function t(n,a){const o=h(()=>(n.value===!0?c.checkedIcon:a.value===!0?c.indeterminateIcon:c.uncheckedIcon)||null);return()=>o.value!==null?[e("div",{key:"icon",class:"q-checkbox__icon-container absolute-full flex flex-center no-wrap"},[e(l,{class:"q-checkbox__icon",name:o.value})])]:[s]}return b("checkbox",t)}});export{f as Q};
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
import{_ as l}from"./app-CPb3bToC.js";import{D as a,E as r,aC as t}from"./chunk-DhYw-kuD.js";const p={data(){}},e={viewBox:"-50 -50 600 600",focusable:"false"};function C(o,c,h,s,n,i){return a(),r("svg",e,c[0]||(c[0]=[t(`<g><g><g><path fill="var(--color-80)" d="M477.3,202.4c13.9,14.2,19.3,34.2,14.4,53.4l-45.3,177.6c-8.5,33.3-38.5,56.6-72.9,56.6H121.2\r
|
||||||
|
c-17.6,0-33.8-8-44.6-21.8s-14.4-31.6-10.1-48.6l15.2-59.3c2.6-10.1,12.8-16.1,22.9-13.5c10.1,2.6,16.1,12.8,13.5,22.9L103,428.9\r
|
||||||
|
c-1.4,5.7-0.2,11.6,3.4,16.2c3.6,4.6,9,7.3,14.9,7.3h252.2c17.2,0,32.2-11.6,36.4-28.3l45.3-177.6c1.6-6.4-0.2-13.1-4.8-17.8\r
|
||||||
|
c-7.3-7.4-7.1-19.3,0.3-26.6C458.1,194.8,470,195,477.3,202.4z"></path><path fill="var(--color-80)" d="M429.9,30.5c10.8,13.8,14.4,31.6,10.1,48.5l-45.3,177.6c-8.5,33.3-38.5,56.6-72.9,56.6H69.5\r
|
||||||
|
c-17.6,0-33.8-8-44.6-21.8s-14.4-31.6-10.1-48.6L60.4,65.3C69,32,98.9,8.7,133.3,8.7h252C402.8,8.7,419.1,16.7,429.9,30.5z\r
|
||||||
|
M403.5,69.8c1.4-5.7,0.2-11.6-3.4-16.2c-3.6-4.6-9-7.3-14.9-7.3h-252c-17.2,0-32.2,11.6-36.4,28.3L51.3,252.2\r
|
||||||
|
c-1.5,5.7-0.2,11.6,3.4,16.2c3.6,4.6,9,7.3,14.9,7.3h252.2c17.2,0,32.2-11.6,36.4-28.3L403.5,69.8z"></path><path fill="var(--color-80)" d="M400.2,53.6c3.6,4.6,4.8,10.5,3.4,16.2l-45.3,177.6c-4.3,16.7-19.2,28.3-36.4,28.3H69.5\r
|
||||||
|
c-5.9,0-11.3-2.7-14.9-7.3c-3.6-4.6-4.8-10.5-3.4-16.2L96.9,74.6c4.3-16.6,19.3-28.3,36.4-28.3h252\r
|
||||||
|
C391.1,46.3,396.6,49,400.2,53.6z"></path></g></g><polygon fill="var(--color-80)" points="414.1,29.5 96.6,32.1 81.8,45.8 28.6,257.9 61.8,287.9 362.4,287.9 426.3,74.8 "></polygon><g><path fill="var(--color-55)" d="M174.9,160.9c-6.2,20.2-16.6,35.6-31.4,46.3c-14.7,10.7-33,16.1-54.6,16.1H54.3l37.4-122.4h38.4\r
|
||||||
|
c20,0,33.9,5.3,41.7,15.8C179.7,127.2,180.7,142,174.9,160.9z M147.7,161.6c8-26.3,0.4-39.4-22.8-39.4h-13.8l-24.4,79.7h11.1\r
|
||||||
|
C122.9,201.8,139.5,188.4,147.7,161.6z"></path><path fill="var(--color-55)" d="M279.7,223.3h-29.5l-16.3-51.6l-13.4,7.9l-13.4,43.7h-26l37.4-122.4h26l-17.1,56l14.6-14.4l45.9-41.6h28.8\r
|
||||||
|
L257.5,155L279.7,223.3z"></path><path fill="var(--color-55)" d="M377.7,189.3c-3.4,11.1-10,19.8-19.9,26.1c-9.9,6.4-21.9,9.5-36.1,9.5c-13.1,0-23.9-2.5-32.4-7.4l7.4-24.1\r
|
||||||
|
c7.1,3.7,13.3,6.3,18.6,7.8c5.3,1.5,10.3,2.3,15,2.3c5.7,0,10.4-1.1,14.1-3.3c3.7-2.2,6.2-5.4,7.5-9.7c0.7-2.4,0.7-4.5,0-6.4\r
|
||||||
|
c-0.8-1.9-2.2-3.7-4.3-5.4c-2.1-1.7-6.5-4.5-13.3-8.3c-6.4-3.5-11-6.9-13.7-10.1c-2.8-3.2-4.6-7-5.5-11.3\r
|
||||||
|
c-0.9-4.3-0.5-9.3,1.3-15.1c3.3-10.8,9.6-19.3,18.8-25.5c9.2-6.2,20.3-9.3,33.3-9.3c6.4,0,12.2,0.8,17.5,2.3s10.7,3.6,16.2,6.4\r
|
||||||
|
l-14.5,20.2c-5.7-2.7-10.5-4.5-14.5-5.6c-3.9-1.1-8-1.6-12.1-1.6c-4.9,0-9,1.1-12.4,3.4c-3.3,2.3-5.5,5.3-6.7,9\r
|
||||||
|
c-0.7,2.3-0.8,4.3-0.2,6c0.5,1.7,1.7,3.3,3.6,4.9c1.8,1.6,6.4,4.5,13.8,8.6c9.8,5.5,15.9,11,18.5,16.5\r
|
||||||
|
C380.1,174.6,380.2,181.3,377.7,189.3z"></path></g></g>`,1)]))}const k=l(p,[["render",C]]),f={data(){}},d={viewBox:"-50 -50 600 600",focusable:"false"};function g(o,c,h,s,n,i){return a(),r("svg",d,c[0]||(c[0]=[t(`<g><path fill="var(--color-80)" d="M405.2,9.4H137.4c-26,0-52.6,21-59.6,47l-50.6,189c-11.1,41.5,13.5,75.1,55,75.1h267.8c26,0,52.6-21,59.6-47\r
|
||||||
|
l50.6-189C471.3,43,446.6,9.4,405.2,9.4z"></path><path fill="var(--color-80)" d="M150.6,372.5H77.8c-12.5,0-25.4,10.2-28.8,22.7l-19.5,72.7c-3.4,12.5,4.1,22.7,16.6,22.7h72.7\r
|
||||||
|
c12.5,0,25.4-10.2,28.8-22.7l19.5-72.7C170.5,382.6,163.1,372.5,150.6,372.5z"></path><path fill="var(--color-80)" d="M455.7,372.5H247.9c-14.3,0-28.9,10.2-32.7,22.7L193,467.9c-3.8,12.5,4.6,22.7,18.9,22.7h207.8\r
|
||||||
|
c14.3,0,28.9-10.2,32.7-22.7l22.2-72.7C478.4,382.6,470,372.5,455.7,372.5z"></path><g><path fill="var(--color-55)" d="M164.3,221.9l-3.8-97.2h-0.8c-4.2,19.8-7.2,33-9,39.6l-15.4,57.6h-23.5L145.1,98h35.8l3.9,94.8h0.5L241.8,98\r
|
||||||
|
h35.8l-33.2,123.9h-24.5l15.7-58.7c0.7-2.8,1.6-6,2.7-9.6c1.1-3.6,4-13.2,8.9-28.8h-0.8l-58,97.1H164.3z"></path><path fill="var(--color-55)" d="M323.3,221.9h-26.3l27.3-102.1h-33.7l5.9-21.9h93.6l-5.9,21.9h-33.7L323.3,221.9z"></path></g></g>`,1)]))}const z=l(f,[["render",g]]),_={data(){}},v={viewBox:"-50 -50 600 600",focusable:"false"};function L(o,c,h,s,n,i){return a(),r("svg",v,c[0]||(c[0]=[t(`<g><path fill="var(--color-80)" d="M411.6,9.4H143.7c-26,0-52.6,21-59.6,47l-50.7,189c-11.1,41.5,13.5,75.1,55,75.1h267.9c26,0,52.6-21,59.6-47\r
|
||||||
|
l50.7-189C477.7,43,453.1,9.4,411.6,9.4z"></path><g><path fill="var(--color-55)" d="M136,221.9h-26.3L137,119.8h-33.7l5.9-21.9h93.6l-5.9,21.9h-33.7L136,221.9z"></path><path fill="var(--color-55)" d="M254.4,152.3h49.2l-17.2,64.3c-8.7,2.6-16.7,4.4-24,5.5c-7.3,1-14.7,1.6-22,1.6c-18.7,0-31.5-5.5-38.4-16.5\r
|
||||||
|
c-6.9-11-7.6-26.8-2.1-47.3c5.4-20,15.3-35.6,29.7-46.8c14.4-11.2,31.8-16.8,52.1-16.8c12.7,0,24.3,2.5,34.7,7.6l-14.4,21\r
|
||||||
|
c-7.8-4.5-16.6-6.8-26.4-6.8c-11.4,0-21.5,3.8-30.4,11.4c-8.9,7.6-15.1,17.9-18.5,30.8c-3.6,13.5-3.6,23.7,0,30.8\r
|
||||||
|
c3.6,7.1,10.7,10.6,21.2,10.6c5.5,0,11.2-0.6,17.2-1.7l6.9-25.9h-23.5L254.4,152.3z"></path><path fill="var(--color-55)" d="M314.4,221.9L347.6,98h26.3l-27.4,102.2h50.3l-5.8,21.7H314.4z"></path></g><g><path fill="var(--color-80)" d="M373.1,370.4c24.6,0,39.2,20,32.6,44.5c-6.6,24.6-31.9,44.5-56.5,44.5H143.6c-24.6,0-39.2-20-32.6-44.5\r
|
||||||
|
c6.6-24.6,31.9-44.5,56.5-44.5H373.1 M381.5,339.2H175.8c-41.8,0-84.8,33.9-96,75.7s13.6,75.7,55.4,75.7h205.7\r
|
||||||
|
c41.8,0,84.8-33.9,96-75.7S423.3,339.2,381.5,339.2L381.5,339.2z"></path></g><g><ellipse transform="matrix(0.7526 -0.6585 0.6585 0.7526 -233.9296 207.2063)" fill="var(--color-80)" cx="158.8" cy="414.9" rx="27.7" ry="21.2"></ellipse></g></g>`,1)]))}const x=l(_,[["render",L]]),m={},M={viewBox:"-3 -3 42 42",focusable:"false",class:"chakra-icon chakra-icon css-12difly"};function H(o,c){return a(),r("svg",M,c[0]||(c[0]=[t('<g><g clip-path="url(#clip0_3418_80243)"><path d="M15.6323 8.64844H4.63484C3.56713 8.64844 2.47478 9.8732 2.18732 11.3896L0.109392 22.4124C-0.346439 24.8328 0.66378 26.7924 2.36801 26.7924H13.3654C14.4331 26.7924 15.5255 25.5677 15.813 24.0513L17.8909 13.0284C18.3467 10.6081 17.3324 8.64844 15.6323 8.64844Z" fill="var(--color-80)"></path><path d="M33.6323 8.64844H22.6348C21.5671 8.64844 20.4748 9.8732 20.1873 11.3896L18.1094 22.4124C17.6536 24.8328 18.6638 26.7924 20.368 26.7924H31.3654C32.4331 26.7924 33.5255 25.5677 33.813 24.0513L35.8909 13.0284C36.3467 10.6081 35.3324 8.64844 33.6323 8.64844Z" fill="var(--color-80)"></path><mask id="mask0_3418_80243" maskUnits="userSpaceOnUse" x="17" y="8" width="20" height="20" style="mask-type:alpha;"><rect x="17" y="28" width="20" height="20" transform="rotate(-90 17 28)" fill="#333333"></rect></mask><g mask="url(#mask0_3418_80243)"><path d="M29.125 18.4579H23.75C23.5417 18.4579 23.3646 18.385 23.2188 18.2391C23.0729 18.0933 23 17.9162 23 17.7079C23 17.4995 23.0729 17.3225 23.2188 17.1766C23.3646 17.0308 23.5417 16.9579 23.75 16.9579H29.125L27.4583 15.2912C27.3056 15.1384 27.2292 14.9614 27.2292 14.76C27.2292 14.5586 27.3056 14.3815 27.4583 14.2287C27.6111 14.0759 27.7882 13.9995 27.9896 13.9995C28.191 13.9995 28.3681 14.0759 28.5208 14.2287L31.4792 17.187C31.6319 17.3398 31.7083 17.5134 31.7083 17.7079C31.7083 17.9023 31.6319 18.0759 31.4792 18.2287L28.5208 21.187C28.3681 21.3398 28.191 21.4127 27.9896 21.4058C27.7882 21.3989 27.6111 21.319 27.4583 21.1662C27.3056 21.0134 27.2292 20.8364 27.2292 20.635C27.2292 20.4336 27.3056 20.2565 27.4583 20.1037L29.125 18.4579Z" fill="var(--color-50)"></path></g><mask id="mask1_3418_80243" maskUnits="userSpaceOnUse" x="-1" y="8" width="20" height="20" style="mask-type:alpha;"><rect width="20" height="20" transform="matrix(0 -1 -1 0 19 28)" fill="#333333"></rect></mask><g mask="url(#mask1_3418_80243)"><path d="M7.58203 18.4579H12.957C13.1654 18.4579 13.3424 18.385 13.4883 18.2391C13.6341 18.0933 13.707 17.9162 13.707 17.7079C13.707 17.4995 13.6341 17.3225 13.4883 17.1766C13.3424 17.0308 13.1654 16.9579 12.957 16.9579H7.58203L9.2487 15.2912C9.40148 15.1384 9.47786 14.9614 9.47786 14.76C9.47786 14.5586 9.40148 14.3815 9.2487 14.2287C9.09592 14.0759 8.91884 13.9995 8.71745 13.9995C8.51606 13.9995 8.33898 14.0759 8.1862 14.2287L5.22786 17.187C5.07509 17.3398 4.9987 17.5134 4.9987 17.7079C4.9987 17.9023 5.07509 18.0759 5.22786 18.2287L8.1862 21.187C8.33898 21.3398 8.51606 21.4127 8.71745 21.4058C8.91884 21.3989 9.09592 21.319 9.2487 21.1662C9.40148 21.0134 9.47786 20.8364 9.47786 20.635C9.47786 20.4336 9.40148 20.2565 9.2487 20.1037L7.58203 18.4579Z" fill="var(--color-50)"></path></g><path d="M30.7373 5.13664C31.2912 5.73527 30.8354 6.64844 30.0198 6.64844H29.1528C28.8807 6.64844 28.6216 6.53617 28.4269 6.34591C25.993 3.96652 22.663 2.5 18.9904 2.5C15.3178 2.5 11.9877 3.96652 9.55382 6.34591C9.3592 6.53617 9.10008 6.64844 8.82792 6.64844H7.96091C7.14536 6.64844 6.6896 5.73527 7.24347 5.13665C10.1662 1.9777 14.3473 0 18.9904 0C23.6334 0 27.8145 1.9777 30.7373 5.13664Z" fill="var(--color-80)"></path><path d="M28.7373 30.5118C29.2912 29.9132 28.8354 29 28.0198 29H27.1528C26.8807 29 26.6216 29.1123 26.4269 29.3025C23.993 31.6819 20.663 33.1484 16.9904 33.1484C13.3178 33.1484 9.98771 31.6819 7.55382 29.3025C7.3592 29.1123 7.10008 29 6.82792 29H5.96091C5.14536 29 4.6896 29.9132 5.24347 30.5118C8.16623 33.6707 12.3473 35.6484 16.9904 35.6484C21.6334 35.6484 25.8145 33.6707 28.7373 30.5118Z" fill="var(--color-80)"></path></g><defs><clipPath id="clip0_3418_80243"><rect width="36" height="36" fill="white"></rect></clipPath></defs></g>',1)]))}const y=l(m,[["render",H]]);export{k as D,z as M,y as S,x as T};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
import{d as _,a as c,a9 as o,aa as n,T as y,a6 as k,u as h,ac as m,a7 as p,a8 as f}from"./app-CPb3bToC.js";const N=_("model_kb_by_v2_keys",{state:()=>({keys:[],macros:[],layers:[],current_layer:0,product_name:""}),actions:{reset(){const r=c();if(!r.current_device)return null;let e=o(),s=[];for(let t=0;t<e.length;t++){let i=[],a=n(e[t].value);for(let l=0;l<a.length;l++)a[l].layer=e[t].value,a[l].type=y.BASIC,a[l].color={r:0,g:0,b:0,a:0},i.push(a[l]);s=s.concat(i)}this.keys=s,this.macros=[],this.layers=e,this.current_layer=0,this.product_name=r.current_device.product_name},load_profile(r){this.keys=JSON.parse(JSON.stringify(r.keys)),this.macros=JSON.parse(JSON.stringify(r.macros)),this.layers=JSON.parse(JSON.stringify(r.layers)),this.current_layer=r.current_layer,this.product_name=r.product_name},default(){const r=c();if(!r.current_device)return null;let e=o(),s=[];for(let t=0;t<e.length;t++){let i=[],a=n(e[t].value);for(let l=0;l<a.length;l++)a[l].layer=e[t].value,a[l].type=y.BASIC,a[l].color={r:0,g:0,b:0,a:0},i.push(a[l]);s=s.concat(i)}return{keys:s,macros:[],layers:e,current_layer:0,product_name:r.current_device.product_name}},get_current_layer_keys_by_pos(r){for(let e=0;e<this.keys.length;e++)if(Number(this.keys[e].layer)===Number(this.current_layer)&&Number(this.keys[e].pos)===Number(r))return JSON.parse(JSON.stringify(this.keys[e]));return null},get_current_layer_keys(){let r=[];for(let e=0;e<this.keys.length;e++)Number(this.keys[e].layer)===Number(this.current_layer)&&r.push(this.keys[e]);return r},set_key(r,e){for(let s=0;s<this.keys.length;s++)this.keys[s].type===y.MACRO&&this.keys[s].name===e.name&&(this.keys[s].value=JSON.parse(JSON.stringify(e.data.data))),Number(this.keys[s].pos)===Number(r)&&Number(this.keys[s].layer)===Number(this.current_layer)&&(this.keys[s].type=e.type,this.keys[s].value=e.data,e.type===y.MACRO&&(this.keys[s].value=JSON.parse(JSON.stringify(e.data.data))),this.keys[s].name=e.name);this._sync_macros()},_sync_data_to_device(){c().set_device_data(this)},_sync_macros(){let r=[];for(let e=0;e<this.keys.length;e++)this.keys[e].type===y.MACRO&&r.push(JSON.parse(JSON.stringify(this.keys[e].value)));r=k(r,"name"),this.macros=JSON.parse(JSON.stringify(r)),this._sync_data_to_device()},reset_key(r){let e=n(this.current_layer);for(let s=0;s<this.keys.length;s++)for(let t=0;t<e.length;t++)if(Number(this.keys[s].pos)===Number(r)&&Number(e[t].pos)===Number(r)&&Number(this.keys[s].layer)===Number(this.current_layer)){e[t].layer=this.current_layer,e[t].type=y.BASIC,e[t].color=this.keys[s].color,this.keys[s]=JSON.parse(JSON.stringify(e[t]));break}this._sync_macros()},setup(){this.layers.length===0&&(this.layers=o());const r=c();if(this.keys.length===0||this.product_name!==r.current_device.product_name){let e=[];for(let s=0;s<this.layers.length;s++){let t=[],i=n(this.layers[s].value);for(let a=0;a<i.length;a++)i[a].layer=this.layers[s].value,i[a].type=y.BASIC,i[a].color={r:0,g:0,b:0,a:0},t.push(i[a]);e=e.concat(t)}this.keys=JSON.parse(JSON.stringify(e)),this.product_name=r.current_device.product_name}},set_custom_light(r,e){for(let s=0;s<this.keys.length;s++)if(Number(this.keys[s].layer)===0&&Number(this.keys[s].light_pos)===Number(r))return this.keys[s].color={r:e.r,g:e.g,b:e.b,a:e.a},!0},async sync(){try{return await(await h().controller).set_keys(this)}catch{return!1}},async sync_custom_light(){try{return await(await h().controller).set_custom_light(this)}catch{return!1}},async fetch(){try{const s=await(await h().controller).get_keys(this.current_layer);for(let t=0;t<this.keys.length;t++)if(Number(this.keys[t].layer)===Number(this.current_layer)){const i=Number(this.keys[t].pos-8);if(this.keys[t].name="",this.keys[t].value="0x00000000",this.keys[t].type=y.BASIC,s[i+0]===3){let a=s[i+3];if(a>this.macros.length-1&&(a=0),this.macros.length===0){let u=m(0,Number(this.keys[t].pos-8));this.keys[t].name=u.name,this.keys[t].value=u.value,this.keys[t].type=y.BASIC;continue}let l=JSON.parse(JSON.stringify(this.macros[a]));this.keys[t].name=l.name,this.keys[t].value=JSON.parse(JSON.stringify(l)),this.keys[t].type="macro"}else{let a=0;a+=s[i+0]*Math.pow(256,3),a+=s[i+1]*Math.pow(256,2),a+=s[i+2]*Math.pow(256,1),a+=s[i+3]*Math.pow(256,0),this.keys[t].value="0x"+p(a,8);const l=f(this.keys[t].value);try{this.keys[t].name=l.name,this.keys[t].type=l.type,a===0&&(this.keys[t].name="")}catch{a===0&&(this.keys[t].name="");continue}}}return this._sync_data_to_device(),!0}catch{return!1}},async fetch_custom_light(){try{const s=await(await h().controller).get_custom_light();for(let t=0;t<this.keys.length;t++)if(this.keys[t].layer===0){let i={r:0,g:0,b:0,a:1};i.r=s[Number(this.keys[t].light_pos)-8],i.g=s[Number(this.keys[t].light_pos)+126-8],i.b=s[Number(this.keys[t].light_pos)+126*2-8],i.r===0&&i.g===0&&i.b===0&&(i.a=0),this.keys[t].color=JSON.parse(JSON.stringify(i))}return!0}catch{return!1}}},persist:!0});export{N as m};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
import"./app-CPb3bToC.js";function r(s){switch(s){case"MCHOSE_G98":return{w:20,h:10,backgroundImage:"src/assets/keyboard/MCHOSE_G98.png"};case"MCHOSE_GX87":return{w:20,h:10,backgroundImage:"src/assets/keyboard/MCHOSE_GX87.png"};case"AULA_F87":return{w:20,h:10,backgroundImage:"src/assets/keyboard/AULA_F87.png"};case"AULA_2837":return{w:20,h:10,backgroundImage:"src/assets/keyboard/AULA_2837.png"};case"AULA_2865":return{w:20,h:10,backgroundImage:"src/assets/keyboard/AULA_2865.png"};case"AULA_F75":return{w:20,h:10,backgroundImage:"src/assets/keyboard/AULA_F75.png"};case"ARM32_HID_104":return{w:20,h:10,backgroundImage:"src/assets/keyboard/ARM32_HID_104.png"};case"ARM32_HID_61":return{w:20,h:10,backgroundImage:"src/assets/keyboard/ARM32_HID_61.png"};case"ARM32_HID_68":return{w:20,h:10,backgroundImage:"src/assets/keyboard/thumbs/ARM32_HID_68.png"};case"ARM32_HID_68_JP":return{w:20,h:10,backgroundImage:"src/assets/keyboard/thumbs/ARM32_HID_68_JP.png"};case"AULA_KG138":return{w:20,h:10,backgroundImage:"src/assets/keyboard/thumbs/AULA_KG138.png"};case"AULA_2829":return{w:20,h:10,backgroundImage:"src/assets/keyboard/thumbs/AULA_2829.png"};case"AULA_2829_JP":return{w:20,h:10,backgroundImage:"src/assets/keyboard/thumbs/AULA_2829_JP.png"};case"AULA_2836":return{w:20,h:10,backgroundImage:"src/assets/keyboard/AULA_2836.png"};case"HUAMI_PMO65":return{w:20,h:10,backgroundImage:"src/assets/keyboard/thumbs/HUAMI_PMO65.png"};case"MCHOSE_K87":return{w:20,h:10,backgroundImage:"src/assets/keyboard/MCHOSE_K87.png"};case"MCHOSE_K99":return{w:20,h:10,backgroundImage:"src/assets/keyboard/MCHOSE_K99.png"};case"MCHOSE_X75":return{w:20,h:10,backgroundImage:"src/assets/keyboard/MCHOSE_X75.png"};case"MCHOSE_Z75":return{w:20,h:10,backgroundImage:"src/assets/keyboard/MCHOSE_Z75.png"};case"EWEADN_L1_PRO":return{w:20,h:10,backgroundImage:"src/assets/mouse/EWEADN_L1_PRO.png"};case"SLE_05":case"IN10_PRO":case"SLE_06":return{w:20,h:15,backgroundImage:"src/assets/mouse/SLE_05.png"};case"MCHOSE_G3_MAX":return{w:20,h:15,backgroundImage:"src/assets/mouse/MCHOSE_G3_MAX.png"}}return null}export{r as g};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
import{B as r}from"./app-CPb3bToC.js";import{b as s}from"./chunk-CusLMHK2.js";import{a as e,l as n}from"./chunk-DhYw-kuD.js";import{u as i,b as l}from"./chunk-C2blguT0.js";const v=r({name:"QCardSection",props:{tag:{type:String,default:"div"},horizontal:Boolean},setup(a,{slots:o}){const t=e(()=>`q-card__section q-card__section--${a.horizontal===!0?"horiz row no-wrap":"vert"}`);return()=>n(a.tag,{class:t.value},s(o.default))}}),_=r({name:"QCardActions",props:{...i,vertical:Boolean},setup(a,{slots:o}){const t=l(a),c=e(()=>`q-card__actions ${t.value} q-card__actions--${a.vertical===!0?"vert column":"horiz row"}`);return()=>n("div",{class:c.value},s(o.default))}});export{v as Q,_ as a};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
import{v as K}from"./chunk-DfTn_VfD.js";import{m as j,a}from"./chunk-DhYw-kuD.js";function L(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}function P(t,r){return(t.aliasOf||t)===(r.aliasOf||r)}function q(t,r){for(const s in r){const e=r[s],u=t[s];if(typeof e=="string"){if(e!==u)return!1}else if(Array.isArray(u)===!1||u.length!==e.length||e.some((g,d)=>g!==u[d]))return!1}return!0}function O(t,r){return Array.isArray(r)===!0?t.length===r.length&&t.every((s,e)=>s===r[e]):t.length===1&&t[0]===r}function B(t,r){return Array.isArray(t)===!0?O(t,r):Array.isArray(r)===!0?O(r,t):t===r}function M(t,r){if(Object.keys(t).length!==Object.keys(r).length)return!1;for(const s in t)if(B(t[s],r[s])===!1)return!1;return!0}const V={to:[String,Object],replace:Boolean,href:String,target:String,disable:Boolean},H={...V,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"}};function T({fallbackTag:t,useDisableForRouterLinkProps:r=!0}={}){const s=j(),{props:e,proxy:u,emit:g}=s,d=K(s),h=a(()=>e.disable!==!0&&e.href!==void 0),$=r===!0?a(()=>d===!0&&e.disable!==!0&&h.value!==!0&&e.to!==void 0&&e.to!==null&&e.to!==""):a(()=>d===!0&&h.value!==!0&&e.to!==void 0&&e.to!==null&&e.to!==""),f=a(()=>$.value===!0?A(e.to):null),o=a(()=>f.value!==null),m=a(()=>h.value===!0||o.value===!0),C=a(()=>e.type==="a"||m.value===!0?"a":e.tag||t||"div"),S=a(()=>h.value===!0?{href:e.href,target:e.target}:o.value===!0?{href:f.value.href,target:e.target}:{}),k=a(()=>{if(o.value===!1)return-1;const{matched:n}=f.value,{length:l}=n,i=n[l-1];if(i===void 0)return-1;const c=u.$route.matched;if(c.length===0)return-1;const v=c.findIndex(P.bind(null,i));if(v!==-1)return v;const x=L(n[l-2]);return l>1&&L(i)===x&&c[c.length-1].path!==x?c.findIndex(P.bind(null,n[l-2])):v}),p=a(()=>o.value===!0&&k.value!==-1&&q(u.$route.params,f.value.params)),y=a(()=>p.value===!0&&k.value===u.$route.matched.length-1&&M(u.$route.params,f.value.params)),I=a(()=>o.value===!0?y.value===!0?` ${e.exactActiveClass} ${e.activeClass}`:e.exact===!0?"":p.value===!0?` ${e.activeClass}`:"":"");function A(n){try{return u.$router.resolve(n)}catch{}return null}function R(n,{returnRouterError:l,to:i=e.to,replace:c=e.replace}={}){if(e.disable===!0)return n.preventDefault(),Promise.resolve(!1);if(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey||n.button!==void 0&&n.button!==0||e.target==="_blank")return Promise.resolve(!1);n.preventDefault();const v=u.$router[c===!0?"replace":"push"](i);return l===!0?v:v.then(()=>{}).catch(()=>{})}function b(n){if(o.value===!0){const l=i=>R(n,i);g("click",n,l),n.defaultPrevented!==!0&&l()}else g("click",n)}return{hasRouterLink:o,hasHrefLink:h,hasLink:m,linkTag:C,resolvedLink:f,linkIsActive:p,linkIsExactActive:y,linkClass:I,linkAttrs:S,getLink:A,navigateToRouterLink:R,navigateOnClick:b}}export{T as a,V as b,H as u};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
import{a1 as s,I as d}from"./app-CPb3bToC.js";import{o as c,q as i}from"./chunk-DBKH8df9.js";function n(e){if(e===!1)return 0;if(e===!0||e===void 0)return 1;const t=parseInt(e,10);return isNaN(t)?0:t}const h=s({name:"close-popup",beforeMount(e,{value:t}){const o={depth:n(t),handler(r){o.depth!==0&&setTimeout(()=>{const p=c(e);p!==void 0&&i(p,r,o.depth)})},handlerKey(r){d(r,13)===!0&&o.handler(r)}};e.__qclosepopup=o,e.addEventListener("click",o.handler),e.addEventListener("keyup",o.handlerKey)},updated(e,{value:t,oldValue:o}){t!==o&&(e.__qclosepopup.depth=n(t))},beforeUnmount(e){const t=e.__qclosepopup;e.removeEventListener("click",t.handler),e.removeEventListener("keyup",t.handlerKey),delete e.__qclosepopup}});export{h as C};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
import{d as o,u as t}from"./app-CPb3bToC.js";const l=o("model_kb_by_v3_light_edge",{state:()=>({mode:0,color:{r:255,g:0,b:0},mix_color:!0,speed:0,bright:0}),actions:{async fetch(){try{return await(await t().controller).fetch_light_edge(this)}catch{return!1}},async sync(){try{return await(await t().controller).sync_light_edge(this)}catch{return!1}}},persist:!0});export{l as m};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
import{a as m,l as r,Z as z,m as _}from"./chunk-DhYw-kuD.js";import{B as M}from"./app-CPb3bToC.js";const p={xs:18,sm:24,md:32,lg:38,xl:46},j={size:String};function k(e,n=p){return m(()=>e.size!==void 0?{fontSize:e.size in n?`${n[e.size]}px`:e.size}:null)}function F(e,n){return e!==void 0&&e()||n}function Z(e,n){if(e!==void 0){const a=e();if(a!=null)return a.slice()}return n}function c(e,n){return e!==void 0?n.concat(e()):n}function A(e,n){return e===void 0?n:n!==void 0?n.concat(e()):e()}function G(e,n,a,l,u,o){n.key=l+u;const i=r(e,n,a);return u===!0?z(i,o()):i}const h="0 0 24 24",b=e=>e,d=e=>`ionicons ${e}`,x={"mdi-":e=>`mdi ${e}`,"icon-":b,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":d,"ion-ios":d,"ion-logo":d,"iconfont ":b,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`},S={o_:"-outlined",r_:"-round",s_:"-sharp"},E={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},q=new RegExp("^("+Object.keys(x).join("|")+")"),D=new RegExp("^("+Object.keys(S).join("|")+")"),y=new RegExp("^("+Object.keys(E).join("|")+")"),I=/^[Mm]\s?[-+]?\.?\d/,O=/^img:/,Q=/^svguse:/,C=/^ion-/,U=/^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /,H=M({name:"QIcon",props:{...j,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:n}){const{proxy:{$q:a}}=_(),l=k(e),u=m(()=>"q-icon"+(e.left===!0?" on-left":"")+(e.right===!0?" on-right":"")+(e.color!==void 0?` text-${e.color}`:"")),o=m(()=>{let i,t=e.name;if(t==="none"||!t)return{none:!0};if(a.iconMapFn!==null){const s=a.iconMapFn(t);if(s!==void 0)if(s.icon!==void 0){if(t=s.icon,t==="none"||!t)return{none:!0}}else return{cls:s.cls,content:s.content!==void 0?s.content:" "}}if(I.test(t)===!0){const[s,v=h]=t.split("|");return{svg:!0,viewBox:v,nodes:s.split("&&").map(R=>{const[$,w,B]=R.split("@@");return r("path",{style:w,d:$,transform:B})})}}if(O.test(t)===!0)return{img:!0,src:t.substring(4)};if(Q.test(t)===!0){const[s,v=h]=t.split("|");return{svguse:!0,src:s.substring(7),viewBox:v}}let f=" ";const g=t.match(q);if(g!==null)i=x[g[1]](t);else if(U.test(t)===!0)i=t;else if(C.test(t)===!0)i=`ionicons ion-${a.platform.is.ios===!0?"ios":"md"}${t.substring(3)}`;else if(y.test(t)===!0){i="notranslate material-symbols";const s=t.match(y);s!==null&&(t=t.substring(6),i+=E[s[1]]),f=t}else{i="notranslate material-icons";const s=t.match(D);s!==null&&(t=t.substring(2),i+=S[s[1]]),f=t}return{cls:i,content:f}});return()=>{const i={class:u.value,style:l.value,"aria-hidden":"true",role:"presentation"};return o.value.none===!0?r(e.tag,i,F(n.default)):o.value.img===!0?r(e.tag,i,c(n.default,[r("img",{src:o.value.src})])):o.value.svg===!0?r(e.tag,i,c(n.default,[r("svg",{viewBox:o.value.viewBox||"0 0 24 24"},o.value.nodes)])):o.value.svguse===!0?r(e.tag,i,c(n.default,[r("svg",{viewBox:o.value.viewBox},[r("use",{"xlink:href":o.value.src})])])):(o.value.cls!==void 0&&(i.class+=" "+o.value.cls),r(e.tag,i,c(n.default,[o.value.content])))}}});export{H as Q,k as a,F as b,G as c,A as d,Z as e,p as f,c as h,j as u};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
import{u as d,a as g}from"./chunk-8e5kB75k.js";import{B as $}from"./app-CPb3bToC.js";import{m as h,a as e,l as f}from"./chunk-DhYw-kuD.js";const x={true:"inset",item:"item-inset","item-thumbnail":"item-thumbnail-inset"},i={xs:2,sm:4,md:8,lg:16,xl:24},k=$({name:"QSeparator",props:{...d,spaced:[Boolean,String],inset:[Boolean,String],vertical:Boolean,color:String,size:String},setup(t){const o=h(),c=g(t,o.proxy.$q),s=e(()=>t.vertical===!0?"vertical":"horizontal"),n=e(()=>` q-separator--${s.value}`),l=e(()=>t.inset!==!1?`${n.value}-${x[t.inset]}`:""),m=e(()=>`q-separator${n.value}${l.value}`+(t.color!==void 0?` bg-${t.color}`:"")+(c.value===!0?" q-separator--dark":"")),u=e(()=>{const a={};if(t.size!==void 0&&(a[t.vertical===!0?"width":"height"]=t.size),t.spaced!==!1){const v=t.spaced===!0?`${i.md}px`:t.spaced in i?`${i[t.spaced]}px`:t.spaced,r=t.vertical===!0?["Left","Right"]:["Top","Bottom"];a[`margin${r[0]}`]=a[`margin${r[1]}`]=v}return a});return()=>f("hr",{class:m.value,style:u.value,"aria-orientation":s.value})}});export{k as Q};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
import{Z as g,B as y,E as z,$ as f}from"./app-CPb3bToC.js";import{g as w,O as c,m as O,x as v,y as m,l as x}from"./chunk-DhYw-kuD.js";function E(){const r=w(!g.value);return r.value===!1&&c(()=>{r.value=!0}),{isHydrated:r}}const h=typeof ResizeObserver<"u",b=h===!0?{}:{style:"display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;",url:"about:blank"},R=y({name:"QResizeObserver",props:{debounce:{type:[String,Number],default:100}},emits:["resize"],setup(r,{emit:p}){let i=null,t,s={width:-1,height:-1};function u(e){e===!0||r.debounce===0||r.debounce==="0"?l():i===null&&(i=setTimeout(l,r.debounce))}function l(){if(i!==null&&(clearTimeout(i),i=null),t){const{offsetWidth:e,offsetHeight:n}=t;(e!==s.width||n!==s.height)&&(s={width:e,height:n},p("resize",s))}}const{proxy:a}=O();if(a.trigger=u,h===!0){let e;const n=d=>{t=a.$el.parentNode,t?(e=new ResizeObserver(u),e.observe(t),l()):d!==!0&&m(()=>{n(!0)})};return c(()=>{n()}),v(()=>{i!==null&&clearTimeout(i),e!==void 0&&(e.disconnect!==void 0?e.disconnect():t&&e.unobserve(t))}),z}else{let e=function(){i!==null&&(clearTimeout(i),i=null),o!==void 0&&(o.removeEventListener!==void 0&&o.removeEventListener("resize",u,f.passive),o=void 0)},n=function(){e(),t&&t.contentDocument&&(o=t.contentDocument.defaultView,o.addEventListener("resize",u,f.passive),l())};const{isHydrated:d}=E();let o;return c(()=>{m(()=>{t=a.$el,t&&n()})}),v(e),()=>{if(d.value===!0)return x("object",{class:"q--avoid-card-border",style:b.style,tabindex:-1,type:"text/html",data:b.url,"aria-hidden":"true",onLoad:n})}}}});export{R as Q};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
import{B as n}from"./app-CPb3bToC.js";import{u as d,a as i}from"./chunk-8e5kB75k.js";import{b as u}from"./chunk-CusLMHK2.js";import{m as c,a as t,l as m}from"./chunk-DhYw-kuD.js";const g=["ul","ol"],B=n({name:"QList",props:{...d,bordered:Boolean,dense:Boolean,separator:Boolean,padding:Boolean,tag:{type:String,default:"div"}},setup(e,{slots:a}){const r=c(),s=i(e,r.proxy.$q),o=t(()=>g.includes(e.tag)?null:"list"),l=t(()=>"q-list"+(e.bordered===!0?" q-list--bordered":"")+(e.dense===!0?" q-list--dense":"")+(e.separator===!0?" q-list--separator":"")+(s.value===!0?" q-list--dark":"")+(e.padding===!0?" q-list--padding":""));return()=>m(e.tag,{class:l.value,role:o.value},u(a.default))}});export{B as Q};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
import{d as e}from"./app-CPb3bToC.js";const _=e("data_kb_by_v3",{state:()=>({performance:[{key_type:0,distance:1e3,rt_enable:!1,rt_up:100,rt_down:100,rt_split:!1,safe_area_enable:!1,safe_area_up:100,safe_area_down:100},{key_type:0,distance:1e3,rt_enable:!1,rt_up:100,rt_down:100,rt_split:!1,safe_area_enable:!1,safe_area_up:100,safe_area_down:100}]}),persist:!0});export{_ as d};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
import{u as o}from"./chunk-DhYw-kuD.js";function a(t,r){const e=t.style;for(const n in r)e[n]=r[n]}function s(t){if(t==null)return;if(typeof t=="string")try{return document.querySelector(t)||void 0}catch{return}const r=o(t);if(r)return r.$el||r}function c(t,r){if(t==null||t.contains(r)===!0)return!0;for(let e=t.nextElementSibling;e!==null;e=e.nextElementSibling)if(e.contains(r))return!0;return!1}function f(t){if(Object(t.$parent)===t.$parent)return t.$parent;let{parent:r}=t.$;for(;Object(r)===r;){if(Object(r.proxy)===r.proxy)return r.proxy;r=r.parent}}function i(t,r){typeof r.type=="symbol"?Array.isArray(r.children)===!0&&r.children.forEach(e=>{i(t,e)}):t.add(r)}function l(t){const r=new Set;return t.forEach(e=>{i(r,e)}),Array.from(r)}function d(t){return t.appContext.config.globalProperties.$router!==void 0}function p(t){return t.isUnmounted===!0||t.isDeactivated===!0}export{f as a,s as b,c,a as d,p as e,l as g,d as v};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
import{d as r,u as e}from"./app-CPb3bToC.js";const n=r("model_kb_by_v3_feature",{state:()=>({auto_calibrate_enable:!1,key_combo_enable:!1,debounceMode:0,debounceUsTime:1}),actions:{async fetch_feature_auto_calibrate(){try{return await(await e().controller).fetch_feature_auto_calibrate(this)}catch{return!1}},async fetch_feature_debounce(){try{return await(await e().controller).fetch_feature_debounce(this)}catch{return!1}},async fetch_feature_mechanical_switch_debounce(){try{return await(await e().controller).fetch_feature_mechanical_switch_debounce(this)}catch{return!1}},async fetch_feature_mechanical_debounce_us_time(){try{return await(await e().controller).fetch_feature_mechanical_debounce_us_time(this)}catch{return!1}},async sync_feature_debounce(){try{return await(await e().controller).sync_feature_debounce(this)}catch{return!1}},async sync_feature_auto_calibrate(){try{return await(await e().controller).sync_feature_auto_calibrate(this)}catch{return!1}},async sync_feature_mechanical_switch_debounce(){try{return await(await e().controller).sync_feature_mechanical_switch_debounce(this)}catch{return!1}},async sync_feature_mechanical_debounce_us_time(){try{return await(await e().controller).sync_feature_mechanical_debounce_us_time(this)}catch{return!1}}},persist:!0});export{n as m};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
import{d as _,u as l,s as c,a as h,ad as m}from"./app-CPb3bToC.js";const p=_("model_ms_sle_basic",{state:()=>({version:1,password:16,work_mode:1,connect_status:1,battery:0,profile:17,max_report:4,sensor_info:1,max_dpi:519,macro_size:1}),actions:{load_profile(t){this.version=t.version,this.password=t.password,this.work_mode=t.work_mode,this.battery=t.battery,this.profile=t.profile,this.max_report=t.max_report,this.sensor_info=t.sensor_info,this.max_dpi=t.max_dpi,this.macro_size=t.macro_size},default(){return{version:1,password:16,work_mode:1,connect_status:1,battery:0,profile:17,max_report:4,sensor_info:1,max_dpi:519,macro_size:1}},async sync(){try{return(await l().controller).set_basic_info(this)}catch{return!1}},async fetch(){try{let e=await(await l().controller).get_basic_info();if(e===null)return!1;this.version=e[0];let s=0;return s+=e[2]*Math.pow(256,0),s+=e[3]*Math.pow(256,1),s+=e[4]*Math.pow(256,2),s+=e[5]*Math.pow(256,3),s+=e[6]*Math.pow(256,4),s+=e[7]*Math.pow(256,5),this.work_mode=e[8],this.connect_status=e[9],this.battery=e[10],this.profile=e[11],this.max_report=e[12],this.sensor_info=e[13],this.max_dpi=e[14]+e[15]*256,this.macro_size=e[16],!0}catch{return!1}},get_battery(){let t=!1;t=(this.battery&128)>>7===1;let a=0;return a=Math.round(this.battery&127),{charging:t,level:a}}},persist:!0}),u=_("model_kb_by_v2_basic",{state:()=>({battery_status:0,battery_level:12,light_params:[],light_mode:0,low_latency:!1,mac_mode:!1,polling_level:3,sleep_level:6,win_lock:!1}),actions:{load_profile(t){this.battery_status=t.battery_status,this.battery_level=t.battery_level,this.light_params=JSON.parse(JSON.stringify(t.light_params)),this.light_mode=t.light_mode,this.low_latency=t.low_latency,this.mac_mode=t.mac_mode,this.polling_level=t.polling_level,this.sleep_level=t.sleep_level,this.win_lock=t.win_lock},default(){return{battery_status:0,battery_level:12,light_params:c(),light_mode:0,low_latency:!1,mac_mode:!1,polling_level:3,sleep_level:6,win_lock:!1}},set_light_params(t,a,e,s){for(let r=0;r<this.light_params.length;r++)if(Number(this.light_params[r].light_mode)===Number(t)){s==="default"?(this.light_params[r].bright=a,this.light_params[r].speed=e*256+7,this.light_params[r].color={r:255,g:255,b:255}):(this.light_params[r].bright=a,this.light_params[r].speed=e*256+0,this.light_params[r].color={r:s.r,g:s.g,b:s.b});break}},get_current_light_params(){for(let t=0;t<this.light_params.length;t++)if(Number(this.light_params[t].light_mode)===Number(this.light_mode))return this.light_params[t];return{light_mode:277,bright:0,speed:0}},setup(){this.light_params.length===0&&(this.light_params=c())},async sync(){try{return await(await l().controller).set_basic_info(this)}catch{return!1}},async sync_light_color(){try{return await(await l().controller).set_light_color(this)}catch{return!1}},async fetch(){try{const e=await(await l().controller).get_basic_info();if(e===null)return!1;this.mac_mode=e[0]===1,this.polling_level=e[1],this.low_latency=e[3]===3;let s=0;s+=e[9]*256,s+=e[10],this.light_mode=s,this.win_lock=e[15]===1,this.sleep_level=e[24];let r=h(),i=m(r.current_device.product_name);for(let o=0;o<this.light_params.length;o++)this.light_params[o].bright=e[i+o*2+0],this.light_params[o].speed=e[i+o*2+1];return!0}catch{return!1}},async fetch_light_color(){try{const e=await(await l().controller).get_light_color();for(let s=0;s<this.light_params.length;s++)if(Number(this.light_params[s].offset_color)!==0){const r=Number(this.light_params[s].offset_color)-7;let i=e[r+0],o=e[r+1],n=e[r+2];this.light_params[s].color={r:i,g:o,b:n}}return!0}catch{return!1}},async fetch_battery(){try{const e=await(await l().controller).get_battery();return this.battery_level=e[0],this.battery_status=e[1],!0}catch{return!1}}},persist:!0}),d=_("model_ms_pix_basic",{state:()=>({version:1,password:16,work_mode:1,connect_status:1,battery:0,profile:17,max_report:4,sensor_info:1,max_dpi:519,macro_size:1}),actions:{load_profile(t){this.version=t.version,this.password=t.password,this.work_mode=t.work_mode,this.battery=t.battery,this.profile=t.profile,this.max_report=t.max_report,this.sensor_info=t.sensor_info,this.max_dpi=t.max_dpi,this.macro_size=t.macro_size},default(){return{version:1,password:16,work_mode:1,connect_status:1,battery:0,profile:17,max_report:4,sensor_info:1,max_dpi:519,macro_size:1}},async sync(){try{return(await l().controller).set_basic_info(this)}catch{return!1}},async fetch(){try{let e=await(await l().controller).get_basic_info();return e.length===0?!1:(this.battery=e[5],this.max_report=e[7],this.sensor_info=e[8],this.max_dpi=e[9]+e[10]*255,this.macro_size=e[11],!0)}catch{return!1}},get_battery(){return{charging:!1,level:this.battery}}},persist:!0});export{d as a,p as b,u as m};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
import{a as n,l as r}from"./chunk-DhYw-kuD.js";const o={name:String};function s(e){return n(()=>({type:"hidden",name:e.name,value:e.modelValue}))}function c(e={}){return(t,a,u)=>{t[a](r("input",{class:"hidden"+(u||""),...e.value}))}}function i(e){return n(()=>e.name||e.for)}export{c as a,i as b,s as c,o as u};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
import{Q as P}from"./chunk-CUANlmUG.js";import{a as x}from"./chunk-X_78B3t_.js";import{e as y,c as b}from"./chunk-CCQf9h9p.js";import{B as Q,X as C}from"./app-CPb3bToC.js";import{m as j,g as p,a as h,w as k,l as M}from"./chunk-DhYw-kuD.js";const q=Q({name:"QPopupProxy",props:{...y,breakpoint:{type:[String,Number],default:450}},emits:["show","hide"],setup(a,{slots:m,emit:c,attrs:f}){const{proxy:r}=j(),{$q:l}=r,n=p(!1),t=p(null),i=h(()=>parseInt(a.breakpoint,10)),{canShow:g}=b({showing:n});function u(){return l.screen.width<i.value||l.screen.height<i.value?"dialog":"menu"}const o=p(u()),v=h(()=>o.value==="menu"?{maxHeight:"99vh"}:{});k(()=>u(),e=>{n.value!==!0&&(o.value=e)});function d(e){n.value=!0,c("show",e)}function w(e){n.value=!1,o.value=u(),c("hide",e)}return Object.assign(r,{show(e){g(e)===!0&&t.value.show(e)},hide(e){t.value.hide(e)},toggle(e){t.value.toggle(e)}}),C(r,"currentComponent",()=>({type:o.value,ref:t.value})),()=>{const e={ref:t,...v.value,...f,onShow:d,onHide:w};let s;return o.value==="dialog"?s=P:(s=x,Object.assign(e,{target:a.target,contextMenu:a.contextMenu,noParentEvent:!0,separateClosePopup:!0})),M(s,e,m.default)}}});export{q as Q};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
import{B as f,I as E,C as L}from"./app-CPb3bToC.js";import{b as I,e as S}from"./chunk-CusLMHK2.js";import{a as n,l as o,m as K,g as d}from"./chunk-DhYw-kuD.js";import{u as Q,a as R}from"./chunk-8e5kB75k.js";import{u as w,a as $}from"./chunk-CoZXVP_c.js";const N=f({name:"QItemSection",props:{avatar:Boolean,thumbnail:Boolean,side:Boolean,top:Boolean,noWrap:Boolean},setup(e,{slots:i}){const s=n(()=>`q-item__section column q-item__section--${e.avatar===!0||e.side===!0||e.thumbnail===!0?"side":"main"}`+(e.top===!0?" q-item__section--top justify-start":" justify-center")+(e.avatar===!0?" q-item__section--avatar":"")+(e.thumbnail===!0?" q-item__section--thumbnail":"")+(e.noWrap===!0?" q-item__section--nowrap":""));return()=>o("div",{class:s.value},I(i.default))}}),O=f({name:"QItem",props:{...Q,...w,tag:{type:String,default:"div"},active:{type:Boolean,default:null},clickable:Boolean,dense:Boolean,insetLevel:Number,tabindex:[String,Number],focused:Boolean,manualFocus:Boolean},emits:["click","keyup"],setup(e,{slots:i,emit:s}){const{proxy:{$q:r}}=K(),b=R(e,r),{hasLink:c,linkAttrs:q,linkClass:k,linkTag:y,navigateOnClick:g}=$(),u=d(null),l=d(null),v=n(()=>e.clickable===!0||c.value===!0||e.tag==="label"),a=n(()=>e.disable!==!0&&v.value===!0),h=n(()=>"q-item q-item-type row no-wrap"+(e.dense===!0?" q-item--dense":"")+(b.value===!0?" q-item--dark":"")+(c.value===!0&&e.active===null?k.value:e.active===!0?` q-item--active${e.activeClass!==void 0?` ${e.activeClass}`:""}`:"")+(e.disable===!0?" disabled":"")+(a.value===!0?" q-item--clickable q-link cursor-pointer "+(e.manualFocus===!0?"q-manual-focusable":"q-focusable q-hoverable")+(e.focused===!0?" q-manual-focusable--focused":""):"")),_=n(()=>e.insetLevel===void 0?null:{["padding"+(r.lang.rtl===!0?"Right":"Left")]:16+e.insetLevel*56+"px"});function B(t){a.value===!0&&(l.value!==null&&(t.qKeyEvent!==!0&&document.activeElement===u.value?l.value.focus():document.activeElement===l.value&&u.value.focus()),g(t))}function C(t){if(a.value===!0&&E(t,[13,32])===!0){L(t),t.qKeyEvent=!0;const m=new MouseEvent("click",t);m.qKeyEvent=!0,u.value.dispatchEvent(m)}s("keyup",t)}function x(){const t=S(i.default,[]);return a.value===!0&&t.unshift(o("div",{class:"q-focus-helper",tabindex:-1,ref:l})),t}return()=>{const t={ref:u,class:h.value,style:_.value,role:"listitem",onClick:B,onKeyup:C};return a.value===!0?(t.tabindex=e.tabindex||"0",Object.assign(t,q.value)):v.value===!0&&(t["aria-disabled"]="true"),o(y.value,t,x())}}});export{O as Q,N as a};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
import{g as V,Q as q}from"./chunk-C2blguT0.js";import{B}from"./app-CPb3bToC.js";import{b as S,h as Q}from"./chunk-CusLMHK2.js";import{a as u,l as g}from"./chunk-DhYw-kuD.js";import{u as x,a as k}from"./chunk-GYMadCV3.js";const A=B({name:"QBtnGroup",props:{unelevated:Boolean,outline:Boolean,flat:Boolean,rounded:Boolean,square:Boolean,push:Boolean,stretch:Boolean,glossy:Boolean,spread:Boolean},setup(e,{slots:a}){const r=u(()=>{const d=["unelevated","outline","flat","rounded","square","push","stretch","glossy"].filter(s=>e[s]===!0).map(s=>`q-btn-group--${s}`).join(" ");return`q-btn-group row no-wrap${d.length!==0?" "+d:""}`+(e.spread===!0?" q-btn-group--spread":" inline")});return()=>g("div",{class:r.value},S(a.default))}}),F=B({name:"QBtnToggle",props:{...x,modelValue:{required:!0},options:{type:Array,required:!0,validator:e=>e.every(a=>("label"in a||"icon"in a||"slot"in a)&&"value"in a)},color:String,textColor:String,toggleColor:{type:String,default:"primary"},toggleTextColor:String,outline:Boolean,flat:Boolean,unelevated:Boolean,rounded:Boolean,push:Boolean,glossy:Boolean,size:String,padding:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,readonly:Boolean,disable:Boolean,stack:Boolean,stretch:Boolean,spread:Boolean,clearable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","clear","click"],setup(e,{slots:a,emit:r}){const d=u(()=>e.options.find(o=>o.value===e.modelValue)!==void 0),s=u(()=>({type:"hidden",name:e.name,value:e.modelValue})),f=k(s),m=u(()=>V(e)),v=u(()=>({rounded:e.rounded,dense:e.dense,...m.value})),p=u(()=>e.options.map((o,n)=>{const{attrs:c,value:i,slot:y,...t}=o;return{slot:y,props:{key:n,"aria-pressed":i===e.modelValue?"true":"false",...c,...t,...v.value,disable:e.disable===!0||t.disable===!0,color:i===e.modelValue?l(t,"toggleColor"):l(t,"color"),textColor:i===e.modelValue?l(t,"toggleTextColor"):l(t,"textColor"),noCaps:l(t,"noCaps")===!0,noWrap:l(t,"noWrap")===!0,size:l(t,"size"),padding:l(t,"padding"),ripple:l(t,"ripple"),stack:l(t,"stack")===!0,stretch:l(t,"stretch")===!0,onClick(C){h(i,o,C)}}}}));function h(o,n,c){e.readonly!==!0&&(e.modelValue===o?e.clearable===!0&&(r("update:modelValue",null,null),r("clear")):r("update:modelValue",o,n),r("click",c))}function l(o,n){return o[n]===void 0?e[n]:o[n]}function b(){const o=p.value.map(n=>g(q,n.props,n.slot!==void 0?a[n.slot]:void 0));return e.name!==void 0&&e.disable!==!0&&d.value===!0&&f(o,"push"),Q(a.default,o)}return()=>g(A,{class:"q-btn-toggle",...m.value,rounded:e.rounded,stretch:e.stretch,glossy:e.glossy,spread:e.spread},b)}});export{F as Q};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
import{B as a}from"./app-CPb3bToC.js";import{l as s}from"./chunk-DhYw-kuD.js";const t=a({name:"QSpace",setup(){const e=s("div",{class:"q-space"});return()=>e}});export{t as Q};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
import{u as B,a as Q,Q as R,h as j,b as z}from"./chunk-CusLMHK2.js";import{u as P,a as T}from"./chunk-8e5kB75k.js";import{o as V,u as $}from"./chunk-C6R67zTo.js";import{u as D,a as F}from"./chunk-GYMadCV3.js";import{B as M,C as m}from"./app-CPb3bToC.js";import{m as A,g as K,a as n,n as f,l as t}from"./chunk-DhYw-kuD.js";const L=()=>t("svg",{key:"svg",class:"q-radio__bg absolute non-selectable",viewBox:"0 0 24 24"},[t("path",{d:"M12,22a10,10 0 0 1 -10,-10a10,10 0 0 1 10,-10a10,10 0 0 1 10,10a10,10 0 0 1 -10,10m0,-22a12,12 0 0 0 -12,12a12,12 0 0 0 12,12a12,12 0 0 0 12,-12a12,12 0 0 0 -12,-12"}),t("path",{class:"q-radio__check",d:"M12,6a6,6 0 0 0 -6,6a6,6 0 0 0 6,6a6,6 0 0 0 6,-6a6,6 0 0 0 -6,-6"})]),U=M({name:"QRadio",props:{...P,...B,...D,modelValue:{required:!0},val:{required:!0},label:String,leftLabel:Boolean,checkedIcon:String,uncheckedIcon:String,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},emits:["update:modelValue"],setup(e,{slots:i,emit:b}){const{proxy:u}=A(),k=T(e,u.$q),h=Q(e,V),s=K(null),{refocusTargetEl:c,refocusTarget:g}=$(e,s),o=n(()=>f(e.modelValue)===f(e.val)),q=n(()=>"q-radio cursor-pointer no-outline row inline no-wrap items-center"+(e.disable===!0?" disabled":"")+(k.value===!0?" q-radio--dark":"")+(e.dense===!0?" q-radio--dense":"")+(e.leftLabel===!0?" reverse":"")),_=n(()=>{const a=e.color!==void 0&&(e.keepColor===!0||o.value===!0)?` text-${e.color}`:"";return`q-radio__inner relative-position q-radio__inner--${o.value===!0?"truthy":"falsy"}${a}`}),d=n(()=>(o.value===!0?e.checkedIcon:e.uncheckedIcon)||null),y=n(()=>e.disable===!0?-1:e.tabindex||0),S=n(()=>{const a={type:"radio"};return e.name!==void 0&&Object.assign(a,{".checked":o.value===!0,"^checked":o.value===!0?"checked":void 0,name:e.name,value:e.val}),a}),C=F(S);function l(a){a!==void 0&&(m(a),g(a)),e.disable!==!0&&o.value!==!0&&b("update:modelValue",e.val,a)}function x(a){(a.keyCode===13||a.keyCode===32)&&m(a)}function I(a){(a.keyCode===13||a.keyCode===32)&&l(a)}Object.assign(u,{set:l});const w=L();return()=>{const a=d.value!==null?[t("div",{key:"icon",class:"q-radio__icon-container absolute-full flex flex-center no-wrap"},[t(R,{class:"q-radio__icon",name:d.value})])]:[w];e.disable!==!0&&C(a,"unshift"," q-radio__native q-ma-none q-pa-none");const r=[t("div",{class:_.value,style:h.value,"aria-hidden":"true"},a)];c.value!==null&&r.push(c.value);const v=e.label!==void 0?j(i.default,[e.label]):z(i.default);return v!==void 0&&r.push(t("div",{class:"q-radio__label q-anchor--skip"},v)),t("div",{ref:s,class:q.value,tabindex:y.value,role:"radio","aria-label":e.label,"aria-checked":o.value===!0?"true":"false","aria-disabled":e.disable===!0?"true":void 0,onClick:l,onKeydown:x,onKeyup:I},r)}}});export{U as Q};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
import{e as n}from"./chunk-DfTn_VfD.js";import{m as r,z as u,x as s,y as a}from"./chunk-DhYw-kuD.js";function f(){let e;const o=r();function t(){e=void 0}return u(t),s(t),{removeTick:t,registerTick(i){e=i,a(()=>{e===i&&(n(o)===!1&&e(),e=void 0)})}}}function T(){let e=null;const o=r();function t(){e!==null&&(clearTimeout(e),e=null)}return u(t),s(t),{removeTimeout:t,registerTimeout(i,m){t(),n(o)===!1&&(e=setTimeout(()=>{e=null,i()},m))}}}export{T as a,f as u};
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
import{a as z,u as F}from"./chunk-8e5kB75k.js";import{a as T,h as D,b as R,u as E}from"./chunk-CusLMHK2.js";import{u as K,o as L}from"./chunk-C6R67zTo.js";import{u as N,a as M}from"./chunk-GYMadCV3.js";import{C as h}from"./app-CPb3bToC.js";import{m as G,g as H,a as l,l as d,n as u}from"./chunk-DhYw-kuD.js";const Z={...F,...E,...N,modelValue:{required:!0,default:null},val:{},trueValue:{default:!0},falseValue:{default:!1},indeterminateValue:{default:null},checkedIcon:String,uncheckedIcon:String,indeterminateIcon:String,toggleOrder:{type:String,validator:a=>a==="tf"||a==="ft"},toggleIndeterminate:Boolean,label:String,leftLabel:Boolean,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},ee=["update:modelValue"];function te(a,k){const{props:e,slots:f,emit:V,proxy:v}=G(),{$q:x}=v,C=z(e,x),m=H(null),{refocusTargetEl:g,refocusTarget:I}=K(e,m),S=T(e,L),n=l(()=>e.val!==void 0&&Array.isArray(e.modelValue)),i=l(()=>{const t=u(e.val);return n.value===!0?e.modelValue.findIndex(o=>u(o)===t):-1}),r=l(()=>n.value===!0?i.value!==-1:u(e.modelValue)===u(e.trueValue)),s=l(()=>n.value===!0?i.value===-1:u(e.modelValue)===u(e.falseValue)),b=l(()=>r.value===!1&&s.value===!1),q=l(()=>e.disable===!0?-1:e.tabindex||0),$=l(()=>`q-${a} cursor-pointer no-outline row inline no-wrap items-center`+(e.disable===!0?" disabled":"")+(C.value===!0?` q-${a}--dark`:"")+(e.dense===!0?` q-${a}--dense`:"")+(e.leftLabel===!0?" reverse":"")),y=l(()=>{const t=r.value===!0?"truthy":s.value===!0?"falsy":"indet",o=e.color!==void 0&&(e.keepColor===!0||(a==="toggle"?r.value===!0:s.value!==!0))?` text-${e.color}`:"";return`q-${a}__inner relative-position non-selectable q-${a}__inner--${t}${o}`}),_=l(()=>{const t={type:"checkbox"};return e.name!==void 0&&Object.assign(t,{".checked":r.value,"^checked":r.value===!0?"checked":void 0,name:e.name,value:n.value===!0?e.val:e.trueValue}),t}),O=M(_),w=l(()=>{const t={tabindex:q.value,role:a==="toggle"?"switch":"checkbox","aria-label":e.label,"aria-checked":b.value===!0?"mixed":r.value===!0?"true":"false"};return e.disable===!0&&(t["aria-disabled"]="true"),t});function c(t){t!==void 0&&(h(t),I(t)),e.disable!==!0&&V("update:modelValue",A(),t)}function A(){if(n.value===!0){if(r.value===!0){const t=e.modelValue.slice();return t.splice(i.value,1),t}return e.modelValue.concat([e.val])}if(r.value===!0){if(e.toggleOrder!=="ft"||e.toggleIndeterminate===!1)return e.falseValue}else if(s.value===!0){if(e.toggleOrder==="ft"||e.toggleIndeterminate===!1)return e.trueValue}else return e.toggleOrder!=="ft"?e.trueValue:e.falseValue;return e.indeterminateValue}function B(t){(t.keyCode===13||t.keyCode===32)&&h(t)}function P(t){(t.keyCode===13||t.keyCode===32)&&c(t)}const j=k(r,b);return Object.assign(v,{toggle:c}),()=>{const t=j();e.disable!==!0&&O(t,"unshift",` q-${a}__native absolute q-ma-none q-pa-none`);const o=[d("div",{class:y.value,style:S.value,"aria-hidden":"true"},t)];g.value!==null&&o.push(g.value);const p=e.label!==void 0?D(f.default,[e.label]):R(f.default);return p!==void 0&&o.push(d("div",{class:`q-${a}__label q-anchor--skip`},p)),d("div",{ref:m,class:$.value,...w.value,onClick:c,onKeydown:B,onKeyup:P},o)}}export{ee as a,te as b,Z as u};
|
||||||
@@ -0,0 +1,52 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en" id="root">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8"/>
|
||||||
|
<link rel="icon" href="./favicon.ico"/>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||||
|
<title>AULA</title>
|
||||||
|
<script type="module" crossorigin src="./app-CPb3bToC.js"></script>
|
||||||
|
<link rel="modulepreload" crossorigin href="./chunk-DhYw-kuD.js">
|
||||||
|
<link rel="modulepreload" crossorigin href="./chunk-D3Pjrapm.js">
|
||||||
|
<link rel="modulepreload" crossorigin href="./chunk-DbbZ0htz.js">
|
||||||
|
<link rel="stylesheet" crossorigin href="./app-D2Wsam_C.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<!--<div id="app-wrapper">-->
|
||||||
|
<div id="app"></div>
|
||||||
|
|
||||||
|
<!--</div>-->
|
||||||
|
</body>
|
||||||
|
<script>
|
||||||
|
function resize() {
|
||||||
|
// let size = window.innerWidth / 1920;
|
||||||
|
// let app_wrapper = document.getElementById("app-wrapper");
|
||||||
|
// app_wrapper.style.transform = "scale(" + size + ")";
|
||||||
|
}
|
||||||
|
|
||||||
|
window.addEventListener("resize", resize);
|
||||||
|
let res = resize;
|
||||||
|
res();
|
||||||
|
</script>
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
margin: auto 0 auto 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
min-height: 919px;
|
||||||
|
min-width: 1920px;
|
||||||
|
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
//background-image: url('./app-DIxIGayN.css');
|
||||||
|
//background-repeat: repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
#app-wrapper {
|
||||||
|
//left: 0;
|
||||||
|
//top: 0;
|
||||||
|
//position: absolute;
|
||||||
|
//transform-origin: 0 0;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -0,0 +1,52 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en" id="root">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8"/>
|
||||||
|
<link rel="icon" href="./favicon.ico"/>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||||
|
<title>AULA</title>
|
||||||
|
<script type="module" crossorigin src="./app-CPb3bToC.js"></script>
|
||||||
|
<link rel="modulepreload" crossorigin href="./chunk-DhYw-kuD.js">
|
||||||
|
<link rel="modulepreload" crossorigin href="./chunk-D3Pjrapm.js">
|
||||||
|
<link rel="modulepreload" crossorigin href="./chunk-DbbZ0htz.js">
|
||||||
|
<link rel="stylesheet" crossorigin href="./app-D2Wsam_C.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<!--<div id="app-wrapper">-->
|
||||||
|
<div id="app"></div>
|
||||||
|
|
||||||
|
<!--</div>-->
|
||||||
|
</body>
|
||||||
|
<script>
|
||||||
|
function resize() {
|
||||||
|
// let size = window.innerWidth / 1920;
|
||||||
|
// let app_wrapper = document.getElementById("app-wrapper");
|
||||||
|
// app_wrapper.style.transform = "scale(" + size + ")";
|
||||||
|
}
|
||||||
|
|
||||||
|
window.addEventListener("resize", resize);
|
||||||
|
let res = resize;
|
||||||
|
res();
|
||||||
|
</script>
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
margin: auto 0 auto 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
min-height: 919px;
|
||||||
|
min-width: 1920px;
|
||||||
|
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
//background-image: url('./app-DIxIGayN.css');
|
||||||
|
//background-repeat: repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
#app-wrapper {
|
||||||
|
//left: 0;
|
||||||
|
//top: 0;
|
||||||
|
//position: absolute;
|
||||||
|
//transform-origin: 0 0;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
After Width: | Height: | Size: 190 KiB |
|
After Width: | Height: | Size: 4.5 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 103 KiB |
|
After Width: | Height: | Size: 103 KiB |
|
After Width: | Height: | Size: 18 KiB |
@@ -0,0 +1,69 @@
|
|||||||
|
<svg width="241" height="240" viewBox="0 0 241 240" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path d="M197.811 133.82V150.18L196.261 153.29H195.051V133.82H197.811Z" fill="#ECECEC" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M196.261 153.289C196.261 153.289 198.241 153.309 200.041 153.619C201.841 153.929 201.721 155.029 200.911 156.219C200.101 157.409 195.071 165.219 195.071 165.219L195.051 153.279H196.261V153.289Z" fill="#ECECEC" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M201.45 155.06H195.07" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M90.6792 118.17L88.7892 121.95H86.6992V60.5098H90.6792V118.17Z" fill="#ECECEC" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M56.5898 123.86H59.3398V121.01C59.3398 118.21 61.8098 118.76 61.8098 118.76H84.3598V69.96H70.2598C70.2598 69.96 58.8598 71.48 58.1998 79.54C57.5398 87.6 56.5998 123.86 56.5998 123.86H56.5898Z" fill="#ECECEC" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M112.379 189.09V206.44L117.559 218.87H124.629L129.369 206.17V189.09H112.379Z" fill="#ECECEC" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M119.491 189.09V209.21H113.531" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M122.461 189.09V209.21H128.421" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M119.49 206.419C119.82 205.849 120.35 205.479 120.95 205.479C121.58 205.479 122.13 205.88 122.46 206.49" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M195.069 165.22V189.64H160.129V122.81H195.049L195.069 165.22Z" fill="#ECECEC" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M198.261 122.89V125.66H202.961V134.74H195.071V165.22H187.141V122.81L198.261 122.89Z" fill="white" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M161.86 189.63V113.82L115 141.5L78.5 113.82H47.4902V189.63H161.86Z" fill="white" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M155.24 60.5098H151.26V111.6H155.24V60.5098Z" fill="#ECECEC" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M151.449 68.0703H161.859L199.709 123.86H154.209L151.449 68.0703Z" fill="white" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M155.039 119H61.8086V168.96H155.039V119Z" fill="#ECECEC" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M87.6297 123.86H81.9297V98.54H89.5097V120.55L87.6297 123.86Z" fill="#ECECEC" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M89.5087 68.0899V74.2899L86.6987 76.5799V98.5399H81.9287V84.0299C81.9287 77.8399 76.1188 73.8399 70.4587 73.4399C64.7987 73.0399 60.4288 75.9599 59.9288 87.1299C59.5988 94.4699 57.5487 123.86 57.5487 123.86H42.7188V116.96C42.7188 114.39 49.5288 105.91 52.4888 97.7299C55.4488 89.5499 53.8488 88.3399 55.2888 80.6199C56.8188 72.3999 64.7088 68.5799 69.9288 68.2799C75.1488 67.9799 89.5087 68.0999 89.5087 68.0999V68.0899Z" fill="white" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M81.93 98.54H70.25V118.76H81.93V98.54Z" fill="#ECECEC" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M56.59 123.859V172.779H51.65L46.88 155.009L44.58 150.729L44.15 134.739H36.75V127.769C36.75 126.599 37.69 125.659 38.86 125.659H43.91L43.86 123.859H56.59Z" fill="#ECECEC" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M37.9004 132.19V129.74L40.8104 126.83H46.1004L52.1604 151.05H47.5704L42.7204 132.11L37.9004 132.19Z" fill="#ECECEC" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M47.8207 147.529H52.1707V172.779H47.5007V164.829C47.5007 164.829 42.7307 158.419 41.4207 156.399C40.1107 154.379 41.5207 153.349 43.4007 153.349C45.2807 153.349 47.6607 153.269 47.6607 153.269L47.8207 147.529Z" fill="#ECECEC" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M80.4302 183.75H47.4902V189.63H80.4302V183.75Z" fill="#ECECEC" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M60.75 183.75V189.64" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M153.249 74.3403L158.429 77.5603V123.86H154.209L151.449 118.76V68.0703H153.249V74.3403Z" fill="#ECECEC" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M153.25 74.3398V121.95" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M187.139 165.22H161.859" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M165.26 123.859V189.639" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M184.109 123.859V165.219" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M89.5098 98.5398V74.3398" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M163.15 69.96V117.62H195.48L163.15 69.96Z" fill="#ECECEC" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<g clip-path="url(#clip0_815_50265)">
|
||||||
|
<rect x="90.5" y="100" width="60" height="22" rx="2" fill="#B7B7B7" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M142.5 71H99.5V126H142.5V71Z" fill="#ECECEC" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M141.799 102.77L134.688 80.45H134.637V76.48H107.302V80.45H107.312L100.201 102.77H90.5V21H151.5V102.77H141.799Z" fill="white" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M143.342 21H97.0645V61.89H143.342V21Z" fill="#ECECEC" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M126.858 59.33V23.74L123.619 21H116.281L113.472 23.85V59.44L111.562 61.89H128.748L126.858 59.33Z" fill="#ECECEC" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M113.472 57.9898H98.1562V22.7598H114.592V57.9898" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M125.717 57.9898V22.7598H142.252V57.9898H126.856" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M100.606 21L98.1562 22.76" stroke="#4A4B50" stroke-width="0.5" stroke-miterlimit="10"/>
|
||||||
|
<path d="M142.252 22.76L139.902 21" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M111.562 61.7378L114.592 58.0996H125.719L127.233 59.9187L128.748 61.7378" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M98.1545 57.99L97.0645 61.89V21H100.604L98.1545 22.76V57.99Z" fill="#ECECEC" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M142.255 57.99L143.345 61.89V21H139.805L142.255 22.76V57.99Z" fill="#ECECEC" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M149.25 164.75H92.75V132.75L93.7189 124.25H148.281L149.25 132.75V164.75Z" fill="#ECECEC" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M92.5 131H149.15" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M149.871 156.804C149.871 156.804 151.651 157.001 151.491 158.433C151.491 160.363 141.673 160.597 123.638 161.599C105.603 162.601 95.2063 163.313 93.8167 163.669C92.487 163.931 91.9172 164.446 91.9172 164.446C91.9172 164.446 90.5176 164.54 90.5176 163.285C90.5176 161.683 94.9563 161.646 97.4756 161.365C100.535 161.028 119.38 159.801 123.179 159.595C126.977 159.389 147.942 158.274 149.591 157.759C150.641 157.347 149.871 156.795 149.871 156.795V156.804Z" fill="white" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M149.839 146.568C149.839 146.568 151.649 146.764 151.479 148.197C151.479 150.127 141.662 150.361 123.627 151.363C105.592 152.365 95.1946 153.077 93.8049 153.432C92.4753 153.695 91.9055 154.21 91.9055 154.21C91.9055 154.21 90.5059 154.303 90.5059 153.048C90.5059 151.447 94.9446 151.41 97.4639 151.129C100.523 150.791 119.368 149.565 123.167 149.359C126.966 149.153 147.93 148.038 149.579 147.523C150.629 147.111 149.839 146.558 149.839 146.558V146.568Z" fill="white" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M149.849 136.323C149.849 136.323 151.649 136.519 151.479 137.952C151.479 139.881 141.662 140.116 123.627 141.118C105.592 142.12 95.1946 142.831 93.8049 143.187C92.4753 143.45 91.9055 143.965 91.9055 143.965C91.9055 143.965 90.5059 144.058 90.5059 142.803C90.5059 141.202 94.9446 141.164 97.4639 140.883C100.523 140.546 119.368 139.32 123.167 139.113C126.966 138.907 147.93 137.793 149.579 137.278C150.629 136.866 149.849 136.313 149.849 136.313V136.323Z" fill="white" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M148.885 126.086C148.885 126.086 150.665 126.283 150.508 127.716C150.508 129.645 140.849 129.879 123.104 130.881C105.36 131.883 95.1307 132.595 93.7635 132.951C92.4553 133.213 91.8946 133.728 91.8946 133.728C91.8946 133.728 90.5176 133.822 90.5176 132.567C90.5176 130.966 94.8848 130.928 97.3635 130.647C100.373 130.31 118.914 129.083 122.652 128.877C126.39 128.671 147.016 127.557 148.639 127.042C149.672 126.63 148.885 126.077 148.885 126.077V126.086Z" fill="white" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M149.58 115.6C149.58 115.6 146.268 115.059 142.5 115V116.476C142.5 116.476 147.346 116.661 149.317 117.149C149.317 117.149 151.794 116.435 149.58 115.6Z" fill="#B7B7B7" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M149.579 115.756C149.579 115.756 151.649 115.953 151.489 117.386C151.489 119.315 141.672 119.549 123.637 120.551C105.602 121.553 95.2045 122.265 93.8148 122.621C92.6752 122.79 92.6552 123.473 92.6552 123.473C92.6552 123.473 90.4958 123.689 90.5158 122.237C90.5358 120.636 94.9545 120.598 97.4738 120.317C100.533 119.98 119.378 118.753 123.177 118.547C126.976 118.341 147.94 117.227 149.589 116.712C150.639 116.3 149.589 115.747 149.589 115.747L149.579 115.756Z" fill="white" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M91.9998 113.5C91.9998 113.5 95.4998 113.975 99.4998 113.975V112.494L92.4999 112C92.4999 112 92.4999 112 91.9999 112.5C91.6174 112.882 91.4999 113.5 91.9998 113.5Z" fill="#B7B7B7" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M149.58 105.7C149.58 105.7 146.268 105.028 142.5 104.94V106.748C142.5 106.748 147.346 107.025 149.317 107.757C149.317 107.757 152.214 107.253 150 106L149.58 105.7Z" fill="#B7B7B7" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M149.58 105.698C149.58 105.698 151.65 105.895 151.49 107.328C151.49 109.257 141.673 109.491 123.638 110.493C105.603 111.495 94.0158 112.235 92.9461 112.666C91.9263 113.134 92.6961 113.574 92.6961 113.574C92.6961 113.574 90.2768 113.715 90.5167 112.179C90.7567 110.643 94.9555 110.54 97.4748 110.259C100.534 109.922 119.379 108.695 123.178 108.489C126.977 108.283 147.941 107.169 149.59 106.654C150.64 106.241 149.59 105.689 149.59 105.689L149.58 105.698Z" fill="white" stroke="#4A4B50" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<g clip-path="url(#clip1_815_50265)">
|
||||||
|
<path d="M90.5 169H151.5L149.5 165H93L90.5 169Z" fill="#ECECEC"/>
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M151.934 169.248C151.846 169.404 151.68 169.5 151.5 169.5H90.5C90.3139 169.5 90.1431 169.397 90.0569 169.232C89.9707 169.067 89.9832 168.867 90.0895 168.715L92.8702 164.715C92.9636 164.58 93.117 164.5 93.2807 164.5H149.129C149.306 164.5 149.469 164.593 149.559 164.745L151.93 168.745C152.022 168.9 152.023 169.091 151.934 169.248ZM151.5 169L149.129 165H93.2807L90.5 169H151.5Z" fill="#4A4B50"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
<defs>
|
||||||
|
<clipPath id="clip0_815_50265">
|
||||||
|
<rect width="65" height="150" fill="white" transform="translate(88.5 20)"/>
|
||||||
|
</clipPath>
|
||||||
|
<clipPath id="clip1_815_50265">
|
||||||
|
<rect width="65" height="5" fill="white" transform="translate(88.5 165)"/>
|
||||||
|
</clipPath>
|
||||||
|
</defs>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 13 KiB |