import{a as N}from"./chunk-JWAFQ6PQ.js";import{i as t}from"./chunk-UZOHO7NA.js";import{m as U}from"./chunk-O2KDIBGD.js";import{D as R,d as o,e as n,f as D,g as y,v as l,w as _}from"./chunk-QUA65JBC.js";import{a as s,b as i}from"./chunk-NRAZ4AKM.js";var a=function(e){return e.GET_CART="[Cart] Get cart",e.GET_CART_ERROR="[Cart] Get cart [Error]",e.GET_CART_SUCCESS="[Cart] Get cart [Success]",e.RESET_CART="[Cart] Reset cart",e.RESET_CART_ERROR="[Cart] Reset cart [Error]",e.RESET_CART_SUCCESS="[Cart] Reset cart [Success]",e.DISMISS_CART_NOTIFICATION="[Cart] Dismiss cart notification",e.DISMISS_CART_NOTIFICATION_ERROR="[Cart] Dismiss cart notification [Error]",e.DISMISS_CART_NOTIFICATION_SUCCESS="[Cart] Dismiss cart notification [Success]",e.CLEAR_CART="[Cart] Clear cart",e.ASK_FOR_SIGN_IN="[Cart] Ask for sign in",e.GENERIC_CART_COMMUNICATION_ERROR="[Cart] Generic cart communication error",e.QUICK_CART_CHANGED="[Cart] Quick cart changed",e.REFRESH_CART_FROM_LOCAL_STORE="[Cart] Refresh cart from local store",e.SET_OTY_CONSUMPTION="[Cart] Set OTY consumption",e.SET_OTY_CONSUMPTION_ERROR="[Cart] Set OTY consumption [Error]",e.SET_OTY_CONSUMPTION_SUCCESS="[Cart] Set OTY consumption [Success]",e.SHOW_USE_OTY_MESSAGE="[Cart] Set show use oty message",e.OPEN_SHOW_USE_OTY_MESSAGE="[Cart] Open show use oty message",e.SET_PAYMENT="[Cart] Set payment",e.SET_PAYMENT_ERROR="[Cart] Set payment [Error]",e.SET_PAYMENT_SUCCESS="[Cart] Set payment [Success]",e.SET_REFRESH_CART_STATE="[Cart] Set refresh cart state",e.SET_TELEWEB_INFO="[Cart] Set teleweb info",e.SET_TELEWEB_INFO_ERROR="[Cart] Set teleweb info [Error]",e.SET_TELEWEB_INFO_SUCCESS="[Cart] Set teleweb info [Success]",e.SET_NULL_BUDGET_ERRORS="[Cart] Set null budget errors [Success]",e.SET_CUSTOMER_TAB="[Cart] Set Customer tab",e.SET_LOCKER_TAB="[Cart] Set Locker tab",e.SET_ADDITIONAL_CLM_INFO="[Cart] Set Additional CLM Info",e.DELETE_ADDITIONAL_CLM_INFO="[Cart] Delete Additional CLM Info",e}(a||{}),k=o(a.GET_CART),Yt=o(a.GET_CART_ERROR,n()),Gt=o(a.GET_CART_SUCCESS,n()),Ht=o(a.RESET_CART),Wt=o(a.RESET_CART_ERROR,n()),Xt=o(a.RESET_CART_SUCCESS),Kt=o(a.CLEAR_CART),zt=o(a.DISMISS_CART_NOTIFICATION,n()),Jt=o(a.DISMISS_CART_NOTIFICATION_ERROR,n()),Zt=o(a.DISMISS_CART_NOTIFICATION_SUCCESS),Qt=o(a.QUICK_CART_CHANGED),er=o(a.REFRESH_CART_FROM_LOCAL_STORE),tr=o(a.ASK_FOR_SIGN_IN),rr=o(a.GENERIC_CART_COMMUNICATION_ERROR,n()),or=o(a.SET_OTY_CONSUMPTION,n()),nr=o(a.SET_OTY_CONSUMPTION_ERROR,n()),sr=o(a.SET_OTY_CONSUMPTION_SUCCESS,n()),ir=o(a.SHOW_USE_OTY_MESSAGE,n()),cr=o(a.OPEN_SHOW_USE_OTY_MESSAGE),ar=o(a.SET_PAYMENT,n()),ur=o(a.SET_PAYMENT_ERROR,n()),lr=o(a.SET_PAYMENT_SUCCESS),pr=o(a.SET_REFRESH_CART_STATE,n()),dr=o(a.SET_TELEWEB_INFO,n()),mr=o(a.SET_TELEWEB_INFO_ERROR,n()),Sr=o(a.SET_TELEWEB_INFO_SUCCESS),Rr=o(a.SET_NULL_BUDGET_ERRORS),Ir=o(a.SET_CUSTOMER_TAB,n()),Ar=o(a.SET_LOCKER_TAB,n()),fr=D({source:"Cart",events:{"Update Installment Period":n(),"Update Installment Period Success":y(),"Update Installment Period Error":y()}}),Er=D({source:"Cart",events:{"Get Item Ids":y(),"Get Item Ids Success":n(),"Get Item Ids Error":y()}}),gr=o(a.SET_ADDITIONAL_CLM_INFO,n()),yr=o(a.DELETE_ADDITIONAL_CLM_INFO),Pr=o("[Cart] Confirm Email Address",n());var ee=function(e){return e.Eligible="ELIGIBLE",e.Hidden="HIDDEN",e.NotEligible="NOT_ELIGIBLE",e.PartiallyEligible="PARTIALLY_ELIGIBLE",e.Selected="SELECTED",e}(ee||{}),S=function(e){return e.Acquisition="ACQUISITION",e.AcquisitionPortIn="ACQUISITION_PORT_IN",e.AcquisitionPrepayToPostpaid="ACQUISITION_PREPAY_TO_POSTPAID",e.BudgetAcquisition="BUDGET_ACQUISITION",e.BudgetLoyalty="BUDGET_LOYALTY",e.Loyalty="LOYALTY",e}(S||{}),te=function(e){return e.Acquisition="ACQUISITION",e.AcquisitionPortIn="ACQUISITION_PORT_IN",e.AcquisitionPrepayToPostpaid="ACQUISITION_PREPAY_TO_POSTPAID",e.BudgetAcquisition="BUDGET_ACQUISITION",e.Loyalty="LOYALTY",e}(te||{});var re=function(e){return e.Basic="BASIC",e.Premium="PREMIUM",e}(re||{}),oe=function(e){return e.Ocr="OCR",e}(oe||{}),ne=function(e){return e.AlreadyErased="ALREADY_ERASED",e.AlreadyValidated="ALREADY_VALIDATED",e.Erased="ERASED",e.NotFound="NOT_FOUND",e.NotValidated="NOT_VALIDATED",e.Validated="VALIDATED",e}(ne||{}),p=function(e){return e.AddProductSubscriptionBundle="addProductSubscriptionBundle",e.AddSimpleProduct="addSimpleProduct",e.AddSubscription="addSubscription",e.AskForAbove16="askForAbove16",e.CanImpersonate="canImpersonate",e.CanPlaceOrder="canPlaceOrder",e.CheckGdpr="checkGdpr",e.ClearCart="clearCart",e.HasInsuranceOnly="hasInsuranceOnly",e.HasOnlySimoLoyOrSimoOfi="hasOnlySimoLoyOrSimoOfi",e.HasPaymentCommitment="hasPaymentCommitment",e.HasPpy2PpdAcq="hasPpy2PpdAcq",e.HasSimoLoyOnly="hasSimoLoyOnly",e.HasSimoOnlyPpy2Ppd="hasSimoOnlyPpy2Ppd",e.IsCnpNotMandatory="isCnpNotMandatory",e.IsEligibleForVoucher="isEligibleForVoucher",e.IsESimPrePayFlow="isESimPrePayFlow",e.IsFastOrder="isFastOrder",e.IsShortFlow="isShortFlow",e.ReadNotifications="readNotifications",e.RequiresAdditionalClmBillingInfo="requiresAdditionalClmBillingInfo",e.RequiresContactDetails="requiresContactDetails",e.RequiresShippingAddress="requiresShippingAddress",e.SetBilling="setBilling",e.SetBillingAddress="setBillingAddress",e.SetBillingParty="setBillingParty",e.SetOtyConsumption="setOtyConsumption",e.SetPayment="setPayment",e.SetPhoneCreditConsumption="setPhoneCreditConsumption",e.SetShipping="setShipping",e.UpdateProductInstallmentsTerms="updateProductInstallmentsTerms",e}(p||{}),se=function(e){return e.AddInsurance="addInsurance",e.DecreaseQnty="decreaseQnty",e.IncreaseQnty="increaseQnty",e.RecommendedByNbx="recommendedByNbx",e.Remove="remove",e.RemoveInsurance="removeInsurance",e}(se||{}),ie=function(e){return e.AriadnextMaxAttemptsReached="ARIADNEXT_MAX_ATTEMPTS_REACHED",e.BlockedSubscriptionAcquisition="BLOCKED_SUBSCRIPTION_ACQUISITION",e.BlockedSubscriptionLoyalty="BLOCKED_SUBSCRIPTION_LOYALTY",e.BudgetPointsUpdated="BUDGET_POINTS_UPDATED",e.CartGeneralError="CART_GENERAL_ERROR",e.ContactEmailNotValidated="CONTACT_EMAIL_NOT_VALIDATED",e.CrmBillingDetailsMissing="CRM_BILLING_DETAILS_MISSING",e.EmptyMessage="EMPTY_MESSAGE",e.EsimPrepayCardInvalidPrice="ESIM_PREPAY_CARD_INVALID_PRICE",e.GiftItemRemoved="GIFT_ITEM_REMOVED",e.GiftProductOutOfStock="GIFT_PRODUCT_OUT_OF_STOCK",e.GuestCartMergeRequiredLoggedRemoval="GUEST_CART_MERGE_REQUIRED_LOGGED_REMOVAL",e.GuestPpy_2PpdDifferentProfilePostpaid="GUEST_PPY_2_PPD_DIFFERENT_PROFILE_POSTPAID",e.GuestPpy_2PpdDifferentProfilePrepay="GUEST_PPY_2_PPD_DIFFERENT_PROFILE_PREPAY",e.GuestPpy_2PpdUnableToBeMerged="GUEST_PPY_2_PPD_UNABLE_TO_BE_MERGED",e.InactiveSubscriptionNumber="INACTIVE_SUBSCRIPTION_NUMBER",e.InstallmentLimitReached="INSTALLMENT_LIMIT_REACHED",e.InsufficientBudgetPoints="INSUFFICIENT_BUDGET_POINTS",e.InsuranceMsisdnChanged="INSURANCE_MSISDN_CHANGED",e.InsuranceOptionNotAvailableForAny="INSURANCE_OPTION_NOT_AVAILABLE_FOR_ANY",e.InsuranceOptionNotAvailableForTier="INSURANCE_OPTION_NOT_AVAILABLE_FOR_TIER",e.InsurancePendingOrActiveForImei="INSURANCE_PENDING_OR_ACTIVE_FOR_IMEI",e.InsurancePendingOrActiveForMsisdn="INSURANCE_PENDING_OR_ACTIVE_FOR_MSISDN",e.InsuredImeiTransactionNotAvailable="INSURED_IMEI_TRANSACTION_NOT_AVAILABLE",e.InsuredProductCategoryNotEligible="INSURED_PRODUCT_CATEGORY_NOT_ELIGIBLE",e.InsuredProductNotAvailable="INSURED_PRODUCT_NOT_AVAILABLE",e.InsuredProductOaCodeMismatch="INSURED_PRODUCT_OA_CODE_MISMATCH",e.InsuredProductPriceNotAvailable="INSURED_PRODUCT_PRICE_NOT_AVAILABLE",e.KeepSimPrepayCustomerSimCodeMissing="KEEP_SIM_PREPAY_CUSTOMER_SIM_CODE_MISSING",e.MaxCartQntyExceeded="MAX_CART_QNTY_EXCEEDED",e.MaxOrdersInProgressExceeded="MAX_ORDERS_IN_PROGRESS_EXCEEDED",e.MaxQntyExceeded="MAX_QNTY_EXCEEDED",e.MaxQntyExceededAfterMerge="MAX_QNTY_EXCEEDED_AFTER_MERGE",e.MaxSubscriptionAcquisitionExceeded="MAX_SUBSCRIPTION_ACQUISITION_EXCEEDED",e.MaxValueExceeded="MAX_VALUE_EXCEEDED",e.MissingContactPersonPhoneNumberFromShipping="MISSING_CONTACT_PERSON_PHONE_NUMBER_FROM_SHIPPING",e.MissingStreetNameFromShipping="MISSING_STREET_NAME_FROM_SHIPPING",e.MissingTeleWebInfo="MISSING_TELE_WEB_INFO",e.MissingUniqueIdBusiness="MISSING_UNIQUE_ID_BUSINESS",e.MissingUniqueIdPerson="MISSING_UNIQUE_ID_PERSON",e.MsisdnAcquisitionNotAvailableAny="MSISDN_ACQUISITION_NOT_AVAILABLE_ANY",e.MsisdnAcquisitionNotAvailableCurrent="MSISDN_ACQUISITION_NOT_AVAILABLE_CURRENT",e.MsisdnNotEligibleForPrepaidToPostpaid="MSISDN_NOT_ELIGIBLE_FOR_PREPAID_TO_POSTPAID",e.NoBudgetPoints="NO_BUDGET_POINTS",e.NoEligibleSubscribersExist="NO_ELIGIBLE_SUBSCRIBERS_EXIST",e.NotEligibleBudgetActiveOrders="NOT_ELIGIBLE_BUDGET_ACTIVE_ORDERS",e.NotEligibleInstallmentAmountBelowThreshold="NOT_ELIGIBLE_INSTALLMENT_AMOUNT_BELOW_THRESHOLD",e.NotEligibleLoyaltySimoFlagPresent="NOT_ELIGIBLE_LOYALTY_SIMO_FLAG_PRESENT",e.NotEligibleLoyaltySuspendedAccount="NOT_ELIGIBLE_LOYALTY_SUSPENDED_ACCOUNT",e.NotEligibleMaxInstallmentMonthlyValueAlreadyReached="NOT_ELIGIBLE_MAX_INSTALLMENT_MONTHLY_VALUE_ALREADY_REACHED",e.NotLoggedHasBusinessPackage="NOT_LOGGED_HAS_BUSINESS_PACKAGE",e.OtpGenerateMaxAttemptsReached="OTP_GENERATE_MAX_ATTEMPTS_REACHED",e.OtpValidationExpired="OTP_VALIDATION_EXPIRED",e.OtyAvailabilityDateNotReached="OTY_AVAILABILITY_DATE_NOT_REACHED",e.PortInOfiAriadnextCnpNotMatching="PORT_IN_OFI_ARIADNEXT_CNP_NOT_MATCHING",e.PortinNotEligible="PORTIN_NOT_ELIGIBLE",e.PriceChanged="PRICE_CHANGED",e.PriceChangedAfterBundleSubscriptionRemoved="PRICE_CHANGED_AFTER_BUNDLE_SUBSCRIPTION_REMOVED",e.PriceNotAvailable="PRICE_NOT_AVAILABLE",e.ProductEndOfLife="PRODUCT_END_OF_LIFE",e.ProductInstallmentsTermsInvalid="PRODUCT_INSTALLMENTS_TERMS_INVALID",e.ProductNotAvailableForBudgetAcq="PRODUCT_NOT_AVAILABLE_FOR_BUDGET_ACQ",e.ProductNotEligibleForLockers="PRODUCT_NOT_ELIGIBLE_FOR_LOCKERS",e.ProductOutOfStock="PRODUCT_OUT_OF_STOCK",e.ProductReservationFailure="PRODUCT_RESERVATION_FAILURE",e.SubscriberNotEligible="SUBSCRIBER_NOT_ELIGIBLE",e.SubscriptionAcquisitionNotAllowedForGuest="SUBSCRIPTION_ACQUISITION_NOT_ALLOWED_FOR_GUEST",e.SubscriptionAcquisitionNotAllowedForSuspendedUser="SUBSCRIPTION_ACQUISITION_NOT_ALLOWED_FOR_SUSPENDED_USER",e.SubscriptionAcquisitionNotAllowedForUser="SUBSCRIPTION_ACQUISITION_NOT_ALLOWED_FOR_USER",e.SubscriptionAcquisitionRequiredAdmin="SUBSCRIPTION_ACQUISITION_REQUIRED_ADMIN",e.SubscriptionAcquisitionUnknownUser="SUBSCRIPTION_ACQUISITION_UNKNOWN_USER",e.SuspendedSubscriptionNumber="SUSPENDED_SUBSCRIPTION_NUMBER",e.VoucherNotPermitted="VOUCHER_NOT_PERMITTED",e.VoucherPartiallyApplied="VOUCHER_PARTIALLY_APPLIED",e.VoucherSuccessfullyApplied="VOUCHER_SUCCESSFULLY_APPLIED",e.VoucherUsageFailure="VOUCHER_USAGE_FAILURE",e}(ie||{}),ce=function(e){return e.Acquisition="ACQUISITION",e.AcquisitionPortIn="ACQUISITION_PORT_IN",e.AcquisitionPrepayToPostpaid="ACQUISITION_PREPAY_TO_POSTPAID",e}(ce||{}),ae=function(e){return e.NonRo="NON_RO",e.Ro="RO",e}(ae||{}),ue=function(e){return e.Approved="APPROVED",e.PendingApproval="PENDING_APPROVAL",e.Rejected="REJECTED",e}(ue||{});var le=function(e){return e.DirectMarketing="DIRECT_MARKETING",e.LocationConsent="LOCATION_CONSENT",e.MarketResearch="MARKET_RESEARCH",e.ServiceUsageConsent="SERVICE_USAGE_CONSENT",e.ThirdParty="THIRD_PARTY",e.TrafficConsent="TRAFFIC_CONSENT",e}(le||{});var pe=function(e){return e.Basic="BASIC",e.Premium="PREMIUM",e}(pe||{}),de=function(e){return e.NotApplied="NOT_APPLIED",e.Products="PRODUCTS",e.Services="SERVICES",e}(de||{}),me=function(e){return e.Electronic="ELECTRONIC",e.Mail="MAIL",e}(me||{}),Se=function(e){return e.Permanent="PERMANENT",e.Temporary="TEMPORARY",e}(Se||{}),Re=function(e){return e.Error="ERROR",e.Info="INFO",e.Success="SUCCESS",e.Warning="WARNING",e}(Re||{});var Ie=function(e){return e.Cart="CART",e.Shipping="SHIPPING",e}(Ie||{}),v=function(e){return e.Company="COMPANY",e.Person="PERSON",e.Pfa="PFA",e}(v||{}),Ae=function(e){return e.TbiInstallments="TBI_INSTALLMENTS",e.TbiPromo="TBI_PROMO",e}(Ae||{}),fe=function(e){return e.ByCard="BY_CARD",e.CashAtDelivery="CASH_AT_DELIVERY",e.Oney_3Xp="ONEY_3XP",e.Oney_4Xp="ONEY_4XP",e.Order="ORDER",e.Tbi="TBI",e}(fe||{}),Ee=function(e){return e.DigitalCableSystems="DIGITAL_CABLE_SYSTEMS",e.EnigmaSystemNet="ENIGMA_SYSTEM_NET",e.GoilServicesRomania="GOIL_SERVICES_ROMANIA",e.IristelRomania="IRISTEL_ROMANIA",e.LycaMobile="LYCA_MOBILE",e.OrangeRomaniaCommunications="ORANGE_ROMANIA_COMMUNICATIONS",e.RcsRds="RCS_RDS",e.TelekomRomaniaMobile="TELEKOM_ROMANIA_MOBILE",e.VeridianSystems="VERIDIAN_SYSTEMS",e.VodafoneRomania="VODAFONE_ROMANIA",e}(Ee||{});var ge=function(e){return e.Postpaid="POSTPAID",e.Prepaid="PREPAID",e}(ge||{}),ye=function(e){return e.Firstxmonths="FIRSTXMONTHS",e.Life="LIFE",e.Somemonths="SOMEMONTHS",e}(ye||{}),Pe=function(e){return e.Fix="FIX",e.Percentage="PERCENTAGE",e}(Pe||{}),Ce=function(e){return e.Physical="PHYSICAL",e.PpycardEsim="PPYCARD_ESIM",e}(Ce||{}),xe=function(e){return e.Physical="PHYSICAL",e.PpycardEsim="PPYCARD_ESIM",e}(xe||{});var Oe=function(e){return e.ByCard="BY_CARD",e.CashAtDelivery="CASH_AT_DELIVERY",e.Oney_3Xp="ONEY_3XP",e.Oney_4Xp="ONEY_4XP",e.Order="ORDER",e.Tbi="TBI",e}(Oe||{}),A=function(e){return e.Customer="customer",e.FixedLocation="fixed_location",e.PickupInStore="pickup_in_store",e}(A||{}),he=function(e){return e.Days="DAYS",e.Months="MONTHS",e.Years="YEARS",e}(he||{}),_e=function(e){return e.Fix="FIX",e.Percentage="PERCENTAGE",e}(_e||{}),be=function(e){return e.Customer="customer",e.FixedLocation="fixed_location",e.PickupInStore="pickup_in_store",e}(be||{}),Te=function(e){return e.Esim="ESIM",e.KeepCurrent="KEEP_CURRENT",e.New="NEW",e}(Te||{}),De=function(e){return e.Esim="ESIM",e.KeepCurrent="KEEP_CURRENT",e.New="NEW",e}(De||{}),Ne=function(e){return e.EndOfLife="END_OF_LIFE",e.InStock="IN_STOCK",e.OutOfStock="OUT_OF_STOCK",e.Preorder="PREORDER",e}(Ne||{});var ve=t` fragment AnafBillingPartyResource on AnafBillingPartyResource { type name uniqueId phone } `,Fe=t` fragment AnafBillingAddressResource on AnafBillingAddressResource { county countyCode locality localityCode street streetNo zipCode } `,w=t` fragment CartAnalyticsSubResource on CartAnalyticsSubResource { lastModifiedAt totalItemsCount subrAcquisitions { msisdn acq { installment type } } totalDiscountAmount { currency value } totalPayNowAmount { currency value } } `,Me=t` fragment PendingCartAnalyticsResource on PendingCartResource { __typename analytics { ...CartAnalyticsSubResource } } ${w}`,$e=t` fragment PendingCheckoutCartAnalyticsResource on PendingCheckoutCartResource { __typename analytics { ...CartAnalyticsSubResource } } ${w}`,F=t` fragment Amount on AmountSubResource { value currency } `,Be=t` fragment Promo on TbiPromoResource { value name description insuranceFee { ...Amount } administrationFee { ...Amount } min { ...Amount } max { ...Amount } } ${F}`,Le=t` fragment Installment on SimulatedInstallmentResource { promo months installment { ...Amount } totalAmount { ...Amount } } ${F}`,Ue=t` fragment TbiPromoInstallments on TbiSimulatedPromoInstallmentResource { initialAmount { ...Amount } promo { ...Promo } installments { ...Installment } } ${F} ${Be} ${Le}`,ke=t` fragment ScheduleItemResource on ScheduleItem { day openingHour closingHour dayOfWeek } `,we=t` fragment SizeResource on Size { height width length } `,je=t` fragment RestrictionsResource on Restrictions { parcelsCount size { ...SizeResource } } ${we}`,M=t` fragment FixedLocationResource on FixedLocation { __typename id name fixedLocationTypeId serviceId courierId localityId localityName countyCode countyName countryCode addressText postalCode lat long isActive email phone supportedPaymentType allowsDropOff isFavorite schedule { ...ScheduleItemResource } restrictions { ...RestrictionsResource } } ${ke} ${je}`,Ve=t` fragment CountyResource on County { __typename ... on County { id name } } `,qe=t` fragment LocalityResource on Locality { __typename ... on Locality { id name } } `,Ye=t` fragment OperationResponse on OperationResponse { __typename message } `,Ge=t` fragment EstimatedDeliveryDate on EstimatedDeliveryDateSubResource { deliveryDate deliveryDays } `,He=t` fragment EstimatedDeliveryDatesInterval on EstimatedDeliveryDatesIntervalSubResource { min { ...EstimatedDeliveryDate } max { ...EstimatedDeliveryDate } } ${Ge}`,We=t` fragment CountySubResource on CountySubResource { id mnemonic name type } `,Xe=t` fragment LocalitySubResource on LocalitySubResource { id name type uniqueNameOnCounty } `,Ke=t` fragment StreetTypeSubResource on StreetTypeSubResource { articulate selectable shortName type } `,ze=t` fragment StreetSubResource on StreetSubResource { id name number type zipCode streetType { ...StreetTypeSubResource } } ${Ke}`,b=t` fragment AddressResource on AddressResource { apartment building floor id staircase xGeocode yGeocode zipCode county { ...CountySubResource } locality { ...LocalitySubResource } street { ...StreetSubResource } } ${We} ${Xe} ${ze}`,Je=t` fragment PartySubResource on PartySubResource { name type uniqueId } `,Ze=t` fragment BillingSubResource on BillingSubResource { address { ...AddressResource } party { ...PartySubResource } } ${b} ${Je}`,d=t` fragment AmountSubResource on AmountSubResource { currency value } `,Qe=t` fragment BudgetPointsFragment on BudgetPointsSubResource { totalBudgetPoints availableBudgetPoints consumedBudgetPoints { ...AmountSubResource } } ${d}`,et=t` fragment CartItemRefSubResource on CartItemRefSubResource { itemId itemName } `,P=t` fragment NotificationSubResource on NotificationSubResource { code duration id level page text visibility recursiveApply itemRef { ...CartItemRefSubResource } } ${et}`,tt=t` fragment ConvergenceBonusSubResource on ConvergenceBonusSubResource { applied label message promoCode convergenceBonusValueAmount { ...AmountSubResource } convergenceBonusValueAppliedAmount { ...AmountSubResource } notification { ...NotificationSubResource } } ${d} ${P}`,j=t` fragment PriceDiscount on PriceDiscount { offerName percentageValue periodMonths periodType type fixValue { ...AmountSubResource } subDiscounts { offerName percentageValue type fixValue { ...AmountSubResource } } } ${d}`,rt=t` fragment CartItemApplicableVoucherSubResource on CartItemApplicableVoucherSubResource { code discount { ...PriceDiscount } } ${j}`,ot=t` fragment GiftDetailsSubResource on GiftDetailsSubResource { specialOfferId specialOfferName } `,nt=t` fragment TermSubResource on TermSubResource { unit value } `,st=t` fragment CartInsuranceOptionItemPrice on InsuranceOptionItemPriceSubResource { amount { ...AmountSubResource } } ${d}`,it=t` fragment CartInsuranceOptionItemSubResource on CartInsuranceOptionItemSubResource { id insuranceId type displayName term { ...TermSubResource } noCost priceNoVat { ...CartInsuranceOptionItemPrice } price { ...CartInsuranceOptionItemPrice } referenceAmount { ...CartInsuranceOptionItemPrice } discount { ...PriceDiscount } franchise eligibleMsisdns isUpgrade upgradeCost { ...AmountSubResource } } ${nt} ${st} ${j} ${d}`,V=t` fragment CartItemPriceSubResource on CartItemPriceSubResource { installment discount { offerName percentageValue type fixValue { currency value } subDiscounts { offerName percentageValue type fixValue { currency value } } } referenceAmount { currency value } advanceAmount { ...AmountSubResource } advanceAmountNoOty { ...AmountSubResource } amount { ...AmountSubResource } amountNoOty { ...AmountSubResource } installmentAmount { ...AmountSubResource } installmentAmountNoOty { ...AmountSubResource } retailPrice { ...AmountSubResource } refCurrencyStandardPriceNoVat { ...AmountSubResource } } ${d}`,ct=t` fragment CartItemRelSubResource on CartItemRelSubResource { desc name } `,at=t` fragment CartSubscriptionAcquisitionEligibilitySubResource on CartSubscriptionAcquisitionEligibilitySubResource { acqType message status } `,ut=t` fragment BaseOfferingSubResource on BaseOfferingSubResource { brand id displayName ... on ProductOfferingSubResource { capacity code color slug stockAvailability productType category { id name } } ... on ProductWithBudgetOfferingSubResource { capacity code color msisdn slug stockAvailability productType category { id name } } ... on ProductWithInstallmentOfferingSubResource { code slug stockAvailability capacity productType category { id name } installment { periodMonths recurrence type } } ... on SubscriptionOfferingSubResource { acq msisdn simOption currentPackage { code name } portInDetails { phoneNumber type operator needOtpValidation hasUploadedInvoiceOrSimDoc uploadedInvoiceOrSimDocName canEditDetails membershipOrSimCode } term { unit value } acquisitionEligibilityList { ...CartSubscriptionAcquisitionEligibilitySubResource } } ... on InsuranceOfferingSubResource { msisdn brand displayName id insuredProductDetails { displayName categoryId imei oaCode standardPriceEur { value currency } } term { value unit } } ... on FiberOfferingSubResource { id code brand displayName msisdn subscriptionCodes term { value unit } } ... on FiberOptionOfferingSubResource { displayName brand id thumbnail } } ${at}`,lt=t` fragment ImageSubResource on ImageSubResource { tooltip url } `,pt=t` fragment ProductOfferingSubResource on ProductOfferingSubResource { brand capacity category { id name } code color displayName id slug stockAvailability productType } `,dt=t` fragment PromotionalProductItemSubResource on PromotionalProductItemSubResource { price { ...CartItemPriceSubResource } product { ...ProductOfferingSubResource } thumbnail isSelected } ${V} ${pt}`,q=t` fragment CartItemSubResource on CartItemSubResource { actions budgetPoints id maxQnty qnty applicableVouchers { ...CartItemApplicableVoucherSubResource } giftDetails { ...GiftDetailsSubResource } insuranceOptions { ...CartInsuranceOptionItemSubResource } notifications { ...NotificationSubResource } price { ...CartItemPriceSubResource } parentRel { ...CartItemRelSubResource } product { ...BaseOfferingSubResource } thumbnail { ...ImageSubResource } availablePromotionalProducts { ...PromotionalProductItemSubResource } items { actions budgetPoints id maxQnty qnty applicableVouchers { ...CartItemApplicableVoucherSubResource } giftDetails { ...GiftDetailsSubResource } insuranceOptions { ...CartInsuranceOptionItemSubResource } notifications { ...NotificationSubResource } parentRel { ...CartItemRelSubResource } price { ...CartItemPriceSubResource } product { ...BaseOfferingSubResource } thumbnail { ...ImageSubResource } items { actions budgetPoints id maxQnty qnty applicableVouchers { ...CartItemApplicableVoucherSubResource } giftDetails { ...GiftDetailsSubResource } insuranceOptions { ...CartInsuranceOptionItemSubResource } notifications { ...NotificationSubResource } parentRel { ...CartItemRelSubResource } price { ...CartItemPriceSubResource } product { ...BaseOfferingSubResource } thumbnail { ...ImageSubResource } } } } ${rt} ${ot} ${it} ${P} ${V} ${ct} ${ut} ${lt} ${dt}`,mt=t` fragment CartLimitDiscriminatorSubResource on CartLimitDiscriminatorSubResource { clientType paymentMethod shippingType } `,St=t` fragment CartLimitAllCurrenciesSubResource on CartLimitAllCurrenciesSubResource { amounts { ...AmountSubResource } discriminator { ...CartLimitDiscriminatorSubResource } } ${d} ${mt}`,Rt=t` fragment NcaPhoneCreditSubResource on NcaPhoneCreditSubResource { applied applyType message initialAmount { ...AmountSubResource } appliedAmount { ...AmountSubResource } } ${d}`,It=t` fragment NewCustomerDetailsSubResource on NewCustomerDetailsSubResource { hasOCRConsent isNCAFlow msisdn ariadnextProcess ariadnextProcessErrorReason needOtpValidation userDetails { birthDate cnp documentNumber documentSeries firstName lastName address { ...AddressResource } } } ${b}`,At=t` fragment OtySubResource on OtySubResource { consumeThresholdPoints maxPoints totalPoints consumeAmount { ...AmountSubResource } exchangeRates { ...AmountSubResource } maxAmount { ...AmountSubResource } remainingAmount { ...AmountSubResource } totalAmount { ...AmountSubResource } totalAllocatedAmount { ...AmountSubResource } } ${d}`,ft=t` fragment PaymentSubResource on PaymentSubResource { isAvailable methodType shippingTypes parameters { key value } } `,Et=t` fragment ExchangeRateSubResource on ExchangeRateSubResource { currency value } `,gt=t` fragment ExchangeRatesSubResource on ExchangeRatesSubResource { base rates { ...ExchangeRateSubResource } } ${Et}`,Y=t` fragment ShippingPriceSubResource on ShippingPriceSubResource { amount { ...AmountSubResource } amountTillFreeShipping { ...AmountSubResource } budgetAmount { ...AmountSubResource } } ${d}`,G=t` fragment CartPriceSubTotalSubResource on CartPriceSubTotalSubResource { adjustment amount { ...AmountSubResource } } ${d}`,yt=t` fragment CartPriceSubTotalsSubResource on CartPriceSubTotalsSubResource { advance { ...CartPriceSubTotalSubResource } discounts { ...CartPriceSubTotalSubResource } productsDiscounts { ...CartPriceSubTotalSubResource } subscriptionsDiscounts { ...CartPriceSubTotalSubResource } offers { ...CartPriceSubTotalSubResource } oty { ...CartPriceSubTotalSubResource } products { ...CartPriceSubTotalSubResource } shipping { ...CartPriceSubTotalSubResource } vouchers { ...CartPriceSubTotalSubResource } fiberDiscounts { ...CartPriceSubTotalSubResource } } ${G}`,Pt=t` fragment CartPriceTotalSubResource on CartPriceTotalSubResource { amount { ...AmountSubResource } amountWithoutDiscounts { ...AmountSubResource } subTotals { ...CartPriceSubTotalsSubResource } taxedAmount { ...AmountSubResource } vat { ...AmountSubResource } } ${d} ${yt}`,Ct=t` fragment CartPriceMonthlySubTotalsSubResource on CartPriceMonthlySubTotalsSubResource { insurance { ...CartPriceSubTotalSubResource } installment { ...CartPriceSubTotalSubResource } subscription { ...CartPriceSubTotalSubResource } fiber { ...CartPriceSubTotalSubResource } } ${G}`,xt=t` fragment CartPriceMonthlyTotalSubResource on CartPriceMonthlyTotalSubResource { amount { ...AmountSubResource } subTotals { ...CartPriceMonthlySubTotalsSubResource } taxedAmount { ...AmountSubResource } vat { ...AmountSubResource } } ${d} ${Ct}`,Ot=t` fragment ShippingPriceWithTypeSubResource on ShippingPriceWithTypeSubResource { shippingType shippingPrice { ...ShippingPriceSubResource } } ${Y}`,ht=t` fragment CartPriceSubResource on CartPriceSubResource { exchgRates { ...ExchangeRatesSubResource } shipping { ...ShippingPriceSubResource } total { ...CartPriceTotalSubResource } totalMonthly { ...CartPriceMonthlyTotalSubResource } shippingPricesPerType { ...ShippingPriceWithTypeSubResource } } ${gt} ${Y} ${Pt} ${xt} ${Ot}`,_t=t` fragment ContactPersonSubResource on ContactPersonSubResource { email name phone } `,bt=t` fragment CartFixedLocationResource on FixedLocationResource { id name fixedLocationTypeId serviceId courierId localityId localityName countyCode countyName countryCode addressText postalCode lat long isActive email phone } `,Tt=t` fragment ShippingTypeSubResource on ShippingTypeSubResource { selection shopCode fixedLocation { ...CartFixedLocationResource } } ${bt}`,Dt=t` fragment ShippingSubResource on ShippingSubResource { address { ...AddressResource } contactPerson { ...ContactPersonSubResource } shippingType { ...ShippingTypeSubResource } isKeepBillingDataToggled } ${b} ${_t} ${Tt}`,Nt=t` fragment TelewebInfo on TelewebInfo { callType userType } `,vt=t` fragment VoucherPriceDiscount on PriceDiscount { offerName percentageValue type fixValue { currency value } } `,Ft=t` fragment VoucherSubResource on VoucherSubResource { code message expirationDate description appliedDiscount { ...AmountSubResource } notification { ...NotificationSubResource } voucherDiscount { ...VoucherPriceDiscount } } ${d} ${P} ${vt}`,Mt=t` fragment ContactEmailDetailsSubResource on ContactEmailDetailsSubResource { __typename contactEmail emailValidated } `,C=t` fragment CartResource on PendingCartResource { __typename actions deliveryDate estimatedDeliveryDate { ...EstimatedDeliveryDatesInterval } etag isEligibleForLockers supportedBillingPartyTypes userAgreements { insuranceTermsAgreed isAbove16 hasPaymentCommitment gdprConsents { status type } keepIdCard } billing { ...BillingSubResource } budgetPoints { ...BudgetPointsFragment } convergenceBonus { ...ConvergenceBonusSubResource } items { ...CartItemSubResource } limits { ...CartLimitAllCurrenciesSubResource } ncaPhoneCredit { ...NcaPhoneCreditSubResource } newCustomerDetails { ...NewCustomerDetailsSubResource } notifications { ...NotificationSubResource } oty { ...OtySubResource } payment { ...PaymentSubResource } supportedPaymentMethods { ...PaymentSubResource } phoneCredit { ...OtySubResource } price { ...CartPriceSubResource } shipping { ...ShippingSubResource } telewebInfo { ...TelewebInfo } vouchers { ...VoucherSubResource } contactEmailDetails { ...ContactEmailDetailsSubResource } installationAddress { ...AddressResource } } ${He} ${Ze} ${Qe} ${tt} ${q} ${St} ${Rt} ${It} ${P} ${At} ${ft} ${ht} ${Dt} ${Nt} ${Ft} ${Mt} ${b}`,x=t` fragment PendingCheckoutCartResource on PendingCheckoutCartResource { __typename items { ...CartItemSubResource } } ${q}`,f=t` fragment EmptyCartResource on EmptyCartResource { etag notifications { ...NotificationSubResource } __typename } ${P}`,H=t` fragment SuccessCommandResultResource on SuccessCommandResultResource { __typename cart { ...CartResource ...PendingCheckoutCartResource ...EmptyCartResource } } ${C} ${x} ${f}`,$t=t` fragment ItemAddedCommandResultResource on ItemAddedCommandResultResource { __typename cart { ...CartResource ...PendingCheckoutCartResource ...EmptyCartResource } } ${C} ${x} ${f}`,hr=t` mutation AddFiberPromotionalProduct($id: Int!, $replaceTransaction: Boolean!, $returnCart: Boolean) { addFiberPromotionalProduct( input: {id: $id, replaceTransaction: $replaceTransaction, returnCart: $returnCart} ) { ...ItemAddedCommandResultResource } } ${$t}`;var _r=t` mutation AddProductWithPackage($productId: Int!, $subscr: AddSubscriptionSubResource!, $installment: AddInstallmentSubResource!, $replaceTransaction: Boolean, $specialOffer: SpecialOfferSubResource, $paymentMethod: SetPaymentMethodTypeSubResource, $parameters: [InputPaymentMethodParam]) { addProductSubscriptionBundle( input: {product: {id: $productId}, subscr: $subscr, installment: $installment, replaceTransaction: $replaceTransaction, specialOffer: $specialOffer} paymentMethod: $paymentMethod parameters: $parameters ) { __typename ... on ItemAddedCommandResultResource { itemId } } } `;var br=t` mutation AddSimpleProductWithBudget($productId: Int!, $msisdn: String!, $replaceTransaction: Boolean) { addSimpleProductWithBudget( input: {product: {id: $productId}, msisdn: $msisdn, replaceTransaction: $replaceTransaction} ) { __typename ... on ItemAddedCommandResultResource { itemId } } } `;var Tr=t` mutation AddSimpleProduct($productId: Int!, $replaceTransaction: Boolean, $paymentMethod: SetPaymentMethodTypeSubResource, $parameters: [InputPaymentMethodParam]) { addSimpleProduct( input: {id: $productId, replaceTransaction: $replaceTransaction} paymentMethod: $paymentMethod parameters: $parameters ) { __typename ... on ItemAddedCommandResultResource { itemId } } } `;var Dr=t` mutation AddSubscription($msisdn: String!, $pkg: String!, $term: SetTermSubResource!, $acq: AddAcquisitionTypeSubResource!, $replaceTransaction: Boolean) { addSubscription( input: {subscr: {msisdn: $msisdn, pkg: $pkg, term: $term, acq: $acq}, replaceTransaction: $replaceTransaction} ) { __typename ... on ItemAddedCommandResultResource { itemId } } } `;var Nr=t` mutation Checkout($preferWaitSec: Int, $additionalClmDetails: AdditionalClmInfoSubResource) { checkout( preferWaitSec: $preferWaitSec additionalClmDetails: $additionalClmDetails ) { __typename ... on Error { code } ... on OrderPlacedCommandResultResource { etag orderId requiresPayment isQuickFlow isInsuranceRequest uuid isSimo isNca isESim accountCreationLink } } } `;var vr=t` mutation ClearCart { clearCart { __typename } } `;var Fr=t` mutation SetContactEmail($email: String!) { setContactEmail(email: $email) { __typename ... on SuccessWithRedirectToCartCommandResultResource { redirectToCart } } } `;var Mr=t` mutation ChangeContactEmail($email: String!) { changeContactEmail(email: $email) { __typename } } `;var $r=t` mutation ApplyConvergenceBonus($convergenceBonus: ApplyConvergenceBonusResource!) { applyConvergenceBonus(convergenceBonus: $convergenceBonus) { __typename } } `;var Br=t` mutation UnapplyConvergenceBonus { unapplyConvergenceBonus { __typename } } `;var Lr=t` mutation DismissNotifications($notifications: [ReadNotificationSubResource]!) { readNotifications(input: $notifications) { __typename } } `;var Ur=t` query GetBillingAddressByCui($request: AnafValidationRequestResource!) { getBillingAddressByCui(request: $request) { status party { ...AnafBillingPartyResource } address { ...AnafBillingAddressResource } } } ${ve} ${Fe}`;var kr=t` query GetCart { cartV2 { ...CartResource ...PendingCheckoutCartResource ...EmptyCartResource } } ${C} ${x} ${f}`;var wr=t` query GetCartAnalytics { cartV2 { ...EmptyCartResource ...PendingCartAnalyticsResource ...PendingCheckoutCartAnalyticsResource } } ${f} ${Me} ${$e}`;var jr=t` query GetTbiPromoInstallments($amount: Float!, $currency: SupportedCurrency!) { getTbiPromoInstallments( request: {amount: [{value: $amount, currency: $currency}]} ) { ...TbiPromoInstallments } } ${Ue}`;var Vr=t` query GetUnofferedCart { unofferedCart { ...CartResource ...PendingCheckoutCartResource ...EmptyCartResource } } ${C} ${x} ${f}`;var qr=t` query GetUnofferedCartItemIds { unofferedCart { ... on EmptyCartResource { __typename } ... on PendingCartResource { __typename items { product { id } } } ... on PendingCheckoutCartResource { __typename items { product { id } } } } } `;var Yr=t` mutation AddInsuranceProduct($input: AddInsuranceProductSubResource!) { addInsuranceProduct(input: $input) { __typename } } `;var Gr=t` mutation AddInsurance($input: AddInsuranceSubResource) { addInsurance(input: $input) { __typename } } `;var Hr=t` mutation AddMultipleInsurance($input: AddMultipleInsuranceSubResource) { addMultipleInsurance(input: $input) { __typename } } `;var Wr=t` mutation ChangeInsuranceMsisdn($itemId: String!, $newMsisdn: String!) { changeInsuranceMsisdn(itemId: $itemId, newMsisdn: $newMsisdn) { __typename } } `;var Xr=t` mutation RemoveInsurance($input: RemoveInsuranceSubResource) { removeInsurance(input: $input) { __typename } } `;var Kr=t` mutation UpgradeInsurance($input: UpgradeInsuranceSubResource) { upgradeInsurance(input: $input) { __typename } } `;var zr=t` query SearchFixedLocations($request: FixedLocationSearchRequestInput!) { searchFixedLocations(request: $request) { ...FixedLocationResource } } ${M}`;var Jr=t` query GetFixedLocation($id: Int!) { getFixedLocation(id: $id) { ...FixedLocationResource } } ${M}`;var Zr=t` query GetFavoriteOrLastUsedLocation { getFavoriteOrLastUsedLocation { ...FixedLocationResource } } ${M}`;var Qr=t` query GetCounties($countryCode: String) { getCounties(countryCode: $countryCode) { ...CountyResource } } ${Ve}`;var eo=t` query GetLocalities($countyId: Int) { getLocalities(countyId: $countyId) { ...LocalityResource } } ${qe}`;var to=t` mutation MarkAsFavorite($fixedLocationId: Int) { markAsFavorite(fixedLocationId: $fixedLocationId) { ...OperationResponse } } ${Ye}`;var ro=t` mutation ChangeMsisdn($changeMsisdn: ChangeMsisdnResource!) { changeMsisdn(changeMsisdn: $changeMsisdn) { __typename } } `;var oo=t` mutation UseNCAPhoneCredit($ncaPhoneCredit: UseNCAPhoneCreditResource!) { useNCAPhoneCredit(ncaPhoneCredit: $ncaPhoneCredit) { __typename } } `;var no=t` mutation GenerateNewAddressOTP { generateNewAddressOTP { __typename ... on OtpCodeGeneratedCommandResultResource { msisdn } } } `;var so=t` mutation VerifyNewAddressOTP($code: String!, $forced: Boolean) { verifyNewAddressOTP(code: $code, forced: $forced) { __typename } } `;var io=t` mutation GenerateNewClientAcquisitionOTP { generateNewClientAcquisitionOTP { __typename } } `;var co=t` mutation UpdateCartSubscriptionType($itemId: String!, $cartSubscriptionType: CartSubscriptionType!) { updateCartSubscriptionType( itemId: $itemId cartSubscriptionType: $cartSubscriptionType ) { __typename } } `;var ao=t` mutation UpdatePrePayCardType($itemId: String!, $productType: ProductType!) { updatePrePayCardType(productType: $productType, itemId: $itemId) { __typename } } `;var uo=t` mutation GetAriadnextLink { getAriadnextLink { __typename ... on RespShortLinkGenerated { url shortenedLink status } ... on RespShortLinkError { status code reason } } } `;var lo=t` mutation GetAriadnextLinkOPNS($msisdn: String!) { getAriadnextLinkOPNS(msisdn: $msisdn) { __typename ... on AriadnextSuccessCommandResultResource { status } ... on RespShortLinkError { status code reason } } } `;var po=t` mutation GetAriadnextStatus { getAriadnextStatus { __typename ... on ResponseShortStatus { status reason } } } `;var mo=t` mutation ResetAriadnextDetails { resetAriadnextDetails { __typename } } `;var So=t` mutation SetAriadnextProcess($status: String!, $reason: String) { setAriadnextProcess(status: $status, reason: $reason) { __typename ... on AriadnextSuccessCommandResultResource { status reason } } } `;var Ro=t` mutation SetNewClientAcquisitionAgreement($ncaAgreement: NewClientAcquisitionResource!) { setNewClientAcquisitionAgreement(ncaAgreement: $ncaAgreement) { __typename } } `;var Io=t` mutation UpdateSimOption($itemId: String!, $simOption: SimOption!) { updateSimOption(itemId: $itemId, simOption: $simOption) { __typename } } `;var Ao=t` mutation VerifyNewClientAcquisitionOTP($code: String!) { verifyNewClientAcquisitionOTP(code: $code) { __typename ... on SuccessWithRedirectToCartCommandResultResource { redirectToCart } } } `;var fo=t` mutation UpdatePpy2PpdMsisdn($msisdn: String!) { updatePpy2PpdMsisdn(msisdn: $msisdn) { __typename } } `;var Eo=t` query GetEligiblePpyNumbers { getEligiblePpyNumbers } `;var go=t` mutation RemoveItemCart($itemId: String!, $returnCart: Boolean) { removeItem(itemId: $itemId, returnCart: $returnCart) { __typename ... on ItemRemovedCommandResultResource { itemId cart { ...CartResource ...PendingCheckoutCartResource ...EmptyCartResource } } } } ${C} ${x} ${f}`;var yo=t` mutation DeleteBilling { deleteBilling { __typename } } `;var Po=t` mutation SetBilling($billing: SetBillingResource!) { setBilling(billing: $billing) { __typename } } `;var Co=t` mutation SetOtyConsumption($value: Float!, $unit: SetValueUnitSubResource!) { setOtyConsumption(input: {value: $value, unit: $unit}) { __typename } } `;var xo=t` mutation SetPayment($method: SetPaymentMethodTypeSubResource!, $parameters: [InputPaymentMethodParam]) { setPayment(method: $method, parameters: $parameters) { __typename ... on SuccessCommandResultResource { etag } } } `;var Oo=t` mutation SetPhoneCreditConsumption($value: Float!, $unit: SetValueUnitSubResource!) { setPhoneCreditConsumption(input: {value: $value, unit: $unit}) { __typename } } `;var ho=t` mutation UpdatePortInDetails($type: PortInTypeResource!, $operator: OperatorTypeResource!, $membershipOrSimCode: String!) { updatePortInDetails( input: {type: $type, operator: $operator, membershipOrSimCode: $membershipOrSimCode} ) { __typename } } `;var _o=t` mutation GeneratePortInOTP { generatePortInOTP { __typename } } `;var bo=t` mutation VerifyPortInOTP($code: String!) { verifyPortInOTP(code: $code) { __typename } } `;var To=t` mutation UpdatePortInNumber($msisdn: String!) { updatePortInNumber(msisdn: $msisdn) { __typename } } `;var Do=t` mutation DeleteShipping { deleteShipping { __typename } } `;var No=t` mutation SetShipping($shipping: SetShippingResource!) { setShipping(shipping: $shipping) { __typename } } `;var vo=t` mutation SetTelewebInfo($teleweb: SetTelewebResource!) { setTelewebInfo(input: $teleweb) { __typename } } `;var Fo=t` mutation UpdateItemBudget($itemId: String!, $newBudget: Float!) { updateItemBudget(itemId: $itemId, newBudget: $newBudget) { __typename ... on PartialSuccessCommandResultResource { errorMessage } } } `;var Mo=t` mutation UpdateItemQnty($itemId: String!, $newQnty: Int!, $returnCart: Boolean) { updateItemQnty(itemId: $itemId, newQnty: $newQnty, returnCart: $returnCart) { __typename ...SuccessCommandResultResource } } ${H}`;var $o=t` mutation UpdateFiberOptionItemQnty($itemId: String!, $newQnty: Int!, $returnCart: Boolean) { updateFiberOptionItemQnty( itemId: $itemId newQnty: $newQnty returnCart: $returnCart ) { __typename ...SuccessCommandResultResource } } ${H}`;var Bo=t` mutation UpdateProductInstallmentsTerms($term: SetTermSubResource!) { updateProductInstallmentsTerms(input: $term) { __typename ... on SuccessCommandResultResource { etag } ... on Error { code } } } `;var Lo=t` mutation SetUserAgreements($input: SetUserAgreementsResource!) { setUserAgreements(input: $input) { __typename } } `;var Uo=t` mutation AddVoucher($voucher: AddVoucherResource!) { addVoucher(voucher: $voucher) { __typename } } `;var ko=t` mutation DeleteVoucher($voucher: DeleteVoucherResource!) { deleteVoucher(voucher: $voucher) { __typename } } `;var Bt=function(e){return e.STRADA="Strad\u0103",e}(Bt||{}),E=function(e){return e.DELIVERY="shipping",e.BILLING="billing",e}(E||{}),Lt=function(e){return e.Person="PERSON",e}(Lt||{}),Vo=v;var Go=o("[Delivery Address] Clear Address Relation",n()),W=o("[Delivery Address] Get Address Relation",e=>e),Ho=o("[Delivery Address] Get Address Relation Success",e=>e),Wo=o("[Delivery Address] Get Address Relation Error",e=>e),Xo=o("[Delivery Address] Save Address Relation",n()),Ko=o("[Delivery Address] Save Address Relation Success",n()),zo=o("[Delivery Address] Save Address Relation Error",n()),Jo=o("[Delivery Address] Delete Address Relation",n()),Zo=o("[Delivery Address] Delete Address Relation Success",n()),Qo=o("[Delivery Address] Delete Address Relation Error",n()),en=o("[Delivery Address] Set Selected Address in Cart",n()),tn=o("[Delivery Address] Set Selected Address",n()),rn=o("[Delivery Address] Set Selected Address Success",n()),on=o("[Delivery Address] Set Selected Address Error",n()),nn=o("[Delivery Address] Set Address Skeletons",n()),sn=o("[Delivery Address] Set Address Shipping Type Selection",n()),cn=o("[Delivery Address] Get Billing Address by CUI",n()),an=o("[Delivery Address] Get Billing Address by CUI Success",n()),un=o("[Delivery Address] Get Billing Address by CUI Error",n()),ln=o("[Delivery Address] Set Contact Person Details",n());var $=function(e){return e.Cart="Co\u0219",e.PhoneNumber="Num\u0103r de telefon",e.PortInDetails="Date portare",e.AccountOrEmail="Cont sau e-mail",e.Scan="Scanare ID",e.TransportAndPayment="Livrare",e.EmailConfirmation="Confirmare email",e.OrderConfirmation="Confirmare",e}($||{});function X(e){return e.__typename==="PendingCartResource"}var mn=e=>X(e)?e?.items?.reduce((r,u)=>r+(u?.qnty??0),0)??0:0,K=e=>X(e)?!e?.items?.length:!0;var I=_("addressRelations");function B(e){return U({selector:I,action:()=>W({addressType:e}),shouldDispatch(r){return r[e].status===R.initial},map(r){return r[e]}})}function yn(){return B(E.DELIVERY)}function Pn(){return B(E.BILLING)}function Cn(e){return i(s({},B(e)),{map(r){let u=r[e];if(u?.list?.length)return u.list.find(({isSelected:g})=>g)||u.list[0]}})}var xn=l(I,e=>e.anafBilling?.data),On=l(I,e=>e.anafBilling.status),hn=l(I,e=>e.anafBilling.data?.status),_n=l(I,e=>e.anafBilling?.data?.party?.uniqueId),bn=l(I,e=>e.anafBilling?.request?.cui),z=e=>l(I,r=>{if(!e)return r[E.DELIVERY].shippingTypeSelection?r[E.DELIVERY].shippingTypeSelection:A.Customer});var m=_("cartState"),kn=l(m,e=>e.cartItemIds),c={selector:m,action:()=>k(),shouldDispatch:e=>e.status===R.initial},wn=i(s({},c),{map:e=>e.cart?.__typename==="PendingCartResource"&&e.cart?.notifications?e.cart?.notifications:[]}),jn=i(s({},c),{map(e){return e.cart?.__typename==="PendingCartResource"&&e?.cart?.actions?.includes(p.CanImpersonate)}}),Vn=i(s({},c),{map(e){return e.cart?.__typename==="PendingCartResource"&&e.cart?.actions?.includes(p.HasSimoOnlyPpy2Ppd)}}),qn=i(s({},c),{map(e){return e.cart?.__typename==="PendingCartResource"&&e.cart.actions.includes(p.HasPpy2PpdAcq)}}),Yn=i(s({},c),{map:e=>e.status===R.loading}),Gn=i(s({},c),{map:e=>e.errors}),Hn=i(s({},c),{map:e=>e.itemsErrors}),Wn=i(s({},c),{map:e=>e.updateItemBudgetErrors}),Xn=i(s({},c),{map:e=>e.updateItemBudgetMessage}),Kn=i(s({},c),{map:e=>e.networkError}),zn=i(s({},c),{map(e){if(e.cart?.__typename==="PendingCartResource")return e.cart}}),Jn=()=>i(s({},c),{map(e){return e.cart?.__typename==="PendingCartResource"||e.cart?.__typename==="PendingCheckoutCartResource"?e.cart.items.some(r=>r?.product?.__typename==="SubscriptionOfferingSubResource"&&r.product.acq===S.Acquisition||r?.product?.__typename==="SubscriptionOfferingSubResource"&&r.product.acq===S.Loyalty||r?.product?.__typename==="ProductWithInstallmentOfferingSubResource"&&r.items?.some(u=>u?.product?.__typename==="SubscriptionOfferingSubResource"&&u.product.acq===S.Acquisition||u?.product?.__typename==="SubscriptionOfferingSubResource"&&u.product.acq===S.Loyalty||u?.product?.__typename==="SubscriptionOfferingSubResource"||u?.product?.__typename==="ProductWithInstallmentOfferingSubResource")):!1}}),Zn=()=>i(s({},c),{map(e){return e.cart?.__typename==="PendingCartResource"||e.cart?.__typename==="PendingCheckoutCartResource"?e.cart.items.some(r=>r?.product?.__typename==="SubscriptionOfferingSubResource"&&r.product.acq===S.Acquisition||r?.product?.__typename==="SubscriptionOfferingSubResource"&&r.product.acq===S.AcquisitionPrepayToPostpaid||r?.product?.__typename==="SubscriptionOfferingSubResource"&&r.product.acq===S.AcquisitionPortIn)&&!(e.cart.items.some(r=>r?.product?.__typename==="ProductWithInstallmentOfferingSubResource")||e.cart.items.some(r=>r?.product?.__typename==="ProductOfferingSubResource")||e.cart.items.some(r=>r?.product?.__typename==="ProductWithBudgetOfferingSubResource")):!1}}),Qn=i(s({},c),{map(e){return e.cart?.__typename==="PendingCartResource"||e.cart?.__typename==="PendingCheckoutCartResource"?!!e.cart.items.find(r=>r?.product?.__typename==="ProductWithBudgetOfferingSubResource"?!1:!!r?.items?.find(u=>u?.product?.__typename==="SubscriptionOfferingSubResource"||u?.product?.__typename==="ProductWithInstallmentOfferingSubResource")):!1}}),es=e=>i(s({},c),{map(r){return r.cart?.__typename==="PendingCartResource"&&r?.cart?.actions?.includes(e)}}),ts=i(s({},c),{map(e){return e.cart?.__typename==="PendingCartResource"&&e?.cart?.actions?.includes(p.HasPpy2PpdAcq)}}),rs=i(s({},c),{map:e=>e.cart?K(e.cart):!0}),os=i(s({},c),{map:e=>e.status}),ns=i(s({},c),{map:e=>e.showUseOtyMessage}),ss=l(m,e=>e.refreshCartState),is=i(s({},c),{map:e=>e.isShippingPriceLoading}),cs=i(s({},c),{map:e=>{let r;return e.cart?.__typename==="PendingCartResource"&&e.cart.price.exchgRates?.rates&&(r=e.cart.price.exchgRates.rates.find(u=>u?.currency===N.RON)?.value),r||null}}),as=i(s({},c),{map:e=>e.cart?.__typename==="PendingCartResource"?e.cart.items.some(r=>r?.items&&r.items.length>0||r?.product?.__typename==="SubscriptionOfferingSubResource"):!1}),us=i(s({},c),{map:e=>e.cart?.__typename==="EmptyCartResource"?0:e.cart?.items.length||1}),ls=l(m,e=>e.setShippingStatus),ps=l(m,e=>e.cart?.__typename==="PendingCartResource"&&e.cart.supportedBillingPartyTypes?e.cart.supportedBillingPartyTypes:[]),ds=i(s({},c),{map(e){return e.cart?.__typename==="PendingCartResource"&&!!e.cart?.notifications?.some(r=>r?.code==="PORT_IN_OFI_ARIADNEXT_CNP_NOT_MATCHING")}}),ms=i(s({},c),{map(e){return!!(e.cart?.__typename==="PendingCartResource"&&e.cart?.actions?.includes(p.HasSimoLoyOnly))}}),Ss=i(s({},c),{map(e){return!!(e.cart?.__typename==="PendingCartResource"&&e.cart?.actions?.includes(p.HasInsuranceOnly))}}),Rs=i(s({},c),{map(e){return e.cart?.__typename==="PendingCartResource"&&(e.cart?.actions?.includes(p.IsFastOrder)||e.cart?.actions?.includes(p.HasInsuranceOnly))}}),Is=i(s({},c),{map(e){return e.cart?.__typename==="PendingCartResource"&&e.cart.actions?.includes(p.IsShortFlow)}}),As=i(s({},c),{map(e){return e.cart?.__typename==="PendingCartResource"&&e.cart.estimatedDeliveryDate?e.cart.estimatedDeliveryDate:null}}),fs=i(s({},c),{map(e){return e.cart?.__typename==="PendingCartResource"&&e.voucher?e.voucher:null}}),Es=i(s({},c),{map(e){return e.cart?.__typename==="PendingCartResource"&&e.cart?.contactEmailDetails?.emailValidated===!1||e.keepConfirmationStepVisible}}),gs=i(s({},c),{map(e){return e.cart?.__typename==="PendingCartResource"&&e.cart?.contactEmailDetails?.emailValidated===!1}}),ys=i(s({},c),{map(e){if(e.cart?.__typename==="PendingCartResource")return e.cart.contactEmailDetails}}),Ps=l(m,e=>e.additionalClmInfo),Ut=l(m,e=>e.status===R.loading||e.setShippingStatus===R.loading),kt=l(m,e=>!e.checkout&&!e.checkoutErrors?e.status===R.loading:!e.checkoutErrors),wt=l(m,e=>e.checkout?.additionalDetails?.isRedirectToTBIFlowPending),jt=e=>l(m,kt,wt,z(!!e.isFastOrder),(r,u,g,O)=>{let T=r.cart?.__typename==="PendingCartResource"&&!!r.cart?.newCustomerDetails?.isNCAFlow,h=r.cart?.__typename==="PendingCartResource"&&r.cart.actions.includes(p.IsESimPrePayFlow),L=r.cart?.__typename==="PendingCartResource"&&!!r.agreement.notificationChannel;return u||g||e.orderSteps?.findNodeByLabel($.TransportAndPayment)?.value?.errors?.length||e.billingAddressFormIsVisible||e.deliveryAddressFormIsVisible?!0:O===A.FixedLocation?!e.isEditMode:e.deliveryInformationCompleted?O===A.Customer&&!h?e.deliveryAddressFormIsVisible:e.isEligibleForNotificationChannel&&!T&&!h&&!L:!h}),Vt=l(m,e=>e.cart?.__typename==="PendingCartResource"&&e.cart.actions.includes(p.RequiresAdditionalClmBillingInfo)?!!e.additionalClmInfo?.valid:!0),J=l(m,e=>{if(e.cart?.__typename==="PendingCartResource")return e.cart.actions}),Z=l(J,e=>{if(!e)return;let r=[p.IsFastOrder,p.HasSimoLoyOnly,p.IsESimPrePayFlow];return!e.find(u=>u&&r.includes(u))}),Cs=l(J,Z,(e,r)=>{if(e)return r&&!e.includes(p.IsShortFlow)}),xs=e=>l(m,jt(e),Vt,Ut,Z,(r,u,g,O,T)=>{let h=r.cart?.__typename==="PendingCartResource"&&r.cart.actions?.includes(p.IsESimPrePayFlow);return r.cart?.__typename==="PendingCartResource"&&r.cart.items.some(Q=>Q?.product?.__typename==="FiberOfferingSubResource")&&!e.fiberContactPersonPersonCompleted?!0:T?!e.deliveryInformationCompleted:u||!g||O});export{k as a,Yt as b,Gt as c,Ht as d,Wt as e,Xt as f,Kt as g,zt as h,Jt as i,Zt as j,Qt as k,er as l,tr as m,rr as n,or as o,nr as p,sr as q,ir as r,cr as s,ar as t,ur as u,lr as v,pr as w,dr as x,mr as y,Sr as z,Rr as A,Ir as B,Ar as C,fr as D,Er as E,gr as F,yr as G,Pr as H,mn as I,ee as J,S as K,te as L,re as M,oe as N,ne as O,p as P,se as Q,ie as R,ce as S,ae as T,ue as U,le as V,pe as W,de as X,me as Y,Se as Z,Re as _,Ie as $,v as aa,Ae as ba,fe as ca,Ee as da,ge as ea,ye as fa,Pe as ga,Ce as ha,xe as ia,Oe as ja,A as ka,he as la,_e as ma,be as na,Te as oa,De as pa,Ne as qa,hr as ra,_r as sa,br as ta,Tr as ua,Dr as va,Nr as wa,vr as xa,Fr as ya,Mr as za,$r as Aa,Br as Ba,Lr as Ca,Ur as Da,kr as Ea,wr as Fa,jr as Ga,qr as Ha,Yr as Ia,Gr as Ja,Hr as Ka,Wr as La,Xr as Ma,Kr as Na,zr as Oa,Zr as Pa,Qr as Qa,eo as Ra,to as Sa,ro as Ta,oo as Ua,no as Va,so as Wa,io as Xa,co as Ya,ao as Za,uo as _a,lo as $a,po as ab,So as bb,Ro as cb,Io as db,Ao as eb,fo as fb,Eo as gb,go as hb,yo as ib,Po as jb,Co as kb,xo as lb,Oo as mb,ho as nb,_o as ob,bo as pb,To as qb,Do as rb,No as sb,vo as tb,Fo as ub,Mo as vb,$o as wb,Bo as xb,Lo as yb,Uo as zb,ko as Ab,Bt as Bb,E as Cb,Lt as Db,Vo as Eb,Go as Fb,W as Gb,Ho as Hb,Wo as Ib,Xo as Jb,Ko as Kb,zo as Lb,Jo as Mb,Zo as Nb,Qo as Ob,en as Pb,tn as Qb,rn as Rb,on as Sb,nn as Tb,sn as Ub,cn as Vb,an as Wb,un as Xb,ln as Yb,B as Zb,yn as _b,Pn as $b,Cn as ac,xn as bc,On as cc,hn as dc,bn as ec,z as fc,$ as gc,m as hc,kn as ic,c as jc,wn as kc,jn as lc,Vn as mc,qn as nc,Yn as oc,Gn as pc,Wn as qc,Xn as rc,Kn as sc,zn as tc,Jn as uc,Zn as vc,Qn as wc,es as xc,ts as yc,rs as zc,os as Ac,ss as Bc,is as Cc,cs as Dc,as as Ec,ls as Fc,ps as Gc,ds as Hc,ms as Ic,Ss as Jc,Rs as Kc,Is as Lc,As as Mc,fs as Nc,Es as Oc,gs as Pc,ys as Qc,Ps as Rc,jt as Sc,Z as Tc,Cs as Uc,xs as Vc};