PageSourceSearch

https://www.boston-theater.com/_nuxt/Cb96CgbE.js

js boston-theater.com collected 2026-10-02 16:47:35 UTC 7,822 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a0ec7b-645a-7d71-bf1d-e6a2e997390a")}catch(e){}}();import{n as e}from"./hePW80VL.js";import{a as t,i as n}from"./5wiGotLU.js";import{Ct as r,F as i,Ft as a,I as o,K as s,Kt as c,L as l,P as u,Pt as d,Qt as f,R as p,U as m,W as h,bt as g,gt as _,hn as v,pt as y,yn as b}from"./CI1QfElZ.js";import{n as x}from"./C_dr7Lus.js";import{t as S}from"./DxMjUTth.js";import{r as C}from"./jJjK4gXi.js";import{t as w}from"./DMukJrXW.js";import{t as T}from"./DcEatOUz.js";import{t as E}from"./ELZepljg.js";import{t as D}from"./DlA7MQtI.js";import{i as O,l as k,n as A,o as j,t as M}from"./DfprfQP9.js";import{t as N}from"./DVxT5Y5i.js";var P=async(e,t)=>{let n=S(`randomIdentifier-${t}`,()=>`hero`);return await C(`randomIdentifier-${t}`,()=>{e&&e.length>0&&(n.value=e[Math.floor(Math.random()*e.length)].padStart(2,`0`))},`$pJEuJJz_oR`),n},F={class:`flex bg-white rounded overflow-hidden`},I=[`data-url`],L={key:1,src:T,alt:`Loading spinner`,class:`rounded-full`},R={key:1,class:`absolute bg-white rounded font-body font-bold m-4 px-1`},z={key:1,class:`font-sans-italic text-xs pt-2`},B=s({__name:`ShowCTA`,props:{content:{},eventId:{},grid:{type:Boolean},contextCard:{type:Boolean},ymal:{type:Boolean},showShareDeleteButtons:{type:Boolean},hideAllButtons:{type:Boolean},headingComponent:{default:`h3`}},async setup(e){let s,C,{$removeFromWishlist:T}=n(),B=t(),V=c(null);y(()=>{V.value=window.location.origin+e.content.moreInfoFullLink});let H=c(!1),U=async()=>{H.value=!0,e.eventId&&e.content.venueId&&await T({event_id:e.eventId,venue_id:e.content.venueId})},W=([s,C]=d(()=>P(e.content.eventImageIndexes,e.eventId)),s=await s,C(),s),G=S(`backupImageId-${e.eventId}-${e.content.eventEndDate}-${e.content.showTitle||e.content.eventName}`,()=>!e.content.eventImageIndexes||e.content.eventImageIndexes.length===0?e.content.eventImageBackup||B.public.BACKUP_IMAGES[Math.floor(Math.random()*B.public.BACKUP_IMAGES.length)]:null),K=u(()=>e.grid?`(min-width: 330px) 290px, (min-width: 601px) 562px, (min-width: 768px) 334px, (min-width: 1024px) 220px, (min-width: 1280px) 262px, (min-width: 1600px) 336px, 100vw`:e.contextCard?`(min-width: 1700px) 359px, (min-width: 1040px) 21.88vw, 100vw`:`(min-width: 1580px) 290px, (min-width: 1280px) calc(7.14vw + 179px), (min-width: 1060px) calc(25vw - 28px), (min-width: 1020px) calc(-290vw + 3248px), (min-width: 780px) calc(25.91vw + 31px), calc(100vw - 40px)`);return e.showShareDeleteButtons&&V&&(M(),x({script:[{src:`https://platform-api.sharethis.com/js/sharethis.js#property=#{property?._id}&product=custom-share-buttons&source=platform`,type:`text/javascript`,key:`sharethisCustomButton`,defer:!0}]})),(t,n)=>{let s=D,c=w,u=k,d=E,y=N,x=j,S=O,C=A;return _(),p(`article`,F,[i(`div`,{class:v([`relative flex w-full grow-0 lg:shrink-0`,{"md:max-w-[33%]":!e.grid}])},[h(c,{to:e.content.moreInfoFullLink||e.content.ticketsUrl||void 0,class:`w-full h-full`},{default:a(()=>[h(s,{"srcset-resolutions":[`333x219`,`606x398`,`1023x672`,`1279x840`,`1599x1050`,`1818x1194`],"image-id":e.eventId,"image-type":`show`,sizes:f(K),identifier:f(W),class:v([e.grid?``:`h-full md:clip-show-widget-grid`,`object-cover rounded clip-widget aspect-fugardImage h-auto w-full`]),alt:e.content.imageAltTag||`${e.content.showTitle}`+(e.ymal?``:` at ${e.content.venueName}`),"image-url":e.content.eventImageUrl,"backup-image-id":f(G),"backup-identifier":`hero`,loading:e.content.imageLoading,"fetch-priority":e.content.imageFetchPriority},null,8,[`image-id`,`sizes`,`identifier`,`class`,`alt`,`image-url`,`backup-image-id`,`loading`,`fetch-priority`])]),_:1},8,[`to`]),e.showShareDeleteButtons?(_(),p(`div`,{key:0,class:v([`flex flex-row absolute top-0 right-0 m-4 gap-2`,{"left-auto right-0":!e.grid}])},[f(V)?(_(),p(`button`,{key:0,"data-network":`sharethis`,"data-url":f(V),class:`st-custom-button flex shrink-0 bg-white opacity-75 hover:opacity-90 transition-opacity duration-300 rounded-full w-9 h-9`},[h(u,{class:`m-2`})],8,I)):l(``,!0),i(`button`,{class:v([`flex shrink-0 bg-white opacity-75 hover:opacity-90 transition-opacity duration-300 rounded-full w-9 h-9`,{"!opacity-100":f(H)}]),onClick:U},[f(H)?(_(),p(`img`,L)):(_(),o(d,{key:0,class:`m-2`}))],2)],2)):l(``,!0),e.content.categoryTag?(_(),p(`span`,R,b(e.content.categoryTag),1)):l(``,!0)],2),i(`div`,{class:v([`flex flex-col grow basis-[fit-content] w-full`,e.grid?`p-4`:`w-fit md:flex-row md:pl-5`])},[h(c,{to:e.content.moreInfoFullLink||e.content.ticketsUrl||void 0,class:v([`flex grow basis-0 flex-col`,{"items-center":e.grid,"flex-col items-center md:items-start md:text-start md:w-1/2 nl-md:pt-5 my-auto":!e.grid}])},{default:a(()=>[e.content.showTitle?(_(),o(r(e.headingComponent),{key:0,class:v([`title-sans title-sans--lg lg:title-sans--xl uppercase text-black`,{"mb-2":!e.content.showRating,"text-center":e.grid}])},{default:a(()=>
1[m(b(e.content.showTitle),1)]),_:1},8,[`class`])):l(``,!0),e.content.showRating?(_(),o(y,{key:1,rating:e.content.showRating,small:e.grid&&!e.ymal&&!e.contextCard,class:v([`pb-3 pt-3`,{"w-auto !p-1":e.contextCard,"w-auto !p-1 mt-2 mb-2.5":e.ymal,"mx-auto":e.grid}])},null,8,[`rating`,`small`,`class`])):l(``,!0),i(`div`,{class:v({"my-auto":e.ymal})},[e.content.showExcerpt?(_(),p(`p`,{key:0,class:v([`font-body text-black [display:-webkit-box] [-webkit-box-orient:vertical] [-webkit-line-clamp:3] overflow-hidden`,{"font-sans-italic before:content-['“'] before:font-bold after:content-['”'] after:font-bold":e.contextCard||e.ymal}])},b(e.content.showExcerpt),3)):l(``,!0),e.content.showExcerptAttribution?(_(),p(`p`,z,b(e.content.showExcerptAttribution),1)):l(``,!0)],2)]),_:1},8,[`to`,`class`]),i(`div`,{class:v([`contents`,{"!flex flex-col md:w-1/2 pt-5 md:pt-0 md:pl-5":!e.grid}])},[h(x,{class:v([`bg-gray-100 rounded px-4`,{"order-first mb-5":e.ymal,"mt-4":e.grid}]),"formatted-date":e.content.formattedDate,venue:e.content.venueName,"venue-url":e.content.venueRoute,"show-price":!e.ymal,"min-price":e.content.minPrice?+e.content.minPrice:null,"tickets-page-url":e.content.ticketsUrl,"hide-price-override":e.ymal},null,8,[`class`,`formatted-date`,`venue`,`venue-url`,`show-price`,`min-price`,`tickets-page-url`,`hide-price-override`]),g(t.$slots,`default`),e.hideAllButtons?l(``,!0):(_(),p(`div`,{key:0,class:v([`flex flex-wrap whitespace-nowrap gap-5 pt-4 mt-auto`,{"!pt-2":e.contextCard}])},[e.ymal&&e.content.venueId&&(e.content.eventName||e.content.showTitle)&&e.eventId?(_(),o(S,{key:0,class:`flex-1`,"button-text":{add:`Wishlist`,remove:`Remove`},"event-id":e.eventId,"venue-id":e.content.venueId,"event-name":e.content.eventName||e.content.showTitle},null,8,[`event-id`,`venue-id`,`event-name`])):l(``,!0),h(C,{ymal:e.ymal,"short-text":``,"pri-button-to":e.content.ticketsUrl,"pri-button-aria-label":`Book tickets for ${e.content.showTitle||e.content.eventName}`,"has-inventory":e.content.hasInventory,"sec-button-text":e.contextCard?`Read more`:`More info`,"sec-button-to":e.content.moreInfoFullLink,"sec-button-aria-label":`Read more about ${e.content.showTitle||e.content.eventName}`,"event-id":e.eventId,"event-end-date":e.content.eventEndDate,"venue-id":e.content.venueId,"event-name":e.content.showTitle||e.content.eventName,class:v([`w-full [&_span]:ml-auto`,{"!contents flex-1":e.ymal}])},null,8,[`ymal`,`pri-button-to`,`pri-button-aria-label`,`has-inventory`,`sec-button-text`,`sec-button-to`,`sec-button-aria-label`,`event-id`,`event-end-date`,`venue-id`,`event-name`,`class`])],2))],2)],2)])}}}),V=e({default:()=>H}),H=Object.assign(B,{__name:`ShowCTA`});export{V as n,P as r,H as t};
2//# chunkId=01a0ec7b-645a-7d71-bf1d-e6a2e997390a

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.