PageSourceSearch

https://www.accessorize.com/on/demandware.static/Sites-accessorize…/default/v1791007581080/js/global/Share.js

js accessorize.com collected 2026-10-03 20:32:30 UTC 3,787 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkmnsn=self.webpackChunkmnsn||[]).push([[7902],{56588:function(e,t,n){function r(e){var t=setTimeout(function(){e(),t=0,e=null},arguments.length>1&&void 0!==arguments[1]?arguments[1]:0);return function(){t&&(clearTimeout(t),t=0,e=null)}}n.d(t,{A:function(){return r}})},78819:function(e,t,n){n.r(t),n.d(t,{default:function(){return y}});var r=n(91076),o=n(75451),i=n(56588),c=n(43047);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,l(r.key),r)}}function l(e){var t=function(e){if("object"!=s(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==s(t)?t:t+""}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(f=function(){return!!e})()}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}var y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(l,e);var t,n,r=function(e){var t=f();return function(){var n,r=h(e);if(t){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"==s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}(l);function l(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),r.apply(this,arguments)}return t=l,(n=[{key:"initCache",value:function(){this.selectors.shareBtn=this.element.querySelector(c.SHARE_BUTTON_SELECTOR),this.selectors.shareList=this.element.querySelector(c.SHARE_LIST_SELECTOR),this.selectors.copyLinkButton=this.element.querySelector(c.COPY_LINK_SELECTOR),this.selectors.shareUrl=this.element.querySelector(c.SHARE_URL_SELECTOR),this.selectors.message=this.element.querySelector(c.CONTAINER_COPY_LINK_MESSAGE_SELECTOR)}},{key:"renderMessage",value:function(){this.showElement(this.selectors.message),(0,i.A)(this.hideElement.bind(this,this.selectors.message),3e3)}},{key:"copyLink",value:function(e){e.preventDefault();var t=document.createElement("input");this.element.appendChild(t),t.value=decodeURIComponent(this.selectors.shareUrl.value),t.setSelectionRange(0,99999),t.select(),document.execCommand("copy"),this.element.removeChild(t),this.renderMessage()}},{key:"bindEvents",value:function(){(0,o.on)("click",this.selectors.shareBtn,this.hideShowShareList.bind(this)),(0,o.on)("click",this.selectors.copyLinkButton,this.copyLink.bind(this))}},{key:"hideShowShareList",value:function(){this.selectors.shareList.classList.toggle(c.HIDDEN)}},{key:"destroy",value:function(){(0,o.AU)("click",this.selectors.shareBtn),(0,o.AU)("click",this.selectors.copyLinkButton)}}])&&u(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),l}(r.A)}}]);

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.