pookienav 1.0.3 → 1.0.4

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.
@@ -630,5 +630,5 @@ const _r = (R, h) => {
630
630
  ] });
631
631
  };
632
632
  export {
633
- hr as Hamburger
633
+ hr as default
634
634
  };
@@ -1,14 +1,14 @@
1
- (function(T,y){typeof exports=="object"&&typeof module<"u"?y(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],y):(T=typeof globalThis<"u"?globalThis:T||self,y(T.pookienav={},T.React))})(this,(function(T,y){"use strict";var M={exports:{}},N={};var ee;function Ce(){if(ee)return N;ee=1;var j=y,g=Symbol.for("react.element"),w=Symbol.for("react.fragment"),m=Object.prototype.hasOwnProperty,k=j.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,R={key:!0,ref:!0,__self:!0,__source:!0};function x(O,f,D){var h,b={},S=null,V=null;D!==void 0&&(S=""+D),f.key!==void 0&&(S=""+f.key),f.ref!==void 0&&(V=f.ref);for(h in f)m.call(f,h)&&!R.hasOwnProperty(h)&&(b[h]=f[h]);if(O&&O.defaultProps)for(h in f=O.defaultProps,f)b[h]===void 0&&(b[h]=f[h]);return{$$typeof:g,type:O,key:S,ref:V,props:b,_owner:k.current}}return N.Fragment=w,N.jsx=x,N.jsxs=x,N}var W={};var re;function we(){return re||(re=1,process.env.NODE_ENV!=="production"&&(function(){var j=y,g=Symbol.for("react.element"),w=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),x=Symbol.for("react.provider"),O=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),V=Symbol.for("react.offscreen"),ne=Symbol.iterator,Ae="@@iterator";function Ie(e){if(e===null||typeof e!="object")return null;var r=ne&&e[ne]||e[Ae];return typeof r=="function"?r:null}var F=j.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function d(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];Ne("error",e,t)}}function Ne(e,r,t){{var n=F.ReactDebugCurrentFrame,o=n.getStackAddendum();o!==""&&(r+="%s",t=t.concat([o]));var s=t.map(function(i){return String(i)});s.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,s)}}var We=!1,Ye=!1,Le=!1,Me=!1,Ve=!1,ae;ae=Symbol.for("react.module.reference");function $e(e){return!!(typeof e=="string"||typeof e=="function"||e===m||e===R||Ve||e===k||e===D||e===h||Me||e===V||We||Ye||Le||typeof e=="object"&&e!==null&&(e.$$typeof===S||e.$$typeof===b||e.$$typeof===x||e.$$typeof===O||e.$$typeof===f||e.$$typeof===ae||e.getModuleId!==void 0))}function Ue(e,r,t){var n=e.displayName;if(n)return n;var o=r.displayName||r.name||"";return o!==""?t+"("+o+")":t}function ie(e){return e.displayName||"Context"}function E(e){if(e==null)return null;if(typeof e.tag=="number"&&d("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 m:return"Fragment";case w:return"Portal";case R:return"Profiler";case k:return"StrictMode";case D:return"Suspense";case h:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case O:var r=e;return ie(r)+".Consumer";case x:var t=e;return ie(t._context)+".Provider";case f:return Ue(e,e.render,"ForwardRef");case b:var n=e.displayName||null;return n!==null?n:E(e.type)||"Memo";case S:{var o=e,s=o._payload,i=o._init;try{return E(i(s))}catch{return null}}}return null}var P=Object.assign,Y=0,oe,se,ue,le,ce,fe,de;function ve(){}ve.__reactDisabledLog=!0;function Je(){{if(Y===0){oe=console.log,se=console.info,ue=console.warn,le=console.error,ce=console.group,fe=console.groupCollapsed,de=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ve,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Y++}}function Be(){{if(Y--,Y===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:P({},e,{value:oe}),info:P({},e,{value:se}),warn:P({},e,{value:ue}),error:P({},e,{value:le}),group:P({},e,{value:ce}),groupCollapsed:P({},e,{value:fe}),groupEnd:P({},e,{value:de})})}Y<0&&d("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var K=F.ReactCurrentDispatcher,q;function $(e,r,t){{if(q===void 0)try{throw Error()}catch(o){var n=o.stack.trim().match(/\n( *(at )?)/);q=n&&n[1]||""}return`
2
- `+q+e}}var G=!1,U;{var Ke=typeof WeakMap=="function"?WeakMap:Map;U=new Ke}function pe(e,r){if(!e||G)return"";{var t=U.get(e);if(t!==void 0)return t}var n;G=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var s;s=K.current,K.current=null,Je();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(p){n=p}Reflect.construct(e,[],i)}else{try{i.call()}catch(p){n=p}e.call(i.prototype)}}else{try{throw Error()}catch(p){n=p}e()}}catch(p){if(p&&n&&typeof p.stack=="string"){for(var a=p.stack.split(`
1
+ (function(m,R){typeof exports=="object"&&typeof module<"u"?module.exports=R(require("react")):typeof define=="function"&&define.amd?define(["react"],R):(m=typeof globalThis<"u"?globalThis:m||self,m.pookienav=R(m.React))})(this,(function(m){"use strict";var R={exports:{}},N={};var Q;function Ce(){if(Q)return N;Q=1;var x=m,g=Symbol.for("react.element"),w=Symbol.for("react.fragment"),b=Object.prototype.hasOwnProperty,k=x.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,E={key:!0,ref:!0,__self:!0,__source:!0};function j(O,f,D){var h,y={},S=null,V=null;D!==void 0&&(S=""+D),f.key!==void 0&&(S=""+f.key),f.ref!==void 0&&(V=f.ref);for(h in f)b.call(f,h)&&!E.hasOwnProperty(h)&&(y[h]=f[h]);if(O&&O.defaultProps)for(h in f=O.defaultProps,f)y[h]===void 0&&(y[h]=f[h]);return{$$typeof:g,type:O,key:S,ref:V,props:y,_owner:k.current}}return N.Fragment=w,N.jsx=j,N.jsxs=j,N}var W={};var ee;function Pe(){return ee||(ee=1,process.env.NODE_ENV!=="production"&&(function(){var x=m,g=Symbol.for("react.element"),w=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),j=Symbol.for("react.provider"),O=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),V=Symbol.for("react.offscreen"),te=Symbol.iterator,De="@@iterator";function Fe(e){if(e===null||typeof e!="object")return null;var r=te&&e[te]||e[De];return typeof r=="function"?r:null}var F=x.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function d(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];Ae("error",e,t)}}function Ae(e,r,t){{var n=F.ReactDebugCurrentFrame,o=n.getStackAddendum();o!==""&&(r+="%s",t=t.concat([o]));var s=t.map(function(i){return String(i)});s.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,s)}}var Ie=!1,Ne=!1,We=!1,Ye=!1,Le=!1,ne;ne=Symbol.for("react.module.reference");function Ve(e){return!!(typeof e=="string"||typeof e=="function"||e===b||e===E||Le||e===k||e===D||e===h||Ye||e===V||Ie||Ne||We||typeof e=="object"&&e!==null&&(e.$$typeof===S||e.$$typeof===y||e.$$typeof===j||e.$$typeof===O||e.$$typeof===f||e.$$typeof===ne||e.getModuleId!==void 0))}function $e(e,r,t){var n=e.displayName;if(n)return n;var o=r.displayName||r.name||"";return o!==""?t+"("+o+")":t}function ae(e){return e.displayName||"Context"}function T(e){if(e==null)return null;if(typeof e.tag=="number"&&d("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 b:return"Fragment";case w:return"Portal";case E:return"Profiler";case k:return"StrictMode";case D:return"Suspense";case h:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case O:var r=e;return ae(r)+".Consumer";case j:var t=e;return ae(t._context)+".Provider";case f:return $e(e,e.render,"ForwardRef");case y:var n=e.displayName||null;return n!==null?n:T(e.type)||"Memo";case S:{var o=e,s=o._payload,i=o._init;try{return T(i(s))}catch{return null}}}return null}var C=Object.assign,Y=0,ie,oe,se,ue,le,ce,fe;function de(){}de.__reactDisabledLog=!0;function Me(){{if(Y===0){ie=console.log,oe=console.info,se=console.warn,ue=console.error,le=console.group,ce=console.groupCollapsed,fe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:de,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Y++}}function Ue(){{if(Y--,Y===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:C({},e,{value:ie}),info:C({},e,{value:oe}),warn:C({},e,{value:se}),error:C({},e,{value:ue}),group:C({},e,{value:le}),groupCollapsed:C({},e,{value:ce}),groupEnd:C({},e,{value:fe})})}Y<0&&d("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var B=F.ReactCurrentDispatcher,K;function $(e,r,t){{if(K===void 0)try{throw Error()}catch(o){var n=o.stack.trim().match(/\n( *(at )?)/);K=n&&n[1]||""}return`
2
+ `+K+e}}var q=!1,M;{var Je=typeof WeakMap=="function"?WeakMap:Map;M=new Je}function ve(e,r){if(!e||q)return"";{var t=M.get(e);if(t!==void 0)return t}var n;q=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var s;s=B.current,B.current=null,Me();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(p){n=p}Reflect.construct(e,[],i)}else{try{i.call()}catch(p){n=p}e.call(i.prototype)}}else{try{throw Error()}catch(p){n=p}e()}}catch(p){if(p&&n&&typeof p.stack=="string"){for(var a=p.stack.split(`
3
3
  `),v=n.stack.split(`
4
4
  `),u=a.length-1,l=v.length-1;u>=1&&l>=0&&a[u]!==v[l];)l--;for(;u>=1&&l>=0;u--,l--)if(a[u]!==v[l]){if(u!==1||l!==1)do if(u--,l--,l<0||a[u]!==v[l]){var _=`
5
- `+a[u].replace(" at new "," at ");return e.displayName&&_.includes("<anonymous>")&&(_=_.replace("<anonymous>",e.displayName)),typeof e=="function"&&U.set(e,_),_}while(u>=1&&l>=0);break}}}finally{G=!1,K.current=s,Be(),Error.prepareStackTrace=o}var I=e?e.displayName||e.name:"",C=I?$(I):"";return typeof e=="function"&&U.set(e,C),C}function qe(e,r,t){return pe(e,!1)}function Ge(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function J(e,r,t){if(e==null)return"";if(typeof e=="function")return pe(e,Ge(e));if(typeof e=="string")return $(e);switch(e){case D:return $("Suspense");case h:return $("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case f:return qe(e.render);case b:return J(e.type,r,t);case S:{var n=e,o=n._payload,s=n._init;try{return J(s(o),r,t)}catch{}}}return""}var L=Object.prototype.hasOwnProperty,he={},_e=F.ReactDebugCurrentFrame;function B(e){if(e){var r=e._owner,t=J(e.type,e._source,r?r.type:null);_e.setExtraStackFrame(t)}else _e.setExtraStackFrame(null)}function ze(e,r,t,n,o){{var s=Function.call.bind(L);for(var i in e)if(s(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(u){a=u}a&&!(a instanceof Error)&&(B(o),d("%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),B(null)),a instanceof Error&&!(a.message in he)&&(he[a.message]=!0,B(o),d("Failed %s type: %s",t,a.message),B(null))}}}var He=Array.isArray;function z(e){return He(e)}function Xe(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function Ze(e){try{return ge(e),!1}catch{return!0}}function ge(e){return""+e}function me(e){if(Ze(e))return d("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Xe(e)),ge(e)}var be=F.ReactCurrentOwner,Qe={key:!0,ref:!0,__self:!0,__source:!0},ye,Re;function er(e){if(L.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function rr(e){if(L.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function tr(e,r){typeof e.ref=="string"&&be.current}function nr(e,r){{var t=function(){ye||(ye=!0,d("%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 ar(e,r){{var t=function(){Re||(Re=!0,d("%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 ir=function(e,r,t,n,o,s,i){var a={$$typeof:g,type:e,key:r,ref:t,props:i,_owner:s};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 or(e,r,t,n,o){{var s,i={},a=null,v=null;t!==void 0&&(me(t),a=""+t),rr(r)&&(me(r.key),a=""+r.key),er(r)&&(v=r.ref,tr(r,o));for(s in r)L.call(r,s)&&!Qe.hasOwnProperty(s)&&(i[s]=r[s]);if(e&&e.defaultProps){var u=e.defaultProps;for(s in u)i[s]===void 0&&(i[s]=u[s])}if(a||v){var l=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&nr(i,l),v&&ar(i,l)}return ir(e,a,v,o,n,be.current,i)}}var H=F.ReactCurrentOwner,Ee=F.ReactDebugCurrentFrame;function A(e){if(e){var r=e._owner,t=J(e.type,e._source,r?r.type:null);Ee.setExtraStackFrame(t)}else Ee.setExtraStackFrame(null)}var X;X=!1;function Z(e){return typeof e=="object"&&e!==null&&e.$$typeof===g}function Te(){{if(H.current){var e=E(H.current.type);if(e)return`
5
+ `+a[u].replace(" at new "," at ");return e.displayName&&_.includes("<anonymous>")&&(_=_.replace("<anonymous>",e.displayName)),typeof e=="function"&&M.set(e,_),_}while(u>=1&&l>=0);break}}}finally{q=!1,B.current=s,Ue(),Error.prepareStackTrace=o}var I=e?e.displayName||e.name:"",P=I?$(I):"";return typeof e=="function"&&M.set(e,P),P}function Be(e,r,t){return ve(e,!1)}function Ke(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function U(e,r,t){if(e==null)return"";if(typeof e=="function")return ve(e,Ke(e));if(typeof e=="string")return $(e);switch(e){case D:return $("Suspense");case h:return $("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case f:return Be(e.render);case y:return U(e.type,r,t);case S:{var n=e,o=n._payload,s=n._init;try{return U(s(o),r,t)}catch{}}}return""}var L=Object.prototype.hasOwnProperty,pe={},he=F.ReactDebugCurrentFrame;function J(e){if(e){var r=e._owner,t=U(e.type,e._source,r?r.type:null);he.setExtraStackFrame(t)}else he.setExtraStackFrame(null)}function qe(e,r,t,n,o){{var s=Function.call.bind(L);for(var i in e)if(s(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(u){a=u}a&&!(a instanceof Error)&&(J(o),d("%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),J(null)),a instanceof Error&&!(a.message in pe)&&(pe[a.message]=!0,J(o),d("Failed %s type: %s",t,a.message),J(null))}}}var Ge=Array.isArray;function G(e){return Ge(e)}function ze(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function He(e){try{return _e(e),!1}catch{return!0}}function _e(e){return""+e}function ge(e){if(He(e))return d("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ze(e)),_e(e)}var me=F.ReactCurrentOwner,Xe={key:!0,ref:!0,__self:!0,__source:!0},be,ye;function Ze(e){if(L.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function Qe(e){if(L.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function er(e,r){typeof e.ref=="string"&&me.current}function rr(e,r){{var t=function(){be||(be=!0,d("%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 tr(e,r){{var t=function(){ye||(ye=!0,d("%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 nr=function(e,r,t,n,o,s,i){var a={$$typeof:g,type:e,key:r,ref:t,props:i,_owner:s};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 ar(e,r,t,n,o){{var s,i={},a=null,v=null;t!==void 0&&(ge(t),a=""+t),Qe(r)&&(ge(r.key),a=""+r.key),Ze(r)&&(v=r.ref,er(r,o));for(s in r)L.call(r,s)&&!Xe.hasOwnProperty(s)&&(i[s]=r[s]);if(e&&e.defaultProps){var u=e.defaultProps;for(s in u)i[s]===void 0&&(i[s]=u[s])}if(a||v){var l=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&rr(i,l),v&&tr(i,l)}return nr(e,a,v,o,n,me.current,i)}}var z=F.ReactCurrentOwner,Re=F.ReactDebugCurrentFrame;function A(e){if(e){var r=e._owner,t=U(e.type,e._source,r?r.type:null);Re.setExtraStackFrame(t)}else Re.setExtraStackFrame(null)}var H;H=!1;function X(e){return typeof e=="object"&&e!==null&&e.$$typeof===g}function Ee(){{if(z.current){var e=T(z.current.type);if(e)return`
6
6
 
7
- Check the render method of \``+e+"`."}return""}}function sr(e){return""}var je={};function ur(e){{var r=Te();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
7
+ Check the render method of \``+e+"`."}return""}}function ir(e){return""}var Te={};function or(e){{var r=Ee();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
8
8
 
9
- Check the top-level render call using <`+t+">.")}return r}}function xe(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=ur(r);if(je[t])return;je[t]=!0;var n="";e&&e._owner&&e._owner!==H.current&&(n=" It was passed a child from "+E(e._owner.type)+"."),A(e),d('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),A(null)}}function Oe(e,r){{if(typeof e!="object")return;if(z(e))for(var t=0;t<e.length;t++){var n=e[t];Z(n)&&xe(n,r)}else if(Z(e))e._store&&(e._store.validated=!0);else if(e){var o=Ie(e);if(typeof o=="function"&&o!==e.entries)for(var s=o.call(e),i;!(i=s.next()).done;)Z(i.value)&&xe(i.value,r)}}}function lr(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===f||r.$$typeof===b))t=r.propTypes;else return;if(t){var n=E(r);ze(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!X){X=!0;var o=E(r);d("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",o||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&d("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function cr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){A(e),d("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),A(null);break}}e.ref!==null&&(A(e),d("Invalid attribute `ref` supplied to `React.Fragment`."),A(null))}}var Se={};function Pe(e,r,t,n,o,s){{var i=$e(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=sr();v?a+=v:a+=Te();var u;e===null?u="null":z(e)?u="array":e!==void 0&&e.$$typeof===g?(u="<"+(E(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):u=typeof e,d("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",u,a)}var l=or(e,r,t,o,s);if(l==null)return l;if(i){var _=r.children;if(_!==void 0)if(n)if(z(_)){for(var I=0;I<_.length;I++)Oe(_[I],e);Object.freeze&&Object.freeze(_)}else d("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 Oe(_,e)}if(L.call(r,"key")){var C=E(e),p=Object.keys(r).filter(function(_r){return _r!=="key"}),Q=p.length>0?"{key: someKey, "+p.join(": ..., ")+": ...}":"{key: someKey}";if(!Se[C+Q]){var hr=p.length>0?"{"+p.join(": ..., ")+": ...}":"{}";d(`A props object containing a "key" prop is being spread into JSX:
9
+ Check the top-level render call using <`+t+">.")}return r}}function xe(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=or(r);if(Te[t])return;Te[t]=!0;var n="";e&&e._owner&&e._owner!==z.current&&(n=" It was passed a child from "+T(e._owner.type)+"."),A(e),d('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),A(null)}}function je(e,r){{if(typeof e!="object")return;if(G(e))for(var t=0;t<e.length;t++){var n=e[t];X(n)&&xe(n,r)}else if(X(e))e._store&&(e._store.validated=!0);else if(e){var o=Fe(e);if(typeof o=="function"&&o!==e.entries)for(var s=o.call(e),i;!(i=s.next()).done;)X(i.value)&&xe(i.value,r)}}}function sr(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===f||r.$$typeof===y))t=r.propTypes;else return;if(t){var n=T(r);qe(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!H){H=!0;var o=T(r);d("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",o||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&d("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ur(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){A(e),d("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),A(null);break}}e.ref!==null&&(A(e),d("Invalid attribute `ref` supplied to `React.Fragment`."),A(null))}}var Oe={};function Se(e,r,t,n,o,s){{var i=Ve(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=ir();v?a+=v:a+=Ee();var u;e===null?u="null":G(e)?u="array":e!==void 0&&e.$$typeof===g?(u="<"+(T(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):u=typeof e,d("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",u,a)}var l=ar(e,r,t,o,s);if(l==null)return l;if(i){var _=r.children;if(_!==void 0)if(n)if(G(_)){for(var I=0;I<_.length;I++)je(_[I],e);Object.freeze&&Object.freeze(_)}else d("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 je(_,e)}if(L.call(r,"key")){var P=T(e),p=Object.keys(r).filter(function(pr){return pr!=="key"}),Z=p.length>0?"{key: someKey, "+p.join(": ..., ")+": ...}":"{key: someKey}";if(!Oe[P+Z]){var vr=p.length>0?"{"+p.join(": ..., ")+": ...}":"{}";d(`A props object containing a "key" prop is being spread into JSX:
10
10
  let props = %s;
11
11
  <%s {...props} />
12
12
  React keys must be passed directly to JSX without using spread:
13
13
  let props = %s;
14
- <%s key={someKey} {...props} />`,Q,C,hr,C),Se[C+Q]=!0}}return e===m?cr(l):lr(l),l}}function fr(e,r,t){return Pe(e,r,t,!0)}function dr(e,r,t){return Pe(e,r,t,!1)}var vr=dr,pr=fr;W.Fragment=m,W.jsx=vr,W.jsxs=pr})()),W}var te;function ke(){return te||(te=1,process.env.NODE_ENV==="production"?M.exports=Ce():M.exports=we()),M.exports}var c=ke();const De=(j,g)=>{j.current.classList.toggle("show__navmenu"),g.current.classList.toggle("aniamte__hamburger")},Fe=({navitems:j,linkcomponent:g})=>{const w=y.useRef(null),m=y.useRef(null),k=g||"a";return c.jsxs(c.Fragment,{children:[c.jsx("div",{className:"navigation__bar",children:c.jsxs("div",{className:"navigation__contents montserrat",children:[c.jsx("div",{className:"stack0",children:c.jsx("p",{className:"logo__text",children:" ANNAI"})}),c.jsx("div",{className:"stack1",children:c.jsxs("div",{ref:m,onClick:()=>{De(w,m)},className:"hamburger__bars",children:[c.jsx("div",{className:"bars"}),c.jsx("div",{className:"bars"}),c.jsx("div",{className:"bars"})]})}),c.jsx("div",{className:"stack2",children:c.jsx("ul",{ref:w,className:"nav__menus",children:j.map((R,x)=>c.jsx("li",{className:"nav__items",children:c.jsx(k,{...g?{to:R.path}:{href:R.path},children:R.name})},x))})})]})}),c.jsx("div",{style:{color:"black"}})]})};T.Hamburger=Fe,Object.defineProperty(T,Symbol.toStringTag,{value:"Module"})}));
14
+ <%s key={someKey} {...props} />`,Z,P,vr,P),Oe[P+Z]=!0}}return e===b?ur(l):sr(l),l}}function lr(e,r,t){return Se(e,r,t,!0)}function cr(e,r,t){return Se(e,r,t,!1)}var fr=cr,dr=lr;W.Fragment=b,W.jsx=fr,W.jsxs=dr})()),W}var re;function we(){return re||(re=1,process.env.NODE_ENV==="production"?R.exports=Ce():R.exports=Pe()),R.exports}var c=we();const ke=(x,g)=>{x.current.classList.toggle("show__navmenu"),g.current.classList.toggle("aniamte__hamburger")};return({navitems:x,linkcomponent:g})=>{const w=m.useRef(null),b=m.useRef(null),k=g||"a";return c.jsxs(c.Fragment,{children:[c.jsx("div",{className:"navigation__bar",children:c.jsxs("div",{className:"navigation__contents montserrat",children:[c.jsx("div",{className:"stack0",children:c.jsx("p",{className:"logo__text",children:" ANNAI"})}),c.jsx("div",{className:"stack1",children:c.jsxs("div",{ref:b,onClick:()=>{ke(w,b)},className:"hamburger__bars",children:[c.jsx("div",{className:"bars"}),c.jsx("div",{className:"bars"}),c.jsx("div",{className:"bars"})]})}),c.jsx("div",{className:"stack2",children:c.jsx("ul",{ref:w,className:"nav__menus",children:x.map((E,j)=>c.jsx("li",{className:"nav__items",children:c.jsx(k,{...g?{to:E.path}:{href:E.path},children:E.name})},j))})})]})}),c.jsx("div",{style:{color:"black"}})]})}}));
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "pookienav",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "main": "dist/pookienav.umd.js",
5
- "module": "dist/pookienav.es.js",
5
+ "module": "dist/pookienav.mjs",
6
6
  "types": "",
7
7
  "files": ["dist"],
8
8
  "scripts": {