Warning: unlink(/home/u956481149/domains/arabivafragrances.com/public_html/system/storageccn3ob2917lw/cache/cache.hararah_format_stations.copurchase.97097.90.1785256573): No such file or directory in /home/u956481149/domains/arabivafragrances.com/public_html/system/library/cache/file.php on line 17Warning: unlink(/home/u956481149/domains/arabivafragrances.com/public_html/system/storageccn3ob2917lw/cache/cache.hararah_format_stations.copurchase.97483.90.1785256572): No such file or directory in /home/u956481149/domains/arabivafragrances.com/public_html/system/library/cache/file.php on line 17Warning: unlink(/home/u956481149/domains/arabivafragrances.com/public_html/system/storageccn3ob2917lw/cache/cache.hararah_format_stations.copurchase.97609.90.1785256571): No such file or directory in /home/u956481149/domains/arabivafragrances.com/public_html/system/library/cache/file.php on line 17Warning: unlink(/home/u956481149/domains/arabivafragrances.com/public_html/system/storageccn3ob2917lw/cache/cache.hararah_format_stations.copurchase.97736.90.1785256572): No such file or directory in /home/u956481149/domains/arabivafragrances.com/public_html/system/library/cache/file.php on line 17Warning: unlink(/home/u956481149/domains/arabivafragrances.com/public_html/system/storageccn3ob2917lw/cache/cache.hararah_format_stations.copurchase.97950.90.1785256572): No such file or directory in /home/u956481149/domains/arabivafragrances.com/public_html/system/library/cache/file.php on line 17Warning: unlink(/home/u956481149/domains/arabivafragrances.com/public_html/system/storageccn3ob2917lw/cache/cache.hararah_format_stations.copurchase.97976.90.1785256569): No such file or directory in /home/u956481149/domains/arabivafragrances.com/public_html/system/library/cache/file.php on line 17Warning: unlink(/home/u956481149/domains/arabivafragrances.com/public_html/system/storageccn3ob2917lw/cache/cache.hararah_format_stations.copurchase.98247.90.1785256571): No such file or directory in /home/u956481149/domains/arabivafragrances.com/public_html/system/library/cache/file.php on line 17Warning: unlink(/home/u956481149/domains/arabivafragrances.com/public_html/system/storageccn3ob2917lw/cache/cache.hararah_format_stations.copurchase.98278.90.1785256570): No such file or directory in /home/u956481149/domains/arabivafragrances.com/public_html/system/library/cache/file.php on line 17Warning: unlink(/home/u956481149/domains/arabivafragrances.com/public_html/system/storageccn3ob2917lw/cache/cache.hararah_format_stations.cross.v3.96528.95e9288d7130e09a4c4d5d4603f1b657.1785256572): No such file or directory in /home/u956481149/domains/arabivafragrances.com/public_html/system/library/cache/file.php on line 17Warning: unlink(/home/u956481149/domains/arabivafragrances.com/public_html/system/storageccn3ob2917lw/cache/cache.hararah_format_stations.cross.v3.96772.8861146976a827ca7ab4cfd465fab06a.1785256569): No such file or directory in /home/u956481149/domains/arabivafragrances.com/public_html/system/library/cache/file.php on line 17Warning: unlink(/home/u956481149/domains/arabivafragrances.com/public_html/system/storageccn3ob2917lw/cache/cache.hararah_format_stations.cross.v3.97076.e0767855109cee7b3d5d15695c892345.1785256572): No such file or directory in /home/u956481149/domains/arabivafragrances.com/public_html/system/library/cache/file.php on line 17Warning: unlink(/home/u956481149/domains/arabivafragrances.com/public_html/system/storageccn3ob2917lw/cache/cache.hararah_format_stations.cross.v3.97608.e0767855109cee7b3d5d15695c892345.1785256570): No such file or directory in /home/u956481149/domains/arabivafragrances.com/public_html/system/library/cache/file.php on line 17Warning: unlink(/home/u956481149/domains/arabivafragrances.com/public_html/system/storageccn3ob2917lw/cache/cache.hararah_format_stations.cross.v3.97609.e0767855109cee7b3d5d15695c892345.1785256571): No such file or directory in /home/u956481149/domains/arabivafragrances.com/public_html/system/library/cache/file.php on line 17window.__mhGrowthConfig={"form_id":1,"brand_name":"Arabiva Fragrances Team","context":{"route":"product/product","product_id":97784},"customer":{"logged":false,"customer_id":0,"first_name":"","last_name":"","email":"","country":""},"force_type":"","popups":{"welcome":{"enabled":1,"kind":"quiz","form_id":1,"after_seconds":8,"min_scroll_pct":0,"show_on_routes":["product/product","product/category"],"questions":[{"id":"family","kind":"single","label":"Which scent family speaks to you most?","options":[{"value":"woody","label":"Woody"},{"value":"floral","label":"Floral"},{"value":"citrus","label":"Citrus"},{"value":"oriental","label":"Oriental"},{"value":"fresh","label":"Fresh"},{"value":"gourmand","label":"Gourmand"},{"value":"aquatic","label":"Aquatic"}]},{"id":"occasion","kind":"multi","label":"When do you wear it?","options":[{"value":"day","label":"Day"},{"value":"evening","label":"Evening"},{"value":"office","label":"Office"},{"value":"date","label":"Date Night"},{"value":"casual","label":"Casual"},{"value":"special","label":"Special Events"}]},{"id":"intensity","kind":"single","label":"How intense do you like it?","options":[{"value":"subtle","label":"Subtle — skin-close"},{"value":"moderate","label":"Moderate"},{"value":"bold","label":"Bold — projection-heavy"}]},{"id":"gender_direction","kind":"single","label":"Who is this fragrance for?","options":[{"value":"feminine","label":"Women"},{"value":"masculine","label":"Men"},{"value":"unisex","label":"Unisex"}]},{"id":"sample_match","kind":"multi","max":3,"label":"Pick up to 3 popular matches you like most.","options":[{"value":"97644","product_id":97644,"label":"Pear Inc Unisex","meta":"Signature","inspired_by":"","is_original":1,"family":"signature","gender":"unisex"},{"value":"97665","product_id":97665,"label":"Brave Echo","meta":"Aromatic · Aromatic, Wood, Brave, Masculinity","inspired_by":"Diesel Sound Of The Brave","is_original":0,"family":"aromatic","gender":"men"},{"value":"97848","product_id":97848,"label":"Calabrian Gold","meta":"Citrus · Citrus, Amber, Wood, Italian","inspired_by":"Nishane Ambra Calabria","is_original":0,"family":"citrus","gender":"unisex"},{"value":"98058","product_id":98058,"label":"Equilibrium Luxe","meta":"Oriental · Vanilla, Amber, Sweetness, Luxury","inspired_by":"Tiziana Terenzi Libra","is_original":0,"family":"oriental","gender":"unisex"},{"value":"97220","product_id":97220,"label":"Elite Floris for Man","meta":"Signature","inspired_by":"","is_original":1,"family":"signature","gender":"unisex"},{"value":"96619","product_id":96619,"label":"Amber Silk","meta":"Signature","inspired_by":"Giorgio Armani Si","is_original":0,"family":"signature","gender":"unisex"},{"value":"98522","product_id":98522,"label":"Golden Rose","meta":"Signature","inspired_by":"","is_original":1,"family":"signature","gender":"unisex"},{"value":"98739","product_id":98739,"label":"Pineapple Musk","meta":"Signature","inspired_by":"","is_original":1,"family":"signature","gender":"unisex"},{"value":"98523","product_id":98523,"label":"Havana Tobacco","meta":"Signature","inspired_by":"","is_original":1,"family":"signature","gender":"unisex"},{"value":"98526","product_id":98526,"label":"Sultan","meta":"Signature","inspired_by":"","is_original":1,"family":"signature","gender":"unisex"},{"value":"97038","product_id":97038,"label":"Embrace Hour","meta":"Signature","inspired_by":"Frederic Malle Dans Tes Bras Unisex","is_original":0,"family":"signature","gender":"unisex"},{"value":"98744","product_id":98744,"label":"Vanilla Musk","meta":"Signature","inspired_by":"","is_original":1,"family":"signature","gender":"unisex"},{"value":"98741","product_id":98741,"label":"Musk Makkah","meta":"Signature","inspired_by":"","is_original":1,"family":"signature","gender":"unisex"},{"value":"98524","product_id":98524,"label":"Regal Oud","meta":"Signature","inspired_by":"","is_original":1,"family":"signature","gender":"unisex"},{"value":"98738","product_id":98738,"label":"Night Musk","meta":"Signature","inspired_by":"","is_original":1,"family":"signature","gender":"unisex"},{"value":"98525","product_id":98525,"label":"Rio Leather","meta":"Signature","inspired_by":"","is_original":1,"family":"signature","gender":"unisex"},{"value":"98742","product_id":98742,"label":"Gardenia Musk","meta":"Signature","inspired_by":"","is_original":1,"family":"signature","gender":"unisex"},{"value":"97283","product_id":97283,"label":"Fern Shadow","meta":"Signature","inspired_by":"Amouage Bracken Women","is_original":0,"family":"signature","gender":"unisex"},{"value":"98749","product_id":98749,"label":"Patchouli Musk","meta":"Signature","inspired_by":"","is_original":1,"family":"signature","gender":"unisex"},{"value":"98521","product_id":98521,"label":"DPG","meta":"Signature","inspired_by":"","is_original":1,"family":"signature","gender":"unisex"},{"value":"97011","product_id":97011,"label":"Hushed Pages","meta":"Signature","inspired_by":"Maison Martin Margiela Whispers in the Library","is_original":0,"family":"signature","gender":"unisex"},{"value":"98747","product_id":98747,"label":"Rasberry Musk","meta":"Signature","inspired_by":"","is_original":1,"family":"signature","gender":"unisex"},{"value":"98768","product_id":98768,"label":"Oud Pranchin","meta":"Signature","inspired_by":"","is_original":1,"family":"signature","gender":"unisex"},{"value":"96989","product_id":96989,"label":"Orchard Neat","meta":"Signature","inspired_by":"Kilian Apple Brandy on the Rocks","is_original":0,"family":"signature","gender":"unisex"}]},{"id":"country","kind":"single","label":"Where do you usually wear perfume?","options":[{"value":"GCC","label":"GCC"},{"value":"EU","label":"Europe"},{"value":"US","label":"United States"},{"value":"AT","label":"Austria"},{"value":"JP","label":"Japan"},{"value":"MY","label":"Malaysia"},{"value":"CA","label":"Canada"},{"value":"UK","label":"United Kingdom"},{"value":"OTHER","label":"Other"}]},{"id":"contact","kind":"contact","label":"Where should we send your match?","fields":[{"name":"first_name","label":"First name","required":false},{"name":"email","label":"Email","required":true},{"name":"consent","label":"I want personalized scent recommendations.","kind":"checkbox","required":true}]}],"copy":{"heading":"Find your scent match in 30 seconds","sub":"Answer 3 quick questions. We email you personalized picks — led by our own crafted-in-house creations + a private offer.","cta_submit":"Get my match","cta_confirm":"Check your inbox to unlock your scent profile.","cta_done":"Your Scent Profile is ready."},"dismiss_days":7,"convert_days":365},"exit_intent":{"enabled":1,"kind":"email","after_seconds":5,"min_scroll_pct":0,"show_on_routes":[],"copy":{"kicker":"Wait — one moment","heading":"Before you go.","sub":"Take 12% off your first order — your code arrives instantly by email.","consent":"Send me my offer + occasional new releases. Unsubscribe anytime.","cta_submit":"Send my code","cta_dismiss":"No thanks","cta_done":"Your code is ready.","cta_confirm":"Use it at checkout. We've also emailed it to you."},"dismiss_days":30,"convert_days":365},"scroll":{"enabled":1,"kind":"email","after_seconds":0,"min_scroll_pct":60,"show_on_routes":[],"copy":{"kicker":"Curated for you","heading":"Loving what you see?","sub":"Save 10% on your first order. Drop your email and we'll send your code.","consent":"Send me my offer + new arrivals.","cta_submit":"Get my code","cta_dismiss":"Keep browsing","cta_done":"You're in."},"dismiss_days":30,"convert_days":365},"time":{"enabled":0,"kind":"email","after_seconds":30,"min_scroll_pct":0,"show_on_routes":[],"copy":{"kicker":"A small gift","heading":"Your private welcome.","sub":"A 10% welcome offer for new subscribers. Send it to your inbox?","consent":"Send me my offer + new arrivals.","cta_submit":"Send my offer","cta_dismiss":"Maybe later","cta_done":"Sent."},"dismiss_days":30,"convert_days":365},"cart_abandon":{"enabled":1,"kind":"email","after_seconds":240,"min_scroll_pct":0,"show_on_routes":[],"copy":{"kicker":"Your bag is waiting","heading":"Still thinking it over?","sub":"Take 10% off your bag. We'll email the code in seconds.","consent":"Send me my offer + occasional updates.","cta_submit":"Send my code","cta_dismiss":"Not now","cta_done":"Code on its way."},"dismiss_days":30,"convert_days":365},"email_offer":{"enabled":1,"kind":"offer_announcement","dismiss_days":1,"convert_days":1,"copy":{"kicker":"Arabiva Fragrances Team","cta_submit":"Shop the Collection","cta_dismiss":"Continue browsing"}}},"endpoint_submit":"/index.php?route=extension/module/marketing_hub_growth/captureSubmit"};
/* ==========================================================================
Marketing Hub Growth Engine - Storefront Popups
v2.0.0 (2026-05-12)
Multi-popup engine. Reads window.__mhGrowthConfig.popups[] and wires
the 5 popup types to the right triggers:
- welcome first-visit popup, after_seconds delay
- exit_intent cursor leaves viewport top
- scroll N% page scroll
- time M seconds on page
- cart_abandon item added to cart, no checkout within X minutes
All five share ONE design system: hairline borders, soft beige (#F7F3ED),
gold accent (#C09B7B), Georgia serif headings, black pill CTA.
Honors per-type dismiss + conversion cookies (~30 days).
Submits to /index.php?route=extension/module/marketing_hub_growth/captureSubmit
which creates/updates oc_marketing_hub_subscriber and (when discount_pct>0)
issues a real oc_coupon row, returning the code in the JSON response.
Accessibility:
- role="dialog" + aria-modal="true" + aria-labelledby
- ESC closes the open popup
- Focus trap inside the panel while open
- Focus restored to the previously-focused element on close
Idempotency:
- window.__mhGrowthLoaded guards double-load
- injectStyles checks for existing