{"version":3,"sources":["../node_modules/@scandipwa/scandipwa/src/store/Product/Product.dispatcher.js","store/Cart/Cart.dispatcher.js","@scandipwa/blog/store/FeaturedPosts/FeaturedPosts.dispatcher.js","../packages/@scandipwa/pdp-socialshare/src/store/SocialShare/SocialShare.dispatcher.js","../packages/@scandipwa/blog/src/store/PostListing/PostListing.dispatcher.js","store/UrlRewrites/UrlRewrites.dispatcher.js","../packages/@scandipwa/gtm-new/src/store/GoogleTagManager/GoogleTagManager.dispatcher.js","../packages/@scandipwa/globale/src/store/Globale/Globale.dispatcher.js","../node_modules/@scandipwa/scandipwa/src/store/LinkedProducts/LinkedProducts.dispatcher.js","store/ProductListInfo/ProductListInfo.dispatcher.js","../node_modules/@scandipwa/scandipwa/src/store/LinkedProducts/LinkedProducts.action.js","../node_modules/@scandipwa/scandipwa/src/store/Category/Category.action.js","store/LinkedProducts/LinkedProducts.dispatcher.js","../node_modules/@scandipwa/scandipwa/src/store/ProductListInfo/ProductListInfo.dispatcher.js","../node_modules/@scandipwa/scandipwa/src/store/Product/Product.action.js","../packages/@scandipwa/blog/src/query/BlogPosts.query.js","query/Wishlist.query.js","../node_modules/@scandipwa/scandipwa/src/query/Wishlist.query.js","../node_modules/@scandipwa/scandipwa/src/query/Order.query.js","query/Category.query.js","../node_modules/@scandipwa/scandipwa/src/query/Category.query.js","store/Meta/Meta.dispatcher.js","query/ContactForm.query.js","../node_modules/@scandipwa/scandipwa/src/store/NewsletterSubscription/NewsletterSubscription.dispatcher.js","../node_modules/@scandipwa/scandipwa/src/store/Cart/Cart.dispatcher.js","../node_modules/@scandipwa/scandipwa/src/store/Order/Order.action.js","../node_modules/@scandipwa/scandipwa/src/query/ContactForm.query.js","../node_modules/@scandipwa/scandipwa/src/store/Order/Order.dispatcher.js","../node_modules/@scandipwa/scandipwa/src/store/Category/Category.dispatcher.js","../node_modules/@scandipwa/scandipwa/src/util/Wishlist/Wishlist.js","../node_modules/@scandipwa/scandipwa/src/store/Review/Review.dispatcher.js","../node_modules/@scandipwa/scandipwa/src/store/Checkout/Checkout.dispatcher.js","store/ProductList/ProductList.dispatcher.js","../node_modules/@scandipwa/scandipwa/src/store/Breadcrumbs/Breadcrumbs.dispatcher.js","@scandipwa/blog/query/FeaturedBlogPosts.query.js","../packages/@scandipwa/pdp-socialshare/src/query/SocialShare.query.js","../node_modules/@scandipwa/scandipwa/src/util/Wishlist/index.js","../node_modules/@scandipwa/scandipwa/src/query/ProductCompare.query.js","../node_modules/@scandipwa/scandipwa/src/store/Wishlist/Wishlist.dispatcher.js","../node_modules/@scandipwa/scandipwa/src/store/UrlRewrites/UrlRewrites.dispatcher.js","../node_modules/@scandipwa/scandipwa/src/query/UrlRewrites.query.js","../node_modules/@scandipwa/scandipwa/src/store/SearchBar/SearchBar.dispatcher.js","../packages/@scandipwa/gtm-new/src/query/GoogleTagManager.query.js","../node_modules/@scandipwa/scandipwa/src/store/Meta/Meta.dispatcher.js","../node_modules/@scandipwa/scandipwa/src/query/NewsletterSubscription.query.js","../node_modules/@scandipwa/scandipwa/src/query/CheckEmail.query.js","../node_modules/@scandipwa/scandipwa/src/store/ProductList/ProductList.dispatcher.js","store/ContactForm/ContactForm.dispatcher.js","../node_modules/@scandipwa/scandipwa/src/store/ContactForm/ContactForm.dispatcher.js","../node_modules/@scandipwa/scandipwa/src/store/ProductCompare/ProductCompare.dispatcher.js","store/Breadcrumbs/Breadcrumbs.dispatcher.js","../node_modules/@scandipwa/scandipwa/src/store/NoMatch/NoMatch.dispatcher.js","store/SearchBar/SearchBar.dispatcher.js"],"names":["LinkedProductsDispatcher","ProductDispatcher","Mosaic","middleware","_Mosaic$Extensible","_inherits","ProductDispatcher_","_super","_createSuper","_classCallCheck","apply","arguments","_createClass","key","value","_get","_getPrototypeOf","prototype","call","data","dispatch","items","products","length","updateNoMatch","product","_slicedToArray","product_links","reduce","links","Object","values","forEach","item","push","then","_ref","dispatcher","default","handleData","clearLinkedProducts","updateProductDetails","_","options","ProductListQuery","getQuery","Extensible","QueryDispatcher","_regeneratorRuntime","exports","Op","hasOwn","hasOwnProperty","defineProperty","obj","desc","$Symbol","Symbol","iteratorSymbol","iterator","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","toStringTag","define","enumerable","configurable","writable","err","wrap","innerFn","outerFn","self","tryLocsList","protoGenerator","Generator","generator","create","context","Context","makeInvokeMethod","tryCatch","fn","arg","type","ContinueSentinel","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","getProto","getPrototypeOf","NativeIteratorPrototype","Gp","defineIteratorMethods","method","_invoke","AsyncIterator","PromiseImpl","invoke","resolve","reject","record","result","__await","unwrapped","error","previousPromise","callInvokeWithMethodAndArg","state","Error","doneResult","delegate","delegateResult","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","done","methodName","undefined","return","TypeError","info","resultName","next","nextLoc","pushTryEntry","locs","entry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","resetTryEntry","completion","reset","iterable","iteratorMethod","isNaN","i","displayName","isGeneratorFunction","genFun","ctor","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","iter","keys","val","object","reverse","pop","skipTempReset","prev","charAt","slice","stop","rootRecord","rval","exception","handle","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","catch","thrown","delegateYield","CartDispatcher","CartDispatcher_","_updateInitialCartData","_asyncToGenerator","_callee","quoteId","_yield$fetchQuery","cartData","_yield$fetchQuery$car","_yield$fetchQuery$car3","_context","this","_getGuestQuoteId","fetchQuery","CartQuery","getCartQuery","id","isSignedIn","createGuestEmptyCart","_updateCartData","t0","_x","_addProductToCart","_this","_callee2","_options$products","userCartId","cartId","_yield$fetchQuery2","_yield$fetchQuery2$ca","_yield$fetchMutation","_yield$fetchMutation$","_yield$fetchMutation$3","errors","_context2","getGuestQuoteId","setGuestQuoteId","Array","isArray","showNotification","__","fetchMutation","getAddProductToCartMutation","addProductsToCart","user_errors","getErrorMessage","updateInitialCartData","t1","_x2","SourceCartDispatcher","FeaturedPostsDispatcher","FeaturedPostsDispatcher_","executeGet","prepareQuery","FeaturedBlogPostsQuery","getFeaturedBlogPostsQuery","blogFeaturedPosts","updateFeaturedPosts","isLoaded","postsException","SocialShareDispatcher","SocialShareDispatcher_","BrowserDatabase","setItem","ONE_MONTH_IN_SECONDS","updateSocialShare","SocialShareQuery","PostListingDispatcher","PostListingDispatcher_","_fetchPosts","callback","currentPage","usedBy","_yield$fetchQuery$pos","posts","totalPages","BlogPostsQuery","total_pages","onSuccess","onError","loadPostsPortion","message","UrlRewritesDispatcher","UrlRewritesDispatcher_","_ref2","urlResolver","urlParam","_ref3$UrlRewritesRedu","getStore","getState","UrlRewritesReducer","_ref3$UrlRewritesRedu3","isRedirectHandling","setIsUrlRewritesLoading","updateUrlRewrite","notFound","SourceUrlRewritesDispatcher","GoogleTagManagerDispatcher","GoogleTagManagerDispatcher_","gtm","updateConfig","GoogleTagManagerQuery","getGTMConfiguration","GlobaleDispatcher","GlobaleDispatcher_","GlobaleQuery","getGlobaleConfigQuery","_data$globaleConfig","globaleConfig","isEnabled","enabled","initJs","init_js","customCss","custom_css","countryCode","country_code","currencyCode","currency_code","isInternational","international","updateGlobale","isInitialized","LINKED_PRODUCTS","LinkedProductsDispatcher_","linkedProducts","_processResponse","updateLinkedProducts","relatedSKUs","link","linked_product_sku","concat","_toConsumableArray","replace","args","filter","productsSkuArray","notRequireInfo","updateCrossSell","upsell","total_count","related","crosssell","_objectSpread","_fetchCrossSellProducts","query","_this$_processRespons","prepareRequest","getItem","assign","indexedBySku","acc","sku","getIndexedProduct","link_type","associated","ProductListInfoDispatcher","ProductListInfoDispatcher_","updateProductListInfo","updateResultStatus","SourceProductListInfoDispatcher","UPDATE_LINKED_PRODUCTS","UPDATE_CURRENT_CATEGORY","updateCurrentCategory","category","SourceLinkedProductsDispatcher","updateInfoLoadStatus","requireInfo","UPDATE_PRODUCT_DETAILS","BlogPostsQuery_","_options$isCard","isCard","_options$isCardExtend","isCardExtended","getFieldsForCard","itemField","page","pageField","sort","allPosts","modifiedOptions","pageSize","field","Field","addArgument","addField","addFieldList","setAlias","getDefaultSort","isExtended","fields","author","authorField","categories","getCategoriesField","_options$getBasicDeta","getBasicDetails","getDescription","getMedia","metaFields","WishlistQuery","WishlistQuery_","isForWishlist","_getProductInterfaceFields","SourceWishlistQuery","wishlistId","wishlistItems","_getWishlistErrorsField","_getWishlistErrorsFields","sharingCode","_getWishlistFields","input","guestQuoteId","item_id","_getItemsField","_getItemOptionsFields","_getItemOptionsField","_getWishlistItemsFields","_getProductField","_getItemsFields","OrderQuery","OrderQuery_","incrementId","_getReorderField","_getSubscribeToOrderStatusOutputFields","_getOrderListFields","_getOrdersField","orderId","_ref$page","ordersField","entity_id","eq","_getOrdersFields","isSingleOrder","_getOrderItemsField","_getSearchResultPageInfoField","_getSearchResultPageInfoFields","_getOrderItemsFields","basicFields","_getOrderItemTotalField","_getSingleOrderFields","_getOrderShipmentsField","_getOrderItemsProductsField","_getOrderInvoicesField","_getOrderRefundsField","_getOrderShippingAddressField","_getOrderBillingAddressField","_getOrderPaymentMethodsField","_getOrderShippingMethodField","_getOrderItemTotalFields","_getOrderGrandTotalField","_getOrderDiscountsField","_getOrderBaseGrantTotalField","_getOrderSubtotalField","_getOrderTotalShippingField","_getOrderTotalTaxField","_getOrderShippingHandlingField","_getOrderTaxesField","_getOrderTaxesFields","_getOrderAmountField","_getOrderShippingHandlingFields","_getOrderShippingAmountExclTaxField","_getOrderShippingAmountInclTaxField","_getOrderShippingDiscountsField","_getOrderShippingHandlingTotalField","_getOrderShippingDiscountsFields","_getOrderPriceFields","_getOrderShipmentsFields","_getOrderShipmentTrackingField","_getShipmentsItemsProductsField","_getShipmentsItemsProductsFields","_getBaseOrderItemProductsFields","_getOrderShipmentTrackingFields","_getOrderRefundsFields","_getRefundsItemsProductsField","_getOrderDiscountsFields","_getRefundsItemsProductsFields","_getRefundsItemInformationField","_getOrderProductRowSubtotalField","_getOrderItemProductsFields","_getOrderInvoicesFields","_getInvoiceItemsProductsField","_getInvoiceItemProductsFields","_getOrderProductEnteredOptionsField","_getOrderProductSelectedOptionsField","_getOrderProductSalePriceField","_getOrderProductOptionsFields","_getOrderProductBundleOptionItemsField","_getOrderProductBundleOptionItemsFields","_getReorderFields","_getOrderAddressFields","_getOrderAddressStreetField","_getOrderPaymentMethodsFields","_getOrderPaymentMethodAdditionalField","_getOrderPaymentMethodAdditionalFields","_getDownloadableField","_getOrderByIdField","customerEmail","_getDownloadableFields","CategoryQuery","CategoryQuery_","_getChildrenField","_getSecondChildrenFields","categoryIds","getItemField","getFields","SourceCategoryQuery","_Field","_getConditionalArguments","_getDefaultFields","_getChildrenFields","_getBreadcrumbFields","_getCmsBlockFields","_getCmsBlockField","_getBreadcrumbsField","MetaDispatcher","MetaDispatcher_","meta_description","_product$short_descri","short_description","_product$short_descri3","html","description","_category$breadcrumbs","breadcrumbs","meta_title","title","generateCategoryMetaTitle","map","category_name","join","SourceMetaDispatcher","ContactFormQuery","ContactFormQuery_","mutation","sanitizedOptions","removeKeyFromObject","SourceContactFormQuery","NOT_ACTIVE","NewsletterSubscriptionDispatcher","NewsletterSubscriptionDispatcher_","email","NewsletterSubscriptionQuery","getSubscribeToNewsletterMutation","status","subscribeEmailToNewsletter","_createGuestEmptyCart","getCreateEmptyCartMutation","createEmptyCart","_mergeCarts","_callee3","sourceCartId","destinationCartId","_yield$fetchMutation2","_yield$fetchMutation3","_yield$fetchMutation5","_context3","getMergeCartQuery","mergeCarts","_x3","_x4","_x5","_changeItemQty","_callee4","uid","_options$quantity","quantity","originalCartId","_context4","getUpdateCartItemsMutation","cart_id","cart_items","cart_item_uid","_x6","_x7","_callee5","_yield$fetchMutation6","_yield$fetchMutation7","_yield$fetchMutation9","_context5","_x8","_removeProductFromCart","_callee6","isCustomerSignedIn","_yield$fetchMutation10","_yield$fetchMutation11","_yield$fetchMutation13","_context6","getRemoveCartItemMutation","removeCartItem","_x9","_x10","_applyCouponToCart","_callee7","couponCode","_yield$fetchMutation14","_yield$fetchMutation15","_yield$fetchMutation17","_context7","getApplyCouponMutation","applyCoupon","_x11","_x12","_removeCouponFromCart","_callee8","_yield$fetchMutation18","_yield$fetchMutation19","_yield$fetchMutation21","_context8","getRemoveCouponMutation","removeCoupon","_x13","_product$product","_product$product$vari","variants","variantSku","childProductLinks","find","_ref3","_ref4","_ref5","fetchCrossSellProducts","_ref6","clearCrossSellProducts","_ref7","updateTotals","attribute","configurableVariantIndex","attributeValue","GET_ORDER_LIST","SET_ORDER_LOADING_STATUS","getOrderList","orderList","setLoadingStatus","_addSendContactFormMutationArguments","_getSendContactFormMutationResponse","_getContactPageConfigFields","OrderDispatcher","OrderDispatcher_","getOrderListQuery","orders","customer","_reorder","_yield$this$handleReo","_yield$this$handleReo2","_yield$this$handleReo4","userInputErrors","handleReorderMutation","reorderItems","history","appendWithStoreCode","getReorder","_getOrderById","CategoryDispatcher","CategoryDispatcher_","isSearchPage","_data$category","getPriceRange","price","priceWithoutTax","currency","price_range","minimum_price","regular_price","priceCurrencyValue","priceCurrencyValueExclTax","priceSection","final_price","final_price_excl_tax","regular_price_excl_tax","maximum_price","ReviewDispatcher","ReviewDispatcher_","reviewItem","rating_data","product_sku","detail","nickname","summary","text","ratings","value_id","_submitProductReview","ReviewQuery","getAddProductReviewMutation","prepareReviewData","CheckoutDispatcher","CheckoutDispatcher_","is_email_available","isEmailAvailable","updateEmailAvailable","CheckEmailQuery","getIsEmailAvailableQuery","ProductListDispatcher","ProductListDispatcher_","_data$products","_data$products2","_data$products2$page_","page_info","isNext","appendPage","updateProductListItems","updatePageLoadingStatus","updateLoadStatus","SourceProductListDispatcher","BreadcrumbsDispatcher","BreadcrumbsDispatcher_","toggleBreadcrumbs","updateBreadcrumbs","_getCategoryBreadcrumbs","prevCategoryId","_getProductBreadcrumbs","url","breadcrumbsList","a","b","category_level","crumb","category_url","category_is_active","pathname","categoryId","_categories$reduce$br","longestBreadcrumbsLength","breadcrumbsLength","breadcrumbsCategory","findCategoryById","findLongestBreadcrumbs","FeaturedBlogPostsQuery_","SocialShareQuery_","_getSocialShareOptions","ProductCompareQuery","ProductCompareQuery_","_getCompareListFields","_getAssignFields","_getAssignCompareListField","_getComparableItemIdsField","_getCompareAttributeField","_getComparableItemField","_getCompareAttributeFields","_getComparableItemAttributeFields","_getCompareProductField","_getComparableItemAttributeField","_getProductIdsField","_getReviewCountField","_getRatingSummaryField","_getDescriptionField","_getGroupedProductItems","_getProductIdsFields","_getComparableItemFields","_getComparableItemIdsFields","isWishlistEnabled","_state$ConfigReducer$","ConfigReducer","wishlist_general_active","WishlistDispatcher","WishlistDispatcher_","_syncWishlistWithBE","updateAllProductsInWishlist","getWishlistQuery","wishlist","productsToAdd","wishlistItem","price_without_tax","buy_request","qty","priceRange","_defineProperty","updateIsLoading","_addItemToWishlist","_options$items","_options$wishlistId","addProductsToWishlist","_options$wishlistItem","_options$wishlistId2","updateProductsInWishlist","getClearWishlist","clearWishlist","_moveWishlistToCart","getMoveWishlistToCart","_removeItemFromWishlist2","noMessages","getRemoveProductFromWishlistMutation","removeItemFromWishlist","itemIdMap","UrlRewritesQuery","processUrlOptions","trimmedParam","RegExp","window","storeRegexText","UrlRewritesQuery_","_getUrlResolverFields","SearchBarDispatcher","SearchBarDispatcher_","updateSearchBar","clearSearchResults","noVariants","GoogleTagManagerQuery_","_len","_key","_getGTMConfigurationFields","getEventsField","getEvents","meta","_getCategoryMeta","updateMeta","_getProductMeta","meta_keyword","canonical_url","keywords","location","origin","meta_keywords","_category$meta_robots","meta_robots","robots","NewsletterSubscriptionQuery_","_getPageFields","CheckEmailQuery_","ContactFormDispatcher","ContactFormDispatcher_","_options$form","form","_options$fields","getSendContactFormMutation","updateContactForm","isLoading","contactForm","grecaptcha","SourceContactFormDispatcher","ProductCompareDispatcher","ProductCompareDispatcher_","_getCompareList","compareList","getUid","toggleLoader","getCompareList","setCompareList","_createCompareList","productId","createCompareList","getCreateCompareList","setUid","_addToCompareList","addProductsToCompareList","getAddProductsToCompareList","_addProductToCompare","addToCompareList","_removeComparedProduct","removeProductsFromCompareList","getRemoveProductsFromCompareList","_fetchCustomersList","_yield$fetchMutation4","getCreateEmptyCompareList","_assignCompareList","compare_list","newUid","fetchCustomersList","removeUid","getAssignCompareList","assignCompareListToCustomer","_clearComparedProducts2","getDeleteCompareList","clearComparedProducts","_updateInitialProductCompareData","_callee9","_ref$items","compareIds","_context9","getCompareListIds","setCompareListIds","MENU_BREADCRUMBS_CLEAR_TIMEOUT","menuGeneratedBreadcrumbs","setTimeout","clearMenuGeneratedBreadcrumbs","orig","_orig","_orig$","_orig$2$name","firstCategoryName","_orig$3","_orig$4$name","SourceBreadcrumbsDispatcher","NoMatchDispatcher","NoMatchDispatcher_","noMatch","preparingSearchResults","SourceSearchBarDispatcher"],"mappings":"oUAgBaA,EAA2B,0CAWxCC,EAAAC,EAAAC,WAAA,SAAAC,GAAAC,YAAAC,EAAAF,GAAA,IAAAG,EAAAC,YAAAF,GAAA,SAAAA,IAAA,OAAAG,YAAA,KAAAH,GAAAC,EAAAG,MAAA,KAAAC,WAmDK,OAnDLC,YAAAN,EAAA,EAAAO,IAAA,cAAAC,MACI,WACIC,YAAAC,YAAAV,EAAAW,WAAA,oBAAAC,KAAA,KAAkB,aACrB,CAAAL,IAAA,YAAAC,MAED,SAAUK,EAAMC,GACZ,IAAoBC,EAAYF,EAAxBG,SAAYD,MAMpB,IAAKA,GAASA,EAAME,QAAU,EAC1BH,EAASI,aAAc,QAD3B,CAMA,IAAOC,EAAPC,YAAkBL,EAAK,GAAT,GAERM,EAAgBN,EAAMO,QAAO,SAACC,EAAOJ,GACvC,IAAQE,EAAkBF,EAAlBE,cAQR,OANIA,GACAG,OAAOC,OAAOJ,GAAeK,SAAQ,SAACC,GAClCJ,EAAMK,KAAKD,MAIZJ,IACR,IAEH7B,EAAyBmC,MACrB,SAAAC,GAA8B,IAAlBC,EAAUD,EAAnBE,QACKX,EAAcJ,OAAS,EACvBc,EAAWE,WAAWnB,EAAUO,GAEhCU,EAAWG,oB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EAAAC,WAAA,SAAAC,GAAAC,YAAAgwB,EAAAjwB,GAAA,IAAAG,EAAAC,YAAA6vB,GAAA,SAAAA,IAAA,OAAA5vB,YAAA,KAAA4vB,GAAA9vB,EAAAG,MAAA,KAAAC,WAoBK,OApBLC,YAAAyvB,EAAA,EAAAxvB,IAAA,YAAAC,MACI,SAAUK,EAAMC,GACZA,EAASkvB,YAAgBnvB,IACzBC,EAASspB,aAAiB,MAC7B,CAAA7pB,IAAA,qBAAAC,MAED,SAAmBM,GACfA,EAASspB,aAAiB,IAC1BtpB,EAASmvB,iBACZ,CAAA1vB,IAAA,iBAAAC,MAED,SAAe6B,EAASvB,GAIpB,OAHAA,EAASspB,aAAiB,IAC1BtpB,EAAS80B,aAAuB,IAEzBtzB,IAAiBC,SAAQqR,wBAAC,GAC1BvR,GAAO,IACViR,gBAAgB,EAChB4c,YAAY,SAEnBH,EApBL,CAoBKnwB,EAAA4C,WApBoCqzB,MAAyB,4DAuBnD,cAAI/F,G","file":"static/js/dispatchers.chunk.js","sourcesContent":["/**\n * ScandiPWA - Progressive Web App for Magento\n *\n * Copyright © Scandiweb, Inc. All rights reserved.\n * See LICENSE for license details.\n *\n * @license OSL-3.0 (Open Software License (\"OSL\") v. 3.0)\n * @package scandipwa/base-theme\n * @link https://github.com/scandipwa/base-theme\n */\n\nimport ProductListQuery from 'Query/ProductList.query';\nimport { updateNoMatch } from 'Store/NoMatch/NoMatch.action';\nimport { updateProductDetails } from 'Store/Product/Product.action';\nimport { QueryDispatcher } from 'Util/Request';\n\nexport const LinkedProductsDispatcher = import(\n /* webpackMode: \"lazy\", webpackChunkName: \"dispatchers\" */\n 'Store/LinkedProducts/LinkedProducts.dispatcher'\n);\n\n/**\n * Product List Dispatcher\n * @class ProductDispatcher\n * @extends ProductDispatcher\n * @namespace Store/Product/Dispatcher\n */\nexport class ProductDispatcher extends QueryDispatcher {\n __construct() {\n super.__construct('Product');\n }\n\n onSuccess(data, dispatch) {\n const { products: { items } } = data;\n\n /**\n * In case there are no items, or item count is\n * smaller then 0 => the product was not found.\n */\n if (!items || items.length <= 0) {\n dispatch(updateNoMatch(true));\n\n return;\n }\n\n const [product] = items;\n\n const product_links = items.reduce((links, product) => {\n const { product_links } = product;\n\n if (product_links) {\n Object.values(product_links).forEach((item) => {\n links.push(item);\n });\n }\n\n return links;\n }, []);\n\n LinkedProductsDispatcher.then(\n ({ default: dispatcher }) => {\n if (product_links.length > 0) {\n dispatcher.handleData(dispatch, product_links);\n } else {\n dispatcher.clearLinkedProducts(dispatch);\n }\n }\n );\n\n dispatch(updateProductDetails(product));\n }\n\n onError(_, dispatch) {\n dispatch(updateNoMatch(true));\n }\n\n prepareRequest(options) {\n return ProductListQuery.getQuery(options);\n }\n}\n\nexport default new ProductDispatcher();\n","/**\n * @category BeautyWorks\n * @author Scandiweb \n * @license http://opensource.org/licenses/OSL-3.0 The Open Software License 3.0 (OSL-3.0)\n * @copyright Copyright (c) 2022 Scandiweb, Inc (https://scandiweb.com)\n */\n\nimport CartQuery from 'Query/Cart.query';\nimport {\n CartDispatcher as SourceCartDispatcher\n} from 'SourceStore/Cart/Cart.dispatcher';\nimport { showNotification } from 'Store/Notification/Notification.action';\nimport { isSignedIn } from 'Util/Auth';\nimport { getGuestQuoteId, setGuestQuoteId } from 'Util/Cart';\nimport { fetchMutation, fetchQuery, getErrorMessage } from 'Util/Request';\n\n/**\n * Product Cart Dispatcher\n * @class CartDispatcher\n * @namespace Scandipwa/Store/Cart/Dispatcher/CartDispatcher\n */\nexport class CartDispatcher extends SourceCartDispatcher {\n async updateInitialCartData(dispatch) {\n // Need to get current cart from BE, update cart\n try {\n // ! Get quote token first (local or from the backend) just to make sure it exists\n const quoteId = await this._getGuestQuoteId(dispatch);\n\n const { cartData, cartData: { id = '' } = {} } = await fetchQuery(\n CartQuery.getCartQuery(\n quoteId\n )\n );\n\n if (id !== quoteId && isSignedIn()) {\n return this.createGuestEmptyCart(dispatch);\n }\n\n return this._updateCartData(cartData, dispatch);\n } catch (error) {\n return this.createGuestEmptyCart(dispatch);\n }\n }\n\n async addProductToCart(dispatch, options = {}) {\n const { products = [], cartId: userCartId } = options;\n\n // eslint-disable-next-line fp/no-let\n let cartId = userCartId || getGuestQuoteId();\n\n // used for checking if the current cart id still exits\n try {\n // eslint-disable-next-line no-unused-vars\n const { cartData = {} } = await fetchQuery(\n CartQuery.getCartQuery(\n cartId\n )\n );\n } catch (e) {\n cartId = await this.createGuestEmptyCart(dispatch);\n setGuestQuoteId(cartId);\n }\n\n if (!Array.isArray(products) || products.length === 0) {\n dispatch(showNotification('error', __('No product data!')));\n return Promise.reject();\n }\n\n try {\n if (!cartId) {\n return Promise.reject();\n }\n\n const { addProductsToCart: { user_errors: errors = [] } = {} } = await fetchMutation(\n CartQuery.getAddProductToCartMutation(cartId, products)\n );\n\n if (Array.isArray(errors) && errors.length > 0) {\n errors.forEach((error) => {\n dispatch(showNotification('error', getErrorMessage(error)));\n });\n\n return Promise.reject();\n }\n\n await this.updateInitialCartData(dispatch);\n dispatch(showNotification('success', __('Product was added to cart!')));\n } catch (error) {\n dispatch(showNotification('error', getErrorMessage(error)));\n return Promise.reject();\n }\n\n return Promise.resolve();\n }\n}\n\nexport default new CartDispatcher();\n","/**\n * @category BeautyWorks\n * @author Reinis Makulis \n * @license http://opensource.org/licenses/OSL-3.0 The Open Software License 3.0 (OSL-3.0)\n * @copyright Copyright (c) 2021 Scandiweb, Inc (https://scandiweb.com)\n */\n\nimport { prepareQuery } from '@scandipwa/scandipwa/src/util/Query';\n\nimport { showNotification } from 'Store/Notification/Notification.action';\nimport { executeGet } from 'Util/Request';\n\nimport FeaturedBlogPostsQuery from '../../query/FeaturedBlogPosts.query';\nimport { postsException, updateFeaturedPosts } from './FeaturedPosts.action';\n\n/**\n * Posts Dispatcher\n * @namespace Scandipwa/@Scandipwa/Blog/Store/FeaturedPosts/Dispatcher/FeaturedPostsDispatcher */\nexport class FeaturedPostsDispatcher {\n prepareRequest(dispatch) {\n return executeGet(prepareQuery(FeaturedBlogPostsQuery.getFeaturedBlogPostsQuery()), 'blogPosts')\n .then(\n /** @namespace Scandipwa/@Scandipwa/Blog/Store/FeaturedPosts/Dispatcher/executeGet/then */\n (data) => {\n const {\n blogFeaturedPosts: {\n items\n }\n } = data;\n\n dispatch(updateFeaturedPosts({\n items\n }));\n },\n /** @namespace Scandipwa/@Scandipwa/Blog/Store/FeaturedPosts/Dispatcher/executeGet/then */\n (error) => {\n dispatch(updateFeaturedPosts({\n isLoaded: true\n }));\n dispatch(postsException(error));\n dispatch(showNotification('error', 'Error fetching posts!', error));\n }\n );\n }\n}\n\nexport default new FeaturedPostsDispatcher();\n","/**\n * @category BeautyWorks\n * @author Abderrahim Kadnaoui \n * @license http://opensource.org/licenses/OSL-3.0 The Open Software License 3.0 (OSL-3.0)\n * @copyright Copyright (c) 2024 Scandiweb, Inc (https://scandiweb.com)\n */\nimport { showNotification } from 'Store/Notification/Notification.action';\nimport BrowserDatabase from 'Util/BrowserDatabase';\nimport { QueryDispatcher } from 'Util/Request';\nimport { ONE_MONTH_IN_SECONDS } from 'Util/Request/QueryDispatcher';\n\nimport SocialShareQuery from '../../query/SocialShare.query';\nimport { updateSocialShare } from './SocialShare.action';\n\n/** @namespace PdpSocialshare/Store/SocialShare/Dispatcher/SocialShareDispatcher */\nexport class SocialShareDispatcher extends QueryDispatcher {\n __construct() {\n super.__construct('SocialShare');\n }\n\n onSuccess(data, dispatch) {\n if (data) {\n BrowserDatabase.setItem(data, 'SocialShare', ONE_MONTH_IN_SECONDS);\n dispatch(updateSocialShare(data));\n }\n }\n\n onError(error, dispatch) {\n dispatch(showNotification('error', __('Error fetching SocialShare!'), error));\n }\n\n prepareRequest() {\n return [\n SocialShareQuery.getQuery()\n ];\n }\n}\n\nexport default new SocialShareDispatcher();\n","/**\n * @category BeautyWorks\n * @author Kirill Don-Shinaiko \n * @license http://opensource.org/licenses/OSL-3.0 The Open Software License 3.0 (OSL-3.0)\n * @copyright Copyright (c) 2021 Scandiweb, Inc (https://scandiweb.com)\n */\n\nimport { showNotification } from 'Store/Notification/Notification.action';\nimport { fetchQuery } from 'Util/Request';\n\nimport BlogPostsQuery from '../../query/BlogPosts.query';\nimport { loadPostsPortion } from './PostListing.action';\n\n/** @namespace Blog/Store/PostListing/Dispatcher/PostListingDispatcher */\nexport class PostListingDispatcher {\n async fetchPosts(options, callback = () => {}, dispatch) {\n const { currentPage, usedBy } = options;\n\n try {\n const {\n posts: {\n items: posts,\n total_pages: totalPages\n }\n } = await fetchQuery(BlogPostsQuery.getQuery(options));\n\n this.onSuccess({\n posts,\n totalPages,\n currentPage,\n usedBy\n }, dispatch);\n } catch (errors) {\n this.onError(errors, dispatch);\n } finally {\n callback();\n }\n }\n\n onSuccess(data, dispatch) {\n dispatch(loadPostsPortion(data));\n }\n\n onError(errors, dispatch) {\n const [{ message }] = errors;\n\n dispatch(showNotification('error', 'Error fetching posts!', message));\n }\n}\n\nexport default new PostListingDispatcher();\n","/**\n * @category BeautyWorks\n * @author Scandiweb \n * @license http://opensource.org/licenses/OSL-3.0 The Open Software License 3.0 (OSL-3.0)\n * @copyright Copyright (c) 2022 Scandiweb, Inc (https://scandiweb.com)\n */\n\nimport {\n UrlRewritesDispatcher as SourceUrlRewritesDispatcher\n} from 'SourceStore/UrlRewrites/UrlRewrites.dispatcher';\nimport { updateNoMatch } from 'Store/NoMatch/NoMatch.action';\nimport { setIsUrlRewritesLoading, updateUrlRewrite } from 'Store/UrlRewrites/UrlRewrites.action';\nimport getStore from 'Util/Store';\n\n/**\n * Url Rewrite Dispathcer\n * @class UrlRewritesDispatcher\n * @extends RequestDispatcher\n * @namespace Scandipwa/Store/UrlRewrites/Dispatcher/UrlRewritesDispatcher\n */\nexport class UrlRewritesDispatcher extends SourceUrlRewritesDispatcher {\n onSuccess({ urlResolver }, dispatch, { urlParam }) {\n const { UrlRewritesReducer: { isRedirectHandling = false } = {} } = getStore().getState() || {};\n\n if (!urlResolver && isRedirectHandling) {\n dispatch(setIsUrlRewritesLoading(true));\n } else {\n dispatch(updateUrlRewrite(urlResolver || { notFound: true }, urlParam));\n dispatch(updateNoMatch(!urlResolver));\n }\n }\n}\n\nexport default new UrlRewritesDispatcher();\n","import { showNotification } from 'Store/Notification/Notification.action';\nimport { QueryDispatcher } from 'Util/Request';\n\nimport GoogleTagManagerQuery from '../../query/GoogleTagManager.query';\nimport { updateConfig } from './GoogleTagManager.action';\n\n/** @namespace GtmNew/Store/GoogleTagManager/Dispatcher/GoogleTagManagerDispatcher */\nexport class GoogleTagManagerDispatcher extends QueryDispatcher {\n __construct() {\n super.__construct();\n }\n\n onSuccess({ gtm }, dispatch, options) {\n if (gtm) {\n dispatch(updateConfig({ gtm }));\n }\n }\n\n onError(error, dispatch, options) {\n dispatch(showNotification('error', 'Error fetching GoogleTagManager!', error));\n }\n\n prepareRequest() {\n return GoogleTagManagerQuery.getGTMConfiguration();\n }\n}\n\nexport default new GoogleTagManagerDispatcher();\n","/**\n * @package scandipwa\\globale\n * @author Ramona Cunska \n * @license http://opensource.org/licenses/OSL-3.0 The Open Software License 3.0 (OSL-3.0)\n * @copyright Copyright (c) 2021 Scandiweb, Inc (https://scandiweb.com)\n */\n\nimport { showNotification } from 'Store/Notification/Notification.action';\nimport { fetchQuery } from 'Util/Request';\n\nimport GlobaleQuery from '../../query/Globale.query';\nimport { updateGlobale } from './Globale.action';\n\n/** @namespace Globale/Store/Globale/Dispatcher/GlobaleDispatcher */\nexport class GlobaleDispatcher {\n prepareRequest(dispatch) {\n return fetchQuery(GlobaleQuery.getGlobaleConfigQuery())\n .then(\n /** @namespace Globale/Store/Globale/Dispatcher/fetchQuery/then */\n (data) => {\n const {\n globaleConfig: {\n enabled: isEnabled,\n init_js: initJs,\n custom_css: customCss,\n country_code: countryCode,\n currency_code: currencyCode,\n international: isInternational\n }\n } = data;\n\n dispatch(updateGlobale({\n isEnabled,\n initJs,\n customCss,\n countryCode,\n currencyCode,\n isInternational\n }));\n },\n /** @namespace Globale/Store/Globale/Dispatcher/fetchQuery/then */\n () => {\n dispatch(updateGlobale({\n isInternational: false\n }));\n dispatch(showNotification('error', __('Error initializing Global-E!')));\n }\n );\n }\n\n setGlobaleAsInitialized(dispatch) {\n dispatch(updateGlobale({\n isInitialized: true\n }));\n }\n}\n\nexport default new GlobaleDispatcher();\n","/**\n * ScandiPWA - Progressive Web App for Magento\n *\n * Copyright © Scandiweb, Inc. All rights reserved.\n * See LICENSE for license details.\n *\n * @license OSL-3.0 (Open Software License (\"OSL\") v. 3.0)\n * @package scandipwa/base-theme\n * @link https://github.com/scandipwa/base-theme\n */\n\nimport ProductListQuery from 'Query/ProductList.query';\nimport { updateLinkedProducts } from 'Store/LinkedProducts/LinkedProducts.action';\nimport { showNotification } from 'Store/Notification/Notification.action';\nimport BrowserDatabase from 'Util/BrowserDatabase';\nimport { getIndexedProduct } from 'Util/Product';\nimport { fetchQuery, QueryDispatcher } from 'Util/Request';\nimport { ONE_MONTH_IN_SECONDS } from 'Util/Request/QueryDispatcher';\n\nexport const LINKED_PRODUCTS = 'LINKED_PRODUCTS';\n\n/**\n * Linked Prodcts List Dispatcher\n * @class LinkedProductsDispatcher\n * @extends QueryDispatcher\n * @namespace Store/LinkedProducts/Dispatcher\n */\nexport class LinkedProductsDispatcher extends QueryDispatcher {\n __construct() {\n super.__construct('LinkedProducts', ONE_MONTH_IN_SECONDS);\n }\n\n onSuccess(data, dispatch, product_links) {\n const linkedProducts = this._processResponse(data, product_links);\n\n BrowserDatabase.setItem(linkedProducts, LINKED_PRODUCTS);\n dispatch(updateLinkedProducts(linkedProducts));\n }\n\n onError(error, dispatch) {\n dispatch(showNotification('error', __('Error fetching LinkedProducts!'), error));\n }\n\n /**\n * Prepare LinkedProducts query\n * @return {Query} ProductList query\n * @memberof LinkedProductsDispatcher\n * @param product_links\n */\n prepareRequest(product_links) {\n const relatedSKUs = product_links.reduce((links, link) => {\n const { linked_product_sku } = link;\n\n return [...links, `${ linked_product_sku.replace(/ /g, '%20') }`];\n }, []);\n\n return [\n ProductListQuery.getQuery({\n args: {\n filter: {\n productsSkuArray: relatedSKUs\n }\n },\n notRequireInfo: true\n })\n ];\n }\n\n /**\n * Clear linked products list\n * @param {{productsSkuArray: Array}} options A object containing different aspects of query, each item can be omitted\n * @return {Query} ProductList query\n * @memberof LinkedProductsDispatcher\n */\n clearLinkedProducts(dispatch, updateCrossSell = false) {\n const linkedProducts = {\n upsell: { total_count: 0, items: [] },\n related: { total_count: 0, items: [] },\n crosssell: { total_count: 0, items: [] }\n };\n\n BrowserDatabase.setItem(linkedProducts, LINKED_PRODUCTS);\n\n dispatch(updateLinkedProducts({\n ...linkedProducts,\n updateCrossSell\n }));\n }\n\n async fetchCrossSellProducts(dispatch, product_links) {\n const query = this.prepareRequest(product_links);\n const data = await fetchQuery(query);\n const { crosssell } = this._processResponse(data, product_links);\n const linkedProducts = BrowserDatabase.getItem(LINKED_PRODUCTS) || {};\n\n Object.assign(linkedProducts, {\n crosssell,\n updateCrossSell: true\n });\n\n dispatch(updateLinkedProducts(linkedProducts));\n }\n\n clearCrossSellProducts(dispatch) {\n const linkedProducts = BrowserDatabase.getItem(LINKED_PRODUCTS) || {};\n\n Object.assign(linkedProducts, {\n crosssell: { total_count: 0, items: [] },\n updateCrossSell: true\n });\n\n dispatch(updateLinkedProducts(linkedProducts));\n }\n\n _processResponse(data, product_links) {\n const { products: { items } } = data;\n\n const indexedBySku = items.reduce((acc, item) => {\n const { sku } = item;\n acc[sku] = getIndexedProduct(item);\n\n return acc;\n }, {});\n\n const linkedProducts = product_links.reduce((acc, link) => {\n const { linked_product_sku, link_type } = link;\n\n if (indexedBySku[linked_product_sku] && acc[link_type]) {\n acc[link_type].items.push(\n indexedBySku[linked_product_sku]\n );\n\n acc[link_type].total_count++;\n }\n\n return acc;\n }, {\n upsell: { total_count: 0, items: [] },\n related: { total_count: 0, items: [] },\n crosssell: { total_count: 0, items: [] },\n associated: { total_count: 0, items: [] }\n });\n\n return linkedProducts;\n }\n}\n\nexport default new LinkedProductsDispatcher();\n","/**\n * @category BeautyWorks\n * @author Scandiweb \n * @license http://opensource.org/licenses/OSL-3.0 The Open Software License 3.0 (OSL-3.0)\n * @copyright Copyright (c) 2022 Scandiweb, Inc (https://scandiweb.com)\n */\n\nimport {\n ProductListInfoDispatcher as SourceProductListInfoDispatcher\n} from 'SourceStore/ProductListInfo/ProductListInfo.dispatcher';\nimport { updateResultStatus } from 'Store/ProductList/ProductList.action';\nimport {\n updateProductListInfo\n} from 'Store/ProductListInfo/ProductListInfo.action';\n\n/**\n * Product List Info Dispatcher\n * @class ProductListInfoDispatcher\n * @extends QueryDispatcher\n * @namespace Scandipwa/Store/ProductListInfo/Dispatcher/ProductListInfoDispatcher\n */\nexport class ProductListInfoDispatcher extends SourceProductListInfoDispatcher {\n onSuccess({ products }, dispatch, options) {\n const {\n args: {\n filter\n }\n } = options;\n\n dispatch(updateProductListInfo(products, filter));\n dispatch(updateResultStatus(true));\n }\n}\n\nexport default new ProductListInfoDispatcher();\n","/**\n * ScandiPWA - Progressive Web App for Magento\n *\n * Copyright © Scandiweb, Inc. All rights reserved.\n * See LICENSE for license details.\n *\n * @license OSL-3.0 (Open Software License (\"OSL\") v. 3.0)\n * @package scandipwa/base-theme\n * @link https://github.com/scandipwa/base-theme\n */\n\nexport const UPDATE_LINKED_PRODUCTS = 'UPDATE_LINKED_PRODUCTS';\n/**\n * Update upsell products list (rewrite if already exists).\n * @param {Array} upsell List of products returned from fetch\n * @return {void}\n * @namespace Store/LinkedProducts/Action/updateLinkedProducts\n */\nexport const updateLinkedProducts = (linkedProducts) => ({\n type: UPDATE_LINKED_PRODUCTS,\n linkedProducts\n});\n","/**\n * ScandiPWA - Progressive Web App for Magento\n *\n * Copyright © Scandiweb, Inc. All rights reserved.\n * See LICENSE for license details.\n *\n * @license OSL-3.0 (Open Software License (\"OSL\") v. 3.0)\n * @package scandipwa/base-theme\n * @link https://github.com/scandipwa/base-theme\n */\n\nexport const UPDATE_CURRENT_CATEGORY = 'UPDATE_CURRENT_CATEGORY';\n\n/**\n * Update Current Category\n * @param {String} categoryUrlPath url path Main Category object\n * @return {void}\n * @namespace Store/Category/Action/updateCurrentCategory\n */\nexport const updateCurrentCategory = (category) => ({\n type: UPDATE_CURRENT_CATEGORY,\n category\n});\n","/**\n * @category BeautyWorks\n * @author Scandiweb \n * @license http://opensource.org/licenses/OSL-3.0 The Open Software License 3.0 (OSL-3.0)\n * @copyright Copyright (c) 2022 Scandiweb, Inc (https://scandiweb.com)\n */\n\nimport {\n LINKED_PRODUCTS,\n LinkedProductsDispatcher as SourceLinkedProductsDispatcher\n} from 'SourceStore/LinkedProducts/LinkedProducts.dispatcher';\nimport { showNotification } from 'Store/Notification/Notification.action';\n\nexport { LINKED_PRODUCTS };\n\n/** @namespace Scandipwa/Store/LinkedProducts/Dispatcher/LinkedProductsDispatcher */\nexport class LinkedProductsDispatcher extends SourceLinkedProductsDispatcher {\n onError(error, dispatch) {\n dispatch(showNotification('error', __('Error fetching Linked Products!'), error));\n }\n}\n\nexport default new LinkedProductsDispatcher();\n","/**\n * ScandiPWA - Progressive Web App for Magento\n *\n * Copyright © Scandiweb, Inc. All rights reserved.\n * See LICENSE for license details.\n *\n * @license OSL-3.0 (Open Software License (\"OSL\") v. 3.0)\n * @package scandipwa/base-theme\n * @link https://github.com/scandipwa/base-theme\n */\n\nimport ProductListQuery from 'Query/ProductList.query';\nimport { updateNoMatch } from 'Store/NoMatch/NoMatch.action';\nimport { showNotification } from 'Store/Notification/Notification.action';\nimport {\n updateInfoLoadStatus,\n updateProductListInfo\n} from 'Store/ProductListInfo/ProductListInfo.action';\nimport { QueryDispatcher } from 'Util/Request';\n\n/**\n * Product List Info Dispatcher\n * @class ProductListInfoDispatcher\n * @extends QueryDispatcher\n * @namespace Store/ProductListInfo/Dispatcher\n */\nexport class ProductListInfoDispatcher extends QueryDispatcher {\n __construct() {\n super.__construct('ProductListInfo');\n }\n\n onSuccess({ products }, dispatch, options) {\n const {\n args: {\n filter\n }\n } = options;\n\n dispatch(updateProductListInfo(products, filter));\n }\n\n onError(error, dispatch) {\n dispatch(showNotification('error', __('Error fetching Product List Information!'), error));\n dispatch(updateNoMatch(true));\n }\n\n prepareRequest(options, dispatch) {\n dispatch(updateInfoLoadStatus(true));\n\n return ProductListQuery.getQuery({\n ...options,\n requireInfo: true\n });\n }\n}\n\nexport default new ProductListInfoDispatcher();\n","/**\n * ScandiPWA - Progressive Web App for Magento\n *\n * Copyright © Scandiweb, Inc. All rights reserved.\n * See LICENSE for license details.\n *\n * @license OSL-3.0 (Open Software License (\"OSL\") v. 3.0)\n * @package scandipwa/base-theme\n * @link https://github.com/scandipwa/base-theme\n */\n\nexport const UPDATE_PRODUCT_DETAILS = 'UPDATE_PRODUCT_DETAILS';\n\n/**\n * Update product list with new list (rewrite if already exists).\n * @param {Array} items List of products returned from fetch\n * @param {Number} totalItems Total number of products in this filter\n * @return {void}\n * @namespace Store/Product/Action/updateProductDetails\n */\nexport const updateProductDetails = (product) => ({\n type: UPDATE_PRODUCT_DETAILS,\n product\n});\n","/**\n * ScandiPWA - Progressive Web App for Magento\n *\n * Copyright © Scandiweb, Inc. All rights reserved.\n * See LICENSE for license details.\n *\n * @license OSL-3.0 (Open Software License (\"OSL\") v. 3.0)\n * @package scandipwa/base-theme\n * @link https://github.com/scandipwa/base-theme\n */\n\nimport { Field } from 'Util/Query';\n\n/** @namespace Blog/Query/BlogPosts/Query/BlogPostsQuery */\nexport class BlogPostsQuery {\n getQuery(options) {\n const { isCard = false, isCardExtended = false } = options;\n const items = isCard ? this.getFieldsForCard(isCardExtended) : this.itemField(options);\n const page = this.pageField();\n\n const {\n filter,\n sort,\n allPosts\n } = options;\n\n const defaultOptions = {\n pageSize: 10,\n currentPage: 1\n };\n\n const modifiedOptions = { ...defaultOptions, ...options };\n\n const field = new Field('blogPosts')\n .addArgument('pageSize', 'Int', modifiedOptions.pageSize)\n .addArgument('currentPage', 'Int', modifiedOptions.currentPage)\n .addField(items)\n .addFieldList(page)\n .setAlias('posts');\n\n field.addArgument('sort', '[String]', sort ?? this.getDefaultSort());\n\n if (filter) {\n field.addArgument('filter', 'BlogPostsFilterInput', filter);\n }\n\n if (allPosts) {\n field.addArgument('allPosts', 'Boolean', allPosts);\n }\n\n return field;\n }\n\n getDefaultSort() {\n return ['DESC'];\n }\n\n getFieldsForCard(isExtended) {\n const fields = [\n 'identifier',\n 'featured_image',\n 'first_image',\n 'title'\n ];\n\n if (isExtended) {\n const author = this.authorField();\n const categories = this.getCategoriesField();\n fields.push(author, categories, 'publish_time');\n }\n\n return new Field('items').addFieldList(fields);\n }\n\n itemField(options) {\n const {\n getBasicDetails = true,\n getDescription,\n getMedia\n } = options;\n\n const fields = [];\n\n if (getBasicDetails) {\n fields.push(\n 'featured_video_url',\n 'post_id',\n 'identifier',\n 'title',\n 'publish_time',\n this.getCategoriesField(),\n ...this.metaFields()\n );\n }\n\n if (getDescription) {\n const author = this.authorField();\n\n fields.push('short_content', author, 'content');\n }\n\n if (getMedia) {\n fields.push('og_image', 'first_image', 'media_gallery');\n }\n\n return new Field('items').addFieldList(fields);\n }\n\n getCategoriesField() {\n return new Field('categories').addFieldList(['identifier', 'title']);\n }\n\n pageField() {\n return ['total_count', 'total_pages'];\n }\n\n authorField() {\n return new Field('author').addField('name');\n }\n\n metaFields() {\n return ['meta_title', 'meta_description', 'meta_keywords'];\n }\n}\n\nexport default new BlogPostsQuery();\n","/**\n * @category BeautyWorks\n * @author Dmitrijs Tarasovs \n * @license http://opensource.org/licenses/OSL-3.0 The Open Software License 3.0 (OSL-3.0)\n * @copyright Copyright (c) 2021 Scandiweb, Inc (https://scandiweb.com)\n */\n\nimport ProductListQuery from 'Query/ProductList.query';\nimport { WishlistQuery as SourceWishlistQuery } from 'SourceQuery/Wishlist.query';\nimport { Field } from 'Util/Query';\n\n/** @namespace Scandipwa/Query/Wishlist/Query/WishlistQuery */\nexport class WishlistQuery extends SourceWishlistQuery {\n _getProductField() {\n ProductListQuery.options.isForWishlist = true;\n\n const product = new Field('product')\n .addFieldList(ProductListQuery._getProductInterfaceFields(false, true, true));\n\n ProductListQuery.options.isForWishlist = false;\n\n return product;\n }\n}\n\nexport default new WishlistQuery();\n","/* eslint-disable spaced-comment */\n/**\n * ScandiPWA - Progressive Web App for Magento\n *\n * Copyright © Scandiweb, Inc. All rights reserved.\n * See LICENSE for license details.\n *\n * @license OSL-3.0 (Open Software License (\"OSL\") v. 3.0)\n * @package scandipwa/base-theme\n * @link https://github.com/scandipwa/base-theme\n */\n\nimport ProductListQuery from 'Query/ProductList.query';\nimport { isSignedIn } from 'Util/Auth';\nimport { getGuestQuoteId } from 'Util/Cart';\nimport { Field } from 'Util/Query';\n\n/** @namespace Query/Wishlist/Query */\nexport class WishlistQuery {\n //#region MUTATION\n addProductsToWishlist(wishlistId, wishlistItems) {\n return new Field('addProductsToWishlist')\n .addArgument('wishlistId', 'ID!', wishlistId)\n .addArgument('wishlistItems', '[WishlistItemInput!]!', wishlistItems)\n .addField(this._getWishlistErrorsField());\n }\n\n updateProductsInWishlist(wishlistId, wishlistItems) {\n return new Field('updateProductsInWishlist')\n .addArgument('wishlistId', 'ID!', wishlistId)\n .addArgument('wishlistItems', '[WishlistItemUpdateInput!]!', wishlistItems)\n .addField(this._getWishlistErrorsField());\n }\n //#endregion\n\n //#region ERROR\n _getWishlistErrorsFields() {\n return [\n 'message',\n 'code'\n ];\n }\n\n _getWishlistErrorsField() {\n return new Field('user_errors')\n .addFieldList(this._getWishlistErrorsFields());\n }\n //#endregion\n\n getWishlistQuery(sharingCode) {\n const field = new Field('s_wishlist')\n .setAlias('wishlist')\n .addFieldList(this._getWishlistFields());\n\n if (sharingCode) {\n field.addArgument('sharing_code', 'ID', sharingCode);\n }\n\n return field;\n }\n\n getShareWishlistMutation(input) {\n return new Field('s_shareWishlist')\n .setAlias('shareWishlist')\n .addArgument('input', 'ShareWishlistInput!', input);\n }\n\n getClearWishlist() {\n return new Field('s_clearWishlist')\n .setAlias('clearWishlist');\n }\n\n getMoveWishlistToCart(sharingCode) {\n const field = new Field('s_moveWishlistToCart')\n .setAlias('moveWishlistToCart');\n\n if (sharingCode) {\n field.addArgument('sharingCode', 'ID', sharingCode);\n\n if (!isSignedIn()) {\n const guestQuoteId = getGuestQuoteId();\n field.addArgument('guestCartId', 'ID', guestQuoteId);\n }\n }\n\n return field;\n }\n\n getRemoveProductFromWishlistMutation(item_id) {\n return new Field('s_removeProductFromWishlist')\n .setAlias('removeProductFromWishlist')\n .addArgument('itemId', 'ID!', item_id);\n }\n\n _getWishlistFields() {\n return [\n 'id',\n 'updated_at',\n 'items_count',\n 'creators_name',\n this._getItemsField()\n ];\n }\n\n _getItemOptionsFields() {\n return [\n 'label',\n 'value'\n ];\n }\n\n _getItemOptionsField() {\n return new Field('options')\n .addFieldList(this._getItemOptionsFields());\n }\n\n _getWishlistItemsFields() {\n return [\n 'id',\n 'sku',\n 'qty',\n 'description',\n 'price',\n 'price_without_tax',\n 'buy_request',\n this._getItemOptionsField()\n ];\n }\n\n _getItemsFields() {\n return [\n ...this._getWishlistItemsFields(),\n this._getProductField()\n ];\n }\n\n _getProductField() {\n return new Field('product')\n .addFieldList(ProductListQuery._getProductInterfaceFields());\n }\n\n _getItemsField() {\n return new Field('items')\n .addFieldList(this._getItemsFields());\n }\n}\n\nexport default new WishlistQuery();\n","/**\n * ScandiPWA - Progressive Web App for Magento\n *\n * Copyright © Scandiweb, Inc. All rights reserved.\n * See LICENSE for license details.\n *\n * @license OSL-3.0 (Open Software License (\"OSL\") v. 3.0)\n * @package scandipwa/base-theme\n * @link https://github.com/scandipwa/base-theme\n */\n\nimport { Field } from 'Util/Query';\n\n/**\n * Order Query\n * @class OrderQuery\n * @namespace Query/Order/Query */\nexport class OrderQuery {\n getReorder(incrementId) {\n return new Field('reorderItems')\n .addArgument('orderNumber', 'String!', incrementId)\n .addField(this._getReorderField());\n }\n\n getSubscribeToOrderStatus(incrementId) {\n return new Field('subscribeToOrderStatus')\n .addArgument('orderNumber', 'String!', incrementId)\n .addFieldList(this._getSubscribeToOrderStatusOutputFields());\n }\n\n getOrderListQuery(options) {\n return new Field('customer')\n .addFieldList(this._getOrderListFields(options));\n }\n\n _getOrderListFields(options) {\n return [\n this._getOrdersField(options)\n ];\n }\n\n _getOrdersField(options) {\n const { orderId, page = 1 } = options || {};\n const ordersField = new Field('orders');\n\n if (orderId) {\n return ordersField\n .addArgument('filter', 'CustomerOrdersFilterInput', { entity_id: { eq: orderId } })\n .addFieldList(this._getOrdersFields(true));\n }\n\n return ordersField\n .addArgument('currentPage', 'Int', page)\n .addFieldList(this._getOrdersFields());\n }\n\n _getOrdersFields(isSingleOrder = false) {\n return [\n 'total_count',\n this._getOrderItemsField(isSingleOrder),\n this._getSearchResultPageInfoField()\n ];\n }\n\n _getSearchResultPageInfoField() {\n return new Field('page_info')\n .addFieldList(this._getSearchResultPageInfoFields());\n }\n\n _getSearchResultPageInfoFields() {\n return [\n 'current_page',\n 'page_size',\n 'total_pages'\n ];\n }\n\n _getOrderItemsField(isSingleOrder) {\n return new Field('items')\n .addFieldList(this._getOrderItemsFields(isSingleOrder));\n }\n\n _getOrderItemsFields(isSingleOrder) {\n const basicFields = [\n 'id',\n 'increment_id',\n 'order_date',\n 'status',\n 'can_reorder',\n 'rss_link',\n this._getOrderItemTotalField()\n ];\n\n if (isSingleOrder) {\n return [...basicFields, ...this._getSingleOrderFields()];\n }\n\n return basicFields;\n }\n\n _getSingleOrderFields() {\n return [\n 'carrier',\n this._getOrderShipmentsField(),\n this._getOrderItemsProductsField(),\n this._getOrderInvoicesField(),\n this._getOrderRefundsField(),\n this._getOrderShippingAddressField(),\n this._getOrderBillingAddressField(),\n this._getOrderPaymentMethodsField(),\n this._getOrderShippingMethodField()\n ];\n }\n\n _getOrderItemTotalField() {\n return new Field('total')\n .addFieldList(this._getOrderItemTotalFields());\n }\n\n _getOrderItemTotalFields() {\n return [\n this._getOrderGrandTotalField(),\n this._getOrderDiscountsField(),\n this._getOrderBaseGrantTotalField(),\n this._getOrderSubtotalField(),\n this._getOrderTotalShippingField(),\n this._getOrderTotalTaxField(),\n this._getOrderShippingHandlingField(),\n this._getOrderTaxesField()\n ];\n }\n\n _getOrderTaxesField() {\n return new Field('taxes')\n .addFieldList(this._getOrderTaxesFields());\n }\n\n _getOrderTaxesFields() {\n return [\n 'rate',\n 'title',\n this._getOrderAmountField()\n ];\n }\n\n _getOrderShippingHandlingField() {\n return new Field('shipping_handling')\n .addFieldList(this._getOrderShippingHandlingFields());\n }\n\n _getOrderShippingHandlingFields() {\n return [\n this._getOrderShippingAmountExclTaxField(),\n this._getOrderShippingAmountInclTaxField(),\n this._getOrderShippingDiscountsField(),\n this._getOrderShippingHandlingTotalField(),\n this._getOrderTaxesField()\n ];\n }\n\n _getOrderShippingDiscountsField() {\n return new Field('discounts')\n .addFieldList(this._getOrderShippingDiscountsFields());\n }\n\n _getOrderShippingDiscountsFields() {\n return [\n this._getOrderAmountField()\n ];\n }\n\n _getOrderShippingAmountExclTaxField() {\n return new Field('amount_excluding_tax')\n .addFieldList(this._getOrderPriceFields());\n }\n\n _getOrderShippingAmountInclTaxField() {\n return new Field('amount_including_tax')\n .addFieldList(this._getOrderPriceFields());\n }\n\n _getOrderShippingHandlingTotalField() {\n return new Field('total_amount')\n .addFieldList(this._getOrderPriceFields());\n }\n\n _getOrderTotalTaxField() {\n return new Field('total_tax')\n .addFieldList(this._getOrderPriceFields());\n }\n\n _getOrderTotalShippingField() {\n return new Field('total_shipping')\n .addFieldList(this._getOrderPriceFields());\n }\n\n _getOrderBaseGrantTotalField() {\n return new Field('base_grand_total')\n .addFieldList(this._getOrderPriceFields());\n }\n\n _getOrderSubtotalField() {\n return new Field('subtotal')\n .addFieldList(this._getOrderPriceFields());\n }\n\n _getOrderGrandTotalField() {\n return new Field('grand_total')\n .addFieldList(this._getOrderPriceFields());\n }\n\n _getOrderPriceFields() {\n return [\n 'value',\n 'currency'\n ];\n }\n\n _getOrderShipmentsField() {\n return new Field('shipments')\n .addFieldList(this._getOrderShipmentsFields());\n }\n\n _getOrderShipmentsFields() {\n return [\n 'id',\n 'number',\n this._getOrderShipmentTrackingField(),\n this._getShipmentsItemsProductsField()\n ];\n }\n\n _getShipmentsItemsProductsField() {\n return new Field('items')\n .addFieldList(this._getShipmentsItemsProductsFields());\n }\n\n _getShipmentsItemsProductsFields() {\n return [\n 'quantity_shipped',\n ...this._getBaseOrderItemProductsFields()\n ];\n }\n\n _getOrderShipmentTrackingField() {\n return new Field('tracking')\n .addFieldList(this._getOrderShipmentTrackingFields());\n }\n\n _getOrderShipmentTrackingFields() {\n return [\n 'carrier',\n 'number',\n 'title'\n ];\n }\n\n _getOrderRefundsField() {\n return new Field('credit_memos')\n .addFieldList(this._getOrderRefundsFields());\n }\n\n _getOrderRefundsFields() {\n return [\n 'id',\n 'number',\n this._getRefundsItemsProductsField(),\n this._getOrderItemTotalField()\n ];\n }\n\n _getOrderDiscountsField() {\n return new Field('discounts')\n .addFieldList(this._getOrderDiscountsFields());\n }\n\n _getOrderDiscountsFields() {\n return [\n 'label',\n this._getOrderAmountField()\n ];\n }\n\n _getOrderAmountField() {\n return new Field('amount')\n .addFieldList(this._getOrderPriceFields());\n }\n\n _getRefundsItemsProductsField() {\n return new Field('items')\n .addFieldList(this._getRefundsItemsProductsFields());\n }\n\n _getRefundsItemsProductsFields() {\n return [\n 'quantity_refunded',\n ...this._getBaseOrderItemProductsFields(),\n this._getRefundsItemInformationField(),\n this._getOrderProductRowSubtotalField(),\n this._getOrderDiscountsField()\n ];\n }\n\n _getRefundsItemInformationField() {\n return new Field('order_item')\n .addFieldList(this._getOrderItemProductsFields());\n }\n\n _getOrderInvoicesField() {\n return new Field('invoices')\n .addFieldList(this._getOrderInvoicesFields());\n }\n\n _getOrderInvoicesFields() {\n return [\n 'id',\n 'number',\n this._getInvoiceItemsProductsField(),\n this._getOrderItemTotalField()\n ];\n }\n\n _getInvoiceItemsProductsField() {\n return new Field('items')\n .addFieldList(this._getInvoiceItemProductsFields());\n }\n\n _getInvoiceItemProductsFields() {\n return [\n 'quantity_invoiced',\n this._getOrderProductRowSubtotalField(),\n ...this._getBaseOrderItemProductsFields()\n ];\n }\n\n _getOrderItemsProductsField() {\n return new Field('items')\n .addFieldList(this._getOrderItemProductsFields());\n }\n\n _getOrderItemProductsFields() {\n return [\n 'product_url_key',\n 'quantity_ordered',\n 'quantity_shipped',\n 'quantity_refunded',\n 'quantity_canceled',\n this._getOrderProductEnteredOptionsField(),\n this._getOrderProductSelectedOptionsField(),\n this._getOrderProductRowSubtotalField(),\n ...this._getBaseOrderItemProductsFields()\n ];\n }\n\n _getBaseOrderItemProductsFields() {\n return [\n 'product_name',\n 'product_sku',\n this._getOrderProductSalePriceField()\n ];\n }\n\n _getOrderProductRowSubtotalField() {\n return new Field('row_subtotal')\n .addFieldList(this._getOrderPriceFields());\n }\n\n _getOrderProductRowSubtotalInclTaxField() {\n return new Field('row_subtotal_incl_tax')\n .addFieldList(this._getOrderPriceFields());\n }\n\n _getOrderProductEnteredOptionsField() {\n return new Field('entered_options')\n .addFieldList(this._getOrderProductOptionsFields());\n }\n\n _getOrderProductSelectedOptionsField() {\n return new Field('selected_options')\n .addFieldList(this._getOrderProductOptionsFields());\n }\n\n _getOrderProductOptionsFields() {\n return [\n 'label',\n 'value',\n this._getOrderProductBundleOptionItemsField(),\n 'linkItems'\n ];\n }\n\n _getOrderProductBundleOptionItemsField() {\n return new Field('items')\n .addFieldList(this._getOrderProductBundleOptionItemsFields());\n }\n\n _getOrderProductBundleOptionItemsFields() {\n return [\n 'title',\n 'qty',\n 'price'\n ];\n }\n\n _getOrderProductSalePriceField() {\n return new Field('product_sale_price')\n .addFieldList(this._getOrderPriceFields());\n }\n\n _getReorderField() {\n return new Field('userInputErrors')\n .addFieldList(this._getReorderFields());\n }\n\n _getReorderFields() {\n return [\n 'code',\n 'message',\n 'path'\n ];\n }\n\n _getOrderShippingAddressField() {\n return new Field('shipping_address')\n .addFieldList(this._getOrderAddressFields());\n }\n\n _getOrderBillingAddressField() {\n return new Field('billing_address')\n .addFieldList(this._getOrderAddressFields());\n }\n\n _getOrderAddressFields() {\n return [\n 'city',\n 'country_id',\n 'firstname',\n 'lastname',\n 'postcode',\n 'region',\n 'region_id',\n 'telephone',\n 'vat_id',\n this._getOrderAddressStreetField()\n ];\n }\n\n _getOrderAddressStreetField() {\n return new Field('street');\n }\n\n _getOrderPaymentMethodsField() {\n return new Field('payment_methods')\n .addFieldList(this._getOrderPaymentMethodsFields());\n }\n\n _getOrderPaymentMethodsFields() {\n return [\n 'name',\n 'type',\n 'purchase_number',\n this._getOrderPaymentMethodAdditionalField()\n ];\n }\n\n _getOrderPaymentMethodAdditionalField() {\n return new Field('additional_data')\n .addFieldList(this._getOrderPaymentMethodAdditionalFields());\n }\n\n _getOrderPaymentMethodAdditionalFields() {\n return [\n 'name',\n 'value'\n ];\n }\n\n _getOrderShippingMethodField() {\n return new Field('shipping_method');\n }\n\n getDownloadableQuery() {\n return new Field('customerDownloadableProducts')\n .addField(this._getDownloadableField());\n }\n\n getOrderByIdQuery(orderId) {\n return this._getOrderByIdField(orderId);\n }\n\n linkOrderMutation(customerEmail) {\n return new Field('linkOrder')\n .addArgument('customer_email', 'String!', customerEmail);\n }\n\n _getOrderByIdField(orderId) {\n return new Field('Customer')\n .addArgument('id', 'Int!', orderId)\n .addFieldList(this._getOrderItemsFields());\n }\n\n _getDownloadableField() {\n return new Field('items')\n .addFieldList(this._getDownloadableFields());\n }\n\n _getDownloadableFields() {\n return [\n 'order_id',\n 'order_increment_id',\n 'date',\n 'status',\n 'download_url',\n 'link_title',\n 'remaining_downloads',\n 'title'\n ];\n }\n}\n\nexport default new OrderQuery();\n","/**\n * @category BeautyWorks\n * @author Valdis Locs \n * @author Anastasija Zubkova \n * @license http://opensource.org/licenses/OSL-3.0 The Open Software License 3.0 (OSL-3.0)\n * @copyright Copyright (c) 2021 Scandiweb, Inc (https://scandiweb.com)\n */\n\nimport { CategoryQuery as SourceCategoryQuery } from 'SourceQuery/Category.query';\nimport { Field } from 'Util/Query';\n\n/** @namespace Scandipwa/Query/Category/Query/CategoryQuery */\nexport class CategoryQuery extends SourceCategoryQuery {\n _getDefaultFields() {\n return [\n ...super._getDefaultFields(),\n 'available_sort_by',\n 'has_subcategory_slider',\n 'show_shop_all_button',\n 'short_description',\n 'custom_subcategory_list',\n 'seo_category_name',\n 'cms_block_bottom',\n this._getChildrenField()\n ];\n }\n\n _getSecondChildrenFields() {\n return [\n 'id'\n ];\n }\n\n _getChildrenField() {\n return new Field('children')\n .addFieldList(this._getSecondChildrenFields());\n }\n\n getCustomSubcategories(categoryIds) {\n return new Field('customSubcategories')\n .addArgument('categoryIds', 'String!', categoryIds)\n .addField(this.getItemField());\n }\n\n getItemField() {\n return new Field('items').addFieldList(this.getFields());\n }\n\n getFields() {\n return [\n 'url',\n 'name',\n 'image'\n ];\n }\n}\n\nexport default new CategoryQuery();\n","/**\n * ScandiPWA - Progressive Web App for Magento\n *\n * Copyright © Scandiweb, Inc. All rights reserved.\n * See LICENSE for license details.\n *\n * @license OSL-3.0 (Open Software License (\"OSL\") v. 3.0)\n * @package scandipwa/base-theme\n * @link https://github.com/scandipwa/base-theme\n */\n\nimport { Field } from 'Util/Query';\n\n/**\n * Category Query\n * @class CategoryQuery\n * @namespace Query/Category/Query\n */\nexport class CategoryQuery {\n __construct() {\n super.__construct();\n this.options = {};\n }\n\n getQuery(options = {}) {\n this.options = options;\n\n return new Field('category')\n .addArgument(...this._getConditionalArguments())\n .addFieldList(this._getDefaultFields())\n .addField(this._getChildrenFields());\n }\n\n _getConditionalArguments() {\n const { categoryIds } = this.options;\n\n if (categoryIds) {\n return ['id', 'Int!', categoryIds];\n }\n\n throw new Error(__('There was an error requesting the category'));\n }\n\n _getChildrenFields() {\n return new Field('children')\n .addFieldList(this._getDefaultFields());\n }\n\n _getBreadcrumbsField() {\n return new Field('breadcrumbs')\n .addFieldList(this._getBreadcrumbFields());\n }\n\n _getBreadcrumbFields() {\n return [\n 'category_name',\n 'category_level',\n 'category_url',\n 'category_is_active'\n ];\n }\n\n _getCmsBlockFields() {\n return [\n 'content',\n 'disabled',\n 'title',\n 'identifier'\n ];\n }\n\n _getCmsBlockField() {\n return new Field('cms_block')\n .addFieldList(this._getCmsBlockFields());\n }\n\n _getDefaultFields() {\n return [\n 'id',\n 'url',\n 'name',\n 'image',\n 'url_key',\n 'url_path',\n 'is_active',\n 'meta_title',\n 'description',\n 'canonical_url',\n 'product_count',\n 'meta_keywords',\n 'default_sort_by',\n 'meta_description',\n 'landing_page',\n 'display_mode',\n 'is_anchor',\n this._getCmsBlockField(),\n this._getBreadcrumbsField()\n ];\n }\n}\n\nexport default new CategoryQuery();\n","/**\n * @category BeautyWorks\n * @author Dmitrijs Tarasovs \n * @license http://opensource.org/licenses/OSL-3.0 The Open Software License 3.0 (OSL-3.0)\n * @copyright Copyright (c) 2021 Scandiweb, Inc (https://scandiweb.com)\n */\n\nimport { MetaDispatcher as SourceMetaDispatcher } from 'SourceStore/Meta/Meta.dispatcher';\n\n/**\n * Meta Dispatcher\n * @class MetaDispatcher\n * @namespace Scandipwa/Store/Meta/Dispatcher/MetaDispatcher\n */\nexport class MetaDispatcher extends SourceMetaDispatcher {\n /**\n * Get meta for product\n * @param {Object} product\n * @return {Object} Meta object\n * @memberof MetaDispatcher\n */\n _getProductMeta(product) {\n const {\n meta_description,\n short_description: { html = '' } = {}\n } = product;\n\n return {\n ...super._getProductMeta(product),\n description: meta_description || html.replace(/(<([^>]+)>)/gi, '')\n };\n }\n\n /**\n * Get meta for category\n * @param {Object} category\n * @return {Object} Meta object\n * @memberof MetaDispatcher\n */\n _getCategoryMeta(category) {\n const {\n name,\n breadcrumbs = [],\n meta_title\n } = category;\n\n return {\n ...super._getCategoryMeta(category),\n title: meta_title || this.generateCategoryMetaTitle(name, breadcrumbs)\n };\n }\n\n generateCategoryMetaTitle(name, breadcrumbs) {\n const categoryNames = [\n name,\n ...(breadcrumbs || []).reverse().map(({ category_name }) => category_name)\n ];\n\n return categoryNames.join(' - ');\n }\n}\n\nexport default new MetaDispatcher();\n","/**\n * @category BeautyWorks\n * @author Kirill Don-Shinaiko \n * @license http://opensource.org/licenses/OSL-3.0 The Open Software License 3.0 (OSL-3.0)\n * @copyright Copyright (c) 2022 Scandiweb, Inc (https://scandiweb.com)\n */\n\nimport { ContactFormQuery as SourceContactFormQuery } from 'SourceQuery/ContactForm.query';\nimport { removeKeyFromObject } from 'Util/Manipulations';\n\nexport const G_RECAPTCHA_RESPONSE = 'g-recaptcha-response';\n\n/** @namespace Scandipwa/Query/ContactForm/Query/ContactFormQuery */\nexport class ContactFormQuery extends SourceContactFormQuery {\n _addSendContactFormMutationArguments(mutation, options) {\n const sanitizedOptions = removeKeyFromObject(options, G_RECAPTCHA_RESPONSE);\n\n super._addSendContactFormMutationArguments(mutation, sanitizedOptions);\n }\n}\n\nexport default new ContactFormQuery();\n","/**\n * ScandiPWA - Progressive Web App for Magento\n *\n * Copyright © Scandiweb, Inc. All rights reserved.\n * See LICENSE for license details.\n *\n * @license OSL-3.0 (Open Software License (\"OSL\") v. 3.0)\n * @package scandipwa/base-theme\n * @link https://github.com/scandipwa/base-theme\n */\n\nimport NewsletterSubscriptionQuery from 'Query/NewsletterSubscription.query';\nimport { showNotification } from 'Store/Notification/Notification.action';\nimport { fetchMutation, getErrorMessage } from 'Util/Request';\n\nexport const NOT_ACTIVE = 'NOT_ACTIVE';\n\n/**\n * Product Cart Dispatcher\n * @class NewsletterSubscriptionDispatcher\n * @namespace Store/NewsletterSubscription/Dispatcher\n */\nexport class NewsletterSubscriptionDispatcher {\n subscribeToNewsletter(dispatch, email) {\n return fetchMutation(NewsletterSubscriptionQuery.getSubscribeToNewsletterMutation(email)).then(\n /** @namespace Store/NewsletterSubscription/Dispatcher/NewsletterSubscriptionDispatcher/subscribeToNewsletter/fetchMutation/then */\n ({ subscribeEmailToNewsletter: { status } }) => {\n // `NOT_ACTIVE` response status corresponds to `newsletter_subscription_confirm` magento setting\n const message = status === NOT_ACTIVE\n ? __('Confirmation request has been sent.')\n : __('Thank you for your subscription.');\n\n return dispatch(showNotification('success', message));\n },\n /** @namespace Store/NewsletterSubscription/Dispatcher/NewsletterSubscriptionDispatcher/subscribeToNewsletter/fetchMutation/then/dispatch/catch */\n (error) => dispatch(showNotification('error', getErrorMessage(error)))\n );\n }\n}\n\nexport default new NewsletterSubscriptionDispatcher();\n","/**\n * ScandiPWA - Progressive Web App for Magento\n *\n * Copyright © Scandiweb, Inc. All rights reserved.\n * See LICENSE for license details.\n *\n * @license OSL-3.0 (Open Software License (\"OSL\") v. 3.0)\n * @package scandipwa/base-theme\n * @link https://github.com/scandipwa/base-theme\n */\n\nimport CartQuery from 'Query/Cart.query';\nimport { updateTotals } from 'Store/Cart/Cart.action';\nimport { showNotification } from 'Store/Notification/Notification.action';\nimport { isSignedIn } from 'Util/Auth';\nimport { getGuestQuoteId, setGuestQuoteId } from 'Util/Cart';\nimport { fetchMutation, fetchQuery, getErrorMessage } from 'Util/Request';\n\nexport const LinkedProductsDispatcher = import(\n /* webpackMode: \"lazy\", webpackChunkName: \"dispatchers\" */\n 'Store/LinkedProducts/LinkedProducts.dispatcher'\n);\n\n/**\n * Product Cart Dispatcher\n * @class CartDispatcher\n * @namespace Store/Cart/Dispatcher\n */\nexport class CartDispatcher {\n async updateInitialCartData(dispatch) {\n // Need to get current cart from BE, update cart\n try {\n // ! Get quote token first (local or from the backend) just to make sure it exists\n const quoteId = await this._getGuestQuoteId(dispatch);\n const { cartData = {} } = await fetchQuery(\n CartQuery.getCartQuery(\n quoteId\n )\n );\n\n return this._updateCartData(cartData, dispatch);\n } catch (error) {\n return this.createGuestEmptyCart(dispatch);\n }\n }\n\n async createGuestEmptyCart(dispatch) {\n try {\n const {\n createEmptyCart: quoteId = ''\n } = await fetchMutation(CartQuery.getCreateEmptyCartMutation());\n\n setGuestQuoteId(quoteId);\n this._updateCartData({}, dispatch);\n\n return quoteId;\n } catch (error) {\n dispatch(showNotification('error', getErrorMessage(error)));\n\n return null;\n }\n }\n\n async mergeCarts(sourceCartId, destinationCartId, dispatch) {\n try {\n const {\n mergeCarts: {\n id = ''\n } = {}\n } = await fetchMutation(\n CartQuery.getMergeCartQuery(sourceCartId, destinationCartId)\n );\n\n return id;\n } catch (error) {\n dispatch(showNotification('error', getErrorMessage(error)));\n\n return null;\n }\n }\n\n resetGuestCart(dispatch) {\n return this._updateCartData({}, dispatch);\n }\n\n async changeItemQty(dispatch, options) {\n const { uid, quantity = 1, cartId: originalCartId } = options;\n\n const cartId = !originalCartId ? getGuestQuoteId() : originalCartId;\n\n try {\n if (!cartId) {\n return Promise.reject();\n }\n\n await fetchMutation(\n CartQuery.getUpdateCartItemsMutation({\n cart_id: cartId,\n cart_items: [\n {\n cart_item_uid: uid,\n quantity\n }\n ]\n })\n );\n\n return this.updateInitialCartData(dispatch);\n } catch (error) {\n dispatch(showNotification('error', getErrorMessage(error)));\n\n return Promise.reject();\n }\n }\n\n async addProductToCart(dispatch, options = {}) {\n const { products = [], cartId: userCartId } = options;\n\n const cartId = userCartId || getGuestQuoteId();\n\n if (!Array.isArray(products) || products.length === 0) {\n dispatch(showNotification('error', __('No product data!')));\n return Promise.reject();\n }\n\n try {\n if (!cartId) {\n return Promise.reject();\n }\n\n const { addProductsToCart: { user_errors: errors = [] } = {} } = await fetchMutation(\n CartQuery.getAddProductToCartMutation(cartId, products)\n );\n\n if (Array.isArray(errors) && errors.length > 0) {\n errors.forEach((error) => {\n dispatch(showNotification('error', getErrorMessage(error)));\n });\n\n return Promise.reject();\n }\n\n await this.updateInitialCartData(dispatch);\n dispatch(showNotification('success', __('Product was added to cart!')));\n } catch (error) {\n dispatch(showNotification('error', getErrorMessage(error)));\n return Promise.reject();\n }\n\n return Promise.resolve();\n }\n\n async removeProductFromCart(dispatch, item_id) {\n try {\n const isCustomerSignedIn = isSignedIn();\n const guestQuoteId = !isCustomerSignedIn && getGuestQuoteId();\n\n if (!isCustomerSignedIn && !guestQuoteId) {\n return null;\n }\n\n const { removeCartItem: { cartData = {} } = {} } = await fetchMutation(\n CartQuery.getRemoveCartItemMutation(item_id, guestQuoteId)\n );\n\n this._updateCartData(cartData, dispatch);\n\n return cartData;\n } catch (error) {\n dispatch(showNotification('error', getErrorMessage(error)));\n\n return null;\n }\n }\n\n async applyCouponToCart(dispatch, couponCode) {\n try {\n const isCustomerSignedIn = isSignedIn();\n const guestQuoteId = !isCustomerSignedIn && getGuestQuoteId();\n\n if (!isCustomerSignedIn && !guestQuoteId) {\n return;\n }\n\n const { applyCoupon: { cartData = {} } = {} } = await fetchMutation(\n CartQuery.getApplyCouponMutation(couponCode, guestQuoteId)\n );\n\n this._updateCartData(cartData, dispatch);\n dispatch(showNotification('success', __('Coupon was applied!')));\n } catch (error) {\n dispatch(showNotification('error', getErrorMessage(error)));\n }\n }\n\n async removeCouponFromCart(dispatch) {\n try {\n const isCustomerSignedIn = isSignedIn();\n const guestQuoteId = !isCustomerSignedIn && getGuestQuoteId();\n\n if (!isCustomerSignedIn && !guestQuoteId) {\n return;\n }\n\n const { removeCoupon: { cartData = {} } = {} } = await fetchMutation(\n CartQuery.getRemoveCouponMutation(guestQuoteId)\n );\n\n this._updateCartData(cartData, dispatch);\n dispatch(showNotification('success', __('Coupon was removed!')));\n } catch (error) {\n dispatch(showNotification('error', getErrorMessage(error)));\n }\n }\n\n updateCrossSellProducts(items, dispatch) {\n if (items && items.length) {\n const product_links = items.reduce((links, product) => {\n const { product: { product_links, variants = [] }, sku: variantSku } = product;\n\n const { product_links: childProductLinks } = variants.find(({ sku }) => sku === variantSku) || {};\n\n if (childProductLinks) {\n Object.values(childProductLinks).filter(({ link_type }) => link_type === 'crosssell')\n .map((item) => links.push(item));\n }\n\n if (product_links) {\n Object.values(product_links).filter(({ link_type }) => link_type === 'crosssell')\n .map((item) => links.push(item));\n }\n\n return links;\n }, []);\n\n if (product_links.length !== 0) {\n LinkedProductsDispatcher.then(\n ({ default: dispatcher }) => dispatcher.fetchCrossSellProducts(dispatch, product_links)\n );\n } else {\n LinkedProductsDispatcher.then(\n ({ default: dispatcher }) => dispatcher.clearCrossSellProducts(dispatch)\n );\n }\n } else {\n LinkedProductsDispatcher.then(\n ({ default: dispatcher }) => dispatcher.clearCrossSellProducts(dispatch)\n );\n }\n }\n\n _updateCartData(cartData, dispatch) {\n dispatch(updateTotals(cartData));\n }\n\n /**\n * @param {*} attribute\n * @param {*} product\n */\n _getProductAttribute(attribute, product) {\n const { variants, configurableVariantIndex, [attribute]: attributeValue } = product;\n\n return configurableVariantIndex >= 0\n ? variants[configurableVariantIndex][attribute]\n : attributeValue;\n }\n\n /**\n * Check if it is allowed to add product to cart\n * @param {Object} options Cart options\n * @return {Boolean} Indicates is allowed or not\n * @memberof CartDispatcher\n */\n _canBeAdded(options) {\n if (options.product && options.quantity && (options.product.quantity + options.quantity) < 1) {\n return false;\n }\n\n if (options.quantity === 0) {\n return false;\n }\n\n return true;\n }\n\n /**\n * Get quote id. If quote id is missing, fetch it from the BE.\n * @param Dispatch dispatch\n * @return string quote id\n */\n _getGuestQuoteId(dispatch) {\n const guestQuoteId = getGuestQuoteId();\n\n if (guestQuoteId) {\n return guestQuoteId;\n }\n\n return this.createGuestEmptyCart(dispatch);\n }\n}\n\nexport default new CartDispatcher();\n","/**\n * ScandiPWA - Progressive Web App for Magento\n *\n * Copyright © Scandiweb, Inc. All rights reserved.\n * See LICENSE for license details.\n *\n * @license OSL-3.0 (Open Software License (\"OSL\") v. 3.0)\n * @package scandipwa/base-theme\n * @link https://github.com/scandipwa/base-theme\n */\n\nexport const GET_ORDER_LIST = 'GET_ORDER_LIST';\nexport const SET_ORDER_LOADING_STATUS = 'SET_ORDER_LOADING_STATUS';\n\n/** @namespace Store/Order/Action/getOrderList */\nexport const getOrderList = (orderList, status) => ({\n type: GET_ORDER_LIST,\n orderList,\n status\n});\n\n/** @namespace Store/Order/Action/setLoadingStatus */\nexport const setLoadingStatus = (status) => ({\n type: SET_ORDER_LOADING_STATUS,\n status\n});\n","/**\n * ScandiPWA - Progressive Web App for Magento\n *\n * Copyright © Scandiweb, Inc. All rights reserved.\n * See LICENSE for license details.\n *\n * @license OSL-3.0 (Open Software License (\"OSL\") v. 3.0)\n * @package scandipwa/base-theme\n * @link https://github.com/scandipwa/base-theme\n */\n\nimport { Field } from 'Util/Query';\n\n/** @namespace Query/ContactForm/Query */\nexport class ContactFormQuery {\n getSendContactFormMutation(options) {\n const mutation = new Field('contactForm');\n this._addSendContactFormMutationArguments(mutation, options);\n mutation.addFieldList(this._getSendContactFormMutationResponse());\n\n return mutation;\n }\n\n getContactPageConfigQuery() {\n return new Field('contactPageConfig')\n .addFieldList(this._getContactPageConfigFields());\n }\n\n _addSendContactFormMutationArguments(mutation, options) {\n return mutation.addArgument('contact', 'ContactForm!', options);\n }\n\n _getSendContactFormMutationResponse() {\n return ['message'];\n }\n\n _getContactPageConfigFields() {\n return ['enabled'];\n }\n}\n\nexport default new ContactFormQuery();\n","/**\n * ScandiPWA - Progressive Web App for Magento\n *\n * Copyright © Scandiweb, Inc. All rights reserved.\n * See LICENSE for license details.\n *\n * @license OSL-3.0 (Open Software License (\"OSL\") v. 3.0)\n * @package scandipwa/base-theme\n * @link https://github.com/scandipwa/base-theme\n */\n\nimport OrderQuery from 'Query/Order.query';\nimport { showNotification } from 'Store/Notification/Notification.action';\nimport { getOrderList, setLoadingStatus } from 'Store/Order/Order.action';\nimport history from 'Util/History';\nimport { fetchMutation, fetchQuery, getErrorMessage } from 'Util/Request';\nimport { appendWithStoreCode } from 'Util/Url';\n\nexport const CartDispatcher = import(\n /* webpackMode: \"lazy\", webpackChunkName: \"dispatchers\" */\n 'Store/Cart/Cart.dispatcher'\n);\n\n/** @namespace Store/Order/Dispatcher */\nexport class OrderDispatcher {\n requestOrders(dispatch, page = 1) {\n const query = OrderQuery.getOrderListQuery({ page });\n dispatch(setLoadingStatus(true));\n\n return fetchQuery(query).then(\n /** @namespace Store/Order/Dispatcher/OrderDispatcher/requestOrders/fetchQuery/then */\n ({ customer: { orders } }) => {\n dispatch(getOrderList(orders, false));\n },\n /** @namespace Store/Order/Dispatcher/OrderDispatcher/requestOrders/fetchQuery/then/catch */\n (error) => {\n dispatch(showNotification('error', getErrorMessage(error)));\n dispatch(setLoadingStatus(false));\n }\n );\n }\n\n async reorder(dispatch, incrementId) {\n const {\n reorderItems: {\n userInputErrors = []\n } = {}\n } = await this.handleReorderMutation(dispatch, incrementId);\n\n const cartDispatcher = (await CartDispatcher).default;\n cartDispatcher.updateInitialCartData(dispatch);\n\n history.push(appendWithStoreCode('/cart'));\n\n if (userInputErrors.length) {\n userInputErrors.map(({ message }) => dispatch(showNotification('error', message)));\n }\n }\n\n handleReorderMutation(dispatch, incrementId) {\n try {\n return fetchMutation(OrderQuery.getReorder(incrementId));\n } catch (error) {\n return dispatch(showNotification('error', getErrorMessage(error)));\n }\n }\n\n async getOrderById(dispatch, orderId) {\n try {\n const {\n customer: {\n orders: {\n items\n }\n }\n } = await fetchQuery(OrderQuery.getOrderListQuery({ orderId }));\n\n return items[0];\n } catch (error) {\n dispatch(showNotification('error', getErrorMessage(error)));\n\n return null;\n }\n }\n}\n\nexport default new OrderDispatcher();\n","/**\n * ScandiPWA - Progressive Web App for Magento\n *\n * Copyright © Scandiweb, Inc. All rights reserved.\n * See LICENSE for license details.\n *\n * @license OSL-3.0 (Open Software License (\"OSL\") v. 3.0)\n * @package scandipwa/base-theme\n * @link https://github.com/scandipwa/base-theme\n */\n\nimport CategoryQuery from 'Query/Category.query';\nimport { updateCurrentCategory } from 'Store/Category/Category.action';\nimport { updateNoMatch } from 'Store/NoMatch/NoMatch.action';\nimport { showNotification } from 'Store/Notification/Notification.action';\nimport { QueryDispatcher } from 'Util/Request';\n\n/**\n * Category Dispatcher\n * @class CategoryDispatcher\n * @extends QueryDispatcher\n * @namespace Store/Category/Dispatcher\n */\nexport class CategoryDispatcher extends QueryDispatcher {\n __construct() {\n super.__construct('Category');\n }\n\n onSuccess(data, dispatch, { isSearchPage }) {\n const { category = {}, category: { id } } = data;\n\n if (!id && !isSearchPage) {\n dispatch(updateNoMatch(true));\n }\n\n dispatch(updateCurrentCategory(category));\n }\n\n onError(error, dispatch, { isSearchPage }) {\n if (!isSearchPage) {\n dispatch(updateNoMatch(true));\n dispatch(showNotification('error', __('Error fetching Category!'), error));\n } else {\n dispatch(updateCurrentCategory({ id: 'all-products' }));\n }\n }\n\n prepareRequest(options) {\n return CategoryQuery.getQuery(options);\n }\n}\n\nexport default new CategoryDispatcher();\n","/**\n* ScandiPWA - Progressive Web App for Magento\n*\n* Copyright © Scandiweb, Inc. All rights reserved.\n* See LICENSE for license details.\n*\n* @license OSL-3.0 (Open Software License (\"OSL\") v. 3.0)\n* @package scandipwa/base-theme\n* @link https://github.com/scandipwa/base-theme\n*/\n\n/**\n * Updates wishlist item price for option based products\n * @param {Object} product\n * @namespace Util/Wishlist/getPriceRange\n */\nexport const getPriceRange = (product, price, priceWithoutTax) => {\n if (!price) {\n return {};\n }\n\n const {\n price_range: {\n minimum_price: {\n regular_price: { currency }\n }\n }\n } = product;\n\n const priceCurrencyValue = { value: price, currency };\n const priceCurrencyValueExclTax = { value: priceWithoutTax, currency };\n const priceSection = {\n final_price: priceCurrencyValue,\n regular_price: priceCurrencyValue,\n final_price_excl_tax: priceCurrencyValueExclTax,\n regular_price_excl_tax: priceCurrencyValueExclTax\n };\n\n return {\n price_range: {\n minimum_price: priceSection,\n maximum_price: priceSection\n }\n };\n};\n\nexport default getPriceRange;\n","/**\n * ScandiPWA - Progressive Web App for Magento\n *\n * Copyright © Scandiweb, Inc. All rights reserved.\n * See LICENSE for license details.\n *\n * @license OSL-3.0 (Open Software License (\"OSL\") v. 3.0)\n * @package scandipwa/base-theme\n * @link https://github.com/scandipwa/base-theme\n */\n\nimport ReviewQuery from 'Query/Review.query';\nimport { showNotification } from 'Store/Notification/Notification.action';\nimport { fetchMutation } from 'Util/Request';\n\n/**\n * Product Review Dispatcher\n * @class WishlistDispatcher\n * @namespace Store/Review/Dispatcher\n */\nexport class ReviewDispatcher {\n prepareReviewData(reviewItem) {\n const {\n rating_data,\n product_sku,\n detail,\n title,\n nickname\n } = reviewItem;\n\n return {\n nickname,\n sku: product_sku,\n summary: title,\n text: detail,\n ratings: Object.keys(rating_data).map(\n (key) => ({\n id: key,\n value_id: rating_data[key]\n })\n )\n };\n }\n\n async submitProductReview(dispatch, options) {\n await fetchMutation(ReviewQuery.getAddProductReviewMutation(this.prepareReviewData(options)));\n dispatch(showNotification('success', 'You submitted your review for moderation.'));\n }\n}\n\nexport default new ReviewDispatcher();\n","/**\n * ScandiPWA - Progressive Web App for Magento\n *\n * Copyright © Scandiweb, Inc. All rights reserved.\n * See LICENSE for license details.\n *\n * @license OSL-3.0 (Open Software License (\"OSL\") v. 3.0)\n * @package scandipwa/base-theme\n * @link https://github.com/scandipwa/base-theme\n */\n\nimport CheckEmailQuery from 'Query/CheckEmail.query';\nimport { QueryDispatcher } from 'Util/Request';\n\nimport { updateEmailAvailable } from './Checkout.action';\n\n/**\n * Checkout Dispatcher\n * @class CheckoutDispatcher\n * @extends QueryDispatcher\n * @namespace Store/Checkout/Dispatcher\n */\nexport class CheckoutDispatcher extends QueryDispatcher {\n __construct() {\n super.__construct('Checkout');\n }\n\n onSuccess(data, dispatch) {\n const { isEmailAvailable: { is_email_available } } = data;\n dispatch(updateEmailAvailable(is_email_available));\n }\n\n onError(error, dispatch) {\n dispatch(updateEmailAvailable(true));\n\n return error;\n }\n\n prepareRequest(email) {\n return CheckEmailQuery.getIsEmailAvailableQuery(email);\n }\n}\n\nexport default new CheckoutDispatcher();\n","/**\n * @category BeautyWorks\n * @author Scandiweb \n * @license http://opensource.org/licenses/OSL-3.0 The Open Software License 3.0 (OSL-3.0)\n * @copyright Copyright (c) 2022 Scandiweb, Inc (https://scandiweb.com)\n */\n\nimport ProductListQuery from 'Query/ProductList.query';\nimport {\n ProductListDispatcher as SourceProductListDispatcher\n} from 'SourceStore/ProductList/ProductList.dispatcher';\nimport { updateNoMatch } from 'Store/NoMatch/NoMatch.action';\nimport { showNotification } from 'Store/Notification/Notification.action';\nimport {\n appendPage,\n updateLoadStatus,\n updatePageLoadingStatus,\n updateProductListItems,\n updateResultStatus\n} from 'Store/ProductList/ProductList.action';\n\n/**\n * Product List Dispatcher\n * @class ProductListDispatcher\n * @extends QueryDispatcher\n * @namespace Scandipwa/Store/ProductList/Dispatcher/ProductListDispatcher\n */\nexport class ProductListDispatcher extends SourceProductListDispatcher {\n __construct() {\n super.__construct('ProductList');\n }\n\n onSuccess(data, dispatch, options) {\n const {\n products: {\n items,\n total_count,\n page_info: { total_pages } = {}\n } = {}\n } = data;\n\n const { args, isNext } = options;\n const { currentPage } = args;\n\n if (isNext) {\n return dispatch(\n appendPage(\n items,\n currentPage\n )\n );\n }\n\n dispatch(updateResultStatus(false));\n\n return dispatch(\n updateProductListItems(\n items,\n currentPage,\n total_count,\n total_pages,\n args\n )\n );\n }\n\n onError(error, dispatch) {\n dispatch(showNotification('error', __('Error fetching Product List!'), error));\n dispatch(updateNoMatch(true));\n }\n\n prepareRequest(options, dispatch) {\n const { isNext } = options;\n\n if (!isNext) {\n dispatch(updateLoadStatus(true));\n } else {\n dispatch(updatePageLoadingStatus());\n }\n\n return ProductListQuery.getQuery(options);\n }\n}\n\nexport default new ProductListDispatcher();\n","/**\n * ScandiPWA - Progressive Web App for Magento\n *\n * Copyright © Scandiweb, Inc. All rights reserved.\n * See LICENSE for license details.\n *\n * @license OSL-3.0 (Open Software License (\"OSL\") v. 3.0)\n * @package scandipwa/base-theme\n * @link https://github.com/scandipwa/base-theme\n */\n\nimport { toggleBreadcrumbs, updateBreadcrumbs } from 'Store/Breadcrumbs/Breadcrumbs.action';\n\n/**\n * Breadcrumbs Dispatcher\n * @class BreadcrumbsDispatcher\n * @namespace Store/Breadcrumbs/Dispatcher\n */\nexport class BreadcrumbsDispatcher {\n /**\n * Set breadcrumbs\n * @param {Array} breadcrumbs Breadcrumbs array\n * @param {Function} dispatch\n * @memberof BreadcrumbsDispatcher\n */\n update(breadcrumbs, dispatch) {\n dispatch(toggleBreadcrumbs(true));\n dispatch(updateBreadcrumbs(breadcrumbs));\n }\n\n /**\n * Set breadcrumbs for category\n * @param {Array} category Category breadcumbs items\n * @param {Function} dispatch\n * @memberof BreadcrumbsDispatcher\n */\n updateWithCategory(category, dispatch) {\n const breadcrumbs = this._getCategoryBreadcrumbs(category);\n dispatch(toggleBreadcrumbs(true));\n dispatch(updateBreadcrumbs(breadcrumbs));\n }\n\n /**\n * Set breadcrumbs for category\n * @param product\n * @param prevCategoryId\n * @param {Function} dispatch\n * @memberof BreadcrumbsDispatcher\n */\n updateWithProduct(product, prevCategoryId, dispatch) {\n const breadcrumbs = this._getProductBreadcrumbs(product, prevCategoryId);\n dispatch(toggleBreadcrumbs(true));\n dispatch(updateBreadcrumbs(breadcrumbs));\n }\n\n /**\n * Set breadcrumbs for category\n * @param {Array} category Category breadcumbs items\n * @param {Function} dispatch\n * @memberof BreadcrumbsDispatcher\n */\n updateWithCmsPage({ title }, dispatch) {\n const breadcrumbs = title\n ? [\n {\n url: '',\n name: title\n }\n ]\n : [];\n\n dispatch(updateBreadcrumbs(breadcrumbs));\n }\n\n /**\n * Get breadcrumbs for category\n * @param {Object} category Category breadcumbs items\n * @return {Array} Breadcrumbs array\n * @memberof BreadcrumbsDispatcher\n */\n _getCategoryBreadcrumbs(category) {\n const { url, name, breadcrumbs } = category;\n const breadcrumbsList = [];\n\n if (breadcrumbs) {\n breadcrumbs\n .sort((a, b) => a.category_level - b.category_level)\n .forEach((crumb) => {\n const { category_url, category_name, category_is_active } = crumb;\n\n // do not add link to inactive categories\n if (category_is_active) {\n breadcrumbsList.push({\n name: category_name,\n url: {\n pathname: category_url,\n state: { category: true }\n }\n });\n } else {\n breadcrumbsList.push({\n url: '',\n name: category_name\n });\n }\n });\n }\n\n return [\n { url, name },\n ...breadcrumbsList.reverse()\n ];\n }\n\n findCategoryById(categories, categoryId) {\n return categories.find(({ id }) => id === categoryId);\n }\n\n findLongestBreadcrumbs(categories) {\n const { breadcrumbsCategory = {} } = categories.reduce((acc, category) => {\n const { longestBreadcrumbsLength } = acc;\n const { breadcrumbs } = category;\n const breadcrumbsLength = (breadcrumbs || []).length;\n\n if (!breadcrumbsLength && longestBreadcrumbsLength !== 0) {\n return acc;\n }\n\n if (longestBreadcrumbsLength === 0) {\n return { ...acc, breadcrumbsCategory: category };\n }\n\n if (breadcrumbsLength <= longestBreadcrumbsLength) {\n return acc;\n }\n\n return {\n breadcrumbsCategory: category,\n longestBreadcrumbsLength: breadcrumbsLength\n };\n }, {\n breadcrumbsCategory: {},\n longestBreadcrumbsLength: 0\n });\n\n return breadcrumbsCategory;\n }\n\n /**\n * Get breadcrumbs for product\n *\n * @param {Object} product Product breadcumbs items\n * @param prevCategoryId\n * @return {Array} Breadcrumbs array\n * @memberof BreadcrumbsDispatcher\n */\n _getProductBreadcrumbs(product, prevCategoryId = null) {\n const { categories, url, name } = product;\n\n if (!categories) {\n return [];\n }\n\n if (!categories.length) {\n return [{ url, name }];\n }\n\n return [\n { url, name },\n ...this._getCategoryBreadcrumbs(\n this.findCategoryById(categories, prevCategoryId)\n || this.findLongestBreadcrumbs(categories)\n )\n ];\n }\n}\n\nexport default new BreadcrumbsDispatcher();\n","/**\n * @category BeautyWorks\n * @author Reinis Makulis \n * @license http://opensource.org/licenses/OSL-3.0 The Open Software License 3.0 (OSL-3.0)\n * @copyright Copyright (c) 2021 Scandiweb, Inc (https://scandiweb.com)\n */\n\nimport { Field } from 'Util/Query';\n\n/**\n * @class FeaturedBlogPostsQuery\n * @namespace Scandipwa/@Scandipwa/Blog/Query/FeaturedBlogPosts/Query/FeaturedBlogPostsQuery\n */\nexport class FeaturedBlogPostsQuery {\n getFeaturedBlogPostsQuery() {\n return new Field('blogFeaturedPosts')\n .addField(this.getItemField());\n }\n\n getItemField() {\n return new Field('items').addFieldList(this.getFields());\n }\n\n getFields() {\n return [\n 'post_id',\n 'title',\n 'short_content',\n 'featured_video_url'\n ];\n }\n}\n\nexport default new FeaturedBlogPostsQuery();\n","/**\n * @category BeautyWorks\n * @author Abderrahim Kadnaoui \n * @license http://opensource.org/licenses/OSL-3.0 The Open Software License 3.0 (OSL-3.0)\n * @copyright Copyright (c) 2024 Scandiweb, Inc (https://scandiweb.com)\n */\nimport { Field } from 'Util/Query';\n\n/** @namespace PdpSocialshare/Query/SocialShare/Query/SocialShareQuery */\nexport class SocialShareQuery {\n getQuery() {\n return new Field('socialShare')\n .addFieldList([\n 'enabled',\n this._getSocialShareOptions()\n ]);\n }\n\n _getSocialShareOptions() {\n return new Field('options')\n .addFieldList([\n 'facebook',\n 'twitter',\n 'pinterest',\n 'mail',\n 'emailsuffix',\n 'copyLink',\n 'whatsapp'\n ]);\n }\n}\n\nexport default new SocialShareQuery();\n","/**\n * ScandiPWA - Progressive Web App for Magento\n *\n * Copyright © Scandiweb, Inc. All rights reserved.\n * See LICENSE for license details.\n *\n * @license OSL-3.0 (Open Software License (\"OSL\") v. 3.0)\n * @package scandipwa/base-theme\n * @link https://github.com/scandipwa/base-theme\n */\n\nexport * from './Wishlist';\n","/**\n * ScandiPWA - Progressive Web App for Magento\n *\n * Copyright © Scandiweb, Inc. All rights reserved.\n * See LICENSE for license details.\n *\n * @license OSL-3.0 (Open Software License (\"OSL\") v. 3.0)\n * @package scandipwa/base-theme\n * @link https://github.com/scandipwa/base-theme\n */\n\nimport { ProductListQuery } from 'Query/ProductList.query';\nimport { Field } from 'Util/Query';\n\n/** @namespace Query/ProductCompare/Query */\nexport class ProductCompareQuery extends ProductListQuery {\n getCreateEmptyCompareList() {\n return new Field('createCompareList')\n .addArgument('input', 'CreateCompareListInput', {})\n .addFieldList(this._getCompareListFields());\n }\n\n getCreateCompareList(products) {\n return new Field('createCompareList')\n .addArgument('input', 'CreateCompareListInput', { products })\n .addFieldList(this._getCompareListFields());\n }\n\n getDeleteCompareList(uid) {\n return new Field('deleteCompareList')\n .addArgument('uid', 'ID!', uid)\n .addField('result');\n }\n\n getAddProductsToCompareList(uid, products) {\n return new Field('addProductsToCompareList')\n .addArgument('input', 'AddProductsToCompareListInput', { uid, products })\n .addFieldList(this._getCompareListFields());\n }\n\n getRemoveProductsFromCompareList(uid, products) {\n return new Field('removeProductsFromCompareList')\n .addArgument('input', 'RemoveProductsFromCompareListInput', { uid, products })\n .addFieldList(this._getCompareListFields());\n }\n\n getAssignCompareList(uid) {\n return new Field('assignCompareListToCustomer')\n .addArgument('uid', 'ID!', uid)\n .addFieldList(this._getAssignFields());\n }\n\n _getAssignFields() {\n return [\n 'result',\n this._getAssignCompareListField()\n ];\n }\n\n _getAssignCompareListField() {\n return new Field('compare_list')\n .addFieldList(this._getCompareListFields());\n }\n\n getCompareList(uid) {\n return new Field('compareList')\n .addArgument('uid', 'ID!', uid)\n .addFieldList(this._getCompareListFields());\n }\n\n getCompareListIds(uid) {\n return new Field('compareList')\n .addArgument('uid', 'ID!', uid)\n .addField(this._getComparableItemIdsField());\n }\n\n _getCompareListFields() {\n return [\n 'uid',\n 'item_count',\n // 'review_count',\n // 'rating_summary',\n this._getCompareAttributeField(),\n this._getComparableItemField()\n ];\n }\n\n _getCompareAttributeField() {\n return new Field('attributes')\n .addFieldList(this._getCompareAttributeFields());\n }\n\n _getCompareAttributeFields() {\n return [\n 'label',\n 'code'\n ];\n }\n\n _getComparableItemAttributeField() {\n return new Field('attributes')\n .addFieldList(this._getComparableItemAttributeFields());\n }\n\n _getComparableItemAttributeFields() {\n return [\n 'value',\n 'code'\n ];\n }\n\n _getComparableItemFields() {\n return [\n this._getCompareProductField(),\n this._getComparableItemAttributeField()\n ];\n }\n\n _getComparableItemIdsFields() {\n return [\n this._getProductIdsField()\n ];\n }\n\n _getCompareProductField() {\n return new Field('product')\n .addFieldList(this._getProductInterfaceFields(true, false))\n .addFieldList(['url'])\n .addField(this._getReviewCountField())\n .addField(this._getRatingSummaryField())\n .addField(this._getDescriptionField())\n .addField(this._getGroupedProductItems());\n }\n\n _getProductIdsField() {\n return new Field('product')\n .addFieldList(this._getProductIdsFields());\n }\n\n _getComparableItemField() {\n return new Field('items')\n .addFieldList(this._getComparableItemFields());\n }\n\n _getComparableItemIdsField() {\n return new Field('items')\n .addFieldList(this._getComparableItemIdsFields());\n }\n\n _getProductIdsFields() {\n return [\n 'id'\n ];\n }\n}\n\nexport default new ProductCompareQuery();\n","/**\n * ScandiPWA - Progressive Web App for Magento\n *\n * Copyright © Scandiweb, Inc. All rights reserved.\n * See LICENSE for license details.\n *\n * @license OSL-3.0 (Open Software License (\"OSL\") v. 3.0)\n * @package scandipwa/base-theme\n * @link https://github.com/scandipwa/base-theme\n */\n\nimport WishlistQuery from 'Query/Wishlist.query';\nimport { showNotification } from 'Store/Notification/Notification.action';\nimport {\n clearWishlist,\n removeItemFromWishlist,\n updateAllProductsInWishlist,\n updateIsLoading\n} from 'Store/Wishlist/Wishlist.action';\nimport { isSignedIn } from 'Util/Auth';\nimport { fetchMutation, fetchQuery, getErrorMessage } from 'Util/Request';\nimport getStore from 'Util/Store';\nimport { getPriceRange } from 'Util/Wishlist';\n\nexport const CartDispatcher = import(\n /* webpackMode: \"lazy\", webpackChunkName: \"dispatchers\" */\n 'Store/Cart/Cart.dispatcher'\n);\n\n/**\n * Get wishlist setting.\n * @namespace Store/Wishlist/Dispatcher/isWishlistEnabled */\nexport const isWishlistEnabled = () => {\n const state = getStore().getState();\n const {\n wishlist_general_active = false\n } = state.ConfigReducer;\n\n return wishlist_general_active;\n};\n\n/**\n * Product Wishlist Dispatcher\n * @class WishlistDispatcher\n * @namespace Store/Wishlist/Dispatcher\n */\nexport class WishlistDispatcher {\n updateInitialWishlistData(dispatch) {\n if (isSignedIn() && isWishlistEnabled()) {\n this._syncWishlistWithBE(dispatch);\n } else {\n dispatch(updateAllProductsInWishlist({}));\n }\n }\n\n _syncWishlistWithBE(dispatch) {\n // Need to get current wishlist from BE, update wishlist\n return fetchQuery(WishlistQuery.getWishlistQuery()).then(\n /** @namespace Store/Wishlist/Dispatcher/WishlistDispatcher/_syncWishlistWithBE/fetchQuery/then */\n (data) => {\n if (data && data.wishlist) {\n const { wishlist } = data;\n const productsToAdd = wishlist.items.reduce((prev, wishlistItem) => {\n const {\n id,\n sku,\n product,\n description,\n price,\n price_without_tax,\n buy_request,\n options,\n qty: quantity\n } = wishlistItem;\n\n const priceRange = getPriceRange(product, price, price_without_tax);\n\n return {\n ...prev,\n [id]: {\n ...product,\n ...priceRange,\n quantity,\n wishlist: {\n id,\n sku,\n quantity,\n description,\n buy_request,\n options\n }\n }\n };\n }, {});\n\n dispatch(updateAllProductsInWishlist(productsToAdd));\n } else {\n dispatch(updateIsLoading(false));\n }\n },\n /** @namespace Store/Wishlist/Dispatcher/WishlistDispatcher/_syncWishlistWithBE/fetchQuery/then/catch */\n () => {\n dispatch(updateIsLoading(false));\n }\n );\n }\n\n async addItemToWishlist(dispatch, options) {\n if (!isSignedIn()) {\n return;\n }\n\n try {\n const { items = [], wishlistId = '' } = options;\n dispatch(updateIsLoading(true));\n await fetchMutation(WishlistQuery.addProductsToWishlist(wishlistId, items));\n dispatch(showNotification('success', __('Product added to wish-list!')));\n await this._syncWishlistWithBE(dispatch);\n } catch {\n dispatch(showNotification('error', __('Error updating wish list!')));\n } finally {\n dispatch(updateIsLoading(false));\n }\n }\n\n updateWishlistItem(dispatch, options) {\n if (!isSignedIn()) {\n return Promise.reject();\n }\n\n const { wishlistItems = [], wishlistId = '' } = options;\n\n return fetchMutation(WishlistQuery.updateProductsInWishlist(wishlistId, wishlistItems)).then(\n /** @namespace Store/Wishlist/Dispatcher/WishlistDispatcher/updateWishlistItem/fetchMutation/then */\n () => {\n this._syncWishlistWithBE(dispatch);\n }\n );\n }\n\n clearWishlist(dispatch) {\n if (!isSignedIn()) {\n return Promise.reject();\n }\n\n return fetchMutation(WishlistQuery.getClearWishlist())\n .then(\n /** @namespace Store/Wishlist/Dispatcher/WishlistDispatcher/clearWishlist/then/catch/fetchMutation/then/dispatch */\n () => dispatch(clearWishlist())\n )\n .catch(\n /** @namespace Store/Wishlist/Dispatcher/WishlistDispatcher/clearWishlist/then/catch/dispatch */\n () => dispatch(showNotification('error', __('Error clearing wish list!')))\n );\n }\n\n async moveWishlistToCart(dispatch, sharingCode) {\n if (!isSignedIn()) {\n await Promise.reject();\n }\n\n try {\n await fetchMutation(WishlistQuery.getMoveWishlistToCart(sharingCode));\n } finally {\n await this._syncWishlistWithBE(dispatch);\n CartDispatcher.then(\n ({ default: dispatcher }) => dispatcher.updateInitialCartData(dispatch)\n );\n dispatch(showNotification('success', __('Available items moved to cart')));\n }\n }\n\n async removeItemFromWishlist(dispatch, { item_id, noMessages }) {\n if (!item_id || !isSignedIn()) {\n return Promise.reject();\n }\n\n dispatch(updateIsLoading(true));\n\n try {\n await fetchMutation(WishlistQuery.getRemoveProductFromWishlistMutation(item_id));\n } catch (e) {\n if (!noMessages) {\n dispatch(showNotification('error', __('Error updating wish list!')));\n }\n\n return Promise.reject();\n }\n\n dispatch(removeItemFromWishlist(item_id));\n\n if (!noMessages) {\n dispatch(showNotification('success', __('Product has been removed from your Wish List!')));\n }\n\n return Promise.resolve();\n }\n\n // TODO: Need to make it in one request\n removeItemsFromWishlist(dispatch, itemIdMap) {\n if (!itemIdMap.length || !isSignedIn()) {\n return Promise.reject();\n }\n\n return itemIdMap.map((id) => (\n fetchMutation(WishlistQuery.getRemoveProductFromWishlistMutation(id)).then(\n /** @namespace Store/Wishlist/Dispatcher/WishlistDispatcher/removeItemsFromWishlist/itemIdMap/map/fetchMutation/then */\n () => {\n dispatch(removeItemFromWishlist(id));\n dispatch(showNotification('success', __('Product has been removed from your Wish List!')));\n },\n /** @namespace Store/Wishlist/Dispatcher/WishlistDispatcher/removeItemsFromWishlist/itemIdMap/map/fetchMutation/then/catch */\n (error) => {\n dispatch(showNotification('error', getErrorMessage(error, __('Error updating wishlist!'))));\n }\n )\n ));\n }\n\n resetWishlist(dispatch) {\n dispatch(clearWishlist());\n }\n}\n\nexport default new WishlistDispatcher();\n","/**\n * ScandiPWA - Progressive Web App for Magento\n *\n * Copyright © Scandiweb, Inc. All rights reserved.\n * See LICENSE for license details.\n *\n * @license OSL-3.0 (Open Software License (\"OSL\") v. 3.0)\n * @package scandipwa/base-theme\n * @link https://github.com/scandipwa/base-theme\n */\n\nimport UrlRewritesQuery from 'Query/UrlRewrites.query';\nimport { updateNoMatch } from 'Store/NoMatch/NoMatch.action';\nimport { showNotification } from 'Store/Notification/Notification.action';\nimport { setIsUrlRewritesLoading, updateUrlRewrite } from 'Store/UrlRewrites/UrlRewrites.action';\nimport { QueryDispatcher } from 'Util/Request';\n\n/**\n * Url Rewrite Dispathcer\n * @class UrlRewritesDispatcher\n * @extends RequestDispatcher\n * @namespace Store/UrlRewrites/Dispatcher\n */\nexport class UrlRewritesDispatcher extends QueryDispatcher {\n __construct() {\n super.__construct('UrlRewrites');\n }\n\n onSuccess({ urlResolver }, dispatch, { urlParam }) {\n dispatch(updateUrlRewrite(urlResolver || { notFound: true }, urlParam));\n dispatch(updateNoMatch(!urlResolver));\n }\n\n onError(error, dispatch, { urlParam }) {\n dispatch(setIsUrlRewritesLoading(false));\n dispatch(updateUrlRewrite({ notFound: true }, urlParam));\n dispatch(updateNoMatch(true));\n dispatch(showNotification('error', __('Error fetching URL-rewrites!'), error));\n }\n\n /**\n * Prepare UrlRewrite requests\n * @param {Object} options A object containing different aspects of query, each item can be omitted\n * @return {Query} UrlRewrite query\n * @memberof UrlRewritesDispatcher\n */\n prepareRequest(options, dispatch) {\n dispatch(setIsUrlRewritesLoading(true));\n\n return [\n UrlRewritesQuery.getQuery(this.processUrlOptions(options))\n ];\n }\n\n processUrlOptions(options) {\n const { urlParam } = options;\n\n // FAILSAFE: Trim index.php if someone forgot to set \"Use Web Server Rewrites\" to \"Yes\"\n const trimmedParam = urlParam.replace('index.php/', '');\n\n return {\n ...options,\n urlParam: trimmedParam.replace(new RegExp(window.storeRegexText), '')\n };\n }\n}\n\nexport default new UrlRewritesDispatcher();\n","/**\n * ScandiPWA - Progressive Web App for Magento\n *\n * Copyright © Scandiweb, Inc. All rights reserved.\n * See LICENSE for license details.\n *\n * @license OSL-3.0 (Open Software License (\"OSL\") v. 3.0)\n * @package scandipwa/base-theme\n * @link https://github.com/scandipwa/base-theme\n */\n\nimport { Field } from 'Util/Query';\n/**\n * UrlRewrites Query\n * @class UrlRewritesQuery\n * @namespace Query/UrlRewrites/Query */\nexport class UrlRewritesQuery {\n getQuery({ urlParam }) {\n return new Field('urlResolver')\n .addArgument('url', 'String!', urlParam)\n .addFieldList(this._getUrlResolverFields());\n }\n\n _getUrlResolverFields() {\n return [\n 'id',\n 'sku',\n 'type'\n ];\n }\n}\n\nexport default new UrlRewritesQuery();\n","/**\n * ScandiPWA - Progressive Web App for Magento\n *\n * Copyright © Scandiweb, Inc. All rights reserved.\n * See LICENSE for license details.\n *\n * @license OSL-3.0 (Open Software License (\"OSL\") v. 3.0)\n * @package scandipwa/base-theme\n * @link https://github.com/scandipwa/base-theme\n */\n\nimport ProductListQuery from 'Query/ProductList.query';\nimport { QueryDispatcher } from 'Util/Request';\n\nimport { clearSearchResults, updateLoadStatus, updateSearchBar } from './SearchBar.action';\n\n/**\n * Search Bar Dispatcher\n * @class SearchBarDispatcher\n * @extends QueryDispatcher\n * @namespace Store/SearchBar/Dispatcher\n */\nexport class SearchBarDispatcher extends QueryDispatcher {\n __construct() {\n super.__construct('SearchBar');\n }\n\n onSuccess(data, dispatch) {\n dispatch(updateLoadStatus(false));\n dispatch(updateSearchBar(data));\n }\n\n onError(_, dispatch) {\n dispatch(updateLoadStatus(false));\n }\n\n clearSearchResults(dispatch) {\n dispatch(clearSearchResults());\n }\n\n prepareRequest(options, dispatch) {\n dispatch(updateLoadStatus(true));\n\n return ProductListQuery.getQuery({\n ...options,\n notRequireInfo: true,\n noVariants: true\n });\n }\n}\n\nexport default new SearchBarDispatcher();\n","/**\n * @category ScandiPWA\n * @author ScandiWeb Team \n * @package @scandipwa/gtm-new\n * @copyright Copyright (c) 2023 Scandiweb, Inc (https://scandiweb.com)\n */\n\nimport { Field } from 'Util/Query';\n\n/** @namespace GtmNew/Query/GoogleTagManager/Query/GoogleTagManagerQuery */\nexport class GoogleTagManagerQuery {\n _getGTMConfigurationFields = () => ([\n 'enabled',\n 'gtm_id',\n this.getEventsField(),\n 'store_name'\n ]);\n\n getEventsField = () => new Field('events').addFieldList(this.getEvents());\n\n getEvents = () => ([\n 'gtm_general_init',\n 'gtm_impressions',\n 'gtm_impressions_plp',\n 'gtm_impressions_home',\n 'gtm_impressions_search',\n 'gtm_site_search',\n 'gtm_product_click',\n 'gtm_product_detail',\n 'gtm_product_add_to_cart',\n 'gtm_product_remove_from_cart',\n 'gtm_purchase',\n 'gtm_checkout',\n 'gtm_checkout_option',\n 'gtm_user_login',\n 'gtm_user_register',\n 'gtm_not_found',\n 'gtm_category_filters',\n 'gtm_additional',\n 'gtm_site_search_started',\n 'gtm_promotion_view',\n 'gtm_promotion_click',\n 'gtm_attraqt_recommendation_click',\n 'gtm_attraqt_search_result_click',\n 'gtm_attraqt_search_result_view',\n 'gtm_google_consent',\n 'gtm_salon_phone',\n 'gtm_salon_spotlight',\n 'gtm_salon_direction'\n ]);\n\n getGTMConfiguration = () => new Field('getGtm')\n .setAlias('gtm')\n .addFieldList(this._getGTMConfigurationFields());\n}\n\nexport default new GoogleTagManagerQuery();\n","/**\n * ScandiPWA - Progressive Web App for Magento\n *\n * Copyright © Scandiweb, Inc. All rights reserved.\n * See LICENSE for license details.\n *\n * @license OSL-3.0 (Open Software License (\"OSL\") v. 3.0)\n * @package scandipwa/base-theme\n * @link https://github.com/scandipwa/base-theme\n */\nimport { updateMeta } from 'Store/Meta/Meta.action';\nimport { appendWithStoreCode } from 'Util/Url';\n\n/**\n * Meta Dispatcher\n * @class MetaDispatcher\n * @namespace Store/Meta/Dispatcher */\nexport class MetaDispatcher {\n /**\n * Set meta for category\n * @param {Object} category\n * @param {Function} dispatch\n * @memberof MetaDispatcher\n */\n updateWithCategory(category, dispatch) {\n const meta = this._getCategoryMeta(category);\n dispatch(updateMeta(meta));\n }\n\n /**\n * Set meta for product\n * @param {Object} product\n * @param {Function} dispatch\n * @memberof MetaDispatcher\n */\n updateWithProduct(product, dispatch) {\n const meta = this._getProductMeta(product);\n dispatch(updateMeta(meta));\n }\n\n /**\n * Get meta for product\n * @param {Object} product\n * @return {Object} Meta object\n * @memberof MetaDispatcher\n */\n _getProductMeta(product) {\n const {\n name,\n meta_title,\n meta_keyword,\n canonical_url,\n meta_description\n } = product;\n\n return {\n description: meta_description,\n keywords: meta_keyword,\n title: meta_title || name,\n canonical_url: `${window.location.origin}${appendWithStoreCode(canonical_url)}`\n };\n }\n\n /**\n * Get meta for category\n * @param {Object} category\n * @return {Object} Meta object\n * @memberof MetaDispatcher\n */\n _getCategoryMeta(category) {\n const {\n description, name, canonical_url,\n meta_title, meta_keywords, meta_description,\n meta_robots = 'follow, index'\n } = category;\n\n return {\n description: meta_description || description,\n title: meta_title || name,\n keywords: meta_keywords,\n canonical_url: `${window.location.origin}${appendWithStoreCode(canonical_url)}`,\n robots: meta_robots\n };\n }\n}\n\nexport default new MetaDispatcher();\n","/**\n * ScandiPWA - Progressive Web App for Magento\n *\n * Copyright © Scandiweb, Inc. All rights reserved.\n * See LICENSE for license details.\n *\n * @license OSL-3.0 (Open Software License (\"OSL\") v. 3.0)\n * @package scandipwa/base-theme\n * @link https://github.com/scandipwa/base-theme\n */\n\nimport { Field } from 'Util/Query';\n\n/**\n * NewsletterSubscription Mutations\n * @class NewsletterSubscriptionQuery\n * @namespace Query/NewsletterSubscription/Query */\nexport class NewsletterSubscriptionQuery {\n getSubscribeToNewsletterMutation(email) {\n return new Field('subscribeEmailToNewsletter')\n .addArgument('email', 'String!', email)\n .addFieldList(this._getPageFields());\n }\n\n _getPageFields() {\n return [\n 'status'\n ];\n }\n}\n\nexport default new NewsletterSubscriptionQuery();\n","/**\n * ScandiPWA - Progressive Web App for Magento\n *\n * Copyright © Scandiweb, Inc. All rights reserved.\n * See LICENSE for license details.\n *\n * @license OSL-3.0 (Open Software License (\"OSL\") v. 3.0)\n * @package scandipwa/base-theme\n * @link https://github.com/scandipwa/base-theme\n */\n\nimport { Field } from 'Util/Query';\n\n/**\n * Email availability check Query\n * @class CheckEmailQuery\n * @namespace Query/CheckEmail/Query */\nexport class CheckEmailQuery {\n getIsEmailAvailableQuery(email) {\n const query = new Field('isEmailAvailable')\n .addArgument('email', 'String!', email)\n .addField('is_email_available');\n\n return query;\n }\n}\n\nexport default new CheckEmailQuery();\n","/**\n * ScandiPWA - Progressive Web App for Magento\n *\n * Copyright © Scandiweb, Inc. All rights reserved.\n * See LICENSE for license details.\n *\n * @license OSL-3.0 (Open Software License (\"OSL\") v. 3.0)\n * @package scandipwa/base-theme\n * @link https://github.com/scandipwa/base-theme\n */\n\nimport ProductListQuery from 'Query/ProductList.query';\nimport { updateNoMatch } from 'Store/NoMatch/NoMatch.action';\nimport { showNotification } from 'Store/Notification/Notification.action';\nimport {\n appendPage,\n updateLoadStatus,\n updatePageLoadingStatus,\n updateProductListItems\n} from 'Store/ProductList/ProductList.action';\nimport { QueryDispatcher } from 'Util/Request';\n\n/**\n * Product List Dispatcher\n * @class ProductListDispatcher\n * @extends QueryDispatcher\n * @namespace Store/ProductList/Dispatcher\n */\nexport class ProductListDispatcher extends QueryDispatcher {\n __construct() {\n super.__construct('ProductList');\n }\n\n onSuccess(data, dispatch, options) {\n const {\n products: {\n items,\n total_count,\n page_info: { total_pages } = {}\n } = {}\n } = data;\n\n const { args, isNext } = options;\n const { currentPage } = args;\n\n if (isNext) {\n return dispatch(\n appendPage(\n items,\n currentPage\n )\n );\n }\n\n return dispatch(\n updateProductListItems(\n items,\n currentPage,\n total_count,\n total_pages,\n args\n )\n );\n }\n\n onError(error, dispatch) {\n dispatch(showNotification('error', __('Error fetching Product List!'), error));\n dispatch(updateNoMatch(true));\n }\n\n prepareRequest(options, dispatch) {\n const { isNext } = options;\n\n if (!isNext) {\n dispatch(updateLoadStatus(true));\n } else {\n dispatch(updatePageLoadingStatus());\n }\n\n return ProductListQuery.getQuery(options);\n }\n}\n\nexport default new ProductListDispatcher();\n","/**\n * @category BeautyWorks\n * @author Iryna Hramyka \n * @license http://opensource.org/licenses/OSL-3.0 The Open Software License 3.0 (OSL-3.0)\n * @copyright Copyright (c) 2022 Scandiweb, Inc (https://scandiweb.com)\n */\n\nimport ContactFormQuery from 'Query/ContactForm.query';\nimport { updateContactForm } from 'SourceStore/ContactForm/ContactForm.action';\nimport { ContactFormDispatcher as SourceContactFormDispatcher } from 'SourceStore/ContactForm/ContactForm.dispatcher';\nimport { showNotification } from 'Store/Notification/Notification.action';\nimport { fetchMutation, getErrorMessage } from 'Util/Request';\n\n/**\n * @class ContactFormDispatcher\n * @namespace Scandipwa/Store/ContactForm/Dispatcher/ContactFormDispatcher\n */\nexport class ContactFormDispatcher extends SourceContactFormDispatcher {\n prepareRequest(options, dispatch) {\n const { form = {}, fields = {} } = options;\n\n const mutation = ContactFormQuery.getSendContactFormMutation(fields);\n\n dispatch(updateContactForm({\n isLoading: true\n }));\n\n return fetchMutation(mutation)\n .then(\n /** @namespace Scandipwa/Store/ContactForm/Dispatcher/fetchMutation/then */\n (data) => {\n dispatch(showNotification('success', data.contactForm.message));\n dispatch(updateContactForm({\n isLoading: false\n }));\n\n // Clears form\n if (typeof form.reset === 'function') {\n form.reset();\n }\n },\n /** @namespace Scandipwa/Store/ContactForm/Dispatcher/fetchMutation/then */\n (error) => {\n window.grecaptcha.reset();\n dispatch(showNotification('error', getErrorMessage(error)));\n dispatch(updateContactForm({\n isLoading: false\n }));\n }\n );\n }\n}\n\nexport default new ContactFormDispatcher();\n","/**\n * ScandiPWA - Progressive Web App for Magento\n *\n * Copyright © Scandiweb, Inc. All rights reserved.\n * See LICENSE for license details.\n *\n * @license OSL-3.0 (Open Software License (\"OSL\") v. 3.0)\n * @package scandipwa/base-theme\n * @link https://github.com/scandipwa/base-theme\n */\n\nimport ContactFormQuery from 'Query/ContactForm.query';\nimport { showNotification } from 'Store/Notification/Notification.action';\nimport { fetchMutation, getErrorMessage } from 'Util/Request';\n\nimport { updateContactForm } from './ContactForm.action';\n\n/**\n * ContactForm Dispatcher\n * @class ContactFormDispatcher\n * @extends QueryDispatcher\n * @namespace Store/ContactForm/Dispatcher\n */\nexport class ContactFormDispatcher {\n prepareRequest(options, dispatch) {\n const { form = {}, fields = {} } = options;\n\n const mutation = ContactFormQuery.getSendContactFormMutation(fields);\n\n dispatch(updateContactForm({\n isLoading: true\n }));\n\n return fetchMutation(mutation)\n .then(\n /** @namespace Store/ContactForm/Dispatcher/ContactFormDispatcher/prepareRequest/fetchMutation/then */\n (data) => {\n dispatch(showNotification('success', data.contactForm.message));\n dispatch(updateContactForm({\n isLoading: false\n }));\n\n // Clears form\n if (typeof form.reset === 'function') {\n form.reset();\n }\n },\n /** @namespace Store/ContactForm/Dispatcher/ContactFormDispatcher/prepareRequest/fetchMutation/then/catch */\n (error) => {\n dispatch(showNotification('error', getErrorMessage(error)));\n dispatch(updateContactForm({\n isLoading: false\n }));\n }\n );\n }\n}\n\nexport default new ContactFormDispatcher();\n","/**\n * ScandiPWA - Progressive Web App for Magento\n *\n * Copyright © Scandiweb, Inc. All rights reserved.\n * See LICENSE for license details.\n *\n * @license OSL-3.0 (Open Software License (\"OSL\") v. 3.0)\n * @package scandipwa/base-theme\n * @link https://github.com/scandipwa/base-theme\n */\n\nimport ProductCompareQuery from 'Query/ProductCompare.query';\nimport { showNotification } from 'Store/Notification/Notification.action';\nimport {\n clearComparedProducts,\n setCompareList,\n setCompareListIds,\n toggleLoader\n} from 'Store/ProductCompare/ProductCompare.action';\nimport { getUid, removeUid, setUid } from 'Util/Compare';\nimport { fetchMutation, fetchQuery } from 'Util/Request';\n\nexport const CartDispatcher = import(\n /* webpackMode: \"lazy\", webpackChunkName: \"dispatchers\" */\n 'Store/Cart/Cart.dispatcher'\n);\n\n/** @namespace Store/ProductCompare/Dispatcher */\nexport class ProductCompareDispatcher {\n async getCompareList(dispatch) {\n const uid = getUid();\n\n if (!uid) {\n return false;\n }\n\n dispatch(toggleLoader(true));\n\n try {\n const { compareList } = await fetchQuery(\n ProductCompareQuery.getCompareList(uid)\n );\n\n dispatch(toggleLoader(false));\n dispatch(setCompareList(compareList));\n } catch (error) {\n dispatch(toggleLoader(false));\n dispatch(showNotification('error', __('Unable to fetch compare list'), error));\n\n return false;\n }\n\n return true;\n }\n\n async createCompareList(productId) {\n const {\n createCompareList,\n createCompareList: {\n uid\n }\n } = await fetchMutation(\n ProductCompareQuery.getCreateCompareList(\n [productId]\n )\n );\n\n if (uid) {\n setUid(uid);\n }\n\n return createCompareList;\n }\n\n async addToCompareList(uid, productId) {\n const {\n addProductsToCompareList\n } = await fetchMutation(\n ProductCompareQuery.getAddProductsToCompareList(\n uid,\n [productId]\n )\n );\n\n return addProductsToCompareList;\n }\n\n async addProductToCompare(productId, dispatch) {\n const uid = getUid();\n\n try {\n const result = (uid)\n ? await this.addToCompareList(uid, productId)\n : await this.createCompareList(productId);\n\n dispatch(setCompareList(result));\n dispatch(showNotification('success', __('Product is added to the compare list')));\n\n return result;\n } catch (error) {\n dispatch(showNotification('error', __('Unable to add product to the compare list'), error));\n\n return false;\n }\n }\n\n async removeComparedProduct(productId, dispatch) {\n const uid = getUid();\n\n if (!uid) {\n return false;\n }\n\n try {\n const {\n removeProductsFromCompareList\n } = await fetchMutation(\n ProductCompareQuery.getRemoveProductsFromCompareList(\n uid,\n [productId]\n )\n );\n\n dispatch(setCompareList(removeProductsFromCompareList));\n dispatch(showNotification('success', __('Product is removed from the compare list')));\n\n return removeProductsFromCompareList;\n } catch (error) {\n dispatch(showNotification('error', __('Unable to remove product from the compare list'), error));\n\n return false;\n }\n }\n\n async fetchCustomersList(dispatch) {\n const {\n createCompareList,\n createCompareList: {\n uid\n }\n } = await fetchMutation(\n ProductCompareQuery.getCreateEmptyCompareList()\n );\n\n if (uid) {\n setUid(uid);\n }\n\n dispatch(setCompareList(createCompareList));\n }\n\n async assignCompareList(dispatch) {\n const uid = getUid();\n\n if (!uid) {\n await this.fetchCustomersList(dispatch);\n\n return false;\n }\n\n removeUid();\n\n try {\n const {\n assignCompareListToCustomer: {\n result,\n compare_list,\n compare_list: {\n uid: newUid\n }\n }\n } = await fetchMutation(\n ProductCompareQuery.getAssignCompareList(uid)\n );\n\n if (result) {\n setUid(newUid);\n dispatch(setCompareList(compare_list));\n }\n\n return result;\n } catch (error) {\n dispatch(toggleLoader(false));\n\n return false;\n }\n }\n\n async clearComparedProducts(dispatch) {\n const uid = getUid();\n\n if (!uid) {\n return false;\n }\n\n dispatch(toggleLoader(true));\n\n try {\n const result = await fetchMutation(\n ProductCompareQuery.getDeleteCompareList(uid)\n );\n\n removeUid();\n dispatch(clearComparedProducts());\n dispatch(showNotification('success', __('Compare list is cleared')));\n dispatch(toggleLoader(false));\n\n return result;\n } catch (error) {\n dispatch(toggleLoader(false));\n dispatch(showNotification('error', __('Unable to clear product compare list'), error));\n\n return false;\n }\n }\n\n async updateInitialProductCompareData(dispatch) {\n const uid = getUid();\n\n if (!uid) {\n return false;\n }\n\n dispatch(toggleLoader(true));\n\n try {\n const { compareList } = await fetchQuery(\n ProductCompareQuery.getCompareListIds(uid)\n );\n const { items = [] } = compareList || {};\n const compareIds = items.map(({ product: { id } }) => id);\n\n dispatch(toggleLoader(false));\n dispatch(setCompareListIds(compareIds));\n } catch (error) {\n dispatch(toggleLoader(false));\n dispatch(showNotification('error', __('Unable to fetch compare list'), error));\n\n return false;\n }\n\n return true;\n }\n\n resetComparedProducts(dispatch) {\n dispatch(clearComparedProducts());\n }\n}\n\nexport default new ProductCompareDispatcher();\n","/**\n * @category BeautyWorks\n * @author Dmitrijs Tarasovs \n * @license http://opensource.org/licenses/OSL-3.0 The Open Software License 3.0 (OSL-3.0)\n * @copyright Copyright (c) 2021 Scandiweb, Inc (https://scandiweb.com)\n */\n\nimport {\n BreadcrumbsDispatcher as SourceBreadcrumbsDispatcher\n} from 'SourceStore/Breadcrumbs/Breadcrumbs.dispatcher';\nimport { toggleBreadcrumbs, updateBreadcrumbs } from 'Store/Breadcrumbs/Breadcrumbs.action';\n\nexport const MENU_BREADCRUMBS_CLEAR_TIMEOUT = 1000;\n\n/**\n * Breadcrumbs Dispatcher\n * @class BreadcrumbsDispatcher\n * @namespace Scandipwa/Store/Breadcrumbs/Dispatcher/BreadcrumbsDispatcher\n */\nexport class BreadcrumbsDispatcher extends SourceBreadcrumbsDispatcher {\n clearMenuGeneratedBreadcrumbs() {\n if (window.menuGeneratedBreadcrumbs) {\n setTimeout(() => {\n window.menuGeneratedBreadcrumbs = null;\n }, MENU_BREADCRUMBS_CLEAR_TIMEOUT);\n }\n }\n\n /**\n * Set breadcrumbs for category\n * @param product\n * @param prevCategoryId\n * @param {Function} dispatch\n * @memberof BreadcrumbsDispatcher\n */\n updateWithProduct(product, prevCategoryId, dispatch) {\n const breadcrumbs = window.menuGeneratedBreadcrumbs\n || this._getProductBreadcrumbs(product, prevCategoryId);\n\n this.clearMenuGeneratedBreadcrumbs();\n\n dispatch(toggleBreadcrumbs(true));\n dispatch(updateBreadcrumbs(breadcrumbs));\n }\n\n /**\n * Set breadcrumbs for category\n * @param {Array} category Category breadcumbs items\n * @param {Function} dispatch\n * @memberof BreadcrumbsDispatcher\n */\n updateWithCategory(category, dispatch) {\n const breadcrumbs = window.menuGeneratedBreadcrumbs\n || this._getCategoryBreadcrumbs(category);\n\n this.clearMenuGeneratedBreadcrumbs();\n dispatch(toggleBreadcrumbs(true));\n dispatch(updateBreadcrumbs(breadcrumbs));\n }\n\n /**\n * Set breadcrumbs for category\n * @param {Array} category Category breadcumbs items\n * @param {Function} dispatch\n * @memberof BreadcrumbsDispatcher\n */\n updateWithCmsPage({ title }, dispatch) {\n if (window.menuGeneratedBreadcrumbs) {\n dispatch(updateBreadcrumbs(window.menuGeneratedBreadcrumbs));\n this.clearMenuGeneratedBreadcrumbs();\n return;\n }\n\n super.updateWithCmsPage({ title }, dispatch);\n }\n\n /**\n * Get breadcrumbs for category\n * @param {Object} category Category breadcumbs items\n * @return {Array} Breadcrumbs array\n * @memberof BreadcrumbsDispatcher\n */\n _getCategoryBreadcrumbs(category) {\n const orig = super._getCategoryBreadcrumbs(category);\n const [\n { name: firstCategoryName = '_' } = {},\n { name: secondCategoryName = '' } = {}\n ] = orig;\n\n if (firstCategoryName === secondCategoryName) {\n return orig.slice(1);\n }\n\n return orig;\n }\n\n findCategoryById(categories, categoryId) {\n return categories.find(({ id }) => id === categoryId);\n }\n\n findLongestBreadcrumbs(categories) {\n const { breadcrumbsCategory = {} } = categories.reduce((acc, category) => {\n const { longestBreadcrumbsLength } = acc;\n const { breadcrumbs } = category;\n const breadcrumbsLength = (breadcrumbs || []).length;\n\n if (longestBreadcrumbsLength === 0 || breadcrumbsLength > longestBreadcrumbsLength) {\n return {\n breadcrumbsCategory: category,\n longestBreadcrumbsLength: breadcrumbsLength\n };\n }\n\n return acc;\n }, {\n breadcrumbsCategory: {},\n longestBreadcrumbsLength: 0\n });\n\n return breadcrumbsCategory;\n }\n\n /**\n * Get breadcrumbs for product\n *\n * @param {Object} product Product breadcumbs items\n * @param prevCategoryId\n * @return {Array} Breadcrumbs array\n * @memberof BreadcrumbsDispatcher\n */\n _getProductBreadcrumbs(product, prevCategoryId = null) {\n const { categories, url, name } = product;\n\n if (!categories) {\n return [];\n }\n\n if (!categories.length) {\n return [{ url, name }];\n }\n\n const category = this.findCategoryById(categories, prevCategoryId);\n\n if (!category) {\n return [\n { url, name }\n ];\n }\n\n return [\n { url, name },\n ...this._getCategoryBreadcrumbs(category)\n ];\n }\n}\n\nexport default new BreadcrumbsDispatcher();\n","/**\n * ScandiPWA - Progressive Web App for Magento\n *\n * Copyright © Scandiweb, Inc. All rights reserved.\n * See LICENSE for license details.\n *\n * @license OSL-3.0 (Open Software License (\"OSL\") v. 3.0)\n * @package scandipwa/base-theme\n * @link https://github.com/scandipwa/base-theme\n */\n\nimport { updateNoMatch } from 'Store/NoMatch/NoMatch.action';\n/**\n * NoMatch Dispatcher\n * @class NoMatchDispatcher\n * @namespace Store/NoMatch/Dispatcher\n */\nexport class NoMatchDispatcher {\n updateNoMatch(dispatch, options) {\n const { noMatch } = options;\n dispatch(updateNoMatch(noMatch));\n }\n}\n\nexport default new NoMatchDispatcher();\n","/**\n * @category BeautyWorks\n * @author Scandiweb \n * @license http://opensource.org/licenses/OSL-3.0 The Open Software License 3.0 (OSL-3.0)\n * @copyright Copyright (c) 2022 Scandiweb, Inc (https://scandiweb.com)\n */\n\nimport ProductListQuery from 'Query/ProductList.query';\nimport {\n SearchBarDispatcher as SourceSearchBarDispatcher\n} from 'SourceStore/SearchBar/SearchBar.dispatcher';\nimport {\n clearSearchResults, preparingSearchResults, updateLoadStatus, updateSearchBar\n} from 'Store/SearchBar/SearchBar.action';\n\n/**\n * Search Bar Dispatcher\n * @class SearchBarDispatcher\n * @extends QueryDispatcher\n * @namespace Scandipwa/Store/SearchBar/Dispatcher/SearchBarDispatcher\n */\nexport class SearchBarDispatcher extends SourceSearchBarDispatcher {\n onSuccess(data, dispatch) {\n dispatch(updateSearchBar(data));\n dispatch(updateLoadStatus(false));\n }\n\n clearSearchResults(dispatch) {\n dispatch(updateLoadStatus(true));\n dispatch(clearSearchResults());\n }\n\n prepareRequest(options, dispatch) {\n dispatch(updateLoadStatus(true));\n dispatch(preparingSearchResults(true));\n\n return ProductListQuery.getQuery({\n ...options,\n notRequireInfo: true,\n noVariants: true\n });\n }\n}\n\nexport default new SearchBarDispatcher();\n"],"sourceRoot":""}