1import{d as e,u as t}from"./schemas-91tvvIxj.js";import{a as n,i as r,o as i,r as a,s as o,t as s}from"./pdp-search-DDKa2-TB.js";var c=[`termYears`,`serviceCode`,`servicePeriod`,`prepayRate`,`giftCode`];function l(e){if(!e||typeof e!=`object`)return e;let t=e;return{...t,phoneCarrier:t.phoneCarrier??t.pc,phoneActivationType:t.phoneActivationType??t.pa,phoneCurrentCarrier:t.phoneCurrentCarrier??t.pcc,phoneRatePlanCode:t.phoneRatePlanCode??t.pr,phoneSupportType:t.phoneSupportType??t.ps,phoneInstallmentMonths:t.phoneInstallmentMonths??t.pim}}function u(t){return e(l,t)}var d=u(t({cardIssuer:n(),cardDiscountAmount:r({min:0,max:1e6}),sellerView:o,adminPreview:s,phoneCarrier:n(),phoneActivationType:n(),phoneCurrentCarrier:n(),phoneRatePlanCode:n(),phoneSupportType:n(),phoneInstallmentMonths:r({min:0,max:120}),phoneRatePlanDowngrade:a()})),f=u(t({cardIssuer:n(),cardDiscountAmount:r({min:0,max:1e6}),sellerView:o,phoneCarrier:n(),phoneActivationType:n(),phoneCurrentCarrier:n(),phoneRatePlanCode:n(),phoneSupportType:n(),phoneInstallmentMonths:r({min:0,max:120}),phoneRatePlanDowngrade:a(),monthlyPrice:r({min:0,max:1e6}),activeMaxCardDiscount:r({min:0,max:1e6}),cardAppliedMonthlyPrice:r({min:0,max:1e6})})),p=u(t({cardIssuer:n(),cardDiscountAmount:r({min:0,max:1e6}),phoneCarrier:n(),phoneActivationType:n(),phoneCurrentCarrier:n(),phoneRatePlanCode:n(),phoneSupportType:n(),phoneInstallmentMonths:r({min:0,max:120}),phoneRatePlanDowngrade:a(),monthlyPrice:r({min:0,max:1e6}),activeMaxCardDiscount:r({min:0,max:1e6}),cardAppliedMonthlyPrice:r({min:0,max:1e6})}));function m({offer:e,cardIssuer:t,cardDiscountAmount:n,phoneRatePlanDowngradeApplied:r,sellerView:a,adminPreview:o}){return{cardIssuer:t,cardDiscountAmount:n,sellerView:a,adminPreview:o,...i(e),phoneRatePlanDowngrade:r?!0:void 0}}function h(e){return d.parse(e)}function g(e){let t=new URLSearchParams(e);for(let e of c)t.delete(e);let n=t.toString();return n?`?${n}`:``}export{g as a,h as i,p as n,m as r,f as t};
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.