@tinkerlandai/longplay-sdk 0.10.36 → 0.10.37
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 +9 -0
- package/README.md +8 -0
- package/README.zh-CN.md +8 -0
- package/dist/check-response-N22NNTIT.js +1 -0
- package/dist/chunk-2HBIBIOF.js +1 -0
- package/dist/{chunk-VWMFR22O.js → chunk-2KJLN65C.js} +1 -1
- package/dist/{chunk-VKG6BB3Z.js → chunk-2VMEDQHT.js} +1 -1
- package/dist/{chunk-5XKFUFXK.js → chunk-4KLXQKNO.js} +1 -1
- package/dist/{chunk-IOBB6KFK.js → chunk-6F4JS3RK.js} +1 -1
- package/dist/{chunk-HVVJGLYZ.js → chunk-7XDQKZYA.js} +1 -1
- package/dist/{chunk-35VG2IYD.js → chunk-AB7GEGZ2.js} +1 -1
- package/dist/{chunk-RHF4NFCZ.js → chunk-AHUYZ6IW.js} +1 -1
- package/dist/{chunk-YQX27SBG.js → chunk-AOGDCT4T.js} +1 -1
- package/dist/{chunk-MHWPEMX7.js → chunk-CY7OKV7E.js} +1 -1
- package/dist/{chunk-2HSD2SEU.js → chunk-D3OYXTMC.js} +1 -1
- package/dist/chunk-DDLSQSWO.js +10 -0
- package/dist/{chunk-RHWZRHK7.js → chunk-E7CCHUSO.js} +1 -1
- package/dist/{chunk-U4WUX3WB.js → chunk-ECKVJGXQ.js} +1 -1
- package/dist/chunk-GH6FM44P.js +1 -0
- package/dist/{chunk-DHT3AWJQ.js → chunk-HEHLFHW7.js} +1 -1
- package/dist/chunk-HKXFCRVT.js +1 -0
- package/dist/chunk-KFIL73QY.js +1 -0
- package/dist/{chunk-UHTTCVSL.js → chunk-LC6UCDWE.js} +1 -1
- package/dist/{chunk-LAGGWYH3.js → chunk-LOLMUXHW.js} +1 -1
- package/dist/{chunk-LVG5ED52.js → chunk-OCWSWXCW.js} +1 -1
- package/dist/{chunk-BL7E4RZ2.js → chunk-OQRMAU2B.js} +1 -1
- package/dist/{chunk-5XIKN35D.js → chunk-OX2A3UD2.js} +1 -1
- package/dist/{chunk-BTPEXSNY.js → chunk-PW5PIBSO.js} +1 -1
- package/dist/chunk-Q676H74B.js +1 -0
- package/dist/{chunk-MYBUQFTC.js → chunk-RE4OLOOT.js} +1 -1
- package/dist/{chunk-2KKLY323.js → chunk-S43TYW3V.js} +1 -1
- package/dist/{chunk-XE7GU6FZ.js → chunk-T2KWLYCW.js} +1 -1
- package/dist/chunk-TASEZY5T.js +1 -0
- package/dist/{chunk-TIQS5DUF.js → chunk-U7NX5ET2.js} +1 -1
- package/dist/{chunk-XQTCEQXI.js → chunk-UV4H6VCS.js} +1 -1
- package/dist/{chunk-UVUFJO2V.js → chunk-VIBJNB5B.js} +1 -1
- package/dist/chunk-VLSP3LRH.js +1 -0
- package/dist/{chunk-R3YVDRTB.js → chunk-W74JLL2O.js} +1 -1
- package/dist/chunk-WQ3O5RXN.js +1 -0
- package/dist/{chunk-QHJWVLJC.js → chunk-WZMZMJCK.js} +1 -1
- package/dist/{chunk-I6D25FWU.js → chunk-XGNXZWZL.js} +1 -1
- package/dist/{chunk-ZYF6TRJ3.js → chunk-XJRDO3NI.js} +1 -1
- package/dist/chunk-YV6UFESO.js +1 -0
- package/dist/{chunk-M3GGR53D.js → chunk-ZYOZSUZS.js} +1 -1
- package/dist/{chunk-HS56A4IK.js → chunk-ZZIBLQCJ.js} +1 -1
- package/dist/content-QNBATPA2.js +1 -0
- package/dist/{funnel-host-purchase-M7MM33EC.js → funnel-host-purchase-FVYPBPET.js} +1 -1
- package/dist/funnel-paywall-prerender-Z7RA4YDY.js +1 -0
- package/dist/funnel-runtime-host-TJPF3FJS.js +1 -0
- package/dist/index.d.ts +23 -3
- package/dist/index.js +1 -1
- package/dist/merchant-bridge-contracts-67AYXZFI.js +1 -0
- package/dist/native-shell.js +1 -1
- package/dist/openrouter.js +1 -1
- package/dist/operation-contracts-EK4RCUWJ.js +1 -0
- package/dist/page.js +1 -1
- package/dist/paywall-OAVC654P.js +1 -0
- package/dist/paywall-content-75XEM7K3.js +1 -0
- package/dist/paywall-session-U6SPRJRS.js +1 -0
- package/dist/popup.d.ts +1 -1
- package/dist/popup.js +1 -1
- package/dist/react-native.js +1 -1
- package/dist/screen-renderer-YIIT742O.js +1 -0
- package/dist/server.js +1 -1
- package/dist/visual.js +1 -1
- package/package.json +10 -9
- package/dist/check-response-DHY6T5Z2.js +0 -1
- package/dist/chunk-7ZEXY4GC.js +0 -1
- package/dist/chunk-C4GBV32U.js +0 -10
- package/dist/chunk-CGXNU5BC.js +0 -1
- package/dist/chunk-DB4EO3JG.js +0 -1
- package/dist/chunk-GLYFT5WW.js +0 -1
- package/dist/chunk-HYE2YQYM.js +0 -1
- package/dist/chunk-JOIPLLHK.js +0 -1
- package/dist/chunk-OL2AI6DA.js +0 -1
- package/dist/chunk-W3K5ARMY.js +0 -1
- package/dist/chunk-WRLVPHPE.js +0 -1
- package/dist/content-RGKTEV23.js +0 -1
- package/dist/funnel-paywall-prerender-OSBI4VMY.js +0 -1
- package/dist/funnel-runtime-host-AMJXEASH.js +0 -1
- package/dist/merchant-bridge-contracts-GJQVKEAG.js +0 -1
- package/dist/operation-contracts-MFK2KORK.js +0 -1
- package/dist/paywall-ATZ2IZPS.js +0 -1
- package/dist/paywall-content-XERXGNND.js +0 -1
- package/dist/paywall-session-EMMF6IYS.js +0 -1
- package/dist/screen-renderer-B7LUTPTJ.js +0 -1
- /package/dist/{chunk-ZYN4CRHS.js → chunk-CR2XJ2CX.js} +0 -0
package/dist/paywall-ATZ2IZPS.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as Pt,c as kt,d as Qe,f as Ge,g as Et,k as xt}from"./chunk-I6D25FWU.js";import{b as je}from"./chunk-W32FI2A2.js";import{d as yt,e as wt,f as bt,h as Fe,i as Ae,j as gt,k as vt,l as Ct}from"./chunk-YQX27SBG.js";import{a as dt,c as He,d as ft,e as pt}from"./chunk-3NCMYTNG.js";import{b as ne}from"./chunk-35VG2IYD.js";import{b as Be,d as mt,g as ht}from"./chunk-CGXNU5BC.js";import"./chunk-HVVJGLYZ.js";import"./chunk-ZYF6TRJ3.js";import{ba as ye,da as we}from"./chunk-QHJWVLJC.js";import{c as ce,j as he}from"./chunk-XE7GU6FZ.js";import{c as Ve}from"./chunk-LAGGWYH3.js";import"./chunk-DHT3AWJQ.js";import{a as v}from"./chunk-TIQS5DUF.js";import"./chunk-7ZEXY4GC.js";import"./chunk-RHF4NFCZ.js";import"./chunk-ZYN4CRHS.js";import"./chunk-O4KXODTJ.js";import"./chunk-CILM5XMH.js";import{a as j}from"./chunk-DSPLGTQI.js";import"./chunk-WOT6VMZA.js";async function It(T,a,A){if(a.status!=="complete")throw new v("INVALID_RESPONSE","A verified completed purchase is required");let g=T?he.parse(T):null;if(await A.onComplete?.(a),!g||!A.check)return;let D=he.parse(await A.check());if(D.internal_feature_id!==g.internal_feature_id||D.quantity!==g.quantity||g.observation!==void 0&&(D.observation===void 0||D.observation.requirementDigest!==g.observation.requirementDigest||D.observation.authority!==g.observation.authority||Ve(D.observation.subject)!==Ve(g.observation.subject)))throw new v("INVALID_RESPONSE","The access requirement changed");D.allowed&&await A.onAccessGranted?.(D)}function We(T){return Object.entries(T.document.buttons).filter(([,a])=>a.type==="checkout"&&a.product.type==="fixed"&&!ne(a.product,{},T.capabilities)).map(([a])=>a)}function At(T,a){let A=a.lines[0];if(a.lines.length!==1||!A)return;let g=A.productVersionId,{screen:D,buttons:F}=T.document,E=new Map((A.prepaid??[]).map(f=>[f.internal_feature_id,f.quantity]));function Q(f,m){if(f.hidden)return!1;if(f.type==="plan_picker"&&T.capabilities.pickers[f.id]?.options.includes(g))return m[f.id]=g,!0;if(f.type==="quantity_picker"){let V=E.get(f.internalFeatureId);return V!==void 0&&(!f.bind?.plan||f.bind.plan===g)&&(m[f.id]=V),!1}if(f.type==="button"&&f.action){let V=F[f.action];return V?.type==="checkout"&&V.product.type==="fixed"&&V.product.productVersionId===g}if(f.type!=="stack")return!1;let $=f.interaction,r=f.bind?.plan===g;for(let[V,p]of f.children.entries()){let J={},R=Q(p,J);if($?.type==="toggle"||$?.type==="tabs"){if(!R)continue;return m[f.id]=$.type==="toggle"?V===0:p.id,Object.assign(m,J),!0}Object.assign(m,J),R&&(r=!0,$?.type==="select"&&$.purpose==="product"&&$.pickerId&&p.type==="stack"&&p.bind?.plan===g&&(m[f.id]=p.id,m[$.pickerId]=g))}return r}for(let f of D.pages){let m={__page:f.id};if(Q(f.root,m))return m}}async function mn(T,a,A){let g=a.focusAtReveal?()=>{}:Fe(T.ownerDocument),D=()=>{E.finish("dismissed"),g()},F=()=>D(),E=gt(T,a,"paywall",()=>{D(),j(a.onDismiss)},Pt);a.signal?.throwIfAborted(),a.signal?.addEventListener("abort",F,{once:!0});let Q=null,f,m,$;try{if(E.start(!0,a.loadingDocument?.screen.strings.defaultLocale,a.loadingDocument??null),E.cancelled)throw new DOMException("Presentation cancelled","AbortError");if(Q=a.check?he.parse(await E.wait(a.check(),Ae)):null,Q?.allowed)return E.finish("skipped"),a.signal?.removeEventListener("abort",F),g(),await a.onAccessGranted?.(Q),{check:Q,host:null};let[e,t]=await Promise.allSettled([E.wait(import("./screen-renderer-B7LUTPTJ.js")),E.wait(a.start().then(i=>(E.cancelled&&i.destroy(),i)),Ae)]);if(e.status==="rejected")throw t.status==="fulfilled"&&t.value.destroy(),e.reason;if(t.status==="rejected")throw t.reason;$=e.value,f=t.value,a.signal?.throwIfAborted(),f.signal?.throwIfAborted(),f.signal?.addEventListener("abort",F,{once:!0});let n=f.view??await E.wait(f.refresh(),Ae);if(!n)throw new v("INVALID_RESPONSE","Paywall presentation is missing");f.signal?.throwIfAborted(),m=n}catch(e){throw E.finish("error",e),a.signal?.removeEventListener("abort",F),f?.signal?.removeEventListener("abort",F),f?.destroy(),g(),e}let r=f,{mountScreenPreview:V}=$,p=T.ownerDocument,J=new AbortController,R=p.createElement("section"),re=p.createElement("div"),G=p.createElement("div"),c=p.createElement("p"),y=p.createElement("button"),C=p.createElement("button"),x=p.createElement("dialog"),ze=r.locale||m.document.screen.strings.defaultLocale,s=ze.toLowerCase().startsWith("zh"),Rt=s?"\u6B63\u5728\u5904\u7406\u2026":"Processing\u2026",St=s?"\u6B63\u5728\u51C6\u5907\u62A5\u4EF7\u2026":"Preparing your price\u2026",O=kt(m.document.screen.theme);R.dataset.indianaPaywall="",R.setAttribute("aria-label",m.document.name),R.style.cssText=O.root,G.style.cssText=O.controls,c.style.cssText=O.message,c.setAttribute("role","status"),C.style.cssText=O.link,C.textContent=s?"\u5173\u95ED":"Close",y.style.cssText=O.secondary,y.textContent=s?"\u91CD\u8BD5":"Retry",y.hidden=!0,G.append(c,y,C),R.append(re,G);let Ye=()=>{let e=K??G,t=[...e.children].every(i=>i===c?!c.textContent:i.hidden),n=[...e.children].some(i=>i===C?!1:i===c?!!c.textContent:!i.hidden);e.style.cssText=t?O.controls.replace(/padding:[^;]+/,"padding:0"):n?`${O.controls};${O.pinned}`:O.controls,Oe()},Je=typeof MutationObserver>"u"?void 0:new MutationObserver(Ye);Je?.observe(R,{attributes:!0,attributeFilter:["hidden"],characterData:!0,childList:!0,subtree:!0});let be=m.document.presentation,Tt=Object.entries(m.document.buttons).filter(([,e])=>e.type==="close").map(([e])=>e),U,Ke,Re=!1,Xe=JSON.stringify(m.capabilities),Ze=e=>Z&&!ue?Object.entries(e.document.buttons).filter(([,t])=>t.type==="checkout").map(([t])=>t):We(e);function Se(e){if(h)return;m=e;let t=JSON.stringify(e.capabilities);t!==Xe&&(U?.updateCapabilities(e.capabilities,Ze(e)),Xe=t),Nt(e),de()}let P,Te=0;function Oe(){let e=p.defaultView;if(!P?.responsive||!e)return;let t=K??G,n=e.innerHeight-(P.type==="modal"?32:0);t.style.maxHeight=`${Math.max(1,n)}px`,t.style.overflowY="auto",t.style.flexShrink="0",Te=Math.max(1,n-t.getBoundingClientRect().height),U?.resizeViewport?.(Te,e.innerWidth)}let h=!1,Z=!1,k=null,ge=!1,et=!1,ee=!1,De,Ne=!1,W,K;function Ot(){return Z||h||W||Ne?{type:"recover",operationId:r.operation?.operationId??r.quote?.operationId??null,requestId:null}:He(r)}let I=()=>!h&&!ge&&!W&&a.canInteract?.()!==!1,ie=!1,u=null,z=null,_e="",te=()=>a.checkoutNavigation==="after_confirmation"&&!!(a.terminateCheckout||a.resumeCheckout),le={},ue,H=null;function de(){if(!te()||!U?.updateCheckoutControls)return;let e=r.quote,t=!H&&!!e&&!!r.operation&&M(r.operation).type==="checkout",n=Object.entries(m.document.buttons).flatMap(([i,o])=>o.type==="checkout"?[{actionId:i,policy:o}]:[]);U.updateCheckoutControls({actions:n.map(({actionId:i})=>i),resume:t?n.filter(({policy:i})=>Pe(e,m,i.product,le)).map(({actionId:i})=>i):[],resumeLabel:s?"\u7EE7\u7EED\u4ED8\u6B3E":"Continue checkout",busy:ue})}function tt(){z?.remove(),z=null}async function Le(){if(H)return;if(a.resumeCheckout&&r.operation){await a.resumeCheckout(r.operation.operationId);return}let e=await r.read();if(M(e).type!=="checkout")return N(e,!1);I()&&(ve.delete(e.operationId),await ke(e))}function nt(){c.textContent=s?"\u6682\u65F6\u65E0\u6CD5\u6253\u5F00\u4ED8\u6B3E\u9875\u9762\u3002\u8BF7\u91CD\u8BD5\u3002":"Couldn\u2019t open checkout. Try again.",y.hidden=!0}async function rt(e=!1){let t=H;if(!t)return;y.hidden=!0;let n=Date.now()+2e4;for(;I();){let i=await r.read();if(i.operationId!==t.operationId)throw new v("PURCHASE_PENDING","The original Checkout changed");if(!I())break;let o=M(i);if(o.type==="native"){H=null,tt(),k=t.selection,ie=!1,await pe();return}if(o.type==="complete"||o.type==="fulfillment"||o.type==="recording"){H=null,await N(i,!1);return}if(e&&o.type==="checkout"){e=!1;try{await a.terminateCheckout(t.operationId)}catch(d){j(a.onError,d)}}if(Date.now()>=n)break;await je(1e3,p,J.signal)}h||nt()}async function Dt(e,t){H={operationId:e,selection:t};let n=!1;try{await a.terminateCheckout(e)}catch(i){if(i instanceof v&&["CAPABILITY_UNAVAILABLE","NOT_CONFIGURED"].includes(i.code)){H=null,c.textContent=s?"\u8BF7\u7EE7\u7EED\u539F\u8BA2\u5355\uFF0C\u6216\u7B49\u5F85\u5B83\u8FC7\u671F\u540E\u518D\u66F4\u6362\u65B9\u6848\u3002":"Continue your original checkout, or wait for it to expire before changing plans.",j(a.onError,i);return}n=i instanceof v&&(i.status??0)>=500,j(a.onError,i)}I()&&await rt(n)}function Nt(e){Z||k||r.quote||r.operation||_e&&c.textContent===_e||(c.textContent=Object.values(e.capabilities.plans).some(t=>t.available)?"":s?"\u5F53\u524D\u8D26\u53F7\u6682\u65E0\u53EF\u8D2D\u4E70\u7684\u65B9\u6848\u3002":"No plans are currently available for this account.")}let ve=new Map,Ce=!1;function Pe(e,t,n,i){let o=e.lines.length===1?e.lines[0]:void 0,d=ne(n,i,t.capabilities);if(!o||!d||o.productVersionId!==d)return!1;let _;try{_=we(t.document.screen,d,i,t.capabilities)}catch{return!1}let b=Object.fromEntries((o.prepaid??[]).map(Y=>[Y.internal_feature_id,Y.quantity]));return[...new Set([...Object.keys(_),...Object.keys(b)])].every(Y=>(_[Y]??0)===(b[Y]??0))}let M=e=>dt({quote:r.quote,operation:e,requestId:null,pending:!1,destroyed:h,canReselect:r.canReselect});async function ke(e){let t=e.merchantExecution;if(!(!I()||!e.checkoutUrl||a.checkoutNavigation==="after_confirmation"&&M(e).type!=="checkout"||t?.type==="purchase"&&!["not_started","pending"].includes(t.paymentStatus)||ve.get(e.operationId)===e.checkoutUrl)){ve.set(e.operationId,e.checkoutUrl);try{a.onCheckoutUrl?await a.onCheckoutUrl(e.checkoutUrl):p.defaultView?.location.assign(e.checkoutUrl)}catch(n){throw ve.delete(e.operationId),n}}}let X=(e,t=!1)=>{if(e instanceof Be)u=null,c.textContent=e.customerMessage(s);else if(Et(e))u=null,c.textContent=t?s?"\u5F53\u524D\u65E0\u6CD5\u5728\u6B64\u8D2D\u4E70\uFF0C\u4ED8\u6B3E\u5C1A\u672A\u5F00\u59CB\u3002\u8BF7\u8054\u7CFB\u5546\u6237\u3002":"Purchases aren\u2019t available here right now. Payment hasn\u2019t started. Contact the merchant for help.":Ge(e,s);else if(t){let n=e instanceof v?e.code:void 0;n==="CAPABILITY_UNAVAILABLE"||n==="NOT_CONFIGURED"?(u=null,c.textContent=s?"\u6682\u65F6\u65E0\u6CD5\u4E3A\u6B64\u5957\u9910\u62A5\u4EF7\uFF0C\u4ED8\u6B3E\u5C1A\u672A\u5F00\u59CB\u3002":"Pricing for this plan is unavailable. Payment hasn\u2019t started."):r.canReselect===!0&&!k?c.textContent=s?"\u672A\u80FD\u53D6\u5F97\u62A5\u4EF7\uFF0C\u4ED8\u6B3E\u5C1A\u672A\u5F00\u59CB\u3002\u8BF7\u91CD\u65B0\u9009\u62E9\u5957\u9910\u3002":"We couldn\u2019t prepare your price. Payment hasn\u2019t started. Choose a plan again.":n==="COMMAND_PENDING"?c.textContent=s?"\u4ECD\u5728\u51C6\u5907\u62A5\u4EF7\uFF0C\u8BF7\u91CD\u8BD5\u4EE5\u67E5\u770B\u7ED3\u679C\u3002":"Your price is still being prepared. Retry to check the result.":c.textContent=s?"\u672A\u80FD\u53D6\u5F97\u62A5\u4EF7\uFF0C\u4ED8\u6B3E\u5C1A\u672A\u5F00\u59CB\u3002\u8BF7\u91CD\u8BD5\u3002":"We couldn\u2019t prepare your price. Payment hasn\u2019t started. Try again."}else c.textContent=e instanceof v&&(e.code==="NETWORK_ERROR"||e.code==="TIMEOUT")?Ge(e,s):e instanceof v?e.message:s?"\u64CD\u4F5C\u672A\u5B8C\u6210\uFF0C\u8BF7\u91CD\u8BD5\u3002":"This action couldn\u2019t be completed. Try again.";y.hidden=u===null,_e=c.textContent,t&&!P?.responsive&&c.scrollIntoView?.({block:"nearest"}),j(t&&A?.quoteError?A.quoteError:a.onError,e)},Ee=new WeakMap;function xe(e){Z=e,y.disabled=e,U?.updateCapabilities?.(m.capabilities,Ze(m));for(let t of z?.querySelectorAll("button")??[])e?(Ee.set(t,t.disabled),t.disabled=!0):Ee.has(t)&&(t.disabled=Ee.get(t),Ee.delete(t)),Qe(t)}function Ue(){c.textContent=s?"\u6682\u65F6\u65E0\u6CD5\u64CD\u4F5C\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5\u3002":"This action is unavailable right now. Try again in a moment."}async function _t(e){if(a.beforeAction)try{await a.beforeAction()}catch(t){throw t instanceof Be?(k=null,ie=!1,u=null):u=e,t}}async function L(e,t){if(Z||h)return;if(!I()){Ue();return}let n=e===pe,i=n?St:Rt,o=te()&&t!==void 0;ue=o?t:void 0,xe(!0),de(),y.hidden=!0,c.textContent=o?"":i;try{if((e!==Le||!a.resumeCheckout)&&await _t(e),h)return;if(!I()){u=e,y.hidden=!1,Ue();return}await e()}catch(d){h||X(d,n&&!o)}finally{ue=void 0,xe(!1),de(),c.textContent===i&&(c.textContent="")}}async function Lt(e){await It(Q,e,a)}function it(e){return He(r).type==="recording"||M(e).type==="recording"}function at(e){let t=e.merchantTerms,n=t?.subscriptionTerms?.items??[],i=t?t.totalMinor:e.charge?.totalMinor??e.catalogAmountMinor-(e.discount?.amountMinor??0),o=t?n.length===1&&n[0]?.amountMinor===i&&n[0]:e.lines.length===1&&e.lines[0]?.catalogAmountMinor===i&&e.lines[0],d=i===null?ce(t.subtotalMinor-t.discountMinor,e.currency)+(s?" + \u5F85\u786E\u8BA4\u7A0E\u8D39":" + tax confirmed at checkout"):ce(i,e.currency)+(o?ye(o.interval,s?"zh-CN":"en",o.intervalCount??1):""),_=e.lines.map(b=>b.productName).join(", ");return{label:_?`${_} \xB7 ${d}`:d,recurring:o}}async function N(e,t=a.checkoutNavigation!=="after_confirmation"){if(h)return;if(!I()){u=async()=>N(await r.read()),y.hidden=!1;return}if(c.textContent=xt(e.status,s),it(e)){let o=e.merchantExecution?.type==="purchase"&&e.merchantExecution.recordingStatus==="failed";c.textContent=o?s?"\u4ED8\u6B3E\u548C\u5546\u6237\u5904\u7406\u5DF2\u5B8C\u6210\uFF0C\u4F46\u4EA4\u6613\u8BB0\u5F55\u5931\u8D25\u3002\u8BF7\u8054\u7CFB\u5546\u6237\u4FEE\u590D\uFF0C\u52FF\u91CD\u590D\u8D2D\u4E70\u3002":"Payment and fulfillment succeeded, but recording failed. Contact the merchant to repair this purchase; do not buy again.":s?"\u4ED8\u6B3E\u548C\u5546\u6237\u5904\u7406\u5DF2\u5B8C\u6210\uFF0C\u6B63\u5728\u786E\u8BA4\u4EA4\u6613\u8BB0\u5F55\u3002\u8BF7\u52FF\u91CD\u590D\u8D2D\u4E70\u3002":"Payment and merchant fulfillment are complete. Recording is pending confirmation; do not purchase again.",y.textContent=s?"\u67E5\u8BE2\u8BB0\u5F55":"Check recording",u=async()=>N(await r.read()),y.hidden=!1;return}if(e.problem){let o=e.problem;u=fe,y.textContent=s?"\u68C0\u67E5\u5E76\u6062\u590D\u539F\u64CD\u4F5C":"Check and recover original purchase",X(new v(o.code,o.reason==="RESULT_UNKNOWN"?s?"\u4ED8\u6B3E\u7ED3\u679C\u5C1A\u672A\u786E\u5B9A\uFF0C\u8BF7\u6062\u590D\u539F\u64CD\u4F5C\uFF0C\u6682\u52FF\u91CD\u590D\u8D2D\u4E70\u3002":"The payment result is unknown. Recover the original purchase before buying again.":o.phase==="fulfillment"?s?"\u4ED8\u6B3E\u5DF2\u8BB0\u5F55\uFF0C\u5546\u6237\u6743\u76CA\u5904\u7406\u9700\u8981\u6838\u5BF9\u3002":"Payment was recorded. Access fulfillment needs attention.":o.code==="CAPABILITY_UNAVAILABLE"?s?"\u5546\u6237\u5C1A\u4E0D\u652F\u6301\u672C\u6B21\u8D2D\u4E70\u6240\u9700\u7684\u5B8C\u6574\u80FD\u529B\uFF0C\u8BF7\u5904\u7406\u540E\u6062\u590D\u539F\u64CD\u4F5C\u3002":"The merchant does not currently support all actions required by this purchase. Recover the original purchase after this is resolved.":o.code==="NOT_CONFIGURED"?s?"\u4ED8\u6B3E\u670D\u52A1\u8FDE\u63A5\u9700\u8981\u5904\u7406\uFF0C\u8BF7\u8054\u7CFB\u5546\u6237\u540E\u6062\u590D\u539F\u64CD\u4F5C\u3002":"The payment connection needs attention. Contact the merchant, then recover the original purchase.":s?"\u539F\u8D2D\u4E70\u64CD\u4F5C\u9700\u8981\u5904\u7406\uFF0C\u8BF7\u67E5\u8BE2\u6216\u6062\u590D\u6B64\u64CD\u4F5C\u3002":"The original purchase needs attention. Check or recover this operation.",void 0,void 0,o));return}if(e.merchantExecution?.type==="purchase"&&e.merchantExecution.paymentStatus==="succeeded"&&!["applied","not_applicable"].includes(e.merchantExecution.fulfillmentStatus)&&(c.textContent=s?"\u4ED8\u6B3E\u5DF2\u8BB0\u5F55\uFF0C\u6B63\u5728\u7B49\u5F85\u5546\u6237\u5B8C\u6210\u5904\u7406\u3002":"Payment was recorded. Waiting for merchant fulfillment."),e.status==="complete"){u=null,await Lt(e);return}if(e.status!=="pending"){if(r.canReselect===!1){c.textContent=s?"\u6B63\u5728\u6838\u5BF9\u539F\u8D2D\u4E70\u7ED3\u679C":"Checking the original purchase result",y.textContent=s?"\u67E5\u8BE2\u7ED3\u679C":"Check result",u=async()=>N(await r.read()),y.hidden=!1;return}e.status==="cancelled"?c.textContent=s?"\u8FD9\u7B14\u8D2D\u4E70\u5DF2\u53D6\u6D88\uFF0C\u53EF\u4EE5\u91CD\u65B0\u9009\u62E9\u65B9\u6848\u3002":"This purchase was cancelled. Choose a plan to start again.":e.status==="failed"&&(c.textContent=s?"\u8FD9\u7B14\u8D2D\u4E70\u672A\u80FD\u5B8C\u6210\uFF0C\u53EF\u4EE5\u91CD\u65B0\u9009\u62E9\u65B9\u6848\u3002":"This purchase didn\u2019t go through. Choose a plan to try again."),y.textContent=s?"\u91CD\u8BD5":"Retry",u=null,k=null;return}if(!t&&M(e).type==="checkout"){if(H){nt();return}if(te()){c.textContent="",Ce=!1,u=null,de();return}let o=r.quote,d=o?.operationId===e.operationId?at(o).label:"";c.textContent=Ce?d?s?`${d} \u5C1A\u672A\u4ED8\u6B3E\u3002\u518D\u6B21\u9009\u62E9\u8BE5\u65B9\u6848\u5373\u53EF\u7EE7\u7EED\u4ED8\u6B3E\u3002`:`${d} is still unpaid. Choose it again to continue paying.`:s?"\u4E4B\u524D\u7684\u8D2D\u4E70\u5C1A\u672A\u4ED8\u6B3E\u3002\u518D\u6B21\u9009\u62E9\u8BE5\u65B9\u6848\u5373\u53EF\u7EE7\u7EED\u4ED8\u6B3E\u3002":"Your earlier purchase is still unpaid. Choose that plan again to continue paying.":"",Ce=!1,u=null;return}await ke(e);let n=Date.now()+6e5,i=2e3;Re=!0,j(a.onObservationChange,!0);try{for(;!h&&Date.now()<n;){if(await je(i,p,J.signal),h)return;if(!I()){u=async()=>N(await r.read()),y.hidden=!1;return}let o=await r.read();if(!t&&M(o).type==="checkout"){await N(o,!1);return}if(!o.problem&&o.status==="pending"&&await ke(o),o.status!=="pending"||o.problem||it(o)){await N(o);return}i=Math.min(i*1.5,3e4)}}finally{Re=!1,j(a.onObservationChange,!1)}u=async()=>N(await r.read()),y.hidden=!1}async function Me(e=!1){let t=await r.read();if(h)return;if(!I()){u=()=>Me(e),y.hidden=!1;return}let n=r.quote;if(n&&mt(t,{operationId:n.operationId,currency:n.currency},"The original purchase operation changed"),n&&t.status==="pending"&&t.quoteFinalized===!1&&!t.confirmedAt&&!t.checkoutUrl&&!t.nativePurchase&&!t.merchantExecution&&!t.problem&&!r.pendingCancellation){ot(n);return}await N(t,e||void 0)}async function fe(){tt(),u=fe;let e=await r.confirm();if(!I()){u=fe,y.hidden=!1;return}if(e.problem){await N(e);return}if(e.status==="pending"){if(e.checkoutUrl)await ke(e);else if(e.execution&&e.execution.provider!=="merchant"||e.nativePurchase){if(!a.onPurchase)throw new v("PURCHASE_HANDLER_REQUIRED","Provide the merchant or native purchase handler");await a.onPurchase({operation:e,signal:J.signal})}}u=async()=>N(await r.read()),await N(e,!0)}function ot(e){z?.remove();let t=!(Date.parse(e.expiresAt)>Date.now());c.textContent=t?s?"\u6B64\u62A5\u4EF7\u5DF2\u8FC7\u671F\u3002\u8BF7\u5148\u53D6\u6D88\uFF0C\u518D\u91CD\u65B0\u9009\u62E9\u3002":"This quote has expired. Cancel it, then choose again.":"";let n=p.createElement("div"),i=p.createElement("button"),o=p.createElement("button"),d=p.createElement("div"),_=p.createElement("p"),b=e.merchantTerms,oe=s?"zh-CN":"en",Y=b?.subscriptionTerms?.items??[],me=b?b.subscriptionTerms?.trial?.days:e.lines.find(l=>l.trial)?.trial?.days,se=me===void 0?null:b?b.totalMinor:e.charge?e.charge.totalMinor:e.lines.every(l=>l.trial)?0:null,st=(l,w)=>s?`${w} \u5929\u8BD5\u7528\u7ED3\u675F\u540E ${l}`:`Then ${l} after the ${w}-day trial`,{label:Ut,recurring:ct}=at(e),Mt=e.lines.map(l=>l.productName).join(", "),lt=se===null?"":`${s?"\u4ECA\u5929\u5E94\u4ED8":"Due today"} ${ce(se,e.currency)}`;_.textContent=lt?[Mt,lt].filter(Boolean).join(" \xB7 "):Ut,i.textContent=s?"\u786E\u8BA4\u8D2D\u4E70":"Confirm purchase",i.disabled=t,o.textContent=s?"\u53D6\u6D88":"Cancel",n.style.cssText=O.panel,_.style.cssText=O.summary,d.style.cssText=O.actions,i.style.cssText=O.primary,o.style.cssText=O.secondary,Qe(i),i.onclick=()=>{L(fe)};let ut=async()=>{let l=await r.cancel();h||(n.remove(),z=null,await N(l))};o.onclick=()=>{u=ut,L(ut)};let q=p.createElement("div");if(q.style.cssText=O.terms,b){for(let w of Y){if(se===null&&w===ct)continue;let S=p.createElement("p"),B=ce(w.amountMinor,e.currency)+ye(w.interval,oe,w.intervalCount);S.textContent=se!==null&&me!==void 0?st(B,me):B,q.append(S)}let l=b.subscriptionTerms?.trial;if(l){let w=p.createElement("p");w.textContent=s?`\u8BD5\u7528 ${l.days} \u5929\uFF1B${l.cardRequired?"\u9700\u8981\u63D0\u4F9B\u4ED8\u6B3E\u65B9\u5F0F":"\u65E0\u9700\u63D0\u4F9B\u4ED8\u6B3E\u65B9\u5F0F"}`:`Trial days: ${l.days}; ${l.cardRequired?"a payment method is required":"no payment method is required"}`,q.append(w)}for(let w of[...b.expectedEffects.map(S=>S.description),...b.requiredConsents.map(S=>S.summary)]){let S=p.createElement("p");S.textContent=w,q.append(S)}}else{for(let l of e.lines){if(se!==null||l!==ct){let w=p.createElement("p"),S=`${ce(l.catalogAmountMinor,e.currency)}${ye(l.interval,oe,l.intervalCount??1)}`;w.textContent=se!==null&&l.trial?(e.lines.length>1?`${l.productName} \xB7 `:"")+st(S,l.trial.days):`${l.productName} \xB7 ${S}`,q.append(w)}for(let w of l.prepaid??[]){let S=p.createElement("p"),B=r.view?.capabilities.plans[l.productVersionId]?.prepaid?.find(qt=>qt.internalFeatureId===w.internal_feature_id);S.textContent=`${B?.name??w.internal_feature_id} \xB7 ${w.quantity} ${s?"\u4EFD":"packs"} \xD7 ${w.terms.units}`,B&&(S.textContent+=ye(B.reset==="week"||B.reset==="month"||B.reset==="year"?B.reset:"one_time",oe,B.resetCount)),q.append(S)}if(l.trial){let w=p.createElement("p");w.textContent=s?`\u8BD5\u7528 ${l.trial.days} \u5929\uFF1B${l.trial.cardRequired?"\u9700\u8981\u63D0\u4F9B\u4ED8\u6B3E\u65B9\u5F0F":"\u65E0\u9700\u63D0\u4F9B\u4ED8\u6B3E\u65B9\u5F0F"}`:`Trial days: ${l.trial.days}; ${l.trial.cardRequired?"a payment method is required":"no payment method is required"}`,q.append(w)}}if(!e.charge){let l=p.createElement("p");l.textContent=s?"\u76EE\u5F55\u4EF7\u683C\uFF1B\u6700\u7EC8\u91D1\u989D\u4EE5\u7ED3\u8D26\u65F6\u7A0E\u8D39\u548C\u8BD5\u7528\u89C4\u5219\u4E3A\u51C6\u3002":"Catalog price; the final charge depends on checkout taxes and trial terms.",q.append(l)}}for(let l of q.children)l.style.margin="0";d.append(i,o),n.append(_,...q.childElementCount?[q]:[],d),G.prepend(n),P?.responsive||n.scrollIntoView?.({block:"nearest"}),i.focus({preventScroll:!0}),z=n,u=null}async function pe(){if(!k)return;if(u=pe,!ie){let n=r.view,i=n?.document.buttons[k.actionId],o=n&&i?.type==="checkout"?ne(i.product,k.selection,n.capabilities):null;if(!n||!o)throw new v("PRODUCT_UNAVAILABLE","Choose an available Product in this purchase area");let d=await a.resolveOfferId?.({actionId:k.actionId,productVersionId:o,featureQuantities:we(n.document.screen,o,k.selection,n.capabilities)});if(h)return;d!==void 0&&(k.offerId=d),ie=!0}if(!I()){y.hidden=!1;return}let e;try{e=await r.preview(k)}catch(n){throw r.canReselect===!0&&(k=null,ie=!1,u=null),n}if(h)return;let t=e.merchantTerms;if(a.confirmOnHostedCheckout&&I()&&e.provider==="merchant"&&e.billingSubscriptionId===null&&t?.request.action==="purchase"&&t.request.mode==="subscription"&&t.subscriptionTerms?.trial===null&&t.requiredConsents.length===0&&Date.parse(e.expiresAt)>Date.now()){let n=ue?"":s?"\u6B63\u5728\u6253\u5F00\u6536\u94F6\u53F0\u2026":"Opening checkout\u2026";c.textContent=n;try{await fe()}catch(i){h||X(i)}finally{c.textContent===n&&(c.textContent="")}return}ot(e)}function ae(e="destroy"){h||(h=!0,a.signal?.removeEventListener("abort",F),r.signal?.removeEventListener("abort",F),E.finish("dismissed"),Ke?.(),J.abort(),Je?.disconnect(),P?.destroy(),U?.destroy(),r.destroy(),x.open&&x.close(),x.remove(),R.remove(),g(),e==="dismiss"&&j(a.onDismiss))}D=ae;async function Ie(){if(!ee||h||ge||W==="closing"||!W&&!I())return;if(!A){ae("dismiss");return}let e=p.createElement("p");e.setAttribute("role","status"),e.textContent=s?"\u6B63\u5728\u5173\u95ED\u2026":"Closing\u2026",K||(K=p.createElement("div"),K.style.cssText=G.style.cssText,G.replaceWith(K),re.inert=!0),C.hidden=!1,K.replaceChildren(e,C),W="closing",C.setAttribute("aria-disabled","true"),C.focus({preventScroll:!0});try{await A.dismiss()}catch(t){h||j(a.onError,t)}h||(W="retry",e.textContent=s?"\u672A\u80FD\u786E\u8BA4\u5173\u95ED\uFF0C\u8BF7\u91CD\u8BD5\u3002":"Could not confirm closure. Try again.",C.textContent=s?"\u91CD\u8BD5\u5173\u95ED":"Retry closing",C.removeAttribute("aria-label"),C.removeAttribute("aria-disabled"))}C.onclick=()=>{Ie()},x.addEventListener("cancel",e=>{e.preventDefault(),Ie()}),y.onclick=()=>{u&&L(u)};function qe(e){E.finish("error",e),ae()}function $e(){if(!(!et||ee||h||ge||P&&!I()))try{let e=t=>{a.focusAtReveal&&(g=Fe(p)),U?.setHidden?.(!1),De?.(),P&&(x.showModal(),P.responsive&&x.focus({preventScroll:!0}),!t&&a.loading!=="host"&&wt(x,P.type,P.responsive)),ee=!0};A?A.present(()=>E.present(()=>e(!0))):E.present(e)}catch(e){qe(e),X(e)}}try{be.type==="inline"?(Ye(),De=Ct(R,T),T.append(R)):(x.setAttribute("aria-label",m.document.name),C.textContent="\xD7",C.setAttribute("aria-label",s?"\u5173\u95ED":"Close"),bt(C,m.document.screen.theme),C.hidden=ht(m.document),x.append(C,R),T.append(x),P=yt(x,{...m.document.screen,presentation:be},Oe),P.latch(),P.responsive&&(R.style.display="flex",R.style.flexDirection="column",R.style.maxHeight="100%",re.style.overflow="clip",re.style.minHeight="0"),De=vt(x)),U=V(re,{mode:"live",rendererUrl:r.webViewUrl,title:m.document.name,closeActions:Tt,onAuthoredClose(n){W||h||(C.hidden=n)},hostPresentation:()=>P?.type??be.type,reportContentHeight:P?.responsive,onResize:n=>{if(!P?.responsive)return;let i=Math.min(n,Te);re.style.height=`${i}px`,P.setContentHeight(i+(K??G).getBoundingClientRect().height)},onSelection(n){le=n,de()},onAction(n,i={}){if(!ee||h||W)return;let o=r.view,d=o?.document.buttons[n];if(!d)return;if(d.type==="close"&&A&&a.resumeCheckout&&r.operation&&ft(M(r.operation))){Ie();return}if(Z)return;if(!I()){Ue();return}if(d.type==="close"){L(async()=>{await a.onAction?.(n),ae(a.onAction?"action":"dismiss")});return}if(d.type==="action"){u=async()=>{if(d.action.type==="event"){if(!a.onEvent)throw new v("EVENT_HANDLER_REQUIRED","Provide the event handler");await a.onEvent(d.action.event)}else a.onOpenUrl?await a.onOpenUrl(d.action.url):p.defaultView?.location.assign(d.action.url);await a.onAction?.(n),u=null},L(u);return}if(a.allowNewPurchase===!1){te()&&o&&r.quote&&r.operation&&M(r.operation).type==="checkout"&&Pe(r.quote,o,d.product,i)?L(Le,n):c.textContent=s?"\u5F53\u524D\u53EA\u80FD\u7EE7\u7EED\u539F\u8BA2\u5355\u3002":"Only your original checkout is available.";return}if(z&&r.canReselect===!1){c.textContent=s?"\u8BF7\u5148\u786E\u8BA4\u6216\u53D6\u6D88\u5F53\u524D\u8D2D\u4E70\u3002":"Confirm or cancel the current purchase first.",P?.responsive||z.scrollIntoView?.({block:"nearest"}),z.querySelector("button")?.focus({preventScroll:!0});return}if(te()&&H){H.selection.actionId===n&&L(()=>rt(!0),n);return}if(te()&&a.terminateCheckout&&o&&r.quote&&r.operation&&r.canReselect===!1&&M(r.operation).type==="checkout"){if(Pe(r.quote,o,d.product,i)){L(Le,n);return}let b=ne(d.product,i,o.capabilities);try{if(!b)throw new v("PRODUCT_UNAVAILABLE","Choose an available Product in this purchase area");we(o.document.screen,b,i,o.capabilities)}catch(me){X(me);return}let oe=r.operation.operationId,Y={actionId:n,requestId:crypto.randomUUID(),selection:structuredClone(i)};L(()=>Dt(oe,Y),n);return}if((r.quote||k)&&r.canReselect===!1){let b=!!o&&!!r.quote&&Pe(r.quote,o,d.product,i);Ce=!!r.quote&&!b,u=r.quote?()=>Me(b):pe,L(u);return}let _=o&&ne(d.product,i,o.capabilities);if(!o||!_){X(new v("PRODUCT_UNAVAILABLE","Choose an available Product in this purchase area"));return}if(a.onPurchaseIntent){u=null,L(async()=>{let b={actionId:n,productVersionId:_,selection:structuredClone(i),featureQuantities:we(o.document.screen,_,i,o.capabilities)};Ne=!0,await a.onPurchaseIntent(b)});return}if(k&&k.actionId!==n){X(new v("COMMAND_PENDING","Finish the current purchase"));return}k||(k={requestId:crypto.randomUUID(),actionId:n,selection:structuredClone(i)},ie=!1),L(pe,n)},onEscape:()=>{Ie()},onError:n=>{let i=new Error(n);!ee&&!h&&qe(i),X(i)},onRendered:n=>{n&&x.setAttribute("aria-label",n),et=!0,$e()}}),U.setHidden?.(!0),Oe();let e=te()&&!!r.quote&&!!r.operation&&M(r.operation).type==="checkout";le=e?At(m,r.quote)??{}:{},U.update(m.document.screen,ze,{capabilities:m.capabilities,unavailableActions:We(m),serverInput:{bindings:[],answers:{}},...Object.keys(le).length?{selection:le}:{}}),Ke=r.subscribe?.(Se),Se(r.view??m),await E.wait(U.ready);let t=r.operation;!e&&(r.quote||t&&(t.confirmedAt||t.checkoutUrl||t.status==="complete"))&&(u=()=>Me(),L(u))}catch(e){throw qe(e),e}return{check:Q,host:{get observing(){return Re},get recovery(){return Ot()},async prepareFallback(){if(Z||h||W||Ne)return{type:"recover",operationId:r.operation?.operationId??r.quote?.operationId??null,requestId:null};xe(!0);try{let e=await pt(r);return e.type==="native"&&ae(),e}finally{xe(!1)}},setSuspended(e){ge=e,R.hidden=e,e&&x.open?x.close():!e&&!ee?$e():!e&&!h&&ee&&be.type!=="inline"&&!x.open&&x.showModal()},destroy:ae,refresh:async()=>{if(!I()){if(r.view)return r.view;throw new v("PRECONDITION_FAILED","Paywall presentation is suspended")}let e=await r.refresh();return Se(e),$e(),e}}}}export{mn as showPaywall};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as a}from"./chunk-R3YVDRTB.js";import"./chunk-U4WUX3WB.js";import"./chunk-JOIPLLHK.js";import"./chunk-GLYFT5WW.js";import"./chunk-WRLVPHPE.js";import"./chunk-35VG2IYD.js";import"./chunk-HVVJGLYZ.js";import"./chunk-ZYF6TRJ3.js";import"./chunk-QHJWVLJC.js";import"./chunk-XE7GU6FZ.js";import"./chunk-LAGGWYH3.js";import"./chunk-DHT3AWJQ.js";import"./chunk-TIQS5DUF.js";import"./chunk-7ZEXY4GC.js";import"./chunk-3VUPVXAV.js";import"./chunk-RHF4NFCZ.js";import"./chunk-ZYN4CRHS.js";import"./chunk-O4KXODTJ.js";import"./chunk-CILM5XMH.js";import"./chunk-WOT6VMZA.js";export{a as readPaywallContent};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-MYBUQFTC.js";import"./chunk-UHTTCVSL.js";import"./chunk-XQTCEQXI.js";import"./chunk-MHWPEMX7.js";import"./chunk-2HSD2SEU.js";import"./chunk-5XKFUFXK.js";import"./chunk-BTPEXSNY.js";import"./chunk-2KKLY323.js";import"./chunk-R3YVDRTB.js";import"./chunk-U4WUX3WB.js";import"./chunk-JOIPLLHK.js";import"./chunk-GLYFT5WW.js";import"./chunk-WRLVPHPE.js";import"./chunk-3NCMYTNG.js";import"./chunk-35VG2IYD.js";import"./chunk-CGXNU5BC.js";import"./chunk-RHWZRHK7.js";import"./chunk-HVVJGLYZ.js";import"./chunk-ZYF6TRJ3.js";import"./chunk-QHJWVLJC.js";import"./chunk-XE7GU6FZ.js";import"./chunk-LAGGWYH3.js";import"./chunk-DHT3AWJQ.js";import"./chunk-TIQS5DUF.js";import"./chunk-7ZEXY4GC.js";import"./chunk-3VUPVXAV.js";import"./chunk-RHF4NFCZ.js";import"./chunk-ZYN4CRHS.js";import"./chunk-O4KXODTJ.js";import"./chunk-CILM5XMH.js";import"./chunk-DSPLGTQI.js";import"./chunk-WOT6VMZA.js";export{a as createPaywallSession};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h,i}from"./chunk-C4GBV32U.js";import"./chunk-YQX27SBG.js";import"./chunk-QHJWVLJC.js";import"./chunk-XE7GU6FZ.js";import"./chunk-LAGGWYH3.js";import"./chunk-DHT3AWJQ.js";import"./chunk-TIQS5DUF.js";import"./chunk-7ZEXY4GC.js";import"./chunk-ZYN4CRHS.js";import"./chunk-O4KXODTJ.js";import"./chunk-CILM5XMH.js";import"./chunk-DSPLGTQI.js";import"./chunk-WOT6VMZA.js";export{f as formatCustomerDecimal,b as hostedRendererScript,a as hostedRendererShell,d as inspectCustomHtml,i as mountScreenPreview,h as preparePopup,e as prepareScreen,c as sanitizeCustomHtml,g as showPopup};
|
|
File without changes
|