PageSourceSearch

https://www.swarovski.com.ar/_next/static/chunks/DropdownButton.2c6d0b63d0b42dea.js

js swarovski.com.ar collected 2026-10-08 07:25:21 UTC 1,207 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[697],{47236:function(e,n,r){r.r(n),r.d(n,{default:function(){return a}});var t=r(27378),o=r(16268),u=r(16090);let useDropdownTrigger=({triggerRef:e})=>{let{toggle:n,dropdownTriggerRef:r,addDropdownTriggerRef:o,isOpen:d,id:a}=(0,u.x)();return(0,t.useImperativeHandle)(e,()=>r.current,[r]),{onClick:n,ref:o,"aria-expanded":d,"aria-controls":a,"aria-haspopup":"menu"}},d=(0,t.forwardRef)(function({testId:e="fs-dropdown-button",children:n,asChild:r=!1,...u},d){let a=useDropdownTrigger({triggerRef:d}),l=t.isValidElement(n)?(0,t.cloneElement)(n,{...a,...n.props}):n;return t.createElement(t.Fragment,null,r?l:t.createElement(o.Z,{"data-fs-dropdown-button":!0,"data-testid":e,variant:"tertiary",...a,...u},n))});var a=d},32641:function(e,n,r){var t=r(27378);let o=(0,t.createContext)({isOpen:!1,dropdownTriggerRef:null,selectedDropdownItemIndexRef:null,dropdownItemsRef:null,id:"fs-dropdown"});n.Z=o},16090:function(e,n,r){r.d(n,{x:function(){return useDropdown}});var t=r(27378),o=r(32641);let useDropdown=()=>{let e=(0,t.useContext)(o.Z);if(void 0===e)throw Error("Do not use useDropdown hook outside the Dropdown context.");return e}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.