1"use strict";(globalThis.webpackChunkuseberryresearch=globalThis.webpackChunkuseberryresearch||[]).push([[7642,9852],{7642(e,t,r){r.r(t),r.d(t,{default:()=>l}),r(44967);var n=r(76232),o=r(9852),i=r(6138);let l=(0,n.YB)(function(){return(0,i.Y)("div",{className:"px-20 h-100-p",style:{overflow:"unset"},children:(0,i.Y)(o.default,{})})},["currentBlock","callFunction","currentVersion"])},9852(e,t,r){r.r(t),r.d(t,{default:()=>b});var n=r(44967),o=r(76232),i=r(15351),l=r(77167),u=r(40014),a=r(25553),c=r(6138);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach(function(t){var n,o,i;n=e,o=t,i=r[t],(o=function(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=s(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==s(t)?t:t+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let b=(0,o.YB)(function(e){var t,r=e.currentBlock,n={};return n.data=f({},r.data),n.guid=r.guid,n.blocks=function(e){if(Array.isArray(e))return d(e)}(t=r.groupedItems)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return d(e,void 0);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,void 0):void 0}}(t)||function(){throw TypeError(`Invalid attempt to spread non-iterable instance. 2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),(0,c.Y)(l.GroupPathProvider,{value:{group:n},children:(0,c.Y)(y,{})},r.groupedItems.length)},["currentBlock","callFunction","currentVersion"]);function y(e){var t=n.useRef(null),r=e.studyDispatch,o=(0,l.useGroupPathContext)().state,s=o.groupStructure,d=o.loaded,p=(0,l.useGroupPathContext)().groupPathCallFunction,b=n.useContext(a.A);(0,u.HL)(function(){var e=f({},s),n=Object.fromEntries(e.sectionsMap);e.sectionsMap=n,e.blockPoolSectionMap=Object.fromEntries(e.blockPoolSectionMap);var o={};o.type="CHANGE_BLOCK_DATA",o.item=e,r(o),t.current&&clearTimeout(t.current),t.current=setTimeout(function(){r({type:"SAVE_DATA"})},1e3)},[s]);var y=function(){var e,t,r,n=(null==(e=s.blockPool)||null==(e=e.sections)?void 0:e.length)>1,o=(null==(t=s.stages)||null==(t=t[(null==(r=s.stages)?void 0:r.length)-1])||null==(t=t.sections)?void 0:t.length)>1;return s.stages.length>0?n&&o&&!b.lockedForEdit:n&&!b.lockedForEdit};return(0,c.Y)(c.FK,{children:d?(0,c.FD)("div",{className:"h-100-p",style:{display:"flex"},children:[(0,c.FD)("div",{className:"py-20 pr-20 flex-column gap-20",style:{borderRight:"1px solid #ECECEE",width:400},children:[(0,c.Y)("div",{className:"border radius-5 px-16 py-12 font12 font-weight-5 purple-120-fg purple-20-border",style:{backgroundColor:"#FAFAFF"},children:"Stage 1"}),(0,c.Y)(i.default,{item:s.blockPool,isStageOne:!0})]}),s.stages.map(function(e,t){return(0,c.FD)("div",{className:"p-20 flex-column gap-20",style:{borderRight:"1px solid #ECECEE",width:360},children:[(0,c.FD)("div",{className:"border radius-5 px-16 py-12 font12 font-weight-5 purple-120-fg purple-20-border",style:{backgroundColor:"#FAFAFF"},children:["Stage ",t+2]}),(0,c.Y)(i.default,{item:e,isStageOne:!1})]},e.guid)}),(0,c.FD)("div",{className:"groupConstractionAddStageBtn transition-3 ".concat(y()?null:"disabled"),style:{},onClick:function(){y()&&p({type:"ADD_STAGE"})},children:[(0,c.Y)("span",{className:"icon-Add font15"}),(0,c.Y)("span",{className:"font12 font-weight-5",children:"Add Stage"})]})]}):null})}y=(0,o.YB)(y,[])}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.