PageSourceSearch

https://www.obahortifruti.com.br/_next/static/chunks/7458.9a56f1b663679a30.js

js obahortifruti.com.br collected 2026-10-01 15:14:28 UTC 14,808 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7458],{30261:e=>{e.exports={section:"section_section__jnQ3q"}},77458:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>eg,getLandingPageBySlug:()=>eh});var r,i,o,l,a,s,c,u,p,d,f,v=n(89731),y=n(75458),g=n(21413),h=n(76611),O=n(87877),m=n(34941),b=n(52969),P=n(5651),w=n(43361),j=n(93339),I=n(7183),A=n(67222),E=n(99200),C=n(66394),S=n(34535),T=n(99143),x=n.n(T);class D extends Error{constructor(e){super("Missing content on the ".concat(T.contentSource.type," for content type ").concat(e.contentType,". Add content before proceeding. Context: ").concat(JSON.stringify(e,null,2)))}}var N=n(57437),L=n(39795),k=n(53417),_=n(91843),B=n(82266),F=n(63587),M=n.n(F);class $ extends Error{constructor(e){super("Multiple content defined on the ".concat(T.contentSource.type," for content type ").concat(e.contentType,". Remove duplicated content before proceeding. Context: ").concat(JSON.stringify(e,null,2)))}}var W=n(65727),J=n(51322),q=new W.A({workspace:x().api.workspace,tenant:x().api.storeId,builder:null!=(d=null==(f=x().contentSource)?void 0:f.project)?d:"faststore",host:(0,J.yI)(new URL((0,_.VE)()).origin)}),V=(r=(0,v.A)(function*(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:q;if("string"==typeof e.contentType&&("string"==typeof e.releaseId||"string"==typeof e.documentId||"string"==typeof e.versionId))return yield t.getCMSPage(e).then(e=>({data:[e]}));var n=[],r=yield t.getCMSPagesByContentType(e.contentType,{filters:e.filters,page:1,perPage:10});n.push(...r.data);var i=Array.from({length:Math.ceil(r.totalItems/10)-1},(e,t)=>t+2);return r.totalItems>n.length&&(yield Promise.all(i.map(n=>t.getCMSPagesByContentType(e.contentType,{filters:e.filters,page:n,perPage:10})))).forEach(e=>{n.push(...e.data)}),{data:n}}),function(e){return r.apply(this,arguments)}),G=(i=(0,v.A)(function*(e){var t=(yield V(e)).data;if(t.length>1)throw new $(e);return t[0]}),function(e){return i.apply(this,arguments)});function H(e){var t=e.replace(/^\/+|\/+$/g,"");return"/"+(t=t.replace(/\/+/g,"/").replace(/\s+/g,"")).toLowerCase()}function R(e,t,n){return e.find(e=>{if(!(null!=(r=e.settings)&&null!=(r=r.template)&&r.value))return!1;var r,i,o=H(null==(i=e.settings)||null==(i=i.template)?void 0:i.value);return o===t||function(e){var{rewrites:t,templateValue:n,slug:r}=e;if(!t)return!1;return!!(Array.isArray(t)?t:[...(null==t?void 0:t.beforeFiles)||[],...(null==t?void 0:t.afterFiles)||[],...(null==t?void 0:t.fallback)||[]]).find(e=>e.source===n&&e.destination===r)}({rewrites:n,templateValue:o,slug:t})})}function z(e,t,n){for(var r=H(t),i=R(e,r,n);!i&&-1!==r.lastIndexOf("/");)i=R(e,r=r.substring(0,r.lastIndexOf("/")),n);return i||e.find(e=>{var t;return!(null!=(t=e.settings)&&null!=(t=t.template)&&t.value)})||e[0]}function K(e,t){for(var n of function(e){var{itemListElement:t=[]}=e,n=[...t].reverse().map(e=>{var{item:t}=e;return t}),r=n[0],i=(e=>{for(var t=[],n=e,r=n.match(/-\d+\/p$/);r;){var i=n.replace(/-\d+\/p$/,"/p");t.push(i),r=(n=i).match(/-\d+\/p$/)}return t})(r);return[r,...i,...n.slice(1)].filter((e,t,n)=>e&&n.indexOf(e)===t)}({itemListElement:null!=(i=t.breadcrumbList.itemListElement)?i:[]}))for(var r of e)if(null!=(o=r.settings)&&null!=(o=o.template)&&o.value){var i,o;if(function(e){var t=e.trim().replace(/^\/+|\/+$/g,"");return t.startsWith("/")||(t="/"+t),t.endsWith("/p")||(t+="/"),(t=t.replace(/\/+/g,"/").replace(/\s+/g,"")).toLowerCase()}(r.settings.template.value)===n)return r}return e.find(e=>{var t;return!(null!=(t=e.settings)&&null!=(t=t.template)&&t.value)})||e[0]}function Q(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 U(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(n),!0).forEach(function(t){(0,y.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Q(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var X=(o=(0,v.A)(function*(e,t){if(x().cms.data){var n=JSON.parse(x().cms.data).pdp;return yield Y(e,n,U(U({},(null==t?void 0:t.contentType)==="pdp"?t:null),{},{contentType:"pdp"}))}return yield Z(e,U(U({},(null==t?void 0:t.contentType)==="pdp"?t:null),{},{contentType:"pdp"}))}),function(e,t){return o.apply(this,arguments)}
1),Y=(l=(0,v.A)(function*(e,t,n){var r=null!=t?t:[];if(!r[0])throw new D(n);var i=K(r,e);return G({contentType:"pdp",documentId:i.documentId,versionId:i.versionId})}),function(e,t,n){return l.apply(this,arguments)}),Z=(a=(0,v.A)(function*(e,t){var n=(yield V(t)).data;if(!n[0])throw new D(t);return K(n,e)}),function(e,t){return a.apply(this,arguments)});function ee(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 et(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(n),!0).forEach(function(t){(0,y.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ee(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var en=(s=(0,v.A)(function*(e,t,n){if(x().cms.data){var r=JSON.parse(x().cms.data).plp;return yield er("/".concat(e,"/"),r,et(et({},(null==t?void 0:t.contentType)==="plp"?t:null),{},{contentType:"plp"}),n)}return yield ei("/".concat(e,"/"),et(et({},(null==t?void 0:t.contentType)==="plp"?t:null),{},{contentType:"plp"}),n)}),function(e,t,n){return s.apply(this,arguments)}),er=(c=(0,v.A)(function*(e,t,n,r){var i=null!=t?t:[];if(!i[0])throw new D(n);var o=z(i,e,r);return G({contentType:"plp",documentId:o.documentId,versionId:o.versionId})}),function(e,t,n,r){return c.apply(this,arguments)}),ei=(u=(0,v.A)(function*(e,t,n){var r=(yield V(t)).data;if(!r[0])throw new D(t);return z(r,e,n)}),function(e,t,n){return u.apply(this,arguments)}),eo=n(97498),el=["slug","locale"];function ea(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 es(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ea(Object(n),!0).forEach(function(t){(0,y.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ea(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ec=["globalHeaderSections","globalFooterSections"];class eu{constructor(){(0,y.A)(this,"clientCP",new(M())({tenant:x().api.storeId}))}getSingleContent(e){var t=this;return(0,v.A)(function*(){var n=t.createContentOptions(e);return(0,eo.y)()?t.getFromCP(n):G(n.cmsOptions)})()}getMultipleContent(e){var t=this;return(0,v.A)(function*(){var n=t.createContentOptions(e);if((0,eo.y)()){var r=t.convertOptionsToParams(n),i=[],o=0;do{var l,a,s=yield t.clientCP.listEntries(r,l);i.push(...s.entries);var c=null!=(a=s.scroll)?a:void 0;if(c&&c===l)break;l=c}while(l&&++o<25);return o>=25&&console.warn("listEntries pagination hit MAX_PAGES cap",r),t.fillEntriesWithData(i,r,n.isPreview)}return V(n.cmsOptions)})()}getPlpContent(e,t){var n=this;return(0,v.A)(function*(){var r=es(es({},e),{},{contentType:"plp"}),i=n.createContentOptions(r);if((0,eo.y)()){var o=yield n.getSingleContent(r);if(o)return o;var l=(yield n.getMultipleContent(r)).data;if(!(null!=l&&l.length))throw new D(i.cmsOptions);return z(l,i.slug,t)}return en(i.slug,i.cmsOptions,t)})()}getPdpContent(e,t){var n=this;return(0,v.A)(function*(){var r=es(es({},t),{},{contentType:"pdp"}),i=n.createContentOptions(r);if((0,eo.y)()){var o=yield n.getSingleContent(r);if(o)return o;var l=(yield n.getMultipleContent(r)).data;if(!l.length)throw new D(i.cmsOptions);return K(l,e)}return X(e,i.cmsOptions)})()}getFromCP(e){var t=this;return(0,v.A)(function*(){var n,r=t.convertOptionsToParams(e);try{return yield t.getEntry(r,e.isPreview)}catch(e){if(!((n=e)instanceof D||n instanceof Error&&/\b404\b/.test(n.message)))throw e;console.warn("Content not found",e)}})()}fillEntriesWithData(e,t,n){var r=this;return(0,v.A)(function*(){var i;return{data:yield Promise.all(e.map((i=(0,v.A)(function*(e){var i=yield r.getEntryData(es(es({},t),{},{entryId:e.id}),n);return r.mergeEntryWithData(e,i)}),function(e){return i.apply(this,arguments)})))}})()}getEntry(e,t){var n=this;return(0,v.A)(function*(){return e.entryId||e.slug?yield n.getEntryData(e,t):yield n.fetchFirstEntryFromList(e,t)})()}getEntryData(e,t){var n=this;return(0,v.A)(function*(){if(!e.entryId&&!e.slug)throw Error("".concat(t?"Preview":"getEntry"," requires entryId or slug"));return t?e.entryId?n.clientCP.previewEntryById(e):n.clientCP.previewEntryBySlug(e):e.entryId?n.clientCP.getEntry(e):n.clientCP.getEntryBySlug(e)})()}fetchFirstEntryFromList(e,t){var n=this;return(0,v.A)(function*(){var{entries:r}=yield n.clientCP.listEntries(e);if(!r||0===r.length)return ec.includes(e.contentType)||console.warn("No entries found for params",e),{};if(r.length>1)throw new $(e);return n.getEntryData(es(es({},e),{},{entryId:r[0].id}),t)})()}createContentOptions(e){var{contentType:t,previewData:n,slug:r,locale:i}=e,o=null==n?void 0:n.locale,l=void 0!==o&&(void 0===i||i===x().session.locale)?o:i,a=(null==n?void 0:n.contentType)===t,s=(0,eo.$)(n);return es(es(es({cmsOptions:this.buildCmsOptions(e,a,s)},void 0!==l&&{locale:l}),void 0!==r&&{slug:r}),{},{isPreview:a||s})}convertOptionsToParams(e){var t,n,{cmsOptions:r}=e,i={accountName:x().api.storeId,storeId:null!=(t=null==(n=x().contentSource)?void 0:n.project)?t:"faststore",contentType:r.contentType,locale:e.locale,slug:e.slug};if("documentId"in r&&r.documentId&&(i.entryId=r.documentId),"versionId"in r&&r.versionId&&(i.branchId=r.versionId),"releaseId"in r&&r.releaseId&&(i.branchId=r.releaseId),"filters"in r&&r.filters){var o=r.filters["settings.seo.slug"];"string"!=typeof o||i.slug||(i.slug=o.replace(/^\//,""))}return i}buildCmsOptions(e,t,n){var{contentType:r,previewData:i,documentId:o,versionId:l,releaseId:a,filters:s}=e,c=null!=i?i:{},{slug:u,locale:p}=c,d=(0,B.A)(c,el);return es(es(es(es(es(es({contentType:r},t?d:{}),n&&{versionId:null==i?void 0:i.versionId,releaseId:null==i?void 0:i.releaseId}),void 0!==o&&{documentId:o}),void 0!==l&&{versionId:l}),void 0!==a&&{releaseId:a}),s&&{filters:s})}mergeEntryWithData(e,t){var n;return es(es(es({},e),t),{},{id:e.id,name:null!=(n=e.name)?n:""})}}var ep=new eu,ed=n(26514);function ef(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 ev(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?ef(Object(n),!0).forEach(function(t){(0,y.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ef(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ey=ev(ev(ev({},h.A),{},{[(0,L.P)(w.u,"Hero")]:w.u,[(0,L.P)(b.OverriddenDefaultBannerText,"BannerText")]:b.OverriddenDefaultBannerText,[(0,L.P)(m.default,"BannerNewsletter")]:m.default,[(0,L.P)(j.A,"Incentives")]:j.A,[(0,L.P)(P.E,"CrossSellingShelf")]:P.E,[(0,L.P)(I.OverriddenDefaultNewsletter,"Newsletter")]:I.OverriddenDefaultNewsletter,[(0,L.P)(A.OverriddenDefaultProductShelf,"ProductShelf")]:A.OverriddenDefaultProductShelf,[(0,L.P)(E.A,"ProductTiles")]:E.A},S.A),C.A);function eg(e){var t,n,r,i,o,l,a,s,c,u,p,d,f,{page:{sections:v,settings:y},slug:h,serverData:m,globalSections:b,globalSettings:P}=e,w=(0,k.n)(null==y||null==(t=y.seo)?void 0:t.titleTemplate,null!=(n=x().seo.titleTemplate)?n:x().seo.title),j=(0,_.VE)();return(0,ed.jsxs)(ed.Fragment,{children:[(0,ed.jsx)(g.bV,{title:null!=(r=null==y||null==(i=y.seo)?void 0:i.title)?r:x().seo.title,description:null!=(o=null==y||null==(l=y.seo)?void 0:l.description)?o:null==(a=x().seo)?void 0:a.description,titleTemplate:w,canonical:null!=(s=null==y||null==(c=y.seo)?void 0:c.canonical)?s:"".concat(j,"/").concat(h),openGraph:{type:"website",url:j,title:null!=(u=null==y||null==(p=y.seo)?void 0:p.title)?u:x().seo.title,description:null!=(d=null==y||null==(f=y.seo)?void 0:f.description)?d:x().seo.description}}),(0,ed.jsx)(g.Sl,{url:j,potentialActions:[{target:"".concat(j,"/s/?q"),queryInput:"search_term_string"}]}),(0,ed.jsx)(N.Ay,{context:{data:m,globalSettings:P},children:(0,ed.jsx)(O.Ay,{sections:v,globalSections:b,components:ey})})]})}var eh=(p=(0,v.A)(function*(e,t){try{if(x().cms.data){var n,r,i=JSON.parse(x().cms.data).landingPage.find(t=>{var n;return"/".concat(e)===(null==(n=t.settings)||null==(n=n.seo)?void 0:n.slug)});if(i)return yield ep.getSingleContent(ev(ev({contentType:"landingPage"},t),{},{documentId:i.documentId,versionId:i.versionId,releaseId:i.releaseId,slug:null==(r=i.settings)||null==(r=r.seo)?void 0:r.slug}))}return yield ep.getSingleContent(ev(ev({contentType:"landingPage"},t),{},{slug:e,filters:(null==(n=t.previewData)?void 0:n.contentType)==="landingPage"?void 0:{"settings.seo.slug":"/".concat(e)}}))}catch(e){if(e instanceof D)return null;throw e}}),function(e,t){return p.apply(this,arguments)})},86438:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(59749),i=n(21608),o=n(26514);let l=function(e){var{incentives:t,variant:n="horizontal",colored:l=!1,label:a}=e;return(0,o.jsx)("section",{"data-fs-incentives":!0,"data-fs-incentives-colored":l,"data-fs-incentives-variant":n,"aria-label":"Incentives List ".concat(a),children:(0,o.jsx)(r.B8,{"data-fs-content":"incentives",children:t.map((e,t)=>(0,o.jsx)("li",{role:"listitem",children:(0,o.jsxs)(i.Incentive,{tabIndex:0,children:[(0,o.jsx)(r.In,{"data-fs-incentive-icon":!0,"aria-label":e.alt,name:e.icon,width:32,height:32}),(0,o.jsxs)("section",{"data-fs-incentive-content":!0,children:[(0,o.jsx)("p",{"data-fs-incentive-title":!0,children:e.title}),(0,o.jsx)("span",{"data-fs-incentive-description":!0,children:e.firstLineText}),e.secondLineText&&(0,o.jsx)("span",{"data-fs-incentive-description":!0,children:e.secondLineText})]})]})},String(t)))})})}},93339:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(86438),i=n(23729),o=n(30261),l=n.n(o),a=n(26514);function s(e){var{incentives:t,label:n}=e;return(0,a.jsx)(i.A,{className:"".concat(l().section," section-incentives layout__section"),children:(0,a.jsx)(r.A,{incentives:t,colored:!0,label:null!=n?n:""})})}s.$componentKey="Incentives";let c=s}}]);

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.