@chaibuilder/sdk 1.2.65 → 1.2.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AddBlocks-TVOOPK2w.cjs +1 -0
- package/dist/AddBlocks-mbuhydG3.js +123 -0
- package/dist/CanvasArea-KJMcis97.cjs +1 -0
- package/dist/CanvasArea-kg3Rgg9t.js +136 -0
- package/dist/CodeEditor-QP6l0mv4.cjs +1 -0
- package/dist/{CodeEditor-Qff4q7sx.js → CodeEditor-q5unEaUI.js} +60 -46
- package/dist/STRINGS--j49GZJP.js +7 -0
- package/dist/STRINGS-gPz7CUOk.cjs +1 -0
- package/dist/SettingsPanel-MWeQjDWs.cjs +1 -0
- package/dist/SettingsPanel-pomLrOxB.js +81 -0
- package/dist/SidePanels-9sbERNEv.cjs +1 -0
- package/dist/{SidePanels-ijaUKSek.js → SidePanels-YpRrvfiH.js} +87 -93
- package/dist/{Topbar-vHlnfxPs.js → Topbar-kVBx7pp4.js} +56 -61
- package/dist/Topbar-veJ2_blW.cjs +1 -0
- package/dist/{UILibrariesPanel-NVUMUPUj.js → UILibrariesPanel-ES8YzN9C.js} +92 -101
- package/dist/UILibrariesPanel-H8t36R6M.cjs +1 -0
- package/dist/UnsplashImages--MXx-DYM.cjs +1 -0
- package/dist/{UnsplashImages-UkHihhA5.js → UnsplashImages-sotLcz6r.js} +72 -57
- package/dist/{UploadImages-HtuJZJlo.js → UploadImages-I0QQ6vj1.js} +57 -44
- package/dist/UploadImages-xhxeYKkl.cjs +1 -0
- package/dist/badge-7BVT3zxN.cjs +1 -0
- package/dist/badge-pJqQSA13.js +23 -0
- package/dist/context-menu-_8TFbFEJ.cjs +1 -0
- package/dist/context-menu-sks9vdzC.js +906 -0
- package/dist/core.cjs +1 -1
- package/dist/core.d.ts +45 -20
- package/dist/core.js +85 -87
- package/dist/iconBase-vJD0OXxU.cjs +1 -0
- package/dist/iconBase-zweRWSz0.js +323 -0
- package/dist/index-5hfuDpYs.cjs +223 -0
- package/dist/index-Zu-K_BX7.js +33933 -0
- package/dist/jsx-runtime-JYMCiFoE.cjs +27 -0
- package/dist/{jsx-runtime-WbnYoNE9.js → jsx-runtime-Sp0orL4X.js} +106 -109
- package/dist/plugin-P0tpo_XZ.cjs +1 -0
- package/dist/plugin-_F-KZp1i.cjs +1 -0
- package/dist/plugin-f5uJtdXY.js +43 -0
- package/dist/plugin-sJ3Hzvpv.js +57 -0
- package/dist/render.cjs +3 -1
- package/dist/render.d.ts +19 -52
- package/dist/render.js +136 -183
- package/dist/select-JW3OMYm-.js +75 -0
- package/dist/select-fXj5tdMX.cjs +1 -0
- package/dist/separator-hT24N-xp.cjs +1 -0
- package/dist/separator-sgwOa1FE.js +18 -0
- package/dist/style.css +1 -1
- package/dist/tailwind.cjs +1 -1
- package/dist/tailwind.d.ts +41 -1
- package/dist/tailwind.js +16 -8
- package/dist/ui.cjs +1 -1
- package/dist/ui.d.ts +0 -10
- package/dist/ui.js +345 -163
- package/dist/web-blocks.cjs +1 -1
- package/dist/web-blocks.d.ts +1 -1
- package/dist/web-blocks.js +489 -724
- package/package.json +15 -45
- package/dist/CanvasArea-fSdH_RiN.cjs +0 -1
- package/dist/CanvasArea-ut5yknzX.js +0 -168
- package/dist/CodeEditor-ypUx3RAV.cjs +0 -1
- package/dist/CurrentPage-jHSVy3hq.js +0 -120
- package/dist/CurrentPage-p_AM4lrF.cjs +0 -1
- package/dist/Functions-7jnEwJyw.js +0 -15
- package/dist/Functions-N3yhPYKY.cjs +0 -1
- package/dist/MODIFIERS-fd5XOmum.js +0 -60
- package/dist/MODIFIERS-mVmfEGgo.cjs +0 -1
- package/dist/PagesPanel-U3InJ9Db.js +0 -78
- package/dist/PagesPanel-wqDb4D-x.cjs +0 -1
- package/dist/ProjectPanel-XODJTO4J.js +0 -99
- package/dist/ProjectPanel-fWESzHr6.cjs +0 -1
- package/dist/SidePanels-lrMQqc0h.cjs +0 -1
- package/dist/Topbar-RrCDxd0i.cjs +0 -1
- package/dist/UILibrariesPanel-7btHgBD0.cjs +0 -1
- package/dist/UnsplashImages-6UjgojvF.cjs +0 -1
- package/dist/UploadImages-3h0cRsvr.cjs +0 -1
- package/dist/_commonjsHelpers-UyOWmZb0.js +0 -8
- package/dist/_commonjsHelpers-wDK0ZLPo.cjs +0 -1
- package/dist/add-page-modal-RwIj1FxH.cjs +0 -1
- package/dist/add-page-modal-TOfMfmPA.js +0 -115
- package/dist/confirm-alert-eIp2cAkc.js +0 -60
- package/dist/confirm-alert-v1lG8ex4.cjs +0 -1
- package/dist/controls-rRZhz0vu.cjs +0 -1
- package/dist/controls-yjgoZzB6.js +0 -199
- package/dist/delete-page-modal-4bxjpVBD.js +0 -97
- package/dist/delete-page-modal-qYDZmpgT.cjs +0 -1
- package/dist/email-blocks.cjs +0 -1
- package/dist/email-blocks.d.ts +0 -3
- package/dist/email-blocks.js +0 -294
- package/dist/email.cjs +0 -1
- package/dist/email.d.ts +0 -171
- package/dist/email.js +0 -90
- package/dist/empty-slot-Lsxjts7Q.js +0 -6
- package/dist/empty-slot-Sy930lX6.cjs +0 -1
- package/dist/form-4jTocVbZ.cjs +0 -1
- package/dist/form-NAzFjGs0.js +0 -125
- package/dist/functions--tdNWQDW.js +0 -30
- package/dist/functions-EVUeSwX1.cjs +0 -1
- package/dist/html-to-json-NqRjgFqp.cjs +0 -1
- package/dist/html-to-json-l_mw5y-e.js +0 -243
- package/dist/index--k2M8kzI.cjs +0 -1
- package/dist/index--mLLy7QQ.cjs +0 -1
- package/dist/index-5XyNUAjc.cjs +0 -290
- package/dist/index-C7mB4XFm.js +0 -3141
- package/dist/index-VBXQixVm.js +0 -117
- package/dist/index-YZhtVcj_.js +0 -2201
- package/dist/index-aeDphKpP.cjs +0 -1
- package/dist/index-lFgDm1oa.js +0 -83780
- package/dist/jsx-runtime-Z_BpKhVy.cjs +0 -27
- package/dist/lib.cjs +0 -3
- package/dist/lib.d.ts +0 -80
- package/dist/lib.js +0 -1350
- package/dist/page-viewer-4wrnWnK0.js +0 -124
- package/dist/page-viewer-ra0GLx1p.cjs +0 -1
- package/dist/project-general-setting-IwZUkYF3.js +0 -90
- package/dist/project-general-setting-lFjTUhHD.cjs +0 -1
- package/dist/project-seo-setting-e1fTqVsd.js +0 -83
- package/dist/project-seo-setting-o0V9acCV.cjs +0 -1
- package/dist/server.cjs +0 -1
- package/dist/server.d.ts +0 -299
- package/dist/server.js +0 -216
- package/dist/single-page-detail-ZNWFKqLW.js +0 -229
- package/dist/single-page-detail-g55Anu7R.cjs +0 -1
- package/dist/studio.cjs +0 -1
- package/dist/studio.d.ts +0 -176
- package/dist/studio.js +0 -67
- package/dist/utils-D_vtk3zK.cjs +0 -1
- package/dist/utils-VpVqnC9m.js +0 -1075
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";const Oe=require("react");var H={exports:{}},j={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-jsx-runtime.production.min.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var me;function or(){if(me)return j;me=1;var N=Oe,P=Symbol.for("react.element"),V=Symbol.for("react.fragment"),y=Object.prototype.hasOwnProperty,D=N.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,F={key:!0,ref:!0,__self:!0,__source:!0};function S(h,l,m){var d,g={},R=null,A=null;m!==void 0&&(R=""+m),l.key!==void 0&&(R=""+l.key),l.ref!==void 0&&(A=l.ref);for(d in l)y.call(l,d)&&!F.hasOwnProperty(d)&&(g[d]=l[d]);if(h&&h.defaultProps)for(d in l=h.defaultProps,l)g[d]===void 0&&(g[d]=l[d]);return{$$typeof:P,type:h,key:R,ref:A,props:g,_owner:D.current}}return j.Fragment=V,j.jsx=S,j.jsxs=S,j}var k={};/**
|
|
10
|
+
* @license React
|
|
11
|
+
* react-jsx-runtime.development.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/var Te;function ur(){return Te||(Te=1,process.env.NODE_ENV!=="production"&&function(){var N=Oe,P=Symbol.for("react.element"),V=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),D=Symbol.for("react.strict_mode"),F=Symbol.for("react.profiler"),S=Symbol.for("react.provider"),h=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),A=Symbol.for("react.offscreen"),X=Symbol.iterator,Ce="@@iterator";function Pe(e){if(e===null||typeof e!="object")return null;var r=X&&e[X]||e[Ce];return typeof r=="function"?r:null}var T=N.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function c(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];Se("error",e,t)}}function Se(e,r,t){{var n=T.ReactDebugCurrentFrame,o=n.getStackAddendum();o!==""&&(r+="%s",t=t.concat([o]));var u=t.map(function(i){return String(i)});u.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,u)}}var we=!1,xe=!1,je=!1,ke=!1,De=!1,Z;Z=Symbol.for("react.module.reference");function Fe(e){return!!(typeof e=="string"||typeof e=="function"||e===y||e===F||De||e===D||e===m||e===d||ke||e===A||we||xe||je||typeof e=="object"&&e!==null&&(e.$$typeof===R||e.$$typeof===g||e.$$typeof===S||e.$$typeof===h||e.$$typeof===l||e.$$typeof===Z||e.getModuleId!==void 0))}function Ae(e,r,t){var n=e.displayName;if(n)return n;var o=r.displayName||r.name||"";return o!==""?t+"("+o+")":t}function Q(e){return e.displayName||"Context"}function E(e){if(e==null)return null;if(typeof e.tag=="number"&&c("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case V:return"Portal";case F:return"Profiler";case D:return"StrictMode";case m:return"Suspense";case d:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case h:var r=e;return Q(r)+".Consumer";case S:var t=e;return Q(t._context)+".Provider";case l:return Ae(e,e.render,"ForwardRef");case g:var n=e.displayName||null;return n!==null?n:E(e.type)||"Memo";case R:{var o=e,u=o._payload,i=o._init;try{return E(i(u))}catch{return null}}}return null}var _=Object.assign,w=0,ee,re,te,ne,ae,ie,oe;function ue(){}ue.__reactDisabledLog=!0;function Ie(){{if(w===0){ee=console.log,re=console.info,te=console.warn,ne=console.error,ae=console.group,ie=console.groupCollapsed,oe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ue,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}w++}}function We(){{if(w--,w===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:_({},e,{value:ee}),info:_({},e,{value:re}),warn:_({},e,{value:te}),error:_({},e,{value:ne}),group:_({},e,{value:ae}),groupCollapsed:_({},e,{value:ie}),groupEnd:_({},e,{value:oe})})}w<0&&c("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var M=T.ReactCurrentDispatcher,U;function I(e,r,t){{if(U===void 0)try{throw Error()}catch(o){var n=o.stack.trim().match(/\n( *(at )?)/);U=n&&n[1]||""}return`
|
|
18
|
+
`+U+e}}var B=!1,W;{var $e=typeof WeakMap=="function"?WeakMap:Map;W=new $e}function se(e,r){if(!e||B)return"";{var t=W.get(e);if(t!==void 0)return t}var n;B=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var u;u=M.current,M.current=null,Ie();try{if(r){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(b){n=b}Reflect.construct(e,[],i)}else{try{i.call()}catch(b){n=b}e.call(i.prototype)}}else{try{throw Error()}catch(b){n=b}e()}}catch(b){if(b&&n&&typeof b.stack=="string"){for(var a=b.stack.split(`
|
|
19
|
+
`),v=n.stack.split(`
|
|
20
|
+
`),s=a.length-1,f=v.length-1;s>=1&&f>=0&&a[s]!==v[f];)f--;for(;s>=1&&f>=0;s--,f--)if(a[s]!==v[f]){if(s!==1||f!==1)do if(s--,f--,f<0||a[s]!==v[f]){var p=`
|
|
21
|
+
`+a[s].replace(" at new "," at ");return e.displayName&&p.includes("<anonymous>")&&(p=p.replace("<anonymous>",e.displayName)),typeof e=="function"&&W.set(e,p),p}while(s>=1&&f>=0);break}}}finally{B=!1,M.current=u,We(),Error.prepareStackTrace=o}var C=e?e.displayName||e.name:"",ye=C?I(C):"";return typeof e=="function"&&W.set(e,ye),ye}function Ye(e,r,t){return se(e,!1)}function Le(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function $(e,r,t){if(e==null)return"";if(typeof e=="function")return se(e,Le(e));if(typeof e=="string")return I(e);switch(e){case m:return I("Suspense");case d:return I("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case l:return Ye(e.render);case g:return $(e.type,r,t);case R:{var n=e,o=n._payload,u=n._init;try{return $(u(o),r,t)}catch{}}}return""}var Y=Object.prototype.hasOwnProperty,fe={},le=T.ReactDebugCurrentFrame;function L(e){if(e){var r=e._owner,t=$(e.type,e._source,r?r.type:null);le.setExtraStackFrame(t)}else le.setExtraStackFrame(null)}function Ne(e,r,t,n,o){{var u=Function.call.bind(Y);for(var i in e)if(u(e,i)){var a=void 0;try{if(typeof e[i]!="function"){var v=Error((n||"React class")+": "+t+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw v.name="Invariant Violation",v}a=e[i](r,i,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(s){a=s}a&&!(a instanceof Error)&&(L(o),c("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",t,i,typeof a),L(null)),a instanceof Error&&!(a.message in fe)&&(fe[a.message]=!0,L(o),c("Failed %s type: %s",t,a.message),L(null))}}}var Ve=Array.isArray;function q(e){return Ve(e)}function Me(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function Ue(e){try{return ce(e),!1}catch{return!0}}function ce(e){return""+e}function ve(e){if(Ue(e))return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Me(e)),ce(e)}var x=T.ReactCurrentOwner,Be={key:!0,ref:!0,__self:!0,__source:!0},de,pe,J;J={};function qe(e){if(Y.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function Je(e){if(Y.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function Ge(e,r){if(typeof e.ref=="string"&&x.current&&r&&x.current.stateNode!==r){var t=E(x.current.type);J[t]||(c('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',E(x.current.type),e.ref),J[t]=!0)}}function ze(e,r){{var t=function(){de||(de=!0,c("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function Ke(e,r){{var t=function(){pe||(pe=!0,c("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var He=function(e,r,t,n,o,u,i){var a={$$typeof:P,type:e,key:r,ref:t,props:i,_owner:u};return a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function Xe(e,r,t,n,o){{var u,i={},a=null,v=null;t!==void 0&&(ve(t),a=""+t),Je(r)&&(ve(r.key),a=""+r.key),qe(r)&&(v=r.ref,Ge(r,o));for(u in r)Y.call(r,u)&&!Be.hasOwnProperty(u)&&(i[u]=r[u]);if(e&&e.defaultProps){var s=e.defaultProps;for(u in s)i[u]===void 0&&(i[u]=s[u])}if(a||v){var f=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&ze(i,f),v&&Ke(i,f)}return He(e,a,v,o,n,x.current,i)}}var G=T.ReactCurrentOwner,ge=T.ReactDebugCurrentFrame;function O(e){if(e){var r=e._owner,t=$(e.type,e._source,r?r.type:null);ge.setExtraStackFrame(t)}else ge.setExtraStackFrame(null)}var z;z=!1;function K(e){return typeof e=="object"&&e!==null&&e.$$typeof===P}function Ee(){{if(G.current){var e=E(G.current.type);if(e)return`
|
|
22
|
+
|
|
23
|
+
Check the render method of \``+e+"`."}return""}}function Ze(e){{if(e!==void 0){var r=e.fileName.replace(/^.*[\\\/]/,""),t=e.lineNumber;return`
|
|
24
|
+
|
|
25
|
+
Check your code at `+r+":"+t+"."}return""}}var be={};function Qe(e){{var r=Ee();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
|
|
26
|
+
|
|
27
|
+
Check the top-level render call using <`+t+">.")}return r}}function he(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=Qe(r);if(be[t])return;be[t]=!0;var n="";e&&e._owner&&e._owner!==G.current&&(n=" It was passed a child from "+E(e._owner.type)+"."),O(e),c('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),O(null)}}function Re(e,r){{if(typeof e!="object")return;if(q(e))for(var t=0;t<e.length;t++){var n=e[t];K(n)&&he(n,r)}else if(K(e))e._store&&(e._store.validated=!0);else if(e){var o=Pe(e);if(typeof o=="function"&&o!==e.entries)for(var u=o.call(e),i;!(i=u.next()).done;)K(i.value)&&he(i.value,r)}}}function er(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===l||r.$$typeof===g))t=r.propTypes;else return;if(t){var n=E(r);Ne(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!z){z=!0;var o=E(r);c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",o||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function rr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){O(e),c("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),O(null);break}}e.ref!==null&&(O(e),c("Invalid attribute `ref` supplied to `React.Fragment`."),O(null))}}function _e(e,r,t,n,o,u){{var i=Fe(e);if(!i){var a="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(a+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var v=Ze(o);v?a+=v:a+=Ee();var s;e===null?s="null":q(e)?s="array":e!==void 0&&e.$$typeof===P?(s="<"+(E(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):s=typeof e,c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",s,a)}var f=Xe(e,r,t,o,u);if(f==null)return f;if(i){var p=r.children;if(p!==void 0)if(n)if(q(p)){for(var C=0;C<p.length;C++)Re(p[C],e);Object.freeze&&Object.freeze(p)}else c("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Re(p,e)}return e===y?rr(f):er(f),f}}function tr(e,r,t){return _e(e,r,t,!0)}function nr(e,r,t){return _e(e,r,t,!1)}var ar=nr,ir=tr;k.Fragment=y,k.jsx=ar,k.jsxs=ir}()),k}process.env.NODE_ENV==="production"?H.exports=or():H.exports=ur();var sr=H.exports;exports.jsxRuntimeExports=sr;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { g as fr } from "./_commonjsHelpers-UyOWmZb0.js";
|
|
2
1
|
import Oe from "react";
|
|
3
|
-
var
|
|
2
|
+
var H = { exports: {} }, j = {};
|
|
4
3
|
/**
|
|
5
4
|
* @license React
|
|
6
5
|
* react-jsx-runtime.production.min.js
|
|
@@ -15,18 +14,18 @@ function ir() {
|
|
|
15
14
|
if (ye)
|
|
16
15
|
return j;
|
|
17
16
|
ye = 1;
|
|
18
|
-
var
|
|
19
|
-
function S(
|
|
20
|
-
var d, g = {},
|
|
21
|
-
y !== void 0 && (
|
|
17
|
+
var N = Oe, P = Symbol.for("react.element"), V = Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, D = N.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, F = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
|
+
function S(_, l, y) {
|
|
19
|
+
var d, g = {}, h = null, A = null;
|
|
20
|
+
y !== void 0 && (h = "" + y), l.key !== void 0 && (h = "" + l.key), l.ref !== void 0 && (A = l.ref);
|
|
22
21
|
for (d in l)
|
|
23
|
-
|
|
24
|
-
if (
|
|
25
|
-
for (d in l =
|
|
22
|
+
m.call(l, d) && !F.hasOwnProperty(d) && (g[d] = l[d]);
|
|
23
|
+
if (_ && _.defaultProps)
|
|
24
|
+
for (d in l = _.defaultProps, l)
|
|
26
25
|
g[d] === void 0 && (g[d] = l[d]);
|
|
27
|
-
return { $$typeof: P, type:
|
|
26
|
+
return { $$typeof: P, type: _, key: h, ref: A, props: g, _owner: D.current };
|
|
28
27
|
}
|
|
29
|
-
return j.Fragment =
|
|
28
|
+
return j.Fragment = V, j.jsx = S, j.jsxs = S, j;
|
|
30
29
|
}
|
|
31
30
|
var k = {};
|
|
32
31
|
/**
|
|
@@ -41,15 +40,14 @@ var k = {};
|
|
|
41
40
|
var Te;
|
|
42
41
|
function ur() {
|
|
43
42
|
return Te || (Te = 1, process.env.NODE_ENV !== "production" && function() {
|
|
44
|
-
"
|
|
45
|
-
var V = Oe, P = Symbol.for("react.element"), M = Symbol.for("react.portal"), h = Symbol.for("react.fragment"), D = Symbol.for("react.strict_mode"), F = Symbol.for("react.profiler"), S = Symbol.for("react.provider"), b = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), A = Symbol.for("react.offscreen"), X = Symbol.iterator, Ce = "@@iterator";
|
|
43
|
+
var N = Oe, P = Symbol.for("react.element"), V = Symbol.for("react.portal"), m = Symbol.for("react.fragment"), D = Symbol.for("react.strict_mode"), F = Symbol.for("react.profiler"), S = Symbol.for("react.provider"), _ = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), A = Symbol.for("react.offscreen"), X = Symbol.iterator, Ce = "@@iterator";
|
|
46
44
|
function Pe(e) {
|
|
47
45
|
if (e === null || typeof e != "object")
|
|
48
46
|
return null;
|
|
49
47
|
var r = X && e[X] || e[Ce];
|
|
50
48
|
return typeof r == "function" ? r : null;
|
|
51
49
|
}
|
|
52
|
-
var T =
|
|
50
|
+
var T = N.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
53
51
|
function c(e) {
|
|
54
52
|
{
|
|
55
53
|
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
|
|
@@ -70,7 +68,7 @@ function ur() {
|
|
|
70
68
|
var we = !1, xe = !1, je = !1, ke = !1, De = !1, Z;
|
|
71
69
|
Z = Symbol.for("react.module.reference");
|
|
72
70
|
function Fe(e) {
|
|
73
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
71
|
+
return !!(typeof e == "string" || typeof e == "function" || e === m || e === F || De || e === D || e === y || e === d || ke || e === A || we || xe || je || typeof e == "object" && e !== null && (e.$$typeof === h || e.$$typeof === g || e.$$typeof === S || e.$$typeof === _ || e.$$typeof === l || // This needs to include all possible module reference object
|
|
74
72
|
// types supported by any Flight configuration anywhere since
|
|
75
73
|
// we don't know which Flight build this will end up being used
|
|
76
74
|
// with.
|
|
@@ -86,7 +84,7 @@ function ur() {
|
|
|
86
84
|
function Q(e) {
|
|
87
85
|
return e.displayName || "Context";
|
|
88
86
|
}
|
|
89
|
-
function
|
|
87
|
+
function E(e) {
|
|
90
88
|
if (e == null)
|
|
91
89
|
return null;
|
|
92
90
|
if (typeof e.tag == "number" && c("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -94,9 +92,9 @@ function ur() {
|
|
|
94
92
|
if (typeof e == "string")
|
|
95
93
|
return e;
|
|
96
94
|
switch (e) {
|
|
97
|
-
case
|
|
95
|
+
case m:
|
|
98
96
|
return "Fragment";
|
|
99
|
-
case
|
|
97
|
+
case V:
|
|
100
98
|
return "Portal";
|
|
101
99
|
case F:
|
|
102
100
|
return "Profiler";
|
|
@@ -109,7 +107,7 @@ function ur() {
|
|
|
109
107
|
}
|
|
110
108
|
if (typeof e == "object")
|
|
111
109
|
switch (e.$$typeof) {
|
|
112
|
-
case
|
|
110
|
+
case _:
|
|
113
111
|
var r = e;
|
|
114
112
|
return Q(r) + ".Consumer";
|
|
115
113
|
case S:
|
|
@@ -119,11 +117,11 @@ function ur() {
|
|
|
119
117
|
return Ae(e, e.render, "ForwardRef");
|
|
120
118
|
case g:
|
|
121
119
|
var n = e.displayName || null;
|
|
122
|
-
return n !== null ? n :
|
|
123
|
-
case
|
|
120
|
+
return n !== null ? n : E(e.type) || "Memo";
|
|
121
|
+
case h: {
|
|
124
122
|
var i = e, u = i._payload, o = i._init;
|
|
125
123
|
try {
|
|
126
|
-
return
|
|
124
|
+
return E(o(u));
|
|
127
125
|
} catch {
|
|
128
126
|
return null;
|
|
129
127
|
}
|
|
@@ -131,7 +129,7 @@ function ur() {
|
|
|
131
129
|
}
|
|
132
130
|
return null;
|
|
133
131
|
}
|
|
134
|
-
var
|
|
132
|
+
var R = Object.assign, w = 0, ee, re, te, ne, ae, oe, ie;
|
|
135
133
|
function ue() {
|
|
136
134
|
}
|
|
137
135
|
ue.__reactDisabledLog = !0;
|
|
@@ -158,7 +156,7 @@ function ur() {
|
|
|
158
156
|
w++;
|
|
159
157
|
}
|
|
160
158
|
}
|
|
161
|
-
function
|
|
159
|
+
function We() {
|
|
162
160
|
{
|
|
163
161
|
if (w--, w === 0) {
|
|
164
162
|
var e = {
|
|
@@ -167,25 +165,25 @@ function ur() {
|
|
|
167
165
|
writable: !0
|
|
168
166
|
};
|
|
169
167
|
Object.defineProperties(console, {
|
|
170
|
-
log:
|
|
168
|
+
log: R({}, e, {
|
|
171
169
|
value: ee
|
|
172
170
|
}),
|
|
173
|
-
info:
|
|
171
|
+
info: R({}, e, {
|
|
174
172
|
value: re
|
|
175
173
|
}),
|
|
176
|
-
warn:
|
|
174
|
+
warn: R({}, e, {
|
|
177
175
|
value: te
|
|
178
176
|
}),
|
|
179
|
-
error:
|
|
177
|
+
error: R({}, e, {
|
|
180
178
|
value: ne
|
|
181
179
|
}),
|
|
182
|
-
group:
|
|
180
|
+
group: R({}, e, {
|
|
183
181
|
value: ae
|
|
184
182
|
}),
|
|
185
|
-
groupCollapsed:
|
|
183
|
+
groupCollapsed: R({}, e, {
|
|
186
184
|
value: oe
|
|
187
185
|
}),
|
|
188
|
-
groupEnd:
|
|
186
|
+
groupEnd: R({}, e, {
|
|
189
187
|
value: ie
|
|
190
188
|
})
|
|
191
189
|
});
|
|
@@ -193,39 +191,39 @@ function ur() {
|
|
|
193
191
|
w < 0 && c("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
194
192
|
}
|
|
195
193
|
}
|
|
196
|
-
var
|
|
194
|
+
var M = T.ReactCurrentDispatcher, U;
|
|
197
195
|
function I(e, r, t) {
|
|
198
196
|
{
|
|
199
|
-
if (
|
|
197
|
+
if (U === void 0)
|
|
200
198
|
try {
|
|
201
199
|
throw Error();
|
|
202
200
|
} catch (i) {
|
|
203
201
|
var n = i.stack.trim().match(/\n( *(at )?)/);
|
|
204
|
-
|
|
202
|
+
U = n && n[1] || "";
|
|
205
203
|
}
|
|
206
204
|
return `
|
|
207
|
-
` +
|
|
205
|
+
` + U + e;
|
|
208
206
|
}
|
|
209
207
|
}
|
|
210
|
-
var
|
|
208
|
+
var B = !1, W;
|
|
211
209
|
{
|
|
212
|
-
var
|
|
213
|
-
|
|
210
|
+
var Ye = typeof WeakMap == "function" ? WeakMap : Map;
|
|
211
|
+
W = new Ye();
|
|
214
212
|
}
|
|
215
213
|
function se(e, r) {
|
|
216
|
-
if (!e ||
|
|
214
|
+
if (!e || B)
|
|
217
215
|
return "";
|
|
218
216
|
{
|
|
219
|
-
var t =
|
|
217
|
+
var t = W.get(e);
|
|
220
218
|
if (t !== void 0)
|
|
221
219
|
return t;
|
|
222
220
|
}
|
|
223
221
|
var n;
|
|
224
|
-
|
|
222
|
+
B = !0;
|
|
225
223
|
var i = Error.prepareStackTrace;
|
|
226
224
|
Error.prepareStackTrace = void 0;
|
|
227
225
|
var u;
|
|
228
|
-
u =
|
|
226
|
+
u = M.current, M.current = null, Ie();
|
|
229
227
|
try {
|
|
230
228
|
if (r) {
|
|
231
229
|
var o = function() {
|
|
@@ -238,29 +236,29 @@ function ur() {
|
|
|
238
236
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
239
237
|
try {
|
|
240
238
|
Reflect.construct(o, []);
|
|
241
|
-
} catch (
|
|
242
|
-
n =
|
|
239
|
+
} catch (b) {
|
|
240
|
+
n = b;
|
|
243
241
|
}
|
|
244
242
|
Reflect.construct(e, [], o);
|
|
245
243
|
} else {
|
|
246
244
|
try {
|
|
247
245
|
o.call();
|
|
248
|
-
} catch (
|
|
249
|
-
n =
|
|
246
|
+
} catch (b) {
|
|
247
|
+
n = b;
|
|
250
248
|
}
|
|
251
249
|
e.call(o.prototype);
|
|
252
250
|
}
|
|
253
251
|
} else {
|
|
254
252
|
try {
|
|
255
253
|
throw Error();
|
|
256
|
-
} catch (
|
|
257
|
-
n =
|
|
254
|
+
} catch (b) {
|
|
255
|
+
n = b;
|
|
258
256
|
}
|
|
259
257
|
e();
|
|
260
258
|
}
|
|
261
|
-
} catch (
|
|
262
|
-
if (
|
|
263
|
-
for (var a =
|
|
259
|
+
} catch (b) {
|
|
260
|
+
if (b && n && typeof b.stack == "string") {
|
|
261
|
+
for (var a = b.stack.split(`
|
|
264
262
|
`), v = n.stack.split(`
|
|
265
263
|
`), s = a.length - 1, f = v.length - 1; s >= 1 && f >= 0 && a[s] !== v[f]; )
|
|
266
264
|
f--;
|
|
@@ -271,26 +269,26 @@ function ur() {
|
|
|
271
269
|
if (s--, f--, f < 0 || a[s] !== v[f]) {
|
|
272
270
|
var p = `
|
|
273
271
|
` + a[s].replace(" at new ", " at ");
|
|
274
|
-
return e.displayName && p.includes("<anonymous>") && (p = p.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
|
272
|
+
return e.displayName && p.includes("<anonymous>") && (p = p.replace("<anonymous>", e.displayName)), typeof e == "function" && W.set(e, p), p;
|
|
275
273
|
}
|
|
276
274
|
while (s >= 1 && f >= 0);
|
|
277
275
|
break;
|
|
278
276
|
}
|
|
279
277
|
}
|
|
280
278
|
} finally {
|
|
281
|
-
|
|
279
|
+
B = !1, M.current = u, We(), Error.prepareStackTrace = i;
|
|
282
280
|
}
|
|
283
|
-
var C = e ? e.displayName || e.name : "",
|
|
284
|
-
return typeof e == "function" &&
|
|
281
|
+
var C = e ? e.displayName || e.name : "", me = C ? I(C) : "";
|
|
282
|
+
return typeof e == "function" && W.set(e, me), me;
|
|
285
283
|
}
|
|
286
|
-
function
|
|
284
|
+
function $e(e, r, t) {
|
|
287
285
|
return se(e, !1);
|
|
288
286
|
}
|
|
289
287
|
function Le(e) {
|
|
290
288
|
var r = e.prototype;
|
|
291
289
|
return !!(r && r.isReactComponent);
|
|
292
290
|
}
|
|
293
|
-
function
|
|
291
|
+
function Y(e, r, t) {
|
|
294
292
|
if (e == null)
|
|
295
293
|
return "";
|
|
296
294
|
if (typeof e == "function")
|
|
@@ -306,30 +304,30 @@ function ur() {
|
|
|
306
304
|
if (typeof e == "object")
|
|
307
305
|
switch (e.$$typeof) {
|
|
308
306
|
case l:
|
|
309
|
-
return
|
|
307
|
+
return $e(e.render);
|
|
310
308
|
case g:
|
|
311
|
-
return
|
|
312
|
-
case
|
|
309
|
+
return Y(e.type, r, t);
|
|
310
|
+
case h: {
|
|
313
311
|
var n = e, i = n._payload, u = n._init;
|
|
314
312
|
try {
|
|
315
|
-
return
|
|
313
|
+
return Y(u(i), r, t);
|
|
316
314
|
} catch {
|
|
317
315
|
}
|
|
318
316
|
}
|
|
319
317
|
}
|
|
320
318
|
return "";
|
|
321
319
|
}
|
|
322
|
-
var
|
|
320
|
+
var $ = Object.prototype.hasOwnProperty, fe = {}, le = T.ReactDebugCurrentFrame;
|
|
323
321
|
function L(e) {
|
|
324
322
|
if (e) {
|
|
325
|
-
var r = e._owner, t =
|
|
323
|
+
var r = e._owner, t = Y(e.type, e._source, r ? r.type : null);
|
|
326
324
|
le.setExtraStackFrame(t);
|
|
327
325
|
} else
|
|
328
326
|
le.setExtraStackFrame(null);
|
|
329
327
|
}
|
|
330
328
|
function Ne(e, r, t, n, i) {
|
|
331
329
|
{
|
|
332
|
-
var u = Function.call.bind(
|
|
330
|
+
var u = Function.call.bind($);
|
|
333
331
|
for (var o in e)
|
|
334
332
|
if (u(e, o)) {
|
|
335
333
|
var a = void 0;
|
|
@@ -347,7 +345,7 @@ function ur() {
|
|
|
347
345
|
}
|
|
348
346
|
}
|
|
349
347
|
var Ve = Array.isArray;
|
|
350
|
-
function
|
|
348
|
+
function q(e) {
|
|
351
349
|
return Ve(e);
|
|
352
350
|
}
|
|
353
351
|
function Me(e) {
|
|
@@ -375,10 +373,10 @@ function ur() {
|
|
|
375
373
|
ref: !0,
|
|
376
374
|
__self: !0,
|
|
377
375
|
__source: !0
|
|
378
|
-
}, de, pe,
|
|
379
|
-
|
|
376
|
+
}, de, pe, J;
|
|
377
|
+
J = {};
|
|
380
378
|
function qe(e) {
|
|
381
|
-
if (
|
|
379
|
+
if ($.call(e, "ref")) {
|
|
382
380
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
383
381
|
if (r && r.isReactWarning)
|
|
384
382
|
return !1;
|
|
@@ -386,7 +384,7 @@ function ur() {
|
|
|
386
384
|
return e.ref !== void 0;
|
|
387
385
|
}
|
|
388
386
|
function Je(e) {
|
|
389
|
-
if (
|
|
387
|
+
if ($.call(e, "key")) {
|
|
390
388
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
391
389
|
if (r && r.isReactWarning)
|
|
392
390
|
return !1;
|
|
@@ -395,8 +393,8 @@ function ur() {
|
|
|
395
393
|
}
|
|
396
394
|
function Ge(e, r) {
|
|
397
395
|
if (typeof e.ref == "string" && x.current && r && x.current.stateNode !== r) {
|
|
398
|
-
var t =
|
|
399
|
-
|
|
396
|
+
var t = E(x.current.type);
|
|
397
|
+
J[t] || (c('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', E(x.current.type), e.ref), J[t] = !0);
|
|
400
398
|
}
|
|
401
399
|
}
|
|
402
400
|
function ze(e, r) {
|
|
@@ -455,7 +453,7 @@ function ur() {
|
|
|
455
453
|
var u, o = {}, a = null, v = null;
|
|
456
454
|
t !== void 0 && (ve(t), a = "" + t), Je(r) && (ve(r.key), a = "" + r.key), qe(r) && (v = r.ref, Ge(r, i));
|
|
457
455
|
for (u in r)
|
|
458
|
-
|
|
456
|
+
$.call(r, u) && !Be.hasOwnProperty(u) && (o[u] = r[u]);
|
|
459
457
|
if (e && e.defaultProps) {
|
|
460
458
|
var s = e.defaultProps;
|
|
461
459
|
for (u in s)
|
|
@@ -468,23 +466,23 @@ function ur() {
|
|
|
468
466
|
return He(e, a, v, i, n, x.current, o);
|
|
469
467
|
}
|
|
470
468
|
}
|
|
471
|
-
var
|
|
469
|
+
var G = T.ReactCurrentOwner, ge = T.ReactDebugCurrentFrame;
|
|
472
470
|
function O(e) {
|
|
473
471
|
if (e) {
|
|
474
|
-
var r = e._owner, t =
|
|
472
|
+
var r = e._owner, t = Y(e.type, e._source, r ? r.type : null);
|
|
475
473
|
ge.setExtraStackFrame(t);
|
|
476
474
|
} else
|
|
477
475
|
ge.setExtraStackFrame(null);
|
|
478
476
|
}
|
|
479
|
-
var
|
|
480
|
-
|
|
481
|
-
function
|
|
477
|
+
var z;
|
|
478
|
+
z = !1;
|
|
479
|
+
function K(e) {
|
|
482
480
|
return typeof e == "object" && e !== null && e.$$typeof === P;
|
|
483
481
|
}
|
|
484
|
-
function
|
|
482
|
+
function Ee() {
|
|
485
483
|
{
|
|
486
|
-
if (
|
|
487
|
-
var e =
|
|
484
|
+
if (G.current) {
|
|
485
|
+
var e = E(G.current.type);
|
|
488
486
|
if (e)
|
|
489
487
|
return `
|
|
490
488
|
|
|
@@ -504,10 +502,10 @@ Check your code at ` + r + ":" + t + ".";
|
|
|
504
502
|
return "";
|
|
505
503
|
}
|
|
506
504
|
}
|
|
507
|
-
var
|
|
505
|
+
var be = {};
|
|
508
506
|
function Qe(e) {
|
|
509
507
|
{
|
|
510
|
-
var r =
|
|
508
|
+
var r = Ee();
|
|
511
509
|
if (!r) {
|
|
512
510
|
var t = typeof e == "string" ? e : e.displayName || e.name;
|
|
513
511
|
t && (r = `
|
|
@@ -517,35 +515,35 @@ Check the top-level render call using <` + t + ">.");
|
|
|
517
515
|
return r;
|
|
518
516
|
}
|
|
519
517
|
}
|
|
520
|
-
function
|
|
518
|
+
function _e(e, r) {
|
|
521
519
|
{
|
|
522
520
|
if (!e._store || e._store.validated || e.key != null)
|
|
523
521
|
return;
|
|
524
522
|
e._store.validated = !0;
|
|
525
523
|
var t = Qe(r);
|
|
526
|
-
if (
|
|
524
|
+
if (be[t])
|
|
527
525
|
return;
|
|
528
|
-
|
|
526
|
+
be[t] = !0;
|
|
529
527
|
var n = "";
|
|
530
|
-
e && e._owner && e._owner !==
|
|
528
|
+
e && e._owner && e._owner !== G.current && (n = " It was passed a child from " + E(e._owner.type) + "."), O(e), c('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), O(null);
|
|
531
529
|
}
|
|
532
530
|
}
|
|
533
|
-
function
|
|
531
|
+
function he(e, r) {
|
|
534
532
|
{
|
|
535
533
|
if (typeof e != "object")
|
|
536
534
|
return;
|
|
537
|
-
if (
|
|
535
|
+
if (q(e))
|
|
538
536
|
for (var t = 0; t < e.length; t++) {
|
|
539
537
|
var n = e[t];
|
|
540
|
-
|
|
538
|
+
K(n) && _e(n, r);
|
|
541
539
|
}
|
|
542
|
-
else if (
|
|
540
|
+
else if (K(e))
|
|
543
541
|
e._store && (e._store.validated = !0);
|
|
544
542
|
else if (e) {
|
|
545
543
|
var i = Pe(e);
|
|
546
544
|
if (typeof i == "function" && i !== e.entries)
|
|
547
545
|
for (var u = i.call(e), o; !(o = u.next()).done; )
|
|
548
|
-
|
|
546
|
+
K(o.value) && _e(o.value, r);
|
|
549
547
|
}
|
|
550
548
|
}
|
|
551
549
|
}
|
|
@@ -564,11 +562,11 @@ Check the top-level render call using <` + t + ">.");
|
|
|
564
562
|
else
|
|
565
563
|
return;
|
|
566
564
|
if (t) {
|
|
567
|
-
var n =
|
|
565
|
+
var n = E(r);
|
|
568
566
|
Ne(t, e.props, "prop", n, e);
|
|
569
|
-
} else if (r.PropTypes !== void 0 && !
|
|
570
|
-
|
|
571
|
-
var i =
|
|
567
|
+
} else if (r.PropTypes !== void 0 && !z) {
|
|
568
|
+
z = !0;
|
|
569
|
+
var i = E(r);
|
|
572
570
|
c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", i || "Unknown");
|
|
573
571
|
}
|
|
574
572
|
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
@@ -586,16 +584,16 @@ Check the top-level render call using <` + t + ">.");
|
|
|
586
584
|
e.ref !== null && (O(e), c("Invalid attribute `ref` supplied to `React.Fragment`."), O(null));
|
|
587
585
|
}
|
|
588
586
|
}
|
|
589
|
-
function
|
|
587
|
+
function Re(e, r, t, n, i, u) {
|
|
590
588
|
{
|
|
591
589
|
var o = Fe(e);
|
|
592
590
|
if (!o) {
|
|
593
591
|
var a = "";
|
|
594
592
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
595
593
|
var v = Ze(i);
|
|
596
|
-
v ? a += v : a +=
|
|
594
|
+
v ? a += v : a += Ee();
|
|
597
595
|
var s;
|
|
598
|
-
e === null ? s = "null" :
|
|
596
|
+
e === null ? s = "null" : q(e) ? s = "array" : e !== void 0 && e.$$typeof === P ? (s = "<" + (E(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : s = typeof e, c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", s, a);
|
|
599
597
|
}
|
|
600
598
|
var f = Xe(e, r, t, i, u);
|
|
601
599
|
if (f == null)
|
|
@@ -604,31 +602,30 @@ Check the top-level render call using <` + t + ">.");
|
|
|
604
602
|
var p = r.children;
|
|
605
603
|
if (p !== void 0)
|
|
606
604
|
if (n)
|
|
607
|
-
if (
|
|
605
|
+
if (q(p)) {
|
|
608
606
|
for (var C = 0; C < p.length; C++)
|
|
609
|
-
|
|
607
|
+
he(p[C], e);
|
|
610
608
|
Object.freeze && Object.freeze(p);
|
|
611
609
|
} else
|
|
612
610
|
c("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
613
611
|
else
|
|
614
|
-
|
|
612
|
+
he(p, e);
|
|
615
613
|
}
|
|
616
|
-
return e ===
|
|
614
|
+
return e === m ? rr(f) : er(f), f;
|
|
617
615
|
}
|
|
618
616
|
}
|
|
619
617
|
function tr(e, r, t) {
|
|
620
|
-
return
|
|
618
|
+
return Re(e, r, t, !0);
|
|
621
619
|
}
|
|
622
620
|
function nr(e, r, t) {
|
|
623
|
-
return
|
|
621
|
+
return Re(e, r, t, !1);
|
|
624
622
|
}
|
|
625
623
|
var ar = nr, or = tr;
|
|
626
|
-
k.Fragment =
|
|
624
|
+
k.Fragment = m, k.jsx = ar, k.jsxs = or;
|
|
627
625
|
}()), k;
|
|
628
626
|
}
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
var vr = N.exports;
|
|
627
|
+
process.env.NODE_ENV === "production" ? H.exports = ir() : H.exports = ur();
|
|
628
|
+
var fr = H.exports;
|
|
632
629
|
export {
|
|
633
|
-
|
|
630
|
+
fr as j
|
|
634
631
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const r=require("lodash-es"),u=require("tailwindcss-palette-generator"),b=require("./plugin-_F-KZp1i.cjs"),f=o=>{const t=r.get(o,"primaryColor","#000"),c=r.get(o,"secondaryColor","#ccc"),i=r.get(o,"headingFont","Inter"),l=r.get(o,"bodyFont","Inter"),n=r.get(o,"roundedCorners","0"),a=r.get(o,"bodyBgLightColor","#fff"),d=r.get(o,"bodyBgDarkColor","#000"),g=r.get(o,"bodyTextLightColor","#000"),e=r.get(o,"bodyTextDarkColor","#fff"),s=u([{color:t,name:"primary"},{color:c,name:"secondary"}]),y={"bg-light":a,"bg-dark":d,"text-dark":e,"text-light":g};return{container:{center:!0,padding:"1rem",screens:{"2xl":"1400px"}},fontFamily:{heading:[i],body:[l]},borderRadius:{DEFAULT:`${n||"0px"}px`},colors:{...s,...y}}},C=b.plugin(function({addBase:o,theme:t}){o({"h1,h2,h3,h4,h5,h6":{fontFamily:t("fontFamily.heading")},body:{fontFamily:t("fontFamily.body"),color:t("colors.text-light"),backgroundColor:t("colors.bg-light")},".dark body":{color:t("colors.text-dark"),backgroundColor:t("colors.bg-dark")}})});exports.chaiBuilderPlugin=C;exports.getChaiBuilderTheme=f;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var c=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function f(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var a={},d={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r}});function u(n,t){return{handler:n,config:t}}u.withOptions=function(n,t=()=>({})){const l=function(o){return{__options:o,handler:n(o),config:t(o)}};return l.__isOptionsFunction=!0,l.__pluginFunction=n,l.__configFunction=t,l};const r=u})(d);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return n}});const u=r(d);function r(t){return t&&t.__esModule?t:{default:t}}const n=u.default})(a);let i=a;var _=(i.__esModule?i:{default:i}).default;const s=f(_);exports.commonjsGlobal=c;exports.getDefaultExportFromCjs=f;exports.plugin=s;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { get as r } from "lodash-es";
|
|
2
|
+
import e from "tailwindcss-palette-generator";
|
|
3
|
+
import { p as f } from "./plugin-sJ3Hzvpv.js";
|
|
4
|
+
const C = (o) => {
|
|
5
|
+
const n = r(o, "primaryColor", "#000"), a = r(o, "secondaryColor", "#ccc"), c = r(o, "headingFont", "Inter"), d = r(o, "bodyFont", "Inter"), t = r(o, "roundedCorners", "0"), l = r(o, "bodyBgLightColor", "#fff"), i = r(o, "bodyBgDarkColor", "#000"), s = r(o, "bodyTextLightColor", "#000"), g = r(o, "bodyTextDarkColor", "#fff"), y = e([
|
|
6
|
+
{ color: n, name: "primary" },
|
|
7
|
+
{ color: a, name: "secondary" }
|
|
8
|
+
]), b = {
|
|
9
|
+
"bg-light": l,
|
|
10
|
+
"bg-dark": i,
|
|
11
|
+
"text-dark": g,
|
|
12
|
+
"text-light": s
|
|
13
|
+
};
|
|
14
|
+
return {
|
|
15
|
+
container: {
|
|
16
|
+
center: !0,
|
|
17
|
+
padding: "1rem",
|
|
18
|
+
screens: { "2xl": "1400px" }
|
|
19
|
+
},
|
|
20
|
+
fontFamily: { heading: [c], body: [d] },
|
|
21
|
+
borderRadius: { DEFAULT: `${t || "0px"}px` },
|
|
22
|
+
colors: { ...y, ...b }
|
|
23
|
+
};
|
|
24
|
+
}, F = f(function({ addBase: o, theme: n }) {
|
|
25
|
+
o({
|
|
26
|
+
"h1,h2,h3,h4,h5,h6": {
|
|
27
|
+
fontFamily: n("fontFamily.heading")
|
|
28
|
+
},
|
|
29
|
+
body: {
|
|
30
|
+
fontFamily: n("fontFamily.body"),
|
|
31
|
+
color: n("colors.text-light"),
|
|
32
|
+
backgroundColor: n("colors.bg-light")
|
|
33
|
+
},
|
|
34
|
+
".dark body": {
|
|
35
|
+
color: n("colors.text-dark"),
|
|
36
|
+
backgroundColor: n("colors.bg-dark")
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
export {
|
|
41
|
+
F as c,
|
|
42
|
+
C as g
|
|
43
|
+
};
|