1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[2270],{22270(e,t,n){n.r(t),n.d(t,{default:()=>s});var i=n(12505),a=n(81623);const s=new class{setup(){this.setObject(),this.setEvent(),this.sendUserProperties()}setObject(){this.myPageUserIdField=document.getElementById("js-my-page-user-id")}setEvent(){this.setEventAll(".gtm-my-page-signup","click",()=>{(0,a.R)({event:"my_page_click_signup_for_unsigned_user",eventCategory:void 0,eventLabel:void 0})}),this.setEventAll(".gtm-my-page-login","click",()=>{(0,a.R)({event:"my_page_click_login_for_unsigned_user",eventCategory:void 0,eventLabel:void 0})}),this.setEventAll(".gtm-my-page-wemake-point-help","click",()=>{(0,a.R)({event:"my_page_activity_log_click_help",eventCategory:"help",eventLabel:"wemake_point"})}),this.setEventAll(".gtm-my-page-leader-board-filter","click",e=>{const t=e.target.dataset.gtmLabel;(0,a.R)({event:"my_page_leader_board_change_filter",eventCategory:"filter",eventLabel:t||"no_label"})}),this.setEventAll(".gtm-my-page-notification-filter","click",e=>{const t=e.target.dataset.gtmLabel;(0,a.R)({event:"my_page_notification_change_filter",eventCategory:"filter",eventLabel:t||"no_label"})})}sendUserProperties(){return e=this,t=void 0,s=function*(){var e;const t=yield(0,a.Ne)(),n=(yield i.A.getUserId())===Number(null===(e=this.myPageUserIdField)||void 0===e?void 0:e.value);(0,a.R)(Object.assign(Object.assign({},t),{event:"my_page_push_user_properties",myPageUserProperties:{isOwnMyPage:n}}))},new((n=void 0)||(n=Promise))(function(i,a){function l(e){try{o(s.next(e))}catch(e){a(e)}}function r(e){try{o(s.throw(e))}catch(e){a(e)}}function o(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(l,r)}o((s=s.apply(e,t||[])).next())});var e,t,n,s}setEventAll(e,t,n){document.querySelectorAll(e).forEach(e=>{e.addEventListener(t,n)})}}}}]); 2//# sourceMappingURL=2270-096b81a9b0faa749f015.js.map
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.