{"version":3,"file":"shared-lib.BeyN-8Kc.mjs","names":["emit","React.useState","useSyncExternalStore","_store","getDealStatus","getDealListRows","_open","_getDealStatus","_getDealListRows","_store","fonts","css","className","fonts","css","className","fonts","css","className"],"sources":["https:/framerusercontent.com/modules/0GpgGzS00VxJis3gSiB4/xQvXV8rHdeXnAzSd0ksq/registry.js","https:/framerusercontent.com/modules/Gv0ECINhqtCM2CKYMkBP/GcvCm6kYtEl73wOU95G5/store_scope.js","https:/framerusercontent.com/modules/UH4WTHe23jjVFZ4QN9aB/pXMXEE6fEy1994ZzJknr/create_store.js","https:/framerusercontent.com/modules/XqjS6RmB7bMfpSFcXWq7/Oim1PnSjexxaxkFS6DgJ/format.js","https:/framerusercontent.com/modules/lm3ZXHj8VEDt9wKH3h8G/kSUQfkWdQ4b2pykDEfi0/track.js","https:/framerusercontent.com/modules/wv26nijFqUUchrPhXcpA/plHk76dfhZb61VDrayyd/kit.js","https:/framerusercontent.com/modules/d3VRtpPEqbZowvAH2Zxw/zTJIWEhWaDQp7jiQQkt8/object_type.js","https:/framerusercontent.com/modules/ADT0jp7b0HfXOtausI8j/2DTx4YSBw3YeYAl43weL/service.js","https:/framerusercontent.com/modules/WWILyeUJyytnBT1Q2flA/akyiCaACA1ZdN0sScidd/user.js","https:/framerusercontent.com/modules/Fa9rFJN2rq85gl2rXBgV/AVjJVDZFaBnNLsPAn8ph/entities.js","https:/framerusercontent.com/modules/dBt19uczKsS98p2bZoOW/B8jBSbrtS4nEQRXP2n9N/token_new.js","https:/framerusercontent.com/modules/2cqxRgmIE8CaH8oMSLJI/Xc2VTih7dteQqDikr6wz/client.js","https:/framerusercontent.com/modules/Dv0hqgkYwdGctPnhOUsS/qwvBIWLOaCu20BIFILAX/cart_token.js","https:/framerusercontent.com/modules/jh3pFK05bNXlfLBDeTej/L8aCQ4QKAcXH3k1YzWsa/calculateTotals.js","https:/framerusercontent.com/modules/rDKH6p02sKd06BBDBwBs/D6AwURPxmNMKxuE2Oq7a/dealListCatalog.js","https:/framerusercontent.com/modules/t10Aq1an1l772hN2A6hw/H6MnpZMeP285HNKWsGXX/nextDeal.js","https:/framerusercontent.com/modules/dpnykcaq8avFzlvDjxCJ/Wd4iZlj7VLmKMz9oF8ca/analytics_events.js","https:/framerusercontent.com/modules/nYNkrjG4SG2g3zpRI8vd/2NpFBOzmMwHK6O32tKsy/overlay.js","https:/framerusercontent.com/modules/ZkH7fJxhmqZcrglWy6e9/jg1afezs6T1tddWBHcwP/cart.js","https:/framerusercontent.com/modules/h8NiJEJpWFHyeRETbmyt/8yFZXOUwH5F5bkx7bL6Q/slot.js","https:/framerusercontent.com/modules/GWfspgjtCDM1TzNhU8zZ/qqg4ghGDLDMPIKD53Sop/modal.js","https:/framerusercontent.com/modules/hX4Ghq01xttz4H9HUMVb/bmOOpN099454zE9xwVO8/aT4mEY39K.js","https:/framerusercontent.com/modules/MemSb1OQjegBQKEdOeaK/e8FAlHCfZ1FmDE3rA65k/GEgOLTmVH.js","https:/framerusercontent.com/modules/xhDNiUUnLoUI9YivEWsf/Wij8DAx399eqblxpoqjt/JwdxshI8r.js","https:/framerusercontent.com/modules/xmte983NBu1MBJLnE62V/bXpaOJkrgPIqM4TJhwwi/nTC8uzm37.js","https:/framerusercontent.com/modules/c8J9oV003JgXfnTpuV16/LpYgnDRoipfiyYHkik1i/siteMetadata.js"],"sourcesContent":["// soundee-core rebuild r14 (2026-09-18) — cache bust, see docs/migration/framer-core/07-framer-sync-log.md\n// registry — one place that knows whether SoundeeModals is on the page, and\n// what it looks like.\n//\n// Lives on `globalThis`, not module scope: Framer serves every component from\n// its own module URL, so the modals component and the lists asking about it are\n// different module instances. Module state would never cross that line.\n//\n// Everything here degrades: with no SoundeeModals placed, `hasSoundeeModals()`\n// is false and callers keep their existing behaviour (firing a named overlay a\n// designer built), while `getModalTheme()` returns defaults so anything already\n// styling itself from these tokens still looks right.\nimport*as React from\"react\";const MOUNTED_KEY=\"__soundeeModalsMounted__\";const THEME_KEY=\"__soundeeModalsTheme__\";const LISTENERS_KEY=\"__soundeeModalsListeners__\";export const DEFAULT_MODAL_THEME={maxWidth:460,padding:18,surface:\"#1c1c1c\",border:\"rgba(255,255,255,0.10)\",scrim:\"rgba(0,0,0,0.6)\",radius:16,textPrimary:\"#ffffff\",textSecondary:\"rgba(255,255,255,0.55)\",accent:\"#c8a06a\",accentText:\"#121212\",danger:\"rgb(240,120,120)\",success:\"rgb(140,220,160)\",inputFill:\"rgba(255,255,255,0.03)\",shadow:\"0px 24px 64px 0px rgba(0,0,0,0.5)\",fontHeading:{fontSize:\"20px\",fontWeight:700,lineHeight:\"1.25em\"},fontTitle:{fontSize:\"16px\",fontWeight:600,lineHeight:\"1.3em\"},fontBody:{fontSize:\"14px\",lineHeight:\"1.4em\"},fontButton:{fontSize:\"14px\",fontWeight:600,lineHeight:1},buttonRadius:999,buttonHeight:46,mobilePresentation:\"Drawer\",transition:{type:\"tween\",duration:.22,ease:[.32,.72,0,1]},// Damping ratio ~0.66: it passes its resting place by about 6% and settles\n// in a third of a second. Enough to feel thrown rather than moved, short of\n// the wobble that makes a panel look unserious the tenth time you open it.\nslideTransition:{type:\"spring\",stiffness:420,damping:27,mass:1}};function scope(){return globalThis;}function listeners(){const s=scope();let set=s[LISTENERS_KEY];if(!set){set=new Set;s[LISTENERS_KEY]=set;}return set;}function emit(){for(const listener of listeners())listener();}/**\n * True when a SoundeeModals component is rendering on this page.\n *\n * Callers use it to choose between the built-in modal and firing a named\n * overlay, so the answer decides behaviour — never assume it.\n */export function hasSoundeeModals(){return scope()[MOUNTED_KEY]===true;}/**\n * Overlay names SoundeeModals renders itself.\n *\n * Anything not listed keeps going through the designed-overlay path, so adding\n * a modal here is the single switch that hands that name over. Without this,\n * `openModal` would fire the named overlay *and* the built-in one, opening two\n * panels for a site that has both.\n */const OWNED_MODALS=new Set([\"license\",\"download\",\"share\",\"cart\"]);export function ownsModal(name){return!!name&&hasSoundeeModals()&&OWNED_MODALS.has(name);}/**\n * Every overlay SoundeeModals draws, including the ones that open from the\n * cart store rather than the modal store.\n *\n * \"deals\" is deliberately not in `OWNED_MODALS`: it opens through its own\n * store and listens for the by-name event, so `openModal` must keep firing\n * that event rather than short-circuiting — short-circuited, a designed button\n * with With Entity on would open nothing at all.\n */const BUILT_IN_OVERLAYS=new Set([...OWNED_MODALS,\"deals\"]);/** True when SoundeeModals is on the page and draws this overlay itself. */export function isBuiltInOverlay(name){return!!name&&hasSoundeeModals()&&BUILT_IN_OVERLAYS.has(name);}export function getModalTheme(){return scope()[THEME_KEY]??DEFAULT_MODAL_THEME;}export function setModalTheme(theme){scope()[THEME_KEY]=theme;emit();}/** Called by SoundeeModals on mount; the returned function unregisters it. */export function registerSoundeeModals(){scope()[MOUNTED_KEY]=true;emit();return()=>{delete scope()[MOUNTED_KEY];emit();};}export function subscribeModals(listener){const set=listeners();set.add(listener);return()=>{set.delete(listener);};}/** Re-renders on registration or theme changes. */export function useModalTheme(){const[theme,setTheme]=React.useState(getModalTheme);React.useEffect(()=>{setTheme(getModalTheme());return subscribeModals(()=>setTheme(getModalTheme()));},[]);return theme;}\nexport const __FramerMetadata__ = {\"exports\":{\"registerSoundeeModals\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"subscribeModals\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ModalPresentation\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ownsModal\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"DEFAULT_MODAL_THEME\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"hasSoundeeModals\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isBuiltInOverlay\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getModalTheme\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useModalTheme\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"setModalTheme\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ModalTheme\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./registry.map","// soundee-core rebuild r14 (2026-09-18) — cache bust, see docs/migration/framer-core/07-framer-sync-log.md\n// Shared by the Framer component modules. A store change is a new runtime\n// generation, even when switching A → B → A while A still has requests in flight.\nconst local={identity:null,generation:0,listeners:new Set};function runtime(){if(typeof window===\"undefined\")return local;const scope=globalThis;return scope.__soundeeStoreScopeV1__??={identity:null,generation:0,listeners:new Set};}export function getStoreIdentity(){return runtime().identity;}export function getStoreGeneration(){return runtime().generation;}export function isCurrentStoreGeneration(generation){return generation===getStoreGeneration();}export function onStoreChange(listener){runtime().listeners.add(listener);return()=>{runtime().listeners.delete(listener);};}export function initializeStoreIdentity(identity){return runtime().identity??=identity;}export function changeStoreIdentity(identity){const state=runtime();const old=state.identity;if(old?.baseUrl===identity.baseUrl&&old.userId===identity.userId&&old.storeId===identity.storeId)return;state.identity=identity;state.generation++;for(const listener of[...state.listeners]){try{listener();}catch(error){// A custom overlay close callback must not prevent the API/config\n// and the remaining stores from adopting the new identity.\nconsole.error(\"[Soundee] Could not reset store state\",error);}}}export class StoreChangedError extends Error{constructor(){super(\"The connected Soundee store changed. Discarding the previous request.\");this.name=\"StoreChangedError\";}}export function assertStoreGeneration(generation){if(!isCurrentStoreGeneration(generation))throw new StoreChangedError;}\nexport const __FramerMetadata__ = {\"exports\":{\"changeStoreIdentity\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"initializeStoreIdentity\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isCurrentStoreGeneration\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"assertStoreGeneration\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"StoreChangedError\":{\"type\":\"class\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"onStoreChange\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"StoreIdentity\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getStoreIdentity\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getStoreGeneration\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./store_scope.map","// soundee-core rebuild r14 (2026-09-18) — cache bust, see docs/migration/framer-core/07-framer-sync-log.md\nimport{useSyncExternalStore}from\"react\";export function createExternalStore(initial,serverInitial){let state={...initial};const listeners=new Set;// Snapshot used during SSR and the hydration render so the first client\n// render matches the server markup. When a distinct serverInitial is given,\n// the live client snapshot may differ (e.g. a value read synchronously from\n// localStorage); useSyncExternalStore reconciles that before paint. When it\n// is omitted, the server snapshot equals the live state (unchanged behavior).\nconst hasServerSnapshot=serverInitial!==undefined;const serverState=hasServerSnapshot?{...serverInitial}:state;function getState(){return state;}function getServerState(){return hasServerSnapshot?serverState:state;}function setState(partial){const next=typeof partial===\"function\"?partial(state):{...state,...partial};// An updater may return the previous state to say \"nothing changed\".\n// Honouring that here keeps a no-op write from waking every\n// useSyncExternalStore subscriber — which, during a Framer page\n// transition, is what forces React to restart the render synchronously.\nif(next===state)return;state=next;listeners.forEach(l=>l());}function subscribe(listener){listeners.add(listener);return()=>{listeners.delete(listener);};}function useStore(){return useSyncExternalStore(subscribe,getState,getServerState);}function useSelector(selector){return useSyncExternalStore(subscribe,()=>selector(getState()),()=>selector(getServerState()));}return{getState,setState,subscribe,useStore,useSelector};}\nexport const __FramerMetadata__ = {\"exports\":{\"createExternalStore\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./create_store.map","// soundee-core rebuild r14 (2026-09-18) — cache bust, see docs/migration/framer-core/07-framer-sync-log.md\nexport function formatTime(seconds){if(!seconds||isNaN(seconds))return\"0:00\";const m=Math.floor(seconds/60);const s=Math.floor(seconds%60);return`${m}:${s.toString().padStart(2,\"0\")}`;}/**\n * A price with its currency symbol, dropping a trailing \".00\".\n *\n * \"$29\" reads as a price; \"$29.00\" reads as an invoice line. Written out\n * identically in the license picker and the free download modal before this,\n * and the cart panel would have made three.\n */export function formatPrice(value,currency){return`${currency}${Number(value).toFixed(2).replace(/\\.00$/,\"\")}`;}\nexport const __FramerMetadata__ = {\"exports\":{\"formatPrice\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"formatTime\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./format.map","// soundee-core rebuild r14 (2026-09-18) — cache bust, see docs/migration/framer-core/07-framer-sync-log.md\nimport{formatTime}from\"https://framerusercontent.com/modules/XqjS6RmB7bMfpSFcXWq7/Oim1PnSjexxaxkFS6DgJ/format.js\";export function mapLicense(raw){const files=raw.files??{mp3:0,wav:0,stems:0};const deals=raw.deals??[];return{id:raw.id,name:raw.name,price:raw.price,type:raw.type,exclusive:raw.exclusive===1,highlight:raw.highlight===1,description:raw.description??\"\",features:raw.features??\"\",streams:raw.streams,distribution:raw.distribution,musicVideos:raw.musicVideos,videoStreams:raw.videoStreams,broadcasting:raw.broadcasting===1||raw.broadcasting===-1,radioStations:raw.radioStations,performances:raw.performances,offers:raw.offers===1,offersOnly:raw.offersOnly===1||raw.price===0&&raw.offers===1,minOfferAmount:raw.minOfferAmount,files:{mp3:files.mp3===1,wav:files.wav===1,stems:files.stems===1},deals:deals.map(d=>({id:d.id,buy:d.buy,free:d.free,dealString:d.dealString}))};}export function mapTrack(raw){const mappedLicenses=(raw.licenses??[]).map(mapLicense);const purchasable=mappedLicenses.filter(l=>!l.offersOnly&&l.price>0);const minLicensePrice=purchasable.length?Math.min(...purchasable.map(l=>l.price)):null;return{entityType:\"track\",trackId:raw.id,entityId:raw.entityId,title:raw.title,description:raw.description??\"\",artworkUrlSmall:raw.artwork?.sources?.small??\"\",artworkUrlMedium:raw.artwork?.sources?.medium??\"\",artworkUrlLarge:raw.artwork?.sources?.large??\"\",artworkColor:raw.artwork?.color??\"\",mp3Src:raw.media?.sources?.publicMp3??\"\",m3u8Src:raw.media?.sources?.publicM3u8??\"\",urlSlug:raw.url,artists:raw[\"type-artists\"]?.map(a=>a.name)??[],tags:raw.tags?.map(t=>t.name)??[],moods:raw.moods?.map(m=>m.name)??[],genre:raw.genre?.name??\"\",bpm:raw.bpm?.value||null,keyString:raw.key?.string??\"\",collaborators:raw.collaborators?.map(c=>c.user.displayname)??[],artistsText:raw[\"type-artists\"]?.map(a=>a.name).join(\", \")??\"\",duration:raw.playtime,durationFormatted:formatTime(raw.playtime),created:raw.created??0,status:raw.status??1,price:raw.price??0,demoDownloadEnabled:raw.download===1,forSale:raw.forSale===1,offers:raw.offers===1,minOfferAmount:raw.minOfferAmount??null,licenses:mappedLicenses,minLicensePrice,interaction:{liked:!!raw.interaction?.liked},_raw:raw};}\nexport const __FramerMetadata__ = {\"exports\":{\"mapLicense\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"mapTrack\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./track.map","// soundee-core rebuild r14 (2026-09-18) — cache bust, see docs/migration/framer-core/07-framer-sync-log.md\nexport function mapKit(raw){return{entityType:\"kit\",entityId:raw.entityId,id:raw.id,title:raw.title,urlSlug:raw.url,artworkUrlSmall:raw.artwork?.sources?.small??\"\",artworkUrlMedium:raw.artwork?.sources?.medium??\"\",artworkUrlLarge:raw.artwork?.sources?.large??\"\",artworkColor:raw.artwork?.color??\"\",price:raw.price,status:raw.status,forSale:raw.forSale===1,statusText:raw.statusText,description:raw.description,created:raw.created,kitType:raw.type,kitTypeId:raw.typeId,artistName:raw.user?.displayname??\"\",artistUsername:raw.user?.username??\"\",artistAvatarSmall:raw.user?.avatar?.sources?.small??\"\",artistVerified:raw.user?.verified===1,interaction:{liked:!!raw.interaction?.liked},_raw:raw};}\nexport const __FramerMetadata__ = {\"exports\":{\"mapKit\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./kit.map","// soundee-core rebuild r14 (2026-09-18) — cache bust, see docs/migration/framer-core/07-framer-sync-log.md\n/**\n * An entity's own sub-type (\"Drum Kit\", \"Mixing Service\") arrives in two\n * different shapes from the API:\n *\n * - **Kits** select it flat: `'type' => 'kt.name'` → a plain string.\n * - **Services** expand the whole `servicesTypes` row onto `type`\n *   (`queries/expand/services.php`, `key: \"type\"`, matched on `typeId → id`)\n *   → an object shaped `{ id, url, name }`.\n * - **Tracks** have no equivalent field at all.\n *\n * Reading `object.type` directly therefore renders `[object Object]` for\n * services. Everything that surfaces this label goes through here instead.\n */export function getObjectTypeLabel(type){if(!type)return\"\";if(typeof type===\"string\")return type.trim();if(typeof type===\"object\"){const row=type;// `name` is the column servicesTypes exposes; the others are defensive\n// in case another expanded type table words it differently.\nconst label=row.name??row.title??row.label;return typeof label===\"string\"?label.trim():\"\";}return\"\";}/** The sub-type's own id, whichever shape `type` arrived in. */export function getObjectTypeId(type,fallbackTypeId){if(type&&typeof type===\"object\"){const row=type;if(row.id!=null)return String(row.id);}if(fallbackTypeId!=null)return String(fallbackTypeId);return\"\";}\nexport const __FramerMetadata__ = {\"exports\":{\"getObjectTypeId\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getObjectTypeLabel\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./object_type.map","// soundee-core rebuild r14 (2026-09-18) — cache bust, see docs/migration/framer-core/07-framer-sync-log.md\nimport{getObjectTypeLabel}from\"https://framerusercontent.com/modules/d3VRtpPEqbZowvAH2Zxw/zTJIWEhWaDQp7jiQQkt8/object_type.js\";export function mapService(raw){return{entityType:\"service\",entityId:raw.entityId,id:raw.id,title:raw.title,urlSlug:raw.url,artworkUrlSmall:raw.artwork?.sources?.small??\"\",artworkUrlMedium:raw.artwork?.sources?.medium??\"\",artworkUrlLarge:raw.artwork?.sources?.large??\"\",artworkColor:raw.artwork?.color??\"\",price:raw.price,status:raw.status,forSale:raw.forSale===1,statusText:raw.statusText,description:raw.description,created:raw.created,serviceType:getObjectTypeLabel(raw.type),serviceTypeId:raw.typeId,artistName:raw.user?.displayname??\"\",artistUsername:raw.user?.username??\"\",artistAvatarSmall:raw.user?.avatar?.sources?.small??\"\",artistVerified:raw.user?.verified===1,interaction:{liked:!!raw.interaction?.liked},_raw:raw};}\nexport const __FramerMetadata__ = {\"exports\":{\"mapService\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./service.map","// soundee-core rebuild r14 (2026-09-18) — cache bust, see docs/migration/framer-core/07-framer-sync-log.md\nexport function mapUser(raw){return{entityType:\"user\",entityId:raw.entityId,userId:raw.id,title:raw.displayname,description:\"\",username:raw.username,urlSlug:raw.username,email:raw.email??\"\",artworkUrlSmall:raw.avatar?.sources?.small??\"\",artworkUrlMedium:raw.avatar?.sources?.medium??\"\",artworkUrlLarge:raw.avatar?.sources?.large??\"\",artworkColor:raw.avatar?.color??raw.color??\"\",verified:raw.verified===1,isProducer:raw.isProducer===1,active:raw.active!==0,interaction:{following:!!raw.interaction?.following},_raw:raw};}\nexport const __FramerMetadata__ = {\"exports\":{\"mapUser\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./user.map","// soundee-core rebuild r14 (2026-09-18) — cache bust, see docs/migration/framer-core/07-framer-sync-log.md\nimport{createExternalStore}from\"https://framerusercontent.com/modules/UH4WTHe23jjVFZ4QN9aB/pXMXEE6fEy1994ZzJknr/create_store.js\";import{onStoreChange}from\"https://framerusercontent.com/modules/Gv0ECINhqtCM2CKYMkBP/GcvCm6kYtEl73wOU95G5/store_scope.js\";import{mapTrack}from\"https://framerusercontent.com/modules/lm3ZXHj8VEDt9wKH3h8G/kSUQfkWdQ4b2pykDEfi0/track.js\";import{mapKit}from\"https://framerusercontent.com/modules/wv26nijFqUUchrPhXcpA/plHk76dfhZb61VDrayyd/kit.js\";import{mapService}from\"https://framerusercontent.com/modules/ADT0jp7b0HfXOtausI8j/2DTx4YSBw3YeYAl43weL/service.js\";import{mapUser}from\"https://framerusercontent.com/modules/WWILyeUJyytnBT1Q2flA/akyiCaACA1ZdN0sScidd/user.js\";const _store=createExternalStore({tracks:{},kits:{},services:{},users:{}});export const useEntityStore=_store.useStore;export const useEntitySelector=_store.useSelector;onStoreChange(()=>_store.setState({tracks:{},kits:{},services:{},users:{}}));function applyUpsert(existing,incoming,patchFn){// The map is only copied once something actually changes. Every consumer\n// subscribes to the whole map, so an upsert that keeps each row (the\n// `insertIfAbsent` seed of an already-loaded entity, most commonly) must\n// hand back the same reference or it re-renders every list and carousel\n// on the page for nothing.\nlet next=null;for(const item of incoming){const prev=existing[item.entityId];const value=patchFn?patchFn(item,prev):{...prev,...item};if(value===prev)continue;if(!next)next={...existing};next[item.entityId]=value;}return next??existing;}function commitUpsert(key,items,patchFn){_store.setState(prev=>{const existing=prev[key];const next=applyUpsert(existing,items,patchFn);if(next===existing)return prev;return{...prev,[key]:next};});}// ─── Entity registry ─────────────────────────────────────────────────────────\nconst entityRegistry={track:items=>upsertTracks(items),kit:items=>upsertKits(items),service:items=>upsertServices(items),user:items=>upsertUsers(items)};export function upsertEntities(rawEntities){const grouped=new Map;for(const raw of rawEntities){const type=raw.entityType;if(!type||!(type in entityRegistry))continue;if(!grouped.has(type))grouped.set(type,[]);grouped.get(type).push(raw);}for(const[type,items]of grouped){entityRegistry[type](items);}}// ─── Generic lookup ───────────────────────────────────────────────────────────\nexport function getEntity(entityId){const s=_store.getState();return s.tracks[entityId]??s.kits[entityId]??s.services[entityId]??s.users[entityId];}/**\n * Which catalog an entity belongs to, or null when the store has never seen it.\n *\n * The like state is one set of ids with no type on it, so anything that has to\n * act per catalog — a favorites list of kits should not react to a liked track —\n * asks here. The store is the only place that knows, and by the time something\n * can be liked it has been rendered, so it is in here.\n */export function getEntityKind(entityId){const s=_store.getState();if(s.tracks[entityId])return\"tracks\";if(s.kits[entityId])return\"kits\";if(s.services[entityId])return\"services\";return null;}// ─── Tracks ───────────────────────────────────────────────────────────────────\nexport function getTrack(entityId){return _store.getState().tracks[entityId];}export function upsertTracks(rawTracks,options){const mapped=rawTracks.map(mapTrack);commitUpsert(\"tracks\",mapped,(track,prev)=>{// CMS and other potentially stale sources only seed when absent so a\n// fresher live entity is preserved.\nif(prev&&options?.insertIfAbsent)return prev;// A partial payload (e.g. the leaner object embedded in a cart\n// response) must enrich the stored entity, not replace it. Merging\n// the raw payloads keeps metadata the new payload omits (moods,\n// type-artists, collaborators, …) and re-maps so derived fields stay\n// consistent with the merged raw.\nconst merged=prev?._raw&&track._raw?mapTrack({...prev._raw,...track._raw}):track;return{...prev,...merged};});return mapped;}export function getActiveTrack(entities,entityId){if(!entityId)return null;return entities.tracks[entityId]??null;}// ─── Kits ─────────────────────────────────────────────────────────────────────\nexport function getKit(entityId){return _store.getState().kits[entityId];}export function upsertKits(rawKits,options){const mapped=rawKits.map(mapKit);commitUpsert(\"kits\",mapped,(kit,prev)=>{if(prev&&options?.insertIfAbsent)return prev;return{...prev,...kit};});return mapped;}// ─── Services ───────────────────────────────────────────────────────────────\nexport function getService(entityId){return _store.getState().services[entityId];}export function upsertServices(rawServices,options){const mapped=rawServices.map(mapService);commitUpsert(\"services\",mapped,(service,prev)=>{if(prev&&options?.insertIfAbsent)return prev;return{...prev,...service};});return mapped;}// ─── Users ────────────────────────────────────────────────────────────────────\nexport function getUser(entityId){return _store.getState().users[entityId];}export function upsertUsers(rawUsers,options){const mapped=rawUsers.filter(raw=>raw?.entityId&&raw?.id).map(mapUser);commitUpsert(\"users\",mapped,(user,prev)=>{if(prev&&options?.insertIfAbsent)return prev;return{...prev,...user};});return mapped;}\nexport const __FramerMetadata__ = {\"exports\":{\"upsertEntities\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getKit\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"upsertUsers\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getEntityKind\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"UpsertOptions\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useEntityStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getUser\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getEntity\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useEntitySelector\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"upsertTracks\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"upsertServices\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getTrack\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"upsertKits\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getActiveTrack\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getService\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./entities.map","// soundee-core rebuild r14 (2026-09-18) — cache bust, see docs/migration/framer-core/07-framer-sync-log.md\n// The session token — in memory only, never persisted.\n//\n// It used to live in localStorage (`snd_token`), which meant any page\n// owner's custom code could read it and act as the visitor long after the\n// visit. The credential now travels in an HttpOnly partitioned cookie the\n// server sets on `GET /sessions?auth=cookie`; JS never sees it at all on\n// browsers that support CHIPS.\n//\n// What remains here is the fallback for browsers without partitioned\n// cookies (Safari before 18.4): the server still returns the token in the\n// body there, and it lives in this module variable for the lifetime of the\n// page view. Not persisted on purpose — a login that does not survive a\n// reload on old Safari is the accepted cost of a credential that can never\n// be stolen from storage anywhere. The cart survives independently via\n// `snd_cart` (see store/cart_token.tsx).\nimport{onStoreChange}from\"https://framerusercontent.com/modules/Gv0ECINhqtCM2CKYMkBP/GcvCm6kYtEl73wOU95G5/store_scope.js\";const LEGACY_STORAGE_KEY=\"snd_token\";let _token=null;let _legacyCleared=false;/** Wipe the pre-cookie persisted token, once. Runs on session init. */export function clearLegacyPersistedToken(){if(_legacyCleared)return;_legacyCleared=true;try{localStorage.removeItem(LEGACY_STORAGE_KEY);}catch{}}export function getSessionToken(){return _token;}export function setSessionToken(token){_token=token||null;}// ─── Session presence ────────────────────────────────────────────────────────\n//\n// Lives here, in a leaf module, so the stores that gate on \"do we have a\n// session?\" (likes, cart, auth codes) don't have to import the session store\n// and create an import cycle. The old signal was `getSessionToken() != null`,\n// which stopped existing when the token moved into the HttpOnly cookie.\nlet _established=false;onStoreChange(()=>{// Keep the visitor's cookie/fallback credential, but disable mutations\n// until the new store's session has been loaded.\n_established=false;});/** Called by the session store once `GET /sessions` has answered. */export function markSessionEstablished(){_established=true;}export function hasSession(){return _established;}\nexport const __FramerMetadata__ = {\"exports\":{\"clearLegacyPersistedToken\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"hasSession\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getSessionToken\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"setSessionToken\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"markSessionEstablished\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./token_new.map","// soundee-core rebuild r14 (2026-09-18) — cache bust, see docs/migration/framer-core/07-framer-sync-log.md\nfunction _define_property(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}import{getSessionToken}from\"https://framerusercontent.com/modules/dBt19uczKsS98p2bZoOW/B8jBSbrtS4nEQRXP2n9N/token_new.js\";import{assertStoreGeneration,getStoreGeneration,getStoreIdentity,StoreChangedError}from\"https://framerusercontent.com/modules/Gv0ECINhqtCM2CKYMkBP/GcvCm6kYtEl73wOU95G5/store_scope.js\";export class ApiError extends Error{constructor(status,message){super(message);_define_property(this,\"status\",void 0);this.status=status;this.name=\"ApiError\";}}// ─── Module-level config ─────────────────────────────────────────────────────\nlet _baseUrl=\"https://api2.soundee.com\";let _storeId=\"\";export function setApiBaseUrl(url){_baseUrl=url.replace(/\\/$/,\"\");}export function setApiStoreId(id){_storeId=id;}function resolveBase(config){return config?.baseUrl??_baseUrl;}export function getApiBaseUrl(){return _baseUrl;}export function getApiStoreId(){return _storeId;}function authHeaders(config){const headers={\"Content-Type\":\"application/json\"};const token=getSessionToken();if(token)headers[\"UUID\"]=token;const storeId=config?.storeId==null?_storeId:String(config.storeId);if(storeId)headers[\"STORE\"]=storeId;return headers;}function requestGeneration(config){const identity=getStoreIdentity();// A stale observer or playlist callback must not start another old-store\n// request after the switch, including a retry of a cancelled query.\nif(identity&&(config?.storeId!=null&&String(config.storeId)!==String(identity.storeId)||config?.userId!=null&&String(config.userId)!==String(identity.userId)))throw new StoreChangedError;return getStoreGeneration();}// ─── GET ─────────────────────────────────────────────────────────────────────\nexport async function apiGet(config,path,params){const generation=requestGeneration(config);const url=new URL(`${resolveBase(config)}${path}`);if(params){Object.entries(params).forEach(([k,v])=>{if(v!==undefined&&v!==null&&v!==\"\"){url.searchParams.set(k,String(v));}});}// Cookie-mode auth: the HttpOnly embed cookie must travel with every\n// API call. Harmless for public endpoints; essential for the session.\nconst res=await fetch(url.toString(),{headers:authHeaders(config),credentials:\"include\"});assertStoreGeneration(generation);if(!res.ok){throw new ApiError(res.status,`API error ${res.status}: ${path}`);}const data=await res.json();assertStoreGeneration(generation);return data;}export async function fetchEntityCount(config,path,filters){const params={return:\"count\"};if(filters){for(const[key,value]of Object.entries(filters)){if(value==null||value===\"\"||value===false)continue;params[key]=value;}}const res=await apiGet(config,path,params);return res?.response?.data??{count:0,precision:\"exact\"};}export async function fetchSuggestedTags(config,path,filters,limit){const params={return:\"tags\",limit};if(filters){for(const[key,value]of Object.entries(filters)){if(value==null||value===\"\"||value===false)continue;params[key]=value;}}const res=await apiGet(config,path,params);const data=res?.response?.data;if(!Array.isArray(data))return[];// Coerced at the boundary, because the API serialises a purely numeric\n// tag (\"451\") as a JSON number. One consumer calling `.trim()` on that\n// took the whole suggested-tags row down — but only once a filter put\n// the numeric tag inside the suggestion window, which is why it read as\n// \"crashes when I filter on hook\". Every consumer relies on the\n// `SuggestedTag` type saying `tag: string`; this is where that becomes\n// true.\nconst out=[];for(const item of data){const raw=item!=null&&typeof item===\"object\"?item.tag:item;if(raw==null)continue;const tag=String(raw).trim();if(tag)out.push({tag});}return out;}// ─── POST ────────────────────────────────────────────────────────────────────\nexport async function apiPost(path,body,config){const generation=requestGeneration(config);const res=await fetch(`${resolveBase(config)}${path}`,{method:\"POST\",headers:authHeaders(config),credentials:\"include\",body:body?JSON.stringify(body):undefined});const json=await res.json();assertStoreGeneration(generation);if(!res.ok){const msg=json?.response?.data?.message??`API error ${res.status}: ${path}`;throw new ApiError(res.status,msg);}if(json?.status===false){const code=json.response_code??json.response?.data?.code??400;const msg=json.response?.data?.message??\"Something went wrong\";throw new ApiError(code,msg);}return json;}// ─── PUT ─────────────────────────────────────────────────────────────────────\nexport async function apiPut(path,body,config){const generation=requestGeneration(config);const res=await fetch(`${resolveBase(config)}${path}`,{method:\"PUT\",headers:authHeaders(config),credentials:\"include\",body:body?JSON.stringify(body):undefined});const json=await res.json();assertStoreGeneration(generation);if(!res.ok){const msg=json?.response?.data?.message??`API error ${res.status}: ${path}`;throw new ApiError(res.status,msg);}if(json?.status===false){const code=json.response_code??json.response?.data?.code??400;const msg=json.response?.data?.message??\"Something went wrong\";throw new ApiError(code,msg);}return json;}// ─── DELETE ──────────────────────────────────────────────────────────────────\nexport async function apiDelete(path,config){const generation=requestGeneration(config);const res=await fetch(`${resolveBase(config)}${path}`,{method:\"DELETE\",headers:authHeaders(config),credentials:\"include\"});assertStoreGeneration(generation);if(!res.ok){throw new ApiError(res.status,`API error ${res.status}: ${path}`);}const text=await res.text();assertStoreGeneration(generation);return text?JSON.parse(text):undefined;}\nexport const __FramerMetadata__ = {\"exports\":{\"fetchEntityCount\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ApiClientConfig\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ApiError\":{\"type\":\"class\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"apiGet\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SuggestedTag\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"apiDelete\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fetchSuggestedTags\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"apiPut\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getApiBaseUrl\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"setApiStoreId\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"setApiBaseUrl\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"apiPost\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getApiStoreId\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./client.map","// soundee-core rebuild r14 (2026-09-18) — cache bust, see docs/migration/framer-core/07-framer-sync-log.md\n// The cart token — the one credential that is ALLOWED to persist in\n// localStorage.\n//\n// Deliberate split (2026-08-20): the session token moved into an HttpOnly\n// cookie because a page owner's code can read localStorage and take over\n// accounts after the visit. The cart token stays here because it is worth\n// almost nothing to a thief — it can read and copy a cart's items, never\n// the buyer's identity, details or session (verified against api-v2:\n// `?cart=` clones, checkout details live in `paypalCart` under their own\n// transaction token) — and because persisting it is what keeps the cart\n// alive on browsers where the partitioned cookie never arrives (Safari\n// < 18.4). Sent as `cart=` with every `GET /sessions`; the server adopts a\n// clone when the session lost its own, and the response hands back the\n// current token, which lands here again. A self-healing chain.\nconst STORAGE_KEY=\"snd_cart\";let _cartToken=null;export function getCartToken(){if(_cartToken)return _cartToken;try{_cartToken=localStorage.getItem(STORAGE_KEY);}catch{}return _cartToken;}export function setCartToken(token){if(!token||token===_cartToken)return;_cartToken=token;try{localStorage.setItem(STORAGE_KEY,token);}catch{}}\nexport const __FramerMetadata__ = {\"exports\":{\"setCartToken\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCartToken\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./cart_token.map","// soundee-core rebuild r14 (2026-09-18) — cache bust, see docs/migration/framer-core/07-framer-sync-log.md\nfunction cloneItems(items){return items.map(item=>({...item,price:item.price??0,originalPrice:item.price??0}));}function removeByEntityId(pool,entityId){const idx=pool.findIndex(i=>i.entityId===entityId);if(idx!==-1)pool.splice(idx,1);}// ─── Fixed Bundle (N for $X) ─────────────────────────────────────────────────\nfunction applyFixedPrice(pool,allItems,deal,licenseId,totals){const{buy,price:fixedPrice,dealString}=deal;const eligible=pool.filter(item=>{if(item.transactionLicenseId&&!deal.upgrades)return false;return true;});const applies=Math.floor(eligible.length/buy);if(!applies)return;const totalToBuy=applies*buy;// Sort ascending by price then created (cheapest first, matching PHP SORT_ASC)\nconst sorted=[...eligible].sort((a,b)=>a.price!==b.price?a.price-b.price:(a.created??0)-(b.created??0));for(let j=0;j<totalToBuy;j++){const item=sorted[j];// First item in each group gets the deal price, rest get 0\n// PHP: ($j + 1) % $deal['buy'] == 1\nconst newPrice=j%buy===0?fixedPrice:0;const discount=item.price-newPrice;// Update the actual item in allItems\nconst real=allItems.find(i=>i.entityId===item.entityId);if(real)real.price=newPrice;// Net the full delta into bulkDiscount. The item that carries the fixed\n// bundle price (the cheapest in each group) goes UP when its original\n// price is below the bundle price, and that increase must offset the\n// freed items — otherwise bulkDiscount is overstated and the cart total\n// is understated. Matches the PHP Discounter, which nets\n// originalPrice - newPrice for every changed item. Only surface a\n// per-item savings line for a real (positive) discount.\ntotals.bulkDiscount+=discount;if(discount>0){totals.deals.push({type:\"bulk\",dealType:\"fixed\",licenseId,entityId:item.entityId,discount,title:item.object?.title??\"\",originalPrice:item.originalPrice,dealString});}removeByEntityId(pool,item.entityId);}}// ─── Buy N Get X Free ────────────────────────────────────────────────────────\nfunction applyBuyNGetXFree(pool,allItems,deal,licenseId,totals){const{buy,free,dealString}=deal;const eligible=pool.filter(item=>{if(item.transactionLicenseId&&!deal.upgrades)return false;return true;});const count=eligible.length;const groupSize=buy+free;const applies=Math.floor(count/groupSize);if(!applies)return;// Sort descending by price then created ascending (matching PHP SORT_DESC)\nconst sorted=[...eligible].sort((a,b)=>a.price!==b.price?b.price-a.price:(a.created??0)-(b.created??0));// Track which entityIds get consumed (both paid and free)\nconst consumed=new Set;// Walk from expensive end, every `buy` paid items unlock `free` items from cheap end\nlet lastFree=count;for(let e=0;e<count;e++){if((e+1)%buy===0){if(e+1>=lastFree)break;// Mark paid items as consumed\nfor(let k=e;k>=e-(buy-1);k--){consumed.add(sorted[k].entityId);}const from=Math.max(e+1,lastFree-free);const to=lastFree;for(let j=from;j<to;j++){const freeItem=sorted[j];const discount=freeItem.price;const real=allItems.find(i=>i.entityId===freeItem.entityId);if(real)real.price=0;if(discount>0){totals.bulkDiscount+=discount;totals.deals.push({type:\"bulk\",dealType:\"free\",licenseId,entityId:freeItem.entityId,discount,title:freeItem.object?.title??\"\",originalPrice:freeItem.originalPrice,dealString});}consumed.add(freeItem.entityId);}lastFree=from;}}for(const entityId of consumed){removeByEntityId(pool,entityId);}}// ─── Coupons ─────────────────────────────────────────────────────────────────\n/**\n * Whether `coupon` covers `item`, and whether it then keeps the item out of the\n * bulk deals. A port of the PHP Discounter, which decides the price at\n * checkout — this only has to agree with it.\n *\n * Every applicable condition has to pass; a condition with an empty list, or\n * one that says nothing about this item (a licence list on a kit), is skipped.\n * Numbers are coerced throughout: a \"0\" from the API is truthy in JS and would\n * read as \"stop bulk discounts\" or \"allows exclusives\".\n */function couponCovers(coupon,item,storeId){const no={ok:false,stop:false};if(item.license?.exclusive&&!Number(coupon.exclusives))return no;const upgrades=Number(coupon.upgrades);if(upgrades===0&&item.transactionLicenseId)return no;if(upgrades===2&&!item.transactionLicenseId)return no;let ok=null;// Typed by hand: Framer's own typecheck cannot follow the type import, and\n// an untyped `conditions` reads as `{}` there\nconst conditions=Object.entries(coupon.conditions??{});for(const[name,condition]of conditions){ok=null;const list=condition?.list??[];if(!list.length)continue;const ids=list.map(entry=>String(entry.id));switch(name){case\"stores\":if(storeId)ok=ids.includes(String(storeId));else if(!Number(condition.exclude))ok=false;break;case\"licenses\":if(item.licenseId)ok=ids.includes(String(item.licenseId));break;case\"entityTypes\":ok=ids.includes(String(item.typeId));break;case\"entities\":ok=ids.includes(String(item.entityId));break;}if(ok===null)continue;if(Number(condition.exclude))ok=!ok;if(!ok)break;}const covered=ok===null?true:ok;return{ok:covered,stop:covered&&!!Number(coupon.stopBulkDiscounts)};}/**\n * What a coupon takes off the items it covers, or null when the cart falls\n * short of it. The minimums and a fixed amount look at the prices before any\n * bulk deal; a rate is taken from the prices after them. That split is the\n * Discounter's, not a choice made here.\n */function couponDiscount(coupon,covered){const total=covered.reduce((sum,item)=>sum+item.originalPrice,0);const count=covered.length;const amount=Number(coupon.amount);if(Number(coupon.minCartAmount)&&total<Number(coupon.minCartAmount))return null;if(Number(coupon.minCartItems)&&count<Number(coupon.minCartItems))return null;if(coupon.type===\"fixed\"){// A flat discount as large as the order is never given\nif(amount>=total)return null;return amount;}const afterDeals=covered.reduce((sum,item)=>sum+item.price,0);return Math.round(amount/100*afterDeals*100)/100;}// ─── Main ────────────────────────────────────────────────────────────────────\nexport function calculateTotals(cartItems,coupons={},/** The store the cart is shown in; a coupon can be limited to stores. */storeId){const totals={count:cartItems.length,subtotal:0,bulkDiscount:0,couponDiscount:0,discount:0,total:0,deals:[],coupons:[]};const couponList=Object.entries(coupons??{});if(cartItems.length===0){// Still listed, so a coupon applied to an empty cart shows up in it\ntotals.coupons=couponList.map(([,coupon])=>({coupon,discount:0,applies:false}));return{totals,processedItems:[]};}const items=cloneItems(cartItems);// Group by licenseId: pool = mutable remaining items, deals from license\nconst licensePool=new Map;const licenseDeals=new Map;// The items each merchant's coupon covers. The same objects as `items`, so\n// the deals below update their price here too.\nconst coupled=new Map;for(const item of items){if(item.type===\"negotiation\"){totals.subtotal+=item.price;continue;}totals.subtotal+=item.price;const coupon=coupons?.[String(item.merchantId)];if(coupon){const{ok,stop}=couponCovers(coupon,item,storeId);if(ok){const list=coupled.get(String(item.merchantId));if(list)list.push(item);else coupled.set(String(item.merchantId),[item]);}// The coupon keeps this item out of the bulk deals\nif(stop)continue;}if(!item.licenseId||!item.object?.allowDeals)continue;if(item.license?.deals?.length){licenseDeals.set(item.licenseId,item.license.deals);}const pool=licensePool.get(item.licenseId);if(pool)pool.push(item);else licensePool.set(item.licenseId,[item]);}// Sequential deal application per license (matching PHP Discounter)\nfor(const[licenseId,pool]of licensePool){const deals=licenseDeals.get(licenseId);if(!deals?.length)continue;for(const deal of deals){if(deal.active!==1)continue;if(pool.length===0)break;if(deal.fixed){applyFixedPrice(pool,items,deal,licenseId,totals);}else{applyBuyNGetXFree(pool,items,deal,licenseId,totals);}}}// Coupons, after the deals: a rate is taken from the prices they left\nfor(const[merchantId,coupon]of couponList){const covered=coupled.get(merchantId)??[];const discount=covered.length?couponDiscount(coupon,covered):null;totals.coupons.push({coupon,discount:discount??0,applies:discount!==null});if(discount)totals.couponDiscount+=discount;}// Finalize\ntotals.couponDiscount=Math.round(totals.couponDiscount*100)/100;totals.bulkDiscount=Math.round(totals.bulkDiscount*100)/100;totals.discount=totals.bulkDiscount+totals.couponDiscount;totals.total=Math.round((totals.subtotal-totals.discount)*100)/100;totals.subtotal=Math.round(totals.subtotal*100)/100;return{totals,processedItems:items};}\nexport const __FramerMetadata__ = {\"exports\":{\"calculateTotals\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./calculateTotals.map","// soundee-core rebuild r14 (2026-09-18) — cache bust, see docs/migration/framer-core/07-framer-sync-log.md\nfunction catalogOnlyDealInfo(deal,licenseName,licenseId){const threshold=deal.fixed?deal.buy:deal.buy+deal.free;const dealType=deal.fixed?\"fixed\":\"free\";return{dealId:deal.id,dealString:deal.dealString,licenseId,licenseName,active:false,applied:false,// Nothing in the cart counts toward it, so the whole threshold is\n// still to come — not zero, which read as \"Add 0 tracks to unlock\".\nitemsNeeded:threshold,itemsCount:0,currentCount:0,threshold,dealType,buy:deal.buy,free:deal.free,fixedPrice:deal.fixed?deal.price:undefined,dealProgress:0};}/**\n * Pro-page bulk-deals dialog: every store license tier, `applied` when the cart\n * simulation marks that deal id active for that license.\n */export function getStoreCatalogDealRows(catalog,simulatedByKey){const rows=[];for(const entry of catalog){for(const deal of entry.deals){const key=`${entry.licenseId}-${deal.id}`;const simulated=simulatedByKey.get(key);if(simulated){rows.push(simulated);}else{rows.push(catalogOnlyDealInfo(deal,entry.licenseName,entry.licenseId));}}}return rows;}\nexport const __FramerMetadata__ = {\"exports\":{\"StoreDealCatalogEntry\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getStoreCatalogDealRows\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./dealListCatalog.map","// soundee-core rebuild r14 (2026-09-18) — cache bust, see docs/migration/framer-core/07-framer-sync-log.md\nimport{getStoreCatalogDealRows}from\"https://framerusercontent.com/modules/rDKH6p02sKd06BBDBwBs/D6AwURPxmNMKxuE2Oq7a/dealListCatalog.js\";/**\n * The items a deal can count — the same test `calculateTotals` applies: an\n * upgrade of an earlier purchase only qualifies when the deal allows upgrades.\n * Without this the simulation called a tier active that the totals never\n * priced, and the cart said \"applied\" over an undiscounted subtotal.\n */function eligibleFor(pool,deal){return pool.filter(item=>!(item.transactionLicenseId&&!deal.upgrades));}/**\n * Take the items a tier consumed out of the pool — the ones `calculateTotals`\n * prices: a fixed bundle takes its cheapest, buy-N-get-X pays for the dearest\n * and frees the cheapest. Which items are left only matters to a later tier\n * with a different upgrades rule, but it should be the same items.\n */function consume(pool,eligible,deal,consumed){if(!consumed)return pool;const byPriceAsc=[...eligible].sort((a,b)=>a.price!==b.price?a.price-b.price:(a.created??0)-(b.created??0));let taken;if(deal.fixed){taken=byPriceAsc.slice(0,consumed);}else{const groups=consumed/(deal.buy+deal.free);const paid=byPriceAsc.slice(byPriceAsc.length-groups*deal.buy);const free=byPriceAsc.slice(0,groups*deal.free);taken=[...paid,...free];}const gone=new Set(taken.map(item=>item.entityId));return pool.filter(item=>!gone.has(item.entityId));}/**\n * Build a single deal tier's `DealInfo` from the current `remaining` pool size.\n * `totalEligible` is the whole eligible pool for the license (pro-page\n * `itemsCount`); `remaining` is the running remainder after earlier tiers\n * consumed items in the sequential simulation.\n *//**\n * What this tier is roughly worth, priced off what the licence's items cost\n * in the cart today. \"Buy 2 get 1 free\" on $99 beats the same deal on $49,\n * and that is the whole point: it decides which nudge is worth showing.\n */function estimateSaving(deal,avgPrice){if(!(avgPrice>0))return 0;if(deal.fixed)return Math.max(0,deal.buy*avgPrice-deal.price);return deal.free*avgPrice;}function buildTier(deal,remaining,totalEligible,licenseName,licenseId,avgPrice){const threshold=deal.fixed?deal.buy:deal.buy+deal.free;const isActive=remaining>=threshold;const dealType=deal.fixed?\"fixed\":\"free\";let consumed=0;let itemsNeeded=0;if(isActive){if(deal.fixed){consumed=Math.floor(remaining/deal.buy)*deal.buy;}else{const groupSize=deal.buy+deal.free;consumed=Math.floor(remaining/groupSize)*groupSize;}}else{itemsNeeded=threshold-remaining;}// Pro-page formula: itemsCount / (itemsNeeded + itemsCount) * 100 when\n// inactive; 100 when active. Identical to currentCount/threshold in the\n// single-tier case, diverges on a later tier (remaining < totalEligible).\nconst dealProgress=isActive?100:totalEligible/(itemsNeeded+totalEligible)*100;const info={itemsNeeded,currentCount:totalEligible,itemsCount:totalEligible,threshold,dealString:deal.dealString,licenseName,licenseId,active:isActive,applied:isActive,dealId:deal.id,dealType,buy:deal.buy,free:deal.free,fixedPrice:deal.fixed?deal.price:undefined,dealProgress,potentialSaving:estimateSaving(deal,avgPrice)};return{info,consumed};}/**\n * Group eligible cart items by license and simulate sequential deal\n * consumption (same order as calculateTotals / PHP Discounter), producing every\n * deal tier per license as a `DealInfo`. Single source of truth for both\n * `getDealStatus` and `getDealListRows` so their pricing logic cannot drift.\n */function simulateLicenseDeals(cartItems){const byLicense=new Map;for(const item of cartItems){if(item.type===\"negotiation\")continue;if(!item.licenseId)continue;if(!item.object?.allowDeals)continue;const deals=item.license?.deals;if(!deals?.length)continue;let entry=byLicense.get(item.licenseId);if(!entry){entry={pool:[],deals,licenseName:item.license?.name??\"\",totalEligible:0};byLicense.set(item.licenseId,entry);}entry.pool.push({entityId:item.entityId,price:item.price??0,created:item.created,transactionLicenseId:item.transactionLicenseId});entry.totalEligible++;}const groups=[];for(const[licenseId,entry]of byLicense){const{deals,licenseName,totalEligible}=entry;// Priced before the simulation eats the pool, so every tier of a\n// licence is valued against the same basket.\nconst avgPrice=entry.pool.length>0?entry.pool.reduce((sum,item)=>sum+item.price,0)/entry.pool.length:0;// Simulate sequential consumption (same order as calculateTotals)\nlet pool=entry.pool;const tiers=[];for(const deal of deals){if(deal.active!==1)continue;const eligible=eligibleFor(pool,deal);const{info,consumed}=buildTier(deal,eligible.length,totalEligible,licenseName,licenseId,avgPrice);if(info.active)pool=consume(pool,eligible,deal,consumed);tiers.push(info);}if(tiers.length)groups.push({licenseId,licenseName,tiers});}return groups;}// ─── Public API ──────────────────────────────────────────────────────────────\n/**\n * Determine which deals are currently applied and which is the next\n * unlockable deal. Public shape and selection semantics are unchanged: the\n * first active tier (in simulation order) wins `current`; the inactive tier\n * with the fewest items needed wins `next`.\n *//**\n * Which of two tiers deserves the one slot a nudge has.\n *\n * Closest to unlocking first — that is the most actionable thing to say. On a\n * tie, the one worth the most: with a Basic and a Premium track in the cart\n * both two away from \"buy 2 get 1 free\", the free Premium track is the better\n * offer, and picking by cart order instead was arbitrary. Licence name last,\n * so the answer never depends on the order things were added.\n */function compareRelevance(a,b){if(a.itemsNeeded!==b.itemsNeeded)return a.itemsNeeded-b.itemsNeeded;const saving=(b.potentialSaving??0)-(a.potentialSaving??0);if(saving!==0)return saving;return a.licenseName.localeCompare(b.licenseName);}function pickBest(tiers){let best=null;for(const tier of tiers){if(!best||compareRelevance(tier,best)<0)best=tier;}return best;}export function getDealStatus(cartItems){const flat=simulateLicenseDeals(cartItems).flatMap(g=>g.tiers);return{current:pickBest(flat.filter(tier=>tier.active)),next:pickBest(flat.filter(tier=>!tier.active))};}function sortDealRows(rows){return[...rows].sort((a,b)=>{if(a.active!==b.active)return a.active?-1:1;return compareRelevance(a,b);});}/**\n * List-oriented deal reader for the deal-list component.\n *\n * - `mostRelevant` → 0–1 rows: the first inactive tier in simulation order\n *   (closest nudge), else the first active tier (pro-page order).\n * - `all` → N rows depending on `allMode`:\n *   - `dialog` (default) / `fullLadder`: every tier for licenses in the cart.\n *   - `perLicenseNext`: active tiers + one upcoming tier per license.\n *   Rows are sorted active-first, then ascending itemsNeeded, then licenseName.\n */function buildSimulatedDealKeyMap(cartItems){const simulatedByKey=new Map;for(const group of simulateLicenseDeals(cartItems)){for(const tier of group.tiers){simulatedByKey.set(`${tier.licenseId}-${tier.dealId}`,tier);}}return simulatedByKey;}export function getDealListRows(cartItems,options){if(options.scope===\"all\"&&options.catalogSource===\"store\"&&options.storeCatalog?.length){return getStoreCatalogDealRows(options.storeCatalog,buildSimulatedDealKeyMap(cartItems));}const groups=simulateLicenseDeals(cartItems);if(!groups.length)return[];if(options.scope===\"mostRelevant\"){// The same pick the built-in cart card makes — a designed deal row\n// and the card above it must never name different deals.\nconst flat=groups.flatMap(g=>g.tiers);const best=pickBest(flat.filter(tier=>!tier.active))??pickBest(flat.filter(tier=>tier.active));return best?[best]:[];}const allMode=options.allMode??\"dialog\";let rows;if(allMode===\"perLicenseNext\"){rows=groups.flatMap(g=>{const actives=g.tiers.filter(t=>t.active);const nextUp=g.tiers.find(t=>!t.active);return nextUp?[...actives,nextUp]:actives;});}else{// dialog | fullLadder — every tier for every license in the cart.\nrows=groups.flatMap(g=>g.tiers);}return sortDealRows(rows);}\nexport const __FramerMetadata__ = {\"exports\":{\"getDealListRows\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getDealStatus\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./nextDeal.map","// soundee-core rebuild r14 (2026-09-18) — cache bust, see docs/migration/framer-core/07-framer-sync-log.md\n/**\n * gtag / Facebook Pixel event tracking (runtime-only, no code component).\n *\n * Ports the event handlers from soundee-pro-page\n * (`assets/js/init/analytics.js`) onto the native Framer runtime. Instead of\n * installing GA/Pixel scripts ourselves, producers add Google Analytics via\n * Framer's built-in field and the Facebook Pixel snippet via Framer Custom Code.\n * This module simply fires the matching commerce/engagement events into\n * whatever `window.gtag` / `window.fbq` already exist.\n *\n * `page_view` is intentionally NOT fired here: Framer's native GA already tracks\n * route changes, so emitting it again would double-count. Checkout/purchase\n * conversions happen on the off-Framer hosted checkout and are out of scope.\n */import{RenderTarget}from\"framer\";const DEFAULT_CURRENCY=\"USD\";// ─── Guards ──────────────────────────────────────────────────────────────────\nfunction canTrack(){if(typeof window===\"undefined\")return false;const target=RenderTarget.current();if(target===RenderTarget.canvas)return false;if(target===RenderTarget.thumbnail)return false;if(target===RenderTarget.export)return false;return true;}function gtag(){const fn=window.gtag;return typeof fn===\"function\"?fn:null;}function fbq(){const fn=window.fbq;return typeof fn===\"function\"?fn:null;}/**\n * Facebook's product catalogue stores Soundee ids as `track-{id}` / `kit-{id}`.\n * Mirrors the `fbId` helper in the pro-page analytics plugin.\n */function fbId(entity){return`${entity.type}-${entity.id}`;}function safeRun(fn){try{fn();}catch{// Analytics is best-effort; never break playback or cart flows.\n}}// ─── Events ──────────────────────────────────────────────────────────────────\nexport function trackPlay(entity,currency=DEFAULT_CURRENCY){if(!canTrack())return;const g=gtag();if(g){safeRun(()=>g(\"event\",\"view_item\",{items:[{id:entity.id,name:entity.title,category:entity.type,quantity:1,price:entity.price}],event_label:entity.title}));}const f=fbq();if(f){safeRun(()=>f(\"track\",\"ViewContent\",{content_name:entity.title,content_ids:fbId(entity),content_type:\"product\",value:entity.price,currency}));}}export function trackAddToCart(entity,currency=DEFAULT_CURRENCY){if(!canTrack())return;const g=gtag();if(g){safeRun(()=>g(\"event\",\"add_to_cart\",{items:[{id:entity.id,name:entity.title,category:entity.type,quantity:1,price:entity.price}],event_label:entity.title}));}const f=fbq();if(f){safeRun(()=>f(\"track\",\"AddToCart\",{content_name:entity.title,content_ids:fbId(entity),content_type:\"product\",value:entity.price,currency}));}}export function trackRemoveFromCart(entity,_currency=DEFAULT_CURRENCY){if(!canTrack())return;const g=gtag();if(g){safeRun(()=>g(\"event\",\"remove_from_cart\",{items:[{id:entity.id,name:entity.title,category:entity.type,quantity:1,price:entity.price}],event_label:entity.title}));}}\nexport const __FramerMetadata__ = {\"exports\":{\"trackAddToCart\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"trackPlay\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"AnalyticsEntity\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"trackRemoveFromCart\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./analytics_events.map","// soundee-core rebuild r14 (2026-09-18) — cache bust, see docs/migration/framer-core/07-framer-sync-log.md\n// Event bridge for Framer overlays. A per-name callback registry lets any\n// module fire an \"open\" / \"close\" event without holding a direct reference\n// to the overlay component.\n//\n// Mounted overlay components register their Framer EventHandler callback\n// by name; stores call fireOverlay* to trigger the corresponding Framer\n// overlay action.\nimport{RenderTarget}from\"framer\";import{isBuiltInOverlay}from\"https://framerusercontent.com/modules/0GpgGzS00VxJis3gSiB4/xQvXV8rHdeXnAzSd0ksq/registry.js\";const _open={};const _close={};const _eventListeners=new Set;const _openNames=new Set;let _nextRegistrationId=1;function register(registry,name,fn){if(!fn)return()=>{};const registration={id:_nextRegistrationId++,fn};const entries=registry[name]??[];registry[name]=[...entries,registration];return()=>{const current=registry[name];if(!current)return;const next=current.filter(entry=>entry.id!==registration.id);if(next.length>0)registry[name]=next;else delete registry[name];};}function fireLatest(registry,name){const entries=registry[name];entries?.[entries.length-1]?.fn();}function fireAll(registry,name){const entries=registry[name];if(!entries)return;for(const entry of[...entries].reverse()){entry.fn();}}function emit(event){for(const listener of Array.from(_eventListeners)){listener(event);}}// Code-driven closes (navigation, exclusive entity overlays, post add-to-cart)\n// only work when the matching SoundeeOverlayBridge has its \"Close\" event wired\n// to a Framer \"Close Overlay\" interaction. Warn (outside canvas) when nothing\n// is registered so a missing wiring surfaces instead of failing silently.\nconst _missingCloseWarned=new Set;function warnIfNoCloseRegistered(name){if(RenderTarget.current()===RenderTarget.canvas)return;// A built-in overlay closes through its own store; there is no bridge to\n// wire, so the warning would only ever be noise.\nif(isBuiltInOverlay(name))return;if((_close[name]?.length??0)>0)return;if(_missingCloseWarned.has(name))return;_missingCloseWarned.add(name);console.warn(`[Soundee] Overlay \"${name}\" could not be closed by code: no \"Close\" `+`event is wired on its SoundeeOverlayBridge. Connect the bridge's `+`\"Close\" event to a Framer \"Close Overlay\" interaction.`);}export function registerOverlayOpenCallback(name,fn){return register(_open,name,fn);}export function registerOverlayCloseCallback(name,fn){return register(_close,name,fn);}export function subscribeOverlayEvents(listener){_eventListeners.add(listener);return()=>{_eventListeners.delete(listener);};}export function getOpenOverlayNames(){return Array.from(_openNames);}export function isOverlayOpen(name){return _openNames.has(name);}export function markOverlayOpen(name){_openNames.add(name);}export function markOverlayClosed(name){_openNames.delete(name);}export function fireOverlayOpen(name){markOverlayOpen(name);fireLatest(_open,name);emit({type:\"open\",name});}export function fireOverlayClose(name){markOverlayClosed(name);warnIfNoCloseRegistered(name);fireAll(_close,name);emit({type:\"close\",name});}\nexport const __FramerMetadata__ = {\"exports\":{\"OverlayName\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"registerOverlayOpenCallback\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"registerOverlayCloseCallback\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isOverlayOpen\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"markOverlayClosed\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fireOverlayOpen\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getOpenOverlayNames\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"OverlayEventType\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"subscribeOverlayEvents\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fireOverlayClose\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"markOverlayOpen\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"OverlayEvent\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./overlay.map","// soundee-core rebuild r14 (2026-09-18) — cache bust, see docs/migration/framer-core/07-framer-sync-log.md\nimport{createExternalStore}from\"https://framerusercontent.com/modules/UH4WTHe23jjVFZ4QN9aB/pXMXEE6fEy1994ZzJknr/create_store.js\";import{getStoreGeneration,isCurrentStoreGeneration,onStoreChange}from\"https://framerusercontent.com/modules/Gv0ECINhqtCM2CKYMkBP/GcvCm6kYtEl73wOU95G5/store_scope.js\";import{hasSession}from\"https://framerusercontent.com/modules/dBt19uczKsS98p2bZoOW/B8jBSbrtS4nEQRXP2n9N/token_new.js\";import{setCartToken}from\"https://framerusercontent.com/modules/Dv0hqgkYwdGctPnhOUsS/qwvBIWLOaCu20BIFILAX/cart_token.js\";import{upsertEntities}from\"https://framerusercontent.com/modules/Fa9rFJN2rq85gl2rXBgV/AVjJVDZFaBnNLsPAn8ph/entities.js\";import{apiPost,apiDelete,getApiStoreId}from\"https://framerusercontent.com/modules/2cqxRgmIE8CaH8oMSLJI/Xc2VTih7dteQqDikr6wz/client.js\";import{calculateTotals}from\"https://framerusercontent.com/modules/jh3pFK05bNXlfLBDeTej/L8aCQ4QKAcXH3k1YzWsa/calculateTotals.js\";import{getDealStatus as _getDealStatus,getDealListRows as _getDealListRows}from\"https://framerusercontent.com/modules/t10Aq1an1l772hN2A6hw/H6MnpZMeP285HNKWsGXX/nextDeal.js\";import{trackAddToCart,trackRemoveFromCart}from\"https://framerusercontent.com/modules/dpnykcaq8avFzlvDjxCJ/Wd4iZlj7VLmKMz9oF8ca/analytics_events.js\";import{fireOverlayClose,fireOverlayOpen,markOverlayClosed,markOverlayOpen}from\"https://framerusercontent.com/modules/nYNkrjG4SG2g3zpRI8vd/2NpFBOzmMwHK6O32tKsy/overlay.js\";// ─── Reactive store ──────────────────────────────────────────────────────────\nconst _store=createExternalStore({version:0,count:0,isOpen:false,loading:false,dealsOpen:false});export const useCartStore=_store.useStore;// ─── Module-level state ──────────────────────────────────────────────────────\nlet _items=new Map;let _loading=new Set;let _version=0;let _open=false;let _coupons={};/** A code that did not take, shown in the cart until it closes. */let _couponError=null;onStoreChange(()=>{_items.clear();_loading.clear();_coupons={};_couponError=null;closeCart();closeDeals();bump();});function bump(){_version++;_store.setState({version:_version,count:_items.size,loading:_loading.size>0});}// ─── Init ────────────────────────────────────────────────────────────────────\nexport function setCartItems(items){_items=new Map(items.map(item=>[item.entityId,item]));const objects=items.map(item=>item.object).filter(Boolean);if(objects.length)upsertEntities(objects);bump();}/**\n * The cart's coupons, as `/sessions` and `/cart/coupons` return them: keyed by\n * merchant id. PHP encodes an empty set as `[]`, which reads here as none.\n */export function setCartCoupons(coupons){_coupons=coupons&&typeof coupons===\"object\"&&!Array.isArray(coupons)?coupons:{};bump();}// ─── Queries ─────────────────────────────────────────────────────────────────\nexport function inCart(entityId,licenseId){const item=_items.get(entityId);if(!item)return false;if(licenseId!=null)return item.licenseId===licenseId;return true;}export function getCartItem(entityId){return _items.get(entityId);}export function getCartItems(){return Array.from(_items.values());}export function getCartCount(){return _items.size;}export function isCartLoading(entityId){return _loading.has(entityId);}export function isCartBusy(){return _loading.size>0;}let _cachedResult=null;let _cachedVersion=-1;function getCached(){if(_cachedVersion!==_version){_cachedResult=calculateTotals(Array.from(_items.values()),_coupons,getApiStoreId()||null);_cachedVersion=_version;}return _cachedResult;}export function getCartTotals(){return getCached().totals;}export function getProcessedCartItems(){return getCached().processedItems;}export function getDealStatus(){return _getDealStatus(Array.from(_items.values()));}export function getDealListRows(options){return _getDealListRows(Array.from(_items.values()),options);}// ─── Panel visibility ─────────────────────────────────────────────────────────\nexport function openCart(){if(_open){markOverlayOpen(\"cart\");return;}_open=true;_store.setState({isOpen:true});fireOverlayOpen(\"cart\");}// `fireOverlay` defaults to true so code-driven closes still trigger the\n// Framer overlay bridge. A clicked SoundeeOverlayClose passes false and runs\n// its own connected close action instead of the latest-registered callback.\nexport function closeCart(fireOverlay=true){_couponError=null;if(!_open){markOverlayClosed(\"cart\");return;}_open=false;_store.setState({isOpen:false});if(fireOverlay)fireOverlayClose(\"cart\");else markOverlayClosed(\"cart\");}export function syncCartOpen(){_open=true;_store.setState({isOpen:true});markOverlayOpen(\"cart\");}export function syncCartClosed(){_couponError=null;_open=false;_store.setState({isOpen:false});markOverlayClosed(\"cart\");}export function toggleCart(){if(_open)closeCart();else openCart();}// ─── Bulk deals overlay ──────────────────────────────────────────────────────\n//\n// Cart state rather than modal-store state: the deals are a reading of what is\n// in the cart, and the panel opens over the cart the way Edit raises the\n// license picker over a row. Same shape as the cart's own open/close so the\n// overlay bridge treats the two alike.\nlet _dealsOpen=false;export function openDeals(){if(_dealsOpen){markOverlayOpen(\"deals\");return;}_dealsOpen=true;_store.setState({dealsOpen:true});fireOverlayOpen(\"deals\");}export function closeDeals(fireOverlay=true){if(!_dealsOpen){markOverlayClosed(\"deals\");return;}_dealsOpen=false;_store.setState({dealsOpen:false});if(fireOverlay)fireOverlayClose(\"deals\");else markOverlayClosed(\"deals\");}export function syncDealsOpen(){markOverlayOpen(\"deals\");if(_dealsOpen)return;_dealsOpen=true;_store.setState({dealsOpen:true});}export function syncDealsClosed(){markOverlayClosed(\"deals\");if(!_dealsOpen)return;_dealsOpen=false;_store.setState({dealsOpen:false});}export async function addToCart(entityId,licenseId,transactionLicenseId){// Session presence, not the token: in cookie-mode the credential is the\n// HttpOnly embed cookie and no token ever exists in JS.\nif(!hasSession())return null;const generation=getStoreGeneration();_loading.add(entityId);bump();try{const data=await apiPost(\"/cart\",{entityId,licenseId,...transactionLicenseId?{transactionLicenseId}:{}});if(!isCurrentStoreGeneration(generation))return null;const item=data.response.data.item;// The second capture point for cart continuity. `/sessions` only\n// hands out a cartToken when the session already HAS a cart — a\n// fresh visitor's cart is born on this very request, so without\n// catching it here the cart of someone who never reloads would not\n// survive a lost session (old Safari, cleared cookies).\nsetCartToken(data.response.data.cartToken);if(item.object)upsertEntities([item.object]);_items.set(item.entityId,item);const obj=item.object;trackAddToCart({id:item.entityId,title:obj?.title??\"\",type:obj?.entityType??\"track\",price:item.price??0});return item;}catch{return null;}finally{if(isCurrentStoreGeneration(generation)){_loading.delete(entityId);bump();}}}export async function removeFromCart(entityId){if(!hasSession())return false;const generation=getStoreGeneration();const existing=_items.get(entityId);_loading.add(entityId);bump();try{await apiDelete(`/cart/${entityId}`);if(!isCurrentStoreGeneration(generation))return false;_items.delete(entityId);const obj=existing?.object;trackRemoveFromCart({id:entityId,title:obj?.title??\"\",type:obj?.entityType??\"track\",price:existing?.price??0});return true;}catch{return false;}finally{if(isCurrentStoreGeneration(generation)){_loading.delete(entityId);bump();}}}export function getCouponError(){return _couponError;}/**\n * Add a coupon to the cart by its code. It lands on the server's cart, which\n * is what checkout reads, so it holds even before anything is in the cart.\n * Returns the coupon, or null — and leaves a message for the cart — when the\n * code is not valid here.\n */export async function applyCoupon(code){const trimmed=code.trim();if(!trimmed||!hasSession())return null;const generation=getStoreGeneration();try{const data=await apiPost(\"/cart/coupons\",{code:trimmed});if(!isCurrentStoreGeneration(generation))return null;_couponError=null;setCartCoupons(data.response.data);const all=Object.values(_coupons);return all.find(coupon=>coupon.name?.toLowerCase()===trimmed.toLowerCase())??all[0]??null;}catch{if(!isCurrentStoreGeneration(generation))return null;_couponError=`Coupon ‘${trimmed}’ is not valid`;bump();return null;}}export async function removeCoupon(id){if(!hasSession())return false;const generation=getStoreGeneration();try{const data=await apiDelete(`/cart/coupons/${id}`);if(!isCurrentStoreGeneration(generation))return false;setCartCoupons(data?.response?.data);return true;}catch{return false;}}\nexport const __FramerMetadata__ = {\"exports\":{\"DealListOptions\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isCartLoading\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CartTotals\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"applyCoupon\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"openCart\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CartItem\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCartCount\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"closeCart\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"DealStatus\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useCartStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"closeDeals\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"setCartItems\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"setCartCoupons\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"removeCoupon\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"openDeals\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getDealStatus\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCartItem\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getProcessedCartItems\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"removeFromCart\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"syncCartOpen\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addToCart\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"syncDealsClosed\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isCartBusy\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"syncDealsOpen\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCartItems\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"toggleCart\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"inCart\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CartStoreState\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCartTotals\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCouponError\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"DealInfo\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"syncCartClosed\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getDealListRows\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// soundee-core rebuild r14 (2026-09-18) — cache bust, see docs/migration/framer-core/07-framer-sync-log.md\nimport*as React from\"react\";const SOUNDEE_SLOT_SCOPE_CLASS=\"soundee-slot-scope\";const SOUNDEE_SLOT_STYLE_ID=\"soundee-slot-sizing\";function ensureSoundeeSlotStyles(){if(typeof document===\"undefined\")return;if(document.getElementById(SOUNDEE_SLOT_STYLE_ID))return;const style=document.createElement(\"style\");style.id=SOUNDEE_SLOT_STYLE_ID;style.textContent=`\n        .${SOUNDEE_SLOT_SCOPE_CLASS}[data-framer-name],\n        .${SOUNDEE_SLOT_SCOPE_CLASS} [data-framer-name] {\n            min-height: 0;\n            max-width: 100%;\n            max-height: 100%;\n        }\n    `;document.head.appendChild(style);}function mergeClassNames(...classNames){return Array.from(new Set(classNames.flatMap(className=>typeof className===\"string\"?className.split(/\\s+/):[]).filter(Boolean))).join(\" \");}function withSlotScopeClass(props){return{...props,className:mergeClassNames(props.className,SOUNDEE_SLOT_SCOPE_CLASS)};}/**\n * Conditionally applies the Soundee slot sizing scope class. When\n * `scopeSizing` is false the props are returned unchanged, so the global\n * `max-width / max-height / min-height` clamp is not applied. This is opt-in\n * per component because some slots (e.g. carousels, rows) manage their own\n * sizing and the clamp would fight with their layout.\n */function maybeScope(props,scopeSizing){return scopeSizing?withSlotScopeClass(props):props;}/**\n * Picks the first node from a Framer slot. Slots may be a single node or an array\n * (e.g. one connected component).\n */export function normalizeSlot(slot){if(!slot)return null;if(Array.isArray(slot))return slot[0]??null;return slot;}/**\n * The connected component instance Framer puts in a slot (first item if the slot\n * is an array). Returns `null` if empty or not a valid element — then callers\n * typically fall back to a default component.\n *\n * Use with `React.cloneElement(getActualSlotElement(slot), props)` to pass\n * dynamic props to that instance.\n */export function getActualSlotElement(slot){const node=normalizeSlot(slot);return /*#__PURE__*/React.isValidElement(node)?node:null;}/**\n * Returns the slot root, or its only element **child** when the root is a plain\n * DOM wrapper or Fragment (typical Framer frame → one component). Does **not**\n * unwrap custom components: a Track Row with a single inner layout child must stay\n * on the row root, or `cloneElement` would target the wrong node.\n */function isDomOrFragment(el){const t=el.type;if(t===React.Fragment)return true;return typeof t===\"string\";}export function getSlotInnerElement(slot){const outer=getActualSlotElement(slot);if(!outer)return null;const kids=React.Children.toArray(outer.props.children).filter(React.isValidElement);if(kids.length===1&&isDomOrFragment(outer)){return kids[0];}return outer;}/**\n * Converts React style prop (object or array of objects) into a single\n * CSSProperties object so spreads and merges behave predictably.\n */export function flattenStyle(style){if(style==null)return{};if(Array.isArray(style)){return Object.assign({},...style.filter(Boolean));}return style;}/**\n * Builds the props object for a `cloneElement` leaf so that the connected\n * Framer instance keeps its own `style`/`className` (e.g. a fixed height set on\n * the canvas) instead of having them replaced. Injected `style` keys still win\n * per-key, so callers can stretch width while the instance height is preserved.\n */function mergeElementProps(element,injectedProps){const merged={...injectedProps};if(\"style\"in injectedProps){merged.style={...flattenStyle(element.props?.style),...flattenStyle(injectedProps.style)};}if(\"className\"in injectedProps){merged.className=mergeClassNames(element.props?.className,injectedProps.className);}return merged;}/**\n * Merges the slot template styles with extra layout styles. Later keys win.\n * Template styles are applied first so list-level layout can override when needed.\n */export function mergeSlotElementStyle(template,extra){const fromSlot=flattenStyle((template?.props)?.style);return{...fromSlot,...extra};}/**\n * Clones a Framer slot element tree, injecting props into the deepest element\n * while overriding layoutId at every level to prevent Framer Motion layout\n * animation conflicts between cloned list items.\n */export function cloneSlotWithUniqueLayout(node,injectedProps,uniqueId,chainStyle={},isRoot=true,scopeSizing=false,stretchWidth=true){if(!/*#__PURE__*/React.isValidElement(node))return node;if(isRoot&&scopeSizing)ensureSoundeeSlotStyles();const el=node;const child=el.props?.children;const overrides={};if(el.props?.layoutId){overrides.layoutId=`${el.props.layoutId}-${uniqueId}`;}if(/*#__PURE__*/React.isValidElement(child)){return /*#__PURE__*/React.cloneElement(el,maybeScope({...overrides,style:{...el.props.style,...stretchWidth?{width:\"100%\"}:{},...chainStyle},children:cloneSlotWithUniqueLayout(child,injectedProps,uniqueId,chainStyle,false,scopeSizing,stretchWidth)},scopeSizing));}const leafProps=mergeElementProps(el,{...overrides,...injectedProps});return /*#__PURE__*/React.cloneElement(el,isRoot?maybeScope(leafProps,scopeSizing):leafProps);}/**\n * Clones a slot tree with dynamic props and merges layout styles onto the\n * slot root. Use this when the wrapper component must size the connected\n * Framer instance while props still need to reach the deepest component.\n */export function cloneSlotWithUniqueLayoutAndRootStyle(node,injectedProps,uniqueId,rootStyle,scopeSizing=false,stretchWidth=true){if(!/*#__PURE__*/React.isValidElement(node))return node;if(scopeSizing)ensureSoundeeSlotStyles();const el=node;const cloned=cloneSlotWithUniqueLayout(node,injectedProps,uniqueId,rootStyle,true,scopeSizing,stretchWidth);if(!/*#__PURE__*/React.isValidElement(cloned))return cloned;const clonedElement=cloned;return /*#__PURE__*/React.cloneElement(clonedElement,{className:mergeClassNames(el.props.className,clonedElement.props.className,scopeSizing?SOUNDEE_SLOT_SCOPE_CLASS:undefined),style:{...el.props.style,...clonedElement.props.style,...rootStyle}});}/**\n * Walks a single-child chain and merges props into the deepest element.\n * Use after `getSlotInnerElement` + root `cloneElement` when props must reach\n * nested Framer internals.\n */export function injectPropsIntoDeepestElement(node,injectedProps,isRoot=true,scopeSizing=false){if(!/*#__PURE__*/React.isValidElement(node))return node;if(isRoot&&scopeSizing)ensureSoundeeSlotStyles();const element=node;const child=element.props?.children;if(/*#__PURE__*/React.isValidElement(child)){return /*#__PURE__*/React.cloneElement(element,maybeScope({children:injectPropsIntoDeepestElement(child,injectedProps,false,scopeSizing)},scopeSizing));}const leafProps=mergeElementProps(element,injectedProps);return /*#__PURE__*/React.cloneElement(element,isRoot?maybeScope(leafProps,scopeSizing):leafProps);}/**\n * Renders a Framer slot with a shared sizing policy:\n * - Auto: keep the slot's own sizing and only inject props.\n * - Fill: stretch the slot root to the wrapper while still injecting props.\n */export function renderSlotWithSizing(node,injectedProps,uniqueId,sizing,scopeSizing=false){const width=typeof sizing===\"string\"?sizing:sizing.width;const height=typeof sizing===\"string\"?sizing:sizing.height;if(width===\"Fill\"||height===\"Fill\"){return cloneSlotWithUniqueLayoutAndRootStyle(node,injectedProps,uniqueId,{...width===\"Fill\"?{width:\"100%\"}:{},...height===\"Fill\"?{height:\"100%\"}:{}},scopeSizing,// Only stretch the chain to full width when width is actually Fill,\n// so \"Auto width + Fill height\" keeps the slot's own width.\nwidth===\"Fill\");}return injectPropsIntoDeepestElement(node,injectedProps,true,scopeSizing);}\nexport const __FramerMetadata__ = {\"exports\":{\"injectPropsIntoDeepestElement\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"cloneSlotWithUniqueLayout\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getSlotInnerElement\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"mergeSlotElementStyle\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SlotSize\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"flattenStyle\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"normalizeSlot\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getActualSlotElement\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"renderSlotWithSizing\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"cloneSlotWithUniqueLayoutAndRootStyle\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SlotSizing\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./slot.map","// soundee-core rebuild r14 (2026-09-18) — cache bust, see docs/migration/framer-core/07-framer-sync-log.md\nimport{createExternalStore}from\"https://framerusercontent.com/modules/UH4WTHe23jjVFZ4QN9aB/pXMXEE6fEy1994ZzJknr/create_store.js\";import{ownsModal}from\"https://framerusercontent.com/modules/0GpgGzS00VxJis3gSiB4/xQvXV8rHdeXnAzSd0ksq/registry.js\";import{fireOverlayClose,fireOverlayOpen,isOverlayOpen,markOverlayClosed,markOverlayOpen}from\"https://framerusercontent.com/modules/nYNkrjG4SG2g3zpRI8vd/2NpFBOzmMwHK6O32tKsy/overlay.js\";const _store=createExternalStore({activeModal:null,entityId:null,selectedLicenseId:null,viewByName:{},viewRevisionByName:{},customPropsByName:{}});export const useModalStore=_store.useStore;export const getModalState=_store.getState;// ─── Actions ─────────────────────────────────────────────────────────────────\nexport function openModal(type,entityId,selectedLicenseId=null,view=null,customProps={}){const prev=_store.getState().activeModal;if(prev&&prev!==type)fireOverlayClose(prev);_store.setState(state=>({activeModal:type,entityId,selectedLicenseId,viewByName:{...state.viewByName,[type]:view??null},viewRevisionByName:{...state.viewRevisionByName,[type]:(state.viewRevisionByName[type]??0)+1},customPropsByName:{...state.customPropsByName,[type]:customProps}}));if(isOverlayOpen(type))return;// SoundeeModals renders this one itself, watching the store above. Firing\n// the named overlay as well would open two panels on a site that has both a\n// designed overlay and the built-in component.\nif(ownsModal(type))return;fireOverlayOpen(type);}/**\n * Sets the view/variant for an overlay name without touching the active entity\n * modal state. Used by non-entity overlays opened via `openSoundeeOverlay`.\n */export function setOverlayView(name,view){if(!name)return;_store.setState(state=>({...state,viewByName:{...state.viewByName,[name]:view??null},viewRevisionByName:{...state.viewRevisionByName,[name]:(state.viewRevisionByName[name]??0)+1}}));}export function setOverlayCustomProps(name,customProps={}){if(!name)return;_store.setState(state=>({...state,customPropsByName:{...state.customPropsByName,[name]:customProps}}));}// `fireOverlay` defaults to true so code-driven closes still trigger the\n// Framer overlay bridge. A clicked SoundeeOverlayClose passes false and runs\n// its own connected close action instead of the latest-registered callback.\nexport function closeModal(fireOverlay=true){const prev=_store.getState().activeModal;// entityId and selectedLicenseId stay sticky after close so the modal\n// content can still render during its exit animation without layout\n// shifts. They're overwritten the next time openModal runs.\n_store.setState({activeModal:null});if(!prev)return;if(fireOverlay)fireOverlayClose(prev);else markOverlayClosed(prev);}// Legacy modal-store selection setter, kept for SoundeeLicenseList (the older\n// automatic modal-store picker). New license selection lives in\n// SoundeeOverlayEntityState's context, not here.\nexport function selectLicense(licenseId,entityId){_store.setState({selectedLicenseId:licenseId,...entityId!=null?{entityId}:{}});}// ─── Overlay sync (called by mounted overlay components) ─────────────────────\nexport function syncModalOpen(type,entityId){const prev=_store.getState().activeModal;_store.setState({activeModal:type,entityId});if(prev&&prev!==type)markOverlayClosed(prev);if(type)markOverlayOpen(type);}export function syncModalClosed(){const prev=_store.getState().activeModal;_store.setState({activeModal:null});if(prev)markOverlayClosed(prev);}\nexport const __FramerMetadata__ = {\"exports\":{\"ModalStoreState\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"syncModalOpen\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ModalType\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"syncModalClosed\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"setOverlayCustomProps\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getModalState\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"closeModal\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useModalStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"openModal\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"setOverlayView\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"selectLicense\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./modal.map","// Generated by Framer (3db8496)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"FS;Manrope-bold\",\"FS;Manrope-extrabold\"]);export const fonts=[{explicitInter:true,fonts:[{cssFamilyName:\"Manrope\",source:\"fontshare\",style:\"normal\",uiFamilyName:\"Manrope\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/NGBUP45ES3F7RD5XGKPEDJ6QEPO4TMOK/EXDVWJ2EDDVVV65UENMX33EDDYBX6OF7/6P4FPMFQH7CCC7RZ4UU4NKSGJ2RLF7V5.woff2\",weight:\"700\"},{cssFamilyName:\"Manrope\",source:\"fontshare\",style:\"normal\",uiFamilyName:\"Manrope\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/7EWHG4AMROQSXDCQTDPGBVASATB7CED2/TJSQTK5FHJ2MYKML5IXF2G6YTGFJLTYL/K4ZMLVLHYIFVTTTWGVOTVGOFUUX7NVGI.woff2\",weight:\"800\"}]}];export const css=[\".framer-wpY8c .framer-styles-preset-xovf84:not(.rich-text-wrapper), .framer-wpY8c .framer-styles-preset-xovf84.rich-text-wrapper p { --framer-font-family: \\\"Manrope\\\", \\\"Manrope Placeholder\\\", sans-serif; --framer-font-family-bold: \\\"Manrope\\\", \\\"Manrope Placeholder\\\", sans-serif; --framer-font-open-type-features: 'blwf' on, 'cv03' on, 'cv04' on, 'cv09' on, 'cv11' on; --framer-font-size: 12px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 700; --framer-font-weight-bold: 800; --framer-letter-spacing: 0.16em; --framer-line-height: 1.6em; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-color: var(--token-c1e57d17-7637-441f-94db-c5057b2c8094); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: uppercase; }\",\"@media (max-width: 1199px) and (min-width: 810px) { .framer-wpY8c .framer-styles-preset-xovf84:not(.rich-text-wrapper), .framer-wpY8c .framer-styles-preset-xovf84.rich-text-wrapper p { --framer-font-family: \\\"Manrope\\\", \\\"Manrope Placeholder\\\", sans-serif; --framer-font-family-bold: \\\"Manrope\\\", \\\"Manrope Placeholder\\\", sans-serif; --framer-font-open-type-features: 'blwf' on, 'cv03' on, 'cv04' on, 'cv09' on, 'cv11' on; --framer-font-size: 10px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 700; --framer-font-weight-bold: 800; --framer-letter-spacing: 0.16em; --framer-line-height: 1.6em; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-color: var(--token-c1e57d17-7637-441f-94db-c5057b2c8094); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: uppercase; } }\",\"@media (max-width: 809px) and (min-width: 0px) { .framer-wpY8c .framer-styles-preset-xovf84:not(.rich-text-wrapper), .framer-wpY8c .framer-styles-preset-xovf84.rich-text-wrapper p { --framer-font-family: \\\"Manrope\\\", \\\"Manrope Placeholder\\\", sans-serif; --framer-font-family-bold: \\\"Manrope\\\", \\\"Manrope Placeholder\\\", sans-serif; --framer-font-open-type-features: 'blwf' on, 'cv03' on, 'cv04' on, 'cv09' on, 'cv11' on; --framer-font-size: 8px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 700; --framer-font-weight-bold: 800; --framer-letter-spacing: 0.16em; --framer-line-height: 1.6em; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-color: var(--token-c1e57d17-7637-441f-94db-c5057b2c8094); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: uppercase; } }\"];export const className=\"framer-wpY8c\";\nexport const __FramerMetadata__ = {\"exports\":{\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (80f113d)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"FS;Manrope-bold\",\"FS;Manrope-extrabold\"]);export const fonts=[{explicitInter:true,fonts:[{cssFamilyName:\"Manrope\",source:\"fontshare\",style:\"normal\",uiFamilyName:\"Manrope\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/NGBUP45ES3F7RD5XGKPEDJ6QEPO4TMOK/EXDVWJ2EDDVVV65UENMX33EDDYBX6OF7/6P4FPMFQH7CCC7RZ4UU4NKSGJ2RLF7V5.woff2\",weight:\"700\"},{cssFamilyName:\"Manrope\",source:\"fontshare\",style:\"normal\",uiFamilyName:\"Manrope\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/7EWHG4AMROQSXDCQTDPGBVASATB7CED2/TJSQTK5FHJ2MYKML5IXF2G6YTGFJLTYL/K4ZMLVLHYIFVTTTWGVOTVGOFUUX7NVGI.woff2\",weight:\"800\"}]}];export const css=[\".framer-vSFdT .framer-styles-preset-och0b8:not(.rich-text-wrapper), .framer-vSFdT .framer-styles-preset-och0b8.rich-text-wrapper p { --framer-font-family: \\\"Manrope\\\", \\\"Manrope Placeholder\\\", sans-serif; --framer-font-family-bold: \\\"Manrope\\\", \\\"Manrope Placeholder\\\", sans-serif; --framer-font-open-type-features: 'blwf' on, 'cv03' on, 'cv04' on, 'cv09' on, 'cv11' on; --framer-font-size: 12px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 700; --framer-font-weight-bold: 800; --framer-letter-spacing: 0.14em; --framer-line-height: 1.6em; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-color: var(--token-f6f0d308-65b3-469f-8dc8-31f355fea915); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: uppercase; }\"];export const className=\"framer-vSFdT\";\nexport const __FramerMetadata__ = {\"exports\":{\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (80f113d)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"FS;Manrope-semibold\",\"FS;Manrope-bold\"]);export const fonts=[{explicitInter:true,fonts:[{cssFamilyName:\"Manrope\",source:\"fontshare\",style:\"normal\",uiFamilyName:\"Manrope\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/6U2SGH566NSNERG6RGEV3DSNEK7DL2RF/JRDYRKMSAW2H35IWEQIPL67HAJQ35MG5/JNU3GNMUBPWW6V6JTED3S27XL5HN7NM5.woff2\",weight:\"600\"},{cssFamilyName:\"Manrope\",source:\"fontshare\",style:\"normal\",uiFamilyName:\"Manrope\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/NGBUP45ES3F7RD5XGKPEDJ6QEPO4TMOK/EXDVWJ2EDDVVV65UENMX33EDDYBX6OF7/6P4FPMFQH7CCC7RZ4UU4NKSGJ2RLF7V5.woff2\",weight:\"700\"}]}];export const css=[\".framer-pVJkW .framer-styles-preset-gmuf6d:not(.rich-text-wrapper), .framer-pVJkW .framer-styles-preset-gmuf6d.rich-text-wrapper p { --framer-font-family: \\\"Manrope\\\", \\\"Manrope Placeholder\\\", sans-serif; --framer-font-family-bold: \\\"Manrope\\\", \\\"Manrope Placeholder\\\", sans-serif; --framer-font-open-type-features: 'blwf' on, 'cv03' on, 'cv04' on, 'cv09' on, 'cv11' on; --framer-font-size: 10px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 600; --framer-font-weight-bold: 700; --framer-letter-spacing: 0.14em; --framer-line-height: 1.6em; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-color: var(--token-1571a8ff-891d-4206-9ecf-63ab75c1b373); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: uppercase; }\"];export const className=\"framer-pVJkW\";\nexport const __FramerMetadata__ = {\"exports\":{\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (80f113d)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"FS;Manrope-regular\",\"FS;Manrope-bold\"]);export const fonts=[{explicitInter:true,fonts:[{cssFamilyName:\"Manrope\",source:\"fontshare\",style:\"normal\",uiFamilyName:\"Manrope\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/2TYFCBHUANEXS6QGR5EQDUNAFH6LSWM3/AYNOU3VEA4LRTDNKJQUFNVNUTYSGOUOP/UXO4O7K2G3HI3D2VKD7UXVJVJD26P4BQ.woff2\",weight:\"400\"},{cssFamilyName:\"Manrope\",source:\"fontshare\",style:\"normal\",uiFamilyName:\"Manrope\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/NGBUP45ES3F7RD5XGKPEDJ6QEPO4TMOK/EXDVWJ2EDDVVV65UENMX33EDDYBX6OF7/6P4FPMFQH7CCC7RZ4UU4NKSGJ2RLF7V5.woff2\",weight:\"700\"}]}];export const css=[\".framer-z3SrG .framer-styles-preset-1wuy675:not(.rich-text-wrapper), .framer-z3SrG .framer-styles-preset-1wuy675.rich-text-wrapper p { --framer-font-family: \\\"Manrope\\\", \\\"Manrope Placeholder\\\", sans-serif; --framer-font-family-bold: \\\"Manrope\\\", \\\"Manrope Placeholder\\\", sans-serif; --framer-font-open-type-features: 'blwf' on, 'cv03' on, 'cv04' on, 'cv09' on, 'cv11' on; --framer-font-size: 16px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 700; --framer-letter-spacing: -0.02em; --framer-line-height: 1.65em; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-color: var(--token-51cab826-c359-458e-a86d-580648deadcc); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }\",\"@media (max-width: 1199px) and (min-width: 0px) { .framer-z3SrG .framer-styles-preset-1wuy675:not(.rich-text-wrapper), .framer-z3SrG .framer-styles-preset-1wuy675.rich-text-wrapper p { --framer-font-family: \\\"Manrope\\\", \\\"Manrope Placeholder\\\", sans-serif; --framer-font-family-bold: \\\"Manrope\\\", \\\"Manrope Placeholder\\\", sans-serif; --framer-font-open-type-features: 'blwf' on, 'cv03' on, 'cv04' on, 'cv09' on, 'cv11' on; --framer-font-size: 15px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 700; --framer-letter-spacing: -0.02em; --framer-line-height: 1.65em; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-color: var(--token-51cab826-c359-458e-a86d-580648deadcc); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }\"];export const className=\"framer-z3SrG\";\nexport const __FramerMetadata__ = {\"exports\":{\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (2b87f15)\nexport default function metadata(params,activeLocale){return{description:\"Original instrumentals, sample packs and production services. Licence instantly and get the files straight away.\",robots:\"max-image-preview:large\",title:\"Dionso - Music Production Services\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"sMAeiE,SAAS,GAAO,CAAC,OAAO,UAAW,CAAC,SAAS,GAAW,CAAC,IAAM,EAAE,EAAM,EAAM,EAAI,EAAE,IAA0D,OAAvC,IAAK,EAAI,IAAI,IAAI,EAAE,IAAe,GAAY,CAAI,CAAC,SAASA,IAAM,CAAC,IAAI,IAAM,KAAY,EAAU,EAAE,EAAS,CAAE,CAKpR,SAAgB,IAAkB,CAAC,OAAO,EAAM,CAAC,CAAC,KAAe,EAAK,CAOJ,SAAgB,GAAU,EAAK,CAAC,MAAM,CAAC,CAAC,GAAM,GAAiB,GAAG,GAAa,IAAI,CAAI,CAAE,CAQpB,SAAgB,GAAiB,EAAK,CAAC,MAAM,CAAC,CAAC,GAAM,GAAiB,GAAG,GAAkB,IAAI,CAAI,CAAE,CAAC,SAAgB,IAAe,CAAC,OAAO,EAAM,CAAC,CAAC,KAAY,EAAoB,CAAC,SAAgB,GAAc,EAAM,CAAC,EAAM,CAAC,CA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