Module 394300

449 characters · in c8259a7d54901fb3.js
Dependencies
Lazily required by (0)none
Requires (3)
Lazily requires (0)none
Source Raw
function(t,e,r){r.d(e,{A:()=>a,P:()=>l});var i=r(32731),n=r(520606),s=r(652215);function l(t){return t instanceof a}class a extends n.A{sku;constructor(t){super(t),this.skuProductLine=s.EZt.PREMIUM,this.sku=t.sku}static fromServer(t){let e=i.A.createFromServer(t.sku);if(null==e)throw Error("SKU not found");return new a({...t,sku:e})}static fromSKU(t){return null==t?null:new a({sku_id:t.id,sku_product_line:s.EZt.PREMIUM,sku_name:t.name,sku:t})}}}