PageSourceSearch

https://www.diamondsbyme.com/_next/static/chunks/pages/slice-simulator-9f0da5d59aa0641a.js

js diamondsbyme.com collected 2026-10-04 14:08:49 UTC 11,501 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6079],{9476:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var a=n(3576),l=n(62701),r=n(65699),i=n(18153),o=n(68827),c=n.n(o),d=n(95062),s=n.n(d),u=n(53967);let h=e=>{let{src:t,width:n,quality:a}=e;return"".concat(t,"?w=").concat(n).concat(a?"&q=".concat(a):"")},p=e=>{let{src:t,width:n}=e;return"".concat(t).concat(t.includes("?")?"&":"?","resize=").concat(n)},b=e=>{var{src:t,width:n,height:o,layout:d,priority:s}=e,b=(0,r._)(e,["src","width","height","layout","priority"]);return t?(0,i.Y)(c(),(0,a._)((0,l._)((0,a._)({src:(0,u.A)(t),blurDataURL:(0,u.A)(t,{w:10,h:10})},"fill"!==d?{width:null!=n?n:1}:{},"fill"!==d?{height:null!=o?o:1}:{}),{layout:d,loader:t.includes("content.diamondsbyme.com")?p:h,priority:s}),s?{fetchPriority:"high"}:{},b)):"No src added"};b.propTypes={height:s().number,layout:s().oneOf(["intrinsic","fixed","responsive","fill"]),objectFit:s().string,objectPosition:s().string,placeholder:s().string,src:s().string,width:s().number,lazyBoundary:s().string,priority:s().bool},b.defaultProps={height:50,layout:"intrinsic",objectFit:"contain",objectPosition:"center",placeholder:"blur",src:void 0,lazyBoundary:"500px",width:50,priority:!1};let m=b},21926:(e,t,n)=>{"use strict";n.d(t,{L:()=>h,U:()=>p});var a=n(3576),l=n(62701),r=n(57482),i=n(8566),o=n(94396),c=n(96751),d=n.n(c),s=n(962),u=n(41474);function h(){var e,t,n,a,l,r,i;let c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},u=arguments.length>1?arguments[1]:void 0,{link_type:h=null,type:p=null,url:b=null,lang:m,uid:v,data:g={}}=c;if("string"==typeof c)return c.replace(d().backendDomains[s.y9[u]||u],"").replace(d().localeDomains[s.y9[u]||u],"");switch("".concat(h,"-").concat(p)){case"Document-home":return"/";case"Document-blogOverview":return"/blog/";case"Document-blogPost":return"/blog/".concat(v,"/");case"Document-contactPage":return"/contact/";case"Document-customerServiceOverview":return"/".concat((0,o.A)(s.ap[m]),"/");case"Document-educationCenterOverview":return"/".concat((0,o.A)(s.m4[m]),"/");case"Document-collection-page":return"/".concat(null==(e=(null==g?void 0:g.slug)||v)?void 0:e.replace(/^\/|\/$/g,"").toLowerCase(),"/");case"Document-educationCenterContent":return"/".concat((0,o.A)(s.m4[m]),"/").concat((null==g?void 0:g.url)||v).concat((null==(t=g.url)?void 0:t.endsWith(".htm"))||(null==(n=g.url)?void 0:n.endsWith("/"))?"":"/");case"Document-customerServicePage":return"/".concat((0,o.A)(s.ap[m]),"/").concat((null==g?void 0:g.url)||v).concat((null==(a=g.url)?void 0:a.endsWith(".htm"))||(null==(l=g.url)?void 0:l.endsWith("/"))?"":"/");case"Document-landingPage":return"/".concat((null==g?void 0:g.slug)||v).concat((null==(r=g.slug)?void 0:r.endsWith(".htm"))||(null==(i=g.slug)?void 0:i.endsWith("/"))?"":"/");case"Web-null":return b.replace(d().backendDomains[u],"/").replace(d().localeDomains[s.y9[u]||u],"/");case"Media-null":return b;default:return null}}function p(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=r.U(u.aR,(0,l._)((0,a._)({},e),{accessToken:"MC5Yb1dvdWhBQUFBNEVuZXB0.Sz3vv73vv73vv71577-977-9e--_vTbvv70NBO-_ve-_vWFV77-9fAXvv71GCO-_ve-_vQFYf--_vXXvv70"}));return(0,i.enableAutoPreviews)({client:t,previewData:e.previewData,req:e.req}),t}},29817:(e,t,n)=>{"use strict";n.d(t,{d:()=>r});var a=n(18847),l=n.n(a);let r={banner:l()(()=>Promise.all([n.e(3165),n.e(8674)]).then(n.bind(n,88674)),{loadableGenerated:{webpack:()=>[88674]}}),content_blocks:l()(()=>Promise.all([n.e(3165),n.e(6189)]).then(n.bind(n,26189)),{loadableGenerated:{webpack:()=>[26189]}}),faq:l()(()=>Promise.all([n.e(3165),n.e(2424),n.e(9984),n.e(446)]).then(n.bind(n,57902)),{loadableGenerated:{webpack:()=>[57902]}}),horizontal_line:l()(()=>n.e(1478).then(n.bind(n,21478)),{loadableGenerated:{webpack:()=>[21478]}}),image:l()(()=>n.e(8099).then(n.bind(n,28099)),{loadableGenerated:{webpack:()=>[28099]}}),image_carousel:l()(()=>Promise.all([n.e(4834),n.e(8572),n.e(9664),n.e(3165),n.e(815),n.e(9805)]).then(n.bind(n,39805)),{loadableGenerated:{webpack:()=>[39805]}}),image_grid:l()(()=>n.e(6744).then(n.bind(n,44363)),{loadableGenerated:{webpack:()=>[44363]}}),instagram:l()(()=>n.e(3246).then(n.bind(n,93246)),{loadableGenerated:{webpack:()=>[93246]}}),navigation_level1:l()(()=>n.e(5791).then(n.bind(n,5791)),{loadableGenerated:{webpack:()=>[5791]}}),navigation_level2:l()(()=>n.e(3254).then(n.bind(n,3254)),{loadableGenerated:{webpack:()=>[3254]}}),navigation_level3:l()(()=>n.e(3585).then(n.bind(n,13585)),{loadableGenerated:{webpack:()=>[13585]}}),paragraph:l()(()=>n.e(1860).then(n.bind(n,1860)),{loadableGenerated:{webpack:()=>[1860]}}),quote:l()(()=>n.e(4138).then(n.bind(n,54138)),{loadableGenerated:{webpack:()=>[54138]}}),split_banner:l()(()=>Promise.all([n.e(3165),n.e(3264)]).then(n.bind(n,73264)),{loadableGenerated:{webpack:()=>[73264]}}),table:l()(()=>Promise.all([n.e(287),n.e(2722)]).then(n.bind(n,92722)),{loadableGenerated:{webpack:()=>[92722]}}),youtube_video:l()(()=>Promise.all([n.e(3165),n.e(2894),n.e(5632),n.e(1783)]).then(n.bind(n,1783)),{loadableGenerated:{webpack:()=>[1783]}})}},30606:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/slice-simulator",function(){return n(31795)}])},31795:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>m});var a=n(3576),l=n(62701),r=n(18153),i=n(63512),o=n(38103),c=n(29817),d=n(75050),s=n(48622),u=n(18847);let h={filter:n.n(u)()(()=>n.e(4447).then(n.bind(n,84447)),{loadableGenerated:{webpack:()=>[84447]}})},p=e=>(0,r.Y)(o.l,(0,l._)((0,a._)({},e),{components:(0,a._)({},c.d,d.d,s.dK,h)})),b=()=>(0,r.Y)(i.h,{sliceZone:p,state:{}});b.getLayout=e=>e;let m=b},48622:(e,t,n)=>{"use strict";n.d(t,{dK:()=>w});var a=n(3576),l=n(62701),r=n(18153),i=n(9476),o=n(56222),c=n(95062),d=n.n(c);let s=e=>{var t,n;let{slice:c,context:d}=e,{primary:s}=c,{image:u,width:h}=s;return(0,r.Y)(o.A,(0,l._)((0,a._)({component:"section"},"blog"===d.context&&h?{maxWidth:"sm"}:{}),{children:(0,r.Y)(i.A,{src:null==u?void 0:u.url,alt:null==u?void 0:u.alt,width:null==u||null==(t=u.dimensions)?void 0:t.width,height:null==u||null==(n=u.dimensions)?void 0:n.height})}))};s.propTypes={slice:d().object,context:d().shape({context:d().string})}
1,s.defaultProps={slice:{},context:{}};var u=n(96487),h=n(35003),p=n(41316),b=n(94396),m=n(50496);let v={"&::before":{content:'""',position:"relative",display:"block",height:200,mt:"-200px",zIndex:-1}},g={paragraph:e=>{let{children:t}=e;return(0,r.Y)(h.A,{paragraph:!0,children:t})},heading2:e=>{let{children:t}=e,n=(0,m.A)(t),i=(0,b.A)(n.replace(/\./g,""));return(0,r.Y)(h.A,{id:i,variant:"h2",mt:3,mb:1,sx:(0,l._)((0,a._)({},v),{"p + &":{mt:5}}),children:t})},heading3:e=>{let{children:t}=e,n=(0,m.A)(t),l=(0,b.A)(n.replace(/\./g,""));return(0,r.Y)(h.A,{id:l,variant:"h3",mt:3,mb:1,sx:(0,a._)({},v),children:t})},heading4:e=>{let{children:t}=e,n=(0,m.A)(t),l=(0,b.A)(n.toLowerCase().replace(/\./g,""));return(0,r.Y)(h.A,{id:l,variant:"h4",mt:3,mb:1,sx:(0,a._)({},v),children:t})}},_=e=>{var t,n;let{slice:c,context:d}=e,{variation:s,primary:h}=c||{},{content:b,image:m,order:v}=h||{};return"textImage"!==s?(0,r.Y)(o.A,(0,l._)((0,a._)({},"blog"===d.context?{maxWidth:"md"}:{}),{component:"section",sx:{my:4},children:(0,r.Y)(u.$,{field:b,components:g})})):(0,r.Y)(o.A,(0,l._)((0,a._)({},"blog"===d.context?{maxWidth:"lg"}:{}),{component:"section",sx:{my:4},children:(0,r.FD)(p.Ay,(0,l._)((0,a._)({container:!0,spacing:4},"text - image"===v?{direction:"row-reverse"}:{}),{children:[(0,r.Y)(p.Ay,{item:!0,xs:12,md:6,children:(0,r.Y)(i.A,{src:null==m?void 0:m.url,alt:null==m?void 0:m.alt,width:null==m||null==(t=m.dimensions)?void 0:t.width,height:null==m||null==(n=m.dimensions)?void 0:n.height})}),(0,r.Y)(p.Ay,{item:!0,xs:12,md:6,children:(0,r.Y)(u.$,{field:b,components:g})})]}))}))};_.propTypes={slice:d().object,context:d().shape({context:d().string})},_.defaultProps={slice:{},context:{}};let w={images:s,text:_}},50496:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});let a=e=>{var t,n,l,r,i,o;return"string"==typeof e?e:(null==e||null==(t=e.props)?void 0:t.children)?a(null==e||null==(r=e.props)?void 0:r.children):(null==e||null==(l=e[0])||null==(n=l.props)?void 0:n.children)?a(null==e||null==(o=e[0])||null==(i=o.props)?void 0:i.children):""},l=a},53967:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a=n(3576);let l=(e,t)=>{var n;if(e.match(/\.gif/)||e.match(/content\.diamondsbyme/))return e;let l=new URLSearchParams((0,a._)({},t)).toString();return"".concat(null==(n=e.split("?"))?void 0:n[0].replace("https://images.prismic.io/diamondsbyme","https://cdn.quicq.io/dbm-prismic").replace("https://static.diamondsbyme.com","https://cdn.quicq.io/dbm-static")).concat(l?"?".concat(l):"")}},75050:(e,t,n)=>{"use strict";n.d(t,{d:()=>r});var a=n(18847),l=n.n(a);let r={banner_v2:l()(()=>Promise.all([n.e(3165),n.e(6975)]).then(n.bind(n,46975)),{loadableGenerated:{webpack:()=>[46975]}}),faq_v2:l()(()=>Promise.all([n.e(3165),n.e(2424),n.e(9984),n.e(4337)]).then(n.bind(n,76145)),{loadableGenerated:{webpack:()=>[76145]}}),form:l()(()=>Promise.all([n.e(3165),n.e(4958),n.e(8700),n.e(5641),n.e(2782),n.e(44),n.e(4363),n.e(3584),n.e(3463)]).then(n.bind(n,83463)),{loadableGenerated:{webpack:()=>[83463]}}),image_carousel_v2:l()(()=>Promise.all([n.e(4834),n.e(8020),n.e(3165),n.e(815),n.e(90)]).then(n.bind(n,30090)),{loadableGenerated:{webpack:()=>[30090]}}),image_grid_v2:l()(()=>n.e(3328).then(n.bind(n,53328)),{loadableGenerated:{webpack:()=>[53328]}}),link_boxes:l()(()=>Promise.all([n.e(3165),n.e(3208)]).then(n.bind(n,83208)),{loadableGenerated:{webpack:()=>[83208]}}),paragraph_v2:l()(()=>n.e(7183).then(n.bind(n,87183)),{loadableGenerated:{webpack:()=>[87183]}}),review_carousel:l()(()=>n.e(8927).then(n.bind(n,98927)),{loadableGenerated:{webpack:()=>[98927]}}),split_banner_v2:l()(()=>Promise.all([n.e(3165),n.e(47)]).then(n.bind(n,30047)),{loadableGenerated:{webpack:()=>[30047]}}),usps_v2:l()(()=>Promise.all([n.e(3165),n.e(4412)]).then(n.bind(n,4412)),{loadableGenerated:{webpack:()=>[4412]}})}},86511:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});let a=e=>!/^(f|ht)tps?:\/\//i.test(e)},94396:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});let a=e=>e.replace(/([a-z\d])([A-Z])/g,"$1_$2").toLowerCase().replace(/[ _]/g,"-")},96487:(e,t,n)=>{"use strict";n.d(t,{$:()=>v});var a=n(3576),l=n(62701),r=n(65699),i=n(18153),o=n(35003),c=n(9982),d=n(21926),s=n(86511),u=n(48230),h=n.n(u),p=n(89099),b=n(51024),m=n(14232);let v=e=>{var{components:t}=e,n=(0,r._)(e,["components"]);let{locale:u}=(0,p.useRouter)();return(0,i.Y)(b.$,(0,l._)((0,a._)({}
1,n),{components:(0,a._)({},{paragraph:e=>{let{children:t}=e;return(0,i.Y)(o.A,{paragraph:!0,children:t})},listItem:e=>{let{children:t}=e,n=m.Children.map(t,e=>(0,m.isValidElement)(e)?(0,m.cloneElement)(e,{mb:0}):e);return(0,i.Y)(o.A,{component:"li",variant:"bodyMedium",children:n})},oListItem:e=>{let{children:t}=e,n=m.Children.map(t,e=>(0,m.isValidElement)(e)?(0,m.cloneElement)(e,{mb:0}):e);return(0,i.Y)(o.A,{component:"li",variant:"bodyMedium",children:n})},hyperlink:e=>{var t;let{node:n,children:r}=e,o=n.data.target?{target:n.data.target,rel:"noopener"}:{},p=(0,d.L)(n.data,u),b=null==(t=n.data)?void 0:t.isBroken;return(0,i.Y)(c.A,(0,l._)((0,a._)((0,l._)((0,a._)({},o,(0,s.A)(p)&&p?{component:h()}:{}),{color:"inherit",variant:"inherit",fontWeight:"inherit",href:p}),b?{sx:{textDecoration:"line-through"}}:{}),{children:r}))}},t)}))};v.propTypes=(0,a._)({},b.$.propTypes),v.defaultProps=(0,a._)({},b.$.defaultProps)}},e=>{e.O(0,[8861,3052,9626,636,6593,8792],()=>e(e.s=30606)),_N_E=e.O()}]);

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.