{"version":3,"file":"js/988.js","mappings":"g1BAqBA,YArBc,WACZ,c,4FAAc,SACZA,KAAKC,UAAY,CACfC,UAAW,aAEf,C,UAaC,O,EAbA,G,EAAA,uBAED,WACEC,EAAEH,KAAKC,UAAUC,WAAWE,GAAG,SAAS,WAEtC,IAAMC,EAAUC,OAAOC,SAASC,KAEhCC,UAAUC,UAAUC,UAAUN,EAChC,GACF,GAAC,kBAED,WACEL,KAAKY,UACP,M,8EAAC,EAlBW,G","sources":["webpack://t2u/./src/js/components/CopyLink.js"],"sourcesContent":["class CopyLink {\r\n constructor() {\r\n this.selectors = {\r\n component: '.copy-link',\r\n };\r\n }\r\n\r\n copyLink() {\r\n $(this.selectors.component).on('click', () => {\r\n // getting page url\r\n const content = window.location.href;\r\n // loading the content into our clipboard\r\n navigator.clipboard.writeText(content);\r\n });\r\n }\r\n\r\n init() {\r\n this.copyLink();\r\n }\r\n}\r\n\r\nexport default new CopyLink();\r\n"],"names":["this","selectors","component","$","on","content","window","location","href","navigator","clipboard","writeText","copyLink"],"sourceRoot":""}