mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-10-21 05:01:26 -07:00
initial commit
This commit is contained in:
commit
272d92169d
531 files changed
+196294
No files matched your search
Binary file not shown.
Binary file not shown.
Vendored
+49
@@ -0,0 +1,49 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head data-version="1.0.0">
|
||||
<meta charset="UTF-8" />
|
||||
<link
|
||||
rel="icon"
|
||||
type="image/svg+xml"
|
||||
href="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pjxzdmcgdmlld0JveD0iMCAwIDI0IDI0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxzdHlsZT4uY2xzLTF7ZmlsbDojOGQ2ZGU4O30uY2xzLTJ7ZmlsbDojYTc4ZWVmO30uY2xzLTN7ZmlsbDojNmMyZTdjO308L3N0eWxlPjwvZGVmcz48ZyBpZD0iSWNvbnMiPjxyZWN0IGNsYXNzPSJjbHMtMSIgaGVpZ2h0PSIyMiIgcng9IjMiIHdpZHRoPSIyMiIgeD0iMSIgeT0iMSIvPjxyZWN0IGNsYXNzPSJjbHMtMiIgaGVpZ2h0PSIxNyIgcng9IjMiIHdpZHRoPSIyMiIgeD0iMSIgeT0iMSIvPjwvZz48ZyBkYXRhLW5hbWU9IkxheWVyIDQiIGlkPSJMYXllcl80Ij48cGF0aCBjbGFzcz0iY2xzLTMiIGQ9Ik0yMCwwSDRBNCw0LDAsMCwwLDAsNFYyMGE0LDQsMCwwLDAsNCw0SDIwYTQsNCwwLDAsMCw0LTRWNEE0LDQsMCwwLDAsMjAsMFptMiwyMGEyLDIsMCwwLDEtMiwySDRhMiwyLDAsMCwxLTItMlY0QTIsMiwwLDAsMSw0LDJIMjBhMiwyLDAsMCwxLDIsMloiLz48cGF0aCBjbGFzcz0iY2xzLTMiIGQ9Ik01LDE1YTEsMSwwLDAsMCwwLDIsMiwyLDAsMCwxLDIsMiwxLDEsMCwwLDAsMiwwQTQsNCwwLDAsMCw1LDE1WiIvPjxwYXRoIGNsYXNzPSJjbHMtMyIgZD0iTTUsMTFhMSwxLDAsMCwwLDAsMiw2LjAwNiw2LjAwNiwwLDAsMSw2LDYsMSwxLDAsMCwwLDIsMEE4LjAwOSw4LjAwOSwwLDAsMCw1LDExWiIvPjxwYXRoIGNsYXNzPSJjbHMtMyIgZD0iTTUsN0ExLDEsMCwwLDAsNSw5LDEwLjAxMSwxMC4wMTEsMCwwLDEsMTUsMTlhMSwxLDAsMCwwLDIsMEExMi4wMTMsMTIuMDEzLDAsMCwwLDUsN1oiLz48L2c+PC9zdmc+"
|
||||
/>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Klee+One&family=Noto+Serif+JP&family=Shippori+Mincho&display=swap"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Texthooker UI</title>
|
||||
<script type="module" crossorigin>
|
||||
var Hc=Object.defineProperty;var Rc=(e,n,t)=>n in e?Hc(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t;var Gi=(e,n,t)=>(Rc(e,typeof n!="symbol"?n+"":n,t),t);(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function t(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerpolicy&&(o.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?o.credentials="include":i.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=t(i);fetch(i.href,o)}})();function Ne(){}const Vc=e=>e;function Fc(e,n){for(const t in n)e[t]=n[t];return e}function Tu(e){return e()}function Aa(){return Object.create(null)}function Rt(e){e.forEach(Tu)}function Hl(e){return typeof e=="function"}function wt(e,n){return e!=e?n==n:e!==n||e&&typeof e=="object"||typeof e=="function"}function Wc(e){return Object.keys(e).length===0}function Uc(e,...n){if(e==null)return Ne;const t=e.subscribe(...n);return t.unsubscribe?()=>t.unsubscribe():t}function _(e,n,t){e.$$.on_destroy.push(Uc(n,t))}function H(e,n,t){return e.set(t),n}function jc(e){return e&&Hl(e.destroy)?e.destroy:Ne}const Ou=typeof window<"u";let Bc=Ou?()=>window.performance.now():()=>Date.now(),xs=Ou?e=>requestAnimationFrame(e):Ne;const ui=new Set;function Iu(e){ui.forEach(n=>{n.c(e)||(ui.delete(n),n.f())}),ui.size!==0&&xs(Iu)}function zc(e){let n;return ui.size===0&&xs(Iu),{promise:new Promise(t=>{ui.add(n={c:e,f:t})}),abort(){ui.delete(n)}}}function c(e,n){e.appendChild(n)}function Mu(e){if(!e)return document;const n=e.getRootNode?e.getRootNode():e.ownerDocument;return n&&n.host?n:e.ownerDocument}function Yc(e){const n=g("style");return Gc(Mu(e),n),n.sheet}function Gc(e,n){return c(e.head||e,n),n.sheet}function V(e,n,t){e.insertBefore(n,t||null)}function R(e){e.parentNode&&e.parentNode.removeChild(e)}function g(e){return document.createElement(e)}function ps(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function ut(e){return document.createTextNode(e)}function w(){return ut(" ")}function bn(){return ut("")}function P(e,n,t,r){return e.addEventListener(n,t,r),()=>e.removeEventListener(n,t,r)}function f(e,n,t){t==null?e.removeAttribute(n):e.getAttribute(n)!==t&&e.setAttribute(n,t)}function Kc(e,n,t){const r=new Set;for(let i=0;i<e.length;i+=1)e[i].checked&&r.add(e[i].__value);return t||r.delete(n),Array.from(r)}function Cl(e){return e===""?null:+e}function qc(e){return Array.from(e.childNodes)}function Tt(e,n){n=""+n,e.wholeText!==n&&(e.data=n)}function Et(e,n){e.value=n??""}function mt(e,n,t,r){t===null?e.style.removeProperty(n):e.style.setProperty(n,t,r?"important":"")}function pi(e,n){for(let t=0;t<e.options.length;t+=1){const r=e.options[t];if(r.__value===n){r.selected=!0;return}}e.selectedIndex=-1}function Xc(e){const n=e.querySelector(":checked")||e.options[0];return n&&n.__value}function q(e,n,t){e.classList[t?"add":"remove"](n)}function $u(e,n,{bubbles:t=!1,cancelable:r=!1}={}){const i=document.createEvent("CustomEvent");return i.initCustomEvent(e,t,r,n),i}class Ps{constructor(n=!1){this.is_svg=!1,this.is_svg=n,this.e=this.n=null}c(n){this.h(n)}m(n,t,r=null){this.e||(this.is_svg?this.e=ps(t.nodeName):this.e=g(t.nodeName),this.t=t,this.c(n)),this.i(r)}h(n){this.e.innerHTML=n,this.n=Array.from(this.e.childNodes)}i(n){for(let t=0;t<this.n.length;t+=1)V(this.t,this.n[t],n)}p(n){this.d(),this.h(n),this.i(this.a)}d(){this.n.forEach(R)}}const Ll=new Map;let El=0;function Zc(e){let n=5381,t=e.length;for(;t--;)n=(n<<5)-n^e.charCodeAt(t);return n>>>0}function Jc(e,n){const t={stylesheet:Yc(n),rules:{}};return Ll.set(e,t),t}function Qc(e,n,t,r,i,o,s,l=0){const u=16.666/r;let a=`{
|
||||
`;for(let O=0;O<=1;O+=u){const A=n+(t-n)*o(O);a+=O*100+`%{${s(A,1-A)}}
|
||||
`}const h=a+`100% {${s(t,1-t)}}
|
||||
}`,p=`__svelte_${Zc(h)}_${l}`,d=Mu(e),{stylesheet:b,rules:k}=Ll.get(d)||Jc(d,e);k[p]||(k[p]=!0,b.insertRule(`@keyframes ${p} ${h}`,b.cssRules.length));const S=e.style.animation||"";return e.style.animation=`${S?`${S}, `:""}${p} ${r}ms linear ${i}ms 1 both`,El+=1,p}function Da(e,n){const t=(e.style.animation||"").split(", "),r=t.filter(n?o=>o.indexOf(n)<0:o=>o.indexOf("__svelte")===-1),i=t.length-r.length;i&&(e.style.animation=r.join(", "),El-=i,El||ef())}function ef(){xs(()=>{El||(Ll.forEach(e=>{const{ownerNode:n}=e.stylesheet;n&&R(n)}),Ll.clear())})}let lo;function Qi(e){lo=e}function As(){if(!lo)throw new Error("Function called outside component initialization");return lo}function Rl(e){As().$$.on_mount.push(e)}function Nu(e){As().$$.on_destroy.push(e)}function Rr(){const e=As();return(n,t,{cancelable:r=!1}={})=>{const i=e.$$.callbacks[n];if(i){const o=$u(n,t,{cancelable:r});return i.slice().forEach(s=>{s.call(e,o)}),!o.defaultPrevented}return!0}}function so(e,n){const t=e.$$.callbacks[n.type];t&&t.slice().forEach(r=>r.call(this,n))}const qi=[],ct=[],ml=[],ds=[],Hu=Promise.resolve();let ms=!1;function Ru(){ms||(ms=!0,Hu.then(Vu))}function ao(){return Ru(),Hu}function Tr(e){ml.push(e)}function Jl(e){ds.push(e)}const Ql=new Set;let al=0;function Vu(){const e=lo;do{for(;al<qi.length;){const n=qi[al];al++,Qi(n),tf(n.$$)}for(Qi(null),qi.length=0,al=0;ct.length;)ct.pop()();for(let n=0;n<ml.length;n+=1){const t=ml[n];Ql.has(t)||(Ql.add(t),t())}ml.length=0}while(qi.length);for(;ds.length;)ds.pop()();ms=!1,Ql.clear(),Qi(e)}function tf(e){if(e.fragment!==null){e.update(),Rt(e.before_update);const n=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,n),e.after_update.forEach(Tr)}}let Ki;function nf(){return Ki||(Ki=Promise.resolve(),Ki.then(()=>{Ki=null})),Ki}function Ta(e,n,t){e.dispatchEvent($u(`${n?"intro":"outro"}${t}`))}const gl=new Set;let Cr;function et(){Cr={r:0,c:[],p:Cr}}function tt(){Cr.r||Rt(Cr.c),Cr=Cr.p}function N(e,n){e&&e.i&&(gl.delete(e),e.i(n))}function F(e,n,t,r){if(e&&e.o){if(gl.has(e))return;gl.add(e),Cr.c.push(()=>{gl.delete(e),r&&(t&&e.d(1),r())}),e.o(n)}else r&&r()}const rf={duration:0};function Fu(e,n,t){const r={direction:"in"};let i=n(e,t,r),o=!1,s,l,u=0;function a(){s&&Da(e,s)}function h(){const{delay:d=0,duration:b=300,easing:k=Vc,tick:S=Ne,css:O}=i||rf;O&&(s=Qc(e,0,1,b,d,k,O,u++)),S(0,1);const A=Bc()+d,D=A+b;l&&l.abort(),o=!0,Tr(()=>Ta(e,!0,"start")),l=zc(x=>{if(o){if(x>=D)return S(1,0),Ta(e,!0,"end"),a(),o=!1;if(x>=A){const j=k((x-A)/b);S(j,1-j)}}return o})}let p=!1;return{start(){p||(p=!0,Da(e),Hl(i)?(i=i(r),nf().then(h)):h())},invalidate(){p=!1},end(){o&&(a(),o=!1)}}}const Ds=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function Vl(e,n){e.d(1),n.delete(e.key)}function Ts(e,n){F(e,1,1,()=>{n.delete(e.key)})}function Vr(e,n,t,r,i,o,s,l,u,a,h,p){let d=e.length,b=o.length,k=d;const S={};for(;k--;)S[e[k].key]=k;const O=[],A=new Map,D=new Map;for(k=b;k--;){const Z=p(i,o,k),I=t(Z);let U=s.get(I);U?r&&U.p(Z,n):(U=a(I,Z),U.c()),A.set(I,O[k]=U),I in S&&D.set(I,Math.abs(k-S[I]))}const x=new Set,j=new Set;function W(Z){N(Z,1),Z.m(l,h),s.set(Z.key,Z),h=Z.first,b--}for(;d&&b;){const Z=O[b-1],I=e[d-1],U=Z.key,E=I.key;Z===I?(h=Z.first,d--,b--):A.has(E)?!s.has(U)||x.has(U)?W(Z):j.has(E)?d--:D.get(U)>D.get(E)?(j.add(U),W(Z)):(x.add(E),d--):(u(I,s),d--)}for(;d--;){const Z=e[d];A.has(Z.key)||u(Z,s)}for(;b;)W(O[b-1]);return O}function of(e,n){const t={},r={},i={$$scope:1};let o=e.length;for(;o--;){const s=e[o],l=n[o];if(l){for(const u in s)u in l||(r[u]=1);for(const u in l)i[u]||(t[u]=l[u],i[u]=1);e[o]=l}else for(const u in s)i[u]=1}for(const s in r)s in t||(t[s]=void 0);return t}function lf(e){return typeof e=="object"&&e!==null?e:{}}function es(e,n,t,r){const i=e.$$.props[n];i!==void 0&&(e.$$.bound[i]=t,r===void 0&&t(e.$$.ctx[i]))}function se(e){e&&e.c()}function ie(e,n,t,r){const{fragment:i,after_update:o}=e.$$;i&&i.m(n,t),r||Tr(()=>{const s=e.$$.on_mount.map(Tu).filter(Hl);e.$$.on_destroy?e.$$.on_destroy.push(...s):Rt(s),e.$$.on_mount=[]}),o.forEach(Tr)}function oe(e,n){const t=e.$$;t.fragment!==null&&(Rt(t.on_destroy),t.fragment&&t.fragment.d(n),t.on_destroy=t.fragment=null,t.ctx=[])}function sf(e,n){e.$$.dirty[0]===-1&&(qi.push(e),Ru(),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31}function Vt(e,n,t,r,i,o,s,l=[-1]){const u=lo;Qi(e);const a=e.$$={fragment:null,ctx:[],props:o,update:Ne,not_equal:i,bound:Aa(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(n.context||(u?u.$$.context:[])),callbacks:Aa(),dirty:l,skip_bound:!1,root:n.target||u.$$.root};s&&s(a.root);let h=!1;if(a.ctx=t?t(e,n.props||{},(p,d,...b)=>{const k=b.length?b[0]:d;return a.ctx&&i(a.ctx[p],a.ctx[p]=k)&&(!a.skip_bound&&a.bound[p]&&a.bound[p](k),h&&sf(e,p)),d}):[],a.update(),h=!0,Rt(a.before_update),a.fragment=r?r(a.ctx):!1,n.target){if(n.hydrate){const p=qc(n.target);a.fragment&&a.fragment.l(p),p.forEach(R)}else a.fragment&&a.fragment.c();n.intro&&N(e.$$.fragment),ie(Line truncated
|
||||
`+t.map(function(r,i){return i+1+") "+r.toString()}).join(`
|
||||
`):"",this.name="UnsubscriptionError",this.errors=t}});function xl(e,n){if(e){var t=e.indexOf(n);0<=t&&e.splice(t,1)}}var bo=function(){function e(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var n,t,r,i,o;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var l=di(s),u=l.next();!u.done;u=l.next()){var a=u.value;a.remove(this)}}catch(S){n={error:S}}finally{try{u&&!u.done&&(t=l.return)&&t.call(l)}finally{if(n)throw n.error}}else s.remove(this);var h=this.initialTeardown;if(He(h))try{h()}catch(S){o=S instanceof ts?S.errors:[S]}var p=this._finalizers;if(p){this._finalizers=null;try{for(var d=di(p),b=d.next();!b.done;b=d.next()){var k=b.value;try{Ma(k)}catch(S){o=o??[],S instanceof ts?o=Or(Or([],nr(o)),nr(S.errors)):o.push(S)}}}catch(S){r={error:S}}finally{try{b&&!b.done&&(i=d.return)&&i.call(d)}finally{if(r)throw r.error}}}if(o)throw new ts(o)}},e.prototype.add=function(n){var t;if(n&&n!==this)if(this.closed)Ma(n);else{if(n instanceof e){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(n)}},e.prototype._hasParent=function(n){var t=this._parentage;return t===n||Array.isArray(t)&&t.includes(n)},e.prototype._addParent=function(n){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n},e.prototype._removeParent=function(n){var t=this._parentage;t===n?this._parentage=null:Array.isArray(t)&&xl(t,n)},e.prototype.remove=function(n){var t=this._finalizers;t&&xl(t,n),n instanceof e&&n._removeParent(this)},e.EMPTY=function(){var n=new e;return n.closed=!0,n}(),e}(),Gu=bo.EMPTY;function Ku(e){return e instanceof bo||e&&"closed"in e&&He(e.remove)&&He(e.add)&&He(e.unsubscribe)}function Ma(e){He(e)?e():e.unsubscribe()}var Os={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},vs={setTimeout:function(e,n){for(var t=[],r=2;r<arguments.length;r++)t[r-2]=arguments[r];var i=vs.delegate;return i!=null&&i.setTimeout?i.setTimeout.apply(i,Or([e,n],nr(t))):setTimeout.apply(void 0,Or([e,n],nr(t)))},clearTimeout:function(e){var n=vs.delegate;return((n==null?void 0:n.clearTimeout)||clearTimeout)(e)},delegate:void 0};function qu(e){vs.setTimeout(function(){throw e})}function _s(){}var ul=null;function bl(e){if(Os.useDeprecatedSynchronousErrorHandling){var n=!ul;if(n&&(ul={errorThrown:!1,error:null}),e(),n){var t=ul,r=t.errorThrown,i=t.error;if(ul=null,r)throw i}}else e()}var Is=function(e){On(n,e);function n(t){var r=e.call(this)||this;return r.isStopped=!1,t?(r.destination=t,Ku(t)&&t.add(r)):r.destination=Mf,r}return n.create=function(t,r,i){return new ws(t,r,i)},n.prototype.next=function(t){this.isStopped||this._next(t)},n.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},n.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},n.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},n.prototype._next=function(t){this.destination.next(t)},n.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},n.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},n}(bo),Tf=Function.prototype.bind;function ns(e,n){return Tf.call(e,n)}var Of=function(){function e(n){this.partialObserver=n}return e.prototype.next=function(n){var t=this.partialObserver;if(t.next)try{t.next(n)}catch(r){cl(r)}},e.prototype.error=function(n){var t=this.partialObserver;if(t.error)try{t.error(n)}catch(r){cl(r)}else cl(n)},e.prototype.complete=function(){var n=this.partialObserver;if(n.complete)try{n.complete()}catch(t){cl(t)}},e}(),ws=function(e){On(n,e);function n(t,r,i){var o=e.call(this)||this,s;if(He(t)||!t)s={next:t??void 0,error:r??void 0,complete:i??void 0};else{var l;o&&Os.useDeprecatedNextContext?(l=Object.create(t),l.unsubscribe=function(){return o.unsubscribe()},s={next:t.next&&ns(t.next,l),error:t.error&&ns(t.error,l),complete:t.complete&&ns(t.complete,l)}):s=t}return o.destination=new Of(s),o}return n}(Is);function cl(e){qu(e)}function If(e){throw e}var Mf={closed:!0,next:_s,error:If,complete:_s},Ms=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function vo(e){return e}function $f(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return Xu(e)}function Xu(e){return e.length===0?vo:e.length===1?e[0]:function(t){return e.reduce(function(r,i){return i(r)},t)}}var xt=function(){function e(n){n&&(this._subscribe=n)}return e.prototype.lift=function(n){var t=new e;return t.source=this,t.operator=n,t},e.prototype.subscribe=function(n,t,r){var i=this,o=Hf(n)?n:new ws(n,t,r);return bl(function(){var s=i,l=s.operator,u=s.source;o.add(l?l.call(o,u):u?i._subscribe(o):i._trySubscribe(o))}),o},e.prototype._trySubscribe=Line truncated
|
||||
transform: ${a} translate(${(1-p)*i}px, ${(1-p)*o}px);
|
||||
opacity: ${u-h*d}`}}var Jt=(e=>(e.LIGHT="light",e.DARK="dark",e.CUPCAKE="cupcake",e.BUMBLEBEE="bumblebee",e.EMERALD="emerald",e.CORPORATE="corporate",e.SYNTHWAVE="synthwave",e.RETRO="retro",e.CYBERPUNK="cyberpunk",e.VALENTINE="valentine",e.HALLOWEEN="halloween",e.GARDEN="garden",e.FOREST="forest",e.AQUA="aqua",e.LOFI="lofi",e.PASTEL="pastel",e.FANTASY="fantasy",e.WIREFRAME="wireframe",e.BLACK="black",e.LUXURY="luxury",e.DRACULA="dracula",e.CMYK="cmyk",e.AUTUMN="autumn",e.BUSINESS="business",e.ACID="acid",e.LEMONADE="lemonade",e.NIGHT="night",e.COFFEE="coffee",e.WINTER="winter",e))(Jt||{}),Qt=(e=>(e.OFF="Off",e.NOTO="Noto Serif JP",e.KLEE="Klee One",e.SHIPPORI="Shippori Mincho",e.ACKAISYO="Ackaisyo",e.CINECAPTION226="CineCaption226",e))(Qt||{}),fi=(e=>(e.SOCKET="socket",e.PASTE="paste",e.EXTERNAL="external",e.EDIT="edit",e.UNDO="undo",e))(fi||{});const ii=[];function zl(e,n=Ne){let t;const r=new Set;function i(l){if(wt(e,l)&&(e=l,t)){const u=!ii.length;for(const a of r)a[1](),ii.push(a,e);if(u){for(let a=0;a<ii.length;a+=2)ii[a][0](ii[a+1]);ii.length=0}}}function o(l){i(l(e))}function s(l,u=Ne){const a=[l,u];return r.add(a),r.size===1&&(t=n(i)||Ne),l(e),()=>{r.delete(a),r.size===0&&(t(),t=null)}}return{set:i,update:o,subscribe:s}}function Nh(e){return e.set=e.next,e}function zi(e){return Nh(new Wf(e))}function Yl(e,n){return(t,r,i)=>{const o=Hh()(t,r,e),s=zi(o);let l=!0;return i&&i.subscribe(u=>l=u),s.pipe(Dh(1)).subscribe(u=>{l&&window.localStorage.setItem(t,n(u??r))}),s}}function Hh(){return(e,n,t)=>{const r=window.localStorage.getItem(e);return r?t(r):n}}function Le(){return Yl(e=>!!+e,e=>e?"1":"0")}function Mn(){return Yl(e=>+e,e=>`${e}`)}function Rh(e){return Yl(n=>JSON.parse(n||e),n=>JSON.stringify(n))}function Gl(){return Rh("[]")}function or(){return Yl(e=>e,e=>e)}const L={theme$:Jt.BUSINESS,replacements$:[],windowTitle$:"SubMiner Texthooker",websocketUrl$:"ws://localhost:6677",secondaryWebsocketUrl$:"",fontSize$:24,characterMilestone$:0,onlineFont$:Qt.OFF,preventLastDuplicate$:0,maxLines$:0,maxPipLines$:1,afkTimer$:0,adjustTimerOnAfk$:!1,enableExternalClipboardMonitor$:!1,showPresetQuickSwitch$:!1,skipResetConfirmations$:!1,persistStats$:!0,persistNotes$:!0,persistLines$:!0,persistActionHistory$:!1,enablePaste$:!1,blockCopyOnPage$:!1,allowPasteDuringPause$:!1,allowNewLineDuringPause$:!1,autoStartTimerDuringPausePaste$:!1,autoStartTimerDuringPause$:!1,preventGlobalDuplicate$:!1,mergeEqualLineStarts$:!1,filterNonCJKLines:!1,flashOnMissedLine$:!0,displayVertical$:!1,reverseLineOrder$:!1,preserveWhitespace$:!1,removeAllWhitespace$:!0,showTimer$:!0,showSpeed$:!0,showCharacterCount$:!0,showLineCount$:!0,blurStats$:!1,enableLineAnimation$:!0,enableAfkBlur$:!1,enableAfkBlurRestart$:!1,continuousReconnect$:!0,showConnectionErrors$:!0,showConnectionIcon$:!0,customCSS$:""},Er=or()("bannou-texthooker-theme",L.theme$),hn=Gl()("bannou-texthooker-settingPresets",[]),en=Gl()("bannou-texthooker-replacements",[]),fo=or()("bannou-texthooker-windowTitle",L.windowTitle$),rr=or()("bannou-texthooker-websocketUrl",L.websocketUrl$),Dn=or()("bannou-texthooker-secondary-websocketUrl",L.secondaryWebsocketUrl$),xr=Mn()("bannou-texthooker-fontSize",L.fontSize$),Pr=Mn()("bannou-texthooker-characterMilestone",L.characterMilestone$),mi=or()("bannou-texthooker-onlineFont",L.onlineFont$),Ar=Mn()("bannou-texthooker-preventLastDuplicate",L.preventLastDuplicate$),Lr=Mn()("bannou-texthooker-maxLines",L.maxLines$),Dr=Mn()("bannou-texthooker-maxPipLines",L.maxPipLines$),tr=Mn()("bannou-texthooker-afkTimer",L.afkTimer$),gi=Le()("bannou-texthooker-adjustTimerOnAfk",L.adjustTimerOnAfk$),ho=Le()("bannou-texthooker-enableExternalClipboardMonitor",L.enableExternalClipboardMonitor$),po=Le()("bannou-texthooker-showPresetQuickSwitch",L.showPresetQuickSwitch$),bi=Le()("bannou-texthooker-skipResetConfirmations",L.skipResetConfirmations$),vi=Le()("bannou-texthooker-persistStats",L.persistStats$),_i=Le()("bannou-texthooker-persistNotes",L.persistNotes$),wi=Le()("bannou-texthooker-persistLines",L.persistLines$),yi=Le()("bannou-texthooker-persistActionHistory",L.persistActionHistory$),ki=Le()("bannou-texthooker-enablePaste",L.enablePaste$),Si=Le()("bannou-texthooker-blockCopyOnPage",L.blockCopyOnPage$),Ci=Le()("bannou-texthooker-allowPasteDuringPause",L.allowPasteDuringPause$),Li=Le()("bannou-texthooker-allowNewLineDuringPause",L.allowNewLineDuringPause$),Ei=Le()("bannou-texthooker-autoStartTimerDuringPausePaste",L.autoStartTimerDuringPausePaste$),xi=Le()("bannou-texthooker-autoStartTimerDuringPause",L.autoStartTimerDuringPause$),Ir=Le()("bannou-texthooker-preventGlobalDuplicate",L.preventGlobalDuplicate$),Pi=Le()("bannou-texthooker-mergeEqualLineStarts",L.mergeEqualLineStarts$),Ai=Le()("bannou-texthooker-filterNonCJKLines",L.mergeEqualLineStarts$),Di=Le()("bannou-texthooker-flashOnMissedLine",L.flashOnMissedLine$),Mr=Le()("bannou-texthooker-displayVertical",L.displayVertical$),$r=Le()("bannou-texthooker-reverseLineOrder",L.reverseLineOrder$),Ti=Le()Line truncated
|
||||
`))}return t}function bc(e,n){const t=e.createTextNode(n||"");let r=e.getElementById("user-css");r?r.replaceChild(t,r.firstChild):(r=e.createElement("style"),r.id="user-css",r.appendChild(t),e.head.append(r))}function ja(e,n){n?(e.body.style.filter="blur(8px)",e.body.style.pointerEvents="none"):(e.body.style.filter=null,e.body.style.pointerEvents="auto")}const Ws=`
|
||||
`;function jh(e){let n,t,r,i;return{c(){n=ps("svg"),t=ps("path"),f(t,"d",e[1]),mt(n,"width",e[2]),mt(n,"height",e[3]),f(n,"viewBox","0 0 24 24"),f(n,"fill","currentColor"),f(n,"class",e[4])},m(o,s){V(o,n,s),c(n,t),e[7](n),r||(i=[P(n,"click",e[5]),P(n,"keyup",e[6])],r=!0)},p(o,[s]){s&2&&f(t,"d",o[1]),s&4&&mt(n,"width",o[2]),s&8&&mt(n,"height",o[3]),s&16&&f(n,"class",o[4])},i:Ne,o:Ne,d(o){o&&R(n),e[7](null),r=!1,Rt(i)}}}function Bh(e,n,t){let{path:r}=n,{width:i="1.5rem"}=n,{height:o="1.5rem"}=n,{element:s=void 0}=n,{class:l=""}=n;function u(p){so.call(this,e,p)}function a(p){so.call(this,e,p)}function h(p){ct[p?"unshift":"push"](()=>{s=p,t(0,s)})}return e.$$set=p=>{"path"in p&&t(1,r=p.path),"width"in p&&t(2,i=p.width),"height"in p&&t(3,o=p.height),"element"in p&&t(0,s=p.element),"class"in p&&t(4,l=p.class)},[s,r,i,o,l,u,a,h]}class _e extends Ft{constructor(n){super(),Vt(this,n,Bh,jh,wt,{path:1,width:2,height:3,element:0,class:4})}}function Ba(e){let n,t;return n=new _e({props:{path:e[1]}}),{c(){se(n.$$.fragment)},m(r,i){ie(n,r,i),t=!0},p(r,i){const o={};i&2&&(o.path=r[1]),n.$set(o)},i(r){t||(N(n.$$.fragment,r),t=!0)},o(r){F(n.$$.fragment,r),t=!1},d(r){oe(n,r)}}}function zh(e){let n;return{c(){n=ut(e[2])},m(t,r){V(t,n,r)},p(t,r){r&4&&Tt(n,t[2])},d(t){t&&R(n)}}}function Yh(e){let n,t=e[5]==="text"&&za(e);return{c(){n=g("div"),t&&t.c()},m(r,i){V(r,n,i),t&&t.m(n,null)},p(r,i){r[5]==="text"?t?t.p(r,i):(t=za(r),t.c(),t.m(n,null)):t&&(t.d(1),t=null)},d(r){r&&R(n),t&&t.d()}}}function za(e){let n,t,r;return{c(){n=g("input"),f(n,"type",e[5]),f(n,"class","input input-bordered h-8 ml-2"),n.value=e[0]},m(i,o){V(i,n,o),t||(r=P(n,"change",e[8]),t=!0)},p(i,o){o&32&&f(n,"type",i[5]),o&1&&n.value!==i[0]&&(n.value=i[0])},d(i){i&&R(n),t=!1,r()}}}function Ya(e){let n,t,r;return{c(){n=g("button"),n.textContent="Cancel",f(n,"class","btn btn-sm btn-ghost")},m(i,o){V(i,n,o),t||(r=P(n,"click",e[9]),t=!0)},p:Ne,d(i){i&&R(n),t=!1,r()}}}function Gh(e){let n,t,r,i,o,s,l,u,a,h,p,d,b=e[1]&&Ba(e);function k(D,x){return D[5]?Yh:zh}let S=k(e),O=S(e),A=e[4]&&Ya(e);return{c(){n=g("div"),t=g("div"),r=g("div"),b&&b.c(),i=w(),o=g("span"),O.c(),s=w(),l=g("div"),A&&A.c(),u=w(),a=g("button"),a.textContent="Confirm",f(a,"class","btn btn-sm btn-primary"),f(l,"class","flex-none"),f(t,"class","alert shadow-lg max-w-xl"),q(t,"alert-info",e[3]==="info"),q(t,"alert-error",e[3]==="error"),f(n,"class","fixed top-12 flex justify-center w-full z-30")},m(D,x){V(D,n,x),c(n,t),c(t,r),b&&b.m(r,null),c(r,i),c(r,o),O.m(o,null),c(t,s),c(t,l),A&&A.m(l,null),c(l,u),c(l,a),h=!0,p||(d=P(a,"click",e[10]),p=!0)},p(D,[x]){D[1]?b?(b.p(D,x),x&2&&N(b,1)):(b=Ba(D),b.c(),N(b,1),b.m(r,i)):b&&(et(),F(b,1,1,()=>{b=null}),tt()),S===(S=k(D))&&O?O.p(D,x):(O.d(1),O=S(D),O&&(O.c(),O.m(o,null))),D[4]?A?A.p(D,x):(A=Ya(D),A.c(),A.m(l,u)):A&&(A.d(1),A=null),(!h||x&8)&&q(t,"alert-info",D[3]==="info"),(!h||x&8)&&q(t,"alert-error",D[3]==="error")},i(D){h||(N(b),h=!0)},o(D){F(b),h=!1},d(D){D&&R(n),b&&b.d(),O.d(),A&&A.d(),p=!1,d()}}}function Kh(e,n,t){let{icon:r}=n,{message:i}=n,{type:o="info"}=n,{showCancel:s=!0}=n,{askForData:l=""}=n,{dataValue:u}=n,{callback:a}=n;const h=Rr();function p(k){const S=k.target;t(0,u=S.value)}const d=()=>{a==null||a({canceled:!0,data:u}),h("close")},b=()=>{a==null||a({canceled:!1,data:u}),h("close")};return e.$$set=k=>{"icon"in k&&t(1,r=k.icon),"message"in k&&t(2,i=k.message),"type"in k&&t(3,o=k.type),"showCancel"in k&&t(4,s=k.showCancel),"askForData"in k&&t(5,l=k.askForData),"dataValue"in k&&t(0,u=k.dataValue),"callback"in k&&t(6,a=k.callback)},[u,r,i,o,s,l,a,h,p,d,b]}class qh extends Ft{constructor(n){super(),Vt(this,n,Kh,Gh,wt,{icon:1,message:2,type:3,showCancel:4,askForData:5,dataValue:0,callback:6})}}function Ga(e){let n,t;const r=[e[0]];let i={};for(let o=0;o<r.length;o+=1)i=Fc(i,r[o]);return n=new qh({props:i}),n.$on("close",e[1]),{c(){se(n.$$.fragment)},m(o,s){ie(n,o,s),t=!0},p(o,s){const l=s&1?of(r,[lf(o[0])]):{};n.$set(l)},i(o){t||(N(n.$$.fragment,o),t=!0)},o(o){F(n.$$.fragment,o),t=!1},d(o){oe(n,o)}}}function Xh(e){let n,t,r=e[0]&&Ga(e);return{c(){r&&r.c(),n=bn()},m(i,o){r&&r.m(i,o),V(i,n,o),t=!0},p(i,[o]){i[0]?r?(r.p(i,o),o&1&&N(r,1)):(r=Ga(i),r.c(),N(r,1),r.m(n.parentNode,n)):r&&(et(),F(r,1,1,()=>{r=null}),tt())},i(i){t||(N(r),t=!0)},o(i){F(r),t=!1},d(i){r&&r.d(i),i&&R(n)}}}function Zh(e,n,t){let r;_(e,Dl,u=>t(2,r=u));let i,o=[];const s=We.subscribe(u=>{!u||(u.message.includes("Lost Connection to")||u.message.includes("Unable to connect to"))&&((i==null?void 0:i.message)===u.message||o.find(a=>a.message===u.message))||(o.unshift(u),i||l())});function l(){t(0,i=o.pop()),H(Dl,r=!!i,r)}return Nu(()=>s==null?void 0:s.unsubscribe()),[i,l]}class Jh extends Ft{constructor(n){super(),Vt(this,n,Zh,Xh,wt,{})}}function Ka(e){let n,t=e[0].text+"",r,i,o,s;return{c(){n=g("p"),r=ut(t),f(n,"class","my-2 cursor-pointer border-2 svelte-18xo6t9"),f(n,"contenteditable",e[4]),q(n,"py-4",!e[5]),q(n,"px-2",!e[5]),q(n,"py-2",e[5]),q(n,"px-4",e[5]),q(n,"border-transparent",!e[Line truncated
|
||||
<ul><li class="my-0.5 hover:text-primary"><a href="https://github.com/Renji-XD/texthooker-ui" target="_blank" rel="noreferrer">texthooker-ui Repository</a></li>
|
||||
<li class="my-0.5 hover:text-primary"><a href="https://github.com/Artikash/Textractor" target="_blank" rel="noreferrer">Textractor</a></li>
|
||||
<li class="my-0.5 hover:text-primary"><a href="https://github.com/kuroahna/textractor_websocket" target="_blank" rel="noreferrer">textractor-websocket Extension</a></li>
|
||||
<li class="my-0.5 hover:text-primary"><a href="https://github.com/KamWithK/TextractorSender" target="_blank" rel="noreferrer">TextractorSender Extension</a></li>
|
||||
<li class="my-0.5 hover:text-primary"><a href="https://github.com/kuroahna/mpv_websocket" target="_blank" rel="noreferrer">mpv_websocket Plugin</a></li>
|
||||
<li class="my-0.5 hover:text-primary"><a href="https://github.com/0xDC00/agent" target="_blank" rel="noreferrer">Agent</a></li>
|
||||
<li class="my-0.5 hover:text-primary"><a href="https://github.com/kmltml/clipboard-inserter" target="_blank" rel="noreferrer">Clipboard Inserter</a></li>
|
||||
<li class="my-0.5 hover:text-primary"><a href="https://github.com/laplus-sadness/lap-clipboard-inserter" target="_blank" rel="noreferrer">lap-clipboard-inserter</a></li></ul>`,pe=w(),se(ge.$$.fragment),Pe=w(),se(be.$$.fragment),kt=w(),Ge=g("span"),Ge.textContent="Window Title",Wt=w(),ke=g("input"),De=w(),y=g("span"),y.textContent="Primary Websocket",Oe=w(),Fe=g("input"),st=w(),Xe=g("span"),Xe.textContent="Secondary Websocket",pt=w(),Pt=g("input"),Be=w(),$e=g("span"),$e.textContent="Font Size",C=w(),$=g("input"),vt=w(),Ut=g("span"),Ut.textContent="Character Milestone",sn=w(),Je=g("input"),nn=w(),dt=g("span"),dt.textContent="Online Font",lr=w(),at=g("select");for(let T=0;T<jt.length;T+=1)jt[T].c();Wr=w(),Nn=g("span"),Nn.textContent="Prevent Last Line Duplicate",Ur=w(),Bt=g("input"),jr=w(),Hn=g("span"),Hn.textContent="Max lines",Br=w(),At=g("input"),Rn=w(),Mt&&Mt.c(),sr=w(),Vn=g("span"),Vn.textContent="AFK Timer (s)",zr=w(),Ot=g("input"),Yr=w(),v=g("span"),v.textContent="Adjust Timer after AFK",te=w(),Q=g("input"),ve=w(),de=g("span"),de.textContent="Enable external Clipboard Monitor",It=w(),rn=g("input"),Fn=w(),_n=g("span"),_n.textContent="Show Preset Quick Switch",yo=w(),wn=g("input"),ko=w(),Gr=g("span"),Gr.textContent="Skip Reset Confirmations",So=w(),yn=g("input"),Co=w(),Kr=g("span"),Kr.textContent="Store Stats persistently",Lo=w(),an=g("input"),Eo=w(),qr=g("span"),qr.textContent="Store Notes persistently",xo=w(),un=g("input"),Po=w(),Xr=g("span"),Xr.textContent="Store Lines persistently",Ao=w(),cn=g("input"),Do=w(),Zr=g("span"),Zr.textContent="Store Action History persistently",To=w(),fn=g("input"),Oo=w(),Jr=g("span"),Jr.textContent="Enable Paste",Io=w(),kn=g("input"),Mo=w(),Qr=g("span"),Qr.textContent="Block Copy from Page",$o=w(),Sn=g("input"),No=w(),ei=g("span"),ei.textContent="Allow Paste during Pause",Ho=w(),Cn=g("input"),Ro=w(),ti=g("span"),ti.textContent="Allow new Line during Pause",Vo=w(),Ln=g("input"),Fo=w(),ni=g("span"),ni.textContent="Autostart Timer by Paste during Pause",Wo=w(),En=g("input"),Uo=w(),ri=g("span"),ri.textContent="Autostart Timer by Line during Pause",jo=w(),xn=g("input"),m=w(),X=g("span"),X.textContent="Prevent Global Duplicate",ae=w(),Ce=g("input"),St=w(),Qe=g("span"),Qe.textContent="Merge equal Line Starts",zt=w(),qt=g("input"),zs=w(),Bo=g("span"),Bo.textContent="Filter lines without jp content",Ys=w(),ar=g("input"),Gs=w(),zo=g("span"),zo.textContent="Flash on missed Line",Ks=w(),ur=g("input"),qs=w(),Yo=g("span"),Yo.textContent="Display Text vertically",Xs=w(),Wn=g("input"),Zs=w(),Go=g("span"),Go.textContent="Reverse Line Order",Js=w(),Un=g("input"),Qs=w(),Ko=g("span"),Ko.textContent="Preserve Whitespace",ea=w(),cr=g("input"),ta=w(),qo=g("span"),qo.textContent="Remove all Whitespace",na=w(),jn=g("input"),ra=w(),Xo=g("span"),Xo.textContent="Show Timer",ia=w(),fr=g("input"),oa=w(),Zo=g("span"),Zo.textContent="Show Speed",la=w(),hr=g("input"),sa=w(),Jo=g("span"),Jo.textContent="Show Character Count",aa=w(),pr=g("input"),ua=w(),Qo=g("span"),Qo.textContent="Show Line Count",ca=w(),dr=g("input"),fa=w(),el=g("span"),el.textContent="Blur Stats",ha=w(),mr=g("input"),pa=w(),tl=g("span"),tl.textContent="Enable Line Animation",da=w(),gr=g("input"),ma=w(),nl=g("span"),nl.textContent="Enable AFK Blur",ga=w(),br=g("input"),ba=w(),rl=g("span"),rl.textContent="Restart Timer after AFK Blur",va=w(),vr=g("input"),_a=w(),il=g("span"),il.textContent="Continuous Reconnect",wa=w(),Bn=g("input"),ya=w(),ol=g("span"),ol.textContent="Show Connection Errors",ka=w(),_r=g("input"),Sa=w(),ll=g("span"),ll.textContent="Show Connection Icon",Ca=w(),wr=g("input"),La=w(),Yi=g("span"),Yi.textContent="Custom CSS",Ea=w(),zn=g("textarea"),f(n,"class","hidden"),f(n,"type","file"),f(r,"class","hidden"),f(r,"type","file"),f(o,"class","hidden"),f(o,"type","file"),f(b,"class","label-text"),f(h,"role","button"),f(h,"class","flex flex-col items-center hover:text-primary"),f(D,"class","label-text"),f(S,"role","button"),f(S,"class","flex flex-col items-center hover:text-primary"),f(I,"class","label-text"),f(j,"role","button"),f(j,"class","flex flex-col items-center hover:text-primary"),f(J,"class","label-text"),f(E,"role","button"),f(E,"class","flex flex-col items-center hover:text-primary"),f(K,"class","label-text"),f(re,"role","button"),f(re,"class","flex flex-col items-center hover:text-primary"),f(Ie,"class","label-text"),f(fe,"role","button"),f(fe,"class","flex flex-col items-center hover:text-primary"),f(lt,"class","label-text"),f(Ye,"role","button"),f(Ye,"class","flex flex-col items-center hover:text-primary"),f(ne,"type","checkbox"),ne.checked=Ue=e[5]===Jt.BUSINESS,f(Re,"class","swap swap-rotate"),f(Se,"class","label-text"),f(Me,"role","button"),f(Me,"class","flex flex-col items-center hover:text-primary"),f(a,"class","flex text-sm gap-x-5 min-[600px]:justify-between max-[600px]:flex-wrap max-[600px]:gap-y-5"),f(u,"class","mb-2"),mt(u,"grid-column","1/5"),f(je,"role","button"),f(je,"class","col-span-4 mb-2"),f(Ge,Line truncated
|
||||
<span class="sr-only">Loading...</span></div>`,i=w(),o=g("div"),f(n,"class","tap-highlight-transparent absolute inset-0 bg-black/[.3] z-20"),f(r,"class","fixed inset-0 flex h-full w-full items-center justify-center z-50")},m(s,l){V(s,n,l),V(s,t,l),V(s,r,l),V(s,i,l),V(s,o,l)},p:Ne,i:Ne,o:Ne,d(s){s&&R(n),s&&R(t),s&&R(r),s&&R(i),s&&R(o)}}}class o1 extends Ft{constructor(n){super(),Vt(this,n,null,i1,wt,{})}}function l1(e){let n=(e[2]??"")+"",t,r,i=(e[3]??"")+"",o,s,l,u,a,h,p;return{c(){t=ut(n),r=w(),o=ut(i),s=w(),l=g("div"),u=g("div"),a=ut(e[1]),f(l,"class","text-sm timer mr-1 sm:text-base sm:mr-2 svelte-1efsh80"),q(l,"blur",e[4])},m(d,b){V(d,t,b),V(d,r,b),V(d,o,b),V(d,s,b),V(d,l,b),c(l,u),c(u,a),e[17](l),h||(p=P(l,"pointerleave",e[7]),h=!0)},p(d,[b]){b&4&&n!==(n=(d[2]??"")+"")&&Tt(t,n),b&8&&i!==(i=(d[3]??"")+"")&&Tt(o,i),b&2&&Tt(a,d[1]),b&16&&q(l,"blur",d[4])},i:Ne,o:Ne,d(d){d&&R(t),d&&R(r),d&&R(o),d&&R(s),d&&R(l),e[17](null),h=!1,p()}}}const s1=/[^0-9A-Z○◯々-〇〻ぁ-ゖゝ-ゞァ-ヺー0-9A-Zヲ-ン\p{Radical}\p{Unified_Ideograph}]+/gimu;function a1(e){return e?u1(e.replace(s1,"")):0}function u1(e){return Array.from(e).length}function c1(e,n,t){let r,i,o,s,l,u,a,h,p,d,b,k,S,O,A,D;_(e,$i,M=>t(10,r=M)),_(e,Ni,M=>t(11,i=M)),_(e,Mi,M=>t(12,o=M)),_(e,Ii,M=>t(13,s=M)),_(e,pn,M=>t(14,l=M)),_(e,Gt,M=>t(20,u=M)),_(e,Fi,M=>t(21,a=M)),_(e,Vi,M=>t(22,h=M)),_(e,tr,M=>t(23,p=M)),_(e,gi,M=>t(24,d=M)),_(e,it,M=>t(15,b=M)),_(e,Hr,M=>t(25,k=M)),_(e,Pr,M=>t(16,S=M)),_(e,Hi,M=>t(4,D=M));let x=0,j=0;const W=Rr(),Z=Gt.pipe(co(M=>M?(j=0,uo):(x=performance.now(),Ph(1e3))),Kn(me),Xn());_(e,Z,M=>t(2,O=M));const I=vh([Gt,tr]).pipe(co(([M,K])=>M||K<1?uo:Ah(go,Jn(window,"pointermove"),Jn(document,"selectionchange")).pipe(Th(!0),Ih(1e3),Kn(()=>j=performance.now()+p*1e3),Rs(p*1e3))),Xn());_(e,I,M=>t(3,A=M));let U,E=0,B=0,G="";function J(){const M=window.getSelection();M!=null&&M.toString()&&M.getRangeAt(0).intersectsNode(U)&&M.removeAllRanges()}function me(){const M=j?Math.min(j,performance.now()):performance.now(),K=Math.round((M-x+Number.EPSILON)/1e3);j&&M>=j?(H(Gt,u=!0,u),d?H(pn,l=Math.max(0,l+K-p),l):H(pn,l+=K,l),h&&(W("afkBlur",!0),document.addEventListener("dblclick",le=>{le.stopPropagation(),window.getSelection().removeAllRanges(),W("afkBlur",!1),a&&H(Gt,u=!1,u)},{once:!0,capture:!1}))):(x=M,H(pn,l+=K,l))}function re(M,K,le,fe){let Ae="";s&&(Ae+=Fh(M)),o&&(Ae+=` (${K}/h) `),r&&(Ae+=` ${le}`),i&&(Ae+=r?" /":"",Ae+=` ${fe}`),t(1,G=Ae.replace(/[ ]+/g," ").trim())}function z(M){ct[M?"unshift":"push"](()=>{U=M,t(0,U)})}return e.$$.update=()=>{if(e.$$.dirty&116224&&(r||S>1)&&b){const M=new Map;let K=0,le=S>1?S:0;for(let fe=0,{length:Ae}=b;fe<Ae;fe+=1)if(K+=a1(b[fe].text),le&&K>=le){let qe=K,Ie=le;for(M.set(b[fe].id,`Milestone ${Ie} (${K})`);qe>=le;)le+=S}H(Hr,k=M,k),t(9,B=K),t(8,E=l?Math.ceil(3600*B/l):0)}e.$$.dirty&65280&&(l>-1&&(s||o||r||i)?re(l,E,B,b.length):t(1,G=""))},[U,G,O,A,D,Z,I,J,E,B,r,i,o,s,l,b,S,z]}class f1 extends Ft{constructor(n){super(),Vt(this,n,c1,l1,wt,{})}}const{window:h1}=Ds;function wu(e,n,t){const r=e.slice();return r[99]=n[t],r[101]=t,r}function yu(e,n,t){const r=e.slice();return r[99]=n[t],r[102]=n,r[101]=t,r}function ku(e){let n,t;return n=new o1({}),{c(){se(n.$$.fragment)},m(r,i){ie(n,r,i),t=!0},i(r){t||(N(n.$$.fragment,r),t=!0)},o(r){F(n.$$.fragment,r),t=!1},d(r){oe(n,r)}}}function Su(e){let n,t;return n=new $c({}),{c(){se(n.$$.fragment)},m(r,i){ie(n,r,i),t=!0},i(r){t||(N(n.$$.fragment,r),t=!0)},o(r){F(n.$$.fragment,r),t=!1},d(r){oe(n,r)}}}function Cu(e){let n,t;return n=new $c({props:{isPrimary:!1}}),{c(){se(n.$$.fragment)},m(r,i){ie(n,r,i),t=!0},i(r){t||(N(n.$$.fragment,r),t=!0)},o(r){F(n.$$.fragment,r),t=!1},d(r){oe(n,r)}}}function p1(e){let n,t,r;return t=new _e({props:{path:bf,width:e[12],height:e[12]}}),t.$on("click",e[52]),{c(){n=g("div"),se(t.$$.fragment),f(n,"role","button"),f(n,"title","Pause"),f(n,"class","mr-1 hover:text-primary sm:mr-2")},m(i,o){V(i,n,o),ie(t,n,null),r=!0},p(i,o){const s={};o[0]&4096&&(s.width=i[12]),o[0]&4096&&(s.height=i[12]),t.$set(s)},i(i){r||(N(t.$$.fragment,i),r=!0)},o(i){F(t.$$.fragment,i),r=!1},d(i){i&&R(n),oe(t)}}}function d1(e){let n,t,r;return t=new _e({props:{path:_f,width:e[12],height:e[12]}}),t.$on("click",e[51]),{c(){n=g("div"),se(t.$$.fragment),f(n,"role","button"),f(n,"title","Continue"),f(n,"class","mr-1 animate-[pulse_1.25s_cubic-bezier(0.4,0,0.6,1)_infinite] hover:text-primary sm:mr-2")},m(i,o){V(i,n,o),ie(t,n,null),r=!0},p(i,o){const s={};o[0]&4096&&(s.width=i[12]),o[0]&4096&&(s.height=i[12]),t.$set(s)},i(i){r||(N(t.$$.fragment,i),r=!0)},o(i){F(t.$$.fragment,i),r=!1},d(i){i&&R(n),oe(t)}}}function Lu(e){let n,t,r,i,o,s;return t=new _e({props:{path:eo,width:e[12],height:e[12]}}),t.$on("click",e[38]),o=new _e({props:{path:Wu,width:e[12],height:e[12]}}),o.$on("click",e[39]),{c(){n=g("div"),se(t.$$.fragment),r=w(),i=g("div"),se(o.$$.fragment),f(n,"role","button"),f(n,"title","Remove selected Lines"),f(n,"class","mr-1 hover:text-primary sm:mr-2"),f(Line truncated
|
||||
|
||||
</script>
|
||||
<style>
|
||||
*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root,[data-theme]{background-color:hsla(var(--b1) / var(--tw-bg-opacity, 1));color:hsla(var(--bc) / var(--tw-text-opacity, 1))}html{-webkit-tap-highlight-color:transparent}:root{color-scheme:light;--pf: 139 16% 34%;--sf: 97 37% 75%;--af: 0 68% 75%;--nf: 0 4% 28%;--b2: 0 4% 82%;--b3: 0 4% 74%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--pc: 139 100% 89%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 139 16% 43%;--s: 97 37% 93%;--sc: 96 32% 15%;--a: 0 68% 94%;--ac: 0 22% 16%;--n: 0 4% 35%;--nc: 0 4% 91%;--b1: 0 4% 91%;--bc: 0 3% 6%}[data-theme=garden]{color-scheme:light;--pf: 139 16% 34%;--sf: 97 37% 75%;--af: 0 68% 75%;--nf: 0 4% 28%;--b2: 0 4% 82%;--b3: 0 4% 74%;--in: 198 93% 60%;--su: 158 64% 52%;--wa: 43 96% 56%;--er: 0 91% 71%;--pc: 139 100% 89%;--inc: 198 100% 12%;--suc: 158 100% 10%;--wac: 43 100% 11%;--erc: 0 100% 14%;--rounded-box: 1rem;--rounded-btn: .5rem;--rounded-badge: 1.9rem;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 139 16% 43%;--s: 97 37% 93%;--sc: 96 32% 15%;--a: 0 68% 94%;--ac: 0 22% 16%;--n: 0 4% 35%;--nc: 0 4% 91%;--b1: 0 4% 91%;--bc: 0 3% 6%}[data-theme=business]{color-scheme:dark;--pf: 210 64% 24%;--sf: 200 13% 44%;--af: 13 80% 48%;--nf: 213 14% 13%;--b2: 0 0% 11%;--b3: 0 0% 10%;--bc: 0 0% 83%;--pc: 210 100% 86%;--sc: 200 100% 11%;--ac: 13 100% 12%;--nc: 213 28% 83%;--inc: 199 100% 88%;--suc: 144 100% 11%;--wac: 39 100% 12%;--erc: 6 100% 89%;--animation-btn: .25s;--animation-input: .2s;--btn-text-case: uppercase;--btn-focus-scale: .95;--border-btn: 1px;--tab-border: 1px;--tab-radius: .5rem;--p: 210 64% 31%;--s: 200 13% 55%;--a: 13 80% 60%;--n: 213 14% 16%;--b1: 0 0% 13%;--in: 199 100% 42%;--su: 144 31% 56%;--wa: 39 64% 60%;--er: 6 56% 43%;--rounded-box: .25rem;--rounded-btn: .125rem;--rounded-badge: .125rem}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadowLine truncated
|
||||
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user