Skip to content

Commit

Permalink
239.69b7fd4c9a2ecc3706ea.js.download
Browse files Browse the repository at this point in the history
Stock control supervisors
  • Loading branch information
bombastictranz authored May 9, 2024
1 parent ff02838 commit 839122c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions 239.69b7fd4c9a2ecc3706ea.js.download
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[239],{"4JlD":function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,i){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"===typeof e?c(a(e),(function(a){var i=encodeURIComponent(r(a))+n;return o(e[a])?c(e[a],(function(e){return i+encodeURIComponent(r(e))})).join(t):i+encodeURIComponent(r(e[a]))})).join(t):i?encodeURIComponent(r(i))+n+encodeURIComponent(r(e)):""};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function c(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var a=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},GRtX:function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return l}));var r=n("Ff2n"),o=n("QmWs"),c=n("YFqc"),a=n.n(c),i=n("AeFk");function s(e){var t;if("string"!==typeof e.href||e.href.startsWith("#"))return Object(i.c)("a",e);var n=Object(o.parse)(e.href);if(n.hostname&&!n.hostname.includes("builder.io")&&!n.hostname.includes("localhost")||null!==(t=n.hostname)&&void 0!==t&&t.includes("forum.builder.io"))return Object(i.c)("a",e);var c=n.pathname||"",s=c.startsWith("/c/")||"/"===c||c.startsWith("/m/")||c.startsWith("/blog")||c.startsWith("/hub"),l=e.children,u=Object(r.a)(e,["children"]),f=c+(n.search||"");return s?Object(i.c)(a.a,{href:f},Object(i.c)("a",u,l)):Object(i.c)("a",e)}var l=s},QmWs:function(e,t,n){var r,o=(r=n("s4NR"))&&"object"==typeof r&&"default"in r?r.default:r,c=/https?|ftp|gopher|file/;function a(e){"string"==typeof e&&(e=g(e));var t=function(e,t,n){var r=e.auth,o=e.hostname,c=e.protocol||"",a=e.pathname||"",i=e.hash||"",s=e.query||"",l=!1;r=r?encodeURIComponent(r).replace(/%3A/i,":")+"@":"",e.host?l=r+e.host:o&&(l=r+(~o.indexOf(":")?"["+o+"]":o),e.port&&(l+=":"+e.port)),s&&"object"==typeof s&&(s=t.encode(s));var u=e.search||s&&"?"+s||"";return c&&":"!==c.substr(-1)&&(c+=":"),e.slashes||(!c||n.test(c))&&!1!==l?(l="//"+(l||""),a&&"/"!==a[0]&&(a="/"+a)):l||(l=""),i&&"#"!==i[0]&&(i="#"+i),u&&"?"!==u[0]&&(u="?"+u),{protocol:c,host:l,pathname:a=a.replace(/[?#]/g,encodeURIComponent),search:u=u.replace("#","%23"),hash:i}}(e,o,c);return""+t.protocol+t.host+t.pathname+t.search+t.hash}var i="http://",s="w.w",l=i+s,u=/^([a-z0-9.+-]*:\/\/\/)([a-z0-9.+-]:\/*)?/i,f=/https?|ftp|gopher|file/;function p(e,t){var n="string"==typeof e?g(e):e;e="object"==typeof e?a(e):e;var r=g(t),o="";n.protocol&&!n.slashes&&(o=n.protocol,e=e.replace(n.protocol,""),o+="/"===t[0]||"/"===e[0]?"/":""),o&&r.protocol&&(o="",r.slashes||(o=r.protocol,t=t.replace(r.protocol,"")));var c=e.match(u);c&&!r.protocol&&(e=e.substr((o=c[1]+(c[2]||"")).length),/^\/\/[^/]/.test(t)&&(o=o.slice(0,-1)));var s=new URL(e,l+"/"),p=new URL(t,s).toString().replace(l,""),h=r.protocol||n.protocol;return h+=n.slashes||r.slashes?"//":"",!o&&h?p=p.replace(i,h):o&&(p=p.replace(i,"")),f.test(p)||~t.indexOf(".")||"/"===e.slice(-1)||"/"===t.slice(-1)||"/"!==p.slice(-1)||(p=p.slice(0,-1)),o&&(p=o+("/"===p[0]?p.substr(1):p)),p}function h(){}h.prototype.parse=g,h.prototype.format=a,h.prototype.resolve=p,h.prototype.resolveObject=p;var d=/^https?|ftp|gopher|file/,b=/^(.*?)([#?].*)/,v=/^([a-z0-9.+-]*:)(\/{0,3})(.*)/i,m=/^([a-z0-9.+-]*:)?\/\/\/*/i,y=/^([a-z0-9.+-]*:)(\/{0,2})\[(.*)\]$/i;function g(e,t,n){if(void 0===t&&(t=!1),void 0===n&&(n=!1),e&&"object"==typeof e&&e instanceof h)return e;var r=(e=e.trim()).match(b);e=r?r[1].replace(/\\/g,"/")+r[2]:e.replace(/\\/g,"/"),y.test(e)&&"/"!==e.slice(-1)&&(e+="/");var c=!/(^javascript)/.test(e)&&e.match(v),i=m.test(e),u="";c&&(d.test(c[1])||(u=c[1].toLowerCase(),e=""+c[2]+c[3]),c[2]||(i=!1,d.test(c[1])?(u=c[1],e=""+c[3]):e="//"+c[3]),3!==c[2].length&&1!==c[2].length||(u=c[1],e="/"+c[3]));var f,p=(r?r[1]:e).match(/^https?:\/\/[^/]+(:[0-9]+)(?=\/|$)/),g=p&&p[1],O=new h,j="",k="";try{f=new URL(e)}catch(o){j=o,u||n||!/^\/\//.test(e)||/^\/\/.+[@.]/.test(e)||(k="/",e=e.substr(1));try{f=new URL(e,l)}catch(e){return O.protocol=u,O.href=u,O}}O.slashes=i&&!k,O.host=f.host===s?"":f.host,O.hostname=f.hostname===s?"":f.hostname.replace(/(\[|\])/g,""),O.protocol=j?u||null:f.protocol,O.search=f.search.replace(/\\/g,"%5C"),O.hash=f.hash.replace(/\\/g,"%5C");var x=e.split("#");!O.search&&~x[0].indexOf("?")&&(O.search="?"),O.hash||""!==x[1]||(O.hash="#"),O.query=t?o.decode(f.search.substr(1)):O.search.substr(1),O.pathname=k+(c?function(e){return e.replace(/['^|`]/g,(function(e){return"%"+e.charCodeAt().toString(16).toUpperCase()})).replace(/((?:%[0-9A-F]{2})+)/g,(function(e,t){try{return decodeURIComponent(t).split("").map((function(e){var t=e.charCodeAt();return t>256||/^[a-z0-9]$/i.test(e)?e:"%"+t.toString(16).toUpperCase()})).join("")}catch(e){return t}}))}(f.pathname):f.pathname),"about:"===O.protocol&&"blank"===O.pathname&&(O.protocol="",O.pathname=""),j&&"/"!==e[0]&&(O.pathname=O.pathname.substr(1)),u&&!d.test(u)&&"/"!==e.slice(-1)&&"/"===O.pathname&&(O.pathname=""),O.path=O.pathname+O.search,O.auth=[f.username,f.password].map(decodeURIComponent).filter(Boolean).join(":"),O.port=f.port,g&&!O.host.endsWith(g)&&(O.host+=g,O.port=g.slice(1)),O.href=k?""+O.pathname+O.search+O.hash:a(O);var w=/^(file)/.test(O.href)?["host","hostname"]:[];return Object.keys(O).forEach((function(e){~w.indexOf(e)||(O[e]=O[e]||null)})),O}t.parse=g,t.format=a,t.resolve=p,t.resolveObject=function(e,t){return g(p(e,t))},t.Url=h},YFqc:function(e,t,n){e.exports=n("cTJO")},cTJO:function(e,t,n){"use strict";var r=n("J4zp"),o=n("284h");t.__esModule=!0,t.default=void 0;var c=o(n("FdF9")),a=n("elyg"),i=n("nOHt"),s=n("vNVm"),l={};function u(e,t,n,r){if(e&&(0,a.isLocalURL)(t)){e.prefetch(t,n,r).catch((function(e){0}));var o=r&&"undefined"!==typeof r.locale?r.locale:e&&e.locale;l[t+"%"+n+(o?"%"+o:"")]=!0}}var f=function(e){var t=!1!==e.prefetch,n=(0,i.useRouter)(),o=n&&n.asPath||"/",f=c.default.useMemo((function(){var t=(0,a.resolveHref)(o,e.href,!0),n=r(t,2),c=n[0],i=n[1];return{href:c,as:e.as?(0,a.resolveHref)(o,e.as):i||c}}),[o,e.href,e.as]),p=f.href,h=f.as,d=e.children,b=e.replace,v=e.shallow,m=e.scroll,y=e.locale;"string"===typeof d&&(d=c.default.createElement("a",null,d));var g=c.Children.only(d),O=g&&"object"===typeof g&&g.ref,j=(0,s.useIntersection)({rootMargin:"200px"}),k=r(j,2),x=k[0],w=k[1],L=c.default.useCallback((function(e){x(e),O&&("function"===typeof O?O(e):"object"===typeof O&&(O.current=e))}),[O,x]);(0,c.useEffect)((function(){var e=w&&t&&(0,a.isLocalURL)(p),r="undefined"!==typeof y?y:n&&n.locale,o=l[p+"%"+h+(r?"%"+r:"")];e&&!o&&u(n,p,h,{locale:r})}),[h,p,w,y,t,n]);var C={ref:L,onClick:function(e){g.props&&"function"===typeof g.props.onClick&&g.props.onClick(e),e.defaultPrevented||function(e,t,n,r,o,c,i,s){("A"!==e.currentTarget.nodeName||!function(e){var t=e.currentTarget.target;return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)&&(0,a.isLocalURL)(n))&&(e.preventDefault(),null==i&&(i=r.indexOf("#")<0),t[o?"replace":"push"](n,r,{shallow:c,locale:s,scroll:i}))}(e,n,p,h,b,v,m,y)},onMouseEnter:function(e){(0,a.isLocalURL)(p)&&(g.props&&"function"===typeof g.props.onMouseEnter&&g.props.onMouseEnter(e),u(n,p,h,{priority:!0}))}};if(e.passHref||"a"===g.type&&!("href"in g.props)){var R="undefined"!==typeof y?y:n&&n.locale,U=n&&n.isLocaleDomain&&(0,a.getDomainLocale)(h,R,n&&n.locales,n&&n.domainLocales);C.href=U||(0,a.addBasePath)((0,a.addLocale)(h,R,n&&n.defaultLocale))}return c.default.cloneElement(g,C)};t.default=f},kd2E:function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,c){t=t||"&",n=n||"=";var a={};if("string"!==typeof e||0===e.length)return a;var i=/\+/g;e=e.split(t);var s=1e3;c&&"number"===typeof c.maxKeys&&(s=c.maxKeys);var l=e.length;s>0&&l>s&&(l=s);for(var u=0;u<l;++u){var f,p,h,d,b=e[u].replace(i,"%20"),v=b.indexOf(n);v>=0?(f=b.substr(0,v),p=b.substr(v+1)):(f=b,p=""),h=decodeURIComponent(f),d=decodeURIComponent(p),r(a,h)?o(a[h])?a[h].push(d):a[h]=[a[h],d]:a[h]=d}return a};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},pwnY:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return a})),n.d(t,"e",(function(){return i}));"@media (max-width: ".concat(1450,"px)");var r="@media (max-width: ".concat(1250,"px)"),o=800,c="@media (max-width: ".concat(o,"px)"),a=496,i="@media (max-width: ".concat(a,"px)")},s4NR:function(e,t,n){"use strict";t.decode=t.parse=n("kd2E"),t.encode=t.stringify=n("4JlD")},uPIh:function(e,t,n){"use strict";n.r(t),n.d(t,"DocsNavMenu",(function(){return j})),n.d(t,"DocsLinks",(function(){return A})),n.d(t,"DocsLink",(function(){return F}));var r=n("wx14"),o=n("AeFk"),c=n("KQm4"),a=n("DSFK"),i=n("25BE"),s=n("BsWD"),l=n("PYwp");var u=n("rePB"),f=n("20a2"),p=n("FdF9"),h=n("pwnY"),d=n("GRtX");function b(e,t){var n;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,a=!0,i=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){i=!0,c=e},f:function(){try{a||null==n.return||n.return()}finally{if(i)throw c}}}}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){Object(u.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var g=Object(p.createContext)(!1),O={name:"1pxl9ke",styles:"font-size:15px"};function j(e){var t=C();return Object(o.c)(g.Provider,{key:t,value:e.collapseAll},Object(o.c)("div",{css:O,className:"docs-nav-menu"},Object(o.c)(A,{links:e.links})))}var k=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return t.map((function(t,r){return t.subLinks&&t.subLinks.length>0&&(t.subLinks=e(t.subLinks,"".concat(n?n+",":n).concat(r))),y(y({},t),{},{index:"".concat(n?n+",":n).concat(r)})}))},x=function e(t,n){if(n){var r=n.split(","),o=(h=r,Object(a.a)(h)||Object(i.a)(h)||Object(s.a)(h)||Object(l.a)()),u=o[0],f=o.slice(1),p=t[Number.parseInt(u)];return U(p)?0===f.length?[p]:[p].concat(Object(c.a)(e(p.subLinks,f.join(",")))).flat():[]}var h;return[]},w=function e(t,n){var r,o=b(t);try{for(o.s();!(r=o.n()).done;){var c=r.value;if(c.link&&L(c.link)===n)return c;if(U(c)){var a=e(c.subLinks,n);if(a)return a}}}catch(i){o.e(i)}finally{o.f()}};function L(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if((e=e.trim()).startsWith("/")&&!e.startsWith("//"))return e.split(/[\?#]/)[0];try{return new URL(e).pathname}catch(t){if(t instanceof TypeError)return""}}function C(){return Object(f.useRouter)().asPath.split(/[\?#]/)[0]}function R(e,t){if(e.link&&L(e.link)===t)return!0;if(U(e)){var n,r=b(e.subLinks);try{for(r.s();!(n=r.n()).done;){if(R(n.value,t))return!0}}catch(o){r.e(o)}finally{r.f()}}return!1}var U=function(e){return"undefined"!==typeof e.subLinks&&e.subLinks.length>0},A=function(e){var t=e.links,n=Object(p.useMemo)((function(){return k(t)}),[t]),r=C(),a=Object(p.useState)(w(n,r)),i=a[0],s=a[1],l=Object(p.useContext)(g),u=Object(p.useState)(l?[]:x(n,null===i||void 0===i?void 0:i.index)),f=u[0],h=u[1];return Object(o.c)(E,{links:n,unfoldedLinks:f,onClick:function(e){return function(){U(e)?f.find((function(t){return t.index===e.index}))?h(f.filter((function(t){return t.index!==e.index}))):h([].concat(Object(c.a)(f),[e])):(null===i||void 0===i?void 0:i.index)!==e.index&&(h(x(n,e.index)),s(e))}}})},E=function(e){var t=e.links,n=e.unfoldedLinks,r=e.onClick;return Object(o.c)(p.default.Fragment,null,t.map((function(e,t){return Object(o.c)(F,{link:e,key:t,unfoldedLinks:n,onClick:r})})))},P={name:"pozfux",styles:"display:flex;align-items:center;margin-left:3px;user-select:none"},S={name:"1udlf1s",styles:"height:4px;width:4px;background-color:#c0c0c0;border-radius:50%;margin-right:16px;display:block;flex-shrink:0"},I={name:"1ad2wme",styles:"padding:7px 3px;display:block;user-select:none"},D={name:"1ir8wm6",styles:"padding-left:12px;border-left:1px solid #ccc;margin:3px 0 3px 5px"},F=function(e){var t,n,c=e.link,a=e.unfoldedLinks,i=e.onClick,s=C(),l=R(c,s),u=a.find((function(e){return c.index===e.index})),f=Object(p.useRef)(null),b=c.link&&c.link.length>0?d.a:"div",v=c.link&&!c.link.includes("/c/docs");return Object(p.useEffect)((function(){if(l&&f.current&&!u&&window.innerWidth>h.b){var e=f.current.getBoundingClientRect();if(e.top>window.innerHeight-100||e.bottom<100){var t=document.querySelector(".docs-nav-scroll-container"),n=null===t||void 0===t?void 0:t.getBoundingClientRect();null===t||void 0===t||t.scrollTo({behavior:"smooth",top:(null===t||void 0===t?void 0:t.scrollTop)+e.top-((null===n||void 0===n?void 0:n.top)||0)-200})}}}),[l,u]),Object(o.c)(p.default.Fragment,null,Object(o.c)("div",{css:P},U(c)?Object(o.c)("svg",{onClick:i(c),width:"6",height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",css:Object(o.b)({transform:u?"rotate(90deg)":"",marginRight:"14px",flexShrink:0,cursor:"pointer"},"","")},Object(o.c)("path",{d:"M1.4 8.56L4.67 5M1.4 1.23L4.66 4.7",stroke:"#999",strokeLinecap:"square"})):Object(o.c)("div",{css:S}),Object(o.c)(b,Object(r.a)({role:"button",css:I,style:{fontWeight:!l||null!==(t=c.subLinks)&&void 0!==t&&t.length?"normal":"bold",color:u?"black":!l||null!==(n=c.subLinks)&&void 0!==n&&n.length?"#626262":"#1A73E8"},onClick:i(c)},c.link&&{href:c.link},v&&{target:"_blank"}),Object(o.c)("div",{ref:f},c.text))),U(c)&&u&&Object(o.c)("div",{css:D},Object(o.c)(E,{links:c.subLinks,unfoldedLinks:a,onClick:i})))}}}]);

0 comments on commit 839122c

Please sign in to comment.