bulma/docs/assets/javascript/bulma-customizer/index.js

64 lines
821 KiB
JavaScript
Raw Normal View History

2024-06-27 03:03:20 +00:00
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(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 r(a){if(a.ep)return;a.ep=!0;const i=n(a);fetch(a.href,i)}})();var wa=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ya(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ky={exports:{}},Ka={},Xy={exports:{}},B={};/**
2024-06-24 02:25:58 +00:00
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
2024-06-27 03:03:20 +00:00
*/var Fr=Symbol.for("react.element"),XT=Symbol.for("react.portal"),ZT=Symbol.for("react.fragment"),QT=Symbol.for("react.strict_mode"),JT=Symbol.for("react.profiler"),ew=Symbol.for("react.provider"),tw=Symbol.for("react.context"),nw=Symbol.for("react.forward_ref"),rw=Symbol.for("react.suspense"),aw=Symbol.for("react.memo"),iw=Symbol.for("react.lazy"),dg=Symbol.iterator;function ow(e){return e===null||typeof e!="object"?null:(e=dg&&e[dg]||e["@@iterator"],typeof e=="function"?e:null)}var Zy={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Qy=Object.assign,Jy={};function $n(e,t,n){this.props=e,this.context=t,this.refs=Jy,this.updater=n||Zy}$n.prototype.isReactComponent={};$n.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): 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")};$n.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ev(){}ev.prototype=$n.prototype;function Wd(e,t,n){this.props=e,this.context=t,this.refs=Jy,this.updater=n||Zy}var Yd=Wd.prototype=new ev;Yd.constructor=Wd;Qy(Yd,$n.prototype);Yd.isPureReactComponent=!0;var pg=Array.isArray,tv=Object.prototype.hasOwnProperty,Kd={current:null},nv={key:!0,ref:!0,__self:!0,__source:!0};function rv(e,t,n){var r,a={},i=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(i=""+t.key),t)tv.call(t,r)&&!nv.hasOwnProperty(r)&&(a[r]=t[r]);var s=arguments.length-2;if(s===1)a.children=n;else if(1<s){for(var l=Array(s),c=0;c<s;c++)l[c]=arguments[c+2];a.children=l}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)a[r]===void 0&&(a[r]=s[r]);return{$$typeof:Fr,type:e,key:i,ref:o,props:a,_owner:Kd.current}}function sw(e,t){return{$$typeof:Fr,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Xd(e){return typeof e=="object"&&e!==null&&e.$$typeof===Fr}function lw(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var gg=/\/+/g;function Ei(e,t){return typeof e=="object"&&e!==null&&e.key!=null?lw(""+e.key):t.toString(36)}function ca(e,t,n,r,a){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(i){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case Fr:case XT:o=!0}}if(o)return o=e,a=a(o),e=r===""?"."+Ei(o,0):r,pg(a)?(n="",e!=null&&(n=e.replace(gg,"$&/")+"/"),ca(a,t,n,"",function(c){return c})):a!=null&&(Xd(a)&&(a=sw(a,n+(!a.key||o&&o.key===a.key?"":(""+a.key).replace(gg,"$&/")+"/")+e)),t.push(a)),1;if(o=0,r=r===""?".":r+":",pg(e))for(var s=0;s<e.length;s++){i=e[s];var l=r+Ei(i,s);o+=ca(i,t,n,l,a)}else if(l=ow(e),typeof l=="function")for(e=l.call(e),s=0;!(i=e.next()).done;)i=i.value,l=r+Ei(i,s++),o+=ca(i,t,n,l,a);else if(i==="object")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 o}function Hr(e,t,n){if(e==null)return e;var r=[],a=0;return ca(e,r,"","",function(i){return t.call(n,i,a++)}),r}function uw(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Ie={current:null},da={transition:null},cw={ReactCurrentDispatcher:Ie,ReactCurrentBatchConfig:da,ReactCurrentOwner:Kd};function av(){throw Error("act(...) is not supported in production builds of React.")}B.Children={map:Hr,forEach:function(e,t,n){Hr(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Hr(e,function(){t++}),t},toArray:function(e){return Hr(e,function(t){return t})||[]},only:function(e){if(!Xd(e))throw Error("React.Children.only expected to receive a sing
2024-06-24 02:25:58 +00:00
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
2024-06-27 03:03:20 +00:00
*/var dw=Q,pw=Symbol.for("react.element"),gw=Symbol.for("react.fragment"),fw=Object.prototype.hasOwnProperty,mw=dw.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,hw={key:!0,ref:!0,__self:!0,__source:!0};function iv(e,t,n){var r,a={},i=null,o=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)fw.call(t,r)&&!hw.hasOwnProperty(r)&&(a[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)a[r]===void 0&&(a[r]=t[r]);return{$$typeof:pw,type:e,key:i,ref:o,props:a,_owner:mw.current}}Ka.Fragment=gw;Ka.jsx=iv;Ka.jsxs=iv;Ky.exports=Ka;var S=Ky.exports,Xc={},ov={exports:{}},qe={},sv={exports:{}},lv={};/**
2024-06-24 02:25:58 +00:00
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
2024-06-27 03:03:20 +00:00
*/(function(e){function t(k,O){var x=k.length;k.push(O);e:for(;0<x;){var D=x-1>>>1,F=k[D];if(0<a(F,O))k[D]=O,k[x]=F,x=D;else break e}}function n(k){return k.length===0?null:k[0]}function r(k){if(k.length===0)return null;var O=k[0],x=k.pop();if(x!==O){k[0]=x;e:for(var D=0,F=k.length,ye=F>>>1;D<ye;){var Z=2*(D+1)-1,_e=k[Z],le=Z+1,Re=k[le];if(0>a(_e,x))le<F&&0>a(Re,_e)?(k[D]=Re,k[le]=x,D=le):(k[D]=_e,k[Z]=x,D=Z);else if(le<F&&0>a(Re,x))k[D]=Re,k[le]=x,D=le;else break e}}return O}function a(k,O){var x=k.sortIndex-O.sortIndex;return x!==0?x:k.id-O.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var l=[],c=[],g=1,f=null,b=3,h=!1,T=!1,w=!1,N=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,u=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function d(k){for(var O=n(c);O!==null;){if(O.callback===null)r(c);else if(O.startTime<=k)r(c),O.sortIndex=O.expirationTime,t(l,O);else break;O=n(c)}}function E(k){if(w=!1,d(k),!T)if(n(l)!==null)T=!0,W(v);else{var O=n(c);O!==null&&oe(E,O.startTime-k)}}function v(k,O){T=!1,w&&(w=!1,p(R),R=-1),h=!0;var x=b;try{for(d(O),f=n(l);f!==null&&(!(f.expirationTime>O)||k&&!M());){var D=f.callback;if(typeof D=="function"){f.callback=null,b=f.priorityLevel;var F=D(f.expirationTime<=O);O=e.unstable_now(),typeof F=="function"?f.callback=F:f===n(l)&&r(l),d(O)}else r(l);f=n(l)}if(f!==null)var ye=!0;else{var Z=n(c);Z!==null&&oe(E,Z.startTime-O),ye=!1}return ye}finally{f=null,b=x,h=!1}}var y=!1,_=null,R=-1,A=5,C=-1;function M(){return!(e.unstable_now()-C<A)}function G(){if(_!==null){var k=e.unstable_now();C=k;var O=!0;try{O=_(!0,k)}finally{O?j():(y=!1,_=null)}}else y=!1}var j;if(typeof u=="function")j=function(){u(G)};else if(typeof MessageChannel<"u"){var ae=new MessageChannel,ee=ae.port2;ae.port1.onmessage=G,j=function(){ee.postMessage(null)}}else j=function(){N(G,0)};function W(k){_=k,y||(y=!0,j())}function oe(k,O){R=N(function(){k(e.unstable_now())},O)}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(k){k.callback=null},e.unstable_continueExecution=function(){T||h||(T=!0,W(v))},e.unstable_forceFrameRate=function(k){0>k||125<k?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):A=0<k?Math.floor(1e3/k):5},e.unstable_getCurrentPriorityLevel=function(){return b},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(k){switch(b){case 1:case 2:case 3:var O=3;break;default:O=b}var x=b;b=O;try{return k()}finally{b=x}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(k,O){switch(k){case 1:case 2:case 3:case 4:case 5:break;default:k=3}var x=b;b=k;try{return O()}finally{b=x}},e.unstable_scheduleCallback=function(k,O,x){var D=e.unstable_now();switch(typeof x=="object"&&x!==null?(x=x.delay,x=typeof x=="number"&&0<x?D+x:D):x=D,k){case 1:var F=-1;break;case 2:F=250;break;case 5:F=1073741823;break;case 4:F=1e4;break;default:F=5e3}return F=x+F,k={id:g++,callback:O,priorityLevel:k,startTime:x,expirationTime:F,sortIndex:-1},x>D?(k.sortIndex=x,t(c,k),n(l)===null&&k===n(c)&&(w?(p(R),R=-1):w=!0,oe(E,x-D))):(k.sortIndex=F,t(l,k),T||h||(T=!0,W(v))),k},e.unstable_shouldYield=M,e.unstable_wrapCallback=function(k){var O=b;return function(){var x=b;b=O;try{return k.apply(this,arguments)}finally{b=x}}}})(lv);sv.exports=lv;var bw=sv.exports;/**
2024-06-24 02:25:58 +00:00
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
2024-06-27 03:03:20 +00:00
*/var Ew=Q,Ge=bw;function I(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);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."}var uv=new Set,Er={};function on(e,t){Ln(e,t),Ln(e+"Capture",t)}function Ln(e,t){for(Er[e]=t,e=0;e<t.length;e++)uv.add(t[e])}var yt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Zc=Object.prototype.hasOwnProperty,yw=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,fg={},mg={};function vw(e){return Zc.call(mg,e)?!0:Zc.call(fg,e)?!1:yw.test(e)?mg[e]=!0:(fg[e]=!0,!1)}function Sw(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Tw(e,t,n,r){if(t===null||typeof t>"u"||Sw(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ce(e,t,n,r,a,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var Ee={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ee[e]=new Ce(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ee[t]=new Ce(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ee[e]=new Ce(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ee[e]=new Ce(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Ee[e]=new Ce(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ee[e]=new Ce(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ee[e]=new Ce(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ee[e]=new Ce(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ee[e]=new Ce(e,5,!1,e.toLowerCase(),null,!1,!1)});var Zd=/[\-:]([a-z])/g;function Qd(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-
`+yi+e}var vi=!1;function Si(e,t){if(!e||vi)return"";vi=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&typeof c.stack=="string"){for(var a=c.stack.split(`
2024-06-27 02:04:40 +00:00
`),i=r.stack.split(`
`),o=a.length-1,s=i.length-1;1<=o&&0<=s&&a[o]!==i[s];)s--;for(;1<=o&&0<=s;o--,s--)if(a[o]!==i[s]){if(o!==1||s!==1)do if(o--,s--,0>s||a[o]!==i[s]){var l=`
2024-06-27 03:03:20 +00:00
`+a[o].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=o&&0<=s);break}}}finally{vi=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?nr(e):""}function ww(e){switch(e.tag){case 5:return nr(e.type);case 16:return nr("Lazy");case 13:return nr("Suspense");case 19:return nr("SuspenseList");case 0:case 2:case 15:return e=Si(e.type,!1),e;case 11:return e=Si(e.type.render,!1),e;case 1:return e=Si(e.type,!0),e;default:return""}}function td(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case mn:return"Fragment";case fn:return"Portal";case Qc:return"Profiler";case ep:return"StrictMode";case Jc:return"Suspense";case ed:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case dv:return(e.displayName||"Context")+".Consumer";case cv:return(e._context.displayName||"Context")+".Provider";case tp:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case np:return t=e.displayName||null,t!==null?t:td(e.type)||"Memo";case Rt:t=e._payload,e=e._init;try{return td(e(t))}catch{}}return null}function _w(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return td(t);case 8:return t===ep?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function $t(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function gv(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Rw(e){var t=gv(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var a=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Wr(e){e._valueTracker||(e._valueTracker=Rw(e))}function fv(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=gv(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function _a(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function nd(e,t){var n=t.checked;return re({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function bg(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=$t(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function mv(e,t){t=t.checked,t!=null&&Jd(e,"checked",t,!1)}function rd(e,t){mv(e,t);var n=$t(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?ad(e,t.type,n):t.hasOwnProperty("defaultValue")&&ad(e,t.type,$t(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Eg(e,t,n){if(t.hasOwnProperty("val
`).replace(M_,"")}function ta(e,t,n){if(t=Gg(t),Gg(e)!==t&&n)throw Error(I(425))}function xa(){}var Ed=null,yd=null;function vd(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Sd=typeof setTimeout=="function"?setTimeout:void 0,F_=typeof clearTimeout=="function"?clearTimeout:void 0,qg=typeof Promise=="function"?Promise:void 0,P_=typeof queueMicrotask=="function"?queueMicrotask:typeof qg<"u"?function(e){return qg.resolve(null).then(e).catch(U_)}:Sd;function U_(e){setTimeout(function(){throw e})}function Di(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&a.nodeType===8)if(n=a.data,n==="/$"){if(r===0){e.removeChild(a),wr(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=a}while(n);wr(t)}function Mt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function zg(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var qn=Math.random().toString(36).slice(2),lt="__reactFiber$"+qn,kr="__reactProps$"+qn,vt="__reactContainer$"+qn,Td="__reactEvents$"+qn,B_="__reactListeners$"+qn,$_="__reactHandles$"+qn;function Kt(e){var t=e[lt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[vt]||n[lt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=zg(e);e!==null;){if(n=e[lt])return n;e=zg(e)}return t}e=n,n=e.parentNode}return null}function Br(e){return e=e[lt]||e[vt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function yn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(I(33))}function ei(e){return e[kr]||null}var wd=[],vn=-1;function zt(e){return{current:e}}function X(e){0>vn||(e.current=wd[vn],wd[vn]=null,vn--)}function V(e,t){vn++,wd[vn]=e.current,e.current=t}var Gt={},we=zt(Gt),De=zt(!1),en=Gt;function Dn(e,t){var n=e.type.contextTypes;if(!n)return Gt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a={},i;for(i in n)a[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Me(e){return e=e.childContextTypes,e!=null}function La(){X(De),X(we)}function jg(e,t,n){if(we.current!==Gt)throw Error(I(168));V(we,t),V(De,n)}function rS(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var a in r)if(!(a in t))throw Error(I(108,_w(e)||"Unknown",a));return re({},n,r)}function Da(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Gt,en=we.current,V(we,e),V(De,De.current),!0}function Hg(e,t,n){var r=e.stateNode;if(!r)throw Error(I(169));n?(e=rS(e,t,en),r.__reactInternalMemoizedMergedChildContext=e,X(De),X(we),V(we,e)):X(De),V(De,n)}var gt=null,ti=!1,Mi=!1;function aS(e){gt===null?gt=[e]:gt.push(e)}function G_(e){ti=!0,aS(e)}function jt(){if(!Mi&&gt!==null){Mi=!0;var e=0,t=H;try{var n=gt;for(H=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}gt=null,ti=!1}catch(a){throw gt!==null&&(gt=gt.slice(e+1)),Iv(ap,jt),a}finally{H=t,Mi=!1}}return null}var Sn=[],Tn=0,Ma=null,Fa=0,He=[],Ve=0,tn=null,ht=1,bt="";function Wt(e,t){Sn[Tn++]=Fa,Sn[Tn++]=Ma,Ma=e,Fa=t}function iS(e,t,n){He[Ve++]=ht,He[Ve++]=bt,He[Ve++]=tn,tn=e;var r=ht;e=bt;var a=32-nt(r)-1;r&=~(1<<a),n+=1;var i=32-nt(t)+a;if(30<i){var o=a-a%5;i=(r&(1<<o)-1).toString(32),r>>=o,a-=o,ht=1<<32-nt(t)+a|n<<a|r,bt=i+e}else ht=1<<i|n<<a|r,bt=e}function gp(e){e.return!==null&&(Wt(e,1),iS(e,1,0))}function fp(e){for(;e===Ma;)Ma=Sn[--Tn],Sn[Tn]=null,Fa=Sn[--Tn],Sn[Tn]=null;for(;e===tn;)tn=He[--Ve],He[Ve]=null,bt=He[--Ve],He[Ve]=null,ht=He[--Ve],He[Ve]=null}var $e=null,Be=null,J=!1,tt=null;function oS(e,t){var n=We(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.de
2024-06-27 02:04:40 +00:00
Error generating stack: `+i.message+`
2024-06-27 03:03:20 +00:00
`+i.stack}return{value:e,source:t,stack:a,digest:null}}function $i(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Id(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var X_=typeof WeakMap=="function"?WeakMap:Map;function LS(e,t,n){n=Et(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ja||(ja=!0,Bd=r),Id(e,t)},n}function DS(e,t,n){n=Et(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){Id(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){Id(e,t),typeof r!="function"&&(Pt===null?Pt=new Set([this]):Pt.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function tf(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new X_;var a=new Set;r.set(t,a)}else a=r.get(t),a===void 0&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=cR.bind(null,e,t,n),t.then(e,e))}function nf(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function rf(e,t,n,r,a){return e.mode&1?(e.flags|=65536,e.lanes=a,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Et(-1,1),t.tag=2,Ft(n,t,1))),n.lanes|=1),e)}var Z_=wt.ReactCurrentOwner,Le=!1;function Ne(e,t,n,r){t.child=e===null?uS(t,null,n,r):Fn(t,e.child,n,r)}function af(e,t,n,r,a){n=n.render;var i=t.ref;return On(t,a),r=Rp(e,t,n,r,i,a),n=Ap(),e!==null&&!Le?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Tt(e,t,a)):(J&&n&&gp(t),t.flags|=1,Ne(e,t,r,a),t.child)}function of(e,t,n,r,a){if(e===null){var i=n.type;return typeof i=="function"&&!Fp(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,MS(e,t,i,r,a)):(e=Sa(n.type,null,r,t,t.mode,a),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&a)){var o=i.memoizedProps;if(n=n.compare,n=n!==null?n:Rr,n(o,r)&&e.ref===t.ref)return Tt(e,t,a)}return t.flags|=1,e=Bt(i,r),e.ref=t.ref,e.return=t,t.child=e}function MS(e,t,n,r,a){if(e!==null){var i=e.memoizedProps;if(Rr(i,r)&&e.ref===t.ref)if(Le=!1,t.pendingProps=r=i,(e.lanes&a)!==0)e.flags&131072&&(Le=!0);else return t.lanes=e.lanes,Tt(e,t,a)}return Cd(e,t,n,r,a)}function FS(e,t,n){var r=t.pendingProps,a=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},V(Rn,Ue),Ue|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,V(Rn,Ue),Ue|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,V(Rn,Ue),Ue|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,V(Rn,Ue),Ue|=r;return Ne(e,t,a,n),t.child}function PS(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Cd(e,t,n,r,a){var i=Me(n)?en:we.current;return i=Dn(t,i),On(t,a),n=Rp(e,t,n,r,i,a),r=Ap(),e!==null&&!Le?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Tt(e,t,a)):(J&&r&&gp(t),t.flags|=1,Ne(e,t,n,a),t.child)}function sf(e,t,n,r,a){if(Me(n)){var i=!0;Da(t)}else i=!1;if(On(t,a),t.stateNode===null)Ea(e,t),xS(t,n,r),kd(t,n,r,a),r=!0;else if(e===null){var o=t.stateNode,s=t.memoizedProps;o.props=s;var l=o.context,c=n.contextType;typeof c=="object"&&c!==null?c=Ke(c):(c=Me(n)?en:we.current,c=Dn(t,c));var g=n.getDerivedStateFromProps,f=typeof g=="function"||typeof o.getSnapshotBeforeUpdate=="function";f||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(s!==r||l!==c)&&ef(t,o,r,c),At=!1;var b=t.memoizedState;o.state=b,Ba(t,r,o,a),l=t.memoizedState,s!==r||b!==l||De.current||At?(typeof g=="function"&&(Nd(t,n,g,r),l=t.memoizedState),(s=At||Jg(t,n,s,r,b,l,c))?(f||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.compon
2024-06-25 21:20:37 +00:00
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
2024-06-27 03:03:20 +00:00
*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var i="",o=0;o<arguments.length;o++){var s=arguments[o];s&&(i=a(i,r(s)))}return i}function r(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return n.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var o="";for(var s in i)t.call(i,s)&&i[s]&&(o=a(o,s));return o}function a(i,o){return o?i?i+" "+o:i+o:i}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(sT);var TR=sT.exports;const mt=Ya(TR),wR="_app_1k2ch_1",_R="_customizer_1k2ch_14",RR="_open_1k2ch_31",AR="_controls_1k2ch_37",NR="_buttons_1k2ch_44",kR="_button_1k2ch_44",P={app:wR,customizer:_R,open:RR,controls:AR,buttons:NR,button:kR},$={scheme:[{id:"scheme-h",description:"The Scheme's Hue, that is used for backgrounds, borders, and text, in both Light and Dark modes"},{id:"scheme-s",description:"The Scheme's Saturation, that is used for backgrounds, borders, and text, in both Light and Dark modes"},{id:"light-l",description:"The lightness of backgrounds"},{id:"light-invert-l",description:"The lightness of backgrounds' invert color"},{id:"dark-l",description:"The lightness of dark backgrounds"},{id:"dark-invert-l",description:"The lightness of dark backgrounds' invert color"},{id:"soft-l",description:"The lightness of soft colors"},{id:"bold-l",description:"The lightness of bold colors"},{id:"soft-invert-l",description:"The lightness of soft color's invert color"},{id:"bold-invert-l",description:"The lightness of bold color's invert color"},{id:"hover-background-l-delta",description:"Defines how much the lightness will change when a background is hovered"},{id:"active-background-l-delta",description:"Defines how much the lightness will change when a background is active"},{id:"hover-border-l-delta",description:"Defines how much the lightness will change when a border is hovered"},{id:"active-border-l-delta",description:"Defines how much the lightness will change when a border is active"},{id:"hover-color-l-delta",description:"Defines how much the lightness will change when a color is hovered"},{id:"active-color-l-delta",description:"Defines how much the lightness will change when a color is active"},{id:"hover-shadow-a-delta",description:"Defines how much the lightness will change when a shadow is hovered"},{id:"active-shadow-a-delta",description:"Defines how much the lightness will change when a shadow is active"}],colors:[{id:"primary-h",description:"The Primary color's hue"},{id:"primary-s",description:"The Primary color's saturation"},{id:"primary-l",description:"The Primary color's lightness"},{id:"link-h",description:"The Link color's hue"},{id:"link-s",description:"The Link color's saturation"},{id:"link-l",description:"The Link color's lightness"},{id:"info-h",description:"The Info color's hue"},{id:"info-s",description:"The Info color's saturation"},{id:"info-l",description:"The Info color's lightness"},{id:"success-h",description:"The Success color's hue"},{id:"success-s",description:"The Success color's saturation"},{id:"success-l",description:"The Success color's lightness"},{id:"warning-h",description:"The Warning color's hue"},{id:"warning-s",description:"The Warning color's saturation"},{id:"warning-l",description:"The Warning color's lightness"},{id:"danger-h",description:"The Danger color's hue"},{id:"danger-s",description:"The Danger color's saturation"},{id:"danger-l",description:"The Danger color's lightness"}],typography:[{id:"family-primary",description:"The Primary font family"},{id:"family-secondary",description:"The Secondary font family"},{id:"family-code",description:"The Code font family"},{id:"size-small",description:"The Small font size"},{id:"size-normal",description:"The Normal font size"},{id:"size-medium",description:"The Medium font size"},{id:"size-large",description:"The Large font size"},{id:"weight-light",description:"The Light font weight"},{id:"weight-normal",description:"The Normal font weight"},{id:"weight-medium",descr
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function HA(e){return GA(e)||qA(e)||zA(e)||jA()}function Mr(e){"@babel/helpers - typeof";return Mr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mr(e)}function VA(e,t){if(Mr(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Mr(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function WA(e){var t=VA(e,"string");return Mr(t)=="symbol"?t:t+""}function pT(e,t,n){return(t=WA(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jd(){return jd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jd.apply(null,arguments)}function _f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function An(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_f(Object(n),!0).forEach(function(r){pT(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_f(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function YA(e){var t=e.length;if(t===0||t===1)return e;if(t===2)return[e[0],e[1],"".concat(e[0],".").concat(e[1]),"".concat(e[1],".").concat(e[0])];if(t===3)return[e[0],e[1],e[2],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0])];if(t>=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".")
`))})}function rN(e){var t=e.codeString,n=e.codeStyle,r=e.containerStyle,a=r===void 0?{float:"left",paddingRight:"10px"}:r,i=e.numberStyle,o=i===void 0?{}:i,s=e.startingLineNumber;return ft.createElement("code",{style:Object.assign({},n,a)},nN({lines:t.replace(/\n$/,"").split(`
`),style:o,startingLineNumber:s}))}function aN(e){return"".concat(e.toString().length,".25em")}function fT(e,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:e}]}}function mT(e,t,n){var r={display:"inline-block",minWidth:aN(n),paddingRight:"1em",textAlign:"right",userSelect:"none"},a=typeof e=="function"?e(t):e,i=st(st({},r),a);return i}function Ta(e){var t=e.children,n=e.lineNumber,r=e.lineNumberStyle,a=e.largestLineNumber,i=e.showInlineLineNumbers,o=e.lineProps,s=o===void 0?{}:o,l=e.className,c=l===void 0?[]:l,g=e.showLineNumbers,f=e.wrapLongLines,b=typeof s=="function"?s(n):s;if(b.className=c,n&&i){var h=mT(r,n,a);t.unshift(fT(n,h))}return f&g&&(b.style=st(st({},b.style),{},{display:"flex"})),{type:"element",tagName:"span",properties:b,children:t}}function hT(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r=0;r<e.length;r++){var a=e[r];if(a.type==="text")n.push(Ta({children:[a],className:HA(new Set(t))}));else if(a.children){var i=t.concat(a.properties.className);hT(a.children,i).forEach(function(o){return n.push(o)})}}return n}function iN(e,t,n,r,a,i,o,s,l){var c,g=hT(e.value),f=[],b=-1,h=0;function T(v,y){var _=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return Ta({children:v,lineNumber:y,lineNumberStyle:s,largestLineNumber:o,showInlineLineNumbers:a,lineProps:n,className:_,showLineNumbers:r,wrapLongLines:l})}function w(v,y){if(r&&y&&a){var _=mT(s,y,o);v.unshift(fT(y,_))}return v}function N(v,y){var _=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||_.length>0?T(v,y,_):w(v,y)}for(var p=function(){var y=g[h],_=y.children[0].value,R=tN(_);if(R){var A=_.split(`
`);A.forEach(function(C,M){var G=r&&f.length+i,j={type:"text",value:"".concat(C,`
`)};if(M===0){var ae=g.slice(b+1,h).concat(Ta({children:[j],className:y.properties.className})),ee=N(ae,G);f.push(ee)}else if(M===A.length-1){var W=g[h+1]&&g[h+1].children&&g[h+1].children[0],oe={type:"text",value:"".concat(C)};if(W){var k=Ta({children:[oe],className:y.properties.className});g.splice(h+1,0,k)}else{var O=[oe],x=N(O,G,y.properties.className);f.push(x)}}else{var D=[j],F=N(D,G,y.properties.className);f.push(F)}}),b=h}h++};h<g.length;)p();if(b!==g.length-1){var u=g.slice(b+1,g.length);if(u&&u.length){var d=r&&f.length+i,E=N(u,d);f.push(E)}}return t?f:(c=[]).concat.apply(c,f)}function oN(e){var t=e.rows,n=e.stylesheet,r=e.useInlineStyles;return t.map(function(a,i){return gT({node:a,stylesheet:n,useInlineStyles:r,key:"code-segement".concat(i)})})}function bT(e){return e&&typeof e.highlightAuto<"u"}function sN(e){var t=e.astGenerator,n=e.language,r=e.code,a=e.defaultCodeValue;if(bT(t)){var i=QA(t,n);return n==="text"?{value:a,language:"text"}:i?t.highlight(n,r):t.highlightAuto(r)}try{return n&&n!=="text"?{value:t.highlight(r,n)}:{value:a}}catch{return{value:a}}}function lN(e,t){return function(r){var a=r.language,i=r.children,o=r.style,s=o===void 0?t:o,l=r.customStyle,c=l===void 0?{}:l,g=r.codeTagProps,f=g===void 0?{className:a?"language-".concat(a):void 0,style:st(st({},s['code[class*="language-"]']),s['code[class*="language-'.concat(a,'"]')])}:g,b=r.useInlineStyles,h=b===void 0?!0:b,T=r.showLineNumbers,w=T===void 0?!1:T,N=r.showInlineLineNumbers,p=N===void 0?!0:N,u=r.startingLineNumber,d=u===void 0?1:u,E=r.lineNumberContainerStyle,v=r.lineNumberStyle,y=v===void 0?{}:v,_=r.wrapLines,R=r.wrapLongLines,A=R===void 0?!1:R,C=r.lineProps,M=C===void 0?{}:C,G=r.renderer,j=r.PreTag,ae=j===void 0?"pre":j,ee=r.CodeTag,W=ee===void 0?"code":ee,oe=r.code,k=oe===void 0?(Array.isArray(i)?i[0]:i)||"":oe,O=r.astGenerator,x=$A(r,JA);O=O||e;var D=w?ft.createElement(rN,{containerStyle:E,codeStyle:f.style||{},numberStyle:y,startingLineNumber:d,codeString:k}):null,F=s.hljs||s['pre[class*="language-"]']||{backgroundColor:"#fff"},ye=bT(O)?"hljs":"prismjs",Z=h?Object.assign({},x,{style:Object.assign({},F,c)}):Object.assign({},x,{className:x.className?"".concat(ye," ").concat(x.className):ye,style:Object.assign({},c)});if(A?f.style=st(st({},f.style),{},{whiteSpace:"pre-wrap"}):f.style=st(st({},f.style),{},{whiteSpace:"pre"}),!O)return ft.createElement(ae,Z,D,ft.createElement(W,f,k));(_===void 0&&G||A)&&(_=!0),G=G||oN;var _e=[{type:"text",value:k}],le=sN({astGenerator:O,language:a,code:k,defaultCodeValue:_e});le.language===null&&(le.value=_e);var Re=le.value.length+d,jn=iN(le,_,M,w,p,d,Re,y,A);return ft.createElement(ae,Z,ft.createElement(W,f,!p&&D,G({rows:jn,stylesheet:s,useInlineStyles:h})))}}const uN=["abap","abnf","actionscript","ada","agda","al","antlr4","apacheconf","apex","apl","applescript","aql","arduino","arff","asciidoc","asm6502","asmatmel","aspnet","autohotkey","autoit","avisynth","avro-idl","bash","basic","batch","bbcode","bicep","birb","bison","bnf","brainfuck","brightscript","bro","bsl","c","cfscript","chaiscript","cil","clike","clojure","cmake","cobol","coffeescript","concurnas","coq","cpp","crystal","csharp","cshtml","csp","css-extras","css","csv","cypher","d","dart","dataweave","dax","dhall","diff","django","dns-zone-file","docker","dot","ebnf","editorconfig","eiffel","ejs","elixir","elm","erb","erlang","etlua","excel-formula","factor","false","firestore-security-rules","flow","fortran","fsharp","ftl","gap","gcode","gdscript","gedcom","gherkin","git","glsl","gml","gn","go-module","go","graphql","groovy","haml","handlebars","haskell","haxe","hcl","hlsl","hoon","hpkp","hsts","http","ichigojam","icon","icu-message-format","idris","iecst","ignore","inform7","ini","io","j","java","javadoc","javadoclike","javascript","javastacktrace","jexl","jolie","jq","js-extras","js-templates","jsdoc","json","json5","jsonp","jsstacktrace","jsx","julia","keepalived","keyman","kotlin","kumir","kusto","latex","latte","less","lilypond","liquid","lisp","livescript","llvm","log","lolcode","lua","magma","makefile","markdown","markup-templating",
2024-06-27 02:04:40 +00:00
* Prism: Lightweight, robust, elegant syntax highlighting
*
* @license MIT <https://opensource.org/licenses/MIT>
* @author Lea Verou <https://lea.verou.me>
* @namespace
* @public
2024-06-27 03:03:20 +00:00
*/var n=function(r){var a=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,i=0,o={},s={manual:r.Prism&&r.Prism.manual,disableWorkerMessageHandler:r.Prism&&r.Prism.disableWorkerMessageHandler,util:{encode:function u(d){return d instanceof l?new l(d.type,u(d.content),d.alias):Array.isArray(d)?d.map(u):d.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(u){return Object.prototype.toString.call(u).slice(8,-1)},objId:function(u){return u.__id||Object.defineProperty(u,"__id",{value:++i}),u.__id},clone:function u(d,E){E=E||{};var v,y;switch(s.util.type(d)){case"Object":if(y=s.util.objId(d),E[y])return E[y];v={},E[y]=v;for(var _ in d)d.hasOwnProperty(_)&&(v[_]=u(d[_],E));return v;case"Array":return y=s.util.objId(d),E[y]?E[y]:(v=[],E[y]=v,d.forEach(function(R,A){v[A]=u(R,E)}),v);default:return d}},getLanguage:function(u){for(;u;){var d=a.exec(u.className);if(d)return d[1].toLowerCase();u=u.parentElement}return"none"},setLanguage:function(u,d){u.className=u.className.replace(RegExp(a,"gi"),""),u.classList.add("language-"+d)},currentScript:function(){if(typeof document>"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(v){var u=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(v.stack)||[])[1];if(u){var d=document.getElementsByTagName("script");for(var E in d)if(d[E].src==u)return d[E]}return null}},isActive:function(u,d,E){for(var v="no-"+d;u;){var y=u.classList;if(y.contains(d))return!0;if(y.contains(v))return!1;u=u.parentElement}return!!E}},languages:{plain:o,plaintext:o,text:o,txt:o,extend:function(u,d){var E=s.util.clone(s.languages[u]);for(var v in d)E[v]=d[v];return E},insertBefore:function(u,d,E,v){v=v||s.languages;var y=v[u],_={};for(var R in y)if(y.hasOwnProperty(R)){if(R==d)for(var A in E)E.hasOwnProperty(A)&&(_[A]=E[A]);E.hasOwnProperty(R)||(_[R]=y[R])}var C=v[u];return v[u]=_,s.languages.DFS(s.languages,function(M,G){G===C&&M!=u&&(this[M]=_)}),_},DFS:function u(d,E,v,y){y=y||{};var _=s.util.objId;for(var R in d)if(d.hasOwnProperty(R)){E.call(d,R,d[R],v||R);var A=d[R],C=s.util.type(A);C==="Object"&&!y[_(A)]?(y[_(A)]=!0,u(A,E,null,y)):C==="Array"&&!y[_(A)]&&(y[_(A)]=!0,u(A,E,R,y))}}},plugins:{},highlightAll:function(u,d){s.highlightAllUnder(document,u,d)},highlightAllUnder:function(u,d,E){var v={callback:E,container:u,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};s.hooks.run("before-highlightall",v),v.elements=Array.prototype.slice.apply(v.container.querySelectorAll(v.selector)),s.hooks.run("before-all-elements-highlight",v);for(var y=0,_;_=v.elements[y++];)s.highlightElement(_,d===!0,v.callback)},highlightElement:function(u,d,E){var v=s.util.getLanguage(u),y=s.languages[v];s.util.setLanguage(u,v);var _=u.parentElement;_&&_.nodeName.toLowerCase()==="pre"&&s.util.setLanguage(_,v);var R=u.textContent,A={element:u,language:v,grammar:y,code:R};function C(G){A.highlightedCode=G,s.hooks.run("before-insert",A),A.element.innerHTML=A.highlightedCode,s.hooks.run("after-highlight",A),s.hooks.run("complete",A),E&&E.call(A.element)}if(s.hooks.run("before-sanity-check",A),_=A.element.parentElement,_&&_.nodeName.toLowerCase()==="pre"&&!_.hasAttribute("tabindex")&&_.setAttribute("tabindex","0"),!A.code){s.hooks.run("complete",A),E&&E.call(A.element);return}if(s.hooks.run("before-highlight",A),!A.grammar){C(s.util.encode(A.code));return}if(d&&r.Worker){var M=new Worker(s.filename);M.onmessage=function(G){C(G.data)},M.postMessage(JSON.stringify({language:A.language,code:A.code,immediateClose:!0}))}else C(s.highlight(A.code,A.grammar,A.language))},highlight:function(u,d,E){var v={code:u,grammar:d,language:E};if(s.hooks.run("before-tokenize",v),!v.grammar)throw new Error('The language "'+v.language+'" has no grammar.');return v.tokens=s.tokenize(v.code,v.grammar),s.hooks.run("after-tokenize",v),l.stringify(s.util.encode(v.tokens),v.language)},tokenize:function(u,d){var E=d.rest;if(E){for(var v in E)d[v]=E[v];delete d.rest}var y=new f;return b(y,y.head,u),g(u,y,d,y.head,0),T(y)},hooks:{all:{},add:function(u,d)
2024-06-27 02:04:40 +00:00
?|
2024-06-27 03:03:20 +00:00
|(?![\\s\\S])))+`,"m"),alias:o,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(a)[0]}}}}),Object.defineProperty(n.languages.diff,"PREFIXES",{value:r})})(t)}return Zo}var Qo,Km;function Pe(){if(Km)return Qo;Km=1,Qo=e,e.displayName="markupTemplating",e.aliases=[];function e(t){(function(n){function r(a,i){return"___"+a.toUpperCase()+i+"___"}Object.defineProperties(n.languages["markup-templating"]={},{buildPlaceholders:{value:function(a,i,o,s){if(a.language===i){var l=a.tokenStack=[];a.code=a.code.replace(o,function(c){if(typeof s=="function"&&!s(c))return c;for(var g=l.length,f;a.code.indexOf(f=r(i,g))!==-1;)++g;return l[g]=c,f}),a.grammar=n.languages.markup}}},tokenizePlaceholders:{value:function(a,i){if(a.language!==i||!a.tokenStack)return;a.grammar=n.languages[i];var o=0,s=Object.keys(a.tokenStack);function l(c){for(var g=0;g<c.length&&!(o>=s.length);g++){var f=c[g];if(typeof f=="string"||f.content&&typeof f.content=="string"){var b=s[o],h=a.tokenStack[b],T=typeof f=="string"?f:f.content,w=r(i,b),N=T.indexOf(w);if(N>-1){++o;var p=T.substring(0,N),u=new n.Token(i,n.tokenize(h,a.grammar),"language-"+i,h),d=T.substring(N+w.length),E=[];p&&E.push.apply(E,l([p])),E.push(u),d&&E.push.apply(E,l([d])),typeof f=="string"?c.splice.apply(c,[g,1].concat(E)):f.content=E}}else f.content&&l(f.content)}return c}l(a.tokens)}}})})(t)}return Qo}var Jo,Xm;function kx(){if(Xm)return Jo;Xm=1;var e=Pe();Jo=t,t.displayName="django",t.aliases=["jinja2"];function t(n){n.register(e),function(r){r.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var a=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,i=r.languages["markup-templating"];r.hooks.add("before-tokenize",function(o){i.buildPlaceholders(o,"django",a)}),r.hooks.add("after-tokenize",function(o){i.tokenizePlaceholders(o,"django")}),r.languages.jinja2=r.languages.django,r.hooks.add("before-tokenize",function(o){i.buildPlaceholders(o,"jinja2",a)}),r.hooks.add("after-tokenize",function(o){i.tokenizePlaceholders(o,"jinja2")})}(n)}return Jo}var es,Zm;function Ix(){if(Zm)return es;Zm=1,es=e,e.displayName="dnsZoneFile",e.aliases=[];function e(t){t.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},t.languages["dns-zone"]=t.languages["dns-zone-file"]}return es}var ts,Qm;function Cx(){if(Qm)return ts;Qm=1,ts=e,e.displayName="docker",e.aliases=["dockerfile"];function e(t){(function(n){var r=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,a=/(?:[ \t]+(?![ \t])(?:<SP_BS>)?|<SP_BS>)/.source.replace(/<SP_BS>/g,function(){return r}),i=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,o=/--[\w-]+=(?:<STR>|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(/<STR>/g,function(){return i}),s={pattern:RegExp(i),
]))(?:`+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|'+a+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:r,quoted:{pattern:RegExp(/(^|\s)/.source+a),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}})(t)}return pc}var gc,cy;function ug(){if(cy)return gc;cy=1,gc=e,e.displayName="t4Templating",e.aliases=[];function e(t){(function(n){function r(i,o,s){return{pattern:RegExp("<#"+i+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+i+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:o,alias:s}}}}function a(i){var o=n.languages[i],s="language-"+i;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:r("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:r("=",o,s),"class-feature":r("\\+",o,s),standard:r("",o,s)}}}}n.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:a})})(t)}return gc}var fc,dy;function x1(){if(dy)return fc;dy=1;var e=ug(),t=pi();fc=n,n.displayName="t4Cs",n.aliases=[];function n(r){r.register(e),r.register(t),r.languages.t4=r.languages["t4-cs"]=r.languages["t4-templating"].createT4("csharp")}return fc}var mc,py;function HT(){if(py)return mc;py=1;var e=GT();mc=t,t.displayName="vbnet",t.aliases=[];function t(n){n.register(e),n.languages.vbnet=n.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}return mc}var hc,gy;function L1(){if(gy)return hc;gy=1;var e=ug(),t=HT();hc=n,n.displayName="t4Vb",n.aliases=[];function n(r){r.register(e),r.register(t),r.languages["t4-vb"]=r.languages["t4-templating"].createT4("vbnet")}return hc}var bc,fy;function VT(){if(fy)return bc;fy=1,bc=e,e.displayName="yaml",e.aliases=["yml"];function e(t){(function(n){var r=/[*&][^\s[\]{},]+/,a=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,i="(?:"+a.source+"(?:[ ]+"+r.source+")?|"+r.source+"(?:[ ]+"+a.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),s=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function l(c,g){g=(g||"").replace(/m/g,"")+"m";var f=/([
`;N in g?g[N].push(d):g[N]=[d]});let f="";for(const[b,h]of Object.entries(g))f+=`${b} {
`,h.forEach(T=>f+=` ${T}`),f+=`}
2024-06-27 02:04:40 +00:00
2024-06-27 03:03:20 +00:00
`;a(f)},[e]),S.jsxs("div",{className:tr.main,children:[S.jsxs("div",{className:tr.body,children:[S.jsx("p",{className:"title is-5",children:"Export"}),r?S.jsxs("div",{className:tr.explanation,children:[S.jsxs("p",{children:["Insert this CSS ",S.jsx("em",{children:"after"})," importing Bulma."]}),S.jsxs("div",{className:"buttons are-small",children:[i?S.jsx("span",{className:"button is-success",children:"Copied!"}):S.jsx("button",{onClick:c,className:"button is-primary",children:"Copy"}),S.jsx("button",{onClick:s,className:"button is-danger is-outlined",children:"Reset"})]})]}):S.jsxs(S.Fragment,{children:[S.jsx("div",{className:tr.explanation,children:S.jsx("p",{children:"Customize CSS variables in the other pages and come back here to find the generated CSS."})}),S.jsx("div",{className:tr.go,children:S.jsx("button",{className:"button is-primary",onClick:l,children:"Let's go!"})})]})]}),r&&S.jsx(YT,{PreTag:"div",language:"css",children:r.trim()})]})}const Vy={"-h":"hue","-s":"saturation","-l":"lightness","-delta":"delta","-color":"color"},y0=["deg","%"],Wy={colors:S.jsx(JR,{}),scheme:S.jsx(oA,{}),typography:S.jsx(sA,{}),other:S.jsx(lA,{}),generic:S.jsx(uA,{}),skeleton:S.jsx(cA,{}),breadcrumb:S.jsx(dA,{}),card:S.jsx(pA,{}),dropdown:S.jsx(gA,{}),menu:S.jsx(fA,{}),message:S.jsx(mA,{}),modal:S.jsx(hA,{}),navbar:S.jsx(bA,{}),pagination:S.jsx(EA,{}),panel:S.jsx(yA,{}),tabs:S.jsx(vA,{}),box:S.jsx(SA,{}),content:S.jsx(TA,{}),delete:S.jsx(wA,{}),icon:S.jsx(_A,{}),notification:S.jsx(RA,{}),progress:S.jsx(AA,{}),table:S.jsx(NA,{}),tag:S.jsx(kA,{}),title:S.jsx(IA,{}),control:S.jsx(CA,{}),input:S.jsx(OA,{}),file:S.jsx(xA,{}),columns:S.jsx(LA,{}),grid:S.jsx(DA,{}),footer:S.jsx(MA,{}),hero:S.jsx(FA,{}),media:S.jsx(PA,{}),section:S.jsx(UA,{}),export:S.jsx(E0,{})},v0=["Global Variables","Components","Elements","Form","Grid","Layout","Export"],Kc={"Global Variables":["colors","scheme","typography","other","generic","skeleton"],Components:["breadcrumb","card","dropdown","menu","message","modal","navbar","pagination","panel","tabs"],Elements:["box","content","delete","icon","notification","progress","table","tag","title"],Form:["control","input","file"],Grid:["columns","grid"],Layout:["footer","hero","media","section"],Export:["export"]},Yy="bulma-customizer-vars",zr=Q.createContext({isOpen:!1,showExport:!1,cssvars:{},saved:{},currentTab:"",currentPage:"",getVar:()=>{},changeTab:()=>{},changePage:()=>{},updateVar:()=>{},hideExport:()=>{}});function S0(){const e=Q.useRef(),t={isOpen:!1,showExport:!1,cssvars:{},saved:{},currentTab:"Global Variables",currentPage:"colors",getVar:h=>n.cssvars[h],changeTab:h=>{r(T=>({...T,currentTab:h}))},changePage:h=>{r(T=>({...T,currentPage:h}))},updateVar:(h,T)=>{r(w=>({...w,cssvars:{...w.cssvars,[h]:{...w.cssvars[h],current:T}}}))},resetVars:()=>{r(h=>{const T={};for(const[w,N]of Object.entries(h.cssvars)){const p={...N,current:N.start};T[w]=p}return{...h,cssvars:T}})},hideExport:()=>{r(h=>({...h,showExport:!1}))}},[n,r]=Q.useState(()=>{const h=localStorage.getItem(Yy);if(h){const T=JSON.parse(h);t.cssvars=T,t.saved=T}return t}),a=h=>{h.preventDefault();const T=h.target.value;n.changeTab(T),n.changePage(Kc[T][0])},i=(h,T)=>{h.preventDefault(),n.changePage(T)},o=h=>{h.preventDefault(),r(T=>({...T,isOpen:!T.isOpen}))},s=h=>{h.preventDefault(),r(T=>({...T,showExport:!T.showExport}))};Q.useEffect(()=>{const h={root:window.getComputedStyle(document.documentElement),breadcrumb:window.getComputedStyle(document.querySelector(".breadcrumb")),card:window.getComputedStyle(document.querySelector(".card")),dropdown:window.getComputedStyle(document.querySelector(".dropdown")),menu:window.getComputedStyle(document.querySelector(".menu")),message:window.getComputedStyle(document.querySelector(".message")),modal:window.getComputedStyle(document.querySelector(".modal")),navbar:window.getComputedStyle(document.querySelector(".navbar")),pagination:window.getComputedStyle(document.querySelector(".pagination")),panel:window.getComputedStyle(document.querySelector(".panel")),tabs:window.getComputedStyle(document.querySelector(".t