forked from Stock-control-supervisors/public-docs
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
layout-39cb48378c670e95.js.download
2 lines (2 loc) · 9.64 KB
/
layout-39cb48378c670e95.js.download
1
2
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[844],{67118:function(e,a,t){Promise.resolve().then(t.t.bind(t,15502,23)),Promise.resolve().then(t.t.bind(t,83787,23)),Promise.resolve().then(t.t.bind(t,63490,23)),Promise.resolve().then(t.t.bind(t,18032,23)),Promise.resolve().then(t.t.bind(t,27447,23)),Promise.resolve().then(t.t.bind(t,9869,23)),Promise.resolve().then(t.t.bind(t,21401,23)),Promise.resolve().then(t.t.bind(t,92157,23)),Promise.resolve().then(t.t.bind(t,94032,23)),Promise.resolve().then(t.t.bind(t,62044,23)),Promise.resolve().then(t.t.bind(t,72973,23)),Promise.resolve().then(t.t.bind(t,31179,23)),Promise.resolve().then(t.t.bind(t,85303,23)),Promise.resolve().then(t.t.bind(t,646,23)),Promise.resolve().then(t.t.bind(t,22952,23)),Promise.resolve().then(t.t.bind(t,61543,23)),Promise.resolve().then(t.t.bind(t,19783,23)),Promise.resolve().then(t.t.bind(t,14735,23)),Promise.resolve().then(t.t.bind(t,96460,23)),Promise.resolve().then(t.bind(t,64411)),Promise.resolve().then(t.t.bind(t,15450,23)),Promise.resolve().then(t.bind(t,31355)),Promise.resolve().then(t.bind(t,33597)),Promise.resolve().then(t.bind(t,49013)),Promise.resolve().then(t.t.bind(t,42618,23)),Promise.resolve().then(t.bind(t,96250))},64411:function(e,a,t){"use strict";t.r(a),t.d(a,{ClientContexts:function(){return s}});var r=t(57437);t(2265);var n=t(32153),l=t(21945);function s(e){let{children:a,language:t}=e;return(0,r.jsx)(n.Wh,{children:(0,r.jsx)(l.Xg.Provider,{value:t,children:a})})}},31355:function(e,a,t){"use strict";t.r(a),t.d(a,{Button:function(){return s}});var r=t(57437),n=t(28310),l=t(96250);function s(e){let{href:a,onClick:t,children:s,variant:i="primary",size:o="default",className:_}=e,c=(0,n.t)("rounded-md","straight-corners:rounded-none","place-self-start","ring-1","ring-inset","grow-0","shrink-0","primary"===i?["bg-primary-600","text-white","ring-dark/2","hover:bg-primary-500","dark:ring-light/3","dark:bg-primary-600","dark:hover:bg-primary-700"]:["bg-dark/2","ring-dark/1","hover:bg-dark/3","dark:bg-light/2","dark:ring-light/1","dark:hover:bg-light/3"],"default"===o?["text-base","px-4","py-2"]:["text-xs","px-3 py-2"],_);return a?(0,r.jsx)(l.Link,{href:a,className:c,children:s}):(0,r.jsx)("button",{onClick:t,className:c,children:s})}},33597:function(e,a,t){"use strict";t.r(a),t.d(a,{Checkbox:function(){return o}});var r=t(57437),n=t(80720),l=t(48248),s=t(2265),i=t(28310);let o=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,r.jsxs)(l.fC,{ref:a,className:(0,i.t)("peer","h-4","w-4","shrink-0","rounded-sm","ring-1","bg-primary-300/3","ring-dark/3","ring-inset","grid","place-items-center","data-[state=checked]:bg-primary-300/6","[&>*:has(svg)]:absolute","dark:bg-primary-100/[0.02]","dark:ring-light/3","dark:data-[state=checked]:bg-primary-300/4",t),...s,children:[(0,r.jsx)(l.z$,{className:(0,i.t)("flex","items-center","justify-center","text-opacity-[1]","text-primary-800","grid-area-1-1","z-[1]","relative","dark:text-primary-200"),children:(0,r.jsx)(n.default,{size:12})}),(0,r.jsx)("div",{className:(0,i.t)("flex","items-center","justify-center","text-dark/4","grid-area-1-1","z-[0]","relative","dark:text-light/2"),children:(0,r.jsx)(n.default,{size:12})})]})});o.displayName=l.fC.displayName},49013:function(e,a,t){"use strict";t.r(a),t.d(a,{DateRelative:function(){return s}});var r=t(57437),n=t(2265),l=t(21945);function s(e){let{value:a}=e,t=(0,l.ZK)(),[s,i]=n.useState(Date.now());n.useEffect(()=>{let e=setInterval(()=>{i(Date.now())},18e5);return()=>{clearInterval(e)}},[]);let o=new Date(a),_=s-o.getTime();return(0,r.jsx)("time",{"data-visual-test":"transparent",suppressHydrationWarning:!0,dateTime:a,title:o.toLocaleString(),children:function(e,a){if("undefined"==typeof Intl||void 0===Intl.RelativeTimeFormat)return"".concat(Math.floor(a/24/60/60/1e3)," days ago");let t=new Intl.RelativeTimeFormat(e,{style:"long"});return a<36e5?t.format(-Math.floor(a/60/1e3),"minute"):a<864e5?t.format(-Math.floor(a/60/60/1e3),"hour"):a<2592e6?t.format(-Math.floor(a/24/60/60/1e3),"day"):a<31536e6?t.format(-Math.floor(a/30/24/60/60/1e3),"month"):t.format(-Math.floor(a/365/24/60/60/1e3),"year")}(t.locale,_)})}},96250:function(e,a,t){"use strict";t.r(a),t.d(a,{Link:function(){return l}});var r=t(57437),n=t(8792);let l=t(2265).forwardRef(function(e,a){let{href:t,prefetch:l,children:s,...i}=e;return(URL.canParse?URL.canParse(e.href):e.href.startsWith("http"))?(0,r.jsx)("a",{ref:a,...i,href:t,children:s}):(0,r.jsx)(n.default,{ref:a,...e,children:s})})},21945:function(e,a,t){"use strict";t.d(a,{Ff:function(){return n.F},Xg:function(){return l},ZK:function(){return s},t:function(){return n.t}});var r=t(2265),n=t(41185);let l=r.createContext(null);function s(){let e=r.useContext(l);if(!e)throw Error("The hook useLanguage should be wrapped in a <TranslateContext>");return e}},41185:function(e,a,t){"use strict";t.d(a,{F:function(){return s},t:function(){return l}});var r=t(57437),n=t(2265);function l(e,a){for(var t=arguments.length,l=Array(t>2?t-2:0),s=2;s<t;s++)l[s-2]=arguments[s];let i=e[a];if(!i)throw Error('Translation not found for "'.concat(a,'"'));let o=[],_=i;return(l.forEach((e,a)=>{if("string"==typeof e)_=_.replace("${".concat(a+1,"}"),e);else{let[t,l]=_.split("${".concat(a+1,"}"));o.push((0,r.jsx)(n.Fragment,{children:t},"string-".concat(a))),o.push((0,r.jsx)(n.Fragment,{children:e},"arg-".concat(a))),_=l}}),o.length)?(0,r.jsxs)(r.Fragment,{children:[o,_]}):_}function s(e,a){for(var t=arguments.length,r=Array(t>2?t-2:0),n=2;n<t;n++)r[n-2]=arguments[n];return function e(a){if("string"==typeof a||"number"==typeof a||"boolean"==typeof a)return"".concat(a);if(null==a)return"";if(Array.isArray(a))return a.map(e).join("");if("props"in a)return a.props.children.map(e).join("");throw Error("Unsupported type ".concat(typeof a))}(l(e,a,...r))}},28310:function(e,a,t){"use strict";t.d(a,{t:function(){return n}});var r=t(51367);function n(){for(var e=arguments.length,a=Array(e),t=0;t<e;t++)a[t]=arguments[t];return(0,r.m6)(...a)}},15450:function(){},42618:function(){},9869:function(e){e.exports={style:{fontFamily:"'__Fira_Sans_Extra_Condensed_820890', '__Fira_Sans_Extra_Condensed_Fallback_820890', system-ui, arial",fontStyle:"normal"},className:"__className_820890",variable:"__variable_820890"}},27447:function(e){e.exports={style:{fontFamily:"'__IBM_Plex_Mono_e38312', '__IBM_Plex_Mono_Fallback_e38312', monospace",fontStyle:"normal"},className:"__className_e38312",variable:"__variable_e38312"}},21401:function(e){e.exports={style:{fontFamily:"'__IBM_Plex_Serif_51464d', '__IBM_Plex_Serif_Fallback_51464d', serif",fontStyle:"normal"},className:"__className_51464d",variable:"__variable_51464d"}},18032:function(e){e.exports={style:{fontFamily:"'__Inter_46a1ea', '__Inter_Fallback_46a1ea', system-ui, arial",fontStyle:"normal"},className:"__className_46a1ea",variable:"__variable_46a1ea"}},92157:function(e){e.exports={style:{fontFamily:"'__Lato_9e9831', '__Lato_Fallback_9e9831', system-ui, arial",fontStyle:"normal"},className:"__className_9e9831",variable:"__variable_9e9831"}},94032:function(e){e.exports={style:{fontFamily:"'__Merriweather_004a84', '__Merriweather_Fallback_004a84', serif",fontStyle:"normal"},className:"__className_004a84",variable:"__variable_004a84"}},62044:function(e){e.exports={style:{fontFamily:"'__Noto_Sans_be3f9d', '__Noto_Sans_Fallback_be3f9d', system-ui, arial",fontStyle:"normal"},className:"__className_be3f9d",variable:"__variable_be3f9d"}},72973:function(e){e.exports={style:{fontFamily:"'__Open_Sans_cc5619', '__Open_Sans_Fallback_cc5619', system-ui, arial",fontStyle:"normal"},className:"__className_cc5619",variable:"__variable_cc5619"}},31179:function(e){e.exports={style:{fontFamily:"'__Overpass_948b77', '__Overpass_Fallback_948b77', system-ui, arial",fontStyle:"normal"},className:"__className_948b77",variable:"__variable_948b77"}},85303:function(e){e.exports={style:{fontFamily:"'__Poppins_e6e8f1', '__Poppins_Fallback_e6e8f1', system-ui, arial",fontStyle:"normal"},className:"__className_e6e8f1",variable:"__variable_e6e8f1"}},646:function(e){e.exports={style:{fontFamily:"'__Raleway_2d3454', '__Raleway_Fallback_2d3454', system-ui, arial",fontStyle:"normal"},className:"__className_2d3454",variable:"__variable_2d3454"}},22952:function(e){e.exports={style:{fontFamily:"'__Roboto_0db11f', '__Roboto_Fallback_0db11f', system-ui, arial",fontStyle:"normal"},className:"__className_0db11f",variable:"__variable_0db11f"}},61543:function(e){e.exports={style:{fontFamily:"'__Roboto_Slab_298694', '__Roboto_Slab_Fallback_298694', system-ui, arial",fontStyle:"normal"},className:"__className_298694",variable:"__variable_298694"}},19783:function(e){e.exports={style:{fontFamily:"'__Source_Sans_3_18fd50', '__Source_Sans_3_Fallback_18fd50', system-ui, arial",fontStyle:"normal"},className:"__className_18fd50",variable:"__variable_18fd50"}},14735:function(e){e.exports={style:{fontFamily:"'__Ubuntu_537439', '__Ubuntu_Fallback_537439', system-ui, arial",fontStyle:"normal"},className:"__className_537439",variable:"__variable_537439"}},63490:function(e){e.exports={style:{fontFamily:"'__cbdtFont_774aa7', '__cbdtFont_Fallback_774aa7'"},className:"__className_774aa7",variable:"__variable_774aa7"}},83787:function(e){e.exports={style:{fontFamily:"'__sbixFont_0034ec', '__sbixFont_Fallback_0034ec'"},className:"__className_0034ec",variable:"__variable_0034ec"}},15502:function(e){e.exports={style:{fontFamily:"'__svgFont_d78c7f', '__svgFont_Fallback_d78c7f'"},className:"__className_d78c7f",variable:"__variable_d78c7f"}},96460:function(e){e.exports={style:{fontFamily:"'__abcFavorit_278371', '__abcFavorit_Fallback_278371', system-ui, arial"},className:"__className_278371",variable:"__variable_278371"}}},function(e){e.O(0,[691,769,982,176,971,681,744],function(){return e(e.s=67118)}),_N_E=e.O()}]);
//# sourceMappingURL=layout-39cb48378c670e95.js.map