PageSourceSearch

https://optipacker.com/_next/static/chunks/1751-9835510997235779.js?dpl=dpl_6ZjpxRgCQLn5VnnLGJtW5NS1Fjf5

js optipacker.com collected 2026-10-10 02:42:56 UTC 25,571 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ccf224cd-b37d-462f-bff9-557851e74ffe",e._sentryDebugIdIdentifier="sentry-dbid-ccf224cd-b37d-462f-bff9-557851e74ffe")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[397,1751],{2236:(e,t,a)=>{a.d(t,{Ld:()=>u,P6:()=>r,VK:()=>s,VV:()=>n,Yf:()=>m,gp:()=>i,pz:()=>l,rb:()=>o});var r=function(e){return e.MM="mm",e.CM="cm",e.M="m",e.KM="km",e.IN="in",e.FT="ft",e}({});function l(e){return Object.values(r).includes(e)}Object.freeze(Object.values(r));var n=function(e){return e.G="g",e.KG="kg",e.LB="lb",e.OZ="oz",e}({});Object.freeze(Object.values(n));var o=function(e){return e.CM3="cm3",e.MM3="mm3",e.M3="m3",e.L="l",e.ML="ml",e.IN3="in3",e.FT3="ft3",e}({}),i=function(e){return e.USD="usd",e.EUR="eur",e.GBP="gbp",e.CAD="cad",e.JPY="jpy",e.AUD="aud",e.CHF="chf",e.CZK="czk",e}({});let s=Object.freeze(Object.values(i));function m(e){return"string"==typeof e&&Object.values(i).includes(e)}function u(e){if("string"!=typeof e)return;let t=e.trim().toLowerCase();return m(t)?t:void 0}},3552:(e,t,a)=>{a.d(t,{w:()=>r});var r=function(e){return e.COMPLIANT="compliant",e.WARNING="warning",e.VIOLATION="violation",e}({}),l=function(e){return e.LOW="low",e.MEDIUM="medium",e.HIGH="high",e.CRITICAL="critical",e}(l||{})},9128:(e,t,a)=>{a.d(t,{D2:()=>c,D7:()=>n,Kw:()=>d,Lt:()=>o,Yz:()=>h,lx:()=>i,p0:()=>M,vk:()=>u});var r=a(59233);let l={"l-small":"Small L","l-thin":"Thin L","l-asymmetric":"Asymmetric L","l-half-turns":"Half-turn L","l-clearance":"L with clearance","rectangle-control":"Rectangle control"},n=["#149a96","#e5a34a","#71b6aa","#d5804d","#2a8990","#ddbb77","#9fc4ae","#ba7651"],o="#e0d1b8",i="#eff2ee",s=new Intl.NumberFormat("en",{style:"percent",maximumFractionDigits:1}),m=new Intl.NumberFormat("en",{maximumFractionDigits:2});function u(e){return s.format(e)}function M(e){return"".concat(m.format(e)," ms")}function d(e){var t;return null!=(t=l[e])?t:e}function c(e){return"".concat(e.widthCells*e.cellMm," \xd7 ").concat(e.heightCells*e.cellMm," mm floor \xb7 ").concat(e.thicknessMm," mm parts")}function h(e,t){return t.poses.map(t=>(0,r.fG)(e,t.rotation).map(a=>{let[r,l]=a;return{x:t.xMm/e.cellMm+r,y:t.yMm/e.cellMm+l}}))}},18632:(e,t,a)=>{a.d(t,{U:()=>l,t:()=>n});let r={cellMm:10,thicknessMm:10,gapCells:0,wallCells:0,rotations:[0,90,180,270]},l=[{...r,id:"l-small",shape:["#.","##"],widthCells:6,heightCells:4,requested:8},{...r,id:"l-thin",shape:["#..","#..","###"],widthCells:6,heightCells:5,requested:6},{...r,id:"l-asymmetric",shape:["#...","#...","####"],widthCells:8,heightCells:6,requested:8},{...r,id:"l-half-turns",shape:["#..","#..","###"],widthCells:7,heightCells:5,rotations:[0,180],requested:7},{...r,id:"l-clearance",shape:["#.","##"],widthCells:9,heightCells:8,gapCells:1,wallCells:1,requested:8},{...r,id:"rectangle-control",shape:["##","##"],widthCells:6,heightCells:4,requested:6}],n={beamWidth:8,branchLimit:8}},20848:(e,t,a)=>{a.d(t,{E5:()=>l,PRECISION_CONSTANTS:()=>n,VZ:()=>i,oc:()=>o});var r=a(2236);let l=Object.freeze({LENGTH:r.P6.MM,WEIGHT:r.VV.G,VOLUME:r.rb.CM3,CURRENCY:r.gp.USD}),n=Object.freeze({LENGTH_DECIMAL_PLACES:2,WEIGHT_DECIMAL_PLACES:1,VOLUME_DECIMAL_PLACES:3,CURRENCY_DECIMAL_PLACES:2,EFFICIENCY_DECIMAL_PLACES:1,COST_RATE_DECIMAL_PLACES:4,ANGLE_DECIMAL_PLACES:1,AREA_DECIMAL_PLACES:2,PERCENTAGE_DECIMAL_PLACES:1,TIME_DECIMAL_PLACES:2,DIMENSION_DECIMAL_PLACES:2,LENGTH_TOLERANCE:.01,WEIGHT_TOLERANCE:.1,VOLUME_TOLERANCE:1,CURRENCY_TOLERANCE:.01,EFFICIENCY_TOLERANCE:.1}),o={LENGTH:{[r.P6.MM]:1,[r.P6.CM]:10,[r.P6.M]:1e3,[r.P6.KM]:1e6,[r.P6.IN]:25.4,[r.P6.FT]:304.8},WEIGHT:{[r.VV.G]:1,[r.VV.KG]:1e3,[r.VV.LB]:453.592,[r.VV.OZ]:28.3495},VOLUME:{[r.rb.CM3]:1,[r.rb.MM3]:.001,[r.rb.M3]:1e6,[r.rb.L]:1e3,[r.rb.ML]:1,[r.rb.IN3]:16.3871,[r.rb.FT3]:28316.8},CURRENCY:{[r.gp.USD]:1,[r.gp.EUR]:1.09,[r.gp.GBP]:1.27,[r.gp.CAD]:.74,[r.gp.JPY]:.007,[r.gp.AUD]:.67,[r.gp.CHF]:1.11,[r.gp.CZK]:.043},DECIMAL_TO_PERCENTAGE:100},i={LENGTH:{MIN:.1,MAX:2e10},WEIGHT:{MIN:.01,MAX:1e7},VOLUME:{MIN:.001,MAX:1e9},CURRENCY:{MIN:.01,MAX:1e6},EFFICIENCY:{MIN:.1,MAX:.95,AVERAGE_PACKING_EFFICIENCY:.65,VOID_PENALTY_FACTOR:.5,MEMORY_PER_PART:100,BASE_MEMORY_USAGE:1e4,STANDARD_PRECISION:.01,HIGH_PRECISION:.001,MAXIMUM_PRECISION:1e-4,EU_VOID_SPACE_LIMIT:.4,VOLUME_RATIO_FACTOR:.9,MAX_VARIETY_FACTOR:1.5,VARIETY_MULTIPLIER:.1,MAX_SIZE_VARIATION_FACTOR:1.4,SIZE_VARIATION_MULTIPLIER:.1,MAX_CONFIDENCE:.95,BASE_CONFIDENCE_FACTOR:.7,SPREAD_CONFIDENCE_FACTOR:.3,ROTATION_RATE:.15,LAYER_EFFICIENCY_FACTOR:.8,GAP_VOLUME_RATIO:.12,ROTATION_THRESHOLD:.7,ROTATION_OPTIMIZATION_RATE:.1,GAP_REDUCTION_RATE:.05,ALGORITHM_SWITCH_THRESHOLD:.75,ALGORITHM_SWITCH_RATE:.15,MATERIAL_VOLUME_LOW:.05,MATERIAL_VOLUME_MEDIUM:.08,MATERIAL_VOLUME_HIGH:.1,GEOMETRIC_EFFICIENCY_LOW:.8,GEOMETRIC_EFFICIENCY_MEDIUM:.85,GEOMETRIC_EFFICIENCY_HIGH:.9,GEOMETRIC_EFFICIENCY_MAX:.95,CACHE_HIT_SMOOTHING:.9,CACHE_MISS_SMOOTHING:.1,SAFETY_MARGIN:.8,WEIGHT_DISTRIBUTION_FACTOR:.85,SHAPE_COMPLEXITY_WEIGHT:.3,ASPECT_RATIO_WEIGHT:.25,STACKING_WEIGHT:.2,ROTATION_WEIGHT:.15,GAP_WEIGHT:.1,COST_PER_GRAM_ESTIMATE:.01,COST_PER_GRAM_PRECISE:.008,OPERATIONAL_EFFICIENCY_FACTOR:.9,OPERATIONAL_EFFICIENCY_PRECISE:.92,POTENTIAL_SAVINGS_RATE:.01,WASTED_SPACE_SAVINGS:.5,WEIGHT_PER_PART_ESTIMATE:100,COMPLEXITY_FACTOR_DIVISOR:1e3,COMPLEXITY_FACTOR_MULTIPLIER:100,DEVICE_FACTOR_MULTIPLIER:100,CACHE_HIT_MULTIPLIER:10,MEMORY_USAGE_MULTIPLIER:1e3,MATERIAL_PROPERTY_MULTIPLIER:100,FALLBACK_COST_RATE:.002,COST_OPTIMIZATION_TARGET:.8,EFFICIENCY_BONUS_THRESHOLD:60,EFFICIENCY_BONUS_MULTIPLIER:.5,MATERIAL_QUALITY_THRESHOLD:70,MATERIAL_QUALITY_MULTIPLIER:.2,OPTIMIZATION_BONUS_MULTIPLIER:.1,ALGORITHM_COST_WEIGHT_MATERIAL:.3,CONTAINER_COST_RATIO:.4,ALGORITHM_COST_WEIGHT_CONTAINER:.5,OPERATIONAL_COST_RATIO:.3,ALGORITHM_COST_WEIGHT_OPERATIONAL:1.5,WEEKS_PER_MONTH:4.33}}},26355:(e,t,a)=>{a.d(t,{x:()=>o});var r=a(95155),l=a(12115),n=a(9128);function o(e){let{fixture:t,result:a}=e,o=(0,l.useMemo)(()=>(0,n.Yz)(t,a),[t,a]);return(0,r.jsxs)("svg",{viewBox:"0 0 ".concat(t.widthCells," ").concat(t.heightCells),role:"img","aria-label":"".concat(a.packed," packed parts, top view"),children:[(0,r.jsx)("rect",{width:t.widthCells,height:t.heightCells,fill:n.Lt}),o.map((e,t)=>(0,r.jsx)("g",{fill:n.D7[t%n.D7.length],children:e.map(e=>(0,r.jsx)("rect",{x:e.x,y:e.y,width:"1",height:"1",stroke:n.lx,strokeWidth:"0.025"},"".concat(e.x,",").concat(e.y)))},t))]})}},32418:(e,t,a)=>{a.d(t,{_:()=>r});function r(e,t){if(!Number.isFinite(e))throw Error("Invalid measurement value: ".concat(e,". Value must be finite."));return{value:e,unit:t}}},35530:(e,t,a)=>{a.d(t,{bn:()=>r});
1function r(e){return Object.entries(e).forEach(e=>{let[t,a]=e;if(!Number.isFinite(a.value)||a.value<=0)throw Error("Invalid ".concat(t," dimension: ").concat(a.value,". Dimensions must be positive finite numbers."))}),{length:e.length,width:e.width,height:e.height}}},39366:(e,t,a)=>{function r(e,t,a,r){let l=Math.floor(r.sideWallClearance);return{availableLength:Math.max(0,e-2*l),availableWidth:Math.max(0,t-2*l),availableHeight:Math.max(0,a-Math.floor(r.bottomClearance)-l)}}function l(e,t,a,r,l,n,o){let i=null!=n?n:l,s=null!=o?o:l;return{partsAlongX:Math.max(0,Math.floor((e.availableLength+l)/(t+l))),partsAlongY:Math.max(0,Math.floor((e.availableWidth+s)/(a+s))),partsAlongZ:Math.max(0,Math.floor((e.availableHeight+i)/(r+i)))}}function n(e,t,a,r,n,o,i,s){let m=null!=s?s:n;if("adaptive"===o){let l=null!=i?i:n;return{partsAlongX:Math.max(0,Math.floor((e.availableLength+n)/(t+n))),partsAlongY:Math.max(0,Math.floor((e.availableWidth+m)/(a+m))),partsAlongZ:Math.max(0,Math.floor((e.availableHeight+l)/(r+l)))}}return l(e,t,a,r,n,i,m)}function o(e,t,a,r,l,n,o,i,s,m,u){let M=t>1?Math.max(0,(e.availableLength-t*l)/(t-1)):0,d=a>1?Math.max(0,(e.availableWidth-a*n)/(a-1)):0,c=r>1?Math.max(0,(e.availableHeight-r*o)/(r-1)):0,h="strict"===s;return{x:h?t>1?Math.max(0,i):0:M,y:h?a>1?Math.max(0,null!=u?u:i):0:d,z:h?r>1?Math.max(0,null!=m?m:i):0:c}}a.r(t),a.d(t,{calculateEffectiveContainerSpace:()=>r,computeAdaptiveGaps:()=>o,computeGridFitCounts:()=>l,computeOptimizedGridFitCounts:()=>n})},42040:(e,t,a)=>{a.d(t,{Ld:()=>r.Ld,P6:()=>r.P6,Qn:()=>i.Qn,VK:()=>r.VK,VV:()=>r.VV,XZ:()=>o.XZ,Yf:()=>r.Yf,_9:()=>l._,bO:()=>i.bO,bn:()=>n.bn,gp:()=>r.gp,rb:()=>r.rb,vQ:()=>o.vQ,wH:()=>s.w,xe:()=>o.xe});var r=a(2236),l=a(32418),n=a(35530),o=a(86368);a(20848);var i=a(92844),s=a(3552)},59233:(e,t,a)=>{a.d(t,{Ae:()=>d,F2:()=>p,Mx:()=>u,Uq:()=>m,Yw:()=>s,fG:()=>o,pq:()=>M,sv:()=>h,t1:()=>c});var r=a(39366),l=a(66444);function n(e){var t,a,r;if([e.widthCells,e.heightCells,e.cellMm,e.thicknessMm,e.requested].some(e=>!Number.isSafeInteger(e)||e<=0)||[e.gapCells,e.wallCells].some(e=>!Number.isSafeInteger(e)||e<0))throw new l.yI("NestingFixture dimensions must be positive integers; clearances must be nonnegative integers");if(e.widthCells>20||e.heightCells>20||e.requested>100||e.shape.length>20||e.shape.some(e=>e.length>20)||e.gapCells>Math.max(e.widthCells,e.heightCells)||!Number.isSafeInteger(e.cellMm*Math.max(e.widthCells,e.heightCells,e.shape.length,null!=(r=null==(t=e.shape[0])?void 0:t.length)?r:0)))throw new l.yI("NestingFixture exceeds the bounded experiment size");let n=null==(a=e.shape[0])?void 0:a.length;if(!n||!e.shape.some(e=>e.includes("#"))||e.shape.some(e=>e.length!==n||/[^#.]/.test(e)))throw new l.yI("Shape must be a rectangular nonempty occupancy matrix");if(!e.rotations.length||e.rotations.length>4||new Set(e.rotations).size!==e.rotations.length||e.rotations.some(e=>![0,90,180,270].includes(e)))throw new l.yI("One to four unique permitted quarter-turn rotations are required");if(2*e.wallCells>=Math.min(e.widthCells,e.heightCells))throw new l.yI("Wall clearance leaves no usable space")}function o(e,t){if(![0,90,180,270].includes(t))throw new l.yI("Invalid quarter-turn rotation");let a=e.shape.flatMap((e,t)=>[...e].flatMap((e,a)=>"#"===e?[[a,t]]:[]));for(let e=0;e<t/90;e+=1)a=a.map(e=>{let[t,a]=e;return[-a,t]});let r=Math.min(...a.map(e=>{let[t]=e;return t})),n=Math.min(...a.map(e=>{let[,t]=e;return t}));return a.map(e=>{let[t,a]=e;return[t-r,a-n]})}function i(e,t,a,r){let l=t.map(t=>{let[r,l]=t;return(l+a[1])*e.widthCells+r+a[0]}),n=new Set;for(let[r,l]of t)for(let t=-e.gapCells;t<=e.gapCells;t+=1)for(let o=-e.gapCells;o<=e.gapCells;o+=1){let i=a[0]+r+o,s=a[1]+l+t;i>=0&&s>=0&&i<e.widthCells&&s<e.heightCells&&n.add(s*e.widthCells+i)}return{xCell:a[0],yCell:a[1],rotation:r,cells:l,blockedCells:[...n]}}function s(e){n(e);let t=[],a=new Set;for(let r of e.rotations){let l=o(e,r),n=Math.max(...l.map(e=>{let[t]=e;return t}))+1,s=Math.max(...l.map(e=>{let[,t]=e;return t}))+1;for(let o=e.wallCells;o<=e.heightCells-s-e.wallCells;o+=1)for(let s=e.wallCells;s<=e.widthCells-n-e.wallCells;s+=1){let n=i(e,l,[s,o],r),m=[...n.cells].sort((e,t)=>
1e-t).join(",");a.has(m)||(a.add(m),t.push(n))}}return t}function m(e,t){let a=new Set(e.occupied);return t.filter(e=>e.blockedCells.every(e=>!a.has(e)))}function u(e,t){return{poses:[...e.poses,t],occupied:[...e.occupied,...t.cells].sort((e,t)=>e-t)}}function M(e,t,a){let r=m(t,a),l=new Set(r.flatMap(e=>[...e.cells])),n=new Set(t.occupied),o=0,i=0;for(let t=e.wallCells;t<e.heightCells-e.wallCells;t+=1)for(let a=e.wallCells;a<e.widthCells-e.wallCells;a+=1){let r=t*e.widthCells+a;n.has(r)||l.has(r)||(o+=1),n.has(r)&&(a+1<e.widthCells&&n.has(r+1)&&(i+=1),t+1<e.heightCells&&n.has(r+e.widthCells)&&(i+=1))}let s=t.occupied.map(t=>t%e.widthCells),u=t.occupied.map(t=>Math.floor(t/e.widthCells)),M=(Math.max(...s)-Math.min(...s)+1)*(Math.max(...u)-Math.min(...u)+1)*e.cellMm**2;return{id:t.occupied.join("_"),layout:t,unfillableCells:o,remainingLegalPlacements:r.length,envelopeAreaMm2:M,contactEdges:i}}function d(e,t){return e.unfillableCells-t.unfillableCells||e.envelopeAreaMm2-t.envelopeAreaMm2||t.contactEdges-e.contactEdges||t.remainingLegalPlacements-e.remainingLegalPlacements||e.id.localeCompare(t.id)}function c(e){n(e);let t={poses:[],occupied:[]};for(let a of e.rotations){let l=o(e,a),n=Math.max(...l.map(e=>{let[t]=e;return t}))+1,s=Math.max(...l.map(e=>{let[,t]=e;return t}))+1,m=(0,r.computeGridFitCounts)({availableLength:(e.widthCells-2*e.wallCells)*e.cellMm,availableWidth:(e.heightCells-2*e.wallCells)*e.cellMm,availableHeight:e.thicknessMm},n*e.cellMm,s*e.cellMm,e.thicknessMm,e.gapCells*e.cellMm,0,e.gapCells*e.cellMm),M={poses:[],occupied:[]};for(let t=0;t<m.partsAlongY;t+=1)for(let r=0;r<m.partsAlongX&&M.poses.length<e.requested;r+=1)M=u(M,i(e,l,[e.wallCells+r*(n+e.gapCells),e.wallCells+t*(s+e.gapCells)],a));M.poses.length>t.poses.length&&(t=M)}return t}function h(e){return Math.min(e.requested,Math.floor((e.widthCells-2*e.wallCells)*(e.heightCells-2*e.wallCells)/o(e,0).length))}function p(e,t){if(n(e),t.poses.length>h(e))return["Requested quantity or area bound exceeded"];if(t.poses.some(t=>!e.rotations.includes(t.rotation)))return["Forbidden rotation"];if(t.poses.some(e=>!Number.isSafeInteger(e.xCell)||!Number.isSafeInteger(e.yCell)))return["Off-lattice pose"];let a=[],r=[],l=e.cellMm;t.poses.length>e.requested&&a.push("Requested quantity exceeded"),t.poses.forEach((t,n)=>{for(let[i,s]of(e.rotations.includes(t.rotation)||a.push("Forbidden rotation"),Number.isSafeInteger(t.xCell)&&Number.isSafeInteger(t.yCell)||a.push("Off-lattice pose"),o(e,t.rotation))){let o=(t.xCell+i)*l,m=(t.yCell+s)*l,u=e.wallCells*l;(o<u||m<u||o+l>e.widthCells*l-u||m+l>e.heightCells*l-u)&&a.push("Wall or container boundary violation"),r.push({x:o,y:m,part:n})}});for(let t=0;t<r.length;
1t+=1)for(let n=t+1;n<r.length;n+=1){let o=r[t],i=r[n];if(!o||!i||o.part===i.part)continue;let s=Math.max(o.x-i.x-l,i.x-o.x-l),m=Math.max(o.y-i.y-l,i.y-o.y-l);(s<0&&m<0||Math.max(s,m)<e.gapCells*l)&&a.push("Part collision or square-buffer clearance violation")}return[...new Set(a)]}},66444:(e,t,a)=>{a.d(t,{Jk:()=>m,UJ:()=>u,h:()=>l,lR:()=>s,mU:()=>n,m_:()=>i,xe:()=>r.xe,yI:()=>o});var r=a(86368),l=function(e){return e.VALIDATION="validation",e.CALCULATION="calculation",e.CONVERSION="conversion",e.DOMAIN="domain",e.SYSTEM="system",e.INTEGRATION="integration",e.AUTH="auth",e.NOT_FOUND="not_found",e}({});class n extends Error{constructor(e){var t,a,l,n;super(e.message),this.category=e.category,this.severity=null!=(t=e.severity)?t:r.xe.ERROR,this.code=e.code,this.technicalMessage=null!=(a=e.technicalMessage)?a:e.message,this.context=null!=(l=e.context)?l:{},this.suggestions=null!=(n=e.suggestions)?n:[],this.name=new.target.name}}class o extends n{constructor(e,t,a){var l,n;let o="string"==typeof e,i=o?e:e.message,s=o?t:e.field,m=o?a:e.value,u=o?r.xe.ERROR:e.severity;super({message:i,category:"validation",severity:u,context:{...o?{}:null!=(l=e.context)?l:{},field:s,value:m},suggestions:o?[]:null!=(n=e.suggestions)?n:[]}),this.field=s,this.value=m}}class i extends n{constructor(e){var t;super({message:"".concat(e.resourceType," not found: ").concat(e.resourceId),category:"not_found",severity:r.xe.ERROR,context:{...null!=(t=e.context)?t:{},resourceType:e.resourceType,resourceId:e.resourceId}}),this.resourceType=e.resourceType,this.resourceId=e.resourceId}}class s extends n{constructor(e){var t;super({message:e.message,category:"auth",severity:r.xe.ERROR,context:null!=(t=e.context)?t:{}})}}class m extends n{constructor(e){var t,a,l;super({message:e.message,category:"domain",severity:null!=(t=e.severity)?t:r.xe.ERROR,code:e.code,technicalMessage:e.technicalMessage,context:null!=(a=e.context)?a:{},suggestions:null!=(l=e.suggestions)?l:[]})}}class u extends n{constructor(e){var t,a,l;super({message:e.message,category:"calculation",severity:null!=(t=e.severity)?t:r.xe.ERROR,context:null!=(a=e.context)?a:{},suggestions:null!=(l=e.suggestions)?l:[]})}}},83011:(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return l}});let r=a(12115);function l(e,t){let a=(0,r.useRef)(null),l=(0,r.useRef)(null);return(0,r.useCallback)(r=>{if(null===r){let e=a.current;e&&(a.current=null,e());let t=l.current;t&&(l.current=null,t())}else e&&(a.current=n(e,r)),t&&(l.current=n(t,r))},[e,t])}function n(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let a=e(t);return"function"==typeof a?a:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},86368:(e,t,a)=>{a.d(t,{XZ:()=>n,vQ:()=>o,xe:()=>r});var r=function(e){return e.INFO="info",e.WARNING="warning",e.ERROR="error",e.CRITICAL="critical",e}({});let l={info:1,warning:2,error:3,critical:4};function n(e){if(!e.code||"string"!=typeof e.code)throw Error("ValidationIssue code is required and must be a string");if(!e.message||"string"!=typeof e.message)throw Error("ValidationIssue message is required and must be a string");if(!Object.values(r).includes(e.severity))throw Error("Invalid ValidationSeverity: ".concat(e.severity));if(!e.category||"string"!=typeof e.category)throw Error("ValidationIssue category is required and must be a string");if(!e.field||"string"!=typeof e.field)throw Error("ValidationIssue field is required and must be a string");return{...e,detectedAt:new Date().toISOString()}}function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=Date.now(),r={info:e.filter(e=>"info"===e.severity),warnings:e.filter(e=>"warning"===e.severity),errors:e.filter(e=>"error"===e.severity),critical:e.filter(e=>"critical"===e.severity)},n={info:r.info.length,warning:r.warnings.length,error:r.errors.length,critical:r.critical.length},o=e.reduce((e,t)=>
1l[t.severity]>l[e]?t.severity:e,"info"),i=new Set(e.map(e=>e.code)).size,s=new Set(e.map(e=>e.field)).size;return{isValid:0===r.errors.length&&0===r.critical.length,hasWarnings:r.warnings.length>0,hasInfo:r.info.length>0,issues:e,issuesBySeverity:r,summary:{totalIssues:e.length,severityCount:n,maxSeverity:o,uniqueErrorCodes:i,affectedFields:s},metadata:{validatedAt:new Date().toISOString(),validationDuration:Date.now()-a,...t}}}},92844:(e,t,a)=>{a.d(t,{D9:()=>o,Qn:()=>n,bO:()=>l,oG:()=>s,vv:()=>i});var r=a(2236);let l={[r.gp.EUR]:{label:"Euro",symbol:"€",code:"EUR"},[r.gp.USD]:{label:"US Dollar",symbol:"$",code:"USD"},[r.gp.GBP]:{label:"British Pound",symbol:"\xa3",code:"GBP"},[r.gp.CAD]:{label:"Canadian Dollar",symbol:"C$",code:"CAD"},[r.gp.JPY]:{label:"Japanese Yen",symbol:"\xa5",code:"JPY"},[r.gp.AUD]:{label:"Australian Dollar",symbol:"A$",code:"AUD"},[r.gp.CHF]:{label:"Swiss Franc",symbol:"CHF",code:"CHF"},[r.gp.CZK]:{label:"Czech Koruna",symbol:"Kč",code:"CZK"}};function n(e){var t,a;return null!=(a=null==(t=l[e])?void 0:t.symbol)?a:"$"}function o(e){var t,a;return null!=(a=null==(t=l[e])?void 0:t.code)?a:e.toUpperCase()}function i(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{decimals:r=2,locale:l="en-US"}=a,o=n(t),i=e.toLocaleString(l,{minimumFractionDigits:r,maximumFractionDigits:r});return"".concat(o).concat(i)}function s(e){var t;return null!=(t=l[e])?t:{symbol:"$",label:"Unknown",code:e.toUpperCase()}}},98621:(e,t,a)=>{a.d(t,{q:()=>r});let r=[{fixtureId:"l-small",grid:{fixtureId:"l-small",method:"grid",repeat:0,packed:6,areaUpperBound:8,utilization:.75,runtimeMs:.25960000000000605,expandedLayouts:0,valid:!0,poses:[{xMm:0,yMm:0,rotation:0},{xMm:20,yMm:0,rotation:0},{xMm:40,yMm:0,rotation:0},{xMm:0,yMm:20,rotation:0},{xMm:20,yMm:20,rotation:0},{xMm:40,yMm:20,rotation:0}]},geometry:{fixtureId:"l-small",method:"geometry",repeat:1,packed:8,areaUpperBound:8,utilization:1,runtimeMs:9.388599999999997,expandedLayouts:1191,valid:!0,poses:[{xMm:40,yMm:0,rotation:180},{xMm:30,yMm:0,rotation:0},{xMm:10,yMm:0,rotation:180},{xMm:40,yMm:20,rotation:180},{xMm:30,yMm:20,rotation:0},{xMm:10,yMm:20,rotation:180},{xMm:0,yMm:20,rotation:0},{xMm:0,yMm:0,rotation:0}]},jev:{fixtureId:"l-small",method:"jev",repeat:1,packed:8,areaUpperBound:8,utilization:1,runtimeMs:2441.7699000000002,expandedLayouts:696,valid:!0,poses:[{xMm:0,yMm:20,rotation:0},{xMm:0,yMm:0,rotation:90},{xMm:10,yMm:10,rotation:0},{xMm:20,yMm:20,rotation:270},{xMm:20,yMm:0,rotation:90},{xMm:30,yMm:10,rotation:180},{xMm:40,yMm:20,rotation:270},{xMm:40,yMm:0,rotation:180}]},jevMeanRuntimeMs:2375.4809,jevPackedTrials:[8,8,8]},{fixtureId:"l-thin",grid:{fixtureId:"l-thin",method:"grid",repeat:0,packed:2,areaUpperBound:6,utilization:.3333333333333333,runtimeMs:.12450000000001182,expandedLayouts:0,valid:!0,poses:[{xMm:0,yMm:0,rotation:0},{xMm:30,yMm:0,rotation:0}]},geometry:{fixtureId:"l-thin",method:"geometry",repeat:1,packed:5,areaUpperBound:6,utilization:.8333333333333334,runtimeMs:2.5490000000000066,expandedLayouts:398,valid:!0,poses:[{xMm:30,yMm:0,rotation:180},{xMm:0,yMm:0,rotation:90},{xMm:0,yMm:20,rotation:270},{xMm:10,yMm:10,rotation:90},{xMm:30,yMm:20,rotation:0}]},jev:{fixtureId:"l-thin",method:"jev",repeat:1,packed:5,areaUpperBound:6,utilization:.8333333333333334,runtimeMs:1132.9766,expandedLayouts:267,valid:!0,poses:[{xMm:0,yMm:0,rotation:90},{xMm:10,yMm:10,rotation:90},{xMm:30,yMm:0,rotation:180},{xMm:0,yMm:20,rotation:270},{xMm:30,yMm:20,rotation:0}]},jevMeanRuntimeMs:1165.4285666666667,jevPackedTrials:[5,5,5]},{fixtureId:"l-asymmetric",grid:{fixtureId:"l-asymmetric",method:"grid",repeat:0,packed:4,areaUpperBound:8,utilization:.5,runtimeMs:.07780000000002474,expandedLayouts:0,valid:!0,poses:[{xMm:0,yMm:0,rotation:0},{xMm:40,yMm:0,rotation:0},{xMm:0,yMm:30,rotation:0},{xMm:40,yMm:30,rotation:0}]},geometry:{fixtureId:"l-asymmetric",method:"geometry",repeat:1,packed:7,areaUpperBound:8,utilization:.875,runtimeMs:11.729499999999973,expandedLayouts:975,valid:!0,poses:[{xMm:10,yMm:30,rotation:0},{xMm:0,yMm:20,rotation:90},{xMm:50,yMm:20,rotation:270},{xMm:50,yMm:0,rotation:90},{xMm:0,yMm:0,rotation:180},{xMm:20,yMm:0,rotation:270},{xMm:40,yMm:10,rotation:270}]},jev:{fixtureId:"l-asymmetric",method:"jev",repeat:1,packed:7,areaUpperBound:8,utilization:.875,runtimeMs:1766.2028000000005,expandedLayouts:593,valid:!0,poses:[{xMm:50,yMm:20,rotation:270},{xMm:10,yMm:30,rotation:0},{xMm:0,yMm:20,rotation:90},{xMm:50,yMm:0,rotation:90},{xMm:40,yMm:10,rotation:270},{xMm:20,yMm:0,rotation:270},{xMm:0,yMm:0,rotation:180}]},jevMeanRuntimeMs:1850.859266666667,jevPackedTrials:[7,7,7]},{fixtureId:"l-half-turns",grid:{fixtureId:"l-half-turns",method:"grid",repeat:0,packed:2,areaUpperBound:7,utilization:.2857142857142857,runtimeMs:.03649999999998954,expandedLayouts:0,valid:!0,poses:[{xMm:0,yMm:0,rotation:0},{xMm:30,yMm:0,rotation:0}]},geometry:{fixtureId:"l-half-turns",method:"geometry",repeat:1,packed:6,areaUpperBound:7,utilization:.8571428571428571,runtimeMs:2.3781999999999925,expandedLayouts:360,valid:!0,poses:[{xMm:0,yMm:0,rotation:180},{xMm:40,yMm:0,rotation:180},{xMm:30,yMm:10,rotation:180},{xMm:0,yMm:20,rotation:0},{xMm:40,yMm:20,rotation:0},{xMm:10,yMm:10,rotation:0}]},jev:{fixtureId:"l-half-turns",method:"jev",repeat:1,packed:6,areaUpperBound:7,utilization:.8571428571428571,runtimeMs:1740.3251,expandedLayouts:222,valid:!0,poses:[{xMm:40,yMm:20,rotation:0},{xMm:0,yMm:20,rotation:0},{xMm:40,yMm:0,rotation:180},{xMm:10,yMm:10,rotation:0},{xMm:0,yMm:0,rotation:180},{xMm:30,yMm:10,rotation:180}]},jevMeanRuntimeMs:1534.9675666666674,jevPackedTrials:[6,6,6]},{fixtureId:"l-clearance",grid:{fixtureId:"l-clearance",method:"grid",repeat:0,packed:4,areaUpperBound:8,utilization:.16666666666666666,runtimeMs:.05259999999998399,expandedLayouts:0,valid:!0,poses:[{xMm:10,yMm:10,rotation:0},{xMm:40,yMm:10,rotation:0},{xMm:10,yMm:40,rotation:0},{xMm:40,yMm:40,rotation:0}]},geometry:{fixtureId:"l-clearance",method:"geometry",repeat:1,packed:6,areaUpperBound:8,utilization:.25,runtimeMs:26.112300000000005,expandedLayouts:1760,valid:!0,poses:[{xMm:60,yMm:50,rotation:270},{xMm:10,yMm:10,rotation:90},{xMm:10,yMm:40,rotation:90},{xMm:30,yMm:50,rotation:270},{xMm:40,yMm:10,rotation:90},{xMm:60,yMm:20,rotation:270}]},jev:{fixtureId:"l-clearance",method:"jev",repeat:1,packed:6,areaUpperBound:8,utilization:.25,runtimeMs:1607.5512999999992,expandedLayouts:959,valid:!0,poses:[{xMm:10,yMm:10,rotation:0},{xMm:40,yMm:10,rotation:90},{xMm:60,yMm:20,rotation:270},{xMm:10,yMm:40,rotation:90},{xMm:30,yMm:50,rotation:270},{xMm:60,yMm:50,rotation:90}]},jevMeanRuntimeMs:1582.0584666666666,jevPackedTrials:[6,6,6]},{fixtureId:"rectangle-control",grid:{fixtureId:"rectangle-control",method:"grid",repeat:0,packed:6,areaUpperBound:6,utilization:1,runtimeMs:.0741999999999905,expandedLayouts:0,valid:!0,poses:[{xMm:0,yMm:0,rotation:0},{xMm:20,yMm:0,rotation:0},{xMm:40,yMm:0,rotation:0},{xMm:0,yMm:20,rotation:0},{xMm:20,yMm:20,rotation:0},{xMm:40,yMm:20,rotation:0}]},geometry:{fixtureId:"rectangle-control",method:"geometry",repeat:1,packed:6,areaUpperBound:6,utilization:1,runtimeMs:1.0488000000000284,expandedLayouts:220,valid:!0,poses:[{xMm:20,yMm:20,rotation:0},{xMm:40,yMm:20,rotation:0},{xMm:40,yMm:0,rotation:0},{xMm:0,yMm:20,rotation:0},{xMm:0,yMm:0,rotation:0},{xMm:20,yMm:0,rotation:0}]},jev:{fixtureId:"rectangle-control",method:"jev",repeat:1,packed:6,areaUpperBound:6,utilization:1,runtimeMs:1490.1891000000014,expandedLayouts:118,valid:!0,poses:[{xMm:20,yMm:0,rotation:0},{xMm:0,yMm:0,rotation:0},{xMm:40,yMm:0,rotation:0},{xMm:0,yMm:20,rotation:0},{xMm:40,yMm:20,rotation:0},{xMm:20,yMm:20,rotation:0}]},jevMeanRuntimeMs:1415.6604666666674,jevPackedTrials:[6,6,6]}]}}]);

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.