Clean up unused code and untrack build artifacts
- Remove dist/ from git (build output, already in .gitignore) - Replace default React import with named StrictMode in main.jsx https://claude.ai/code/session_01C4T3bYHR2svLq7JVcxKJ6Y
This commit is contained in:
4 files changed
+3
-174
No files matched your search
Vendored
-1
@@ -1 +0,0 @@
|
||||
*,: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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--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-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--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-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}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-feature-settings:normal;font-variation-settings:normal;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-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([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}dialog{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]:where(:not([hidden=until-found])){display:none}.collapse{visibility:collapse}.mx-auto{margin-left:auto;margin-right:auto}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.ml-3{margin-left:.75rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mLine truncated
|
||||
Vendored
-157
@@ -1,157 +0,0 @@
|
||||
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))n(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&n(l)}).observe(document,{childList:!0,subtree:!0});function r(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerPolicy&&(i.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?i.credentials="include":a.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(a){if(a.ep)return;a.ep=!0;const i=r(a);fetch(a.href,i)}})();function sd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var od={exports:{}},ws={};/**
|
||||
* @license React
|
||||
* react-jsx-runtime.production.js
|
||||
*
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var cy=Symbol.for("react.transitional.element"),fy=Symbol.for("react.fragment");function ud(e,t,r){var n=null;if(r!==void 0&&(n=""+r),t.key!==void 0&&(n=""+t.key),"key"in t){r={};for(var a in t)a!=="key"&&(r[a]=t[a])}else r=t;return t=r.ref,{$$typeof:cy,type:e,key:n,ref:t!==void 0?t:null,props:r}}ws.Fragment=fy;ws.jsx=ud;ws.jsxs=ud;od.exports=ws;var le=od.exports,cd={exports:{}},we={};/**
|
||||
* @license React
|
||||
* react.production.js
|
||||
*
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var Vu=Symbol.for("react.transitional.element"),hy=Symbol.for("react.portal"),dy=Symbol.for("react.fragment"),py=Symbol.for("react.strict_mode"),my=Symbol.for("react.profiler"),yy=Symbol.for("react.consumer"),vy=Symbol.for("react.context"),gy=Symbol.for("react.forward_ref"),by=Symbol.for("react.suspense"),wy=Symbol.for("react.memo"),fd=Symbol.for("react.lazy"),_y=Symbol.for("react.activity"),cf=Symbol.iterator;function xy(e){return e===null||typeof e!="object"?null:(e=cf&&e[cf]||e["@@iterator"],typeof e=="function"?e:null)}var hd={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},dd=Object.assign,pd={};function ka(e,t,r){this.props=e,this.context=t,this.refs=pd,this.updater=r||hd}ka.prototype.isReactComponent={};ka.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};ka.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function md(){}md.prototype=ka.prototype;function Ku(e,t,r){this.props=e,this.context=t,this.refs=pd,this.updater=r||hd}var Yu=Ku.prototype=new md;Yu.constructor=Ku;dd(Yu,ka.prototype);Yu.isPureReactComponent=!0;var ff=Array.isArray;function Go(){}var He={H:null,A:null,T:null,S:null},yd=Object.prototype.hasOwnProperty;function Xu(e,t,r){var n=r.ref;return{$$typeof:Vu,type:e,key:t,ref:n!==void 0?n:null,props:r}}function Sy(e,t){return Xu(e.type,t,e.props)}function Pu(e){return typeof e=="object"&&e!==null&&e.$$typeof===Vu}function Ey(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var hf=/\/+/g;function Ys(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Ey(""+e.key):t.toString(36)}function Ty(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(Go,Go):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function Yn(e,t,r,n,a){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var l=!1;if(e===null)l=!0;else switch(i){case"bigint":case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case Vu:case hy:l=!0;break;case fd:return l=e._init,Yn(l(e._payload),t,r,n,a)}}if(l)return a=a(e),l=n===""?"."+Ys(e,0):n,ff(a)?(r="",l!=null&&(r=l.replace(hf,"$&/")+"/"),Yn(a,t,r,"",function(d){return d})):a!=null&&(Pu(a)&&(a=Sy(a,r+(a.key==null||e&&e.key===a.key?"":(""+a.key).replace(hf,"$&/")+"/")+l)),t.push(a)),1;l=0;var s=n===""?".":n+":";if(ff(e))for(var u=0;u<e.length;u++)n=e[u],i=s+Ys(n,u),l+=Yn(n,t,r,i,a);else if(u=xy(e),typeof u=="function")for(e=u.call(e),u=0;!(n=e.next()).done;)n=n.value,i=s+Ys(n,u++),l+=Yn(n,t,r,i,a);else if(i==="object"){if(typeof e.then=="function")return Yn(Ty(e),t,r,n,a);throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return l}function ll(e,t,r){if(e==null)return e;var n=[],a=0;return Yn(e,n,"","",function(i){return t.call(r,i,a++)}),n}function Ay(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var df=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Ny={map:ll,forEach:function(e,t,r){ll(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return ll(e,function(){t++}),t},toArray:function(e){return ll(e,function(t){return t})||[]},only:function(e){if(!Pu(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};we.Activity=_y;we.Children=Ny;we.Component=ka;we.Fragment=dy;we.Profiler=my;we.PureComponent=Ku;we.StrictMode=py;we.Suspense=by;we.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=He;we.__COMPILER_RUNTIME={__proto__:null,c:function(e){return He.H.useMemoCache(e)}};we.cache=function(e){return function(){return e.apply(null,arguments)}};we.cacheSignal=function(){return null};we.cloneElement=function(e,t,r){if(e==null)throw Error("The argument must be a React eLine truncated
|
||||
* @license React
|
||||
* scheduler.production.js
|
||||
*
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/(function(e){function t(X,V){var re=X.length;X.push(V);e:for(;0<re;){var Q=re-1>>>1,te=X[Q];if(0<a(te,V))X[Q]=V,X[re]=te,re=Q;else break e}}function r(X){return X.length===0?null:X[0]}function n(X){if(X.length===0)return null;var V=X[0],re=X.pop();if(re!==V){X[0]=re;e:for(var Q=0,te=X.length,Z=te>>>1;Q<Z;){var D=2*(Q+1)-1,I=X[D],Y=D+1,$=X[Y];if(0>a(I,re))Y<te&&0>a($,I)?(X[Q]=$,X[Y]=re,Q=Y):(X[Q]=I,X[D]=re,Q=D);else if(Y<te&&0>a($,re))X[Q]=$,X[Y]=re,Q=Y;else break e}}return V}function a(X,V){var re=X.sortIndex-V.sortIndex;return re!==0?re:X.id-V.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,s=l.now();e.unstable_now=function(){return l.now()-s}}var u=[],d=[],y=1,g=null,v=3,h=!1,_=!1,E=!1,R=!1,m=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;function b(X){for(var V=r(d);V!==null;){if(V.callback===null)n(d);else if(V.startTime<=X)n(d),V.sortIndex=V.expirationTime,t(u,V);else break;V=r(d)}}function A(X){if(E=!1,b(X),!_)if(r(u)!==null)_=!0,S||(S=!0,M());else{var V=r(d);V!==null&&P(A,V.startTime-X)}}var S=!1,B=-1,z=5,O=-1;function G(){return R?!0:!(e.unstable_now()-O<z)}function ee(){if(R=!1,S){var X=e.unstable_now();O=X;var V=!0;try{e:{_=!1,E&&(E=!1,f(B),B=-1),h=!0;var re=v;try{t:{for(b(X),g=r(u);g!==null&&!(g.expirationTime>X&&G());){var Q=g.callback;if(typeof Q=="function"){g.callback=null,v=g.priorityLevel;var te=Q(g.expirationTime<=X);if(X=e.unstable_now(),typeof te=="function"){g.callback=te,b(X),V=!0;break t}g===r(u)&&n(u),b(X)}else n(u);g=r(u)}if(g!==null)V=!0;else{var Z=r(d);Z!==null&&P(A,Z.startTime-X),V=!1}}break e}finally{g=null,v=re,h=!1}V=void 0}}finally{V?M():S=!1}}}var M;if(typeof p=="function")M=function(){p(ee)};else if(typeof MessageChannel<"u"){var K=new MessageChannel,C=K.port2;K.port1.onmessage=ee,M=function(){C.postMessage(null)}}else M=function(){m(ee,0)};function P(X,V){B=m(function(){X(e.unstable_now())},V)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(X){X.callback=null},e.unstable_forceFrameRate=function(X){0>X||125<X?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):z=0<X?Math.floor(1e3/X):5},e.unstable_getCurrentPriorityLevel=function(){return v},e.unstable_next=function(X){switch(v){case 1:case 2:case 3:var V=3;break;default:V=v}var re=v;v=V;try{return X()}finally{v=re}},e.unstable_requestPaint=function(){R=!0},e.unstable_runWithPriority=function(X,V){switch(X){case 1:case 2:case 3:case 4:case 5:break;default:X=3}var re=v;v=X;try{return V()}finally{v=re}},e.unstable_scheduleCallback=function(X,V,re){var Q=e.unstable_now();switch(typeof re=="object"&&re!==null?(re=re.delay,re=typeof re=="number"&&0<re?Q+re:Q):re=Q,X){case 1:var te=-1;break;case 2:te=250;break;case 5:te=1073741823;break;case 4:te=1e4;break;default:te=5e3}return te=re+te,X={id:y++,callback:V,priorityLevel:X,startTime:re,expirationTime:te,sortIndex:-1},re>Q?(X.sortIndex=re,t(d,X),r(u)===null&&X===r(d)&&(E?(f(B),B=-1):E=!0,P(A,re-Q))):(X.sortIndex=te,t(u,X),_||h||(_=!0,S||(S=!0,M()))),X},e.unstable_shouldYield=G,e.unstable_wrapCallback=function(X){var V=v;return function(){var re=v;v=V;try{return X.apply(this,arguments)}finally{v=re}}}})(bd);gd.exports=bd;var Ry=gd.exports,wd={exports:{}},gt={};/**
|
||||
* @license React
|
||||
* react-dom.production.js
|
||||
*
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var Cy=lt;function _d(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function zr(){}var vt={d:{f:zr,r:function(){throw Error(_d(522))},D:zr,C:zr,L:zr,m:zr,X:zr,S:zr,M:zr},p:0,findDOMNode:null},Dy=Symbol.for("react.portal");function ky(e,t,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Dy,key:n==null?null:""+n,children:e,containerInfo:t,implementation:r}}var si=Cy.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function xs(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}gt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=vt;gt.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(_d(299));return ky(e,t,null,r)};gt.flushSync=function(e){var t=si.T,r=vt.p;try{if(si.T=null,vt.p=2,e)return e()}finally{si.T=t,vt.p=r,vt.d.f()}};gt.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,vt.d.C(e,t))};gt.prefetchDNS=function(e){typeof e=="string"&&vt.d.D(e)};gt.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var r=t.as,n=xs(r,t.crossOrigin),a=typeof t.integrity=="string"?t.integrity:void 0,i=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;r==="style"?vt.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:n,integrity:a,fetchPriority:i}):r==="script"&&vt.d.X(e,{crossOrigin:n,integrity:a,fetchPriority:i,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};gt.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var r=xs(t.as,t.crossOrigin);vt.d.M(e,{crossOrigin:r,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0})}}else t==null&&vt.d.M(e)};gt.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var r=t.as,n=xs(r,t.crossOrigin);vt.d.L(e,r,{crossOrigin:n,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,type:typeof t.type=="string"?t.type:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy=="string"?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet=="string"?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes=="string"?t.imageSizes:void 0,media:typeof t.media=="string"?t.media:void 0})}};gt.preloadModule=function(e,t){if(typeof e=="string")if(t){var r=xs(t.as,t.crossOrigin);vt.d.m(e,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:r,integrity:typeof t.integrity=="string"?t.integrity:void 0})}else vt.d.m(e)};gt.requestFormReset=function(e){vt.d.r(e)};gt.unstable_batchedUpdates=function(e,t){return e(t)};gt.useFormState=function(e,t,r){return si.H.useFormState(e,t,r)};gt.useFormStatus=function(){return si.H.useHostTransitionStatus()};gt.version="19.2.6";function xd(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(xd)}catch(e){console.error(e)}}xd(),wd.exports=gt;var By=wd.exports;/**
|
||||
* @license React
|
||||
* react-dom-client.production.js
|
||||
*
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var tt=Ry,Sd=lt,My=By;function oe(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function Ed(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Fi(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function Td(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Ad(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function pf(e){if(Fi(e)!==e)throw Error(oe(188))}function zy(e){var t=e.alternate;if(!t){if(t=Fi(e),t===null)throw Error(oe(188));return t!==e?null:e}for(var r=e,n=t;;){var a=r.return;if(a===null)break;var i=a.alternate;if(i===null){if(n=a.return,n!==null){r=n;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===r)return pf(a),e;if(i===n)return pf(a),t;i=i.sibling}throw Error(oe(188))}if(r.return!==n.return)r=a,n=i;else{for(var l=!1,s=a.child;s;){if(s===r){l=!0,r=a,n=i;break}if(s===n){l=!0,n=a,r=i;break}s=s.sibling}if(!l){for(s=i.child;s;){if(s===r){l=!0,r=i,n=a;break}if(s===n){l=!0,n=i,r=a;break}s=s.sibling}if(!l)throw Error(oe(189))}}if(r.alternate!==n)throw Error(oe(190))}if(r.tag!==3)throw Error(oe(188));return r.stateNode.current===r?e:t}function Nd(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=Nd(e),t!==null)return t;e=e.sibling}return null}var Fe=Object.assign,Uy=Symbol.for("react.element"),sl=Symbol.for("react.transitional.element"),ti=Symbol.for("react.portal"),Wn=Symbol.for("react.fragment"),Od=Symbol.for("react.strict_mode"),Vo=Symbol.for("react.profiler"),Rd=Symbol.for("react.consumer"),_r=Symbol.for("react.context"),Zu=Symbol.for("react.forward_ref"),Ko=Symbol.for("react.suspense"),Yo=Symbol.for("react.suspense_list"),Wu=Symbol.for("react.memo"),Ur=Symbol.for("react.lazy"),Xo=Symbol.for("react.activity"),Ly=Symbol.for("react.memo_cache_sentinel"),mf=Symbol.iterator;function Ka(e){return e===null||typeof e!="object"?null:(e=mf&&e[mf]||e["@@iterator"],typeof e=="function"?e:null)}var jy=Symbol.for("react.client.reference");function Po(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===jy?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Wn:return"Fragment";case Vo:return"Profiler";case Od:return"StrictMode";case Ko:return"Suspense";case Yo:return"SuspenseList";case Xo:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case ti:return"Portal";case _r:return e.displayName||"Context";case Rd:return(e._context.displayName||"Context")+".Consumer";case Zu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Wu:return t=e.displayName||null,t!==null?t:Po(e.type)||"Memo";case Ur:t=e._payload,e=e._init;try{return Po(e(t))}catch{}}return null}var ri=Array.isArray,ge=Sd.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Re=My.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Sn={pending:!1,data:null,method:null,action:null},Zo=[],Qn=-1;function sr(e){return{current:e}}function it(e){0>Qn||(e.current=Zo[Qn],Zo[Qn]=null,Qn--)}function ze(e,t){Qn++,Zo[Qn]=e.current,e.current=t}var lr=sr(null),Si=sr(null),Pr=sr(null),Gl=sr(null);function Vl(e,t){switch(ze(Pr,t),ze(Si,e),ze(lr,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?_h(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=_h(t),e=Zm(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}it(lr),ze(lr,e)}function ya(){it(lr),it(Si),it(Pr)}function Wo(e){e.memoizedState!==null&&ze(Gl,e);var t=lr.current,r=Zm(t,e.type);t!==r&&(ze(Si,e),ze(lr,r))}function Kl(e){Si.current===e&&(it(lr),it(Si)),Gl.current===e&&(it(Gl),Mi._currentValue=Sn)}var Xs,yf;function gn(e){if(Xs===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);Xs=t&&t[1]||"",yf=-1<r.stack.indexOf(`
|
||||
at`)?" (<anonymous>)":-1<r.stack.indexOf("@")?"@unknown:0:0":""}return`
|
||||
`+Xs+e+yf}var Ps=!1;function Zs(e,t){if(!e||Ps)return"";Ps=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var n={DetermineComponentFrameRoot:function(){try{if(t){var g=function(){throw Error()};if(Object.defineProperty(g.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(g,[])}catch(h){var v=h}Reflect.construct(e,[],g)}else{try{g.call()}catch(h){v=h}e.call(g.prototype)}}else{try{throw Error()}catch(h){v=h}(g=e())&&typeof g.catch=="function"&&g.catch(function(){})}}catch(h){if(h&&v&&typeof h.stack=="string")return[h.stack,v.stack]}return[null,null]}};n.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(n.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(n.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=n.DetermineComponentFrameRoot(),l=i[0],s=i[1];if(l&&s){var u=l.split(`
|
||||
`),d=s.split(`
|
||||
`);for(a=n=0;n<u.length&&!u[n].includes("DetermineComponentFrameRoot");)n++;for(;a<d.length&&!d[a].includes("DetermineComponentFrameRoot");)a++;if(n===u.length||a===d.length)for(n=u.length-1,a=d.length-1;1<=n&&0<=a&&u[n]!==d[a];)a--;for(;1<=n&&0<=a;n--,a--)if(u[n]!==d[a]){if(n!==1||a!==1)do if(n--,a--,0>a||u[n]!==d[a]){var y=`
|
||||
`+u[n].replace(" at new "," at ");return e.displayName&&y.includes("<anonymous>")&&(y=y.replace("<anonymous>",e.displayName)),y}while(1<=n&&0<=a);break}}}finally{Ps=!1,Error.prepareStackTrace=r}return(r=e?e.displayName||e.name:"")?gn(r):""}function Hy(e,t){switch(e.tag){case 26:case 27:case 5:return gn(e.type);case 16:return gn("Lazy");case 13:return e.child!==t&&t!==null?gn("Suspense Fallback"):gn("Suspense");case 19:return gn("SuspenseList");case 0:case 15:return Zs(e.type,!1);case 11:return Zs(e.type.render,!1);case 1:return Zs(e.type,!0);case 31:return gn("Activity");default:return""}}function vf(e){try{var t="",r=null;do t+=Hy(e,r),r=e,e=e.return;while(e);return t}catch(n){return`
|
||||
Error generating stack: `+n.message+`
|
||||
`+n.stack}}var Qo=Object.prototype.hasOwnProperty,Qu=tt.unstable_scheduleCallback,Ws=tt.unstable_cancelCallback,Fy=tt.unstable_shouldYield,Iy=tt.unstable_requestPaint,Dt=tt.unstable_now,qy=tt.unstable_getCurrentPriorityLevel,Cd=tt.unstable_ImmediatePriority,Dd=tt.unstable_UserBlockingPriority,Yl=tt.unstable_NormalPriority,Gy=tt.unstable_LowPriority,kd=tt.unstable_IdlePriority,Vy=tt.log,Ky=tt.unstable_setDisableYieldValue,Ii=null,kt=null;function Gr(e){if(typeof Vy=="function"&&Ky(e),kt&&typeof kt.setStrictMode=="function")try{kt.setStrictMode(Ii,e)}catch{}}var Bt=Math.clz32?Math.clz32:Py,Yy=Math.log,Xy=Math.LN2;function Py(e){return e>>>=0,e===0?32:31-(Yy(e)/Xy|0)|0}var ol=256,ul=262144,cl=4194304;function bn(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Ss(e,t,r){var n=e.pendingLanes;if(n===0)return 0;var a=0,i=e.suspendedLanes,l=e.pingedLanes;e=e.warmLanes;var s=n&134217727;return s!==0?(n=s&~i,n!==0?a=bn(n):(l&=s,l!==0?a=bn(l):r||(r=s&~e,r!==0&&(a=bn(r))))):(s=n&~i,s!==0?a=bn(s):l!==0?a=bn(l):r||(r=n&~e,r!==0&&(a=bn(r)))),a===0?0:t!==0&&t!==a&&!(t&i)&&(i=a&-a,r=t&-t,i>=r||i===32&&(r&4194048)!==0)?t:a}function qi(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Zy(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Bd(){var e=cl;return cl<<=1,!(cl&62914560)&&(cl=4194304),e}function Qs(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function Gi(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Wy(e,t,r,n,a,i){var l=e.pendingLanes;e.pendingLanes=r,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=r,e.entangledLanes&=r,e.errorRecoveryDisabledLanes&=r,e.shellSuspendCounter=0;var s=e.entanglements,u=e.expirationTimes,d=e.hiddenUpdates;for(r=l&~r;0<r;){var y=31-Bt(r),g=1<<y;s[y]=0,u[y]=-1;var v=d[y];if(v!==null)for(d[y]=null,y=0;y<v.length;y++){var h=v[y];h!==null&&(h.lane&=-536870913)}r&=~g}n!==0&&Md(e,n,0),i!==0&&a===0&&e.tag!==0&&(e.suspendedLanes|=i&~(l&~t))}function Md(e,t,r){e.pendingLanes|=t,e.suspendedLanes&=~t;var n=31-Bt(t);e.entangledLanes|=t,e.entanglements[n]=e.entanglements[n]|1073741824|r&261930}function zd(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var n=31-Bt(r),a=1<<n;a&t|e[n]&t&&(e[n]|=t),r&=~a}}function Ud(e,t){var r=t&-t;return r=r&42?1:Ju(r),r&(e.suspendedLanes|t)?0:r}function Ju(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function $u(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function Ld(){var e=Re.p;return e!==0?e:(e=window.event,e===void 0?32:l0(e.type))}function gf(e,t){var r=Re.p;try{return Re.p=e,t()}finally{Re.p=r}}var on=Math.random().toString(36).slice(2),ot="__reactFiber$"+on,Tt="__reactProps$"+on,Ba="__reactContainer$"+on,Jo="__reactEvents$"+on,Qy="__reactListeners$"+on,Jy="__reactHandles$"+on,bf="__reactResources$"+on,Vi="__reactMarker$"+on;function ec(e){delete e[ot],delete e[Tt],delete e[Jo],delete e[Qy],delete e[Jy]}function Jn(e){var t=e[ot];if(t)return t;for(var r=e.parentNode;r;){if(t=r[Ba]||r[ot]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=Ah(e);e!==null;){if(r=e[ot])return r;e=Ah(e)}return t}e=r,r=e.parentNode}return null}function Ma(e){if(e=e[ot]||e[Ba]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function ni(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(oe(33))}function oa(e){var t=e[bf];return t||(t=e[bf]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function at(e){e[Vi]=!0}var jd=new Set,Hd={};function Un(e,t){va(e,t),va(e+"Capture",t)}function va(e,t){for(Hd[e]=t,e=0;e<t.length;e++)jd.add(t[e])}var $y=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2
Line truncated
|
||||
`).replace(Cg,"")}function Pm(e,t){return t=bh(t),bh(e)===t}function ke(e,t,r,n,a,i){switch(r){case"children":typeof n=="string"?t==="body"||t==="textarea"&&n===""||ga(e,n):(typeof n=="number"||typeof n=="bigint")&&t!=="body"&&ga(e,""+n);break;case"className":fl(e,"class",n);break;case"tabIndex":fl(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":fl(e,r,n);break;case"style":Kd(e,n,i);break;case"data":if(t!=="object"){fl(e,"data",n);break}case"src":case"href":if(n===""&&(t!=="a"||r!=="href")){e.removeAttribute(r);break}if(n==null||typeof n=="function"||typeof n=="symbol"||typeof n=="boolean"){e.removeAttribute(r);break}n=Rl(""+n),e.setAttribute(r,n);break;case"action":case"formAction":if(typeof n=="function"){e.setAttribute(r,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof i=="function"&&(r==="formAction"?(t!=="input"&&ke(e,t,"name",a.name,a,null),ke(e,t,"formEncType",a.formEncType,a,null),ke(e,t,"formMethod",a.formMethod,a,null),ke(e,t,"formTarget",a.formTarget,a,null)):(ke(e,t,"encType",a.encType,a,null),ke(e,t,"method",a.method,a,null),ke(e,t,"target",a.target,a,null)));if(n==null||typeof n=="symbol"||typeof n=="boolean"){e.removeAttribute(r);break}n=Rl(""+n),e.setAttribute(r,n);break;case"onClick":n!=null&&(e.onclick=xr);break;case"onScroll":n!=null&&Ee("scroll",e);break;case"onScrollEnd":n!=null&&Ee("scrollend",e);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(oe(61));if(r=n.__html,r!=null){if(a.children!=null)throw Error(oe(60));e.innerHTML=r}}break;case"multiple":e.multiple=n&&typeof n!="function"&&typeof n!="symbol";break;case"muted":e.muted=n&&typeof n!="function"&&typeof n!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(n==null||typeof n=="function"||typeof n=="boolean"||typeof n=="symbol"){e.removeAttribute("xlink:href");break}r=Rl(""+n),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",r);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":n!=null&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(r,""+n):e.removeAttribute(r);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":n&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(r,""):e.removeAttribute(r);break;case"capture":case"download":n===!0?e.setAttribute(r,""):n!==!1&&n!=null&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(r,n):e.removeAttribute(r);break;case"cols":case"rows":case"size":case"span":n!=null&&typeof n!="function"&&typeof n!="symbol"&&!isNaN(n)&&1<=n?e.setAttribute(r,n):e.removeAttribute(r);break;case"rowSpan":case"start":n==null||typeof n=="function"||typeof n=="symbol"||isNaN(n)?e.removeAttribute(r):e.setAttribute(r,n);break;case"popover":Ee("beforetoggle",e),Ee("toggle",e),Ol(e,"popover",n);break;case"xlinkActuate":fr(e,"http://www.w3.org/1999/xlink","xlink:actuate",n);break;case"xlinkArcrole":fr(e,"http://www.w3.org/1999/xlink","xlink:arcrole",n);break;case"xlinkRole":fr(e,"http://www.w3.org/1999/xlink","xlink:role",n);break;case"xlinkShow":fr(e,"http://www.w3.org/1999/xlink","xlink:show",n);break;case"xlinkTitle":fr(e,"http://www.w3.org/1999/xlink","xlink:title",n);break;case"xlinkType":fr(e,"http://www.w3.org/1999/xlink","xlink:type",n);break;case"xmlBase":fr(e,"http://www.w3.org/XML/1998/namespace","xml:base",n);break;case"xmlLang":fr(e,"http://www.w3.org/XML/1998/namespace","xml:lang",n);break;case"xmlSpace":fr(e,"http://www.w3.org/XML/1998/namespace","xml:space",n);break;case"is":Ol(e,"is",n);break;case"innerText":case"textContent":break;default:(!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(r=av.get(r)||r,Ol(e,r,n))}}function Ru(e,t,r,n,a,i){switch(r){case"style":Kd(e,n,i);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(oe(61));if(r=n.__html,r!=null){if(a.children!=null)throw Error(oe(60));e.innerHTML=r}}break;case"children":typeof n=="string"?ga(e,n):(typeof n=="number"||typeof n=="bigint")&&ga(e,""+n);break;case"onScroll":n!=null&&Ee("scroll",e);break;case"onScrollEnd":n!=null&&Ee("scrollend",e);break;case"onClick":n!=null&&(e.onclick=xr);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"
Line truncated
|
||||
* The buffer module from node.js, for the browser.
|
||||
*
|
||||
* @author Feross Aboukhadijeh <https://feross.org>
|
||||
* @license MIT
|
||||
*/var Hs=he(e=>{var t=x1(),r=S1(),n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=s,e.SlowBuffer=f,e.INSPECT_MAX_BYTES=50;var a=2147483647;e.kMaxLength=a,s.TYPED_ARRAY_SUPPORT=i(),!s.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function i(){try{var k=new Uint8Array(1),o={foo:function(){return 42}};return Object.setPrototypeOf(o,Uint8Array.prototype),Object.setPrototypeOf(k,o),k.foo()===42}catch{return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}});function l(k){if(k>a)throw new RangeError('The value "'+k+'" is invalid for option "size"');var o=new Uint8Array(k);return Object.setPrototypeOf(o,s.prototype),o}function s(k,o,c){if(typeof k=="number"){if(typeof o=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return g(k)}return u(k,o,c)}s.poolSize=8192;function u(k,o,c){if(typeof k=="string")return v(k,o);if(ArrayBuffer.isView(k))return _(k);if(k==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof k);if(L(k,ArrayBuffer)||k&&L(k.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(L(k,SharedArrayBuffer)||k&&L(k.buffer,SharedArrayBuffer)))return E(k,o,c);if(typeof k=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var T=k.valueOf&&k.valueOf();if(T!=null&&T!==k)return s.from(T,o,c);var H=R(k);if(H)return H;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof k[Symbol.toPrimitive]=="function")return s.from(k[Symbol.toPrimitive]("string"),o,c);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof k)}s.from=function(k,o,c){return u(k,o,c)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array);function d(k){if(typeof k!="number")throw new TypeError('"size" argument must be of type number');if(k<0)throw new RangeError('The value "'+k+'" is invalid for option "size"')}function y(k,o,c){return d(k),k<=0?l(k):o!==void 0?typeof c=="string"?l(k).fill(o,c):l(k).fill(o):l(k)}s.alloc=function(k,o,c){return y(k,o,c)};function g(k){return d(k),l(k<0?0:m(k)|0)}s.allocUnsafe=function(k){return g(k)},s.allocUnsafeSlow=function(k){return g(k)};function v(k,o){if((typeof o!="string"||o==="")&&(o="utf8"),!s.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var c=p(k,o)|0,T=l(c),H=T.write(k,o);return H!==c&&(T=T.slice(0,H)),T}function h(k){for(var o=k.length<0?0:m(k.length)|0,c=l(o),T=0;T<o;T+=1)c[T]=k[T]&255;return c}function _(k){if(L(k,Uint8Array)){var o=new Uint8Array(k);return E(o.buffer,o.byteOffset,o.byteLength)}return h(k)}function E(k,o,c){if(o<0||k.byteLength<o)throw new RangeError('"offset" is outside of buffer bounds');if(k.byteLength<o+(c||0))throw new RangeError('"length" is outside of buffer bounds');var T;return o===void 0&&c===void 0?T=new Uint8Array(k):c===void 0?T=new Uint8Array(k,o):T=new Uint8Array(k,o,c),Object.setPrototypeOf(T,s.prototype),T}function R(k){if(s.isBuffer(k)){var o=m(k.length)|0,c=l(o);return c.length===0||k.copy(c,0,0,o),c}if(k.length!==void 0)return typeof k.length!="number"||w(k.length)?l(0):h(k);if(k.type==="Buffer"&&Array.isArray(k.data))return h(k.data)}function m(k){if(k>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return k|0}function f(k){return+k!=k&&(k=0),s.alloc(+k)}s.isBuffer=function(o){return o!=null&&o._isBuffer===!0&&o!==s.prototype},s.compare=function(o,c){if(L(o,Uint8Array)&&(o=s.from(o,o.offset,o.byteLength)),L(c,Uint8Array)&&(c=s.from(c,c.offset,c.byteLength)),!s.isBuffer(o)||!s.isBuffer(c))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(o===c)return 0;for(var T=o.length,H=c.length,W=0,q=Math.min(T,H);W<q;++W)if(o[W]!==c[W]){T=o[W],H=c[W];break}return T<H?-1:H<T?1:0},s.isEncoding=function(o){switch(String(o).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(o,c){if(!Array.isArray(o))throw new TypeError('"list" argument must be an Array of Buffers');if(o.length===0)return s.alloc(0);var T;if(c===void 0)for(c=0,T=0;T<o.length;++T)c+=o[T].length;var H=s.allocUnsafe(c),W=0;for(T=0;T<o.length;++T){var q=o[T];if(L(q,Uint8Array))W+q.length>H.length?s.from(q).copy(H,W):Uint8Array.prototype.set.call(H,q,W);else if(s.isBuffer(q))q.copy(H,W);else throw new TypeError('"listLine truncated
|
||||
`)>-1&&(N?F=F.split(`
|
||||
`).map(function(ne){return" "+ne}).join(`
|
||||
`).slice(2):F=`
|
||||
`+F.split(`
|
||||
`).map(function(ne){return" "+ne}).join(`
|
||||
`))):F=D.stylize("[Circular]","special")),B(x)){if(N&&ue.match(/^\d+$/))return F;x=JSON.stringify(""+ue),x.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(x=x.slice(1,-1),x=D.stylize(x,"name")):(x=x.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),x=D.stylize(x,"string"))}return x+": "+F}function E(D,I,Y){return D.reduce(function($,ue){return ue.indexOf(`
|
||||
`)>=0,$+ue.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?Y[0]+(I===""?"":I+`
|
||||
`)+" "+D.join(`,
|
||||
`)+" "+Y[1]:Y[0]+I+" "+D.join(", ")+" "+Y[1]}e.types=tb();function R(D){return Array.isArray(D)}e.isArray=R;function m(D){return typeof D=="boolean"}e.isBoolean=m;function f(D){return D===null}e.isNull=f;function p(D){return D==null}e.isNullOrUndefined=p;function b(D){return typeof D=="number"}e.isNumber=b;function A(D){return typeof D=="string"}e.isString=A;function S(D){return typeof D=="symbol"}e.isSymbol=S;function B(D){return D===void 0}e.isUndefined=B;function z(D){return O(D)&&C(D)==="[object RegExp]"}e.isRegExp=z,e.types.isRegExp=z;function O(D){return typeof D=="object"&&D!==null}e.isObject=O;function G(D){return O(D)&&C(D)==="[object Date]"}e.isDate=G,e.types.isDate=G;function ee(D){return O(D)&&(C(D)==="[object Error]"||D instanceof Error)}e.isError=ee,e.types.isNativeError=ee;function M(D){return typeof D=="function"}e.isFunction=M;function K(D){return D===null||typeof D=="boolean"||typeof D=="number"||typeof D=="string"||typeof D=="symbol"||typeof D>"u"}e.isPrimitive=K,e.isBuffer=rb();function C(D){return Object.prototype.toString.call(D)}function P(D){return D<10?"0"+D.toString(10):D.toString(10)}var X=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function V(){var D=new Date,I=[P(D.getHours()),P(D.getMinutes()),P(D.getSeconds())].join(":");return[D.getDate(),X[D.getMonth()],I].join(" ")}e.log=function(){console.log("%s - %s",V(),e.format.apply(e,arguments))},e.inherits=fn(),e._extend=function(D,I){if(!I||!O(I))return D;for(var Y=Object.keys(I),$=Y.length;$--;)D[Y[$]]=I[Y[$]];return D};function re(D,I){return Object.prototype.hasOwnProperty.call(D,I)}var Q=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;e.promisify=function(I){if(typeof I!="function")throw new TypeError('The "original" argument must be of type Function');if(Q&&I[Q]){var Y=I[Q];if(typeof Y!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(Y,Q,{value:Y,enumerable:!1,writable:!1,configurable:!0}),Y}function Y(){for(var $,ue,N=new Promise(function(j,ne){$=j,ue=ne}),x=[],F=0;F<arguments.length;F++)x.push(arguments[F]);x.push(function(j,ne){j?ue(j):$(ne)});try{I.apply(this,x)}catch(j){ue(j)}return N}return Object.setPrototypeOf(Y,Object.getPrototypeOf(I)),Q&&Object.defineProperty(Y,Q,{value:Y,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(Y,t(I))},e.promisify.custom=Q;function te(D,I){if(!D){var Y=new Error("Promise was rejected with a falsy value");Y.reason=D,D=Y}return I(D)}function Z(D){if(typeof D!="function")throw new TypeError('The "original" argument must be of type Function');function I(){for(var Y=[],$=0;$<arguments.length;$++)Y.push(arguments[$]);var ue=Y.pop();if(typeof ue!="function")throw new TypeError("The last argument must be of type Function");var N=this,x=function(){return ue.apply(N,arguments)};D.apply(this,Y).then(function(F){xe.nextTick(x.bind(null,null,F))},function(F){xe.nextTick(te.bind(null,F,x))})}return Object.setPrototypeOf(I,Object.getPrototypeOf(D)),Object.defineProperties(I,t(D)),I}e.callbackify=Z}),nb=he((e,t)=>{function r(_,E){var R=Object.keys(_);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(_);E&&(m=m.filter(function(f){return Object.getOwnPropertyDescriptor(_,f).enumerable})),R.push.apply(R,m)}return R}function n(_){for(var E=1;E<arguments.length;E++){var R=arguments[E]!=null?arguments[E]:{};E%2?r(Object(R),!0).forEach(function(m){a(_,m,R[m])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(R)):r(Object(R)).forEach(function(m){Object.defineProperty(_,m,Object.getOwnPropertyDescriptor(R,m))})}return _}function a(_,E,R){return E=u(E),E in _?Object.defineProperty(_,E,{value:R,enumerable:!0,configurable:!0,writable:!0}):_[E]=R,_}function i(_,E){if(!(_ instanceof E))throw new TypeError("Cannot call a class as a function")}function l(_,E){for(var R=0;R<E.length;R++){var m=E[R];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(_,u(m.key),m)}}function s(_,E,R){return E&&l(_.prototype,E),Object.defineProperty(_,"prototype",{writable:!1}),_}function u(_){var E=d(_,"string");return typeof E=="symbol"?E:String(E)}function d(_,E){if(typeof _!="object"||_===null)return _;var R=_[Symbol.toPrimitive];if(R!==void 0){var m=R.call(_,E);if(typeof m!="object")return m;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(_)}var y=Hs().Buffer,g=T0().inspect,v=g&&g.custom||"inspect";function h(_,E,R){y.prototype.copy.call(_,E,R)}t.exports=function(){function _(){i(this,_),this.head=null,this.tail=null,this.length=0}return s(_,[{key:"push",value:function(R){var m={data:R,next:null};this.length>0?this.tail.next=m:this.head=m,this.tail=m,++this.length}},{key:"unshift",value:function(R){var m={data:R,next:this.head};this.length===0&&(this.tail=m),this.head=m,++this.length}},{key:"shift",value:function(){if(this.length!==0){var R=this.head.data;retur
Line truncated
|
||||
`||N==="\r"||N===" "}function A(N){return N==='"'||N==="'"}function S(N){return N===">"||b(N)}function B(N,x){return N.test(x)}function z(N,x){return!B(N,x)}var O=0;t.STATE={BEGIN:O++,BEGIN_WHITESPACE:O++,TEXT:O++,TEXT_ENTITY:O++,OPEN_WAKA:O++,SGML_DECL:O++,SGML_DECL_QUOTED:O++,DOCTYPE:O++,DOCTYPE_QUOTED:O++,DOCTYPE_DTD:O++,DOCTYPE_DTD_QUOTED:O++,COMMENT_STARTING:O++,COMMENT:O++,COMMENT_ENDING:O++,COMMENT_ENDED:O++,CDATA:O++,CDATA_ENDING:O++,CDATA_ENDING_2:O++,PROC_INST:O++,PROC_INST_BODY:O++,PROC_INST_ENDING:O++,OPEN_TAG:O++,OPEN_TAG_SLASH:O++,ATTRIB:O++,ATTRIB_NAME:O++,ATTRIB_NAME_SAW_WHITE:O++,ATTRIB_VALUE:O++,ATTRIB_VALUE_QUOTED:O++,ATTRIB_VALUE_CLOSED:O++,ATTRIB_VALUE_UNQUOTED:O++,ATTRIB_VALUE_ENTITY_Q:O++,ATTRIB_VALUE_ENTITY_U:O++,CLOSE_TAG:O++,CLOSE_TAG_SAW_WHITE:O++,SCRIPT:O++,SCRIPT_ENDING:O++},t.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},t.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(t.ENTITIES).forEach(function(N){var x=t.ENTITIES[N],F=typeof x=="number"?String.fromCharCode(x):x;t.ENTITIES[N]=F});for(var G in t.STATE)t.STATE[t.STATE[G]]=G;O=t.STATE;function ee(N,x,F){N[x]&&N[x](F)}function M(N,x,F){N.textNode&&K(N),ee(N,x,F)}function K(N){N.textNode=C(N.opt,N.textNode),N.textNode&&ee(N,"ontext",N.textNode),N.textNode=""}function C(N,x){return N.trim&&(x=x.trim()),N.normalize&&(x=x.replace(/\s+/g," ")),x}function P(N,x){return K(N),N.trackPosition&&(x+=`
|
||||
Line: `+N.line+`
|
||||
Column: `+N.column+`
|
||||
Char: `+N.c),x=new Error(x),N.error=x,ee(N,"onerror",x),N}function X(N){return N.sawRoot&&!N.closedRoot&&V(N,"Unclosed root tag"),N.state!==O.BEGIN&&N.state!==O.BEGIN_WHITESPACE&&N.state!==O.TEXT&&P(N,"Unexpected end"),K(N),N.c="",N.closed=!0,ee(N,"onend"),n.call(N,N.strict,N.opt),N}function V(N,x){if(typeof N!="object"||!(N instanceof n))throw new Error("bad call to strictFail");N.strict&&P(N,x)}function re(N){N.strict||(N.tagName=N.tagName[N.looseCase]());var x=N.tags[N.tags.length-1]||N,F=N.tag={name:N.tagName,attributes:{}};N.opt.xmlns&&(F.ns=x.ns),N.attribList.length=0,M(N,"onopentagstart",F)}function Q(N,x){var F=N.indexOf(":")<0?["",N]:N.split(":"),j=F[0],ne=F[1];return x&&N==="xmlns"&&(j="xmlns",ne=""),{prefix:j,local:ne}}function te(N){if(N.strict||(N.attribName=N.attribName[N.looseCase]()),N.attribList.indexOf(N.attribName)!==-1||N.tag.attributes.hasOwnProperty(N.attribName)){N.attribName=N.attribValue="";return}if(N.opt.xmlns){var x=Q(N.attribName,!0),F=x.prefix,j=x.local;if(F==="xmlns")if(j==="xml"&&N.attribValue!==h)V(N,"xml: prefix must be bound to "+h+`
|
||||
Actual: `+N.attribValue);else if(j==="xmlns"&&N.attribValue!==_)V(N,"xmlns: prefix must be bound to "+_+`
|
||||
Actual: `+N.attribValue);else{var ne=N.tag,U=N.tags[N.tags.length-1]||N;ne.ns===U.ns&&(ne.ns=Object.create(U.ns)),ne.ns[j]=N.attribValue}N.attribList.push([N.attribName,N.attribValue])}else N.tag.attributes[N.attribName]=N.attribValue,M(N,"onattribute",{name:N.attribName,value:N.attribValue});N.attribName=N.attribValue=""}function Z(N,x){if(N.opt.xmlns){var F=N.tag,j=Q(N.tagName);F.prefix=j.prefix,F.local=j.local,F.uri=F.ns[j.prefix]||"",F.prefix&&!F.uri&&(V(N,"Unbound namespace prefix: "+JSON.stringify(N.tagName)),F.uri=j.prefix);var ne=N.tags[N.tags.length-1]||N;F.ns&&ne.ns!==F.ns&&Object.keys(F.ns).forEach(function(q){M(N,"onopennamespace",{prefix:q,uri:F.ns[q]})});for(var U=0,L=N.attribList.length;U<L;U++){var w=N.attribList[U],J=w[0],k=w[1],o=Q(J,!0),c=o.prefix,T=o.local,H=c===""?"":F.ns[c]||"",W={name:J,value:k,prefix:c,local:T,uri:H};c&&c!=="xmlns"&&!H&&(V(N,"Unbound namespace prefix: "+JSON.stringify(c)),W.uri=c),N.tag.attributes[J]=W,M(N,"onattribute",W)}N.attribList.length=0}N.tag.isSelfClosing=!!x,N.sawRoot=!0,N.tags.push(N.tag),M(N,"onopentag",N.tag),x||(!N.noscript&&N.tagName.toLowerCase()==="script"?N.state=O.SCRIPT:N.state=O.TEXT,N.tag=null,N.tagName=""),N.attribName=N.attribValue="",N.attribList.length=0}function D(N){if(!N.tagName){V(N,"Weird empty close tag."),N.textNode+="</>",N.state=O.TEXT;return}if(N.script){if(N.tagName!=="script"){N.script+="</"+N.tagName+">",N.tagName="",N.state=O.SCRIPT;return}M(N,"onscript",N.script),N.script=""}var x=N.tags.length,F=N.tagName;N.strict||(F=F[N.looseCase]());for(var j=F;x--&&N.tags[x].name!==j;)V(N,"Unexpected close tag");if(x<0){V(N,"Unmatched closing tag: "+N.tagName),N.textNode+="</"+N.tagName+">",N.state=O.TEXT;return}N.tagName=F;for(var ne=N.tags.length;ne-- >x;){var U=N.tag=N.tags.pop();N.tagName=N.tag.name,M(N,"onclosetag",N.tagName);var L={};for(var w in U.ns)L[w]=U.ns[w];var J=N.tags[N.tags.length-1]||N;N.opt.xmlns&&U.ns!==J.ns&&Object.keys(U.ns).forEach(function(k){var o=U.ns[k];M(N,"onclosenamespace",{prefix:k,uri:o})})}x===0&&(N.closedRoot=!0),N.tagName=N.attribValue=N.attribName="",N.attribList.length=0,N.state=O.TEXT}function I(N){var x=N.entity,F=x.toLowerCase(),j,ne="";return N.ENTITIES[x]?N.ENTITIES[x]:N.ENTITIES[F]?N.ENTITIES[F]:(x=F,x.charAt(0)==="#"&&(x.charAt(1)==="x"?(x=x.slice(2),j=parseInt(x,16),ne=j.toString(16)):(x=x.slice(1),j=parseInt(x,10),ne=j.toString(10))),x=x.replace(/^0+/,""),isNaN(j)||ne.toLowerCase()!==x?(V(N,"Invalid character entity"),"&"+N.entity+";"):String.fromCodePoint(j))}function Y(N,x){x==="<"?(N.state=O.OPEN_WAKA,N.startTagPosition=N.position):b(x)||(V(N,"Non-whitespace before first tag."),N.textNode=x,N.state=O.TEXT)}function $(N,x){var F="";return x<N.length&&(F=N.charAt(x)),F}function ue(N){var x=this;if(this.error)throw this.error;if(x.closed)return P(x,"Cannot write after close. Assign an onready handler.");if(N===null)return X(x);typeof N=="object"&&(N=N.toString());for(var F=0,j="";j=$(N,F++),x.c=j,!!j;)switch(x.trackPosition&&(x.position++,j===`
|
||||
`?(x.line++,x.column=0):x.column++),x.state){case O.BEGIN:if(x.state=O.BEGIN_WHITESPACE,j==="\uFEFF")continue;Y(x,j);continue;case O.BEGIN_WHITESPACE:Y(x,j);continue;case O.TEXT:if(x.sawRoot&&!x.closedRoot){for(var ne=F-1;j&&j!=="<"&&j!=="&";)j=$(N,F++),j&&x.trackPosition&&(x.position++,j===`
|
||||
`?(x.line++,x.column=0):x.column++);x.textNode+=N.substring(ne,F-1)}j==="<"&&!(x.sawRoot&&x.closedRoot&&!x.strict)?(x.state=O.OPEN_WAKA,x.startTagPosition=x.position):(!b(j)&&(!x.sawRoot||x.closedRoot)&&V(x,"Text data outside of root node."),j==="&"?x.state=O.TEXT_ENTITY:x.textNode+=j);continue;case O.SCRIPT:j==="<"?x.state=O.SCRIPT_ENDING:x.script+=j;continue;case O.SCRIPT_ENDING:j==="/"?x.state=O.CLOSE_TAG:(x.script+="<"+j,x.state=O.SCRIPT);continue;case O.OPEN_WAKA:if(j==="!")x.state=O.SGML_DECL,x.sgmlDecl="";else if(!b(j))if(B(R,j))x.state=O.OPEN_TAG,x.tagName=j;else if(j==="/")x.state=O.CLOSE_TAG,x.tagName="";else if(j==="?")x.state=O.PROC_INST,x.procInstName=x.procInstBody="";else{if(V(x,"Unencoded <"),x.startTagPosition+1<x.position){var U=x.position-x.startTagPosition;j=new Array(U).join(" ")+j}x.textNode+="<"+j,x.state=O.TEXT}continue;case O.SGML_DECL:(x.sgmlDecl+j).toUpperCase()===g?(M(x,"onopencdata"),x.state=O.CDATA,x.sgmlDecl="",x.cdata=""):x.sgmlDecl+j==="--"?(x.state=O.COMMENT,x.comment="",x.sgmlDecl=""):(x.sgmlDecl+j).toUpperCase()===v?(x.state=O.DOCTYPE,(x.doctype||x.sawRoot)&&V(x,"Inappropriately located doctype declaration"),x.doctype="",x.sgmlDecl=""):j===">"?(M(x,"onsgmldeclaration",x.sgmlDecl),x.sgmlDecl="",x.state=O.TEXT):(A(j)&&(x.state=O.SGML_DECL_QUOTED),x.sgmlDecl+=j);continue;case O.SGML_DECL_QUOTED:j===x.q&&(x.state=O.SGML_DECL,x.q=""),x.sgmlDecl+=j;continue;case O.DOCTYPE:j===">"?(x.state=O.TEXT,M(x,"ondoctype",x.doctype),x.doctype=!0):(x.doctype+=j,j==="["?x.state=O.DOCTYPE_DTD:A(j)&&(x.state=O.DOCTYPE_QUOTED,x.q=j));continue;case O.DOCTYPE_QUOTED:x.doctype+=j,j===x.q&&(x.q="",x.state=O.DOCTYPE);continue;case O.DOCTYPE_DTD:x.doctype+=j,j==="]"?x.state=O.DOCTYPE:A(j)&&(x.state=O.DOCTYPE_DTD_QUOTED,x.q=j);continue;case O.DOCTYPE_DTD_QUOTED:x.doctype+=j,j===x.q&&(x.state=O.DOCTYPE_DTD,x.q="");continue;case O.COMMENT:j==="-"?x.state=O.COMMENT_ENDING:x.comment+=j;continue;case O.COMMENT_ENDING:j==="-"?(x.state=O.COMMENT_ENDED,x.comment=C(x.opt,x.comment),x.comment&&M(x,"oncomment",x.comment),x.comment=""):(x.comment+="-"+j,x.state=O.COMMENT);continue;case O.COMMENT_ENDED:j!==">"?(V(x,"Malformed comment"),x.comment+="--"+j,x.state=O.COMMENT):x.state=O.TEXT;continue;case O.CDATA:j==="]"?x.state=O.CDATA_ENDING:x.cdata+=j;continue;case O.CDATA_ENDING:j==="]"?x.state=O.CDATA_ENDING_2:(x.cdata+="]"+j,x.state=O.CDATA);continue;case O.CDATA_ENDING_2:j===">"?(x.cdata&&M(x,"oncdata",x.cdata),M(x,"onclosecdata"),x.cdata="",x.state=O.TEXT):j==="]"?x.cdata+="]":(x.cdata+="]]"+j,x.state=O.CDATA);continue;case O.PROC_INST:j==="?"?x.state=O.PROC_INST_ENDING:b(j)?x.state=O.PROC_INST_BODY:x.procInstName+=j;continue;case O.PROC_INST_BODY:if(!x.procInstBody&&b(j))continue;j==="?"?x.state=O.PROC_INST_ENDING:x.procInstBody+=j;continue;case O.PROC_INST_ENDING:j===">"?(M(x,"onprocessinginstruction",{name:x.procInstName,body:x.procInstBody}),x.procInstName=x.procInstBody="",x.state=O.TEXT):(x.procInstBody+="?"+j,x.state=O.PROC_INST_BODY);continue;case O.OPEN_TAG:B(m,j)?x.tagName+=j:(re(x),j===">"?Z(x):j==="/"?x.state=O.OPEN_TAG_SLASH:(b(j)||V(x,"Invalid character in tag name"),x.state=O.ATTRIB));continue;case O.OPEN_TAG_SLASH:j===">"?(Z(x,!0),D(x)):(V(x,"Forward-slash in opening tag not followed by >"),x.state=O.ATTRIB);continue;case O.ATTRIB:if(b(j))continue;j===">"?Z(x):j==="/"?x.state=O.OPEN_TAG_SLASH:B(R,j)?(x.attribName=j,x.attribValue="",x.state=O.ATTRIB_NAME):V(x,"Invalid attribute name");continue;case O.ATTRIB_NAME:j==="="?x.state=O.ATTRIB_VALUE:j===">"?(V(x,"Attribute without value"),x.attribValue=x.attribName,te(x),Z(x)):b(j)?x.state=O.ATTRIB_NAME_SAW_WHITE:B(m,j)?x.attribName+=j:V(x,"Invalid attribute name");continue;case O.ATTRIB_NAME_SAW_WHITE:if(j==="=")x.state=O.ATTRIB_VALUE;else{if(b(j))continue;V(x,"Attribute without value"),x.tag.attributes[x.attribName]="",x.attribValue="",M(x,"onattribute",{name:x.attribName,value:""}),x.attribName="",j===">"?Z(x):B(R,j)?(x.attribName=j,x.state=O.ATTRIB_NAME):(V(x,"Invalid attribute name"),x.state=O.ATTRIB)}continue;case O.ATTRIB_VALUE:if(b(j))continue;A(j)?(x.q=j,x.state=O.ATTRIB_VALUE_QUOTED):(V(x,"Unquoted attribute value"),x.state=O.ATTRIB_VALUE_UNQUOTED,x.attribValue=j);continue;case O.ATTRIB_VALUE_QUOTED:if(j!==x.q){j==="&"?x.state=O.ATTRIB_VALUE_ENTITY_Q:x.attribValue+=j;continue}te(x),x.q="",x.state=O.ATTRIB_VALUE_CLOSED;continue;case O.ATTRIB_VALUE_CLOSED:b(j)?x.state=O.ATTRIB:j===">"?Z(x):j==="/"?x.state=O.OPEN_TAG_SLASH:B(R,j)?(V(x,"No whitespace between attributes"),x.attribName=j,x.attribValue="",x.state=O.ATTRIB_NAME):V(x,"Invalid attribute name");continue;case O.ATTRIB_VALUE_UNQUOTED:if(!S(j)){j==="&"?x.state=O.ATTRIB_VALUE_ENTITY_U:x.attribValue+=j;continue}te(x),j===">"?Z(x):x.state=O.ATTRIB;continue;case O.CLOSE_TAG:if(x.tagName)j===">"?D(x):B(m,j)?x.tagName+=j:x.script?(x.script+="</"+x.tagName,x.tagName="",x.state=O.SCRIPT):(b(j)||V(x,"Invalid tagname in closing tag"),x.state=O.CLOSE_TAG_SAW_WHITE);else{if(b(j))continue;z(R,j)?x.scr
Line truncated
|
||||
`:"")+Array(S+1).join(A.spaces)}function u(A,S,B){if(S.ignoreAttributes)return"";"attributesFn"in S&&(A=S.attributesFn(A,i,a));var z,O,G,ee,M=[];for(z in A)A.hasOwnProperty(z)&&A[z]!==null&&A[z]!==void 0&&(ee=S.noQuotesForNativeAttributes&&typeof A[z]!="string"?"":'"',O=""+A[z],O=O.replace(/"/g,"""),G="attributeNameFn"in S?S.attributeNameFn(z,O,i,a):z,M.push(S.spaces&&S.indentAttributes?s(S,B+1,!1):" "),M.push(G+"="+ee+("attributeValueFn"in S?S.attributeValueFn(O,z,i,a):O)+ee));return A&&Object.keys(A).length&&S.spaces&&S.indentAttributes&&M.push(s(S,B,!1)),M.join("")}function d(A,S,B){return a=A,i="xml",S.ignoreDeclaration?"":"<?xml"+u(A[S.attributesKey],S,B)+"?>"}function y(A,S,B){if(S.ignoreInstruction)return"";var z;for(z in A)if(A.hasOwnProperty(z))break;var O="instructionNameFn"in S?S.instructionNameFn(z,A[z],i,a):z;if(typeof A[z]=="object")return a=A,i=O,"<?"+O+u(A[z][S.attributesKey],S,B)+"?>";var G=A[z]?A[z]:"";return"instructionFn"in S&&(G=S.instructionFn(G,z,i,a)),"<?"+O+(G?" "+G:"")+"?>"}function g(A,S){return S.ignoreComment?"":"<!--"+("commentFn"in S?S.commentFn(A,i,a):A)+"-->"}function v(A,S){return S.ignoreCdata?"":"<![CDATA["+("cdataFn"in S?S.cdataFn(A,i,a):A.replace("]]>","]]]]><![CDATA[>"))+"]]>"}function h(A,S){return S.ignoreDoctype?"":"<!DOCTYPE "+("doctypeFn"in S?S.doctypeFn(A,i,a):A)+">"}function _(A,S){return S.ignoreText?"":(A=""+A,A=A.replace(/&/g,"&"),A=A.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),"textFn"in S?S.textFn(A,i,a):A)}function E(A,S){var B;if(A.elements&&A.elements.length)for(B=0;B<A.elements.length;++B)switch(A.elements[B][S.typeKey]){case"text":if(S.indentText)return!0;break;case"cdata":if(S.indentCdata)return!0;break;case"instruction":if(S.indentInstruction)return!0;break;case"doctype":case"comment":case"element":return!0;default:return!0}return!1}function R(A,S,B){a=A,i=A.name;var z=[],O="elementNameFn"in S?S.elementNameFn(A.name,A):A.name;z.push("<"+O),A[S.attributesKey]&&z.push(u(A[S.attributesKey],S,B));var G=A[S.elementsKey]&&A[S.elementsKey].length||A[S.attributesKey]&&A[S.attributesKey]["xml:space"]==="preserve";return G||("fullTagEmptyElementFn"in S?G=S.fullTagEmptyElementFn(A.name,A):G=S.fullTagEmptyElement),G?(z.push(">"),A[S.elementsKey]&&A[S.elementsKey].length&&(z.push(m(A[S.elementsKey],S,B+1)),a=A,i=A.name),z.push(S.spaces&&E(A,S)?`
|
||||
`+Array(B+1).join(S.spaces):""),z.push("</"+O+">")):z.push("/>"),z.join("")}function m(A,S,B,z){return A.reduce(function(O,G){var ee=s(S,B,z&&!O);switch(G.type){case"element":return O+ee+R(G,S,B);case"comment":return O+ee+g(G[S.commentKey],S);case"doctype":return O+ee+h(G[S.doctypeKey],S);case"cdata":return O+(S.indentCdata?ee:"")+v(G[S.cdataKey],S);case"text":return O+(S.indentText?ee:"")+_(G[S.textKey],S);case"instruction":var M={};return M[G[S.nameKey]]=G[S.attributesKey]?G:G[S.instructionKey],O+(S.indentInstruction?ee:"")+y(M,S,B)}},"")}function f(A,S,B){var z;for(z in A)if(A.hasOwnProperty(z))switch(z){case S.parentKey:case S.attributesKey:break;case S.textKey:if(S.indentText||B)return!0;break;case S.cdataKey:if(S.indentCdata||B)return!0;break;case S.instructionKey:if(S.indentInstruction||B)return!0;break;case S.doctypeKey:case S.commentKey:return!0;default:return!0}return!1}function p(A,S,B,z,O){a=A,i=S;var G="elementNameFn"in B?B.elementNameFn(S,A):S;if(typeof A>"u"||A===null||A==="")return"fullTagEmptyElementFn"in B&&B.fullTagEmptyElementFn(S,A)||B.fullTagEmptyElement?"<"+G+"></"+G+">":"<"+G+"/>";var ee=[];if(S){if(ee.push("<"+G),typeof A!="object")return ee.push(">"+_(A,B)+"</"+G+">"),ee.join("");A[B.attributesKey]&&ee.push(u(A[B.attributesKey],B,z));var M=f(A,B,!0)||A[B.attributesKey]&&A[B.attributesKey]["xml:space"]==="preserve";if(M||("fullTagEmptyElementFn"in B?M=B.fullTagEmptyElementFn(S,A):M=B.fullTagEmptyElement),M)ee.push(">");else return ee.push("/>"),ee.join("")}return ee.push(b(A,B,z+1,!1)),a=A,i=S,S&&ee.push((O?s(B,z,!1):"")+"</"+G+">"),ee.join("")}function b(A,S,B,z){var O,G,ee,M=[];for(G in A)if(A.hasOwnProperty(G))for(ee=n(A[G])?A[G]:[A[G]],O=0;O<ee.length;++O){switch(G){case S.declarationKey:M.push(d(ee[O],S,B));break;case S.instructionKey:M.push((S.indentInstruction?s(S,B,z):"")+y(ee[O],S,B));break;case S.attributesKey:case S.parentKey:break;case S.textKey:M.push((S.indentText?s(S,B,z):"")+_(ee[O],S));break;case S.cdataKey:M.push((S.indentCdata?s(S,B,z):"")+v(ee[O],S));break;case S.doctypeKey:M.push(s(S,B,z)+h(ee[O],S));break;case S.commentKey:M.push(s(S,B,z)+g(ee[O],S));break;default:M.push(s(S,B,z)+p(ee[O],G,S,B,f(ee[O],S)))}z=z&&!M.length}return M.join("")}t.exports=function(A,S){S=l(S);var B=[];return a=A,i="_root_",S.compact?B.push(b(A,S,0,!0)):(A[S.declarationKey]&&B.push(d(A[S.declarationKey],S,0)),A[S.elementsKey]&&A[S.elementsKey].length&&B.push(m(A[S.elementsKey],S,0,!B.length))),B.join("")}}),hb=he((e,t)=>{var r=k0();t.exports=function(n,a){n instanceof Buffer&&(n=n.toString());var i=null;if(typeof n=="string")try{i=JSON.parse(n)}catch{throw new Error("The JSON structure is invalid")}else i=n;return r(i,a)}}),B0=he((e,t)=>{t.exports={xml2js:D0(),xml2json:fb(),js2xml:k0(),json2xml:hb()}})(),tf=e=>{switch(e.type){case void 0:case"element":const t=new pb(e.name,e.attributes),r=e.elements||[];for(const n of r){const a=tf(n);a!==void 0&&t.push(a)}return t;case"text":return e.text;default:return}},db=class extends Se{},pb=class extends de{static fromXmlString(e){return tf((0,B0.xml2js)(e,{compact:!1}))}constructor(e,t){super(e),t&&this.root.push(new db(t))}push(e){this.root.push(e)}},mb=class extends de{constructor(e){super(""),this._attr=e}prepForXml(e){return{_attr:this._attr}}},M0=class extends de{constructor(e,t){super(e),t&&(this.root=t.root)}},dt=e=>{if(isNaN(e))throw new Error(`Invalid value '${e}' specified. Must be an integer.`);return Math.floor(e)},qs=e=>{const t=dt(e);if(t<0)throw new Error(`Invalid value '${e}' specified. Must be a positive integer.`);return t},z0=(e,t)=>{const r=t*2;if(e.length!==r||isNaN(+`0x${e}`))throw new Error(`Invalid hex value '${e}'. Expected ${r} digit hex value`);return e},Ih=e=>z0(e,1),rf=e=>{const t=e.slice(-2),r=e.substring(0,e.length-2);return`${Number(r)}${t}`},U0=e=>{const t=rf(e);if(parseFloat(t)<0)throw new Error(`Invalid value '${t}' specified. Expected a positive number.`);return t},Oa=e=>e==="auto"?e:z0(e.charAt(0)==="#"?e.substring(1):e,3),Er=e=>typeof e=="string"?rf(e):dt(e),yb=e=>typeof e=="string"?U0(e):qs(e),ct=e=>typeof e=="string"?U0(e):qs(e),vb=e=>{const t=e.substring(0,e.length-1);return`${Number(t)}%`},L0=e=>typeof e=="number"?dt(e):e.slice(-1)==="%"?vb(e):rf(e),gb=qs,bb=qs,wb=e=>e.toISOString(),fe=class extends de{constructor(e,t=!0){super(e),t!==!0&&this.root.push(new pt({val:t}))}},Do=class extends de{constructor(e,t){super(e),this.root.push(new pt({val:yb(t)}))}},_b=class extends de{},Rn=class extends de{constructor(e,t){super(e),this.root.push(new pt({val:t}))}},Ja=(e,t)=>new be({name:e,attributes:{value:{key:"w:val",value:t}}}),xi=class extends de{constructor(e,t){super(e),this.root.push(new pt({val:t}))}},yn=class extends de{constructor(e,t){super(e),this.root.push(t)}},be=class extends de{constructor({name:e,attributes:t,children:r}){super(e),t&&this.root.push(new g1(t)),r&&this.root.push(...r)}},$t={START:"start",LEFT:"left"},j0=e=>new be({name:"w:jc",attributes:{val:{key:"w:val",value:e}}}),Ge=(e,{color:t
Line truncated
|
||||
|
||||
JSZip v3.10.1 - A JavaScript class for generating and reading zip files
|
||||
<http://stuartk.com/jszip>
|
||||
|
||||
(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
|
||||
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
|
||||
|
||||
JSZip uses the library pako released under the MIT license :
|
||||
https://github.com/nodeca/pako/blob/main/LICENSE
|
||||
*/(function(r){typeof e=="object"&&typeof t<"u"?t.exports=r():typeof define=="function"&&define.amd?define([],r):(typeof window<"u"?window:typeof yt<"u"?yt:typeof self<"u"?self:this).JSZip=r()})(function(){return function r(n,a,i){function l(d,y){if(!a[d]){if(!n[d]){var g=typeof xl=="function"&&xl;if(!y&&g)return g(d,!0);if(s)return s(d,!0);var v=new Error("Cannot find module '"+d+"'");throw v.code="MODULE_NOT_FOUND",v}var h=a[d]={exports:{}};n[d][0].call(h.exports,function(_){var E=n[d][1][_];return l(E||_)},h,h.exports,r,n,a,i)}return a[d].exports}for(var s=typeof xl=="function"&&xl,u=0;u<i.length;u++)l(i[u]);return l}({1:[function(r,n,a){var i=r("./utils"),l=r("./support"),s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";a.encode=function(u){for(var d,y,g,v,h,_,E,R=[],m=0,f=u.length,p=f,b=i.getTypeOf(u)!=="string";m<u.length;)p=f-m,g=b?(d=u[m++],y=m<f?u[m++]:0,m<f?u[m++]:0):(d=u.charCodeAt(m++),y=m<f?u.charCodeAt(m++):0,m<f?u.charCodeAt(m++):0),v=d>>2,h=(3&d)<<4|y>>4,_=1<p?(15&y)<<2|g>>6:64,E=2<p?63&g:64,R.push(s.charAt(v)+s.charAt(h)+s.charAt(_)+s.charAt(E));return R.join("")},a.decode=function(u){var d,y,g,v,h,_,E=0,R=0,m="data:";if(u.substr(0,m.length)===m)throw new Error("Invalid base64 input, it looks like a data url.");var f,p=3*(u=u.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(u.charAt(u.length-1)===s.charAt(64)&&p--,u.charAt(u.length-2)===s.charAt(64)&&p--,p%1!=0)throw new Error("Invalid base64 input, bad content length.");for(f=l.uint8array?new Uint8Array(0|p):new Array(0|p);E<u.length;)d=s.indexOf(u.charAt(E++))<<2|(v=s.indexOf(u.charAt(E++)))>>4,y=(15&v)<<4|(h=s.indexOf(u.charAt(E++)))>>2,g=(3&h)<<6|(_=s.indexOf(u.charAt(E++))),f[R++]=d,h!==64&&(f[R++]=y),_!==64&&(f[R++]=g);return f}},{"./support":30,"./utils":32}],2:[function(r,n,a){var i=r("./external"),l=r("./stream/DataWorker"),s=r("./stream/Crc32Probe"),u=r("./stream/DataLengthProbe");function d(y,g,v,h,_){this.compressedSize=y,this.uncompressedSize=g,this.crc32=v,this.compression=h,this.compressedContent=_}d.prototype={getContentWorker:function(){var y=new l(i.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new u("data_length")),g=this;return y.on("end",function(){if(this.streamInfo.data_length!==g.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),y},getCompressedWorker:function(){return new l(i.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},d.createWorkerFrom=function(y,g,v){return y.pipe(new s).pipe(new u("uncompressedSize")).pipe(g.compressWorker(v)).pipe(new u("compressedSize")).withStreamInfo("compression",g)},n.exports=d},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(r,n,a){var i=r("./stream/GenericWorker");a.STORE={magic:"\0\0",compressWorker:function(){return new i("STORE compression")},uncompressWorker:function(){return new i("STORE decompression")}},a.DEFLATE=r("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(r,n,a){var i=r("./utils"),l=function(){for(var s,u=[],d=0;d<256;d++){s=d;for(var y=0;y<8;y++)s=1&s?3988292384^s>>>1:s>>>1;u[d]=s}return u}();n.exports=function(s,u){return s!==void 0&&s.length?i.getTypeOf(s)!=="string"?function(d,y,g,v){var h=l,_=v+g;d^=-1;for(var E=v;E<_;E++)d=d>>>8^h[255&(d^y[E])];return-1^d}(0|u,s,s.length,0):function(d,y,g,v){var h=l,_=v+g;d^=-1;for(var E=v;E<_;E++)d=d>>>8^h[255&(d^y.charCodeAt(E))];return-1^d}(0|u,s,s.length,0):0}},{"./utils":32}],5:[function(r,n,a){a.base64=!1,a.binary=!1,a.dir=!1,a.createFolders=!0,a.date=null,a.compression=null,a.compressionOptions=null,a.comment=null,a.unixPermissions=null,a.dosPermissions=null},{}],6:[function(r,n,a){var i=null;i=typeof Promise<"u"?Promise:r("lie"),n.exports={Promise:i}},{lie:37}],7:[function(r,n,a){var i=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",l=r("pako"),s=r("./utils"),u=r("./stream/GenericWorker"),d=i?"uint8array":"array";function y(g,v){u.call(this,"FlateWorker/"+g),this._pako=null,this._pakoAction=g,this._pakoOptions=v,this.meta={}}a.magic="\b\0",s.inherits(y,u),y.prototype.processChunk=function(g){this.meta=g.meta,this._pako===null&&this._createPako(),this._pako.push(s.transformTo(d,g.data),!1)},y.prototype.flush=function(){u.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},y.prototype.cleanUp=function(){u.prototype.cleanUp.call(this),this._pako=null},y.prototype._createPako=function(){this._pako=new l[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var g=this;this._pako.onData=function(v){g.push({data:v,meta:g.meta})}},a.compressWorker=function(g){return new y("Deflate",g)},a.uncompressWorker=function(){return new y("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(r,n,a){functLine truncated
|
||||
\0`,Y+=i(Z,2),Y+=S.magic,Y+=i(p,2),Y+=i(b,2),Y+=i(te.crc32,4),Y+=i(te.compressedSize,4),Y+=i(te.uncompressedSize,4),Y+=i(z.length,2),Y+=i(P.length,2),{fileRecord:g.LOCAL_FILE_HEADER+Y+z+P,dirRecord:g.CENTRAL_FILE_HEADER+i(I,2)+Y+i(ee.length,2)+"\0\0\0\0"+i(D,4)+i(R,4)+z+P+ee}}var s=r("../utils"),u=r("../stream/GenericWorker"),d=r("../utf8"),y=r("../crc32"),g=r("../signature");function v(h,_,E,R){u.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=_,this.zipPlatform=E,this.encodeFileName=R,this.streamFiles=h,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}s.inherits(v,u),v.prototype.push=function(h){var _=h.meta.percent||0,E=this.entriesCount,R=this._sources.length;this.accumulate?this.contentBuffer.push(h):(this.bytesWritten+=h.data.length,u.prototype.push.call(this,{data:h.data,meta:{currentFile:this.currentFile,percent:E?(_+100*(E-R-1))/E:100}}))},v.prototype.openedSource=function(h){this.currentSourceOffset=this.bytesWritten,this.currentFile=h.file.name;var _=this.streamFiles&&!h.file.dir;if(_){var E=l(h,_,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:E.fileRecord,meta:{percent:0}})}else this.accumulate=!0},v.prototype.closedSource=function(h){this.accumulate=!1;var _=this.streamFiles&&!h.file.dir,E=l(h,_,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(E.dirRecord),_)this.push({data:function(R){return g.DATA_DESCRIPTOR+i(R.crc32,4)+i(R.compressedSize,4)+i(R.uncompressedSize,4)}(h),meta:{percent:100}});else for(this.push({data:E.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},v.prototype.flush=function(){for(var h=this.bytesWritten,_=0;_<this.dirRecords.length;_++)this.push({data:this.dirRecords[_],meta:{percent:100}});var E=this.bytesWritten-h,R=function(m,f,p,b,A){var S=s.transformTo("string",A(b));return g.CENTRAL_DIRECTORY_END+"\0\0\0\0"+i(m,2)+i(m,2)+i(f,4)+i(p,4)+i(S.length,2)+S}(this.dirRecords.length,E,h,this.zipComment,this.encodeFileName);this.push({data:R,meta:{percent:100}})},v.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},v.prototype.registerPrevious=function(h){this._sources.push(h);var _=this;return h.on("data",function(E){_.processChunk(E)}),h.on("end",function(){_.closedSource(_.previous.streamInfo),_._sources.length?_.prepareNextSource():_.end()}),h.on("error",function(E){_.error(E)}),this},v.prototype.resume=function(){return!!u.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},v.prototype.error=function(h){var _=this._sources;if(!u.prototype.error.call(this,h))return!1;for(var E=0;E<_.length;E++)try{_[E].error(h)}catch{}return!0},v.prototype.lock=function(){u.prototype.lock.call(this);for(var h=this._sources,_=0;_<h.length;_++)h[_].lock()},n.exports=v},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(r,n,a){var i=r("../compressions"),l=r("./ZipFileWorker");a.generateWorker=function(s,u,d){var y=new l(u.streamFiles,d,u.platform,u.encodeFileName),g=0;try{s.forEach(function(v,h){g++;var _=function(f,p){var b=f||p,A=i[b];if(!A)throw new Error(b+" is not a valid compression method !");return A}(h.options.compression,u.compression),E=h.options.compressionOptions||u.compressionOptions||{},R=h.dir,m=h.date;h._compressWorker(_,E).withStreamInfo("file",{name:v,dir:R,date:m,comment:h.comment||"",unixPermissions:h.unixPermissions,dosPermissions:h.dosPermissions}).pipe(y)}),y.entriesCount=g}catch(v){y.error(v)}return y}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(r,n,a){function i(){if(!(this instanceof i))return new i;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var l=new i;for(var s in this)typeof this[s]!="function"&&(l[s]=this[s]);return l}}(i.prototype=r("./object")).loadAsync=r("./load"),i.support=r("./support"),i.defaults=r("./defaults"),i.version="3.10.1",i.loadAsync=function(l,s){return new i().loadAsync(l,s)},i.external=r("./external"),n.exports=i},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(r,n,a){var i=r("./utils"),l=r("./external"),s=r("./utf8"),u=r("./zipEntries"),d=r("./stream/Crc32Probe"),y=r("./nodejsUtils");function g(v){return new l.Promise(function(h,_){var E=v.decompressed.getContentWorker().pipe(new d);E.on("error",function(R){_(R)}).on("end",function(){E.streamInfo.crc32!==v.decompressed.crc32?_(new Error("Corrupted zip : CRC32 mismatch")):h()}).resume()})}n.exports=function(v,h){var _=t
Line truncated
|
||||
`:"")),h&&h()}function R(m){return m.interrupt?(m.interrupt.append=g,m.interrupt.end=E,m.interrupt=!1,g(!0),!0):!1}if(g(!1,v.indents+(v.name?"<"+v.name:"")+(v.attributes.length?" "+v.attributes.join(" "):"")+(_?v.name?">":"":v.name?"/>":"")+(v.indent&&_>1?`
|
||||
`:"")),!_)return g(!1,v.indent?`
|
||||
`:"");R(v)||E()}function y(g,v){return g+'="'+r(v)+'"'}t.exports=i,t.exports.element=t.exports.Element=l})()),Qx=Kc(Zx()),Jx=Jc(),ei=0,Io=32,$x=32,eS=(e,t)=>{const r=t.replace(/-/g,"");if(r.length!==$x)throw new Error(`Error: Cannot extract GUID from font filename: ${t}`);const n=r.replace(/(..)/g,"$1 ").trim().split(" ").map(l=>parseInt(l,16));n.reverse();const a=e.slice(ei,Io).map((l,s)=>l^n[s%n.length]),i=new Uint8Array(ei+a.length+Math.max(0,e.length-Io));return i.set(e.slice(0,ei)),i.set(a,ei),i.set(e.slice(Io),ei+a.length),i},tS=class{format(e,t={stack:[]}){const r=e.prepForXml(t);if(r)return r;throw Error("XMLComponent did not format correctly")}},rS=class{replace(e,t,r){let n=e;return t.forEach((a,i)=>{n=n.replace(new RegExp(`{${a.fileName}}`,"g"),(r+i).toString())}),n}getMediaData(e,t){return t.Array.filter(r=>e.search(`{${r.fileName}}`)>0)}},nS=class{replace(e,t){let r=e;for(const n of t)r=r.replace(new RegExp(`{${n.reference}-${n.instance}}`,"g"),n.numId.toString());return r}},aS=class{constructor(){se(this,"formatter",void 0),se(this,"imageReplacer",void 0),se(this,"numberingReplacer",void 0),this.formatter=new tS,this.imageReplacer=new rS,this.numberingReplacer=new nS}compile(e,t,r=[]){const n=new Qx.default,a=this.xmlifyFile(e,t),i=new Map(Object.entries(a));for(const[,l]of i)if(Array.isArray(l))for(const s of l)n.file(s.path,Bo(s.data));else n.file(l.path,Bo(l.data));for(const l of r)n.file(l.path,Bo(l.data));for(const l of e.Media.Array)l.type!=="svg"?n.file(`word/media/${l.fileName}`,l.data):(n.file(`word/media/${l.fileName}`,l.data),n.file(`word/media/${l.fallback.fileName}`,l.fallback.data));for(const[l,{data:s,fontKey:u}]of e.FontTable.fontOptionsWithKey.entries())n.file(`word/fonts/font${l+1}.odttf`,eS(s,u));return n}xmlifyFile(e,t){const r=e.Document.Relationships.RelationshipCount+1,n=(0,Le.default)(this.formatter.format(e.Document.View,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),a=e.Comments.Relationships.RelationshipCount+1,i=(0,Le.default)(this.formatter.format(e.Comments,{viewWrapper:{View:e.Comments,Relationships:e.Comments.Relationships},file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),l=e.FootNotes.Relationships.RelationshipCount+1,s=(0,Le.default)(this.formatter.format(e.FootNotes.View,{viewWrapper:e.FootNotes,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),u=this.imageReplacer.getMediaData(n,e.Media),d=this.imageReplacer.getMediaData(i,e.Media),y=this.imageReplacer.getMediaData(s,e.Media);return ye(ye({Relationships:{data:(u.forEach((g,v)=>{e.Document.Relationships.addRelationship(r+v,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${g.fileName}`)}),e.Document.Relationships.addRelationship(e.Document.Relationships.RelationshipCount+1,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable","fontTable.xml"),(0,Le.default)(this.formatter.format(e.Document.Relationships,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}})),path:"word/_rels/document.xml.rels"},Document:{data:(()=>{const g=this.imageReplacer.replace(n,u,r);return this.numberingReplacer.replace(g,e.Numbering.ConcreteNumbering)})(),path:"word/document.xml"},Styles:{data:(()=>{const g=(0,Le.default)(this.formatter.format(e.Styles,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}});return this.numberingReplacer.replace(g,e.Numbering.ConcreteNumbering)})(),path:"word/styles.xml"},Properties:{data:(0,Le.default)(this.formatter.format(e.CoreProperties,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"docProps/core.xml"},Numbering:{data:(0,Le.default)(this.formatter.format(e.Numbering,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/numbering.xml"},FileRelationships:{data:(0,Le.default)(this.formatter.format(e.FileRelationships,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:"_rels/.rels"},HeaderRelationships:e.Headers.map((g,v)=>{const h=(0,Le.default)(this.formatter.format(g.View,{viewWrapper:g,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}});return this.imageReplacer.getMediaData(h,e.Media).forEach((_,E)=>{g.Relationships.addRelationship(E,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${_.fileName}`)}),{data:(0,Le.default)(this.formatter.format(g.Relationships,{viewWrapper:g,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:`word/_rels/header${v+1}.xml.rels`}}),FooterRelationships:e.Footers.map((g,v)=>{const h=(0,Le.default)(this.formatter.format(g.View,{viewWrapper:g,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}});return this.imageReplacer.getMediaData(h,e.Media).forEach((_,E)=>{g.Relationships.addRelationship(E,"http://schemas
Line truncated
|
||||
body { font-family: Georgia, serif; color: #0f172a; margin: 0; padding: 32px; }
|
||||
.page { max-width: 900px; margin: auto; }
|
||||
h1, h2 { font-family: Georgia, serif; }
|
||||
h1 { margin-bottom: 0.5rem; }
|
||||
.chunk { margin-bottom: 2rem; padding: 1.25rem 1.5rem; border: 1px solid #cbd5e1; border-radius: 0.75rem; background: #ffffff; }
|
||||
.verse { margin: 0 0 0.75rem; line-height: 1.7; }
|
||||
.scripture-ref { font-weight: 700; margin-bottom: 0.75rem; }
|
||||
.notes, .greek { margin-top: 1rem; }
|
||||
.greek table { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
|
||||
.greek th, .greek td { border: 1px solid #d1d5db; padding: 0.65rem; text-align: left; }
|
||||
.greek th { background: #f8fafc; }
|
||||
.definition { margin-top: 0.75rem; font-size: 0.95rem; line-height: 1.6; }
|
||||
.definition-block { margin-top: 1rem; padding: 1rem; border: 1px solid #e2e8f0; border-radius: 0.75rem; background: #f8fafc; }
|
||||
`,r=e.chunks.map(n=>{const a=n.startVerse===n.endVerse?`${e.book} ${e.chapter}:${n.startVerse}`:`${e.book} ${e.chapter}:${n.startVerse}-${n.endVerse}`,i=e.verses.filter(y=>y.number>=n.startVerse&&y.number<=n.endVerse).map(y=>`<p class="verse"><strong>${y.number}</strong> ${y.text}</p>`).join(""),l=n.notes.trim().replace(/\n/g,"<br />")||"<em>No notes.</em>",s=n.greekWords.map(y=>`
|
||||
<tr>
|
||||
<td><strong>${y.strongNumber}</strong></td>
|
||||
<td>${y.lexeme||""}</td>
|
||||
<td>${y.transliteration||""}</td>
|
||||
<td>${y.partOfSpeech||""}</td>
|
||||
<td>${y.shortDefinition||""}</td>
|
||||
</tr>
|
||||
`).join(""),u=oS(s),d=n.greekWords.filter(y=>y.definitionHtml).map(y=>`
|
||||
<div class="definition-block">
|
||||
<p><strong>${y.strongNumber} — ${y.lexeme||""}</strong></p>
|
||||
<div class="definition">${y.definitionHtml}</div>
|
||||
</div>
|
||||
`).join("");return`
|
||||
<section class="chunk">
|
||||
<div class="scripture-ref">${a}</div>
|
||||
${i}
|
||||
<div class="notes"><strong>STUDY NOTES:</strong><p>${l}</p></div>
|
||||
<div class="greek"><strong>GREEK WORDS:</strong>
|
||||
${s?u:"<p><em>No Greek word notes.</em></p>"}
|
||||
${d}
|
||||
</div>
|
||||
</section>
|
||||
`}).join("");return`<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>${e.title}</title>
|
||||
<style>${t}</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="page">
|
||||
<h1>${e.title}</h1>
|
||||
<h2>${e.translation} — ${e.book} ${e.chapter}</h2>
|
||||
${r}
|
||||
</div>
|
||||
</body>
|
||||
</html>`}function oS(e){return`
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Strong's</th>
|
||||
<th>Greek</th>
|
||||
<th>Transliteration</th>
|
||||
<th>Part of Speech</th>
|
||||
<th>Short Definition</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
${e}
|
||||
</tbody>
|
||||
</table>
|
||||
`}function uS(e){const t=/Part\(s\) of speech:\s*([^<]+)/i.exec(e||"");return t&&t[1]?t[1].trim():""}function cS(e=""){const r=new DOMParser().parseFromString(e,"text/html"),n=[];return r.body.childNodes.forEach(a=>{if(a.nodeType===Node.TEXT_NODE){n.push(a.textContent||"");return}if(a.nodeName==="BR"||a.nodeName==="P"){n.push(a.textContent||""),n.push(`
|
||||
`);return}n.push(a.textContent||"")}),n.join("").replace(/\n{2,}/g,`
|
||||
`).trim()}function ld(e){return e.split(/\n+/).map(t=>t.trim()).filter(Boolean).map(t=>new qe({children:[new ji({text:t})]}))}function Gu(e){return typeof e=="string"?e:Array.isArray(e)?e.map(Gu).join(""):e&&typeof e=="object"?e.lineBreak||e.type==="line_break"?`
|
||||
`:Array.isArray(e.content)?Gu(e.content):"":""}function fS(e){var r;if(e!=null&&e.verses&&Array.isArray(e.verses))return e.verses.map(n=>({number:n.number,text:n.text}));const t=(r=e==null?void 0:e.chapter)==null?void 0:r.content;return Array.isArray(t)?t.filter(n=>(n==null?void 0:n.type)==="verse").map(n=>({number:n.number,text:Gu(n.content).replace(/\s+/g," ").trim()})):[]}const hS=()=>{const[e,t]=lt.useState(["BSB"]),[r,n]=lt.useState({translation:"BSB",book:"Titus",bookAbbrev:"TIT",chapter:"1",title:"Titus 1 Study"}),[a,i]=lt.useState(!1),[l,s]=lt.useState(null),[u,d]=lt.useState(""),[y,g]=lt.useState(null),[v,h]=lt.useState(null),[_,E]=lt.useState(!1),[R,m]=lt.useState(""),[f,p]=lt.useState(""),b=lt.useRef(null);lt.useEffect(()=>{fetch("https://bible.helloao.org/api/available_translations.json").then(D=>D.json()).then(D=>{Array.isArray(D)&&D.length>0&&t(D)}).catch(()=>{})},[]),lt.useEffect(()=>{a||n(D=>({...D,title:`${D.book} ${D.chapter} Study`}))},[r.book,r.chapter,a]),lt.useEffect(()=>{if(l)return b.current&&window.clearTimeout(b.current),b.current=window.setTimeout(()=>{const D=ad(l.translation,l.bookAbbrev,l.chapter);window.localStorage.setItem(D,JSON.stringify(l)),d("Saved"),window.setTimeout(()=>d(""),1400)},1e3),()=>{b.current&&window.clearTimeout(b.current)}},[l]);const A=(D,I)=>{if(D==="book"){const Y=qo.find($=>$.abbrev===I)??qo[0];n($=>({...$,book:Y.name,bookAbbrev:Y.abbrev}))}else n(Y=>({...Y,[D]:I}))},S=D=>({translation:r.translation,book:r.book,bookAbbrev:r.bookAbbrev,chapter:r.chapter,title:r.title,verses:D,chunks:[],selectedChunkId:null}),B=async()=>{if(!r.bookAbbrev||!r.chapter){m("Please choose a book and chapter.");return}m(""),E(!0);try{const D=await fetch(`https://bible.helloao.org/api/${r.translation}/${r.bookAbbrev}/${r.chapter}.json`);if(!D.ok)throw new Error("Unable to load chapter.");const I=await D.json(),Y=fS(I);if(!I||!Array.isArray(Y)||Y.length===0)throw new Error("Invalid Bible data returned.");const $=ad(r.translation,r.bookAbbrev,r.chapter),ue=window.localStorage.getItem($);if(ue){const N=JSON.parse(ue);if(N&&N.bookAbbrev===r.bookAbbrev&&N.chapter===r.chapter&&window.confirm("A saved study exists for this chapter. Resume saved project?")){s(N),E(!1);return}}s(S(Y))}catch(D){m(D.message||"Failed to load chapter.")}finally{E(!1)}},z=D=>{s(I=>I&&D(I))},O=(D,I)=>{if(!l)return;if(l.chunks.find(ue=>ue.startVerse===D&&ue.endVerse===I)){p("That chunk already exists."),window.setTimeout(()=>p(""),1800);return}const $={id:id(),startVerse:D,endVerse:I,notes:"",greekWords:[]};z(ue=>({...ue,chunks:[...ue.chunks,$],selectedChunkId:$.id}))},G=(D,I)=>{if(I.shiftKey&&y!==null){const Y=Math.min(y,D),$=Math.max(y,D);O(Y,$),g(null),h(null);return}g(D),h(D)},ee=(l==null?void 0:l.chunks.find(D=>D.id===l.selectedChunkId))??null,M=(D,I)=>{z(Y=>({...Y,chunks:Y.chunks.map($=>$.id===D?{...$,...I}:$)}))},K=(D,I,Y)=>{z($=>({...$,chunks:$.chunks.map(ue=>ue.id!==D?ue:{...ue,greekWords:ue.greekWords.map(N=>N.id===I?{...N,...Y}:N)})}))},C=D=>{const I={id:id(),query:"",strongNumber:"",lexeme:"",transliteration:"",partOfSpeech:"",shortDefinition:"",definitionHtml:"",loading:!1};z(Y=>({...Y,chunks:Y.chunks.map($=>$.id===D?{...$,greekWords:[...$.greekWords,I]}:$)}))},P=(D,I)=>{z(Y=>({...Y,chunks:Y.chunks.map($=>$.id===D?{...$,greekWords:$.greekWords.filter(ue=>ue.id!==I)}:$)}))},X=async(D,I)=>{const Y=l==null?void 0:l.chunks.find(ue=>ue.id===D),$=Y==null?void 0:Y.greekWords.find(ue=>ue.id===I);if(!(!$||!$.query.trim())){K(D,I,{loading:!0});try{const ue=encodeURIComponent($.query.trim()),N=await fetch(`https://bolls.life/dictionary-definition/BDBT/${ue}/`);if(!N.ok)throw new Error("Lookup failed.");const x=await N.json();if(!Array.isArray(x)||x.length===0){K(D,I,{strongNumber:"",shortDefinition:"No definition found.",definitionHtml:""});return}const F=x[0],j=uS(F.definition||"");K(D,I,{strongNumber:F.topic||$.query,lexeme:F.lexeme||"",transliteration:F.transliteration||"",partOfSpeech:j||$.partOfSpeech||"",shortDefinition:F.short_definition||"",definitionHtml:F.definition||""})}catch{K(D,I,{shortDefinition:"Lookup failed."})}finally{K(D,I,{loading:!1})}}},V=(D,I)=>{z(Y=>{const $=Y.chunks.findIndex(F=>F.id===D);if($<0)return Y;const ue=$+I;if(ue<0||ue>=Y.chunks.length)return Y;const N=[...Y.chunks],[x]=N.splice($,1);return N.splice(ue,0,x),{...Y,chunks:N}})},re=D=>{z(I=>{var ue;const Y=I.chunks.filter(N=>N.id!==D),$=I.selectedChunkId===D?((ue=Y[0])==null?void 0:ue.id)??null:I.selectedChunkId;return{...I,chunks:Y,selectedChunkId:$}})},Q=()=>{if(!l)return;const D=sS(l),I=new Blob([D],{type:"text/html;charset=utf-8"}),Y=URL.createObjectURL(I),$=document.createElement("a");$.href=Y,$.download=`${l.book}-${l.chapter}-study.html`,document.body.appendChild($),$.click(),document.body.removeChild($),URL.revokeObjectURL(Y)},te=async()=>{if(!l)return;const D=[new qe({text:l.title,heading:Vh.TITLE}),new qe({text:`${l.translation} — ${l.book} ${l.chapter}`,spacing:{after:300}})];l.chunks.forEach(N=>{const x=N.startVe
Line truncated
|
||||
Vendored
-13
@@ -1,13 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Bible Study Project</title>
|
||||
<script type="module" crossorigin src="/assets/index-Bou6tA49.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-0aZ8QMJ1.css">
|
||||
</head>
|
||||
<body class="bg-slate-50 text-slate-900">
|
||||
<div id="root"></div>
|
||||
</body>
|
||||
</html>
|
||||
+3
-3
@@ -1,10 +1,10 @@
|
||||
import React from 'react';
|
||||
import { StrictMode } from 'react';
|
||||
import ReactDOM from 'react-dom/client';
|
||||
import App from './App.jsx';
|
||||
import './index.css';
|
||||
|
||||
ReactDOM.createRoot(document.getElementById('root')).render(
|
||||
<React.StrictMode>
|
||||
<StrictMode>
|
||||
<App />
|
||||
</React.StrictMode>
|
||||
</StrictMode>
|
||||
);
|
||||
Reference in new issue
Block a user