UNPKG

@hakit/components

Version:
17 lines (16 loc) 8.23 kB
"use strict";const Se=require("react/jsx-runtime"),I=require("react"),Ee=require("@emotion/cache"),F=require("@emotion/utils"),pe=require("@emotion/serialize"),_e=require("./emotion-use-insertion-effect-with-fallbacks.browser.esm-rPI6BL4X.cjs");function H(r){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const n in r)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(a,n,o.get?o:{enumerable:!0,get:()=>r[n]})}}return a.default=r,Object.freeze(a)}const g=H(Se),C=H(I);var A={exports:{}},s={};/** @license React v16.13.1 * react-is.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 L;function Te(){if(L)return s;L=1;var r=typeof Symbol=="function"&&Symbol.for,a=r?Symbol.for("react.element"):60103,n=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,y=r?Symbol.for("react.profiler"):60114,m=r?Symbol.for("react.provider"):60109,v=r?Symbol.for("react.context"):60110,S=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,_=r?Symbol.for("react.forward_ref"):60112,T=r?Symbol.for("react.suspense"):60113,$=r?Symbol.for("react.suspense_list"):60120,E=r?Symbol.for("react.memo"):60115,d=r?Symbol.for("react.lazy"):60116,P=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,x=r?Symbol.for("react.responder"):60118,R=r?Symbol.for("react.scope"):60119;function l(e){if(typeof e=="object"&&e!==null){var p=e.$$typeof;switch(p){case a:switch(e=e.type,e){case S:case f:case o:case y:case i:case T:return e;default:switch(e=e&&e.$$typeof,e){case v:case _:case d:case E:case m:return e;default:return p}}case n:return p}}}function u(e){return l(e)===f}return s.AsyncMode=S,s.ConcurrentMode=f,s.ContextConsumer=v,s.ContextProvider=m,s.Element=a,s.ForwardRef=_,s.Fragment=o,s.Lazy=d,s.Memo=E,s.Portal=n,s.Profiler=y,s.StrictMode=i,s.Suspense=T,s.isAsyncMode=function(e){return u(e)||l(e)===S},s.isConcurrentMode=u,s.isContextConsumer=function(e){return l(e)===v},s.isContextProvider=function(e){return l(e)===m},s.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===a},s.isForwardRef=function(e){return l(e)===_},s.isFragment=function(e){return l(e)===o},s.isLazy=function(e){return l(e)===d},s.isMemo=function(e){return l(e)===E},s.isPortal=function(e){return l(e)===n},s.isProfiler=function(e){return l(e)===y},s.isStrictMode=function(e){return l(e)===i},s.isSuspense=function(e){return l(e)===T},s.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===o||e===f||e===y||e===i||e===T||e===$||typeof e=="object"&&e!==null&&(e.$$typeof===d||e.$$typeof===E||e.$$typeof===m||e.$$typeof===v||e.$$typeof===_||e.$$typeof===b||e.$$typeof===x||e.$$typeof===R||e.$$typeof===P)},s.typeOf=l,s}var c={};/** @license React v16.13.1 * react-is.development.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 U;function Pe(){return U||(U=1,process.env.NODE_ENV!=="production"&&(function(){var r=typeof Symbol=="function"&&Symbol.for,a=r?Symbol.for("react.element"):60103,n=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,y=r?Symbol.for("react.profiler"):60114,m=r?Symbol.for("react.provider"):60109,v=r?Symbol.for("react.context"):60110,S=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,_=r?Symbol.for("react.forward_ref"):60112,T=r?Symbol.for("react.suspense"):60113,$=r?Symbol.for("react.suspense_list"):60120,E=r?Symbol.for("react.memo"):60115,d=r?Symbol.for("react.lazy"):60116,P=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,x=r?Symbol.for("react.responder"):60118,R=r?Symbol.for("react.scope"):60119;function l(t){return typeof t=="string"||typeof t=="function"||t===o||t===f||t===y||t===i||t===T||t===$||typeof t=="object"&&t!==null&&(t.$$typeof===d||t.$$typeof===E||t.$$typeof===m||t.$$typeof===v||t.$$typeof===_||t.$$typeof===b||t.$$typeof===x||t.$$typeof===R||t.$$typeof===P)}function u(t){if(typeof t=="object"&&t!==null){var w=t.$$typeof;switch(w){case a:var O=t.type;switch(O){case S:case f:case o:case y:case i:case T:return O;default:var q=O&&O.$$typeof;switch(q){case v:case _:case d:case E:case m:return q;default:return w}}case n:return w}}}var e=S,p=f,N=v,Y=m,B=a,G=_,Z=o,Q=d,k=E,ee=n,re=y,te=i,oe=T,D=!1;function ne(t){return D||(D=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),z(t)||u(t)===S}function z(t){return u(t)===f}function ae(t){return u(t)===v}function se(t){return u(t)===m}function ce(t){return typeof t=="object"&&t!==null&&t.$$typeof===a}function ie(t){return u(t)===_}function ue(t){return u(t)===o}function fe(t){return u(t)===d}function le(t){return u(t)===E}function me(t){return u(t)===n}function de(t){return u(t)===y}function ye(t){return u(t)===i}function ve(t){return u(t)===T}c.AsyncMode=e,c.ConcurrentMode=p,c.ContextConsumer=N,c.ContextProvider=Y,c.Element=B,c.ForwardRef=G,c.Fragment=Z,c.Lazy=Q,c.Memo=k,c.Portal=ee,c.Profiler=re,c.StrictMode=te,c.Suspense=oe,c.isAsyncMode=ne,c.isConcurrentMode=z,c.isContextConsumer=ae,c.isContextProvider=se,c.isElement=ce,c.isForwardRef=ie,c.isFragment=ue,c.isLazy=fe,c.isMemo=le,c.isPortal=me,c.isProfiler=de,c.isStrictMode=ye,c.isSuspense=ve,c.isValidElementType=l,c.typeOf=u})()),c}var W;function Re(){return W||(W=1,process.env.NODE_ENV==="production"?A.exports=Te():A.exports=Pe()),A.exports}var h,V;function be(){if(V)return h;V=1;var r=Re(),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},y={};y[r.ForwardRef]=o,y[r.Memo]=i;function m(d){return r.isMemo(d)?i:y[d.$$typeof]||a}var v=Object.defineProperty,S=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,_=Object.getOwnPropertyDescriptor,T=Object.getPrototypeOf,$=Object.prototype;function E(d,P,b){if(typeof P!="string"){if($){var x=T(P);x&&x!==$&&E(d,x,b)}var R=S(P);f&&(R=R.concat(f(P)));for(var l=m(d),u=m(P),e=0;e<R.length;++e){var p=R[e];if(!n[p]&&!(b&&b[p])&&!(u&&u[p])&&!(l&&l[p])){var N=_(P,p);try{v(d,p,N)}catch{}}}}return d}return h=E,h}be();var X=C.createContext(typeof HTMLElement<"u"?Ee({key:"css"}):null);X.Provider;var xe=function(a){return I.forwardRef(function(n,o){var i=I.useContext(X);return a(n,i,o)})},Ce=C.createContext({}),M={}.hasOwnProperty,j="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",J=function(a,n){var o={};for(var i in n)M.call(n,i)&&(o[i]=n[i]);return o[j]=a,o},$e=function(a){var n=a.cache,o=a.serialized,i=a.isStringTag;return F.registerStyles(n,o,i),_e.useInsertionEffectAlwaysWithSyncFallback(function(){return F.insertStyles(n,o,i)}),null},ge=xe(function(r,a,n){var o=r.css;typeof o=="string"&&a.registered[o]!==void 0&&(o=a.registered[o]);var i=r[j],y=[o],m="";typeof r.className=="string"?m=F.getRegisteredStyles(a.registered,y,r.className):r.className!=null&&(m=r.className+" ");var v=pe.serializeStyles(y,void 0,C.useContext(Ce));m+=a.key+"-"+v.name;var S={};for(var f in r)M.call(r,f)&&f!=="css"&&f!==j&&(S[f]=r[f]);return S.className=m,n&&(S.ref=n),C.createElement(C.Fragment,null,C.createElement($e,{cache:a,serialized:v,isStringTag:typeof i=="string"}),C.createElement(i,S))}),K=ge,Oe=g.Fragment,Ae=function(a,n,o){return M.call(n,"css")?g.jsx(K,J(a,n),o):g.jsx(a,n,o)},Me=function(a,n,o){return M.call(n,"css")?g.jsxs(K,J(a,n),o):g.jsxs(a,n,o)};exports.Fragment=Oe;exports.jsx=Ae;exports.jsxs=Me; //# sourceMappingURL=emotion-react-jsx-runtime.browser.esm-D6BfYa4f.cjs.map