Version 5.0.6
This commit is contained in:
1 parent
a3a4a9ccbd
commit
b89858b2ff
1214 files changed
+92828
-14859
No files matched your search
@@ -0,0 +1,78 @@
|
||||
var SE=Object.defineProperty;var xE=(e,t,r)=>t in e?SE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Zh=(e,t,r)=>(xE(e,typeof t!="symbol"?t+"":t,r),r);const CE="modulepreload",EE=function(e){return"/"+e},Xh={},kE=function(t,r,o){if(!r||r.length===0)return t();const l=document.getElementsByTagName("link");return Promise.all(r.map(s=>{if(s=EE(s),s in Xh)return;Xh[s]=!0;const c=s.endsWith(".css"),f=c?'[rel="stylesheet"]':"";if(!!o)for(let E=l.length-1;E>=0;E--){const x=l[E];if(x.href===s&&(!c||x.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${f}`))return;const m=document.createElement("link");if(m.rel=c?"stylesheet":CE,c||(m.as="script",m.crossOrigin=""),m.href=s,document.head.appendChild(m),c)return new Promise((E,x)=>{m.addEventListener("load",E),m.addEventListener("error",()=>x(new Error(`Unable to preload CSS for ${s}`)))})})).then(()=>t()).catch(s=>{const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=s,window.dispatchEvent(c),!c.defaultPrevented)throw s})};var fo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function LE(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var c0={exports:{}},ps={},f0={exports:{}},me={};/**
|
||||
* @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.
|
||||
*/var il=Symbol.for("react.element"),RE=Symbol.for("react.portal"),IE=Symbol.for("react.fragment"),TE=Symbol.for("react.strict_mode"),OE=Symbol.for("react.profiler"),AE=Symbol.for("react.provider"),NE=Symbol.for("react.context"),PE=Symbol.for("react.forward_ref"),BE=Symbol.for("react.suspense"),ME=Symbol.for("react.memo"),WE=Symbol.for("react.lazy"),Jh=Symbol.iterator;function DE(e){return e===null||typeof e!="object"?null:(e=Jh&&e[Jh]||e["@@iterator"],typeof e=="function"?e:null)}var d0={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},p0=Object.assign,h0={};function $i(e,t,r){this.props=e,this.context=t,this.refs=h0,this.updater=r||d0}$i.prototype.isReactComponent={};$i.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")};$i.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function g0(){}g0.prototype=$i.prototype;function _f(e,t,r){this.props=e,this.context=t,this.refs=h0,this.updater=r||d0}var Sf=_f.prototype=new g0;Sf.constructor=_f;p0(Sf,$i.prototype);Sf.isPureReactComponent=!0;var bh=Array.isArray,m0=Object.prototype.hasOwnProperty,xf={current:null},v0={key:!0,ref:!0,__self:!0,__source:!0};function w0(e,t,r){var o,l={},s=null,c=null;if(t!=null)for(o in t.ref!==void 0&&(c=t.ref),t.key!==void 0&&(s=""+t.key),t)m0.call(t,o)&&!v0.hasOwnProperty(o)&&(l[o]=t[o]);var f=arguments.length-2;if(f===1)l.children=r;else if(1<f){for(var p=Array(f),m=0;m<f;m++)p[m]=arguments[m+2];l.children=p}if(e&&e.defaultProps)for(o in f=e.defaultProps,f)l[o]===void 0&&(l[o]=f[o]);return{$$typeof:il,type:e,key:s,ref:c,props:l,_owner:xf.current}}function zE(e,t){return{$$typeof:il,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Cf(e){return typeof e=="object"&&e!==null&&e.$$typeof===il}function $E(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var eg=/\/+/g;function Za(e,t){return typeof e=="object"&&e!==null&&e.key!=null?$E(""+e.key):t.toString(36)}function Eu(e,t,r,o,l){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case il:case RE:c=!0}}if(c)return c=e,l=l(c),e=o===""?"."+Za(c,0):o,bh(l)?(r="",e!=null&&(r=e.replace(eg,"$&/")+"/"),Eu(l,t,r,"",function(m){return m})):l!=null&&(Cf(l)&&(l=zE(l,r+(!l.key||c&&c.key===l.key?"":(""+l.key).replace(eg,"$&/")+"/")+e)),t.push(l)),1;if(c=0,o=o===""?".":o+":",bh(e))for(var f=0;f<e.length;f++){s=e[f];var p=o+Za(s,f);c+=Eu(s,t,r,p,l)}else if(p=DE(e),typeof p=="function")for(e=p.call(e),f=0;!(s=e.next()).done;)s=s.value,p=o+Za(s,f++),c+=Eu(s,t,r,p,l);else if(s==="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 c}function ru(e,t,r){if(e==null)return e;var o=[],l=0;return Eu(e,o,"","",function(s){return t.call(r,s,l++)}),o}function FE(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 wt={current:null},ku={transition:null},UE={ReactCurrentDispatcher:wt,ReactCurrentBatchConfig:ku,ReactCurrentOwner:xf};me.Children={map:ru,forEach:function(e,t,r){ru(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return ru(e,function(){t++}),t},toArray:function(e){return ru(e,function(t){return t})||[]},only:function(e){if(!Cf(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};me.Component=$i;me.Fragment=IE;me.Profiler=OE;me.PureComponent=_f;me.StrictMode=TE;me.Suspense=BE;me.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=UE;me.cloneElement=function(e,t,r){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=p0({},e.props),l=e.key,s=e.ref,c=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,c=xf.current),t.key!==void 0&&(l=""+t.key),e.type&&e.type.defaultProps)var f=e.type.defaultProps;for(p in t)m0.call(t,p)&&!v0.hasOwnProperty(p)&&(o[p]=t[p]===void 0&&f!==void 0?f[p]:t[p])}var p=arguments.length-2;if(p===1)o.children=r;else if(1<p){f=Array(p);for(var m=0;m<p;m++)f[m]=arguments[m+2];o.children=f}return{$$typeof:il,type:e.type,key:l,ref:s,props:o,_owner:c}};me.createContext=function(e){return e={$$typeof:NE,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:AE,_conLine truncated
|
||||
* @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.
|
||||
*/var HE=ee,GE=Symbol.for("react.element"),VE=Symbol.for("react.fragment"),qE=Object.prototype.hasOwnProperty,QE=HE.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,KE={key:!0,ref:!0,__self:!0,__source:!0};function y0(e,t,r){var o,l={},s=null,c=null;r!==void 0&&(s=""+r),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(c=t.ref);for(o in t)qE.call(t,o)&&!KE.hasOwnProperty(o)&&(l[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps,t)l[o]===void 0&&(l[o]=t[o]);return{$$typeof:GE,type:e,key:s,ref:c,props:l,_owner:QE.current}}ps.Fragment=VE;ps.jsx=y0;ps.jsxs=y0;c0.exports=ps;var I=c0.exports,Ec={},_0={exports:{}},Ft={},S0={exports:{}},x0={};/**
|
||||
* @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.
|
||||
*/(function(e){function t(U,V){var H=U.length;U.push(V);e:for(;0<H;){var Y=H-1>>>1,ve=U[Y];if(0<l(ve,V))U[Y]=V,U[H]=ve,H=Y;else break e}}function r(U){return U.length===0?null:U[0]}function o(U){if(U.length===0)return null;var V=U[0],H=U.pop();if(H!==V){U[0]=H;e:for(var Y=0,ve=U.length,ke=ve>>>1;Y<ke;){var Se=2*(Y+1)-1,Ye=U[Se],Ze=Se+1,Tt=U[Ze];if(0>l(Ye,H))Ze<ve&&0>l(Tt,Ye)?(U[Y]=Tt,U[Ze]=H,Y=Ze):(U[Y]=Ye,U[Se]=H,Y=Se);else if(Ze<ve&&0>l(Tt,H))U[Y]=Tt,U[Ze]=H,Y=Ze;else break e}}return V}function l(U,V){var H=U.sortIndex-V.sortIndex;return H!==0?H:U.id-V.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var c=Date,f=c.now();e.unstable_now=function(){return c.now()-f}}var p=[],m=[],E=1,x=null,w=3,S=!1,T=!1,L=!1,z=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function C(U){for(var V=r(m);V!==null;){if(V.callback===null)o(m);else if(V.startTime<=U)o(m),V.sortIndex=V.expirationTime,t(p,V);else break;V=r(m)}}function N(U){if(L=!1,C(U),!T)if(r(p)!==null)T=!0,Ne(M);else{var V=r(m);V!==null&&de(N,V.startTime-U)}}function M(U,V){T=!1,L&&(L=!1,v(B),B=-1),S=!0;var H=w;try{for(C(V),x=r(p);x!==null&&(!(x.expirationTime>V)||U&&!q());){var Y=x.callback;if(typeof Y=="function"){x.callback=null,w=x.priorityLevel;var ve=Y(x.expirationTime<=V);V=e.unstable_now(),typeof ve=="function"?x.callback=ve:x===r(p)&&o(p),C(V)}else o(p);x=r(p)}if(x!==null)var ke=!0;else{var Se=r(m);Se!==null&&de(N,Se.startTime-V),ke=!1}return ke}finally{x=null,w=H,S=!1}}var D=!1,O=null,B=-1,J=5,Q=-1;function q(){return!(e.unstable_now()-Q<J)}function b(){if(O!==null){var U=e.unstable_now();Q=U;var V=!0;try{V=O(!0,U)}finally{V?te():(D=!1,O=null)}}else D=!1}var te;if(typeof y=="function")te=function(){y(b)};else if(typeof MessageChannel<"u"){var ue=new MessageChannel,le=ue.port2;ue.port1.onmessage=b,te=function(){le.postMessage(null)}}else te=function(){z(b,0)};function Ne(U){O=U,D||(D=!0,te())}function de(U,V){B=z(function(){U(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(U){U.callback=null},e.unstable_continueExecution=function(){T||S||(T=!0,Ne(M))},e.unstable_forceFrameRate=function(U){0>U||125<U?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):J=0<U?Math.floor(1e3/U):5},e.unstable_getCurrentPriorityLevel=function(){return w},e.unstable_getFirstCallbackNode=function(){return r(p)},e.unstable_next=function(U){switch(w){case 1:case 2:case 3:var V=3;break;default:V=w}var H=w;w=V;try{return U()}finally{w=H}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(U,V){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var H=w;w=U;try{return V()}finally{w=H}},e.unstable_scheduleCallback=function(U,V,H){var Y=e.unstable_now();switch(typeof H=="object"&&H!==null?(H=H.delay,H=typeof H=="number"&&0<H?Y+H:Y):H=Y,U){case 1:var ve=-1;break;case 2:ve=250;break;case 5:ve=1073741823;break;case 4:ve=1e4;break;default:ve=5e3}return ve=H+ve,U={id:E++,callback:V,priorityLevel:U,startTime:H,expirationTime:ve,sortIndex:-1},H>Y?(U.sortIndex=H,t(m,U),r(p)===null&&U===r(m)&&(L?(v(B),B=-1):L=!0,de(N,H-Y))):(U.sortIndex=ve,t(p,U),T||S||(T=!0,Ne(M))),U},e.unstable_shouldYield=q,e.unstable_wrapCallback=function(U){var V=w;return function(){var H=w;w=V;try{return U.apply(this,arguments)}finally{w=H}}}})(x0);S0.exports=x0;var YE=S0.exports;/**
|
||||
* @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.
|
||||
*/var C0=ee,$t=YE;function G(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;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."}var E0=new Set,$o={};function Qr(e,t){Ni(e,t),Ni(e+"Capture",t)}function Ni(e,t){for($o[e]=t,e=0;e<t.length;e++)E0.add(t[e])}var Un=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),kc=Object.prototype.hasOwnProperty,ZE=/^[: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]*$/,tg={},ng={};function XE(e){return kc.call(ng,e)?!0:kc.call(tg,e)?!1:ZE.test(e)?ng[e]=!0:(tg[e]=!0,!1)}function JE(e,t,r,o){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return o?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function bE(e,t,r,o){if(t===null||typeof t>"u"||JE(e,t,r,o))return!0;if(o)return!1;if(r!==null)switch(r.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 yt(e,t,r,o,l,s,c){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=o,this.attributeNamespace=l,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=c}var lt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){lt[e]=new yt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];lt[t]=new yt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){lt[e]=new yt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){lt[e]=new yt(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){lt[e]=new yt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){lt[e]=new yt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){lt[e]=new yt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){lt[e]=new yt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){lt[e]=new yt(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ef=/[\-:]([a-z])/g;function kf(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-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Ef,kf);lt[t]=new yt(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Ef,kf);lt[t]=new yt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Ef,kf);lt[t]=new yt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){lt[e]=new yt(e,1,!1,e.toLowerCase(),null,!1,!1)});lt.xlinkHref=new yt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){lt[e]=new yt(e,1,!1,e.toLowerCase(),null,!0,!0)});function Lf(e,t,r,o){var l=lt.hasOwnProperty(t)?lt[t]:null;(l!==null?l.type!==0:o||!(2<t.length)||t[0]!=="o"&&t[0]!==
Line truncated
|
||||
`+Xa+e}var Ja=!1;function ba(e,t){if(!e||Ja)return"";Ja=!0;var r=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(m){var o=m}Reflect.construct(e,[],t)}else{try{t.call()}catch(m){o=m}e.call(t.prototype)}else{try{throw Error()}catch(m){o=m}e()}}catch(m){if(m&&o&&typeof m.stack=="string"){for(var l=m.stack.split(`
|
||||
`),s=o.stack.split(`
|
||||
`),c=l.length-1,f=s.length-1;1<=c&&0<=f&&l[c]!==s[f];)f--;for(;1<=c&&0<=f;c--,f--)if(l[c]!==s[f]){if(c!==1||f!==1)do if(c--,f--,0>f||l[c]!==s[f]){var p=`
|
||||
`+l[c].replace(" at new "," at ");return e.displayName&&p.includes("<anonymous>")&&(p=p.replace("<anonymous>",e.displayName)),p}while(1<=c&&0<=f);break}}}finally{Ja=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?ko(e):""}function e2(e){switch(e.tag){case 5:return ko(e.type);case 16:return ko("Lazy");case 13:return ko("Suspense");case 19:return ko("SuspenseList");case 0:case 2:case 15:return e=ba(e.type,!1),e;case 11:return e=ba(e.type.render,!1),e;case 1:return e=ba(e.type,!0),e;default:return""}}function Tc(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 gi:return"Fragment";case hi:return"Portal";case Lc:return"Profiler";case Rf:return"StrictMode";case Rc:return"Suspense";case Ic:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case L0:return(e.displayName||"Context")+".Consumer";case k0:return(e._context.displayName||"Context")+".Provider";case If:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Tf:return t=e.displayName||null,t!==null?t:Tc(e.type)||"Memo";case ir:t=e._payload,e=e._init;try{return Tc(e(t))}catch{}}return null}function t2(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 Tc(t);case 8:return t===Rf?"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 Sr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function I0(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function n2(e){var t=I0(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var l=r.get,s=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(c){o=""+c,s.call(this,c)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return o},setValue:function(c){o=""+c},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ou(e){e._valueTracker||(e._valueTracker=n2(e))}function T0(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),o="";return e&&(o=I0(e)?e.checked?"true":"false":e.value),e=o,e!==r?(t.setValue(e),!0):!1}function Du(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 Oc(e,t){var r=t.checked;return ze({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function ig(e,t){var r=t.defaultValue==null?"":t.defaultValue,o=t.checked!=null?t.checked:t.defaultChecked;r=Sr(t.value!=null?t.value:r),e._wrapperState={initialChecked:o,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function O0(e,t){t=t.checked,t!=null&&Lf(e,"checked",t,!1)}function Ac(e,t){O0(e,t);var r=Sr(t.value),o=t.type;if(r!=null)o==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(o==="submit"||o==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Nc(e,t.type,r):t.hasOwnProperty("defaultValue")&&Nc(e,t.type,Sr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function og(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var o=t.type;if(!(o!=="submit"&&o!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function Nc(e,t,r){(t!=="number"||Du(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Lo=Array.isArray;function Li(e,t,r,o){if(e=e.options,t){t={};for(var l=0;l<r.length;l++)t["$"+r[l]]=!0;for(r=0;r<e.length;r++)l=t.hasOwnProperty("$"+e[r].value),e[r].selected!==l&&(e[r].selected=l),l&&o&&(e[r].defaultSelected=!0)}else{for(r=""+Sr(r),t=null,l=0;l<e.length;l++){if(e[l].value===r){e[l].selected=!0,o&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function Pc(e,t){if(t.dan
Line truncated
|
||||
`).replace(dk,"")}function pu(e,t,r){if(t=Ig(t),Ig(e)!==t&&r)throw Error(G(425))}function Vu(){}var qc=null,Qc=null;function Kc(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 Yc=typeof setTimeout=="function"?setTimeout:void 0,pk=typeof clearTimeout=="function"?clearTimeout:void 0,Tg=typeof Promise=="function"?Promise:void 0,hk=typeof queueMicrotask=="function"?queueMicrotask:typeof Tg<"u"?function(e){return Tg.resolve(null).then(e).catch(gk)}:Yc;function gk(e){setTimeout(function(){throw e})}function dc(e,t){var r=t,o=0;do{var l=r.nextSibling;if(e.removeChild(r),l&&l.nodeType===8)if(r=l.data,r==="/$"){if(o===0){e.removeChild(l),Go(t);return}o--}else r!=="$"&&r!=="$?"&&r!=="$!"||o++;r=l}while(r);Go(t)}function hr(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 Og(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(t===0)return e;t--}else r==="/$"&&t++}e=e.previousSibling}return null}var Ui=Math.random().toString(36).slice(2),Cn="__reactFiber$"+Ui,Yo="__reactProps$"+Ui,jn="__reactContainer$"+Ui,Zc="__reactEvents$"+Ui,mk="__reactListeners$"+Ui,vk="__reactHandles$"+Ui;function Dr(e){var t=e[Cn];if(t)return t;for(var r=e.parentNode;r;){if(t=r[jn]||r[Cn]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=Og(e);e!==null;){if(r=e[Cn])return r;e=Og(e)}return t}e=r,r=e.parentNode}return null}function ul(e){return e=e[Cn]||e[jn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function yi(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(G(33))}function ws(e){return e[Yo]||null}var Xc=[],_i=-1;function Er(e){return{current:e}}function Ae(e){0>_i||(e.current=Xc[_i],Xc[_i]=null,_i--)}function Ie(e,t){_i++,Xc[_i]=e.current,e.current=t}var xr={},dt=Er(xr),Lt=Er(!1),jr=xr;function Pi(e,t){var r=e.type.contextTypes;if(!r)return xr;var o=e.stateNode;if(o&&o.__reactInternalMemoizedUnmaskedChildContext===t)return o.__reactInternalMemoizedMaskedChildContext;var l={},s;for(s in r)l[s]=t[s];return o&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function Rt(e){return e=e.childContextTypes,e!=null}function qu(){Ae(Lt),Ae(dt)}function Ag(e,t,r){if(dt.current!==xr)throw Error(G(168));Ie(dt,t),Ie(Lt,r)}function wm(e,t,r){var o=e.stateNode;if(t=t.childContextTypes,typeof o.getChildContext!="function")return r;o=o.getChildContext();for(var l in o)if(!(l in t))throw Error(G(108,t2(e)||"Unknown",l));return ze({},r,o)}function Qu(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||xr,jr=dt.current,Ie(dt,e),Ie(Lt,Lt.current),!0}function Ng(e,t,r){var o=e.stateNode;if(!o)throw Error(G(169));r?(e=wm(e,t,jr),o.__reactInternalMemoizedMergedChildContext=e,Ae(Lt),Ae(dt),Ie(dt,e)):Ae(Lt),Ie(Lt,r)}var Dn=null,ys=!1,pc=!1;function ym(e){Dn===null?Dn=[e]:Dn.push(e)}function wk(e){ys=!0,ym(e)}function kr(){if(!pc&&Dn!==null){pc=!0;var e=0,t=Ee;try{var r=Dn;for(Ee=1;e<r.length;e++){var o=r[e];do o=o(!0);while(o!==null)}Dn=null,ys=!1}catch(l){throw Dn!==null&&(Dn=Dn.slice(e+1)),G0(Af,kr),l}finally{Ee=t,pc=!1}}return null}var Si=[],xi=0,Ku=null,Yu=0,Zt=[],Xt=0,Hr=null,zn=1,$n="";function Mr(e,t){Si[xi++]=Yu,Si[xi++]=Ku,Ku=e,Yu=t}function _m(e,t,r){Zt[Xt++]=zn,Zt[Xt++]=$n,Zt[Xt++]=Hr,Hr=e;var o=zn;e=$n;var l=32-hn(o)-1;o&=~(1<<l),r+=1;var s=32-hn(t)+l;if(30<s){var c=l-l%5;s=(o&(1<<c)-1).toString(32),o>>=c,l-=c,zn=1<<32-hn(t)+l|r<<l|o,$n=s+e}else zn=1<<s|r<<l|o,$n=e}function Ff(e){e.return!==null&&(Mr(e,1),_m(e,1,0))}function Uf(e){for(;e===Ku;)Ku=Si[--xi],Si[xi]=null,Yu=Si[--xi],Si[xi]=null;for(;e===Hr;)Hr=Zt[--Xt],Zt[Xt]=null,$n=Zt[--Xt],Zt[Xt]=null,zn=Zt[--Xt],Zt[Xt]=null}var zt=null,Dt=null,Be=!1,pn=null;function Sm(e,t){var r=Jt(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,t=e.deletions,t===null?(e.deletions=[r],e.flags|=16):t.push(r)}function Pg(e,t){switch(e.tag){case 5:var r=e.type;return t=t.nodeType!==1||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,zt=e,Dt=hr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,zt=e,Dt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(r=Hr!==null?{id:zn,overflow:$n}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},r=Jt(18,null,null,0),r.stateNode=t,r.return=e,e.child=r,zt=e,Dt=null,!0):!1;default:return!1}}function Jc(e){return(e.mode&1)!==0&&(e.flags&128)===0}function bc(e){if(Be){var t=Dt;if(t){var r=t;if(!Pg(e,t)){if(Jc(e))throw Error(G(418));t=hr(r.nextSibling);var o=zt;t&&Pg(e,t)?Sm(o,r):(e.flags=e.flags&-4097|2,Be=!1,zt=e)}}else{if(Jc(e))throw Error(G(418));e.flags=e.flags&-4097|2,Be=!1,zt=e}}}function Bg(e){for(e=e
Line truncated
|
||||
Error generating stack: `+s.message+`
|
||||
`+s.stack}return{value:e,source:t,stack:l,digest:null}}function wc(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function rf(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var Rk=typeof WeakMap=="function"?WeakMap:Map;function Ym(e,t,r){r=Fn(-1,r),r.tag=3,r.payload={element:null};var o=t.value;return r.callback=function(){rs||(rs=!0,hf=o),rf(e,t)},r}function Zm(e,t,r){r=Fn(-1,r),r.tag=3;var o=e.type.getDerivedStateFromError;if(typeof o=="function"){var l=t.value;r.payload=function(){return o(l)},r.callback=function(){rf(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(r.callback=function(){rf(e,t),typeof o!="function"&&(mr===null?mr=new Set([this]):mr.add(this));var c=t.stack;this.componentDidCatch(t.value,{componentStack:c!==null?c:""})}),r}function jg(e,t,r){var o=e.pingCache;if(o===null){o=e.pingCache=new Rk;var l=new Set;o.set(t,l)}else l=o.get(t),l===void 0&&(l=new Set,o.set(t,l));l.has(r)||(l.add(r),e=Uk.bind(null,e,t,r),t.then(e,e))}function Hg(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 Gg(e,t,r,o,l){return e.mode&1?(e.flags|=65536,e.lanes=l,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=Fn(-1,1),t.tag=2,gr(r,t,1))),r.lanes|=1),e)}var Ik=qn.ReactCurrentOwner,kt=!1;function mt(e,t,r,o){t.child=e===null?Im(t,null,r,o):Mi(t,e.child,r,o)}function Vg(e,t,r,o,l){r=r.render;var s=t.ref;return Oi(t,l),o=Jf(e,t,r,o,s,l),r=bf(),e!==null&&!kt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Gn(e,t,l)):(Be&&r&&Ff(t),t.flags|=1,mt(e,t,o,l),t.child)}function qg(e,t,r,o,l){if(e===null){var s=r.type;return typeof s=="function"&&!ad(s)&&s.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=s,Xm(e,t,s,o,l)):(e=Mu(r.type,null,o,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&l)){var c=s.memoizedProps;if(r=r.compare,r=r!==null?r:qo,r(c,o)&&e.ref===t.ref)return Gn(e,t,l)}return t.flags|=1,e=wr(s,o),e.ref=t.ref,e.return=t,t.child=e}function Xm(e,t,r,o,l){if(e!==null){var s=e.memoizedProps;if(qo(s,o)&&e.ref===t.ref)if(kt=!1,t.pendingProps=o=s,(e.lanes&l)!==0)e.flags&131072&&(kt=!0);else return t.lanes=e.lanes,Gn(e,t,l)}return of(e,t,r,o,l)}function Jm(e,t,r){var o=t.pendingProps,l=o.children,s=e!==null?e.memoizedState:null;if(o.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ie(ki,Wt),Wt|=r;else{if(!(r&1073741824))return e=s!==null?s.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ie(ki,Wt),Wt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},o=s!==null?s.baseLanes:r,Ie(ki,Wt),Wt|=o}else s!==null?(o=s.baseLanes|r,t.memoizedState=null):o=r,Ie(ki,Wt),Wt|=o;return mt(e,t,l,r),t.child}function bm(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function of(e,t,r,o,l){var s=Rt(r)?jr:dt.current;return s=Pi(t,s),Oi(t,l),r=Jf(e,t,r,o,s,l),o=bf(),e!==null&&!kt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Gn(e,t,l)):(Be&&o&&Ff(t),t.flags|=1,mt(e,t,r,l),t.child)}function Qg(e,t,r,o,l){if(Rt(r)){var s=!0;Qu(t)}else s=!1;if(Oi(t,l),t.stateNode===null)Nu(e,t),Lm(t,r,o),nf(t,r,o,l),o=!0;else if(e===null){var c=t.stateNode,f=t.memoizedProps;c.props=f;var p=c.context,m=r.contextType;typeof m=="object"&&m!==null?m=en(m):(m=Rt(r)?jr:dt.current,m=Pi(t,m));var E=r.getDerivedStateFromProps,x=typeof E=="function"||typeof c.getSnapshotBeforeUpdate=="function";x||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(f!==o||p!==m)&&zg(t,c,o,m),or=!1;var w=t.memoizedState;c.state=w,Ju(t,o,c,l),p=t.memoizedState,f!==o||w!==p||Lt.current||or?(typeof E=="function"&&(tf(t,r,E,o),p=t.memoizedState),(f=or||Dg(t,r,f,o,w,p,m))?(x||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"&&(t.flags|=4194308)):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=o,t.memoizedState=p),c.props=o,c.state=p,c.context=m,o=f):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),o=!1)}else{c=t.stateNode,Em(e,t),f=t.memoizedProps,m=t.type===t.elementType?f:fn(t.type,f),c.props=m,x=t.pendingProps,w=c.context,p=r.contextType,typeof p=="object"&&p!==null?p=en(p):(p=Rt(r)?jr:dt.current,p=Pi(t,p));var S=r.getDerivedStateFromProps;(E=typeof S=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(f!==x||w!==p)&&zg(t,c,o,p),or=!1,w=t.memoizedState,c.state=w,Ju(t,o,c,l);var T=t.memoizedS
Line truncated
|
||||
* @license
|
||||
* Lodash <https://lodash.com/>
|
||||
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
||||
* Released under MIT license <https://lodash.com/license>
|
||||
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
||||
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
||||
*/us.exports;(function(e,t){(function(){var r,o="4.17.21",l=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",c="Expected a function",f="Invalid `variable` option passed into `_.template`",p="__lodash_hash_undefined__",m=500,E="__lodash_placeholder__",x=1,w=2,S=4,T=1,L=2,z=1,v=2,y=4,C=8,N=16,M=32,D=64,O=128,B=256,J=512,Q=30,q="...",b=800,te=16,ue=1,le=2,Ne=3,de=1/0,U=9007199254740991,V=17976931348623157e292,H=0/0,Y=4294967295,ve=Y-1,ke=Y>>>1,Se=[["ary",O],["bind",z],["bindKey",v],["curry",C],["curryRight",N],["flip",J],["partial",M],["partialRight",D],["rearg",B]],Ye="[object Arguments]",Ze="[object Array]",Tt="[object AsyncFunction]",Hi="[object Boolean]",Gi="[object Date]",Dv="[object DOMException]",dl="[object Error]",pl="[object Function]",yd="[object GeneratorFunction]",nn="[object Map]",Vi="[object Number]",zv="[object Null]",Ln="[object Object]",_d="[object Promise]",$v="[object Proxy]",qi="[object RegExp]",rn="[object Set]",Qi="[object String]",hl="[object Symbol]",Fv="[object Undefined]",Ki="[object WeakMap]",Uv="[object WeakSet]",Yi="[object ArrayBuffer]",Zr="[object DataView]",Ts="[object Float32Array]",Os="[object Float64Array]",As="[object Int8Array]",Ns="[object Int16Array]",Ps="[object Int32Array]",Bs="[object Uint8Array]",Ms="[object Uint8ClampedArray]",Ws="[object Uint16Array]",Ds="[object Uint32Array]",jv=/\b__p \+= '';/g,Hv=/\b(__p \+=) '' \+/g,Gv=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Sd=/&(?:amp|lt|gt|quot|#39);/g,xd=/[&<>"']/g,Vv=RegExp(Sd.source),qv=RegExp(xd.source),Qv=/<%-([\s\S]+?)%>/g,Kv=/<%([\s\S]+?)%>/g,Cd=/<%=([\s\S]+?)%>/g,Yv=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Zv=/^\w*$/,Xv=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,zs=/[\\^$.*+?()[\]{}|]/g,Jv=RegExp(zs.source),$s=/^\s+/,bv=/\s/,e1=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,t1=/\{\n\/\* \[wrapped with (.+)\] \*/,n1=/,? & /,r1=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,i1=/[()=,{}\[\]\/\s]/,o1=/\\(\\)?/g,l1=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ed=/\w*$/,u1=/^[-+]0x[0-9a-f]+$/i,s1=/^0b[01]+$/i,a1=/^\[object .+?Constructor\]$/,c1=/^0o[0-7]+$/i,f1=/^(?:0|[1-9]\d*)$/,d1=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,gl=/($^)/,p1=/['\n\r\u2028\u2029\\]/g,ml="\\ud800-\\udfff",h1="\\u0300-\\u036f",g1="\\ufe20-\\ufe2f",m1="\\u20d0-\\u20ff",kd=h1+g1+m1,Ld="\\u2700-\\u27bf",Rd="a-z\\xdf-\\xf6\\xf8-\\xff",v1="\\xac\\xb1\\xd7\\xf7",w1="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",y1="\\u2000-\\u206f",_1=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Id="A-Z\\xc0-\\xd6\\xd8-\\xde",Td="\\ufe0e\\ufe0f",Od=v1+w1+y1+_1,Fs="['’]",S1="["+ml+"]",Ad="["+Od+"]",vl="["+kd+"]",Nd="\\d+",x1="["+Ld+"]",Pd="["+Rd+"]",Bd="[^"+ml+Od+Nd+Ld+Rd+Id+"]",Us="\\ud83c[\\udffb-\\udfff]",C1="(?:"+vl+"|"+Us+")",Md="[^"+ml+"]",js="(?:\\ud83c[\\udde6-\\uddff]){2}",Hs="[\\ud800-\\udbff][\\udc00-\\udfff]",Xr="["+Id+"]",Wd="\\u200d",Dd="(?:"+Pd+"|"+Bd+")",E1="(?:"+Xr+"|"+Bd+")",zd="(?:"+Fs+"(?:d|ll|m|re|s|t|ve))?",$d="(?:"+Fs+"(?:D|LL|M|RE|S|T|VE))?",Fd=C1+"?",Ud="["+Td+"]?",k1="(?:"+Wd+"(?:"+[Md,js,Hs].join("|")+")"+Ud+Fd+")*",L1="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",R1="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",jd=Ud+Fd+k1,I1="(?:"+[x1,js,Hs].join("|")+")"+jd,T1="(?:"+[Md+vl+"?",vl,js,Hs,S1].join("|")+")",O1=RegExp(Fs,"g"),A1=RegExp(vl,"g"),Gs=RegExp(Us+"(?="+Us+")|"+T1+jd,"g"),N1=RegExp([Xr+"?"+Pd+"+"+zd+"(?="+[Ad,Xr,"$"].join("|")+")",E1+"+"+$d+"(?="+[Ad,Xr+Dd,"$"].join("|")+")",Xr+"?"+Dd+"+"+zd,Xr+"+"+$d,R1,L1,Nd,I1].join("|"),"g"),P1=RegExp("["+Wd+ml+kd+Td+"]"),B1=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,M1=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],W1=-1,Te={};Te[Ts]=Te[Os]=Te[As]=Te[Ns]=Te[Ps]=Te[Bs]=Te[Ms]=Te[Ws]=Te[Ds]=!0,Te[Ye]=Te[Ze]=Te[Yi]=Te[Hi]=Te[Zr]=Te[Gi]=Te[dl]=Te[pl]=Te[nn]=Te[Vi]=Te[Ln]=Te[qi]=Te[rn]=Te[Qi]=Te[Ki]=!1;var Re={};Re[Ye]=Re[Ze]=Re[Yi]=Re[Zr]=Re[Hi]=Re[Gi]=Re[Ts]=Re[Os]=Re[As]=Re[Ns]=Re[Ps]=Re[nn]=Re[Vi]=Re[Ln]=Re[qi]=Re[rn]=Re[Qi]=Re[hl]=Re[Bs]=Re[Ms]=Re[Ws]=Re[Ds]=!0,Re[dl]=Re[pl]=Re[Ki]=!1;var D1={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċLine truncated
|
||||
/* [wrapped with `+i+`] */
|
||||
`)}function by(n){return ae(n)||Br(n)||!!(fp&&n&&n[fp])}function Nn(n,i){var u=typeof n;return i=i??U,!!i&&(u=="number"||u!="symbol"&&f1.test(n))&&n>-1&&n%1==0&&n<i}function ht(n,i,u){if(!Me(u))return!1;var a=typeof i;return(a=="number"?St(u)&&Nn(i,u.length):a=="string"&&i in u)?un(u[i],n):!1}function Aa(n,i){if(ae(n))return!1;var u=typeof n;return u=="number"||u=="symbol"||u=="boolean"||n==null||Pt(n)?!0:Zv.test(n)||!Yv.test(n)||i!=null&&n in Le(i)}function e_(n){var i=typeof n;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?n!=="__proto__":n===null}function Na(n){var i=ql(n),u=h[i];if(typeof u!="function"||!(i in ge.prototype))return!1;if(n===u)return!0;var a=Ia(u);return!!a&&n===a[0]}function t_(n){return!!up&&up in n}var n_=xl?Pn:Ya;function so(n){var i=n&&n.constructor,u=typeof i=="function"&&i.prototype||ni;return n===u}function uh(n){return n===n&&!Me(n)}function sh(n,i){return function(u){return u==null?!1:u[n]===i&&(i!==r||n in Le(u))}}function r_(n){var i=Jl(n,function(a){return u.size===m&&u.clear(),a}),u=i.cache;return i}function i_(n,i){var u=n[1],a=i[1],d=u|a,g=d<(z|v|O),_=a==O&&u==C||a==O&&u==B&&n[7].length<=i[8]||a==(O|B)&&i[7].length<=i[8]&&u==C;if(!(g||_))return n;a&z&&(n[2]=i[2],d|=u&z?0:y);var k=i[3];if(k){var A=n[3];n[3]=A?Gp(A,k,i[4]):k,n[4]=A?Zn(n[3],E):i[4]}return k=i[5],k&&(A=n[5],n[5]=A?Vp(A,k,i[6]):k,n[6]=A?Zn(n[5],E):i[6]),k=i[7],k&&(n[7]=k),a&O&&(n[8]=n[8]==null?i[8]:ut(n[8],i[8])),n[9]==null&&(n[9]=i[9]),n[0]=i[0],n[1]=d,n}function o_(n){var i=[];if(n!=null)for(var u in Le(n))i.push(u);return i}function l_(n){return El.call(n)}function ah(n,i,u){return i=qe(i===r?n.length-1:i,0),function(){for(var a=arguments,d=-1,g=qe(a.length-i,0),_=P(g);++d<g;)_[d]=a[i+d];d=-1;for(var k=P(i+1);++d<i;)k[d]=a[d];return k[i]=u(_),Ot(n,this,k)}}function ch(n,i){return i.length<2?n:Ar(n,Qt(i,0,-1))}function u_(n,i){for(var u=n.length,a=ut(i.length,u),d=_t(n);a--;){var g=i[a];n[a]=Nn(g,u)?d[g]:r}return n}function Pa(n,i){if(!(i==="constructor"&&typeof n[i]=="function")&&i!="__proto__")return n[i]}var fh=ph(Bp),ao=xw||function(n,i){return tt.setTimeout(n,i)},Ba=ph(Oy);function dh(n,i,u){var a=i+"";return Ba(n,Jy(a,s_(Yy(a),u)))}function ph(n){var i=0,u=0;return function(){var a=Lw(),d=te-(a-u);if(u=a,d>0){if(++i>=b)return arguments[0]}else i=0;return n.apply(r,arguments)}}function Kl(n,i){var u=-1,a=n.length,d=a-1;for(i=i===r?a:i;++u<i;){var g=ma(u,d),_=n[g];n[g]=n[u],n[u]=_}return n.length=i,n}var hh=r_(function(n){var i=[];return n.charCodeAt(0)===46&&i.push(""),n.replace(Xv,function(u,a,d,g){i.push(d?g.replace(o1,"$1"):a||u)}),i});function _n(n){if(typeof n=="string"||Pt(n))return n;var i=n+"";return i=="0"&&1/n==-de?"-0":i}function Pr(n){if(n!=null){try{return Cl.call(n)}catch{}try{return n+""}catch{}}return""}function s_(n,i){return Ht(Se,function(u){var a="_."+u[0];i&u[1]&&!wl(n,a)&&n.push(a)}),n.sort()}function gh(n){if(n instanceof ge)return n.clone();var i=new Vt(n.__wrapped__,n.__chain__);return i.__actions__=_t(n.__actions__),i.__index__=n.__index__,i.__values__=n.__values__,i}function a_(n,i,u){(u?ht(n,i,u):i===r)?i=1:i=qe(ce(i),0);var a=n==null?0:n.length;if(!a||i<1)return[];for(var d=0,g=0,_=P(Ol(a/i));d<a;)_[g++]=Qt(n,d,d+=i);return _}function c_(n){for(var i=-1,u=n==null?0:n.length,a=0,d=[];++i<u;){var g=n[i];g&&(d[a++]=g)}return d}function f_(){var n=arguments.length;if(!n)return[];for(var i=P(n-1),u=arguments[0],a=n;a--;)i[a-1]=arguments[a];return Yn(ae(u)?_t(u):[u],nt(i,1))}var d_=pe(function(n,i){return Ue(n)?ro(n,nt(i,1,Ue,!0)):[]}),p_=pe(function(n,i){var u=Kt(i);return Ue(u)&&(u=r),Ue(n)?ro(n,nt(i,1,Ue,!0),re(u,2)):[]}),h_=pe(function(n,i){var u=Kt(i);return Ue(u)&&(u=r),Ue(n)?ro(n,nt(i,1,Ue,!0),r,u):[]});function g_(n,i,u){var a=n==null?0:n.length;return a?(i=u||i===r?1:ce(i),Qt(n,i<0?0:i,a)):[]}function m_(n,i,u){var a=n==null?0:n.length;return a?(i=u||i===r?1:ce(i),i=a-i,Qt(n,0,i<0?0:i)):[]}function v_(n,i){return n&&n.length?Fl(n,re(i,3),!0,!0):[]}function w_(n,i){return n&&n.length?Fl(n,re(i,3),!0):[]}function y_(n,i,u,a){var d=n==null?0:n.length;return d?(u&&typeof u!="number"&&ht(n,i,u)&&(u=0,a=d),fy(n,i,u,a)):[]}function mh(n,i,u){var a=n==null?0:n.length;if(!a)return-1;var d=u==null?0:ce(u);return d<0&&(d=qe(a+d,0)),yl(n,re(i,3),d)}function vh(n,i,u){var a=n==null?0:n.length;if(!a)return-1;var d=a-1;return u!==r&&(d=ce(u),d=u<0?qe(a+d,0):ut(d,a-1)),yl(n,re(i,3),d,!0)}function wh(n){var i=n==null?0:n.length;return i?nt(n,1):[]}function __(n){var i=n==null?0:n.length;return i?nt(n,de):[]}function S_(n,i){var u=n==null?0:n.length;return u?(i=i===r?1:ce(i),nt(n,i)):[]}function x_(n){for(var i=-1,u=n==null?0:n.length,a={};++i<u;){var d=n[i];a[d[0]]=d[1]}return a}function yh(n){return n&&n.length?n[0]:r}function C_(n,i,u){var a=n==null?0:n.length;if(!a)return-1;var d=u==null?0:ce(u);return d<0&&(d=qe(a+d,0)),Jr(n,i,d)}function E_(n){var i=n==null?0:n.length;return i?Qt(n,0,-1):[]}var k_=pe(function(n){var i=Pe(n,Sa);return i.length&&i[0]===n[0]?fa(i):[]}),L_=pe
Line truncated
|
||||
`;n.replace(K,function(oe,he,we,Bt,gt,Mt){return we||(we=Bt),j+=n.slice($,Mt).replace(p1,nw),he&&(k=!0,j+=`' +
|
||||
__e(`+he+`) +
|
||||
'`),gt&&(A=!0,j+=`';
|
||||
`+gt+`;
|
||||
__p += '`),we&&(j+=`' +
|
||||
((__t = (`+we+`)) == null ? '' : __t) +
|
||||
'`),$=Mt+oe.length,oe}),j+=`';
|
||||
`;var ie=Ce.call(i,"variable")&&i.variable;if(!ie)j=`with (obj) {
|
||||
`+j+`
|
||||
}
|
||||
`;else if(i1.test(ie))throw new se(f);j=(A?j.replace(jv,""):j).replace(Hv,"$1").replace(Gv,"$1;"),j="function("+(ie||"obj")+`) {
|
||||
`+(ie?"":`obj || (obj = {});
|
||||
`)+"var __t, __p = ''"+(k?", __e = _.escape":"")+(A?`, __j = Array.prototype.join;
|
||||
function print() { __p += __j.call(arguments, '') }
|
||||
`:`;
|
||||
`)+j+`return __p
|
||||
}`;var fe=Qh(function(){return _e(g,ne+"return "+j).apply(r,_)});if(fe.source=j,$a(fe))throw fe;return fe}function IC(n){return xe(n).toLowerCase()}function TC(n){return xe(n).toUpperCase()}function OC(n,i,u){if(n=xe(n),n&&(u||i===r))return np(n);if(!n||!(i=Nt(i)))return n;var a=on(n),d=on(i),g=rp(a,d),_=ip(a,d)+1;return tr(a,g,_).join("")}function AC(n,i,u){if(n=xe(n),n&&(u||i===r))return n.slice(0,lp(n)+1);if(!n||!(i=Nt(i)))return n;var a=on(n),d=ip(a,on(i))+1;return tr(a,0,d).join("")}function NC(n,i,u){if(n=xe(n),n&&(u||i===r))return n.replace($s,"");if(!n||!(i=Nt(i)))return n;var a=on(n),d=rp(a,on(i));return tr(a,d).join("")}function PC(n,i){var u=Q,a=q;if(Me(i)){var d="separator"in i?i.separator:d;u="length"in i?ce(i.length):u,a="omission"in i?Nt(i.omission):a}n=xe(n);var g=n.length;if(br(n)){var _=on(n);g=_.length}if(u>=g)return n;var k=u-ei(a);if(k<1)return a;var A=_?tr(_,0,k).join(""):n.slice(0,k);if(d===r)return A+a;if(_&&(k+=A.length-k),Fa(d)){if(n.slice(k).search(d)){var $,F=A;for(d.global||(d=na(d.source,xe(Ed.exec(d))+"g")),d.lastIndex=0;$=d.exec(F);)var j=$.index;A=A.slice(0,j===r?k:j)}}else if(n.indexOf(Nt(d),k)!=k){var K=A.lastIndexOf(d);K>-1&&(A=A.slice(0,K))}return A+a}function BC(n){return n=xe(n),n&&Vv.test(n)?n.replace(Sd,aw):n}var MC=ui(function(n,i,u){return n+(u?" ":"")+i.toUpperCase()}),Ha=Kp("toUpperCase");function qh(n,i,u){return n=xe(n),i=u?r:i,i===r?iw(n)?dw(n):Y1(n):n.match(i)||[]}var Qh=pe(function(n,i){try{return Ot(n,r,i)}catch(u){return $a(u)?u:new se(u)}}),WC=An(function(n,i){return Ht(i,function(u){u=_n(u),Tn(n,u,Da(n[u],n))}),n});function DC(n){var i=n==null?0:n.length,u=re();return n=i?Pe(n,function(a){if(typeof a[1]!="function")throw new Gt(c);return[u(a[0]),a[1]]}):[],pe(function(a){for(var d=-1;++d<i;){var g=n[d];if(Ot(g[0],this,a))return Ot(g[1],this,a)}})}function zC(n){return ay(qt(n,x))}function Ga(n){return function(){return n}}function $C(n,i){return n==null||n!==n?i:n}var FC=Zp(),UC=Zp(!0);function Ct(n){return n}function Va(n){return Lp(typeof n=="function"?n:qt(n,x))}function jC(n){return Ip(qt(n,x))}function HC(n,i){return Tp(n,qt(i,x))}var GC=pe(function(n,i){return function(u){return io(u,n,i)}}),VC=pe(function(n,i){return function(u){return io(n,u,i)}});function qa(n,i,u){var a=Xe(i),d=Dl(i,a);u==null&&!(Me(i)&&(d.length||!a.length))&&(u=i,i=n,n=this,d=Dl(i,Xe(i)));var g=!(Me(u)&&"chain"in u)||!!u.chain,_=Pn(n);return Ht(d,function(k){var A=i[k];n[k]=A,_&&(n.prototype[k]=function(){var $=this.__chain__;if(g||$){var F=n(this.__wrapped__),j=F.__actions__=_t(this.__actions__);return j.push({func:A,args:arguments,thisArg:n}),F.__chain__=$,F}return A.apply(n,Yn([this.value()],arguments))})}),n}function qC(){return tt._===this&&(tt._=ww),this}function Qa(){}function QC(n){return n=ce(n),pe(function(i){return Op(i,n)})}var KC=Ea(Pe),YC=Ea(Xd),ZC=Ea(Ys);function Kh(n){return Aa(n)?Zs(_n(n)):Ly(n)}function XC(n){return function(i){return n==null?r:Ar(n,i)}}var JC=Jp(),bC=Jp(!0);function Ka(){return[]}function Ya(){return!1}function eE(){return{}}function tE(){return""}function nE(){return!0}function rE(n,i){if(n=ce(n),n<1||n>U)return[];var u=Y,a=ut(n,Y);i=re(i),n-=Y;for(var d=bs(a,i);++u<n;)i(u);return d}function iE(n){return ae(n)?Pe(n,_n):Pt(n)?[n]:_t(hh(xe(n)))}function oE(n){var i=++mw;return xe(n)+i}var lE=Hl(function(n,i){return n+i},0),uE=ka("ceil"),sE=Hl(function(n,i){return n/i},1),aE=ka("floor");function cE(n){return n&&n.length?Wl(n,Ct,ca):r}function fE(n,i){return n&&n.length?Wl(n,re(i,2),ca):r}function dE(n){return ep(n,Ct)}function pE(n,i){return ep(n,re(i,2))}function hE(n){return n&&n.length?Wl(n,Ct,ha):r}function gE(n,i){return n&&n.length?Wl(n,re(i,2),ha):r}var mE=Hl(function(n,i){return n*i},1),vE=ka("round"),wE=Hl(function(n,i){return n-i},0);function yE(n){return n&&n.length?Js(n,Ct):0}function _E(n,i){return n&&n.length?Js(n,re(i,2)):0}return h.after=jS,h.ary=kh,h.assign=Tx,h.assignIn=$h,h.assignInWith=nu,h.assignWith=Ox,h.at=Ax,h.before=Lh,h.bind=Da,h.bindAll=WC,h.bindKey=Rh,h.castArray=ex,h.chain=xh,h.chunk=a_,h.compact=c_,h.concat=f_,h.cond=DC,h.conforms=zC,h.constant=Ga,h.countBy=yS,h.create=Nx,h.curry=Ih,h.curryRight=Th,h.debounce=Oh,h.defaults=Px,h.defaultsDeep=Bx,h.defer=HS,h.delay=GS,h.difference=d_,h.differenceBy=p_,h.differenceWith=h_,h.drop=g_,h.dropRight=m_,h.dropRightWhile=v_,h.dropWhile=w_,h.fill=y_,h.filter=SS,h.flatMap=ES,h.flatMapDeep=kS,h.flatMapDepth=LS,h.flatten=wh,h.flattenDeep=__,h.flattenDepth=S_,h.flip=VS,h.flow=FC,h.flowRight=UC,h.fromPairs=x_,h.functions=Ux,h.functionsIn=jx,h.groupBy=RS,h.initial=E_,h.intersection=k_,h.intersectionBy=L_,h.intersectionWith=R_,h.invert=Gx,h.invertBy=Vx,h.invokeMap=TS,h.iteratee=Va,h.keyBy=OS,h.keys=Xe,h.keysIn=xt,h.map=Zl,h.mapKeys=Qx,h.mapValues=Kx,h.matches=jC,h.matchesProperty=HC,h.memoize=Jl,h.merge=Yx,h.mergeWith=Fh,h.method=GC,h.methodOf=VC,h.mixin=qa,h.negate=bl,h.nthArg=QC,h.omit=Zx,h.omitBy=Xx,h.once=qS,h.orderBy=AS,h.over=KC,h.overArgs=QS,h.overEvery=YC,h.overSome=ZC,h.pa
Line truncated
|
||||
`;function sr({blocks:e=[],arrows:t=[],arrowId:r,rotate:o=!1,rotateNegative:l=!1,flip:s=!1,lines:c=[],children:f=[],includeInlineStyle:p=!1,effect:m,...E}){ee.useEffect(()=>m==null?void 0:m()),r=r||Math.floor(Math.random()*Math.pow(2,4*8)).toString(16),f?Symbol.iterator in f||(f=[f]):f=[],E.className||(E.className=""),E.className+=" cBuilderSvg";const x=()=>p?I.jsx("style",{children:Jk}):I.jsx(I.Fragment,{});return I.jsxs("svg",{viewBox:"0 0 100 100",...E,children:[I.jsx(x,{}),I.jsxs("defs",{children:[I.jsx("marker",{id:`arrow_${r}`,viewBox:"0 0 10 10",refX:"5",refY:"5",markerWidth:"2.5",markerHeight:"2.5",orient:"auto-start-reverse",fill:"currentColor",className:"cBuilderSvg__marker",markerUnits:"strokeWidth",children:I.jsx("path",{d:"M 0 0 L 10 5 L 0 10 Z"})}),I.jsx("clipPath",{id:`main_clip_${r}`,clipPathUnits:"userSpaceOnUse",children:I.jsx("rect",{x:5,y:5,width:90,height:90,rx:11.75})}),I.jsx("clipPath",{id:`clip1_${r}`,clipPathUnits:"userSpaceOnUse",children:I.jsx("path",{d:"M 0 0 L 25 0 L 25 100 L 0 100 Z"})}),I.jsx("clipPath",{id:`clip2_${r}`,clipPathUnits:"userSpaceOnUse",children:I.jsx("path",{d:"M72.5 0 L 97.5 0 L 97.5 100 L 72.5 100 Z"})}),I.jsx("clipPath",{id:`clip3_${r}`,clipPathUnits:"userSpaceOnUse",children:I.jsx("path",{d:"M75 25 L 80 25 A 5 5 0 0 0 85 30 L 85 80 A 5 5 0 0 0 80 85 L 30 85 A 5 5 0 0 0 25 80 L 25 75 L 70 75 A 5 5 0 0 0 75 70 Z"})}),I.jsx("clipPath",{id:`clip4_${r}`,clipPathUnits:"userSpaceOnUse",children:I.jsx("rect",{x:20,y:70,width:60,height:15,rx:5})})]}),I.jsx("g",{transform:o?void 0:`rotate(${l?"-":""}90)`,x:0,y:0,width:100,height:100,children:I.jsxs("g",{transform:o?void 0:`scale(${s?"1,-1":"1,1"})`,x:0,y:0,width:100,height:100,children:[I.jsx("rect",{width:95,height:95,x:2.5,y:2.5,rx:15,fill:"none",stroke:"none",strokeWidth:5,"data-role":"background"}),I.jsxs("g",{id:"mainarea",clipPath:`url(#main_clip_${r})`,children:[e.map((w,S)=>I.jsx("rect",{fill:"currentColor",rx:5,...w},S)),t.map(w=>I.jsx("path",{d:"M "+(w instanceof Array?w:w.points).map(({x:S,y:T})=>`${S} ${T}`).join(" L "),rx:20,fill:"none",strokeWidth:6,stroke:"currentColor",strokeLinejoin:"round",markerStart:["both","start"].includes(w.marker)?`url(#arrow_${r})`:void 0,markerEnd:["both","end",void 0].includes(w.marker)?`url(#arrow_${r})`:void 0,className:"cBuilderSvg__arrow"},JSON.stringify(w))),c.map(w=>I.jsx("path",{d:"M "+(w instanceof Array?w:w.points).map(({x:S,y:T})=>`${S} ${T}`).join(" L "),rx:20,fill:"none",strokeWidth:6,stroke:"currentColor",strokeLinejoin:"round",className:w.className||void 0},JSON.stringify(w))),f]}),I.jsx("rect",{width:95,height:95,x:2.5,y:2.5,rx:15,fill:"none",stroke:"currentColor",strokeWidth:5,"data-role":"outerborder"})]})})]})}function bk({pattern:e="start",horizontal:t=!0,...r}){const l=[{width:60},{width:80},{width:40}].map((s,c)=>({...s,height:23.4,className:"cBuilderSvg__box--outlined",y:5+90*c/3+1.3+2,x:(()=>e==="end"?97.5-s.width:e==="center"?50-s.width/2:2.5)()}));return I.jsx(sr,{blocks:l,rotate:t,...r})}function cn({...e}){return e.className=[e.className||"","cBuilderSvg__image-icon"].join(" ").trim().replace(/\s+/," "),I.jsxs("svg",{...e,viewBox:"0 0 90 90",children:[I.jsx("rect",{x:0,y:0,className:"cBuilderSvg__box--secondaryColoring",width:90,height:90,rx:10,fill:"currentColor"}),I.jsx("path",{d:"M4 86 L 25 28 L 55 68 L 69 50 L 84 86Z",stroke:"currentColor",strokeWidth:"6",fill:"currentColor",strokeLinejoin:"round"}),I.jsx("circle",{r:"10",cx:"70",cy:"20",fill:"currentColor",stroke:"currentColor"})]})}const So=[[{x:35,y:84},{x:16,y:84}],[{x:65,y:84},{x:84,y:84}]];function e3({behavior:e="wrap",horizontal:t=!1,...r}){r.className=r.className||"",r.className+=" cBuilderSvg--wrap-icon";const o=[],l=[],s=[];let c=4,f=c,p=[57,31],m,E,x,w,S,T;switch(e){case"carousel":o.push({width:15,height:40,x:0,y:20,className:"cBuilderSvg__box--outlined"}),o.push({width:66,height:60,x:17,y:10,className:"cBuilderSvg__box--outlined"}),o.push({width:15,height:40,x:85,y:20,className:"cBuilderSvg__box--outlined"}),o.push({height:3,width:40,y:25,x:22,rx:0}),o.push({height:3,width:30,y:32,x:22,rx:0}),o.push({height:3,width:52,y:39,x:22,rx:0}),o.push({height:3,width:22,y:46,x:22,rx:0}),l.push([{x:35,y:84},{x:16,y:84}]),l.push([{x:65,y:84},{x:84,y:84}]);break;case"table":case"table-carousel":c=1.3,x=e==="table-carousel"?78:70,w=e==="table-carousel"?11:15,m=e==="table-carousel"?20:0,E=e==="table-carousel"?1:3;for(let L=0;L<E;L++)o.push({height:85/3-4-2*c,width:x,y:7.5+85*L/3+c+2+m,x:w,className:"cBuilderSvg__box--outlined"});e==="table-carousel"&&l.splice(0,0,...So.map(L=>L.map(z=>({x:z.x,y:z.y-15}))));break;case"mini-grid":case"grid-carousel":case"mini-grid-carousel":case"grid":S=e.startsWith("mini")?3:2,E=e.startsWith("mini")?3:2,T=88,m=e==="grid-carousel"?7:0,e.startsWith("mini")&&(f=10,c=5),e==="grid-carousel"&&(E=1,S=3),e.endsWith("carousel")&&(T=e.startsWith("mini")?68:54,l.splice(l.length,0,...So.map(L=>L.map(z=>({x:z.x,y:z.y-5}))))),e==="mini-grid"&&(m=10,T=68),e==="mini-grid-carouse
Line truncated
|
||||
<div
|
||||
class="ipsLoading"
|
||||
style="width:${te.width}px; height:${te.height}px; position:static !important;"
|
||||
>
|
||||
<div class="ipsRichText ipsWidget__content ipsWidget__padding">
|
||||
${b}
|
||||
</div>
|
||||
</div>`)}else c.current.style.height=`${te.height}px`,c.current.style.width=`${te.width}px`;setTimeout(async()=>{let le;try{le=await window.ips.fetch(D.action,{data:J,method:"post",bypassRedirect:!0})}catch(Ne){window.Debug.error(Ne)}y.hide(),M.remove(),t("default"),p({}),s(le)},100)})),y.addContentProcessor(D=>{var J,Q;const O=(J=M.parentElement)==null?void 0:J.getBoundingClientRect();if(O){const q=M.parentElement;q.style.width=O.width+"px",q.style.height=O.height+"px";const b=(Q=D.closest(".ipsDialog"))==null?void 0:Q.getAttribute("id");if(b){const te=(ue,{dialogID:le})=>{b===le&&(q.style.width="",q.style.height="",q.appendChild(M),z(M),window.$(document).off("hideDialog",te))};window.$(document).on("hideDialog",te)}}let B=M;for(;B;){if(B.parentElement===D)return;B=B.parentElement}D.innerHTML="",D.appendChild(M),z(M,!0)}),p({element:M,configId:N,dialogRef:y})}t("editing")}}}}function nl(e){return(e instanceof Element?e:document).querySelector("[data-ipsconfigform]")}function L3(e){return!1}function R3({blockID:e,title:t,config:r,update:o,defaultConfiguration:l,blank:s,getArea:c,contentRaw:f,selectArea:p},m){const[E,x]=ee.useState("default"),w=ee.useRef(null),S=Q=>{E==="default"&&Q==="editing"&&e.startsWith("app_cms_Wysiwyg")&&(y==null||y()),x(Q)};let T=!1;const{area:L}=ee.useContext(Yr),{setEditing:z,editForm:v,captureHeight:y,blockUsesInlineEditing:C,toolList:N,tiptapRef:M,toolListWrap:D}=k3({blockID:e,setState:S,state:E,blockArea:L,title:t,reloadContent:B,contentRaw:f},m);ee.useEffect(()=>{if(E==="default"){const Q=e.split("_");(!Q[3]||s)&&(T=!Q[3],T&&(e+=`_${Math.random().toString(36).slice(2,9)}`),B(),S("loading"))}}),ee.useEffect(()=>{var Q;r&&w.current&&((Q=w.current)==null?void 0:Q.dataset.menuListenerSet)!=="true"&&(w.current.dataset.menuListenerSet="true",window.$(document).trigger("contentChange",[window.$(w.current.parentElement)]),w.current.addEventListener("ipsMenuOpened",async q=>{if(await new Promise(te=>setTimeout(te,1)),C){await p(),J(),await z();return}let b=`${window.ips.getSetting("baseURL")}index.php?${Object.entries(cl()).map(([te,ue])=>`${encodeURIComponent(te)}=${encodeURIComponent(ue)}`).join("&")}&do=getConfiguration&block=${encodeURIComponent(e)}&pageApp=${encodeURIComponent(document.body.dataset.pageapp)}&pageModule=${encodeURIComponent(document.body.dataset.pagemodule)}&pageController=${encodeURIComponent(document.body.dataset.pagecontroller)}&pageArea=${encodeURIComponent(L)}&area=${encodeURIComponent(L)}`;try{if(await I3(),O()==="modal"){J();const te=window.ips.ui.dialog.create({title:t,url:b,forceReload:!0,destructOnClose:!0,remoteSubmit:!0});te.show(),document.querySelectorAll(`[id="${e}_edit_menu"]`).ipsHide();const ue=Qn.throttle(le=>{le.dialogID===te.dialogID&&(le.stopImmediatePropagation(),le.preventDefault(),B(le.response))},200);document.addEventListener("dialogSubmission",ue,{once:!0})}else q.menu.html(window.$("<div/>").addClass("ipsLoading").css({height:"100px"})),q.menu.get(0).dataset.pageEditorMenu="",setTimeout(async()=>{const te=await window.ips.fetch(b),ue=q.menu.get(0);if(ue.id)for(const le of document.querySelectorAll(`[id="${ue.id}"]`))le!==ue&&le.remove();q.menu.html(te).find("form").on("submit",async le=>{var Ne;le.preventDefault();try{const de=await window.ips.fetch(window.$(le.currentTarget).attr("action"),{data:window.$(le.currentTarget).serialize(),type:"post"});typeof de=="object"||((Ne=de==null?void 0:de.toLowerCase)==null?void 0:Ne.call(de))==="ok"?(await B(de),q.menu.trigger("closeMenu")):typeof de=="string"&&q.menu.html(de)}catch(de){window.Debug.warn(de),window.ips.ui.alert.show({type:"alert",icon:"warn",message:window.ips.getString("sidebarConfigError"),callbacks:{}})}}),q.menu.trigger("contentChange",[q.menu])},10);document.body.dispatchEvent(new ss(null))}catch(te){window.Debug.warn(te),window.ips.ui.alert("Something went wrong when loading the configuration settings")}await p()}))});function O(){var q;return c().otherOptions.area==="sidebar"?"modal":((q=Vn(e))==null?void 0:q.dataset.menustyle)||"none"}async function B(Q){const q={blockID:e,title:t,config:r,blank:!1,contentRaw:"Error"};(Q==null?void 0:Q.areaClasses)instanceof Array&&(q.areaClasses=Array.from(new Set(Q.areaClasses)));try{const b=await Pv(e,l,L,T,c().wrapBehavior);q.contentRaw=b,q.defaultConfiguration=void 0,o==null||o(q),S("default")}catch(b){o==null||o(q),S("contentLoadError"),window.Debug.log("something went wrong when loading a block's content."),window.Debug.error(b)}}function J(){document.querySelectorAll(`[id="${e}_edit_menu"]`).ipsHide()}return{reloadContent:B,state:E,setState:S,editForm:v,blockUsesInlineEditing:C,manageBlockRef:w,toolList:N,tiptapRef:M,toolListWrap:D}}function fl(e){return e.split("_").slice(0,3).join("_")}function Vn(e){if(typeof e!="string")return window.Debug.warn("Could not get a block base because the id is not a string"),null;const t=fl(e);return t?document.querySelector(`[data-role="availableBlocks"] :is([data-blockID="${t}"],[data-blockID*="$Line truncated
|
||||
`)),await window.ips.ui.editorv5.whenLoaded();const le=document.createElement("div");le.setAttribute("hidden",""),document.body.appendChild(le);const[Ne,de]=await window.ips.utils.tiptap.editorInstance(le,{...window.ips.ui.editorv5.buildConfig({}),content:ue});if(await new Promise(U=>setTimeout(U)),ue=Ne.getHTML(),Ne.destroy(),de.unmount(),le.remove(),ue){O={orientation:e==="horizontal"?"vertical":"horizontal",children:[],wrapBehavior:"table",otherOptions:{},widgets:[{title:"WYSIWYG Editor",blockID:"app_cms_Wysiwyg",config:!0,blank:!1,contentRaw:ue,defaultConfiguration:{content:ue}}]};break}throw new Error(`The data from the drop event did not include ${te}, so the block could not be inserted in the widget area tree`)}const J=(B==null?void 0:B.blockID)||((T=O==null?void 0:O.widgets)==null?void 0:T[0].blockID),Q=J?Vn(J):null;if(new Set(((z=(L=Q==null?void 0:Q.dataset)==null?void 0:L.widgetDisallowedAreas)==null?void 0:z.split(",").map(te=>te.trim()))||[]).has(x)){document.querySelectorAll("section.cWidgetContainer:not([data-controller])").forEach(te=>{te.removeAttribute("hidden"),te.querySelectorAll(":scope > .cWidgetContainer__menu_region").forEach(ue=>ue.style.display="")});return}const b=E.current;if(b){if(B.blockID.startsWith("app_cms_Blocks:")){const U=Vn(B.blockID),V=U==null?void 0:U.dataset.customblockid;if(!V)throw new Error("The dropped block is a custom block but the block id is invalid");const H=await window.ips.fetch(window.ips.getSetting("baseURL"),{method:"get",data:{app:"cms",module:"pages",controller:"builder",do:"getCustomBlockContent",id:V}});if(typeof H.content!="string"||typeof H.block_key!="string"||typeof((v=H.configuration)==null?void 0:v.blocktitle)!="string")throw new TypeError("Could not add a custom block because the server didn't return a string for it's content, blocktitle data attribute, or block key (as in the key of the custom block)");B.contentRaw=H.content,B.defaultConfiguration={cms_widget_custom_block:H.block_key},B.blockID=`app_cms_Blocks_${Math.round(Math.random()*Math.pow(16,8)).toString(16)}`,B.blockTitle=H.configuration.blocktitle}const te=Ov(b,S.clientX,S.clientY),ue=B.areaDetails,le={title:B.blockTitle,blockID:B.blockID,config:B.config,blank:B.blank,contentRaw:B.contentRaw||"<div class='ipsLoading'></div>"};B.defaultConfiguration&&(le.defaultConfiguration=le.configuration=B.defaultConfiguration),O=O||{orientation:e==="horizontal"?"vertical":"horizontal",children:[],wrapBehavior:(ue==null?void 0:ue.wrapBehavior)||B.ipsWrapBehavior||((N=(C=(y=wd(B.blockID))==null?void 0:y.values())==null?void 0:C.next())==null?void 0:N.value)||"table",otherOptions:{...ue==null?void 0:ue.otherOptions},widgets:[le]};const Ne=await Bv(),de=[];if(Number.isInteger(B==null?void 0:B.areaId)&&B.area===x&&B.pageHash===Ne&&de.push(B.areaId),de.includes(f))return;if(fl(O.widgets[0].blockID)===O.widgets[0].blockID){O.widgets[0].blockID+="_";for(let U=0;U<6;U++)O.widgets[0].blockID+=Math.round(Math.random()*16).toString(16);O.widgets[0].contentRaw=await Pv(O.widgets[0].blockID,O.widgets[0].defaultConfiguration,x,!0,O.wrapBehavior),O.widgets[0].blank=!1}if((M=E==null?void 0:E.current)!=null&&M.closest(".cWidgetContainer--carousel")&&O.wrapBehavior in be&&(O.wrapBehavior=be[O.wrapBehavior],O.widgets.length&&(O.widgets[0].blank=!0,O.widgets[0].contentRaw=`<div class="ipsLoading">${O.widgets[0].contentRaw||""}</div>`)),["before","after"].includes(te))O.orientation=e,c==null||c(O,te==="before",de);else if(!t.length&&s.length){const U={orientation:e==="horizontal"?"vertical":"horizontal",children:[],wrapBehavior:r,otherOptions:l,widgets:s,areaId:f};o({newState:{children:te===0?[O,U]:[U,O],wrapBehavior:"wrap",widgets:[],otherOptions:{}},toRemove:de})}else t.splice(te,0,O),o({newState:{children:t},toRemove:de});(D=E.current)==null||D.dispatchEvent(new rl({widget:O.widgets[0],area:x}))}}catch(O){window.Debug.warn(O),window.Debug.log("Could not insert the content dropped inside a widget area"),window.ips.ui.alert.show({message:"This content cannot be dropped in the page"})}document.querySelectorAll("section.cWidgetContainer:not([data-controller])").forEach(O=>{O.removeAttribute("hidden"),O.querySelectorAll(":scope > .cWidgetContainer__menu_region").forEach(B=>B.style.display="")})},onDragOver:S=>{S.preventDefault(),S.stopPropagation(),W3({e:S,ref:E,orientation:e,wrapBehavior:r,getParent:p,children:t,clientX:S.clientX,clientY:S.clientY,blockArea:x})}}}function B3(e,t){if(e!=null&&e.classList.contains("cWidgetContainer--dragInside")){const r=e.querySelector(":scope.cWidgetContainer--carousel > .cWidgetContainer__carousel-wrap")||e,o=r.getBoundingClientRect();let l;const s=window.ips.ui.carousel.isRTL(r);if(r.scrollWidth<=o.width)return!1;if(t<o.left+Math.min(o.width/10,70))l="prev";else if(t>o.right-Math.max(o.width/10,70))l="next";else return!1;if(s&&(l=l==="next"?"prev":"next"),l&&!window.ips.ui.carousel.containerAtEnd(r,l))return M3(e,l),!0}return!1}const M3=Qn.throttle((e,t)=>{e.classList.remove("cWidgetLine truncated
|
||||
|
||||
`+S.message}catch{}window.Debug.warn(S)}}},200);function pi(e,t,r=400){var o;rt.has(e)||rt.set(e,new Map);for(const l of t.split(/\s+/).filter(s=>!!s)){rt.get(e).has(l)&&(clearTimeout(rt.get(e).get(l)),rt.get(e).delete(l)),e.classList.add(l),document.querySelectorAll(`.${l}`).forEach(c=>{var f;if(c!==e){c.classList.remove(l);const p=(f=rt.get(c))==null?void 0:f.get(l);p&&(clearTimeout(p),rt.get(c).delete(l))}});const s=setTimeout(()=>{var f;e.classList.remove(l);const c=(f=rt.get(e))==null?void 0:f.get(l);c&&(clearTimeout(c),rt.get(e).delete(l),rt.get(e).size||rt.delete(e))},r);rt.get(e).set(l,s)}(o=rt.get(e))!=null&&o.size||rt.delete(e)}setInterval(()=>{for(const e of rt.keys())if(e.closest("body")!==document.body){for(const t of rt.get(e).values())clearTimeout(t);rt.delete(e)}},5e3);const rt=new Map;function D3({wrapBehavior:e,widgets:t,scrollRef:r}){const o=ee.useRef(null),l=e==="carousel"&&!t.length;ee.useEffect(()=>{if(l){E();const w=c();if(w){fs.set(w,()=>{Wu.delete(w),E()});const S=L=>{var D;const[z,v,y]=f(),C=((D=L==null?void 0:L.detail)==null?void 0:D.direction)==="prev"?"prev":"next";let N=!1;if(C!=="prev"&&(z>=v-1?N=!0:p()?N=y[v-1].getBoundingClientRect().left>=w.getBoundingClientRect().left:N=y[v-1].getBoundingClientRect().right<=w.getBoundingClientRect().right),C==="prev"&&z===0||C!=="prev"&&N)return;const M=s().querySelector(`[data-carousel-arrow="${C}"]`);M instanceof HTMLElement&&x({target:M})};w.addEventListener("scrollPanels",S);const T=new ResizeObserver(Qn.debounce(E,100));return T.observe(w),()=>{fs.delete(w),w.removeEventListener("scrollPanels",S),T.disconnect()}}}});function s(){var w;return(w=r.current)!=null&&w.classList.contains("cWidgetContainer--carousel")?r.current:null}function c(){const w=s();return(w==null?void 0:w.querySelector(":scope > .cWidgetContainer__carousel-wrap"))||w}function f(){var y;const w=c();let S=[...(w==null?void 0:w.querySelectorAll(":scope > .cWidgetContainer"))||[]];const T=S.length;if(Wu.has(w))return[parseInt(((y=o.current)==null?void 0:y.dataset.actualOffset)||"0"),T,S];const L=w.getBoundingClientRect();let z;const v=p();for(z=0;z<T;z++){if(v&&S[z].getBoundingClientRect().right<=L.right+1)return[z,T,S];if(!v&&S[z].getBoundingClientRect().left>=L.left-1)return[z,T,S]}return[T-1,T,S]}function p(){return window.ips.ui.carousel.isRTL(c())}function m(){var L,z;const w=(L=c())==null?void 0:L.getBoundingClientRect();let S=[...((z=c())==null?void 0:z.querySelectorAll(":scope > .cWidgetContainer"))||[]];if(!w||!(S!=null&&S.length)||S.length===1)return 1;p()&&(S=S.reverse());const T=Math.abs(S[S.length-1].getBoundingClientRect().right-S[0].getBoundingClientRect().left);if(T){let v=Math.ceil(T/w.width);return S.length>2&&S[S.length-1].getBoundingClientRect().right-S[S.length-2].getBoundingClientRect().left>w.width&&v++,v}return 1}function E(){if(!o.current)return;let[w,S]=f();const T=m();w=Math.min(w,T),S=Math.min(S,T),o.current.innerText=`${w+1}/${S}`,o.current.closest(".cWidgetContainer__carousel-buttons").querySelectorAll("button").forEach(L=>S<=1?L.setAttribute("disabled",""):L.removeAttribute("disabled"))}function x(w){const S=c();if(!S)return;const T=w.target instanceof HTMLElement&&w.target.dataset.carouselArrow||"next",[L,z,v]=f();if(v.length<=1)return;const y=S.getBoundingClientRect();let C=!1;const N=p();T!=="prev"&&(L+1>=z||!N&&v[z-1].getBoundingClientRect().right<=y.right||N&&v[z-1].getBoundingClientRect().left>=y.left)&&(C=!0);const M=(T==="prev"&&L===0?z-1:C?0:L+(T==="prev"?-1:1))%z;let D;N?D=(M===z-1?v[M].getBoundingClientRect().left:v[M].getBoundingClientRect().right)-y.right:D=(M===z-1?v[M].getBoundingClientRect().right:v[M].getBoundingClientRect().left)-y.left,o.current.dataset.actualOffset=`${M}`,Wu.add(S),S.scrollTo({left:S.scrollLeft+D,behavior:"smooth"}),E()}return{indicatorRef:o,scroll:x}}const Wu=new WeakSet,fs=new WeakMap;function Mv(e,t=!1){var r;if(e instanceof HTMLElement&&e.matches(".cWidgetContainer--carousel > .cWidgetContainer__carousel-wrap")&&e.querySelector(".ipsWidget__content--wrap--editing")){const o=e.querySelector(".ipsWidget__content--wrap--editing"),l=(r=window.ips.ui.editorv5.getObj(window.$(o.querySelector("[data-ipseditorv5]"))))==null?void 0:r.getInstance();t?o==null||o.dispatchEvent(new CustomEvent("ips:editorHidePanes",{detail:{instance:l},bubbles:!0,cancelable:!0})):o.dispatchEvent(new CustomEvent("ips:editorShowPanes",{detail:{instance:l},bubbles:!0,cancelable:!0}))}}function a0(e){let t=e.target;for(;t instanceof HTMLElement;){if(Mv(t),fs.has(t)){let r=!1;const o=e.stopPropagation;if(e.stopPropagation=(function(){r=!0,o.call(this)}).bind(e),fs.get(t)(e),Wu.delete(t),r)break;e.stopPropagation=o.bind(e)}t=t.parentElement}}"onscrollend"in HTMLElement.prototype?window.addEventListener("scrollend",a0,{capture:!0}):window.addEventListener("scroll",Qn.debounce(a0,200),{capture:!0});window.addEventListener("scroll",e=>{let t=e.target;t instanceof HTMLElement&&t.matches(".cWidgetContainer--carousel > .cWidgetContainer__c
Line truncated
|
||||
@@ -11,7 +11,7 @@
|
||||
"css": [
|
||||
"assets/main-51be5621.css"
|
||||
],
|
||||
"file": "assets/main-86bcc86a.js",
|
||||
"file": "assets/main-35a63872.js",
|
||||
"isEntry": true,
|
||||
"src": "src/main.jsx"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user