PageSourceSearch

https://app.cargoos.com.br/_next/static/chunks/1505-cebf5c7be4bca6a6.js?dpl=dpl_EPNmGMxofZqXuYZSw5B6NU9VFuEP

js cargoos.com.br collected 2026-10-09 22:50:17 UTC 9,727 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1505],{81505:(e,t,r)=>{r.d(t,{lV:()=>f,nb:()=>g,Ce:()=>x,Ee:()=>n,Mg:()=>l,Di:()=>O,Tx:()=>R,OZ:()=>A,y7:()=>o,kc:()=>i,mz:()=>Q,FO:()=>L,kY:()=>N,l9:()=>c,vK:()=>P,Ln:()=>s,gs:()=>a,oH:()=>u,PQ:()=>J});let l=e=>e,n=50,o=e=>(e/100).toLocaleString("pt-BR",{style:"currency",currency:"BRL"}),i=e=>(e/100).toLocaleString("pt-BR",{minimumFractionDigits:2,maximumFractionDigits:2}),c=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return"".concat(String(parseFloat(e.toFixed(t))).replace(".",","),"%")},s=(e,t)=>!!e&&e.features.includes(t),a=e=>"credits_exhausted"===e||"trial_tokens_exhausted"===e||"QUOTA_EXCEEDED"===e,u=e=>"collection_cancelled"===e||"collection_not_found"===e||"item_not_found"===e,f={classico:12,premium:17};l(0),l(1250),l(1250),l(2900),l(2900),l(5e3),l(5e3),l(7900),l(0),l(600),l(600),l(2900),l(2900),l(5e3),l(5e3),l(7900),l(7900);let h={freeShippingMin:l(1900),fullCostThreshold:l(7900),fullSuperCapThreshold:l(2900),fullSuperCapRate:.25},d=l(1385);l(1299);let m=l(890),C=l(110),g=300;l(258),l(1185);let p=[1899,4899,7899,9999,11999,14999,19999,1/0],S=[300,500,1e3,1500,2e3,3e3,4e3,5e3,6e3,7e3,8e3,9e3,1e4,11e3,13e3,15e3,17e3,2e4,25e3,3e4,4e4,5e4,6e4,7e4,8e4,9e4,1e5,125e3,15e4,1/0],M=[[565,685,815,1295,1495,1695,1905,2165],[595,695,825,1385,1615,1815,2045,2325],[605,715,845,1445,1685,1905,2135,2445],[615,735,865,1475,1715,1945,2175,2545],[625,745,875,1505,1765,1985,2225,2555],[635,865,915,1645,1915,2165,2435,2705],[645,875,975,1785,2075,2335,2635,2925],[655,885,1025,1975,2285,2605,2925,3245],[665,895,1035,2595,2915,3335,3645,4085],[675,905,1045,2755,3165,3675,4085,4525],[685,925,1055,2945,3435,3925,4415,4935],[695,935,1065,3025,3525,4035,4535,5075],[705,945,1085,3825,4505,5195,5875,6585],[705,965,1105,4165,4855,5545,6235,6935],[715,1005,1145,4255,4975,5685,6385,7095],[725,1025,1165,4555,5295,6055,6815,7565],[735,1045,1185,4895,5655,6405,7135,7935],[745,1065,1205,5515,6435,7355,8275,9195],[765,1105,1225,6455,7575,8545,9625,10685],[775,1125,1245,6645,7605,8625,9715,10785],[785,1145,1265,6835,7965,8975,10005,10795],[795,1165,1285,7095,8185,9285,10345,11165],[805,1185,1305,7555,8725,9905,11025,11905],[815,1205,1325,8095,9375,10595,11805,12745],[825,1225,1345,8465,9795,11075,12335,13315],[835,1245,1365,9405,10835,12295,13695,14785],[845,1265,1385,10745,12485,14045,15645,16885],[855,1285,1405,12015,13895,15695,17485,18885],[865,1285,1425,12745,14705,16655,18555,20035],[875,1285,1445,16705,19335,21845,24345,26285]],b=[1899,2899,4899,7899,9899,19899,1/0],T=[300,500,1e3,2e3,3e3,4e3,5e3,6e3,7e3,8e3,9e3,11e3,13e3,15e3,17e3,2e4,25e3,3e4,4e4,5e4,6e4,7e4,8e4,9e4,1e5,125e3,15e4,1/0],D=[[125,150,200,300,400,600,2095],[125,150,200,300,400,600,2255],[125,150,200,300,400,600,2365],[175,200,250,350,450,650,2465],[200,250,300,400,500,700,2625],[200,250,300,400,500,700,2835],[250,350,400,500,600,750,3075],[250,350,400,500,600,750,3975],[400,500,550,650,700,750,4405],[400,500,550,650,700,750,4805],[500,600,650,700,750,800,4935],[500,600,650,700,750,800,6865],[500,600,650,700,750,800,7025],[500,600,650,700,750,800,7495],[500,600,650,700,750,800,7865],[500,600,650,700,750,800,9115],[500,600,650,700,750,800,10595],[500,600,650,700,750,800,10695],[500,600,650,700,750,800,10705],[500,600,650,700,750,800,11075],[500,600,650,700,750,800,11815],[500,600,650,700,750,800,12655],[500,600,650,700,750,800,13225],[500,600,650,700,750,800,14695],[500,600,650,700,750,800,16795],[500,600,650,700,750,800,18795],[500,600,650,700,750,800,19945],[500,600,650,700,750,800,26195]],F=(e,t)=>{let r=T.findIndex(t=>e<=t),n=b.findIndex(e=>t<=e),o=D[-1===r?D.length-1:r];return l(o[-1===n?o.length-1:n])},_=(e,t,r,l)=>Math.max(e,Math.round(t*r*l/6)),k=(e,t)=>{let r=S.findIndex(t=>e<=t),n=p.findIndex(e=>t<=e),o=M[-1===r?M.length-1:r];return l(o[-1===n?o.length-1:n])},x={pequeno:l(23),medio:l(48),grande:l(161),extragrande:l(345)};l(23),l(48),l(161),l(345);let w=function(e,t,r,n,o,i,c,s,a,u,f){let g=arguments.length>11&&void 0!==arguments[11]&&arguments[11],p=e>=h.fullCostThreshold,S=e>=h.freeShippingMin,M={fullOutsourcedFee:l(0),fullStorageCost:l(0),fullCollectionCost:l(0)};if("standard"===t){let t,r=null!=u?u:a?_(a.weightG,a.heightCm,a.widthCm,a.lengthCm):void 0,n=(t=null!=f&&f>0?f:null!=r?k(r,g&&e<h.fullCostThreshold?l(h.fullCostThreshold):e):d,l(e<h.freeShippingMin?Math.min(t,Math.floor(e/2)):t));return{cost:n,carrierCost:n,reimbursement:l(0),isFree:S||g,...M}}if("flex"===t){let t=r+n+o;if(p)return{cost:l(Math.max(0,t-C)),carrierCost:o,reimbursement:C,isFree:!0,...M};let i=g?l(0):m;return{cost:l(Math.max(0,t+(e<h.freeShippingMin?l(625):e<4900?l(665):l(775))-i)),carrierCost:o,reimbursement:i,isFree:S||g,...M}}let b="full_super"===t,T={fullOutsourcedFee:i,fullStorageCost:c,fullCollectionCost:s},D=null!=u?u:a?_(a.weightG,a.heightCm,a.widthCm,a.lengthCm):void 0,x=b?F:k,w=t=>{if(null!=f&&f>0)return f;var r=null!=D?x(D,t):d;if(b&&e<h.fullSuperCapThreshold){let t=l(Math.floor(e*h.fullSuperCapRate));return l(Math.min(r,t))}return r},O=T.fullOutsourcedFee+T.fullStorageCost+T.fullCollectionCost;if(p){let t=w(e);return{cost:l(O+t),carrierCost:t,reimbursement:l(0),isFree:!0,...T}}if(S){let t=w(b?e:h.fullCostThreshold);return{cost:l(O+t),carrierCost:t,reimbursement:l(0),isFree:!1,...T}}let R=w(e);return{cost:l(O+R),carrierCost:R,reimbursement:l(0),isFree:!1,...T}},O=e=>
1{let{salePrice:t,productCost:r,commissionRate:n,shippingMode:o,taxRate:i,packagingCost:c,outsourcedCost:s,carrierCost:a,fullOutsourcedFee:u,fullStorageCost:f,fullCollectionCost:h,fullDimensions:d,fullWeightG:m,fullFreightOverride:C,fastFreeShipping:g}=e,p=l(Math.round(n/100*t)),S=l(0),M=w(t,o,c,s,a,u,f,h,d,m,C,g),b=l(Math.round(i/100*t)),T="standard"===o?l(p+S+M.cost+b+r+c):l(p+S+M.cost+b+r),D=l(t-T),F=t>0?D/t*100:0,_=(n+i)/100,k=_<1?l(Math.ceil((T-p-b)/(1-_))):l(0);return{salePrice:t,commission:p,commissionRate:n,fixedFee:S,shippingCostToSeller:M.cost,carrierCost:M.carrierCost,sellerShippingCost:s,mlReimbursement:M.reimbursement,freeShipping:M.isFree,packagingCost:c,shippingMode:o,fullOutsourcedFee:M.fullOutsourcedFee,fullStorageCost:M.fullStorageCost,fullCollectionCost:M.fullCollectionCost,taxAmount:b,taxRate:i,productCost:r,totalCosts:T,netProfit:D,profitMargin:F,roi:r>0?D/r*100:0,breakEvenPrice:k,status:D>0?"profit":D<0?"loss":"breakeven"}},R=e=>{let{productCost:t,desiredMargin:r,adType:n,commissionRate:o,shippingMode:i,taxRate:c,packagingCost:s,outsourcedCost:a,carrierCost:u,fullOutsourcedFee:f,fullStorageCost:h,fullCollectionCost:d,fullDimensions:m,fullWeightG:C}=e,g=(o+c)/100;if(g>=1){let e=l(Math.round(2*t)),r=O({salePrice:e,productCost:t,adType:n,commissionRate:o,shippingMode:i,taxRate:c,packagingCost:s,outsourcedCost:a,carrierCost:u,fullOutsourcedFee:f,fullStorageCost:h,fullCollectionCost:d,fullWeightG:C});return{idealPrice:e,breakdown:r}}let p=w(l(3*t),i,s,a,u,f,h,d,m,C),S=l(Math.ceil(("standard"===i?t+p.cost+s:t+p.cost)/(1-g-r/100))),M=O({salePrice:S,productCost:t,adType:n,commissionRate:o,shippingMode:i,taxRate:c,packagingCost:s,outsourcedCost:a,carrierCost:u,fullOutsourcedFee:f,fullStorageCost:h,fullCollectionCost:d,fullDimensions:m,fullWeightG:C});return{idealPrice:S,breakdown:M}},v=new Map;for(let[e,t]of Object.entries({norte:["AC","AM","AP","PA","RO","RR","TO"],nordeste:["AL","BA","CE","MA","PB","PE","PI","RN","SE"],centro_oeste:["DF","GO","MS","MT"],sudeste:["ES","MG","RJ","SP"],sul:["PR","RS","SC"]}))for(let r of t)v.set(r,e);let E=["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],P=e=>e<=120?"day":e<=550?"month":"quarter",A=e=>e<=14?1:e<=30?2:e<=60?4:e<=90?6:e<=120?8:1,N=(e,t)=>{if("month"===t){let[t,r]=e.split("-");return"".concat(E[Number(r)-1],"/").concat(t.slice(2))}if("quarter"===t){let[t,r]=e.split("-Q");return"T".concat(r,"/").concat(t.slice(2))}let[,r,l]=e.slice(0,10).split("-");return"".concat(l,"/").concat(r)},U=e=>e.toISOString().slice(0,10),I=(e,t)=>{let r=(e=>{let[t,r,l]=e.split("-").map(Number);return new Date(Date.UTC(t,r-1,l))})(e);return r.setUTCDate(r.getUTCDate()+t),U(r)},y=e=>{let[t,r,l]=e.split("-");return"".concat(l,"/").concat(r,"/").concat(t)},B=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if("month"===t){let[t,r]=e.split("-").map(Number);return{from:"".concat(t,"-").concat(String(r).padStart(2,"0"),"-01"),to:U(new Date(Date.UTC(t,r,0)))}}if("quarter"===t){let[t,r]=e.split("-Q"),l=Number(t),n=(Number(r)-1)*3;return{from:U(new Date(Date.UTC(l,n,1))),to:U(new Date(Date.UTC(l,n+3,0)))}}let l=e.slice(0,10);return"week"===t?{from:l,to:I(l,6)}:{from:l,to:r>1?I(l,r-1):l}},L=function(e,t,r){let l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if("hour"===t){let t=e.slice(11,13);return"".concat(y(e.slice(0,10)),", ").concat(t,"h a ").concat(t,"h59")}let n=B(e,t,l),o=r&&r.from>n.from?r.from:n.from,i=r&&r.to<n.to?r.to:n.to;return o===i?y(o):"".concat(y(o)," a ").concat(y(i))},q=new Set([11,12,13,14,15,16,17,18,19,21,22,24,27,28,31,32,33,34,35,37,38,41,42,43,44,45,46,47,48,49,51,53,54,55,61,62,63,64,65,66,67,68,69,71,73,74,75,77,79,81,82,83,84,85,86,87,88,89,91,92,93,94,95,96,97,98,99]),G=e=>{let t=e.replace(/\D/g,"");return 13===t.length&&t.startsWith("55")&&(t=t.slice(2)),t},J=e=>{let t=G(e);if(t.length<11)return{ok:!1,reason:"incomplete"};if(t.length>11)return{ok:!1,reason:"too_long"};let r=Number(t.slice(0,2));return q.has(r)?"9"!==t[2]?{ok:!1,reason:"not_mobile"}:{ok:!0,e164:"+55".concat(t),digits:t}:{ok:!1,reason:"invalid_ddd"}},Q=e=>{let t=G(e).slice(0,11);return 0===t.length?"":t.length<=2?"(".concat(t):t.length<=7?"(".concat(t.slice(0,2),") ").concat(t.slice(2)):"(".concat(t.slice(0,2),") ").concat(t.slice(2,7),"-").concat(t.slice(7))}}}]);

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.