PageSourceSearch

https://3me.ai/_next/static/chunks/185-6252bdc27c325832.js

js 3me.ai collected 2026-10-05 12:56:37 UTC 56,697 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{1730:(e,t,r)=>{r.d(t,{N:()=>i,s:()=>a});let i=["Aileron","Arial","Arial Black","Helvetica","Helvetica Neue","Verdana","Georgia","Times New Roman","Courier New","Tahoma","Trebuchet MS","Impact","Comic Sans MS","Roboto","Open Sans","Lato","Montserrat","Oswald","Source Sans Pro","Merriweather","Playfair Display","Poppins","Bebas Neue","Inter","Nunito","Raleway","Work Sans","DM Sans","Barlow","Rubik","Ubuntu"];function a(e){let t=e.trim();if(!t)return!1;let r=t.toLowerCase();return i.some(e=>e.toLowerCase()===r)}},2741:(e,t,r)=>{r.d(t,{$b:()=>a,z6:()=>n});let i=`A1 inner step \u2014 universal`;function a(e){let t=String(e??"").trim();return t===i||"A1 inner step - universal"===t||"A1 inner step: universal"===t}function n(e,t,r){return e}},3043:(e,t,r)=>{r.d(t,{BQ:()=>L,Fc:()=>I,Gf:()=>y,Lh:()=>B,Qb:()=>a,RL:()=>w,Y0:()=>O,YI:()=>D,_M:()=>R,aB:()=>k,ag:()=>_,eV:()=>M,eq:()=>S,lB:()=>C,mC:()=>W,xC:()=>$,y4:()=>f});let i={primary:"brand.color.primary",secondary:"brand.color.secondary",accent:"brand.color.accent",accent_2:"brand.color.accent_2",accent_3:"brand.color.accent_3",accent_4:"brand.color.accent_4",neutral:"brand.color.neutral",background:"brand.color.background",foreground:"brand.color.foreground",cta:"brand.color.cta",gradient:"brand.color.gradient"};function a(e){let t={},r=[];for(let a of e){let e=String(a.color_role??"").trim(),n=d(a.hex);if(!n)continue;let o=i[e];o&&(!function(e,t,r){let i=t.split("."),a=e;for(let e=0;e<i.length-1;e+=1){let t=i[e],r=a[t];(null==r||"object"!=typeof r||Array.isArray(r))&&(a[t]={}),a=a[t]}a[i[i.length-1]]=r}(t,o,n),r.push({token_key:o,token_value:{hex:n},token_type:"color",source_kind:"brand_color_tokens"}))}return{tokens:t,items:r}}let n={dark:["brand.color.text.dark","brand.color.foreground"],light:["brand.color.text.light","brand.color.neutral","brand.color.surface"]},o=["brand.color.primary","brand.color.secondary","brand.color.accent","brand.color.accent_2","brand.color.accent_3","brand.color.accent_4","brand.color.background","brand.color.cta"],l=["brand.color.background","brand.color.accent_3","brand.color.secondary","brand.color.accent_4","brand.color.accent","brand.color.primary","brand.color.accent_2"],s=["brand.color.primary","brand.color.secondary","brand.color.accent","brand.color.accent_2","brand.color.accent_3","brand.color.accent_4","brand.color.neutral","brand.color.surface","brand.color.background","brand.color.foreground","brand.color.cta"];function c(e,t){let r=t.split("."),i=e;for(let e of r){if(null==i||"object"!=typeof i)return;i=i[e]}if(null!=i&&"object"==typeof i){let e=i;return e.hex??e.value??e.url??void 0}return i}function d(e){if("string"!=typeof e)return null;let t=e.trim();return t?t.startsWith("#")?t:`#${t}`:null}function u(e){return e.replace(/^brand\.color\./,"").replace(/_/g," ").replace(/\b\w/g,e=>e.toUpperCase())}function m(e){let t=s.indexOf(e);return t>=0?t:s.length+1}function f(e,t){let r=c(e,t);if(null!=r&&""!==r)return r;if("brand.color.accent_2"===t||"brand.color.accent_3"===t||"brand.color.accent_4"===t)for(let t of["brand.color.accent","brand.color.primary","brand.color.secondary"]){let r=c(e,t);if(null!=r&&""!==r)return r}}function _(e){if("string"!=typeof e)return!1;let t=e.trim();if(!t)return!1;if(/^#(?:0{3}|0{6})$/i.test(t)||/^#(?:f{3}|f{6})$/i.test(t))return!0;let r=t.match(/^rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)/i);if(r){let[e,t,i]=[Number(r[1]),Number(r[2]),Number(r[3])],a=Math.max(e,t,i),n=Math.min(e,t,i);if(a-n<=12&&(a<=12||n>=243))return!0}return!1}function y(e){let t=x(e,"brand.color.background"),r=k(t);if("panel"===r||"wash"===r)return t;let i=A(T(e));if(i)return i;for(let t of b){let r=x(e,t);if("panel"===k(r)&&!H(r))return r}let a=x(e,"brand.color.primary");if("wash"===k(a))return a}function p(e){if("string"!=typeof e||!e.trim())return null;let t=e.trim(),r=t.match(/^rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)/i);if(r)return{r:Number(r[1]),g:Number(r[2]),b:Number(r[3])};let i=N(t);return i?{r:Number.parseInt(i.slice(0,2),16),g:Number.parseInt(i.slice(2,4),16),b:Number.parseInt(i.slice(4,6),16)}:null}function g(e){let t=p(e);if(!t)return null;
1let r=t.r/255,i=t.g/255,a=t.b/255,n=Math.max(r,i,a),o=Math.min(r,i,a);return n<=0?0:(n-o)/n}function h(e){let t=p(e);return t?(.2126*t.r+.7152*t.g+.0722*t.b)/255:null}let b=["brand.color.surface","brand.color.background","brand.color.neutral"],v=["brand.color.mood.overlay","brand.color.primary","brand.color.foreground","brand.color.secondary","brand.color.accent_3","brand.color.accent","brand.color.accent_2","brand.color.background","brand.color.cta"];function x(e,t){let r=f(e,t);return"string"==typeof r?r.trim():""}function w(e){return"accent"===k(e)}function k(e){if("string"!=typeof e||!e.trim())return"skip";if(F(e))return"text";let t=g(e),r=h(e);return null==t||null==r?"skip":r>=.5&&t>=.35||r>=.28&&t>=.55?"accent":r>=.5?"panel":"wash"}function T(e){let t=new Set,r=[];for(let i of v){let a=x(e,i);if("wash"!==k(a))continue;let n=a.toLowerCase();t.has(n)||(t.add(n),r.push(a))}return r}function A(e){if(0!==e.length)return[...e].sort((e,t)=>{let r=h(e)??1,i=h(t)??1;return r!==i?r-i:(g(e)??1)-(g(t)??1)})[0]}function C(e){let t=k(e);return"panel"===t||"wash"===t}function B(e,t){if(t?.photoLuminance==="dark"){for(let t of b){let r=x(e,t);if("panel"===k(r))return r}return"#FFFFFF"}let r=x(e,"brand.color.mood.overlay");return"wash"===k(r)?r:A(T(e))??"#0B0B0F"}function S(e){for(let t of b){let r=x(e,t);if("panel"===k(r))return r}for(let t of[...b,"brand.color.primary","brand.color.secondary","brand.color.accent_3"]){let r=x(e,t);if("wash"===k(r))return r}}function I(e,t){for(let r of n[t]){let i=d(f(e,r));if(i&&L(i)===t)return i}let r=[],i=new Set;for(let a of"dark"===t?o:l){let n=d(f(e,a));if(!n||"text"===k(n)||L(n)!==t)continue;let o=n.toLowerCase();i.has(o)||(i.add(o),r.push(n))}if(0===r.length)return null;let a="dark"===t?"wash":"panel";return r.find(e=>k(e)===a)??r[0]}function N(e){let t=d(e);if(!t)return null;let r=t.slice(1);return 3===r.length?r.split("").map(e=>e+e).join(""):6===r.length?r:null}function $(e){return O(e,1)}function O(e,t){let r=N(e);if(!r)return`rgba(255,255,255,${Math.min(1,Math.max(0,t))})`;let i=Number.parseInt(r.slice(0,2),16),a=Number.parseInt(r.slice(2,4),16),n=Number.parseInt(r.slice(4,6),16),o=Math.min(1,Math.max(0,t));return`rgba(${i},${a},${n},${o})`}function L(e,t="light"){if("string"!=typeof e||!e.trim())return t;let r=e.trim(),i=r.match(/^rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)/i);return i?.2126*(Number(i[1])/255)+.7152*(Number(i[2])/255)+.0722*(Number(i[3])/255)>=.5?"light":"dark":function(e,t="light"){let r="string"==typeof e?N(e):null;return r?.2126*(Number.parseInt(r.slice(0,2),16)/255)+.7152*(Number.parseInt(r.slice(2,4),16)/255)+.0722*(Number.parseInt(r.slice(4,6),16)/255)>=.5?"light":"dark":t}(r,t)}function F(e){if("string"!=typeof e||!e.trim())return!1;let t=e.trim(),r=t.match(/^rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)/i);if(r){let e=Number(r[1]),t=Number(r[2]),i=Number(r[3]);return e<=24&&t<=24&&i<=28}let i=N(t);if(!i)return!1;let a=Number.parseInt(i.slice(0,2),16),n=Number.parseInt(i.slice(2,4),16),o=Number.parseInt(i.slice(4,6),16);return a<=24&&n<=24&&o<=28}function H(e){if("string"!=typeof e||!e.trim())return!1;let t=e.trim(),r=t.match(/^rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)/i);if(r){let e=Number(r[1]),t=Number(r[2]),i=Number(r[3]);return e>=245&&t>=245&&i>=245}let i=N(t);if(!i)return!1;let a=Number.parseInt(i.slice(0,2),16),n=Number.parseInt(i.slice(2,4),16),o=Number.parseInt(i.slice(4,6),16);return a>=245&&n>=245&&o>=245}let j=["brand.color.primary","brand.color.foreground","brand.color.secondary","brand.color.accent","brand.color.accent_2","brand.color.accent_3","brand.color.accent_4","brand.color.background","brand.color.cta"],z=["brand.color.surface","brand.color.background","brand.color.neutral","brand.color.secondary","brand.color.accent_4"],E=[...j,...z,"brand.color.text.dark","brand.color.text.light"],P=["brand.color.cta","brand.color.primary","brand.color.secondary","brand.color.accent","brand.color.accent_4","brand.color.accent_2"];function R(e,t=1){let r=Math.max(1,Math.floor(t))-1;for(let t of[...P.slice(r%P.length),...P.slice(0,r%P.length)]){let r=d(f(e,t));if(r&&"accent"===k(r))return r}return null}function M(e,t){let r=p(t);if(!r||F(t)||H(t))return!1;for(let t of E){let i=d(f(e,t)),a=i?p(i):null;if(a&&3>=Math.abs(a.r-r.r)&&3>=Math.abs(a.g-r.g)&&3>=Math.abs(a.b-r.b))return!0}return!1}function W(e,t,r=.88){let i="light"===t?"dark":"light",a=c(e,"brand.color.mood.text_background");if("string"==typeof a&&a.trim()){let e=a.trim(),t=null;if(/^rgba?\(/i.test(e))t=e;else{let i=d(e);i&&(t=O(i,r))}if(t&&L(t)===i&&!("dark"===i&&F(t))&&!("light"===i&&H(t)))return t}if("light"===t){for(let t of j){let i=d(f(e,t));if(!(!i||F(i))&&"dark"===L(i))return O(i,r)}return null}for(let t of z){let r=d(f(e,t));if(!(!r||H(r))&&"light"===L(r))return O(r,.94)}return null}function D(e,t={}){let r=new Map;for(let t of e){if("color"!==t.token_type)continue;let e=d(t.token_value?.hex??t.token_value?.value);e&&r.set(t.token_key,{key:t.token_key,label:u(t.token_key),hex:e})}for(let e of s){if(r.has(e))continue;let i=d(f(t,e));i&&r.set(e,{key:e,label:u(e),hex:i})}for(let t of e){if("color"!==t.token_type||r.has(t.token_key))continue;let e=d(t.token_value?.hex??t.token_value?.value);e&&r.set(t.token_key,{key:t.token_key,label:u(t.token_key),hex:e})}return[...r.values()].sort((e,t)=>
1{let r=m(e.key)-m(t.key);return 0!==r?r:e.key.localeCompare(t.key)})}},9128:(e,t,r)=>{r.d(t,{HF:()=>n,Ze:()=>a,_S:()=>o});let i=`C3 Tip card \u2014 Meet the founder intro`;function a(e){return"Headline-Text.text"===e["content.headline"]&&"Body-Text.text"===e["content.body"]&&"Badge-Text.text"===e["content.badge"]&&"Background-Fill.fill_color"===e["brand.color.mood.background"]&&"Secondary-Image.source"===e["content.image.secondary"]}function n(e,t){let r,n=!!(r=String(t??"").trim())&&(r===i||r.startsWith(`${i} `)),o=a(e);if(!n&&!o)return e;let l={...e};return delete l["brand.font.heading"],l}function o(e,t,r){return e}},10058:(e,t,r)=>{r.d(t,{XV:()=>a,Yp:()=>n});let i=`A1 CTA \u2014 universal`;function a(e){let t=String(e??"").trim();return t===i||"A1 CTA - universal"===t||"A1 CTA: universal"===t}function n(e,t,r){return e}},12769:(e,t,r)=>{r.d(t,{HL:()=>o,R_:()=>l,bt:()=>n,rf:()=>s});var i=r(42906);let a=new Set(["localhost","127.0.0.1","[::1]"]);function n(e){let t=e.trim();if(!t)return!1;try{let e=new URL(t.startsWith("http")?t:`http://${t}`);return a.has(e.hostname.toLowerCase())}catch{return/localhost|127\.0\.0\.1|\[::1\]/i.test(t)}}function o(){let e="https://3me.ai".trim();if(e&&!n(e))return e.replace(/\/$/,"");let t=l();return n(t)?"https://3me.ai":t}function l(){let e="https://3me.ai".trim();if(e)return e.replace(/\/$/,"");let t=i.env.VERCEL_PROJECT_PRODUCTION_URL?.trim();if(t){let e=t.replace(/\/$/,"");return e.startsWith("http")?e:`https://${e}`}let r=i.env.VERCEL_URL?.trim();if(r){let e=r.replace(/\/$/,"");return e.startsWith("http")?e:`https://${e}`}return"http://localhost:3000"}function s(e){let t=l(),r=e.startsWith("/")?e:`/${e}`;return`${t}${r}`}},16879:(e,t,r)=>{function i(e){return"A2 Checklist: Clean editorial item [inner_a]"===e}function a(e,t,r){return e}r.d(t,{qC:()=>a,vA:()=>i})},21803:(e,t,r)=>{r.d(t,{K:()=>i,e:()=>a});let i=["fonts.add",...r(60107).c1];function a(e){let t={...e};for(let e of i)delete t[e];return t}},27400:(e,t,r)=>{r.d(t,{IJ:()=>m,Wc:()=>_,_W:()=>d,b6:()=>l,uo:()=>f,wJ:()=>c,wo:()=>o});var i=r(3043),a=r(62690),n=r(22456);r(43003);let o={"content.image.collage.tl":"Secondary-Image-TL.source","content.image.collage.tr":"Secondary-Image-TR.source","content.image.collage.mr":"Secondary-Image-MR.source","content.image.collage.bl":"Secondary-Image-BL.source","content.image.collage.br":"Secondary-Image-BR.source"},l="Accent-Shape",s=["Headline-Text.fill_color","Subhead-Text.fill_color","CTA-Text.fill_color"];function c(e){return Object.keys(e).some(e=>e.startsWith("content.image.collage."))}function d(e,t,r){if(!c(t))return!1;let i=r??{};for(let r of u(t)){let a=t[r]??o[r];if(!a?.endsWith(".source"))continue;let n=e[a]??i[a];if("string"==typeof n&&""!==n.trim())return!0}return!1}function u(e){return Object.keys(o).filter(t=>!!e[t]?.trim())}function m(e,t,r){if(!c(t))return e;let i=r??{},a=function(e,t,r){if(!c(t))return e;let i=r??{},a=e["Background-Image.source"]??i["Background-Image.source"],n="string"==typeof a?a.trim():"";if(!n)return e;let l=null;for(let r of u(t)){let a=t[r]??o[r];if(!a?.endsWith(".source")||a in i)continue;let s=(l??e)[a]??i[a];("string"!=typeof s||""===s.trim())&&(l||(l={...e}),l[a]=n)}return l??e}(e,t,i);for(let r of u(t)){let n=t[r]??o[r];if(!n?.endsWith(".source"))continue;let l=n.slice(0,-7),s=`${l}.visible`;if(s in i)continue;let c=a[n]??i[n];("string"!=typeof c||""===c.trim())&&(a===e&&(a={...e}),a[s]=!1)}return a}function f(e){return!c(e)||e["content.cta"]?e:{...e,"content.cta":"CTA-Text.text"}}function _(e,t,r,o,d){var u;let m,f,_,y,p,g,h,b;if(!c(t))return e;let v=r??{},x=new Set(o??[]),w=function(e,t,r){let a={...e},o=(0,i.eq)(r??{});o&&void 0===t[`${l}.fill_color`]&&(a[`${l}.fill_color`]=o);let s={...a},c={...(0,n.dF)(s)},d=!1;for(let e of Object.keys(c))(0,n.PJ)(e)&&(l in c||l in t||(c[l]=c[e]),delete c[e],d=!0);d&&(s[n.Ju]=c);let u=Object.keys(s).find(e=>e.endsWith(".visible")&&(0,n.PJ)(e.slice(0,-8)));return u&&void 0===s[`${l}.visible`]&&void 0===t[`${l}.visible`]&&(s[`${l}.visible`]=s[u]),s}(e,v,d);u=w,m=v??{},f=new Set(x??[]),y=(_={...u})["CTA-Text.text"]??m["CTA-Text.text"],p=_["Headline-Text.text"]??m["Headline-Text.text"],g="string"==typeof y?(0,a.Xx)(y):"",h="string"==typeof p?(0,a.Xx)(p):"",b=""!==g&&""!==h&&g===h,""===g||b?b?(f.has("CTA-Text.visible")||(_["CTA-Text.visible"]=!1),f.has("CTA-Text.text")||(_["CTA-Text.text"]="")):f.has("CTA-Text.visible")||"CTA-Text.visible"in m||(_["CTA-Text.visible"]=!1,"CTA-Text.text"in m||f.has("CTA-Text.text")||(_["CTA-Text.text"]="")):"CTA-Text.visible"in m||f.has("CTA-Text.visible")||null!=_["CTA-Text.visible"]||(_["CTA-Text.visible"]=!0),w=w=w=_;let k=t["brand.color.mood.text_accent"]??"Headline-Text.fill_color";if(!(k in v)&&!x.has(k)){let e=(0,i.Fc)(d??{},"dark");e&&(w[k]=e)}let T=w[k]??v[k];if(null==T||""===T)return w;for(let e of s)e!==k&&(e in v||x.has(e)||(w[e]=T));return w}},27825:(e,t,r)=>{r.d(t,{Hk:()=>a,Qt:()=>l,dZ:()=>o,gW:()=>n});var i=r(27400);function a(e){if((0,i.wJ)(e))return!1;let t=e["content.image.profile"]?.startsWith("Profile-Image")===!0,r=Object.values(e).some(e=>/Social-Handle|Display-Name/i.test(e));return e["content.headline"]?.startsWith("Headline-Text")===!0&&"Backgroun
1d-Fill.fill_color"===e["brand.color.mood.background"]&&t&&r}function n(e,t){if(!a(e))return!1;if(t?.hasQuoteCardElement===!1)return!0;if(t?.hasQuoteCardElement===!0)return!1;let r=String(t?.templateName??"").toLowerCase();return/full[\s_-]?bleed/.test(r)}function o(e,t,r){return e}function l(e,t,r){return e}},30293:(e,t,r)=>{r.d(t,{Fz:()=>u,Hc:()=>d,Z2:()=>l});var i=r(21803),a=r(69070);let n=[...i.K,...a.KZ.filter(e=>e.startsWith("__")),"__rendered_media_url"],o=new Set(["still","carousel","video"]);function l(e){return!!(n.includes(e)||e.startsWith("__"))}function s(e,t){let r=new Set(Object.keys(t??{})),i=function(e){let t={};for(let[r,i]of Object.entries(e))l(r)||(t[r]=i);return t}(e),a={};for(let[e,t]of Object.entries(i))r.has(e)||(a[e]=t);return JSON.parse(JSON.stringify(a))}function c(e,t){let r=[];for(let i of Object.keys(e))l(i)&&r.push({code:"prohibited_system_key",message:`prohibited system key "${i}"`,path:`${t}.${i}`});return r}function d(e,t){let r=[];if(!e||"object"!=typeof e||Array.isArray(e))return{ok:!1,errors:[{code:"not_object",message:"creative_brand_base must be a JSON object"}]};let i=function(e,t="root"){try{return JSON.stringify(e),null}catch(e){return{code:"not_json_serialisable",message:e instanceof Error?e.message:"value is not JSON-serialisable",path:t}}}(e);if(i)return{ok:!1,errors:[i]};1!==e.schema_version&&r.push({code:"wrong_schema_version",message:`schema_version must be 1, got ${String(e.schema_version)}`,path:"schema_version"});let a="string"==typeof e.frozen_template_id?e.frozen_template_id.trim():"";a?a!==String(t.expectedTemplateId??"").trim()&&r.push({code:"template_mismatch",message:`frozen_template_id "${a}" does not match row template "${t.expectedTemplateId}"`,path:"frozen_template_id"}):r.push({code:"blank_frozen_template_id",message:"frozen_template_id is required",path:"frozen_template_id"});let n=e.media_kind;if("string"==typeof n&&o.has(n)||r.push({code:"invalid_media_kind",message:`media_kind must be still|carousel|video, got ${String(n)}`,path:"media_kind"}),!e.modifications||"object"!=typeof e.modifications||Array.isArray(e.modifications)?r.push({code:"invalid_modifications",message:"modifications must be a flat object",path:"modifications"}):r.push(...c(e.modifications,"modifications")),void 0!==e.carousel_slides&&(Array.isArray(e.carousel_slides)?e.carousel_slides.forEach((e,t)=>{!e||"object"!=typeof e||Array.isArray(e)?r.push({code:"invalid_carousel_slides",message:"carousel slide must be an object",path:`carousel_slides[${t}]`}):("string"==typeof e.slide_id&&e.slide_id.trim()||r.push({code:"invalid_carousel_slides",message:"slide_id required",path:`carousel_slides[${t}].slide_id`}),"string"==typeof e.creatomate_template_id&&e.creatomate_template_id.trim()||r.push({code:"invalid_carousel_slides",message:"creatomate_template_id required",path:`carousel_slides[${t}].creatomate_template_id`}),!e.modifications||"object"!=typeof e.modifications||Array.isArray(e.modifications)?r.push({code:"invalid_carousel_slides",message:"slide modifications must be an object",path:`carousel_slides[${t}].modifications`}):r.push(...c(e.modifications,`carousel_slides[${t}].modifications`)))}):r.push({code:"invalid_carousel_slides",message:"carousel_slides must be an array when present",path:"carousel_slides"})),t.userOverrideKeys){let i=new Set([...t.userOverrideKeys].filter(e=>!l(e)));for(let t of Object.keys(e.modifications??{}))i.has(t)&&r.push({code:"user_override_key_present",message:`user override key "${t}" must not appear in base modifications`,path:`modifications.${t}`})}return r.length?{ok:!1,errors:r}:{ok:!0,base:{schema_version:1,media_kind:n,frozen_template_id:a,modifications:e.modifications,...Array.isArray(e.carousel_slides)?{carousel_slides:e.carousel_slides}:{},...void 0!==e.video_edit_revision?{video_edit_revision:null===e.video_edit_revision||"string"==typeof e.video_edit_revision?e.video_edit_revision:String(e.video_edit_revision)}:{}}}}function u(e){let t=s(e.modifications,e.userOverrides),r=e.carouselSlides?.map(t=>({slide_id:t.slide_id,creatomate_template_id:t.creatomate_template_id,modifications:s(t.modifications,e.userOverrides)}));return d({schema_version:1,media_kind:e.mediaKind,frozen_template_id:e.frozenTemplateId.trim(),modifications:t,...r?{carousel_slides:r}:{},...void 0!==e.videoEditRevision?{video_edit_revision:e.videoEditRevision}:{}},{expectedTemplateId:e.frozenTemplateId,userOverrideKeys:Object.keys(e.userOverrides??{})})}},32027:(e,t,r)=>{r.d(t,{EJ:()=>m,LW:()=>d,W_:()=>n});var i=r(43003),a=r(3043);function n(e){return`List-Line-${e}-Text.text`}let o=["Headline-Text.fill_color",...Array.from({length:5},(e,t)=>{var r;return r=t+1,`List-Line-${r}-Text.fill_color`})],l=["Headline-Text.background_color",...Array.from({length:5},(e,t)=>{var r;return r=t+1,`List-Line-${r}-Text.background_color`})],s="Headline-Text.fill_color",c="Headline-Text.background_color";
1function d(){let e={"content.image.hero":"Background-Image.source","content.headline":"Headline-Text.text","content.cta":"CTA-Text.text","brand.color.mood.background":"Background-Fill.fill_color","brand.color.mood.overlay":"Background-Overlay.fill_color","brand.color.mood.overlay_opacity":"Background-Overlay.opacity","brand.color.mood.text_accent":s,"brand.color.mood.text_background":c,"brand.color.accent":"Accent-Bar-Bottom.fill_color","brand.asset.logo_url":"Logo-Image.source","brand.font.heading":"Headline-Text.font_family","brand.font.body":"List-Line-1-Text.font_family","content.audio.music":"Background-Music.source"};for(let t=1;t<=5;t++)e[(0,i.DB)(t)]=n(t);return(0,i.eZ)(e)}function u(e,t,r,i,a,n,o){if(t[r]!==i)return e;let l=e[i];if(null==l||""===l)return e;let s=n??{},c=new Set(Array.from(o??[]).map(e=>e.trim())),d={...e};for(let e of a)e===i||e in s||c.has(e)||(d[e]=l);return d}function m(e,t,r,d,m){if(t[(0,i.DB)(1)]!==n(1)||t["brand.color.mood.text_background"]!==c)return e;let f=r??{},_=new Set(d??[]),y={...e};if(!(s in f)&&!_.has(s)){let e=y[s];if(!("string"==typeof e&&e.trim()?(0,a.BQ)(e):null)){let e=(0,a.Fc)(m??{},"light");e&&(y[s]=e)}}if(!(c in f)&&!_.has(c)){let e=y[s],t="string"==typeof e&&e.trim()?(0,a.BQ)(e):"light",r=(0,a.mC)(m??{},t);r&&(y[c]=r)}return y=u(y,t,"brand.color.mood.text_accent",s,o,r,d),y=u(y,t,"brand.color.mood.text_background",c,l,r,d)}},37229:(e,t,r)=>{r.d(t,{sJ:()=>C,Eh:()=>_,x4:()=>A,K7:()=>B,QA:()=>k});var i=r(27400),a=r(10058),n=r(2741),o=r(16879),l=r(81658),s=r(92262),c=r(27825),d=r(9128);r(79120);let u=JSON.parse('{"$schema_version":2,"contract":"global-composition-ownership","generated_for":"docs/media-editor-recovery/2026-07-23-wysiwyg-parity-plan","description":"Machine-readable ownership registry for every Creatomate template family. Classifies which composition properties are authoritative from the template, which the generation system may persist, which are re-derived by the read-time resolver, and which persist only as explicit user overrides. This is the single source of truth for the generation write-path geometry strip and for the cross-surface composition resolver. Extending a family from \'candidate\' to \'verified\' plus \'strip_enabled: true\' is configuration, not new code. Extended 2026-09-15 to cover the `visible` (safety-class) dimension: `visibility_property_suffixes` plus per-family `structural_visibility_layers` let the same registry-driven contract re-derive card-plate visibility on every read instead of trusting whatever a stale generation-time bake persisted (see global-composition-ownership-contract.md).","product_rule":["1. Template geometry is authoritative by default.","2. Generated content supplies text, media, brand values, and content bindings only.","3. Generation must not persist layout properties unless explicitly generation-owned for that template family.","4. User edits persist as user overrides.","5. User overrides win on Editor, Queue, Review, reload, and publish.","6. All surfaces resolve the same final composition."],"ownership_classes":{"template":"Authoritative from the Creatomate template/master. Never persisted by generation. Re-derived per read.","resolver":"Re-derived deterministically by the read-time resolver appliers on every surface (e.g. bound-text width via ensureBoundTextLayerMods). Not user intent, safe to drop from storage because it is recomputed identically everywhere.","generation":"Values the generation system legitimately owns and persists for this family (content, media, brand). Layout/geometry is generation-owned ONLY where a family explicitly lists it under generation_owned_geometry.","user":"Explicit user overrides captured from the pre-resolution override channel. Win over everything. Falsy values (0, \'\', false, null) are preserved as intent (DEC-05 presence).","content":"Generated text and media source values (Layer.text, Layer.source).","brand":"Brand palette / token driven values (fill_color, stroke_color, shadow_color).","media_fit":"Media fit / scaling (fit, x_scale, y_scale). Never altered by this contract without per-family classification.","safety":"Fail-closed visibility and legibility corrections (visible, legibility). Re-derived every read for layers a family lists under structural_visibility_layers (composition-ownership.ts applyStructuralCardVisibilitySafety); otherwise untouched by this contract."},"geometry_property_suffixes":["x","y","width","height","x_anchor","y_anchor","x_alignment","y_alignment"],"visibility_property_suffixes":["visible"],"property_class_defaults":{"x":"template","y":"template","width":"template","height":"template","x_anchor":"template","y_anchor":"template","x_alignment":"template","y_alignment":"template","text":"content","source":"content","fill_color":"brand","stroke_color":"brand","shadow_color":"brand","background_color":"brand","font_size":"template","line_height":"template","letter_spacing":"template","font_family":"template","font_weight":"template","text_wrap":"template","visible":"safety","z_index":"template","fit":"media_fit","x_scale":"media_fit","y_scale":"media_fit","duration":"template","time":"template","loop":"template","frame_rate":"template","output_format":"template"},"excluded_from_strip":{"reason":"Suffixes this contract never treats as strippable geometry even though they are layout-adjacent. z_index is template-owned (do not invent in CardDefaults); font_size / line_height / letter_spacing are template-owned typography (HeadlineFit is a no-op; strip drops generation sizes); fit / x_scale / y_scale are media-fit; duration / time / loop are scene timing. Classify per family before ever moving these into the geometry strip.","suffixes":["z_index","font_size","line_height","letter_spacing","font_family","font_weight","text_wrap","fit","x_scale","y_scale","duration","time","loop","frame_rate","output_format"]},"families":[{"id":"A1_collage_cover","layout_id":"A1","label":"A1 Step carousel: collage c
1ard cover","roles":["cover"],"media_class":"carousel","detector":{"type":"binding","predicate":"bindingPayloadIsCollageCover"},"creatomate_template_uuids":["0c4aa171"],"classification_status":"verified","strip_enabled":true,"template_owned_geometry_layers":["Headline-Text","Subhead-Text","Background-Image","Background-Overlay","Accent-Shape"],"read_time_generation_geometry_strip":{"Headline-Text":["x","y","width","height","font_size","line_height","x_anchor","y_anchor","x_alignment","y_alignment","z_index"],"Subhead-Text":["x","y","width","height","font_size","line_height","x_anchor","y_anchor","x_alignment","y_alignment","z_index"],"CTA-Text":["font_size","line_height","width","y","z_index"],"Accent-Shape":["x","y","width","height","z_index"],"Background-Image":["x","y","width","height","x_anchor","y_anchor","z_index"],"Background-Overlay":["x","y","width","height","x_anchor","y_anchor","z_index"]},"atomic_geometry_groups":[{"id":"hero_crop","keys":["Background-Image.x","Background-Image.y","Background-Image.width","Background-Image.height"]}],"generation_owned_geometry":{},"resolver_owned_geometry_layers":[],"structural_visibility_layers":["Accent-Shape"],"notes":"Template owns card text boxes, hero crop (atomic), auto-size typography, and layer order (Studio track). Generation must not invent design knobs; write+read strip drops baked geometry/typography/z_index unless declared in user_geometry_keys. applyCollageCoverHeadlineFit is a no-op (2026-07-28). CardDefaults must not invent z_index; strip leftover stacking so template track order wins. Accent-Shape is this family\'s white card plate (COLLAGE_COVER_CARD_LAYER); always re-derived visible unless the user explicitly hid it.","evidence":["docs/media-editor-recovery/2026-07-23-wysiwyg-parity-plan/evidence/W7-spacing-divergence-report.md","apps/social/lib/creatomate/carousel-deck/template-owned-geometry.test.ts"]},{"id":"A1_step_inner","layout_id":"A1","label":"A1 Step carousel: numbered step inner","roles":["step"],"media_class":"carousel","detector":{"type":"template_name","predicate":"isA1InnerStepTemplate"},"creatomate_template_uuids":[],"classification_status":"verified","strip_enabled":true,"template_owned_geometry_layers":["Number-Text","Headline-Text","Body-Text"],"read_time_generation_geometry_strip":{"Number-Text":["x","y","width","height","x_anchor","y_anchor","x_alignment","y_alignment"],"Headline-Text":["x","y","width","height","font_size","line_height","x_anchor","y_anchor","x_alignment","y_alignment"],"Body-Text":["x","y","width","height","font_size","line_height","x_anchor","y_anchor","x_alignment","y_alignment"]},"generation_owned_geometry":{},"resolver_owned_geometry_layers":[],"notes":"Inventers no-op\'d 2026-07-28. Template owns step stack geometry/typography; strip on write+read.","evidence":["apps/social/lib/creatomate/a1-inner-step-bindings.ts"]},{"id":"A1_cta","layout_id":"A1","label":"A1 Step carousel: CTA slide","roles":["cta","cta_end"],"media_class":"carousel","detector":{"type":"template_name","predicate":"isA1CtaTemplate"},"creatomate_template_uuids":[],"classification_status":"verified","strip_enabled":true,"template_owned_geometry_layers":["CTA-Text","Subhead-Text","Logo-Image"],"read_time_generation_geometry_strip":{"CTA-Text":["x","y","width","height","font_size","line_height","x_anchor","y_anchor","x_alignment","y_alignment"],"Subhead-Text":["x","y","width","height","x_anchor","y_anchor"],"Logo-Image":["x","y","width","height"]},"generation_owned_geometry":{},"resolver_owned_geometry_layers":[],"notes":"Inventers no-op\'d 2026-07-28. Template owns CTA pill geometry.","evidence":["apps/social/lib/creatomate/a1-cta-bindings.ts"]},{"id":"A2_checklist","layout_id":"A2","label":"A2 Checklist carousel: checklist item","roles":["checklist","cover"],"media_class":"carousel","detector":{"type":"template_name","predicate":"isA2ChecklistItemTemplate"},"creatomate_template_uuids":[],"classification_status":"verified","strip_enabled":true,"template_owned_geometry_layers":["Headline-Text","Body-Text"],"read_time_generation_geometry_strip":{"Headline-Text":["x","y","width","height","font_size","line_height","y_alignment"],"Body-Text":["x","y","width","height","font_size","line_height","y_alignment"]},"generation_owned_geometry":{},"resolver_owned_geometry_layers":[],"notes":"Inventers no-op\'d 2026-07-28. Template owns checklist stack.","evidence":["apps/social/lib/creatomate/a2-checklist-item-bindings.ts"]},{"id":"A3_stat_slide","layout_id":"A3","label":"A3 Stat carousel: stat slide","roles":["stat","cover"],"media_class":"carousel","detector":{"type":"template_name","predicate":"isA3StatSlideTemplate"},"creatomate_template_uuids":[],"classification_status":"verified","strip_enabled":true,"template_owned_geometry_layers":["Badge-Text","Headline-Text","Body-Text","Acce
1nt-Bar-Top","Accent-Bar-Bottom"],"read_time_generation_geometry_strip":{"Badge-Text":["x","y","width","height","y_anchor","y_alignment"],"Headline-Text":["x","y","width","height","y_anchor","y_alignment"],"Body-Text":["x","y","width","height","y_anchor","y_alignment"],"Accent-Bar-Top":["x","y","width","height","x_anchor"],"Accent-Bar-Bottom":["x","y","width","height","x_anchor"]},"generation_owned_geometry":{},"resolver_owned_geometry_layers":[],"structural_visibility_layers":["Quote-Card"],"notes":"Inventers no-op\'d 2026-07-28. No generation_owned geometry exceptions; template owns accent bars + stack. Corrected 2026-09-15 (cross-family-visibility-verification-report.md Findings 1-3): this family was misclassifying to C1_quote_card (a heuristic-before-templateName-match precedence bug in familyForContext, now fixed), which masked two registry defects. First, the real templates have no layer named Accent-Shape at all - the real decorative accent-bar layers are Accent-Bar-Top / Accent-Bar-Bottom (both correctly never forced visible; they are decorative, not card plates, and are never referenced as needing force-visibility on any of 68 real sampled rows). Second, the real templates DO have a genuinely structural Quote-Card wrapper (confirmed visible=true on 68/68 real rows that reference it), previously undocumented and only kept correct by accident via the misclassification. structural_visibility_layers corrected from [] to [\\"Quote-Card\\"] accordingly.","evidence":["apps/social/lib/creatomate/a3-stat-slide-bindings.ts","docs/media-editor-recovery/2026-07-23-wysiwyg-parity-plan/cross-family-visibility-verification-report.md"]},{"id":"B1_accent_rule_body","layout_id":"B1","label":"B1 Statement carousel: accent-rule body beat","roles":["cover","body","insight","cta"],"media_class":"carousel","detector":{"type":"template_name","predicate":"isB1AccentRuleBodyTemplate"},"creatomate_template_uuids":[],"classification_status":"verified","strip_enabled":true,"template_owned_geometry_layers":["Body-Text"],"read_time_generation_geometry_strip":{"Body-Text":["x","y","width","height","x_anchor","y_anchor"]},"generation_owned_geometry":{},"resolver_owned_geometry_layers":[],"notes":"Inventers no-op\'d 2026-07-28. Template owns body inset; no generation_owned exceptions. Corrected 2026-09-15 (cross-family-visibility-verification-report.md Finding 1): the registry\'s declared detector, bindingPayloadIsB1AccentRuleBodyBeat, was never implemented or wired into familyForContext, so this family never actually resolved (its cover role false-matched C1_quote_card\'s binding-shape heuristic instead). Replaced with an exact templateName-gated detector (isB1AccentRuleBodyTemplate, composition-ownership.ts) matching all 4 real live template roles (cover, body [inner_a], both CTA variants); roles updated from [\\"body\\",\\"insight\\"] to include the real cover/cta roles.","evidence":["apps/social/lib/creatomate/bake-pool-creative-modifications.ts","docs/media-editor-recovery/2026-07-23-wysiwyg-parity-plan/cross-family-visibility-verification-report.md"]},{"id":"B2_before_after","layout_id":"B2","label":"B2 Before/after carousel [Batch 4 interim]","roles":["problem","shift","after"],"media_class":"carousel","detector":{"type":"template_name","predicate":"isB2InterimInnerTemplate"},"creatomate_template_uuids":[],"classification_status":"verified","strip_enabled":true,"template_owned_geometry_layers":["Headline-Text","Subhead-Text","Body-Text","CTA-Text"],"read_time_generation_geometry_strip":{"Headline-Text":["x","y","width","height","font_size","line_height"],"Body-Text":["x","y","width","height"],"CTA-Text":["font_size","line_height"]},"generation_owned_geometry":{},"resolver_owned_geometry_layers":[],"notes":"Headline length / CTA font inventers no-op\'d 2026-07-28. Body collision visibility remains.","evidence":["apps/social/lib/creatomate/b2-interim-bindings.ts"]},{"id":"B2_interim_cover","layout_id":"B2","label":"B2 Before/after carousel [Batch 4 interim]: cover slide","roles":["cover"],"media_class":"carousel","detector":{"type":"template_name","predicate":"isB2InterimCoverTemplate"},"creatomate_template_uuids":[],"classification_status":"verified","strip_enabled":false,"template_owned_geometry_layers":[],"generation_owned_geometry":{},"resolver_owned_geometry_layers":[],"structural_visibility_layers":["Quote-Card"],"notes":"Added 2026-09-15 (cross-family-visibility-verification-report.md Finding 4): \'B2 interim cover - A1 dark split\' is a real, live, currently-generating production template with no prior family entry at all - it fell through familyForContext to null and only stayed correct via the global-default fallback (never a false positive, unlike Finding 1\'s families, but impl
1icit rather than explicit/auditable). 49/49 real rows reference Quote-Card.visible, 48/49 already true (1 stray unrelated Accent-Shape.visible:false residual, never referenced elsewhere on this template - not a live bug, see Finding 5). Split into its own family entry (not folded into B2_before_after, which covers the inner/body role only) for consistency with how A1_collage_cover / A1_step_inner / A1_cta already split one visual carousel deck\'s cover/inner/cta roles into separate entries. Not yet geometry-audited; strip_enabled left false pending a dedicated geometry-ownership pass (out of scope for this visibility-only fix).","evidence":["docs/media-editor-recovery/2026-07-23-wysiwyg-parity-plan/cross-family-visibility-verification-report.md"]},{"id":"B2_interim_cta","layout_id":"B2","label":"B2 Before/after carousel [Batch 4 interim]: CTA slide","roles":["cta"],"media_class":"carousel","detector":{"type":"template_name","predicate":"isB2InterimCtaTemplate"},"creatomate_template_uuids":[],"classification_status":"verified","strip_enabled":false,"template_owned_geometry_layers":[],"generation_owned_geometry":{},"resolver_owned_geometry_layers":[],"notes":"Added 2026-09-15 (cross-family-visibility-verification-report.md Finding 4): \'B2 interim CTA - carousel front page\' is a real, live, currently-generating production template with no prior family entry at all. 49/49 real rows never reference Quote-Card or Accent-Shape at all (neither layer exists on this template); the mechanism is a confirmed no-op either way, so structural_visibility_layers is intentionally omitted (relies on the family-agnostic default, matching the A1_cta convention for a template with no card layer). Resolving explicitly (rather than relying on non-resolution + global-default fallback) makes the outcome auditable, consistent with the point of this registry. Not yet geometry-audited; strip_enabled left false pending a dedicated geometry-ownership pass.","evidence":["docs/media-editor-recovery/2026-07-23-wysiwyg-parity-plan/cross-family-visibility-verification-report.md"]},{"id":"C1_quote_card","layout_id":"C1","label":"C1 Quote card (vertical stack)","roles":["flat"],"media_class":"single_image","detector":{"type":"binding","predicate":"bindingPayloadIsC1QuoteCardShape"},"creatomate_template_uuids":["460cef95"],"classification_status":"verified","strip_enabled":true,"template_owned_geometry_layers":["Headline-Text","Quote-Card"],"read_time_generation_geometry_strip":{"Headline-Text":["x","y","width","height","font_size","line_height"],"Quote-Card":["width","height","x","y"]},"generation_owned_geometry":{},"resolver_owned_geometry_layers":[],"structural_visibility_layers":["Quote-Card"],"notes":"C1 width/font inventers no-op\'d 2026-07-28. Copy must fit the brief; template owns sizing. Quote-Card is this family\'s dedicated card composition; always re-derived visible unless the user explicitly hid it.","evidence":["apps/social/lib/creatomate/c1-quote-card-width-growth.ts"]},{"id":"C1_full_bleed_quote","layout_id":"C1","label":"C1 Full bleed quote","roles":["flat"],"media_class":"single_image","detector":{"type":"binding","predicate":"isC1FullBleedQuoteCard"},"creatomate_template_uuids":["3a217769-2b54-4b59-ae11-7a10c60eac2b"],"classification_status":"verified","strip_enabled":true,"template_owned_geometry_layers":["Headline-Text"],"read_time_generation_geometry_strip":{"Headline-Text":["x","y","width","height","font_size","line_height"]},"generation_owned_geometry":{},"resolver_owned_geometry_layers":[],"structural_visibility_layers":[],"notes":"Full-bleed font clamp inventer no-op\'d 2026-07-28. No Quote-Card composition exists on this template (full-bleed by design); explicitly opted out so the global structural-card default never invents one.","evidence":["apps/social/lib/creatomate/c1-quote-card-width-growth.ts"]},{"id":"C1_legacy_headline_card","layout_id":"C1","label":"C1 legacy instagram-vertical-720 headline card","roles":["flat"],"media_class":"single_image","detector":{"type":"binding","predicate":"bindingPayloadIsLegacyC1HeadlineCard"},"creatomate_template_uuids":[],"classification_status":"unknown","strip_enabled":false,"template_owned_geometry_layers":[],"generation_owned_geometry":{},"resolver_owned_geometry_layers":["Image Headline"],"notes":"Legacy layer names (\'Image Headline\', \'Text Backgroun
1d\'). Not enough evidence; do not strip.","evidence":["apps/social/lib/creatomate/bake-pool-creative-modifications.ts"]},{"id":"C2_stat_card","layout_id":"C2","label":"C2 Stat card","roles":["flat"],"media_class":"single_image","detector":{"type":"layout_id","predicate":"C2"},"creatomate_template_uuids":[],"classification_status":"unknown","strip_enabled":false,"template_owned_geometry_layers":[],"generation_owned_geometry":{},"resolver_owned_geometry_layers":[],"notes":"No dedicated detector in code yet. Unclassified; do not strip.","evidence":[]},{"id":"C3_tip_card","layout_id":"C3","label":"C3 Tip card (Meet the Founder wallpaper)","roles":["flat"],"media_class":"single_image","detector":{"type":"binding","predicate":"bindingPayloadIsC3TipCard"},"creatomate_template_uuids":[],"classification_status":"verified","strip_enabled":true,"template_owned_geometry_layers":["Headline-Text","Body-Text"],"read_time_generation_geometry_strip":{"Headline-Text":["x","y","width","height","font_size","line_height","y_anchor","y_alignment"],"Body-Text":["x","y","width","height"],"Badge-Text":["y","height"]},"generation_owned_geometry":{},"resolver_owned_geometry_layers":[],"notes":"C3 repeating-headline inventer no-op\'d 2026-07-28.","evidence":["apps/social/lib/creatomate/c3-tip-card-bindings.ts"]},{"id":"D1_face_to_camera","layout_id":"D1","label":"D1 Face-to-camera reel (caption + transcribe variants)","roles":["main","end_screen"],"media_class":"video","detector":{"type":"layout_id","predicate":"D1"},"creatomate_template_uuids":["0928bda5-255a-48e1-88d7-7e108647dd24"],"classification_status":"unknown","strip_enabled":false,"template_owned_geometry_layers":[],"generation_owned_geometry":{},"resolver_owned_geometry_layers":[],"notes":"Video: compiled projection is recomputed at read time (patchLoadedTemplateForEditorInteractivity, recompute-at-read Phase 7), not stored as flat mods. Scene timing and media-fit MUST NOT be touched. Out of scope for the geometry strip; needs its own plan.","evidence":["docs/media-editor-recovery/2026-07-23-wysiwyg-parity-plan.md section 9"]},{"id":"D2_broll","layout_id":"D2","label":"D2 B-roll reel (stacked headline / static overlay / list card / device mockup)","roles":["flat"],"media_class":"video","detector":{"type":"layout_id","predicate":"D2"},"creatomate_template_uuids":["2c527e47-3448-4a74-88f0-393dd570889b"],"classification_status":"candidate","strip_enabled":false,"template_owned_geometry_layers":[],"generation_owned_geometry":{"Body-Text":["x","x_anchor","width"]},"resolver_owned_geometry_layers":["Body-Text"],"notes":"D2 device mockup forces an anchor-based Body-Text center (resolver-owned, listed as generation_owned so never stripped). Video motion background fill (loop/duration) is timing, never touched. Out of scope for the geometry strip pending a motion-specific plan.","evidence":["apps/social/lib/creatomate/d2-broll-device-mockup-bindings.ts"]},{"id":"D3_multi_beat_broll","layout_id":"D3","label":"D3 Multi-beat b-roll reel","roles":["cover","hook","step","cta"],"media_class":"video","detector":{"type":"layout_id","predicate":"D3"},"creatomate_template_uuids":["56d4da17-3fa8-41ab-9c00-df7da409a251"],"classification_status":"unknown","strip_enabled":false,"template_owned_geometry_layers":[],"generation_owned_geometry":{},"resolver_owned_geometry_layers":[],"notes":"Video with physical scene reuse (resolveD3ScenePhysicalKey). Scene timing MUST NOT be touched. Out of scope for the geometry strip.","evidence":["apps/social/lib/voice/visual-copy/layout-registry.ts"]},{"id":"E1_story_frame","layout_id":"E1","label":"E1 Story frame (9:16 static)","roles":["flat"],"media_class":"story","detector":{"type":"layout_id","predicate":"E1"},"creatomate_template_uuids":[],"classification_status":"unknown","strip_enabled":false,"template_owned_geometry_layers":[],"generation_owned_geometry":{},"resolver_owned_geometry_layers":[],"notes":"No dedicated detector or evidence yet. Unclassified; do not strip.","evidence":[]}]}'),m=new Set(u.geometry_property_suffixes);function f(e){let t=e.lastIndexOf(".");return t<=0||t===e.length-1?null:{layer:e.slice(0,t),suffix:e.slice(t+1)}}function _(e){let t=f(e);return!!t&&m.has(t.suffix)}function y(e){return u.families.find(t=>
1t.id===e)??null}u.excluded_from_strip.suffixes,u.visibility_property_suffixes;let p=new Set(["A2 Checklist: Clean editorial cover [cover]","A2 Checklist: Clean editorial cover - graphic [cover]"]),g=new Set(["A3 Stat: Bold metric cover [cover]","A3 Stat: Bold metric cover - graphic [cover]"]),h=new Set(["B1 Statement: Bold editorial cover [cover]","B1 Statement: Bold editorial body [inner_a]","B1 Statement: Bold editorial CTA [cta]","B1 Statement: Bold editorial CTA - graphic [cta]"]),b=new Set([`B2 interim cover \u2014 A1 dark split`,"B2 interim cover - A1 dark split","B2 interim cover: A1 dark split"]),v=new Set([`B2 interim CTA \u2014 carousel front page`,"B2 interim CTA - carousel front page","B2 interim CTA: carousel front page"]);function x(e){return e.trim().toLowerCase().replace(/-/g,"")}function w(e){if(e?.familyId)return y(e.familyId);let t=function(e){let t=String(e??"").trim();if(!t)return null;let r=x(t);if(r.length<8)return null;let i=null;for(let e of u.families)for(let t of e.creatomate_template_uuids){let a=x(t);if(!(a.length<8)&&(r===a||r.startsWith(a)||a.startsWith(r))){if(i&&i.id!==e.id)return null;i=e}}return i}(e?.creatomateTemplateId);if(t)return t;let r=e?.bindingPayload??null,m=e?.templateName??null;return e?.isCollageCover===!0||null!=r&&(0,i.wJ)(r)?y("A1_collage_cover"):(0,n.$b)(m)||"a1-inner-step-white-card-image-background-inner-a"===String(m??"").trim()?y("A1_step_inner"):(0,a.XV)(m)?y("A1_cta"):(0,o.vA)(m)||p.has(String(m??"").trim())?y("A2_checklist"):(0,l.EG)(m)||g.has(String(m??"").trim())?y("A3_stat_slide"):h.has(String(m??"").trim())?y("B1_accent_rule_body"):(0,s.tZ)(m)?y("B2_before_after"):b.has(String(m??"").trim())?y("B2_interim_cover"):v.has(String(m??"").trim())?y("B2_interim_cta"):r&&(0,c.gW)(r,{templateName:m})?y("C1_full_bleed_quote"):r&&(0,c.Hk)(r)?y("C1_quote_card"):r&&(0,d.Ze)(r)?y("C3_tip_card"):null}function k(e){return Array.isArray(e?.structuralVisibilityLayers)?new Set(e.structuralVisibilityLayers):new Set}function T(e){let t=w(e);return t?.atomic_geometry_groups??[]}function A(e,t){let r=e instanceof Set?e:new Set(e),i=new Set(r);for(let e of T(t)){let t=e.keys.filter(e=>r.has(e));if(0!==t.length&&t.length!==e.keys.length)for(let t of e.keys)i.delete(t)}return i}function C(e,t,r){let i={...e};for(let a of T(r))if(a.keys.some(t=>t in e&&void 0!==e[t]))for(let e of a.keys)void 0===i[e]&&void 0!==t[e]&&(i[e]=t[e]);return i}function B(e,t){if(!e||"object"!=typeof e||Array.isArray(e))return{modifications:{},changed:!1,removedKeys:[]};let r=t?.family??(t?.context!=null?w(t.context):null);if(!r?.strip_enabled)return{modifications:{...e},changed:!1,removedKeys:[]};let i=r.read_time_generation_geometry_strip;if(!i||0===Object.keys(i).length)return{modifications:{...e},changed:!1,removedKeys:[]};let a=t?.protectKeys??new Set,n={...e},o=[];for(let e of Object.keys(n)){let t=f(e);
1if(!t)continue;let r=i[t.layer];r?.includes(t.suffix)&&(a.has(e)||(delete n[e],o.push(e)))}return{modifications:n,changed:o.length>0,removedKeys:o}}},62690:(e,t,r)=>{r.d(t,{L8:()=>u,Lp:()=>d,Qr:()=>c,SG:()=>l,Sf:()=>f,WJ:()=>_,Xx:()=>o,aY:()=>s,oQ:()=>n,sY:()=>y,w5:()=>m});let i=/\[(?:color(?:\s+#[0-9A-Fa-f]{3,8})?|weight\s+\d+|style\s+italic|size\s+[\d.]+%?|family\s+[^\]]+)\]/gi,a=/\[\/(?:color|weight|style|size|family)\]/gi;function n(e){return e.replace(i,"").replace(a,"")}function o(e){return n(e).replace(/[\u2018\u2019\u201A\u201B]/g,"'").replace(/[\u201C\u201D\u201E\u201F]/g,'"').replace(/\s+/g," ").trim().toLowerCase()}function l(e){return i.lastIndex=0,a.lastIndex=0,i.test(e)||a.test(e)}function s(e,t){let r=0,i=0;for(;r<e.length&&i<t;){if("["===e[r]){let t=e.indexOf("]",r);if(-1===t)break;r=t+1;continue}r+=1,i+=1}return r}function c(e,t){let r=0,i=0;for(;r<t&&r<e.length;){if("["===e[r]){let i=e.indexOf("]",r);if(-1===i||i>=t)break;r=i+1;continue}r+=1,i+=1}return i}function d(e,t){return l(e)&&n(e)===t?e:t}
1let u=[{id:"left",label:"Left",value:"0%"},{id:"center",label:"Centre",value:"50%"},{id:"right",label:"Right",value:"100%"}];function m(e){let t="string"==typeof e?e.trim():"";return"50%"===t||"center"===t?"center":"100%"===t||"right"===t?"right":"left"}function f(e){return u.find(t=>t.id===e)?.value??"0%"}function _(e){let t=e?.match(/([\d.]+)\s*vmin/i);return Math.round(10*Math.min(10,Math.max(2,t?Number.parseFloat(t[1]):4)))}function y(e){let t=Math.min(10,Math.max(2,e/10));return`${t%1==0?t.toFixed(0):t.toFixed(1)} vmin`}},69815:(e,t,r)=>{r.d(t,{Kx:()=>u,Jt:()=>c,kP:()=>d});var i=r(43003),a=r(12769);let n={macbook:"/device-mockups/macbook-blank.png",imac:"/device-mockups/imac-blank.png",ipad:"/device-mockups/ipad-blank.png"},o={macbook:"0dbfd66c-51d4-4810-9439-ebc431a23c1f"},l=/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;var s=r(3043);function c(e){return"Screen-Content.source"===e["content.image.hero"]&&"Secondary-Image.source"===e["content.image.secondary"]&&"Body-Text.text"===e["content.body"]&&"CTA-Text.text"===e["content.cta"]}function d(){return(0,i.eZ)({"content.image.hero":"Screen-Content.source","content.image.secondary":"Secondary-Image.source","brand.asset.device_frame":"Device-Frame-Image.source","content.body":"Body-Text.text","content.cta":"CTA-Text.text","brand.color.mood.background":"Background-Fill.fill_color","brand.color.mood.overlay":"Background-Overlay.fill_color","brand.color.mood.overlay_opacity":"Background-Overlay.opacity","brand.color.accent":"Body-Text.background_color","brand.color.mood.text_accent":"Body-Text.fill_color","brand.color.accent_2":"CTA-Text.background_color","brand.asset.logo_url":"Logo-Image.source","brand.font.body":"Body-Text.font_family","brand.font.heading":"CTA-Text.font_family","brand.font.heading_2":"Headline-Emphasis-Text.font_family","content.audio.music":"Background-Music.source"})}function u(e,t,r){let i;if(!c(t))return e;let d={...e},u=function(e="macbook",t){let r=o[e];if(r)return r;let i=(t??(0,a.HL)()).replace(/\/$/,"");return`${i}${n[e]}`}(r?.deviceKind??((i=String(r?.templateName??"").toLowerCase()).includes("ipad")?"ipad":i.includes("imac")?"imac":"macbook"),r?.appOrigin),m=t["content.image.secondary"]??"Secondary-Image.source";!function(e){if("string"!=typeof e)return!1;let t=e.trim();return!!t&&(!!l.test(t)||!(!/^https?:\/\//i.test(t)||/unsplash|placehold|images\.unsplash|cdn\.creatomate\.com\/demo\//i.test(t)))}(d[m])&&(d[m]=u),null==d["Secondary-Image.visible"]&&(d["Secondary-Image.visible"]=!0),null==d["Device-Frame-Image.visible"]&&(d["Device-Frame-Image.visible"]=!1),t["brand.asset.device_frame"]&&(d[t["brand.asset.device_frame"]]="");let f=t["brand.color.mood.overlay"],_=t["brand.color.mood.overlay_opacity"];if(f?.endsWith(".fill_color")){let e="string"==typeof d[f]?String(d[f]).trim():"";e&&"accent"!==(0,s.aB)(e)||(d[f]=(0,s.Lh)(r?.brandTokens??{}));let t=f.split(".")[0]?.trim();t&&null==d[`${t}.visible`]&&(d[`${t}.visible`]=!0)}return _&&(null==d[_]||""===d[_]||"0%"===d[_])&&(d[_]="18%"),d}},74545:(e,t,r)=>{r.d(t,{ff:()=>b,vh:()=>x,hB:()=>p,y4:()=>g,AV:()=>v,cz:()=>h,ls:()=>I,Yd:()=>T,QB:()=>A,xt:()=>B,_K:()=>C,Og:()=>N});var i=r(6439),a=r(7154),n=r(84850),o=r(31498),l=r(1730);function s(e){return String(e??"").trim().replace(/^['"]|['"]$/g,"").toLowerCase()}function c(e,t){if("string"==typeof e)return function(e,t){let r=e.trim();if(!r)return null;let i=s(r);if((0,l.s)(r))return r;let a=null;for(let e of t){let t=e.trim();if(!t)continue;let r=s(t);if(r===i)return t;if(i.startsWith(`${r} `)){let e=r.length;(!a||e>a.score)&&(a={family:t,score:e})}}return a?a.family:(0,l.s)(r)?r:null}(e,t)??void 0}var d=r(22456),u=r(37229),m=r(15803),f=r(99452),_=r(27870),y=r(14395);let p="__emphasis_decoration_type",g={underline:"Emphasis-Underline",highlight:"Emphasis-Highlight",circle:"Emphasis-Circle",pill:"Emphasis-Pill"},h="Headline-Underline",b=[...Object.values(g),h,y.Rk,...(0,y.Kl)()],v="Headline-Emphasis-Text",x="#F5C518",w=[g.underline,g.highlight,g.circle,h];function k(e){if(null==e)return!0;let t=String(e).trim().toLowerCase();return!t||"none"===t||"transparent"===t||"rgba(0,0,0,0)"===t||"rgba(0, 0, 0, 0)"===t||"rgba(0, 0, 0, 0.0)"===t||/rgba?\([^)]+,\s*0(?:\.0+)?\s*\)$/.test(t)}function T(e,t){let r={...e},i=(0,y.fi)(1,t)??x;for(let e of w){if(!0!==r[`${e}.visible`])continue;let t=`${e}.fill_color`;if(k(r[t])&&(r[t]=i),e===g.circle){let t=`${e}.stroke_color`;k(r[t])&&(r[t]=i)}}return r}function A(e){let t=String(e??"").trim().toLowerCase();return"none"===t||"underline"===t||"highlight"===t||"circle"===t||"pill"===t?t:"none"}function C(e,t){return!!(e&&Object.values(e).some(e=>"string"==typeof e&&b.some(t=>e.startsWith(`${t}.`)))||(0,y.b2)(e,t))||b.some(e=>Object.keys(t??{}).some(t=>t.startsWith(`${e}.`)))}function B(e){let t=(0,d.dF)(e);if(v in t)return t[v];let r=e[`${v}.text`];return"string"==typeof r&&r.trim().length>0}function S(e,t){let r=p in e,i=A(e[p]),a={...e}
1,n=(0,y.rn)(t?.bindingPayload,a),o=(0,y.vc)(t?.bindingPayload,a);for(let e of b){if("pill"===i&&e===y.Rk&&o||"pill"===i&&e.startsWith("Emphasis-Pill-")&&n||!r&&`${e}.visible`in a)continue;let t="none"!==i&&g[i]===e,l="underline"===i&&e===h,s="pill"===i&&e===y.Rk&&o;a[`${e}.visible`]=!s&&(t||l)}if("pill"===i)return n||o?(0,y.ow)(a,{emphasisType:i,legacySinglePill:n,bindingPayload:t?.bindingPayload,brandColourPalette:t?.brandColourPalette}):(a[`${y.Rk}.visible`]=!0,a);for(let e=1;e<=5;e++)a[`Emphasis-Pill-${e}.visible`]=!1,a[`Emphasis-Pill-${e}-Text.visible`]=!1,a[`Emphasis-Pill-${e}-Text-Outline.visible`]=!1,a[`Emphasis-Pill-${e}-Outline.visible`]=!1;n&&(a[`${y.Rk}.visible`]=!1);let l=`${v}.text`,s=`${v}.visible`,c=a[l],u="string"==typeof c&&c.trim().length>0,m=(0,d.dF)(a)[v];return void 0!==m?a[s]=m:a[s]=u,a}function I(e,t){return T(S({[p]:e}),t?.brandColourPalette??[])}function N(e,t,r){var l;let g,h=S(e,r);if(h=T(h,r?.brandColourPalette??[]),h=(0,f.ym)(h,r?.bindingPayload),r?.brandColourPalette?.length){let e=(0,f.sx)(h[f.xX],h);h=(0,f.uZ)(h,e,r.brandColourPalette,r?.bindingPayload),(0,m.Lg)(r?.bindingPayload,h)&&(h=(0,m.n4)(h,r.brandColourPalette,r?.bindingPayload))}return h=(0,n.hS)(h),t&&(h=(0,i.N3)(t,h)),h=(0,a.ic)(h),h=(0,d.U5)(h,(0,u.QA)({bindingPayload:r?.bindingPayload,templateName:r?.templateName,layoutId:r?.layoutId,creatomateTemplateId:r?.creatomateTemplateId,structuralVisibilityLayers:r?.structuralVisibilityLayers})),h=(0,d.mk)(h,r?.layerVisibility),l=h=(0,d.Ee)(h),g=(0,f.D6)(l),g=(0,d.Jp)(g),delete g[p],delete g[y.d9],h=g,Array.isArray((h=function(e,t){let r=t?.mode??"preview",i=function(e,t){let r=t?.extraFamilies??[],i=t?.includeFontsAdd??!1,a=new Set,n=[],o=e=>{let t=e.trim();if(!t)return;let r=s(t);a.has(r)||(a.add(r),n.push(t))};for(let e of r)o(e);if(i)for(let t of function(e){let t=e["fonts.add"];if(!Array.isArray(t))return[];let r=[],i=new Set;for(let e of t){if(!e||"object"!=typeof e)continue;let t=String(e.family??"").trim();if(!t)continue;let a=s(t);i.has(a)||(i.add(a),r.push(t))}return r}(e))o(t);return n}(e,{extraFamilies:t?.extraAvailableFamilies??[],includeFontsAdd:"render"===r}),a={...e};for(let[t,r]of Object.entries(e)){if(!t.endsWith(".font_family"))continue;let e=c(r,i);e?a[t]=e:delete a[t]}return Array.isArray(a.Scenes)&&(a.Scenes=a.Scenes.map(e=>{if(!e||"object"!=typeof e||Array.isArray(e))return e;let t={...e};for(let[r,a]of Object.entries(e)){if(!r.endsWith(".font_family"))continue;let e=c(a,i);e?t[r]=e:delete t[r]}return t})),a}(h=(0,o.Ms)(h),{mode:"preview"})).Scenes)&&(h.Scenes=h.Scenes.map(e=>{if(!e||"object"!=typeof e||Array.isArray(e))return e;let t={...e};return delete t[p],delete t[y.d9],t})),(0,_.kU)(h)}},79120:(e,t,r)=>{r.d(t,{Re:()=>a,jc:()=>n,jw:()=>o,v1:()=>l});var i=r(30293);function a(e,t){return!!(!e||"object"!=typeof e||Array.isArray(e))||!(t in e)||void 0===e[t]}function n(...e){let t={};for(let r of e)if(!(!r||"object"!=typeof r||Array.isArray(r))){for(let[e,i]of Object.entries(r))if(void 0!==i){if(null===i){delete t[e];continue}t[e]=i}}return t}function o(e){if(!e||"object"!=typeof e||Array.isArray(e))return{};let t={};for(let[r,a]of Object.entries(e))(0,i.Z2)(r)||void 0!==a&&(t[r]=a);return t}function l(...e){let t=new Set;for(let r of e)if(r)for(let e of Object.keys(r))(!a(r,e)||e in r&&null===r[e])&&t.add(e);return t}},81658:(e,t,r)=>{function i(e){return"A3 Stat: Bold metric slide [inner_a]"===e}function a(e,t,r){return e}r.d(t,{EG:()=>i,dP:()=>a})},92262:(e,t,r)=>{r.d(t,{Pq:()=>o,WR:()=>l,kN:()=>n,lw:()=>s,tZ:()=>a});let i=`B2 interim inner \u2014 carousel second headline`;function a(e){return!!e&&(e===i||"B2 interim inner: carousel second headline"===e)}function n(e,t){if(!a(t))return e;let r={...e};return delete r["content.image.hero"],delete r["brand.font.heading"],delete r["brand.font.body"],delete r["content.body"],r}function o(e,t,r){return e}function l(e,t,r){if(r!==i)return e;let a={...e};return a["Body-Text.visible"]=!1,a["Body-Text.text"]="",a}function s(e,t,r){return e}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.