PageSourceSearch

https://daniellesteel.com/_nuxt/J-g3I90T.js

js daniellesteel.com collected 2026-10-02 10:54:13 UTC 15,182 bytes, 2 lines download raw bytes

1import{o as me,bw as re,a9 as r,a6 as x,F as N,bM as ce,ce as g,bq as P,a7 as f,a8 as u,bJ as $,a3 as n,cj as be,aX as he,cw as fe,bQ as ge,bz as i,bp as d,cI as h,aj as C,c8 as ke}from"./BPlt5jNJ.js";import{t as ye}from"./ByBHOlDa.js";import pe from"./BegCxbDe.js";import ve from"./DVBSSHOv.js";import we from"./DaS4BzlR.js";import xe from"./5MtjxJ-y.js";import p from"./D0rIMvHL.js";import Ce from"./BAvpTMRj.js";import Se from"./BmvTBmrE.js";import Ve from"./Dl9WbiIH.js";import{a as Te,u as Me,b as Be}from"./DlrFBTCH.js";import{buildSeriesFieldCssClass as A}from"./oW1pMe-0.js";import"./CI4xBK7j.js";import"./CizZK2US.js";import"./fyAfAxkJ.js";import"./UCTC3J7_.js";import"./CzPunx1q.js";import"./YPPjQ5lW.js";import"./DBoafQlm.js";try{let e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},k=new e.Error().stack;k&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[k]="cbacca34-8113-4494-b58e-0be3f47f30a4",e._sentryDebugIdIdentifier="sentry-dbid-cbacca34-8113-4494-b58e-0be3f47f30a4")}catch{}{let e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=Object.assign({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:splash-application":!0})}const De=["id","data-isbn","data-test"],Ue={class:"multi-book-cover flex items-center justify-center @sm:pb-2"},Le={key:1,class:"multi-book-audio"},Ne={key:0,class:"flex flex-col gap-1"},Pe=["id"],$e=["innerHTML"],Ae=["aria-expanded","aria-controls","onClick"],Ie={key:1,class:"hidden @sm:inline"},ze={key:1,class:"flex flex-col gap-1"},Fe={key:4,class:"multi-book-retailers grid gap-3"},je={__name:"MultiBookProductGrid",props:{module:{type:Object,default:()=>({})},editable:{type:Boolean,default:!1},theme:{type:Object,default:()=>({})},slug:{type:String,default:""},baseUrl:{type:String,default:""},isDesktop:{type:Boolean,default:!1},ctaTrackingName:{type:String,default:""}},emits:["tracking","show-panel"],setup(e){be(l=>({v364f42a4:Q.value,v1431cdae:X.value}));const k=he("headingUtils",{h2LevelTag:"h2",h2LevelStyleClass:"theme-h2"}),I=n(()=>k.h2LevelTag?.value||k.h2LevelTag),z=n(()=>k.h2LevelStyleClass?.value||k.h2LevelStyleClass),t=e,v=$({}),M=$(!1),B=fe(),F=n(()=>B.getters.isSweepstakes),S=n(()=>B.getters.isPublic);re(()=>{M.value=!0});const{subHeadingColorStyle:j,subHeadingCssClasses:E}=Me(n(()=>t.module),n(()=>t.theme)),{viewMoreEnabled:H,visibleTitlesCount:R,visibleTitles:D,loadMore:W}=Te(t.module,{isDesktop:n(()=>t.isDesktop),layout:"Default",isPublic:S,isMounted:M}),{getSubheadingTag:G,getSubheadingStyleClass:O}=Be(I,z,D),c=n(()=>t.module.content.grid.mobile.columns===2),q=n(()=>t.module.content.titles.length<3?t.module.content.titles.length:t.module.content.grid?.columns||3),V=n(()=>t.module.content.titles.length===1?1:t.module.content.grid.mobile.columns||1),y=n(()=>t.module.content.retailerLinks.meta.display),w=n(()=>t.module.content.addToCart&&t.module.content.addToCart.meta.display),J=n(()=>t.module.content.title.meta.display||t.module.content.author.meta.display||t.module.content.shortDescription.meta.display),K=n(()=>w.value||y.value&&!t.module.content.dropdownButton.display),U=n(()=>{const l=[];return l.push('"multi-book-cover"'),t.module.content.dropdownButton.display&&y.value&&l.push('"multi-book-retailers-dropdown"'),t.module?.content?.audioPlayer?.meta?.display&&l.push('"multi-book-audio"'),t.module.content.cta.meta.display&&l.push('"multi-book-custom-cta"'),(t.module.content.title.meta.display||t.module.content.author.meta.display||t.module.content.shortDescription.meta.display)&&l.push('"multi-book-text"'),(w.value||y.value&&!t.module.content.dropdownButton.display)&&l.push('"multi-book-retailers"'),l}),Q=n(()=>U.value.length),X=n(()=>U.value.join(`
2`)),Y=n(()=>({"--grid-template-columns":q.value,"--grid-mobile-columns":V.value,"--grid-mobile-border-color":t.module.content.grid.mobile.borderColor,"--grid-mobile-border-width":c.value?"1px":"0","--title-font-color":t.module.content.title?.color,"--author-font-color":t.module.content.author?.color,"--series-book-number-font-color":t.module.content.seriesBookNumber?.color,"--series-name-font-color":t.module.content.seriesName?.color,"--short-description-font-color":t.module.content.shortDe
2scription?.color})),Z=n(()=>({"book-title":!0,[t.module.content.title.fontFamily]:!!t.module.content.title.fontFamily,["font-weight-"+t.module.content.title.fontWeight]:!!t.module.content.title.fontWeight,["font-size-"+t.module.content.title.fontSize+"px"]:!!t.module.content.title.fontSize,uppercase:t.module.content.title.textTransform})),T=n(()=>({[t.module.content.author.fontFamily]:!!t.module.content.author.fontFamily,["font-weight-"+t.module.content.author.fontWeight]:!!t.module.content.author.fontWeight,["font-size-"+t.module.content.author.fontSize+"px"]:!!t.module.content.author.fontSize,uppercase:t.module.content.author.textTransform})),_=n(()=>A(t.module.content.seriesBookNumber)),ee=n(()=>A(t.module.content.seriesName)),te=n(()=>({"book-description":!0,[t.module.content.shortDescription.fontFamily]:!!t.module.content.shortDescription.fontFamily,["font-weight-"+t.module.content.shortDescription.fontWeight]:!!t.module.content.shortDescription.fontWeight,["font-size-"+t.module.content.shortDescription.fontSize+"px"]:!!t.module.content.shortDescription.fontSize,uppercase:t.module.content.shortDescription.textTransform,"text-center":t.module.content.alignment==="center"})),oe=n(()=>{const l=t.module.content.retailerLinks.meta.button.alignment;return{"justify-start":l==="left","justify-center":l==="center","max-w-[175px] @sm:max-w-[200px]":!c.value,"max-w-auto @sm:max-w-[200px]":c.value}}),le=n(()=>({"max-w-[140px] @xxs:max-w-[100px] @sm:max-w-[200px]":c.value,"max-w-[175px] @sm:max-w-[200px]":!c.value})),ae=n(()=>({"max-w-[175px] @sm:max-w-[200px]":!c.value,"max-w-auto @sm:max-w-[200px]":c.value})),ne=n(()=>({"max-w-[175px] w-full @sm:max-w-[200px]":!c.value,"px-2 @sm:px-0 w-full @sm:max-w-[200px]":c.value})),ie={TruncateBy:"words",TruncateLength:8,StripHTML:!1,Strict:!1,Suffix:" & more..."},L=n(()=>t.module.content.titles.map(l=>l.isbn?ye(l.author.html,ie):"")),se=l=>({title:{isbn:l.isbn,title:l.title.html,module_id:t.module.id,analyticsMeta:l.analyticsMeta,module_type:`Multi Book Module ${t.module.content.header.meta.display?"| "+t.module.content.header.html:""}`},player:l.audioPlayer}),ue=l=>t.module.content.seriesBookNumber.meta.display&&l.seriesBookNumber||t.module.content.seriesName.meta.display&&l.seriesName,de=l=>l.type==="internal"?!!l.pageId:!!l.text&&!!l.href;return(l,m)=>{const b=ge("panel");return i(),r("div",null,[x("div",{class:"multi-book-columns",style:P(Y.value)},[(i(!0),r(N,null,ce(g(D),(o,s)=>(i(),r("div",{id:`title-${o.id}-${s}`,key:o.id,class:d(["multi-book-col-wrapper scroll-mt-14 w-full",{"mobile-two-column":V.value===2,"mobile-single-column":V.value===1,"subheading-item":!o.isbn}]),"data-isbn":o.isbn,"data-test":`multi-book-grid-${s}`},[o.isbn?(i(),r(N,{key:1},[x("div",Ue,[h(C(we,{modelValue:o.image,"onUpdate:modelValue":a=>o.image=a,editable:e.editable,"cover-style":e.module.content.image.style,class:d(["@md:w-full relative mx-auto",le.value]),"component-name":e.module.component},null,8,["modelValue","onUpdate:modelValue","editable","cover-style","class","component-name"]),[[b,{component:"MultiBookCoverArtSettings",context:{title:o,index:s}}]])]),e.module.content.dropdownButton.display&&y.value?(i(),f(Se,{key:0,modelValue:o.retailerLinks.retailers,"onUpdate:modelValue":a=>o.retailerLinks.retailers=a,module:e.module,title:o,index:s,theme:e.theme,"is-public":S.value,editable:e.editable,class:d([oe.value,"w-full mx-auto multi-book-retailers-dropdown"]),"disable-rounded":c.value,onTracking:m[0]||(m[0]=a=>l.$emit("tracking",a)),onShowPanel:m[1]||(m[1]=a=>l.$emit("show-panel",a))},null,8,["modelValue","onUpdate:modelValue","module","title","index","theme","is-public","editable","class","disable-rounded"])):u("",!0),e.module?.content?.audioPlayer?.meta?.display?(i(),r("div",Le,[o?.audioPlayer?.hasAudioExcerpt?h((i(),f(ve,{key:0,title:se(o),"module-level-theme":e.module.content.audioPlayer?.button,"global-level-theme":e.theme.meta.audioPlayer,"disable-rounded":c.value,editable:e.editable,class:d(["w-full mx-auto",ae.value])},null,8,["title","module-level-theme","global-level-theme","disable-rounded","editable","class"])),[[b,{component:"AudioPlayerButtonStyle"}]]):u("",!0)])):u("",!0),e.module.content.cta.meta.display?(i(),r("div",{key:2,class:d(["multi-book-custom-cta mx-auto",ne.value])},[h(C(xe,{modelValue:o.cta.link,"onUpdate:modelValue":a=>o.cta.link=a,"data-test":"custom-cta","data-editable-title":e.editable?"Edit CTA":"",editable:e.editable,theme:e.theme,"module-theme":e.module.content.cta.meta.button,context:"addToCart",incomplete:!de(o.cta.link),class:d(["break-normal",{"text-center":e.module.content.alignment==="center"}]),style:{"--min-width-desktop":"none"},"utag-data":{page_type:F.value?"SPLASH Sweepstakes Page":"SPLASH Campaign Page",module_type:`Custom Module | ${e.ctaTrackingName} | ${o.cta.link.text}`,module_variation:`P${s+1}`,module_variation_identifier:o.isbn},type:"multi-book-grid",onTracking:m[2]||(m[2]=a=>l.$emit("tracking",a))},null,8,["modelValue","onUpdate:modelValue","data-editable-title","editable","theme","module-theme","incomplete","class","utag-data"]),[[b,{component:"MultiCustomCtaLink",context:{link:o.cta.link,type:"titles",index:s}}]])],2)):u("",!0),J.value?(i(),r("div",{key:3,class:d(["multi-book-text flex flex-col gap-4 px-1 pt-1 @sm:pt-3",{"mb-2":y.value||w.value}])},[e.module.content.title.meta.display||e.module.content.author.meta.display?(i(),r("div",Ne,[e.module.content.title.meta.display?h((i(),f(p,{key:0,modelValue:o.title.html,"onUpdate:modelValue":a=>o.title.html=a,editable:e.editable,alignment:e.module.content.alignment,tag:"div",class:d([Z.value,"theme-h2"]),"data-test":"multi-book-title","fallback-content":o.preview.title},null,8,["modelValue","onUpdate:modelValue","editable","alignment","class","fallback-content"])),[[b,{component:"MultiBookTextStyle",context:{field:"title"}}]]):u("",!0),x("div",{class:d([{"text-center":e.module.content.alignment==="center"},"multi-book-author"])},[e.module.content.author.meta.display?(i(),r("div",{key:0,id:`expanded-text-${e.module.id}-${s}`,class:"@sm:hidden w-auto","aria-live":"polite"},[x("div",{class:d(["book-author",T.value]),"data-test":"multi-book-author-name-mobile",innerHTML:v.value[s]?o.author.html:L.value[s]},null,10,$e),L.value[s]!==o.author.html?(i(),r("button",{key:0,class:d(["book-author underline block",[T.value,{"mx-auto":e.module.content.alignment==="center"}]]),"aria-expanded":v.value[s],"aria-controls":`expanded-text-${e.module.id}-${s}`,onClick:a=>v.value[s]=!v.value[s]}," Read "+ke(v.value[s]?"Less...":"More..."),11,Ae)):u("",!0)],8,Pe)):u("",!0),e.module.content.author.meta.display?(i(),r("div",Ie,[h(C(p,{modelValue:o.author.html,"onUpdate:modelValue":a=>o.author.html=a,editable:e.editable,alignment:e.module.content.alignment,tag:"div",class:d(["book-author theme-h3",T.value]),"data-test":"multi-book-author-name","fallback-content":o.preview.authorNames},null,8,["modelValue","onUpdate:modelValue","editable","alignment","class","fallback-content"]),[[b,{component:"MultiBookTextStyle",context:{field:"author"}}]])])):u("",!0)],2)])):u("",!0),ue(o)?(i(),r("div",ze,[e.module.content.seriesBookNumber.meta.display&&o.seriesBookNumber?h((i(),f(p,{key:0,modelValue:o.seriesBookNumber.html,"onUpdate:modelValue":a=>o.seriesBookNumber.html=a,editable:e.editable,alignment:e.module.content.alignment,tag:"div",class:d(["book-series-book-number theme-h4",_.value]),"data-test":"multi-book-series-book-number"},null,8,["modelValue","onUpdate:modelValue","editable","alignment","class"])),[[b,{component:"MultiBookSeriesInfoStyle",context:{field:"seriesBookNumber"}}]]):u("",!0),e.module.content.seriesName.meta.display&&o.seriesName?h((i(),f(p,{key:1,modelValue:o.seriesName.html,"onUpdate:modelValue":a=>o.seriesName.html=a,editable:e.editable,alignment:e.module.content.alignment,tag:"div",class:d(["book-series-name theme-h4",ee.value]),"data-test":"multi-book-series-name"},null,8,["modelValue","onUpdate:modelValue","editable","alignment","class"])),[[b,{component:"MultiBookSeriesInfoStyle",context:{field:"seriesName"}}
2]]):u("",!0)])):u("",!0),e.module.content.shortDescription.meta.display?h((i(),f(p,{key:2,modelValue:o.shortDescription.html,"onUpdate:modelValue":a=>o.shortDescription.html=a,editable:e.editable,alignment:e.module.content.alignment,tag:"div",class:d(["book-blurb",te.value]),"data-test":"multi-book-grid-view-shortDescription"},null,8,["modelValue","onUpdate:modelValue","editable","alignment","class"])),[[b,{context:{moduleFontField:"shortDescription"}}]]):u("",!0)],2)):u("",!0),K.value?(i(),r("div",Fe,[w.value?h((i(),f(pe,{key:0,modelValue:o.addToCart,"onUpdate:modelValue":a=>o.addToCart=a,isbn:o.isbn,editable:!1,"title-format":o.format,"seo-friendly-url":o.seoFriendlyUrl,slug:e.slug,meta:o.analyticsMeta,theme:e.theme,"module-theme":e.module.content.addToCart.meta.button,alignment:e.module.content.alignment,module:"MultiBook",onTracking:m[3]||(m[3]=a=>l.$emit("tracking",a))},null,8,["modelValue","onUpdate:modelValue","isbn","title-format","seo-friendly-url","slug","meta","theme","module-theme","alignment"])),[[b,{component:"AddToCartSettings",context:"AddToCart"}]]):u("",!0),y.value&&!e.module.content.dropdownButton.display?h((i(),f(Ce,{key:"retailerlinks_"+o.isbn,modelValue:o.retailerLinks,"onUpdate:modelValue":a=>o.retailerLinks=a,editable:e.editable,meta:o.analyticsMeta,isbn:o.isbn,"work-id":o.workId,theme:e.theme,"module-theme":e.module.content.retailerLinks.meta.button,alignment:e.module.content.alignment,module:"MultiBook",context:"retailerLinks","data-test":"multi-book-retailer-links","base-url":e.baseUrl,onTracking:m[4]||(m[4]=a=>l.$emit("tracking",a))},null,8,["modelValue","onUpdate:modelValue","editable","meta","isbn","work-id","theme","module-theme","alignment","base-url"])),[[b,{component:"MultiBookRetailerSettings",context:{index:s,title:o}}]]):u("",!0)])):u("",!0)],64)):(i(),r("div",{key:0,class:d(["multi-book-subheading mb-4 w-full col-span-full",{"mt-4":s!==0}]),style:P(g(j))},[h(C(p,{modelValue:o.text,"onUpdate:modelValue":a=>o.text=a,editable:e.editable,theme:e.theme,tag:g(G)(s),class:d([g(O)(s),g(E)]),"max-length":35,"data-test":"multi-book-subheading"},null,8,["modelValue","onUpdate:modelValue","editable","theme","tag","class"]),[[b]])],6))],10,De))),128))],4),g(H)?(i(),f(Ve,{key:0,"module-id":e.module.id,"visible-count":g(R),"total-count":e.module.content.titles.length,"is-public":S.value,editable:e.editable,module:e.module,theme:e.theme,"load-more":g(W),onTracking:m[5]||(m[5]=o=>l.$emit("tracking",o)),onShowPanel:m[6]||(m[6]=o=>l.$emit("show-panel",o))},null,8,["module-id","visible-count","total-count","is-public","editable","module","theme","load-more"])):u("",!0)])}}},nt=me(je,[["__scopeId","data-v-dc8bf783"]]);export{nt as default};

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.