1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,652086,e=>{"use strict";var t=e.i(843476),r=e.i(948148),n=e.i(77071),a=e.i(468590),l=e.i(218469),i=e.i(263676),s=e.i(211113);e.s(["ConversationRail",0,function({conversations:e,activeConversationId:o,contextLabels:c,onClose:u,onStartNewConversation:d,onSwitchConversation:m,variant:h="sidebar"}){let f=(0,r.useTranslations)("HostedPublic.rail"),p="drawer"===h,b=(0,s.useHydrated)();return(0,t.jsxs)(t.Fragment,{children:[p?(0,t.jsx)("button",{type:"button",onClick:u,"aria-label":f("hideAria"),className:"fixed inset-0 z-40 bg-black/40 md:hidden"}):null,(0,t.jsxs)("aside",{className:p?"fixed inset-y-0 left-0 z-50 w-80 max-w-[85%] flex flex-col border-r border-[var(--border)] bg-[var(--bg-subtle)] shadow-xl pt-[max(0.25rem,env(safe-area-inset-top))] pb-[max(0.25rem,env(safe-area-inset-bottom))]":"hidden md:flex flex-col w-64 lg:w-72 shrink-0 border-r border-[var(--border)] bg-[var(--bg-subtle)]",children:[(0,t.jsxs)("div",{className:"px-3 pt-3 pb-2 flex items-center justify-between",children:[(0,t.jsx)("h2",{className:"px-1 text-xs font-semibold uppercase tracking-wide text-[var(--fg-muted)]",children:f("title")}),(0,t.jsx)("button",{type:"button",onClick:u,"aria-label":f("hideAria"),className:"inline-flex items-center justify-center w-8 h-8 rounded-lg text-[var(--fg-muted)] hover:bg-[var(--surface)] hover:text-[var(--fg)] transition-colors",children:p?(0,t.jsx)(i.X,{size:16}):(0,t.jsx)(l.PanelLeftClose,{size:16})})]}),(0,t.jsxs)("button",{type:"button",onClick:function(){d(),p&&u()},className:"mx-3 mb-3 inline-flex items-center justify-center gap-1.5 px-3 py-2 rounded-lg bg-[var(--surface)] hover:bg-[var(--surface-hover)] border border-[var(--border)] text-sm font-medium text-[var(--fg)] transition-colors",children:[(0,t.jsx)(n.Plus,{size:14}),f("newConversation")]}),(0,t.jsx)("div",{className:"flex-1 overflow-y-auto clonify-chat-scroll px-2 pb-3",children:0===e.length?(0,t.jsx)("p",{className:"px-2 py-4 text-xs text-[var(--fg-muted)] italic",children:f("empty")}):(0,t.jsx)("ul",{className:"flex flex-col gap-0.5",children:e.map(e=>{let r=e.id===o;return(0,t.jsx)("li",{children:(0,t.jsxs)("button",{type:"button",onClick:()=>(function(e){if(e===o){p&&u();return}m(e),p&&u()})(e.id),className:`w-full text-left px-3 py-2 rounded-lg transition-colors ${r?"bg-[var(--surface)] border border-[var(--border-strong)]":"hover:bg-[var(--surface)] border border-transparent"}`,children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 text-sm text-[var(--fg)] truncate",children:[e.icon??(0,t.jsx)(a.MessageSquare,{size:12,className:"text-[var(--fg-muted)] flex-shrink-0"}),(0,t.jsx)("span",{className:"truncate",children:e.title&&e.title.trim().length>0?e.title:e.contextKey?e.contextKey.startsWith("voicecall:")?f("voiceCallContext"):c[e.contextKey]??e.contextKey.replace(/^source:/,"#"):f("generalContext")})]}),(0,t.jsxs)("div",{className:"mt-0.5 text-[11px] text-[var(--fg-muted)]",children:[f("messagesCount",{count:e.messageCount}),b?(0,t.jsxs)(t.Fragment,{children:[" · ",function(e){let t=new Date(e).getTime();if(!Number.isFinite(t))return"";let r=Math.round((Date.now()-t)/6e4);if(r<1)return"ahora";if(r<60)return`${r}m`;let n=Math.round(r/60);if(n<24)return`${n}h`;let a=Math.round(n/24);if(a<30)return`${a}d`;let l=Math.round(a/30);return`${l}mo`}(e.lastMessageAt)]}):null]})]})},e.id)})})})]})]})}])},110482,573798,796420,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(861745),a=e.i(948148),l=e.i(689664),i=e.i(508734),s=e.i(762368),o=e.i(632781),c=e.i(132689);e.s(["EntregableBlock",0,function({body:e,streaming:u=!1}){let d=(0,a.useTranslations)("HostedPublic.entregable"),m=(0,n.useLocale)(),[h,f]=(0,r.useState)(!1),[p,b]=(0,r.useState)(!1),[x,g]=(0,r.useState)(!1);async function v(){try{await navigator.clipboard.writeText(e),f(!0),setTimeout(()=>f(!1),2e3)}catch{}}async function y(){if(!p){b(!0),g(!1);try{let t=await fetch("/api/hosted/deliverable/pdf",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({body:e,locale:m})});if(!t.ok)throw Error("pdf_failed");let r=await t.blob();if("application/pdf"!==r.type)throw Error("invalid_pdf");let n=URL.createObjectURL(r),a=document.createElement("a");a.href=n,a.download=d("fileName"),document.body.appendChild(a),a.click(),a.remove(),URL.revokeObjectURL(n)}catch{g(!0)}finally{b(!1)}}}if(0===e.length)return null;let w=e.length>=600,k=(0,t.jsxs)("button",{type:"button",onClick:v,className:"inline-flex items-center gap-1.5 rounded-lg border border-[var(--border)] bg-[var(--surface)] px-2.5 py-1.5 text-xs font-medium text-[var(--fg-muted)] transition-colors hover:bg-[var(--surface-hover)] hover:text-[var(--fg)] cursor-pointer",children:[h?(0,t.jsx)(l.Check,{size:13}):(0,t.jsx)(i.Copy,{size:13}),h?d("copied"):d("copy")]});return(0,t.jsxs)("div",{className:"self-start w-full max-w-md rounded-2xl bg-[var(--bg-subtle)] border border-[var(--border)] overflow-hidden",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-2 px-3 py-2 border-b border-[var(--border)]",children:[(0,t.jsx)("span",{className:"text-xs font-medium text-[var(--fg-muted)]",children:u?d("writing"):d("ready")}),!u&&w?k:null]}),(0,t.jsx)("div",{className:"px-3 py-3 text-sm leading-relaxed",children:(0,t.jsx)(c.ChatMarkdown,{content:e})}),u?null:(0,t.jsxs)("div",{className:"border-t border-[var(--border)] px-3 py-2.5",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[k,(0,t.jsxs)("button",{type:"button",onClick:y,disabled:p,"data-testid":"deliverable-download-pdf",className:"inline-flex items-center gap-1.5 rounded-lg bg-[var(--accent)] px-2.5 py-1.5 text-xs font-medium text-[var(--accent-fg)] transition-colors hover:bg-[var(--accent-hover)] disabled:cursor-wait disabled:bg-[var(--bg-muted)] disabled:text-[var(--fg-faint)] cursor-pointer",children:[p?(0,t.jsx)(o.Loader2,{size:13,className:"animate-spin"}):(0,t.jsx)(s.Download,{size:13}),p?d("downloadingPdf"):d("downloadPdf")]})]}),x?(0,t.jsx)("p",{role:"alert",className:"mt-2 text-xs text-[var(--danger)]",children:d("downloadPdfError")}):null]})]})}],110482);var u=e.i(482022);function d(e){return!(e.length<5)&&!(e.length>32)&&/^[A-Za-z0-9_-]+$/.test(e)}e.s(["EmbeddedVideo",0,function({url:e}){let r=function(e){let t,r=e.trim();if(0===r.length)return null;try{t=new URL(r)}catch{return null}let n=t.hostname.toLowerCase();if("youtube.com"===n||"www.youtube.com"===n||"m.youtube.com"===n){let e=t.searchParams.get("v");if(e&&d(e))return{provider:"youtube",videoId:e,embedUrl:`https://www.youtube.com/embed/${e}`};
1let r=t.pathname.split("/").filter(Boolean);if(r.length>=2){let[e,t]=r;if(("embed"===e||"shorts"===e)&&d(t))return{provider:"youtube",videoId:t,embedUrl:`https://www.youtube.com/embed/${t}`}}return null}if("youtu.be"===n){let e=t.pathname.replace(/^\//,"").split("/")[0]??"";return d(e)?{provider:"youtube",videoId:e,embedUrl:`https://www.youtube.com/embed/${e}`}:null}if("vimeo.com"===n){let e=t.pathname.split("/").filter(Boolean);if(e.length>0){let t=e[0];if(/^\d+$/.test(t))return{provider:"vimeo",videoId:t,embedUrl:`https://player.vimeo.com/video/${t}`}}return null}if("player.vimeo.com"===n){let e=t.pathname.split("/").filter(Boolean);if(e.length>=2&&"video"===e[0]){let t=e[1];if(/^\d+$/.test(t))return{provider:"vimeo",videoId:t,embedUrl:`https://player.vimeo.com/video/${t}`}}}return null}(e);return r?(0,t.jsx)("div",{className:"self-start w-full max-w-md aspect-video rounded-2xl overflow-hidden bg-black border border-[var(--border)]",children:(0,t.jsx)("iframe",{src:r.embedUrl,title:`${r.provider} video ${r.videoId}`,loading:"lazy",allow:"accelerometer; gyroscope; autoplay; encrypted-media; picture-in-picture",allowFullScreen:!0,className:"w-full h-full"})}):(0,t.jsxs)("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:"self-start max-w-md inline-flex items-center gap-2 px-4 py-2.5 rounded-2xl bg-[var(--bg-subtle)] border border-[var(--border)] hover:bg-[var(--bg-muted)] transition-colors text-sm text-[var(--fg)] no-underline",children:[(0,t.jsx)(u.ExternalLink,{size:14,className:"text-[var(--fg-muted)]"}),(0,t.jsx)("span",{className:"truncate",children:function(e){try{return new URL(e).hostname.replace(/^www\./,"")}catch{return e}}(e)})]})}],573798),e.s(["LinkButton",0,function({url:e,label:r}){let n=r&&r.trim().length>0?r.trim():function(e){try{return new URL(e).hostname.replace(/^www\./,"")}catch{return e}}(e);return(0,t.jsxs)("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:"self-start max-w-md inline-flex items-center gap-2 px-4 py-2.5 rounded-2xl bg-[var(--accent-soft)] border border-[var(--accent)]/30 hover:bg-[var(--bg-muted)] transition-colors text-sm font-medium text-[var(--fg)] no-underline",children:[(0,t.jsx)(u.ExternalLink,{size:14,className:"text-[var(--accent)]"}),(0,t.jsx)("span",{className:"truncate",children:n})]})}],796420)},219973,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(24071),a=e.i(867927);e.s(["ProductThumbnail",0,function({src:e,alt:l,soldOut:i=!1,checkoutUrl:s=null,ctaLabel:o,soldOutLabel:c,images:u,prevLabel:d,nextLabel:m}){let[h,f]=(0,r.useState)(!0),[p,b]=(0,r.useState)(!1),[x,g]=(0,r.useState)(0),v=u&&u.length>0?u:[e],y=v.length>1;if((0,r.useEffect)(()=>{if(p)return document.body.style.overflow="hidden",window.addEventListener("keydown",e),()=>{document.body.style.overflow="",window.removeEventListener("keydown",e)};function e(e){"Escape"===e.key?b(!1):y&&"ArrowLeft"===e.key?g(e=>(e-1+v.length)%v.length):y&&"ArrowRight"===e.key&&g(e=>(e+1)%v.length)}},[p,y,v.length]),!h)return null;let w=v[Math.min(x,v.length-1)];return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{type:"button",onClick:()=>{g(0),b(!0)},"aria-label":l,className:"flex-shrink-0 p-0 border-0 bg-transparent cursor-zoom-in rounded-xl",children:(0,t.jsx)("img",{src:e,alt:l,onError:()=>f(!1),className:`w-20 h-20 rounded-xl object-cover bg-[var(--bg-muted)] transition-opacity hover:opacity-90 ${i?"opacity-50":""}`})}),p?(0,t.jsx)("div",{onClick:()=>b(!1),className:"fixed inset-0 z-[70] flex items-center justify-center bg-black/80 p-6 cursor-zoom-out animate-[fadeInScale_150ms_ease-out]",role:"dialog","aria-modal":"true",children:(0,t.jsxs)("div",{onClick:e=>e.stopPropagation(),className:"flex flex-col items-center gap-4 max-w-full max-h-full cursor-default",children:[(0,t.jsxs)("div",{className:"relative flex items-center justify-center max-w-full",children:[(0,t.jsx)("img",{src:w,alt:l,className:"max-w-full max-h-[72vh] rounded-lg object-contain shadow-[var(--shadow-lg)]"}),y?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{type:"button","aria-label":d,onClick:()=>g(e=>(e-1+v.length)%v.length),className:"absolute left-2 inline-flex items-center justify-center w-9 h-9 rounded-full bg-black/50 text-white hover:bg-black/70 transition-colors",children:(0,t.jsx)(n.ChevronLeft,{size:20})}),(0,t.jsx)("button",{type:"button","aria-label":m,onClick:()=>g(e=>(e+1)%v.length),className:"absolute right-2 inline-flex items-center justify-center w-9 h-9 rounded-full bg-black/50 text-white hover:bg-black/70 transition-colors",children:(0,t.jsx)(a.ChevronRight,{size:20})})]}):null]}),y?(0,t.jsx)("div",{className:"flex items-center gap-1.5",children:v.map((e,r)=>(0,t.jsx)("button",{type:"button","aria-label":String(r+1),onClick:()=>g(r),className:`w-2 h-2 rounded-full transition-colors ${r===x?"bg-white":"bg-white/40 hover:bg-white/60"}`},r))}):null,i?c?(0,t.jsx)("span",{className:"inline-flex items-center px-3 py-1.5 rounded-full text-sm font-medium bg-white/10 text-white border border-white/20",children:c}):null:s?(0,t.jsx)("a",{href:s,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 px-4 py-2 rounded-full text-sm font-medium bg-[var(--accent)] text-[var(--bg)] hover:opacity-90 transition-opacity cursor-pointer",children:o}):null]})}):null]})}])},75080,e=>{"use strict";var t=e.i(271645);e.s(["useAnclaDeLectura",0,function(){let e=(0,t.useRef)(null),r=(0,t.useRef)(null),n=(0,t.useRef)(null),a=(0,t.useRef)(!1),l=(0,t.useRef)(!0),i=(0,t.useRef)(!1),s=(0,t.useCallback)((e,t)=>{i.current=!0,e.scrollTop=t,requestAnimationFrame(()=>{i.current=!1})},[]),o=(0,t.useCallback)(e=>{n.current=e,a.current=!0},[]),c=(0,t.useCallback)(()=>{n.current=null,a.current=!1,l.current=!0,r.current&&(r.current.style.height="0px")},[]),u=(0,t.useCallback)(t=>{let i=e.current;if(!i||!t)return;let o=r.current,c=n.current,u=c?i.querySelector(`[data-ancla="${c}"]`):null,d=o?o.offsetHeight:0;if(o&&u){let e=i.scrollTop+(u.getBoundingClientRect().top-i.getBoundingClientRect().top),t=i.scrollHeight-d-e,r=Math.max(0,Math.ceil(i.clientHeight-24-t));if(r!==d&&(o.style.height=`${r}px`,d=r),a.current){a.current=!1,l.current=!1,s(i,Math.max(0,e-24));return}}0===d&&l.current&&s(i,i.scrollHeight)},[s]),d=(0,t.useCallback)(()=>
1{if(i.current){i.current=!1;return}let t=e.current;!t||(r.current?.offsetHeight??0)>0||(l.current=t.scrollHeight-t.scrollTop-t.clientHeight<80)},[]);return{contenedorRef:e,colchonRef:r,anclarEn:o,soltar:c,ajustar:u,alHacerScroll:d}}])},177857,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(716327);e.s(["DevicePill",0,function({enabled:e,IconOn:a,IconOff:l,toggleLabel:i,menuLabel:s,menuTitle:o,devices:c,activeDeviceId:u,onToggle:d,onPickDevice:m}){let[h,f]=(0,r.useState)(!1),p=(0,r.useRef)(null);return(0,r.useEffect)(()=>{if(!h)return;let e=e=>{p.current&&!p.current.contains(e.target)&&f(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[h]),(0,t.jsxs)("div",{ref:p,className:"relative",children:[(0,t.jsxs)("div",{className:`flex items-center rounded-full text-white transition-colors ${e?"bg-black/70":"bg-red-500"}`,children:[d?(0,t.jsx)("button",{type:"button",onClick:d,"aria-label":i,className:"inline-flex items-center justify-center w-11 h-11",children:e?(0,t.jsx)(a,{size:18}):(0,t.jsx)(l,{size:18})}):(0,t.jsx)("div",{className:"inline-flex items-center justify-center w-11 h-11",children:(0,t.jsx)(a,{size:18})}),(0,t.jsx)("button",{type:"button",onClick:()=>f(e=>!e),"aria-label":s,"aria-haspopup":"menu","aria-expanded":h,className:`inline-flex items-center justify-center h-11 pl-1 pr-2 ${d?"border-l border-white/15":""}`,children:(0,t.jsx)(n.ChevronDown,{size:14})})]}),h&&(0,t.jsxs)("div",{role:"menu",className:"absolute bottom-full mb-2 left-1/2 -translate-x-1/2 w-80 max-w-[calc(100vw-2rem)] rounded-xl bg-[var(--surface)] text-[var(--fg)] border border-[var(--border)] shadow-[var(--shadow-lg)] overflow-hidden z-20",children:[(0,t.jsx)("div",{className:"px-3 py-2 text-xs font-semibold text-[var(--fg-muted)]",children:o}),0===c.length?(0,t.jsx)("div",{className:"px-3 py-2 text-sm text-[var(--fg-faint)]",children:"â"}):c.map(e=>{let r=e.deviceId===u||""===u&&"default"===e.deviceId;return(0,t.jsx)("button",{type:"button",role:"menuitemradio","aria-checked":r,onClick:()=>{m(e.deviceId),f(!1)},className:`w-full text-left px-3 py-2 text-sm leading-snug break-words transition-colors ${r?"bg-[var(--accent)]/10 text-[var(--accent)]":"text-[var(--fg)] hover:bg-[var(--bg-subtle)]"}`,children:e.label||e.deviceId.slice(0,8)},e.deviceId)})]})]})},"useInputDevices",0,function(e,t){let[n,a]=(0,r.useState)([]),l=(0,r.useCallback)(()=>{"u">typeof navigator&&navigator.mediaDevices&&navigator.mediaDevices.enumerateDevices().then(t=>{a(t.filter(t=>t.kind===e))}).catch(()=>{a([])})},[e]);return(0,r.useEffect)(()=>
1{l();let e=navigator.mediaDevices;if(e)return e.addEventListener("devicechange",l),()=>{e.removeEventListener("devicechange",l)}},[l,t]),n}])},801206,e=>{"use strict";var t=e.i(843476);e.s(["Input",0,function({hasError:e,bare:r=!1,className:n="",...a}){return r?(0,t.jsx)("input",{...a,className:`min-w-0 flex-1 bg-transparent px-3 py-2 text-sm text-[var(--fg)] placeholder:text-[var(--fg-placeholder)] disabled:cursor-not-allowed disabled:opacity-50 ${n}`}):(0,t.jsx)("input",{...a,className:`w-full px-3 py-2 text-sm rounded-[var(--radius)] bg-[var(--field)] text-[var(--fg)] border transition-colors placeholder:text-[var(--fg-placeholder)] disabled:opacity-50 disabled:cursor-not-allowed ${e?"border-[var(--danger)]":"border-[var(--border-field)] hover:border-[var(--fg-faint)]"} ${n}`})}])},334300,e=>{"use strict";let t={baseCps:60,catchupThreshold:80,dumpThreshold:400,pauseHintMs:700};e.s(["createChatStreamTypewriter",0,function(e){let r={...t,...e.tuning??{}},n="",a="",l=0,i=0,s=!1,o=!1,c=!1,u=0;return u=requestAnimationFrame(function t(){if(c)return;let d=performance.now(),m=0===i?16:Math.max(1,d-i);i=d;let{prose:h,meta:f}=e.parseTarget(n),p=h.length-a.length;if(p>0){let t;if(p>=r.dumpThreshold)t=p;else if(p>r.catchupThreshold){let e=Math.max(r.baseCps,(p-r.catchupThreshold)*3);t=Math.min(p,Math.max(1,Math.round(e*m/1e3)))}else t=Math.min(p,Math.max(1,Math.round(r.baseCps*m/1e3)));a=h.slice(0,a.length+t),s&&(s=!1,e.onPausedChange?.(!1)),e.onPaint(a)}else if(o){e.onFinalize({displayed:h,meta:f}),s&&(s=!1,e.onPausedChange?.(!1)),u=0;return}else{let t=Date.now()-l>r.pauseHintMs&&h.length>0;t!==s&&(s=t,e.onPausedChange?.(t))}u=requestAnimationFrame(t)}),{pushTarget(e){c||0===e.length||(n+=e,l=Date.now())},replaceTarget(t){if(c)return;n=t;let{prose:r,meta:i}=e.parseTarget(n);a=r,l=Date.now(),e.onPaint(a),s&&(s=!1,e.onPausedChange?.(!1))},finishServer(){o=!0},cancel(){!c&&(c=!0,u&&(cancelAnimationFrame(u),u=0))}}}])},918093,e=>{"use strict";let t=["course","masterclass","consulting","downloadable","external_link","capsules","community","clone_access","bundle","live_sessions","exam"],r={mode:"clonify",bgAssetId:null,blockXPct:15,blockYPct:34,blockWidthPct:70,fontScale:1,textColor:"dark"};function n(e,t,r,n){return Math.min(r,Math.max(t,"number"==typeof e&&Number.isFinite(e)?e:n))}function a(e,t,r){let n=Math.max(1,Math.floor(r/(.8*t)));return Math.max(1,Math.ceil(e.length/n))}function l(e){let t=841.89*e.blockWidthPct/100,r=e.fontScale,n=30*r,l=16*r,i=11*r;return(a(e.studentName,n,t)*n*1.25+a(e.courseTitle,l,t)*l*1.25+a(e.issuedLabel,i,t)*i*1.25+16*r)/595.28*100}function i(e){let t="string"==typeof e?Number.parseInt(e,10):Number(e);return!Number.isInteger(t)||t<2||t>24?null:t}function s(e,t){if(null===e)return null;let r=function(e){switch(e.toUpperCase()){case"EUR":return"â¬";case"USD":return"$";case"GBP":return"£";case"MXN":return"MXN$";case"ARS":return"AR$";case"COP":return"COP$";case"CLP":return"CLP$";case"PEN":return"S/";case"BRL":return"R$";default:return null}}(t),n=e.toLocaleString("es-ES",{minimumFractionDigits:2*(e%1!=0),maximumFractionDigits:2});return r?`${n} ${r}`:`${n} ${t}`}e.s(["ACCESS_DURATION_OPTIONS",0,[{days:null},{days:90},{days:180},{days:270},{days:365}],"CHECKOUT_URL_MAX",0,1e3,"CLONE_ACCESS_CAP_MAX_LIMIT",0,1e5,"CLONE_ACCESS_DURATION_DAYS_MAX",0,3650,"CLONE_EXPIRY_MESSAGE_MAX",0,300,"CLONE_INCLUDED_DAYS_MAX",0,3650,"CLOSED_LINK_MAX",0,1e3,"CLOSED_MESSAGE_MAX",0,1e3,"CTA_LABEL_MAX",0,60,"DEFAULT_AVAILABILITY",0,{availabilityStatus:"open",closedMessage:"",closedLink:"",closedAllowProactive:!1},"DEFAULT_CERT_DESIGN",0,r,"DESCRIPTION_MAX",0,4e3,"DESCRIPTION_MIN",0,40,"INSTALLMENT_MAX",0,24,"INSTALLMENT_MIN",0,2,"NO_ACCESS_MESSAGE_MAX",0,400,"PRICES_MAX",0,10,"PRICE_CONTEXT_MAX",0,200,"PRICE_LABEL_MAX",0,40,"TITLE_MAX",0,200,"TITLE_MIN",0,3,"fitCertDesignToContent",0,function(e,t){let a,i,s,o,c,u=(i="number"==typeof(a=e&&"object"==typeof e?e:{}).bgAssetId&&Number.isInteger(a.bgAssetId)&&a.bgAssetId>0?a.bgAssetId:null,s=n(a.blockWidthPct,20,100,r.blockWidthPct),c=Math.max(0,95-15*(o=n(a.fontScale,.5,2,r.fontScale))),{mode:"custom"===a.mode?"custom"
1:"clonify",bgAssetId:i,blockXPct:n(a.blockXPct,0,100-s,r.blockXPct),blockYPct:n(a.blockYPct,0,c,r.blockYPct),blockWidthPct:s,fontScale:o,textColor:"light"===a.textColor?"light":"dark"}),d=u.fontScale,m=l({...t,blockWidthPct:u.blockWidthPct,fontScale:d}),h=93-u.blockYPct;for(;d>.5&&m>h;)d=Math.max(.5,Math.round((d-.05)*100)/100),m=l({...t,blockWidthPct:u.blockWidthPct,fontScale:d});return{...u,fontScale:d,blockYPct:Math.min(u.blockYPct,Math.max(0,93-m))}},"formatPrice",0,s,"isInternalProduct",0,function(e){return"external_link"!==e&&"clone_access"!==e&&"bundle"!==e},"isProductKind",0,function(e){return"string"==typeof e&&t.includes(e)},"priceLabelStrings",0,function(e){return{installments:(t,r)=>e("checkout.installments",{price:t,count:r}),perYear:t=>e("checkout.perYear",{price:t}),perMonth:t=>e("checkout.perMonth",{price:t})}},"productPriceLabel",0,function(e,t){let r=s(e.price,e.currency);if(!r)return null;let n=i(e.installmentCount),a=null!==n&&(null===i(e.installmentCount)||!1===e.installmentsOnly&&"number"==typeof e.price&&e.price>0);if(null!==n&&!a){let r,a=null===(r=i(e.installmentCount))?null:"number"==typeof e.installmentAmount&&e.installmentAmount>0?e.installmentAmount:"number"==typeof e.price&&e.price>0?Math.round(e.price/r*100)/100:null,l=null!==a?s(a,e.currency):null;if(l)return t.installments(l,n)}let l=e.subscriptionInterval?e.subscriptionInterval:"clone_access"===e.kind&&"monthly"===e.cloneAccessConfig.duration?"month":null;return"year"===l?t.perYear(r):"month"===l?t.perMonth(r):r}])},191229,e=>{"use strict";e.s(["formatProductPrice",0,function(e,t){let r=e.toLocaleString("es-ES",{minimumFractionDigits:2*(e%1!=0),maximumFractionDigits:2}),n=(()=>{switch(t.toUpperCase()){case"EUR":return"â¬";case"USD":return"$";case"GBP":return"£";default:return null}})();return n?`${r} ${n}`:`${r} ${t}`}])},471390,e=>{"use strict";var t=e.i(271645);function r(){return()=>{}}function n(){return!(void 0===window.MediaRecorder||"u"<typeof navigator)&&"function"==typeof navigator.mediaDevices?.getUserMedia}function a(){return!1}e.s(["useTailCapturedRecording",0,function(e){let l=e.maxRecordingSeconds??300,i=e.tailCaptureMs??700,[s,o]=(0,t.useState)("idle"),[c,u]=(0,t.useState)(0),d=(0,t.useRef)(null),m=(0,t.useRef)(null),h=(0,t.useRef)([]),f=(0,t.useRef)(null),p=(0,t.useRef)(null),b=(0,t.useRef)(!1),x=(0,t.useRef)(e);(0,t.useEffect)(()=>{x.current=e});let g=(0,t.useSyncExternalStore)(r,n,a);function v(){let e=d.current;e&&"recording"===e.state&&(o("transcribing"),null!==f.current&&(clearInterval(f.current),f.current=null),null!==p.current&&clearTimeout(p.current),p.current=setTimeout(()=>{p.current=null;let e=d.current;if(e&&"recording"===e.state){try{e.requestData()}catch{}e.stop()}},i))}async function y(){let e,t;if("idle"===s&&g){try{e=await navigator.mediaDevices.getUserMedia({audio:!0})}catch{x.current.onError?.("permission_denied");return}m.current=e,h.current=[],b.current=!1;try{t=new MediaRecorder(e)}catch{e.getTracks().forEach(e=>e.stop()),m.current=null,x.current.onError?.("recorder_failed");return}d.current=t,t.ondataavailable=e=>{e.data&&e.data.size>0&&h.current.push(e.data)},t.onstop=()=>{let e=t.mimeType||"audio/webm",r=new Blob(h.current,{type:e});if(h.current=[],(m.current?.getTracks()??[]).forEach(e=>e.stop()),m.current=null,d.current=null,null!==f.current&&(clearInterval(f.current),f.current=null),b.current){b.current=!1,o("idle"),u(0);return}w(r,e)},t.start(1e3),o("recording"),u(0),f.current=setInterval(()=>{u(e=>{let t=e+1;return t>=l&&v(),t})},1e3)}}async function w(e,t){let r;if(0===e.size){x.current.onError?.("recorder_failed"),o("idle"),u(0);return}let n=(r=t.toLowerCase()).includes("webm")?"webm":r.includes("ogg")?"ogg":r.includes("mp4")||r.includes("m4a")?"m4a":r.includes("wav")?"wav":r.includes("mpeg")||r.includes("mp3")?"mp3":"webm",a=new FormData;a.append("audio",e,`recording.${n}`);let l=x.current.extraBody;if(l)for(let[e,t]of Object.entries(l))a.append(e,t);let i=new AbortController,s=setTimeout(()=>i.abort(),6e4);try{let e=await fetch(x.current.endpoint,{method:"POST",body:a,signal:i.signal});if(!e.ok){let t=await e.json().catch(()=>({}));"audio_too_large"===t.error?x.current.onError?.("audio_too_large"):"empty_transcription"===t.error?x.current.onError?.("empty_transcription"):x.current.onError?.("transcribe_failed");return}let t=await e.json(),r="string"==typeof t.text?t.text.trim():"";if(0===r.length)return void x.current.onError?.("empty_transcription");let n=r.endsWith("...")||r.endsWith("â¦");x.current.onTranscribed(r,{tailWarning:n})}catch{x.current.onError?.("transcribe_failed")}finally{clearTimeout(s),o("idle"),u(0)}}return(0,t.useEffect)(()=>()=>{null!==f.current&&(clearInterval(f.current),f.current=null),null!==p.current&&(clearTimeout(p.current),p.current=null);let e=m.current;
1e&&e.getTracks().forEach(e=>e.stop()),m.current=null,d.current=null,h.current=[]},[]),{micState:s,micDuration:c,micSupported:g,start:y,stop:function(){"recording"===s&&v()},cancel:function(){if("recording"!==s)return;let e=d.current;e&&"recording"===e.state&&(b.current=!0,o("idle"),u(0),e.stop())}}}])},768877,e=>{"use strict";let t=(0,e.i(456420).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);e.s(["ArrowRight",0,t],768877)},129768,e=>{"use strict";let t=(0,e.i(456420).default)("calendar-days",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]]);e.s(["CalendarDays",0,t],129768)},966473,e=>{"use strict";let t=(0,e.i(456420).default)("circle-play",[["path",{d:"M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z",key:"kmsa83"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);e.s(["PlayCircle",0,t],966473)},508734,e=>{"use strict";let t=(0,e.i(456420).default)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);e.s(["Copy",0,t],508734)},281548,e=>{"use strict";let t=(0,e.i(456420).default)("headphones",[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]]);e.s(["Headphones",0,t],281548)},987216,e=>{"use strict";let t=(0,e.i(456420).default)("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);e.s(["default",0,t])},327491,e=>{"use strict";let t=(0,e.i(456420).default)("message-circle-question-mark",[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);e.s(["MessageCircleQuestion",0,t],327491)},401788,e=>{"use strict";let t=(0,e.i(456420).default)("mic-off",[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M15 9.34V5a3 3 0 0 0-5.68-1.33",key:"1gzdoj"}],["path",{d:"M16.95 16.95A7 7 0 0 1 5 12v-2",key:"cqa7eg"}],["path",{d:"M18.89 13.23A7 7 0 0 0 19 12v-2",key:"16hl24"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M9 9v3a3 3 0 0 0 5.12 2.12",key:"r2i35w"}]]);e.s(["MicOff",0,t],401788)},638292,e=>{"use strict";var t=e.i(920589);e.s(["Mic",()=>t.default])},575387,e=>{"use strict";let t=(0,e.i(456420).default)("phone",[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]]);e.s(["Phone",0,t],575387)}]);
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.