@tinkerlandai/indiana-sdk 0.6.0 → 0.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -1
- package/README.md +17 -11
- package/README.zh-CN.md +21 -16
- package/dist/{chunk-OK2Q6IJD.js → chunk-ET4NANGB.js} +1 -1
- package/dist/{chunk-5WY3AXSS.js → chunk-J7M7UH74.js} +1 -1
- package/dist/{chunk-PCVQHHEE.js → chunk-M3DG6ZCT.js} +1 -1
- package/dist/chunk-N6UIDDAX.js +4 -0
- package/dist/chunk-VMLGV5OS.js +11 -0
- package/dist/funnel-runtime-host-3STQUS6F.js +1 -0
- package/dist/index.js +1 -1
- package/dist/native-shell.js +1 -1
- package/dist/openrouter.js +1 -1
- package/dist/page.d.ts +2 -1
- package/dist/page.js +1 -1
- package/dist/{paywall-TCE5DE5T.js → paywall-LBDMGVWZ.js} +1 -1
- package/dist/popup.d.ts +10 -6
- package/dist/popup.js +176 -6
- package/dist/server.js +1 -1
- package/dist/src-X6KT6WIH.js +1 -0
- package/dist/visual.js +1 -1
- package/package.json +10 -9
- package/dist/chunk-4JBIKJMU.js +0 -4
- package/dist/chunk-HU2HIDVT.js +0 -11
- package/dist/funnel-runtime-host-L3WILUHK.js +0 -1
- package/dist/src-VGIVVM27.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as ne}from"./chunk-6X42DWOM.js";import"./chunk-OK2Q6IJD.js";import{a as p}from"./chunk-5TEZEOHX.js";import"./chunk-S5TVMQRC.js";import{Gd as ge,ni as me}from"./chunk-HU2HIDVT.js";import{Gb as be}from"./chunk-RMJJOSVZ.js";import"./chunk-OHDY27EI.js";import"./chunk-S2MSIA57.js";function Ce(C){let x=C.view;if(!x?.paywall)throw new p("INVALID_REQUEST","The current node is not a Paywall");let n=x.paywall.receiptId,Y=x.nodeId,te=x.visit,f=x.paywall.resolution,E=x.paywall.quote,y=x.paywall.operation,O=!1,U=new AbortController,h=x.paywall.purchaseRequestId,T=0,k=x.paywall.selectionGeneration??0,q=x.paywall.canReselect===!0,_=null,G=new Map,V=new Map;function R(t){if(t.purchase&&t.purchase.receiptId!==n)throw new p("INVALID_RESPONSE","Purchase receipt changed");let i=t.run.paywall;return t.purchase??(i?.receiptId===n?i:null)}function g(){if(O)throw new p("IDENTITY_CHANGED","Paywall presentation has closed")}function N(t,i,s){if(g(),i!==T||s!==void 0&&E?.operationId!==s)return!1;let w=k,a=t.run.paywall;if(a?.receiptId===n){if((a.selectionGeneration??0)<k)return!1;if(k=a.selectionGeneration??0,q=a.canReselect===!0,a.resolution.id!==f.id||a.resolution.offering.id!==f.offering.id)throw new p("INVALID_RESPONSE","The pinned Paywall binding changed")}let u=R(t),l=k>w,D=l?u?.quote??null:u?.quote??E,P=u?.operation??(D?.operationId===E?.operationId?y:null);if(D&&P&&D.operationId!==P.operationId)throw new p("INVALID_RESPONSE","Purchase operation changed");return a?.receiptId===n&&(f=a.resolution),(l||D?.operationId!==E?.operationId)&&(T++,a?.receiptId===n&&(h=a.purchaseRequestId)),E=D,(y?.operationId!==P?.operationId||y?.status==="pending"||P?.status==="complete")&&(y=P),!0}function J(t,i,s){return new Promise((w,a)=>{let u=!1,l=()=>{clearTimeout(ie),U.signal.removeEventListener("abort",$)},D=Z=>{u||(u=!0,l(),w(Z))},P=Z=>{u||(u=!0,l(),a(Z))},$=()=>P(new p("IDENTITY_CHANGED","Paywall presentation has closed")),ie=setTimeout(()=>P(new p("COMMAND_PENDING","The purchase command is still pending; retry the original request",202,s)),Math.max(0,i-Date.now()));U.signal.addEventListener("abort",$,{once:!0}),U.signal.aborted&&$(),t.then(D,P)})}function z(t){return new Promise(i=>{let s=()=>{clearTimeout(w),U.signal.removeEventListener("abort",s),i()},w=setTimeout(s,t);U.signal.addEventListener("abort",s,{once:!0}),U.signal.aborted&&s()})}async function j(t,i,s){g();let w=G.get(t);if(!w){let l=C.pendingCommands?.find(D=>D.requestId===t)??C.pendingCommand;if(l?.operation==="submit"&&l.requestId===t&&l.nodeId===Y&&l.visit===te){i.type==="paywall_quote"&&l.input.type==="paywall_quote"&&l.input.predecessor&&!i.predecessor&&(i={...i,predecessor:l.input.predecessor});let D=me.parse(l),P=me.parse({...l,input:i});if(P.operation!=="submit"||D.operation!=="submit"||JSON.stringify(P.input)!==JSON.stringify(D.input))throw new p("CONFLICT","A restored purchase request cannot change its input");i=P.input,w=D,G.set(t,w)}}if(w){if(JSON.stringify(w.input)!==JSON.stringify(i))throw new p("CONFLICT","A purchase request cannot change its input")}else{let l=C.view;if(!l||l.nodeId!==Y||l.visit!==te||l.paywall?.receiptId!==n)throw new p("PRECONDITION_FAILED","The Paywall visit has changed");w={operation:"submit",requestId:t,nodeId:Y,visit:te,revision:l.revision,input:i},G.set(t,w)}let a=Date.now()+3e4,u=await J(C.submit(w),a,t);for(;u.run.pendingRequest?.requestId===t&&Date.now()<a&&!O&&(await z(Math.min(1e3,a-Date.now())),!(O||Date.now()>=a));)u=await J(C.resume(t),a,t);if(O)throw new p("IDENTITY_CHANGED","Paywall presentation has closed");if(u.run.pendingRequest?.requestId===t)throw new p("COMMAND_PENDING","The purchase command is still pending; retry the original request",202,t);if(!N(u,s,i.type==="paywall_confirm"||i.type==="paywall_cancel"?i.operationId:void 0))throw new p("PRECONDITION_FAILED","The purchase selection has changed")}async function X(t){if(!E)throw new p("INVALID_REQUEST","A quoted purchase is required");let i=`${t}:${E.operationId}`,s=V.get(i);if(!s){let w=t==="confirm"?"paywall_confirm":"paywall_cancel",a=C.pendingCommands?.find(u=>u.operation==="submit"&&u.input.type===w&&"operationId"in u.input&&u.input.operationId===E.operationId)??C.pendingCommand;s=a?.operation==="submit"&&a.input.type===w&&"operationId"in a.input&&a.input.operationId===E.operationId?a.requestId:crypto.randomUUID(),V.set(i,s)}if(await j(s,{type:t==="confirm"?"paywall_confirm":"paywall_cancel",operationId:E.operationId},T),!y)throw new p("INVALID_RESPONSE","The accepted purchase result is missing");return structuredClone(y)}return{get view(){return structuredClone(f)},get quote(){return E?structuredClone(E):null},get operation(){return y?structuredClone(y):null},get webViewUrl(){return C.webViewUrl},get canReselect(){return q},async refresh(){g();let t=T;return N(await C.get(),t),structuredClone(f)},preview(t){if(h&&h!==t.requestId&&(_||!q))return Promise.reject(new p("COMMAND_PENDING","Retry the original purchase before starting another"));if(h===t.requestId&&_)return _;let i=f.document.buttons[t.actionId],s=i?.type==="checkout"?ge(i.product,t.selection,f.capabilities):null;if(!s)return Promise.reject(new p("PRODUCT_UNAVAILABLE","Choose an available Product in this purchase area"));let w=h!==t.requestId&&k>0?{operationId:E?.operationId??null,generation:k}:void 0;if(w&&(!q||k<=0))return Promise.reject(new p("COMMAND_PENDING","Original purchase requires authoritative termination"));h!==t.requestId&&T++;let a=T;h=t.requestId;let u=(async()=>{if(await j(t.requestId,{type:"paywall_quote",actionId:t.actionId,productVersionId:s,...w?{predecessor:w}:{},...t.offerId?{offerId:t.offerId}:{},...t.nativeOffer?{nativeOffer:t.nativeOffer}:{}},a),!E)throw new p("INVALID_RESPONSE","The accepted quote is missing");return structuredClone(E)})();return _=u,u.then(()=>{_===u&&(_=null)},l=>{_===u&&(_=null),h===t.requestId&&C.pendingCommand?.requestId!==t.requestId&&l instanceof p&&l.status!==void 0&&l.status<500&&![401,425].includes(l.status)&&(h=null)}),u},confirm:()=>X("confirm"),cancel:()=>X("cancel"),async read(){if(g(),!E)throw new p("INVALID_REQUEST","A quoted purchase is required");let t=E.operationId,i=T,s=C.pendingCommands?.find(l=>l.operation==="submit"&&(l.input.type==="paywall_confirm"||l.input.type==="paywall_cancel")&&l.input.operationId===t)??C.pendingCommand;s?.operation==="submit"&&(s.input.type==="paywall_confirm"||s.input.type==="paywall_cancel")&&s.input.operationId===t&&await C.settle?.(s.requestId);let w=await C.get(void 0,{receiptId:n,operationId:t});g();let a=R(w);if(a?.quote&&a.quote.operationId!==t||a?.operation&&a.operation.operationId!==t)throw new p("INVALID_RESPONSE","Purchase operation changed");let u=N(w,i,t)?y:a?.operation;if(!u)throw new p("INVALID_RESPONSE","The current purchase result is missing");return structuredClone(u)},destroy(){O=!0,U.abort(),G.clear(),V.clear()}}}async function Fe(C,x){let n=x,{mountScreenPreview:Y}=await import("./popup.js"),{showPaywall:te}=await import("./paywall-TCE5DE5T.js"),f=C.ownerDocument,E=f.activeElement,y=f.createElement("section"),O=f.createElement("div"),U=f.createElement("div"),h=f.createElement("div"),T=f.createElement("button");h.hidden=!0,T.type="button";let k=f.createElement("p"),q=f.createElement("p"),_=f.createElement("button"),G=f.createElement("button"),V=f.createElement("button"),R=f.createElement("dialog");y.dataset.indianaFunnel="",y.setAttribute("aria-busy","false"),y.style.cssText="box-sizing:border-box;width:100%;min-width:0;font:14px/1.5 system-ui,sans-serif;color:#172033;background:#fff",U.style.cssText="display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:12px 20px",k.setAttribute("role","status"),q.setAttribute("role","alert"),q.hidden=!0,_.type=G.type=V.type="button",U.append(_,k,q,V,T,G),y.append(O,h,U),C.append(y);let g=null,N=null,J=null,z="",j="",X="",t="",i=!1,s=0,w=!1,a="",u=null,l=Promise.resolve(),D=null,P=null,$={},ie=new Map,Z=new Set,se=new Set,ae=new Set,oe=null,H={},b=!1,ye,M=0,A=null,re="",le=new Map,he=e=>e?`${e.id}:${e.nodeId}:${e.visit}:${e.revision}:${e.paywall?.quote?.operationId??""}`:"",Q=(e,o=null)=>{i||(P=o,q.textContent=e instanceof Error?e.message:"Request failed",q.hidden=!1,V.hidden=n.client.pendingCommand===null,ne(n.onError,e))};function K(){let e=n.client.view;if(!e)throw new p("INVALID_REQUEST","No current Run is available");return{requestId:crypto.randomUUID(),nodeId:e.nodeId,visit:e.visit,revision:e.revision}}async function W(e,o=!1){if(!(s&&!o||i||(b||n.client.view?.recoveryRestricted)&&!o)){s++,y.setAttribute("aria-busy","true"),q.hidden=!0,P=null;try{if(!o&&oe){let r=n.client.view;await oe;let v=n.client.view;if(!r||!v||v.id!==r.id||v.nodeId!==r.nodeId||v.visit!==r.visit||v.stopped||!["running","waiting"].includes(v.status))throw new p("PRECONDITION_FAILED","The screen changed while its display was acknowledged")}if(i)return;let c=await e();i||await B(n.client.view??c.run)}catch(c){Q(c,n.client.pendingCommand?.requestId??null)}finally{s=Math.max(0,s-1),y.setAttribute("aria-busy",String(s>0)),i||(V.hidden=n.client.pendingCommand===null,_.disabled=s>0||!!n.client.pendingCommand||!n.client.view?.canBack)}}}function ve(e){if(b||Z.has(e)||se.has(e)||i)return;se.add(e);let o=async()=>{if(b||i||z!==e){se.delete(e);return}if(s||n.client.pendingCommand){setTimeout(()=>{o()},250);return}let c=(async()=>{await n.client.submit({operation:"shown",...K()}),Z.add(e)})();oe=c;let r=()=>{oe===c&&(oe=null),se.delete(e)};c.then(r,v=>{r(),s||Q(v)})};o()}function ue(){u&&clearTimeout(u),!(i||!J||!["running","waiting"].includes(J.status))&&(u=setTimeout(()=>{u=null,Ie().finally(ue)},J.pendingRequest?1500:5e3))}async function Ie(){if(!(i||w||s)){if(b){await ce(ye);return}w=!0;try{let e=n.client.view,o=$,c=await n.client.get(e?.screen&&Object.keys(o).length?{nodeId:e.nodeId,visit:e.visit,revision:e.revision,components:o}:void 0);!i&&o===$&&await B(n.client.view??c.run)}catch(e){Q(e)}finally{w=!1}}}async function Ee(e){let o=n.client.view,c=o?.screen,r=c?.customerData.nodes[e.nodeId];if(i||s||!o||!c||!r)return;if(!["refresh","next","previous","filter","sources_next","sources_previous"].includes(e.action)){let F=g?.document,ee=F?be(F,e.nodeId):null,we=ee?.type==="customer_data"?ee.data.outputs?.[e.action]:void 0;we&&c.outputs.includes(we)?await W(()=>n.client.submit({operation:"submit",...K(),input:{type:"screen",output:we,answers:H,selection:e.value?{[e.nodeId]:e.value}:{}}})):await n.onCustomerDataIntent?.(e,o);return}let m=e.action.startsWith("sources_")?r.resources.find(F=>F.key===e.value):null;if(e.action.startsWith("sources_")&&!m)throw new p("INVALID_REQUEST","Choose a current resource");let L=`${o.visit}:${e.nodeId}:${m?.key??""}`,d=ie.get(L)??[null],I=$[e.nodeId]??{page:1,after:null,filter:"all",...m?{resourceKey:m.key}:{}};if(e.action==="filter"){let F=e.value;if(!F||!(r.source==="offer_history"?["all","issued","reserved","redeemed","expired","revoked"]:["all","purchase","refund","source","usage","debt","settlement"]).includes(F))throw new p("INVALID_REQUEST","Unknown data filter");I={page:1,after:null,filter:F},d.splice(0,d.length,null)}else if(e.action==="next"||e.action==="sources_next"){let F=m?.sources.at(-1),ee=m?F?{kind:"ledger",cursor:{at:F.detail[0],id:F.id,type:"source"}}:null:c.dataCursors[e.nodeId];if(!ee||!m&&!r.hasNext)return;d[I.page]=ee,I={...I,page:I.page+1,after:ee}}else if(e.action==="previous"||e.action==="sources_previous"){if(I.page<=1)return;I={...I,page:I.page-1,after:d[I.page-2]??null}}ie.set(L,d),$={...$,[e.nodeId]:I},await W(()=>n.client.get({nodeId:o.nodeId,visit:o.visit,revision:o.revision,components:$}))}function Re(e){let o=e.screen?.presentation;if(!o||o.type==="inline"){R.open&&R.close(),y.parentElement!==C&&C.append(y);return}y.parentElement!==R&&(R.append(y),C.append(R));let c={sm:420,md:640,lg:900};R.style.cssText=`padding:0;border:0;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto;width:${"size"in o?c[o.size]+"px":"100vw"}`,R.setAttribute("aria-label",g?.document?.name??e.screen?.content.document.name??"Funnel"),R.open||R.showModal()}async function De(e){if(i)return;J=e,P&&n.client.pendingCommand?.requestId!==P&&(q.hidden=!0,P=null);let o=e.locale.startsWith("zh");if(T.textContent=o?"\u56DE\u770B":"History",T.hidden=!n.client.review,_.textContent=b?o?"\u8FD4\u56DE\u5F53\u524D":"Return to current":o?"\u8FD4\u56DE":"Back",G.textContent=o?"\u5173\u95ED":"Close",V.textContent=o?"\u91CD\u8BD5":"Retry",_.disabled=!b&&(s>0||!!n.client.pendingCommand||!e.canBack),V.hidden=n.client.pendingCommand===null,k.textContent=e.pendingRequest?o?"\u6B63\u5728\u5904\u7406":"Processing":e.instruction?.type==="wait"?o?"\u7B49\u5F85\u4E2D":"Waiting":"",a!==`${e.revision}:${e.visit}:${e.status}:${e.stopped}`&&(a=`${e.revision}:${e.visit}:${e.status}:${e.stopped}`,ne(n.onState,structuredClone(e))),e.stopped||n.client.configurationReady===!1){b=!1,M++,A?.destroy(),A=null,h.replaceChildren(),h.hidden=!0,O.hidden=!1,g?.destroy(),g=null,N?.destroy(),N=null,O.replaceChildren(),z="",j="",t="",R.open&&R.close(),y.hidden=!0,ue();return}if(y.hidden=!1,b){ue();return}if(e.recoveryRestricted){g?.destroy(),g=null,N?.destroy(),N=null,O.replaceChildren(),z="",k.textContent=o?"\u539F\u8BB0\u5F55\u9700\u8981\u6838\u5BF9\uFF0C\u53EF\u53EA\u8BFB\u56DE\u770B":"Original records require reconciliation; read-only history is available";return}let c=e.screen||e.paywall?`${e.id}:${e.nodeId}:${e.visit}`:"";if(c!==z&&(g?.destroy(),g=null,N?.destroy(),N=null,O.replaceChildren(),z=c,j="",t="",H={...e.answers},$={},ie.clear()),Re(e),e.screen){let v=e.screen.content;g||(g=Y(O,{mode:"live",rendererUrl:n.client.webViewUrl,title:v.document.name,onAction(d,S={},I={}){b||(H={...H,...I},W(()=>n.client.submit({operation:"submit",...K(),input:{type:"screen",output:d,answers:H,selection:S}})))},onAnswers:d=>{b||(H={...H,...d})},onCustomerDataIntent:d=>{b||Ee(d).catch(Q)},onEscape:()=>{b||de()},onError:d=>Q(new Error(d)),onRendered:()=>ve(c)}));let m={capabilities:e.screen.capabilities,customerData:e.screen.customerData,parameters:e.parameters,serverInput:{bindings:e.screen.inputs,answers:H,values:e.screen.values}},L=JSON.stringify([v,e.locale,m.parameters,e.screen.inputs,e.screen.values]);if(L!==j)g.update(v.document,e.locale,m),j=L,X=JSON.stringify(m.capabilities),t=JSON.stringify(m.customerData);else{let d=JSON.stringify(m.capabilities);d!==X&&(g.updateCapabilities(m.capabilities),X=d),JSON.stringify(m.customerData)!==t&&(g.updateCustomerData(m.customerData),t=JSON.stringify(m.customerData))}await g.ready}else if(e.paywall&&!N){let v=await te(O,{canInteract:()=>!b&&!i&&!n.client.view?.recoveryRestricted,start:async()=>Ce(n.client),onPurchase:n.onPurchase,onCheckoutUrl:n.onCheckoutUrl,resolveOfferId:n.resolveOfferId,onEvent:n.onEvent,onOpenUrl:m=>n.onOpenUrl?n.onOpenUrl({receiptId:e.paywall.receiptId,url:m,openIn:"same_window"}):f.defaultView?.location.assign(m),onAction:async m=>{if(b)return;let L=await n.client.submit({operation:"submit",requestId:crypto.randomUUID(),nodeId:e.nodeId,visit:e.visit,revision:e.revision,input:{type:"screen",output:m,answers:{}}});await B(n.client.view??L.run)},onError:Q,onDismiss:()=>{!b&&!i&&n.client.view?.visit===e.visit&&de()}});i?v.host?.destroy():(N=v.host,N?.setSuspended(b)),ve(c)}let r=e.instruction;if(r&&(r.type==="open_url"||r.type==="event")&&!ae.has(r.receiptId)){let v=f.createElement("button");v.type="button",v.textContent=r.type==="open_url"?`${o?"\u524D\u5F80":"Continue to"} ${new URL(r.url).host}`:o?"\u7EE7\u7EED":"Continue",v.onclick=()=>{let m=K(),L=r.type==="open_url"&&!n.onOpenUrl&&r.openIn==="new_window"?Pe(r.url):null;W(async()=>{let d="success";if(r.type==="open_url")if(n.onOpenUrl)try{d=await n.onOpenUrl({receiptId:r.receiptId,url:r.url,openIn:r.openIn})===!1?"failed":"opened"}catch(I){ne(n.onError,I),d="failed"}else d=r.openIn==="new_window"&&!L?"failed":"opened";if(r.type==="event"){if(!n.onEvent)throw new p("EVENT_HANDLER_REQUIRED","Provide the event handler");await n.onEvent(r.event)}if(i||n.client.view?.nodeId!==m.nodeId||n.client.view.visit!==m.visit)throw new p("PRECONDITION_FAILED","The client action visit changed");let S=await n.client.submit({operation:"submit",...m,input:{type:"client_action",receiptId:r.receiptId,outcome:d}});return ae.add(r.receiptId),r.type==="open_url"&&!n.onOpenUrl&&r.openIn==="same_window"&&f.defaultView?.location.assign(r.url),S})},O.replaceChildren(v)}!e.pendingRequest&&e.status==="completed"&&!ae.has(`complete:${e.id}`)&&(ae.add(`complete:${e.id}`),ne(n.onComplete,structuredClone(e))),ue()}function Pe(e){let o=f.defaultView?.open(e,"_blank")??null;return o&&(o.opener=null),o}function B(e){return l=l.catch(()=>{}).then(()=>De(e)),l}async function ce(e){if(i||!n.client.review)return;b||(re=he(n.client.view),le.set(re,structuredClone(H))),b=!0,ye=e,O.hidden=!0,N?.setSuspended(!0),h.hidden=!1;let o=++M;try{let c=await n.client.review(e);if(i||o!==M||!b)return;if(!c.review)throw new p("INVALID_RESPONSE","Historical projection is missing");A?.destroy(),A=null,h.replaceChildren();let r=c.run.locale.startsWith("zh"),v=f.createElement("p");v.textContent=r?"\u53EA\u8BFB\u56DE\u770B":"Read-only history",h.append(v);for(let[d,S]of c.review.pages.entries()){let I=f.createElement("button");I.type="button",I.textContent=r?`\u7B2C ${d+1} \u9875`:`Page ${d+1}`,I.onclick=()=>{ce(S.receiptId)},h.append(I)}if(c.review.page){let d=c.review.page,S=f.createElement("div");if(S.inert=!0,h.append(S),A=Y(S,{mode:"live",rendererUrl:n.client.webViewUrl,title:d.document.name,onAction:()=>{},onAnswers:()=>{},onCustomerDataIntent:()=>{},onRendered:()=>{},onEscape:()=>{fe()}}),A.update(d.document,c.run.locale,{serverInput:{bindings:d.inputs,answers:d.answers,values:d.values}}),await A.ready,i||o!==M||!b)return}let m=r?{issued:"\u5DF2\u9886\u53D6",reserved:"\u5DF2\u9884\u7559",redeemed:"\u5DF2\u4F7F\u7528",expired:"\u5DF2\u8FC7\u671F",revoked:"\u5DF2\u64A4\u9500",unknown:"\u72B6\u6001\u5F85\u786E\u8BA4"}:{issued:"Issued",reserved:"Reserved",redeemed:"Used",expired:"Expired",revoked:"Revoked",unknown:"Status unconfirmed"},L=r?{pending:"\u5904\u7406\u4E2D",complete:"\u5DF2\u5B8C\u6210",cancelled:"\u5DF2\u53D6\u6D88",failed:"\u5931\u8D25",unknown:"\u72B6\u6001\u5F85\u786E\u8BA4"}:{pending:"Processing",complete:"Completed",cancelled:"Cancelled",failed:"Failed",unknown:"Status unconfirmed"};for(let d of[...c.review.coupons.map((S,I)=>`${r?"\u4F18\u60E0\u5238":"Coupon"} ${I+1}: ${m[S.status]}`),...c.review.purchases.map((S,I)=>`${r?"\u8D2D\u4E70":"Purchase"} ${I+1}: ${L[S.status]}`)]){let S=f.createElement("p");S.textContent=d,h.append(S)}n.client.view&&await B(n.client.view)}catch(c){if(o!==M||i)return;A?.destroy(),A=null,h.replaceChildren(),Q(c)}}async function fe(){if(!b||i||!n.client.review)return;let e=++M;try{if(await n.client.review(),i||e!==M)return;b=!1,M++,A?.destroy(),A=null,h.replaceChildren(),h.hidden=!0,O.hidden=!1;let o=n.client.view;he(o)!==re?(le.set(re,structuredClone(H)),z="",j=""):(le.delete(re),N?.setSuspended(!1)),o&&await B(o)}catch(o){if(e!==M||i)return;A?.destroy(),A=null,h.replaceChildren(),Q(o)}}let Ne=n.client.subscribe(e=>{n.client.configurationReady===!1&&(y.hidden=!0,g?.destroy(),g=null,N?.destroy(),N=null,O.replaceChildren(),z="",j="",t="",R.open&&R.close()),B(e).catch(Q)}),Oe=n.client.subscribeError?.(Q);function de(){return D||(i?Promise.resolve():n.client.view&&!["running","waiting"].includes(n.client.view.status)?(pe(),Promise.resolve()):(D=W(()=>n.client.submit({operation:"close",...K()}),!0).then(()=>{n.client.view?.status==="closed"&&pe()}).finally(()=>{D=null}),D))}function pe(){i||(i=!0,u&&clearTimeout(u),Ne(),Oe?.(),g?.destroy(),M++,A?.destroy(),N?.destroy(),R.close(),R.remove(),y.remove(),E instanceof HTMLElement&&E.isConnected&&E.focus(),ne(n.onDismiss,J?structuredClone(J):null))}_.onclick=()=>{if(b){fe();return}W(()=>n.client.submit({operation:"back",...K()}))},T.onclick=()=>{ce()},G.onclick=()=>{de()},V.onclick=()=>{W(()=>n.client.retry())},R.addEventListener("cancel",e=>{e.preventDefault(),de()});try{let e=await n.client.get();await B(n.client.view??e.run)}catch(e){throw pe(),e}return{destroy:pe,refresh:Ie,review:ce,exitReview:fe,get unappliedDrafts(){return new Map([...le].map(([e,o])=>[e,structuredClone(o)]))}}}export{Fe as showFunnelRun};
|
package/dist/src-VGIVVM27.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$ as Xa,$a as Xb,$b as Cd,$c as Ge,$d as kh,$e as ki,$f as wj,$g as Ck,$h as Cl,$i as Cm,$j as Dn,A as Q,Aa as wb,Ab as Lc,Ac as fe,Ad as nf,Ae as Lh,Af as Ri,Ag as Xj,Ah as bl,Ai as bm,Aj as bn,Ak as ko,B as R,Ba as xb,Bb as Mc,Bc as ge,Bd as of,Be as Mh,Bf as Si,Bg as Yj,Bh as cl,Bi as cm,Bj as cn,Bk as lo,C as S,Ca as yb,Cb as Nc,Cc as he,Cd as pf,Ce as Nh,Cf as Ti,Cg as Zj,Ch as dl,Ci as dm,Cj as dn,Ck as mo,D as T,Da as zb,Db as Oc,Dc as ie,Dd as qf,De as Oh,Df as Ui,Dg as _j,Dh as el,Di as em,Dj as en,Dk as no,E as U,Ea as Ab,Eb as Pc,Ec as je,Ed as rf,Ee as Ph,Ef as Vi,Eg as $j,Eh as fl,Ei as fm,Ej as fn,Ek as oo,F as V,Fa as Bb,Fb as Qc,Fc as ke,Fd as uf,Fe as Qh,Ff as Wi,Fg as ak,Fh as gl,Fi as gm,Fj as gn,Fk as po,G as W,Ga as Cb,Gb as Rc,Gc as le,Gd as vf,Ge as Rh,Gf as Xi,Gg as bk,Gh as hl,Gi as hm,Gj as hn,Gk as qo,H as Z,Ha as Db,Hb as Sc,Hc as me,Hd as Sg,He as Sh,Hf as Yi,Hg as ck,Hh as il,Hi as im,Hj as jn,Hk as ro,I as _,Ia as Eb,Ib as Tc,Ic as ne,Id as Tg,Ie as Th,If as Zi,Ig as dk,Ih as jl,Ii as jm,Ij as kn,Ik as so,J as $,Ja as Fb,Jb as ad,Jc as oe,Jd as Ug,Je as Uh,Jf as _i,Jg as ek,Jh as kl,Ji as km,Jj as ln,Jk as to,K as aa,Ka as Gb,Kb as bd,Kc as pe,Kd as Vg,Ke as Vh,Kf as $i,Kg as fk,Kh as ll,Ki as lm,Kj as mn,Kk as uo,L as ba,La as Hb,Lb as cd,Lc as qe,Ld as Wg,Le as Wh,Lf as aj,Lg as gk,Lh as ml,Li as mm,Lj as nn,Lk as vo,M as ca,Ma as Ib,Mb as dd,Mc as re,Md as Xg,Me as Xh,Mf as bj,Mg as hk,Mh as nl,Mi as nm,Mj as on,Mk as wo,N as da,Na as Jb,Nb as ed,Nc as se,Nd as Yg,Ne as Yh,Nf as cj,Ng as ik,Nh as ol,Ni as om,Nj as pn,Nk as xo,O as ea,Oa as Kb,Ob as fd,Oc as te,Od as Zg,Oe as Zh,Of as dj,Og as jk,Oh as pl,Oi as pm,Oj as qn,Ok as yo,P as fa,Pa as Lb,Pb as gd,Pc as ue,Pd as _g,Pe as _h,Pf as ej,Pg as kk,Ph as ql,Pi as qm,Pj as rn,Pk as zo,Q as ga,Qa as Mb,Qb as hd,Qc as ve,Qd as $g,Qe as $h,Qf as fj,Qg as rk,Qh as rl,Qi as rm,Qj as sn,Qk as Ao,R as ha,Ra as Nb,Rb as id,Rc as we,Rd as ah,Re as ai,Rf as gj,Rg as sk,Rh as sl,Ri as sm,Rj as tn,Rk as Bo,S as ia,Sa as Ob,Sb as jd,Sc as xe,Sd as bh,Se as bi,Sf as hj,Sg as tk,Sh as tl,Si as tm,Sj as un,Sk as Co,T as ja,Ta as Pb,Tb as kd,Tc as ye,Td as ch,Te as ci,Tf as ij,Tg as uk,Th as ul,Ti as um,Tj as vn,Tk as Do,U as ka,Ua as Qb,Ub as ld,Uc as ze,Ud as dh,Ue as di,Uf as jj,Ug as vk,Uh as vl,Ui as vm,Uj as wn,Uk as Eo,V as Ra,Va as Rb,Vb as md,Vc as Ae,Vd as eh,Ve as ei,Vf as kj,Vg as wk,Vh as wl,Vi as wm,Vj as xn,W as Sa,Wa as Sb,Wb as nd,Wc as Be,Wd as fh,We as fi,Wf as lj,Wg as xk,Wh as xl,Wi as xm,Wj as yn,X as Ta,Xa as Tb,Xb as yd,Xc as Ce,Xd as gh,Xe as gi,Xf as sj,Xg as yk,Xh as yl,Xi as ym,Xj as zn,Y as Ua,Ya as Ub,Yb as zd,Yc as De,Yd as hh,Ye as hi,Yf as tj,Yg as zk,Yh as zl,Yi as zm,Yj as An,Z as Va,Za as Vb,Zb as Ad,Zc as Ee,Zd as ih,Ze as ii,Zf as uj,Zg as Ak,Zh as Al,Zi as Am,Zj as Bn,_ as Wa,_a as Wb,_b as Bd,_c as Fe,_d as jh,_e as ji,_f as vj,_g as Bk,_h as Bl,_i as Bm,_j as Cn,a,aa as Ya,ab as Yb,ac as Dd,ad as He,ae as lh,af as li,ag as xj,ah as Dk,ai as Dl,aj as Dm,ak as En,b,ba as Za,bb as Zb,bc as Id,bd as Ie,be as mh,bf as mi,bg as yj,bh as Ek,bi as El,bj as Em,bk as Fn,c,ca as _a,cb as _b,cc as Jd,cd as Je,ce as nh,cf as ni,cg as zj,ch as Fk,ci as Fl,cj as Fm,ck as Gn,d,da as $a,db as $b,dc as Kd,dd as Ke,de as oh,df as oi,dg as Aj,dh as Gk,di as Gl,dj as Gm,dk as Hn,e,ea as ab,eb as ac,ec as Ld,ed as Le,ee as ph,ef as pi,eg as Bj,eh as Hk,ei as Hl,ej as Hm,ek as In,f,fa as bb,fb as bc,fc as Md,fd as Me,fe as qh,ff as qi,fg as Cj,fh as Ik,fi as Il,fj as Im,fk as Jn,g,ga as cb,gb as cc,gc as Nd,gd as Ne,ge as rh,gf as ri,gg as Dj,gh as Jk,gi as Jl,gj as Jm,gk as Kn,h,ha as db,hb as dc,hc as Od,hd as Oe,he as sh,hf as si,hg as Ej,hh as Kk,hi as Kl,hj as Km,hk as Ln,i,ia as eb,ib as ec,ic as Pd,id as Pe,ie as th,if as ti,ig as Fj,ih as Lk,ii as Ll,ij as Lm,ik as Mn,j,ja as fb,jb as fc,jc as Qd,jd as Xe,je as uh,jf as ui,jg as Gj,jh as Mk,ji as Ml,jj as Mm,jk as Nn,k,ka as gb,kb as vc,kc as Rd,kd as Ye,ke as vh,kf as vi,kg as Hj,kh as Nk,ki as Nl,kj as Nm,kk as On,l,la as hb,lb as wc,lc as Sd,ld as Ze,le as wh,lf as wi,lg as Ij,lh as Ok,li as Ol,lj as Om,lk as Pn,m,ma as ib,mb as xc,mc as Td,md as _e,me as xh,mf as xi,mg as Jj,mh as Pk,mi as Pl,mj as Pm,mk as Qn,n,na as jb,nb as yc,nc as Ud,nd as $e,ne as yh,nf as yi,ng as Kj,nh as Qk,ni as Ql,nj as Qm,nk as Rn,o,oa as kb,ob as zc,oc as Vd,od as af,oe as zh,of as zi,og as Lj,oh as Rk,oi as Rl,oj as Rm,ok as Sn,p,pa as lb,pb as Ac,pc as Wd,pd as bf,pe as Ah,pf as Ai,pg as Mj,ph as Sk,pi as Sl,pj as Sm,pk as Tn,q,qa as mb,qb as Bc,qc as Xd,qd as cf,qe as Bh,qf as Bi,qg as Nj,qh as Tk,qi as Tl,qj as Tm,qk as Un,r,ra as nb,rb as Cc,rc as Yd,rd as df,re as Ch,rf as Ci,rg as Oj,rh as Uk,ri as Ul,rj as Um,rk as Vn,s,sa as ob,sb as Dc,sc as Zd,sd as ef,se as Dh,sf as Di,sg as Pj,sh as Vk,si as Vl,sj as Vm,sk as Wn,t as z,ta as pb,tb as Ec,tc as _d,td as ff,te as Eh,tf as Ei,tg as Qj,th as Wk,ti as Wl,tj as Wm,tk as Xn,u as A,ua as qb,ub as Fc,uc as $d,ud as gf,ue as Fh,uf as Fi,ug as Rj,uh as Xk,ui as Xl,uj as Xm,uk as Yn,v as B,va as rb,vb as Gc,vc as ae,vd as hf,ve as Gh,vf as Gi,vg as Sj,vh as Yk,vi as Yl,vj as Ym,vk as Zn,w as C,wa as sb,wb as Hc,wc as be,wd as jf,we as Hh,wf as Hi,wg as Tj,wh as Zk,wi as Zl,wj as Zm,wk as _n,x as D,xa as tb,xb as Ic,xc as ce,xd as kf,xe as Ih,xf as Oi,xg as Uj,xh as _k,xi as _l,xj as _m,xk as ho,y as E,ya as ub,yb as Jc,yc as de,yd as lf,ye as Jh,yf as Pi,yg as Vj,yh as $k,yi as $l,yj as $m,yk as io,z as P,za as vb,zb as Kc,zc as ee,zd as mf,ze as Kh,zf as Qi,zg as Wj,zh as al,zi as am,zj as an,zk as jo}from"./chunk-HU2HIDVT.js";import{$ as xd,$a as ig,A as lc,Aa as Jf,Ab as Jg,B as mc,Ba as Kf,Bb as Kg,C as nc,Ca as Lf,Cb as Lg,D as oc,Da as Mf,Db as Mg,E as pc,Ea as Nf,Eb as Ng,F as qc,Fa as Of,Fb as Og,G as rc,Ga as Pf,Gb as Pg,H as sc,Ha as Qf,Hb as Qg,I as tc,Ia as Rf,Ib as Rg,J as uc,Ja as Sf,Jb as mj,K as Uc,Ka as Tf,Kb as nj,L as Vc,La as Uf,Lb as oj,M as Wc,Ma as Vf,Mb as pj,N as Xc,Na as Wf,Nb as qj,O as Yc,Oa as Xf,Ob as rj,P as Zc,Pa as Yf,Pb as lk,Q as _c,Qa as Zf,Qb as mk,R as $c,Ra as _f,Rb as nk,S as od,Sa as $f,Sb as ok,T as pd,Ta as ag,Tb as pk,U as qd,Ua as bg,Ub as qk,V as rd,Va as cg,W as sd,Wa as dg,X as td,Xa as eg,Y as ud,Ya as fg,Z as vd,Za as gg,_ as wd,_a as hg,a as t,aa as Ed,ab as jg,b as u,ba as Fd,bb as kg,c as v,ca as Gd,cb as lg,d as w,da as Hd,db as mg,e as x,ea as Qe,eb as ng,f as y,fa as Re,fb as og,g as F,ga as Se,gb as pg,h as G,ha as Te,hb as qg,i as H,ia as Ue,ib as rg,j as I,ja as Ve,jb as sg,k as J,ka as We,kb as tg,l as K,la as sf,lb as ug,m as L,ma as tf,mb as vg,n as M,na as wf,nb as wg,o as N,oa as xf,ob as xg,p as O,pa as yf,pb as yg,q as Ma,qa as zf,qb as zg,r as Na,ra as Af,rb as Ag,s as Oa,sa as Bf,sb as Bg,t as Pa,ta as Cf,tb as Cg,u as Qa,ua as Df,ub as Dg,v as gc,va as Ef,vb as Eg,w as hc,wa as Ff,wb as Fg,x as ic,xa as Gf,xb as Gg,y as jc,ya as Hf,yb as Hg,z as kc,za as If,zb as Ig}from"./chunk-RMJJOSVZ.js";import{a as X,b as Y,c as Ii,d as Ji,e as Ki,f as Li,g as Mi,h as Ni,i as $n,j as ao,k as bo,l as co,m as eo,n as fo,o as go}from"./chunk-OHDY27EI.js";import{A as Ia,B as Ja,C as Ka,D as La,a as la,b as ma,c as na,f as oa,g as pa,h as qa,i as ra,j as sa,l as ta,m as ua,n as va,o as wa,p as xa,q as ya,r as za,s as Aa,t as Ba,u as Ca,v as Da,w as Ea,x as Fa,y as Ga,z as Ha}from"./chunk-S2MSIA57.js";export{Yh as CODE_REFERENCE_LIMITS,Pa as COMMON_LOCALES,ho as CONFIGURATION_POLICY,Ra as COUPON_TERM_LOCALES,Hf as CUSTOMER_DATA_SOURCES,Td as CreateInvoiceParamsSchema,Sd as CreateInvoicePreviewSchema,Rm as DEFAULT_AUDIENCE_GROUP,Bk as DEFAULT_FUNNEL_EXECUTION_POLICY,dl as FUNNEL_API_CAPABILITIES,uj as FUNNEL_EXECUTION_LIMITS,sj as FUNNEL_LIMITS,km as FUNNEL_PREVIEW_LIMITS,Do as FUNNEL_READ_ONLY_OPERATIONS,vj as FUNNEL_RECORDING_LIMITS,to as FUNNEL_SEGMENT_BYTES,so as FUNNEL_SEGMENT_LIMIT,$l as FUNNEL_SERVER_KEY_HEADER,ql as FunnelCalculationError,Qd as InvoiceModeParamsSchema,Rd as InvoiceTemplateSchema,Ze as OFFERING_MAX_DEPTH,$e as OFFERING_MAX_ITEMS,_e as OFFERING_MAX_PRODUCTS,Bg as POPUP_WIDTHS,Pd as ReissueInvoiceParamsSchema,Sf as SCREEN_LIMITS,mj as SCREEN_RENDER_PATH,Rf as SCREEN_SCHEMA_VERSION,zj as SCREEN_TEMPLATES,vc as SDK_PROTOCOL_HEADER,xc as SDK_SUPPORT_HEADER,yc as SDK_SUPPORT_POLICY,wc as SDK_VERSION_HEADER,zg as SURFACE_PATHS,zf as SURFACE_VARIABLES,Ec as SdkProtocolError,tj as UNBOUND_PRODUCT_VERSION_ID,fo as VISUAL_EDITOR_PARAM,Cc as addSupportMonths,j as aiCreditSystemConfigSchema,lh as aiMarkupSchema,kh as aiModelIdSchema,mh as aiModelRatesSchema,nh as aiPricingConfigurationSchema,jh as aiTokenPools,w as amountToMinor,Fi as analyticsConfigSchema,Hi as analyticsEventEnabled,lc as apiErrorCatalog,mc as apiErrorCodeForStatus,gc as apiErrorCodeSchema,kj as apiOperations,dj as apiPermissionSchema,kn as appResultsSchema,jn as appRevenueSchema,tn as appendScreenTemplate,Rn as applyGrowthReleasePlan,_j as archiveSurfaceTemplateSchema,Um as audienceCustomerSchema,bn as audienceFunnelUsageSchema,cn as audienceFunnelUsagesSchema,Vm as audienceMembersSchema,Hc as audienceSchema,Tm as audienceWriteSchema,Mm as auditFieldSchema,Pm as auditHistoryCursorSchema,Qm as auditHistorySchema,Lm as auditResourceSchema,qb as autoTopupPurchaseLimitSchema,Cb as autoTopupStateSchema,Yn as autumnAmountToMinor,Am as autumnCustomerAutoTopupSchema,Fm as autumnCustomerControlsSchema,Hm as autumnCustomerMetadataSchema,Em as autumnCustomerOverageAllowedSchema,Jm as autumnCustomerProductSummarySchema,Im as autumnCustomerProfileRecordSchema,Bm as autumnCustomerSpendLimitSchema,Dm as autumnCustomerUsageAlertSchema,Cm as autumnCustomerUsageLimitSchema,Gm as autumnEntityControlsSchema,Zn as autumnMinorToAmount,_n as autumnUsageUnitAmountDecimal,eh as balanceAdjustmentCommandSchema,fh as balanceAdjustmentStateSchema,Yc as balanceAllocationSchema,Vc as balanceCommandSchema,bd as balanceGrantCommandSchema,ad as balanceGrantCreateSchema,ed as balanceGrantPageSchema,dd as balanceGrantReadSchema,cd as balanceGrantSchema,$c as balanceOperationSchema,Wc as balancePricingSegmentSchema,_c as balanceQuoteSchema,Xc as balanceReceiptUnitsSchema,Zc as balanceRejectionReasonSchema,zn as balanceSourceReasonSchema,gh as balanceSourceStateSchema,An as balanceSourceStatusSchema,Cn as balanceSourcesPageSchema,Bn as balanceSourcesQuerySchema,jb as billingAccruedMinorSchema,ib as billingAmountMinorSchema,tb as billingAuthorizationSchema,sb as billingAuthorizationTermsSchema,kb as billingBudgetMinorSchema,Db as billingControlInputSchema,Eb as billingControlsSchema,Mb as billingCouponsSchema,z as billingCurrencies,Fb as billingInvoiceLineSchema,Gb as billingInvoiceSchema,Jb as billingInvoicesSchema,xb as billingLimitSchema,Wj as billingPortalInputSchema,Xj as billingPortalSchema,D as billingSettingsMutationSchema,B as billingSettingsSchema,C as billingSettingsScopeSchema,Bb as billingUsageWindowSchema,eg as borderSchema,kg as buttonNodeSchema,rl as calculateFunnelNode,Kc as campaignInputSchema,Ic as campaignOfferSchema,Lc as campaignSchema,Na as canonicalLocale,Af as capabilityBindingSchema,ob as cashPriceSchema,mb as cashPricingSchema,lb as cashPricingTiersSchema,hb as cashUnitAmountMinorSchema,Oh as claimRewardProductRequestSchema,$h as codeReferenceBranchSchema,fi as codeReferenceConfigRequestSchema,ei as codeReferenceConfigureSchema,li as codeReferenceFeatureSummarySchema,Zh as codeReferenceKeySchema,ai as codeReferencePathSchema,ii as codeReferenceReceiptSchema,_h as codeReferenceRepoSchema,hi as codeReferenceReportSchema,ci as codeReferenceRepositoryInputSchema,di as codeReferenceRepositorySchema,gi as codeReferenceScanConfigSchema,ji as codeReferenceScanSchema,ki as codeReferenceSettingsSchema,mi as codeReferenceSummarySchema,Gd as commerceAccessSchema,Qe as commerceContextSchema,De as commerceCursorSchema,Ee as commerceListQuerySchema,Hd as commerceMoneySchema,vn as commerceProductKind,Fd as commerceProductKindSchema,Ed as commerceProviderSchema,Ea as compileGrowthFeatures,ko as configurationArtifactSchema,qo as configurationDependencies,jo as configurationDependenciesSchema,oo as configurationDigest,lo as configurationFunnelSchema,po as configurationGeneration,no as configurationJson,io as configurationScopeSchema,Hb as confirmBillingAdjustmentInputSchema,vb as confirmBillingAuthorizationInputSchema,ic as consoleErrorCodeSchema,tc as consoleErrorResponseSchema,Vn as consoleHasPermission,ne as consoleRefundRequestSchema,Tn as consoleResources,Un as consoleRolePermissions,Sn as consoleRoleSchema,rg as countdownNodeSchema,Ya as couponAppliesToSchema,bb as couponChangeErrors,qg as couponCodeNodeSchema,tl as couponContentDigestSchema,Wa as couponDiscountSchema,Wm as couponDisplaySchema,Ej as couponDistributionBatchSchema,Gj as couponDistributionDetailSchema,Dj as couponDistributionPreviewSchema,Fj as couponDistributionRecipientSchema,Hj as couponDistributionWriteSchema,Xa as couponDurationSchema,Za as couponEligibilitySchema,_a as couponInputSchema,Di as couponRedemptionCommandSchema,Ei as couponRedemptionReceiptSchema,Va as couponStatusSchema,zm as couponTemplateExample,xm as couponTemplateKey,eb as couponWindow,Zm as createAccountOverviewPage,Ym as createCreditCenterPage,$m as createCustomerPageTemplates,gj as createCustomerRequestSchema,hj as createCustomerResponseSchema,_m as createMembershipPage,Qh as createReferralCodeRequestSchema,F as creditAmountSchema,qh as creditAnalyticsFilterSchema,sh as creditAnalyticsPageSchema,rh as creditAnalyticsQuerySchema,oh as creditAnalyticsRangeSchema,ph as creditAnalyticsTimezoneSchema,L as creditDimensionSchema,M as creditMultiplierSchema,H as creditPriceAdjustmentSchema,N as creditPricingSchema,J as creditPropertiesSchema,G as creditQuantitySchema,O as creditRateSchema,Ob as creditResetCountSchema,Nb as creditResetSchema,I as creditResourceKeySchema,Pb as creditRolloverSchema,c as creditSchemaItemSchema,id as creditStatementInputSchema,jd as creditStatementSchema,i as creditSystemConfigSchema,K as creditTiersSchema,t as currencies,A as currencyAmountOptionsSchema,v as currencyDecimals,u as currencySchema,lj as currentApiOperations,kd as currentNotificationEventTypeSchema,og as customHtmlNodeSchema,ka as customerActivitySchema,oi as customerAttributesSchema,Sm as customerAudienceSchema,Jf as customerDataConfigSchema,Mf as customerDataIntentSchema,mg as customerDataNodeSchema,ui as customerDataReferenceMessage,ti as customerDataReferenced,si as customerDataSchema,If as customerDataSourceSchema,jj as customerEntitlementsSchema,Bi as customerFiltersSchema,pi as customerFingerprintSchema,ln as customerFunnelDecisionsSchema,zi as customerGetSchema,sd as customerHoldingsSchema,qi as customerInputSchema,wd as customerLedgerEntrySchema,xd as customerLedgerPageSchema,vd as customerLedgerQuerySchema,xi as customerLookupSchema,wi as customerMutationSchema,Lf as customerPageDataSchema,Kf as customerPageNodeStateSchema,Km as customerPageSampleData,Ci as customerPageSchema,yi as customerPatchSchema,ec as customerPlanCreateSchema,fc as customerPlanCreatedSchema,ja as customerPlanSchema,vi as customerProfileSchema,ri as customerReferenceSchema,Vj as customerScheduledChangeCancelSchema,Tj as customerScheduledChangeSchema,Uj as customerScheduledChangesSchema,Mc as customerSchema,ni as customerTagsSchema,Ai as customerUpdateRequestSchema,bi as defaultCodeReferenceMethods,yj as defaultScreenTheme,cb as describeCoupon,_b as diffProductVariant,lg as dividerNodeSchema,Nf as emptyCustomerPageNode,Se as entitlementCheckInputSchema,Te as entitlementCheckReasonSchema,Ve as entitlementCheckResultSchema,Re as entitlementRequirementSchema,ga as entitlementSnapshotSchema,ij as entitlementStatusSchema,X as environmentSchema,Cd as environmentSettingsSchema,oc as errorCodeMatchesStatus,uc as errorMetadata,qc as errorMetadataSchema,nc as errorPolicy,kc as errorReasonSchema,jc as errorRecoverySchema,rc as errorResponseSchema,Pf as escapeHtmlText,pa as evalCondition,sa as evalFeature,Qi as evaluateFeaturesRequestSchema,Si as evaluateFeaturesResultSchema,Yl as executionSourceSchema,Bo as expandFunnelSegment,Da as experimentConfigurationSchema,Ca as experimentPhaseSchema,Ha as experimentSnapshotSchema,n as featureCollectionSchema,g as featureConfigOverrideSchema,k as featureDefinitionSchema,Oi as featureDeliveryPayloadSchema,a as featureIdSchema,$ as featureInputSchema,f as featureMarkupsOverrideSchema,o as featureOptionsSchema,Ni as featurePayloadSchema,m as featureRecordSchema,aa as featureSchema,Wn as featureTypes,Xn as featureUpdateBlockers,l as featureUpdateRulesSchema,od as featureUsageReadSchema,pd as featureUsageSetSchema,qd as featureUsageStateSchema,b as featureUsageTypeSchema,p as featureWriteSchema,Hg as fieldValue,cg as fillSchema,rd as financialAmountSchema,ud as financialCursorSchema,td as financialEntryTypeSchema,Pg as findDocumentNode,Og as findNode,wm as formatCouponConditions,Ta as formatCouponDiscount,Sa as formatCouponMoney,Ua as formatCouponTerms,y as formatCurrencyMinor,yn as formatProductBillingPeriod,db as formatUsd,el as funnelApiBindingSchema,bl as funnelApiProjectionSchema,Wk as funnelBundleDefinitionSchema,_k as funnelBundleLiterals,Zk as funnelBundleResultSchema,Xk as funnelBundleSelectionSchema,cm as funnelCampaignCommandSchema,dm as funnelCampaignStartResponseSchema,fl as funnelCapabilitySchema,Tl as funnelCollectionSchema,Ql as funnelCommandSchema,fm as funnelConfigurationSchema,Cl as funnelConsumedVariables,Ao as funnelContextDelta,am as funnelCredentialCommandSchema,bm as funnelCredentialResponseSchema,Pl as funnelDataQueriesSchema,Sk as funnelDecideShape,Tk as funnelDecisionCommandSchema,Mk as funnelDecisionEvaluationSchema,Qk as funnelDecisionOutputSchema,Uk as funnelDecisionResponseSchema,Rk as funnelDecisionSchema,Pk as funnelDecisionSegmentEvaluationSchema,Vk as funnelDecisionUsedResponseSchema,Ll as funnelDocumentDraftSchema,Nl as funnelDocumentSchema,ik as funnelEvaluationAttributes,Lk as funnelEvaluationInstructionSchema,Jk as funnelEvaluationModeSchema,Kk as funnelEvaluationResultSchema,Ak as funnelExecutionPolicySchema,Il as funnelExecutionStateSchema,hl as funnelExternalPageUrlSchema,zk as funnelExternalTaskSchema,kl as funnelGraphDraftSchema,jl as funnelGraphNodeSchema,ll as funnelGraphSchema,ml as funnelGraphTargets,an as funnelGroupReferenceSchema,Xl as funnelInstructionSchema,sl as funnelInvocationId,gm as funnelLocalConfigurationSchema,vl as funnelLocalScreenCommandSchema,wl as funnelLocalScreenResponseSchema,Ok as funnelLocalSegmentStepSchema,Eo as funnelNodeAcceptsEffect,Gl as funnelNodeInputSchema,El as funnelNodeKindSchema,fk as funnelNodeProjections,Hl as funnelNodeResultSchema,ck as funnelNodeWritesSchema,il as funnelOpenInSchema,Fk as funnelOrchestrationCommandSchema,ok as funnelParametersFromUrl,Ol as funnelPresentationSubmissionSchema,lm as funnelPreviewCommandSchema,om as funnelPreviewDependencySchema,pm as funnelPreviewJournalSchema,mm as funnelPreviewOutcomeSchema,rm as funnelPreviewRequestSchema,sm as funnelPreviewResponseSchema,nm as funnelPreviewScenarioSchema,um as funnelPreviewShareWriteSchema,tm as funnelPreviewSnapshotSchema,qm as funnelPreviewSourceSchema,$k as funnelProjectionFilterValueSchema,al as funnelProjectionWhereSchema,Ml as funnelPublishableDraftSchema,uo as funnelPureNode,Sl as funnelRecordSchema,Fl as funnelResourceReferenceSchema,dn as funnelResultsCursorSchema,en as funnelResultsQuerySchema,Ik as funnelResultsResponseSchema,fn as funnelResultsSchema,Zl as funnelRunViewSchema,_l as funnelRuntimeResponseSchema,Wl as funnelRuntimeStatusSchema,zl as funnelScreenReads,yl as funnelScreenTokens,Al as funnelScreenValues,Co as funnelSegmentConfigurationSchema,Nk as funnelSegmentEvaluationInstructionSchema,zo as funnelSegmentHasDynamicHash,vo as funnelSegmentPositionSchema,xo as funnelSegmentSchema,wo as funnelSegmentStepSchema,Gk as funnelSignalResponseSchema,vm as funnelStatisticsSchema,yo as funnelStepId,yk as funnelTaskBindingSchema,wk as funnelTaskDataSchema,xk as funnelTaskOutputsSchema,Ck as funnelTaskResponseSchema,Hk as funnelTaskResultsSchema,sn as funnelTemplateDraft,qn as funnelTemplateSchema,hm as funnelTopology,em as funnelTopologySchema,Jl as funnelTraceEventSchema,sk as funnelValueBindingSchema,$j as funnelValueDeclarationSchema,dk as funnelValueMatches,rk as funnelValuePathSchema,hk as funnelValueSchema,ak as funnelVariableDeclarationSchema,bk as funnelVariableDeclarationsSchema,xl as funnelVariableRead,ek as funnelVariableValues,wj as funnelVisitAllowed,Dl as funnelWaitKindSchema,Ul as funnelWriteSchema,Ji as gbRuntimeExperimentResultSchema,Ii as gbRuntimeExperimentSchema,Ki as gbRuntimeFeatureRuleSchema,Li as gbRuntimeFeatureSchema,Mi as gbRuntimeSavedGroupsSchema,la as getQueryStringOverride,Qn as getRecommendedRolloutData,qa as getStickyBucketAttributes,In as growthAttributeSchema,ua as growthAttributesSchema,Kn as growthCatalogSchema,xa as growthConditionGroupIds,kk as growthConditionPaths,va as growthConditionSchema,Mn as growthDryRunSchema,Nn as growthExperimentInspectionSchema,Fa as growthExperimentStop,Ga as growthFeatureExpiry,za as growthFeatureRuleSchema,Aa as growthFeatureSchema,Ba as growthFeaturesSchema,On as growthGroupReferenceCursorSchema,Pn as growthGroupReferencesSchema,wa as growthGroupSchema,Jn as growthNamespaceSchema,Ln as growthResourceWriteSchema,Ka as growthRuleContextSchema,ya as growthSavedGroupsSchema,Ia as growthSnapshotSchema,La as growthSplitResultSchema,Of as htmlVariableErrors,Uf as identifierSchema,jg as imageNodeSchema,bg as imagePositionSchema,$f as insetsSchema,Zi as invoiceCommandSchema,fd as invoiceDetailInputSchema,hd as invoiceDetailSchema,aj as invoiceOperationSchema,gd as invoiceProductItemSchema,me as invoiceRefundsSchema,Yi as invoiceTemplateCommandSchema,Xi as invoiceTemplatePageSchema,Vi as invoiceTemplateValuesSchema,pb as isInvoiceCreditPrice,wf as isProductGroup,un as isRecurringMembership,Qg as isRtlLocale,Bc as isStableSdkProtocol,na as isURLTargeted,nb as itemBillingCycleSchema,xj as jsonStorageBytes,ta as jsonValueSchema,E as licenseOfferSchema,Ib as listBillingInvoicesInputSchema,Qa as localeLabel,Ma as localeSchema,Ig as localeStatuses,Ng as localizeScreen,zb as manageBillingLimitsInputSchema,yb as manageOveragePolicyInputSchema,$i as managedInvoiceDetailSchema,bj as managedInvoicePageSchema,_i as managedInvoiceSchema,Wi as managedInvoiceTemplateSchema,hc as managementErrorCodeSchema,sc as managementErrorResponseSchema,ag as marginSchema,Oa as matchLocale,jk as matchesGrowthCondition,T as membershipActionSchema,wn as membershipBillingCount,U as membershipChangeSchema,V as membershipHoldingSchema,R as membershipRulesSchema,W as membershipStateSchema,S as membershipTimingSchema,Nm as mergeAuditSchema,_ as metadataSchema,h as meteredConfigSchema,x as minorToAmount,e as modelMarkupsSchema,nn as nativeCompletionSchema,Id as nativeCouponStoreOfferLinkWriteSchema,Jd as nativeCouponStoreOfferLinksSchema,Rc as nativeProductBindingSchema,Tc as nativeProductBindingWriteSchema,Sc as nativeProductBindingsPageSchema,mn as nativeProofSchema,Od as nativePurchaseInstructionSchema,on as nativeReceiptCommandSchema,pn as nativeReceiptResponseSchema,Oe as nativeRestoreCommandSchema,Pe as nativeRestoreResultSchema,Md as nativeStoreOfferForProduct,Kd as nativeStoreOfferSelectionSchema,Ld as nativeStoreOfferSelectionsSchema,Nd as nativeStoreSelectionMatches,ee as nativeSubscriptionUpdatePreviewSchema,fe as nativeSubscriptionUpdateResultSchema,Cj as newBlankSurface,ab as newCouponInput,Gi as newEnvironmentAnalyticsConfig,Vl as newFunnelDocument,Aj as newScreenFromTemplate,Bj as newSurfaceFromTemplate,Tf as nodeIdSchema,Om as objectAuditSchema,gn as offerFlowInputSchema,hn as offerFlowResultSchema,fb as offerSchema,gb as offerUnavailableReasonSchema,ff as offeringAuthorSchema,kf as offeringCollectionSchema,ef as offeringDocumentSchema,af as offeringItemSchema,bf as offeringItemsSchema,Ye as offeringMetadataSchema,gf as offeringProductEvidenceSchema,Xe as offeringProductIdSchema,cf as offeringProductIds,of as offeringProductOptionSchema,df as offeringProductPaths,qf as offeringPublicationIssues,hf as offeringRecordSchema,nf as offeringSelectorSchema,rf as offeringValueSchema,jf as offeringVersionSchema,pf as offeringWorkspaceSchema,mf as offeringWriteResultSchema,lf as offeringWriteSchema,Uc as overageBehaviorSchema,Ab as overagePolicySchema,Kl as ownedFunnelScreenSchema,Fn as pageExperimentEventSchema,Gn as pageExperimentEventsRequestSchema,Hn as pageExperimentEventsResponseSchema,En as pageExperimentPayloadSchema,Dn as pageExperimentSchema,Zf as paintColorSchema,ro as parsePublicFunnel,pc as parseRetryAfter,qj as parseScreenRenderPath,xe as paymentSetupCommandSchema,ye as paymentSetupReadSchema,Ae as paymentSetupSchema,Ue as paywallCandidateSchema,Ug as paywallClientActionSchema,_g as paywallCollectionSchema,Vg as paywallDocumentDraftSchema,Wg as paywallDocumentSchema,Yg as paywallFlowIssues,bh as paywallLibrarySchema,Xg as paywallProductIssues,uf as paywallProductsSchema,Zg as paywallRecordSchema,We as paywallRequestSchema,dh as paywallResolutionSchema,ch as paywallResolveInputSchema,$g as paywallSummarySchema,ah as paywallWriteSchema,da as planConfigSchema,ea as planInputSchema,ca as planItemSchema,sg as planPickerNodeSchema,fa as planSchema,ha as planVersionSchema,Jc as popupSchema,dc as prepaidAllowanceAmount,r as prepaidPriceAmount,s as prepaidQuantityAmount,Nc as prepaidQuantitySchema,q as prepaidTierPricingSchema,rb as prepareBillingAuthorizationInputSchema,ym as prepareCouponTemplate,oa as prepareSavedGroups,ub as preparedBillingAuthorizationSchema,Ag as presentationSchema,pg as priceNodeSchema,ba as priceSchema,Sb as productAllowanceSchema,Oc as productBindingSchema,Qc as productBindingWriteSchema,Pc as productBindingsPageSchema,bc as productCollectionSchema,Vb as productConfigurationSchema,Yb as productDefinitionSchema,cc as productEditorOptionsSchema,tf as productGroupingMatches,sf as productGroupingSchema,Ub as productLicenseSchema,Ij as productMigrationBlockReasonSchema,Pj as productMigrationDetailSchema,Jj as productMigrationErrorCodeSchema,Oj as productMigrationItemSchema,Mj as productMigrationItemStatusSchema,Qj as productMigrationListSchema,Kj as productMigrationPreviewSchema,Sj as productMigrationQuerySchema,Lj as productMigrationRunStatusSchema,Nj as productMigrationSchema,Rj as productMigrationWriteSchema,$b as productOptionsSchema,Rb as productPrepaidPriceSchema,Qb as productPricesSchema,ac as productRecordSchema,Sg as productSelectionSchema,Tb as productTrialSchema,Wb as productVariantOverridesSchema,Xb as productVariantSchema,cl as projectFunnelApiOutputs,im as projectFunnelConfiguration,jm as projectFunnelLocalConfiguration,Bd as projectSettingsSchema,$a as promotionCodeInputSchema,Ac as protocolForSdkVersion,d as providerMarkupsSchema,ul as publicCouponScreenDataSchema,Pi as publicFeatureConfigurationSchema,Jg as publishChecks,Ge as purchaseListItemSchema,Me as purchaseListPageSchema,Wf as radiusSchema,tk as readFunnelValuePath,Nh as redeemRewardRequestSchema,Rh as referralCodeSchema,Th as referralProgramCollectionSchema,Gh as referralProgramInputSchema,Ih as referralProgramRecordSchema,Lh as referralProgramWriteSchema,Ri as remoteFeatureResultSchema,Bl as renameFunnelScreenVariable,Dg as replaceFirstPageRoot,Xm as resolveCouponDisplay,Yk as resolveFunnelBundle,gl as resolveFunnelCapabilityInputs,Ek as resolveFunnelTaskInputs,uk as resolveFunnelValueBinding,vk as resolveFunnelValueBindings,Zb as resolveProductVariant,Mg as resolveScreenLocale,Fc as resolveSdkProtocol,fj as responseMetaSchema,wb as revokeBillingAuthorizationInputSchema,Vh as rewardActivityRedemptionSchema,Wh as rewardActivitySchema,Fh as rewardCodeInputSchema,Uh as rewardCodeSchema,Xh as rewardCodeWriteSchema,Sh as rewardCollectionSchema,Ch as rewardConfigurationSchema,Ah as rewardGrantExpirySchema,Bh as rewardGrantSchema,Eh as rewardInputSchema,Dh as rewardKeySchema,Jh as rewardOptionSchema,Ph as rewardProductCheckoutSchema,Hh as rewardRecordSchema,Mh as rewardRedemptionSchema,zh as rewardStatusSchema,yh as rewardTypeSchema,Kh as rewardWriteSchema,ra as runExperiment,xn as sameMembershipBillingCycle,Zj as saveSurfaceTemplateSchema,Y as scopeSchema,wg as screenActionSchema,mk as screenAnswersSchema,lk as screenDataCursorSchema,Eg as screenDocumentSchema,Xf as screenImageSourceSchema,pk as screenInputBindingsSchema,vg as screenNodeSchema,nk as screenParametersSchema,Tg as screenPresentationSchema,xf as screenProductScopes,yf as screenProductSelections,pj as screenRenderPath,nj as screenRenderPathSchema,rj as screenRenderTags,oj as screenRenderUrlSchema,qk as screenRendererInputSchema,Rg as screenSelections,xg as screenStringsSchema,mo as sdkConfigurationManifestSchema,zc as sdkProtocolRegistry,Gc as sdkProtocolResponseHeaders,zd as seatCommandSchema,yd as seatReadSchema,Ad as seatsStateSchema,ol as selectFunnelCondition,vf as selectedPaywallProduct,Gf as selectedSurfaceValue,Lg as servableLocales,Lb as setBillingCouponsInputSchema,fg as shadowSchema,dg as shapeSchema,_f as sizeSchema,Vf as spaceSchema,ng as spacerNodeSchema,Z as stableKeySchema,tg as stackInteractionSchema,ug as stackNodeSchema,Ja as stickyAssignmentDocumentSchema,Xd as stripeAppendContextSchema,Wd as stripeCouponTermsSchema,Yd as stripePurchaseExecutionSchema,je as stripeRefundExecutionSchema,ze as stripeSetupExecutionSchema,be as stripeSubscriptionUpdateExecutionSchema,ce as stripeSubscriptionUpdatePreviewSchema,de as stripeSubscriptionUpdateResultSchema,ue as stripeTrialExecutionSchema,hg as styleSchema,Ud as subscriptionAttachCommandSchema,Zd as subscriptionAttachQuoteSchema,oe as subscriptionBatchCommandSchema,qe as subscriptionBatchGroupSchema,pe as subscriptionBatchReadSchema,re as subscriptionBatchSchema,$d as subscriptionCarryOptionsSchema,Ne as subscriptionConflictPageSchema,Ie as subscriptionConflictQuerySchema,Ke as subscriptionConflictRetryResultSchema,Je as subscriptionConflictRetrySchema,He as subscriptionConflictSchema,Kb as subscriptionCouponExecutionSchema,cj as subscriptionInvoiceModeSchema,Fe as subscriptionListItemSchema,Le as subscriptionListPageSchema,Vd as subscriptionOperationInputSchema,_d as subscriptionOperationSchema,ie as subscriptionRefundCommandSchema,ke as subscriptionRefundPreviewSchema,le as subscriptionRefundResultSchema,se as subscriptionTrialCommandSchema,we as subscriptionTrialPolicySchema,te as subscriptionTrialReadSchema,ve as subscriptionTrialResultSchema,ae as subscriptionUpdateCommandSchema,ge as subscriptionUpdatePreviewSchema,he as subscriptionUpdateResultSchema,Be as subscriptionVerificationInputSchema,Ce as subscriptionVerificationSchema,Qf as substituteHtmlVariables,Ff as substituteSurfaceVariables,Cf as surfaceDataSchema,yg as surfaceSchema,Yj as surfaceTemplateSchema,Bf as surfaceValueSchema,Df as surfaceVariableNames,Kg as templateChecks,rn as templateScreen,ig as textNodeSchema,gg as textStyleSchema,Yf as themeSchema,ma as toAttributeString,Ti as trackEventsRequestSchema,Ui as trackEventsResultSchema,pl as transitionFunnelGraph,Gg as translatableFields,P as trialPolicySchema,Q as trialRecordSchema,Ef as unknownSurfaceVariables,md as usageAlertNotificationDataSchema,nd as usageAllowanceNotificationDataSchema,uh as usageAnalyticsPageSchema,th as usageAnalyticsQuerySchema,xh as usageBatchPageSchema,wh as usageBatchReadSchema,vh as usageBatchSubmitSchema,hh as usageEntityCommandSchema,ih as usageEntitySchema,ld as usageLimitNotificationDataSchema,nl as validateFunnelGraph,gk as validateFunnelProjections,Dk as validateFunnelTaskData,Rl as validateScreenAnswers,Dc as validateSdkProtocolRegistry,ia as validitySchema,ej as verifiedPrincipalSchema,ao as visualChangeSchema,eo as visualExperimentPayloadSchema,co as visualExperimentSchema,$n as visualMutationSchema,go as visualSelectedElementSchema,bo as visualVariationSchema,Cg as walkDocument,Fg as walkScreen,Dd as workspaceSettingsSchema};
|