PageSourceSearch

https://orderhero.id/_next/static/chunks/6206.0a4d30702c773899.js

js orderhero.id collected 2026-10-01 23:58:39 UTC 5,386 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6206],{6206:(t,e,i)=>{i.r(e),i.d(e,{default:()=>c});var n=i(95155),o=i(12115),l=i(16819),d=i(48329);function r(t){let{src:e,srcset:i,sizes:l,placeholderSrc:d,alt:r,title:a,width:c,height:s,loading:u="lazy",fetchPriority:p="auto",decoding:h="async",style:g={},className:f="",rootMargin:v="200px"}=t,[b,x]=(0,o.useState)(!1),[R,m]=(0,o.useState)("eager"===u),w=(0,o.useRef)(null),y=(0,o.useRef)(null);(0,o.useEffect)(()=>{if("eager"===u)return;let t=y.current;if(!t)return;let e=new IntersectionObserver(t=>{let[i]=t;i.isIntersecting&&(m(!0),e.disconnect())},{rootMargin:v,threshold:.01});return e.observe(t),()=>{e.disconnect()}},[u,v]),(0,o.useEffect)(()=>{if(!R)return;let t=new Image;t.src=e,t.onload=()=>{x(!0)}},[R,e]);let _=g.aspectRatio;return(0,n.jsxs)("div",{ref:y,style:{position:"relative",display:g.display||"inline-block",width:g.width||"100%",maxWidth:g.maxWidth||"100%",overflow:"hidden",borderRadius:g.borderRadius},className:f,children:[R&&(0,n.jsx)("img",{ref:w,src:e,srcSet:i,sizes:l,alt:r,title:a,width:c,height:s,loading:u,fetchPriority:p,decoding:h,style:{display:"block",width:"100%",height:"auto",objectFit:g.objectFit||"contain",..._?{aspectRatio:_}:{}},onLoad:()=>x(!0)}),!b&&(0,n.jsx)("img",{src:d,alt:"","aria-hidden":"true",style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",objectFit:g.objectFit||"contain",..._?{aspectRatio:_}:{},filter:"blur(10px)",transition:"opacity 0.4s ease-out"},decoding:"async"}),!R&&(0,n.jsx)("div",{style:{width:"100%",paddingBottom:c&&s?"".concat(s/c*100,"%"):"56.25%",background:"#f3f4f6",borderRadius:g.borderRadius}})]})}var a=i(51780);function c(t){var e,i,o,c,s,u,p,h,g,f,v,b,x,R,m,w,y,_,A,E,T;let I,{block:S,mode:F,bgStyle:M={},index:L=0}=t,k=S.styles||{},P=null==(e=S.content)?void 0:e.src;if(!P)return null;let j="string"==typeof(null==(i=S.content)?void 0:i.caption)?S.content.caption:void 0,N="string"==typeof(null==(o=S.content)?void 0:o.title)&&S.content.title.trim().length?S.content.title:void 0,B=(null==(c=S.content)?void 0:c.actionType)==="openLink"&&"string"==typeof(null==(s=S.content)?void 0:s.actionUrl)&&""!==S.content.actionUrl.trim(),G=(null==(u=S.content)?void 0:u.actionTarget)==="_blank"?"_blank":void 0,O=(0,d.V0)(L),C=0===L||1===L,H=null!=(g=null==k?void 0:k.widthPercent)?g:100,D=100===H?480:Math.round(480*H/100),W=null==k?void 0:k.aspectRatio;if("string"==typeof W&&W.includes("/")){let[t,e]=W.split("/").map(Number);t&&e&&(I=Math.round(D*e/t))}let Y=(null==(p=S.content)?void 0:p.quality)||(C?"medium":"low"),z=(0,d.Qc)(P,{size:480,quality:Y,format:"webp"}),X=(0,d.Qc)(P,{size:800,quality:Y,format:"webp"}),U=(0,d.Qc)(P,{size:1200,quality:Y,format:"webp"}),Z="".concat(z," 480w, ").concat(X," 800w, ").concat(U," 1200w"),Q=100===H?"(max-width: 600px) 100vw, (max-width: 1000px) 800px, 1200px":"(max-width: 600px) ".concat(H,"vw, (max-width: 1000px) ").concat(Math.round(800*H/100),"px, ").concat(Math.round(1200*H/100),"px"),K=(0,d.j5)(P),q=null!=(f=null==k?void 0:k.borderRadius)?f:8,V=(0,n.jsx)(r,{src:U,srcset:Z,sizes:Q,placeholderSrc:K,alt:(null==(h=S.content)?void 0:h.alt)||"Image",title:N,width:D,height:I||0,loading:O.loading,fetchPriority:O.fetchPriority,decoding:O.decoding,style:{display:"inline-block",width:(null!=(v=null==k?void 0:k.widthPercent)?v:100)+"%",height:"auto",maxWidth:"100%",objectFit:(null==k?void 0:k.objectFit)||"contain",aspectRatio:null==k?void 0:k.aspectRatio,borderRadius:q}});return(0,n.jsxs)("div",{style:{lineHeight:0,textAlign:k.textAlign||"center",paddingTop:null!=(x=null!=(b=null==k?void 0:k.paddingTop)?b:null==k?void 0:k.padding)?x:0,paddingRight:null!=(m=null!=(R=null==k?void 0:k.paddingRight)?R:null==k?void 0:k.padding)?m:0,paddingBottom:null!=(y=null!=(w=null==k?void 0:k.paddingBottom)?w:null==k?void 0:k.padding)?y:0,paddingLeft:null!=(A=null!=(_=null==k?void 0:k.paddingLeft)?_:null==k?void 0:k.padding)?A:0,...M,borderRadius:null!=(E=null==k?void 0:k.borderRadius)?E:8,overflow:(null!=(T=null==k?void 0:k.borderRadius)?T:8)>0?"hidden":void 0},children:[B?(0,n.jsx)("a",{href:S.content.actionUrl,target:G,rel:G?"noopener":void 0,onClick:"builder"===F?void 0:t=>(0,a.B)(t.currentTarget,{trackClick:"public"===F}),style:{display:"inline-block",textDecoration:"none"},children:V}):V,j?(0,n.jsx)("div",{style:{marginTop:6,fontSize:12,lineHeight:"normal",color:l.rP.TEXT_CAPTION},children:j}):null]},"".concat(S.id,"-").concat(L))}},16819:(t,e,i)=>{i.d(e,{WK:()=>o,iz:()=>l,pH:()=>d,rP:()=>n});let n={PRIMARY:"#054A91",PRIMARY_LIGHT:"#3E7CB1",TEXT_PRIMARY:"#054A91",TEXT_BODY:"#333333",TEXT_MUTED:"#6B7280",TEXT_CAPTION:"#9CA3AF",BG_PRIMARY:"#FFFFFF",BG_SECONDARY:"#f0f5f9",SUCCESS:"#054A91",WARNING:"#F17300",DANGER:"#F17300",WHITE:"#ffffff",BLACK:"#000000",GRAY_100:"#e9ecef",GRAY_500:"#6c757d"},o={FONT_FAMILY:'"Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',SIZE_SM:"0.875rem",SIZE_BASE:"1rem",SIZE_LG:"1.125rem",SIZE_XL:"1.25rem",SIZE_2XL:"1.5rem",WEIGHT_NORMAL:400,WEIGHT_SEMIBOLD:600,WEIGHT_BOLD:700,LEADING_NORMAL:1.5},l={SM:"0 1px 2px rgba(0, 0, 0, 0.05)",MD:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",LG:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)"},d={APP_NAME:"OrderHero",LOGO_PATH:"https://cdn.orderhero.id/brand/logo/orderhero-powered-on-light-480.webp"}}}]);

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.