"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.VariableProductTour=void 0;const element_1=require("@wordpress/element"),i18n_1=require("@wordpress/i18n"),components_1=require("@woocommerce/components"),data_1=require("@woocommerce/data"),tracks_1=require("@woocommerce/tracks"),data_2=require("@wordpress/data"),core_data_1=require("@wordpress/core-data"),constants_1=require("../../../constants"),VariableProductTour=()=>{const[e,o]=(0,element_1.useState)(!1),t=(0,core_data_1.useEntityId)("postType","product"),r=(0,element_1.useRef)(),a=(0,element_1.useMemo)((()=>({product_id:t,page:1,per_page:constants_1.DEFAULT_VARIATION_PER_PAGE_OPTION,order:"asc",orderby:"menu_order"})),[t]),{totalCount:c}=(0,data_2.useSelect)((e=>{const{getProductVariationsTotalCount:o}=e(data_1.EXPERIMENTAL_PRODUCT_VARIATIONS_STORE_NAME);return{totalCount:o(a)}}),[t]),{updateUserPreferences:n,variable_product_block_tour_shown:s}=(0,data_1.useUserPreferences)(),i={placement:"top",steps:[{referenceElements:{desktop:".wp-block-woocommerce-product-variation-items-field"},focusElement:{desktop:".wp-block-woocommerce-product-variation-items-field"},meta:{name:"product-variations-2",heading:(0,i18n_1.__)("⚡️ This product now has variations","woocommerce"),descriptions:{desktop:(0,i18n_1.__)("From now on, you’ll manage pricing, shipping, and inventory for each variation individually—just like any other product in your store.","woocommerce")},primaryButton:{text:(0,i18n_1.__)("Got it","woocommerce")}}}],options:{classNames:["variation-items-product-tour"],effects:{arrowIndicator:!0,spotlight:{interactivity:{enabled:!0}}},callbacks:{onStepViewOnce:()=>{(0,tracks_1.recordEvent)("variable_product_block_tour_shown",{variable_count:c})}},popperModifiers:[{name:"offset",options:{offset:[0,32]}}]},closeHandler:()=>{n({variable_product_block_tour_shown:"yes"}),o(!1),(0,tracks_1.recordEvent)("variable_product_block_tour_dismissed")}};(0,element_1.useEffect)((()=>{const t=r.current!==c&&c>0&&0===r.current;r.current=c,t&&!e&&o(!0)}),[c]);const{hasShownProductEditorTour:u}=(0,data_2.useSelect)((e=>{const{getOption:o}=e(data_1.OPTIONS_STORE_NAME);return{hasShownProductEditorTour:"yes"===o("woocommerce_block_product_tour_shown")}}));return"yes"!==s&&e&&u?(0,element_1.createElement)(components_1.TourKit,{config:i}):null};exports.VariableProductTour=VariableProductTour; Uncategorized Archives - Page 25 of 393 -

Uncategorized

Gambling Commission website

Gambling Commission website Blending simple paylines with sticky wilds, it is perfect for nostalgic players who want a straightforward experience that still offers modern excitement. Based in Sweden, the studio focuses on producing original games that stand out from conventional slots. Hacksaw delivers memorable experiences for players who enjoy edgy, high impact gameplay. Hacksaw games …

Gambling Commission website Read More »

Non-GamStop Casinos 2026: Full Guide & Top Picks

Non-GamStop Casinos 2026: Full Guide & Top Picks Choosing the right casino means finding a platform that suits your gaming style and rewards you for your loyalty. Platforms like InstaSpin and WSM Casino are perfect for users who value frequent rewards and cashback options, offering non GamStop alternatives where perks are high and restrictions low. …

Non-GamStop Casinos 2026: Full Guide & Top Picks Read More »

partycasino

partycasino These games are usually played at low stakes and require little to no time to learn. The extra-ordinary sound effects, visuals, and winning chances truly make Lightning Games the best games to play. In these games, Evolution Gaming blends RNG technology with natural gameplay to provide wins worth far more than the standard variant …

partycasino Read More »

Best Bitcoin Casinos 2026 Top Crypto Casinos Reviewed

Best Bitcoin Casinos 2026 Top Crypto Casinos Reviewed This means, every bit of rakeback you get on your losses on all slots, will be boosted by 20%. There’s no doubt about, BetAndYou is a platform you absolutely shouldn’t sleep on. JB.com certainly bundles together value, so we’d recommend signing up and enjoying everything they have …

Best Bitcoin Casinos 2026 Top Crypto Casinos Reviewed Read More »

What type of slot machines exist? Complete guide Oddschecker Oddschecker

What type of slot machines exist? Complete guide Oddschecker Oddschecker That means if you’re playing a progressive jackpot game at one casino, your chance of snagging that same massive prize is just as good as if you’re playing at another casino! For those looking to take their gaming experience to a whole new level, multiplier …

What type of slot machines exist? Complete guide Oddschecker Oddschecker Read More »

Play your Favourite Online Slot Games Spin and Win Casino

Play your Favourite Online Slot Games Spin and Win Casino Volatility describes the frequency of wins and their size. For example, a 96% RTP means the game should theoretically return 96 credits for every 100 credits wagered. If you’re unsure, check the in-game information for full details. Each spin is generated independently and at random, …

Play your Favourite Online Slot Games Spin and Win Casino Read More »