Plugin Directory

Changeset 3013028


Ignore:
Timestamp:
12/21/2023 03:21:47 PM (2 years ago)
Author:
yuvalo
Message:

Releasing version 1.1.0

Location:
goal-tracker-ga
Files:
10 added
4 deleted
28 edited
1 copied

Legend:

Unmodified
Added
Removed
  • goal-tracker-ga/tags/1.1.0/README.txt

    r3011805 r3013028  
    55Requires at least: 5.5
    66Tested up to: 6.4.2
    7 Stable tag: 1.0.16
     7Stable tag: 1.1.0
    88Requires PHP: 5.6.20
    99License: GPLv2 or later
     
    3535> Goal Tracker for Google Analytics GA4 is the professional version of our plugin and adds more tracking capabilities:
    3636>
     37> * WooCommerce Tracking
    3738> * User Tracking
    3839> * Placeholders to enrich your event data
     
    7677
    7778 == Changelog ==
     79
     80 = 1.1.0 - 2023-12-18 =
     81 1. Bug Fixes
     82 2. Pro - Added WooCommerce Support
    7883 
    7984= 1.0.16 =
  • goal-tracker-ga/tags/1.1.0/admin/class-wp-goal-tracker-ga-admin.php

    r2931375 r3013028  
    6363     * @var      string    $rest_version    The rest version of this plugin..
    6464     */
    65     private  $requird_options = 'manage_options' ;
     65    private  $required_options = 'manage_options' ;
    6666    /**
    6767     * Initialize the class and set its properties.
     
    223223        },
    224224        ) ) );
     225        register_rest_route( $namespace, '/get_ecommerce_tracking_settings', array( array(
     226            'methods'             => \WP_REST_Server::READABLE,
     227            'callback'            => array( $this, 'get_ecommerce_tracking_settings' ),
     228            'permission_callback' => function () {
     229            return current_user_can( $this->required_options );
     230        },
     231        ) ) );
     232        register_rest_route( $namespace, '/set_ecommerce_tracking_settings', array( array(
     233            'methods'             => \WP_REST_Server::EDITABLE,
     234            'callback'            => array( $this, 'set_ecommerce_tracking_settings' ),
     235            'permission_callback' => function () {
     236            return current_user_can( $this->required_options );
     237        },
     238        ) ) );
    225239        register_rest_route( $namespace, '/get_form_tracking_settings', array( array(
    226240            'methods'             => \WP_REST_Server::READABLE,
     
    407421   
    408422    /**
     423     * Set Ecommerce Tracking Settings.
     424     *
     425     * @since 1.0.17
     426     *
     427     * @param WP_REST_Request $request Full details about the request.
     428     *
     429     * @return array|WP_REST_Response Plugin Video Settings.
     430     */
     431    public function set_ecommerce_tracking_settings( \WP_REST_Request $request )
     432    {
     433        $params = $request->get_params();
     434        if ( isset( $params['ecommerceTrackingSettings'] ) ) {
     435            //wp_goal_tracker_ga_delete_options();
     436            wp_goal_tracker_ga_set_ecommerce_tracking_settings( $params['ecommerceTrackingSettings'] );
     437        }
     438        return rest_ensure_response( wp_goal_tracker_ga_get_options( 'ecommerceTrackingSettings' ) );
     439    }
     440   
     441    /**
     442     * Get Ecommerce Tracking settings
     443     *
     444     * @since 1.0.17
     445     *
     446     * @param WP_REST_Request $request Full details about the request.
     447     *
     448     * @return array|WP_REST_Response Plugin Video Settings.
     449     */
     450    public function get_ecommerce_tracking_settings( \WP_REST_Request $request )
     451    {
     452        return rest_ensure_response( wp_goal_tracker_ga_get_options( 'ecommerceTrackingSettings' ) );
     453    }
     454   
     455    /**
    409456     * Set Click Config.
    410457     *
     
    514561    }
    515562   
    516     function gtga_show_review_notice()
     563    public function gtga_show_review_notice()
    517564    {
    518565        // Check if the user has already dismissed the notice
     
    552599    }
    553600   
    554     function gtga_dismiss_review_notice()
     601    public function gtga_dismiss_review_notice()
    555602    {
    556603        update_option( 'gtga_review_notice_dismissed', true );
  • goal-tracker-ga/tags/1.1.0/apps/basic/build/index.asset.php

    r2991535 r3013028  
    1 <?php return array('dependencies' => array('react', 'react-dom', 'wp-element'), 'version' => 'e1b8fd8d445ce434508a');
     1<?php return array('dependencies' => array('react', 'react-dom', 'wp-element'), 'version' => '30c0f745d6c4ecb06b7f');
  • goal-tracker-ga/tags/1.1.0/apps/basic/build/index.css

    r2948161 r3013028  
    13671367  border-color: rgb(75 36 248 / var(--tw-border-opacity));
    13681368}
     1369.border-brand-danger {
     1370  --tw-border-opacity: 1;
     1371  border-color: rgb(156 9 93 / var(--tw-border-opacity));
     1372}
    13691373.border-brand-primary {
    13701374  --tw-border-opacity: 1;
     
    17871791  --tw-text-opacity: 1;
    17881792  color: rgb(120 90 250 / var(--tw-text-opacity));
     1793}
     1794.text-brand-danger {
     1795  --tw-text-opacity: 1;
     1796  color: rgb(156 9 93 / var(--tw-text-opacity));
    17891797}
    17901798.text-brand-primary {
     
    20652073
    20662074
     2075.hover\:text-brand-danger:hover {
     2076  --tw-text-opacity: 1;
     2077  color: rgb(156 9 93 / var(--tw-text-opacity));
     2078}
     2079
     2080
    20672081.hover\:text-brand-primary:hover {
    20682082  --tw-text-opacity: 1;
  • goal-tracker-ga/tags/1.1.0/apps/basic/build/index.js

    r2991535 r3013028  
    1 (()=>{var e,t,r={431:(e,t,r)=>{const n=r(196),i=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10.293 3.293a1 1 0 011.414 0l6 6a1 1 0 010 1.414l-6 6a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-4.293-4.293a1 1 0 010-1.414z",clipRule:"evenodd"}))}));e.exports=i},977:(e,t,r)=>{const n=r(196),i=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-3a1 1 0 00-.867.5 1 1 0 11-1.731-1A3 3 0 0113 8a3.001 3.001 0 01-2 2.83V11a1 1 0 11-2 0v-1a1 1 0 011-1 1 1 0 100-2zm0 8a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"}))}));e.exports=i},644:(e,t,r)=>{e.exports=r(308)},353:(e,t,r)=>{"use strict";var n=r(44),i=r(955),a=r(233),u=r(30),s=r(948),o=r(875),l=r(842),L=r(618),c=r(560),M=r(714);e.exports=function(e){return new Promise((function(t,r){var j,d=e.data,N=e.headers,m=e.responseType;function y(){e.cancelToken&&e.cancelToken.unsubscribe(j),e.signal&&e.signal.removeEventListener("abort",j)}n.isFormData(d)&&delete N["Content-Type"];var g=new XMLHttpRequest;if(e.auth){var x=e.auth.username||"",p=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";N.Authorization="Basic "+btoa(x+":"+p)}var T=s(e.baseURL,e.url);function w(){if(g){var n="getAllResponseHeaders"in g?o(g.getAllResponseHeaders()):null,a={data:m&&"text"!==m&&"json"!==m?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:n,config:e,request:g};i((function(e){t(e),y()}),(function(e){r(e),y()}),a),g=null}}if(g.open(e.method.toUpperCase(),u(T,e.params,e.paramsSerializer),!0),g.timeout=e.timeout,"onloadend"in g?g.onloadend=w:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(w)},g.onabort=function(){g&&(r(L("Request aborted",e,"ECONNABORTED",g)),g=null)},g.onerror=function(){r(L("Network Error",e,null,g)),g=null},g.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||c;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(L(t,e,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",g)),g=null},n.isStandardBrowserEnv()){var S=(e.withCredentials||l(T))&&e.xsrfCookieName?a.read(e.xsrfCookieName):void 0;S&&(N[e.xsrfHeaderName]=S)}"setRequestHeader"in g&&n.forEach(N,(function(e,t){void 0===d&&"content-type"===t.toLowerCase()?delete N[t]:g.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(g.withCredentials=!!e.withCredentials),m&&"json"!==m&&(g.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&g.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&g.upload&&g.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(j=function(e){g&&(r(!e||e&&e.type?new M("canceled"):e),g.abort(),g=null)},e.cancelToken&&e.cancelToken.subscribe(j),e.signal&&(e.signal.aborted?j():e.signal.addEventListener("abort",j))),d||(d=null),g.send(d)}))}},308:(e,t,r)=>{"use strict";var n=r(44),i=r(95),a=r(215),u=r(937),s=function e(t){var r=new a(t),s=i(a.prototype.request,r);return n.extend(s,a.prototype,r),n.extend(s,r),s.create=function(r){return e(u(t,r))},s}(r(663));s.Axios=a,s.Cancel=r(714),s.CancelToken=r(89),s.isCancel=r(41),s.VERSION=r(241).version,s.all=function(e){return Promise.all(e)},s.spread=r(783),s.isAxiosError=r(587),e.exports=s,e.exports.default=s},714:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},89:(e,t,r)=>{"use strict";var n=r(714);function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t<n;t++)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},i.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},i.source=function(){var e;return{token:new i((function(t){e=t})),cancel:e}},e.exports=i},41:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},215:(e,t,r)=>{"use strict";var n=r(44),i=r(30),a=r(946),u=r(895),s=r(937),o=r(525),l=o.validators;function L(e){this.defaults=e,this.interceptors={request:new a,response:new a}}L.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;void 0!==r&&o.assertOptions(r,{silentJSONParsing:l.transitional(l.boolean),forcedJSONParsing:l.transitional(l.boolean),clarifyTimeoutError:l.transitional(l.boolean)},!1);var n=[],i=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(i=i&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var a,L=[];if(this.interceptors.response.forEach((function(e){L.push(e.fulfilled,e.rejected)})),!i){var c=[u,void 0];for(Array.prototype.unshift.apply(c,n),c=c.concat(L),a=Promise.resolve(t);c.length;)a=a.then(c.shift(),c.shift());return a}for(var M=t;n.length;){var j=n.shift(),d=n.shift();try{M=j(M)}catch(e){d(e);break}}try{a=u(M)}catch(e){return Promise.reject(e)}for(;L.length;)a=a.then(L.shift(),L.shift());return a},L.prototype.getUri=function(e){return e=s(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){L.prototype[e]=function(t,r){return this.request(s(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){L.prototype[e]=function(t,r,n){return this.request(s(n||{},{method:e,url:t,data:r}))}})),e.exports=L},946:(e,t,r)=>{"use strict";var n=r(44);function i(){this.handlers=[]}i.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},948:(e,t,r)=>{"use strict";var n=r(192),i=r(762);e.exports=function(e,t){return e&&!n(t)?i(e,t):t}},618:(e,t,r)=>{"use strict";var n=r(935);e.exports=function(e,t,r,i,a){var u=new Error(e);return n(u,t,r,i,a)}},895:(e,t,r)=>{"use strict";var n=r(44),i=r(556),a=r(41),u=r(663),s=r(714);function o(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s("canceled")}e.exports=function(e){return o(e),e.headers=e.headers||{},e.data=i.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||u.adapter)(e).then((function(t){return o(e),t.data=i.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return a(t)||(o(e),t&&t.response&&(t.response.data=i.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},935:e=>{"use strict";e.exports=function(e,t,r,n,i){return e.config=t,r&&(e.code=r),e.request=n,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},937:(e,t,r)=>{"use strict";var n=r(44);e.exports=function(e,t){t=t||{};var r={};function i(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function a(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:i(void 0,e[r]):i(e[r],t[r])}function u(e){if(!n.isUndefined(t[e]))return i(void 0,t[e])}function s(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:i(void 0,e[r]):i(void 0,t[r])}function o(r){return r in t?i(e[r],t[r]):r in e?i(void 0,e[r]):void 0}var l={url:u,method:u,data:u,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:o};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=l[e]||a,i=t(e);n.isUndefined(i)&&t!==o||(r[e]=i)})),r}},955:(e,t,r)=>{"use strict";var n=r(618);e.exports=function(e,t,r){var i=r.config.validateStatus;r.status&&i&&!i(r.status)?t(n("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)}},556:(e,t,r)=>{"use strict";var n=r(44),i=r(663);e.exports=function(e,t,r){var a=this||i;return n.forEach(r,(function(r){e=r.call(a,e,t)})),e}},663:(e,t,r)=>{"use strict";var n=r(44),i=r(868),a=r(935),u=r(560),s={"Content-Type":"application/x-www-form-urlencoded"};function o(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var l,L={transitional:u,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(l=r(353)),l),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(o(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)||t&&"application/json"===t["Content-Type"]?(o(t,"application/json"),function(e,t,r){if(n.isString(e))try{return(0,JSON.parse)(e),n.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||L.transitional,r=t&&t.silentJSONParsing,i=t&&t.forcedJSONParsing,u=!r&&"json"===this.responseType;if(u||i&&n.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(u){if("SyntaxError"===e.name)throw a(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(e){L.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){L.headers[e]=n.merge(s)})),e.exports=L},560:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},241:e=>{e.exports={version:"0.26.1"}},95:e=>{"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},30:(e,t,r)=>{"use strict";var n=r(44);function i(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var a;if(r)a=r(t);else if(n.isURLSearchParams(t))a=t.toString();else{var u=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),u.push(i(t)+"="+i(e))})))})),a=u.join("&")}if(a){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}},762:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},233:(e,t,r)=>{"use strict";var n=r(44);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,i,a,u){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(i)&&s.push("path="+i),n.isString(a)&&s.push("domain="+a),!0===u&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},192:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},587:(e,t,r)=>{"use strict";var n=r(44);e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},842:(e,t,r)=>{"use strict";var n=r(44);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function i(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=i(window.location.href),function(t){var r=n.isString(t)?i(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},868:(e,t,r)=>{"use strict";var n=r(44);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},875:(e,t,r)=>{"use strict";var n=r(44),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,a,u={};return e?(n.forEach(e.split("\n"),(function(e){if(a=e.indexOf(":"),t=n.trim(e.substr(0,a)).toLowerCase(),r=n.trim(e.substr(a+1)),t){if(u[t]&&i.indexOf(t)>=0)return;u[t]="set-cookie"===t?(u[t]?u[t]:[]).concat([r]):u[t]?u[t]+", "+r:r}})),u):u}},783:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},525:(e,t,r)=>{"use strict";var n=r(241).version,i={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){i[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var a={};i.transitional=function(e,t,r){function i(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,u){if(!1===e)throw new Error(i(n," has been removed"+(t?" in "+t:"")));return t&&!a[n]&&(a[n]=!0,console.warn(i(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,u)}},e.exports={assertOptions:function(e,t,r){if("object"!=typeof e)throw new TypeError("options must be an object");for(var n=Object.keys(e),i=n.length;i-- >0;){var a=n[i],u=t[a];if(u){var s=e[a],o=void 0===s||u(s,a,e);if(!0!==o)throw new TypeError("option "+a+" must be "+o)}else if(!0!==r)throw Error("Unknown option "+a)}},validators:i}},44:(e,t,r)=>{"use strict";var n=r(95),i=Object.prototype.toString;function a(e){return Array.isArray(e)}function u(e){return void 0===e}function s(e){return"[object ArrayBuffer]"===i.call(e)}function o(e){return null!==e&&"object"==typeof e}function l(e){if("[object Object]"!==i.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function L(e){return"[object Function]"===i.call(e)}function c(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),a(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}e.exports={isArray:a,isArrayBuffer:s,isBuffer:function(e){return null!==e&&!u(e)&&null!==e.constructor&&!u(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"[object FormData]"===i.call(e)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&s(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:o,isPlainObject:l,isUndefined:u,isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:L,isStream:function(e){return o(e)&&L(e.pipe)},isURLSearchParams:function(e){return"[object URLSearchParams]"===i.call(e)},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:c,merge:function e(){var t={};function r(r,n){l(t[n])&&l(r)?t[n]=e(t[n],r):l(r)?t[n]=e({},r):a(r)?t[n]=r.slice():t[n]=r}for(var n=0,i=arguments.length;n<i;n++)c(arguments[n],r);return t},extend:function(e,t,r){return c(t,(function(t,i){e[i]=r&&"function"==typeof t?n(t,r):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},779:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)){if(r.length){var u=i.apply(null,r);u&&e.push(u)}}else if("object"===a){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()},196:e=>{"use strict";e.exports=window.React}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var a=n[e]={exports:{}};return r[e](a,a.exports,i),a.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var a=Object.create(null);i.r(a);var u={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>u[e]=()=>r[e]));return u.default=()=>r,i.d(a,u),a},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;i.g.importScripts&&(e=i.g.location+"");var t=i.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");r.length&&(e=r[r.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.p=e})(),(()=>{"use strict";const e=window.wp.element;var t=i(196),r=i.t(t,2),n=i.n(t);const a=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{d:"M5 4a1 1 0 00-2 0v7.268a2 2 0 000 3.464V16a1 1 0 102 0v-1.268a2 2 0 000-3.464V4zM11 4a1 1 0 10-2 0v1.268a2 2 0 000 3.464V16a1 1 0 102 0V8.732a2 2 0 000-3.464V4zM16 3a1 1 0 011 1v7.268a2 2 0 010 3.464V16a1 1 0 11-2 0v-1.268a2 2 0 010-3.464V4a1 1 0 011-1z"}))})),u=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-3a1 1 0 00-.867.5 1 1 0 11-1.731-1A3 3 0 0113 8a3.001 3.001 0 01-2 2.83V11a1 1 0 11-2 0v-1a1 1 0 011-1 1 1 0 100-2zm0 8a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"}))}));var s=i(779),o=i.n(s);const l=(0,t.createContext)(null),L=r=>{let{initialTabs:n,children:i}=r;const a=(e=>{const[r,n]=(0,t.useState)(e);return{tabs:r,updateTab:(e,t)=>{n((r=>r.map(((r,n)=>n===e?{...r,...t}:r))))},updateTabByName:(e,t)=>{n((r=>r.map((r=>r.name===e?{...r,...t}:r))))},updateHasIssueByName:(e,t)=>{n((r=>r.map((r=>r.name===e?{...r,hasIssue:t}:r))))}}})(n);return(0,e.createElement)(l.Provider,{value:a},i)};function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c.apply(this,arguments)}var M;!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(M||(M={}));const j="popstate";function d(e,t){if(!1===e||null==e)throw new Error(t)}function N(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function m(e,t){return{usr:e.state,key:e.key,idx:t}}function y(e,t,r,n){return void 0===r&&(r=null),c({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?x(t):t,{state:r,key:t&&t.key||n||Math.random().toString(36).substr(2,8)})}function g(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&"?"!==r&&(t+="?"===r.charAt(0)?r:"?"+r),n&&"#"!==n&&(t+="#"===n.charAt(0)?n:"#"+n),t}function x(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}var p;function T(e,t,r){void 0===r&&(r="/");let n=A(("string"==typeof t?x(t):t).pathname||"/",r);if(null==n)return null;let i=w(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let r=e.length===t.length&&e.slice(0,-1).every(((e,r)=>e===t[r]));return r?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(i);let a=null;for(let e=0;null==a&&e<i.length;++e)a=b(i[e],k(n));return a}function w(e,t,r,n){void 0===t&&(t=[]),void 0===r&&(r=[]),void 0===n&&(n="");let i=(e,i,a)=>{let u={relativePath:void 0===a?e.path||"":a,caseSensitive:!0===e.caseSensitive,childrenIndex:i,route:e};u.relativePath.startsWith("/")&&(d(u.relativePath.startsWith(n),'Absolute route path "'+u.relativePath+'" nested under path "'+n+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),u.relativePath=u.relativePath.slice(n.length));let s=G([n,u.relativePath]),o=r.concat(u);e.children&&e.children.length>0&&(d(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+s+'".'),w(e.children,t,o,s)),(null!=e.path||e.index)&&t.push({path:s,score:O(s,e.index),routesMeta:o})};return e.forEach(((e,t)=>{var r;if(""!==e.path&&null!=(r=e.path)&&r.includes("?"))for(let r of S(e.path))i(e,t,r);else i(e,t)})),t}function S(e){let t=e.split("/");if(0===t.length)return[];let[r,...n]=t,i=r.endsWith("?"),a=r.replace(/\?$/,"");if(0===n.length)return i?[a,""]:[a];let u=S(n.join("/")),s=[];return s.push(...u.map((e=>""===e?a:[a,e].join("/")))),i&&s.push(...u),s.map((t=>e.startsWith("/")&&""===t?"/":t))}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(p||(p={})),new Set(["lazy","caseSensitive","path","id","index","children"]);const E=/^:\w+$/,D=3,f=2,I=1,h=10,C=-2,z=e=>"*"===e;function O(e,t){let r=e.split("/"),n=r.length;return r.some(z)&&(n+=C),t&&(n+=f),r.filter((e=>!z(e))).reduce(((e,t)=>e+(E.test(t)?D:""===t?I:h)),n)}function b(e,t){let{routesMeta:r}=e,n={},i="/",a=[];for(let e=0;e<r.length;++e){let u=r[e],s=e===r.length-1,o="/"===i?t:t.slice(i.length)||"/",l=v({path:u.relativePath,caseSensitive:u.caseSensitive,end:s},o);if(!l)return null;Object.assign(n,l.params);let L=u.route;a.push({params:n,pathname:G([i,l.pathname]),pathnameBase:P(G([i,l.pathnameBase])),route:L}),"/"!==l.pathnameBase&&(i=G([i,l.pathnameBase]))}return a}function v(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[r,n]=function(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!0),N("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let n=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,((e,t)=>(n.push(t),"/([^\\/]+)")));return e.endsWith("*")?(n.push("*"),i+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?i+="\\/*$":""!==e&&"/"!==e&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),n]}(e.path,e.caseSensitive,e.end),i=t.match(r);if(!i)return null;let a=i[0],u=a.replace(/(.)\/+$/,"$1"),s=i.slice(1);return{params:n.reduce(((e,t,r)=>{if("*"===t){let e=s[r]||"";u=a.slice(0,a.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(r){return N(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+r+")."),e}}(s[r]||"",t),e}),{}),pathname:a,pathnameBase:u,pattern:e}}function k(e){try{return decodeURI(e)}catch(t){return N(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function A(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&"/"!==n?null:e.slice(r)||"/"}function Y(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(n)+"].  Please separate it out to the `to."+r+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function U(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function Q(e,t,r,n){let i;void 0===n&&(n=!1),"string"==typeof e?i=x(e):(i=c({},e),d(!i.pathname||!i.pathname.includes("?"),Y("?","pathname","search",i)),d(!i.pathname||!i.pathname.includes("#"),Y("#","pathname","hash",i)),d(!i.search||!i.search.includes("#"),Y("#","search","hash",i)));let a,u=""===e||""===i.pathname,s=u?"/":i.pathname;if(n||null==s)a=r;else{let e=t.length-1;if(s.startsWith("..")){let t=s.split("/");for(;".."===t[0];)t.shift(),e-=1;i.pathname=t.join("/")}a=e>=0?t[e]:"/"}let o=function(e,t){void 0===t&&(t="/");let{pathname:r,search:n="",hash:i=""}="string"==typeof e?x(e):e,a=r?r.startsWith("/")?r:function(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)})),r.length>1?r.join("/"):"/"}(r,t):t;return{pathname:a,search:R(n),hash:F(i)}}(i,a),l=s&&"/"!==s&&s.endsWith("/"),L=(u||"."===s)&&r.endsWith("/");return o.pathname.endsWith("/")||!l&&!L||(o.pathname+="/"),o}const G=e=>e.join("/").replace(/\/\/+/g,"/"),P=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),R=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",F=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";class _ extends Error{}const q=["post","put","patch","delete"],B=(new Set(q),["get",...q]);new Set(B),new Set([301,302,303,307,308]),new Set([307,308]),"undefined"!=typeof window&&void 0!==window.document&&window.document.createElement,Symbol("deferred");const Z="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},{useState:W,useEffect:H,useLayoutEffect:V,useDebugValue:J}=t;function X(e){const t=e.getSnapshot,r=e.value;try{const e=t();return!Z(r,e)}catch(e){return!0}}"undefined"==typeof window||void 0===window.document||window.document.createElement;"useSyncExternalStore"in t&&t.useSyncExternalStore;const K=t.createContext(null),$=t.createContext(null),ee=t.createContext(null),te=t.createContext(null),re=t.createContext({outlet:null,matches:[]}),ne=t.createContext(null);function ie(){return ie=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ie.apply(this,arguments)}function ae(){return null!=t.useContext(te)}function ue(){return ae()||d(!1),t.useContext(te).location}function se(e,r){let{relative:n}=void 0===r?{}:r,{matches:i}=t.useContext(re),{pathname:a}=ue(),u=JSON.stringify(U(i).map((e=>e.pathnameBase)));return t.useMemo((()=>Q(e,JSON.parse(u),a,"path"===n)),[e,u,a,n])}function oe(){let e=function(){var e;let r=t.useContext(ne),n=function(e){let r=t.useContext($);return r||d(!1),r}(Me.UseRouteError),i=function(e){let r=function(e){let r=t.useContext(re);return r||d(!1),r}(),n=r.matches[r.matches.length-1];return n.route.id||d(!1),n.route.id}(Me.UseRouteError);return r||(null==(e=n.errors)?void 0:e[i])}(),r=function(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return t.createElement(t.Fragment,null,t.createElement("h2",null,"Unexpected Application Error!"),t.createElement("h3",{style:{fontStyle:"italic"}},r),n?t.createElement("pre",{style:i},n):null,null)}class le extends t.Component{constructor(e){super(e),this.state={location:e.location,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location?{error:e.error,location:e.location}:{error:e.error||t.error,location:t.location}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error?t.createElement(re.Provider,{value:this.props.routeContext},t.createElement(ne.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Le(e){let{routeContext:r,match:n,children:i}=e,a=t.useContext(K);return a&&a.static&&a.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=n.route.id),t.createElement(re.Provider,{value:r},i)}var ce,Me,je;function de(e){d(!1)}function Ne(e){let{basename:r="/",children:n=null,location:i,navigationType:a=M.Pop,navigator:u,static:s=!1}=e;ae()&&d(!1);let o=r.replace(/^\/*/,"/"),l=t.useMemo((()=>({basename:o,navigator:u,static:s})),[o,u,s]);"string"==typeof i&&(i=x(i));let{pathname:L="/",search:c="",hash:j="",state:N=null,key:m="default"}=i,y=t.useMemo((()=>{let e=A(L,o);return null==e?null:{location:{pathname:e,search:c,hash:j,state:N,key:m},navigationType:a}}),[o,L,c,j,N,m,a]);return null==y?null:t.createElement(ee.Provider,{value:l},t.createElement(te.Provider,{children:n,value:y}))}function me(e){let{children:r,location:n}=e,i=t.useContext(K);return function(e,r){ae()||d(!1);let{navigator:n}=t.useContext(ee),i=t.useContext($),{matches:a}=t.useContext(re),u=a[a.length-1],s=u?u.params:{},o=(u&&u.pathname,u?u.pathnameBase:"/");u&&u.route;let l,L=ue();if(r){var c;let e="string"==typeof r?x(r):r;"/"===o||(null==(c=e.pathname)?void 0:c.startsWith(o))||d(!1),l=e}else l=L;let j=l.pathname||"/",N=T(e,{pathname:"/"===o?j:j.slice(o.length)||"/"}),m=function(e,r,n){if(void 0===r&&(r=[]),null==e){if(null==n||!n.errors)return null;e=n.matches}let i=e,a=null==n?void 0:n.errors;if(null!=a){let e=i.findIndex((e=>e.route.id&&(null==a?void 0:a[e.route.id])));e>=0||d(!1),i=i.slice(0,Math.min(i.length,e+1))}return i.reduceRight(((e,u,s)=>{let o=u.route.id?null==a?void 0:a[u.route.id]:null,l=null;n&&(l=u.route.ErrorBoundary?t.createElement(u.route.ErrorBoundary,null):u.route.errorElement?u.route.errorElement:t.createElement(oe,null));let L=r.concat(i.slice(0,s+1)),c=()=>{let r=e;return o?r=l:u.route.Component?r=t.createElement(u.route.Component,null):u.route.element&&(r=u.route.element),t.createElement(Le,{match:u,routeContext:{outlet:e,matches:L},children:r})};return n&&(u.route.ErrorBoundary||u.route.errorElement||0===s)?t.createElement(le,{location:n.location,component:l,error:o,children:c(),routeContext:{outlet:null,matches:L}}):c()}),null)}(N&&N.map((e=>Object.assign({},e,{params:Object.assign({},s,e.params),pathname:G([o,n.encodeLocation?n.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?o:G([o,n.encodeLocation?n.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),a,i||void 0);return r&&m?t.createElement(te.Provider,{value:{location:ie({pathname:"/",search:"",hash:"",state:null,key:"default"},l),navigationType:M.Pop}},m):m}(i&&!r?i.router.routes:ge(r),n)}!function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator"}(ce||(ce={})),function(e){e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"}(Me||(Me={})),function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}(je||(je={})),new Promise((()=>{}));class ye extends t.Component{constructor(e){super(e),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){console.error("<Await> caught the following error during render",e,t)}render(){let{children:e,errorElement:t,resolve:r}=this.props,n=null,i=je.pending;if(r instanceof Promise)if(this.state.error){je.error;let e=this.state.error;Promise.reject().catch((()=>{})),Object.defineProperty(n,"_tracked",{get:()=>!0}),Object.defineProperty(n,"_error",{get:()=>e})}else r._tracked?void 0!==n._error?je.error:void 0!==n._data?je.success:je.pending:(je.pending,Object.defineProperty(r,"_tracked",{get:()=>!0}),r.then((e=>Object.defineProperty(r,"_data",{get:()=>e})),(e=>Object.defineProperty(r,"_error",{get:()=>e}))));else je.success,Promise.resolve(),Object.defineProperty(n,"_tracked",{get:()=>!0}),Object.defineProperty(n,"_data",{get:()=>r});if(i===je.error&&n._error instanceof AbortedDeferredError)throw neverSettledPromise;if(i===je.error&&!t)throw n._error;if(i===je.error)return React.createElement(AwaitContext.Provider,{value:n,children:t});if(i===je.success)return React.createElement(AwaitContext.Provider,{value:n,children:e});throw n}}function ge(e,r){void 0===r&&(r=[]);let n=[];return t.Children.forEach(e,((e,i)=>{if(!t.isValidElement(e))return;if(e.type===t.Fragment)return void n.push.apply(n,ge(e.props.children,r));e.type!==de&&d(!1),e.props.index&&e.props.children&&d(!1);let a=[...r,i],u={id:e.props.id||a.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(u.children=ge(e.props.children,a)),n.push(u)})),n}function xe(){return xe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},xe.apply(this,arguments)}function pe(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}const Te=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],we=["aria-current","caseSensitive","className","end","style","to","children"];function Se(e){let{basename:r,children:n,window:i}=e,a=t.useRef();var u;null==a.current&&(a.current=(void 0===(u={window:i,v5Compat:!0})&&(u={}),function(e,t,r,n){void 0===n&&(n={});let{window:i=document.defaultView,v5Compat:a=!1}=n,u=i.history,s=M.Pop,o=null,l=L();function L(){return(u.state||{idx:null}).idx}function N(){s=M.Pop;let e=L(),t=null==e?null:e-l;l=e,o&&o({action:s,location:p.location,delta:t})}function x(e){let t="null"!==i.location.origin?i.location.origin:i.location.href,r="string"==typeof e?e:g(e);return d(t,"No window.location.(origin|href) available to create URL for href: "+r),new URL(r,t)}null==l&&(l=0,u.replaceState(c({},u.state,{idx:l}),""));let p={get action(){return s},get location(){return e(i,u)},listen(e){if(o)throw new Error("A history only accepts one active listener");return i.addEventListener(j,N),o=e,()=>{i.removeEventListener(j,N),o=null}},createHref:e=>t(i,e),createURL:x,encodeLocation(e){let t=x(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){s=M.Push;let n=y(p.location,e,t);r&&r(n,e),l=L()+1;let c=m(n,l),j=p.createHref(n);try{u.pushState(c,"",j)}catch(e){i.location.assign(j)}a&&o&&o({action:s,location:p.location,delta:1})},replace:function(e,t){s=M.Replace;let n=y(p.location,e,t);r&&r(n,e),l=L();let i=m(n,l),c=p.createHref(n);u.replaceState(i,"",c),a&&o&&o({action:s,location:p.location,delta:0})},go:e=>u.go(e)};return p}((function(e,t){let{pathname:r="/",search:n="",hash:i=""}=x(e.location.hash.substr(1));return y("",{pathname:r,search:n,hash:i},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){let r=e.document.querySelector("base"),n="";if(r&&r.getAttribute("href")){let t=e.location.href,r=t.indexOf("#");n=-1===r?t:t.slice(0,r)}return n+"#"+("string"==typeof t?t:g(t))}),(function(e,t){N("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),u)));let s=a.current,[o,l]=t.useState({action:s.action,location:s.location});return t.useLayoutEffect((()=>s.listen(l)),[s]),t.createElement(Ne,{basename:r,children:n,location:o.location,navigationType:o.action,navigator:s})}const Ee="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,De=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,fe=t.forwardRef((function(e,r){let n,{onClick:i,relative:a,reloadDocument:u,replace:s,state:o,target:l,to:L,preventScrollReset:c}=e,M=pe(e,Te),{basename:j}=t.useContext(ee),N=!1;if("string"==typeof L&&De.test(L)&&(n=L,Ee)){let e=new URL(window.location.href),t=L.startsWith("//")?new URL(e.protocol+L):new URL(L),r=A(t.pathname,j);t.origin===e.origin&&null!=r?L=r+t.search+t.hash:N=!0}let m=function(e,r){let{relative:n}=void 0===r?{}:r;ae()||d(!1);let{basename:i,navigator:a}=t.useContext(ee),{hash:u,pathname:s,search:o}=se(e,{relative:n}),l=s;return"/"!==i&&(l="/"===s?i:G([i,s])),a.createHref({pathname:l,search:o,hash:u})}(L,{relative:a}),y=function(e,r){let{target:n,replace:i,state:a,preventScrollReset:u,relative:s}=void 0===r?{}:r,o=function(){ae()||d(!1);let{basename:e,navigator:r}=t.useContext(ee),{matches:n}=t.useContext(re),{pathname:i}=ue(),a=JSON.stringify(U(n).map((e=>e.pathnameBase))),u=t.useRef(!1);t.useEffect((()=>{u.current=!0}));let s=t.useCallback((function(t,n){if(void 0===n&&(n={}),!u.current)return;if("number"==typeof t)return void r.go(t);let s=Q(t,JSON.parse(a),i,"path"===n.relative);"/"!==e&&(s.pathname="/"===s.pathname?e:G([e,s.pathname])),(n.replace?r.replace:r.push)(s,n.state,n)}),[e,r,a,i]);return s}(),l=ue(),L=se(e,{relative:s});return t.useCallback((t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,n)){t.preventDefault();let r=void 0!==i?i:g(l)===g(L);o(e,{replace:r,state:a,preventScrollReset:u,relative:s})}}),[l,o,L,i,a,n,e,u,s])}(L,{replace:s,state:o,target:l,preventScrollReset:c,relative:a});return t.createElement("a",xe({},M,{href:n||m,onClick:N||u?i:function(e){i&&i(e),e.defaultPrevented||y(e)},ref:r,target:l}))})),Ie=t.forwardRef((function(e,r){let{"aria-current":n="page",caseSensitive:i=!1,className:a="",end:u=!1,style:s,to:o,children:l}=e,L=pe(e,we),c=se(o,{relative:L.relative}),M=ue(),j=t.useContext($),{navigator:d}=t.useContext(ee),N=d.encodeLocation?d.encodeLocation(c).pathname:c.pathname,m=M.pathname,y=j&&j.navigation&&j.navigation.location?j.navigation.location.pathname:null;i||(m=m.toLowerCase(),y=y?y.toLowerCase():null,N=N.toLowerCase());let g,x=m===N||!u&&m.startsWith(N)&&"/"===m.charAt(N.length),p=null!=y&&(y===N||!u&&y.startsWith(N)&&"/"===y.charAt(N.length)),T=x?n:void 0;g="function"==typeof a?a({isActive:x,isPending:p}):[a,x?"active":null,p?"pending":null].filter(Boolean).join(" ");let w="function"==typeof s?s({isActive:x,isPending:p}):s;return t.createElement(fe,xe({},L,{"aria-current":T,className:g,ref:r,style:w,to:o}),"function"==typeof l?l({isActive:x,isPending:p}):l)}));var he,Ce;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(he||(he={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(Ce||(Ce={}));var ze=i(644),Oe=i.n(ze);const be=i.p+"images/Smirk.4b4e78cd.png",ve=["Installing and activating the plugin with ease","Connecting the plugin to Google Analytics","Disabling page_view tracking when using Google Tag Manager","Using Debug View for effective event testing and debugging","Simple email and link tracking with just a few clicks","Enabling email link tracking in General Settings and creating a Custom Dimension in Google Analytics","Tracking button clicks with class or ID attributes and custom events","Distinguishing between custom and recommended events","Applying visibility tracking to monitor your call-to-action buttons' exposure"],ke=t=>{let{feature:r,index:n}=t;return(0,e.createElement)("li",{className:"p-2 shadow rounded flex border border-grey-100/10"},n&&(0,e.createElement)("span",{className:"rounded-full w-6 h-6 bg-brand-primary text-white justify-center flex items-center"},n),(0,e.createElement)("span",{className:"ml-2 flex-1 text-base"},r))},Ae=()=>{const[r,n]=(0,t.useState)(""),[i,a]=(0,t.useState)(!1),[u,s]=(0,t.useState)(!0);return(0,e.createElement)("section",{className:"bg-white/50 py-4"},(0,e.createElement)(Yt,{showTutorial:u,showCloseButton:!1}),!i&&(0,e.createElement)("div",{className:"bg-white py-4 rounded-md border border-gray-200 my-10 mx-4 shadow-xl"},(0,e.createElement)("div",{className:""},(0,e.createElement)("div",{className:"px-4 py-5 sm:p-6"},(0,e.createElement)("h3",{className:"text-3xl mb-6 leading-10 text-gray-900 max-w-xl"},"Download the Free Goal Tracker for Google Analytics Getting Started Guide"),(0,e.createElement)("div",{className:"mt-2 max-w-xl text-gray-500 p-2"},(0,e.createElement)("p",{className:"text-xl"},"Get the most out of the Goal Tracker for Google Analytics WordPress plugin with our straightforward Getting Started Guide."),(0,e.createElement)("p",{className:"text-brand-primary text-lg"},"Learn these essential skills to improve your website tracking:"),(0,e.createElement)("ul",{role:"list",className:"list-inside p-1 mt-2"},ve.map(((t,r)=>(0,e.createElement)(ke,{key:r,feature:t,index:r+1}))))),(0,e.createElement)("form",{className:"mt-5 sm:items-center max-w-xl px-4 py-2"},(0,e.createElement)("div",{className:"text-brand-primary text-lg mb-2"},"👉 Download your FREE PDF guide here:"),(0,e.createElement)("fieldset",{className:"flex"},(0,e.createElement)("div",{className:"w-full flex"},(0,e.createElement)("label",{htmlFor:"email",className:"sr-only"},"Email"),(0,e.createElement)("input",{type:"email",name:"email",id:"email",value:r,onChange:e=>n(e.target.value),className:o()("shadow-sm ","focus:ring-indigo-500 focus:border-indigo-500 ","flex-1 text-lg","border-gray-300 rounded-l rounder-r-0 p-2"),placeholder:"you@example.com"})),(0,e.createElement)("button",{type:"submit",onClick:async function(e){e.preventDefault();let t=new FormData;t.append("fields[email]",r),await Oe()({url:"https://assets.mailerlite.com/jsonp/31991/forms/70109343150769330/subscribe",method:"POST",data:t,headers:{"Content-Type":"multipart/form-data"}}),a(!0)},className:o()("capitalize inline-flex","items-center justify-center","rounded-r","border border-transparent bg-brand-primary","px-4 py-2","text-sm font-medium text-white","shadow-sm","hover:bg-brand-600","focus:outline-none focus:ring-2 focus:ring-brand-primary-focus focus:ring-offset-2","transform active:scale-75 hover:scale-105 transition-transform")},"Download")))))),i&&(0,e.createElement)("div",{className:"min-h-full pt-16 pb-12 flex flex-col bg-white"},(0,e.createElement)("main",{className:"flex-grow flex flex-col justify-center max-w-7xl w-full mx-auto px-4 sm:px-6 lg:px-8"},(0,e.createElement)("div",{className:"flex-shrink-0 flex justify-center"},(0,e.createElement)("span",{className:"sr-only"},"Workflow"),(0,e.createElement)("img",{className:"h-28 w-auto",src:be,alt:""})),(0,e.createElement)("div",{className:"py-16"},(0,e.createElement)("div",{className:"text-center"},(0,e.createElement)("h1",{className:"mt-2 text-2xl font-extrabold text-gray-900 tracking-tight sm:text-4xl"},"Check your inbox for the Getting Started Guide"),(0,e.createElement)("div",{className:"mt-6"})))),(0,e.createElement)("footer",{className:"flex-shrink-0 max-w-7xl w-full mx-auto px-4 sm:px-6 lg:px-8"})))};t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{fillRule:"evenodd",d:"M6 2a1 1 0 00-1 1v1H4a2 2 0 00-2 2v10a2 2 0 002 2h12a2 2 0 002-2V6a2 2 0 00-2-2h-1V3a1 1 0 10-2 0v1H7V3a1 1 0 00-1-1zm0 5a1 1 0 000 2h8a1 1 0 100-2H6z",clipRule:"evenodd"}))}));const Ye="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iTGF5ZXJfMSIKICB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHZpZXdCb3g9IjAgMC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M3IDEzMi44MSkgc2NhbGUoMS4xKSIgeGxpbms6aHJlZj0iI05vQ29kZS1HYTQiLz4KICA8dXNlIHdpZHRoPSI1NjkuNTQiIGhlaWdodD0iODMuOTEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDI4Mi43MiAyNy40NykiIHhsaW5rOmhyZWY9IiNMb2dvLUdvYWxUcmFja2VyIi8+Cjwvc3ZnPg==";function Ue(){return(0,e.createElement)("div",{"data-component":"PluginHeader",className:o()("flex items-center justify-between","pb-5 pt-10 px-4 xl:px-8")},(0,e.createElement)("img",{className:"w-64 md:w-72 xl:w-96 h-full",src:Ye}),!1)}i.p;const Qe=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{fillRule:"evenodd",d:"M10.293 3.293a1 1 0 011.414 0l6 6a1 1 0 010 1.414l-6 6a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-4.293-4.293a1 1 0 010-1.414z",clipRule:"evenodd"}))})),Ge="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxODIuNjMgMTU4LjIyIj4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLmNscy0xIHsKICAgICAgICBmaWxsOiAjZmZmOwogICAgICB9CgogICAgICAuY2xzLTIgewogICAgICAgIGZpbGw6ICNmZmQ0MDA7CiAgICAgIH0KCiAgICAgIC5jbHMtMyB7CiAgICAgICAgZmlsbDogI2VmM2UyZjsKICAgICAgfQoKICAgICAgLmNscy00IHsKICAgICAgICBmaWxsOiAjODY4ZDkzOwogICAgICB9CiAgICA8L3N0eWxlPgogID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LDEzLjMxYy0yLjU0LDEuMjItLjU0LDYuMjQtLjU0LDYuMjQsMCwwLTQuNi0yLjctNi4xLS4zMi0xLjUxLDIuMzctLjU4LDguMjcsMTEuODcsNi42NSwzLjA2LTEyLjE3LTIuNjktMTMuNzgtNS4yMi0xMi41NmgwWiIvPgo8L3N2Zz4=",Pe=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"}))})),Re=()=>(0,e.createElement)("span",{className:"whitespace-pre"},(0,e.createElement)(Pe,{className:"h-3 w-3 inline","aria-hidden":"true"}),(0,e.createElement)(Pe,{className:"h-3 w-3 inline","aria-hidden":"true"}),(0,e.createElement)(Pe,{className:"h-3 w-3 inline","aria-hidden":"true"}),(0,e.createElement)(Pe,{className:"h-3 w-3 inline","aria-hidden":"true"}),(0,e.createElement)(Pe,{className:"h-3 w-3 inline","aria-hidden":"true"}));function Fe(...e){return e.filter(Boolean).join(" ")}function _e(e,t,...r){if(e in t){let n=t[e];return"function"==typeof n?n(...r):n}let n=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,_e),n}var qe=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(qe||{}),Be=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Be||{});function Ze({ourProps:e,theirProps:t,slot:r,defaultTag:n,features:i,visible:a=!0,name:u}){let s=He(t,e);if(a)return We(s,r,n,u);let o=null!=i?i:0;if(2&o){let{static:e=!1,...t}=s;if(e)return We(t,r,n,u)}if(1&o){let{unmount:e=!0,...t}=s;return _e(e?0:1,{0:()=>null,1:()=>We({...t,hidden:!0,style:{display:"none"}},r,n,u)})}return We(s,r,n,u)}function We(e,r={},n,i){var a;let{as:u=n,children:s,refName:o="ref",...l}=Xe(e,["unmount","static"]),L=void 0!==e.ref?{[o]:e.ref}:{},c="function"==typeof s?s(r):s;"className"in l&&l.className&&"function"==typeof l.className&&(l.className=l.className(r));let M={};if(r){let e=!1,t=[];for(let[n,i]of Object.entries(r))"boolean"==typeof i&&(e=!0),!0===i&&t.push(n);e&&(M["data-headlessui-state"]=t.join(" "))}if(u===t.Fragment&&Object.keys(Je(l)).length>0){if(!(0,t.isValidElement)(c)||Array.isArray(c)&&c.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${i} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(l).map((e=>`  - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>`  - ${e}`)).join("\n")].join("\n"));let e=Fe(null==(a=c.props)?void 0:a.className,l.className),r=e?{className:e}:{};return(0,t.cloneElement)(c,Object.assign({},He(c.props,Je(Xe(l,["ref"]))),M,L,function(...e){return{ref:e.every((e=>null==e))?void 0:t=>{for(let r of e)null!=r&&("function"==typeof r?r(t):r.current=t)}}}(c.ref,L.ref),r))}return(0,t.createElement)(u,Object.assign({},Xe(l,["ref"]),u!==t.Fragment&&L,u!==t.Fragment&&M),c)}function He(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},r={};for(let n of e)for(let e in n)e.startsWith("on")&&"function"==typeof n[e]?(null!=r[e]||(r[e]=[]),r[e].push(n[e])):t[e]=n[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(r).map((e=>[e,void 0]))));for(let e in r)Object.assign(t,{[e](t,...n){let i=r[e];for(let e of i){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;e(t,...n)}}});return t}function Ve(e){var r;return Object.assign((0,t.forwardRef)(e),{displayName:null!=(r=e.displayName)?r:e.name})}function Je(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function Xe(e,t=[]){let r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}let Ke=(0,t.createContext)(null);Ke.displayName="OpenClosedContext";var $e=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))($e||{});function et(){return(0,t.useContext)(Ke)}function tt({value:e,children:r}){return t.createElement(Ke.Provider,{value:e},r)}var rt=Object.defineProperty,nt=(e,t,r)=>(((e,t,r)=>{t in e?rt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r})(e,"symbol"!=typeof t?t+"":t,r),r);let it=new class{constructor(){nt(this,"current",this.detect()),nt(this,"handoffState","pending"),nt(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}},at=(e,r)=>{it.isServer?(0,t.useEffect)(e,r):(0,t.useLayoutEffect)(e,r)};function ut(){let e=(0,t.useRef)(!1);return at((()=>(e.current=!0,()=>{e.current=!1})),[]),e}function st(e){let r=(0,t.useRef)(e);return at((()=>{r.current=e}),[e]),r}function ot(){let[e,r]=(0,t.useState)(it.isHandoffComplete);return e&&!1===it.isHandoffComplete&&r(!1),(0,t.useEffect)((()=>{!0!==e&&r(!0)}),[e]),(0,t.useEffect)((()=>it.handoff()),[]),e}let lt=function(e){let r=st(e);return t.useCallback(((...e)=>r.current(...e)),[r])},Lt=Symbol();function ct(e,t=!0){return Object.assign(e,{[Lt]:t})}function Mt(...e){let r=(0,t.useRef)(e);(0,t.useEffect)((()=>{r.current=e}),[e]);let n=lt((e=>{for(let t of r.current)null!=t&&("function"==typeof t?t(e):t.current=e)}));return e.every((e=>null==e||(null==e?void 0:e[Lt])))?void 0:n}function jt(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}function dt(){let e=[],t={addEventListener:(e,r,n,i)=>(e.addEventListener(r,n,i),t.add((()=>e.removeEventListener(r,n,i)))),requestAnimationFrame(...e){let r=requestAnimationFrame(...e);return t.add((()=>cancelAnimationFrame(r)))},nextFrame:(...e)=>t.requestAnimationFrame((()=>t.requestAnimationFrame(...e))),setTimeout(...e){let r=setTimeout(...e);return t.add((()=>clearTimeout(r)))},microTask(...e){let r={current:!0};return jt((()=>{r.current&&e[0]()})),t.add((()=>{r.current=!1}))},style(e,t,r){let n=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:r}),this.add((()=>{Object.assign(e.style,{[t]:n})}))},group(e){let t=dt();return e(t),this.add((()=>t.dispose()))},add:t=>(e.push(t),()=>{let r=e.indexOf(t);if(r>=0)for(let t of e.splice(r,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}function Nt(e,...t){e&&t.length>0&&e.classList.add(...t)}function mt(e,...t){e&&t.length>0&&e.classList.remove(...t)}function yt(){let[e]=(0,t.useState)(dt);return(0,t.useEffect)((()=>()=>e.dispose()),[e]),e}function gt({container:e,direction:t,classes:r,onStart:n,onStop:i}){let a=ut(),u=yt(),s=st(t);at((()=>{let t=dt();u.add(t.dispose);let o=e.current;if(o&&"idle"!==s.current&&a.current)return t.dispose(),n.current(s.current),t.add(function(e,t,r,n){let i=r?"enter":"leave",a=dt(),u=void 0!==n?function(e){let t={called:!1};return(...r)=>{if(!t.called)return t.called=!0,e(...r)}}(n):()=>{};"enter"===i&&(e.removeAttribute("hidden"),e.style.display="");let s=_e(i,{enter:()=>t.enter,leave:()=>t.leave}),o=_e(i,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),l=_e(i,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return mt(e,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),Nt(e,...s,...l),a.nextFrame((()=>{mt(e,...l),Nt(e,...o),function(e,t){let r=dt();if(!e)return r.dispose;let{transitionDuration:n,transitionDelay:i}=getComputedStyle(e),[a,u]=[n,i].map((e=>{let[t=0]=e.split(",").filter(Boolean).map((e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e))).sort(((e,t)=>t-e));return t})),s=a+u;if(0!==s){r.group((r=>{r.setTimeout((()=>{t(),r.dispose()}),s),r.addEventListener(e,"transitionrun",(e=>{e.target===e.currentTarget&&r.dispose()}))}));let n=r.addEventListener(e,"transitionend",(e=>{e.target===e.currentTarget&&(t(),n())}))}else t();r.add((()=>t())),r.dispose}(e,(()=>(mt(e,...s),Nt(e,...t.entered),u())))})),a.dispose}(o,r.current,"enter"===s.current,(()=>{t.dispose(),i.current(s.current)}))),t.dispose}),[t])}function xt(e=""){return e.split(" ").filter((e=>e.trim().length>1))}let pt=(0,t.createContext)(null);pt.displayName="TransitionContext";var Tt=(e=>(e.Visible="visible",e.Hidden="hidden",e))(Tt||{});let wt=(0,t.createContext)(null);function St(e){return"children"in e?St(e.children):e.current.filter((({el:e})=>null!==e.current)).filter((({state:e})=>"visible"===e)).length>0}function Et(e,r){let n=st(e),i=(0,t.useRef)([]),a=ut(),u=yt(),s=lt(((e,t=Be.Hidden)=>{let r=i.current.findIndex((({el:t})=>t===e));-1!==r&&(_e(t,{[Be.Unmount](){i.current.splice(r,1)},[Be.Hidden](){i.current[r].state="hidden"}}),u.microTask((()=>{var e;!St(i)&&a.current&&(null==(e=n.current)||e.call(n))})))})),o=lt((e=>{let t=i.current.find((({el:t})=>t===e));return t?"visible"!==t.state&&(t.state="visible"):i.current.push({el:e,state:"visible"}),()=>s(e,Be.Unmount)})),l=(0,t.useRef)([]),L=(0,t.useRef)(Promise.resolve()),c=(0,t.useRef)({enter:[],leave:[],idle:[]}),M=lt(((e,t,n)=>{l.current.splice(0),r&&(r.chains.current[t]=r.chains.current[t].filter((([t])=>t!==e))),null==r||r.chains.current[t].push([e,new Promise((e=>{l.current.push(e)}))]),null==r||r.chains.current[t].push([e,new Promise((e=>{Promise.all(c.current[t].map((([e,t])=>t))).then((()=>e()))}))]),"enter"===t?L.current=L.current.then((()=>null==r?void 0:r.wait.current)).then((()=>n(t))):n(t)})),j=lt(((e,t,r)=>{Promise.all(c.current[t].splice(0).map((([e,t])=>t))).then((()=>{var e;null==(e=l.current.shift())||e()})).then((()=>r(t)))}));return(0,t.useMemo)((()=>({children:i,register:o,unregister:s,onStart:M,onStop:j,wait:L,chains:c})),[o,s,i,M,j,c,L])}function Dt(){}wt.displayName="NestingContext";let ft=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function It(e){var t;let r={};for(let n of ft)r[n]=null!=(t=e[n])?t:Dt;return r}let ht=qe.RenderStrategy,Ct=Ve((function(e,r){let{show:n,appear:i=!1,unmount:a,...u}=e,s=(0,t.useRef)(null),o=Mt(s,r);ot();let l=et();if(void 0===n&&null!==l&&(n=(l&$e.Open)===$e.Open),![!0,!1].includes(n))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[L,c]=(0,t.useState)(n?"visible":"hidden"),M=Et((()=>{c("hidden")})),[j,d]=(0,t.useState)(!0),N=(0,t.useRef)([n]);at((()=>{!1!==j&&N.current[N.current.length-1]!==n&&(N.current.push(n),d(!1))}),[N,n]);let m=(0,t.useMemo)((()=>({show:n,appear:i,initial:j})),[n,i,j]);(0,t.useEffect)((()=>{if(n)c("visible");else if(St(M)){let e=s.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&c("hidden")}else c("hidden")}),[n,M]);let y={unmount:a};return t.createElement(wt.Provider,{value:M},t.createElement(pt.Provider,{value:m},Ze({ourProps:{...y,as:t.Fragment,children:t.createElement(zt,{ref:o,...y,...u})},theirProps:{},defaultTag:t.Fragment,features:ht,visible:"visible"===L,name:"Transition"})))})),zt=Ve((function(e,r){let{beforeEnter:n,afterEnter:i,beforeLeave:a,afterLeave:u,enter:s,enterFrom:o,enterTo:l,entered:L,leave:c,leaveFrom:M,leaveTo:j,...d}=e,N=(0,t.useRef)(null),m=Mt(N,r),y=d.unmount?Be.Unmount:Be.Hidden,{show:g,appear:x,initial:p}=function(){let e=(0,t.useContext)(pt);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[T,w]=(0,t.useState)(g?"visible":"hidden"),S=function(){let e=(0,t.useContext)(wt);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:E,unregister:D}=S,f=(0,t.useRef)(null);(0,t.useEffect)((()=>E(N)),[E,N]),(0,t.useEffect)((()=>{if(y===Be.Hidden&&N.current)return g&&"visible"!==T?void w("visible"):_e(T,{hidden:()=>D(N),visible:()=>E(N)})}),[T,N,E,D,g,y]);let I=st({enter:xt(s),enterFrom:xt(o),enterTo:xt(l),entered:xt(L),leave:xt(c),leaveFrom:xt(M),leaveTo:xt(j)}),h=function(e){let r=(0,t.useRef)(It(e));return(0,t.useEffect)((()=>{r.current=It(e)}),[e]),r}({beforeEnter:n,afterEnter:i,beforeLeave:a,afterLeave:u}),C=ot();(0,t.useEffect)((()=>{if(C&&"visible"===T&&null===N.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}),[N,T,C]);let z=p&&!x,O=!C||z||f.current===g?"idle":g?"enter":"leave",b=function(e=0){let[r,n]=(0,t.useState)(e),i=(0,t.useCallback)((e=>n((t=>t|e))),[r]),a=(0,t.useCallback)((e=>Boolean(r&e)),[r]),u=(0,t.useCallback)((e=>n((t=>t&~e))),[n]),s=(0,t.useCallback)((e=>n((t=>t^e))),[n]);return{flags:r,addFlag:i,hasFlag:a,removeFlag:u,toggleFlag:s}}(0),v=lt((e=>_e(e,{enter:()=>{b.addFlag($e.Opening),h.current.beforeEnter()},leave:()=>{b.addFlag($e.Closing),h.current.beforeLeave()},idle:()=>{}}))),k=lt((e=>_e(e,{enter:()=>{b.removeFlag($e.Opening),h.current.afterEnter()},leave:()=>{b.removeFlag($e.Closing),h.current.afterLeave()},idle:()=>{}}))),A=Et((()=>{w("hidden"),D(N)}),S);gt({container:N,classes:I,direction:O,onStart:st((e=>{A.onStart(N,e,v)})),onStop:st((e=>{A.onStop(N,e,k),"leave"===e&&!St(A)&&(w("hidden"),D(N))}))}),(0,t.useEffect)((()=>{z&&(y===Be.Hidden?f.current=null:f.current=g)}),[g,z,T]);let Y=d,U={ref:m};return x&&g&&it.isServer&&(Y={...Y,className:Fe(d.className,...I.current.enter,...I.current.enterFrom)}),t.createElement(wt.Provider,{value:A},t.createElement(tt,{value:_e(T,{visible:$e.Open,hidden:$e.Closed})|b.flags},Ze({ourProps:U,theirProps:Y,defaultTag:"div",features:ht,visible:"visible"===T,name:"Transition.Child"})))})),Ot=Ve((function(e,r){let n=null!==(0,t.useContext)(pt),i=null!==et();return t.createElement(t.Fragment,null,!n&&i?t.createElement(Ct,{ref:r,...e}):t.createElement(zt,{ref:r,...e}))})),bt=Object.assign(Ct,{Child:Ot,Root:Ct});function vt(){return(0,e.createElement)("footer",{"data-component":"PluginFooter",className:o()("bg-gray-100/75 shadow-lg rounded-b-lg",{"pt-8 pb-4":!0})},(0,e.createElement)("div",{className:"px-8 py-4"},!1,(0,e.createElement)("div",{className:"flex items-center text-base"},(0,e.createElement)("img",{className:"h-20 w-auto mr-6",src:Ge}),(0,e.createElement)("div",{className:"flex-1"},"We'd be super grateful if you could help us spread the word about"," ",(0,e.createElement)("strong",null,"GoalTracker")," and give it a",(0,e.createElement)("a",{className:"text-brand-primary px-1 py-0.5 border border-brand-primary/10 rounded mx-1",target:"_blank",href:"https://wordpress.org/support/plugin/goal-tracker-ga/reviews/#new-post"},(0,e.createElement)(Re,null)," star rating"),"on WordPress?"),(0,e.createElement)("a",{type:"button",href:"https://wordpress.org/support/plugin/goal-tracker-ga/reviews/#new-post",target:"_blank",className:o()("ml-4","capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent ","bg-white text-brand-primary","px-4 py-2","text-sm font-medium","shadow hover:shadow-xl","transform active:scale-75 hover:scale-110 transition-transform","hover:ring-2 hover:ring-white hover:ring-offset-2","focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2")},(0,e.createElement)("span",{className:"mx-2"},"Rate us"," ",(0,e.createElement)(Re,null)),(0,e.createElement)(Qe,{className:"h-5 w-5","aria-hidden":"true"})))))}(0,e.createElement)(e.Fragment,null,"Rate us"," ",(0,e.createElement)(Re,null)),(0,e.createElement)(e.Fragment,null,"Rate us"," ",(0,e.createElement)(Re,null)),(0,e.createElement)(e.Fragment,null,"Rate us"," ",(0,e.createElement)(Re,null));const kt=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"}))})),{apiFetch:At}=wp;function Yt(r){let{showTutorial:n,showCloseButton:i}=r;const[a,u]=(0,t.useState)(n);return(0,t.useEffect)((()=>{u(n)}),[n]),(0,e.createElement)(e.Fragment,null,(0,e.createElement)(bt,{show:a,appear:!0,enter:"transition-opacity duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"transition-opacity duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{"data-component":"GeneralSettingsTutorial",className:"bg-white py-4 rounded-md border border-gray-200 my-10 mx-4 shadow-xl"},(0,e.createElement)("div",{className:""},(0,e.createElement)("div",{className:"px-4 pb-5"},(0,e.createElement)("div",{className:"mt-2 sm:flex sm:items-start sm:justify-between"},(0,e.createElement)("div",{className:"max-w-xl text-sm text-gray-500"},(0,e.createElement)("h3",{className:"text-3xl mb-6 leading-6 font-medium text-gray-900"},"Using the plugin for the first time?"),(0,e.createElement)("div",{className:"mt-2 text-xl"},"Watch our getting started guide video to get the plugin up and running on your website."),(0,e.createElement)("div",{className:"pt-3"},(0,e.createElement)("iframe",{width:"576",height:"360",src:"https://www.youtube.com/embed/X35iJBkwQeU",title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0}))),i&&(0,e.createElement)("div",{className:"ml-3 flex h-7 items-center"},(0,e.createElement)("button",{type:"button",className:"rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-indigo-500",onClick:()=>(async()=>{u(!1),await At({path:wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/hide_gs_tutorial_section",method:"POST",data:{hideGeneralSettingsTutorial:!0}})})()},(0,e.createElement)("span",{className:"sr-only"},"Close panel"),(0,e.createElement)(kt,{className:"h-6 w-6","aria-hidden":"true"})))))))))}const Ut=t=>{const{children:r,id:n,label:i,description:a,isPrimary:u}=t;return(0,e.createElement)("fieldset",{"data-component":"Fieldset",role:"group","aria-labelledby":"label-track-Links",className:o()("sm:grid sm:grid-cols-3 sm:gap-4","sm:items-start","sm:border-t sm:border-gray-200 sm:pt-5")},(0,e.createElement)("label",{htmlFor:n,className:o()("font-medium text-gray-900",u?"text-base md:text-2xl":"text-sm md:text-base"),id:`label-${n}`},i,(0,e.createElement)("p",{className:"text-gray-500 mt-4 text-sm"},a)),r&&(0,e.createElement)("div",{className:"mt-4 sm:mt-0 sm:col-span-2"},r))},Qt=t=>{const r=t.children;return(0,e.createElement)("div",{"data-component":"FieldsetGroup",className:o()("mt-6 sm:mt-5","space-y-6 sm:space-y-5","divide-y divide-gray-200")},r)},Gt=t=>{const r=t.children;return(0,e.createElement)("section",{"data-component":"Section",className:o()("w-full","py-10 px-6","space-y-8","divide-y divide-gray-200 rounded-md","border border-gray-200","bg-white shadow")},r)},Pt=(0,t.createContext)({open:!1,setOpenHelpSlider:()=>{},setComponent:()=>{},setTitleHelpSlider:()=>{}}),Rt=()=>(0,t.useContext)(Pt);var Ft=i(977),_t=i.n(Ft);const qt=t=>{const{children:r,title:n,titleHelper:i,helpComponent:a,helpTitle:u}=t,{setOpenHelpSlider:s,setTitleHelpSlider:o,setComponent:l}=Rt();return(0,e.createElement)("header",{"data-component":"HeaderTitle"},(0,e.createElement)("div",{className:"flex items-center"},(0,e.createElement)("h3",{className:"text-2xl leading-6 font-medium text-gray-900"},n),a&&(0,e.createElement)("button",{onClick:()=>{a&&u&&(o(u),l(a),s(!0))}},(0,e.createElement)(_t(),{className:"h-8 w-8 ml-2 inline hover:text-brand-primary","aria-hidden":"true"}))),(0,e.createElement)("p",{className:"mt-2 max-w-2xl text-base text-gray-600"},i),r)},Bt="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMjggMTI4Ij4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLmNscy0xIHsKICAgICAgICBmaWxsOiAjZjdmN2Y3OwogICAgICB9CgogICAgICAuY2xzLTIgewogICAgICAgIGZpbGw6ICNlZjNlMmY7CiAgICAgIH0KICAgIDwvc3R5bGU+CiAgPC9kZWZzPgogIDxnPgogICAgPHBhdGggY2xhc3M9ImNscy0xIiBkPSJtNTcuMzIsMTE5LjRjL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yLS44OC43NC0xLjQuNDktLjUyLS4yNS0uNzUtLjg4LS40OS0xLjQsMCwwLDIuNzgtNS44MSwyLjc4LTUuODFaIiBmaWxsPSIjZjRmNGY0Ii8+PHBhdGggZD0ibTEzNC44LDY2LjgzYy0uMTktLjU1LjA5LTEuMTUuNjQtMS4zNHMxLjE1LjA5LDEuMzQuNjRsMi4xNCw2LjA3Yy4xOS41NS0uMDksMS4xNS0uNjQsMS4zNHMtMS4xNS0uMDktMS4zNC0uNjRsLTIuMTQtNi4wN1oiIGZpbGw9IiNmNGY0ZjQiLz48cGF0aCBkPSJtMTI3LjY3LDc0LjMxYy0uNTItLjI1LS43NS0uODgtLjQ5LTEuNC4yNS0uNTIuODgtLjc0LDEuNC0uNDlsNS44MSwyLjc4Yy41Mi4yNS43NC44OC40OSwxLjQtLjI1LjUyLS44OC43NS0xLjQuNDksMCwwLTUuODEtMi43OC01LjgxLTIuNzhaIiBmaWxsPSIjZjRmNGY0Ii8+PHBhdGggZD0ibTE1Mi44Nyw4NC4wNGMuNTIuMjUuNzUuODguNDksMS40LS4yNS41Mi0uODguNzUtMS40LjQ5bC01LjgxLTIuNzhjLS41Mi0uMjUtLjc1LS44OC0uNDktMS40LjI1LS41Mi44OC0uNzUsMS40LS40OWw1LjgxLDIuNzhoMFoiIGZpbGw9IiNmNGY0ZjQiLz48cGF0aCBkPSJtMTUyLjYyLDczLjdjLjU1LS4xOSwxLjE1LjA5LDEuMzQuNjRzLS4wOSwxLjE1LS42NCwxLjM0bC02LjA3LDIuMTRjLS41NS4xOS0xLjE1LS4wOS0xLjM0LS42NHMuMDktMS4xNS42NC0xLjM0YzAsMCw2LjA3LTIuMTQsNi4wNy0yLjE0WiIgZmlsbD0iI2Y0ZjRmNCIvPjwvc3ZnPg==";let Ht=[{id:1,title:"Track Video & Audio",text:"Experience Advanced Video and Audio Tracking for Comprehensive Analytics Insights",class:"bg-slate-800",buttonAction:"Get Pro Features",imageSrc:Zt},{id:2,title:"Placeholders",text:"Access Dynamic Placeholders for Advanced Data Capture and Improved Event Tracking",class:"bg-slate-800",buttonAction:"Get Pro Features",imageSrc:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMzkuMzUgMTE4LjA1Ij4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLmNscy0xIHsKICAgICAgICBmaWxsOiAjZjdmN2Y3OwogICAgICB9CgogICAgICAuY2xzLTIgewogICAgICAgIGZpbGw6ICNlZjNlMmY7CiAgICAgIH0KICAgIDwvc3R5bGU+CiAgPC9kZWZzPgogIDxnPgogICAgPHBhdGggY2xhc3M9ImNscy0xIiBkPSJtNzIuMjcsODIuODVjLTcuNTMsMC0xNi4zNC0yLjA0LTIzLjMtNy4xNC02LjY2LTQuODctMTAuNjUtMTEuOTQtMTEuNTUtMjAuNDItMi41NS0yMy45OCwxOC4zOS0zMy45NCwyOS44MS0zNS44NWgwYzkuNzgtMS42NCwyMS4xMy45NywyOC45MSw2LjY2LDYuNTEsNC43NiwxMC41NiwxMS41NSwxMS43MiwxOS42MywyLjkzLDIwLjQ3LTEyLjY5LDMzLjI1LTI4LjQ0LDM2LjQ1LTIuMTQuNDQtNC41Ny42Ny03LjE0LjY3Wm0tNC41NS02MC41NGMtMTAuNDksMS43Ni0yOS43MiwxMC44NS0yNy40MSwzMi42OC44Miw3Ljc2LDQuMzIsMTMuOTQsMTAuMzgsMTguMzgsOC42Miw2LjMyLDIwLjM1LDcuNTQsMjguMTUsNS45NiwxMS4xNS0yLjI3LDI5LjItMTEuODEsMjYuMTQtMzMuMTktMS4wNi03LjM5LTQuNjEtMTMuMzQtMTAuNTYtMTcuNjktNy4xOC01LjI0LTE3LjY2LTcuNjUtMjYuNzEtNi4xNGgw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xLjc3LDIuNi45NCwzLjk1LS44MywxLjM1LTIuNiwxLjc3LTMuOTUuOTQtMS42My0xLjAxLTQuMjctMS4xNC03LjIzLS4zNi00LjAyLDEuMDUtNy4wNywzLjMtOCw0Ljk4LS43NywxLjM5LTIuNTIsMS44OS0zLjkxLDEuMTItLjExLS4wNi0uMjEtLjEyLS4zLS4xOVoiLz4KICAgIDxwYXRoIGNsYXNzPSJjbHMtMSIgZD0ibTQzLjA4LDQ2LjE2Yy40Ny0zLjg1LS4yLTcuMS0yLjYyLTcuMzktMi40Mi0uMjktNS42OCwyLjQ4LTYuMTQsNi4zNC0uNDcsMy44NSwyLjA0LDcuMzIsNC40Niw3LjYxLDIuNDIuMjksMy44NC0yLjcsNC4zLTYuNTZaIi8+CiAgICA8cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Im0xMi43Miw2NC4yOWMtLjE0LS4xLS4yNy0uMjEtLjM5LS4zNC0xLjA5LTEuMTUtMS4wNS0yLjk3LjEtNC4wNiwxLjE5LTEuMTMsMS4yNC0zLjAyLjEtNC4yMS0xLjEyLTEuMTktMy4wMi0xLjIzLTQuMjEtLjEtMS4xNSwxLjA5LTIuOTcsMS4wNS00LjA2LS4xLTEuMDktMS4xNS0xLjA1LTIuOTcuMS00LjA2LDMuNDgtMy4zMSw5LTMuMTgsMTIuMzMuMywzLjMyLDMuNDgsMy4xOCw5LjAxLS4zLDEyLjMzLTEuMDIuOTctMi41NywxLjA1LTMuNjcuMjVaIi8+CiAgPC9nPgo8L3N2Zz4="},{id:3,title:"Track Logged-In Users",text:"Gain valuable insights into your audience and improve your marketing strategies, user experience, and overall website performance.",class:"bg-slate-800",buttonAction:"Get Pro Features",imageSrc:Bt}];function Vt(){const[r,i]=(0,t.useState)(Math.floor(3*Math.random())+1);return(0,t.useEffect)((()=>{document.querySelector(".toplevel_page_wpcf7")&&(Ht.unshift({id:0,title:"Contact Form 7 Tracking",text:"Our Contact Form 7 integration allows you to track your forms and set conversions.",class:"bg-slate-800",buttonAction:"Get Pro Features",imageSrc:Wt}),i(0))}),[]),(0,t.useEffect)((()=>{const e=setInterval((()=>{const e=r===Ht.length?1:r+1;i(e)}),45e3);return()=>{clearInterval(e)}}),[r]),(0,e.createElement)("div",{"data-component":"SliderBanner",className:"relative h-32 bg-slate-800 overflow-hidden"},(0,e.createElement)("div",{className:"overflow-hidden h-full"},Ht.map((t=>(0,e.createElement)(bt,{key:t.id,show:r===t.id,enter:"transition-transform duration-500",enterFrom:"translate-x-full",enterTo:"translate-x-0",leave:"transition-transform duration-500",leaveFrom:"translate-x-0",leaveTo:"-translate-x-full"},(0,e.createElement)("div",{className:o()("flex items-center px-4 text-white pt-5 overflow-hidden",t.class)},t.imageSrc&&(0,e.createElement)("img",{className:"object-cover w-auto h-24 mr-2",src:t.imageSrc,alt:t.title}),(0,e.createElement)("div",{className:"flex-1 flex flex-col ml-4"},t.title&&(0,e.createElement)("div",{className:"text-2xl mt-2"},t.title),t.text&&(0,e.createElement)("div",{className:"text-base opacity-80"},t.text)),(0,e.createElement)("a",{href:wpGoalTrackerGa.upgradeUrl,type:"button",className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent","bg-white text-brand-primary","px-4 py-2","text-sm font-medium","shadow hover:shadow-xl","transform active:scale-75 hover:scale-110 transition-transform","hover:ring-2 hover:ring-white hover:ring-offset-2","focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2")},(0,e.createElement)("span",{className:"mx-2"},t.buttonAction),(0,e.createElement)(Qe,{className:"h-5 w-5","aria-hidden":"true"}))))))),(0,e.createElement)("div",{className:"absolute bottom-1 left-0 right-0 flex items-center justify-center mb-2 mt-0.5 space-x-2"},Ht.map((t=>(0,e.createElement)(n().Fragment,{key:t.id},(0,e.createElement)("button",{onClick:()=>{return e=t.id,void i(e);var e},className:(r===t.id?"bg-white w-3 h-3":"bg-gray-200 w-2 h-2")+" rounded-full focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-500"}))))))}const Jt=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{fillRule:"evenodd",d:"M10 3a1 1 0 011 1v5h5a1 1 0 110 2h-5v5a1 1 0 11-2 0v-5H4a1 1 0 110-2h5V4a1 1 0 011-1z",clipRule:"evenodd"}))})),Xt=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm1-11a1 1 0 10-2 0v2H7a1 1 0 100 2h2v2a1 1 0 102 0v-2h2a1 1 0 100-2h-2V7z",clipRule:"evenodd"}))})),Kt=(0,t.createContext)({navLinks:[]}),$t=t=>{let{children:r,navLinks:n}=t;return(0,e.createElement)(Kt.Provider,{value:{navLinks:n}},r)};function er(e){const{hash:t}=location;return e===t}const tr=r=>{let{setAddCustomEventForm:n,setAddRecommendedEventForm:i}=r;const{navLinks:a}=(0,t.useContext)(Kt);return(0,e.createElement)("header",{"data-component":"EventsTableHeader",className:"flex flex-col xl:flex-row items-center bg-white py-4 px-8 shadow-lg"},(0,e.createElement)("div",{className:"divide divide-x flex items-center rounded-full border-brand-primary xl:mr-2 shadow-3xl w-full"},a.map(((t,r)=>((t,r)=>{const n=er(`#${t.path}`)||t.default&&er("#/tracker");return(0,e.createElement)(Ie,{key:r,className:o()(n?"bg-brand-600 hover:text-white cursor-default text-white":"bg-brand-600/20 text-brand-500 hover:bg-brand-primary hover:text-white border-brand-600","text-base xl:text-xl",0===r&&"rounded-l-full",r===a.length-1&&"rounded-r-full","px-6","py-1","uppercase"),to:t.path},t.label)})(t,r)))),(0,e.createElement)("div",{className:"xl:flex-1"}),(0,e.createElement)("fieldset",{"data-component":"button-group",className:"space-x-4 mt-8 xl:mt-0 flex justify-end w-full"},(0,e.createElement)("button",{onClick:()=>{n(!0)},type:"button",className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent bg-brand-primary","px-4 py-2","text-sm font-medium text-white","shadow-sm","hover:bg-brand-600 shadow hover:shadow-xl active:shadow-xl","focus:outline-none focus:ring-2 focus:ring-brand-primary-focus focus:ring-offset-2","transform active:scale-75 hover:scale-105 transition-transform")},(0,e.createElement)(Jt,{className:"h-5 w-5","aria-hidden":"true"}),(0,e.createElement)("span",{className:"mx-2"},"Add Event")),(0,e.createElement)("button",{onClick:()=>{i(!0)},type:"button",className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent bg-brand-primary","px-4 py-2","text-sm font-medium text-white","shadow-sm","hover:bg-brand-600 shadow hover:shadow-xl active:shadow-xl","focus:outline-none focus:ring-2 focus:ring-brand-primary-focus focus:ring-offset-2","transform active:scale-75 hover:scale-105 transition-transform")},(0,e.createElement)(Xt,{className:"h-5 w-5","aria-hidden":"true"}),(0,e.createElement)("span",{className:"mx-2"},"Add Recommended Event"))))},rr=(0,t.createContext)(void 0),nr=r=>{let{children:n}=r;const[i,a]=(0,t.useState)(!1);return(0,e.createElement)(rr.Provider,{value:{showPromo:i,setShowPromo:a}},n)};function ir(){const e=(0,t.useContext)(rr);if(!e)throw new Error("usePromoContext must be used within a PromoContextProvider");return e}const ar=()=>{const r=ue(),n=(0,t.useContext)(l),{showPromo:i}=ir();if(!n)throw new Error("ChildComponent must be used within a TabContextProvider");const{pathname:a}=r,u=a.split("#");return(0,e.createElement)("header",{"data-component":"PluginNav"},(0,e.createElement)(Ue,null),(0,e.createElement)("div",{className:o()("sm:block","")},(0,e.createElement)("nav",{className:o()("relative"," z-50 flex","space-x-1"),"aria-label":"Tabs"},n.tabs.map(((t,r)=>(0,e.createElement)(Ie,{"aria-label":t.name.toString(),title:t.name.toString(),to:t.href,key:t.name.toString(),className:o()("group relative","flex items-center",{"flex-1":t.primary},u[0].includes(t.href)||t.rootTab&&"/"===u[0]?"bg-white text-brand-primary border-t-2 border-x border-black -mt-2 h-18 focus:border-none":"bg-white/60 text-grey-800 h-16","focus:z-10","flex items-center","group relative","border-transparent border-t-4 border-x-2 border-b-0","focus:border-transparent focus:ring-0","active:border-b-0","hover:border-t-4 hover:border-black/90","px-4","text-sm font-medium text-center","rounded-t-lg",""),"aria-current":u[0].includes(t.href)?"page":void 0},t.hasIssue&&(0,e.createElement)("span",{className:"w-4 h-4 absolute bg-red-600 rounded-full -top-1 -left-2"}),t.icon?t.icon:(0,e.createElement)("span",{"data-component":"tab-title",className:o()("text-xl uppercase flex-1",{"sr-only":t.showTitle})},t.name))))),i&&!er("#/pro")&&(0,e.createElement)(Vt,null)))},ur=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{d:"M13.586 3.586a2 2 0 112.828 2.828l-.793.793-2.828-2.828.793-.793zM11.379 5.793L3 14.172V17h2.828l8.38-8.379-2.83-2.828z"}))})),sr=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{fillRule:"evenodd",d:"M9 2a1 1 0 00-.894.553L7.382 4H4a1 1 0 000 2v10a2 2 0 002 2h8a2 2 0 002-2V6a1 1 0 100-2h-3.382l-.724-1.447A1 1 0 0011 2H9zM7 8a1 1 0 012 0v6a1 1 0 11-2 0V8zm5-1a1 1 0 00-1 1v6a1 1 0 102 0V8a1 1 0 00-1-1z",clipRule:"evenodd"}))}));var or=i(431),lr=i.n(or);const Lr=t=>{let{type:r,setOpenHelpSlider:n}=t;return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"min-h-full pt-16 pb-12 flex flex-col bg-white"},(0,e.createElement)("main",{className:"flex-grow flex flex-col justify-center max-w-7xl w-full mx-auto px-4 sm:px-6 lg:px-8"},(0,e.create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xLjUuMjMtMy4zNiwyLjM4LTUuNTksMS44MS0xLjksMy40NS0zLjEzLDQuOTItMy42OCwzLjI1LTEuMjMsNi42NC0xLjE0LDEwLjE3LjI2LDMuNTMsMS40LDUuODgsMy42NSw3LjA1LDYuNzVzLjY1LDYuMzctMS41Miw5LjkxWiIvPjxwYXRoIGQ9Im01NDMuMTQsMTcxLjM4czcyLjUxLS4xOSw5Ni43NC0zNC40MWMyMi4xNS0zMS4yNy0yMy41NC0zOC42NS0yMS42Mi0xMi42M3MxMTUuMjksMzgsMTE3Ljg1LTg0LjAxIiBmaWxsPSJub25lIiBzdHJva2U9IiM3ODVhZmEiIHN0cm9rZS1kYXNoYXJyYXk9IjAgMCAzIDgiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBzdHJva2Utd2lkdGg9IjQiLz48L3N2Zz4=",alt:""}),(0,e.createElement)("div",null),(0,e.createElement)("div",{className:"pt-4 border-t border-gray-300 w-full items-center text-center"},(0,e.createElement)("span",{className:"text-2xl"},"Not sure how to get started?"),(0,e.createElement)("button",{type:"button",onClick:()=>n(!0),className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent ","bg-brand-primary text-white","px-4 py-2","text-sm font-medium","shadow hover:shadow-xl","transform active:scale-75 hover:scale-110 transition-transform","hover:ring-2 hover:ring-white hover:ring-offset-2","focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2","ml-4","hover:text-white")},(0,e.createElement)("span",{className:"mx-2"},"Get Help"),(0,e.createElement)(lr(),{className:"h-5 w-5","aria-hidden":"true"}))),(0,e.createElement)("div",{className:"hidden py-16"},(0,e.createElement)("div",{className:"text-center"},(0,e.createElement)("h1",{className:"mt-2 text-4xl font-extrabold text-gray-900 tracking-tight sm:text-5xl"},"Add your first custom event."),(0,e.createElement)("div",{className:"mt-6"},(0,e.createElement)("button",{type:"button",className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent bg-brand-primary","px-4 py-2","text-sm font-medium text-white","shadow-sm","hover:bg-brand-600","focus:outline-none focus:ring-2 focus:ring-brand-primary-focus focus:ring-offset-2","transform active:scale-75 hover:scale-105 transition-transform")},"Add Custom Event"))))),(0,e.createElement)("footer",{className:"flex-shrink-0 max-w-7xl w-full mx-auto px-4 sm:px-6 lg:px-8"})))},cr={ad_impression:{ad_platform:{type:"text",required:!0,placeholder:"APPXXX"},ad_source:{type:"text",required:!0,placeholder:"Network Name"},ad_unit_name:{type:"text",required:!0,placeholder:"Unit Name"},ad_format:{type:"text",required:!0,placeholder:"Format"},value:{type:"number",required:!0,placeholder:"7.77"},currency:{type:"text",required:!0,placeholder:"USD"}},add_payment_info:{currency:{type:"text",required:!0,placeholder:"USD"},value:{type:"number",required:!0,placeholder:"7.77"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},payment_type:{type:"text",required:!1,placeholder:"Credit Card"},items:{type:"text",required:!0,placeholder:""}},add_shipping_info:{currency:{type:"text",required:!0,placeholder:"USD"},value:{type:"number",required:!0,placeholder:"7.77"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},shipping_tier:{type:"text",required:!1,placeholder:"Ground"},items:{type:"text",required:!0,placeholder:""}},add_to_cart:{currency:{type:"text",required:!0,placeholder:"USD"},value:{type:"number",required:!0,placeholder:"7.77"},items:{type:"text",required:!0,placeholder:""}},add_to_wishlist:{currency:{type:"text",required:!0,placeholder:"USD"},value:{type:"number",required:!0,placeholder:"7.77"},items:{type:"text",required:!0,placeholder:""}},begin_checkout:{currency:{type:"text",required:!0,placeholder:"USD"},value:{type:"number",required:!0,placeholder:"7.77"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},items:{type:"text",required:!0,placeholder:""}},earn_virtual_currency:{virtual_currency_name:{type:"text",required:!1,placeholder:"Gems"},value:{type:"number",required:!1,placeholder:"5"}},generate_lead:{currency:{type:"text",required:!0,placeholder:"USD"},value:{type:"number",required:!0,placeholder:"7.77"}},join_group:{group_id:{type:"text",required:!1,placeholder:"G_12345"}},level_end:{level_name:{type:"text",required:!1,placeholder:"The journey begins.."},success:{type:"text",required:!1,placeholder:"true"}},level_start:{level_name:{type:"text",required:!1,placeholder:"The journey begins.."}},level_up:{level:{type:"number",required:!1,placeholder:"5"},character:{type:"text",required:!1,placeholder:"Player 1"}},login:{method:{type:"text",required:!1,placeholder:"Google"}},post_score:{score:{type:"number",required:!0,placeholder:"10000"},level:{type:"number",required:!1,placeholder:"5"},character:{type:"text",required:!1,placeholder:"Player 1"}},purchase:{currency:{type:"text",required:!0,placeholder:"USD"},transaction_id:{type:"text",required:!0,placeholder:"T_12345"},value:{type:"number",required:!0,placeholder:"12.21"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},shipping:{type:"number",required:!1,placeholder:"3.33"},tax:{type:"number",required:!1,placeholder:"1.1"},items:{type:"text",required:!0,placeholder:""}},refund:{currency:{type:"text",required:!0,placeholder:"USD"},transaction_id:{type:"text",required:!0,placeholder:"T_12345"},value:{type:"number",required:!0,placeholder:"7.77"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},shipping:{type:"number",required:!1,placeholder:"3.33"},tax:{type:"number",required:!1,placeholder:"1.1"},items:{type:"text",required:!0,placeholder:""}},remove_from_cart:{currency:{type:"text",required:!0,placeholder:"USD"},value:{type:"number",required:!0,placeholder:"7.77"},items:{type:"text",required:!0,placeholder:""}},search:{search_term:{type:"text",required:!0,placeholder:"t-shirts"}},select_content:{content_type:{type:"text",required:!1,placeholder:"product"},item_id:{type:"text",required:!1,placeholder:"I_12345"}},select_item:{item_list_id:{type:"text",required:!1,placeholder:"SKU_12345"},item_list_name:{type:"text",required:!1,placeholder:"Stan and Friends Tee"},items:{type:"text",required:!0,placeholder:""}},select_promotion:{creative_name:{type:"text",required:!1,placeholder:"summer_banner2"},creative_slot:{type:"text",required:!1,placeholder:"featured_app_1"},location_id:{type:"text",required:!1,placeholder:"L_12345"},promotion_id:{type:"text",required:!1,placeholder:"P_12345"},promotion_name:{type:"text",required:!1,placeholder:"Summer Sale"},items:{type:"text",required:!1,placeholder:""}},share:{method:{type:"text",required:!1,placeholder:"Twitter"},content_type:{type:"text",required:!1,placeholder:"image"},item_id:{type:"text",required:!1,placeholder:"C_12345"}},sign_up:{method:{type:"text",required:!1,placeholder:"Google"}},spend_virtual_currency:{value:{type:"number",required:!0,placeholder:"5"},virtual_currency_name:{type:"text",required:!0,placeholder:"Gems"},item_name:{type:"text",required:!1,placeholder:"Starter Boost"}},tutorial_begin:{},tutorial_complete:{},unlock_achievement:{achievement_id:{type:"text",required:!0,placeholder:"A_12345"}},view_cart:{currency:{type:"text",required:!0,placeholder:"USD"},value:{type:"number",required:!0,placeholder:"7.77"},items:{type:"text",required:!0,placeholder:""}},view_item:{currency:{type:"text",required:!0,placeholder:"USD"},value:{type:"number",required:!0,placeholder:"7.77"},items:{type:"text",required:!0,placeholder:""}},view_item_list:{item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},items:{type:"text",required:!0,placeholder:""}},view_promotion:{creative_name:{type:"text",required:!1,placeholder:"summer_banner2"},creative_slot:{type:"text",required:!1,placeholder:"featured_app_1"},location_id:{type:"text",required:!1,placeholder:"L_12345"},promotion_id:{type:"text",required:!1,placeholder:"P_12345"},promotion_name:{type:"text",required:!1,placeholder:"Summer Sale"},items:{type:"text",required:!0,placeholder:""}}};var Mr,jr=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(jr||{});function dr(e){let t=e.parentElement,r=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(r=t),t=t.parentElement;let n=""===(null==t?void 0:t.getAttribute("disabled"));return(!n||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(r))&&n}let Nr=null!=(Mr=t.useId)?Mr:function(){let e=ot(),[r,n]=t.useState(e?()=>it.nextId():null);return at((()=>{null===r&&n(it.nextId())}),[r]),null!=r?""+r:void 0};var mr=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(mr||{});let yr=Ve((function(e,t){let{features:r=1,...n}=e;return Ze({ourProps:{ref:t,"aria-hidden":2==(2&r)||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...4==(4&r)&&2!=(2&r)&&{display:"none"}}},theirProps:n,slot:{},defaultTag:"div",name:"Hidden"})}));function gr(e){return it.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let xr=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((e=>`${e}:not([tabindex='-1'])`)).join(",");var pr,Tr=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(Tr||{}),wr=((pr=wr||{})[pr.Error=0]="Error",pr[pr.Overflow=1]="Overflow",pr[pr.Success=2]="Success",pr[pr.Underflow=3]="Underflow",pr),Sr=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Sr||{});var Er=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Er||{});function Dr(e){null==e||e.focus({preventScroll:!0})}let fr=["textarea","input"].join(",");function Ir(e,t=(e=>e)){return e.slice().sort(((e,r)=>{let n=t(e),i=t(r);if(null===n||null===i)return 0;let a=n.compareDocumentPosition(i);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0}))}function hr(e,t,{sorted:r=!0,relativeTo:n=null,skipElements:i=[]}={}){let a=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,u=Array.isArray(e)?r?Ir(e):e:function(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(xr)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}(e);i.length>0&&u.length>1&&(u=u.filter((e=>!i.includes(e)))),n=null!=n?n:a.activeElement;let s,o=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),l=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,u.indexOf(n))-1;if(4&t)return Math.max(0,u.indexOf(n))+1;if(8&t)return u.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),L=32&t?{preventScroll:!0}:{},c=0,M=u.length;do{if(c>=M||c+M<=0)return 0;let e=l+c;if(16&t)e=(e+M)%M;else{if(e<0)return 3;if(e>=M)return 1}s=u[e],null==s||s.focus(L),c+=o}while(s!==a.activeElement);return 6&t&&function(e){var t,r;return null!=(r=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,fr))&&r}(s)&&s.select(),s.hasAttribute("tabindex")||s.setAttribute("tabindex","0"),2}var Cr=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Cr||{});function zr(...e){return(0,t.useMemo)((()=>gr(...e)),[...e])}function Or(e,r,n,i){let a=st(n);(0,t.useEffect)((()=>{function t(e){a.current(e)}return(e=null!=e?e:window).addEventListener(r,t,i),()=>e.removeEventListener(r,t,i)}),[e,r,i])}function br(e,r){let n=(0,t.useRef)([]),i=lt(e);(0,t.useEffect)((()=>{let e=[...n.current];for(let[t,a]of r.entries())if(n.current[t]!==a){let t=i(r,e);return n.current=r,t}}),[i,...r])}function vr(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let r of e.current)r.current instanceof HTMLElement&&t.add(r.current);return t}var kr=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(kr||{});let Ar=Ve((function(e,r){let n=(0,t.useRef)(null),i=Mt(n,r),{initialFocus:a,containers:u,features:s=30,...o}=e;ot()||(s=1);let l=zr(n);!function({ownerDocument:e},r){let n=function(e=!0){let r=(0,t.useRef)(Ur.slice());return br((([e],[t])=>{!0===t&&!1===e&&jt((()=>{r.current.splice(0)})),!1===t&&!0===e&&(r.current=Ur.slice())}),[e,Ur,r]),lt((()=>{var e;return null!=(e=r.current.find((e=>null!=e&&e.isConnected)))?e:null}))}(r);br((()=>{r||(null==e?void 0:e.activeElement)===(null==e?void 0:e.body)&&Dr(n())}),[r]);let i=(0,t.useRef)(!1);(0,t.useEffect)((()=>(i.current=!1,()=>{i.current=!0,jt((()=>{i.current&&Dr(n())}))})),[])}({ownerDocument:l},Boolean(16&s));let L=function({ownerDocument:e,container:r,initialFocus:n},i){let a=(0,t.useRef)(null),u=ut();return br((()=>{if(!i)return;let t=r.current;t&&jt((()=>{if(!u.current)return;let r=null==e?void 0:e.activeElement;if(null!=n&&n.current){if((null==n?void 0:n.current)===r)return void(a.current=r)}else if(t.contains(r))return void(a.current=r);null!=n&&n.current?Dr(n.current):hr(t,Tr.First)===wr.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),a.current=null==e?void 0:e.activeElement}))}),[i]),a}({ownerDocument:l,container:n,initialFocus:a},Boolean(2&s));!function({ownerDocument:e,container:t,containers:r,previousActiveElement:n},i){let a=ut();Or(null==e?void 0:e.defaultView,"focus",(e=>{if(!i||!a.current)return;let u=vr(r);t.current instanceof HTMLElement&&u.add(t.current);let s=n.current;if(!s)return;let o=e.target;o&&o instanceof HTMLElement?Qr(u,o)?(n.current=o,Dr(o)):(e.preventDefault(),e.stopPropagation(),Dr(s)):Dr(n.current)}),!0)}({ownerDocument:l,container:n,containers:u,previousActiveElement:L},Boolean(8&s));let c=function(){let e=(0,t.useRef)(0);return function(e,r,n){let i=st(r);(0,t.useEffect)((()=>{function t(e){i.current(e)}return window.addEventListener(e,t,n),()=>window.removeEventListener(e,t,n)}),[e,n])}("keydown",(t=>{"Tab"===t.key&&(e.current=t.shiftKey?1:0)}),!0),e}(),M=lt((e=>{let t=n.current;t&&_e(c.current,{[Cr.Forwards]:()=>{hr(t,Tr.First,{skipElements:[e.relatedTarget]})},[Cr.Backwards]:()=>{hr(t,Tr.Last,{skipElements:[e.relatedTarget]})}})})),j=yt(),d=(0,t.useRef)(!1),N={ref:i,onKeyDown(e){"Tab"==e.key&&(d.current=!0,j.requestAnimationFrame((()=>{d.current=!1})))},onBlur(e){let t=vr(u);n.current instanceof HTMLElement&&t.add(n.current);let r=e.relatedTarget;r instanceof HTMLElement&&"true"!==r.dataset.headlessuiFocusGuard&&(Qr(t,r)||(d.current?hr(n.current,_e(c.current,{[Cr.Forwards]:()=>Tr.Next,[Cr.Backwards]:()=>Tr.Previous})|Tr.WrapAround,{relativeTo:e.target}):e.target instanceof HTMLElement&&Dr(e.target)))}};return t.createElement(t.Fragment,null,Boolean(4&s)&&t.createElement(yr,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:M,features:mr.Focusable}),Ze({ourProps:N,theirProps:o,defaultTag:"div",name:"FocusTrap"}),Boolean(4&s)&&t.createElement(yr,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:M,features:mr.Focusable}))})),Yr=Object.assign(Ar,{features:kr}),Ur=[];if("undefined"!=typeof window&&"undefined"!=typeof document){let e=function(e){e.target instanceof HTMLElement&&e.target!==document.body&&Ur[0]!==e.target&&(Ur.unshift(e.target),Ur=Ur.filter((e=>null!=e&&e.isConnected)),Ur.splice(10))};window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})}function Qr(e,t){for(let r of e)if(r.contains(t))return!0;return!1}const Gr=window.ReactDOM;let Pr=(0,t.createContext)(!1);function Rr(){return(0,t.useContext)(Pr)}function Fr(e){return t.createElement(Pr.Provider,{value:e.force},e.children)}let _r=t.Fragment,qr=t.Fragment,Br=(0,t.createContext)(null),Zr=Ve((function(e,r){let n=e,i=(0,t.useRef)(null),a=Mt(ct((e=>{i.current=e})),r),u=zr(i),s=function(e){let r=Rr(),n=(0,t.useContext)(Br),i=zr(e),[a,u]=(0,t.useState)((()=>{if(!r&&null!==n||it.isServer)return null;let e=null==i?void 0:i.getElementById("headlessui-portal-root");if(e)return e;if(null===i)return null;let t=i.createElement("div");return t.setAttribute("id","headlessui-portal-root"),i.body.appendChild(t)}));return(0,t.useEffect)((()=>{null!==a&&(null!=i&&i.body.contains(a)||null==i||i.body.appendChild(a))}),[a,i]),(0,t.useEffect)((()=>{r||null!==n&&u(n.current)}),[n,u,r]),a}(i),[o]=(0,t.useState)((()=>{var e;return it.isServer?null:null!=(e=null==u?void 0:u.createElement("div"))?e:null})),l=ot(),L=(0,t.useRef)(!1);return at((()=>{if(L.current=!1,s&&o)return s.contains(o)||(o.setAttribute("data-headlessui-portal",""),s.appendChild(o)),()=>{L.current=!0,jt((()=>{var e;L.current&&(!s||!o||(o instanceof Node&&s.contains(o)&&s.removeChild(o),s.childNodes.length<=0&&(null==(e=s.parentElement)||e.removeChild(s))))}))}}),[s,o]),l&&s&&o?(0,Gr.createPortal)(Ze({ourProps:{ref:a},theirProps:n,defaultTag:_r,name:"Portal"}),o):null})),Wr=Ve((function(e,r){let{target:n,...i}=e,a={ref:Mt(r)};return t.createElement(Br.Provider,{value:n},Ze({ourProps:a,theirProps:i,defaultTag:qr,name:"Popover.Group"}))})),Hr=Object.assign(Zr,{Group:Wr}),Vr=(0,t.createContext)(null);function Jr(){let e=(0,t.useContext)(Vr);if(null===e){let e=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,Jr),e}return e}function Xr(){let[e,r]=(0,t.useState)([]);return[e.length>0?e.join(" "):void 0,(0,t.useMemo)((()=>function(e){let n=lt((e=>(r((t=>[...t,e])),()=>r((t=>{let r=t.slice(),n=r.indexOf(e);return-1!==n&&r.splice(n,1),r}))))),i=(0,t.useMemo)((()=>({register:n,slot:e.slot,name:e.name,props:e.props})),[n,e.slot,e.name,e.props]);return t.createElement(Vr.Provider,{value:i},e.children)}),[r])]}let Kr=Ve((function(e,t){let r=Nr(),{id:n=`headlessui-description-${r}`,...i}=e,a=Jr(),u=Mt(t);return at((()=>a.register(n)),[n,a.register]),Ze({ourProps:{ref:u,...a.props,id:n},theirProps:i,slot:a.slot||{},defaultTag:"p",name:a.name||"Description"})})),$r=Object.assign(Kr,{}),en=(0,t.createContext)((()=>{}));en.displayName="StackContext";var tn=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(tn||{});function rn({children:e,onUpdate:r,type:n,element:i,enabled:a}){let u=(0,t.useContext)(en),s=lt(((...e)=>{null==r||r(...e),u(...e)}));return at((()=>{let e=void 0===a||!0===a;return e&&s(0,n,i),()=>{e&&s(1,n,i)}}),[s,n,i,a]),t.createElement(en.Provider,{value:s},e)}function nn(e,r,n){let i=st(r);(0,t.useEffect)((()=>{function t(e){i.current(e)}return document.addEventListener(e,t,n),()=>document.removeEventListener(e,t,n)}),[e,n])}function an(e,r,n=!0){let i=(0,t.useRef)(!1);function a(t,n){if(!i.current||t.defaultPrevented)return;let a=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e),u=n(t);if(null!==u&&u.getRootNode().contains(u)){for(let e of a){if(null===e)continue;let r=e instanceof HTMLElement?e:e.current;if(null!=r&&r.contains(u)||t.composed&&t.composedPath().includes(r))return}return!function(e,t=0){var r;return e!==(null==(r=gr(e))?void 0:r.body)&&_e(t,{0:()=>e.matches(xr),1(){let t=e;for(;null!==t;){if(t.matches(xr))return!0;t=t.parentElement}return!1}})}(u,Er.Loose)&&-1!==u.tabIndex&&t.preventDefault(),r(t,u)}}(0,t.useEffect)((()=>{requestAnimationFrame((()=>{i.current=n}))}),[n]);let u=(0,t.useRef)(null);nn("mousedown",(e=>{var t,r;i.current&&(u.current=(null==(r=null==(t=e.composedPath)?void 0:t.call(e))?void 0:r[0])||e.target)}),!0),nn("click",(e=>{u.current&&(a(e,(()=>u.current)),u.current=null)}),!0),nn("blur",(e=>a(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)}const un="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},{useState:sn,useEffect:on,useLayoutEffect:ln,useDebugValue:Ln}=r;function cn(e){const t=e.getSnapshot,r=e.value;try{const e=t();return!un(r,e)}catch{return!0}}const Mn="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t,r){return t()}:function(e,t,r){const n=t(),[{inst:i},a]=sn({inst:{value:n,getSnapshot:t}});return ln((()=>{i.value=n,i.getSnapshot=t,cn(i)&&a({inst:i})}),[e,n,t]),on((()=>(cn(i)&&a({inst:i}),e((()=>{cn(i)&&a({inst:i})})))),[e]),Ln(n),n},jn="useSyncExternalStore"in r?(e=>e.useSyncExternalStore)(r):Mn;function dn(){let e;return{before({doc:t}){var r;let n=t.documentElement;e=(null!=(r=t.defaultView)?r:window).innerWidth-n.clientWidth},after({doc:t,d:r}){let n=t.documentElement,i=n.clientWidth-n.offsetWidth,a=e-i;r.style(n,"paddingRight",`${a}px`)}}}function Nn(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function mn(){if(!Nn())return{};let e;return{before(){e=window.pageYOffset},after({doc:t,d:r,meta:n}){function i(e){return n.containers.flatMap((e=>e())).some((t=>t.contains(e)))}r.style(t.body,"marginTop",`-${e}px`),window.scrollTo(0,0);let a=null;r.addEventListener(t,"click",(e=>{if(e.target instanceof HTMLElement)try{let r=e.target.closest("a");if(!r)return;let{hash:n}=new URL(r.href),u=t.querySelector(n);u&&!i(u)&&(a=u)}catch{}}),!0),r.addEventListener(t,"touchmove",(e=>{e.target instanceof HTMLElement&&!i(e.target)&&e.preventDefault()}),{passive:!1}),r.add((()=>{window.scrollTo(0,window.pageYOffset+e),a&&a.isConnected&&(a.scrollIntoView({block:"nearest"}),a=null)}))}}}function yn(e){let t={};for(let r of e)Object.assign(t,r(t));return t}let gn=function(e,t){let r=new Map,n=new Set;return{getSnapshot:()=>r,subscribe:e=>(n.add(e),()=>n.delete(e)),dispatch(e,...i){let a=t[e].call(r,...i);a&&(r=a,n.forEach((e=>e())))}}}(0,{PUSH(e,t){var r;let n=null!=(r=this.get(e))?r:{doc:e,count:0,d:dt(),meta:new Set};return n.count++,n.meta.add(t),this.set(e,n),this},POP(e,t){let r=this.get(e);return r&&(r.count--,r.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:r}){let n={doc:e,d:t,meta:yn(r)},i=[mn(),dn(),{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}];i.forEach((({before:e})=>null==e?void 0:e(n))),i.forEach((({after:e})=>null==e?void 0:e(n)))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});gn.subscribe((()=>{let e=gn.getSnapshot(),t=new Map;for(let[r]of e)t.set(r,r.documentElement.style.overflow);for(let r of e.values()){let e="hidden"===t.get(r.doc),n=0!==r.count;(n&&!e||!n&&e)&&gn.dispatch(r.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",r),0===r.count&&gn.dispatch("TEARDOWN",r)}}));let xn=new Map,pn=new Map;function Tn(e,t=!0){at((()=>{var r;if(!t)return;let n="function"==typeof e?e():e.current;if(!n)return;let i=null!=(r=pn.get(n))?r:0;return pn.set(n,i+1),0!==i||(xn.set(n,{"aria-hidden":n.getAttribute("aria-hidden"),inert:n.inert}),n.setAttribute("aria-hidden","true"),n.inert=!0),function(){var e;if(!n)return;let t=null!=(e=pn.get(n))?e:1;if(1===t?pn.delete(n):pn.set(n,t-1),1!==t)return;let r=xn.get(n);r&&(null===r["aria-hidden"]?n.removeAttribute("aria-hidden"):n.setAttribute("aria-hidden",r["aria-hidden"]),n.inert=r.inert,xn.delete(n))}}),[e,t])}var wn=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(wn||{}),Sn=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(Sn||{});let En={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},Dn=(0,t.createContext)(null);function fn(e){let r=(0,t.useContext)(Dn);if(null===r){let t=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,fn),t}return r}function In(e,t){return _e(t.type,En,e,t)}Dn.displayName="DialogContext";let hn=qe.RenderStrategy|qe.Static,Cn=Ve((function(e,r){let n=Nr(),{id:i=`headlessui-dialog-${n}`,open:a,onClose:u,initialFocus:s,__demoMode:o=!1,...l}=e,[L,c]=(0,t.useState)(0),M=et();void 0===a&&null!==M&&(a=(M&$e.Open)===$e.Open);let j=(0,t.useRef)(null),d=Mt(j,r),N=(0,t.useRef)(null),m=zr(j),y=e.hasOwnProperty("open")||null!==M,g=e.hasOwnProperty("onClose");if(!y&&!g)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!y)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!g)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if("boolean"!=typeof a)throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${a}`);if("function"!=typeof u)throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${u}`);let x=a?0:1,[p,T]=(0,t.useReducer)(In,{titleId:null,descriptionId:null,panelRef:(0,t.createRef)()}),w=lt((()=>u(!1))),S=lt((e=>T({type:0,id:e}))),E=!!ot()&&!o&&0===x,D=L>1,f=null!==(0,t.useContext)(Dn),I=D?"parent":"leaf",h=null!==M&&(M&$e.Closing)===$e.Closing,C=!f&&!h&&E,z=(0,t.useCallback)((()=>{var e,t;return null!=(t=Array.from(null!=(e=null==m?void 0:m.querySelectorAll("body > *"))?e:[]).find((e=>"headlessui-portal-root"!==e.id&&e.contains(N.current)&&e instanceof HTMLElement)))?t:null}),[N]);Tn(z,C);let O=!!D||E,b=(0,t.useCallback)((()=>{var e,t;return null!=(t=Array.from(null!=(e=null==m?void 0:m.querySelectorAll("[data-headlessui-portal]"))?e:[]).find((e=>e.contains(N.current)&&e instanceof HTMLElement)))?t:null}),[N]);Tn(b,O);let v=lt((()=>{var e,t;return[...Array.from(null!=(e=null==m?void 0:m.querySelectorAll("html > *, body > *, [data-headlessui-portal]"))?e:[]).filter((e=>!(e===document.body||e===document.head||!(e instanceof HTMLElement)||e.contains(N.current)||p.panelRef.current&&e.contains(p.panelRef.current)))),null!=(t=p.panelRef.current)?t:j.current]}));an((()=>v()),w,!(!E||D));let k=!(D||0!==x);Or(null==m?void 0:m.defaultView,"keydown",(e=>{k&&(e.defaultPrevented||e.key===jr.Escape&&(e.preventDefault(),e.stopPropagation(),w()))})),function(e,t,r=(()=>[document.body])){!function(e,t,r){let n=jn((u=gn).subscribe,u.getSnapshot,u.getSnapshot),i=e?n.get(e):void 0,a=!!i&&i.count>0;var u;at((()=>{if(e&&t)return gn.dispatch("PUSH",e,r),()=>gn.dispatch("POP",e,r)}),[t,e])}(e,t,(e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],r]}}))}(m,!(h||0!==x||f),v),(0,t.useEffect)((()=>{if(0!==x||!j.current)return;let e=new ResizeObserver((e=>{for(let t of e){let e=t.target.getBoundingClientRect();0===e.x&&0===e.y&&0===e.width&&0===e.height&&w()}}));return e.observe(j.current),()=>e.disconnect()}),[x,j,w]);let[A,Y]=Xr(),U=(0,t.useMemo)((()=>[{dialogState:x,close:w,setTitleId:S},p]),[x,p,w,S]),Q=(0,t.useMemo)((()=>({open:0===x})),[x]),G={ref:d,id:i,role:"dialog","aria-modal":0===x||void 0,"aria-labelledby":p.titleId,"aria-describedby":A};return t.createElement(rn,{type:"Dialog",enabled:0===x,element:j,onUpdate:lt(((e,t)=>{"Dialog"===t&&_e(e,{[tn.Add]:()=>c((e=>e+1)),[tn.Remove]:()=>c((e=>e-1))})}))},t.createElement(Fr,{force:!0},t.createElement(Hr,null,t.createElement(Dn.Provider,{value:U},t.createElement(Hr.Group,{target:j},t.createElement(Fr,{force:!1},t.createElement(Y,{slot:Q,name:"Dialog.Description"},t.createElement(Yr,{initialFocus:s,containers:v,features:E?_e(I,{parent:Yr.features.RestoreFocus,leaf:Yr.features.All&~Yr.features.FocusLock}):Yr.features.None},Ze({ourProps:G,theirProps:l,slot:Q,defaultTag:"div",features:hn,visible:0===x,name:"Dialog"})))))))),t.createElement(yr,{features:mr.Hidden,ref:N}))})),zn=Ve((function(e,r){let n=Nr(),{id:i=`headlessui-dialog-backdrop-${n}`,...a}=e,[{dialogState:u},s]=fn("Dialog.Backdrop"),o=Mt(r);(0,t.useEffect)((()=>{if(null===s.panelRef.current)throw new Error("A <Dialog.Backdrop /> component is being used, but a <Dialog.Panel /> component is missing.")}),[s.panelRef]);let l=(0,t.useMemo)((()=>({open:0===u})),[u]);return t.createElement(Fr,{force:!0},t.createElement(Hr,null,Ze({ourProps:{ref:o,id:i,"aria-hidden":!0},theirProps:a,slot:l,defaultTag:"div",name:"Dialog.Backdrop"})))})),On=Ve((function(e,r){let n=Nr(),{id:i=`headlessui-dialog-panel-${n}`,...a}=e,[{dialogState:u},s]=fn("Dialog.Panel"),o=Mt(r,s.panelRef),l=(0,t.useMemo)((()=>({open:0===u})),[u]),L=lt((e=>{e.stopPropagation()}));return Ze({ourProps:{ref:o,id:i,onClick:L},theirProps:a,slot:l,defaultTag:"div",name:"Dialog.Panel"})})),bn=Ve((function(e,r){let n=Nr(),{id:i=`headlessui-dialog-overlay-${n}`,...a}=e,[{dialogState:u,close:s}]=fn("Dialog.Overlay"),o=Mt(r),l=lt((e=>{if(e.target===e.currentTarget){if(dr(e.currentTarget))return e.preventDefault();e.preventDefault(),e.stopPropagation(),s()}}));return Ze({ourProps:{ref:o,id:i,"aria-hidden":!0,onClick:l},theirProps:a,slot:(0,t.useMemo)((()=>({open:0===u})),[u]),defaultTag:"div",name:"Dialog.Overlay"})})),vn=Ve((function(e,r){let n=Nr(),{id:i=`headlessui-dialog-title-${n}`,...a}=e,[{dialogState:u,setTitleId:s}]=fn("Dialog.Title"),o=Mt(r);(0,t.useEffect)((()=>(s(i),()=>s(null))),[i,s]);let l=(0,t.useMemo)((()=>({open:0===u})),[u]);return Ze({ourProps:{ref:o,id:i},theirProps:a,slot:l,defaultTag:"h2",name:"Dialog.Title"})})),kn=Object.assign(Cn,{Backdrop:zn,Panel:On,Overlay:bn,Title:vn,Description:$r});const An=(0,t.createContext)(),Yn=(0,t.createContext)(),Un=(0,t.createContext)(),Qn=(0,t.createContext)();function Gn(r){let{open:n,toggleDeleteModal:i,index:a,item_id:u,deleteItem:s}=r;return(0,e.createElement)(bt.Root,{show:n,as:t.Fragment},(0,e.createElement)(kn,{as:"div",className:"z-[9999992] relative",onClose:i},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"})),(0,e.createElement)("div",{className:"fixed  inset-0 overflow-y-auto"},(0,e.createElement)("div",{className:"flex items-end sm:items-center justify-center min-h-full p-4 text-center sm:p-0"},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},(0,e.createElement)(kn.Panel,{className:"relative bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:max-w-lg sm:w-full sm:p-6"},(0,e.createElement)("div",{className:"sm:flex sm:items-start"},(0,e.createElement)("div",{className:"mx-auto flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-red-100 sm:mx-0 sm:h-10 sm:w-10"}),(0,e.createElement)("div",{className:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"},(0,e.createElement)(kn.Title,{as:"h3",className:"text-lg leading-6 font-medium text-gray-900"},"Delete Item"),(0,e.createElement)("div",{className:"mt-2"},(0,e.createElement)("p",{className:"text-sm text-gray-500"},"Are you sure you want to delete the"," ",(0,e.createElement)("span",{className:"strong"},u)," item?")))),(0,e.createElement)("div",{className:"mt-5 sm:mt-4 sm:flex sm:flex-row-reverse"},(0,e.createElement)("button",{type:"button",className:"w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-red-600 text-base font-medium text-white hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500 sm:ml-3 sm:w-auto sm:text-sm",onClick:function(){s(a),i()}},"Delete"),(0,e.createElement)("button",{type:"button",className:"mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:w-auto sm:text-sm",onClick:i},"Cancel"))))))))}function Pn(t){let{pKey:r,pValue:n,required:i,type:a,placeholder:u,setItem:s}=t;return(0,e.createElement)("fieldset",{className:"first:pt-0 sm:grid sm:grid-cols-3 sm:gap-4 sm:items-start sm:border-t sm:border-gray-200 sm:pt-5"},(0,e.createElement)("label",{htmlFor:"items",className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"+(1==i?" required":"")},r),(0,e.createElement)("input",{type:a,required:i,name:r,placeholder:u,id:r,value:n||"",onChange:e=>s(r,e.target.value),className:"flex-1 block col-span-2 w-full focus:ring-indigo-500 focus:border-indigo-500 min-w-0 rounded-none rounded-r-md sm:text-sm border-gray-300"}))}const Rn={add_payment_info:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},add_shipping_info:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},add_to_cart:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},add_to_wishlist:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},begin_checkout:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},purchase:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},refund:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},remove_from_cart:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},select_item:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},select_promotion:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},creative_name:{type:"text",required:!1,placeholder:"summer_banner2"},creative_slot:{type:"text",required:!1,placeholder:"featured_app_1"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},promotion_id:{type:"text",required:!1,placeholder:"P_12345"},promotion_name:{type:"text",required:!1,placeholder:"Summer Sale"},quantity:{type:"number",required:!1,placeholder:"1"}},view_cart:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},view_item:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},view_item_list:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},view_promotion:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},creative_name:{type:"text",required:!1,placeholder:"summer_banner2"},creative_slot:{type:"text",required:!1,placeholder:"featured_app_1"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},promotion_id:{type:"text",required:!1,placeholder:"P_12345"},promotion_name:{type:"text",required:!1,placeholder:"Summer Sale"},quantity:{type:"number",required:!1,placeholder:"1"}}},Fn=r=>{let{eventName:n,currentItem:i,setCurrentItem:a,index:u,saveItem:s}=r;const{openItemsForm:o,setOpenItemsForm:l}=(0,t.useContext)(An);function L(e,t){let r={...i};r[e]=t,a(r)}return(0,e.createElement)(bt.Root,{show:o,as:t.Fragment},(0,e.createElement)(kn,{as:"div",className:"relative z-[9999991]",onClose:l},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"ease-in-out duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-50 transition-opacity"})),(0,e.createElement)("div",{className:"fixed inset-0"}),(0,e.createElement)("div",{className:"fixed inset-0 overflow-hidden"},(0,e.createElement)("div",{className:"absolute inset-0 overflow-hidden"},(0,e.createElement)("div",{className:"pointer-events-none fixed inset-y-0 right-0 flex w-1/4 min-w-[700px] pl-10"},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"transform transition ease-in-out duration-500 sm:duration-700",enterFrom:"translate-x-full",enterTo:"translate-x-0",leave:"transform transition ease-in-out duration-500 sm:duration-700",leaveFrom:"translate-x-0",leaveTo:"translate-x-full"},(0,e.createElement)(kn.Panel,{className:"pointer-events-auto w-screen flex-1 "},(0,e.createElement)("form",{id:"item-form",onSubmit:function(e){e.preventDefault(),s(i,u),a({}),l(!1)},className:"flex h-full flex-col divide-y divide-gray-200 bg-white shadow-xl"},(0,e.createElement)("div",{"data-component":"form-wrapper",className:"flex min-h-0 flex-1 flex-col"},(0,e.createElement)("header",{className:"py-5 pl-10 pr-10 sticky top-0 shadow backdrop-filter backdrop-blur-lg backdrop-saturate-110 bg-opacity-80"},(0,e.createElement)("div",{className:"flex items-start justify-between"},(0,e.createElement)(kn.Title,{className:"text-2xl font-medium text-gray-900"}," ",u>=0?"Edit":"New"," Item "),(0,e.createElement)("div",{className:"ml-3 flex h-7 items-center"},(0,e.createElement)("button",{type:"button",className:"rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-indigo-500",onClick:()=>l(!1)},(0,e.createElement)("span",{className:"sr-only"},"Close panel"),(0,e.createElement)(kt,{className:"h-6 w-6","aria-hidden":"true"}))))),(0,e.createElement)("div",{"data-component":"main-form",className:"overflow-y-scroll bg-gray-100 p-10"},(0,e.createElement)("div",{"data-component":"inline-form",className:"bg-white w-full p-10 rounded-md"},(0,e.createElement)("div",{"data-component":"fieldset-wrapper",className:"sm:mt-5 space-y-6 sm:space-y-5"},Object.entries(Rn[n]).map((t=>{let[r,n]=t;return(0,e.createElement)(Pn,{key:r,pKey:r,pValue:i[r],required:n.required,type:n.type,placeholder:n.placeholder,setItem:L})})))))),(0,e.createElement)("footer",{className:"flex flex-shrink-0 justify-end px-4 py-4"},(0,e.createElement)("button",{type:"button",className:"rounded-md border border-gray-300 bg-white py-2 px-4 text-sm font-medium text-gray-700 shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2",onClick:()=>l(!1)},"Cancel"),(0,e.createElement)("button",{type:"submit",form:"item-form",className:"ml-4 inline-flex justify-center rounded-md border border-transparent bg-indigo-600 py-2 px-4 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2"},"Save"))))))))))};function qn(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(Boolean).join(" ")}function Bn(r){let{eventName:n,eventItems:i,updateFunction:a}=r;(0,t.useRef)();const[u,s]=(0,t.useState)(Array.isArray(i)?i:[]),[o,l]=(0,t.useState)(!1),[L,c]=(0,t.useState)(!1),[M,j]=(0,t.useState)([]),{openItemsForm:d,setOpenItemsForm:N}=(0,t.useContext)(An),[m,y]=(0,t.useState)(),[g,x]=(0,t.useState)(!1),[p,T]=(0,t.useState)({}),[w,S]=(0,t.useState)(),[E,D]=(0,t.useState)(!1);return(0,t.useEffect)((()=>{a(u)}),[u]),(0,e.createElement)("div",{"data-component":"items-table",className:"flex flex-col bg-gray-50 rounded-50"},(0,e.createElement)("header",{className:"p-4 sm:flex sm:items-center"},(0,e.createElement)("div",{className:"sm:flex-auto"},(0,e.createElement)("h3",{className:"uppercase text-base leading-6 font-medium text-gray-900"},"Items")),(0,e.createElement)("div",{className:"mt-4 sm:mt-0 sm:ml-16 sm:flex-none"},(0,e.createElement)("button",{onClick:function(){T({}),S(-1),N(!0)},type:"button",className:"capitalize inline-flex items-center justify-center rounded-md border border-transparent bg-brand-primary px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-brand-primary-hover focus:outline-none focus:ring-2 focus:ring-brand-primary-focus focus:ring-offset-2 sm:w-auto"},"Add Item"))),(0,e.createElement)("div",{"data-component":"item-list",className:"bg-gray-100 p-2 flex items-center"},u&&u.length>0?(0,e.createElement)("table",{className:"min-w-full table-fixed divide-y divide-gray-300"},(0,e.createElement)("thead",{className:"bg-gray-50"},(0,e.createElement)("tr",null,(0,e.createElement)("th",{scope:"col",className:"min-w-[12rem] py-3.5 pr-2 pl-4 text-left text-sm font-semibold text-gray-900"},"Item ID"),(0,e.createElement)("th",{scope:"col",className:"px-3 py-3.5 text-left text-sm font-semibold text-gray-900"},"Item Name"),(0,e.createElement)("th",{scope:"col",className:"px-3 py-3.5 text-left text-sm font-semibold text-gray-900"}),(0,e.createElement)("th",{scope:"col",className:"relative py-3.5 pl-3 pr-4 sm:pr-6"},(0,e.createElement)("span",{className:"sr-only"},"Edit")))),(0,e.createElement)("tbody",{className:" bg-white"},u&&u.length>0&&u[0]?u.map(((r,n)=>(0,e.createElement)(t.Fragment,{key:n},(0,e.createElement)("tr",{className:"bg-gray-50"},(0,e.createElement)("td",{className:qn("whitespace-nowrap pr-2 pl-4 text-sm font-medium","py-1","pt-2",M.includes(r)?"text-gtIndigo-600":"text-gray-900")},r.item_id),(0,e.createElement)("td",{rowSpan:"2",className:"whitespace-nowrap px-3 text-sm text-gray-500"},r.item_name),(0,e.createElement)("td",{rowSpan:"2",className:"whitespace-nowrap px-3 text-sm text-gray-500"}),(0,e.createElement)("td",{rowSpan:"2",className:"whitespace-nowrap  py-6 pl-3 pr-4 text-right text-sm font-medium sm:pr-6"},(0,e.createElement)("button",{type:"button",onClick:e=>function(e,t,r){e.preventDefault();let n={...t};T(n),S(r),N(!d)}(e,r,n),className:"inline-flex items-center px-2.5 py-1.5 border border-transparent text-xs font-medium rounded shadow-sm text-white bg-brand-primary hover:bg-brand-primary-hover focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-brand-primary-focus"},"Edit"),(0,e.createElement)("button",{type:"button",onClick:e=>function(e,t,r){e.preventDefault();let n={...t};n.index=r,T(n),x(!0)}(e,r,n),className:"ml-3 inline-flex items-center px-2.5 py-1.5 border border-transparent text-xs font-medium rounded shadow-sm text-white bg-brand-danger hover:bg-brand-danger-hover focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-brand-primary-focus"},"Delete")))))):null)):(0,e.createElement)("div",{"data-component":"no-items-placeholder",className:"p-6 flex-1 text-center items-center opacity-90 bg-gray-200 rounded my-4"},"No Items"),(0,e.createElement)(Fn,{eventName:n,currentItem:p,setCurrentItem:T,index:w,saveItem:(e,t)=>{if(t>=0){let r=u;r[t]=e,s([...r])}else s([...u,e])}})),g&&(0,e.createElement)(Gn,{open:g,toggleDeleteModal:function(){x(!g)},index:p.index,item_id:p.item_id,currentItemId:p.item_id,deleteItem:e=>{let t=u;t.splice(e,1),s(t),T(!1)},updateFunction:a}))}function Zn(t){let{pKey:r,pValue:n,setProp:i,required:a,type:u,placeholder:s,deleteProp:o,deleteButton:l}=t;return(0,e.createElement)(e.Fragment,null,"items"!=r?(0,e.createElement)("tr",{className:"bg-gray-50"},(0,e.createElement)("td",{className:"whitespace-nowrap pr-2 pl-4 text-sm font-medium py-1  pt-2 text-gray-900"},r),(0,e.createElement)("td",{className:"whitespace-nowrap px-3 text-sm text-gray-500"},(0,e.createElement)("input",{type:u,required:a,name:r,placeholder:s,id:r,value:n,onChange:e=>i(r,"items"==r?"[{}]":e.target.value),className:"flex-1 block col-span-2 w-full focus:ring-indigo-500 focus:border-indigo-500 min-w-0 rounded-none rounded-r-md sm:text-sm border-gray-300"})),(0,e.createElement)("td",{className:"whitespace-nowrap px-3 text-sm text-gray-500"}),(0,e.createElement)("td",{className:"whitespace-nowrap  py-6 pl-3 pr-4 text-right text-sm font-medium sm:pr-6"},(0,e.createElement)("button",{type:"button",onClick:e=>o(r),className:"ml-3 inline-flex items-center px-2.5 py-1.5 border border-transparent text-xs font-medium rounded shadow-sm text-white bg-brand-danger hover:bg-brand-danger-hover focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-brand-danger-focus"},"Delete"))):"")}function Wn(e,r){let[n,i]=(0,t.useState)(e),a=st(e);return at((()=>i(a.current)),[a,i,...r]),n}function Hn(e){var t;if(e.type)return e.type;let r=null!=(t=e.as)?t:"button";return"string"==typeof r&&"button"===r.toLowerCase()?"button":void 0}function Vn(e,r){let[n,i]=(0,t.useState)((()=>Hn(e)));return at((()=>{i(Hn(e))}),[e.type,e.as]),at((()=>{n||r.current&&r.current instanceof HTMLButtonElement&&!r.current.hasAttribute("type")&&i("button")}),[n,r]),n}var Jn=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(Jn||{});function Xn(e={},t=null,r=[]){for(let[n,i]of Object.entries(e))$n(r,Kn(t,n),i);return r}function Kn(e,t){return e?e+"["+t+"]":t}function $n(e,t,r){if(Array.isArray(r))for(let[n,i]of r.entries())$n(e,Kn(t,n.toString()),i);else r instanceof Date?e.push([t,r.toISOString()]):"boolean"==typeof r?e.push([t,r?"1":"0"]):"string"==typeof r?e.push([t,r]):"number"==typeof r?e.push([t,`${r}`]):null==r?e.push([t,""]):Xn(r,t,e)}function ei(e,r,n){let[i,a]=(0,t.useState)(n),u=void 0!==e,s=(0,t.useRef)(u),o=(0,t.useRef)(!1),l=(0,t.useRef)(!1);return!u||s.current||o.current?!u&&s.current&&!l.current&&(l.current=!0,s.current=u,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(o.current=!0,s.current=u,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[u?e:i,lt((e=>(u||a(e),null==r?void 0:r(e))))]}function ti(e){return[e.screenX,e.screenY]}var ri=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(ri||{}),ni=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(ni||{}),ii=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(ii||{}),ai=(e=>(e[e.OpenCombobox=0]="OpenCombobox",e[e.CloseCombobox=1]="CloseCombobox",e[e.GoToOption=2]="GoToOption",e[e.RegisterOption=3]="RegisterOption",e[e.UnregisterOption=4]="UnregisterOption",e[e.RegisterLabel=5]="RegisterLabel",e))(ai||{});function ui(e,t=(e=>e)){let r=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,n=Ir(t(e.options.slice()),(e=>e.dataRef.current.domRef.current)),i=r?n.indexOf(r):null;return-1===i&&(i=null),{options:n,activeOptionIndex:i}}let si={1(e){var t;return null!=(t=e.dataRef.current)&&t.disabled||1===e.comboboxState?e:{...e,activeOptionIndex:null,comboboxState:1}},0(e){var t;if(null!=(t=e.dataRef.current)&&t.disabled||0===e.comboboxState)return e;let r=e.activeOptionIndex;if(e.dataRef.current){let{isSelected:t}=e.dataRef.current,n=e.options.findIndex((e=>t(e.dataRef.current.value)));-1!==n&&(r=n)}return{...e,comboboxState:0,activeOptionIndex:r}},2(e,t){var r,n,i,a;if(null!=(r=e.dataRef.current)&&r.disabled||null!=(n=e.dataRef.current)&&n.optionsRef.current&&(null==(i=e.dataRef.current)||!i.optionsPropsRef.current.static)&&1===e.comboboxState)return e;let u=ui(e);if(null===u.activeOptionIndex){let e=u.options.findIndex((e=>!e.dataRef.current.disabled));-1!==e&&(u.activeOptionIndex=e)}let s=function(e,t){let r=t.resolveItems();if(r.length<=0)return null;let n=t.resolveActiveIndex(),i=null!=n?n:-1,a=(()=>{switch(e.focus){case 0:return r.findIndex((e=>!t.resolveDisabled(e)));case 1:{let e=r.slice().reverse().findIndex(((e,r,n)=>!(-1!==i&&n.length-r-1>=i||t.resolveDisabled(e))));return-1===e?e:r.length-1-e}case 2:return r.findIndex(((e,r)=>!(r<=i||t.resolveDisabled(e))));case 3:{let e=r.slice().reverse().findIndex((e=>!t.resolveDisabled(e)));return-1===e?e:r.length-1-e}case 4:return r.findIndex((r=>t.resolveId(r)===e.id));case 5:return null;default:!function(e){throw new Error("Unexpected object: "+e)}(e)}})();return-1===a?n:a}(t,{resolveItems:()=>u.options,resolveActiveIndex:()=>u.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...u,activeOptionIndex:s,activationTrigger:null!=(a=t.trigger)?a:1}},3:(e,t)=>{var r,n;let i={id:t.id,dataRef:t.dataRef},a=ui(e,(e=>[...e,i]));null===e.activeOptionIndex&&null!=(r=e.dataRef.current)&&r.isSelected(t.dataRef.current.value)&&(a.activeOptionIndex=a.options.indexOf(i));let u={...e,...a,activationTrigger:1};return null!=(n=e.dataRef.current)&&n.__demoMode&&void 0===e.dataRef.current.value&&(u.activeOptionIndex=0),u},4:(e,t)=>{let r=ui(e,(e=>{let r=e.findIndex((e=>e.id===t.id));return-1!==r&&e.splice(r,1),e}));return{...e,...r,activationTrigger:1}},5:(e,t)=>({...e,labelId:t.id})},oi=(0,t.createContext)(null);function li(e){let r=(0,t.useContext)(oi);if(null===r){let t=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,li),t}return r}oi.displayName="ComboboxActionsContext";let Li=(0,t.createContext)(null);function ci(e){let r=(0,t.useContext)(Li);if(null===r){let t=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ci),t}return r}function Mi(e,t){return _e(t.type,si,e,t)}Li.displayName="ComboboxDataContext";let ji=t.Fragment,di=qe.RenderStrategy|qe.Static,Ni=Ve((function(e,r){let{value:n,defaultValue:i,onChange:a,name:u,by:s=((e,t)=>e===t),disabled:o=!1,__demoMode:l=!1,nullable:L=!1,multiple:c=!1,...M}=e,[j=(c?[]:void 0),d]=ei(n,a,i),[N,m]=(0,t.useReducer)(Mi,{dataRef:(0,t.createRef)(),comboboxState:l?0:1,options:[],activeOptionIndex:null,activationTrigger:1,labelId:null}),y=(0,t.useRef)(!1),g=(0,t.useRef)({static:!1,hold:!1}),x=(0,t.useRef)(null),p=(0,t.useRef)(null),T=(0,t.useRef)(null),w=(0,t.useRef)(null),S=lt("string"==typeof s?(e,t)=>{let r=s;return(null==e?void 0:e[r])===(null==t?void 0:t[r])}:s),E=(0,t.useCallback)((e=>_e(D.mode,{1:()=>j.some((t=>S(t,e))),0:()=>S(j,e)})),[j]),D=(0,t.useMemo)((()=>({...N,optionsPropsRef:g,labelRef:x,inputRef:p,buttonRef:T,optionsRef:w,value:j,defaultValue:i,disabled:o,mode:c?1:0,get activeOptionIndex(){if(y.current&&null===N.activeOptionIndex&&N.options.length>0){let e=N.options.findIndex((e=>!e.dataRef.current.disabled));if(-1!==e)return e}return N.activeOptionIndex},compare:S,isSelected:E,nullable:L,__demoMode:l})),[j,i,o,c,L,l,N]),f=(0,t.useRef)(null!==D.activeOptionIndex?D.options[D.activeOptionIndex]:null);(0,t.useEffect)((()=>{let e=null!==D.activeOptionIndex?D.options[D.activeOptionIndex]:null;f.current!==e&&(f.current=e)})),at((()=>{N.dataRef.current=D}),[D]),an([D.buttonRef,D.inputRef,D.optionsRef],(()=>Y.closeCombobox()),0===D.comboboxState);let I=(0,t.useMemo)((()=>({open:0===D.comboboxState,disabled:o,activeIndex:D.activeOptionIndex,activeOption:null===D.activeOptionIndex?null:D.options[D.activeOptionIndex].dataRef.current.value,value:j})),[D,o,j]),h=lt((e=>{let t=D.options.find((t=>t.id===e));t&&A(t.dataRef.current.value)})),C=lt((()=>{if(null!==D.activeOptionIndex){let{dataRef:e,id:t}=D.options[D.activeOptionIndex];A(e.current.value),Y.goToOption(Jn.Specific,t)}})),z=lt((()=>{m({type:0}),y.current=!0})),O=lt((()=>{m({type:1}),y.current=!1})),b=lt(((e,t,r)=>(y.current=!1,e===Jn.Specific?m({type:2,focus:Jn.Specific,id:t,trigger:r}):m({type:2,focus:e,trigger:r})))),v=lt(((e,t)=>(m({type:3,id:e,dataRef:t}),()=>{var t;(null==(t=f.current)?void 0:t.id)===e&&(y.current=!0),m({type:4,id:e})}))),k=lt((e=>(m({type:5,id:e}),()=>m({type:5,id:null})))),A=lt((e=>_e(D.mode,{0:()=>null==d?void 0:d(e),1(){let t=D.value.slice(),r=t.findIndex((t=>S(t,e)));return-1===r?t.push(e):t.splice(r,1),null==d?void 0:d(t)}}))),Y=(0,t.useMemo)((()=>({onChange:A,registerOption:v,registerLabel:k,goToOption:b,closeCombobox:O,openCombobox:z,selectActiveOption:C,selectOption:h})),[]),U=null===r?{}:{ref:r},Q=(0,t.useRef)(null),G=yt();return(0,t.useEffect)((()=>{Q.current&&void 0!==i&&G.addEventListener(Q.current,"reset",(()=>{A(i)}))}),[Q,A]),t.createElement(oi.Provider,{value:Y},t.createElement(Li.Provider,{value:D},t.createElement(tt,{value:_e(D.comboboxState,{0:$e.Open,1:$e.Closed})},null!=u&&null!=j&&Xn({[u]:j}).map((([e,r],n)=>t.createElement(yr,{features:mr.Hidden,ref:0===n?e=>{var t;Q.current=null!=(t=null==e?void 0:e.closest("form"))?t:null}:void 0,...Je({key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,name:e,value:r})}))),Ze({ourProps:U,theirProps:M,slot:I,defaultTag:ji,name:"Combobox"}))))})),mi=Ve((function(e,r){var n;let i=ci("Combobox.Button"),a=li("Combobox.Button"),u=Mt(i.buttonRef,r),s=Nr(),{id:o=`headlessui-combobox-button-${s}`,...l}=e,L=yt(),c=lt((e=>{switch(e.key){case jr.ArrowDown:return e.preventDefault(),e.stopPropagation(),1===i.comboboxState&&a.openCombobox(),L.nextFrame((()=>{var e;return null==(e=i.inputRef.current)?void 0:e.focus({preventScroll:!0})}));case jr.ArrowUp:return e.preventDefault(),e.stopPropagation(),1===i.comboboxState&&(a.openCombobox(),L.nextFrame((()=>{i.value||a.goToOption(Jn.Last)}))),L.nextFrame((()=>{var e;return null==(e=i.inputRef.current)?void 0:e.focus({preventScroll:!0})}));case jr.Escape:return 0!==i.comboboxState?void 0:(e.preventDefault(),i.optionsRef.current&&!i.optionsPropsRef.current.static&&e.stopPropagation(),a.closeCombobox(),L.nextFrame((()=>{var e;return null==(e=i.inputRef.current)?void 0:e.focus({preventScroll:!0})})));default:return}})),M=lt((e=>{if(dr(e.currentTarget))return e.preventDefault();0===i.comboboxState?a.closeCombobox():(e.preventDefault(),a.openCombobox()),L.nextFrame((()=>{var e;return null==(e=i.inputRef.current)?void 0:e.focus({preventScroll:!0})}))})),j=Wn((()=>{if(i.labelId)return[i.labelId,o].join(" ")}),[i.labelId,o]),d=(0,t.useMemo)((()=>({open:0===i.comboboxState,disabled:i.disabled,value:i.value})),[i]);return Ze({ourProps:{ref:u,id:o,type:Vn(e,i.buttonRef),tabIndex:-1,"aria-haspopup":"listbox","aria-controls":null==(n=i.optionsRef.current)?void 0:n.id,"aria-expanded":i.disabled?void 0:0===i.comboboxState,"aria-labelledby":j,disabled:i.disabled,onClick:M,onKeyDown:c},theirProps:l,slot:d,defaultTag:"button",name:"Combobox.Button"})})),yi=Ve((function(e,r){var n,i,a,u;let s=Nr(),{id:o=`headlessui-combobox-input-${s}`,onChange:l,displayValue:L,type:c="text",...M}=e,j=ci("Combobox.Input"),d=li("Combobox.Input"),N=Mt(j.inputRef,r),m=(0,t.useRef)(!1),y=yt(),g=function(){var e;return"function"==typeof L&&void 0!==j.value?null!=(e=L(j.value))?e:"":"string"==typeof j.value?j.value:""}();br((([e,t],[r,n])=>{m.current||j.inputRef.current&&(0===n&&1===t||e!==r)&&(j.inputRef.current.value=e)}),[g,j.comboboxState]),br((([e],[t])=>{if(0===e&&1===t){let e=j.inputRef.current;if(!e)return;let t=e.value,{selectionStart:r,selectionEnd:n,selectionDirection:i}=e;e.value="",e.value=t,null!==i?e.setSelectionRange(r,n,i):e.setSelectionRange(r,n)}}),[j.comboboxState]);let x=(0,t.useRef)(!1),p=lt((()=>{x.current=!0})),T=lt((()=>{setTimeout((()=>{x.current=!1}))})),w=lt((e=>{switch(m.current=!0,e.key){case jr.Backspace:case jr.Delete:if(0!==j.mode||!j.nullable)return;let t=e.currentTarget;y.requestAnimationFrame((()=>{""===t.value&&(d.onChange(null),j.optionsRef.current&&(j.optionsRef.current.scrollTop=0),d.goToOption(Jn.Nothing))}));break;case jr.Enter:if(m.current=!1,0!==j.comboboxState||x.current)return;if(e.preventDefault(),e.stopPropagation(),null===j.activeOptionIndex)return void d.closeCombobox();d.selectActiveOption(),0===j.mode&&d.closeCombobox();break;case jr.ArrowDown:return m.current=!1,e.preventDefault(),e.stopPropagation(),_e(j.comboboxState,{0:()=>{d.goToOption(Jn.Next)},1:()=>{d.openCombobox()}});case jr.ArrowUp:return m.current=!1,e.preventDefault(),e.stopPropagation(),_e(j.comboboxState,{0:()=>{d.goToOption(Jn.Previous)},1:()=>{d.openCombobox(),y.nextFrame((()=>{j.value||d.goToOption(Jn.Last)}))}});case jr.Home:if(e.shiftKey)break;return m.current=!1,e.preventDefault(),e.stopPropagation(),d.goToOption(Jn.First);case jr.PageUp:return m.current=!1,e.preventDefault(),e.stopPropagation(),d.goToOption(Jn.First);case jr.End:if(e.shiftKey)break;return m.current=!1,e.preventDefault(),e.stopPropagation(),d.goToOption(Jn.Last);case jr.PageDown:return m.current=!1,e.preventDefault(),e.stopPropagation(),d.goToOption(Jn.Last);case jr.Escape:return m.current=!1,0!==j.comboboxState?void 0:(e.preventDefault(),j.optionsRef.current&&!j.optionsPropsRef.current.static&&e.stopPropagation(),d.closeCombobox());case jr.Tab:if(m.current=!1,0!==j.comboboxState)return;0===j.mode&&d.selectActiveOption(),d.closeCombobox()}})),S=lt((e=>{d.openCombobox(),null==l||l(e)})),E=lt((()=>{m.current=!1})),D=Wn((()=>{if(j.labelId)return[j.labelId].join(" ")}),[j.labelId]),f=(0,t.useMemo)((()=>({open:0===j.comboboxState,disabled:j.disabled})),[j]);return Ze({ourProps:{ref:N,id:o,role:"combobox",type:c,"aria-controls":null==(n=j.optionsRef.current)?void 0:n.id,"aria-expanded":j.disabled?void 0:0===j.comboboxState,"aria-activedescendant":null===j.activeOptionIndex||null==(i=j.options[j.activeOptionIndex])?void 0:i.id,"aria-labelledby":D,"aria-autocomplete":"list",defaultValue:null!=(u=null!=(a=e.defaultValue)?a:void 0!==j.defaultValue?null==L?void 0:L(j.defaultValue):null)?u:j.defaultValue,disabled:j.disabled,onCompositionStart:p,onCompositionEnd:T,onKeyDown:w,onChange:S,onBlur:E},theirProps:M,slot:f,defaultTag:"input",name:"Combobox.Input"})})),gi=Ve((function(e,r){let n=Nr(),{id:i=`headlessui-combobox-label-${n}`,...a}=e,u=ci("Combobox.Label"),s=li("Combobox.Label"),o=Mt(u.labelRef,r);at((()=>s.registerLabel(i)),[i]);let l=lt((()=>{var e;return null==(e=u.inputRef.current)?void 0:e.focus({preventScroll:!0})})),L=(0,t.useMemo)((()=>({open:0===u.comboboxState,disabled:u.disabled})),[u]);return Ze({ourProps:{ref:o,id:i,onClick:l},theirProps:a,slot:L,defaultTag:"label",name:"Combobox.Label"})})),xi=Ve((function(e,r){let n=Nr(),{id:i=`headlessui-combobox-options-${n}`,hold:a=!1,...u}=e,s=ci("Combobox.Options"),o=Mt(s.optionsRef,r),l=et(),L=null!==l?(l&$e.Open)===$e.Open:0===s.comboboxState;at((()=>{var t;s.optionsPropsRef.current.static=null!=(t=e.static)&&t}),[s.optionsPropsRef,e.static]),at((()=>{s.optionsPropsRef.current.hold=a}),[s.optionsPropsRef,a]),function({container:e,accept:r,walk:n,enabled:i=!0}){let a=(0,t.useRef)(r),u=(0,t.useRef)(n);(0,t.useEffect)((()=>{a.current=r,u.current=n}),[r,n]),at((()=>{if(!e||!i)return;let t=gr(e);if(!t)return;let r=a.current,n=u.current,s=Object.assign((e=>r(e)),{acceptNode:r}),o=t.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,s,!1);for(;o.nextNode();)n(o.currentNode)}),[e,i,a,u])}({container:s.optionsRef.current,enabled:0===s.comboboxState,accept:e=>"option"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let c=Wn((()=>{var e,t;return null!=(t=s.labelId)?t:null==(e=s.buttonRef.current)?void 0:e.id}),[s.labelId,s.buttonRef.current]),M=(0,t.useMemo)((()=>({open:0===s.comboboxState})),[s]);return Ze({ourProps:{"aria-labelledby":c,role:"listbox","aria-multiselectable":1===s.mode||void 0,id:i,ref:o},theirProps:u,slot:M,defaultTag:"ul",features:di,visible:L,name:"Combobox.Options"})})),pi=Ve((function(e,r){var n,i;let a=Nr(),{id:u=`headlessui-combobox-option-${a}`,disabled:s=!1,value:o,...l}=e,L=ci("Combobox.Option"),c=li("Combobox.Option"),M=null!==L.activeOptionIndex&&L.options[L.activeOptionIndex].id===u,j=L.isSelected(o),d=(0,t.useRef)(null),N=st({disabled:s,value:o,domRef:d,textValue:null==(i=null==(n=d.current)?void 0:n.textContent)?void 0:i.toLowerCase()}),m=Mt(r,d),y=lt((()=>c.selectOption(u)));at((()=>c.registerOption(u,N)),[N,u]);let g=(0,t.useRef)(!L.__demoMode);at((()=>{if(!L.__demoMode)return;let e=dt();return e.requestAnimationFrame((()=>{g.current=!0})),e.dispose}),[]),at((()=>{if(0!==L.comboboxState||!M||!g.current||0===L.activationTrigger)return;let e=dt();return e.requestAnimationFrame((()=>{var e,t;null==(t=null==(e=d.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})),e.dispose}),[d,M,L.comboboxState,L.activationTrigger,L.activeOptionIndex]);let x=lt((e=>{if(s)return e.preventDefault();y(),0===L.mode&&c.closeCombobox(),Nn()||/Android/gi.test(window.navigator.userAgent)||requestAnimationFrame((()=>{var e;return null==(e=L.inputRef.current)?void 0:e.focus()}))})),p=lt((()=>{if(s)return c.goToOption(Jn.Nothing);c.goToOption(Jn.Specific,u)})),T=function(){let e=(0,t.useRef)([-1,-1]);return{wasMoved(t){let r=ti(t);return(e.current[0]!==r[0]||e.current[1]!==r[1])&&(e.current=r,!0)},update(t){e.current=ti(t)}}}(),w=lt((e=>T.update(e))),S=lt((e=>{T.wasMoved(e)&&(s||M||c.goToOption(Jn.Specific,u,0))})),E=lt((e=>{T.wasMoved(e)&&(s||M&&(L.optionsPropsRef.current.hold||c.goToOption(Jn.Nothing)))})),D=(0,t.useMemo)((()=>({active:M,selected:j,disabled:s})),[M,j,s]);return Ze({ourProps:{id:u,ref:m,role:"option",tabIndex:!0===s?void 0:-1,"aria-disabled":!0===s||void 0,"aria-selected":j,disabled:void 0,onClick:x,onFocus:p,onPointerEnter:w,onMouseEnter:w,onPointerMove:S,onMouseMove:S,onPointerLeave:E,onMouseLeave:E},theirProps:l,slot:D,defaultTag:"li",name:"Combobox.Option"})})),Ti=Object.assign(Ni,{Input:yi,Button:mi,Label:gi,Options:xi,Option:pi});const wi=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{fillRule:"evenodd",d:"M10 3a1 1 0 01.707.293l3 3a1 1 0 01-1.414 1.414L10 5.414 7.707 7.707a1 1 0 01-1.414-1.414l3-3A1 1 0 0110 3zm-3.707 9.293a1 1 0 011.414 0L10 14.586l2.293-2.293a1 1 0 011.414 1.414l-3 3a1 1 0 01-1.414 0l-3-3a1 1 0 010-1.414z",clipRule:"evenodd"}))})),Si=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"}))}));function Ei(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(Boolean).join(" ")}function Di(){const r=(0,t.useContext)(Qn),n=Object.keys(r),{eventNameContext:i,setEventContext:a}=(0,t.useContext)(Yn),[u]=a,[s,o]=i,[l,L]=(0,t.useState)(""),c=""===l?n:n.filter((e=>e.toLowerCase().includes(l.toLowerCase())));return(0,t.useEffect)((()=>{s||(o("generate_lead"),u("generate_lead"))}),[]),(0,e.createElement)(Ti,{className:"sm:grid sm:grid-cols-3 sm:gap-4 sm:items-start",as:"fieldset",value:s,onChange:u},(0,e.createElement)(Ti.Label,{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Recommended Event"),(0,e.createElement)("div",{className:"relative mt-1 sm:mt-0 sm:col-span-2"},(0,e.createElement)("div",{className:"max-w-sm_ w-full flex rounded-md shadow-sm"},(0,e.createElement)(Ti.Input,{className:"w-full flex-1 block min-w-0 rounded-md border border-gray-300 bg-white py-2 pl-3 pr-10 shadow-sm focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 sm:text-sm",onChange:e=>L(e.target.value),displayValue:e=>e}),(0,e.createElement)(Ti.Button,{className:"absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none"},(0,e.createElement)(wi,{className:"h-5 w-5 text-gray-400","aria-hidden":"true"}))),c.length>0&&(0,e.createElement)(Ti.Options,{className:"absolute z-10 mt-1 max-h-60 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm"},c.map((t=>(0,e.createElement)(Ti.Option,{key:t,value:t,className:e=>{let{active:t}=e;return Ei("relative cursor-default select-none py-2 pl-3 pr-9",t?"bg-indigo-600 text-white":"text-gray-900")}},(r=>{let{active:n,selected:i}=r;return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("span",{className:Ei("block truncate",i&&"font-semibold")},t),i&&(0,e.createElement)("span",{className:Ei("absolute inset-y-0 right-0 flex items-center pr-4",n?"text-white":"text-indigo-600")},(0,e.createElement)(Si,{className:"h-5 w-5","aria-hidden":"true"})))})))))))}function fi(t){let{pKey:r,pValue:n,setProp:i,required:a,type:u,placeholder:s,deleteProp:o,deleteButton:l}=t;return(0,e.createElement)(e.Fragment,null,"items"!=r?(0,e.createElement)("fieldset",{className:"flex flex-1 w-full sm:grid sm:grid-cols-3 sm:gap-4 sm:items-start sm:border-t sm:border-gray-200 sm:pt-5"},(0,e.createElement)("label",{htmlFor:"selectorType",className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"+(1==a?" required":"")},r),(0,e.createElement)("input",{type:u,required:a,name:r,placeholder:s,id:r,value:n,onChange:e=>i(r,"items"==r?"[{}]":e.target.value),className:"flex-1 block col-span-2 w-full focus:ring-indigo-500 focus:border-indigo-500 min-w-0 rounded-none rounded-r-md sm:text-sm border-gray-300"})):"")}const Ii=()=>{const{selectorContext:t}=n().useContext(Yn),[r,i]=t;return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("fieldset",{className:"sm:grid sm:grid-cols-3 sm:gap-4 sm:items-start sm:border-t sm:border-gray-200 sm:pt-5"},(0,e.createElement)("label",{htmlFor:"selector",className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2 required"},"Class or ID Selector"),(0,e.createElement)("div",{className:"mt-1 sm:mt-0 sm:col-span-2"},(0,e.createElement)("div",{className:"w-full flex rounded-md shadow-sm"},(0,e.createElement)("input",{required:!0,type:"text",name:"selector",id:"selector",placeholder:"Full CSS selector (including . and #)",value:r||"",onChange:e=>i(e.target.value),className:"flex-1 block w-full focus:ring-indigo-500 focus:border-indigo-500 min-w-0 rounded-none rounded-r-md sm:text-sm border-gray-300"})))))},hi=t=>{let{currentCustomEvent:r,eventType:n,onClose:i,handleHelpClick:a}=t;return(0,e.createElement)("header",{className:"py-5 pl-10 pr-10 sticky top-0 shadow"},(0,e.createElement)("div",{className:"flex items-start justify-between"},(0,e.createElement)(kn.Title,{className:"text-2xl font-medium text-gray-900"},r?"Edit":"New"," ",n,(0,e.createElement)("button",{type:"button",onClick:a},(0,e.createElement)(_t(),{className:"h-6 w-6 ml-2 inline hover:text-brand-primary","aria-hidden":"true"}))),(0,e.createElement)("div",{className:"ml-3 flex h-7 items-center"},(0,e.createElement)("button",{type:"button",className:"rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-indigo-500",onClick:i},(0,e.createElement)("span",{className:"sr-only"},"Close panel"),(0,e.createElement)(kt,{className:"h-6 w-6","aria-hidden":"true"})))))},Ci=t=>{let{onCancel:r}=t;return(0,e.createElement)("footer",{className:"flex flex-shrink-0 justify-end px-4 py-4"},(0,e.createElement)("button",{type:"button",className:"rounded-md border border-gray-300 bg-white py-2 px-4 text-sm font-medium text-gray-700 shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2",onClick:r},"Cancel"),(0,e.createElement)("button",{type:"submit",form:"event-form",className:"ml-4 inline-flex justify-center rounded-md border border-transparent bg-indigo-600 py-2 px-4 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2"},"Save"))},zi=t=>{let{properties:r,isRecommended:n,recommendedEvents:i,eventName:a,setProp:u,deleteProp:s}=t;return(0,e.createElement)("div",{"data-component":"props-table",className:"flex flex-col bg-gray-50 rounded-50 mt-6 "},(0,e.createElement)("div",{"data-component":"props-list",className:"bg-gray-100 p-2 flex flex-col items-center rounded pb-4"},(0,e.createElement)("table",{className:"min-w-full table-fixed divide-y divide-gray-300"},(0,e.createElement)("thead",{className:"bg-gray-50"},(0,e.createElement)("tr",null,(0,e.createElement)("th",{scope:"col",className:"min-w-[12rem] py-3.5 pr-2 pl-4 text-left text-sm font-semibold text-gray-900"},"Property"),(0,e.createElement)("th",{scope:"col",className:"px-3 py-3.5 text-left text-sm font-semibold text-gray-900"},"Value"),(0,e.createElement)("th",{scope:"col",className:"px-3 py-3.5 text-left text-sm font-semibold text-gray-900"}),(0,e.createElement)("th",{scope:"col",className:"relative py-3.5 pl-3 pr-4 sm:pr-6"},(0,e.createElement)("span",{className:"sr-only"},"Edit")))),(0,e.createElement)("tbody",{className:"bg-white"},Object.entries(r).map((t=>{let[r,o]=t;return(0,e.createElement)(Zn,{key:r,pKey:r,pValue:o,setProp:u,required:n&&i&&i[a][r]?.required,type:n&&i?i[a][r]?.type:"text",placeholder:n&&i?i[a][r]?.placeholder:"",deleteProp:s,deleteButton:!0})})))),0===Object.keys(r).length&&(0,e.createElement)("div",{"data-component":"no-items-placeholder",className:"p-6 w-full flex-1 text-center items-center opacity-90 bg-gray-200 rounded my-4"},"No Items")))},Oi=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Custom Event Name"),(0,e.createElement)("span",{className:"block pt-5"},'In the "Custom Event Name" field, enter a descriptive label that reflects the action users take on your website, such as "download_ebook" or "play_video".',(0,e.createElement)("p",{className:"pt-2"},"This label becomes the event's name in Google Analytics GA4, allowing you to track and analyze these specific user interactions."),(0,e.createElement)("p",{className:"pt-2"},"Choose clear and consistent names to simplify your event tracking and reporting."))),bi=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Class or ID Selector"),(0,e.createElement)("span",{className:"block pt-5"},'In the "Class or ID Selector" field, enter the CSS selector that uniquely identifies the webpage element you wish to track, such as a button or link.',(0,e.createElement)("p",{className:"pt-2"},"Use a period (.) for a class or a hash (#) for an ID."),(0,e.createElement)("p",{className:"pt-2"},"For instance, to track clicks on a button with the ID 'purchase', input '#purchase' into this field."),(0,e.createElement)("p",{className:"pt-2"},"This CSS selector enables the plugin to monitor interactions with the specified element and report them as events to Google Analytics GA4.")),(0,e.createElement)("span",{className:"block pt-5 pb-5"},(0,e.createElement)("a",{className:"font-medium text-blue-600 dark:text-blue-500 hover:underline",target:"_blank",href:"https://www.wpgoaltracker.com/dtp7"},"Click here to learn more about how to set the Class or ID Selector."))),vi=i.p+"images/Placeholders.01211bf7.png",ki=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Additional Parameters"),(0,e.createElement)("span",{className:"block pt-5"},'The "Additional Properties" section allows you to add extra details to your event, which are sent as parameters with the event to GA4.',(0,e.createElement)("p",{className:"pt-2"},"Each property consists of a key and a value. The key is a simple label describing the data, like 'color' or 'level', while the value is the actual information, such as 'red' or 'hard'."),(0,e.createElement)("p",{className:"pt-2"},"These properties help you segment and analyze your event data more granularly in GA4. For instance, if you're tracking a 'video_play' event, additional properties could include 'video_name' as the key and the actual name of the video as the value."),(0,e.createElement)("p",{className:"pt-2"},"This level of detail can give you better insights into user behavior.")),(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Placeholders (Pro Feature)"),(0,e.createElement)("span",{className:"block pt-5"},'Goal Tracker for Google Analytics Pro allows you to use placeholders in the "Additional Properties" section.',(0,e.createElement)("p",{className:"pt-2"},"This feature is useful when you want to track dynamic data, such as the name of a product or the price of an item."),(0,e.createElement)("p",{className:"italic pt-2"},"If you worked with Liquid Templates this is very similar."),(0,e.createElement)("p",{className:"pt-2"},"Here are a few examples:")),(0,e.createElement)("img",{className:"pt-5",src:vi}),(0,e.createElement)("span",{className:"block pt-5 pb-5"},(0,e.createElement)("a",{className:"font-medium text-blue-600 dark:text-blue-500 hover:underline",target:"_blank",href:"https://www.wpgoaltracker.com/ciwr"},"Click here to learn more about Placeholders."))),Ai=()=>(0,e.createElement)("div",null,(0,e.createElement)(Oi,null),(0,e.createElement)(bi,null),(0,e.createElement)(ki,null)),Yi=i.p+"images/RecommendedEvent.3efd48cc.png",Ui=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Recommended Events"),(0,e.createElement)("span",{className:"block pt-5"},"Recommended events in GA4 are pre-configured event types that Google Analytics has identified as significant across a wide range of websites and apps.",(0,e.createElement)("p",{className:"pt-2"},"These include common interactions like 'login', 'search', or 'purchase', which many site owners are interested in tracking."),(0,e.createElement)("p",{className:"pt-2"},"By using these standardized events, even if you're not deeply familiar with analytics, you can benefit from Google's expertise in user behavior tracking."),(0,e.createElement)("p",{className:"pt-2"},"This helps ensure that you're collecting the right data in a format that GA4 can use to generate insightful reports, making it easier for you to understand and analyze your users' actions."),(0,e.createElement)("p",{className:"pt-2"},"Recommended events have pre-defined parameters that are sent to GA4. When you choose an recommended event, we will show you the parameters that are associated with that event.")),(0,e.createElement)("img",{className:"pt-5",src:Yi})),(0,e.createElement)(bi,null)),{apiFetch:Qi}=wp,Gi=r=>{let{eventType:n,currentCustomEvent:i,setCurrentCustomEvent:a,updateFunction:u,open:s,setOpen:o}=r;const l=(0,t.useContext)(Qn),{type:L}=(0,t.useContext)(Un),[c,M]=(0,t.useState)(!1),[j,d]=(0,t.useState)(""),[N,m]=(0,t.useState)(""),[y,g]=(0,t.useState)(""),[x,p]=(0,t.useState)(""),[T,w]=(0,t.useState)(""),[S,E]=(0,t.useState)(""),[D,f]=(0,t.useState)({}),[I,h]=(0,t.useState)(!1),[C,z]=(0,t.useState)(!1),{open:O,setOpenHelpSlider:b,setTitleHelpSlider:v,setComponent:k}=Rt();var A;const[Y,U]=(0,t.useState)(!1),[Q,G]=(0,t.useState)(!1),[P,R]=(0,t.useState)(!1),[F,_]=(0,t.useState)(!1);(0,t.useEffect)((()=>{i&&Object.keys(i).length>0?(d(i.selector),p(i.eventName),f(i.props),h(i.isRecommended),z(!!(i.props&&Object.keys(i.props).length>=25)),A=l[i.eventName]):(d(""),p(""),w(""),E(""),f({}),"Recommended Event"===n&&h(1))}),[s]);const q=(e,t)=>{let r={...D};r[e]=t,f(r)};return(0,e.createElement)(Yn.Provider,{value:{eventNameContext:[x,p],customEventNameContext:[N,m],setEventContext:[e=>{A=l[e];const t=[];null!=A&&Object.keys(A).forEach((function(e){t[e]=""})),h(!!A),p(e),f(t)}],selectorContext:[j,d],eventTypeContext:[n,n]}},(0,e.createElement)(An.Provider,{value:{openItemsForm:c,setOpenItemsForm:M}},(0,e.createElement)(t.Fragment,null,(0,e.createElement)(bt.Root,{show:s,as:t.Fragment},(0,e.createElement)(kn,{as:"div",className:"relative z-[999999]",onClose:o},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"ease-in-out duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-gray-500/75 backdrop-blur-sm transition-opacity"})),(0,e.createElement)("div",{className:"fixed inset-0"}),(0,e.createElement)("div",{className:"fixed inset-0 overflow-hidden"},(0,e.createElement)("div",{className:"absolute inset-0 overflow-hidden"},(0,e.createElement)("div",{className:`pointer-events-none fixed inset-y-0 right-0 flex ${c||O?"w-2/3":"w-1/2"} min-w-[750px] pl-10 transform transition-all ease-in-out duration-500 sm:duration-700`},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"transform transition ease-in-out duration-500 sm:duration-700",enterFrom:"translate-x-full",enterTo:"translate-x-0",leave:"transform transition ease-in-out duration-500 sm:duration-700",leaveFrom:"translate-x-0",leaveTo:"translate-x-full"},(0,e.createElement)(kn.Panel,{className:"pointer-events-auto flex-1"},(0,e.createElement)("form",{id:"event-form",onSubmit:async function(e){if(e.preventDefault(),"event-form"!==e.target.id)return;U(!0);const t={type:L,selector:j,eventName:x,props:D,isRecommended:I};let r=wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/set_event";i&&(r+="?ID="+i.id);let n=await Qi({path:r,method:"POST",data:{type:L,config:t}});Object.keys(n).length>=3?(R(!1),U(!1),_(!1)):(U(!1),R(!0),_(!0)),G(!0),u(),a({}),o(!1)},className:"flex h-full flex-col divide-y divide-gray-200 bg-white shadow-xl"},(0,e.createElement)("div",{"data-component":"form-wrapper",className:"flex min-h-0 flex-1 flex-col "},(0,e.createElement)(hi,{currentCustomEvent:i,eventType:n,onClose:()=>o(!1),handleHelpClick:()=>{v(n+" Help"),k("Recommended Event"===n?Ui:Ai),b(!0)}}),(0,e.createElement)("div",{"data-component":"main-form",className:"overflow-y-scroll bg-gray-100 p-10 flex-1"},(0,e.createElement)("div",{className:"bg-white w-full p-10 rounded-md"},(0,e.createElement)("div",{className:"p-10 min-h-[410px]"},(0,e.createElement)("div",{"data-component":"fieldset-wrapper",className:"mt-6 sm:mt-5 space-y-6 sm:space-y-5"},"Recommended Event"===n?(0,e.createElement)(Di,null):(0,e.createElement)("div",{className:""},(0,e.createElement)("fieldset",{className:"sm:grid sm:grid-cols-3 sm:gap-4 sm:items-start"},(0,e.createElement)("label",{htmlFor:"selector",className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2 required"},"Custom Event Name"),(0,e.createElement)("div",{className:"mt-1 sm:mt-0 sm:col-span-2"},(0,e.createElement)("div",{className:"w-full flex rounded-md shadow-sm"},(0,e.createElement)("input",{required:!0,type:"text",name:"customEvent",id:"customEvent",placeholder:"custom_event_name  ",maxLength:"40",value:x||"",onChange:e=>p(e.target.value),className:"flex-1 block w-full focus:ring-indigo-500 focus:border-indigo-500 min-w-0 rounded-none rounded-r-md sm:text-sm border-gray-300"}))))),(0,e.createElement)(Ii,null)),"Custom Event"===n||"Recommended Event"===n&&x?(0,e.createElement)(t.Fragment,null,"Recommended Event"===n?(0,e.createElement)("div",{"data-component":"fieldset-wrapper",className:"mt-6 sm:mt-20 space-y-6 sm:space-y-5"},(0,e.createElement)("h3",{className:"text-sm leading-6 font-medium text-gray-600 mt-10 border-b border-gray-200 pb-2 uppercase"},(0,e.createElement)("span",{className:"text-gray-600"})," ","Event"," ",(0,e.createElement)("span",{className:"text-gray-600 text-sm uppercase "},"Properties:")),(0,e.createElement)(t.Fragment,null,Object.entries(D).map((t=>{let[r,n]=t;return(0,e.createElement)(fi,{key:r,pKey:r,pValue:n,setProp:q,required:!!I&&l[x][r].required,type:I?l[x][r].type:"text",placeholder:I?l[x][r].placeholder:""})})),D&&"items"in D?(0,e.createElement)(Bn,{eventName:x,eventItems:D.items,updateFunction:e=>{let t={...D};t.items=e,f(t)}}):"")):D&&(0,e.createElement)(t.Fragment,null,(0,e.createElement)("div",{className:"mt-2 sm:mt-5 space-y-6 sm:space-y-5",style:{display:I?"none":"block"}},(0,e.createElement)("div",{className:"sm:grid sm:grid-cols-3 sm:gap-4 sm:items-start sm:border-t sm:border-gray-200 sm:pt-5"},(0,e.createElement)("label",{htmlFor:"selectorType",className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Additional Properties"),(0,e.createElement)("input",{type:"text",name:"dkey",placeholder:"Key",maxLength:"40",id:"dkey",value:T,onChange:e=>w(e.target.value),disabled:C,className:"flex-1 block w-full focus:ring-indigo-500 focus:border-indigo-500 min-w-0 rounded-none rounded-r-md sm:text-sm border-gray-300"}),(0,e.createElement)("input",{type:"text",name:"dvalue",placeholder:"Value",id:"dvalue",maxLength:"100",value:S,onChange:e=>E(e.target.value),disabled:C,className:"flex-1 block w-full focus:ring-indigo-500 focus:border-indigo-500 min-w-0 rounded-none rounded-r-md sm:text-sm border-gray-300"}),(0,e.createElement)("div",{className:"flex w-full justify-end items-end col-end-4"},(0,e.createElement)("button",{type:"button",onClick:()=>{let e={...D};e[T]=S,Object.keys(e).length>=25&&z(!0),f(e)},disabled:C,className:"inline-flex items-center center w-28 px-4 py-1.5 border border-transparent text-xs font-medium rounded text-white bg-brand-primary hover:bg-brand-primary-hover focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-brand-primary-focus"},"Add Property")))),(0,e.createElement)("div",{"data-component":"props-table",className:"flex flex-col bg-gray-50 rounded-50 mt-6 "},(0,e.createElement)(zi,{properties:D,isRecommended:I,recommendedEvents:l,eventName:x,setProp:q,deleteProp:e=>{let t={...D};delete t[e],Object.keys(t).length<25&&z(!1),f(t)}})))):"")))),(0,e.createElement)(Ci,{onCancel:()=>o(!1)})))),!1))))))))},Pi=r=>{let{open:n,toggleDeleteModal:i,customEvent:a,customEventId:u,deleteEvent:s,updateFunction:o}=r;return(0,e.createElement)(bt.Root,{show:n,as:t.Fragment},(0,e.createElement)(kn,{as:"div",className:"relative z-10",onClose:i},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"})),(0,e.createElement)("div",{className:"fixed z-10 inset-0 overflow-y-auto"},(0,e.createElement)("div",{className:"flex items-end sm:items-center justify-center min-h-full p-4 text-center sm:p-0"},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},(0,e.createElement)(kn.Panel,{className:"relative bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:max-w-lg sm:w-full sm:p-6"},(0,e.createElement)("div",{className:"sm:flex sm:items-start"},(0,e.createElement)("div",{className:"mx-auto flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-red-100 sm:mx-0 sm:h-10 sm:w-10"}),(0,e.createElement)("div",{className:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"},(0,e.createElement)(kn.Title,{as:"h3",className:"text-lg leading-6 font-medium text-gray-900"},"Delete Custom Event"),(0,e.createElement)("div",{className:"mt-2"},(0,e.createElement)("p",{className:"text-sm text-gray-500"},"Are you sure you want to delete the"," ",(0,e.createElement)("span",{className:"strong"},a)," ","customEvent?")))),(0,e.createElement)("div",{className:"mt-5 sm:mt-4 sm:flex sm:flex-row-reverse"},(0,e.createElement)("button",{type:"button",className:"w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-red-600 text-base font-medium text-white hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500 focus:ring-red-500 sm:ml-3 sm:w-auto sm:text-sm",onClick:function(){s(u),o(),i()}},"Delete"),(0,e.createElement)("button",{type:"button",className:"mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:w-auto sm:text-sm",onClick:i},"Cancel"))))))))},Ri=t=>{let{pKey:r,pValue:n,del:i}=t;return(0,e.createElement)("div",{"data-component":"tag",className:"mr-3 mb-2 whitespace-nowrap flex",key:r},(0,e.createElement)("span",{className:" items-center px-3 py-0.5 rounded-l-lg text-sm font-medium bg-gray-200 text-gray-600"},r),(0,e.createElement)("span",{className:"items-center px-3 py-0.5 rounded-r-lg text-sm font-medium bg-gray-400 text-white truncate max-w-[10ch] text-ellipsis"},n))},Fi=()=>(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Need Help with Click Tracking?"),(0,e.createElement)("span",{className:"block pt-5 pb-5"},"Our Click Tracking feature allows you to easily monitor clicks on buttons, links, and other elements on your WordPress site. Check out this brief guide and the accompanying video tutorial for a clear, step-by-step explanation on setting up and using Click Tracking to enhance your Google Analytics insights."),(0,e.createElement)("div",null,(0,e.createElement)("iframe",{width:"576",height:"360",src:"https://www.youtube.com/embed/lpG4VNVpemo",title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0}))),_i=()=>(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Need Help with Visibility Tracking?"),(0,e.createElement)("span",{className:"block pt-5 pb-5"},"Our Visibility Tracking feature enables you to effectively track when specific elements, such as ads, banners, or forms, come into view for your site visitors. Consult this concise guide and the accompanying video tutorial for a comprehensive, step-by-step breakdown on configuring and utilizing Visibility Tracking to improve your Google Analytics data."),(0,e.createElement)("div",null,(0,e.createElement)("iframe",{width:"576",height:"360",src:"https://www.youtube.com/embed/9nhR6W5w060",title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0})));function qi(r){let{type:n,customEvents:i,deleteEvent:a,updateFunction:u}=r;const[s,l]=(0,t.useState)(!1),[L,c]=(0,t.useState)(!1),[M,j]=(0,t.useState)([]),[d,N]=(0,t.useState)(!1),[m,y]=(0,t.useState)(!1),[g,x]=(0,t.useState)(!1),[p,T]=(0,t.useState)(),[w,S]=(0,t.useState)(),{setOpenHelpSlider:E,setTitleHelpSlider:D,setComponent:f}=Rt();return(0,t.useLayoutEffect)((()=>{M.length>0&&(M.length,i.length)}),[M]),(0,e.createElement)(Un.Provider,{value:{type:n}},(0,e.createElement)(Qn.Provider,{value:cr},(0,e.createElement)("div",{"data-component":"EventsTable",className:o()("pb-6","bg-white/50","shadow-xl")},(0,e.createElement)(Gi,{eventType:"Recommended Event",currentCustomEvent:w,setCurrentCustomEvent:S,updateFunction:u,open:m,setOpen:y}),(0,e.createElement)(Gi,{eventType:"Custom Event",currentCustomEvent:p,setCurrentCustomEvent:T,updateFunction:u,open:d,setOpen:function(){N(!d)}}),(0,e.createElement)(tr,{setAddCustomEventForm:N,setAddRecommendedEventForm:y}),(0,e.createElement)("div",{className:"mt-8 flex flex-col px-4 lg:px-6"},(0,e.createElement)("div",{className:"-my-2 -mx-4 overflow-x-auto sm:-mx-6 lg:-mx-8"},(0,e.createElement)("div",{className:o()("inline-block min-w-full ","align-middle","py-2 px-4 lg:px-6")},(0,e.createElement)("div",{className:"relative overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg"},(0,e.createElement)("table",{className:"w-full table-fixed divide-y divide-gray-300"},(0,e.createElement)("thead",{className:"bg-white/75"},(0,e.createElement)("tr",null,(0,e.createElement)("th",{scope:"col",className:"min-w-[12rem] py-3.5 pr-3 pl-4 text-left text-sm font-semibold text-gray-900"},"Custom Event Name"),(0,e.createElement)("th",{scope:"col",className:"w-[10rem] relative py-3.5 pl-3 pr-4 sm:pr-6"},(0,e.createElement)("span",{className:"sr-only"},"Edit")))),(0,e.createElement)("tbody",{className:" bg-white w-full"},0==i.length&&!d&&(0,e.createElement)("tr",null,(0,e.createElement)("td",{colSpan:5,className:"w-full"},(0,e.createElement)(Lr,{type:n,setOpenHelpSlider:()=>{const e=`Tracking your first ${n} event`;let t;switch(n){case"click":t=Fi;break;case"visibility":t=_i;break;default:return void console.error(`Unknown tracking type: ${n}`)}D(e),f(t),E(!0)}}))),i.map(((r,n)=>(0,e.createElement)(t.Fragment,{key:n},(0,e.createElement)("tr",{className:o()(M.includes(r)?"bg-gray-50":void 0,"border-b border-gray-400")},(0,e.createElement)("td",{className:o()("px-4 text-base font-medium","py-1","pt-2",M.includes(r)?"text-gtIndigo-600":"text-gray-900")},(0,e.createElement)("div",null,(0,e.createElement)("span",{className:"text-xs text-gray-400 mr-2 uppercase"},"Event Name"),r.eventName),(0,e.createElement)("div",{className:"text-sm text-gray-600 my-2"},(0,e.createElement)("span",{className:"text-xs text-gray-400 mr-2 uppercase"},"Selector"),r.selector),(0,e.createElement)("div",{className:"text-xs text-gray-400 mr-2 mt-4 uppercase"},"Event Properties"),(0,e.createElement)("div",{className:"flex flex-start w-full items-center content-between py-4 flex-wrap"},r.props&&Object.entries(r.props).filter((e=>{let[t,r]=e;return"items"!==t})).map((t=>{let[r,n]=t;return n?(0,e.createElement)(Ri,{key:r,pKey:r,pValue:n,del:""}):""})))),(0,e.createElement)("td",{className:"bg-slate-50/75 py-6 px-2 text-right text-sm font-medium sm:px-4 w-[16rem]"},(0,e.createElement)("div",{className:"flex items-center flex-wrap space-x-1"},(0,e.createElement)("button",{type:"button",onClick:e=>function(e,t){e.preventDefault();let r={...t};r.edit=!0,r.isRecommended?(S({...r}),y(!0)):(T({...r}),N(!0))}(e,r),className:o()("flex-1","hover:shadow-xl flex items-center","px-2.5 py-1.5 border border-transparent","text-xs font-medium rounded shadow-sm","focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-brand-primary-focus","text-white","bg-brand-primary hover:bg-brand-600")},(0,e.createElement)(ur,{className:"h-4 w-4 mr-1","aria-hidden":"true"}),(0,e.createElement)("div",{className:"flex-1"},"Edit")),(0,e.createElement)("button",{type:"button",onClick:e=>function(e,t){e.preventDefault(),T(t),x(!0)}(e,r),className:o()("hover:shadow-xl flex items-center","px-2.5 py-1.5 border border-transparent","text-xs font-medium rounded shadow-sm","focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-brand-primary-focus","text-white","bg-brand-danger hover:bg-brand-danger-hover")},(0,e.createElement)(sr,{className:"h-4 w-4 mx-1","aria-hidden":"true"}),(0,e.createElement)("div",{className:"flex-1 sr-only"},"Delete")))))))))),g&&p&&(0,e.createElement)(Pi,{open:g,toggleDeleteModal:function(){x(!g)},customEvent:p.eventName,customEventId:p.id,deleteEvent:a,updateFunction:u}))))))))}const{useEffect:Bi,useRef:Zi}=wp.element,Wi=(e,t)=>{const r=Zi(!0);Bi((()=>{if(!r.current)return e();r.current=!1}),t)},Hi=e=>Bi((()=>e),[]),{apiFetch:Vi}=wp,{isEqual:Ji}=lodash,Xi=()=>{const[r,n]=(0,t.useState)([{eventName:"",selector:""}]),{showPromo:i,setShowPromo:a}=ir(),[u,s]=(0,t.useState)(!1),[o,l]=(0,t.useState)(!1),[L,c]=(0,t.useState)(!1),[M,j]=(0,t.useState)(!1),d=async()=>{let e=await async function(){return await Vi({path:wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/get_events?type=click"})}();e.length>=2?a(!0):a(!1),n(e)};return(0,t.useEffect)((()=>{d()}),[]),Wi((()=>{})),Hi((()=>{})),(0,e.createElement)(qi,{key:r.selector,type:"click",customEvents:r,deleteEvent:async function(e){let t=await Vi({path:wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/delete_event?id="+e,method:"DELETE"});return d(),t},updateFunction:d})},{apiFetch:Ki}=wp,{isEqual:$i}=lodash,ea=()=>{const[r,n]=(0,t.useState)([{eventName:"",selector:""}]),{showPromo:i,setShowPromo:a}=ir(),[u,s]=(0,t.useState)(!1),[o,l]=(0,t.useState)(!1),[L,c]=(0,t.useState)(!1),[M,j]=(0,t.useState)(!1),d=async()=>{let e=await async function(){return await Ki({path:wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/get_events?type=visibility"})}();e.length>=2?a(!0):a(!1),n(e)};return(0,t.useEffect)((()=>{d()}),[]),Wi((()=>{})),Hi((()=>{})),(0,e.createElement)(e.Fragment,null,(0,e.createElement)(qi,{key:r.selector,type:"visibility",customEvents:r,deleteEvent:async function(e){return await Ki({path:wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/delete_event?id="+e,method:"DELETE"})},updateFunction:d}))};function ta(){return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(me,null,(0,e.createElement)(de,{index:!0,element:(0,e.createElement)(Xi,null)}),(0,e.createElement)(de,{path:"click-tracking",element:(0,e.createElement)(Xi,null)}),(0,e.createElement)(de,{path:"visibility-tracking",element:(0,e.createElement)(ea,null)})))}function ra(){return(0,e.createElement)("article",{className:o()("flex flex-col flex-1 justify-end w-full","relative","rounded-2xl p-6 lg:p-8","sm:flex sm:items-end","lg:items-end","shadow-xl hover:shadow-2xl","bg-slate-800")},(0,e.createElement)("header",{className:"text-start text-3xl font-bold tracking-tight text-white w-full"},(0,e.createElement)("img",{className:o()("object-cover w-28 h-auto mr-2"),src:Zt}),"Track Video & Audio"),(0,e.createElement)("div",{className:"flex-1 w-full justify-self-end mt-4 xl:mt-20 mb-8"},(0,e.createElement)("p",{className:"text-xl font-semibold tracking-tight text-white"},"Are your videos performing well?"),(0,e.createElement)("div",{className:"mt-2 text-base leading-7"},(0,e.createElement)("div",{className:"text-lg text-gray-300"},"Most people underestimate how long it actually takes to create a good video (or a podcast).",(0,e.createElement)("p",{className:"mt-4 text-lg text-gray-300"},"First, there’s the script. Then you have to set up all the gear just right and then all the takes when recording. But that’s even before you start editing the video. ",(0,e.createElement)("br",null),"(or maybe you spent a lot of money having someone else make the video)"),(0,e.createElement)("p",{className:"mt-4 text-lg text-gray-300"},"But are the videos on your website delivering?"," "),(0,e.createElement)("p",{className:"mt-4 text-lg text-gray-300"},"Wouldn’t it be great to see how many people became leads or made a purchase after watching a video?"," "),(0,e.createElement)("p",{className:"mt-4 text-lg text-gray-300"},"Here’s how Goal Tracker Pro can help you:"," ")),(0,e.createElement)("ul",{className:"px-2 space-y-2 divide-y divide-white/10 my-4  text-gray-300"},(0,e.createElement)("li",null,"Track all of your embedded ",(0,e.createElement)("b",{className:"text-white"},"YouTube")," ","videos"),(0,e.createElement)("li",null,"Track all of your ",(0,e.createElement)("b",{className:"text-white"},"Vimeo")," videos"),(0,e.createElement)("li",null,"Track ",(0,e.createElement)("b",{className:"text-white"},"self hosted videos")," (uploaded videos)"),(0,e.createElement)("li",null,"Track self hosted ",(0,e.createElement)("b",{className:"text-white"},"Audio")," (Your music/samples/podcast recordings)")),(0,e.createElement)("div",{className:"mt-2 text-lg text-gray-300"},"Goal Tracker Pro will tell you:"),(0,e.createElement)("ul",{className:"px-2 space-y-2 divide-y divide-white/10 my-4  text-gray-300"},(0,e.createElement)("li",null,"How many people played the video"),(0,e.createElement)("li",null,"Video progress"),(0,e.createElement)("li",null,"How many people finished watching the video")))),(0,e.createElement)("footer",{className:"flex items-center"},(0,e.createElement)("a",{href:wpGoalTrackerGa.upgradeUrl,type:"button",className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent ","bg-white text-brand-primary","px-4 py-2","text-sm font-medium","shadow hover:shadow-xl","transform active:scale-75 hover:scale-110 transition-transform","hover:ring-2 hover:ring-white hover:ring-offset-2","focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2")},(0,e.createElement)("span",{className:"mx-2"},"I want to track my videos"),(0,e.createElement)(Qe,{className:"h-5 w-5","aria-hidden":"true"}))))}function na(){return(0,e.createElement)("article",{className:o()("flex flex-col flex-1 justify-end w-full","relative","rounded-2xl p-6 lg:p-8","sm:flex sm:items-end","lg:items-end","shadow-xl hover:shadow-2xl","bg-indigo-700")},(0,e.createElement)("header",{className:"text-start text-3xl font-bold tracking-tight text-white w-full"},(0,e.createElement)("img",{className:o()("object-cover w-28 h-auto mr-2"),src:Zt}),"Smart Placeholders"),(0,e.createElement)("div",{className:"flex-1 w-full justify-self-end mt-4 xl:mt-20 mb-8"},(0,e.createElement)("p",{className:"text-xl font-semibold tracking-tight text-white"},"Become a GA Power User"),(0,e.createElement)("div",{className:"mt-2 text-base leading-7"},(0,e.createElement)("div",{className:"text-lg text-gray-300"},"One of the biggest hassles in Google Analytics is getting the data into events.",(0,e.createElement)("p",{className:"mt-4 text-lg text-gray-300"},"In GTM, this means working with endless variables. Or writing JavaScript code to make the data available in the first place."),(0,e.createElement)("p",{className:"mt-4 text-lg text-gray-300"},"But we are WordPress users. We want this to be simple."),(0,e.createElement)("p",{className:"mt-4 text-lg text-gray-300"},"So we created the Placeholders feature in Goal Tracker Pro."),(0,e.createElement)("p",{className:"mt-4 text-lg text-gray-300"},(0,e.createElement)("i",null,"(If you’ve worked with email marketing software - think mail merge or liquid templates)")),(0,e.createElement)("p",{className:"mt-4 text-lg text-gray-300"},"Placeholders allow you to add data from the element, page, or session to the event. Here are a few examples:")),(0,e.createElement)("ul",{className:"px-2 space-y-2 divide-y divide-white/10 my-4  text-gray-300"},(0,e.createElement)("li",null,"Page Author"),(0,e.createElement)("li",null,"Post Category"),(0,e.createElement)("li",null,"Value Attribute"),(0,e.createElement)("li",null,"Referrer"),(0,e.createElement)("li",null,"Text"),(0,e.createElement)("li",null,"User Role"),(0,e.createElement)("li",null,"Data Attributes")),(0,e.createElement)("div",{className:"mt-2 text-lg text-gray-300"},"This is a real game changer for power users who work with a lot of events."))),(0,e.createElement)("footer",{className:"flex items-center"},(0,e.createElement)("a",{href:wpGoalTrackerGa.upgradeUrl,type:"button",className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent ","bg-white text-brand-primary","px-4 py-2","text-sm font-medium","shadow hover:shadow-xl","transform active:scale-75 hover:scale-110 transition-transform","hover:ring-2 hover:ring-white hover:ring-offset-2","focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2")},(0,e.createElement)("span",{className:"mx-2"},"Unlock Placeholders"),(0,e.createElement)(Qe,{className:"h-5 w-5","aria-hidden":"true"}))))}const ia=()=>{const[r,n]=(0,t.useState)(!1);return(0,t.useEffect)((()=>{document.querySelector(".toplevel_page_wpcf7")&&n(!0)}),[]),(0,e.createElement)("div",{"data-component":"ProPromo",className:""},(0,e.createElement)("header",{className:"px-6 pt-6 pb-4 rounded-b-xl bg-white"},(0,e.createElement)("aside",{className:o()("flex flex-col flex-1 justify-end w-full","justify-between","rounded-2xl","p-8","lg:max-w-none","lg:flex-none lg:flex-col lg:items-start w-full","bg-white")},(0,e.createElement)("div",null,(0,e.createElement)("span",{"data-component":"tag",className:o()("bg-slate-500","text-white","text-xs px-2 py-1","rounded uppercase")},"PRO")),(0,e.createElement)("div",null,(0,e.createElement)("p",{className:"text-6xl font-semibold tracking-tight text-gray-900"},"Track More"),(0,e.createElement)("p",{className:"mt-2 text-6xl text-gray-600"},"Get More")),(0,e.createElement)("p",{className:"text-base mt-2"},"Upgrade to Goal Tracker Pro to unlock more features and become a Google Analytics power user.",(0,e.createElement)("a",{href:wpGoalTrackerGa.upgradeUrl,type:"button",className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent ","bg-brand-primary text-white","px-4 py-2","text-sm font-medium","shadow hover:shadow-xl","transform active:scale-75 hover:scale-110 transition-transform","hover:ring-2 hover:ring-white hover:ring-offset-2","focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2","ml-4")},(0,e.createElement)("span",{className:"mx-2"},"Go Pro"),(0,e.createElement)(Qe,{className:"h-5 w-5","aria-hidden":"true"}))))),(0,e.createElement)("div",{className:o()("p-10","mx-auto mt-16","flex flex-col xl:flex-row gap-4 xl:gap-6 2xl:gap-8","lg:mx-0 lg:mt-10 lg:max-w-none lg:flex-row lg:items-end")},(0,e.createElement)(ra,null),(0,e.createElement)(na,null),r?(0,e.createElement)("article",{className:o()("flex flex-col flex-1 justify-end w-full","relative","rounded-2xl p-6 lg:p-8","sm:flex sm:items-end","lg:items-end","shadow-xl hover:shadow-2xl","bg-brand-900")},(0,e.createElement)("header",{className:"text-start text-3xl font-bold tracking-tight text-white w-full"},(0,e.createElement)("img",{className:o()("object-cover w-28 h-auto mr-2"),src:Wt}),"Contact Form 7"),(0,e.createElement)("div",{className:"flex-1 w-full justify-self-end mt-4 xl:mt-32 mb-8"},(0,e.createElement)("p",{className:"text-xl font-semibold tracking-tight text-white"},"Track your Contact Form 7 Submissions"," "),(0,e.createElement)("p",{className:"mt-2 text-base leading-7 text-white/70"},(0,e.createElement)("div",{className:"text-lg text-gray-300"},"In Goal Tracker for Google Analytics Pro we integrated with the Contact Form 7 plugin:"),(0,e.createElement)("ul",{className:"px-2 space-y-2 divide-y divide-white/10 my-4  text-gray-300"},(0,e.createElement)("li",null,"Track form submission conversions in Google Analytics."),(0,e.createElement)("li",null,"The plugin can track successful conversions and filter out non relevant clicks."),(0,e.createElement)("li",null,"Optimize your forms - Track form validation issues."),(0,e.createElement)("li",null,"Clean statistics - Get statistics on spam submissions."),(0,e.createElement)("li",null,"Track failed email attempts.")),(0,e.createElement)("div",{className:"text-white"},"Upgrade now to elevate your analytics experience with Contact Form 7 form tracking in Goal Tracker Pro!"))),(0,e.createElement)("footer",{className:"flex items-center"},(0,e.createElement)("a",{href:wpGoalTrackerGa.upgradeUrl,type:"button",className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent ","bg-white text-brand-primary","px-4 py-2","text-sm font-medium","shadow hover:shadow-xl","transform active:scale-75 hover:scale-110 transition-transform","hover:ring-2 hover:ring-white hover:ring-offset-2","focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2")},(0,e.createElement)("span",{className:"mx-2"},"Get Pro Features"),(0,e.createElement)(Qe,{className:"h-5 w-5","aria-hidden":"true"})))):(0,e.createElement)("article",{className:o()("flex flex-col flex-1 justify-end w-full","relative","rounded-2xl p-6 lg:p-8","sm:flex sm:items-end","lg:items-end","shadow-xl hover:shadow-2xl","bg-brand-900")},(0,e.createElement)("header",{className:"text-start text-3xl font-bold tracking-tight text-white w-full"},(0,e.createElement)("img",{className:o()("object-cover w-28 h-auto mr-2"),src:Bt}),"User Tracking"),(0,e.createElement)("div",{className:"flex-1 w-full justify-self-end mt-4 xl:mt-32 mb-8"},(0,e.createElement)("p",{className:"text-xl font-semibold tracking-tight text-white"},"Introducing User Tracking for a Deeper Understanding of Your Audience"),(0,e.createElement)("p",{className:"mt-2 text-base leading-7 text-white/70"},(0,e.createElement)("div",{className:"text-lg text-gray-300"},"Upgrade to Goal Tracker Pro and harness the power of User Tracking:"),(0,e.createElement)("ul",{className:"px-2 space-y-2 divide-y divide-white/10 my-4  text-gray-300"},(0,e.createElement)("li",null,"Gain valuable insights into individual user behavior across multiple sessions and devices."),(0,e.createElement)("li",null,"Enhance your marketing strategies, user experience, and overall website performance with data-driven decisions."),(0,e.createElement)("li",null,"Ensure user privacy protection by using hashed identifiers that comply with data privacy regulations."),(0,e.createElement)("li",null,"Unlock the full potential of your website's analytics capabilities for a more comprehensive view of your audience.")),(0,e.createElement)("div",{className:"text-white"},"Upgrade now to elevate your analytics experience with User Tracking in Goal Tracker Pro!"))),(0,e.createElement)("footer",{className:"flex items-center"},(0,e.createElement)("a",{href:wpGoalTrackerGa.upgradeUrl,type:"button",className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent ","bg-white text-brand-primary","px-4 py-2","text-sm font-medium","shadow hover:shadow-xl","transform active:scale-75 hover:scale-110 transition-transform","hover:ring-2 hover:ring-white hover:ring-offset-2","focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2")},(0,e.createElement)("span",{className:"mx-2"},"Get Pro Features"),(0,e.createElement)(Qe,{className:"h-5 w-5","aria-hidden":"true"}))))))};let aa=(0,t.createContext)(null);function ua(){let e=(0,t.useContext)(aa);if(null===e){let e=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,ua),e}return e}let sa=Ve((function(e,t){let r=Nr(),{id:n=`headlessui-label-${r}`,passive:i=!1,...a}=e,u=ua(),s=Mt(t);at((()=>u.register(n)),[n,u.register]);let o={ref:s,...u.props,id:n};return i&&("onClick"in o&&(delete o.htmlFor,delete o.onClick),"onClick"in a&&delete a.onClick),Ze({ourProps:o,theirProps:a,slot:u.slot||{},defaultTag:"label",name:u.name||"Label"})})),oa=Object.assign(sa,{}),la=(0,t.createContext)(null);la.displayName="GroupContext";let La=t.Fragment,ca=Ve((function(e,r){let n=Nr(),{id:i=`headlessui-switch-${n}`,checked:a,defaultChecked:u=!1,onChange:s,name:o,value:l,...L}=e,c=(0,t.useContext)(la),M=(0,t.useRef)(null),j=Mt(M,r,null===c?null:c.setSwitch),[d,N]=ei(a,s,u),m=lt((()=>null==N?void 0:N(!d))),y=lt((e=>{if(dr(e.currentTarget))return e.preventDefault();e.preventDefault(),m()})),g=lt((e=>{e.key===jr.Space?(e.preventDefault(),m()):e.key===jr.Enter&&function(e){var t;let r=null!=(t=null==e?void 0:e.form)?t:e.closest("form");if(r)for(let e of r.elements)if("INPUT"===e.tagName&&"submit"===e.type||"BUTTON"===e.tagName&&"submit"===e.type||"INPUT"===e.nodeName&&"image"===e.type)return void e.click()}(e.currentTarget)})),x=lt((e=>e.preventDefault())),p=(0,t.useMemo)((()=>({checked:d})),[d]),T={id:i,ref:j,role:"switch",type:Vn(e,M),tabIndex:0,"aria-checked":d,"aria-labelledby":null==c?void 0:c.labelledby,"aria-describedby":null==c?void 0:c.describedby,onClick:y,onKeyUp:g,onKeyPress:x},w=yt();return(0,t.useEffect)((()=>{var e;let t=null==(e=M.current)?void 0:e.closest("form");t&&void 0!==u&&w.addEventListener(t,"reset",(()=>{N(u)}))}),[M,N]),t.createElement(t.Fragment,null,null!=o&&d&&t.createElement(yr,{features:mr.Hidden,...Je({as:"input",type:"checkbox",hidden:!0,readOnly:!0,checked:d,name:o,value:l})}),Ze({ourProps:T,theirProps:L,slot:p,defaultTag:"button",name:"Switch"}))})),Ma=Object.assign(ca,{Group:function(e){var r;let[n,i]=(0,t.useState)(null),[a,u]=function(){let[e,r]=(0,t.useState)([]);return[e.length>0?e.join(" "):void 0,(0,t.useMemo)((()=>function(e){let n=lt((e=>(r((t=>[...t,e])),()=>r((t=>{let r=t.slice(),n=r.indexOf(e);return-1!==n&&r.splice(n,1),r}))))),i=(0,t.useMemo)((()=>({register:n,slot:e.slot,name:e.name,props:e.props})),[n,e.slot,e.name,e.props]);return t.createElement(aa.Provider,{value:i},e.children)}),[r])]}(),[s,o]=Xr(),l=(0,t.useMemo)((()=>({switch:n,setSwitch:i,labelledby:a,describedby:s})),[n,i,a,s]),L=e;return t.createElement(o,{name:"Switch.Description"},t.createElement(u,{name:"Switch.Label",props:{htmlFor:null==(r=l.switch)?void 0:r.id,onClick(e){n&&("LABEL"===e.currentTarget.tagName&&e.preventDefault(),n.click(),n.focus({preventScroll:!0}))}}},t.createElement(la.Provider,{value:l},Ze({ourProps:{},theirProps:L,defaultTag:La,name:"Switch.Group"}))))},Label:oa,Description:$r});const{apiFetch:ja}=wp,da=(0,t.createContext)(void 0),Na=r=>{let{children:n}=r;const[i,a]=(0,t.useState)(!1),[u,s]=(0,t.useState)(""),[o,L]=(0,t.useState)(!1),[c,M]=(0,t.useState)(!1),[j,d]=(0,t.useState)(""),[N,m]=(0,t.useState)(!1),[y,g]=(0,t.useState)(!1),[x,p]=(0,t.useState)(!1),[T,w]=(0,t.useState)(!1),S=(0,t.useContext)(l);if(!S)throw new Error("ChildComponent must be used within a TabContextProvider");const{updateHasIssueByName:E}=S;(0,t.useEffect)((()=>{(async()=>{await f()})()}),[]);const D=e=>{e&&(d(e.measurementID),a(e.trackLinks.enabled),e.trackLinks&&e.trackLinks.enabled&&e.trackLinks.type&&s(e.trackLinks.type),L(e.trackEmailLinks),M(e.disableTrackingForAdmins),m(e.gaDebug),g(e.disablePageView),p(e.noSnippet),e.hideGeneralSettingsTutorial||w(!e.hideGeneralSettingsTutorial)),""===e.measurementID&&!1===e.noSnippet&&E("Settings",!0)},f=async()=>{let e=await ja({path:wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/get_general_settings"});return D(e||{}),e};return(0,e.createElement)(da.Provider,{value:{trackLinks:i,setTrackLinks:a,trackLinksType:u,setTrackLinksType:s,trackEmailLinks:o,setTrackEmailLinks:L,disableTrackingForAdmins:c,setDisableTrackingForAdmins:M,measurementID:j,setMeasurementID:d,gaDebug:N,setGaDebug:m,disablePageView:y,setDisablePageView:g,noSnippet:x,setNoSnippet:p,showTutorial:T,setShowTutorial:w,setSettings:async e=>{e.preventDefault();const t={measurementID:j,gaDebug:N,disablePageView:y,noSnippet:x,trackLinks:{enabled:i,type:u||"all"},trackEmailLinks:o,disableTrackingForAdmins:c};await ja({path:wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/set_general_settings",method:"POST",data:{generalSettings:t}})},getSettings:f,updateSettings:D}},n)},ma=i.p+"images/DebugViewHelp.d6e18691.png",ya=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"DebugView"),(0,e.createElement)("span",{className:"block pt-5"},"The Debug View Integration feature is a helpful tool that lets you enable the GA4 Debug View for your website. This feature allows you to see real-time data from your website's events in Google Analytics, making it easier to test and troubleshoot your tracking setup. With Debug View, you can confirm if your events are being sent correctly and ensure that your data is accurate before you start analyzing it.",(0,e.createElement)("p",null,"We do not recommend toggling this off once you are done testing.")),(0,e.createElement)("img",{className:"pt-5",src:ma}),(0,e.createElement)("span",{className:"block pt-5 pb-5"},"To enable Debug View:",(0,e.createElement)("p",null),(0,e.createElement)("ol",{className:"list-decimal pt-5 list-inside ml-4"},(0,e.createElement)("li",{className:"mb-2"},"Toggle the DebugView option"),(0,e.createElement)("li",{className:"mb-2"},"Visit your website and interact with the elements you're tracking"),(0,e.createElement)("li",{className:"mb-2"},"Go to your Google Analytics account "),(0,e.createElement)("li",{className:"mb-2"},'Locate the "Admin" button at the bottom left corner and click on it'),(0,e.createElement)("li",{className:"mb-2"},'Click on "DebugView" in the "Property" column'),(0,e.createElement)("li",{className:"mb-2"},"Watch as events start showing on the screen")))),ga=i.p+"images/help-measurement-id.2f22bbe3.png",xa=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Measurement Id"),(0,e.createElement)("span",{className:"block pt-5"},'The GA4 Measurement ID is a special code that helps Goal Tracker for Google Analytics plugin connect your WordPress website to Google Analytics 4. This code allows you to collect important information about how people interact with your website. The Measurement ID is a short code that begins with "G-" and is followed by a mix of numbers and letters.'),(0,e.createElement)("img",{className:"block pt-5",src:ga}),(0,e.createElement)("span",{className:"block pt-5 pb-5"},"To find your GA4 Measurement ID, follow these steps:",(0,e.createElement)("ol",{className:"list-decimal pt-5 list-inside ml-4"},(0,e.createElement)("li",{className:"mb-2"},"Sign in to your Google Analytics account"),(0,e.createElement)("li",{className:"mb-2"},'Locate the "Admin" button at the bottom left corner and click on it'),(0,e.createElement)("li",{className:"mb-2"},"Choose the appropriate account and property"),(0,e.createElement)("li",{className:"mb-2"},'Click on "Data Streams" in the "Property" column'),(0,e.createElement)("li",{className:"mb-2"},'Select the data stream labeled "Web"'),(0,e.createElement)("li",{className:"mb-2"},"Find your Measurement ID at the top of the opened page"),(0,e.createElement)("li",{className:"mb-2"},"Copy the code and paste it into the Goal Tracker for Google Analytics plugin settings on your WordPress site")))),pa=()=>(0,e.createElement)("div",null,(0,e.createElement)(xa,null),(0,e.createElement)(ya,null)),Ta=i.p+"images/GoogleTagManagerHelp.389572fe.png",wa=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Goal Tracker and Google Tag Manager"),(0,e.createElement)("span",{className:"block pt-5"},(0,e.createElement)("p",null,'If you are already using Google Tag Manager to track page views on the website, we recommend toggling the "Disable page_view Tracking " option in Goal Tracker.'),(0,e.createElement)("p",null,"The reason is that we want to make sure that you are not sending two page view events every time the page loads.")),(0,e.createElement)("span",{className:"block pt-5 pb-5"},"How can you tell if Google Tag Manager is configured to track page views?",(0,e.createElement)("ol",{className:"list-decimal pt-5 list-inside ml-4"},(0,e.createElement)("li",{className:"mb-2"},"Open Google Tag Manager and go to the tags page"),(0,e.createElement)("li",{className:"mb-2"},'Search for a tag of type "Google Analytics: GA4 Configuration" and click it'),(0,e.createElement)("li",{className:"mb-2"},"Click on the tag configuration "),(0,e.createElement)("li",{className:"mb-2"},'Check if the "Send a page view event when this configuration loads" box has been clicked. If it did then it means that you are using Google Tag Manager to track page views.'))),(0,e.createElement)("img",{className:"pt-5",src:Ta}))),Sa=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Working with third-party Google Analytics plugins"),(0,e.createElement)("span",{className:"block pt-5"},(0,e.createElement)("p",null,'At times, there may be conflicts between our plugin and third-party Google Analytics plugins. In such cases, it is advisable to consider toggling the "Don\'t add the "gtag" code snippet" option.'),(0,e.createElement)("p",null,"When you toggle the option, our plugin will try to work with existing tags on the page."),(0,e.createElement)("p",null,"However, this means that our plugin is limited in how it can configure the integration with Google Analytics. The following features will not be available:")),(0,e.createElement)("span",{className:"block pt-5 pb-5"},(0,e.createElement)("ol",{className:"list-decimal list-inside ml-4"},(0,e.createElement)("li",{className:"mb-2"},"DebugView"),(0,e.createElement)("li",{className:"mb-2"},"Disabling Page View Tracking"),(0,e.createElement)("li",{className:"mb-2"},"User Tracking - Pro feature"),(0,e.createElement)("li",{className:"mb-2"},"Multiple Trackers - Pro feature"))))),Ea=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Link Tracking"),(0,e.createElement)("span",{className:"block pt-5"},"The Email Link Tracking feature in Goal Tracker for Google Analytics specifically tracks email links (mailto:) on your website. It uses the event name ",(0,e.createElement)("code",null,"email_link_click"),' to help you monitor and analyze user interactions with email links. To enable this feature, you need to perform two steps: toggle the feature in the plugin and create a custom dimension "email address" in Google Analytics.'),(0,e.createElement)("span",{className:"block pt-5"},"Follow these steps to enable Email Link Tracking:"),(0,e.createElement)("span",{className:"block pt-5"},(0,e.createElement)("ol",{className:"list-decimal list-inside"},(0,e.createElement)("li",{className:"mb-2"},"Navigate to the Goal Tracker for Google Analytics plugin settings in your WordPress dashboard"),(0,e.createElement)("li",{className:"mb-2"},'Find the "Email Link Tracking" toggle switch and turn it on'),(0,e.createElement)("li",{className:"mb-4"},'Sign in to your Google Analytics account and access the "Admin" section'),(0,e.createElement)("li",{className:"mb-2"},'Under the "Property" column, click on "Custom Definitions" and then "Custom Dimensions"'),(0,e.createElement)("li",{className:"mb-2"},'Click on "Create Custom Dimension" and name it "email address"'),(0,e.createElement)("li",{className:"mb-2"},'Set the "Scope" to "Event" and click on "Create"'))),(0,e.createElement)("span",{className:"block pt-5"},(0,e.createElement)("p",null,"Once you have completed these steps, the plugin will automatically track clicks on email links and send the event data to your Google Analytics 4 property under the event name"," ",(0,e.createElement)("code",null,"email_link_click"),'. The custom dimension "email address" will provide additional insights into the email addresses users interact with on your website.'),(0,e.createElement)("a",{className:"pt-5 font-medium text-blue-600 dark:text-blue-500 hover:underline",target:"_blank",href:"https://www.wpgoaltracker.com/tracking-email-links-with-goal-tracker-for-google-analytics/"},"Click here to learn more about email link tracking."))),Da=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Link Tracking"),(0,e.createElement)("span",{className:"block pt-5"},"Goal Tracker for Google Analytics offers an improved Link Tracking feature as an alternative to GA4's Enhanced Analytics. This feature allows you to track both internal and external links using the event name ",(0,e.createElement)("code",null,"link_click"),", making it more convenient and efficient to work with compared to the standard GA4 implementation."),(0,e.createElement)("span",{className:"block pt-5"},'To enable the link tracking feature, toggle the Track Links option and then select "Track All Links" to track all the links (both internal and external) on the website, or "Track External Links" to track internal links.'),(0,e.createElement)("span",{className:"block pt-5 pb-5"},(0,e.createElement)("a",{className:"font-medium text-blue-600 dark:text-blue-500 hover:underline",target:"_blank",href:"https://www.wpgoaltracker.com/tracking-links-with-goal-tracker-for-google-analytics/"},"Click here to learn more about link tracking."))),fa=()=>(0,e.createElement)("div",null,(0,e.createElement)(Da,null),(0,e.createElement)(Ea,null)),Ia=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"}))})),ha=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-8l-4-4m0 0L8 8m4-4v12"}))})),{apiFetch:Ca}=wp;function za(r){let{getSettings:n,setShowImportNotification:i}=r;const[a,u]=(0,t.useState)(!1),s=(0,t.useRef)(null);return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(Gt,null,(0,e.createElement)(qt,{title:"Configuration backup",titleHelper:"Export / import configuration file",children:void 0}),(0,e.createElement)(Qt,null,(0,e.createElement)(Ut,{label:"Export Configuration",description:"Back up your plugin's settings",id:"",isPrimary:!1},(0,e.createElement)("button",{className:"flex-1 flex items-center text-white bg-brand-primary hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 font-bold py-2 px-4 rounded",onClick:async()=>{const e=await(async()=>await Ca({path:wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/get_entire_config"}))(),t=JSON.stringify(e,null,2),r=new Blob([t],{type:"application/json"}),n=URL.createObjectURL(r),i=`goal-tracker-config-${(new Date).toISOString().slice(0,10).replace(/-/g,"")}.json`,a=document.createElement("a");a.href=n,a.download=i,document.body.appendChild(a),a.click(),document.body.removeChild(a)}},(0,e.createElement)(Ia,{className:"h-5 w-5 text-white-400 mr-2","aria-hidden":"true"}),(0,e.createElement)("span",null,"Download Settings"))),(0,e.createElement)(Ut,{label:"Import Configuration",description:"Restore configuration from backup file",id:"",isPrimary:!1}," ",(0,e.createElement)("button",{className:"flex-1 flex items-center text-white bg-brand-primary hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 font-bold py-2 px-4 rounded",onClick:()=>{s.current.click()}},(0,e.createElement)(ha,{className:"h-5 w-5 text-white-400 mr-2","aria-hidden":"true"}),(0,e.createElement)("span",null,"Upload Settings")),(0,e.createElement)("input",{type:"file",ref:s,style:{display:"none"},onChange:e=>{const t=e.target.files[0];if(!t)return;const r=new FileReader;r.onload=async e=>{try{const t=JSON.parse(e.target.result);await(async e=>{let t=await Ca({path:wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/set_entire_config",method:"POST",data:{config:e}});return await n(),t})(t),i("success")}catch(e){i("failure")}},r.readAsText(t)}})))))}const Oa=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12l2 2 4-4M7.835 4.697a3.42 3.42 0 001.946-.806 3.42 3.42 0 014.438 0 3.42 3.42 0 001.946.806 3.42 3.42 0 013.138 3.138 3.42 3.42 0 00.806 1.946 3.42 3.42 0 010 4.438 3.42 3.42 0 00-.806 1.946 3.42 3.42 0 01-3.138 3.138 3.42 3.42 0 00-1.946.806 3.42 3.42 0 01-4.438 0 3.42 3.42 0 00-1.946-.806 3.42 3.42 0 01-3.138-3.138 3.42 3.42 0 00-.806-1.946 3.42 3.42 0 010-4.438 3.42 3.42 0 00.806-1.946 3.42 3.42 0 013.138-3.138z"}))})),ba=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18.364 18.364A9 9 0 005.636 5.636m12.728 12.728A9 9 0 015.636 5.636m12.728 12.728L5.636 5.636"}))}));function va(r){let{showNotification:n}=r;const[i,a]=(0,t.useState)(!!n);return(0,t.useEffect)((()=>{a(!!n)}),[n]),(0,e.createElement)(t.Fragment,null,(0,e.createElement)("div",{"aria-live":"assertive",className:"pointer-events-none fixed inset-0 flex items-end px-4 py-6 sm:items-start sm:p-6"},(0,e.createElement)("div",{className:"flex w-full flex-col items-center space-y-4 sm:items-end"},(0,e.createElement)(bt,{show:i,as:t.Fragment,enter:"transform ease-out duration-300 transition",enterFrom:"translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-2",enterTo:"translate-y-0 opacity-100 sm:translate-x-0",leave:"transition ease-in duration-100",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"pointer-events-auto w-full max-w-sm overflow-hidden rounded-lg bg-white shadow-lg ring-1 ring-black ring-opacity-5"},(0,e.createElement)("div",{className:"p-4"},(0,e.createElement)("div",{className:"flex items-start"},(0,e.createElement)("div",{className:"flex-shrink-0"},"success"==n?(0,e.createElement)(Oa,{className:"h-6 w-6 text-green-400","aria-hidden":"true"}):(0,e.createElement)(ba,{className:"h-6 w-6 text-red-400","aria-hidden":"true"})),(0,e.createElement)("div",{className:"ml-3 w-0 flex-1 pt-0.5"},(0,e.createElement)("p",{className:"text-sm font-medium text-gray-900"},"success"==n?"Import Successful":"Failed to read the configuration file")),(0,e.createElement)("div",{className:"ml-4 flex flex-shrink-0"},(0,e.createElement)("button",{type:"button",className:"inline-flex rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2",onClick:()=>{a(!1)}},(0,e.createElement)("span",{className:"sr-only"},"Close"),(0,e.createElement)(kt,{className:"h-5 w-5","aria-hidden":"true"}))))))))))}const{useEffect:ka,useRef:Aa}=wp.element,{apiFetch:Ya}=wp,{isEqual:Ua}=lodash,Qa=()=>{const{trackLinks:r,setTrackLinks:n,trackLinksType:i,setTrackLinksType:a,trackEmailLinks:u,setTrackEmailLinks:s,disableTrackingForAdmins:l,setDisableTrackingForAdmins:L,measurementID:c,setMeasurementID:M,gaDebug:j,setGaDebug:d,disablePageView:N,setDisablePageView:m,noSnippet:y,showTutorial:g,setShowTutorial:x,setNoSnippet:p,setSettings:T,getSettings:w,updateSettings:S}=(()=>{const e=(0,t.useContext)(da);if(!e)throw new Error("useGeneralSettings must be used within a GeneralSettingsProvider");return e})(),[E,D]=(0,t.useState)(!1),[f,I]=(0,t.useState)(!1),[h,C]=(0,t.useState)(!1),[z,O]=(0,t.useState)(!1),[b,v]=(0,t.useState)(""),{showPromo:k,setShowPromo:A}=ir();var Y;return(0,t.useEffect)((()=>{(async()=>{await w(),A(""!==c||!y)})()}),[]),(0,t.useEffect)((()=>{O(!0)}),[r,i,u,l,c]),((e,t)=>{const r=Aa(!0);ka((()=>{r.current&&(r.current=!1)}),void 0)})(),Y=()=>{},ka((()=>Y),[]),(0,e.createElement)("div",{className:"bg-white/75"},(0,e.createElement)(Yt,{showTutorial:g,showCloseButton:!0}),(0,e.createElement)("form",{onSubmit:T,className:"bg-white/50 p-5 rounded shadow-xl"},(0,e.createElement)("div",{"data-component":"SectionContainer",className:"space-y-8 sm:space-y-5"},(0,e.createElement)(Gt,null,(0,e.createElement)(qt,{title:"Connect With Google Analytics 4",titleHelper:"Let's connect with Google Analytics GA4.\n              Our plugin will install the Google Analytics GA4 code on your website using these settings.",helpComponent:pa,helpTitle:"Connecting with Google Analytics"}),(0,e.createElement)(Qt,null,(0,e.createElement)(Ut,{label:"MEASUREMENT ID",id:"measurementID",description:"A Measurement ID is a Google Analytics unique identifier (e.g., G-12345) for your website",isPrimary:!1},(0,e.createElement)("div",{className:"max-w-xs flex rounded-md shadow-sm"},(0,e.createElement)("input",{type:"text",name:"measurementID",placeholder:"G-XXXXXXXXXX",id:"measurementID",value:c,onChange:e=>M(e.target.value),className:o()("flex-1 block w-full","focus:ring-brand-primary focus:border-brand-primary-focus","min-w-0 rounded-none","text-sm md:text-2xl","border-gray-300")}))),(0,e.createElement)(Ut,{label:"Enable GA4 Debug View",id:"",description:"",isPrimary:!1},(0,e.createElement)(Ma,{id:"gaDebug",name:"gaDebug",checked:j,onChange:d,className:o()(j?"bg-brand-primary":"bg-slate-500","relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500")},(0,e.createElement)("span",{className:"sr-only"},"GA4 Debug View"),(0,e.createElement)("span",{"aria-hidden":"true",className:o()(j?"translate-x-5":"translate-x-0","pointer-events-none inline-block h-5 w-5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200")}))))),(0,e.createElement)(Gt,null,(0,e.createElement)(qt,{title:"Google Tag Manager",titleHelper:"If you are using Google Tag Manager, you may want to check one of the following.",helpComponent:wa,helpTitle:"Google Tag Manager"}),(0,e.createElement)(Qt,null,(0,e.createElement)(Ut,{label:"Disable page_view Tracking",description:"Useful when tracking page views through Google Tag Manager",id:"",isPrimary:!1},(0,e.createElement)(Ma,{id:"disablePageView",name:"disablePageView",checked:N,onChange:m,className:o()(N?"bg-brand-primary":"bg-slate-500","relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500")},(0,e.createElement)("span",{className:"sr-only"},"Use setting"),(0,e.createElement)("span",{"aria-hidden":"true",className:o()(N?"translate-x-5":"translate-x-0","pointer-events-none inline-block h-5 w-5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200")}))))),(0,e.createElement)(Gt,null,(0,e.createElement)(qt,{title:"Third party Google Analytics plugins",titleHelper:"If you are using other Google Analytics plugins, you may want to check one of the following.",helpComponent:Sa,helpTitle:"Third party Google Analytics plugins"}),(0,e.createElement)(Qt,null,(0,e.createElement)(Ut,{label:'Don\'t add the "gtag" code snippet',description:"Useful when using third-party GA plugins",id:"",isPrimary:!1},(0,e.createElement)(Ma,{id:"noSnippet",name:"noSnippet",checked:y,onChange:p,className:o()(y?"bg-brand-primary":"bg-slate-500","relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500")},(0,e.createElement)("span",{className:"sr-only"},"Use setting"),(0,e.createElement)("span",{"aria-hidden":"true",className:o()(y?"translate-x-5":"translate-x-0","pointer-events-none inline-block h-5 w-5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200")}))))),(0,e.createElement)(Gt,null,(0,e.createElement)(qt,{title:"Custom Events Tracking",titleHelper:"Select the Custom Events that you want to track with Google\n                Analytics GA4:",helpComponent:fa,helpTitle:"CustomEventTracking"}),(0,e.createElement)(Qt,null,(0,e.createElement)(Ut,{label:"Track Links",description:"Auto track all links",id:"",isPrimary:!1},(0,e.createElement)(Ma,{id:"trackLinks",name:"trackLinks",checked:r,onChange:n,className:o()(r?"bg-brand-primary":"bg-slate-500","relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500")},(0,e.createElement)("span",{className:"sr-only"},"Use setting"),(0,e.createElement)("span",{"aria-hidden":"true",className:o()(r?"translate-x-5":"translate-x-0","pointer-events-none inline-block h-5 w-5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200")})),(0,e.createElement)("div",{className:o()(r?"block":"hidden","duration-700,ease-in, overflow-hidden,transition-all")},(0,e.createElement)("select",{id:"trackLinksType",name:"trackLinksType",value:i,onChange:e=>a(e.target.value),className:"max-w-lg block mt-4 focus:ring-indigo-500 focus:border-indigo-500 w-full shadow-sm sm:max-w-xs sm:text-sm border-gray-300 rounded-md"},(0,e.createElement)("option",{value:"all"},"Track All Links"),(0,e.createElement)("option",{value:"external"},"Track External Links"))))),(0,e.createElement)(Qt,null,(0,e.createElement)(Ut,{label:"Track Email Links",description:"Tracking for mailto: links",id:"",isPrimary:!1},(0,e.createElement)(Ma,{id:"trackEmailLinks",name:"trackEmailLinks",checked:u,onChange:s,className:o()(u?"bg-brand-primary":"bg-slate-500","relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500")},(0,e.createElement)("span",{className:"sr-only"},"Use setting"),(0,e.createElement)("span",{"aria-hidden":"true",className:o()(u?"translate-x-5":"translate-x-0","pointer-events-none inline-block h-5 w-5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200")})))),(0,e.createElement)(Qt,null,(0,e.createElement)(Ut,{label:"Don't track admin users",description:"Disable Google Analytics tracking for logged in administrators",id:"",isPrimary:!1},(0,e.createElement)(Ma,{id:"disableTrackingForAdmins",name:"disableTrackingForAdmins",checked:l,onChange:L,className:o()(l?"bg-brand-primary":"bg-slate-500","relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500")},(0,e.createElement)("span",{className:"sr-only"},"Use setting"),(0,e.createElement)("span",{"aria-hidden":"true",className:o()(l?"translate-x-5":"translate-x-0","pointer-events-none inline-block h-5 w-5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200")}))))),(0,e.createElement)(za,{getSettings:w,setShowImportNotification:v}),(0,e.createElement)(va,{showNotification:b})),(0,e.createElement)("footer",{className:"px-5 py-5 bg-white/50 shadow-2xl"},(0,e.createElement)("div",{className:"flex justify-end"},(0,e.createElement)("button",{type:"button",className:"bg-white py-2 px-4 border border-gray-300 rounded-md shadow-sm text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"},"Cancel"),(0,e.createElement)("button",{type:"submit",disabled:!z,className:"disabled:opacity-30 ml-3 inline-flex justify-center py-2 px-4 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-brand-primary hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"},"Save")))))},Ga=r=>{let{title:n,Component:i,open:a,setOpen:u}=r;return(0,e.createElement)(t.Fragment,null,(0,e.createElement)(bt.Root,{show:a,as:t.Fragment},(0,e.createElement)(kn,{as:"div",className:"relative z-[999999]",onClose:u},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"ease-in-out duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"})),(0,e.createElement)("div",{className:"fixed inset-0"}),(0,e.createElement)("div",{className:"fixed inset-0 overflow-hidden"},(0,e.createElement)("div",{className:"absolute inset-0 overflow-hidden"},(0,e.createElement)("div",{className:"pointer-events-none fixed inset-y-0 right-0 flex w-/3 min-w-[600px] pl-10 transform transition-all ease-in-out duration-500 sm:duration-700"},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"transform transition ease-in-out duration-500 sm:duration-700",enterFrom:"translate-x-full",enterTo:"translate-x-0",leave:"transform transition ease-in-out duration-500 sm:duration-700",leaveFrom:"translate-x-0",leaveTo:"translate-x-full"},(0,e.createElement)(kn.Panel,{className:"pointer-events-auto flex-1"},(0,e.createElement)("div",{id:"event-form",className:"flex h-full flex-col divide-y divide-gray-200 bg-white shadow-xl"},(0,e.createElement)("div",{"data-component":"form-wrapper",className:"flex min-h-0 flex-1 flex-col "},(0,e.createElement)("header",{className:"py-5 pl-10 pr-10 sticky top-0 shadow"},(0,e.createElement)("div",{className:"flex items-start justify-between"},(0,e.createElement)(kn.Title,{className:"text-2xl font-medium text-gray-900"},n),(0,e.createElement)("div",{className:"ml-3 flex h-7 items-center"},(0,e.createElement)("button",{type:"button",className:"rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-indigo-500",onClick:()=>u(!1)},(0,e.createElement)("span",{className:"sr-only"},"Close panel"),(0,e.createElement)(kt,{className:"h-6 w-6","aria-hidden":"true"}))))),(0,e.createElement)("div",{"data-component":"main-form",className:"overflow-y-scroll bg-gray-100 p-10 flex-1"},(0,e.createElement)("div",{className:"bg-white p-10 rounded-md"},(0,e.createElement)("div",{className:"max-w-[650px] min-h-[410px]"},i)))),(0,e.createElement)("footer",{className:"flex flex-shrink-0 justify-end px-4 py-4"},(0,e.createElement)("button",{type:"button",className:"rounded-md border border-gray-300 bg-white py-2 px-4 text-sm font-medium text-gray-700 shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2",onClick:()=>{u(!1)}},"Close")))))))))))},Pa=r=>{let{children:n}=r;const[i,a]=(0,t.useState)(!1),[u,s]=(0,t.useState)(null),[o,l]=(0,t.useState)("");return(0,e.createElement)(Pt.Provider,{value:{open:i,setOpenHelpSlider:a,setComponent:s,setTitleHelpSlider:l}},n,u&&(0,e.createElement)(Ga,{title:o,Component:u,open:i,setOpen:a}))},Ra=["Review the events you configured in WP Google Analytics Events. ","Suggest a new structure for your events. ","We will log and configure Goal Tracker for Google Analytics for you. "],Fa=t=>{let{feature:r,index:n}=t;return(0,e.createElement)("li",{className:"p-2 shadow rounded flex border border-grey-100/10"},n&&(0,e.createElement)("span",{className:"rounded-full w-6 h-6 bg-brand-primary text-white justify-center flex items-center"},n),(0,e.createElement)("span",{className:"ml-2 flex-1 text-base"},r))},_a=()=>{const[r,n]=(0,t.useState)(""),[i,a]=(0,t.useState)(!1);return(0,e.createElement)("section",{className:"bg-white/50 py-4"},!i&&(0,e.createElement)("div",{className:"bg-white py-4 rounded-md border border-gray-200 my-10 mx-4 shadow-xl"},(0,e.createElement)("div",{className:""},(0,e.createElement)("div",{className:"px-4 py-5 sm:p-6"},(0,e.createElement)("h3",{className:"text-3xl mb-6 leading-10 text-gray-900 max-w-xl"},"Are you migrating your events from WP Google Analytics Events?"),(0,e.createElement)("div",{className:"mt-2 max-w-2xl text-gray-500 p-2 text-lg"},(0,e.createElement)("p",{className:"text-lg"},"I am guessing that moving to GA4 was quite an"," ",(0,e.createElement)("span",{className:"italic"},"experience")," for you."),(0,e.createElement)("p",{className:"text-lg mt-5"},"But if you just migrated from our old plugin - WP Google Analytics Events - there is one more step. And that is to migrate your events."," "),(0,e.createElement)("p",{className:"text-lg mt-5"},"Let me explain (overwhelmed? Skip to the next section right after the video)."),(0,e.createElement)("p",{className:"text-lg mt-5"},"One of the big changes in GA4 is the event structure. Events used to have three main fields - Category, Action, and Label. Now, in GA4, events will have a name and then a set of attributes that you can configure. This makes events much more powerful in GA4, but it also means that you have to rethink how you structure your events (It’s a good thing!)."),(0,e.createElement)("p",{className:"text-lg mt-5"},(0,e.createElement)("span",{className:"mb-5"},"Here is a short video explaining the changes:"),(0,e.createElement)("iframe",{className:"mt-5",width:"560",height:"315",src:"https://www.youtube.com/embed/Xn4NoJ0RkJU",title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0})),(0,e.createElement)("p",{className:"text-lg font-bold mt-10"},"But what if you have a lot of events and very little time?"," ",(0,e.createElement)("br",null),"Or if this is just too overwhelming?"," "),(0,e.createElement)("p",{className:"text-lg mt-5"},"For our Pro plugin users and with a one-time fee, we offer a done-for-you migration service from WP Google Analytics Events/Pro to Goal Tracker for Google Analytics:"),(0,e.createElement)("ul",{role:"list",className:"list-inside p-1 mt-5"},Ra.map(((t,r)=>(0,e.createElement)(Fa,{key:r,feature:t,index:r+1})))),(0,e.createElement)("p",{className:"text-lg mt-5"},"All you have to do is click the button below to open our contact form and fill in your details. We will get in touch with you to start the process.")),(0,e.createElement)("form",{className:"mt-5 sm:items-center max-w-xl px-4 py-2"},(0,e.createElement)("div",{className:"text-brand-primary text-lg mb-2"},"👉 Start your migration:"),(0,e.createElement)("fieldset",{className:"flex"},(0,e.createElement)("div",{className:"w-full flex"},(0,e.createElement)("label",{htmlFor:"email",className:"sr-only"},"Email"),(0,e.createElement)("input",{type:"email",name:"email",id:"email",value:r,onChange:e=>n(e.target.value),className:o()("shadow-sm ","focus:ring-indigo-500 focus:border-indigo-500 ","flex-1 text-lg","border-gray-300 rounded-l rounder-r-0 p-2"),placeholder:"you@example.com"})),(0,e.createElement)("button",{type:"submit",onClick:async function(e){e.preventDefault();const t=window.location.protocol+"//"+window.location.host;let n=new FormData;n.append("fields[email]",r),n.append("fields[website]",t),await Oe()({url:"https://assets.mailerlite.com/jsonp/31991/forms/92865853511435498/subscribe",method:"POST",data:n,headers:{"Content-Type":"multipart/form-data"}}),a(!0)},className:o()("capitalize inline-flex","items-center justify-center","rounded-r","border border-transparent bg-brand-primary","px-4 py-2","text-lg font-medium text-white","shadow-sm","hover:bg-brand-600","focus:outline-none focus:ring-2 focus:ring-brand-primary-focus focus:ring-offset-2","transform active:scale-75 hover:scale-105 transition-transform")},"Submit"))),(0,e.createElement)("div",{className:"max-w-2xl"},(0,e.createElement)("p",{className:"text-lg mt-5 text-gray-500 italic"},"This service is available to our Pro plugin users for a one-time fee of $99."))))),i&&(0,e.createElement)("div",{className:"min-h-full pt-16 pb-12 flex flex-col bg-white"},(0,e.createElement)("main",{className:"flex-grow flex flex-col justify-center max-w-7xl w-full mx-auto px-4 sm:px-6 lg:px-8"},(0,e.createElement)("div",{className:"flex-shrink-0 flex justify-center"},(0,e.createElement)("span",{className:"sr-only"},"Workflow"),(0,e.createElement)("img",{className:"h-28 w-auto",src:be,alt:""})),(0,e.createElement)("div",{className:"py-16"},(0,e.createElement)("div",{className:"text-center"},(0,e.createElement)("h1",{className:"mt-2 text-2xl font-extrabold text-gray-900 tracking-tight sm:text-4xl"},"Our team is on it and will be in touch soon"),(0,e.createElement)("div",{className:"mt-6"})))),(0,e.createElement)("footer",{className:"flex-shrink-0 max-w-7xl w-full mx-auto px-4 sm:px-6 lg:px-8"})))},{__:qa}=wp.i18n,{render:Ba,useState:Za}=wp.element,{apiFetch:Wa}=wp,{TabPanel:Ha,Notice:Va,Button:Ja,Card:Xa,CardHeader:Ka,CardBody:$a,CardDivider:eu,CardFooter:tu,Spinner:ru}=wp.components,nu=[{name:"Tracker",href:"/tracker",current:!0,primary:!0,hasIssue:!1,isPromo:!1},{name:"Migrate",href:"/migrate",hasIssue:!1},{name:(0,e.createElement)("span",{"data-component":"tab-title",className:"text-xl uppercase flex-1 flex items-center"},(0,e.createElement)("img",{className:"w-12 h-12",src:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB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ctLjUtMS41MS4zMi0zLjEzLDEuODItMy42My4xMi0uMDQuMjMtLjA3LjM0LS4wOVoiLz4KICA8cGF0aCBkPSJtOTkuNSw0My44NGMuMTctLjAzLjM0LS4wNS41Mi0uMDYsMS41OS0uMDMsMi45LDEuMjQsMi45MywyLjgyLjAzLDEuNjQsMS4zOSwyLjk1LDMuMDMsMi45MiwxLjYzLS4wMiwyLjk1LTEuMzksMi45Mi0zLjAzLS4wMy0xLjU5LDEuMjQtMi44OSwyLjgyLTIuOTMsMS41OS0uMDMsMi45LDEuMjQsMi45MywyLjgyLjA4LDQuODEtMy43NSw4Ljc4LTguNTcsOC44OC00LjgxLjA5LTguNzktMy43Ni04Ljg4LTguNTctLjAzLTEuNDEuOTctMi42LDIuMy0yLjg3WiIvPgo8L3N2Zz4="}),(0,e.createElement)("span",{className:"mx-4"},"Track More..."),(0,e.createElement)("span",{className:o()("bg-slate-500","text-white","text-xs px-2 py-1","rounded uppercase","ml-4")},"PRO")),href:"/pro",firstTime:!0,hasIssue:!1,isPro:!0,isPromo:!0},{name:"Settings",href:"/settings",rootTab:!0,isFirstTime:!0,hasIssue:!1,icon:(0,e.createElement)(a,{className:"h-8 w-8","aria-hidden":"true"})},{name:"Help",showTitle:!1,href:"/help",firstTime:!0,hasIssue:!1,icon:(0,e.createElement)(u,{className:"h-8 w-8","aria-hidden":"true"})}],iu=[{label:"Click Tracking",path:"/tracker/click-tracking",default:!0},{label:"Visibility Tracking",path:"/tracker/visibility-tracking",default:!1}],au=()=>(0,e.createElement)(L,{initialTabs:nu},(0,e.createElement)(Na,null,(0,e.createElement)($t,{navLinks:iu},(0,e.createElement)(nr,null,(0,e.createElement)(Pa,null,(0,e.createElement)("section",{"data-component":"PluginMain",className:"relative"},(0,e.createElement)(Se,null,(0,e.createElement)(ar,null),(0,e.createElement)(me,null,(0,e.createElement)(de,{path:"/tracker/*",element:(0,e.createElement)(ta,null)}),(0,e.createElement)(de,{path:"/migrate",element:(0,e.createElement)(_a,null)}),(0,e.createElement)(de,{path:"/pro",element:(0,e.createElement)(ia,null)}),(0,e.createElement)(de,{path:"/help",element:(0,e.createElement)(Ae,null)}),(0,e.createElement)(de,{path:"/settings",element:(0,e.createElement)(Qa,null)}),(0,e.createElement)(de,{path:"/",element:(0,e.createElement)(Qa,null)}))),(0,e.createElement)(vt,null)))))));document.addEventListener("DOMContentLoaded",(()=>{void 0!==document.getElementById(wpGoalTrackerGa.root_id)&&null!==document.getElementById(wpGoalTrackerGa.root_id)&&Ba((0,e.createElement)(au,null),document.getElementById(wpGoalTrackerGa.root_id))}))})()})();
     1(()=>{var e,t,r={431:(e,t,r)=>{const i=r(196),a=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{fillRule:"evenodd",d:"M10.293 3.293a1 1 0 011.414 0l6 6a1 1 0 010 1.414l-6 6a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-4.293-4.293a1 1 0 010-1.414z",clipRule:"evenodd"}))}));e.exports=a},977:(e,t,r)=>{const i=r(196),a=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-3a1 1 0 00-.867.5 1 1 0 11-1.731-1A3 3 0 0113 8a3.001 3.001 0 01-2 2.83V11a1 1 0 11-2 0v-1a1 1 0 011-1 1 1 0 100-2zm0 8a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"}))}));e.exports=a},644:(e,t,r)=>{e.exports=r(308)},353:(e,t,r)=>{"use strict";var i=r(44),a=r(955),n=r(233),u=r(30),s=r(948),o=r(875),l=r(842),L=r(618),M=r(560),c=r(714);e.exports=function(e){return new Promise((function(t,r){var j,d=e.data,N=e.headers,y=e.responseType;function m(){e.cancelToken&&e.cancelToken.unsubscribe(j),e.signal&&e.signal.removeEventListener("abort",j)}i.isFormData(d)&&delete N["Content-Type"];var x=new XMLHttpRequest;if(e.auth){var g=e.auth.username||"",p=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";N.Authorization="Basic "+btoa(g+":"+p)}var T=s(e.baseURL,e.url);function w(){if(x){var i="getAllResponseHeaders"in x?o(x.getAllResponseHeaders()):null,n={data:y&&"text"!==y&&"json"!==y?x.response:x.responseText,status:x.status,statusText:x.statusText,headers:i,config:e,request:x};a((function(e){t(e),m()}),(function(e){r(e),m()}),n),x=null}}if(x.open(e.method.toUpperCase(),u(T,e.params,e.paramsSerializer),!0),x.timeout=e.timeout,"onloadend"in x?x.onloadend=w:x.onreadystatechange=function(){x&&4===x.readyState&&(0!==x.status||x.responseURL&&0===x.responseURL.indexOf("file:"))&&setTimeout(w)},x.onabort=function(){x&&(r(L("Request aborted",e,"ECONNABORTED",x)),x=null)},x.onerror=function(){r(L("Network Error",e,null,x)),x=null},x.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",i=e.transitional||M;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(L(t,e,i.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",x)),x=null},i.isStandardBrowserEnv()){var S=(e.withCredentials||l(T))&&e.xsrfCookieName?n.read(e.xsrfCookieName):void 0;S&&(N[e.xsrfHeaderName]=S)}"setRequestHeader"in x&&i.forEach(N,(function(e,t){void 0===d&&"content-type"===t.toLowerCase()?delete N[t]:x.setRequestHeader(t,e)})),i.isUndefined(e.withCredentials)||(x.withCredentials=!!e.withCredentials),y&&"json"!==y&&(x.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&x.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&x.upload&&x.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(j=function(e){x&&(r(!e||e&&e.type?new c("canceled"):e),x.abort(),x=null)},e.cancelToken&&e.cancelToken.subscribe(j),e.signal&&(e.signal.aborted?j():e.signal.addEventListener("abort",j))),d||(d=null),x.send(d)}))}},308:(e,t,r)=>{"use strict";var i=r(44),a=r(95),n=r(215),u=r(937),s=function e(t){var r=new n(t),s=a(n.prototype.request,r);return i.extend(s,n.prototype,r),i.extend(s,r),s.create=function(r){return e(u(t,r))},s}(r(663));s.Axios=n,s.Cancel=r(714),s.CancelToken=r(89),s.isCancel=r(41),s.VERSION=r(241).version,s.all=function(e){return Promise.all(e)},s.spread=r(783),s.isAxiosError=r(587),e.exports=s,e.exports.default=s},714:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},89:(e,t,r)=>{"use strict";var i=r(714);function a(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,i=r._listeners.length;for(t=0;t<i;t++)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,i=new Promise((function(e){r.subscribe(e),t=e})).then(e);return i.cancel=function(){r.unsubscribe(t)},i},e((function(e){r.reason||(r.reason=new i(e),t(r.reason))}))}a.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},a.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},a.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},a.source=function(){var e;return{token:new a((function(t){e=t})),cancel:e}},e.exports=a},41:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},215:(e,t,r)=>{"use strict";var i=r(44),a=r(30),n=r(946),u=r(895),s=r(937),o=r(525),l=o.validators;function L(e){this.defaults=e,this.interceptors={request:new n,response:new n}}L.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;void 0!==r&&o.assertOptions(r,{silentJSONParsing:l.transitional(l.boolean),forcedJSONParsing:l.transitional(l.boolean),clarifyTimeoutError:l.transitional(l.boolean)},!1);var i=[],a=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,i.unshift(e.fulfilled,e.rejected))}));var n,L=[];if(this.interceptors.response.forEach((function(e){L.push(e.fulfilled,e.rejected)})),!a){var M=[u,void 0];for(Array.prototype.unshift.apply(M,i),M=M.concat(L),n=Promise.resolve(t);M.length;)n=n.then(M.shift(),M.shift());return n}for(var c=t;i.length;){var j=i.shift(),d=i.shift();try{c=j(c)}catch(e){d(e);break}}try{n=u(c)}catch(e){return Promise.reject(e)}for(;L.length;)n=n.then(L.shift(),L.shift());return n},L.prototype.getUri=function(e){return e=s(this.defaults,e),a(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},i.forEach(["delete","get","head","options"],(function(e){L.prototype[e]=function(t,r){return this.request(s(r||{},{method:e,url:t,data:(r||{}).data}))}})),i.forEach(["post","put","patch"],(function(e){L.prototype[e]=function(t,r,i){return this.request(s(i||{},{method:e,url:t,data:r}))}})),e.exports=L},946:(e,t,r)=>{"use strict";var i=r(44);function a(){this.handlers=[]}a.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},a.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},a.prototype.forEach=function(e){i.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=a},948:(e,t,r)=>{"use strict";var i=r(192),a=r(762);e.exports=function(e,t){return e&&!i(t)?a(e,t):t}},618:(e,t,r)=>{"use strict";var i=r(935);e.exports=function(e,t,r,a,n){var u=new Error(e);return i(u,t,r,a,n)}},895:(e,t,r)=>{"use strict";var i=r(44),a=r(556),n=r(41),u=r(663),s=r(714);function o(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s("canceled")}e.exports=function(e){return o(e),e.headers=e.headers||{},e.data=a.call(e,e.data,e.headers,e.transformRequest),e.headers=i.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),i.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||u.adapter)(e).then((function(t){return o(e),t.data=a.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return n(t)||(o(e),t&&t.response&&(t.response.data=a.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},935:e=>{"use strict";e.exports=function(e,t,r,i,a){return e.config=t,r&&(e.code=r),e.request=i,e.response=a,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},937:(e,t,r)=>{"use strict";var i=r(44);e.exports=function(e,t){t=t||{};var r={};function a(e,t){return i.isPlainObject(e)&&i.isPlainObject(t)?i.merge(e,t):i.isPlainObject(t)?i.merge({},t):i.isArray(t)?t.slice():t}function n(r){return i.isUndefined(t[r])?i.isUndefined(e[r])?void 0:a(void 0,e[r]):a(e[r],t[r])}function u(e){if(!i.isUndefined(t[e]))return a(void 0,t[e])}function s(r){return i.isUndefined(t[r])?i.isUndefined(e[r])?void 0:a(void 0,e[r]):a(void 0,t[r])}function o(r){return r in t?a(e[r],t[r]):r in e?a(void 0,e[r]):void 0}var l={url:u,method:u,data:u,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:o};return i.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=l[e]||n,a=t(e);i.isUndefined(a)&&t!==o||(r[e]=a)})),r}},955:(e,t,r)=>{"use strict";var i=r(618);e.exports=function(e,t,r){var a=r.config.validateStatus;r.status&&a&&!a(r.status)?t(i("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)}},556:(e,t,r)=>{"use strict";var i=r(44),a=r(663);e.exports=function(e,t,r){var n=this||a;return i.forEach(r,(function(r){e=r.call(n,e,t)})),e}},663:(e,t,r)=>{"use strict";var i=r(44),a=r(868),n=r(935),u=r(560),s={"Content-Type":"application/x-www-form-urlencoded"};function o(e,t){!i.isUndefined(e)&&i.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var l,L={transitional:u,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(l=r(353)),l),transformRequest:[function(e,t){return a(t,"Accept"),a(t,"Content-Type"),i.isFormData(e)||i.isArrayBuffer(e)||i.isBuffer(e)||i.isStream(e)||i.isFile(e)||i.isBlob(e)?e:i.isArrayBufferView(e)?e.buffer:i.isURLSearchParams(e)?(o(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):i.isObject(e)||t&&"application/json"===t["Content-Type"]?(o(t,"application/json"),function(e,t,r){if(i.isString(e))try{return(0,JSON.parse)(e),i.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||L.transitional,r=t&&t.silentJSONParsing,a=t&&t.forcedJSONParsing,u=!r&&"json"===this.responseType;if(u||a&&i.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(u){if("SyntaxError"===e.name)throw n(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],(function(e){L.headers[e]={}})),i.forEach(["post","put","patch"],(function(e){L.headers[e]=i.merge(s)})),e.exports=L},560:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},241:e=>{e.exports={version:"0.26.1"}},95:e=>{"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),i=0;i<r.length;i++)r[i]=arguments[i];return e.apply(t,r)}}},30:(e,t,r)=>{"use strict";var i=r(44);function a(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var n;if(r)n=r(t);else if(i.isURLSearchParams(t))n=t.toString();else{var u=[];i.forEach(t,(function(e,t){null!=e&&(i.isArray(e)?t+="[]":e=[e],i.forEach(e,(function(e){i.isDate(e)?e=e.toISOString():i.isObject(e)&&(e=JSON.stringify(e)),u.push(a(t)+"="+a(e))})))})),n=u.join("&")}if(n){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e}},762:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},233:(e,t,r)=>{"use strict";var i=r(44);e.exports=i.isStandardBrowserEnv()?{write:function(e,t,r,a,n,u){var s=[];s.push(e+"="+encodeURIComponent(t)),i.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),i.isString(a)&&s.push("path="+a),i.isString(n)&&s.push("domain="+n),!0===u&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},192:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},587:(e,t,r)=>{"use strict";var i=r(44);e.exports=function(e){return i.isObject(e)&&!0===e.isAxiosError}},842:(e,t,r)=>{"use strict";var i=r(44);e.exports=i.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function a(e){var i=e;return t&&(r.setAttribute("href",i),i=r.href),r.setAttribute("href",i),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=a(window.location.href),function(t){var r=i.isString(t)?a(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},868:(e,t,r)=>{"use strict";var i=r(44);e.exports=function(e,t){i.forEach(e,(function(r,i){i!==t&&i.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[i])}))}},875:(e,t,r)=>{"use strict";var i=r(44),a=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,n,u={};return e?(i.forEach(e.split("\n"),(function(e){if(n=e.indexOf(":"),t=i.trim(e.substr(0,n)).toLowerCase(),r=i.trim(e.substr(n+1)),t){if(u[t]&&a.indexOf(t)>=0)return;u[t]="set-cookie"===t?(u[t]?u[t]:[]).concat([r]):u[t]?u[t]+", "+r:r}})),u):u}},783:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},525:(e,t,r)=>{"use strict";var i=r(241).version,a={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){a[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var n={};a.transitional=function(e,t,r){function a(e,t){return"[Axios v"+i+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,i,u){if(!1===e)throw new Error(a(i," has been removed"+(t?" in "+t:"")));return t&&!n[i]&&(n[i]=!0,console.warn(a(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,i,u)}},e.exports={assertOptions:function(e,t,r){if("object"!=typeof e)throw new TypeError("options must be an object");for(var i=Object.keys(e),a=i.length;a-- >0;){var n=i[a],u=t[n];if(u){var s=e[n],o=void 0===s||u(s,n,e);if(!0!==o)throw new TypeError("option "+n+" must be "+o)}else if(!0!==r)throw Error("Unknown option "+n)}},validators:a}},44:(e,t,r)=>{"use strict";var i=r(95),a=Object.prototype.toString;function n(e){return Array.isArray(e)}function u(e){return void 0===e}function s(e){return"[object ArrayBuffer]"===a.call(e)}function o(e){return null!==e&&"object"==typeof e}function l(e){if("[object Object]"!==a.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function L(e){return"[object Function]"===a.call(e)}function M(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),n(e))for(var r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.call(null,e[a],a,e)}e.exports={isArray:n,isArrayBuffer:s,isBuffer:function(e){return null!==e&&!u(e)&&null!==e.constructor&&!u(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"[object FormData]"===a.call(e)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&s(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:o,isPlainObject:l,isUndefined:u,isDate:function(e){return"[object Date]"===a.call(e)},isFile:function(e){return"[object File]"===a.call(e)},isBlob:function(e){return"[object Blob]"===a.call(e)},isFunction:L,isStream:function(e){return o(e)&&L(e.pipe)},isURLSearchParams:function(e){return"[object URLSearchParams]"===a.call(e)},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:M,merge:function e(){var t={};function r(r,i){l(t[i])&&l(r)?t[i]=e(t[i],r):l(r)?t[i]=e({},r):n(r)?t[i]=r.slice():t[i]=r}for(var i=0,a=arguments.length;i<a;i++)M(arguments[i],r);return t},extend:function(e,t,r){return M(t,(function(t,a){e[a]=r&&"function"==typeof t?i(t,r):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},779:(e,t)=>{var r;!function(){"use strict";var i={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var n=typeof r;if("string"===n||"number"===n)e.push(r);else if(Array.isArray(r)){if(r.length){var u=a.apply(null,r);u&&e.push(u)}}else if("object"===n){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var s in r)i.call(r,s)&&r[s]&&e.push(s)}}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(r=function(){return a}.apply(t,[]))||(e.exports=r)}()},196:e=>{"use strict";e.exports=window.React}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return r[e](n,n.exports,a),n.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(r,i){if(1&i&&(r=this(r)),8&i)return r;if("object"==typeof r&&r){if(4&i&&r.__esModule)return r;if(16&i&&"function"==typeof r.then)return r}var n=Object.create(null);a.r(n);var u={};e=e||[null,t({}),t([]),t(t)];for(var s=2&i&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>u[e]=()=>r[e]));return u.default=()=>r,a.d(n,u),n},a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;a.g.importScripts&&(e=a.g.location+"");var t=a.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");r.length&&(e=r[r.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e})(),(()=>{"use strict";const e=window.wp.element;var t=a(196),r=a.t(t,2),i=a.n(t);const n=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{d:"M5 4a1 1 0 00-2 0v7.268a2 2 0 000 3.464V16a1 1 0 102 0v-1.268a2 2 0 000-3.464V4zM11 4a1 1 0 10-2 0v1.268a2 2 0 000 3.464V16a1 1 0 102 0V8.732a2 2 0 000-3.464V4zM16 3a1 1 0 011 1v7.268a2 2 0 010 3.464V16a1 1 0 11-2 0v-1.268a2 2 0 010-3.464V4a1 1 0 011-1z"}))})),u=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-3a1 1 0 00-.867.5 1 1 0 11-1.731-1A3 3 0 0113 8a3.001 3.001 0 01-2 2.83V11a1 1 0 11-2 0v-1a1 1 0 011-1 1 1 0 100-2zm0 8a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"}))}));var s=a(779),o=a.n(s);const l=(0,t.createContext)(null),L=r=>{let{initialTabs:i,children:a}=r;const n=(e=>{const[r,i]=(0,t.useState)(e);return{tabs:r,updateTab:(e,t)=>{i((r=>r.map(((r,i)=>i===e?{...r,...t}:r))))},updateTabByName:(e,t)=>{i((r=>r.map((r=>r.name===e?{...r,...t}:r))))},updateHasIssueByName:(e,t)=>{i((r=>r.map((r=>r.name===e?{...r,hasIssue:t}:r))))}}})(i);return(0,e.createElement)(l.Provider,{value:n},a)};function M(){return M=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},M.apply(this,arguments)}var c;!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(c||(c={}));const j="popstate";function d(e,t){if(!1===e||null==e)throw new Error(t)}function N(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function y(e,t){return{usr:e.state,key:e.key,idx:t}}function m(e,t,r,i){return void 0===r&&(r=null),M({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?g(t):t,{state:r,key:t&&t.key||i||Math.random().toString(36).substr(2,8)})}function x(e){let{pathname:t="/",search:r="",hash:i=""}=e;return r&&"?"!==r&&(t+="?"===r.charAt(0)?r:"?"+r),i&&"#"!==i&&(t+="#"===i.charAt(0)?i:"#"+i),t}function g(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let i=e.indexOf("?");i>=0&&(t.search=e.substr(i),e=e.substr(0,i)),e&&(t.pathname=e)}return t}var p;function T(e,t,r){void 0===r&&(r="/");let i=A(("string"==typeof t?g(t):t).pathname||"/",r);if(null==i)return null;let a=w(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let r=e.length===t.length&&e.slice(0,-1).every(((e,r)=>e===t[r]));return r?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(a);let n=null;for(let e=0;null==n&&e<a.length;++e)n=b(a[e],k(i));return n}function w(e,t,r,i){void 0===t&&(t=[]),void 0===r&&(r=[]),void 0===i&&(i="");let a=(e,a,n)=>{let u={relativePath:void 0===n?e.path||"":n,caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};u.relativePath.startsWith("/")&&(d(u.relativePath.startsWith(i),'Absolute route path "'+u.relativePath+'" nested under path "'+i+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),u.relativePath=u.relativePath.slice(i.length));let s=G([i,u.relativePath]),o=r.concat(u);e.children&&e.children.length>0&&(d(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+s+'".'),w(e.children,t,o,s)),(null!=e.path||e.index)&&t.push({path:s,score:O(s,e.index),routesMeta:o})};return e.forEach(((e,t)=>{var r;if(""!==e.path&&null!=(r=e.path)&&r.includes("?"))for(let r of S(e.path))a(e,t,r);else a(e,t)})),t}function S(e){let t=e.split("/");if(0===t.length)return[];let[r,...i]=t,a=r.endsWith("?"),n=r.replace(/\?$/,"");if(0===i.length)return a?[n,""]:[n];let u=S(i.join("/")),s=[];return s.push(...u.map((e=>""===e?n:[n,e].join("/")))),a&&s.push(...u),s.map((t=>e.startsWith("/")&&""===t?"/":t))}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(p||(p={})),new Set(["lazy","caseSensitive","path","id","index","children"]);const E=/^:\w+$/,D=3,I=2,f=1,h=10,z=-2,C=e=>"*"===e;function O(e,t){let r=e.split("/"),i=r.length;return r.some(C)&&(i+=z),t&&(i+=I),r.filter((e=>!C(e))).reduce(((e,t)=>e+(E.test(t)?D:""===t?f:h)),i)}function b(e,t){let{routesMeta:r}=e,i={},a="/",n=[];for(let e=0;e<r.length;++e){let u=r[e],s=e===r.length-1,o="/"===a?t:t.slice(a.length)||"/",l=v({path:u.relativePath,caseSensitive:u.caseSensitive,end:s},o);if(!l)return null;Object.assign(i,l.params);let L=u.route;n.push({params:i,pathname:G([a,l.pathname]),pathnameBase:P(G([a,l.pathnameBase])),route:L}),"/"!==l.pathnameBase&&(a=G([a,l.pathnameBase]))}return n}function v(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[r,i]=function(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!0),N("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let i=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,((e,t)=>(i.push(t),"/([^\\/]+)")));return e.endsWith("*")?(i.push("*"),a+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?a+="\\/*$":""!==e&&"/"!==e&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),i]}(e.path,e.caseSensitive,e.end),a=t.match(r);if(!a)return null;let n=a[0],u=n.replace(/(.)\/+$/,"$1"),s=a.slice(1);return{params:i.reduce(((e,t,r)=>{if("*"===t){let e=s[r]||"";u=n.slice(0,n.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(r){return N(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+r+")."),e}}(s[r]||"",t),e}),{}),pathname:n,pathnameBase:u,pattern:e}}function k(e){try{return decodeURI(e)}catch(t){return N(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function A(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,i=e.charAt(r);return i&&"/"!==i?null:e.slice(r)||"/"}function Y(e,t,r,i){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(i)+"].  Please separate it out to the `to."+r+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function U(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function Q(e,t,r,i){let a;void 0===i&&(i=!1),"string"==typeof e?a=g(e):(a=M({},e),d(!a.pathname||!a.pathname.includes("?"),Y("?","pathname","search",a)),d(!a.pathname||!a.pathname.includes("#"),Y("#","pathname","hash",a)),d(!a.search||!a.search.includes("#"),Y("#","search","hash",a)));let n,u=""===e||""===a.pathname,s=u?"/":a.pathname;if(i||null==s)n=r;else{let e=t.length-1;if(s.startsWith("..")){let t=s.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}n=e>=0?t[e]:"/"}let o=function(e,t){void 0===t&&(t="/");let{pathname:r,search:i="",hash:a=""}="string"==typeof e?g(e):e,n=r?r.startsWith("/")?r:function(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)})),r.length>1?r.join("/"):"/"}(r,t):t;return{pathname:n,search:R(i),hash:F(a)}}(a,n),l=s&&"/"!==s&&s.endsWith("/"),L=(u||"."===s)&&r.endsWith("/");return o.pathname.endsWith("/")||!l&&!L||(o.pathname+="/"),o}const G=e=>e.join("/").replace(/\/\/+/g,"/"),P=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),R=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",F=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";class _ extends Error{}const q=["post","put","patch","delete"],B=(new Set(q),["get",...q]);new Set(B),new Set([301,302,303,307,308]),new Set([307,308]),"undefined"!=typeof window&&void 0!==window.document&&window.document.createElement,Symbol("deferred");const Z="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},{useState:W,useEffect:H,useLayoutEffect:V,useDebugValue:J}=t;function X(e){const t=e.getSnapshot,r=e.value;try{const e=t();return!Z(r,e)}catch(e){return!0}}"undefined"==typeof window||void 0===window.document||window.document.createElement;"useSyncExternalStore"in t&&t.useSyncExternalStore;const K=t.createContext(null),$=t.createContext(null),ee=t.createContext(null),te=t.createContext(null),re=t.createContext({outlet:null,matches:[]}),ie=t.createContext(null);function ae(){return ae=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},ae.apply(this,arguments)}function ne(){return null!=t.useContext(te)}function ue(){return ne()||d(!1),t.useContext(te).location}function se(e,r){let{relative:i}=void 0===r?{}:r,{matches:a}=t.useContext(re),{pathname:n}=ue(),u=JSON.stringify(U(a).map((e=>e.pathnameBase)));return t.useMemo((()=>Q(e,JSON.parse(u),n,"path"===i)),[e,u,n,i])}function oe(){let e=function(){var e;let r=t.useContext(ie),i=function(e){let r=t.useContext($);return r||d(!1),r}(ce.UseRouteError),a=function(e){let r=function(e){let r=t.useContext(re);return r||d(!1),r}(),i=r.matches[r.matches.length-1];return i.route.id||d(!1),i.route.id}(ce.UseRouteError);return r||(null==(e=i.errors)?void 0:e[a])}(),r=function(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),i=e instanceof Error?e.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return t.createElement(t.Fragment,null,t.createElement("h2",null,"Unexpected Application Error!"),t.createElement("h3",{style:{fontStyle:"italic"}},r),i?t.createElement("pre",{style:a},i):null,null)}class le extends t.Component{constructor(e){super(e),this.state={location:e.location,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location?{error:e.error,location:e.location}:{error:e.error||t.error,location:t.location}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error?t.createElement(re.Provider,{value:this.props.routeContext},t.createElement(ie.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Le(e){let{routeContext:r,match:i,children:a}=e,n=t.useContext(K);return n&&n.static&&n.staticContext&&(i.route.errorElement||i.route.ErrorBoundary)&&(n.staticContext._deepestRenderedBoundaryId=i.route.id),t.createElement(re.Provider,{value:r},a)}var Me,ce,je;function de(e){d(!1)}function Ne(e){let{basename:r="/",children:i=null,location:a,navigationType:n=c.Pop,navigator:u,static:s=!1}=e;ne()&&d(!1);let o=r.replace(/^\/*/,"/"),l=t.useMemo((()=>({basename:o,navigator:u,static:s})),[o,u,s]);"string"==typeof a&&(a=g(a));let{pathname:L="/",search:M="",hash:j="",state:N=null,key:y="default"}=a,m=t.useMemo((()=>{let e=A(L,o);return null==e?null:{location:{pathname:e,search:M,hash:j,state:N,key:y},navigationType:n}}),[o,L,M,j,N,y,n]);return null==m?null:t.createElement(ee.Provider,{value:l},t.createElement(te.Provider,{children:i,value:m}))}function ye(e){let{children:r,location:i}=e,a=t.useContext(K);return function(e,r){ne()||d(!1);let{navigator:i}=t.useContext(ee),a=t.useContext($),{matches:n}=t.useContext(re),u=n[n.length-1],s=u?u.params:{},o=(u&&u.pathname,u?u.pathnameBase:"/");u&&u.route;let l,L=ue();if(r){var M;let e="string"==typeof r?g(r):r;"/"===o||(null==(M=e.pathname)?void 0:M.startsWith(o))||d(!1),l=e}else l=L;let j=l.pathname||"/",N=T(e,{pathname:"/"===o?j:j.slice(o.length)||"/"}),y=function(e,r,i){if(void 0===r&&(r=[]),null==e){if(null==i||!i.errors)return null;e=i.matches}let a=e,n=null==i?void 0:i.errors;if(null!=n){let e=a.findIndex((e=>e.route.id&&(null==n?void 0:n[e.route.id])));e>=0||d(!1),a=a.slice(0,Math.min(a.length,e+1))}return a.reduceRight(((e,u,s)=>{let o=u.route.id?null==n?void 0:n[u.route.id]:null,l=null;i&&(l=u.route.ErrorBoundary?t.createElement(u.route.ErrorBoundary,null):u.route.errorElement?u.route.errorElement:t.createElement(oe,null));let L=r.concat(a.slice(0,s+1)),M=()=>{let r=e;return o?r=l:u.route.Component?r=t.createElement(u.route.Component,null):u.route.element&&(r=u.route.element),t.createElement(Le,{match:u,routeContext:{outlet:e,matches:L},children:r})};return i&&(u.route.ErrorBoundary||u.route.errorElement||0===s)?t.createElement(le,{location:i.location,component:l,error:o,children:M(),routeContext:{outlet:null,matches:L}}):M()}),null)}(N&&N.map((e=>Object.assign({},e,{params:Object.assign({},s,e.params),pathname:G([o,i.encodeLocation?i.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?o:G([o,i.encodeLocation?i.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),n,a||void 0);return r&&y?t.createElement(te.Provider,{value:{location:ae({pathname:"/",search:"",hash:"",state:null,key:"default"},l),navigationType:c.Pop}},y):y}(a&&!r?a.router.routes:xe(r),i)}!function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator"}(Me||(Me={})),function(e){e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"}(ce||(ce={})),function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}(je||(je={})),new Promise((()=>{}));class me extends t.Component{constructor(e){super(e),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){console.error("<Await> caught the following error during render",e,t)}render(){let{children:e,errorElement:t,resolve:r}=this.props,i=null,a=je.pending;if(r instanceof Promise)if(this.state.error){je.error;let e=this.state.error;Promise.reject().catch((()=>{})),Object.defineProperty(i,"_tracked",{get:()=>!0}),Object.defineProperty(i,"_error",{get:()=>e})}else r._tracked?void 0!==i._error?je.error:void 0!==i._data?je.success:je.pending:(je.pending,Object.defineProperty(r,"_tracked",{get:()=>!0}),r.then((e=>Object.defineProperty(r,"_data",{get:()=>e})),(e=>Object.defineProperty(r,"_error",{get:()=>e}))));else je.success,Promise.resolve(),Object.defineProperty(i,"_tracked",{get:()=>!0}),Object.defineProperty(i,"_data",{get:()=>r});if(a===je.error&&i._error instanceof AbortedDeferredError)throw neverSettledPromise;if(a===je.error&&!t)throw i._error;if(a===je.error)return React.createElement(AwaitContext.Provider,{value:i,children:t});if(a===je.success)return React.createElement(AwaitContext.Provider,{value:i,children:e});throw i}}function xe(e,r){void 0===r&&(r=[]);let i=[];return t.Children.forEach(e,((e,a)=>{if(!t.isValidElement(e))return;if(e.type===t.Fragment)return void i.push.apply(i,xe(e.props.children,r));e.type!==de&&d(!1),e.props.index&&e.props.children&&d(!1);let n=[...r,a],u={id:e.props.id||n.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(u.children=xe(e.props.children,n)),i.push(u)})),i}function ge(){return ge=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},ge.apply(this,arguments)}function pe(e,t){if(null==e)return{};var r,i,a={},n=Object.keys(e);for(i=0;i<n.length;i++)r=n[i],t.indexOf(r)>=0||(a[r]=e[r]);return a}const Te=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],we=["aria-current","caseSensitive","className","end","style","to","children"];function Se(e){let{basename:r,children:i,window:a}=e,n=t.useRef();var u;null==n.current&&(n.current=(void 0===(u={window:a,v5Compat:!0})&&(u={}),function(e,t,r,i){void 0===i&&(i={});let{window:a=document.defaultView,v5Compat:n=!1}=i,u=a.history,s=c.Pop,o=null,l=L();function L(){return(u.state||{idx:null}).idx}function N(){s=c.Pop;let e=L(),t=null==e?null:e-l;l=e,o&&o({action:s,location:p.location,delta:t})}function g(e){let t="null"!==a.location.origin?a.location.origin:a.location.href,r="string"==typeof e?e:x(e);return d(t,"No window.location.(origin|href) available to create URL for href: "+r),new URL(r,t)}null==l&&(l=0,u.replaceState(M({},u.state,{idx:l}),""));let p={get action(){return s},get location(){return e(a,u)},listen(e){if(o)throw new Error("A history only accepts one active listener");return a.addEventListener(j,N),o=e,()=>{a.removeEventListener(j,N),o=null}},createHref:e=>t(a,e),createURL:g,encodeLocation(e){let t=g(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){s=c.Push;let i=m(p.location,e,t);r&&r(i,e),l=L()+1;let M=y(i,l),j=p.createHref(i);try{u.pushState(M,"",j)}catch(e){a.location.assign(j)}n&&o&&o({action:s,location:p.location,delta:1})},replace:function(e,t){s=c.Replace;let i=m(p.location,e,t);r&&r(i,e),l=L();let a=y(i,l),M=p.createHref(i);u.replaceState(a,"",M),n&&o&&o({action:s,location:p.location,delta:0})},go:e=>u.go(e)};return p}((function(e,t){let{pathname:r="/",search:i="",hash:a=""}=g(e.location.hash.substr(1));return m("",{pathname:r,search:i,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){let r=e.document.querySelector("base"),i="";if(r&&r.getAttribute("href")){let t=e.location.href,r=t.indexOf("#");i=-1===r?t:t.slice(0,r)}return i+"#"+("string"==typeof t?t:x(t))}),(function(e,t){N("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),u)));let s=n.current,[o,l]=t.useState({action:s.action,location:s.location});return t.useLayoutEffect((()=>s.listen(l)),[s]),t.createElement(Ne,{basename:r,children:i,location:o.location,navigationType:o.action,navigator:s})}const Ee="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,De=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ie=t.forwardRef((function(e,r){let i,{onClick:a,relative:n,reloadDocument:u,replace:s,state:o,target:l,to:L,preventScrollReset:M}=e,c=pe(e,Te),{basename:j}=t.useContext(ee),N=!1;if("string"==typeof L&&De.test(L)&&(i=L,Ee)){let e=new URL(window.location.href),t=L.startsWith("//")?new URL(e.protocol+L):new URL(L),r=A(t.pathname,j);t.origin===e.origin&&null!=r?L=r+t.search+t.hash:N=!0}let y=function(e,r){let{relative:i}=void 0===r?{}:r;ne()||d(!1);let{basename:a,navigator:n}=t.useContext(ee),{hash:u,pathname:s,search:o}=se(e,{relative:i}),l=s;return"/"!==a&&(l="/"===s?a:G([a,s])),n.createHref({pathname:l,search:o,hash:u})}(L,{relative:n}),m=function(e,r){let{target:i,replace:a,state:n,preventScrollReset:u,relative:s}=void 0===r?{}:r,o=function(){ne()||d(!1);let{basename:e,navigator:r}=t.useContext(ee),{matches:i}=t.useContext(re),{pathname:a}=ue(),n=JSON.stringify(U(i).map((e=>e.pathnameBase))),u=t.useRef(!1);t.useEffect((()=>{u.current=!0}));let s=t.useCallback((function(t,i){if(void 0===i&&(i={}),!u.current)return;if("number"==typeof t)return void r.go(t);let s=Q(t,JSON.parse(n),a,"path"===i.relative);"/"!==e&&(s.pathname="/"===s.pathname?e:G([e,s.pathname])),(i.replace?r.replace:r.push)(s,i.state,i)}),[e,r,n,a]);return s}(),l=ue(),L=se(e,{relative:s});return t.useCallback((t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,i)){t.preventDefault();let r=void 0!==a?a:x(l)===x(L);o(e,{replace:r,state:n,preventScrollReset:u,relative:s})}}),[l,o,L,a,n,i,e,u,s])}(L,{replace:s,state:o,target:l,preventScrollReset:M,relative:n});return t.createElement("a",ge({},c,{href:i||y,onClick:N||u?a:function(e){a&&a(e),e.defaultPrevented||m(e)},ref:r,target:l}))})),fe=t.forwardRef((function(e,r){let{"aria-current":i="page",caseSensitive:a=!1,className:n="",end:u=!1,style:s,to:o,children:l}=e,L=pe(e,we),M=se(o,{relative:L.relative}),c=ue(),j=t.useContext($),{navigator:d}=t.useContext(ee),N=d.encodeLocation?d.encodeLocation(M).pathname:M.pathname,y=c.pathname,m=j&&j.navigation&&j.navigation.location?j.navigation.location.pathname:null;a||(y=y.toLowerCase(),m=m?m.toLowerCase():null,N=N.toLowerCase());let x,g=y===N||!u&&y.startsWith(N)&&"/"===y.charAt(N.length),p=null!=m&&(m===N||!u&&m.startsWith(N)&&"/"===m.charAt(N.length)),T=g?i:void 0;x="function"==typeof n?n({isActive:g,isPending:p}):[n,g?"active":null,p?"pending":null].filter(Boolean).join(" ");let w="function"==typeof s?s({isActive:g,isPending:p}):s;return t.createElement(Ie,ge({},L,{"aria-current":T,className:x,ref:r,style:w,to:o}),"function"==typeof l?l({isActive:g,isPending:p}):l)}));var he,ze;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(he||(he={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(ze||(ze={}));var Ce=a(644),Oe=a.n(Ce);const be=a.p+"images/Smirk.4b4e78cd.png",ve=["Installing and activating the plugin with ease","Connecting the plugin to Google Analytics","Disabling page_view tracking when using Google Tag Manager","Using Debug View for effective event testing and debugging","Simple email and link tracking with just a few clicks","Enabling email link tracking in General Settings and creating a Custom Dimension in Google Analytics","Tracking button clicks with class or ID attributes and custom events","Distinguishing between custom and recommended events","Applying visibility tracking to monitor your call-to-action buttons' exposure"],ke=t=>{let{feature:r,index:i}=t;return(0,e.createElement)("li",{className:"p-2 shadow rounded flex border border-grey-100/10"},i&&(0,e.createElement)("span",{className:"rounded-full w-6 h-6 bg-brand-primary text-white justify-center flex items-center"},i),(0,e.createElement)("span",{className:"ml-2 flex-1 text-base"},r))},Ae=()=>{const[r,i]=(0,t.useState)(""),[a,n]=(0,t.useState)(!1),[u,s]=(0,t.useState)(!0);return(0,e.createElement)("section",{className:"bg-white/50 py-4"},(0,e.createElement)(Yt,{showTutorial:u,showCloseButton:!1}),!a&&(0,e.createElement)("div",{className:"bg-white py-4 rounded-md border border-gray-200 my-10 mx-4 shadow-xl"},(0,e.createElement)("div",{className:""},(0,e.createElement)("div",{className:"px-4 py-5 sm:p-6"},(0,e.createElement)("h3",{className:"text-3xl mb-6 leading-10 text-gray-900 max-w-xl"},"Download the Free Goal Tracker for Google Analytics Getting Started Guide"),(0,e.createElement)("div",{className:"mt-2 max-w-xl text-gray-500 p-2"},(0,e.createElement)("p",{className:"text-xl"},"Get the most out of the Goal Tracker for Google Analytics WordPress plugin with our straightforward Getting Started Guide."),(0,e.createElement)("p",{className:"text-brand-primary text-lg"},"Learn these essential skills to improve your website tracking:"),(0,e.createElement)("ul",{role:"list",className:"list-inside p-1 mt-2"},ve.map(((t,r)=>(0,e.createElement)(ke,{key:r,feature:t,index:r+1}))))),(0,e.createElement)("form",{className:"mt-5 sm:items-center max-w-xl px-4 py-2"},(0,e.createElement)("div",{className:"text-brand-primary text-lg mb-2"},"👉 Download your FREE PDF guide here:"),(0,e.createElement)("fieldset",{className:"flex"},(0,e.createElement)("div",{className:"w-full flex"},(0,e.createElement)("label",{htmlFor:"email",className:"sr-only"},"Email"),(0,e.createElement)("input",{type:"email",name:"email",id:"email",value:r,onChange:e=>i(e.target.value),className:o()("shadow-sm ","focus:ring-indigo-500 focus:border-indigo-500 ","flex-1 text-lg","border-gray-300 rounded-l rounder-r-0 p-2"),placeholder:"you@example.com"})),(0,e.createElement)("button",{type:"submit",onClick:async function(e){e.preventDefault();let t=new FormData;t.append("fields[email]",r),await Oe()({url:"https://assets.mailerlite.com/jsonp/31991/forms/70109343150769330/subscribe",method:"POST",data:t,headers:{"Content-Type":"multipart/form-data"}}),n(!0)},className:o()("capitalize inline-flex","items-center justify-center","rounded-r","border border-transparent bg-brand-primary","px-4 py-2","text-sm font-medium text-white","shadow-sm","hover:bg-brand-600","focus:outline-none focus:ring-2 focus:ring-brand-primary-focus focus:ring-offset-2","transform active:scale-75 hover:scale-105 transition-transform")},"Download")))))),a&&(0,e.createElement)("div",{className:"min-h-full pt-16 pb-12 flex flex-col bg-white"},(0,e.createElement)("main",{className:"flex-grow flex flex-col justify-center max-w-7xl w-full mx-auto px-4 sm:px-6 lg:px-8"},(0,e.createElement)("div",{className:"flex-shrink-0 flex justify-center"},(0,e.createElement)("span",{className:"sr-only"},"Workflow"),(0,e.createElement)("img",{className:"h-28 w-auto",src:be,alt:""})),(0,e.createElement)("div",{className:"py-16"},(0,e.createElement)("div",{className:"text-center"},(0,e.createElement)("h1",{className:"mt-2 text-2xl font-extrabold text-gray-900 tracking-tight sm:text-4xl"},"Check your inbox for the Getting Started Guide"),(0,e.createElement)("div",{className:"mt-6"})))),(0,e.createElement)("footer",{className:"flex-shrink-0 max-w-7xl w-full mx-auto px-4 sm:px-6 lg:px-8"})))};t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{fillRule:"evenodd",d:"M6 2a1 1 0 00-1 1v1H4a2 2 0 00-2 2v10a2 2 0 002 2h12a2 2 0 002-2V6a2 2 0 00-2-2h-1V3a1 1 0 10-2 0v1H7V3a1 1 0 00-1-1zm0 5a1 1 0 000 2h8a1 1 0 100-2H6z",clipRule:"evenodd"}))}));const Ye="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iTGF5ZXJfMSIKICB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHZpZXdCb3g9IjAgMCA5NDkuNTQgM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kgc2NhbGUoMS4xKSIgeGxpbms6aHJlZj0iI05vQ29kZS1HYTQiLz4KICA8dXNlIHdpZHRoPSI1NjkuNTQiIGhlaWdodD0iODMuOTEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDI4Mi43MiAyNy40NykiIHhsaW5rOmhyZWY9IiNMb2dvLUdvYWxUcmFja2VyIi8+Cjwvc3ZnPg==";function Ue(){return(0,e.createElement)("div",{"data-component":"PluginHeader",className:o()("flex items-center justify-between","pb-5 pt-10 px-4 xl:px-8")},(0,e.createElement)("img",{className:"w-64 md:w-72 xl:w-96 h-full",src:Ye}),!1)}a.p;const Qe=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{fillRule:"evenodd",d:"M10.293 3.293a1 1 0 011.414 0l6 6a1 1 0 010 1.414l-6 6a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-4.293-4.293a1 1 0 010-1.414z",clipRule:"evenodd"}))})),Ge="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxODIuNjMgMTU4LjIyIj4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLmNscy0xIHsKICAgICAgICBmaWxsOiAjZmZmOwogICAgICB9CgogICAgICAuY2xzLTIgewogICAgICAgIGZpbGw6ICNmZmQ0MDA7CiAgICAgIH0KCiAgICAgIC5jbHMtMyB7CiAgICAgICAgZmlsbDogI2VmM2UyZjsKICAgICAgfQoKICAgICAgLmNscy00IHsKICAgICAgICBmaWxsOiAjODY4ZDkzOwogICAgICB9CiAgICA8L3N0eWxlPgogIDwvZGVmcz4KIC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yLjU0LDEuMjItLjU0LDYuMjQtLjU0LDYuMjQsMCwwLTQuNi0yLjctNi4xLS4zMi0xLjUxLDIuMzctLjU4LDguMjcsMTEuODcsNi42NSwzLjA2LTEyLjE3LTIuNjktMTMuNzgtNS4yMi0xMi41NmgwWiIvPgo8L3N2Zz4=",Pe=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"}))})),Re=()=>(0,e.createElement)("span",{className:"whitespace-pre"},(0,e.createElement)(Pe,{className:"h-3 w-3 inline","aria-hidden":"true"}),(0,e.createElement)(Pe,{className:"h-3 w-3 inline","aria-hidden":"true"}),(0,e.createElement)(Pe,{className:"h-3 w-3 inline","aria-hidden":"true"}),(0,e.createElement)(Pe,{className:"h-3 w-3 inline","aria-hidden":"true"}),(0,e.createElement)(Pe,{className:"h-3 w-3 inline","aria-hidden":"true"}));function Fe(...e){return e.filter(Boolean).join(" ")}function _e(e,t,...r){if(e in t){let i=t[e];return"function"==typeof i?i(...r):i}let i=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(i,_e),i}var qe=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(qe||{}),Be=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Be||{});function Ze({ourProps:e,theirProps:t,slot:r,defaultTag:i,features:a,visible:n=!0,name:u}){let s=He(t,e);if(n)return We(s,r,i,u);let o=null!=a?a:0;if(2&o){let{static:e=!1,...t}=s;if(e)return We(t,r,i,u)}if(1&o){let{unmount:e=!0,...t}=s;return _e(e?0:1,{0:()=>null,1:()=>We({...t,hidden:!0,style:{display:"none"}},r,i,u)})}return We(s,r,i,u)}function We(e,r={},i,a){var n;let{as:u=i,children:s,refName:o="ref",...l}=Xe(e,["unmount","static"]),L=void 0!==e.ref?{[o]:e.ref}:{},M="function"==typeof s?s(r):s;"className"in l&&l.className&&"function"==typeof l.className&&(l.className=l.className(r));let c={};if(r){let e=!1,t=[];for(let[i,a]of Object.entries(r))"boolean"==typeof a&&(e=!0),!0===a&&t.push(i);e&&(c["data-headlessui-state"]=t.join(" "))}if(u===t.Fragment&&Object.keys(Je(l)).length>0){if(!(0,t.isValidElement)(M)||Array.isArray(M)&&M.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${a} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(l).map((e=>`  - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>`  - ${e}`)).join("\n")].join("\n"));let e=Fe(null==(n=M.props)?void 0:n.className,l.className),r=e?{className:e}:{};return(0,t.cloneElement)(M,Object.assign({},He(M.props,Je(Xe(l,["ref"]))),c,L,function(...e){return{ref:e.every((e=>null==e))?void 0:t=>{for(let r of e)null!=r&&("function"==typeof r?r(t):r.current=t)}}}(M.ref,L.ref),r))}return(0,t.createElement)(u,Object.assign({},Xe(l,["ref"]),u!==t.Fragment&&L,u!==t.Fragment&&c),M)}function He(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},r={};for(let i of e)for(let e in i)e.startsWith("on")&&"function"==typeof i[e]?(null!=r[e]||(r[e]=[]),r[e].push(i[e])):t[e]=i[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(r).map((e=>[e,void 0]))));for(let e in r)Object.assign(t,{[e](t,...i){let a=r[e];for(let e of a){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;e(t,...i)}}});return t}function Ve(e){var r;return Object.assign((0,t.forwardRef)(e),{displayName:null!=(r=e.displayName)?r:e.name})}function Je(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function Xe(e,t=[]){let r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}let Ke=(0,t.createContext)(null);Ke.displayName="OpenClosedContext";var $e=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))($e||{});function et(){return(0,t.useContext)(Ke)}function tt({value:e,children:r}){return t.createElement(Ke.Provider,{value:e},r)}var rt=Object.defineProperty,it=(e,t,r)=>(((e,t,r)=>{t in e?rt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r})(e,"symbol"!=typeof t?t+"":t,r),r);let at=new class{constructor(){it(this,"current",this.detect()),it(this,"handoffState","pending"),it(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}},nt=(e,r)=>{at.isServer?(0,t.useEffect)(e,r):(0,t.useLayoutEffect)(e,r)};function ut(){let e=(0,t.useRef)(!1);return nt((()=>(e.current=!0,()=>{e.current=!1})),[]),e}function st(e){let r=(0,t.useRef)(e);return nt((()=>{r.current=e}),[e]),r}function ot(){let[e,r]=(0,t.useState)(at.isHandoffComplete);return e&&!1===at.isHandoffComplete&&r(!1),(0,t.useEffect)((()=>{!0!==e&&r(!0)}),[e]),(0,t.useEffect)((()=>at.handoff()),[]),e}let lt=function(e){let r=st(e);return t.useCallback(((...e)=>r.current(...e)),[r])},Lt=Symbol();function Mt(e,t=!0){return Object.assign(e,{[Lt]:t})}function ct(...e){let r=(0,t.useRef)(e);(0,t.useEffect)((()=>{r.current=e}),[e]);let i=lt((e=>{for(let t of r.current)null!=t&&("function"==typeof t?t(e):t.current=e)}));return e.every((e=>null==e||(null==e?void 0:e[Lt])))?void 0:i}function jt(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}function dt(){let e=[],t={addEventListener:(e,r,i,a)=>(e.addEventListener(r,i,a),t.add((()=>e.removeEventListener(r,i,a)))),requestAnimationFrame(...e){let r=requestAnimationFrame(...e);return t.add((()=>cancelAnimationFrame(r)))},nextFrame:(...e)=>t.requestAnimationFrame((()=>t.requestAnimationFrame(...e))),setTimeout(...e){let r=setTimeout(...e);return t.add((()=>clearTimeout(r)))},microTask(...e){let r={current:!0};return jt((()=>{r.current&&e[0]()})),t.add((()=>{r.current=!1}))},style(e,t,r){let i=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:r}),this.add((()=>{Object.assign(e.style,{[t]:i})}))},group(e){let t=dt();return e(t),this.add((()=>t.dispose()))},add:t=>(e.push(t),()=>{let r=e.indexOf(t);if(r>=0)for(let t of e.splice(r,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}function Nt(e,...t){e&&t.length>0&&e.classList.add(...t)}function yt(e,...t){e&&t.length>0&&e.classList.remove(...t)}function mt(){let[e]=(0,t.useState)(dt);return(0,t.useEffect)((()=>()=>e.dispose()),[e]),e}function xt({container:e,direction:t,classes:r,onStart:i,onStop:a}){let n=ut(),u=mt(),s=st(t);nt((()=>{let t=dt();u.add(t.dispose);let o=e.current;if(o&&"idle"!==s.current&&n.current)return t.dispose(),i.current(s.current),t.add(function(e,t,r,i){let a=r?"enter":"leave",n=dt(),u=void 0!==i?function(e){let t={called:!1};return(...r)=>{if(!t.called)return t.called=!0,e(...r)}}(i):()=>{};"enter"===a&&(e.removeAttribute("hidden"),e.style.display="");let s=_e(a,{enter:()=>t.enter,leave:()=>t.leave}),o=_e(a,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),l=_e(a,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return yt(e,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),Nt(e,...s,...l),n.nextFrame((()=>{yt(e,...l),Nt(e,...o),function(e,t){let r=dt();if(!e)return r.dispose;let{transitionDuration:i,transitionDelay:a}=getComputedStyle(e),[n,u]=[i,a].map((e=>{let[t=0]=e.split(",").filter(Boolean).map((e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e))).sort(((e,t)=>t-e));return t})),s=n+u;if(0!==s){r.group((r=>{r.setTimeout((()=>{t(),r.dispose()}),s),r.addEventListener(e,"transitionrun",(e=>{e.target===e.currentTarget&&r.dispose()}))}));let i=r.addEventListener(e,"transitionend",(e=>{e.target===e.currentTarget&&(t(),i())}))}else t();r.add((()=>t())),r.dispose}(e,(()=>(yt(e,...s),Nt(e,...t.entered),u())))})),n.dispose}(o,r.current,"enter"===s.current,(()=>{t.dispose(),a.current(s.current)}))),t.dispose}),[t])}function gt(e=""){return e.split(" ").filter((e=>e.trim().length>1))}let pt=(0,t.createContext)(null);pt.displayName="TransitionContext";var Tt=(e=>(e.Visible="visible",e.Hidden="hidden",e))(Tt||{});let wt=(0,t.createContext)(null);function St(e){return"children"in e?St(e.children):e.current.filter((({el:e})=>null!==e.current)).filter((({state:e})=>"visible"===e)).length>0}function Et(e,r){let i=st(e),a=(0,t.useRef)([]),n=ut(),u=mt(),s=lt(((e,t=Be.Hidden)=>{let r=a.current.findIndex((({el:t})=>t===e));-1!==r&&(_e(t,{[Be.Unmount](){a.current.splice(r,1)},[Be.Hidden](){a.current[r].state="hidden"}}),u.microTask((()=>{var e;!St(a)&&n.current&&(null==(e=i.current)||e.call(i))})))})),o=lt((e=>{let t=a.current.find((({el:t})=>t===e));return t?"visible"!==t.state&&(t.state="visible"):a.current.push({el:e,state:"visible"}),()=>s(e,Be.Unmount)})),l=(0,t.useRef)([]),L=(0,t.useRef)(Promise.resolve()),M=(0,t.useRef)({enter:[],leave:[],idle:[]}),c=lt(((e,t,i)=>{l.current.splice(0),r&&(r.chains.current[t]=r.chains.current[t].filter((([t])=>t!==e))),null==r||r.chains.current[t].push([e,new Promise((e=>{l.current.push(e)}))]),null==r||r.chains.current[t].push([e,new Promise((e=>{Promise.all(M.current[t].map((([e,t])=>t))).then((()=>e()))}))]),"enter"===t?L.current=L.current.then((()=>null==r?void 0:r.wait.current)).then((()=>i(t))):i(t)})),j=lt(((e,t,r)=>{Promise.all(M.current[t].splice(0).map((([e,t])=>t))).then((()=>{var e;null==(e=l.current.shift())||e()})).then((()=>r(t)))}));return(0,t.useMemo)((()=>({children:a,register:o,unregister:s,onStart:c,onStop:j,wait:L,chains:M})),[o,s,a,c,j,M,L])}function Dt(){}wt.displayName="NestingContext";let It=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function ft(e){var t;let r={};for(let i of It)r[i]=null!=(t=e[i])?t:Dt;return r}let ht=qe.RenderStrategy,zt=Ve((function(e,r){let{show:i,appear:a=!1,unmount:n,...u}=e,s=(0,t.useRef)(null),o=ct(s,r);ot();let l=et();if(void 0===i&&null!==l&&(i=(l&$e.Open)===$e.Open),![!0,!1].includes(i))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[L,M]=(0,t.useState)(i?"visible":"hidden"),c=Et((()=>{M("hidden")})),[j,d]=(0,t.useState)(!0),N=(0,t.useRef)([i]);nt((()=>{!1!==j&&N.current[N.current.length-1]!==i&&(N.current.push(i),d(!1))}),[N,i]);let y=(0,t.useMemo)((()=>({show:i,appear:a,initial:j})),[i,a,j]);(0,t.useEffect)((()=>{if(i)M("visible");else if(St(c)){let e=s.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&M("hidden")}else M("hidden")}),[i,c]);let m={unmount:n};return t.createElement(wt.Provider,{value:c},t.createElement(pt.Provider,{value:y},Ze({ourProps:{...m,as:t.Fragment,children:t.createElement(Ct,{ref:o,...m,...u})},theirProps:{},defaultTag:t.Fragment,features:ht,visible:"visible"===L,name:"Transition"})))})),Ct=Ve((function(e,r){let{beforeEnter:i,afterEnter:a,beforeLeave:n,afterLeave:u,enter:s,enterFrom:o,enterTo:l,entered:L,leave:M,leaveFrom:c,leaveTo:j,...d}=e,N=(0,t.useRef)(null),y=ct(N,r),m=d.unmount?Be.Unmount:Be.Hidden,{show:x,appear:g,initial:p}=function(){let e=(0,t.useContext)(pt);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[T,w]=(0,t.useState)(x?"visible":"hidden"),S=function(){let e=(0,t.useContext)(wt);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:E,unregister:D}=S,I=(0,t.useRef)(null);(0,t.useEffect)((()=>E(N)),[E,N]),(0,t.useEffect)((()=>{if(m===Be.Hidden&&N.current)return x&&"visible"!==T?void w("visible"):_e(T,{hidden:()=>D(N),visible:()=>E(N)})}),[T,N,E,D,x,m]);let f=st({enter:gt(s),enterFrom:gt(o),enterTo:gt(l),entered:gt(L),leave:gt(M),leaveFrom:gt(c),leaveTo:gt(j)}),h=function(e){let r=(0,t.useRef)(ft(e));return(0,t.useEffect)((()=>{r.current=ft(e)}),[e]),r}({beforeEnter:i,afterEnter:a,beforeLeave:n,afterLeave:u}),z=ot();(0,t.useEffect)((()=>{if(z&&"visible"===T&&null===N.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}),[N,T,z]);let C=p&&!g,O=!z||C||I.current===x?"idle":x?"enter":"leave",b=function(e=0){let[r,i]=(0,t.useState)(e),a=(0,t.useCallback)((e=>i((t=>t|e))),[r]),n=(0,t.useCallback)((e=>Boolean(r&e)),[r]),u=(0,t.useCallback)((e=>i((t=>t&~e))),[i]),s=(0,t.useCallback)((e=>i((t=>t^e))),[i]);return{flags:r,addFlag:a,hasFlag:n,removeFlag:u,toggleFlag:s}}(0),v=lt((e=>_e(e,{enter:()=>{b.addFlag($e.Opening),h.current.beforeEnter()},leave:()=>{b.addFlag($e.Closing),h.current.beforeLeave()},idle:()=>{}}))),k=lt((e=>_e(e,{enter:()=>{b.removeFlag($e.Opening),h.current.afterEnter()},leave:()=>{b.removeFlag($e.Closing),h.current.afterLeave()},idle:()=>{}}))),A=Et((()=>{w("hidden"),D(N)}),S);xt({container:N,classes:f,direction:O,onStart:st((e=>{A.onStart(N,e,v)})),onStop:st((e=>{A.onStop(N,e,k),"leave"===e&&!St(A)&&(w("hidden"),D(N))}))}),(0,t.useEffect)((()=>{C&&(m===Be.Hidden?I.current=null:I.current=x)}),[x,C,T]);let Y=d,U={ref:y};return g&&x&&at.isServer&&(Y={...Y,className:Fe(d.className,...f.current.enter,...f.current.enterFrom)}),t.createElement(wt.Provider,{value:A},t.createElement(tt,{value:_e(T,{visible:$e.Open,hidden:$e.Closed})|b.flags},Ze({ourProps:U,theirProps:Y,defaultTag:"div",features:ht,visible:"visible"===T,name:"Transition.Child"})))})),Ot=Ve((function(e,r){let i=null!==(0,t.useContext)(pt),a=null!==et();return t.createElement(t.Fragment,null,!i&&a?t.createElement(zt,{ref:r,...e}):t.createElement(Ct,{ref:r,...e}))})),bt=Object.assign(zt,{Child:Ot,Root:zt});function vt(){return(0,e.createElement)("footer",{"data-component":"PluginFooter",className:o()("bg-gray-100/75 shadow-lg rounded-b-lg",{"pt-8 pb-4":!0})},(0,e.createElement)("div",{className:"px-8 py-4"},!1,(0,e.createElement)("div",{className:"flex items-center text-base"},(0,e.createElement)("img",{className:"h-20 w-auto mr-6",src:Ge}),(0,e.createElement)("div",{className:"flex-1"},"We'd be super grateful if you could help us spread the word about"," ",(0,e.createElement)("strong",null,"GoalTracker")," and give it a",(0,e.createElement)("a",{className:"text-brand-primary px-1 py-0.5 border border-brand-primary/10 rounded mx-1",target:"_blank",href:"https://wordpress.org/support/plugin/goal-tracker-ga/reviews/#new-post"},(0,e.createElement)(Re,null)," star rating"),"on WordPress?"),(0,e.createElement)("a",{type:"button",href:"https://wordpress.org/support/plugin/goal-tracker-ga/reviews/#new-post",target:"_blank",className:o()("ml-4","capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent ","bg-white text-brand-primary","px-4 py-2","text-sm font-medium","shadow hover:shadow-xl","transform active:scale-75 hover:scale-110 transition-transform","hover:ring-2 hover:ring-white hover:ring-offset-2","focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2")},(0,e.createElement)("span",{className:"mx-2"},"Rate us"," ",(0,e.createElement)(Re,null)),(0,e.createElement)(Qe,{className:"h-5 w-5","aria-hidden":"true"})))))}(0,e.createElement)(e.Fragment,null,"Rate us"," ",(0,e.createElement)(Re,null)),(0,e.createElement)(e.Fragment,null,"Rate us"," ",(0,e.createElement)(Re,null)),(0,e.createElement)(e.Fragment,null,"Rate us"," ",(0,e.createElement)(Re,null));const kt=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"}))})),{apiFetch:At}=wp;function Yt(r){let{showTutorial:i,showCloseButton:a}=r;const[n,u]=(0,t.useState)(i);return(0,t.useEffect)((()=>{u(i)}),[i]),(0,e.createElement)(e.Fragment,null,(0,e.createElement)(bt,{show:n,appear:!0,enter:"transition-opacity duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"transition-opacity duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{"data-component":"GeneralSettingsTutorial",className:"bg-white py-4 rounded-md border border-gray-200 my-10 mx-4 shadow-xl"},(0,e.createElement)("div",{className:""},(0,e.createElement)("div",{className:"px-4 pb-5"},(0,e.createElement)("div",{className:"mt-2 sm:flex sm:items-start sm:justify-between"},(0,e.createElement)("div",{className:"max-w-xl text-sm text-gray-500"},(0,e.createElement)("h3",{className:"text-3xl mb-6 leading-6 font-medium text-gray-900"},"Using the plugin for the first time?"),(0,e.createElement)("div",{className:"mt-2 text-xl"},"Watch our getting started guide video to get the plugin up and running on your website."),(0,e.createElement)("div",{className:"pt-3"},(0,e.createElement)("iframe",{width:"576",height:"360",src:"https://www.youtube.com/embed/X35iJBkwQeU",title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0}))),a&&(0,e.createElement)("div",{className:"ml-3 flex h-7 items-center"},(0,e.createElement)("button",{type:"button",className:"rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-indigo-500",onClick:()=>(async()=>{u(!1),await At({path:wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/hide_gs_tutorial_section",method:"POST",data:{hideGeneralSettingsTutorial:!0}})})()},(0,e.createElement)("span",{className:"sr-only"},"Close panel"),(0,e.createElement)(kt,{className:"h-6 w-6","aria-hidden":"true"})))))))))}const Ut=t=>{const{children:r,id:i,label:a,description:n,isPrimary:u}=t;return(0,e.createElement)("fieldset",{"data-component":"Fieldset",role:"group","aria-labelledby":"label-track-Links",className:o()("sm:grid sm:grid-cols-3 sm:gap-4","sm:items-start","sm:border-t sm:border-gray-200 sm:pt-5")},(0,e.createElement)("label",{htmlFor:i,className:o()("font-medium text-gray-900",u?"text-base md:text-2xl":"text-sm md:text-base"),id:`label-${i}`},a,(0,e.createElement)("p",{className:"text-gray-500 mt-4 text-sm"},n)),r&&(0,e.createElement)("div",{className:"mt-4 sm:mt-0 sm:col-span-2"},r))},Qt=t=>{const r=t.children;return(0,e.createElement)("div",{"data-component":"FieldsetGroup",className:o()("mt-6 sm:mt-5","space-y-6 sm:space-y-5","divide-y divide-gray-200")},r)},Gt=t=>{const r=t.children;return(0,e.createElement)("section",{"data-component":"Section",className:o()("w-full","py-10 px-6","space-y-8","divide-y divide-gray-200 rounded-md","border border-gray-200","bg-white shadow")},r)},Pt=(0,t.createContext)({open:!1,setOpenHelpSlider:()=>{},setComponent:()=>{},setTitleHelpSlider:()=>{}}),Rt=()=>(0,t.useContext)(Pt);var Ft=a(977),_t=a.n(Ft);const qt=t=>{const{children:r,title:i,titleHelper:a,helpComponent:n,helpTitle:u,beta:s}=t,{setOpenHelpSlider:o,setTitleHelpSlider:l,setComponent:L}=Rt();return(0,e.createElement)("header",{"data-component":"HeaderTitle"},(0,e.createElement)("div",{className:"flex items-center"},(0,e.createElement)("h3",{className:"text-2xl leading-6 font-medium text-gray-900"},i),n&&(0,e.createElement)("button",{onClick:()=>{n&&u&&(l(u),L(n),o(!0))}},(0,e.createElement)(_t(),{className:"h-8 w-8 ml-2 inline hover:text-brand-primary","aria-hidden":"true"})),s&&(0,e.createElement)("span",{className:"ml-2 py-0.5 bold py-1 px-2 rounded-full border border-brand-danger border-px inline hover:text-brand-danger text-brand-danger","aria-hidden":"true"},"BETA")),(0,e.createElement)("p",{className:"mt-2 max-w-2xl text-base text-gray-600"},a),r)},Bt="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMjggMTI4Ij4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLmNscy0xIHsKICAgICAgICBmaWxsOiAjZjdmN2Y3OwogICAgICB9CgogICAgICAuY2xzLTIgewogICAgICAgIGZpbGw6ICNlZjNlMmY7CiAgICAgIH0KICA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Mi0yLjE1LDQuOTctNC44LjAzLTEuNSwxLjI2LTIuNzEsMi43Ni0yLjcxLjIyLDAsLjM4LjAyLjU0LjA1LDEuMzEuMjYsMi4yNCwxLjQyLDIuMjEsMi43NS0uMSw1LjY0LTQuNzcsMTAuMjMtMTAuNDEsMTAuMjMsMCwwLS4xOSwwLS4xOSwwWiIgZmlsbD0iI2Y4ZjhmOCIgc3Ryb2tlLXdpZHRoPSIwIi8+PC9zdmc+";let Vt=[{id:1,title:"Track Video & Audio",text:"Experience Advanced Video and Audio Tracking for Comprehensive Analytics Insights",class:"bg-slate-800",buttonAction:"Get Pro Features",imageSrc:Zt},{id:2,title:"Placeholders",text:"Access Dynamic Placeholders for Advanced Data Capture and Improved Event Tracking",class:"bg-slate-800",buttonAction:"Get Pro Features",imageSrc:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMzkuMzUgMTE4LjA1Ij4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLmNscy0xIHsKICAgICAgICBmaWxsOiAjZjdmN2Y3OwogICAgICB9CgogICAgICAuY2xzLTIgewogICAgICAgIGZpbGw6ICNlZjNlMmY7CiAgICAgIH0KICAgIDwvc3R5bGU+CiAgPC9kZWZzPgogIDxnPgogICAgPHBhdGggY2xhc3M9ImNscy0xIiBkPSJtNzIuMjcsODIuODVjLTcuNTMsMC0xNi4zNC0yLjA0LTIzLjMtNy4xNC02LjY2LTQuODctMTAuNjUtMTEuOTQtMTEuNTUtMjAuNDItMi41NS0yMy45OCwxOC4zOS0zMy45NCwyOS44MS0zNS44NWgwYzkuNzgtMS42NCwyMS4xMy45NywyOC45MSw2LjY2LDYuNTEsNC43NiwxMC41NiwxMS41NSwxMS43Miwx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uMTgsMTIuMzMuMywzLjMyLDMuNDgsMy4xOCw5LjAxLS4zLDEyLjMzLTEuMDIuOTctMi41NywxLjA1LTMuNjcuMjVaIi8+CiAgPC9nPgo8L3N2Zz4="},{id:3,title:"Track Logged-In Users",text:"Gain valuable insights into your audience and improve your marketing strategies, user experience, and overall website performance.",class:"bg-slate-800",buttonAction:"Get Pro Features",imageSrc:Bt}];function Jt(){const[r,a]=(0,t.useState)(Math.floor(3*Math.random())+1);return(0,t.useEffect)((()=>{const e=document.querySelector(".toplevel_page_wpcf7"),t=document.querySelector(".toplevel_page_woocommerce");e&&(Vt.unshift({id:0,title:"Contact Form 7 Tracking",text:"Our Contact Form 7 integration allows you to track your forms and set conversions.",class:"bg-slate-800",buttonAction:"Get Pro Features",imageSrc:Wt}),a(0)),t&&(Vt.unshift({id:0,title:"WooCommerce Tracking",text:"Add Google Analytics tracking to your WooCommerce store and start getting actionable insights.",class:"bg-slate-800",buttonAction:"Get Pro Features",imageSrc:Ht}),a(0))}),[]),(0,t.useEffect)((()=>{const e=setInterval((()=>{const e=r===Vt.length?1:r+1;a(e)}),45e3);return()=>{clearInterval(e)}}),[r]),(0,e.createElement)("div",{"data-component":"SliderBanner",className:"relative h-32 bg-slate-800 overflow-hidden"},(0,e.createElement)("div",{className:"overflow-hidden h-full"},Vt.map((t=>(0,e.createElement)(bt,{key:t.id,show:r===t.id,enter:"transition-transform duration-500",enterFrom:"translate-x-full",enterTo:"translate-x-0",leave:"transition-transform duration-500",leaveFrom:"translate-x-0",leaveTo:"-translate-x-full"},(0,e.createElement)("div",{className:o()("flex items-center px-4 text-white pt-5 overflow-hidden",t.class)},t.imageSrc&&(0,e.createElement)("img",{className:"object-cover w-auto h-24 mr-2",src:t.imageSrc,alt:t.title}),(0,e.createElement)("div",{className:"flex-1 flex flex-col ml-4"},t.title&&(0,e.createElement)("div",{className:"text-2xl mt-2"},t.title),t.text&&(0,e.createElement)("div",{className:"text-base opacity-80"},t.text)),(0,e.createElement)("a",{href:wpGoalTrackerGa.upgradeUrl,type:"button",className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent","bg-white text-brand-primary","px-4 py-2","text-sm font-medium","shadow hover:shadow-xl","transform active:scale-75 hover:scale-110 transition-transform","hover:ring-2 hover:ring-white hover:ring-offset-2","focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2")},(0,e.createElement)("span",{className:"mx-2"},t.buttonAction),(0,e.createElement)(Qe,{className:"h-5 w-5","aria-hidden":"true"}))))))),(0,e.createElement)("div",{className:"absolute bottom-1 left-0 right-0 flex items-center justify-center mb-2 mt-0.5 space-x-2"},Vt.map((t=>(0,e.createElement)(i().Fragment,{key:t.id},(0,e.createElement)("button",{onClick:()=>{return e=t.id,void a(e);var e},className:(r===t.id?"bg-white w-3 h-3":"bg-gray-200 w-2 h-2")+" rounded-full focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-500"}))))))}const Xt=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{fillRule:"evenodd",d:"M10 3a1 1 0 011 1v5h5a1 1 0 110 2h-5v5a1 1 0 11-2 0v-5H4a1 1 0 110-2h5V4a1 1 0 011-1z",clipRule:"evenodd"}))})),Kt=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm1-11a1 1 0 10-2 0v2H7a1 1 0 100 2h2v2a1 1 0 102 0v-2h2a1 1 0 100-2h-2V7z",clipRule:"evenodd"}))})),$t=(0,t.createContext)({navLinks:[]}),er=t=>{let{children:r,navLinks:i}=t;return(0,e.createElement)($t.Provider,{value:{navLinks:i}},r)};function tr(e){const{hash:t}=location;return e===t}const rr=r=>{let{setAddCustomEventForm:i,setAddRecommendedEventForm:a}=r;const{navLinks:n}=(0,t.useContext)($t);return(0,e.createElement)("header",{"data-component":"EventsTableHeader",className:"flex flex-col xl:flex-row items-center bg-white py-4 px-8 shadow-lg"},(0,e.createElement)("div",{className:"divide divide-x flex items-center rounded-full border-brand-primary xl:mr-2 shadow-3xl w-full"},n.map(((t,r)=>((t,r)=>{const i=tr(`#${t.path}`)||t.default&&tr("#/tracker");return(0,e.createElement)(fe,{key:r,className:o()(i?"bg-brand-600 hover:text-white cursor-default text-white":"bg-brand-600/20 text-brand-500 hover:bg-brand-primary hover:text-white border-brand-600","text-base xl:text-xl",0===r&&"rounded-l-full",r===n.length-1&&"rounded-r-full","px-6","py-1","uppercase"),to:t.path},t.label)})(t,r)))),(0,e.createElement)("div",{className:"xl:flex-1"}),(0,e.createElement)("fieldset",{"data-component":"button-group",className:"space-x-4 mt-8 xl:mt-0 flex justify-end w-full"},(0,e.createElement)("button",{onClick:()=>{i(!0)},type:"button",className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent bg-brand-primary","px-4 py-2","text-sm font-medium text-white","shadow-sm","hover:bg-brand-600 shadow hover:shadow-xl active:shadow-xl","focus:outline-none focus:ring-2 focus:ring-brand-primary-focus focus:ring-offset-2","transform active:scale-75 hover:scale-105 transition-transform")},(0,e.createElement)(Xt,{className:"h-5 w-5","aria-hidden":"true"}),(0,e.createElement)("span",{className:"mx-2"},"Add Event")),(0,e.createElement)("button",{onClick:()=>{a(!0)},type:"button",className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent bg-brand-primary","px-4 py-2","text-sm font-medium text-white","shadow-sm","hover:bg-brand-600 shadow hover:shadow-xl active:shadow-xl","focus:outline-none focus:ring-2 focus:ring-brand-primary-focus focus:ring-offset-2","transform active:scale-75 hover:scale-105 transition-transform")},(0,e.createElement)(Kt,{className:"h-5 w-5","aria-hidden":"true"}),(0,e.createElement)("span",{className:"mx-2"},"Add Recommended Event"))))},ir=(0,t.createContext)(void 0),ar=r=>{let{children:i}=r;const[a,n]=(0,t.useState)(!1);return(0,e.createElement)(ir.Provider,{value:{showPromo:a,setShowPromo:n}},i)};function nr(){const e=(0,t.useContext)(ir);if(!e)throw new Error("usePromoContext must be used within a PromoContextProvider");return e}const ur=()=>{const r=ue(),i=(0,t.useContext)(l),{showPromo:a}=nr();if(!i)throw new Error("ChildComponent must be used within a TabContextProvider");const{pathname:n}=r,u=n.split("#");return(0,e.createElement)("header",{"data-component":"PluginNav"},(0,e.createElement)(Ue,null),(0,e.createElement)("div",{className:o()("sm:block","")},(0,e.createElement)("nav",{className:o()("relative"," z-50 flex","space-x-1"),"aria-label":"Tabs"},i.tabs.map(((t,r)=>(0,e.createElement)(fe,{"aria-label":t.name.toString(),title:t.name.toString(),to:t.href,key:t.name.toString(),className:o()("group relative","flex items-center",{"flex-1":t.primary},u[0].includes(t.href)||t.rootTab&&"/"===u[0]?"bg-white text-brand-primary border-t-2 border-x border-black -mt-2 h-18 focus:border-none":"bg-white/60 text-grey-800 h-16","focus:z-10","flex items-center","group relative","border-transparent border-t-4 border-x-2 border-b-0","focus:border-transparent focus:ring-0","active:border-b-0","hover:border-t-4 hover:border-black/90","px-4","text-sm font-medium text-center","rounded-t-lg",""),"aria-current":u[0].includes(t.href)?"page":void 0},t.hasIssue&&(0,e.createElement)("span",{className:"w-4 h-4 absolute bg-red-600 rounded-full -top-1 -left-2"}),t.icon?t.icon:(0,e.createElement)("span",{"data-component":"tab-title",className:o()("text-xl uppercase flex-1",{"sr-only":t.showTitle})},t.name))))),a&&!tr("#/pro")&&(0,e.createElement)(Jt,null)))},sr=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{d:"M13.586 3.586a2 2 0 112.828 2.828l-.793.793-2.828-2.828.793-.793zM11.379 5.793L3 14.172V17h2.828l8.38-8.379-2.83-2.828z"}))})),or=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{fillRule:"evenodd",d:"M9 2a1 1 0 00-.894.553L7.382 4H4a1 1 0 000 2v10a2 2 0 002 2h8a2 2 0 002-2V6a1 1 0 100-2h-3.382l-.724-1.447A1 1 0 0011 2H9zM7 8a1 1 0 012 0v6a1 1 0 11-2 0V8zm5-1a1 1 0 00-1 1v6a1 1 0 102 0V8a1 1 0 00-1-1z",clipRule:"evenodd"}))}));var lr=a(431),Lr=a.n(lr);const Mr=t=>{let{type:r,setOpenHelpSlider:i}=t;return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"min-h-full pt-16 pb-12 flex flex-col bg-white"},(0,e.createElement)("main",{className:"flex-grow flex flex-col justify-center max-w-7xl w-full mx-auto px-4 sm:px-6 lg:px-8"},(0,e.createElement)("img",{className:"h-full w-auto",src:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIGlkPSJhIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA5OTkuMyAyODguNTIiPjxwYXRoIGQ9Im0yMzQuMDIsMjM3LjU2Yy0xMC45NiwwLTIzLjgtMi45Ny0zMy45NC0xMC4zOS05LjctNy4xLTE1LjUyLTE3LjM5LTE2LjgzLTI5Ljc0LTMuNzEtMzQuOTMsMjYuNzktNDkuNDMsNDMuNDMtNTIuMjJoMGMxNC4yNS0yLjM4LDMwLjc3LDEuNDIsNDIuMTEsOS43LDkuNDgsNi45MywxNS4zOSwxNi44MiwxNy4wNywyOC41OSw0LjI3LDI5LjgyLTE4LjQ4LDQ4LjQzLTQxLjQzLDUzLjA5LTMuMTIuNjQtNi42NS45OC0xMC40MS45OFptLTYuNjMtODguMThjLTE1LjI4LDIuNTYtNDMuMjksMTUuODEt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My0xNy42OWMtLjA4LjExLS45OCwxLjQ1LTIuNzIsNC0xLjEyLDEuNjItMS45LDMuMDItMi4zNiw0LjItLjQyLDEuMDctMS4wNiwxLjc2LTEuOTMsMi4wOXMtMS43Mi4yOS0yLjYtLjA4Yy0uODgtLjM4LTEuNDctLjk3LTEuNzctMS43OC0uNDUtMS4yLDAtMi45LDEuMzgtNS4xMSwxLjMxLTEuOTMsMi42MS0zLjg3LDMuOTEtNS44MSwxLjM4LTIuMTksMS44NC0zLjg4LDEuMzktNS4wNy0uNTMtMS4zOS0xLjcyLTIuNDMtMy42LTMuMTEtMS44Ny0uNjktMy41OC0uNzQtNS4xLS4xNi0uODEuMzEtMS43NCwxLjE4LTIuOCwyLjY0LTEuMDYsMS40NS0xLjg4LDIuMjktMi40NiwyLjUxLS44OC4zMy0xLjc1LjI5LTIuNi0uMTMtLjg1LS40Mi0xLjQzLTEuMDMtMS43My0xLjgyLS41Ny0xLjUuMjMtMy4zNiwyLjM4LTUuNTksMS44MS0xLjksMy40NS0zLjEzLDQuOTItMy42OCwzLjI1LTEuMjMsNi42NC0xLjE0LDEwLjE3LjI2LDMuNTMsMS40LDUuODgsMy42NSw3LjA1LDYuNzVzLjY1LDYuMzctMS41Miw5LjkxWiIvPjxwYXRoIGQ9Im01NDMuMTQsMTcxLjM4czcyLjUxLS4xOSw5Ni43NC0zNC40MWMyMi4xNS0zMS4yNy0yMy41NC0zOC42NS0yMS42Mi0xMi42M3MxMTUuMjksMzgsMTE3Ljg1LTg0LjAxIiBmaWxsPSJub25lIiBzdHJva2U9IiM3ODVhZmEiIHN0cm9rZS1kYXNoYXJyYXk9IjAgMCAzIDgiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBzdHJva2Utd2lkdGg9IjQiLz48L3N2Zz4=",alt:""}),(0,e.createElement)("div",null),(0,e.createElement)("div",{className:"pt-4 border-t border-gray-300 w-full items-center text-center"},(0,e.createElement)("span",{className:"text-2xl"},"Not sure how to get started?"),(0,e.createElement)("button",{type:"button",onClick:()=>i(!0),className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent ","bg-brand-primary text-white","px-4 py-2","text-sm font-medium","shadow hover:shadow-xl","transform active:scale-75 hover:scale-110 transition-transform","hover:ring-2 hover:ring-white hover:ring-offset-2","focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2","ml-4","hover:text-white")},(0,e.createElement)("span",{className:"mx-2"},"Get Help"),(0,e.createElement)(Lr(),{className:"h-5 w-5","aria-hidden":"true"}))),(0,e.createElement)("div",{className:"hidden py-16"},(0,e.createElement)("div",{className:"text-center"},(0,e.createElement)("h1",{className:"mt-2 text-4xl font-extrabold text-gray-900 tracking-tight sm:text-5xl"},"Add your first custom event."),(0,e.createElement)("div",{className:"mt-6"},(0,e.createElement)("button",{type:"button",className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent bg-brand-primary","px-4 py-2","text-sm font-medium text-white","shadow-sm","hover:bg-brand-600","focus:outline-none focus:ring-2 focus:ring-brand-primary-focus focus:ring-offset-2","transform active:scale-75 hover:scale-105 transition-transform")},"Add Custom Event"))))),(0,e.createElement)("footer",{className:"flex-shrink-0 max-w-7xl w-full mx-auto px-4 sm:px-6 lg:px-8"})))},cr={ad_impression:{ad_platform:{type:"text",required:!0,placeholder:"APPXXX"},ad_source:{type:"text",required:!0,placeholder:"Network Name"},ad_unit_name:{type:"text",required:!0,placeholder:"Unit Name"},ad_format:{type:"text",required:!0,placeholder:"Format"},value:{type:"number",required:!0,placeholder:"7.77"},currency:{type:"text",required:!0,placeholder:"USD"}},add_payment_info:{currency:{type:"text",required:!0,placeholder:"USD"},value:{type:"number",required:!0,placeholder:"7.77"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},payment_type:{type:"text",required:!1,placeholder:"Credit Card"},items:{type:"text",required:!0,placeholder:""}},add_shipping_info:{currency:{type:"text",required:!0,placeholder:"USD"},value:{type:"number",required:!0,placeholder:"7.77"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},shipping_tier:{type:"text",required:!1,placeholder:"Ground"},items:{type:"text",required:!0,placeholder:""}},add_to_cart:{currency:{type:"text",required:!0,placeholder:"USD"},value:{type:"number",required:!0,placeholder:"7.77"},items:{type:"text",required:!0,placeholder:""}},add_to_wishlist:{currency:{type:"text",required:!0,placeholder:"USD"},value:{type:"number",required:!0,placeholder:"7.77"},items:{type:"text",required:!0,placeholder:""}},begin_checkout:{currency:{type:"text",required:!0,placeholder:"USD"},value:{type:"number",required:!0,placeholder:"7.77"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},items:{type:"text",required:!0,placeholder:""}},earn_virtual_currency:{virtual_currency_name:{type:"text",required:!1,placeholder:"Gems"},value:{type:"number",required:!1,placeholder:"5"}},generate_lead:{currency:{type:"text",required:!0,placeholder:"USD"},value:{type:"number",required:!0,placeholder:"7.77"}},join_group:{group_id:{type:"text",required:!1,placeholder:"G_12345"}},level_end:{level_name:{type:"text",required:!1,placeholder:"The journey begins.."},success:{type:"text",required:!1,placeholder:"true"}},level_start:{level_name:{type:"text",required:!1,placeholder:"The journey begins.."}},level_up:{level:{type:"number",required:!1,placeholder:"5"},character:{type:"text",required:!1,placeholder:"Player 1"}},login:{method:{type:"text",required:!1,placeholder:"Google"}},post_score:{score:{type:"number",required:!0,placeholder:"10000"},level:{type:"number",required:!1,placeholder:"5"},character:{type:"text",required:!1,placeholder:"Player 1"}},purchase:{currency:{type:"text",required:!0,placeholder:"USD"},transaction_id:{type:"text",required:!0,placeholder:"T_12345"},value:{type:"number",required:!0,placeholder:"12.21"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},shipping:{type:"number",required:!1,placeholder:"3.33"},tax:{type:"number",required:!1,placeholder:"1.1"},items:{type:"text",required:!0,placeholder:""}},refund:{currency:{type:"text",required:!0,placeholder:"USD"},transaction_id:{type:"text",required:!0,placeholder:"T_12345"},value:{type:"number",required:!0,placeholder:"7.77"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},shipping:{type:"number",required:!1,placeholder:"3.33"},tax:{type:"number",required:!1,placeholder:"1.1"},items:{type:"text",required:!0,placeholder:""}},remove_from_cart:{currency:{type:"text",required:!0,placeholder:"USD"},value:{type:"number",required:!0,placeholder:"7.77"},items:{type:"text",required:!0,placeholder:""}},search:{search_term:{type:"text",required:!0,placeholder:"t-shirts"}},select_content:{content_type:{type:"text",required:!1,placeholder:"product"},item_id:{type:"text",required:!1,placeholder:"I_12345"}},select_item:{item_list_id:{type:"text",required:!1,placeholder:"SKU_12345"},item_list_name:{type:"text",required:!1,placeholder:"Stan and Friends Tee"},items:{type:"text",required:!0,placeholder:""}},select_promotion:{creative_name:{type:"text",required:!1,placeholder:"summer_banner2"},creative_slot:{type:"text",required:!1,placeholder:"featured_app_1"},location_id:{type:"text",required:!1,placeholder:"L_12345"},promotion_id:{type:"text",required:!1,placeholder:"P_12345"},promotion_name:{type:"text",required:!1,placeholder:"Summer Sale"},items:{type:"text",required:!1,placeholder:""}},share:{method:{type:"text",required:!1,placeholder:"Twitter"},content_type:{type:"text",required:!1,placeholder:"image"},item_id:{type:"text",required:!1,placeholder:"C_12345"}},sign_up:{method:{type:"text",required:!1,placeholder:"Google"}},spend_virtual_currency:{value:{type:"number",required:!0,placeholder:"5"},virtual_currency_name:{type:"text",required:!0,placeholder:"Gems"},item_name:{type:"text",required:!1,placeholder:"Starter Boost"}},tutorial_begin:{},tutorial_complete:{},unlock_achievement:{achievement_id:{type:"text",required:!0,placeholder:"A_12345"}},view_cart:{currency:{type:"text",required:!0,placeholder:"USD"},value:{type:"number",required:!0,placeholder:"7.77"},items:{type:"text",required:!0,placeholder:""}},view_item:{currency:{type:"text",required:!0,placeholder:"USD"},value:{type:"number",required:!0,placeholder:"7.77"},items:{type:"text",required:!0,placeholder:""}},view_item_list:{item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},items:{type:"text",required:!0,placeholder:""}},view_promotion:{creative_name:{type:"text",required:!1,placeholder:"summer_banner2"},creative_slot:{type:"text",required:!1,placeholder:"featured_app_1"},location_id:{type:"text",required:!1,placeholder:"L_12345"},promotion_id:{type:"text",required:!1,placeholder:"P_12345"},promotion_name:{type:"text",required:!1,placeholder:"Summer Sale"},items:{type:"text",required:!0,placeholder:""}}};var jr,dr=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(dr||{});function Nr(e){let t=e.parentElement,r=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(r=t),t=t.parentElement;let i=""===(null==t?void 0:t.getAttribute("disabled"));return(!i||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(r))&&i}let yr=null!=(jr=t.useId)?jr:function(){let e=ot(),[r,i]=t.useState(e?()=>at.nextId():null);return nt((()=>{null===r&&i(at.nextId())}),[r]),null!=r?""+r:void 0};var mr=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(mr||{});let xr=Ve((function(e,t){let{features:r=1,...i}=e;return Ze({ourProps:{ref:t,"aria-hidden":2==(2&r)||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...4==(4&r)&&2!=(2&r)&&{display:"none"}}},theirProps:i,slot:{},defaultTag:"div",name:"Hidden"})}));function gr(e){return at.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let pr=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((e=>`${e}:not([tabindex='-1'])`)).join(",");var Tr,wr=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(wr||{}),Sr=((Tr=Sr||{})[Tr.Error=0]="Error",Tr[Tr.Overflow=1]="Overflow",Tr[Tr.Success=2]="Success",Tr[Tr.Underflow=3]="Underflow",Tr),Er=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Er||{});var Dr=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Dr||{});function Ir(e){null==e||e.focus({preventScroll:!0})}let fr=["textarea","input"].join(",");function hr(e,t=(e=>e)){return e.slice().sort(((e,r)=>{let i=t(e),a=t(r);if(null===i||null===a)return 0;let n=i.compareDocumentPosition(a);return n&Node.DOCUMENT_POSITION_FOLLOWING?-1:n&Node.DOCUMENT_POSITION_PRECEDING?1:0}))}function zr(e,t,{sorted:r=!0,relativeTo:i=null,skipElements:a=[]}={}){let n=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,u=Array.isArray(e)?r?hr(e):e:function(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(pr)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}(e);a.length>0&&u.length>1&&(u=u.filter((e=>!a.includes(e)))),i=null!=i?i:n.activeElement;let s,o=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),l=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,u.indexOf(i))-1;if(4&t)return Math.max(0,u.indexOf(i))+1;if(8&t)return u.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),L=32&t?{preventScroll:!0}:{},M=0,c=u.length;do{if(M>=c||M+c<=0)return 0;let e=l+M;if(16&t)e=(e+c)%c;else{if(e<0)return 3;if(e>=c)return 1}s=u[e],null==s||s.focus(L),M+=o}while(s!==n.activeElement);return 6&t&&function(e){var t,r;return null!=(r=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,fr))&&r}(s)&&s.select(),s.hasAttribute("tabindex")||s.setAttribute("tabindex","0"),2}var Cr=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Cr||{});function Or(...e){return(0,t.useMemo)((()=>gr(...e)),[...e])}function br(e,r,i,a){let n=st(i);(0,t.useEffect)((()=>{function t(e){n.current(e)}return(e=null!=e?e:window).addEventListener(r,t,a),()=>e.removeEventListener(r,t,a)}),[e,r,a])}function vr(e,r){let i=(0,t.useRef)([]),a=lt(e);(0,t.useEffect)((()=>{let e=[...i.current];for(let[t,n]of r.entries())if(i.current[t]!==n){let t=a(r,e);return i.current=r,t}}),[a,...r])}function kr(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let r of e.current)r.current instanceof HTMLElement&&t.add(r.current);return t}var Ar=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(Ar||{});let Yr=Ve((function(e,r){let i=(0,t.useRef)(null),a=ct(i,r),{initialFocus:n,containers:u,features:s=30,...o}=e;ot()||(s=1);let l=Or(i);!function({ownerDocument:e},r){let i=function(e=!0){let r=(0,t.useRef)(Qr.slice());return vr((([e],[t])=>{!0===t&&!1===e&&jt((()=>{r.current.splice(0)})),!1===t&&!0===e&&(r.current=Qr.slice())}),[e,Qr,r]),lt((()=>{var e;return null!=(e=r.current.find((e=>null!=e&&e.isConnected)))?e:null}))}(r);vr((()=>{r||(null==e?void 0:e.activeElement)===(null==e?void 0:e.body)&&Ir(i())}),[r]);let a=(0,t.useRef)(!1);(0,t.useEffect)((()=>(a.current=!1,()=>{a.current=!0,jt((()=>{a.current&&Ir(i())}))})),[])}({ownerDocument:l},Boolean(16&s));let L=function({ownerDocument:e,container:r,initialFocus:i},a){let n=(0,t.useRef)(null),u=ut();return vr((()=>{if(!a)return;let t=r.current;t&&jt((()=>{if(!u.current)return;let r=null==e?void 0:e.activeElement;if(null!=i&&i.current){if((null==i?void 0:i.current)===r)return void(n.current=r)}else if(t.contains(r))return void(n.current=r);null!=i&&i.current?Ir(i.current):zr(t,wr.First)===Sr.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),n.current=null==e?void 0:e.activeElement}))}),[a]),n}({ownerDocument:l,container:i,initialFocus:n},Boolean(2&s));!function({ownerDocument:e,container:t,containers:r,previousActiveElement:i},a){let n=ut();br(null==e?void 0:e.defaultView,"focus",(e=>{if(!a||!n.current)return;let u=kr(r);t.current instanceof HTMLElement&&u.add(t.current);let s=i.current;if(!s)return;let o=e.target;o&&o instanceof HTMLElement?Gr(u,o)?(i.current=o,Ir(o)):(e.preventDefault(),e.stopPropagation(),Ir(s)):Ir(i.current)}),!0)}({ownerDocument:l,container:i,containers:u,previousActiveElement:L},Boolean(8&s));let M=function(){let e=(0,t.useRef)(0);return function(e,r,i){let a=st(r);(0,t.useEffect)((()=>{function t(e){a.current(e)}return window.addEventListener(e,t,i),()=>window.removeEventListener(e,t,i)}),[e,i])}("keydown",(t=>{"Tab"===t.key&&(e.current=t.shiftKey?1:0)}),!0),e}(),c=lt((e=>{let t=i.current;t&&_e(M.current,{[Cr.Forwards]:()=>{zr(t,wr.First,{skipElements:[e.relatedTarget]})},[Cr.Backwards]:()=>{zr(t,wr.Last,{skipElements:[e.relatedTarget]})}})})),j=mt(),d=(0,t.useRef)(!1),N={ref:a,onKeyDown(e){"Tab"==e.key&&(d.current=!0,j.requestAnimationFrame((()=>{d.current=!1})))},onBlur(e){let t=kr(u);i.current instanceof HTMLElement&&t.add(i.current);let r=e.relatedTarget;r instanceof HTMLElement&&"true"!==r.dataset.headlessuiFocusGuard&&(Gr(t,r)||(d.current?zr(i.current,_e(M.current,{[Cr.Forwards]:()=>wr.Next,[Cr.Backwards]:()=>wr.Previous})|wr.WrapAround,{relativeTo:e.target}):e.target instanceof HTMLElement&&Ir(e.target)))}};return t.createElement(t.Fragment,null,Boolean(4&s)&&t.createElement(xr,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:mr.Focusable}),Ze({ourProps:N,theirProps:o,defaultTag:"div",name:"FocusTrap"}),Boolean(4&s)&&t.createElement(xr,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:mr.Focusable}))})),Ur=Object.assign(Yr,{features:Ar}),Qr=[];if("undefined"!=typeof window&&"undefined"!=typeof document){let e=function(e){e.target instanceof HTMLElement&&e.target!==document.body&&Qr[0]!==e.target&&(Qr.unshift(e.target),Qr=Qr.filter((e=>null!=e&&e.isConnected)),Qr.splice(10))};window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})}function Gr(e,t){for(let r of e)if(r.contains(t))return!0;return!1}const Pr=window.ReactDOM;let Rr=(0,t.createContext)(!1);function Fr(){return(0,t.useContext)(Rr)}function _r(e){return t.createElement(Rr.Provider,{value:e.force},e.children)}let qr=t.Fragment,Br=t.Fragment,Zr=(0,t.createContext)(null),Wr=Ve((function(e,r){let i=e,a=(0,t.useRef)(null),n=ct(Mt((e=>{a.current=e})),r),u=Or(a),s=function(e){let r=Fr(),i=(0,t.useContext)(Zr),a=Or(e),[n,u]=(0,t.useState)((()=>{if(!r&&null!==i||at.isServer)return null;let e=null==a?void 0:a.getElementById("headlessui-portal-root");if(e)return e;if(null===a)return null;let t=a.createElement("div");return t.setAttribute("id","headlessui-portal-root"),a.body.appendChild(t)}));return(0,t.useEffect)((()=>{null!==n&&(null!=a&&a.body.contains(n)||null==a||a.body.appendChild(n))}),[n,a]),(0,t.useEffect)((()=>{r||null!==i&&u(i.current)}),[i,u,r]),n}(a),[o]=(0,t.useState)((()=>{var e;return at.isServer?null:null!=(e=null==u?void 0:u.createElement("div"))?e:null})),l=ot(),L=(0,t.useRef)(!1);return nt((()=>{if(L.current=!1,s&&o)return s.contains(o)||(o.setAttribute("data-headlessui-portal",""),s.appendChild(o)),()=>{L.current=!0,jt((()=>{var e;L.current&&(!s||!o||(o instanceof Node&&s.contains(o)&&s.removeChild(o),s.childNodes.length<=0&&(null==(e=s.parentElement)||e.removeChild(s))))}))}}),[s,o]),l&&s&&o?(0,Pr.createPortal)(Ze({ourProps:{ref:n},theirProps:i,defaultTag:qr,name:"Portal"}),o):null})),Hr=Ve((function(e,r){let{target:i,...a}=e,n={ref:ct(r)};return t.createElement(Zr.Provider,{value:i},Ze({ourProps:n,theirProps:a,defaultTag:Br,name:"Popover.Group"}))})),Vr=Object.assign(Wr,{Group:Hr}),Jr=(0,t.createContext)(null);function Xr(){let e=(0,t.useContext)(Jr);if(null===e){let e=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,Xr),e}return e}function Kr(){let[e,r]=(0,t.useState)([]);return[e.length>0?e.join(" "):void 0,(0,t.useMemo)((()=>function(e){let i=lt((e=>(r((t=>[...t,e])),()=>r((t=>{let r=t.slice(),i=r.indexOf(e);return-1!==i&&r.splice(i,1),r}))))),a=(0,t.useMemo)((()=>({register:i,slot:e.slot,name:e.name,props:e.props})),[i,e.slot,e.name,e.props]);return t.createElement(Jr.Provider,{value:a},e.children)}),[r])]}let $r=Ve((function(e,t){let r=yr(),{id:i=`headlessui-description-${r}`,...a}=e,n=Xr(),u=ct(t);return nt((()=>n.register(i)),[i,n.register]),Ze({ourProps:{ref:u,...n.props,id:i},theirProps:a,slot:n.slot||{},defaultTag:"p",name:n.name||"Description"})})),ei=Object.assign($r,{}),ti=(0,t.createContext)((()=>{}));ti.displayName="StackContext";var ri=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(ri||{});function ii({children:e,onUpdate:r,type:i,element:a,enabled:n}){let u=(0,t.useContext)(ti),s=lt(((...e)=>{null==r||r(...e),u(...e)}));return nt((()=>{let e=void 0===n||!0===n;return e&&s(0,i,a),()=>{e&&s(1,i,a)}}),[s,i,a,n]),t.createElement(ti.Provider,{value:s},e)}function ai(e,r,i){let a=st(r);(0,t.useEffect)((()=>{function t(e){a.current(e)}return document.addEventListener(e,t,i),()=>document.removeEventListener(e,t,i)}),[e,i])}function ni(e,r,i=!0){let a=(0,t.useRef)(!1);function n(t,i){if(!a.current||t.defaultPrevented)return;let n=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e),u=i(t);if(null!==u&&u.getRootNode().contains(u)){for(let e of n){if(null===e)continue;let r=e instanceof HTMLElement?e:e.current;if(null!=r&&r.contains(u)||t.composed&&t.composedPath().includes(r))return}return!function(e,t=0){var r;return e!==(null==(r=gr(e))?void 0:r.body)&&_e(t,{0:()=>e.matches(pr),1(){let t=e;for(;null!==t;){if(t.matches(pr))return!0;t=t.parentElement}return!1}})}(u,Dr.Loose)&&-1!==u.tabIndex&&t.preventDefault(),r(t,u)}}(0,t.useEffect)((()=>{requestAnimationFrame((()=>{a.current=i}))}),[i]);let u=(0,t.useRef)(null);ai("mousedown",(e=>{var t,r;a.current&&(u.current=(null==(r=null==(t=e.composedPath)?void 0:t.call(e))?void 0:r[0])||e.target)}),!0),ai("click",(e=>{u.current&&(n(e,(()=>u.current)),u.current=null)}),!0),ai("blur",(e=>n(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)}const ui="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},{useState:si,useEffect:oi,useLayoutEffect:li,useDebugValue:Li}=r;function Mi(e){const t=e.getSnapshot,r=e.value;try{const e=t();return!ui(r,e)}catch{return!0}}const ci="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t,r){return t()}:function(e,t,r){const i=t(),[{inst:a},n]=si({inst:{value:i,getSnapshot:t}});return li((()=>{a.value=i,a.getSnapshot=t,Mi(a)&&n({inst:a})}),[e,i,t]),oi((()=>(Mi(a)&&n({inst:a}),e((()=>{Mi(a)&&n({inst:a})})))),[e]),Li(i),i},ji="useSyncExternalStore"in r?(e=>e.useSyncExternalStore)(r):ci;function di(){let e;return{before({doc:t}){var r;let i=t.documentElement;e=(null!=(r=t.defaultView)?r:window).innerWidth-i.clientWidth},after({doc:t,d:r}){let i=t.documentElement,a=i.clientWidth-i.offsetWidth,n=e-a;r.style(i,"paddingRight",`${n}px`)}}}function Ni(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function yi(){if(!Ni())return{};let e;return{before(){e=window.pageYOffset},after({doc:t,d:r,meta:i}){function a(e){return i.containers.flatMap((e=>e())).some((t=>t.contains(e)))}r.style(t.body,"marginTop",`-${e}px`),window.scrollTo(0,0);let n=null;r.addEventListener(t,"click",(e=>{if(e.target instanceof HTMLElement)try{let r=e.target.closest("a");if(!r)return;let{hash:i}=new URL(r.href),u=t.querySelector(i);u&&!a(u)&&(n=u)}catch{}}),!0),r.addEventListener(t,"touchmove",(e=>{e.target instanceof HTMLElement&&!a(e.target)&&e.preventDefault()}),{passive:!1}),r.add((()=>{window.scrollTo(0,window.pageYOffset+e),n&&n.isConnected&&(n.scrollIntoView({block:"nearest"}),n=null)}))}}}function mi(e){let t={};for(let r of e)Object.assign(t,r(t));return t}let xi=function(e,t){let r=new Map,i=new Set;return{getSnapshot:()=>r,subscribe:e=>(i.add(e),()=>i.delete(e)),dispatch(e,...a){let n=t[e].call(r,...a);n&&(r=n,i.forEach((e=>e())))}}}(0,{PUSH(e,t){var r;let i=null!=(r=this.get(e))?r:{doc:e,count:0,d:dt(),meta:new Set};return i.count++,i.meta.add(t),this.set(e,i),this},POP(e,t){let r=this.get(e);return r&&(r.count--,r.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:r}){let i={doc:e,d:t,meta:mi(r)},a=[yi(),di(),{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}];a.forEach((({before:e})=>null==e?void 0:e(i))),a.forEach((({after:e})=>null==e?void 0:e(i)))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});xi.subscribe((()=>{let e=xi.getSnapshot(),t=new Map;for(let[r]of e)t.set(r,r.documentElement.style.overflow);for(let r of e.values()){let e="hidden"===t.get(r.doc),i=0!==r.count;(i&&!e||!i&&e)&&xi.dispatch(r.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",r),0===r.count&&xi.dispatch("TEARDOWN",r)}}));let gi=new Map,pi=new Map;function Ti(e,t=!0){nt((()=>{var r;if(!t)return;let i="function"==typeof e?e():e.current;if(!i)return;let a=null!=(r=pi.get(i))?r:0;return pi.set(i,a+1),0!==a||(gi.set(i,{"aria-hidden":i.getAttribute("aria-hidden"),inert:i.inert}),i.setAttribute("aria-hidden","true"),i.inert=!0),function(){var e;if(!i)return;let t=null!=(e=pi.get(i))?e:1;if(1===t?pi.delete(i):pi.set(i,t-1),1!==t)return;let r=gi.get(i);r&&(null===r["aria-hidden"]?i.removeAttribute("aria-hidden"):i.setAttribute("aria-hidden",r["aria-hidden"]),i.inert=r.inert,gi.delete(i))}}),[e,t])}var wi=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(wi||{}),Si=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(Si||{});let Ei={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},Di=(0,t.createContext)(null);function Ii(e){let r=(0,t.useContext)(Di);if(null===r){let t=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Ii),t}return r}function fi(e,t){return _e(t.type,Ei,e,t)}Di.displayName="DialogContext";let hi=qe.RenderStrategy|qe.Static,zi=Ve((function(e,r){let i=yr(),{id:a=`headlessui-dialog-${i}`,open:n,onClose:u,initialFocus:s,__demoMode:o=!1,...l}=e,[L,M]=(0,t.useState)(0),c=et();void 0===n&&null!==c&&(n=(c&$e.Open)===$e.Open);let j=(0,t.useRef)(null),d=ct(j,r),N=(0,t.useRef)(null),y=Or(j),m=e.hasOwnProperty("open")||null!==c,x=e.hasOwnProperty("onClose");if(!m&&!x)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!m)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!x)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if("boolean"!=typeof n)throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${n}`);if("function"!=typeof u)throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${u}`);let g=n?0:1,[p,T]=(0,t.useReducer)(fi,{titleId:null,descriptionId:null,panelRef:(0,t.createRef)()}),w=lt((()=>u(!1))),S=lt((e=>T({type:0,id:e}))),E=!!ot()&&!o&&0===g,D=L>1,I=null!==(0,t.useContext)(Di),f=D?"parent":"leaf",h=null!==c&&(c&$e.Closing)===$e.Closing,z=!I&&!h&&E,C=(0,t.useCallback)((()=>{var e,t;return null!=(t=Array.from(null!=(e=null==y?void 0:y.querySelectorAll("body > *"))?e:[]).find((e=>"headlessui-portal-root"!==e.id&&e.contains(N.current)&&e instanceof HTMLElement)))?t:null}),[N]);Ti(C,z);let O=!!D||E,b=(0,t.useCallback)((()=>{var e,t;return null!=(t=Array.from(null!=(e=null==y?void 0:y.querySelectorAll("[data-headlessui-portal]"))?e:[]).find((e=>e.contains(N.current)&&e instanceof HTMLElement)))?t:null}),[N]);Ti(b,O);let v=lt((()=>{var e,t;return[...Array.from(null!=(e=null==y?void 0:y.querySelectorAll("html > *, body > *, [data-headlessui-portal]"))?e:[]).filter((e=>!(e===document.body||e===document.head||!(e instanceof HTMLElement)||e.contains(N.current)||p.panelRef.current&&e.contains(p.panelRef.current)))),null!=(t=p.panelRef.current)?t:j.current]}));ni((()=>v()),w,!(!E||D));let k=!(D||0!==g);br(null==y?void 0:y.defaultView,"keydown",(e=>{k&&(e.defaultPrevented||e.key===dr.Escape&&(e.preventDefault(),e.stopPropagation(),w()))})),function(e,t,r=(()=>[document.body])){!function(e,t,r){let i=ji((u=xi).subscribe,u.getSnapshot,u.getSnapshot),a=e?i.get(e):void 0,n=!!a&&a.count>0;var u;nt((()=>{if(e&&t)return xi.dispatch("PUSH",e,r),()=>xi.dispatch("POP",e,r)}),[t,e])}(e,t,(e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],r]}}))}(y,!(h||0!==g||I),v),(0,t.useEffect)((()=>{if(0!==g||!j.current)return;let e=new ResizeObserver((e=>{for(let t of e){let e=t.target.getBoundingClientRect();0===e.x&&0===e.y&&0===e.width&&0===e.height&&w()}}));return e.observe(j.current),()=>e.disconnect()}),[g,j,w]);let[A,Y]=Kr(),U=(0,t.useMemo)((()=>[{dialogState:g,close:w,setTitleId:S},p]),[g,p,w,S]),Q=(0,t.useMemo)((()=>({open:0===g})),[g]),G={ref:d,id:a,role:"dialog","aria-modal":0===g||void 0,"aria-labelledby":p.titleId,"aria-describedby":A};return t.createElement(ii,{type:"Dialog",enabled:0===g,element:j,onUpdate:lt(((e,t)=>{"Dialog"===t&&_e(e,{[ri.Add]:()=>M((e=>e+1)),[ri.Remove]:()=>M((e=>e-1))})}))},t.createElement(_r,{force:!0},t.createElement(Vr,null,t.createElement(Di.Provider,{value:U},t.createElement(Vr.Group,{target:j},t.createElement(_r,{force:!1},t.createElement(Y,{slot:Q,name:"Dialog.Description"},t.createElement(Ur,{initialFocus:s,containers:v,features:E?_e(f,{parent:Ur.features.RestoreFocus,leaf:Ur.features.All&~Ur.features.FocusLock}):Ur.features.None},Ze({ourProps:G,theirProps:l,slot:Q,defaultTag:"div",features:hi,visible:0===g,name:"Dialog"})))))))),t.createElement(xr,{features:mr.Hidden,ref:N}))})),Ci=Ve((function(e,r){let i=yr(),{id:a=`headlessui-dialog-backdrop-${i}`,...n}=e,[{dialogState:u},s]=Ii("Dialog.Backdrop"),o=ct(r);(0,t.useEffect)((()=>{if(null===s.panelRef.current)throw new Error("A <Dialog.Backdrop /> component is being used, but a <Dialog.Panel /> component is missing.")}),[s.panelRef]);let l=(0,t.useMemo)((()=>({open:0===u})),[u]);return t.createElement(_r,{force:!0},t.createElement(Vr,null,Ze({ourProps:{ref:o,id:a,"aria-hidden":!0},theirProps:n,slot:l,defaultTag:"div",name:"Dialog.Backdrop"})))})),Oi=Ve((function(e,r){let i=yr(),{id:a=`headlessui-dialog-panel-${i}`,...n}=e,[{dialogState:u},s]=Ii("Dialog.Panel"),o=ct(r,s.panelRef),l=(0,t.useMemo)((()=>({open:0===u})),[u]),L=lt((e=>{e.stopPropagation()}));return Ze({ourProps:{ref:o,id:a,onClick:L},theirProps:n,slot:l,defaultTag:"div",name:"Dialog.Panel"})})),bi=Ve((function(e,r){let i=yr(),{id:a=`headlessui-dialog-overlay-${i}`,...n}=e,[{dialogState:u,close:s}]=Ii("Dialog.Overlay"),o=ct(r),l=lt((e=>{if(e.target===e.currentTarget){if(Nr(e.currentTarget))return e.preventDefault();e.preventDefault(),e.stopPropagation(),s()}}));return Ze({ourProps:{ref:o,id:a,"aria-hidden":!0,onClick:l},theirProps:n,slot:(0,t.useMemo)((()=>({open:0===u})),[u]),defaultTag:"div",name:"Dialog.Overlay"})})),vi=Ve((function(e,r){let i=yr(),{id:a=`headlessui-dialog-title-${i}`,...n}=e,[{dialogState:u,setTitleId:s}]=Ii("Dialog.Title"),o=ct(r);(0,t.useEffect)((()=>(s(a),()=>s(null))),[a,s]);let l=(0,t.useMemo)((()=>({open:0===u})),[u]);return Ze({ourProps:{ref:o,id:a},theirProps:n,slot:l,defaultTag:"h2",name:"Dialog.Title"})})),ki=Object.assign(zi,{Backdrop:Ci,Panel:Oi,Overlay:bi,Title:vi,Description:ei});const Ai=(0,t.createContext)(),Yi=(0,t.createContext)(),Ui=(0,t.createContext)(),Qi=(0,t.createContext)();function Gi(r){let{open:i,toggleDeleteModal:a,index:n,item_id:u,deleteItem:s}=r;return(0,e.createElement)(bt.Root,{show:i,as:t.Fragment},(0,e.createElement)(ki,{as:"div",className:"z-[9999992] relative",onClose:a},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"})),(0,e.createElement)("div",{className:"fixed  inset-0 overflow-y-auto"},(0,e.createElement)("div",{className:"flex items-end sm:items-center justify-center min-h-full p-4 text-center sm:p-0"},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},(0,e.createElement)(ki.Panel,{className:"relative bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:max-w-lg sm:w-full sm:p-6"},(0,e.createElement)("div",{className:"sm:flex sm:items-start"},(0,e.createElement)("div",{className:"mx-auto flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-red-100 sm:mx-0 sm:h-10 sm:w-10"}),(0,e.createElement)("div",{className:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"},(0,e.createElement)(ki.Title,{as:"h3",className:"text-lg leading-6 font-medium text-gray-900"},"Delete Item"),(0,e.createElement)("div",{className:"mt-2"},(0,e.createElement)("p",{className:"text-sm text-gray-500"},"Are you sure you want to delete the"," ",(0,e.createElement)("span",{className:"strong"},u)," item?")))),(0,e.createElement)("div",{className:"mt-5 sm:mt-4 sm:flex sm:flex-row-reverse"},(0,e.createElement)("button",{type:"button",className:"w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-red-600 text-base font-medium text-white hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500 sm:ml-3 sm:w-auto sm:text-sm",onClick:function(){s(n),a()}},"Delete"),(0,e.createElement)("button",{type:"button",className:"mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:w-auto sm:text-sm",onClick:a},"Cancel"))))))))}function Pi(t){let{pKey:r,pValue:i,required:a,type:n,placeholder:u,setItem:s}=t;return(0,e.createElement)("fieldset",{className:"first:pt-0 sm:grid sm:grid-cols-3 sm:gap-4 sm:items-start sm:border-t sm:border-gray-200 sm:pt-5"},(0,e.createElement)("label",{htmlFor:"items",className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"+(1==a?" required":"")},r),(0,e.createElement)("input",{type:n,required:a,name:r,placeholder:u,id:r,value:i||"",onChange:e=>s(r,e.target.value),className:"flex-1 block col-span-2 w-full focus:ring-indigo-500 focus:border-indigo-500 min-w-0 rounded-none rounded-r-md sm:text-sm border-gray-300"}))}const Ri={add_payment_info:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},add_shipping_info:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},add_to_cart:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},add_to_wishlist:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},begin_checkout:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},purchase:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},refund:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},remove_from_cart:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},select_item:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},select_promotion:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},creative_name:{type:"text",required:!1,placeholder:"summer_banner2"},creative_slot:{type:"text",required:!1,placeholder:"featured_app_1"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},promotion_id:{type:"text",required:!1,placeholder:"P_12345"},promotion_name:{type:"text",required:!1,placeholder:"Summer Sale"},quantity:{type:"number",required:!1,placeholder:"1"}},view_cart:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},view_item:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},view_item_list:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},view_promotion:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},creative_name:{type:"text",required:!1,placeholder:"summer_banner2"},creative_slot:{type:"text",required:!1,placeholder:"featured_app_1"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},promotion_id:{type:"text",required:!1,placeholder:"P_12345"},promotion_name:{type:"text",required:!1,placeholder:"Summer Sale"},quantity:{type:"number",required:!1,placeholder:"1"}}},Fi=r=>{let{eventName:i,currentItem:a,setCurrentItem:n,index:u,saveItem:s}=r;const{openItemsForm:o,setOpenItemsForm:l}=(0,t.useContext)(Ai);function L(e,t){let r={...a};r[e]=t,n(r)}return(0,e.createElement)(bt.Root,{show:o,as:t.Fragment},(0,e.createElement)(ki,{as:"div",className:"relative z-[9999991]",onClose:l},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"ease-in-out duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-50 transition-opacity"})),(0,e.createElement)("div",{className:"fixed inset-0"}),(0,e.createElement)("div",{className:"fixed inset-0 overflow-hidden"},(0,e.createElement)("div",{className:"absolute inset-0 overflow-hidden"},(0,e.createElement)("div",{className:"pointer-events-none fixed inset-y-0 right-0 flex w-1/4 min-w-[700px] pl-10"},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"transform transition ease-in-out duration-500 sm:duration-700",enterFrom:"translate-x-full",enterTo:"translate-x-0",leave:"transform transition ease-in-out duration-500 sm:duration-700",leaveFrom:"translate-x-0",leaveTo:"translate-x-full"},(0,e.createElement)(ki.Panel,{className:"pointer-events-auto w-screen flex-1 "},(0,e.createElement)("form",{id:"item-form",onSubmit:function(e){e.preventDefault(),s(a,u),n({}),l(!1)},className:"flex h-full flex-col divide-y divide-gray-200 bg-white shadow-xl"},(0,e.createElement)("div",{"data-component":"form-wrapper",className:"flex min-h-0 flex-1 flex-col"},(0,e.createElement)("header",{className:"py-5 pl-10 pr-10 sticky top-0 shadow backdrop-filter backdrop-blur-lg backdrop-saturate-110 bg-opacity-80"},(0,e.createElement)("div",{className:"flex items-start justify-between"},(0,e.createElement)(ki.Title,{className:"text-2xl font-medium text-gray-900"}," ",u>=0?"Edit":"New"," Item "),(0,e.createElement)("div",{className:"ml-3 flex h-7 items-center"},(0,e.createElement)("button",{type:"button",className:"rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-indigo-500",onClick:()=>l(!1)},(0,e.createElement)("span",{className:"sr-only"},"Close panel"),(0,e.createElement)(kt,{className:"h-6 w-6","aria-hidden":"true"}))))),(0,e.createElement)("div",{"data-component":"main-form",className:"overflow-y-scroll bg-gray-100 p-10"},(0,e.createElement)("div",{"data-component":"inline-form",className:"bg-white w-full p-10 rounded-md"},(0,e.createElement)("div",{"data-component":"fieldset-wrapper",className:"sm:mt-5 space-y-6 sm:space-y-5"},Object.entries(Ri[i]).map((t=>{let[r,i]=t;return(0,e.createElement)(Pi,{key:r,pKey:r,pValue:a[r],required:i.required,type:i.type,placeholder:i.placeholder,setItem:L})})))))),(0,e.createElement)("footer",{className:"flex flex-shrink-0 justify-end px-4 py-4"},(0,e.createElement)("button",{type:"button",className:"rounded-md border border-gray-300 bg-white py-2 px-4 text-sm font-medium text-gray-700 shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2",onClick:()=>l(!1)},"Cancel"),(0,e.createElement)("button",{type:"submit",form:"item-form",className:"ml-4 inline-flex justify-center rounded-md border border-transparent bg-indigo-600 py-2 px-4 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2"},"Save"))))))))))};function _i(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(Boolean).join(" ")}function qi(r){let{eventName:i,eventItems:a,updateFunction:n}=r;(0,t.useRef)();const[u,s]=(0,t.useState)(Array.isArray(a)?a:[]),[o,l]=(0,t.useState)(!1),[L,M]=(0,t.useState)(!1),[c,j]=(0,t.useState)([]),{openItemsForm:d,setOpenItemsForm:N}=(0,t.useContext)(Ai),[y,m]=(0,t.useState)(),[x,g]=(0,t.useState)(!1),[p,T]=(0,t.useState)({}),[w,S]=(0,t.useState)(),[E,D]=(0,t.useState)(!1);return(0,t.useEffect)((()=>{n(u)}),[u]),(0,e.createElement)("div",{"data-component":"items-table",className:"flex flex-col bg-gray-50 rounded-50"},(0,e.createElement)("header",{className:"p-4 sm:flex sm:items-center"},(0,e.createElement)("div",{className:"sm:flex-auto"},(0,e.createElement)("h3",{className:"uppercase text-base leading-6 font-medium text-gray-900"},"Items")),(0,e.createElement)("div",{className:"mt-4 sm:mt-0 sm:ml-16 sm:flex-none"},(0,e.createElement)("button",{onClick:function(){T({}),S(-1),N(!0)},type:"button",className:"capitalize inline-flex items-center justify-center rounded-md border border-transparent bg-brand-primary px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-brand-primary-hover focus:outline-none focus:ring-2 focus:ring-brand-primary-focus focus:ring-offset-2 sm:w-auto"},"Add Item"))),(0,e.createElement)("div",{"data-component":"item-list",className:"bg-gray-100 p-2 flex items-center"},u&&u.length>0?(0,e.createElement)("table",{className:"min-w-full table-fixed divide-y divide-gray-300"},(0,e.createElement)("thead",{className:"bg-gray-50"},(0,e.createElement)("tr",null,(0,e.createElement)("th",{scope:"col",className:"min-w-[12rem] py-3.5 pr-2 pl-4 text-left text-sm font-semibold text-gray-900"},"Item ID"),(0,e.createElement)("th",{scope:"col",className:"px-3 py-3.5 text-left text-sm font-semibold text-gray-900"},"Item Name"),(0,e.createElement)("th",{scope:"col",className:"px-3 py-3.5 text-left text-sm font-semibold text-gray-900"}),(0,e.createElement)("th",{scope:"col",className:"relative py-3.5 pl-3 pr-4 sm:pr-6"},(0,e.createElement)("span",{className:"sr-only"},"Edit")))),(0,e.createElement)("tbody",{className:" bg-white"},u&&u.length>0&&u[0]?u.map(((r,i)=>(0,e.createElement)(t.Fragment,{key:i},(0,e.createElement)("tr",{className:"bg-gray-50"},(0,e.createElement)("td",{className:_i("whitespace-nowrap pr-2 pl-4 text-sm font-medium","py-1","pt-2",c.includes(r)?"text-gtIndigo-600":"text-gray-900")},r.item_id),(0,e.createElement)("td",{rowSpan:"2",className:"whitespace-nowrap px-3 text-sm text-gray-500"},r.item_name),(0,e.createElement)("td",{rowSpan:"2",className:"whitespace-nowrap px-3 text-sm text-gray-500"}),(0,e.createElement)("td",{rowSpan:"2",className:"whitespace-nowrap  py-6 pl-3 pr-4 text-right text-sm font-medium sm:pr-6"},(0,e.createElement)("button",{type:"button",onClick:e=>function(e,t,r){e.preventDefault();let i={...t};T(i),S(r),N(!d)}(e,r,i),className:"inline-flex items-center px-2.5 py-1.5 border border-transparent text-xs font-medium rounded shadow-sm text-white bg-brand-primary hover:bg-brand-primary-hover focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-brand-primary-focus"},"Edit"),(0,e.createElement)("button",{type:"button",onClick:e=>function(e,t,r){e.preventDefault();let i={...t};i.index=r,T(i),g(!0)}(e,r,i),className:"ml-3 inline-flex items-center px-2.5 py-1.5 border border-transparent text-xs font-medium rounded shadow-sm text-white bg-brand-danger hover:bg-brand-danger-hover focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-brand-primary-focus"},"Delete")))))):null)):(0,e.createElement)("div",{"data-component":"no-items-placeholder",className:"p-6 flex-1 text-center items-center opacity-90 bg-gray-200 rounded my-4"},"No Items"),(0,e.createElement)(Fi,{eventName:i,currentItem:p,setCurrentItem:T,index:w,saveItem:(e,t)=>{if(t>=0){let r=u;r[t]=e,s([...r])}else s([...u,e])}})),x&&(0,e.createElement)(Gi,{open:x,toggleDeleteModal:function(){g(!x)},index:p.index,item_id:p.item_id,currentItemId:p.item_id,deleteItem:e=>{let t=u;t.splice(e,1),s(t),T(!1)},updateFunction:n}))}function Bi(t){let{pKey:r,pValue:i,setProp:a,required:n,type:u,placeholder:s,deleteProp:o,deleteButton:l}=t;return(0,e.createElement)(e.Fragment,null,"items"!=r?(0,e.createElement)("tr",{className:"bg-gray-50"},(0,e.createElement)("td",{className:"whitespace-nowrap pr-2 pl-4 text-sm font-medium py-1  pt-2 text-gray-900"},r),(0,e.createElement)("td",{className:"whitespace-nowrap px-3 text-sm text-gray-500"},(0,e.createElement)("input",{type:u,required:n,name:r,placeholder:s,id:r,value:i,onChange:e=>a(r,"items"==r?"[{}]":e.target.value),className:"flex-1 block col-span-2 w-full focus:ring-indigo-500 focus:border-indigo-500 min-w-0 rounded-none rounded-r-md sm:text-sm border-gray-300"})),(0,e.createElement)("td",{className:"whitespace-nowrap px-3 text-sm text-gray-500"}),(0,e.createElement)("td",{className:"whitespace-nowrap  py-6 pl-3 pr-4 text-right text-sm font-medium sm:pr-6"},(0,e.createElement)("button",{type:"button",onClick:e=>o(r),className:"ml-3 inline-flex items-center px-2.5 py-1.5 border border-transparent text-xs font-medium rounded shadow-sm text-white bg-brand-danger hover:bg-brand-danger-hover focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-brand-danger-focus"},"Delete"))):"")}function Zi(e,r){let[i,a]=(0,t.useState)(e),n=st(e);return nt((()=>a(n.current)),[n,a,...r]),i}function Wi(e){var t;if(e.type)return e.type;let r=null!=(t=e.as)?t:"button";return"string"==typeof r&&"button"===r.toLowerCase()?"button":void 0}function Hi(e,r){let[i,a]=(0,t.useState)((()=>Wi(e)));return nt((()=>{a(Wi(e))}),[e.type,e.as]),nt((()=>{i||r.current&&r.current instanceof HTMLButtonElement&&!r.current.hasAttribute("type")&&a("button")}),[i,r]),i}var Vi=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(Vi||{});function Ji(e={},t=null,r=[]){for(let[i,a]of Object.entries(e))Ki(r,Xi(t,i),a);return r}function Xi(e,t){return e?e+"["+t+"]":t}function Ki(e,t,r){if(Array.isArray(r))for(let[i,a]of r.entries())Ki(e,Xi(t,i.toString()),a);else r instanceof Date?e.push([t,r.toISOString()]):"boolean"==typeof r?e.push([t,r?"1":"0"]):"string"==typeof r?e.push([t,r]):"number"==typeof r?e.push([t,`${r}`]):null==r?e.push([t,""]):Ji(r,t,e)}function $i(e,r,i){let[a,n]=(0,t.useState)(i),u=void 0!==e,s=(0,t.useRef)(u),o=(0,t.useRef)(!1),l=(0,t.useRef)(!1);return!u||s.current||o.current?!u&&s.current&&!l.current&&(l.current=!0,s.current=u,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(o.current=!0,s.current=u,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[u?e:a,lt((e=>(u||n(e),null==r?void 0:r(e))))]}function ea(e){return[e.screenX,e.screenY]}var ta=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(ta||{}),ra=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(ra||{}),ia=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(ia||{}),aa=(e=>(e[e.OpenCombobox=0]="OpenCombobox",e[e.CloseCombobox=1]="CloseCombobox",e[e.GoToOption=2]="GoToOption",e[e.RegisterOption=3]="RegisterOption",e[e.UnregisterOption=4]="UnregisterOption",e[e.RegisterLabel=5]="RegisterLabel",e))(aa||{});function na(e,t=(e=>e)){let r=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,i=hr(t(e.options.slice()),(e=>e.dataRef.current.domRef.current)),a=r?i.indexOf(r):null;return-1===a&&(a=null),{options:i,activeOptionIndex:a}}let ua={1(e){var t;return null!=(t=e.dataRef.current)&&t.disabled||1===e.comboboxState?e:{...e,activeOptionIndex:null,comboboxState:1}},0(e){var t;if(null!=(t=e.dataRef.current)&&t.disabled||0===e.comboboxState)return e;let r=e.activeOptionIndex;if(e.dataRef.current){let{isSelected:t}=e.dataRef.current,i=e.options.findIndex((e=>t(e.dataRef.current.value)));-1!==i&&(r=i)}return{...e,comboboxState:0,activeOptionIndex:r}},2(e,t){var r,i,a,n;if(null!=(r=e.dataRef.current)&&r.disabled||null!=(i=e.dataRef.current)&&i.optionsRef.current&&(null==(a=e.dataRef.current)||!a.optionsPropsRef.current.static)&&1===e.comboboxState)return e;let u=na(e);if(null===u.activeOptionIndex){let e=u.options.findIndex((e=>!e.dataRef.current.disabled));-1!==e&&(u.activeOptionIndex=e)}let s=function(e,t){let r=t.resolveItems();if(r.length<=0)return null;let i=t.resolveActiveIndex(),a=null!=i?i:-1,n=(()=>{switch(e.focus){case 0:return r.findIndex((e=>!t.resolveDisabled(e)));case 1:{let e=r.slice().reverse().findIndex(((e,r,i)=>!(-1!==a&&i.length-r-1>=a||t.resolveDisabled(e))));return-1===e?e:r.length-1-e}case 2:return r.findIndex(((e,r)=>!(r<=a||t.resolveDisabled(e))));case 3:{let e=r.slice().reverse().findIndex((e=>!t.resolveDisabled(e)));return-1===e?e:r.length-1-e}case 4:return r.findIndex((r=>t.resolveId(r)===e.id));case 5:return null;default:!function(e){throw new Error("Unexpected object: "+e)}(e)}})();return-1===n?i:n}(t,{resolveItems:()=>u.options,resolveActiveIndex:()=>u.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...u,activeOptionIndex:s,activationTrigger:null!=(n=t.trigger)?n:1}},3:(e,t)=>{var r,i;let a={id:t.id,dataRef:t.dataRef},n=na(e,(e=>[...e,a]));null===e.activeOptionIndex&&null!=(r=e.dataRef.current)&&r.isSelected(t.dataRef.current.value)&&(n.activeOptionIndex=n.options.indexOf(a));let u={...e,...n,activationTrigger:1};return null!=(i=e.dataRef.current)&&i.__demoMode&&void 0===e.dataRef.current.value&&(u.activeOptionIndex=0),u},4:(e,t)=>{let r=na(e,(e=>{let r=e.findIndex((e=>e.id===t.id));return-1!==r&&e.splice(r,1),e}));return{...e,...r,activationTrigger:1}},5:(e,t)=>({...e,labelId:t.id})},sa=(0,t.createContext)(null);function oa(e){let r=(0,t.useContext)(sa);if(null===r){let t=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,oa),t}return r}sa.displayName="ComboboxActionsContext";let la=(0,t.createContext)(null);function La(e){let r=(0,t.useContext)(la);if(null===r){let t=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,La),t}return r}function Ma(e,t){return _e(t.type,ua,e,t)}la.displayName="ComboboxDataContext";let ca=t.Fragment,ja=qe.RenderStrategy|qe.Static,da=Ve((function(e,r){let{value:i,defaultValue:a,onChange:n,name:u,by:s=((e,t)=>e===t),disabled:o=!1,__demoMode:l=!1,nullable:L=!1,multiple:M=!1,...c}=e,[j=(M?[]:void 0),d]=$i(i,n,a),[N,y]=(0,t.useReducer)(Ma,{dataRef:(0,t.createRef)(),comboboxState:l?0:1,options:[],activeOptionIndex:null,activationTrigger:1,labelId:null}),m=(0,t.useRef)(!1),x=(0,t.useRef)({static:!1,hold:!1}),g=(0,t.useRef)(null),p=(0,t.useRef)(null),T=(0,t.useRef)(null),w=(0,t.useRef)(null),S=lt("string"==typeof s?(e,t)=>{let r=s;return(null==e?void 0:e[r])===(null==t?void 0:t[r])}:s),E=(0,t.useCallback)((e=>_e(D.mode,{1:()=>j.some((t=>S(t,e))),0:()=>S(j,e)})),[j]),D=(0,t.useMemo)((()=>({...N,optionsPropsRef:x,labelRef:g,inputRef:p,buttonRef:T,optionsRef:w,value:j,defaultValue:a,disabled:o,mode:M?1:0,get activeOptionIndex(){if(m.current&&null===N.activeOptionIndex&&N.options.length>0){let e=N.options.findIndex((e=>!e.dataRef.current.disabled));if(-1!==e)return e}return N.activeOptionIndex},compare:S,isSelected:E,nullable:L,__demoMode:l})),[j,a,o,M,L,l,N]),I=(0,t.useRef)(null!==D.activeOptionIndex?D.options[D.activeOptionIndex]:null);(0,t.useEffect)((()=>{let e=null!==D.activeOptionIndex?D.options[D.activeOptionIndex]:null;I.current!==e&&(I.current=e)})),nt((()=>{N.dataRef.current=D}),[D]),ni([D.buttonRef,D.inputRef,D.optionsRef],(()=>Y.closeCombobox()),0===D.comboboxState);let f=(0,t.useMemo)((()=>({open:0===D.comboboxState,disabled:o,activeIndex:D.activeOptionIndex,activeOption:null===D.activeOptionIndex?null:D.options[D.activeOptionIndex].dataRef.current.value,value:j})),[D,o,j]),h=lt((e=>{let t=D.options.find((t=>t.id===e));t&&A(t.dataRef.current.value)})),z=lt((()=>{if(null!==D.activeOptionIndex){let{dataRef:e,id:t}=D.options[D.activeOptionIndex];A(e.current.value),Y.goToOption(Vi.Specific,t)}})),C=lt((()=>{y({type:0}),m.current=!0})),O=lt((()=>{y({type:1}),m.current=!1})),b=lt(((e,t,r)=>(m.current=!1,e===Vi.Specific?y({type:2,focus:Vi.Specific,id:t,trigger:r}):y({type:2,focus:e,trigger:r})))),v=lt(((e,t)=>(y({type:3,id:e,dataRef:t}),()=>{var t;(null==(t=I.current)?void 0:t.id)===e&&(m.current=!0),y({type:4,id:e})}))),k=lt((e=>(y({type:5,id:e}),()=>y({type:5,id:null})))),A=lt((e=>_e(D.mode,{0:()=>null==d?void 0:d(e),1(){let t=D.value.slice(),r=t.findIndex((t=>S(t,e)));return-1===r?t.push(e):t.splice(r,1),null==d?void 0:d(t)}}))),Y=(0,t.useMemo)((()=>({onChange:A,registerOption:v,registerLabel:k,goToOption:b,closeCombobox:O,openCombobox:C,selectActiveOption:z,selectOption:h})),[]),U=null===r?{}:{ref:r},Q=(0,t.useRef)(null),G=mt();return(0,t.useEffect)((()=>{Q.current&&void 0!==a&&G.addEventListener(Q.current,"reset",(()=>{A(a)}))}),[Q,A]),t.createElement(sa.Provider,{value:Y},t.createElement(la.Provider,{value:D},t.createElement(tt,{value:_e(D.comboboxState,{0:$e.Open,1:$e.Closed})},null!=u&&null!=j&&Ji({[u]:j}).map((([e,r],i)=>t.createElement(xr,{features:mr.Hidden,ref:0===i?e=>{var t;Q.current=null!=(t=null==e?void 0:e.closest("form"))?t:null}:void 0,...Je({key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,name:e,value:r})}))),Ze({ourProps:U,theirProps:c,slot:f,defaultTag:ca,name:"Combobox"}))))})),Na=Ve((function(e,r){var i;let a=La("Combobox.Button"),n=oa("Combobox.Button"),u=ct(a.buttonRef,r),s=yr(),{id:o=`headlessui-combobox-button-${s}`,...l}=e,L=mt(),M=lt((e=>{switch(e.key){case dr.ArrowDown:return e.preventDefault(),e.stopPropagation(),1===a.comboboxState&&n.openCombobox(),L.nextFrame((()=>{var e;return null==(e=a.inputRef.current)?void 0:e.focus({preventScroll:!0})}));case dr.ArrowUp:return e.preventDefault(),e.stopPropagation(),1===a.comboboxState&&(n.openCombobox(),L.nextFrame((()=>{a.value||n.goToOption(Vi.Last)}))),L.nextFrame((()=>{var e;return null==(e=a.inputRef.current)?void 0:e.focus({preventScroll:!0})}));case dr.Escape:return 0!==a.comboboxState?void 0:(e.preventDefault(),a.optionsRef.current&&!a.optionsPropsRef.current.static&&e.stopPropagation(),n.closeCombobox(),L.nextFrame((()=>{var e;return null==(e=a.inputRef.current)?void 0:e.focus({preventScroll:!0})})));default:return}})),c=lt((e=>{if(Nr(e.currentTarget))return e.preventDefault();0===a.comboboxState?n.closeCombobox():(e.preventDefault(),n.openCombobox()),L.nextFrame((()=>{var e;return null==(e=a.inputRef.current)?void 0:e.focus({preventScroll:!0})}))})),j=Zi((()=>{if(a.labelId)return[a.labelId,o].join(" ")}),[a.labelId,o]),d=(0,t.useMemo)((()=>({open:0===a.comboboxState,disabled:a.disabled,value:a.value})),[a]);return Ze({ourProps:{ref:u,id:o,type:Hi(e,a.buttonRef),tabIndex:-1,"aria-haspopup":"listbox","aria-controls":null==(i=a.optionsRef.current)?void 0:i.id,"aria-expanded":a.disabled?void 0:0===a.comboboxState,"aria-labelledby":j,disabled:a.disabled,onClick:c,onKeyDown:M},theirProps:l,slot:d,defaultTag:"button",name:"Combobox.Button"})})),ya=Ve((function(e,r){var i,a,n,u;let s=yr(),{id:o=`headlessui-combobox-input-${s}`,onChange:l,displayValue:L,type:M="text",...c}=e,j=La("Combobox.Input"),d=oa("Combobox.Input"),N=ct(j.inputRef,r),y=(0,t.useRef)(!1),m=mt(),x=function(){var e;return"function"==typeof L&&void 0!==j.value?null!=(e=L(j.value))?e:"":"string"==typeof j.value?j.value:""}();vr((([e,t],[r,i])=>{y.current||j.inputRef.current&&(0===i&&1===t||e!==r)&&(j.inputRef.current.value=e)}),[x,j.comboboxState]),vr((([e],[t])=>{if(0===e&&1===t){let e=j.inputRef.current;if(!e)return;let t=e.value,{selectionStart:r,selectionEnd:i,selectionDirection:a}=e;e.value="",e.value=t,null!==a?e.setSelectionRange(r,i,a):e.setSelectionRange(r,i)}}),[j.comboboxState]);let g=(0,t.useRef)(!1),p=lt((()=>{g.current=!0})),T=lt((()=>{setTimeout((()=>{g.current=!1}))})),w=lt((e=>{switch(y.current=!0,e.key){case dr.Backspace:case dr.Delete:if(0!==j.mode||!j.nullable)return;let t=e.currentTarget;m.requestAnimationFrame((()=>{""===t.value&&(d.onChange(null),j.optionsRef.current&&(j.optionsRef.current.scrollTop=0),d.goToOption(Vi.Nothing))}));break;case dr.Enter:if(y.current=!1,0!==j.comboboxState||g.current)return;if(e.preventDefault(),e.stopPropagation(),null===j.activeOptionIndex)return void d.closeCombobox();d.selectActiveOption(),0===j.mode&&d.closeCombobox();break;case dr.ArrowDown:return y.current=!1,e.preventDefault(),e.stopPropagation(),_e(j.comboboxState,{0:()=>{d.goToOption(Vi.Next)},1:()=>{d.openCombobox()}});case dr.ArrowUp:return y.current=!1,e.preventDefault(),e.stopPropagation(),_e(j.comboboxState,{0:()=>{d.goToOption(Vi.Previous)},1:()=>{d.openCombobox(),m.nextFrame((()=>{j.value||d.goToOption(Vi.Last)}))}});case dr.Home:if(e.shiftKey)break;return y.current=!1,e.preventDefault(),e.stopPropagation(),d.goToOption(Vi.First);case dr.PageUp:return y.current=!1,e.preventDefault(),e.stopPropagation(),d.goToOption(Vi.First);case dr.End:if(e.shiftKey)break;return y.current=!1,e.preventDefault(),e.stopPropagation(),d.goToOption(Vi.Last);case dr.PageDown:return y.current=!1,e.preventDefault(),e.stopPropagation(),d.goToOption(Vi.Last);case dr.Escape:return y.current=!1,0!==j.comboboxState?void 0:(e.preventDefault(),j.optionsRef.current&&!j.optionsPropsRef.current.static&&e.stopPropagation(),d.closeCombobox());case dr.Tab:if(y.current=!1,0!==j.comboboxState)return;0===j.mode&&d.selectActiveOption(),d.closeCombobox()}})),S=lt((e=>{d.openCombobox(),null==l||l(e)})),E=lt((()=>{y.current=!1})),D=Zi((()=>{if(j.labelId)return[j.labelId].join(" ")}),[j.labelId]),I=(0,t.useMemo)((()=>({open:0===j.comboboxState,disabled:j.disabled})),[j]);return Ze({ourProps:{ref:N,id:o,role:"combobox",type:M,"aria-controls":null==(i=j.optionsRef.current)?void 0:i.id,"aria-expanded":j.disabled?void 0:0===j.comboboxState,"aria-activedescendant":null===j.activeOptionIndex||null==(a=j.options[j.activeOptionIndex])?void 0:a.id,"aria-labelledby":D,"aria-autocomplete":"list",defaultValue:null!=(u=null!=(n=e.defaultValue)?n:void 0!==j.defaultValue?null==L?void 0:L(j.defaultValue):null)?u:j.defaultValue,disabled:j.disabled,onCompositionStart:p,onCompositionEnd:T,onKeyDown:w,onChange:S,onBlur:E},theirProps:c,slot:I,defaultTag:"input",name:"Combobox.Input"})})),ma=Ve((function(e,r){let i=yr(),{id:a=`headlessui-combobox-label-${i}`,...n}=e,u=La("Combobox.Label"),s=oa("Combobox.Label"),o=ct(u.labelRef,r);nt((()=>s.registerLabel(a)),[a]);let l=lt((()=>{var e;return null==(e=u.inputRef.current)?void 0:e.focus({preventScroll:!0})})),L=(0,t.useMemo)((()=>({open:0===u.comboboxState,disabled:u.disabled})),[u]);return Ze({ourProps:{ref:o,id:a,onClick:l},theirProps:n,slot:L,defaultTag:"label",name:"Combobox.Label"})})),xa=Ve((function(e,r){let i=yr(),{id:a=`headlessui-combobox-options-${i}`,hold:n=!1,...u}=e,s=La("Combobox.Options"),o=ct(s.optionsRef,r),l=et(),L=null!==l?(l&$e.Open)===$e.Open:0===s.comboboxState;nt((()=>{var t;s.optionsPropsRef.current.static=null!=(t=e.static)&&t}),[s.optionsPropsRef,e.static]),nt((()=>{s.optionsPropsRef.current.hold=n}),[s.optionsPropsRef,n]),function({container:e,accept:r,walk:i,enabled:a=!0}){let n=(0,t.useRef)(r),u=(0,t.useRef)(i);(0,t.useEffect)((()=>{n.current=r,u.current=i}),[r,i]),nt((()=>{if(!e||!a)return;let t=gr(e);if(!t)return;let r=n.current,i=u.current,s=Object.assign((e=>r(e)),{acceptNode:r}),o=t.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,s,!1);for(;o.nextNode();)i(o.currentNode)}),[e,a,n,u])}({container:s.optionsRef.current,enabled:0===s.comboboxState,accept:e=>"option"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let M=Zi((()=>{var e,t;return null!=(t=s.labelId)?t:null==(e=s.buttonRef.current)?void 0:e.id}),[s.labelId,s.buttonRef.current]),c=(0,t.useMemo)((()=>({open:0===s.comboboxState})),[s]);return Ze({ourProps:{"aria-labelledby":M,role:"listbox","aria-multiselectable":1===s.mode||void 0,id:a,ref:o},theirProps:u,slot:c,defaultTag:"ul",features:ja,visible:L,name:"Combobox.Options"})})),ga=Ve((function(e,r){var i,a;let n=yr(),{id:u=`headlessui-combobox-option-${n}`,disabled:s=!1,value:o,...l}=e,L=La("Combobox.Option"),M=oa("Combobox.Option"),c=null!==L.activeOptionIndex&&L.options[L.activeOptionIndex].id===u,j=L.isSelected(o),d=(0,t.useRef)(null),N=st({disabled:s,value:o,domRef:d,textValue:null==(a=null==(i=d.current)?void 0:i.textContent)?void 0:a.toLowerCase()}),y=ct(r,d),m=lt((()=>M.selectOption(u)));nt((()=>M.registerOption(u,N)),[N,u]);let x=(0,t.useRef)(!L.__demoMode);nt((()=>{if(!L.__demoMode)return;let e=dt();return e.requestAnimationFrame((()=>{x.current=!0})),e.dispose}),[]),nt((()=>{if(0!==L.comboboxState||!c||!x.current||0===L.activationTrigger)return;let e=dt();return e.requestAnimationFrame((()=>{var e,t;null==(t=null==(e=d.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})),e.dispose}),[d,c,L.comboboxState,L.activationTrigger,L.activeOptionIndex]);let g=lt((e=>{if(s)return e.preventDefault();m(),0===L.mode&&M.closeCombobox(),Ni()||/Android/gi.test(window.navigator.userAgent)||requestAnimationFrame((()=>{var e;return null==(e=L.inputRef.current)?void 0:e.focus()}))})),p=lt((()=>{if(s)return M.goToOption(Vi.Nothing);M.goToOption(Vi.Specific,u)})),T=function(){let e=(0,t.useRef)([-1,-1]);return{wasMoved(t){let r=ea(t);return(e.current[0]!==r[0]||e.current[1]!==r[1])&&(e.current=r,!0)},update(t){e.current=ea(t)}}}(),w=lt((e=>T.update(e))),S=lt((e=>{T.wasMoved(e)&&(s||c||M.goToOption(Vi.Specific,u,0))})),E=lt((e=>{T.wasMoved(e)&&(s||c&&(L.optionsPropsRef.current.hold||M.goToOption(Vi.Nothing)))})),D=(0,t.useMemo)((()=>({active:c,selected:j,disabled:s})),[c,j,s]);return Ze({ourProps:{id:u,ref:y,role:"option",tabIndex:!0===s?void 0:-1,"aria-disabled":!0===s||void 0,"aria-selected":j,disabled:void 0,onClick:g,onFocus:p,onPointerEnter:w,onMouseEnter:w,onPointerMove:S,onMouseMove:S,onPointerLeave:E,onMouseLeave:E},theirProps:l,slot:D,defaultTag:"li",name:"Combobox.Option"})})),pa=Object.assign(da,{Input:ya,Button:Na,Label:ma,Options:xa,Option:ga});const Ta=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{fillRule:"evenodd",d:"M10 3a1 1 0 01.707.293l3 3a1 1 0 01-1.414 1.414L10 5.414 7.707 7.707a1 1 0 01-1.414-1.414l3-3A1 1 0 0110 3zm-3.707 9.293a1 1 0 011.414 0L10 14.586l2.293-2.293a1 1 0 011.414 1.414l-3 3a1 1 0 01-1.414 0l-3-3a1 1 0 010-1.414z",clipRule:"evenodd"}))})),wa=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"}))}));function Sa(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(Boolean).join(" ")}function Ea(){const r=(0,t.useContext)(Qi),i=Object.keys(r),{eventNameContext:a,setEventContext:n}=(0,t.useContext)(Yi),[u]=n,[s,o]=a,[l,L]=(0,t.useState)(""),M=""===l?i:i.filter((e=>e.toLowerCase().includes(l.toLowerCase())));return(0,t.useEffect)((()=>{s||(o("generate_lead"),u("generate_lead"))}),[]),(0,e.createElement)(pa,{className:"sm:grid sm:grid-cols-3 sm:gap-4 sm:items-start",as:"fieldset",value:s,onChange:u},(0,e.createElement)(pa.Label,{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Recommended Event"),(0,e.createElement)("div",{className:"relative mt-1 sm:mt-0 sm:col-span-2"},(0,e.createElement)("div",{className:"max-w-sm_ w-full flex rounded-md shadow-sm"},(0,e.createElement)(pa.Input,{className:"w-full flex-1 block min-w-0 rounded-md border border-gray-300 bg-white py-2 pl-3 pr-10 shadow-sm focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 sm:text-sm",onChange:e=>L(e.target.value),displayValue:e=>e}),(0,e.createElement)(pa.Button,{className:"absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none"},(0,e.createElement)(Ta,{className:"h-5 w-5 text-gray-400","aria-hidden":"true"}))),M.length>0&&(0,e.createElement)(pa.Options,{className:"absolute z-10 mt-1 max-h-60 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm"},M.map((t=>(0,e.createElement)(pa.Option,{key:t,value:t,className:e=>{let{active:t}=e;return Sa("relative cursor-default select-none py-2 pl-3 pr-9",t?"bg-indigo-600 text-white":"text-gray-900")}},(r=>{let{active:i,selected:a}=r;return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("span",{className:Sa("block truncate",a&&"font-semibold")},t),a&&(0,e.createElement)("span",{className:Sa("absolute inset-y-0 right-0 flex items-center pr-4",i?"text-white":"text-indigo-600")},(0,e.createElement)(wa,{className:"h-5 w-5","aria-hidden":"true"})))})))))))}function Da(t){let{pKey:r,pValue:i,setProp:a,required:n,type:u,placeholder:s,deleteProp:o,deleteButton:l}=t;return(0,e.createElement)(e.Fragment,null,"items"!=r?(0,e.createElement)("fieldset",{className:"flex flex-1 w-full sm:grid sm:grid-cols-3 sm:gap-4 sm:items-start sm:border-t sm:border-gray-200 sm:pt-5"},(0,e.createElement)("label",{htmlFor:"selectorType",className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"+(1==n?" required":"")},r),(0,e.createElement)("input",{type:u,required:n,name:r,placeholder:s,id:r,value:i,onChange:e=>a(r,"items"==r?"[{}]":e.target.value),className:"flex-1 block col-span-2 w-full focus:ring-indigo-500 focus:border-indigo-500 min-w-0 rounded-none rounded-r-md sm:text-sm border-gray-300"})):"")}const Ia=()=>{const{selectorContext:t}=i().useContext(Yi),[r,a]=t;return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("fieldset",{className:"sm:grid sm:grid-cols-3 sm:gap-4 sm:items-start sm:border-t sm:border-gray-200 sm:pt-5"},(0,e.createElement)("label",{htmlFor:"selector",className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2 required"},"Class or ID Selector"),(0,e.createElement)("div",{className:"mt-1 sm:mt-0 sm:col-span-2"},(0,e.createElement)("div",{className:"w-full flex rounded-md shadow-sm"},(0,e.createElement)("input",{required:!0,type:"text",name:"selector",id:"selector",placeholder:"Full CSS selector (including . and #)",value:r||"",onChange:e=>a(e.target.value),className:"flex-1 block w-full focus:ring-indigo-500 focus:border-indigo-500 min-w-0 rounded-none rounded-r-md sm:text-sm border-gray-300"})))))},fa=t=>{let{currentCustomEvent:r,eventType:i,onClose:a,handleHelpClick:n}=t;return(0,e.createElement)("header",{className:"py-5 pl-10 pr-10 sticky top-0 shadow"},(0,e.createElement)("div",{className:"flex items-start justify-between"},(0,e.createElement)(ki.Title,{className:"text-2xl font-medium text-gray-900"},r?"Edit":"New"," ",i,(0,e.createElement)("button",{type:"button",onClick:n},(0,e.createElement)(_t(),{className:"h-6 w-6 ml-2 inline hover:text-brand-primary","aria-hidden":"true"}))),(0,e.createElement)("div",{className:"ml-3 flex h-7 items-center"},(0,e.createElement)("button",{type:"button",className:"rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-indigo-500",onClick:a},(0,e.createElement)("span",{className:"sr-only"},"Close panel"),(0,e.createElement)(kt,{className:"h-6 w-6","aria-hidden":"true"})))))},ha=t=>{let{onCancel:r}=t;return(0,e.createElement)("footer",{className:"flex flex-shrink-0 justify-end px-4 py-4"},(0,e.createElement)("button",{type:"button",className:"rounded-md border border-gray-300 bg-white py-2 px-4 text-sm font-medium text-gray-700 shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2",onClick:r},"Cancel"),(0,e.createElement)("button",{type:"submit",form:"event-form",className:"ml-4 inline-flex justify-center rounded-md border border-transparent bg-indigo-600 py-2 px-4 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2"},"Save"))},za=t=>{let{properties:r,isRecommended:i,recommendedEvents:a,eventName:n,setProp:u,deleteProp:s}=t;return(0,e.createElement)("div",{"data-component":"props-table",className:"flex flex-col bg-gray-50 rounded-50 mt-6 "},(0,e.createElement)("div",{"data-component":"props-list",className:"bg-gray-100 p-2 flex flex-col items-center rounded pb-4"},(0,e.createElement)("table",{className:"min-w-full table-fixed divide-y divide-gray-300"},(0,e.createElement)("thead",{className:"bg-gray-50"},(0,e.createElement)("tr",null,(0,e.createElement)("th",{scope:"col",className:"min-w-[12rem] py-3.5 pr-2 pl-4 text-left text-sm font-semibold text-gray-900"},"Property"),(0,e.createElement)("th",{scope:"col",className:"px-3 py-3.5 text-left text-sm font-semibold text-gray-900"},"Value"),(0,e.createElement)("th",{scope:"col",className:"px-3 py-3.5 text-left text-sm font-semibold text-gray-900"}),(0,e.createElement)("th",{scope:"col",className:"relative py-3.5 pl-3 pr-4 sm:pr-6"},(0,e.createElement)("span",{className:"sr-only"},"Edit")))),(0,e.createElement)("tbody",{className:"bg-white"},Object.entries(r).map((t=>{let[r,o]=t;return(0,e.createElement)(Bi,{key:r,pKey:r,pValue:o,setProp:u,required:i&&a&&a[n][r]?.required,type:i&&a?a[n][r]?.type:"text",placeholder:i&&a?a[n][r]?.placeholder:"",deleteProp:s,deleteButton:!0})})))),0===Object.keys(r).length&&(0,e.createElement)("div",{"data-component":"no-items-placeholder",className:"p-6 w-full flex-1 text-center items-center opacity-90 bg-gray-200 rounded my-4"},"No Items")))},Ca=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Custom Event Name"),(0,e.createElement)("span",{className:"block pt-5"},'In the "Custom Event Name" field, enter a descriptive label that reflects the action users take on your website, such as "download_ebook" or "play_video".',(0,e.createElement)("p",{className:"pt-2"},"This label becomes the event's name in Google Analytics GA4, allowing you to track and analyze these specific user interactions."),(0,e.createElement)("p",{className:"pt-2"},"Choose clear and consistent names to simplify your event tracking and reporting."))),Oa=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Class or ID Selector"),(0,e.createElement)("span",{className:"block pt-5"},'In the "Class or ID Selector" field, enter the CSS selector that uniquely identifies the webpage element you wish to track, such as a button or link.',(0,e.createElement)("p",{className:"pt-2"},"Use a period (.) for a class or a hash (#) for an ID."),(0,e.createElement)("p",{className:"pt-2"},"For instance, to track clicks on a button with the ID 'purchase', input '#purchase' into this field."),(0,e.createElement)("p",{className:"pt-2"},"This CSS selector enables the plugin to monitor interactions with the specified element and report them as events to Google Analytics GA4.")),(0,e.createElement)("span",{className:"block pt-5 pb-5"},(0,e.createElement)("a",{className:"font-medium text-blue-600 dark:text-blue-500 hover:underline",target:"_blank",href:"https://www.wpgoaltracker.com/dtp7"},"Click here to learn more about how to set the Class or ID Selector."))),ba=a.p+"images/Placeholders.01211bf7.png",va=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Additional Parameters"),(0,e.createElement)("span",{className:"block pt-5"},'The "Additional Properties" section allows you to add extra details to your event, which are sent as parameters with the event to GA4.',(0,e.createElement)("p",{className:"pt-2"},"Each property consists of a key and a value. The key is a simple label describing the data, like 'color' or 'level', while the value is the actual information, such as 'red' or 'hard'."),(0,e.createElement)("p",{className:"pt-2"},"These properties help you segment and analyze your event data more granularly in GA4. For instance, if you're tracking a 'video_play' event, additional properties could include 'video_name' as the key and the actual name of the video as the value."),(0,e.createElement)("p",{className:"pt-2"},"This level of detail can give you better insights into user behavior.")),(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Placeholders (Pro Feature)"),(0,e.createElement)("span",{className:"block pt-5"},'Goal Tracker for Google Analytics Pro allows you to use placeholders in the "Additional Properties" section.',(0,e.createElement)("p",{className:"pt-2"},"This feature is useful when you want to track dynamic data, such as the name of a product or the price of an item."),(0,e.createElement)("p",{className:"italic pt-2"},"If you worked with Liquid Templates this is very similar."),(0,e.createElement)("p",{className:"pt-2"},"Here are a few examples:")),(0,e.createElement)("img",{className:"pt-5",src:ba}),(0,e.createElement)("span",{className:"block pt-5 pb-5"},(0,e.createElement)("a",{className:"font-medium text-blue-600 dark:text-blue-500 hover:underline",target:"_blank",href:"https://www.wpgoaltracker.com/ciwr"},"Click here to learn more about Placeholders."))),ka=()=>(0,e.createElement)("div",null,(0,e.createElement)(Ca,null),(0,e.createElement)(Oa,null),(0,e.createElement)(va,null)),Aa=a.p+"images/RecommendedEvent.3efd48cc.png",Ya=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Recommended Events"),(0,e.createElement)("span",{className:"block pt-5"},"Recommended events in GA4 are pre-configured event types that Google Analytics has identified as significant across a wide range of websites and apps.",(0,e.createElement)("p",{className:"pt-2"},"These include common interactions like 'login', 'search', or 'purchase', which many site owners are interested in tracking."),(0,e.createElement)("p",{className:"pt-2"},"By using these standardized events, even if you're not deeply familiar with analytics, you can benefit from Google's expertise in user behavior tracking."),(0,e.createElement)("p",{className:"pt-2"},"This helps ensure that you're collecting the right data in a format that GA4 can use to generate insightful reports, making it easier for you to understand and analyze your users' actions."),(0,e.createElement)("p",{className:"pt-2"},"Recommended events have pre-defined parameters that are sent to GA4. When you choose an recommended event, we will show you the parameters that are associated with that event.")),(0,e.createElement)("img",{className:"pt-5",src:Aa})),(0,e.createElement)(Oa,null)),{apiFetch:Ua}=wp,Qa=r=>{let{eventType:i,currentCustomEvent:a,setCurrentCustomEvent:n,updateFunction:u,open:s,setOpen:o}=r;const l=(0,t.useContext)(Qi),{type:L}=(0,t.useContext)(Ui),[M,c]=(0,t.useState)(!1),[j,d]=(0,t.useState)(""),[N,y]=(0,t.useState)(""),[m,x]=(0,t.useState)(""),[g,p]=(0,t.useState)(""),[T,w]=(0,t.useState)(""),[S,E]=(0,t.useState)(""),[D,I]=(0,t.useState)({}),[f,h]=(0,t.useState)(!1),[z,C]=(0,t.useState)(!1),{open:O,setOpenHelpSlider:b,setTitleHelpSlider:v,setComponent:k}=Rt();var A;const[Y,U]=(0,t.useState)(!1),[Q,G]=(0,t.useState)(!1),[P,R]=(0,t.useState)(!1),[F,_]=(0,t.useState)(!1);(0,t.useEffect)((()=>{a&&Object.keys(a).length>0?(d(a.selector),p(a.eventName),I(a.props),h(a.isRecommended),C(!!(a.props&&Object.keys(a.props).length>=25)),A=l[a.eventName]):(d(""),p(""),w(""),E(""),I({}),"Recommended Event"===i&&h(1))}),[s]);const q=(e,t)=>{let r={...D};r[e]=t,I(r)};return(0,e.createElement)(Yi.Provider,{value:{eventNameContext:[g,p],customEventNameContext:[N,y],setEventContext:[e=>{A=l[e];const t=[];null!=A&&Object.keys(A).forEach((function(e){t[e]=""})),h(!!A),p(e),I(t)}],selectorContext:[j,d],eventTypeContext:[i,i]}},(0,e.createElement)(Ai.Provider,{value:{openItemsForm:M,setOpenItemsForm:c}},(0,e.createElement)(t.Fragment,null,(0,e.createElement)(bt.Root,{show:s,as:t.Fragment},(0,e.createElement)(ki,{as:"div",className:"relative z-[999999]",onClose:o},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"ease-in-out duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-gray-500/75 backdrop-blur-sm transition-opacity"})),(0,e.createElement)("div",{className:"fixed inset-0"}),(0,e.createElement)("div",{className:"fixed inset-0 overflow-hidden"},(0,e.createElement)("div",{className:"absolute inset-0 overflow-hidden"},(0,e.createElement)("div",{className:`pointer-events-none fixed inset-y-0 right-0 flex ${M||O?"w-2/3":"w-1/2"} min-w-[750px] pl-10 transform transition-all ease-in-out duration-500 sm:duration-700`},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"transform transition ease-in-out duration-500 sm:duration-700",enterFrom:"translate-x-full",enterTo:"translate-x-0",leave:"transform transition ease-in-out duration-500 sm:duration-700",leaveFrom:"translate-x-0",leaveTo:"translate-x-full"},(0,e.createElement)(ki.Panel,{className:"pointer-events-auto flex-1"},(0,e.createElement)("form",{id:"event-form",onSubmit:async function(e){if(e.preventDefault(),"event-form"!==e.target.id)return;U(!0);const t={type:L,selector:j,eventName:g,props:D,isRecommended:f};let r=wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/set_event";a&&(r+="?ID="+a.id);let i=await Ua({path:r,method:"POST",data:{type:L,config:t}});Object.keys(i).length>=3?(R(!1),U(!1),_(!1)):(U(!1),R(!0),_(!0)),G(!0),u(),n({}),o(!1)},className:"flex h-full flex-col divide-y divide-gray-200 bg-white shadow-xl"},(0,e.createElement)("div",{"data-component":"form-wrapper",className:"flex min-h-0 flex-1 flex-col "},(0,e.createElement)(fa,{currentCustomEvent:a,eventType:i,onClose:()=>o(!1),handleHelpClick:()=>{v(i+" Help"),k("Recommended Event"===i?Ya:ka),b(!0)}}),(0,e.createElement)("div",{"data-component":"main-form",className:"overflow-y-scroll bg-gray-100 p-10 flex-1"},(0,e.createElement)("div",{className:"bg-white w-full p-10 rounded-md"},(0,e.createElement)("div",{className:"p-10 min-h-[410px]"},(0,e.createElement)("div",{"data-component":"fieldset-wrapper",className:"mt-6 sm:mt-5 space-y-6 sm:space-y-5"},"Recommended Event"===i?(0,e.createElement)(Ea,null):(0,e.createElement)("div",{className:""},(0,e.createElement)("fieldset",{className:"sm:grid sm:grid-cols-3 sm:gap-4 sm:items-start"},(0,e.createElement)("label",{htmlFor:"selector",className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2 required"},"Custom Event Name"),(0,e.createElement)("div",{className:"mt-1 sm:mt-0 sm:col-span-2"},(0,e.createElement)("div",{className:"w-full flex rounded-md shadow-sm"},(0,e.createElement)("input",{required:!0,type:"text",name:"customEvent",id:"customEvent",placeholder:"custom_event_name  ",maxLength:"40",value:g||"",onChange:e=>p(e.target.value),className:"flex-1 block w-full focus:ring-indigo-500 focus:border-indigo-500 min-w-0 rounded-none rounded-r-md sm:text-sm border-gray-300"}))))),(0,e.createElement)(Ia,null)),"Custom Event"===i||"Recommended Event"===i&&g?(0,e.createElement)(t.Fragment,null,"Recommended Event"===i?(0,e.createElement)("div",{"data-component":"fieldset-wrapper",className:"mt-6 sm:mt-20 space-y-6 sm:space-y-5"},(0,e.createElement)("h3",{className:"text-sm leading-6 font-medium text-gray-600 mt-10 border-b border-gray-200 pb-2 uppercase"},(0,e.createElement)("span",{className:"text-gray-600"})," ","Event"," ",(0,e.createElement)("span",{className:"text-gray-600 text-sm uppercase "},"Properties:")),(0,e.createElement)(t.Fragment,null,Object.entries(D).map((t=>{let[r,i]=t;return(0,e.createElement)(Da,{key:r,pKey:r,pValue:i,setProp:q,required:!!f&&l[g][r].required,type:f?l[g][r].type:"text",placeholder:f?l[g][r].placeholder:""})})),D&&"items"in D?(0,e.createElement)(qi,{eventName:g,eventItems:D.items,updateFunction:e=>{let t={...D};t.items=e,I(t)}}):"")):D&&(0,e.createElement)(t.Fragment,null,(0,e.createElement)("div",{className:"mt-2 sm:mt-5 space-y-6 sm:space-y-5",style:{display:f?"none":"block"}},(0,e.createElement)("div",{className:"sm:grid sm:grid-cols-3 sm:gap-4 sm:items-start sm:border-t sm:border-gray-200 sm:pt-5"},(0,e.createElement)("label",{htmlFor:"selectorType",className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Additional Properties"),(0,e.createElement)("input",{type:"text",name:"dkey",placeholder:"Key",maxLength:"40",id:"dkey",value:T,onChange:e=>w(e.target.value),disabled:z,className:"flex-1 block w-full focus:ring-indigo-500 focus:border-indigo-500 min-w-0 rounded-none rounded-r-md sm:text-sm border-gray-300"}),(0,e.createElement)("input",{type:"text",name:"dvalue",placeholder:"Value",id:"dvalue",maxLength:"100",value:S,onChange:e=>E(e.target.value),disabled:z,className:"flex-1 block w-full focus:ring-indigo-500 focus:border-indigo-500 min-w-0 rounded-none rounded-r-md sm:text-sm border-gray-300"}),(0,e.createElement)("div",{className:"flex w-full justify-end items-end col-end-4"},(0,e.createElement)("button",{type:"button",onClick:()=>{let e={...D};e[T]=S,Object.keys(e).length>=25&&C(!0),I(e)},disabled:z,className:"inline-flex items-center center w-28 px-4 py-1.5 border border-transparent text-xs font-medium rounded text-white bg-brand-primary hover:bg-brand-primary-hover focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-brand-primary-focus"},"Add Property")))),(0,e.createElement)("div",{"data-component":"props-table",className:"flex flex-col bg-gray-50 rounded-50 mt-6 "},(0,e.createElement)(za,{properties:D,isRecommended:f,recommendedEvents:l,eventName:g,setProp:q,deleteProp:e=>{let t={...D};delete t[e],Object.keys(t).length<25&&C(!1),I(t)}})))):"")))),(0,e.createElement)(ha,{onCancel:()=>o(!1)})))),!1))))))))},Ga=r=>{let{open:i,toggleDeleteModal:a,customEvent:n,customEventId:u,deleteEvent:s,updateFunction:o}=r;return(0,e.createElement)(bt.Root,{show:i,as:t.Fragment},(0,e.createElement)(ki,{as:"div",className:"relative z-10",onClose:a},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"})),(0,e.createElement)("div",{className:"fixed z-10 inset-0 overflow-y-auto"},(0,e.createElement)("div",{className:"flex items-end sm:items-center justify-center min-h-full p-4 text-center sm:p-0"},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},(0,e.createElement)(ki.Panel,{className:"relative bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:max-w-lg sm:w-full sm:p-6"},(0,e.createElement)("div",{className:"sm:flex sm:items-start"},(0,e.createElement)("div",{className:"mx-auto flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-red-100 sm:mx-0 sm:h-10 sm:w-10"}),(0,e.createElement)("div",{className:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"},(0,e.createElement)(ki.Title,{as:"h3",className:"text-lg leading-6 font-medium text-gray-900"},"Delete Custom Event"),(0,e.createElement)("div",{className:"mt-2"},(0,e.createElement)("p",{className:"text-sm text-gray-500"},"Are you sure you want to delete the"," ",(0,e.createElement)("span",{className:"strong"},n)," ","customEvent?")))),(0,e.createElement)("div",{className:"mt-5 sm:mt-4 sm:flex sm:flex-row-reverse"},(0,e.createElement)("button",{type:"button",className:"w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-red-600 text-base font-medium text-white hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500 focus:ring-red-500 sm:ml-3 sm:w-auto sm:text-sm",onClick:function(){s(u),o(),a()}},"Delete"),(0,e.createElement)("button",{type:"button",className:"mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:w-auto sm:text-sm",onClick:a},"Cancel"))))))))},Pa=t=>{let{pKey:r,pValue:i,del:a}=t;return(0,e.createElement)("div",{"data-component":"tag",className:"mr-3 mb-2 whitespace-nowrap flex",key:r},(0,e.createElement)("span",{className:" items-center px-3 py-0.5 rounded-l-lg text-sm font-medium bg-gray-200 text-gray-600"},r),(0,e.createElement)("span",{className:"items-center px-3 py-0.5 rounded-r-lg text-sm font-medium bg-gray-400 text-white truncate max-w-[10ch] text-ellipsis"},i))},Ra=()=>(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Need Help with Click Tracking?"),(0,e.createElement)("span",{className:"block pt-5 pb-5"},"Our Click Tracking feature allows you to easily monitor clicks on buttons, links, and other elements on your WordPress site. Check out this brief guide and the accompanying video tutorial for a clear, step-by-step explanation on setting up and using Click Tracking to enhance your Google Analytics insights."),(0,e.createElement)("div",null,(0,e.createElement)("iframe",{width:"576",height:"360",src:"https://www.youtube.com/embed/lpG4VNVpemo",title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0}))),Fa=()=>(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Need Help with Visibility Tracking?"),(0,e.createElement)("span",{className:"block pt-5 pb-5"},"Our Visibility Tracking feature enables you to effectively track when specific elements, such as ads, banners, or forms, come into view for your site visitors. Consult this concise guide and the accompanying video tutorial for a comprehensive, step-by-step breakdown on configuring and utilizing Visibility Tracking to improve your Google Analytics data."),(0,e.createElement)("div",null,(0,e.createElement)("iframe",{width:"576",height:"360",src:"https://www.youtube.com/embed/9nhR6W5w060",title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0})));function _a(r){let{type:i,customEvents:a,deleteEvent:n,updateFunction:u}=r;const[s,l]=(0,t.useState)(!1),[L,M]=(0,t.useState)(!1),[c,j]=(0,t.useState)([]),[d,N]=(0,t.useState)(!1),[y,m]=(0,t.useState)(!1),[x,g]=(0,t.useState)(!1),[p,T]=(0,t.useState)(),[w,S]=(0,t.useState)(),{setOpenHelpSlider:E,setTitleHelpSlider:D,setComponent:I}=Rt();return(0,t.useLayoutEffect)((()=>{c.length>0&&(c.length,a.length)}),[c]),(0,e.createElement)(Ui.Provider,{value:{type:i}},(0,e.createElement)(Qi.Provider,{value:cr},(0,e.createElement)("div",{"data-component":"EventsTable",className:o()("pb-6","bg-white/50","shadow-xl")},(0,e.createElement)(Qa,{eventType:"Recommended Event",currentCustomEvent:w,setCurrentCustomEvent:S,updateFunction:u,open:y,setOpen:m}),(0,e.createElement)(Qa,{eventType:"Custom Event",currentCustomEvent:p,setCurrentCustomEvent:T,updateFunction:u,open:d,setOpen:function(){N(!d)}}),(0,e.createElement)(rr,{setAddCustomEventForm:N,setAddRecommendedEventForm:m}),(0,e.createElement)("div",{className:"mt-8 flex flex-col px-4 lg:px-6"},(0,e.createElement)("div",{className:"-my-2 -mx-4 overflow-x-auto sm:-mx-6 lg:-mx-8"},(0,e.createElement)("div",{className:o()("inline-block min-w-full ","align-middle","py-2 px-4 lg:px-6")},(0,e.createElement)("div",{className:"relative overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg"},(0,e.createElement)("table",{className:"w-full table-fixed divide-y divide-gray-300"},(0,e.createElement)("thead",{className:"bg-white/75"},(0,e.createElement)("tr",null,(0,e.createElement)("th",{scope:"col",className:"min-w-[12rem] py-3.5 pr-3 pl-4 text-left text-sm font-semibold text-gray-900"},"Custom Event Name"),(0,e.createElement)("th",{scope:"col",className:"w-[10rem] relative py-3.5 pl-3 pr-4 sm:pr-6"},(0,e.createElement)("span",{className:"sr-only"},"Edit")))),(0,e.createElement)("tbody",{className:" bg-white w-full"},0==a.length&&!d&&(0,e.createElement)("tr",null,(0,e.createElement)("td",{colSpan:5,className:"w-full"},(0,e.createElement)(Mr,{type:i,setOpenHelpSlider:()=>{const e=`Tracking your first ${i} event`;let t;switch(i){case"click":t=Ra;break;case"visibility":t=Fa;break;default:return void console.error(`Unknown tracking type: ${i}`)}D(e),I(t),E(!0)}}))),a.map(((r,i)=>(0,e.createElement)(t.Fragment,{key:i},(0,e.createElement)("tr",{className:o()(c.includes(r)?"bg-gray-50":void 0,"border-b border-gray-400")},(0,e.createElement)("td",{className:o()("px-4 text-base font-medium","py-1","pt-2",c.includes(r)?"text-gtIndigo-600":"text-gray-900")},(0,e.createElement)("div",null,(0,e.createElement)("span",{className:"text-xs text-gray-400 mr-2 uppercase"},"Event Name"),r.eventName),(0,e.createElement)("div",{className:"text-sm text-gray-600 my-2"},(0,e.createElement)("span",{className:"text-xs text-gray-400 mr-2 uppercase"},"Selector"),r.selector),(0,e.createElement)("div",{className:"text-xs text-gray-400 mr-2 mt-4 uppercase"},"Event Properties"),(0,e.createElement)("div",{className:"flex flex-start w-full items-center content-between py-4 flex-wrap"},r.props&&Object.entries(r.props).filter((e=>{let[t,r]=e;return"items"!==t})).map((t=>{let[r,i]=t;return i?(0,e.createElement)(Pa,{key:r,pKey:r,pValue:i,del:""}):""})))),(0,e.createElement)("td",{className:"bg-slate-50/75 py-6 px-2 text-right text-sm font-medium sm:px-4 w-[16rem]"},(0,e.createElement)("div",{className:"flex items-center flex-wrap space-x-1"},(0,e.createElement)("button",{type:"button",onClick:e=>function(e,t){e.preventDefault();let r={...t};r.edit=!0,r.isRecommended?(S({...r}),m(!0)):(T({...r}),N(!0))}(e,r),className:o()("flex-1","hover:shadow-xl flex items-center","px-2.5 py-1.5 border border-transparent","text-xs font-medium rounded shadow-sm","focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-brand-primary-focus","text-white","bg-brand-primary hover:bg-brand-600")},(0,e.createElement)(sr,{className:"h-4 w-4 mr-1","aria-hidden":"true"}),(0,e.createElement)("div",{className:"flex-1"},"Edit")),(0,e.createElement)("button",{type:"button",onClick:e=>function(e,t){e.preventDefault(),T(t),g(!0)}(e,r),className:o()("hover:shadow-xl flex items-center","px-2.5 py-1.5 border border-transparent","text-xs font-medium rounded shadow-sm","focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-brand-primary-focus","text-white","bg-brand-danger hover:bg-brand-danger-hover")},(0,e.createElement)(or,{className:"h-4 w-4 mx-1","aria-hidden":"true"}),(0,e.createElement)("div",{className:"flex-1 sr-only"},"Delete")))))))))),x&&p&&(0,e.createElement)(Ga,{open:x,toggleDeleteModal:function(){g(!x)},customEvent:p.eventName,customEventId:p.id,deleteEvent:n,updateFunction:u}))))))))}const{useEffect:qa,useRef:Ba}=wp.element,Za=(e,t)=>{const r=Ba(!0);qa((()=>{if(!r.current)return e();r.current=!1}),t)},Wa=e=>qa((()=>e),[]),{apiFetch:Ha}=wp,{isEqual:Va}=lodash,Ja=()=>{const[r,i]=(0,t.useState)([{eventName:"",selector:""}]),{showPromo:a,setShowPromo:n}=nr(),[u,s]=(0,t.useState)(!1),[o,l]=(0,t.useState)(!1),[L,M]=(0,t.useState)(!1),[c,j]=(0,t.useState)(!1),d=async()=>{let e=await async function(){return await Ha({path:wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/get_events?type=click"})}();e.length>=2?n(!0):n(!1),i(e)};return(0,t.useEffect)((()=>{d()}),[]),Za((()=>{})),Wa((()=>{})),(0,e.createElement)(_a,{key:r.selector,type:"click",customEvents:r,deleteEvent:async function(e){let t=await Ha({path:wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/delete_event?id="+e,method:"DELETE"});return d(),t},updateFunction:d})},{apiFetch:Xa}=wp,{isEqual:Ka}=lodash,$a=()=>{const[r,i]=(0,t.useState)([{eventName:"",selector:""}]),{showPromo:a,setShowPromo:n}=nr(),[u,s]=(0,t.useState)(!1),[o,l]=(0,t.useState)(!1),[L,M]=(0,t.useState)(!1),[c,j]=(0,t.useState)(!1),d=async()=>{let e=await async function(){return await Xa({path:wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/get_events?type=visibility"})}();e.length>=2?n(!0):n(!1),i(e)};return(0,t.useEffect)((()=>{d()}),[]),Za((()=>{})),Wa((()=>{})),(0,e.createElement)(e.Fragment,null,(0,e.createElement)(_a,{key:r.selector,type:"visibility",customEvents:r,deleteEvent:async function(e){return await Xa({path:wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/delete_event?id="+e,method:"DELETE"})},updateFunction:d}))};function en(){return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(ye,null,(0,e.createElement)(de,{index:!0,element:(0,e.createElement)(Ja,null)}),(0,e.createElement)(de,{path:"click-tracking",element:(0,e.createElement)(Ja,null)}),(0,e.createElement)(de,{path:"visibility-tracking",element:(0,e.createElement)($a,null)})))}function tn(){return(0,e.createElement)("article",{className:o()("flex flex-col flex-1 justify-end w-full","relative","rounded-2xl p-6 lg:p-8","sm:flex sm:items-end","lg:items-end","shadow-xl hover:shadow-2xl","bg-slate-800")},(0,e.createElement)("header",{className:"text-start text-3xl font-bold tracking-tight text-white w-full"},(0,e.createElement)("img",{className:o()("object-cover w-28 h-auto mr-2"),src:Zt}),"Track Video & Audio"),(0,e.createElement)("div",{className:"flex-1 w-full justify-self-end mt-4 xl:mt-20 mb-8"},(0,e.createElement)("p",{className:"text-xl font-semibold tracking-tight text-white"},"Are your videos performing well?"),(0,e.createElement)("div",{className:"mt-2 text-base leading-7"},(0,e.createElement)("div",{className:"text-lg text-gray-300"},"Most people underestimate how long it actually takes to create a good video (or a podcast).",(0,e.createElement)("p",{className:"mt-4 text-lg text-gray-300"},"First, there’s the script. Then you have to set up all the gear just right and then all the takes when recording. But that’s even before you start editing the video. ",(0,e.createElement)("br",null),"(or maybe you spent a lot of money having someone else make the video)"),(0,e.createElement)("p",{className:"mt-4 text-lg text-gray-300"},"But are the videos on your website delivering?"," "),(0,e.createElement)("p",{className:"mt-4 text-lg text-gray-300"},"Wouldn’t it be great to see how many people became leads or made a purchase after watching a video?"," "),(0,e.createElement)("p",{className:"mt-4 text-lg text-gray-300"},"Here’s how Goal Tracker Pro can help you:"," ")),(0,e.createElement)("ul",{className:"px-2 space-y-2 divide-y divide-white/10 my-4  text-gray-300"},(0,e.createElement)("li",null,"Track all of your embedded ",(0,e.createElement)("b",{className:"text-white"},"YouTube")," ","videos"),(0,e.createElement)("li",null,"Track all of your ",(0,e.createElement)("b",{className:"text-white"},"Vimeo")," videos"),(0,e.createElement)("li",null,"Track ",(0,e.createElement)("b",{className:"text-white"},"self hosted videos")," (uploaded videos)"),(0,e.createElement)("li",null,"Track self hosted ",(0,e.createElement)("b",{className:"text-white"},"Audio")," (Your music/samples/podcast recordings)")),(0,e.createElement)("div",{className:"mt-2 text-lg text-gray-300"},"Goal Tracker Pro will tell you:"),(0,e.createElement)("ul",{className:"px-2 space-y-2 divide-y divide-white/10 my-4  text-gray-300"},(0,e.createElement)("li",null,"How many people played the video"),(0,e.createElement)("li",null,"Video progress"),(0,e.createElement)("li",null,"How many people finished watching the video")))),(0,e.createElement)("footer",{className:"flex items-center"},(0,e.createElement)("a",{href:wpGoalTrackerGa.upgradeUrl,type:"button",className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent ","bg-white text-brand-primary","px-4 py-2","text-sm font-medium","shadow hover:shadow-xl","transform active:scale-75 hover:scale-110 transition-transform","hover:ring-2 hover:ring-white hover:ring-offset-2","focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2")},(0,e.createElement)("span",{className:"mx-2"},"I want to track my videos"),(0,e.createElement)(Qe,{className:"h-5 w-5","aria-hidden":"true"}))))}function rn(){return(0,e.createElement)("article",{className:o()("flex flex-col flex-1 justify-end w-full","relative","rounded-2xl p-6 lg:p-8","sm:flex sm:items-end","lg:items-end","shadow-xl hover:shadow-2xl","bg-brand-900")},(0,e.createElement)("header",{className:"text-start text-3xl font-bold tracking-tight text-white w-full"},(0,e.createElement)("img",{className:o()("object-cover w-28 h-auto mr-2"),src:Wt}),"Contact Form 7"),(0,e.createElement)("div",{className:"flex-1 w-full justify-self-end mt-4 xl:mt-32 mb-8"},(0,e.createElement)("p",{className:"text-xl font-semibold tracking-tight text-white"},"Track your Contact Form 7 Submissions"," "),(0,e.createElement)("div",{className:"mt-2 text-base leading-7 text-white/70"},(0,e.createElement)("div",{className:"text-lg text-gray-300"},"In Goal Tracker for Google Analytics Pro we integrated with the Contact Form 7 plugin:"),(0,e.createElement)("ul",{className:"px-2 space-y-2 divide-y divide-white/10 my-4  text-gray-300"},(0,e.createElement)("li",null,"Track form submission conversions in Google Analytics."),(0,e.createElement)("li",null,"The plugin can track successful conversions and filter out non relevant clicks."),(0,e.createElement)("li",null,"Optimize your forms - Track form validation issues."),(0,e.createElement)("li",null,"Clean statistics - Get statistics on spam submissions."),(0,e.createElement)("li",null,"Track failed email attempts.")),(0,e.createElement)("div",{className:"text-white"},"Upgrade now to elevate your analytics experience with Contact Form 7 form tracking in Goal Tracker Pro!"))),(0,e.createElement)("footer",{className:"flex items-center"},(0,e.createElement)("a",{href:wpGoalTrackerGa.upgradeUrl,type:"button",className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent ","bg-white text-brand-primary","px-4 py-2","text-sm font-medium","shadow hover:shadow-xl","transform active:scale-75 hover:scale-110 transition-transform","hover:ring-2 hover:ring-white hover:ring-offset-2","focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2")},(0,e.createElement)("span",{className:"mx-2"},"Get Pro Features"),(0,e.createElement)(Qe,{className:"h-5 w-5","aria-hidden":"true"}))))}function an(){return(0,e.createElement)("article",{className:o()("flex flex-col flex-1 justify-end w-full","relative","rounded-2xl p-6 lg:p-8","sm:flex sm:items-end","lg:items-end","shadow-xl hover:shadow-2xl","bg-brand-900")},(0,e.createElement)("header",{className:"text-start text-3xl font-bold tracking-tight text-white w-full"},(0,e.createElement)("img",{className:o()("object-cover w-28 h-auto mr-2"),src:Bt}),"User Tracking"),(0,e.createElement)("div",{className:"flex-1 w-full justify-self-end mt-4 xl:mt-32 mb-8"},(0,e.createElement)("p",{className:"text-xl font-semibold tracking-tight text-white"},"Introducing User Tracking for a Deeper Understanding of Your Audience"),(0,e.createElement)("div",{className:"mt-2 text-base leading-7 text-white/70"},(0,e.createElement)("div",{className:"text-lg text-gray-300"},"Upgrade to Goal Tracker Pro and harness the power of User Tracking:"),(0,e.createElement)("ul",{className:"px-2 space-y-2 divide-y divide-white/10 my-4  text-gray-300"},(0,e.createElement)("li",null,"Gain valuable insights into individual user behavior across multiple sessions and devices."),(0,e.createElement)("li",null,"Enhance your marketing strategies, user experience, and overall website performance with data-driven decisions."),(0,e.createElement)("li",null,"Ensure user privacy protection by using hashed identifiers that comply with data privacy regulations."),(0,e.createElement)("li",null,"Unlock the full potential of your website's analytics capabilities for a more comprehensive view of your audience.")),(0,e.createElement)("div",{className:"text-white"},"Upgrade now to elevate your analytics experience with User Tracking in Goal Tracker Pro!"))),(0,e.createElement)("footer",{className:"flex items-center"},(0,e.createElement)("a",{href:wpGoalTrackerGa.upgradeUrl,type:"button",className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent ","bg-white text-brand-primary","px-4 py-2","text-sm font-medium","shadow hover:shadow-xl","transform active:scale-75 hover:scale-110 transition-transform","hover:ring-2 hover:ring-white hover:ring-offset-2","focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2")},(0,e.createElement)("span",{className:"mx-2"},"Get Pro Features"),(0,e.createElement)(Qe,{className:"h-5 w-5","aria-hidden":"true"}))))}function nn(){return(0,e.createElement)("article",{className:o()("flex flex-col flex-1 justify-end w-full","relative","rounded-2xl p-6 lg:p-8","sm:flex sm:items-end","lg:items-end","shadow-xl hover:shadow-2xl","bg-indigo-700")},(0,e.createElement)("header",{className:"text-start text-3xl font-bold tracking-tight text-white w-full"},(0,e.createElement)("img",{className:o()("object-cover w-28 h-auto mr-2"),src:Zt}),"Smart Placeholders"),(0,e.createElement)("div",{className:"flex-1 w-full justify-self-end mt-4 xl:mt-20 mb-8"},(0,e.createElement)("p",{className:"text-xl font-semibold tracking-tight text-white"},"Become a GA Power User"),(0,e.createElement)("div",{className:"mt-2 text-base leading-7"},(0,e.createElement)("div",{className:"text-lg text-gray-300"},"One of the biggest hassles in Google Analytics is getting the data into events.",(0,e.createElement)("p",{className:"mt-4 text-lg text-gray-300"},"In GTM, this means working with endless variables. Or writing JavaScript code to make the data available in the first place."),(0,e.createElement)("p",{className:"mt-4 text-lg text-gray-300"},"But we are WordPress users. We want this to be simple."),(0,e.createElement)("p",{className:"mt-4 text-lg text-gray-300"},"So we created the Placeholders feature in Goal Tracker Pro."),(0,e.createElement)("p",{className:"mt-4 text-lg text-gray-300"},(0,e.createElement)("i",null,"(If you’ve worked with email marketing software - think mail merge or liquid templates)")),(0,e.createElement)("p",{className:"mt-4 text-lg text-gray-300"},"Placeholders allow you to add data from the element, page, or session to the event. Here are a few examples:")),(0,e.createElement)("ul",{className:"px-2 space-y-2 divide-y divide-white/10 my-4  text-gray-300"},(0,e.createElement)("li",null,"Page Author"),(0,e.createElement)("li",null,"Post Category"),(0,e.createElement)("li",null,"Value Attribute"),(0,e.createElement)("li",null,"Referrer"),(0,e.createElement)("li",null,"Text"),(0,e.createElement)("li",null,"User Role"),(0,e.createElement)("li",null,"Data Attributes")),(0,e.createElement)("div",{className:"mt-2 text-lg text-gray-300"},"This is a real game changer for power users who work with a lot of events."))),(0,e.createElement)("footer",{className:"flex items-center"},(0,e.createElement)("a",{href:wpGoalTrackerGa.upgradeUrl,type:"button",className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent ","bg-white text-brand-primary","px-4 py-2","text-sm font-medium","shadow hover:shadow-xl","transform active:scale-75 hover:scale-110 transition-transform","hover:ring-2 hover:ring-white hover:ring-offset-2","focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2")},(0,e.createElement)("span",{className:"mx-2"},"Unlock Placeholders"),(0,e.createElement)(Qe,{className:"h-5 w-5","aria-hidden":"true"}))))}function un(){return(0,e.createElement)("article",{className:o()("flex flex-col flex-1 justify-end w-full","relative","rounded-2xl p-6 lg:p-8","sm:flex sm:items-end","lg:items-end","shadow-xl hover:shadow-2xl","bg-brand-900")},(0,e.createElement)("header",{className:"text-start text-3xl font-bold tracking-tight text-white w-full"},(0,e.createElement)("img",{className:o()("object-cover w-28 h-auto mr-2"),src:Ht}),"WooCommerce"),(0,e.createElement)("div",{className:"flex-1 w-full justify-self-end mt-3 xl:mt-32 mb-8"},(0,e.createElement)("p",{className:"text-xl font-semibold tracking-tight text-white"},"Track your WooCommerce Store in Google Analytics"," "),(0,e.createElement)("div",{className:"mt-2 text-base leading-7 text-white/70"},(0,e.createElement)("div",{className:"text-lg text-gray-300"},"How familiar are you with your customer journey? How does the conversion rate drop between adding items to the cart to starting the checkout process? How much of your revenue can you attribute to that guest blog post?"," "),(0,e.createElement)("div",{className:"text-lg text-gray-300 pt-2"},"If you want to start making data-driven decisions (instead of just guessing), then having a good Analytics system in place is where you should start."," "),(0,e.createElement)("div",{className:"text-lg text-gray-300 pt-2"},"Google Analytics is the default choice for most of us and makes perfect sense - you already track website visits so why not take it up a notch and use the advanced e-commerce features?"," "),(0,e.createElement)("div",{className:"text-lg text-gray-300 pt-2"},"Goal Tracker for Google Analytics can help you start tracking valuable information with just a few clicks."),(0,e.createElement)("ul",{className:"px-2 space-y-2 divide-y divide-white/10 my-4  text-gray-300"},(0,e.createElement)("li",null,"Track customer journey, from first click to final purchase."),(0,e.createElement)("li",null,"Seamlessly integrate your WooCommerce store with Google Analytics GA4."),(0,e.createElement)("li",null,"Goal Tracker will send out all the required events for the Purchase, and Checkout Journey reports."),(0,e.createElement)("li",null,"Enable Woo tracking with just a few clicks.")),(0,e.createElement)("div",{className:"text-white"},"Upgrade now to unlock enhanced eCommerce tracking for WooCommerce."))),(0,e.createElement)("footer",{className:"flex items-center"},(0,e.createElement)("a",{href:wpGoalTrackerGa.upgradeUrl,type:"button",className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent ","bg-white text-brand-primary","px-4 py-2","text-sm font-medium","shadow hover:shadow-xl","transform active:scale-75 hover:scale-110 transition-transform","hover:ring-2 hover:ring-white hover:ring-offset-2","focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2")},(0,e.createElement)("span",{className:"mx-2"},"Track WooCommerce"),(0,e.createElement)(Qe,{className:"h-5 w-5","aria-hidden":"true"}))))}const sn=()=>{const r=()=>(0,e.createElement)(un,null),a=()=>(0,e.createElement)(rn,null),n=[()=>(0,e.createElement)(tn,null),()=>(0,e.createElement)(nn,null),()=>(0,e.createElement)(an,null)],[u,s]=(0,t.useState)(!1),[l,L]=(0,t.useState)(!1),[M,c]=(0,t.useState)(n);return(0,t.useEffect)((()=>{const e=document.querySelector(".toplevel_page_wpcf7"),t=document.querySelector(".toplevel_page_woocommerce");let i=[...n];t&&(i=[r,...i]),e&&(i=[a,...i]),c(i)}),[]),(0,e.createElement)("div",{"data-component":"ProPromo",className:""},(0,e.createElement)("header",{className:"px-6 pt-6 pb-4 rounded-b-xl bg-white"},(0,e.createElement)("aside",{className:o()("flex flex-col flex-1 justify-end w-full","justify-between","rounded-2xl","p-8","lg:max-w-none","lg:flex-none lg:flex-col lg:items-start w-full","bg-white")},(0,e.createElement)("div",null,(0,e.createElement)("span",{"data-component":"tag",className:o()("bg-slate-500","text-white","text-xs px-2 py-1","rounded uppercase")},"PRO")),(0,e.createElement)("div",null,(0,e.createElement)("p",{className:"text-6xl font-semibold tracking-tight text-gray-900"},"Track More"),(0,e.createElement)("p",{className:"mt-2 text-6xl text-gray-600"},"Get More")),(0,e.createElement)("p",{className:"text-base mt-2"},"Upgrade to Goal Tracker Pro to unlock more features and become a Google Analytics power user.",(0,e.createElement)("a",{href:wpGoalTrackerGa.upgradeUrl,type:"button",className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent ","bg-brand-primary text-white","px-4 py-2","text-sm font-medium","shadow hover:shadow-xl","transform active:scale-75 hover:scale-110 transition-transform","hover:ring-2 hover:ring-white hover:ring-offset-2","focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2","ml-4")},(0,e.createElement)("span",{className:"mx-2"},"Go Pro"),(0,e.createElement)(Qe,{className:"h-5 w-5","aria-hidden":"true"}))))),(0,e.createElement)("div",{className:o()("p-10","mx-auto mt-16","flex flex-col xl:flex-row gap-4 xl:gap-6 2xl:gap-8","lg:mx-0 lg:mt-10 lg:max-w-none lg:flex-row lg:items-end")},M.slice(0,3).map(((t,r)=>(0,e.createElement)(i().Fragment,{key:r},t())))))};let on=(0,t.createContext)(null);function ln(){let e=(0,t.useContext)(on);if(null===e){let e=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,ln),e}return e}let Ln=Ve((function(e,t){let r=yr(),{id:i=`headlessui-label-${r}`,passive:a=!1,...n}=e,u=ln(),s=ct(t);nt((()=>u.register(i)),[i,u.register]);let o={ref:s,...u.props,id:i};return a&&("onClick"in o&&(delete o.htmlFor,delete o.onClick),"onClick"in n&&delete n.onClick),Ze({ourProps:o,theirProps:n,slot:u.slot||{},defaultTag:"label",name:u.name||"Label"})})),Mn=Object.assign(Ln,{}),cn=(0,t.createContext)(null);cn.displayName="GroupContext";let jn=t.Fragment,dn=Ve((function(e,r){let i=yr(),{id:a=`headlessui-switch-${i}`,checked:n,defaultChecked:u=!1,onChange:s,name:o,value:l,...L}=e,M=(0,t.useContext)(cn),c=(0,t.useRef)(null),j=ct(c,r,null===M?null:M.setSwitch),[d,N]=$i(n,s,u),y=lt((()=>null==N?void 0:N(!d))),m=lt((e=>{if(Nr(e.currentTarget))return e.preventDefault();e.preventDefault(),y()})),x=lt((e=>{e.key===dr.Space?(e.preventDefault(),y()):e.key===dr.Enter&&function(e){var t;let r=null!=(t=null==e?void 0:e.form)?t:e.closest("form");if(r)for(let e of r.elements)if("INPUT"===e.tagName&&"submit"===e.type||"BUTTON"===e.tagName&&"submit"===e.type||"INPUT"===e.nodeName&&"image"===e.type)return void e.click()}(e.currentTarget)})),g=lt((e=>e.preventDefault())),p=(0,t.useMemo)((()=>({checked:d})),[d]),T={id:a,ref:j,role:"switch",type:Hi(e,c),tabIndex:0,"aria-checked":d,"aria-labelledby":null==M?void 0:M.labelledby,"aria-describedby":null==M?void 0:M.describedby,onClick:m,onKeyUp:x,onKeyPress:g},w=mt();return(0,t.useEffect)((()=>{var e;let t=null==(e=c.current)?void 0:e.closest("form");t&&void 0!==u&&w.addEventListener(t,"reset",(()=>{N(u)}))}),[c,N]),t.createElement(t.Fragment,null,null!=o&&d&&t.createElement(xr,{features:mr.Hidden,...Je({as:"input",type:"checkbox",hidden:!0,readOnly:!0,checked:d,name:o,value:l})}),Ze({ourProps:T,theirProps:L,slot:p,defaultTag:"button",name:"Switch"}))})),Nn=Object.assign(dn,{Group:function(e){var r;let[i,a]=(0,t.useState)(null),[n,u]=function(){let[e,r]=(0,t.useState)([]);return[e.length>0?e.join(" "):void 0,(0,t.useMemo)((()=>function(e){let i=lt((e=>(r((t=>[...t,e])),()=>r((t=>{let r=t.slice(),i=r.indexOf(e);return-1!==i&&r.splice(i,1),r}))))),a=(0,t.useMemo)((()=>({register:i,slot:e.slot,name:e.name,props:e.props})),[i,e.slot,e.name,e.props]);return t.createElement(on.Provider,{value:a},e.children)}),[r])]}(),[s,o]=Kr(),l=(0,t.useMemo)((()=>({switch:i,setSwitch:a,labelledby:n,describedby:s})),[i,a,n,s]),L=e;return t.createElement(o,{name:"Switch.Description"},t.createElement(u,{name:"Switch.Label",props:{htmlFor:null==(r=l.switch)?void 0:r.id,onClick(e){i&&("LABEL"===e.currentTarget.tagName&&e.preventDefault(),i.click(),i.focus({preventScroll:!0}))}}},t.createElement(cn.Provider,{value:l},Ze({ourProps:{},theirProps:L,defaultTag:jn,name:"Switch.Group"}))))},Label:Mn,Description:ei});const{apiFetch:yn}=wp,mn=(0,t.createContext)(void 0),xn=r=>{let{children:i}=r;const[a,n]=(0,t.useState)(!1),[u,s]=(0,t.useState)(""),[o,L]=(0,t.useState)(!1),[M,c]=(0,t.useState)(!1),[j,d]=(0,t.useState)(""),[N,y]=(0,t.useState)(!1),[m,x]=(0,t.useState)(!1),[g,p]=(0,t.useState)(!1),[T,w]=(0,t.useState)(!1),S=(0,t.useContext)(l);if(!S)throw new Error("ChildComponent must be used within a TabContextProvider");const{updateHasIssueByName:E}=S;(0,t.useEffect)((()=>{(async()=>{await I()})()}),[]);const D=e=>{e&&(d(e.measurementID),n(e.trackLinks.enabled),e.trackLinks&&e.trackLinks.enabled&&e.trackLinks.type&&s(e.trackLinks.type),L(e.trackEmailLinks),c(e.disableTrackingForAdmins),y(e.gaDebug),x(e.disablePageView),p(e.noSnippet),e.hideGeneralSettingsTutorial||w(!e.hideGeneralSettingsTutorial)),""===e.measurementID&&!1===e.noSnippet&&E("Settings",!0)},I=async()=>{let e=await yn({path:wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/get_general_settings"});return D(e||{}),e};return(0,e.createElement)(mn.Provider,{value:{trackLinks:a,setTrackLinks:n,trackLinksType:u,setTrackLinksType:s,trackEmailLinks:o,setTrackEmailLinks:L,disableTrackingForAdmins:M,setDisableTrackingForAdmins:c,measurementID:j,setMeasurementID:d,gaDebug:N,setGaDebug:y,disablePageView:m,setDisablePageView:x,noSnippet:g,setNoSnippet:p,showTutorial:T,setShowTutorial:w,setSettings:async e=>{e.preventDefault();const t={measurementID:j,gaDebug:N,disablePageView:m,noSnippet:g,trackLinks:{enabled:a,type:u||"all"},trackEmailLinks:o,disableTrackingForAdmins:M};await yn({path:wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/set_general_settings",method:"POST",data:{generalSettings:t}})},getSettings:I,updateSettings:D}},i)},gn=a.p+"images/DebugViewHelp.d6e18691.png",pn=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"DebugView"),(0,e.createElement)("span",{className:"block pt-5"},"The Debug View Integration feature is a helpful tool that lets you enable the GA4 Debug View for your website. This feature allows you to see real-time data from your website's events in Google Analytics, making it easier to test and troubleshoot your tracking setup. With Debug View, you can confirm if your events are being sent correctly and ensure that your data is accurate before you start analyzing it.",(0,e.createElement)("p",null,"We do not recommend toggling this off once you are done testing.")),(0,e.createElement)("img",{className:"pt-5",src:gn}),(0,e.createElement)("span",{className:"block pt-5 pb-5"},"To enable Debug View:",(0,e.createElement)("p",null),(0,e.createElement)("ol",{className:"list-decimal pt-5 list-inside ml-4"},(0,e.createElement)("li",{className:"mb-2"},"Toggle the DebugView option"),(0,e.createElement)("li",{className:"mb-2"},"Visit your website and interact with the elements you're tracking"),(0,e.createElement)("li",{className:"mb-2"},"Go to your Google Analytics account "),(0,e.createElement)("li",{className:"mb-2"},'Locate the "Admin" button at the bottom left corner and click on it'),(0,e.createElement)("li",{className:"mb-2"},'Click on "DebugView" in the "Property" column'),(0,e.createElement)("li",{className:"mb-2"},"Watch as events start showing on the screen")))),Tn=a.p+"images/help-measurement-id.2f22bbe3.png",wn=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Measurement Id"),(0,e.createElement)("span",{className:"block pt-5"},'The GA4 Measurement ID is a special code that helps Goal Tracker for Google Analytics plugin connect your WordPress website to Google Analytics 4. This code allows you to collect important information about how people interact with your website. The Measurement ID is a short code that begins with "G-" and is followed by a mix of numbers and letters.'),(0,e.createElement)("img",{className:"block pt-5",src:Tn}),(0,e.createElement)("span",{className:"block pt-5 pb-5"},"To find your GA4 Measurement ID, follow these steps:",(0,e.createElement)("ol",{className:"list-decimal pt-5 list-inside ml-4"},(0,e.createElement)("li",{className:"mb-2"},"Sign in to your Google Analytics account"),(0,e.createElement)("li",{className:"mb-2"},'Locate the "Admin" button at the bottom left corner and click on it'),(0,e.createElement)("li",{className:"mb-2"},"Choose the appropriate account and property"),(0,e.createElement)("li",{className:"mb-2"},'Click on "Data Streams" in the "Property" column'),(0,e.createElement)("li",{className:"mb-2"},'Select the data stream labeled "Web"'),(0,e.createElement)("li",{className:"mb-2"},"Find your Measurement ID at the top of the opened page"),(0,e.createElement)("li",{className:"mb-2"},"Copy the code and paste it into the Goal Tracker for Google Analytics plugin settings on your WordPress site")))),Sn=()=>(0,e.createElement)("div",null,(0,e.createElement)(wn,null),(0,e.createElement)(pn,null)),En=a.p+"images/GoogleTagManagerHelp.389572fe.png",Dn=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Goal Tracker and Google Tag Manager"),(0,e.createElement)("span",{className:"block pt-5"},(0,e.createElement)("p",null,'If you are already using Google Tag Manager to track page views on the website, we recommend toggling the "Disable page_view Tracking " option in Goal Tracker.'),(0,e.createElement)("p",null,"The reason is that we want to make sure that you are not sending two page view events every time the page loads.")),(0,e.createElement)("span",{className:"block pt-5 pb-5"},"How can you tell if Google Tag Manager is configured to track page views?",(0,e.createElement)("ol",{className:"list-decimal pt-5 list-inside ml-4"},(0,e.createElement)("li",{className:"mb-2"},"Open Google Tag Manager and go to the tags page"),(0,e.createElement)("li",{className:"mb-2"},'Search for a tag of type "Google Analytics: GA4 Configuration" and click it'),(0,e.createElement)("li",{className:"mb-2"},"Click on the tag configuration "),(0,e.createElement)("li",{className:"mb-2"},'Check if the "Send a page view event when this configuration loads" box has been clicked. If it did then it means that you are using Google Tag Manager to track page views.'))),(0,e.createElement)("img",{className:"pt-5",src:En}))),In=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Working with third-party Google Analytics plugins"),(0,e.createElement)("span",{className:"block pt-5"},(0,e.createElement)("p",null,'At times, there may be conflicts between our plugin and third-party Google Analytics plugins. In such cases, it is advisable to consider toggling the "Don\'t add the "gtag" code snippet" option.'),(0,e.createElement)("p",null,"When you toggle the option, our plugin will try to work with existing tags on the page."),(0,e.createElement)("p",null,"However, this means that our plugin is limited in how it can configure the integration with Google Analytics. The following features will not be available:")),(0,e.createElement)("span",{className:"block pt-5 pb-5"},(0,e.createElement)("ol",{className:"list-decimal list-inside ml-4"},(0,e.createElement)("li",{className:"mb-2"},"DebugView"),(0,e.createElement)("li",{className:"mb-2"},"Disabling Page View Tracking"),(0,e.createElement)("li",{className:"mb-2"},"User Tracking - Pro feature"),(0,e.createElement)("li",{className:"mb-2"},"Multiple Trackers - Pro feature"))))),fn=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Link Tracking"),(0,e.createElement)("span",{className:"block pt-5"},"The Email Link Tracking feature in Goal Tracker for Google Analytics specifically tracks email links (mailto:) on your website. It uses the event name ",(0,e.createElement)("code",null,"email_link_click"),' to help you monitor and analyze user interactions with email links. To enable this feature, you need to perform two steps: toggle the feature in the plugin and create a custom dimension "email address" in Google Analytics.'),(0,e.createElement)("span",{className:"block pt-5"},"Follow these steps to enable Email Link Tracking:"),(0,e.createElement)("span",{className:"block pt-5"},(0,e.createElement)("ol",{className:"list-decimal list-inside"},(0,e.createElement)("li",{className:"mb-2"},"Navigate to the Goal Tracker for Google Analytics plugin settings in your WordPress dashboard"),(0,e.createElement)("li",{className:"mb-2"},'Find the "Email Link Tracking" toggle switch and turn it on'),(0,e.createElement)("li",{className:"mb-4"},'Sign in to your Google Analytics account and access the "Admin" section'),(0,e.createElement)("li",{className:"mb-2"},'Under the "Property" column, click on "Custom Definitions" and then "Custom Dimensions"'),(0,e.createElement)("li",{className:"mb-2"},'Click on "Create Custom Dimension" and name it "email address"'),(0,e.createElement)("li",{className:"mb-2"},'Set the "Scope" to "Event" and click on "Create"'))),(0,e.createElement)("span",{className:"block pt-5"},(0,e.createElement)("p",null,"Once you have completed these steps, the plugin will automatically track clicks on email links and send the event data to your Google Analytics 4 property under the event name"," ",(0,e.createElement)("code",null,"email_link_click"),'. The custom dimension "email address" will provide additional insights into the email addresses users interact with on your website.'),(0,e.createElement)("a",{className:"pt-5 font-medium text-blue-600 dark:text-blue-500 hover:underline",target:"_blank",href:"https://www.wpgoaltracker.com/tracking-email-links-with-goal-tracker-for-google-analytics/"},"Click here to learn more about email link tracking."))),hn=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Link Tracking"),(0,e.createElement)("span",{className:"block pt-5"},"Goal Tracker for Google Analytics offers an improved Link Tracking feature as an alternative to GA4's Enhanced Analytics. This feature allows you to track both internal and external links using the event name ",(0,e.createElement)("code",null,"link_click"),", making it more convenient and efficient to work with compared to the standard GA4 implementation."),(0,e.createElement)("span",{className:"block pt-5"},'To enable the link tracking feature, toggle the Track Links option and then select "Track All Links" to track all the links (both internal and external) on the website, or "Track External Links" to track internal links.'),(0,e.createElement)("span",{className:"block pt-5 pb-5"},(0,e.createElement)("a",{className:"font-medium text-blue-600 dark:text-blue-500 hover:underline",target:"_blank",href:"https://www.wpgoaltracker.com/tracking-links-with-goal-tracker-for-google-analytics/"},"Click here to learn more about link tracking."))),zn=()=>(0,e.createElement)("div",null,(0,e.createElement)(hn,null),(0,e.createElement)(fn,null)),Cn=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"}))})),On=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-8l-4-4m0 0L8 8m4-4v12"}))})),{apiFetch:bn}=wp;function vn(r){let{getSettings:i,setShowImportNotification:a}=r;const[n,u]=(0,t.useState)(!1),s=(0,t.useRef)(null);return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(Gt,null,(0,e.createElement)(qt,{title:"Configuration backup",titleHelper:"Export / import configuration file",children:void 0}),(0,e.createElement)(Qt,null,(0,e.createElement)(Ut,{label:"Export Configuration",description:"Back up your plugin's settings",id:"",isPrimary:!1},(0,e.createElement)("button",{className:"flex-1 flex items-center text-white bg-brand-primary hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 font-bold py-2 px-4 rounded",onClick:async()=>{const e=await(async()=>await bn({path:wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/get_entire_config"}))(),t=JSON.stringify(e,null,2),r=new Blob([t],{type:"application/json"}),i=URL.createObjectURL(r),a=`goal-tracker-config-${(new Date).toISOString().slice(0,10).replace(/-/g,"")}.json`,n=document.createElement("a");n.href=i,n.download=a,document.body.appendChild(n),n.click(),document.body.removeChild(n)}},(0,e.createElement)(Cn,{className:"h-5 w-5 text-white-400 mr-2","aria-hidden":"true"}),(0,e.createElement)("span",null,"Download Settings"))),(0,e.createElement)(Ut,{label:"Import Configuration",description:"Restore configuration from backup file",id:"",isPrimary:!1}," ",(0,e.createElement)("button",{className:"flex-1 flex items-center text-white bg-brand-primary hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 font-bold py-2 px-4 rounded",onClick:()=>{s.current.click()}},(0,e.createElement)(On,{className:"h-5 w-5 text-white-400 mr-2","aria-hidden":"true"}),(0,e.createElement)("span",null,"Upload Settings")),(0,e.createElement)("input",{type:"file",ref:s,style:{display:"none"},onChange:e=>{const t=e.target.files[0];if(!t)return;const r=new FileReader;r.onload=async e=>{try{const t=JSON.parse(e.target.result);await(async e=>{let t=await bn({path:wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/set_entire_config",method:"POST",data:{config:e}});return await i(),t})(t),a("success")}catch(e){a("failure")}},r.readAsText(t)}})))))}const kn=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12l2 2 4-4M7.835 4.697a3.42 3.42 0 001.946-.806 3.42 3.42 0 014.438 0 3.42 3.42 0 001.946.806 3.42 3.42 0 013.138 3.138 3.42 3.42 0 00.806 1.946 3.42 3.42 0 010 4.438 3.42 3.42 0 00-.806 1.946 3.42 3.42 0 01-3.138 3.138 3.42 3.42 0 00-1.946.806 3.42 3.42 0 01-4.438 0 3.42 3.42 0 00-1.946-.806 3.42 3.42 0 01-3.138-3.138 3.42 3.42 0 00-.806-1.946 3.42 3.42 0 010-4.438 3.42 3.42 0 00.806-1.946 3.42 3.42 0 013.138-3.138z"}))})),An=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18.364 18.364A9 9 0 005.636 5.636m12.728 12.728A9 9 0 015.636 5.636m12.728 12.728L5.636 5.636"}))}));function Yn(r){let{showNotification:i}=r;const[a,n]=(0,t.useState)(!!i);return(0,t.useEffect)((()=>{n(!!i)}),[i]),(0,e.createElement)(t.Fragment,null,(0,e.createElement)("div",{"aria-live":"assertive",className:"pointer-events-none fixed inset-0 flex items-end px-4 py-6 sm:items-start sm:p-6"},(0,e.createElement)("div",{className:"flex w-full flex-col items-center space-y-4 sm:items-end"},(0,e.createElement)(bt,{show:a,as:t.Fragment,enter:"transform ease-out duration-300 transition",enterFrom:"translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-2",enterTo:"translate-y-0 opacity-100 sm:translate-x-0",leave:"transition ease-in duration-100",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"pointer-events-auto w-full max-w-sm overflow-hidden rounded-lg bg-white shadow-lg ring-1 ring-black ring-opacity-5"},(0,e.createElement)("div",{className:"p-4"},(0,e.createElement)("div",{className:"flex items-start"},(0,e.createElement)("div",{className:"flex-shrink-0"},"success"==i?(0,e.createElement)(kn,{className:"h-6 w-6 text-green-400","aria-hidden":"true"}):(0,e.createElement)(An,{className:"h-6 w-6 text-red-400","aria-hidden":"true"})),(0,e.createElement)("div",{className:"ml-3 w-0 flex-1 pt-0.5"},(0,e.createElement)("p",{className:"text-sm font-medium text-gray-900"},"success"==i?"Import Successful":"Failed to read the configuration file")),(0,e.createElement)("div",{className:"ml-4 flex flex-shrink-0"},(0,e.createElement)("button",{type:"button",className:"inline-flex rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2",onClick:()=>{n(!1)}},(0,e.createElement)("span",{className:"sr-only"},"Close"),(0,e.createElement)(kt,{className:"h-5 w-5","aria-hidden":"true"}))))))))))}const{useEffect:Un,useRef:Qn}=wp.element,{apiFetch:Gn}=wp,{isEqual:Pn}=lodash,Rn=()=>{const{trackLinks:r,setTrackLinks:i,trackLinksType:a,setTrackLinksType:n,trackEmailLinks:u,setTrackEmailLinks:s,disableTrackingForAdmins:l,setDisableTrackingForAdmins:L,measurementID:M,setMeasurementID:c,gaDebug:j,setGaDebug:d,disablePageView:N,setDisablePageView:y,noSnippet:m,showTutorial:x,setShowTutorial:g,setNoSnippet:p,setSettings:T,getSettings:w,updateSettings:S}=(()=>{const e=(0,t.useContext)(mn);if(!e)throw new Error("useGeneralSettings must be used within a GeneralSettingsProvider");return e})(),[E,D]=(0,t.useState)(!1),[I,f]=(0,t.useState)(!1),[h,z]=(0,t.useState)(!1),[C,O]=(0,t.useState)(!1),[b,v]=(0,t.useState)(""),{showPromo:k,setShowPromo:A}=nr();var Y;return(0,t.useEffect)((()=>{(async()=>{await w(),A(""!==M||!m)})()}),[]),(0,t.useEffect)((()=>{O(!0)}),[r,a,u,l,M]),((e,t)=>{const r=Qn(!0);Un((()=>{r.current&&(r.current=!1)}),void 0)})(),Y=()=>{},Un((()=>Y),[]),(0,e.createElement)("div",{className:"bg-white/75"},(0,e.createElement)(Yt,{showTutorial:x,showCloseButton:!0}),(0,e.createElement)("form",{onSubmit:T,className:"bg-white/50 p-5 rounded shadow-xl"},(0,e.createElement)("div",{"data-component":"SectionContainer",className:"space-y-8 sm:space-y-5"},(0,e.createElement)(Gt,null,(0,e.createElement)(qt,{title:"Connect With Google Analytics 4",titleHelper:"Let's connect with Google Analytics GA4.\n              Our plugin will install the Google Analytics GA4 code on your website using these settings.",helpComponent:Sn,helpTitle:"Connecting with Google Analytics"}),(0,e.createElement)(Qt,null,(0,e.createElement)(Ut,{label:"MEASUREMENT ID",id:"measurementID",description:"A Measurement ID is a Google Analytics unique identifier (e.g., G-12345) for your website",isPrimary:!1},(0,e.createElement)("div",{className:"max-w-xs flex rounded-md shadow-sm"},(0,e.createElement)("input",{type:"text",name:"measurementID",placeholder:"G-XXXXXXXXXX",id:"measurementID",value:M,onChange:e=>c(e.target.value),className:o()("flex-1 block w-full","focus:ring-brand-primary focus:border-brand-primary-focus","min-w-0 rounded-none","text-sm md:text-2xl","border-gray-300")}))),(0,e.createElement)(Ut,{label:"Enable GA4 Debug View",id:"",description:"",isPrimary:!1},(0,e.createElement)(Nn,{id:"gaDebug",name:"gaDebug",checked:j,onChange:d,className:o()(j?"bg-brand-primary":"bg-slate-500","relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500")},(0,e.createElement)("span",{className:"sr-only"},"GA4 Debug View"),(0,e.createElement)("span",{"aria-hidden":"true",className:o()(j?"translate-x-5":"translate-x-0","pointer-events-none inline-block h-5 w-5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200")}))))),(0,e.createElement)(Gt,null,(0,e.createElement)(qt,{title:"Google Tag Manager",titleHelper:"If you are using Google Tag Manager, you may want to check one of the following.",helpComponent:Dn,helpTitle:"Google Tag Manager"}),(0,e.createElement)(Qt,null,(0,e.createElement)(Ut,{label:"Disable page_view Tracking",description:"Useful when tracking page views through Google Tag Manager",id:"",isPrimary:!1},(0,e.createElement)(Nn,{id:"disablePageView",name:"disablePageView",checked:N,onChange:y,className:o()(N?"bg-brand-primary":"bg-slate-500","relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500")},(0,e.createElement)("span",{className:"sr-only"},"Use setting"),(0,e.createElement)("span",{"aria-hidden":"true",className:o()(N?"translate-x-5":"translate-x-0","pointer-events-none inline-block h-5 w-5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200")}))))),(0,e.createElement)(Gt,null,(0,e.createElement)(qt,{title:"Third party Google Analytics plugins",titleHelper:"If you are using other Google Analytics plugins, you may want to check one of the following.",helpComponent:In,helpTitle:"Third party Google Analytics plugins"}),(0,e.createElement)(Qt,null,(0,e.createElement)(Ut,{label:'Don\'t add the "gtag" code snippet',description:"Useful when using third-party GA plugins",id:"",isPrimary:!1},(0,e.createElement)(Nn,{id:"noSnippet",name:"noSnippet",checked:m,onChange:p,className:o()(m?"bg-brand-primary":"bg-slate-500","relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500")},(0,e.createElement)("span",{className:"sr-only"},"Use setting"),(0,e.createElement)("span",{"aria-hidden":"true",className:o()(m?"translate-x-5":"translate-x-0","pointer-events-none inline-block h-5 w-5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200")}))))),(0,e.createElement)(Gt,null,(0,e.createElement)(qt,{title:"Custom Events Tracking",titleHelper:"Select the Custom Events that you want to track with Google\n                Analytics GA4:",helpComponent:zn,helpTitle:"CustomEventTracking"}),(0,e.createElement)(Qt,null,(0,e.createElement)(Ut,{label:"Track Links",description:"Auto track all links",id:"",isPrimary:!1},(0,e.createElement)(Nn,{id:"trackLinks",name:"trackLinks",checked:r,onChange:i,className:o()(r?"bg-brand-primary":"bg-slate-500","relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500")},(0,e.createElement)("span",{className:"sr-only"},"Use setting"),(0,e.createElement)("span",{"aria-hidden":"true",className:o()(r?"translate-x-5":"translate-x-0","pointer-events-none inline-block h-5 w-5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200")})),(0,e.createElement)("div",{className:o()(r?"block":"hidden","duration-700,ease-in, overflow-hidden,transition-all")},(0,e.createElement)("select",{id:"trackLinksType",name:"trackLinksType",value:a,onChange:e=>n(e.target.value),className:"max-w-lg block mt-4 focus:ring-indigo-500 focus:border-indigo-500 w-full shadow-sm sm:max-w-xs sm:text-sm border-gray-300 rounded-md"},(0,e.createElement)("option",{value:"all"},"Track All Links"),(0,e.createElement)("option",{value:"external"},"Track External Links"))))),(0,e.createElement)(Qt,null,(0,e.createElement)(Ut,{label:"Track Email Links",description:"Tracking for mailto: links",id:"",isPrimary:!1},(0,e.createElement)(Nn,{id:"trackEmailLinks",name:"trackEmailLinks",checked:u,onChange:s,className:o()(u?"bg-brand-primary":"bg-slate-500","relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500")},(0,e.createElement)("span",{className:"sr-only"},"Use setting"),(0,e.createElement)("span",{"aria-hidden":"true",className:o()(u?"translate-x-5":"translate-x-0","pointer-events-none inline-block h-5 w-5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200")})))),(0,e.createElement)(Qt,null,(0,e.createElement)(Ut,{label:"Don't track admin users",description:"Disable Google Analytics tracking for logged in administrators",id:"",isPrimary:!1},(0,e.createElement)(Nn,{id:"disableTrackingForAdmins",name:"disableTrackingForAdmins",checked:l,onChange:L,className:o()(l?"bg-brand-primary":"bg-slate-500","relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500")},(0,e.createElement)("span",{className:"sr-only"},"Use setting"),(0,e.createElement)("span",{"aria-hidden":"true",className:o()(l?"translate-x-5":"translate-x-0","pointer-events-none inline-block h-5 w-5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200")}))))),(0,e.createElement)(vn,{getSettings:w,setShowImportNotification:v}),(0,e.createElement)(Yn,{showNotification:b})),(0,e.createElement)("footer",{className:"px-5 py-5 bg-white/50 shadow-2xl"},(0,e.createElement)("div",{className:"flex justify-end"},(0,e.createElement)("button",{type:"button",className:"bg-white py-2 px-4 border border-gray-300 rounded-md shadow-sm text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"},"Cancel"),(0,e.createElement)("button",{type:"submit",disabled:!C,className:"disabled:opacity-30 ml-3 inline-flex justify-center py-2 px-4 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-brand-primary hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"},"Save")))))},Fn=r=>{let{title:i,Component:a,open:n,setOpen:u}=r;return(0,e.createElement)(t.Fragment,null,(0,e.createElement)(bt.Root,{show:n,as:t.Fragment},(0,e.createElement)(ki,{as:"div",className:"relative z-[999999]",onClose:u},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"ease-in-out duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"})),(0,e.createElement)("div",{className:"fixed inset-0"}),(0,e.createElement)("div",{className:"fixed inset-0 overflow-hidden"},(0,e.createElement)("div",{className:"absolute inset-0 overflow-hidden"},(0,e.createElement)("div",{className:"pointer-events-none fixed inset-y-0 right-0 flex w-/3 min-w-[600px] pl-10 transform transition-all ease-in-out duration-500 sm:duration-700"},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"transform transition ease-in-out duration-500 sm:duration-700",enterFrom:"translate-x-full",enterTo:"translate-x-0",leave:"transform transition ease-in-out duration-500 sm:duration-700",leaveFrom:"translate-x-0",leaveTo:"translate-x-full"},(0,e.createElement)(ki.Panel,{className:"pointer-events-auto flex-1"},(0,e.createElement)("div",{id:"event-form",className:"flex h-full flex-col divide-y divide-gray-200 bg-white shadow-xl"},(0,e.createElement)("div",{"data-component":"form-wrapper",className:"flex min-h-0 flex-1 flex-col "},(0,e.createElement)("header",{className:"py-5 pl-10 pr-10 sticky top-0 shadow"},(0,e.createElement)("div",{className:"flex items-start justify-between"},(0,e.createElement)(ki.Title,{className:"text-2xl font-medium text-gray-900"},i),(0,e.createElement)("div",{className:"ml-3 flex h-7 items-center"},(0,e.createElement)("button",{type:"button",className:"rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-indigo-500",onClick:()=>u(!1)},(0,e.createElement)("span",{className:"sr-only"},"Close panel"),(0,e.createElement)(kt,{className:"h-6 w-6","aria-hidden":"true"}))))),(0,e.createElement)("div",{"data-component":"main-form",className:"overflow-y-scroll bg-gray-100 p-10 flex-1"},(0,e.createElement)("div",{className:"bg-white p-10 rounded-md"},(0,e.createElement)("div",{className:"max-w-[650px] min-h-[410px]"},a)))),(0,e.createElement)("footer",{className:"flex flex-shrink-0 justify-end px-4 py-4"},(0,e.createElement)("button",{type:"button",className:"rounded-md border border-gray-300 bg-white py-2 px-4 text-sm font-medium text-gray-700 shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2",onClick:()=>{u(!1)}},"Close")))))))))))},qn=r=>{let{children:i}=r;const[a,n]=(0,t.useState)(!1),[u,s]=(0,t.useState)(null),[o,l]=(0,t.useState)("");return(0,e.createElement)(Pt.Provider,{value:{open:a,setOpenHelpSlider:n,setComponent:s,setTitleHelpSlider:l}},i,u&&(0,e.createElement)(Fn,{title:o,Component:u,open:a,setOpen:n}))},Bn=["Review the events you configured in WP Google Analytics Events. ","Suggest a new structure for your events. ","We will log and configure Goal Tracker for Google Analytics for you. "],Zn=t=>{let{feature:r,index:i}=t;return(0,e.createElement)("li",{className:"p-2 shadow rounded flex border border-grey-100/10"},i&&(0,e.createElement)("span",{className:"rounded-full w-6 h-6 bg-brand-primary text-white justify-center flex items-center"},i),(0,e.createElement)("span",{className:"ml-2 flex-1 text-base"},r))},Wn=()=>{const[r,i]=(0,t.useState)(""),[a,n]=(0,t.useState)(!1);return(0,e.createElement)("section",{className:"bg-white/50 py-4"},!a&&(0,e.createElement)("div",{className:"bg-white py-4 rounded-md border border-gray-200 my-10 mx-4 shadow-xl"},(0,e.createElement)("div",{className:""},(0,e.createElement)("div",{className:"px-4 py-5 sm:p-6"},(0,e.createElement)("h3",{className:"text-3xl mb-6 leading-10 text-gray-900 max-w-xl"},"Are you migrating your events from WP Google Analytics Events?"),(0,e.createElement)("div",{className:"mt-2 max-w-2xl text-gray-500 p-2 text-lg"},(0,e.createElement)("p",{className:"text-lg"},"I am guessing that moving to GA4 was quite an"," ",(0,e.createElement)("span",{className:"italic"},"experience")," for you."),(0,e.createElement)("p",{className:"text-lg mt-5"},"But if you just migrated from our old plugin - WP Google Analytics Events - there is one more step. And that is to migrate your events."," "),(0,e.createElement)("p",{className:"text-lg mt-5"},"Let me explain (overwhelmed? Skip to the next section right after the video)."),(0,e.createElement)("p",{className:"text-lg mt-5"},"One of the big changes in GA4 is the event structure. Events used to have three main fields - Category, Action, and Label. Now, in GA4, events will have a name and then a set of attributes that you can configure. This makes events much more powerful in GA4, but it also means that you have to rethink how you structure your events (It’s a good thing!)."),(0,e.createElement)("p",{className:"text-lg mt-5"},(0,e.createElement)("span",{className:"mb-5"},"Here is a short video explaining the changes:"),(0,e.createElement)("iframe",{className:"mt-5",width:"560",height:"315",src:"https://www.youtube.com/embed/Xn4NoJ0RkJU",title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0})),(0,e.createElement)("p",{className:"text-lg font-bold mt-10"},"But what if you have a lot of events and very little time?"," ",(0,e.createElement)("br",null),"Or if this is just too overwhelming?"," "),(0,e.createElement)("p",{className:"text-lg mt-5"},"For our Pro plugin users and with a one-time fee, we offer a done-for-you migration service from WP Google Analytics Events/Pro to Goal Tracker for Google Analytics:"),(0,e.createElement)("ul",{role:"list",className:"list-inside p-1 mt-5"},Bn.map(((t,r)=>(0,e.createElement)(Zn,{key:r,feature:t,index:r+1})))),(0,e.createElement)("p",{className:"text-lg mt-5"},"All you have to do is click the button below to open our contact form and fill in your details. We will get in touch with you to start the process.")),(0,e.createElement)("form",{className:"mt-5 sm:items-center max-w-xl px-4 py-2"},(0,e.createElement)("div",{className:"text-brand-primary text-lg mb-2"},"👉 Start your migration:"),(0,e.createElement)("fieldset",{className:"flex"},(0,e.createElement)("div",{className:"w-full flex"},(0,e.createElement)("label",{htmlFor:"email",className:"sr-only"},"Email"),(0,e.createElement)("input",{type:"email",name:"email",id:"email",value:r,onChange:e=>i(e.target.value),className:o()("shadow-sm ","focus:ring-indigo-500 focus:border-indigo-500 ","flex-1 text-lg","border-gray-300 rounded-l rounder-r-0 p-2"),placeholder:"you@example.com"})),(0,e.createElement)("button",{type:"submit",onClick:async function(e){e.preventDefault();const t=window.location.protocol+"//"+window.location.host;let i=new FormData;i.append("fields[email]",r),i.append("fields[website]",t),await Oe()({url:"https://assets.mailerlite.com/jsonp/31991/forms/92865853511435498/subscribe",method:"POST",data:i,headers:{"Content-Type":"multipart/form-data"}}),n(!0)},className:o()("capitalize inline-flex","items-center justify-center","rounded-r","border border-transparent bg-brand-primary","px-4 py-2","text-lg font-medium text-white","shadow-sm","hover:bg-brand-600","focus:outline-none focus:ring-2 focus:ring-brand-primary-focus focus:ring-offset-2","transform active:scale-75 hover:scale-105 transition-transform")},"Submit"))),(0,e.createElement)("div",{className:"max-w-2xl"},(0,e.createElement)("p",{className:"text-lg mt-5 text-gray-500 italic"},"This service is available to our Pro plugin users for a one-time fee of $99."))))),a&&(0,e.createElement)("div",{className:"min-h-full pt-16 pb-12 flex flex-col bg-white"},(0,e.createElement)("main",{className:"flex-grow flex flex-col justify-center max-w-7xl w-full mx-auto px-4 sm:px-6 lg:px-8"},(0,e.createElement)("div",{className:"flex-shrink-0 flex justify-center"},(0,e.createElement)("span",{className:"sr-only"},"Workflow"),(0,e.createElement)("img",{className:"h-28 w-auto",src:be,alt:""})),(0,e.createElement)("div",{className:"py-16"},(0,e.createElement)("div",{className:"text-center"},(0,e.createElement)("h1",{className:"mt-2 text-2xl font-extrabold text-gray-900 tracking-tight sm:text-4xl"},"Our team is on it and will be in touch soon"),(0,e.createElement)("div",{className:"mt-6"})))),(0,e.createElement)("footer",{className:"flex-shrink-0 max-w-7xl w-full mx-auto px-4 sm:px-6 lg:px-8"})))},{__:Hn}=wp.i18n,{render:Vn,useState:Jn}=wp.element,{apiFetch:Xn}=wp,{TabPanel:Kn,Notice:$n,Button:eu,Card:tu,CardHeader:ru,CardBody:iu,CardDivider:au,CardFooter:nu,Spinner:uu}=wp.components,su=[{name:"Tracker",href:"/tracker",current:!0,primary:!0,hasIssue:!1,isPromo:!1},{name:"Migrate",href:"/migrate",hasIssue:!1},{name:(0,e.createElement)("span",{"data-component":"tab-title",className:"text-xl uppercase flex-1 flex items-center"},(0,e.createElement)("img",{className:"w-12 h-12",src:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMjggMTI4Ij4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLmNscy0xIHsKICA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YsMS41OS0uMDMsMi45LDEuMjQsMi45MywyLjgyLjAzLDEuNjQsMS4zOSwyLjk1LDMuMDMsMi45MiwxLjYzLS4wMiwyLjk1LTEuMzksMi45Mi0zLjAzLS4wMy0xLjU5LDEuMjQtMi44OSwyLjgyLTIuOTMsMS41OS0uMDMsMi45LDEuMjQsMi45MywyLjgyLjA4LDQuODEtMy43NSw4Ljc4LTguNTcsOC44OC00LjgxLjA5LTguNzktMy43Ni04Ljg4LTguNTctLjAzLTEuNDEuOTctMi42LDIuMy0yLjg3WiIvPgo8L3N2Zz4="}),(0,e.createElement)("span",{className:"mx-4"},"Track More..."),(0,e.createElement)("span",{className:o()("bg-slate-500","text-white","text-xs px-2 py-1","rounded uppercase","ml-4")},"PRO")),href:"/pro",firstTime:!0,hasIssue:!1,isPro:!0,isPromo:!0},{name:"Settings",href:"/settings",rootTab:!0,isFirstTime:!0,hasIssue:!1,icon:(0,e.createElement)(n,{className:"h-8 w-8","aria-hidden":"true"})},{name:"Help",showTitle:!1,href:"/help",firstTime:!0,hasIssue:!1,icon:(0,e.createElement)(u,{className:"h-8 w-8","aria-hidden":"true"})}],ou=[{label:"Click Tracking",path:"/tracker/click-tracking",default:!0},{label:"Visibility Tracking",path:"/tracker/visibility-tracking",default:!1}],lu=()=>(0,e.createElement)(L,{initialTabs:su},(0,e.createElement)(xn,null,(0,e.createElement)(er,{navLinks:ou},(0,e.createElement)(ar,null,(0,e.createElement)(qn,null,(0,e.createElement)("section",{"data-component":"PluginMain",className:"relative"},(0,e.createElement)(Se,null,(0,e.createElement)(ur,null),(0,e.createElement)(ye,null,(0,e.createElement)(de,{path:"/tracker/*",element:(0,e.createElement)(en,null)}),(0,e.createElement)(de,{path:"/migrate",element:(0,e.createElement)(Wn,null)}),(0,e.createElement)(de,{path:"/pro",element:(0,e.createElement)(sn,null)}),(0,e.createElement)(de,{path:"/help",element:(0,e.createElement)(Ae,null)}),(0,e.createElement)(de,{path:"/settings",element:(0,e.createElement)(Rn,null)}),(0,e.createElement)(de,{path:"/",element:(0,e.createElement)(Rn,null)}))),(0,e.createElement)(vt,null)))))));document.addEventListener("DOMContentLoaded",(()=>{void 0!==document.getElementById(wpGoalTrackerGa.root_id)&&null!==document.getElementById(wpGoalTrackerGa.root_id)&&Vn((0,e.createElement)(lu,null),document.getElementById(wpGoalTrackerGa.root_id))}))})()})();
  • goal-tracker-ga/tags/1.1.0/apps/basic/package.json

    r2991535 r3013028  
    11{
    22    "name": "wp-goal-tracker-ga-free",
    3     "version": "1.0.16",
     3    "version": "1.1.0",
    44    "description": "WP Goal Tracker GA - Custom Events Tracking for Google Analytics 4",
    55    "author": "pinewise",
  • goal-tracker-ga/tags/1.1.0/common/ui/src/components/EventsTableHeader.tsx

    r2901744 r3013028  
    77
    88interface EventsTableHeaderProps {
    9   setAddCustomEventForm: (value: boolean) => void;
    10   setAddRecommendedEventForm: (value: boolean) => void;
     9  setAddCustomEventForm?: (value: boolean) => void;
     10  setAddRecommendedEventForm?: (value: boolean) => void;
    1111}
    1212
  • goal-tracker-ga/tags/1.1.0/common/ui/src/components/HeaderTitle.tsx

    r2909557 r3013028  
    1010  helpComponent?: React.ComponentType;
    1111  helpTitle?: string;
     12  beta?: boolean;
    1213};
    1314
    1415export const HeaderTitle: React.FC<HeaderTitleProperties> = props => {
    15   const { children, title, titleHelper, helpComponent, helpTitle } = props;
     16  const { children, title, titleHelper, helpComponent, helpTitle, beta } =
     17    props;
    1618  const { setOpenHelpSlider, setTitleHelpSlider, setComponent } =
    1719    useHelpSliderContext();
     
    3941          </button>
    4042        )}
     43        {beta && (
     44          <span
     45            className="ml-2 py-0.5 bold py-1 px-2 rounded-full border border-brand-danger border-px inline hover:text-brand-danger text-brand-danger"
     46            aria-hidden="true"
     47          >
     48            BETA
     49          </span>
     50        )}
    4151      </div>
    4252      <p className="mt-2 max-w-2xl text-base text-gray-600">{titleHelper}</p>
  • goal-tracker-ga/tags/1.1.0/common/ui/src/components/SlideBanner.tsx

    r2931375 r3013028  
    88import charMedia from '../assets/images/Logo-track-video-white.svg';
    99import charContactForm7 from '../assets/images/Logo-track-email-white.svg';
     10import charWoo from '../assets/images/Logo-track-ecom2.svg';
    1011
    1112declare const wpGoalTrackerGa: any;
     
    5354
    5455  useEffect(() => {
    55     const element = document.querySelector('.toplevel_page_wpcf7');
     56    const elementContactForm7 = document.querySelector('.toplevel_page_wpcf7');
     57    const elementWooCommerce = document.querySelector(
     58      '.toplevel_page_woocommerce',
     59    );
    5660
    57     if (element) {
     61    if (elementContactForm7) {
    5862      slides.unshift({
    5963        id: 0,
     
    6367        buttonAction: 'Get Pro Features',
    6468        imageSrc: charContactForm7,
     69      });
     70      setActiveSlide(0);
     71    }
     72
     73    if (elementWooCommerce) {
     74      slides.unshift({
     75        id: 0,
     76        title: 'WooCommerce Tracking',
     77        text: 'Add Google Analytics tracking to your WooCommerce store and start getting actionable insights.',
     78        class: 'bg-slate-800',
     79        buttonAction: 'Get Pro Features',
     80        imageSrc: charWoo,
    6581      });
    6682      setActiveSlide(0);
  • goal-tracker-ga/tags/1.1.0/goal-tracker-ga.php

    r2991535 r3013028  
    1717 * Plugin URI:        https://www.wpgoaltracker.com/goal-tracker-ga
    1818 * Description:       Custom Event Tracking for Google Analytics GA4
    19  * Version:           1.0.16
     19 * Version:           1.1.0
    2020 * Author:            pinewise
    2121 * Author URI:        https://www.wpgoaltracker.com
     
    2424 * Text Domain:       wp-goal-tracker-ga
    2525 * Domain Path:       /languages
    26  * 
     26 *
    2727 */
    2828// If this file is called directly, abort.
     
    4949                'has_addons'       => false,
    5050                'has_paid_plans'   => true,
     51                'trial'            => array(
     52                'days'               => 7,
     53                'is_require_payment' => false,
     54            ),
    5155                'is_org_compliant' => true,
    5256                'menu'             => array(
     
    8387define( 'WP_CUSTOM_EVENTS_TRACKER_PATH', plugin_dir_path( __FILE__ ) );
    8488define( 'WP_CUSTOM_EVENTS_TRACKER_URL', plugin_dir_url( __FILE__ ) );
    85 define( 'WP_CUSTOM_EVENTS_TRACKER_VERSION', '1.0.16' );
    86 define( 'WP_CUSTOM_EVENTS_TRACKER_DB_VERSION', '1.0.16' );
     89define( 'WP_CUSTOM_EVENTS_TRACKER_VERSION', '1.1.0' );
     90define( 'WP_CUSTOM_EVENTS_TRACKER_DB_VERSION', '1.1.0' );
    8791/**
    8892 * The code that runs during plugin activation.
  • goal-tracker-ga/tags/1.1.0/includes/class-wp-goal-tracker-ga.php

    r2991535 r3013028  
    159159    }
    160160   
    161     function add_option_management_capability()
     161    public function add_option_management_capability()
    162162    {
    163163        return 'manage_gtga';
     
    250250   
    251251    /**
    252      * DB upgrade procedure 
     252     * DB upgrade procedure
    253253     *
    254254     *
    255255     * @since    1.0.2
    256      * 
     256     *
    257257     * @access   public
    258258     */
     
    260260    {
    261261        $options = get_option( 'wp_goal_tracker_ga_options' );
     262       
     263        if ( $options === false ) {
     264            $options = array();
     265            // Initialize as an empty array if the option does not exist
     266        }
     267       
    262268       
    263269        if ( !isset( $options["db_version"] ) ) {
    264270            # it is the first DB convert from version 1.0.0 to 1.0.2
    265             $options["db_version"] = "1.0.16";
     271            $options["db_version"] = "1.1.0";
    266272            # set the db_version param for the first time
    267273            # move general settings parameters from the options root to a "general_settings" array.
     
    317323     *
    318324     * @since    1.0.2
    319      * 
     325     *
    320326     * @access   public
    321327     */
     
    337343     *
    338344     * @since    1.0.2
    339      * 
     345     *
    340346     * @access   public
    341347     */
  • goal-tracker-ga/tags/1.1.0/includes/functions.php

    r2931375 r3013028  
    340340}
    341341/**
     342 * Set/Save the Plugin Ecommerce Tracking Settings to Database.
     343 *
     344 * @since WP Goal Tracker GA 1.0.17
     345 *
     346 * @param array $general_settings all general settings to be saved.
     347 *
     348 * @return boolean after update option
     349 *
     350 * @author     yuvalo <support@wpgoaltracker.com>
     351 *
     352 */
     353if ( !function_exists( 'wp_goal_tracker_ga_set_ecommerce_tracking_settings' ) ) {
     354    function wp_goal_tracker_ga_set_ecommerce_tracking_settings( $new_ecommerce_tracking_settings )
     355    {
     356        $form_tracking_settings = array();
     357        foreach ( $new_ecommerce_tracking_settings as $key => $value ) {
     358            # sanitize values - all are boolean
     359            $ecommerce_tracking_settings[$key] = array();
     360            foreach ( $value as $nkey => $nvalue ) {
     361                $nvalue = (bool) $nvalue;
     362                $ecommerce_tracking_settings[$key][$nkey] = $nvalue;
     363            }
     364        }
     365        wp_goal_tracker_ga_update_option( 'ecommerceTrackingSettings', $ecommerce_tracking_settings );
     366    }
     367
     368}
     369/**
    342370 * Get Configuration.
    343371 *
  • goal-tracker-ga/tags/1.1.0/public/class-wp-goal-tracker-ga-public.php

    r2991535 r3013028  
    3838     */
    3939    private  $version ;
    40     private  $gtga_events_queue = array() ;
     40    private  $gtga_events_queue = array(
     41        "pending" => array(
     42        "view_item"      => array(),
     43        "begin_checkout" => array(),
     44        "add_to_cart"    => array(),
     45        "view_cart"      => array(),
     46        "purchase"       => array(),
     47    ),
     48    ) ;
    4149    /**
    4250     * Initialize the class and set its properties.
     
    5058        $this->plugin_name = $plugin_name;
    5159        $this->version = $version;
     60    }
     61   
     62    public function gtga_track_woocommerce_begin_checkout__primium_only()
     63    {
     64        // $cart = WC()->cart;
     65        // if (is_null(WC()->cart)) {
     66        //     WC()->frontend_includes();
     67        //     WC()->session = new WC_Session_Handler();
     68        //     WC()->session->init();
     69        //     WC()->customer = new WC_Customer(get_current_user_id(), true);
     70        //     WC()->cart = new WC_Cart();
     71        //     WC()->cart->get_cart();
     72        // }
     73        $cart = WC()->cart;
     74        $items = [];
     75        foreach ( $cart->get_cart() as $cart_item_key => $cart_item ) {
     76            $product = $cart_item['data'];
     77            $items[] = [
     78                'item_id'     => ( $product->get_sku() ? $product->get_sku() : $product->get_id() ),
     79                'item_name'   => $product->get_name(),
     80                'affiliation' => 'Your Store Name',
     81                'price'       => $product->get_price(),
     82                'quantity'    => $cart_item['quantity'],
     83            ];
     84        }
     85        $applied_coupons = $cart->get_applied_coupons();
     86        $coupon_string = ( !empty($applied_coupons) ? implode( ", ", $applied_coupons ) : "" );
     87        $total_value = $cart->get_cart_contents_total();
     88       
     89        if ( count( $items ) > 0 ) {
     90            $items_json = json_encode( $items );
     91            $event_data = array(
     92                'currency' => get_woocommerce_currency(),
     93                'value'    => $total_value,
     94                'items'    => $items,
     95                'coupon'   => $coupon_string,
     96            );
     97            $ecommerce_settings = wp_goal_tracker_ga_get_options( "ecommerceTrackingSettings" );
     98            $woo_settings = $ecommerce_settings["wooCommerceSettings"];
     99            if ( isset( $woo_settings["beginCheckout"] ) && $woo_settings["beginCheckout"] ) {
     100                echo  "\n\t\t\t\t\t\t\t<script>\n\t\t\t\t\t\t\t\t\twindow.wpGoalTrackerGaEvents['pending']['begin_checkout'] = " . json_encode( $event_data ) . ";\n\t\t\t\t\t\t\t</script>\n\t\t\t\t\t\t\t" ;
     101            }
     102            // $this->gtga_events_queue[ "pending" ][ "begin_checkout" ] = $event_data;
     103            if ( isset( $woo_settings["addShippingInfo"] ) && $woo_settings["addShippingInfo"] || isset( $woo_settings["addPaymentInfo"] ) && $woo_settings["addPaymentInfo"] ) {
     104                echo  "\n\t\t\t\t\t\t\t\t\t<script>\n\t\t\t\t\t\t\t\t\tvar wpGoalTrackerWooData = {\n\t\t\t\t\t\t\t\t\t\t'items': {$items_json},\n\t\t\t\t\t\t\t\t\t\t'value': " . $total_value . ",\n\t\t\t\t\t\t\t\t\t\t'currency': '" . get_woocommerce_currency() . "',\n\t\t\t\t\t\t\t\t\t\t'coupon': '" . esc_js( $coupon_string ) . "'\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t</script>\n\t\t\t\t\t\t\t\t\t" ;
     105            }
     106        }
     107   
    52108    }
    53109   
     
    120176    }
    121177   
    122     /** 
    123      * Add the GA4 API code snippet to the page 
    124      * 
     178    /**
     179     * Add the GA4 API code snippet to the page
     180     *
    125181     */
    126182    public function wp_goal_tracker_ga_add_ga4_code_snippet()
  • goal-tracker-ga/tags/1.1.0/public/js/wp-goal-tracker-ga-public.js

    r3011805 r3013028  
    1 var __assign =
    2   (this && this.__assign) ||
    3   function () {
    4     __assign =
    5       Object.assign ||
    6       function (t) {
     1var __assign = (this && this.__assign) || function () {
     2    __assign = Object.assign || function(t) {
    73        for (var s, i = 1, n = arguments.length; i < n; i++) {
    8           s = arguments[i];
    9           for (var p in s)
    10             if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
     4            s = arguments[i];
     5            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
     6                t[p] = s[p];
    117        }
    128        return t;
    13       };
     9    };
    1410    return __assign.apply(this, arguments);
    15   };
     11};
    1612var gtgaMainJs = (function ($) {
    17   "use strict";
    18   var _this = this;
    19   /**
    20    * Binds Download Tracking
    21    *
    22    * @returns {undefined}
    23    */
    24   var VideoPercent = {
    25     ZERO: 0,
    26     TWENTYFIVE: 25,
    27     FIFTY: 50,
    28     SEVENTYFIVE: 75,
    29     ONEHUNDRED: 100,
    30   };
    31   function elementAddedCallback(addedNode) {
    32     checkVisibilityEvents();
    33   }
    34   var observer = new MutationObserver(function (mutationsList) {
    35     mutationsList.forEach(function (mutation) {
    36       if (mutation.type === "childList") {
    37         Array.prototype.forEach.call(mutation.addedNodes, function (addedNode) {
    38           if (addedNode.nodeType === Node.ELEMENT_NODE) {
    39             elementAddedCallback(addedNode);
    40           }
     13    'use strict';
     14    var _this = this;
     15    /**
     16     * Binds Download Tracking
     17     *
     18     * @returns {undefined}
     19     */
     20    var VideoPercent = {
     21        ZERO: 0,
     22        TWENTYFIVE: 25,
     23        FIFTY: 50,
     24        SEVENTYFIVE: 75,
     25        ONEHUNDRED: 100,
     26    };
     27    function elementAddedCallback(addedNode) {
     28        checkVisibilityEvents();
     29    }
     30    var observer = new MutationObserver(function (mutationsList) {
     31        mutationsList.forEach(function (mutation) {
     32            if (mutation.type === 'childList') {
     33                Array.prototype.forEach.call(mutation.addedNodes, function (addedNode) {
     34                    if (addedNode.nodeType === Node.ELEMENT_NODE) {
     35                        elementAddedCallback(addedNode);
     36                    }
     37                });
     38            }
    4139        });
    42       }
    4340    });
    44   });
    45   function getLinkClickParameters(event, url) {
    46     var tmpURL = new URL(url);
    47     var linkHostname = tmpURL.hostname;
    48     var linkEvent = {
    49       page_title: wpGoalTrackerGa.pageTitle,
    50       link_url: url,
    51       // page_location: window.location.href,
    52       outbound: isLinkExternal(url),
    53       link_domain: linkHostname,
    54       link_text: $(event.target).text(),
    55       link_classes: $(event.target).attr("class"),
    56     };
    57     return linkEvent;
    58   }
    59   var click_event = function (event) {
    60     trackCustomEvent(this, event.data.eventName, event.data.props);
    61     if (
    62       (typeof event.target.href !== "undefined" &&
    63         event.target.nodeName == "A") ||
    64       (typeof event.currentTarget.href !== "undefined" &&
    65         event.currentTarget.nodeName == "A")
    66     ) {
    67       if ($(event.target).parent().attr("role") !== "tab") {
    68         handleLinks(this, event);
    69       }
    70     }
    71   }; // End of click event function
    72   function bindEmailLinksTracking() {
    73     if (wpGoalTrackerGa.trackEmailLinks === "1") {
    74       $("body").on("click", 'a[href^="mailto:"]', function (e) {
    75         e.preventDefault();
    76         var email = this.href.split(":").pop();
    77         var page = getPageName();
    78         var eventParameters = {
    79           page_title: page,
    80           email_address: email,
    81           page_location: window.location.href,
    82           link_text: $(e.target).text(),
    83           link_classes: $(e.target).attr("class"),
     41    function getLinkClickParameters(event, url) {
     42        var tmpURL = new URL(url);
     43        var linkHostname = tmpURL.hostname;
     44        var linkEvent = {
     45            page_title: wpGoalTrackerGa.pageTitle,
     46            link_url: url,
     47            // page_location: window.location.href,
     48            outbound: isLinkExternal(url),
     49            link_domain: linkHostname,
     50            link_text: $(event.target).text(),
     51            link_classes: $(event.target).attr('class'),
    8452        };
    85         trackCustomEvent(this, "email_link_click", eventParameters);
    86         handleLinks(this, e);
    87       });
    88     }
    89   }
    90   var isLinkExternal = function (url) {
    91     var query = new RegExp("//" + location.host + "($|/)");
    92     if (url.substring(0, 4) === "http") {
    93       if (!query.test(url)) {
    94         return true;
    95       }
    96     }
    97     return false;
    98   };
    99   var link_track_external = function (event) {
    100     var url = getUrl(event);
    101     if (typeof url !== "undefined" && url !== "") {
    102       if (isLinkExternal(url)) {
    103         link_track_all(event);
    104       }
    105     }
    106   };
    107   var link_track_external_new_tab = function (event) {
    108     var url = getUrl(event);
    109     if (isLinkExternal(url)) {
    110       var eventParameters = getLinkClickParameters(event, url);
    111       trackCustomEvent(this, "link_click", eventParameters);
    112     }
    113   };
    114   var link_track_all = function (event) {
    115     var url = getUrl(event);
    116     var hash = isJustHashLink(url);
    117     if (
    118       typeof url !== "undefined" &&
    119       url !== "" &&
    120       hash != "#" &&
    121       $(this).parent().attr("role") !== "tab"
    122     ) {
    123       var eventParameters = getLinkClickParameters(event, url);
    124       trackCustomEvent(this, "link_click", eventParameters);
    125       event.preventDefault();
    126       if (typeof hash !== "undefined" && hash !== "") {
    127         window.location.hash = hash;
    128       } else {
    129         setTimeout(function () {
    130           window.location.href = url;
    131         }, 250);
    132       }
    133     }
    134   };
    135   var link_track_all_new_tab = function (event) {
    136     var url = getUrl(event);
    137     if (typeof url !== "undefined" && url !== "") {
    138       var eventParameters = getLinkClickParameters(event, url);
    139       trackCustomEvent(this, "link_click", eventParameters);
    140     }
    141   };
    142   var handleLinks = function (self, event) {
    143     event.preventDefault();
    144     var link = getUrl(event);
    145     if (link === "") return;
    146     var w;
    147     var openInNewTab = isNewTab(self);
    148     if (openInNewTab) {
    149       w = window.open("", "_blank");
    150     }
    151     var hash = isJustHashLink(link);
    152     if (typeof hash !== "undefined" && hash !== "") {
    153       window.location.hash = hash;
    154     } else if (window.location.href !== link) {
    155       setTimeout(
    156         function () {
    157           if (openInNewTab) {
    158             w.location.href = link;
    159           } else {
    160             window.location.href = link;
    161           }
    162         },
    163         250,
    164         w
    165       );
    166     }
    167   };
    168   var getUrl = function (event) {
    169     var url = "";
    170     var $target = $(event.target);
    171     var $link = $target.closest("a");
    172     if ($link.length) {
    173       var href = $link.attr("href");
    174       if (href && href !== "#") {
    175         url = $link.prop("href");
    176       }
    177     }
    178     return url;
    179   };
    180   var isJustHashLink = function (url) {
    181     if (url.indexOf("#") === 0) {
    182       return url;
    183     }
    184     var currentUrl = new URL(window.location.href);
    185     var targetUrl = new URL(url, currentUrl);
    186     if (targetUrl.origin !== currentUrl.origin) {
    187       return "";
    188     }
    189     if (
    190       targetUrl.pathname === currentUrl.pathname &&
    191       targetUrl.search === currentUrl.search &&
    192       targetUrl.hash !== ""
    193     ) {
    194       return targetUrl.hash;
    195     }
    196     return "";
    197   };
    198   var isNewTab = function (self) {
    199     var target = $(self).attr("target");
    200     if (typeof target !== "undefined" && target.trim() === "_blank") {
    201       return true;
    202     }
    203     return false;
    204   };
    205   $(document).ready(function () {
    206     var targetNode = document.body;
    207     var config = { childList: true, subtree: true };
    208     observer.observe(targetNode, config);
    209     $(window).on("scroll", checkVisibilityEvents);
    210     // We also want to check it when
    211     checkVisibilityEvents();
    212     if (wpGoalTrackerGa.trackEmailLinks) {
    213       bindEmailLinksTracking();
    214     }
    215     // Bind link tracking events
    216     if (wpGoalTrackerGa.trackLinks.enabled) {
    217       if (wpGoalTrackerGa.trackLinks.type === "all") {
    218         $("body").on("click", 'a:not([target~="_blank"])', link_track_all);
    219         $("body").on("click", 'a[target~="_blank"]', link_track_all_new_tab);
    220       } else if (wpGoalTrackerGa.trackLinks.type === "external") {
    221         $("body").on("click", 'a:not([target~="_blank"])', link_track_external);
    222         $("body").on(
    223           "click",
    224           'a[target~="_blank"]',
    225           link_track_external_new_tab
    226         );
    227       }
    228     }
    229     wpGoalTrackerGa.click.forEach(function (el) {
    230       var selector = makeSelector(el);
    231       $("body").on("click", selector, el, click_event);
     53        return linkEvent;
     54    }
     55    var click_event = function (event) {
     56        trackCustomEvent(this, event.data.eventName, event.data.props);
     57        if ((typeof event.target.href !== 'undefined' &&
     58            event.target.nodeName == 'A') ||
     59            (typeof event.currentTarget.href !== 'undefined' &&
     60                event.currentTarget.nodeName == 'A')) {
     61            if ($(event.target).parent().attr('role') !== 'tab') {
     62                handleLinks(this, event);
     63            }
     64        }
     65    }; // End of click event function
     66    function bindEmailLinksTracking() {
     67        if (wpGoalTrackerGa.trackEmailLinks === '1') {
     68            $('body').on('click', 'a[href^="mailto:"]', function (e) {
     69                e.preventDefault();
     70                var email = this.href.split(':').pop();
     71                var page = getPageName();
     72                var eventParameters = {
     73                    page_title: page,
     74                    email_address: email,
     75                    page_location: window.location.href,
     76                    link_text: $(e.target).text(),
     77                    link_classes: $(e.target).attr('class'),
     78                };
     79                trackCustomEvent(this, 'email_link_click', eventParameters);
     80                handleLinks(this, e);
     81            });
     82        }
     83    }
     84    var isLinkExternal = function (url) {
     85        var query = new RegExp('//' + location.host + '($|/)');
     86        if (url.substring(0, 4) === 'http') {
     87            if (!query.test(url)) {
     88                return true;
     89            }
     90        }
     91        return false;
     92    };
     93    var link_track_external = function (event) {
     94        var url = getUrl(event);
     95        if (typeof url !== 'undefined' && url !== '') {
     96            if (isLinkExternal(url)) {
     97                link_track_all(event);
     98            }
     99        }
     100    };
     101    var link_track_external_new_tab = function (event) {
     102        var url = getUrl(event);
     103        if (isLinkExternal(url)) {
     104            var eventParameters = getLinkClickParameters(event, url);
     105            trackCustomEvent(this, 'link_click', eventParameters);
     106        }
     107    };
     108    var link_track_all = function (event) {
     109        var url = getUrl(event);
     110        var hash = isJustHashLink(url);
     111        if (typeof url !== 'undefined' &&
     112            url !== '' &&
     113            hash != '#' &&
     114            $(this).parent().attr('role') !== 'tab') {
     115            var eventParameters = getLinkClickParameters(event, url);
     116            trackCustomEvent(this, 'link_click', eventParameters);
     117            event.preventDefault();
     118            if (typeof hash !== 'undefined' && hash !== '') {
     119                window.location.hash = hash;
     120            }
     121            else {
     122                setTimeout(function () {
     123                    window.location.href = url;
     124                }, 250);
     125            }
     126        }
     127    };
     128    var link_track_all_new_tab = function (event) {
     129        var url = getUrl(event);
     130        if (typeof url !== 'undefined' && url !== '') {
     131            var eventParameters = getLinkClickParameters(event, url);
     132            trackCustomEvent(this, 'link_click', eventParameters);
     133        }
     134    };
     135    var handleLinks = function (self, event) {
     136        event.preventDefault();
     137        var link = getUrl(event);
     138        if (link === '')
     139            return;
     140        var w;
     141        var openInNewTab = isNewTab(self);
     142        if (openInNewTab) {
     143            w = window.open('', '_blank');
     144        }
     145        var hash = isJustHashLink(link);
     146        if (typeof hash !== 'undefined' && hash !== '') {
     147            window.location.hash = hash;
     148        }
     149        else if (window.location.href !== link) {
     150            setTimeout(function () {
     151                if (openInNewTab) {
     152                    w.location.href = link;
     153                }
     154                else {
     155                    window.location.href = link;
     156                }
     157            }, 250, w);
     158        }
     159    };
     160    var getUrl = function (event) {
     161        var url = '';
     162        var $target = $(event.target);
     163        var $link = $target.closest('a');
     164        if ($link.length) {
     165            var href = $link.attr('href');
     166            if (href && href !== '#') {
     167                url = $link.prop('href');
     168            }
     169        }
     170        return url;
     171    };
     172    var isJustHashLink = function (url) {
     173        if (url.indexOf('#') === 0) {
     174            return url;
     175        }
     176        var currentUrl = new URL(window.location.href);
     177        var targetUrl = new URL(url, currentUrl);
     178        if (targetUrl.origin !== currentUrl.origin) {
     179            return '';
     180        }
     181        if (targetUrl.pathname === currentUrl.pathname &&
     182            targetUrl.search === currentUrl.search &&
     183            targetUrl.hash !== '') {
     184            return targetUrl.hash;
     185        }
     186        return '';
     187    };
     188    var isNewTab = function (self) {
     189        var target = $(self).attr('target');
     190        if (typeof target !== 'undefined' && target.trim() === '_blank') {
     191            return true;
     192        }
     193        return false;
     194    };
     195    $(document).ready(function () {
     196        var targetNode = document.body;
     197        var config = { childList: true, subtree: true };
     198        observer.observe(targetNode, config);
     199        $(window).on('scroll', checkVisibilityEvents);
     200        // We also want to check it when
     201        checkVisibilityEvents();
     202        if (wpGoalTrackerGa.trackEmailLinks) {
     203            bindEmailLinksTracking();
     204        }
     205        // Bind link tracking events
     206        if (wpGoalTrackerGa.trackLinks.enabled) {
     207            if (wpGoalTrackerGa.trackLinks.type === 'all') {
     208                $('body').on('click', 'a:not([target~="_blank"])', link_track_all);
     209                $('body').on('click', 'a[target~="_blank"]', link_track_all_new_tab);
     210            }
     211            else if (wpGoalTrackerGa.trackLinks.type === 'external') {
     212                $('body').on('click', 'a:not([target~="_blank"])', link_track_external);
     213                $('body').on('click', 'a[target~="_blank"]', link_track_external_new_tab);
     214            }
     215        }
     216        wpGoalTrackerGa.click.forEach(function (el) {
     217            var selector = makeSelector(el);
     218            $('body').on('click', selector, el, click_event);
     219        });
    232220    });
    233   });
    234   function makeSelector(click_option) {
    235     var selector = "";
    236     if (click_option.selectorType === "class") {
    237       selector += ".";
    238     } else if (click_option.selectorType === "id") {
    239       selector += "#";
    240     }
    241     selector += click_option.selector;
    242     return selector;
    243   }
    244   function checkVisibilityEvents() {
    245     // TO DO this code can be simplified a lot. May be better to use
    246     // $('element').visibility()
    247     var ga_window = $(window).height();
    248     var ga_visibility_top = $(document).scrollTop();
    249     for (var i = 0; i < wpGoalTrackerGa.visibility.length; i++) {
    250       if (!wpGoalTrackerGa.visibility[i].sent) {
    251         // NB was unescapeChars( wpGoalTrackerGa.visibility[i].select)
    252         var $select = $(makeSelector(wpGoalTrackerGa.visibility[i]));
    253         wpGoalTrackerGa.visibility[i].offset = $select.offset();
    254         if (
    255           wpGoalTrackerGa.visibility[i].offset &&
    256           ga_visibility_top + ga_window >=
    257             wpGoalTrackerGa.visibility[i].offset.top + $select.height()
    258         ) {
    259           trackCustomEvent(
    260             $select,
    261             wpGoalTrackerGa.visibility[i].eventName,
    262             wpGoalTrackerGa.visibility[i].props
    263           );
    264           wpGoalTrackerGa.visibility[i].sent = true;
    265         }
    266       }
    267     }
    268   } // End of bindVisibilityEvents
    269   var trackCustomEventBasic = function (self, name, props) {
    270     Object.keys(props).forEach(function (key) {
    271       props[key] = prepareProps(self, props[key]);
    272     });
    273     gtag("event", name, __assign({}, props));
    274   };
    275   /* <fs_premium_only> */
    276   /* ---------------------------------------------------------------- */
    277   var trackCustomEventPro = function (self, name, props) {
    278     // We don't want to override the original object.
    279     var propsCopy = __assign({}, props);
    280     Object.keys(propsCopy).forEach(function (key) {
    281       propsCopy[key] = prepareProps(self, propsCopy[key]);
    282     });
    283     if (typeof gtgatag !== "undefined") {
    284       gtgatag("event", name, propsCopy);
    285     } else if (typeof gtag !== "undefined") {
    286       gtag("event", name, propsCopy);
    287     }
    288   };
    289   var onPlayerReady = function () {};
    290   var youtube_video_instances = [];
    291   var youTubeApiIsReady = false;
    292   var youTubeApiCallbacks = [];
    293   function whenYouTubeApiReady(callback) {
    294     if (youTubeApiIsReady) {
    295       callback();
    296     } else {
    297       youTubeApiCallbacks.push(callback);
    298     }
    299   }
    300   function register_youtube_video(video) {
    301     whenYouTubeApiReady(function () {
    302       // YouTube API is ready, you can now register the video
    303       youtube_video_instances.push(
    304         new YT.Player(video, {
    305           events: {
    306             onReady: onPlayerReady,
    307             onStateChange: onPlayerStateChange,
    308             onPlaybackQualityChange: onPlaybackQualityChange,
    309           },
    310         })
    311       );
    312     });
    313   }
    314   // Tracking YouTube Porgress using interval checking.
    315   function trackYouTubeProgress(player) {
    316     var mediaDuration = player.getDuration();
    317     var timeoutDuration = (mediaDuration * 1000) / 20;
    318     var count = 0;
    319     var eventsSent = [];
    320     var durationInterval = setInterval(function () {
    321       if (player.getPlayerState() === 1) {
    322         count += 1;
    323         var currentPos = (player.getCurrentTime() / mediaDuration) * 100;
    324         var roundedPos = getVideoPosition(currentPos, eventsSent);
    325         eventsSent[roundedPos] = true;
    326         if (roundedPos !== 0) {
    327           var videoData = player.getVideoData();
    328           var eventData = {
    329             video_current_time: player.getCurrentTime(),
    330             video_duration: player.getDuration(),
    331             video_percent: roundedPos,
    332             video_title: videoData.title,
    333             video_url: player.getVideoUrl(),
    334             video_provider: "youtube",
    335           };
    336           trackCustomEvent(this, "video_progress", eventData);
    337         }
    338       } else {
    339         clearInterval(durationInterval);
    340       }
    341       if (count >= 21 || eventsSent[75]) {
    342         clearInterval(durationInterval);
    343       }
    344     }, timeoutDuration);
    345   }
    346   // youtube video player
    347   function onPlayerStateChange(event) {
    348     var videoData = event.target.getVideoData();
    349     var iframe = event.target.getIframe();
    350     var player = event.target;
    351     var playerStatus = player.getPlayerState();
    352     if (
    353       event.data === YT.PlayerState.PLAYING ||
    354       playerStatus === YT.PlayerState.PLAYING
    355     ) {
    356       // Start tracking video progress.
    357       trackYouTubeProgress(player);
    358       // Send out a video_start event
    359       var eventData = {
    360         video_current_time: 0,
    361         video_duration: player.getDuration(),
    362         video_percent: VideoPercent.ZERO,
    363         video_title: videoData.title,
    364         video_url: player.getVideoUrl(),
    365         video_provider: "youtube",
    366       };
    367       trackCustomEvent(this, "video_start", eventData);
    368     } else if (event.data === YT.PlayerState.ENDED) {
    369       // if (wpGoalTrackerGa.youTubeVideosFromDB[iframe.id].trackEnd === "true") {
    370       var eventData = {
    371         video_current_time: player.getDuration(),
    372         video_duration: player.getDuration(),
    373         video_percent: VideoPercent.ONEHUNDRED,
    374         video_title: videoData.title,
    375         video_url: player.getVideoUrl(),
    376         video_provider: "youtube",
    377       };
    378       trackCustomEvent(this, "video_complete", eventData);
    379       // }
    380     } else if (event.data === YT.PlayerState.PAUSED) {
    381       // if (wpGoalTrackerGa.youTubeVideosFromDB[iframe.id].trackPause === "true") {
    382       // trackCustomEvent("YouTube", "Paused", videoData.title, false);
    383       // }
    384     }
    385   }
    386   function onPlaybackQualityChange(event) {
    387     var iframe = event.target.getIframe();
    388   }
    389   // get youtube id from src
    390   var youtube_src_parser = function (url) {
    391     var regExp =
    392       /^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#\&\?]*).*/;
    393     var match = url.match(regExp);
    394     return match && match[7].length === 11 ? match[7] : false;
    395   };
    396   // get vimeo id from src
    397   var vimeo_src_parser = function (url) {
    398     var regExp = /(videos|video|channels|\.com)\/([\d]+)/;
    399     var match = url.match(regExp)[2];
    400     return match ? match : false;
    401   };
    402   // add url param
    403   var add_params_to_url = function (url, param) {
    404     var new_url;
    405     if (-1 === url.indexOf("?")) {
    406       new_url = url + "?" + param;
    407     } else {
    408       new_url = url + "&" + param;
    409     }
    410     return new_url;
    411   };
    412   function check_for_vimeo_videos() {
    413     var iframes = document.querySelectorAll("iframe");
    414     iframes.forEach(function (iframe) {
    415       var src = iframe.getAttribute("src");
    416       var dataLazySrc = iframe.getAttribute("data-lazy-src");
    417       var dataSrc = iframe.getAttribute("data-src");
    418       if (src && src.includes("vimeo.com")) {
    419         var vimeo_id = vimeo_src_parser(src);
    420         $(iframe).attr("id", vimeo_id); //force replace the iframe ID with the vimeo_id
    421         register_vimeo_video(vimeo_id);
    422       } else if (dataLazySrc || dataSrc) {
    423         // set a timer to wait for iframe to load
    424         var intervalId_1 = setInterval(function () {
    425           var newSrc = iframe.getAttribute("src"); // get the updated src attribute
    426           var newDataLazySrc = iframe.getAttribute("data-lazy-src"); // get the updated data-lazy-src attribute
    427           var newDataSrc = iframe.getAttribute("data-src"); // get the updated data-lazy-src attribute
    428           if (newSrc && newSrc.includes("vimeo.com")) {
    429             // `src` attribute has been set, register the video
    430             var vimeo_id = vimeo_src_parser(newSrc);
    431             $(iframe).attr("id", vimeo_id); //force replace the iframe ID with the vimeo_id
    432             register_vimeo_video(vimeo_id);
    433             // clear the interval
    434             clearInterval(intervalId_1);
    435           } else if (!newDataLazySrc && !newDataSrc) {
    436             // data-lazy-src attribute is no longer present, clear the interval
    437             clearInterval(intervalId_1);
    438           }
    439         }, 1000); // check every 1 second
    440       }
    441     });
    442   }
    443   // check for videos that do not have iframe id, origin or jsapi
    444   function check_for_youtube_videos() {
    445     var iframes = document.querySelectorAll("iframe");
    446     iframes.forEach(function (iframe) {
    447       var src = iframe.getAttribute("src");
    448       var dataLazySrc = iframe.getAttribute("data-lazy-src");
    449       var dataSrc = iframe.getAttribute("data-src");
    450       if (src && src.includes("youtube.com")) {
    451         // Regular case: src is already set
    452         registerAndModifyIframe(iframe, src);
    453       } else if (dataLazySrc || dataSrc) {
    454         // Lazy loading case: set an interval to check for iframe src updates
    455         var intervalId_2 = setInterval(function () {
    456           var newSrc = iframe.getAttribute("src");
    457           if (newSrc && newSrc.includes("youtube.com")) {
    458             registerAndModifyIframe(iframe, newSrc);
    459             clearInterval(intervalId_2); // Clear the interval once we've found and registered the video
    460           }
    461         }, 1000); // Check every second
    462       }
    463     });
    464   }
    465   function registerAndModifyIframe(iframe, src) {
    466     var youtube_id = youtube_src_parser(src);
    467     var new_iframe_src = src;
    468     // Check and set iframe ID if missing
    469     if (!iframe.id) {
    470       iframe.id = youtube_id;
    471     }
    472     // Check and set jsapi parameter if missing
    473     if (src.indexOf("jsapi") === -1) {
    474       new_iframe_src = add_params_to_url(new_iframe_src, "enablejsapi=1");
    475     }
    476     // Check and set origin parameter if missing
    477     if (src.indexOf("origin") === -1) {
    478       var originValue =
    479         window.location.protocol + "//" + window.location.hostname;
    480       if (window.location.port) {
    481         originValue += ":" + window.location.port;
    482       }
    483       new_iframe_src = add_params_to_url(
    484         new_iframe_src,
    485         "origin=" + originValue
    486       );
    487     }
    488     // Update iframe src if it was modified
    489     if (new_iframe_src !== src) {
    490       iframe.src = new_iframe_src;
    491     }
    492     // Register the video for tracking
    493     register_youtube_video(youtube_id);
    494   }
    495   function register_vimeo_video(video) {
    496     var vimeo_player = new Vimeo.Player(video);
    497     vimeo_player.gtgaVideoPercentSent = [];
    498     vimeo_player.on("play", vimeoOnPlay);
    499     vimeo_player.on("ended", vimeoOnEnd);
    500     vimeo_player.on("timeupdate", vimeoOnTimeUpdate);
    501   }
    502   function vimeoOnTimeUpdate(event) {
    503     var _this = this;
    504     var percent = 0;
    505     var roundedPercent = event.percent * 100;
    506     if (roundedPercent > 75 && !this.gtgaVideoPercentSent[75]) {
    507       percent = 75;
    508     } else if (roundedPercent > 50 && !this.gtgaVideoPercentSent[50]) {
    509       percent = 50;
    510     } else if (roundedPercent > 25 && !this.gtgaVideoPercentSent[25]) {
    511       percent = 25;
    512     } else if (roundedPercent > 10 && !this.gtgaVideoPercentSent[10]) {
    513       percent = 10;
    514     } else {
    515       return;
    516     }
    517     if (percent != 0) {
    518       var videoDuration = event.duration;
    519       var vimeoEvent_1 = {
    520         video_current_time: event.seconds,
    521         video_duration: videoDuration,
    522         video_title: "",
    523         video_percent: percent,
    524         video_provider: "vimeo",
    525         video_url: "",
    526       };
    527       this.getVideoTitle().then(function (title) {
    528         vimeoEvent_1.video_title = title;
    529         _this.getVideoUrl().then(function (url) {
    530           vimeoEvent_1.video_url = url;
    531           trackCustomEvent(_this, "video_progress", vimeoEvent_1);
    532           _this.gtgaVideoPercentSent[percent] = true;
     221    function makeSelector(click_option) {
     222        var selector = '';
     223        if (click_option.selectorType === 'class') {
     224            selector += '.';
     225        }
     226        else if (click_option.selectorType === 'id') {
     227            selector += '#';
     228        }
     229        selector += click_option.selector;
     230        return selector;
     231    }
     232    function checkVisibilityEvents() {
     233        // TO DO this code can be simplified a lot. May be better to use
     234        // $('element').visibility()
     235        var ga_window = $(window).height();
     236        var ga_visibility_top = $(document).scrollTop();
     237        for (var i = 0; i < wpGoalTrackerGa.visibility.length; i++) {
     238            if (!wpGoalTrackerGa.visibility[i].sent) {
     239                // NB was unescapeChars( wpGoalTrackerGa.visibility[i].select)
     240                var $select = $(makeSelector(wpGoalTrackerGa.visibility[i]));
     241                wpGoalTrackerGa.visibility[i].offset = $select.offset();
     242                if (wpGoalTrackerGa.visibility[i].offset &&
     243                    ga_visibility_top + ga_window >=
     244                        wpGoalTrackerGa.visibility[i].offset.top + $select.height()) {
     245                    trackCustomEvent($select, wpGoalTrackerGa.visibility[i].eventName, wpGoalTrackerGa.visibility[i].props);
     246                    wpGoalTrackerGa.visibility[i].sent = true;
     247                }
     248            }
     249        }
     250    } // End of bindVisibilityEvents
     251    var trackCustomEventBasic = function (self, name, props) {
     252        Object.keys(props).forEach(function (key) {
     253            props[key] = prepareProps(self, props[key]);
    533254        });
    534       });
    535     }
    536   }
    537   function vimeoOnPlay(event) {
    538     var _this = this;
    539     var videoDuration = event.duration;
    540     var vimeoEvent = {
    541       video_current_time: 0,
    542       video_duration: videoDuration,
    543       video_title: "",
    544       video_percent: 0,
    545       video_provider: "vimeo",
    546       video_url: "",
    547     };
    548     this.getVideoTitle().then(function (title) {
    549       vimeoEvent.video_title = title;
    550       _this.getVideoUrl().then(function (url) {
    551         vimeoEvent.video_url = url;
    552         trackCustomEvent(_this, "video_start", vimeoEvent);
    553       });
    554     });
    555   }
    556   function vimeoOnEnd(event) {
    557     var _this = this;
    558     var videoDuration = event.duration;
    559     var vimeoEvent = {
    560       video_current_time: videoDuration,
    561       video_duration: videoDuration,
    562       video_title: "",
    563       video_percent: 100,
    564       video_provider: "vimeo",
    565       video_url: "",
    566     };
    567     this.getVideoTitle().then(function (title) {
    568       vimeoEvent.video_title = title;
    569       _this.getVideoUrl().then(function (url) {
    570         vimeoEvent.video_url = url;
    571         trackCustomEvent(_this, "video_complete", vimeoEvent);
    572       });
    573     });
    574   }
    575   ////////////////////////////////////////////////////////
    576   ///// Self Hosted Media Tracking                                        //
    577   ////////////////////////////////////////////////////////
    578   function capitalizeFirstLetter(word) {
    579     return word.charAt(0).toUpperCase() + word.slice(1);
    580   }
    581   function getMediaFileName(e) {
    582     if (typeof e.target !== "undefined" && e.target.currentSrc) {
    583       return e.target.currentSrc.replace(/^.*[\\\/]/, "");
    584     } else if (typeof e.target !== "undefined" && e.target.src) {
    585       return e.target.src.replace(/^.*[\\\/]/, "");
    586     }
    587     return "";
    588   }
    589   function getMediaEvent(type, currentTime, duration, title, percent, url) {
    590     if (type === "video") {
    591       var mediaEvent = {
    592         video_current_time: currentTime,
    593         video_duration: duration,
    594         video_title: title,
    595         video_percent: percent,
    596         video_provider: "self_hosted",
    597         video_url: url,
    598       };
    599       return mediaEvent;
    600     }
    601     if (type === "audio") {
    602       var mediaEvent = {
    603         audio_current_time: currentTime,
    604         audio_duration: duration,
    605         audio_title: title,
    606         audio_percent: percent,
    607         audio_provider: "self_hosted",
    608         audio_url: url,
    609       };
    610       return mediaEvent;
    611     }
    612     return;
    613   }
    614   function register_media_tracking(type) {
    615     if (
    616       (type === "video" &&
    617         typeof wpGoalTrackerGa.videoSettings.gaMediaVideoTracking !==
    618           "undefined") ||
    619       (type === "audio" &&
    620         typeof wpGoalTrackerGa.videoSettings.gaMediaAudioTracking)
    621     ) {
    622       document.addEventListener(
    623         "play",
    624         function (e) {
    625           if (e.target.tagName === type.toUpperCase()) {
    626             var url = e.target.currentSrc;
    627             var title = getMediaFileName(e);
    628             var duration = e.target.duration;
    629             var mediaEvent = getMediaEvent(type, 0, duration, title, 0, url);
    630             trackCustomEvent(this, type + "_start", mediaEvent);
    631           }
    632         },
    633         true
    634       );
    635       document.addEventListener(
    636         "ended",
    637         function (e) {
    638           if (e.target.tagName === type.toUpperCase()) {
    639             var url = e.target.currentSrc;
    640             var title = getMediaFileName(e);
    641             var duration = e.target.duration;
    642             var mediaEvent = getMediaEvent(
    643               type,
    644               duration,
    645               duration,
    646               title,
    647               100,
    648               url
    649             );
    650             trackCustomEvent(this, type + "_complete", mediaEvent);
    651           }
    652         },
    653         true
    654       );
    655       document.addEventListener(
    656         "timeupdate",
    657         function (e) {
    658           if (e.target.tagName === type.toUpperCase()) {
    659             if (typeof e.target.progressSent === "undefined") {
    660               e.target.progressSent = [];
    661             }
    662             var media = e.target;
    663             var mediaDuration = e.target.duration;
    664             var currentPos = (media.currentTime / mediaDuration) * 100;
    665             var roundedPos = getVideoPosition(
    666               currentPos,
    667               e.target.progressSent
    668             );
    669             if (roundedPos !== 0) {
    670               e.target.progressSent[roundedPos] = true;
    671               var url = e.target.currentSrc;
    672               var title = getMediaFileName(e);
    673               var currentTime = e.target.currentTime;
    674               var duration = e.target.duration;
    675               var mediaEvent = getMediaEvent(
    676                 type,
    677                 currentTime,
    678                 duration,
    679                 title,
    680                 roundedPos,
    681                 url
    682               );
    683               trackCustomEvent(this, type + "_progress", mediaEvent);
    684             }
    685           }
    686         },
    687         true
    688       );
    689     }
    690   }
    691   ////////////////////////////////////////////////////////////////
    692   ////////////////////////////////////////////////////////////////
    693   ////// Handle Placeholders                                                     ///////////
    694   ////////////////////////////////////////////////////////////////
    695   function get_placeholder(self, placeholder) {
    696     if (typeof placeholder === "undefined") {
    697       return "";
    698     }
    699     var el = placeholder;
    700     var lel = "";
    701     if (typeof el.indexOf !== "function") {
    702       return placeholder;
    703     }
    704     if (el.indexOf("$$PAGENAME$$") > -1) {
    705       if (true === wpGoalTrackerGa.isFrontPage) {
    706         el = replace_with(el, "$$PAGENAME$$", "Home page");
    707       } else {
    708         el = replace_with(el, "$$PAGENAME$$", wpGoalTrackerGa.pageTitle);
    709       }
    710     }
    711     if (el.indexOf("$$POST_ID$$") > -1) {
    712       el = replace_with(el, "$$POST_ID$$", wpGoalTrackerGa.postID);
    713     }
    714     if (el.indexOf("$$CATEGORY$$") > -1) {
    715       el = replace_with(el, "$$CATEGORY$$", wpGoalTrackerGa.category);
    716     }
    717     if (el.indexOf("$$ATTR_") > -1) {
    718       var attr = "";
    719       var regex = /\$\$ATTR_(.*)\$\$/g;
    720       var match = regex.exec(el);
    721       if (typeof match[1] !== "undefined") {
    722         attr = match[1].toLowerCase();
    723       }
    724       lel = $(this).attr(attr);
    725       if (typeof lel === "undefined") {
    726         lel = $(self).attr(attr);
    727       }
    728       el = replace_with(el, match[0], lel);
    729     }
    730     if (el.indexOf("$$ELEMENT_TEXT$$") > -1) {
    731       el = replace_with(el, "$$ELEMENT_TEXT$$", $(self).text());
    732     }
    733     if (el.indexOf("$$AUTHOR$$") > -1) {
    734       el = replace_with(el, "$$AUTHOR$$", wpGoalTrackerGa.postAuthor);
    735     }
    736     if (el.indexOf("$$REFERRER$$") > -1) {
    737       var referrer = document.referrer;
    738       if (referrer === "") {
    739         referrer = window.location.href;
    740       }
    741       el = replace_with(el, "$$REFERRER$$", referrer);
    742     }
    743     if (el.indexOf("$$USER$$") > -1) {
    744       if (0 === wpGoalTrackerGa.currentUserName) {
    745         lel = "Guest";
    746       } else {
    747         lel = wpGoalTrackerGa.currentUserName;
    748       }
    749       el = replace_with(el, "$$USER$$", lel);
    750     }
    751     if (el.indexOf("$$PAGE_URL$$") > -1) {
    752       el = window.location.href;
    753     }
    754     if (el.indexOf("$$IS_LOGGED_IN$$") > -1) {
    755       if (
    756         typeof wpGoalTrackerGa.isUserLoggedIn !== "undefined" &&
    757         wpGoalTrackerGa.isUserLoggedIn === "1"
    758       ) {
    759         el = "true";
    760       } else {
    761         el = "false";
    762       }
    763     }
    764     if (el.indexOf("$$USER_ID$$") > -1) {
    765       if (typeof wpGoalTrackerGa.currentUserId !== "undefined") {
    766         el = wpGoalTrackerGa.currentUserId;
    767       } else {
    768         el = "";
    769       }
    770     }
    771     return el;
    772   }
    773   var replace_with = function (el, search, updated) {
    774     return el.replace(search, updated);
    775   };
    776   var sendQueuedEvents = function () {
    777     if (
    778       typeof wpGoalTrackerGaEvents !== "undefined" &&
    779       typeof wpGoalTrackerGaEvents.pending !== "undefined"
    780     ) {
    781       Object.keys(wpGoalTrackerGaEvents.pending).forEach(function (key) {
    782         trackCustomEvent(this, key, wpGoalTrackerGaEvents.pending[key]);
    783       });
    784     }
    785   };
    786   $(document).ready(function () {
    787     sendQueuedEvents();
    788     if (
    789       wpGoalTrackerGa.hasOwnProperty("videoSettings") &&
    790       (wpGoalTrackerGa.videoSettings.gaMediaAudioTracking ||
    791         wpGoalTrackerGa.videoSettings.gaMediaVideoTracking ||
    792         wpGoalTrackerGa.videoSettings.gaVimeoVideoTracking ||
    793         wpGoalTrackerGa.videoSettings.gaYoutubeVideoTracking)
    794     ) {
    795       if (wpGoalTrackerGa.videoSettings.gaYoutubeVideoTracking) {
    796         var tag = document.createElement("script");
    797         tag.src = "//www.youtube.com/iframe_api";
    798         var firstScriptTag = document.getElementsByTagName("script")[0];
    799         firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
    800         window.onYouTubeIframeAPIReady = function () {
    801           youTubeApiIsReady = true;
    802           for (var i = 0; i < youTubeApiCallbacks.length; i++) {
    803             youTubeApiCallbacks[i]();
    804           }
    805           youTubeApiCallbacks = []; // Clear out callbacks once executed.
    806         };
    807         check_for_youtube_videos();
    808       }
    809       check_for_vimeo_videos();
    810       if (wpGoalTrackerGa.videoSettings.gaMediaVideoTracking) {
    811         register_media_tracking("video");
    812       }
    813       if (wpGoalTrackerGa.videoSettings.gaMediaAudioTracking) {
    814         register_media_tracking("audio");
    815       }
    816     }
    817   });
    818   // }
    819   ////////////////////////////////////////////////////////////////
    820   ////// Contact Form 7                                                          ///////////
    821   ////////////////////////////////////////////////////////////////
    822   if (gtgaContactForm7Enabled()) {
    823     if (
    824       wpGoalTrackerGa.formTrackingSettings.contactForm7Settings.trackFormSubmit
    825     ) {
    826       document.addEventListener(
    827         "wpcf7submit",
    828         function (event) {
    829           var eventData = gtgaGetContactForm7EventData(event);
    830           trackCustomEvent(_this, "wpcf7_button_click", eventData);
    831         },
    832         false
    833       );
    834     }
    835     if (
    836       wpGoalTrackerGa.formTrackingSettings.contactForm7Settings.trackMailSent
    837     ) {
    838       document.addEventListener(
    839         "wpcf7mailsent",
    840         function (event) {
    841           var eventData = gtgaGetContactForm7EventData(event);
    842           trackCustomEvent(_this, "wpcf7_submission", eventData);
    843         },
    844         false
    845       );
    846     }
    847     if (
    848       wpGoalTrackerGa.formTrackingSettings.contactForm7Settings.trackMailFailed
    849     ) {
    850       document.addEventListener(
    851         "wpcf7mailfailed",
    852         function (event) {
    853           var eventData = gtgaGetContactForm7EventData(event);
    854           trackCustomEvent(_this, "wpcf7_email_failed", eventData);
    855         },
    856         false
    857       );
    858     }
    859     if (
    860       wpGoalTrackerGa.formTrackingSettings.contactForm7Settings.trackInvalids
    861     ) {
    862       document.addEventListener(
    863         "wpcf7invalid",
    864         function (event) {
    865           var eventData = gtgaGetContactForm7EventData(event);
    866           trackCustomEvent(_this, "wpcf7_invalid", eventData);
    867         },
    868         false
    869       );
    870     }
    871     if (wpGoalTrackerGa.formTrackingSettings.contactForm7Settings.trackSpam) {
    872       document.addEventListener(
    873         "wpcf7spam",
    874         function (event) {
    875           var eventData = gtgaGetContactForm7EventData(event);
    876           trackCustomEvent(_this, "wpcf7_spam", eventData);
    877         },
    878         false
    879       );
    880     }
    881   }
    882   ////////////////////////////////////////////////////////////////
    883   /* </fs_premium_only> */
    884   function returnOriginalProp(self, prop) {
    885     return prop;
    886   }
    887   function getPageName() {
    888     if ("1" === wpGoalTrackerGa.isFrontPage) {
    889       return "Home";
    890     } else {
    891       if (typeof wpGoalTrackerGa.pageTitle !== "undefined") {
    892         return wpGoalTrackerGa.pageTitle;
    893       }
    894     }
    895     return "";
    896   }
    897   var trackCustomEvent =
    898     typeof trackCustomEventPro === "function"
    899       ? trackCustomEventPro
    900       : trackCustomEventBasic;
    901   var prepareProps =
    902     typeof get_placeholder === "function"
    903       ? get_placeholder
    904       : returnOriginalProp;
    905   return { isJustHashLink: isJustHashLink };
     255        gtag('event', name, __assign({}, props));
     256    };
     257   
     258    function returnOriginalProp(self, prop) {
     259        return prop;
     260    }
     261    function getPageName() {
     262        if ('1' === wpGoalTrackerGa.isFrontPage) {
     263            return 'Home';
     264        }
     265        else {
     266            if (typeof wpGoalTrackerGa.pageTitle !== 'undefined') {
     267                return wpGoalTrackerGa.pageTitle;
     268            }
     269        }
     270        return '';
     271    }
     272    var trackCustomEvent = typeof trackCustomEventPro === 'function'
     273        ? trackCustomEventPro
     274        : trackCustomEventBasic;
     275    var prepareProps = typeof get_placeholder === 'function'
     276        ? get_placeholder
     277        : returnOriginalProp;
     278    return { isJustHashLink: isJustHashLink };
    906279})(jQuery);
    907 /* <fs_premium_only> */
    908 function getVideoPosition(currentPos, eventsSent) {
    909   var roundedPos = 0;
    910   if (currentPos > 10 && currentPos <= 24) {
    911     if (!eventsSent[10]) {
    912       roundedPos = 10;
    913     }
    914   } else if (currentPos >= 25 && currentPos <= 35) {
    915     if (!eventsSent[25]) {
    916       roundedPos = 25;
    917     }
    918   } else if (currentPos >= 50 && currentPos <= 60) {
    919     if (!eventsSent[50]) {
    920       roundedPos = 50;
    921     }
    922   } else if (currentPos >= 75 && currentPos <= 85) {
    923     if (!eventsSent[75]) {
    924       roundedPos = 75;
    925     }
    926   }
    927   return roundedPos;
    928 }
    929 function gtgaGetContactForm7EventData(event) {
    930   var eventTarget = event.target;
    931   var formTitle = jQuery("#" + eventTarget["wpcf7"].unitTag + " form").attr(
    932     "aria-label"
    933   );
    934   var eventData = {
    935     form_id: event.detail.contactFormId,
    936   };
    937   if (typeof formTitle !== "undefined") eventData["form_name"] = formTitle;
    938   return eventData;
    939 }
    940 function gtgaContactForm7Enabled() {
    941   return (
    942     typeof wpGoalTrackerGa.formTrackingSettings !== "undefined" &&
    943     wpGoalTrackerGa.formTrackingSettings.contactForm7Settings &&
    944     (wpGoalTrackerGa.formTrackingSettings.contactForm7Settings
    945       .trackFormSubmit ||
    946       wpGoalTrackerGa.formTrackingSettings.contactForm7Settings.trackInvalids ||
    947       wpGoalTrackerGa.formTrackingSettings.contactForm7Settings.trackMailSent ||
    948       wpGoalTrackerGa.formTrackingSettings.contactForm7Settings
    949         .trackMailFailed ||
    950       wpGoalTrackerGa.formTrackingSettings.contactForm7Settings.trackSpam)
    951   );
    952 }
    953 /* </fs_premium_only> */
     280
  • goal-tracker-ga/trunk/README.txt

    r3011805 r3013028  
    55Requires at least: 5.5
    66Tested up to: 6.4.2
    7 Stable tag: 1.0.16
     7Stable tag: 1.1.0
    88Requires PHP: 5.6.20
    99License: GPLv2 or later
     
    3535> Goal Tracker for Google Analytics GA4 is the professional version of our plugin and adds more tracking capabilities:
    3636>
     37> * WooCommerce Tracking
    3738> * User Tracking
    3839> * Placeholders to enrich your event data
     
    7677
    7778 == Changelog ==
     79
     80 = 1.1.0 - 2023-12-18 =
     81 1. Bug Fixes
     82 2. Pro - Added WooCommerce Support
    7883 
    7984= 1.0.16 =
  • goal-tracker-ga/trunk/admin/class-wp-goal-tracker-ga-admin.php

    r2931375 r3013028  
    6363     * @var      string    $rest_version    The rest version of this plugin..
    6464     */
    65     private  $requird_options = 'manage_options' ;
     65    private  $required_options = 'manage_options' ;
    6666    /**
    6767     * Initialize the class and set its properties.
     
    223223        },
    224224        ) ) );
     225        register_rest_route( $namespace, '/get_ecommerce_tracking_settings', array( array(
     226            'methods'             => \WP_REST_Server::READABLE,
     227            'callback'            => array( $this, 'get_ecommerce_tracking_settings' ),
     228            'permission_callback' => function () {
     229            return current_user_can( $this->required_options );
     230        },
     231        ) ) );
     232        register_rest_route( $namespace, '/set_ecommerce_tracking_settings', array( array(
     233            'methods'             => \WP_REST_Server::EDITABLE,
     234            'callback'            => array( $this, 'set_ecommerce_tracking_settings' ),
     235            'permission_callback' => function () {
     236            return current_user_can( $this->required_options );
     237        },
     238        ) ) );
    225239        register_rest_route( $namespace, '/get_form_tracking_settings', array( array(
    226240            'methods'             => \WP_REST_Server::READABLE,
     
    407421   
    408422    /**
     423     * Set Ecommerce Tracking Settings.
     424     *
     425     * @since 1.0.17
     426     *
     427     * @param WP_REST_Request $request Full details about the request.
     428     *
     429     * @return array|WP_REST_Response Plugin Video Settings.
     430     */
     431    public function set_ecommerce_tracking_settings( \WP_REST_Request $request )
     432    {
     433        $params = $request->get_params();
     434        if ( isset( $params['ecommerceTrackingSettings'] ) ) {
     435            //wp_goal_tracker_ga_delete_options();
     436            wp_goal_tracker_ga_set_ecommerce_tracking_settings( $params['ecommerceTrackingSettings'] );
     437        }
     438        return rest_ensure_response( wp_goal_tracker_ga_get_options( 'ecommerceTrackingSettings' ) );
     439    }
     440   
     441    /**
     442     * Get Ecommerce Tracking settings
     443     *
     444     * @since 1.0.17
     445     *
     446     * @param WP_REST_Request $request Full details about the request.
     447     *
     448     * @return array|WP_REST_Response Plugin Video Settings.
     449     */
     450    public function get_ecommerce_tracking_settings( \WP_REST_Request $request )
     451    {
     452        return rest_ensure_response( wp_goal_tracker_ga_get_options( 'ecommerceTrackingSettings' ) );
     453    }
     454   
     455    /**
    409456     * Set Click Config.
    410457     *
     
    514561    }
    515562   
    516     function gtga_show_review_notice()
     563    public function gtga_show_review_notice()
    517564    {
    518565        // Check if the user has already dismissed the notice
     
    552599    }
    553600   
    554     function gtga_dismiss_review_notice()
     601    public function gtga_dismiss_review_notice()
    555602    {
    556603        update_option( 'gtga_review_notice_dismissed', true );
  • goal-tracker-ga/trunk/apps/basic/build/index.asset.php

    r2991535 r3013028  
    1 <?php return array('dependencies' => array('react', 'react-dom', 'wp-element'), 'version' => 'e1b8fd8d445ce434508a');
     1<?php return array('dependencies' => array('react', 'react-dom', 'wp-element'), 'version' => '30c0f745d6c4ecb06b7f');
  • goal-tracker-ga/trunk/apps/basic/build/index.css

    r2948161 r3013028  
    13671367  border-color: rgb(75 36 248 / var(--tw-border-opacity));
    13681368}
     1369.border-brand-danger {
     1370  --tw-border-opacity: 1;
     1371  border-color: rgb(156 9 93 / var(--tw-border-opacity));
     1372}
    13691373.border-brand-primary {
    13701374  --tw-border-opacity: 1;
     
    17871791  --tw-text-opacity: 1;
    17881792  color: rgb(120 90 250 / var(--tw-text-opacity));
     1793}
     1794.text-brand-danger {
     1795  --tw-text-opacity: 1;
     1796  color: rgb(156 9 93 / var(--tw-text-opacity));
    17891797}
    17901798.text-brand-primary {
     
    20652073
    20662074
     2075.hover\:text-brand-danger:hover {
     2076  --tw-text-opacity: 1;
     2077  color: rgb(156 9 93 / var(--tw-text-opacity));
     2078}
     2079
     2080
    20672081.hover\:text-brand-primary:hover {
    20682082  --tw-text-opacity: 1;
  • goal-tracker-ga/trunk/apps/basic/build/index.js

    r2991535 r3013028  
    1 (()=>{var e,t,r={431:(e,t,r)=>{const n=r(196),i=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M10.293 3.293a1 1 0 011.414 0l6 6a1 1 0 010 1.414l-6 6a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-4.293-4.293a1 1 0 010-1.414z",clipRule:"evenodd"}))}));e.exports=i},977:(e,t,r)=>{const n=r(196),i=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-3a1 1 0 00-.867.5 1 1 0 11-1.731-1A3 3 0 0113 8a3.001 3.001 0 01-2 2.83V11a1 1 0 11-2 0v-1a1 1 0 011-1 1 1 0 100-2zm0 8a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"}))}));e.exports=i},644:(e,t,r)=>{e.exports=r(308)},353:(e,t,r)=>{"use strict";var n=r(44),i=r(955),a=r(233),u=r(30),s=r(948),o=r(875),l=r(842),L=r(618),c=r(560),M=r(714);e.exports=function(e){return new Promise((function(t,r){var j,d=e.data,N=e.headers,m=e.responseType;function y(){e.cancelToken&&e.cancelToken.unsubscribe(j),e.signal&&e.signal.removeEventListener("abort",j)}n.isFormData(d)&&delete N["Content-Type"];var g=new XMLHttpRequest;if(e.auth){var x=e.auth.username||"",p=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";N.Authorization="Basic "+btoa(x+":"+p)}var T=s(e.baseURL,e.url);function w(){if(g){var n="getAllResponseHeaders"in g?o(g.getAllResponseHeaders()):null,a={data:m&&"text"!==m&&"json"!==m?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:n,config:e,request:g};i((function(e){t(e),y()}),(function(e){r(e),y()}),a),g=null}}if(g.open(e.method.toUpperCase(),u(T,e.params,e.paramsSerializer),!0),g.timeout=e.timeout,"onloadend"in g?g.onloadend=w:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(w)},g.onabort=function(){g&&(r(L("Request aborted",e,"ECONNABORTED",g)),g=null)},g.onerror=function(){r(L("Network Error",e,null,g)),g=null},g.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||c;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(L(t,e,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",g)),g=null},n.isStandardBrowserEnv()){var S=(e.withCredentials||l(T))&&e.xsrfCookieName?a.read(e.xsrfCookieName):void 0;S&&(N[e.xsrfHeaderName]=S)}"setRequestHeader"in g&&n.forEach(N,(function(e,t){void 0===d&&"content-type"===t.toLowerCase()?delete N[t]:g.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(g.withCredentials=!!e.withCredentials),m&&"json"!==m&&(g.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&g.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&g.upload&&g.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(j=function(e){g&&(r(!e||e&&e.type?new M("canceled"):e),g.abort(),g=null)},e.cancelToken&&e.cancelToken.subscribe(j),e.signal&&(e.signal.aborted?j():e.signal.addEventListener("abort",j))),d||(d=null),g.send(d)}))}},308:(e,t,r)=>{"use strict";var n=r(44),i=r(95),a=r(215),u=r(937),s=function e(t){var r=new a(t),s=i(a.prototype.request,r);return n.extend(s,a.prototype,r),n.extend(s,r),s.create=function(r){return e(u(t,r))},s}(r(663));s.Axios=a,s.Cancel=r(714),s.CancelToken=r(89),s.isCancel=r(41),s.VERSION=r(241).version,s.all=function(e){return Promise.all(e)},s.spread=r(783),s.isAxiosError=r(587),e.exports=s,e.exports.default=s},714:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},89:(e,t,r)=>{"use strict";var n=r(714);function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t<n;t++)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},i.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},i.source=function(){var e;return{token:new i((function(t){e=t})),cancel:e}},e.exports=i},41:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},215:(e,t,r)=>{"use strict";var n=r(44),i=r(30),a=r(946),u=r(895),s=r(937),o=r(525),l=o.validators;function L(e){this.defaults=e,this.interceptors={request:new a,response:new a}}L.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;void 0!==r&&o.assertOptions(r,{silentJSONParsing:l.transitional(l.boolean),forcedJSONParsing:l.transitional(l.boolean),clarifyTimeoutError:l.transitional(l.boolean)},!1);var n=[],i=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(i=i&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var a,L=[];if(this.interceptors.response.forEach((function(e){L.push(e.fulfilled,e.rejected)})),!i){var c=[u,void 0];for(Array.prototype.unshift.apply(c,n),c=c.concat(L),a=Promise.resolve(t);c.length;)a=a.then(c.shift(),c.shift());return a}for(var M=t;n.length;){var j=n.shift(),d=n.shift();try{M=j(M)}catch(e){d(e);break}}try{a=u(M)}catch(e){return Promise.reject(e)}for(;L.length;)a=a.then(L.shift(),L.shift());return a},L.prototype.getUri=function(e){return e=s(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){L.prototype[e]=function(t,r){return this.request(s(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){L.prototype[e]=function(t,r,n){return this.request(s(n||{},{method:e,url:t,data:r}))}})),e.exports=L},946:(e,t,r)=>{"use strict";var n=r(44);function i(){this.handlers=[]}i.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},948:(e,t,r)=>{"use strict";var n=r(192),i=r(762);e.exports=function(e,t){return e&&!n(t)?i(e,t):t}},618:(e,t,r)=>{"use strict";var n=r(935);e.exports=function(e,t,r,i,a){var u=new Error(e);return n(u,t,r,i,a)}},895:(e,t,r)=>{"use strict";var n=r(44),i=r(556),a=r(41),u=r(663),s=r(714);function o(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s("canceled")}e.exports=function(e){return o(e),e.headers=e.headers||{},e.data=i.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||u.adapter)(e).then((function(t){return o(e),t.data=i.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return a(t)||(o(e),t&&t.response&&(t.response.data=i.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},935:e=>{"use strict";e.exports=function(e,t,r,n,i){return e.config=t,r&&(e.code=r),e.request=n,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},937:(e,t,r)=>{"use strict";var n=r(44);e.exports=function(e,t){t=t||{};var r={};function i(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function a(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:i(void 0,e[r]):i(e[r],t[r])}function u(e){if(!n.isUndefined(t[e]))return i(void 0,t[e])}function s(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:i(void 0,e[r]):i(void 0,t[r])}function o(r){return r in t?i(e[r],t[r]):r in e?i(void 0,e[r]):void 0}var l={url:u,method:u,data:u,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:o};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=l[e]||a,i=t(e);n.isUndefined(i)&&t!==o||(r[e]=i)})),r}},955:(e,t,r)=>{"use strict";var n=r(618);e.exports=function(e,t,r){var i=r.config.validateStatus;r.status&&i&&!i(r.status)?t(n("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)}},556:(e,t,r)=>{"use strict";var n=r(44),i=r(663);e.exports=function(e,t,r){var a=this||i;return n.forEach(r,(function(r){e=r.call(a,e,t)})),e}},663:(e,t,r)=>{"use strict";var n=r(44),i=r(868),a=r(935),u=r(560),s={"Content-Type":"application/x-www-form-urlencoded"};function o(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var l,L={transitional:u,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(l=r(353)),l),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(o(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)||t&&"application/json"===t["Content-Type"]?(o(t,"application/json"),function(e,t,r){if(n.isString(e))try{return(0,JSON.parse)(e),n.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||L.transitional,r=t&&t.silentJSONParsing,i=t&&t.forcedJSONParsing,u=!r&&"json"===this.responseType;if(u||i&&n.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(u){if("SyntaxError"===e.name)throw a(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(e){L.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){L.headers[e]=n.merge(s)})),e.exports=L},560:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},241:e=>{e.exports={version:"0.26.1"}},95:e=>{"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},30:(e,t,r)=>{"use strict";var n=r(44);function i(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var a;if(r)a=r(t);else if(n.isURLSearchParams(t))a=t.toString();else{var u=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),u.push(i(t)+"="+i(e))})))})),a=u.join("&")}if(a){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}},762:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},233:(e,t,r)=>{"use strict";var n=r(44);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,i,a,u){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(i)&&s.push("path="+i),n.isString(a)&&s.push("domain="+a),!0===u&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},192:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},587:(e,t,r)=>{"use strict";var n=r(44);e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},842:(e,t,r)=>{"use strict";var n=r(44);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function i(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=i(window.location.href),function(t){var r=n.isString(t)?i(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},868:(e,t,r)=>{"use strict";var n=r(44);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},875:(e,t,r)=>{"use strict";var n=r(44),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,a,u={};return e?(n.forEach(e.split("\n"),(function(e){if(a=e.indexOf(":"),t=n.trim(e.substr(0,a)).toLowerCase(),r=n.trim(e.substr(a+1)),t){if(u[t]&&i.indexOf(t)>=0)return;u[t]="set-cookie"===t?(u[t]?u[t]:[]).concat([r]):u[t]?u[t]+", "+r:r}})),u):u}},783:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},525:(e,t,r)=>{"use strict";var n=r(241).version,i={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){i[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var a={};i.transitional=function(e,t,r){function i(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,u){if(!1===e)throw new Error(i(n," has been removed"+(t?" in "+t:"")));return t&&!a[n]&&(a[n]=!0,console.warn(i(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,u)}},e.exports={assertOptions:function(e,t,r){if("object"!=typeof e)throw new TypeError("options must be an object");for(var n=Object.keys(e),i=n.length;i-- >0;){var a=n[i],u=t[a];if(u){var s=e[a],o=void 0===s||u(s,a,e);if(!0!==o)throw new TypeError("option "+a+" must be "+o)}else if(!0!==r)throw Error("Unknown option "+a)}},validators:i}},44:(e,t,r)=>{"use strict";var n=r(95),i=Object.prototype.toString;function a(e){return Array.isArray(e)}function u(e){return void 0===e}function s(e){return"[object ArrayBuffer]"===i.call(e)}function o(e){return null!==e&&"object"==typeof e}function l(e){if("[object Object]"!==i.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function L(e){return"[object Function]"===i.call(e)}function c(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),a(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}e.exports={isArray:a,isArrayBuffer:s,isBuffer:function(e){return null!==e&&!u(e)&&null!==e.constructor&&!u(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"[object FormData]"===i.call(e)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&s(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:o,isPlainObject:l,isUndefined:u,isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:L,isStream:function(e){return o(e)&&L(e.pipe)},isURLSearchParams:function(e){return"[object URLSearchParams]"===i.call(e)},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:c,merge:function e(){var t={};function r(r,n){l(t[n])&&l(r)?t[n]=e(t[n],r):l(r)?t[n]=e({},r):a(r)?t[n]=r.slice():t[n]=r}for(var n=0,i=arguments.length;n<i;n++)c(arguments[n],r);return t},extend:function(e,t,r){return c(t,(function(t,i){e[i]=r&&"function"==typeof t?n(t,r):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},779:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)){if(r.length){var u=i.apply(null,r);u&&e.push(u)}}else if("object"===a){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()},196:e=>{"use strict";e.exports=window.React}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var a=n[e]={exports:{}};return r[e](a,a.exports,i),a.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var a=Object.create(null);i.r(a);var u={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>u[e]=()=>r[e]));return u.default=()=>r,i.d(a,u),a},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;i.g.importScripts&&(e=i.g.location+"");var t=i.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");r.length&&(e=r[r.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.p=e})(),(()=>{"use strict";const e=window.wp.element;var t=i(196),r=i.t(t,2),n=i.n(t);const a=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{d:"M5 4a1 1 0 00-2 0v7.268a2 2 0 000 3.464V16a1 1 0 102 0v-1.268a2 2 0 000-3.464V4zM11 4a1 1 0 10-2 0v1.268a2 2 0 000 3.464V16a1 1 0 102 0V8.732a2 2 0 000-3.464V4zM16 3a1 1 0 011 1v7.268a2 2 0 010 3.464V16a1 1 0 11-2 0v-1.268a2 2 0 010-3.464V4a1 1 0 011-1z"}))})),u=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-3a1 1 0 00-.867.5 1 1 0 11-1.731-1A3 3 0 0113 8a3.001 3.001 0 01-2 2.83V11a1 1 0 11-2 0v-1a1 1 0 011-1 1 1 0 100-2zm0 8a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"}))}));var s=i(779),o=i.n(s);const l=(0,t.createContext)(null),L=r=>{let{initialTabs:n,children:i}=r;const a=(e=>{const[r,n]=(0,t.useState)(e);return{tabs:r,updateTab:(e,t)=>{n((r=>r.map(((r,n)=>n===e?{...r,...t}:r))))},updateTabByName:(e,t)=>{n((r=>r.map((r=>r.name===e?{...r,...t}:r))))},updateHasIssueByName:(e,t)=>{n((r=>r.map((r=>r.name===e?{...r,hasIssue:t}:r))))}}})(n);return(0,e.createElement)(l.Provider,{value:a},i)};function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c.apply(this,arguments)}var M;!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(M||(M={}));const j="popstate";function d(e,t){if(!1===e||null==e)throw new Error(t)}function N(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function m(e,t){return{usr:e.state,key:e.key,idx:t}}function y(e,t,r,n){return void 0===r&&(r=null),c({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?x(t):t,{state:r,key:t&&t.key||n||Math.random().toString(36).substr(2,8)})}function g(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&"?"!==r&&(t+="?"===r.charAt(0)?r:"?"+r),n&&"#"!==n&&(t+="#"===n.charAt(0)?n:"#"+n),t}function x(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}var p;function T(e,t,r){void 0===r&&(r="/");let n=A(("string"==typeof t?x(t):t).pathname||"/",r);if(null==n)return null;let i=w(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let r=e.length===t.length&&e.slice(0,-1).every(((e,r)=>e===t[r]));return r?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(i);let a=null;for(let e=0;null==a&&e<i.length;++e)a=b(i[e],k(n));return a}function w(e,t,r,n){void 0===t&&(t=[]),void 0===r&&(r=[]),void 0===n&&(n="");let i=(e,i,a)=>{let u={relativePath:void 0===a?e.path||"":a,caseSensitive:!0===e.caseSensitive,childrenIndex:i,route:e};u.relativePath.startsWith("/")&&(d(u.relativePath.startsWith(n),'Absolute route path "'+u.relativePath+'" nested under path "'+n+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),u.relativePath=u.relativePath.slice(n.length));let s=G([n,u.relativePath]),o=r.concat(u);e.children&&e.children.length>0&&(d(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+s+'".'),w(e.children,t,o,s)),(null!=e.path||e.index)&&t.push({path:s,score:O(s,e.index),routesMeta:o})};return e.forEach(((e,t)=>{var r;if(""!==e.path&&null!=(r=e.path)&&r.includes("?"))for(let r of S(e.path))i(e,t,r);else i(e,t)})),t}function S(e){let t=e.split("/");if(0===t.length)return[];let[r,...n]=t,i=r.endsWith("?"),a=r.replace(/\?$/,"");if(0===n.length)return i?[a,""]:[a];let u=S(n.join("/")),s=[];return s.push(...u.map((e=>""===e?a:[a,e].join("/")))),i&&s.push(...u),s.map((t=>e.startsWith("/")&&""===t?"/":t))}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(p||(p={})),new Set(["lazy","caseSensitive","path","id","index","children"]);const E=/^:\w+$/,D=3,f=2,I=1,h=10,C=-2,z=e=>"*"===e;function O(e,t){let r=e.split("/"),n=r.length;return r.some(z)&&(n+=C),t&&(n+=f),r.filter((e=>!z(e))).reduce(((e,t)=>e+(E.test(t)?D:""===t?I:h)),n)}function b(e,t){let{routesMeta:r}=e,n={},i="/",a=[];for(let e=0;e<r.length;++e){let u=r[e],s=e===r.length-1,o="/"===i?t:t.slice(i.length)||"/",l=v({path:u.relativePath,caseSensitive:u.caseSensitive,end:s},o);if(!l)return null;Object.assign(n,l.params);let L=u.route;a.push({params:n,pathname:G([i,l.pathname]),pathnameBase:P(G([i,l.pathnameBase])),route:L}),"/"!==l.pathnameBase&&(i=G([i,l.pathnameBase]))}return a}function v(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[r,n]=function(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!0),N("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let n=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,((e,t)=>(n.push(t),"/([^\\/]+)")));return e.endsWith("*")?(n.push("*"),i+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?i+="\\/*$":""!==e&&"/"!==e&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),n]}(e.path,e.caseSensitive,e.end),i=t.match(r);if(!i)return null;let a=i[0],u=a.replace(/(.)\/+$/,"$1"),s=i.slice(1);return{params:n.reduce(((e,t,r)=>{if("*"===t){let e=s[r]||"";u=a.slice(0,a.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(r){return N(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+r+")."),e}}(s[r]||"",t),e}),{}),pathname:a,pathnameBase:u,pattern:e}}function k(e){try{return decodeURI(e)}catch(t){return N(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function A(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&"/"!==n?null:e.slice(r)||"/"}function Y(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(n)+"].  Please separate it out to the `to."+r+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function U(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function Q(e,t,r,n){let i;void 0===n&&(n=!1),"string"==typeof e?i=x(e):(i=c({},e),d(!i.pathname||!i.pathname.includes("?"),Y("?","pathname","search",i)),d(!i.pathname||!i.pathname.includes("#"),Y("#","pathname","hash",i)),d(!i.search||!i.search.includes("#"),Y("#","search","hash",i)));let a,u=""===e||""===i.pathname,s=u?"/":i.pathname;if(n||null==s)a=r;else{let e=t.length-1;if(s.startsWith("..")){let t=s.split("/");for(;".."===t[0];)t.shift(),e-=1;i.pathname=t.join("/")}a=e>=0?t[e]:"/"}let o=function(e,t){void 0===t&&(t="/");let{pathname:r,search:n="",hash:i=""}="string"==typeof e?x(e):e,a=r?r.startsWith("/")?r:function(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)})),r.length>1?r.join("/"):"/"}(r,t):t;return{pathname:a,search:R(n),hash:F(i)}}(i,a),l=s&&"/"!==s&&s.endsWith("/"),L=(u||"."===s)&&r.endsWith("/");return o.pathname.endsWith("/")||!l&&!L||(o.pathname+="/"),o}const G=e=>e.join("/").replace(/\/\/+/g,"/"),P=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),R=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",F=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";class _ extends Error{}const q=["post","put","patch","delete"],B=(new Set(q),["get",...q]);new Set(B),new Set([301,302,303,307,308]),new Set([307,308]),"undefined"!=typeof window&&void 0!==window.document&&window.document.createElement,Symbol("deferred");const Z="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},{useState:W,useEffect:H,useLayoutEffect:V,useDebugValue:J}=t;function X(e){const t=e.getSnapshot,r=e.value;try{const e=t();return!Z(r,e)}catch(e){return!0}}"undefined"==typeof window||void 0===window.document||window.document.createElement;"useSyncExternalStore"in t&&t.useSyncExternalStore;const K=t.createContext(null),$=t.createContext(null),ee=t.createContext(null),te=t.createContext(null),re=t.createContext({outlet:null,matches:[]}),ne=t.createContext(null);function ie(){return ie=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ie.apply(this,arguments)}function ae(){return null!=t.useContext(te)}function ue(){return ae()||d(!1),t.useContext(te).location}function se(e,r){let{relative:n}=void 0===r?{}:r,{matches:i}=t.useContext(re),{pathname:a}=ue(),u=JSON.stringify(U(i).map((e=>e.pathnameBase)));return t.useMemo((()=>Q(e,JSON.parse(u),a,"path"===n)),[e,u,a,n])}function oe(){let e=function(){var e;let r=t.useContext(ne),n=function(e){let r=t.useContext($);return r||d(!1),r}(Me.UseRouteError),i=function(e){let r=function(e){let r=t.useContext(re);return r||d(!1),r}(),n=r.matches[r.matches.length-1];return n.route.id||d(!1),n.route.id}(Me.UseRouteError);return r||(null==(e=n.errors)?void 0:e[i])}(),r=function(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return t.createElement(t.Fragment,null,t.createElement("h2",null,"Unexpected Application Error!"),t.createElement("h3",{style:{fontStyle:"italic"}},r),n?t.createElement("pre",{style:i},n):null,null)}class le extends t.Component{constructor(e){super(e),this.state={location:e.location,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location?{error:e.error,location:e.location}:{error:e.error||t.error,location:t.location}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error?t.createElement(re.Provider,{value:this.props.routeContext},t.createElement(ne.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Le(e){let{routeContext:r,match:n,children:i}=e,a=t.useContext(K);return a&&a.static&&a.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=n.route.id),t.createElement(re.Provider,{value:r},i)}var ce,Me,je;function de(e){d(!1)}function Ne(e){let{basename:r="/",children:n=null,location:i,navigationType:a=M.Pop,navigator:u,static:s=!1}=e;ae()&&d(!1);let o=r.replace(/^\/*/,"/"),l=t.useMemo((()=>({basename:o,navigator:u,static:s})),[o,u,s]);"string"==typeof i&&(i=x(i));let{pathname:L="/",search:c="",hash:j="",state:N=null,key:m="default"}=i,y=t.useMemo((()=>{let e=A(L,o);return null==e?null:{location:{pathname:e,search:c,hash:j,state:N,key:m},navigationType:a}}),[o,L,c,j,N,m,a]);return null==y?null:t.createElement(ee.Provider,{value:l},t.createElement(te.Provider,{children:n,value:y}))}function me(e){let{children:r,location:n}=e,i=t.useContext(K);return function(e,r){ae()||d(!1);let{navigator:n}=t.useContext(ee),i=t.useContext($),{matches:a}=t.useContext(re),u=a[a.length-1],s=u?u.params:{},o=(u&&u.pathname,u?u.pathnameBase:"/");u&&u.route;let l,L=ue();if(r){var c;let e="string"==typeof r?x(r):r;"/"===o||(null==(c=e.pathname)?void 0:c.startsWith(o))||d(!1),l=e}else l=L;let j=l.pathname||"/",N=T(e,{pathname:"/"===o?j:j.slice(o.length)||"/"}),m=function(e,r,n){if(void 0===r&&(r=[]),null==e){if(null==n||!n.errors)return null;e=n.matches}let i=e,a=null==n?void 0:n.errors;if(null!=a){let e=i.findIndex((e=>e.route.id&&(null==a?void 0:a[e.route.id])));e>=0||d(!1),i=i.slice(0,Math.min(i.length,e+1))}return i.reduceRight(((e,u,s)=>{let o=u.route.id?null==a?void 0:a[u.route.id]:null,l=null;n&&(l=u.route.ErrorBoundary?t.createElement(u.route.ErrorBoundary,null):u.route.errorElement?u.route.errorElement:t.createElement(oe,null));let L=r.concat(i.slice(0,s+1)),c=()=>{let r=e;return o?r=l:u.route.Component?r=t.createElement(u.route.Component,null):u.route.element&&(r=u.route.element),t.createElement(Le,{match:u,routeContext:{outlet:e,matches:L},children:r})};return n&&(u.route.ErrorBoundary||u.route.errorElement||0===s)?t.createElement(le,{location:n.location,component:l,error:o,children:c(),routeContext:{outlet:null,matches:L}}):c()}),null)}(N&&N.map((e=>Object.assign({},e,{params:Object.assign({},s,e.params),pathname:G([o,n.encodeLocation?n.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?o:G([o,n.encodeLocation?n.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),a,i||void 0);return r&&m?t.createElement(te.Provider,{value:{location:ie({pathname:"/",search:"",hash:"",state:null,key:"default"},l),navigationType:M.Pop}},m):m}(i&&!r?i.router.routes:ge(r),n)}!function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator"}(ce||(ce={})),function(e){e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"}(Me||(Me={})),function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}(je||(je={})),new Promise((()=>{}));class ye extends t.Component{constructor(e){super(e),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){console.error("<Await> caught the following error during render",e,t)}render(){let{children:e,errorElement:t,resolve:r}=this.props,n=null,i=je.pending;if(r instanceof Promise)if(this.state.error){je.error;let e=this.state.error;Promise.reject().catch((()=>{})),Object.defineProperty(n,"_tracked",{get:()=>!0}),Object.defineProperty(n,"_error",{get:()=>e})}else r._tracked?void 0!==n._error?je.error:void 0!==n._data?je.success:je.pending:(je.pending,Object.defineProperty(r,"_tracked",{get:()=>!0}),r.then((e=>Object.defineProperty(r,"_data",{get:()=>e})),(e=>Object.defineProperty(r,"_error",{get:()=>e}))));else je.success,Promise.resolve(),Object.defineProperty(n,"_tracked",{get:()=>!0}),Object.defineProperty(n,"_data",{get:()=>r});if(i===je.error&&n._error instanceof AbortedDeferredError)throw neverSettledPromise;if(i===je.error&&!t)throw n._error;if(i===je.error)return React.createElement(AwaitContext.Provider,{value:n,children:t});if(i===je.success)return React.createElement(AwaitContext.Provider,{value:n,children:e});throw n}}function ge(e,r){void 0===r&&(r=[]);let n=[];return t.Children.forEach(e,((e,i)=>{if(!t.isValidElement(e))return;if(e.type===t.Fragment)return void n.push.apply(n,ge(e.props.children,r));e.type!==de&&d(!1),e.props.index&&e.props.children&&d(!1);let a=[...r,i],u={id:e.props.id||a.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(u.children=ge(e.props.children,a)),n.push(u)})),n}function xe(){return xe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},xe.apply(this,arguments)}function pe(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}const Te=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],we=["aria-current","caseSensitive","className","end","style","to","children"];function Se(e){let{basename:r,children:n,window:i}=e,a=t.useRef();var u;null==a.current&&(a.current=(void 0===(u={window:i,v5Compat:!0})&&(u={}),function(e,t,r,n){void 0===n&&(n={});let{window:i=document.defaultView,v5Compat:a=!1}=n,u=i.history,s=M.Pop,o=null,l=L();function L(){return(u.state||{idx:null}).idx}function N(){s=M.Pop;let e=L(),t=null==e?null:e-l;l=e,o&&o({action:s,location:p.location,delta:t})}function x(e){let t="null"!==i.location.origin?i.location.origin:i.location.href,r="string"==typeof e?e:g(e);return d(t,"No window.location.(origin|href) available to create URL for href: "+r),new URL(r,t)}null==l&&(l=0,u.replaceState(c({},u.state,{idx:l}),""));let p={get action(){return s},get location(){return e(i,u)},listen(e){if(o)throw new Error("A history only accepts one active listener");return i.addEventListener(j,N),o=e,()=>{i.removeEventListener(j,N),o=null}},createHref:e=>t(i,e),createURL:x,encodeLocation(e){let t=x(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){s=M.Push;let n=y(p.location,e,t);r&&r(n,e),l=L()+1;let c=m(n,l),j=p.createHref(n);try{u.pushState(c,"",j)}catch(e){i.location.assign(j)}a&&o&&o({action:s,location:p.location,delta:1})},replace:function(e,t){s=M.Replace;let n=y(p.location,e,t);r&&r(n,e),l=L();let i=m(n,l),c=p.createHref(n);u.replaceState(i,"",c),a&&o&&o({action:s,location:p.location,delta:0})},go:e=>u.go(e)};return p}((function(e,t){let{pathname:r="/",search:n="",hash:i=""}=x(e.location.hash.substr(1));return y("",{pathname:r,search:n,hash:i},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){let r=e.document.querySelector("base"),n="";if(r&&r.getAttribute("href")){let t=e.location.href,r=t.indexOf("#");n=-1===r?t:t.slice(0,r)}return n+"#"+("string"==typeof t?t:g(t))}),(function(e,t){N("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),u)));let s=a.current,[o,l]=t.useState({action:s.action,location:s.location});return t.useLayoutEffect((()=>s.listen(l)),[s]),t.createElement(Ne,{basename:r,children:n,location:o.location,navigationType:o.action,navigator:s})}const Ee="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,De=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,fe=t.forwardRef((function(e,r){let n,{onClick:i,relative:a,reloadDocument:u,replace:s,state:o,target:l,to:L,preventScrollReset:c}=e,M=pe(e,Te),{basename:j}=t.useContext(ee),N=!1;if("string"==typeof L&&De.test(L)&&(n=L,Ee)){let e=new URL(window.location.href),t=L.startsWith("//")?new URL(e.protocol+L):new URL(L),r=A(t.pathname,j);t.origin===e.origin&&null!=r?L=r+t.search+t.hash:N=!0}let m=function(e,r){let{relative:n}=void 0===r?{}:r;ae()||d(!1);let{basename:i,navigator:a}=t.useContext(ee),{hash:u,pathname:s,search:o}=se(e,{relative:n}),l=s;return"/"!==i&&(l="/"===s?i:G([i,s])),a.createHref({pathname:l,search:o,hash:u})}(L,{relative:a}),y=function(e,r){let{target:n,replace:i,state:a,preventScrollReset:u,relative:s}=void 0===r?{}:r,o=function(){ae()||d(!1);let{basename:e,navigator:r}=t.useContext(ee),{matches:n}=t.useContext(re),{pathname:i}=ue(),a=JSON.stringify(U(n).map((e=>e.pathnameBase))),u=t.useRef(!1);t.useEffect((()=>{u.current=!0}));let s=t.useCallback((function(t,n){if(void 0===n&&(n={}),!u.current)return;if("number"==typeof t)return void r.go(t);let s=Q(t,JSON.parse(a),i,"path"===n.relative);"/"!==e&&(s.pathname="/"===s.pathname?e:G([e,s.pathname])),(n.replace?r.replace:r.push)(s,n.state,n)}),[e,r,a,i]);return s}(),l=ue(),L=se(e,{relative:s});return t.useCallback((t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,n)){t.preventDefault();let r=void 0!==i?i:g(l)===g(L);o(e,{replace:r,state:a,preventScrollReset:u,relative:s})}}),[l,o,L,i,a,n,e,u,s])}(L,{replace:s,state:o,target:l,preventScrollReset:c,relative:a});return t.createElement("a",xe({},M,{href:n||m,onClick:N||u?i:function(e){i&&i(e),e.defaultPrevented||y(e)},ref:r,target:l}))})),Ie=t.forwardRef((function(e,r){let{"aria-current":n="page",caseSensitive:i=!1,className:a="",end:u=!1,style:s,to:o,children:l}=e,L=pe(e,we),c=se(o,{relative:L.relative}),M=ue(),j=t.useContext($),{navigator:d}=t.useContext(ee),N=d.encodeLocation?d.encodeLocation(c).pathname:c.pathname,m=M.pathname,y=j&&j.navigation&&j.navigation.location?j.navigation.location.pathname:null;i||(m=m.toLowerCase(),y=y?y.toLowerCase():null,N=N.toLowerCase());let g,x=m===N||!u&&m.startsWith(N)&&"/"===m.charAt(N.length),p=null!=y&&(y===N||!u&&y.startsWith(N)&&"/"===y.charAt(N.length)),T=x?n:void 0;g="function"==typeof a?a({isActive:x,isPending:p}):[a,x?"active":null,p?"pending":null].filter(Boolean).join(" ");let w="function"==typeof s?s({isActive:x,isPending:p}):s;return t.createElement(fe,xe({},L,{"aria-current":T,className:g,ref:r,style:w,to:o}),"function"==typeof l?l({isActive:x,isPending:p}):l)}));var he,Ce;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(he||(he={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(Ce||(Ce={}));var ze=i(644),Oe=i.n(ze);const be=i.p+"images/Smirk.4b4e78cd.png",ve=["Installing and activating the plugin with ease","Connecting the plugin to Google Analytics","Disabling page_view tracking when using Google Tag Manager","Using Debug View for effective event testing and debugging","Simple email and link tracking with just a few clicks","Enabling email link tracking in General Settings and creating a Custom Dimension in Google Analytics","Tracking button clicks with class or ID attributes and custom events","Distinguishing between custom and recommended events","Applying visibility tracking to monitor your call-to-action buttons' exposure"],ke=t=>{let{feature:r,index:n}=t;return(0,e.createElement)("li",{className:"p-2 shadow rounded flex border border-grey-100/10"},n&&(0,e.createElement)("span",{className:"rounded-full w-6 h-6 bg-brand-primary text-white justify-center flex items-center"},n),(0,e.createElement)("span",{className:"ml-2 flex-1 text-base"},r))},Ae=()=>{const[r,n]=(0,t.useState)(""),[i,a]=(0,t.useState)(!1),[u,s]=(0,t.useState)(!0);return(0,e.createElement)("section",{className:"bg-white/50 py-4"},(0,e.createElement)(Yt,{showTutorial:u,showCloseButton:!1}),!i&&(0,e.createElement)("div",{className:"bg-white py-4 rounded-md border border-gray-200 my-10 mx-4 shadow-xl"},(0,e.createElement)("div",{className:""},(0,e.createElement)("div",{className:"px-4 py-5 sm:p-6"},(0,e.createElement)("h3",{className:"text-3xl mb-6 leading-10 text-gray-900 max-w-xl"},"Download the Free Goal Tracker for Google Analytics Getting Started Guide"),(0,e.createElement)("div",{className:"mt-2 max-w-xl text-gray-500 p-2"},(0,e.createElement)("p",{className:"text-xl"},"Get the most out of the Goal Tracker for Google Analytics WordPress plugin with our straightforward Getting Started Guide."),(0,e.createElement)("p",{className:"text-brand-primary text-lg"},"Learn these essential skills to improve your website tracking:"),(0,e.createElement)("ul",{role:"list",className:"list-inside p-1 mt-2"},ve.map(((t,r)=>(0,e.createElement)(ke,{key:r,feature:t,index:r+1}))))),(0,e.createElement)("form",{className:"mt-5 sm:items-center max-w-xl px-4 py-2"},(0,e.createElement)("div",{className:"text-brand-primary text-lg mb-2"},"👉 Download your FREE PDF guide here:"),(0,e.createElement)("fieldset",{className:"flex"},(0,e.createElement)("div",{className:"w-full flex"},(0,e.createElement)("label",{htmlFor:"email",className:"sr-only"},"Email"),(0,e.createElement)("input",{type:"email",name:"email",id:"email",value:r,onChange:e=>n(e.target.value),className:o()("shadow-sm ","focus:ring-indigo-500 focus:border-indigo-500 ","flex-1 text-lg","border-gray-300 rounded-l rounder-r-0 p-2"),placeholder:"you@example.com"})),(0,e.createElement)("button",{type:"submit",onClick:async function(e){e.preventDefault();let t=new FormData;t.append("fields[email]",r),await Oe()({url:"https://assets.mailerlite.com/jsonp/31991/forms/70109343150769330/subscribe",method:"POST",data:t,headers:{"Content-Type":"multipart/form-data"}}),a(!0)},className:o()("capitalize inline-flex","items-center justify-center","rounded-r","border border-transparent bg-brand-primary","px-4 py-2","text-sm font-medium text-white","shadow-sm","hover:bg-brand-600","focus:outline-none focus:ring-2 focus:ring-brand-primary-focus focus:ring-offset-2","transform active:scale-75 hover:scale-105 transition-transform")},"Download")))))),i&&(0,e.createElement)("div",{className:"min-h-full pt-16 pb-12 flex flex-col bg-white"},(0,e.createElement)("main",{className:"flex-grow flex flex-col justify-center max-w-7xl w-full mx-auto px-4 sm:px-6 lg:px-8"},(0,e.createElement)("div",{className:"flex-shrink-0 flex justify-center"},(0,e.createElement)("span",{className:"sr-only"},"Workflow"),(0,e.createElement)("img",{className:"h-28 w-auto",src:be,alt:""})),(0,e.createElement)("div",{className:"py-16"},(0,e.createElement)("div",{className:"text-center"},(0,e.createElement)("h1",{className:"mt-2 text-2xl font-extrabold text-gray-900 tracking-tight sm:text-4xl"},"Check your inbox for the Getting Started Guide"),(0,e.createElement)("div",{className:"mt-6"})))),(0,e.createElement)("footer",{className:"flex-shrink-0 max-w-7xl w-full mx-auto px-4 sm:px-6 lg:px-8"})))};t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{fillRule:"evenodd",d:"M6 2a1 1 0 00-1 1v1H4a2 2 0 00-2 2v10a2 2 0 002 2h12a2 2 0 002-2V6a2 2 0 00-2-2h-1V3a1 1 0 10-2 0v1H7V3a1 1 0 00-1-1zm0 5a1 1 0 000 2h8a1 1 0 100-2H6z",clipRule:"evenodd"}))}));const Ye="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iTGF5ZXJfMSIKICB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHZpZXdCb3g9IjAgMCA5NDkuNTQgMjUzLjU4Ij4KICA8ZGVmcz4KICAgIDxzdHlsZT4uY2xzLTF7ZmlsbDpub25lO30uY2xzLTJ7ZmlsbDojZmZmO30uY2xzLTN7ZmlsbDojZWYzZTJmO308L3N0eWxlPgogICAgPHN5bWJvbCBpZD0iTG9nby1Hb2FsVHJhY2tlciIgdmlld0JveD0iMCAwIDU2OS41NCA4My45MSI+CiAgICAgIDxnPgogICAgICAgIDxwYXRoIGQ9Ik02Ny44OSwzMi45OHMtMjEuMTYtLjExLTI1LjAxLS4xMmMtMi4yMiwwLTMuOTMsLjc0LTUuNDgsMi4yNi00LjcsNC42My0xLjMyLDEzLjc3LDUuNDgsMTMuNDhoMjEuODljLTQuODcsMjMuOTQtMzcuNzQsMjQuODEtNDYuOTIsMy4xMkM3Ljc4LDI3LjM1LDM2LjQyLDQuODcsNTcuNDUsMjEuNDVjOS4zNyw3Ljg2LDE5LjM5LTUuNTYsOS43NC0xMi42OEM2MC4yOSwyLjgyLDUxLjE4LS4wMiw0MS40MSwwLDEyLjM4LS40OS04LjQxLDMxLjM3LDMuMzQsNTcuNzVjMTAuNDMsMjYuNDIsNDcuOSwzN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NC44Ni04Mi4xLDMwLjA1LTc1LjY3LDkwLjYzLDMuNjgsNDUuNjgsNDcuNyw2OS45Nyw4OC4yOCw2OS40NiwzOS40Ny0uMjgsOTkuMTktMjguNDIsOTAuNC05My44MloiLz4KICA8dXNlIHdpZHRoPSIyMDUuNyIgaGVpZ2h0PSIyMDUuNjMiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDI5LjcxIDE3LjEpIiB4bGluazpocmVmPSIjU3ltYm9sLUdvYWxUcmFja2VyIi8+CiAgPHJlY3QgY2xhc3M9ImNscy0xIiB5PSIwIiB3aWR0aD0iOTQ5LjU0IiBoZWlnaHQ9IjI1My41OCIvPgogIDx1c2Ugd2lkdGg9IjQzMy4zMiIgaGVpZ2h0PSI5My43MiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjkxLjM3IDEzMi44MSkgc2NhbGUoMS4xKSIgeGxpbms6aHJlZj0iI05vQ29kZS1HYTQiLz4KICA8dXNlIHdpZHRoPSI1NjkuNTQiIGhlaWdodD0iODMuOTEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDI4Mi43MiAyNy40NykiIHhsaW5rOmhyZWY9IiNMb2dvLUdvYWxUcmFja2VyIi8+Cjwvc3ZnPg==";function Ue(){return(0,e.createElement)("div",{"data-component":"PluginHeader",className:o()("flex items-center justify-between","pb-5 pt-10 px-4 xl:px-8")},(0,e.createElement)("img",{className:"w-64 md:w-72 xl:w-96 h-full",src:Ye}),!1)}i.p;const Qe=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{fillRule:"evenodd",d:"M10.293 3.293a1 1 0 011.414 0l6 6a1 1 0 010 1.414l-6 6a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-4.293-4.293a1 1 0 010-1.414z",clipRule:"evenodd"}))})),Ge="data:image/svg+xml;base64,PD94bWwgdmVyc2l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y0zIiBkPSJtMTQzLjYsMTkuNDljLTEuODUtMi4xMi01LjE2LS44Ny01LjE2LS44NywwLDAsLjM4LTMuMTUtMi4zMS0zLjk3LTIuNjktLjgzLTguMTIsMS42NC0zLjI2LDEzLjIsMTIuNTQtLjI4LDEyLjU3LTYuMjUsMTAuNzItOC4zNmgwWiIvPgogIDxwYXRoIGNsYXNzPSJjbHMtMyIgZD0ibTE1NS45MSwxMzAuMzZjMS4wMS0yLjYzLTEuNjUtNC45Ni0xLjY1LTQuOTYsMCwwLDIuOTYtMS4xNCwyLjQzLTMuOS0uNTMtMi43Ni01LjI2LTYuNDEtMTMuMTksMy4zMSw2LjEzLDEwLjk1LDExLjQxLDguMTgsMTIuNDIsNS41NWgwWiIvPgogIDxwYXRoIGNsYXNzPSJjbHMtMyIgZD0ibTIxLjY5LDEzLjMxYy0yLjU0LDEuMjItLjU0LDYuMjQtLjU0LDYuMjQsMCwwLTQuNi0yLjctNi4xLS4zMi0xLjUxLDIuMzctLjU4LDguMjcsMTEuODcsNi42NSwzLjA2LTEyLjE3LTIuNjktMTMuNzgtNS4yMi0xMi41NmgwWiIvPgo8L3N2Zz4=",Pe=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"}))})),Re=()=>(0,e.createElement)("span",{className:"whitespace-pre"},(0,e.createElement)(Pe,{className:"h-3 w-3 inline","aria-hidden":"true"}),(0,e.createElement)(Pe,{className:"h-3 w-3 inline","aria-hidden":"true"}),(0,e.createElement)(Pe,{className:"h-3 w-3 inline","aria-hidden":"true"}),(0,e.createElement)(Pe,{className:"h-3 w-3 inline","aria-hidden":"true"}),(0,e.createElement)(Pe,{className:"h-3 w-3 inline","aria-hidden":"true"}));function Fe(...e){return e.filter(Boolean).join(" ")}function _e(e,t,...r){if(e in t){let n=t[e];return"function"==typeof n?n(...r):n}let n=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,_e),n}var qe=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(qe||{}),Be=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Be||{});function Ze({ourProps:e,theirProps:t,slot:r,defaultTag:n,features:i,visible:a=!0,name:u}){let s=He(t,e);if(a)return We(s,r,n,u);let o=null!=i?i:0;if(2&o){let{static:e=!1,...t}=s;if(e)return We(t,r,n,u)}if(1&o){let{unmount:e=!0,...t}=s;return _e(e?0:1,{0:()=>null,1:()=>We({...t,hidden:!0,style:{display:"none"}},r,n,u)})}return We(s,r,n,u)}function We(e,r={},n,i){var a;let{as:u=n,children:s,refName:o="ref",...l}=Xe(e,["unmount","static"]),L=void 0!==e.ref?{[o]:e.ref}:{},c="function"==typeof s?s(r):s;"className"in l&&l.className&&"function"==typeof l.className&&(l.className=l.className(r));let M={};if(r){let e=!1,t=[];for(let[n,i]of Object.entries(r))"boolean"==typeof i&&(e=!0),!0===i&&t.push(n);e&&(M["data-headlessui-state"]=t.join(" "))}if(u===t.Fragment&&Object.keys(Je(l)).length>0){if(!(0,t.isValidElement)(c)||Array.isArray(c)&&c.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${i} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(l).map((e=>`  - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>`  - ${e}`)).join("\n")].join("\n"));let e=Fe(null==(a=c.props)?void 0:a.className,l.className),r=e?{className:e}:{};return(0,t.cloneElement)(c,Object.assign({},He(c.props,Je(Xe(l,["ref"]))),M,L,function(...e){return{ref:e.every((e=>null==e))?void 0:t=>{for(let r of e)null!=r&&("function"==typeof r?r(t):r.current=t)}}}(c.ref,L.ref),r))}return(0,t.createElement)(u,Object.assign({},Xe(l,["ref"]),u!==t.Fragment&&L,u!==t.Fragment&&M),c)}function He(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},r={};for(let n of e)for(let e in n)e.startsWith("on")&&"function"==typeof n[e]?(null!=r[e]||(r[e]=[]),r[e].push(n[e])):t[e]=n[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(r).map((e=>[e,void 0]))));for(let e in r)Object.assign(t,{[e](t,...n){let i=r[e];for(let e of i){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;e(t,...n)}}});return t}function Ve(e){var r;return Object.assign((0,t.forwardRef)(e),{displayName:null!=(r=e.displayName)?r:e.name})}function Je(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function Xe(e,t=[]){let r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}let Ke=(0,t.createContext)(null);Ke.displayName="OpenClosedContext";var $e=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))($e||{});function et(){return(0,t.useContext)(Ke)}function tt({value:e,children:r}){return t.createElement(Ke.Provider,{value:e},r)}var rt=Object.defineProperty,nt=(e,t,r)=>(((e,t,r)=>{t in e?rt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r})(e,"symbol"!=typeof t?t+"":t,r),r);let it=new class{constructor(){nt(this,"current",this.detect()),nt(this,"handoffState","pending"),nt(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}},at=(e,r)=>{it.isServer?(0,t.useEffect)(e,r):(0,t.useLayoutEffect)(e,r)};function ut(){let e=(0,t.useRef)(!1);return at((()=>(e.current=!0,()=>{e.current=!1})),[]),e}function st(e){let r=(0,t.useRef)(e);return at((()=>{r.current=e}),[e]),r}function ot(){let[e,r]=(0,t.useState)(it.isHandoffComplete);return e&&!1===it.isHandoffComplete&&r(!1),(0,t.useEffect)((()=>{!0!==e&&r(!0)}),[e]),(0,t.useEffect)((()=>it.handoff()),[]),e}let lt=function(e){let r=st(e);return t.useCallback(((...e)=>r.current(...e)),[r])},Lt=Symbol();function ct(e,t=!0){return Object.assign(e,{[Lt]:t})}function Mt(...e){let r=(0,t.useRef)(e);(0,t.useEffect)((()=>{r.current=e}),[e]);let n=lt((e=>{for(let t of r.current)null!=t&&("function"==typeof t?t(e):t.current=e)}));return e.every((e=>null==e||(null==e?void 0:e[Lt])))?void 0:n}function jt(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}function dt(){let e=[],t={addEventListener:(e,r,n,i)=>(e.addEventListener(r,n,i),t.add((()=>e.removeEventListener(r,n,i)))),requestAnimationFrame(...e){let r=requestAnimationFrame(...e);return t.add((()=>cancelAnimationFrame(r)))},nextFrame:(...e)=>t.requestAnimationFrame((()=>t.requestAnimationFrame(...e))),setTimeout(...e){let r=setTimeout(...e);return t.add((()=>clearTimeout(r)))},microTask(...e){let r={current:!0};return jt((()=>{r.current&&e[0]()})),t.add((()=>{r.current=!1}))},style(e,t,r){let n=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:r}),this.add((()=>{Object.assign(e.style,{[t]:n})}))},group(e){let t=dt();return e(t),this.add((()=>t.dispose()))},add:t=>(e.push(t),()=>{let r=e.indexOf(t);if(r>=0)for(let t of e.splice(r,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}function Nt(e,...t){e&&t.length>0&&e.classList.add(...t)}function mt(e,...t){e&&t.length>0&&e.classList.remove(...t)}function yt(){let[e]=(0,t.useState)(dt);return(0,t.useEffect)((()=>()=>e.dispose()),[e]),e}function gt({container:e,direction:t,classes:r,onStart:n,onStop:i}){let a=ut(),u=yt(),s=st(t);at((()=>{let t=dt();u.add(t.dispose);let o=e.current;if(o&&"idle"!==s.current&&a.current)return t.dispose(),n.current(s.current),t.add(function(e,t,r,n){let i=r?"enter":"leave",a=dt(),u=void 0!==n?function(e){let t={called:!1};return(...r)=>{if(!t.called)return t.called=!0,e(...r)}}(n):()=>{};"enter"===i&&(e.removeAttribute("hidden"),e.style.display="");let s=_e(i,{enter:()=>t.enter,leave:()=>t.leave}),o=_e(i,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),l=_e(i,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return mt(e,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),Nt(e,...s,...l),a.nextFrame((()=>{mt(e,...l),Nt(e,...o),function(e,t){let r=dt();if(!e)return r.dispose;let{transitionDuration:n,transitionDelay:i}=getComputedStyle(e),[a,u]=[n,i].map((e=>{let[t=0]=e.split(",").filter(Boolean).map((e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e))).sort(((e,t)=>t-e));return t})),s=a+u;if(0!==s){r.group((r=>{r.setTimeout((()=>{t(),r.dispose()}),s),r.addEventListener(e,"transitionrun",(e=>{e.target===e.currentTarget&&r.dispose()}))}));let n=r.addEventListener(e,"transitionend",(e=>{e.target===e.currentTarget&&(t(),n())}))}else t();r.add((()=>t())),r.dispose}(e,(()=>(mt(e,...s),Nt(e,...t.entered),u())))})),a.dispose}(o,r.current,"enter"===s.current,(()=>{t.dispose(),i.current(s.current)}))),t.dispose}),[t])}function xt(e=""){return e.split(" ").filter((e=>e.trim().length>1))}let pt=(0,t.createContext)(null);pt.displayName="TransitionContext";var Tt=(e=>(e.Visible="visible",e.Hidden="hidden",e))(Tt||{});let wt=(0,t.createContext)(null);function St(e){return"children"in e?St(e.children):e.current.filter((({el:e})=>null!==e.current)).filter((({state:e})=>"visible"===e)).length>0}function Et(e,r){let n=st(e),i=(0,t.useRef)([]),a=ut(),u=yt(),s=lt(((e,t=Be.Hidden)=>{let r=i.current.findIndex((({el:t})=>t===e));-1!==r&&(_e(t,{[Be.Unmount](){i.current.splice(r,1)},[Be.Hidden](){i.current[r].state="hidden"}}),u.microTask((()=>{var e;!St(i)&&a.current&&(null==(e=n.current)||e.call(n))})))})),o=lt((e=>{let t=i.current.find((({el:t})=>t===e));return t?"visible"!==t.state&&(t.state="visible"):i.current.push({el:e,state:"visible"}),()=>s(e,Be.Unmount)})),l=(0,t.useRef)([]),L=(0,t.useRef)(Promise.resolve()),c=(0,t.useRef)({enter:[],leave:[],idle:[]}),M=lt(((e,t,n)=>{l.current.splice(0),r&&(r.chains.current[t]=r.chains.current[t].filter((([t])=>t!==e))),null==r||r.chains.current[t].push([e,new Promise((e=>{l.current.push(e)}))]),null==r||r.chains.current[t].push([e,new Promise((e=>{Promise.all(c.current[t].map((([e,t])=>t))).then((()=>e()))}))]),"enter"===t?L.current=L.current.then((()=>null==r?void 0:r.wait.current)).then((()=>n(t))):n(t)})),j=lt(((e,t,r)=>{Promise.all(c.current[t].splice(0).map((([e,t])=>t))).then((()=>{var e;null==(e=l.current.shift())||e()})).then((()=>r(t)))}));return(0,t.useMemo)((()=>({children:i,register:o,unregister:s,onStart:M,onStop:j,wait:L,chains:c})),[o,s,i,M,j,c,L])}function Dt(){}wt.displayName="NestingContext";let ft=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function It(e){var t;let r={};for(let n of ft)r[n]=null!=(t=e[n])?t:Dt;return r}let ht=qe.RenderStrategy,Ct=Ve((function(e,r){let{show:n,appear:i=!1,unmount:a,...u}=e,s=(0,t.useRef)(null),o=Mt(s,r);ot();let l=et();if(void 0===n&&null!==l&&(n=(l&$e.Open)===$e.Open),![!0,!1].includes(n))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[L,c]=(0,t.useState)(n?"visible":"hidden"),M=Et((()=>{c("hidden")})),[j,d]=(0,t.useState)(!0),N=(0,t.useRef)([n]);at((()=>{!1!==j&&N.current[N.current.length-1]!==n&&(N.current.push(n),d(!1))}),[N,n]);let m=(0,t.useMemo)((()=>({show:n,appear:i,initial:j})),[n,i,j]);(0,t.useEffect)((()=>{if(n)c("visible");else if(St(M)){let e=s.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&c("hidden")}else c("hidden")}),[n,M]);let y={unmount:a};return t.createElement(wt.Provider,{value:M},t.createElement(pt.Provider,{value:m},Ze({ourProps:{...y,as:t.Fragment,children:t.createElement(zt,{ref:o,...y,...u})},theirProps:{},defaultTag:t.Fragment,features:ht,visible:"visible"===L,name:"Transition"})))})),zt=Ve((function(e,r){let{beforeEnter:n,afterEnter:i,beforeLeave:a,afterLeave:u,enter:s,enterFrom:o,enterTo:l,entered:L,leave:c,leaveFrom:M,leaveTo:j,...d}=e,N=(0,t.useRef)(null),m=Mt(N,r),y=d.unmount?Be.Unmount:Be.Hidden,{show:g,appear:x,initial:p}=function(){let e=(0,t.useContext)(pt);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[T,w]=(0,t.useState)(g?"visible":"hidden"),S=function(){let e=(0,t.useContext)(wt);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:E,unregister:D}=S,f=(0,t.useRef)(null);(0,t.useEffect)((()=>E(N)),[E,N]),(0,t.useEffect)((()=>{if(y===Be.Hidden&&N.current)return g&&"visible"!==T?void w("visible"):_e(T,{hidden:()=>D(N),visible:()=>E(N)})}),[T,N,E,D,g,y]);let I=st({enter:xt(s),enterFrom:xt(o),enterTo:xt(l),entered:xt(L),leave:xt(c),leaveFrom:xt(M),leaveTo:xt(j)}),h=function(e){let r=(0,t.useRef)(It(e));return(0,t.useEffect)((()=>{r.current=It(e)}),[e]),r}({beforeEnter:n,afterEnter:i,beforeLeave:a,afterLeave:u}),C=ot();(0,t.useEffect)((()=>{if(C&&"visible"===T&&null===N.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}),[N,T,C]);let z=p&&!x,O=!C||z||f.current===g?"idle":g?"enter":"leave",b=function(e=0){let[r,n]=(0,t.useState)(e),i=(0,t.useCallback)((e=>n((t=>t|e))),[r]),a=(0,t.useCallback)((e=>Boolean(r&e)),[r]),u=(0,t.useCallback)((e=>n((t=>t&~e))),[n]),s=(0,t.useCallback)((e=>n((t=>t^e))),[n]);return{flags:r,addFlag:i,hasFlag:a,removeFlag:u,toggleFlag:s}}(0),v=lt((e=>_e(e,{enter:()=>{b.addFlag($e.Opening),h.current.beforeEnter()},leave:()=>{b.addFlag($e.Closing),h.current.beforeLeave()},idle:()=>{}}))),k=lt((e=>_e(e,{enter:()=>{b.removeFlag($e.Opening),h.current.afterEnter()},leave:()=>{b.removeFlag($e.Closing),h.current.afterLeave()},idle:()=>{}}))),A=Et((()=>{w("hidden"),D(N)}),S);gt({container:N,classes:I,direction:O,onStart:st((e=>{A.onStart(N,e,v)})),onStop:st((e=>{A.onStop(N,e,k),"leave"===e&&!St(A)&&(w("hidden"),D(N))}))}),(0,t.useEffect)((()=>{z&&(y===Be.Hidden?f.current=null:f.current=g)}),[g,z,T]);let Y=d,U={ref:m};return x&&g&&it.isServer&&(Y={...Y,className:Fe(d.className,...I.current.enter,...I.current.enterFrom)}),t.createElement(wt.Provider,{value:A},t.createElement(tt,{value:_e(T,{visible:$e.Open,hidden:$e.Closed})|b.flags},Ze({ourProps:U,theirProps:Y,defaultTag:"div",features:ht,visible:"visible"===T,name:"Transition.Child"})))})),Ot=Ve((function(e,r){let n=null!==(0,t.useContext)(pt),i=null!==et();return t.createElement(t.Fragment,null,!n&&i?t.createElement(Ct,{ref:r,...e}):t.createElement(zt,{ref:r,...e}))})),bt=Object.assign(Ct,{Child:Ot,Root:Ct});function vt(){return(0,e.createElement)("footer",{"data-component":"PluginFooter",className:o()("bg-gray-100/75 shadow-lg rounded-b-lg",{"pt-8 pb-4":!0})},(0,e.createElement)("div",{className:"px-8 py-4"},!1,(0,e.createElement)("div",{className:"flex items-center text-base"},(0,e.createElement)("img",{className:"h-20 w-auto mr-6",src:Ge}),(0,e.createElement)("div",{className:"flex-1"},"We'd be super grateful if you could help us spread the word about"," ",(0,e.createElement)("strong",null,"GoalTracker")," and give it a",(0,e.createElement)("a",{className:"text-brand-primary px-1 py-0.5 border border-brand-primary/10 rounded mx-1",target:"_blank",href:"https://wordpress.org/support/plugin/goal-tracker-ga/reviews/#new-post"},(0,e.createElement)(Re,null)," star rating"),"on WordPress?"),(0,e.createElement)("a",{type:"button",href:"https://wordpress.org/support/plugin/goal-tracker-ga/reviews/#new-post",target:"_blank",className:o()("ml-4","capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent ","bg-white text-brand-primary","px-4 py-2","text-sm font-medium","shadow hover:shadow-xl","transform active:scale-75 hover:scale-110 transition-transform","hover:ring-2 hover:ring-white hover:ring-offset-2","focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2")},(0,e.createElement)("span",{className:"mx-2"},"Rate us"," ",(0,e.createElement)(Re,null)),(0,e.createElement)(Qe,{className:"h-5 w-5","aria-hidden":"true"})))))}(0,e.createElement)(e.Fragment,null,"Rate us"," ",(0,e.createElement)(Re,null)),(0,e.createElement)(e.Fragment,null,"Rate us"," ",(0,e.createElement)(Re,null)),(0,e.createElement)(e.Fragment,null,"Rate us"," ",(0,e.createElement)(Re,null));const kt=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"}))})),{apiFetch:At}=wp;function Yt(r){let{showTutorial:n,showCloseButton:i}=r;const[a,u]=(0,t.useState)(n);return(0,t.useEffect)((()=>{u(n)}),[n]),(0,e.createElement)(e.Fragment,null,(0,e.createElement)(bt,{show:a,appear:!0,enter:"transition-opacity duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"transition-opacity duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{"data-component":"GeneralSettingsTutorial",className:"bg-white py-4 rounded-md border border-gray-200 my-10 mx-4 shadow-xl"},(0,e.createElement)("div",{className:""},(0,e.createElement)("div",{className:"px-4 pb-5"},(0,e.createElement)("div",{className:"mt-2 sm:flex sm:items-start sm:justify-between"},(0,e.createElement)("div",{className:"max-w-xl text-sm text-gray-500"},(0,e.createElement)("h3",{className:"text-3xl mb-6 leading-6 font-medium text-gray-900"},"Using the plugin for the first time?"),(0,e.createElement)("div",{className:"mt-2 text-xl"},"Watch our getting started guide video to get the plugin up and running on your website."),(0,e.createElement)("div",{className:"pt-3"},(0,e.createElement)("iframe",{width:"576",height:"360",src:"https://www.youtube.com/embed/X35iJBkwQeU",title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0}))),i&&(0,e.createElement)("div",{className:"ml-3 flex h-7 items-center"},(0,e.createElement)("button",{type:"button",className:"rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-indigo-500",onClick:()=>(async()=>{u(!1),await At({path:wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/hide_gs_tutorial_section",method:"POST",data:{hideGeneralSettingsTutorial:!0}})})()},(0,e.createElement)("span",{className:"sr-only"},"Close panel"),(0,e.createElement)(kt,{className:"h-6 w-6","aria-hidden":"true"})))))))))}const Ut=t=>{const{children:r,id:n,label:i,description:a,isPrimary:u}=t;return(0,e.createElement)("fieldset",{"data-component":"Fieldset",role:"group","aria-labelledby":"label-track-Links",className:o()("sm:grid sm:grid-cols-3 sm:gap-4","sm:items-start","sm:border-t sm:border-gray-200 sm:pt-5")},(0,e.createElement)("label",{htmlFor:n,className:o()("font-medium text-gray-900",u?"text-base md:text-2xl":"text-sm md:text-base"),id:`label-${n}`},i,(0,e.createElement)("p",{className:"text-gray-500 mt-4 text-sm"},a)),r&&(0,e.createElement)("div",{className:"mt-4 sm:mt-0 sm:col-span-2"},r))},Qt=t=>{const r=t.children;return(0,e.createElement)("div",{"data-component":"FieldsetGroup",className:o()("mt-6 sm:mt-5","space-y-6 sm:space-y-5","divide-y divide-gray-200")},r)},Gt=t=>{const r=t.children;return(0,e.createElement)("section",{"data-component":"Section",className:o()("w-full","py-10 px-6","space-y-8","divide-y divide-gray-200 rounded-md","border border-gray-200","bg-white shadow")},r)},Pt=(0,t.createContext)({open:!1,setOpenHelpSlider:()=>{},setComponent:()=>{},setTitleHelpSlider:()=>{}}),Rt=()=>(0,t.useContext)(Pt);var Ft=i(977),_t=i.n(Ft);const qt=t=>{const{children:r,title:n,titleHelper:i,helpComponent:a,helpTitle:u}=t,{setOpenHelpSlider:s,setTitleHelpSlider:o,setComponent:l}=Rt();return(0,e.createElement)("header",{"data-component":"HeaderTitle"},(0,e.createElement)("div",{className:"flex items-center"},(0,e.createElement)("h3",{className:"text-2xl leading-6 font-medium text-gray-900"},n),a&&(0,e.createElement)("button",{onClick:()=>{a&&u&&(o(u),l(a),s(!0))}},(0,e.createElement)(_t(),{className:"h-8 w-8 ml-2 inline hover:text-brand-primary","aria-hidden":"true"}))),(0,e.createElement)("p",{className:"mt-2 max-w-2xl text-base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0uMjUtLjc1LS44OC0uNDktMS40LjI1LS41Mi44OC0uNzUsMS40LS40OWw1LjgxLDIuNzhoMFoiIGZpbGw9IiNmNGY0ZjQiLz48cGF0aCBkPSJtMTUyLjYyLDczLjdjLjU1LS4xOSwxLjE1LjA5LDEuMzQuNjRzLS4wOSwxLjE1LS42NCwxLjM0bC02LjA3LDIuMTRjLS41NS4xOS0xLjE1LS4wOS0xLjM0LS42NHMuMDktMS4xNS42NC0xLjM0YzAsMCw2LjA3LTIuMTQsNi4wNy0yLjE0WiIgZmlsbD0iI2Y0ZjRmNCIvPjwvc3ZnPg==";let Ht=[{id:1,title:"Track Video & Audio",text:"Experience Advanced Video and Audio Tracking for Comprehensive Analytics Insights",class:"bg-slate-800",buttonAction:"Get Pro Features",imageSrc:Zt},{id:2,title:"Placeholders",text:"Access Dynamic Placeholders for Advanced Data Capture and Improved Event Tracking",class:"bg-slate-800",buttonAction:"Get Pro Features",imageSrc:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMzkuMzUgMTE4LjA1Ij4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLmNscy0xIHsKICAgICAgICBmaWxsOiAjZjdmN2Y3OwogICAgICB9CgogICAgICAuY2xzLTIgewogICAgICAgIGZpbGw6ICNlZjNlMmY7CiAgICAgIH0KICAgIDwvc3R5bGU+CiAgPC9kZWZzPgogIDxnPgogICAgPHBhdGggY2xhc3M9ImNscy0xIiBkPSJtNzIuMjcsODIuODVjLTcuNTMsMC0xNi4zNC0yLjA0LTIzLjMtNy4xNC02LjY2LTQuODctMTAuNjUtMTEuOTQtMTEuNTUtMjAuNDItMi41NS0yMy45OCwxOC4zOS0zMy45NCwyOS44MS0zNS44NW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IuOTcsMS4wNS00LjA2LS4xLTEuMDktMS4xNS0xLjA1LTIuOTcuMS00LjA2LDMuNDgtMy4zMSw5LTMuMTgsMTIuMzMuMywzLjMyLDMuNDgsMy4xOCw5LjAxLS4zLDEyLjMzLTEuMDIuOTctMi41NywxLjA1LTMuNjcuMjVaIi8+CiAgPC9nPgo8L3N2Zz4="},{id:3,title:"Track Logged-In Users",text:"Gain valuable insights into your audience and improve your marketing strategies, user experience, and overall website performance.",class:"bg-slate-800",buttonAction:"Get Pro Features",imageSrc:Bt}];function Vt(){const[r,i]=(0,t.useState)(Math.floor(3*Math.random())+1);return(0,t.useEffect)((()=>{document.querySelector(".toplevel_page_wpcf7")&&(Ht.unshift({id:0,title:"Contact Form 7 Tracking",text:"Our Contact Form 7 integration allows you to track your forms and set conversions.",class:"bg-slate-800",buttonAction:"Get Pro Features",imageSrc:Wt}),i(0))}),[]),(0,t.useEffect)((()=>{const e=setInterval((()=>{const e=r===Ht.length?1:r+1;i(e)}),45e3);return()=>{clearInterval(e)}}),[r]),(0,e.createElement)("div",{"data-component":"SliderBanner",className:"relative h-32 bg-slate-800 overflow-hidden"},(0,e.createElement)("div",{className:"overflow-hidden h-full"},Ht.map((t=>(0,e.createElement)(bt,{key:t.id,show:r===t.id,enter:"transition-transform duration-500",enterFrom:"translate-x-full",enterTo:"translate-x-0",leave:"transition-transform duration-500",leaveFrom:"translate-x-0",leaveTo:"-translate-x-full"},(0,e.createElement)("div",{className:o()("flex items-center px-4 text-white pt-5 overflow-hidden",t.class)},t.imageSrc&&(0,e.createElement)("img",{className:"object-cover w-auto h-24 mr-2",src:t.imageSrc,alt:t.title}),(0,e.createElement)("div",{className:"flex-1 flex flex-col ml-4"},t.title&&(0,e.createElement)("div",{className:"text-2xl mt-2"},t.title),t.text&&(0,e.createElement)("div",{className:"text-base opacity-80"},t.text)),(0,e.createElement)("a",{href:wpGoalTrackerGa.upgradeUrl,type:"button",className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent","bg-white text-brand-primary","px-4 py-2","text-sm font-medium","shadow hover:shadow-xl","transform active:scale-75 hover:scale-110 transition-transform","hover:ring-2 hover:ring-white hover:ring-offset-2","focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2")},(0,e.createElement)("span",{className:"mx-2"},t.buttonAction),(0,e.createElement)(Qe,{className:"h-5 w-5","aria-hidden":"true"}))))))),(0,e.createElement)("div",{className:"absolute bottom-1 left-0 right-0 flex items-center justify-center mb-2 mt-0.5 space-x-2"},Ht.map((t=>(0,e.createElement)(n().Fragment,{key:t.id},(0,e.createElement)("button",{onClick:()=>{return e=t.id,void i(e);var e},className:(r===t.id?"bg-white w-3 h-3":"bg-gray-200 w-2 h-2")+" rounded-full focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-500"}))))))}const Jt=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{fillRule:"evenodd",d:"M10 3a1 1 0 011 1v5h5a1 1 0 110 2h-5v5a1 1 0 11-2 0v-5H4a1 1 0 110-2h5V4a1 1 0 011-1z",clipRule:"evenodd"}))})),Xt=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm1-11a1 1 0 10-2 0v2H7a1 1 0 100 2h2v2a1 1 0 102 0v-2h2a1 1 0 100-2h-2V7z",clipRule:"evenodd"}))})),Kt=(0,t.createContext)({navLinks:[]}),$t=t=>{let{children:r,navLinks:n}=t;return(0,e.createElement)(Kt.Provider,{value:{navLinks:n}},r)};function er(e){const{hash:t}=location;return e===t}const tr=r=>{let{setAddCustomEventForm:n,setAddRecommendedEventForm:i}=r;const{navLinks:a}=(0,t.useContext)(Kt);return(0,e.createElement)("header",{"data-component":"EventsTableHeader",className:"flex flex-col xl:flex-row items-center bg-white py-4 px-8 shadow-lg"},(0,e.createElement)("div",{className:"divide divide-x flex items-center rounded-full border-brand-primary xl:mr-2 shadow-3xl w-full"},a.map(((t,r)=>((t,r)=>{const n=er(`#${t.path}`)||t.default&&er("#/tracker");return(0,e.createElement)(Ie,{key:r,className:o()(n?"bg-brand-600 hover:text-white cursor-default text-white":"bg-brand-600/20 text-brand-500 hover:bg-brand-primary hover:text-white border-brand-600","text-base xl:text-xl",0===r&&"rounded-l-full",r===a.length-1&&"rounded-r-full","px-6","py-1","uppercase"),to:t.path},t.label)})(t,r)))),(0,e.createElement)("div",{className:"xl:flex-1"}),(0,e.createElement)("fieldset",{"data-component":"button-group",className:"space-x-4 mt-8 xl:mt-0 flex justify-end w-full"},(0,e.createElement)("button",{onClick:()=>{n(!0)},type:"button",className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent bg-brand-primary","px-4 py-2","text-sm font-medium text-white","shadow-sm","hover:bg-brand-600 shadow hover:shadow-xl active:shadow-xl","focus:outline-none focus:ring-2 focus:ring-brand-primary-focus focus:ring-offset-2","transform active:scale-75 hover:scale-105 transition-transform")},(0,e.createElement)(Jt,{className:"h-5 w-5","aria-hidden":"true"}),(0,e.createElement)("span",{className:"mx-2"},"Add Event")),(0,e.createElement)("button",{onClick:()=>{i(!0)},type:"button",className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent bg-brand-primary","px-4 py-2","text-sm font-medium text-white","shadow-sm","hover:bg-brand-600 shadow hover:shadow-xl active:shadow-xl","focus:outline-none focus:ring-2 focus:ring-brand-primary-focus focus:ring-offset-2","transform active:scale-75 hover:scale-105 transition-transform")},(0,e.createElement)(Xt,{className:"h-5 w-5","aria-hidden":"true"}),(0,e.createElement)("span",{className:"mx-2"},"Add Recommended Event"))))},rr=(0,t.createContext)(void 0),nr=r=>{let{children:n}=r;const[i,a]=(0,t.useState)(!1);return(0,e.createElement)(rr.Provider,{value:{showPromo:i,setShowPromo:a}},n)};function ir(){const e=(0,t.useContext)(rr);if(!e)throw new Error("usePromoContext must be used within a PromoContextProvider");return e}const ar=()=>{const r=ue(),n=(0,t.useContext)(l),{showPromo:i}=ir();if(!n)throw new Error("ChildComponent must be used within a TabContextProvider");const{pathname:a}=r,u=a.split("#");return(0,e.createElement)("header",{"data-component":"PluginNav"},(0,e.createElement)(Ue,null),(0,e.createElement)("div",{className:o()("sm:block","")},(0,e.createElement)("nav",{className:o()("relative"," z-50 flex","space-x-1"),"aria-label":"Tabs"},n.tabs.map(((t,r)=>(0,e.createElement)(Ie,{"aria-label":t.name.toString(),title:t.name.toString(),to:t.href,key:t.name.toString(),className:o()("group relative","flex items-center",{"flex-1":t.primary},u[0].includes(t.href)||t.rootTab&&"/"===u[0]?"bg-white text-brand-primary border-t-2 border-x border-black -mt-2 h-18 focus:border-none":"bg-white/60 text-grey-800 h-16","focus:z-10","flex items-center","group relative","border-transparent border-t-4 border-x-2 border-b-0","focus:border-transparent focus:ring-0","active:border-b-0","hover:border-t-4 hover:border-black/90","px-4","text-sm font-medium text-center","rounded-t-lg",""),"aria-current":u[0].includes(t.href)?"page":void 0},t.hasIssue&&(0,e.createElement)("span",{className:"w-4 h-4 absolute bg-red-600 rounded-full -top-1 -left-2"}),t.icon?t.icon:(0,e.createElement)("span",{"data-component":"tab-title",className:o()("text-xl uppercase flex-1",{"sr-only":t.showTitle})},t.name))))),i&&!er("#/pro")&&(0,e.createElement)(Vt,null)))},ur=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{d:"M13.586 3.586a2 2 0 112.828 2.828l-.793.793-2.828-2.828.793-.793zM11.379 5.793L3 14.172V17h2.828l8.38-8.379-2.83-2.828z"}))})),sr=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{fillRule:"evenodd",d:"M9 2a1 1 0 00-.894.553L7.382 4H4a1 1 0 000 2v10a2 2 0 002 2h8a2 2 0 002-2V6a1 1 0 100-2h-3.382l-.724-1.447A1 1 0 0011 2H9zM7 8a1 1 0 012 0v6a1 1 0 11-2 0V8zm5-1a1 1 0 00-1 1v6a1 1 0 102 0V8a1 1 0 00-1-1z",clipRule:"evenodd"}))}));var or=i(431),lr=i.n(or);const Lr=t=>{let{type:r,setOpenHelpSlider:n}=t;return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"min-h-full pt-16 pb-12 flex flex-col bg-white"},(0,e.createElement)("main",{className:"flex-grow flex flex-col justify-center max-w-7xl w-full mx-auto px-4 sm:px-6 lg:px-8"},(0,e.createElement)("img",{className:"h-full w-auto",src:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIGlkPSJhIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA5OTkuMyAyODguNTIiPjxwYXRoIGQ9Im0yMzQuMDIsMjM3LjU2Yy0xMC45NiwwLTIzLjgtMi45Ny0zMy45NC0xMC4zOS05LjctNy4xLTE1LjUyLTE3LjM5LTE2LjgzLTI5Ljc0LTMuNzEtMzQuOTMsMjYuNzktNDkuNDMsNDMuNDMtNTIuMjJoMGMxNC4yNS0yLjM4LDMwLjc3LDEuNDIsNDIuMTEsOS43LDkuNDgsNi45MywxNS4zOSwxNi44MiwxNy4wNywyOC41OSw0LjI3LDI5LjgyLTE4LjQ4LDQ4LjQzLTQxLjQzLDUzLjA5LTMuMTIuNjQtNi42NS45OC0xMC40MS45OFptLTYuNjMtODguMThjLTE1LjI4LDIuNTYtNDMuMjksMTUuODEtMzkuOTIsNDcuNiwxLjIsMTEuMyw2LjI5LDIwLjMsMTUuMTIsMjYuNzcsMT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uMDItMi4zNiw0LjItLjQyLDEuMDctMS4wNiwxLjc2LTEuOTMsMi4wOXMtMS43Mi4yOS0yLjYtLjA4Yy0uODgtLjM4LTEuNDctLjk3LTEuNzctMS43OC0uNDUtMS4yLDAtMi45LDEuMzgtNS4xMSwxLjMxLTEuOTMsMi42MS0zLjg3LDMuOTEtNS44MSwxLjM4LTIuMTksMS44NC0zLjg4LDEuMzktNS4wNy0uNTMtMS4zOS0xLjcyLTIuNDMtMy42LTMuMTEtMS44Ny0uNjktMy41OC0uNzQtNS4xLS4xNi0uODEuMzEtMS43NCwxLjE4LTIuOCwyLjY0LTEuMDYsMS40NS0xLjg4LDIuMjktMi40NiwyLjUxLS44OC4zMy0xLjc1LjI5LTIuNi0uMTMtLjg1LS40Mi0xLjQzLTEuMDMtMS43My0xLjgyLS41Ny0xLjUuMjMtMy4zNiwyLjM4LTUuNTksMS44MS0xLjksMy40NS0zLjEzLDQuOTItMy42OCwzLjI1LTEuMjMsNi42NC0xLjE0LDEwLjE3LjI2LDMuNTMsMS40LDUuODgsMy42NSw3LjA1LDYuNzVzLjY1LDYuMzctMS41Miw5LjkxWiIvPjxwYXRoIGQ9Im01NDMuMTQsMTcxLjM4czcyLjUxLS4xOSw5Ni43NC0zNC40MWMyMi4xNS0zMS4yNy0yMy41NC0zOC42NS0yMS42Mi0xMi42M3MxMTUuMjksMzgsMTE3Ljg1LTg0LjAxIiBmaWxsPSJub25lIiBzdHJva2U9IiM3ODVhZmEiIHN0cm9rZS1kYXNoYXJyYXk9IjAgMCAzIDgiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBzdHJva2Utd2lkdGg9IjQiLz48L3N2Zz4=",alt:""}),(0,e.createElement)("div",null),(0,e.createElement)("div",{className:"pt-4 border-t border-gray-300 w-full items-center text-center"},(0,e.createElement)("span",{className:"text-2xl"},"Not sure how to get started?"),(0,e.createElement)("button",{type:"button",onClick:()=>n(!0),className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent ","bg-brand-primary text-white","px-4 py-2","text-sm font-medium","shadow hover:shadow-xl","transform active:scale-75 hover:scale-110 transition-transform","hover:ring-2 hover:ring-white hover:ring-offset-2","focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2","ml-4","hover:text-white")},(0,e.createElement)("span",{className:"mx-2"},"Get Help"),(0,e.createElement)(lr(),{className:"h-5 w-5","aria-hidden":"true"}))),(0,e.createElement)("div",{className:"hidden py-16"},(0,e.createElement)("div",{className:"text-center"},(0,e.createElement)("h1",{className:"mt-2 text-4xl font-extrabold text-gray-900 tracking-tight sm:text-5xl"},"Add your first custom event."),(0,e.createElement)("div",{className:"mt-6"},(0,e.createElement)("button",{type:"button",className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent bg-brand-primary","px-4 py-2","text-sm font-medium text-white","shadow-sm","hover:bg-brand-600","focus:outline-none focus:ring-2 focus:ring-brand-primary-focus focus:ring-offset-2","transform active:scale-75 hover:scale-105 transition-transform")},"Add Custom Event"))))),(0,e.createElement)("footer",{className:"flex-shrink-0 max-w-7xl w-full mx-auto px-4 sm:px-6 lg:px-8"})))},cr={ad_impression:{ad_platform:{type:"text",required:!0,placeholder:"APPXXX"},ad_source:{type:"text",required:!0,placeholder:"Network Name"},ad_unit_name:{type:"text",required:!0,placeholder:"Unit Name"},ad_format:{type:"text",required:!0,placeholder:"Format"},value:{type:"number",required:!0,placeholder:"7.77"},currency:{type:"text",required:!0,placeholder:"USD"}},add_payment_info:{currency:{type:"text",required:!0,placeholder:"USD"},value:{type:"number",required:!0,placeholder:"7.77"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},payment_type:{type:"text",required:!1,placeholder:"Credit Card"},items:{type:"text",required:!0,placeholder:""}},add_shipping_info:{currency:{type:"text",required:!0,placeholder:"USD"},value:{type:"number",required:!0,placeholder:"7.77"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},shipping_tier:{type:"text",required:!1,placeholder:"Ground"},items:{type:"text",required:!0,placeholder:""}},add_to_cart:{currency:{type:"text",required:!0,placeholder:"USD"},value:{type:"number",required:!0,placeholder:"7.77"},items:{type:"text",required:!0,placeholder:""}},add_to_wishlist:{currency:{type:"text",required:!0,placeholder:"USD"},value:{type:"number",required:!0,placeholder:"7.77"},items:{type:"text",required:!0,placeholder:""}},begin_checkout:{currency:{type:"text",required:!0,placeholder:"USD"},value:{type:"number",required:!0,placeholder:"7.77"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},items:{type:"text",required:!0,placeholder:""}},earn_virtual_currency:{virtual_currency_name:{type:"text",required:!1,placeholder:"Gems"},value:{type:"number",required:!1,placeholder:"5"}},generate_lead:{currency:{type:"text",required:!0,placeholder:"USD"},value:{type:"number",required:!0,placeholder:"7.77"}},join_group:{group_id:{type:"text",required:!1,placeholder:"G_12345"}},level_end:{level_name:{type:"text",required:!1,placeholder:"The journey begins.."},success:{type:"text",required:!1,placeholder:"true"}},level_start:{level_name:{type:"text",required:!1,placeholder:"The journey begins.."}},level_up:{level:{type:"number",required:!1,placeholder:"5"},character:{type:"text",required:!1,placeholder:"Player 1"}},login:{method:{type:"text",required:!1,placeholder:"Google"}},post_score:{score:{type:"number",required:!0,placeholder:"10000"},level:{type:"number",required:!1,placeholder:"5"},character:{type:"text",required:!1,placeholder:"Player 1"}},purchase:{currency:{type:"text",required:!0,placeholder:"USD"},transaction_id:{type:"text",required:!0,placeholder:"T_12345"},value:{type:"number",required:!0,placeholder:"12.21"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},shipping:{type:"number",required:!1,placeholder:"3.33"},tax:{type:"number",required:!1,placeholder:"1.1"},items:{type:"text",required:!0,placeholder:""}},refund:{currency:{type:"text",required:!0,placeholder:"USD"},transaction_id:{type:"text",required:!0,placeholder:"T_12345"},value:{type:"number",required:!0,placeholder:"7.77"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},shipping:{type:"number",required:!1,placeholder:"3.33"},tax:{type:"number",required:!1,placeholder:"1.1"},items:{type:"text",required:!0,placeholder:""}},remove_from_cart:{currency:{type:"text",required:!0,placeholder:"USD"},value:{type:"number",required:!0,placeholder:"7.77"},items:{type:"text",required:!0,placeholder:""}},search:{search_term:{type:"text",required:!0,placeholder:"t-shirts"}},select_content:{content_type:{type:"text",required:!1,placeholder:"product"},item_id:{type:"text",required:!1,placeholder:"I_12345"}},select_item:{item_list_id:{type:"text",required:!1,placeholder:"SKU_12345"},item_list_name:{type:"text",required:!1,placeholder:"Stan and Friends Tee"},items:{type:"text",required:!0,placeholder:""}},select_promotion:{creative_name:{type:"text",required:!1,placeholder:"summer_banner2"},creative_slot:{type:"text",required:!1,placeholder:"featured_app_1"},location_id:{type:"text",required:!1,placeholder:"L_12345"},promotion_id:{type:"text",required:!1,placeholder:"P_12345"},promotion_name:{type:"text",required:!1,placeholder:"Summer Sale"},items:{type:"text",required:!1,placeholder:""}},share:{method:{type:"text",required:!1,placeholder:"Twitter"},content_type:{type:"text",required:!1,placeholder:"image"},item_id:{type:"text",required:!1,placeholder:"C_12345"}},sign_up:{method:{type:"text",required:!1,placeholder:"Google"}},spend_virtual_currency:{value:{type:"number",required:!0,placeholder:"5"},virtual_currency_name:{type:"text",required:!0,placeholder:"Gems"},item_name:{type:"text",required:!1,placeholder:"Starter Boost"}},tutorial_begin:{},tutorial_complete:{},unlock_achievement:{achievement_id:{type:"text",required:!0,placeholder:"A_12345"}},view_cart:{currency:{type:"text",required:!0,placeholder:"USD"},value:{type:"number",required:!0,placeholder:"7.77"},items:{type:"text",required:!0,placeholder:""}},view_item:{currency:{type:"text",required:!0,placeholder:"USD"},value:{type:"number",required:!0,placeholder:"7.77"},items:{type:"text",required:!0,placeholder:""}},view_item_list:{item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},items:{type:"text",required:!0,placeholder:""}},view_promotion:{creative_name:{type:"text",required:!1,placeholder:"summer_banner2"},creative_slot:{type:"text",required:!1,placeholder:"featured_app_1"},location_id:{type:"text",required:!1,placeholder:"L_12345"},promotion_id:{type:"text",required:!1,placeholder:"P_12345"},promotion_name:{type:"text",required:!1,placeholder:"Summer Sale"},items:{type:"text",required:!0,placeholder:""}}};var Mr,jr=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(jr||{});function dr(e){let t=e.parentElement,r=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(r=t),t=t.parentElement;let n=""===(null==t?void 0:t.getAttribute("disabled"));return(!n||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(r))&&n}let Nr=null!=(Mr=t.useId)?Mr:function(){let e=ot(),[r,n]=t.useState(e?()=>it.nextId():null);return at((()=>{null===r&&n(it.nextId())}),[r]),null!=r?""+r:void 0};var mr=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(mr||{});let yr=Ve((function(e,t){let{features:r=1,...n}=e;return Ze({ourProps:{ref:t,"aria-hidden":2==(2&r)||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...4==(4&r)&&2!=(2&r)&&{display:"none"}}},theirProps:n,slot:{},defaultTag:"div",name:"Hidden"})}));function gr(e){return it.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let xr=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((e=>`${e}:not([tabindex='-1'])`)).join(",");var pr,Tr=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(Tr||{}),wr=((pr=wr||{})[pr.Error=0]="Error",pr[pr.Overflow=1]="Overflow",pr[pr.Success=2]="Success",pr[pr.Underflow=3]="Underflow",pr),Sr=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Sr||{});var Er=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Er||{});function Dr(e){null==e||e.focus({preventScroll:!0})}let fr=["textarea","input"].join(",");function Ir(e,t=(e=>e)){return e.slice().sort(((e,r)=>{let n=t(e),i=t(r);if(null===n||null===i)return 0;let a=n.compareDocumentPosition(i);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0}))}function hr(e,t,{sorted:r=!0,relativeTo:n=null,skipElements:i=[]}={}){let a=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,u=Array.isArray(e)?r?Ir(e):e:function(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(xr)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}(e);i.length>0&&u.length>1&&(u=u.filter((e=>!i.includes(e)))),n=null!=n?n:a.activeElement;let s,o=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),l=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,u.indexOf(n))-1;if(4&t)return Math.max(0,u.indexOf(n))+1;if(8&t)return u.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),L=32&t?{preventScroll:!0}:{},c=0,M=u.length;do{if(c>=M||c+M<=0)return 0;let e=l+c;if(16&t)e=(e+M)%M;else{if(e<0)return 3;if(e>=M)return 1}s=u[e],null==s||s.focus(L),c+=o}while(s!==a.activeElement);return 6&t&&function(e){var t,r;return null!=(r=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,fr))&&r}(s)&&s.select(),s.hasAttribute("tabindex")||s.setAttribute("tabindex","0"),2}var Cr=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Cr||{});function zr(...e){return(0,t.useMemo)((()=>gr(...e)),[...e])}function Or(e,r,n,i){let a=st(n);(0,t.useEffect)((()=>{function t(e){a.current(e)}return(e=null!=e?e:window).addEventListener(r,t,i),()=>e.removeEventListener(r,t,i)}),[e,r,i])}function br(e,r){let n=(0,t.useRef)([]),i=lt(e);(0,t.useEffect)((()=>{let e=[...n.current];for(let[t,a]of r.entries())if(n.current[t]!==a){let t=i(r,e);return n.current=r,t}}),[i,...r])}function vr(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let r of e.current)r.current instanceof HTMLElement&&t.add(r.current);return t}var kr=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(kr||{});let Ar=Ve((function(e,r){let n=(0,t.useRef)(null),i=Mt(n,r),{initialFocus:a,containers:u,features:s=30,...o}=e;ot()||(s=1);let l=zr(n);!function({ownerDocument:e},r){let n=function(e=!0){let r=(0,t.useRef)(Ur.slice());return br((([e],[t])=>{!0===t&&!1===e&&jt((()=>{r.current.splice(0)})),!1===t&&!0===e&&(r.current=Ur.slice())}),[e,Ur,r]),lt((()=>{var e;return null!=(e=r.current.find((e=>null!=e&&e.isConnected)))?e:null}))}(r);br((()=>{r||(null==e?void 0:e.activeElement)===(null==e?void 0:e.body)&&Dr(n())}),[r]);let i=(0,t.useRef)(!1);(0,t.useEffect)((()=>(i.current=!1,()=>{i.current=!0,jt((()=>{i.current&&Dr(n())}))})),[])}({ownerDocument:l},Boolean(16&s));let L=function({ownerDocument:e,container:r,initialFocus:n},i){let a=(0,t.useRef)(null),u=ut();return br((()=>{if(!i)return;let t=r.current;t&&jt((()=>{if(!u.current)return;let r=null==e?void 0:e.activeElement;if(null!=n&&n.current){if((null==n?void 0:n.current)===r)return void(a.current=r)}else if(t.contains(r))return void(a.current=r);null!=n&&n.current?Dr(n.current):hr(t,Tr.First)===wr.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),a.current=null==e?void 0:e.activeElement}))}),[i]),a}({ownerDocument:l,container:n,initialFocus:a},Boolean(2&s));!function({ownerDocument:e,container:t,containers:r,previousActiveElement:n},i){let a=ut();Or(null==e?void 0:e.defaultView,"focus",(e=>{if(!i||!a.current)return;let u=vr(r);t.current instanceof HTMLElement&&u.add(t.current);let s=n.current;if(!s)return;let o=e.target;o&&o instanceof HTMLElement?Qr(u,o)?(n.current=o,Dr(o)):(e.preventDefault(),e.stopPropagation(),Dr(s)):Dr(n.current)}),!0)}({ownerDocument:l,container:n,containers:u,previousActiveElement:L},Boolean(8&s));let c=function(){let e=(0,t.useRef)(0);return function(e,r,n){let i=st(r);(0,t.useEffect)((()=>{function t(e){i.current(e)}return window.addEventListener(e,t,n),()=>window.removeEventListener(e,t,n)}),[e,n])}("keydown",(t=>{"Tab"===t.key&&(e.current=t.shiftKey?1:0)}),!0),e}(),M=lt((e=>{let t=n.current;t&&_e(c.current,{[Cr.Forwards]:()=>{hr(t,Tr.First,{skipElements:[e.relatedTarget]})},[Cr.Backwards]:()=>{hr(t,Tr.Last,{skipElements:[e.relatedTarget]})}})})),j=yt(),d=(0,t.useRef)(!1),N={ref:i,onKeyDown(e){"Tab"==e.key&&(d.current=!0,j.requestAnimationFrame((()=>{d.current=!1})))},onBlur(e){let t=vr(u);n.current instanceof HTMLElement&&t.add(n.current);let r=e.relatedTarget;r instanceof HTMLElement&&"true"!==r.dataset.headlessuiFocusGuard&&(Qr(t,r)||(d.current?hr(n.current,_e(c.current,{[Cr.Forwards]:()=>Tr.Next,[Cr.Backwards]:()=>Tr.Previous})|Tr.WrapAround,{relativeTo:e.target}):e.target instanceof HTMLElement&&Dr(e.target)))}};return t.createElement(t.Fragment,null,Boolean(4&s)&&t.createElement(yr,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:M,features:mr.Focusable}),Ze({ourProps:N,theirProps:o,defaultTag:"div",name:"FocusTrap"}),Boolean(4&s)&&t.createElement(yr,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:M,features:mr.Focusable}))})),Yr=Object.assign(Ar,{features:kr}),Ur=[];if("undefined"!=typeof window&&"undefined"!=typeof document){let e=function(e){e.target instanceof HTMLElement&&e.target!==document.body&&Ur[0]!==e.target&&(Ur.unshift(e.target),Ur=Ur.filter((e=>null!=e&&e.isConnected)),Ur.splice(10))};window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})}function Qr(e,t){for(let r of e)if(r.contains(t))return!0;return!1}const Gr=window.ReactDOM;let Pr=(0,t.createContext)(!1);function Rr(){return(0,t.useContext)(Pr)}function Fr(e){return t.createElement(Pr.Provider,{value:e.force},e.children)}let _r=t.Fragment,qr=t.Fragment,Br=(0,t.createContext)(null),Zr=Ve((function(e,r){let n=e,i=(0,t.useRef)(null),a=Mt(ct((e=>{i.current=e})),r),u=zr(i),s=function(e){let r=Rr(),n=(0,t.useContext)(Br),i=zr(e),[a,u]=(0,t.useState)((()=>{if(!r&&null!==n||it.isServer)return null;let e=null==i?void 0:i.getElementById("headlessui-portal-root");if(e)return e;if(null===i)return null;let t=i.createElement("div");return t.setAttribute("id","headlessui-portal-root"),i.body.appendChild(t)}));return(0,t.useEffect)((()=>{null!==a&&(null!=i&&i.body.contains(a)||null==i||i.body.appendChild(a))}),[a,i]),(0,t.useEffect)((()=>{r||null!==n&&u(n.current)}),[n,u,r]),a}(i),[o]=(0,t.useState)((()=>{var e;return it.isServer?null:null!=(e=null==u?void 0:u.createElement("div"))?e:null})),l=ot(),L=(0,t.useRef)(!1);return at((()=>{if(L.current=!1,s&&o)return s.contains(o)||(o.setAttribute("data-headlessui-portal",""),s.appendChild(o)),()=>{L.current=!0,jt((()=>{var e;L.current&&(!s||!o||(o instanceof Node&&s.contains(o)&&s.removeChild(o),s.childNodes.length<=0&&(null==(e=s.parentElement)||e.removeChild(s))))}))}}),[s,o]),l&&s&&o?(0,Gr.createPortal)(Ze({ourProps:{ref:a},theirProps:n,defaultTag:_r,name:"Portal"}),o):null})),Wr=Ve((function(e,r){let{target:n,...i}=e,a={ref:Mt(r)};return t.createElement(Br.Provider,{value:n},Ze({ourProps:a,theirProps:i,defaultTag:qr,name:"Popover.Group"}))})),Hr=Object.assign(Zr,{Group:Wr}),Vr=(0,t.createContext)(null);function Jr(){let e=(0,t.useContext)(Vr);if(null===e){let e=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,Jr),e}return e}function Xr(){let[e,r]=(0,t.useState)([]);return[e.length>0?e.join(" "):void 0,(0,t.useMemo)((()=>function(e){let n=lt((e=>(r((t=>[...t,e])),()=>r((t=>{let r=t.slice(),n=r.indexOf(e);return-1!==n&&r.splice(n,1),r}))))),i=(0,t.useMemo)((()=>({register:n,slot:e.slot,name:e.name,props:e.props})),[n,e.slot,e.name,e.props]);return t.createElement(Vr.Provider,{value:i},e.children)}),[r])]}let Kr=Ve((function(e,t){let r=Nr(),{id:n=`headlessui-description-${r}`,...i}=e,a=Jr(),u=Mt(t);return at((()=>a.register(n)),[n,a.register]),Ze({ourProps:{ref:u,...a.props,id:n},theirProps:i,slot:a.slot||{},defaultTag:"p",name:a.name||"Description"})})),$r=Object.assign(Kr,{}),en=(0,t.createContext)((()=>{}));en.displayName="StackContext";var tn=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(tn||{});function rn({children:e,onUpdate:r,type:n,element:i,enabled:a}){let u=(0,t.useContext)(en),s=lt(((...e)=>{null==r||r(...e),u(...e)}));return at((()=>{let e=void 0===a||!0===a;return e&&s(0,n,i),()=>{e&&s(1,n,i)}}),[s,n,i,a]),t.createElement(en.Provider,{value:s},e)}function nn(e,r,n){let i=st(r);(0,t.useEffect)((()=>{function t(e){i.current(e)}return document.addEventListener(e,t,n),()=>document.removeEventListener(e,t,n)}),[e,n])}function an(e,r,n=!0){let i=(0,t.useRef)(!1);function a(t,n){if(!i.current||t.defaultPrevented)return;let a=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e),u=n(t);if(null!==u&&u.getRootNode().contains(u)){for(let e of a){if(null===e)continue;let r=e instanceof HTMLElement?e:e.current;if(null!=r&&r.contains(u)||t.composed&&t.composedPath().includes(r))return}return!function(e,t=0){var r;return e!==(null==(r=gr(e))?void 0:r.body)&&_e(t,{0:()=>e.matches(xr),1(){let t=e;for(;null!==t;){if(t.matches(xr))return!0;t=t.parentElement}return!1}})}(u,Er.Loose)&&-1!==u.tabIndex&&t.preventDefault(),r(t,u)}}(0,t.useEffect)((()=>{requestAnimationFrame((()=>{i.current=n}))}),[n]);let u=(0,t.useRef)(null);nn("mousedown",(e=>{var t,r;i.current&&(u.current=(null==(r=null==(t=e.composedPath)?void 0:t.call(e))?void 0:r[0])||e.target)}),!0),nn("click",(e=>{u.current&&(a(e,(()=>u.current)),u.current=null)}),!0),nn("blur",(e=>a(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)}const un="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},{useState:sn,useEffect:on,useLayoutEffect:ln,useDebugValue:Ln}=r;function cn(e){const t=e.getSnapshot,r=e.value;try{const e=t();return!un(r,e)}catch{return!0}}const Mn="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t,r){return t()}:function(e,t,r){const n=t(),[{inst:i},a]=sn({inst:{value:n,getSnapshot:t}});return ln((()=>{i.value=n,i.getSnapshot=t,cn(i)&&a({inst:i})}),[e,n,t]),on((()=>(cn(i)&&a({inst:i}),e((()=>{cn(i)&&a({inst:i})})))),[e]),Ln(n),n},jn="useSyncExternalStore"in r?(e=>e.useSyncExternalStore)(r):Mn;function dn(){let e;return{before({doc:t}){var r;let n=t.documentElement;e=(null!=(r=t.defaultView)?r:window).innerWidth-n.clientWidth},after({doc:t,d:r}){let n=t.documentElement,i=n.clientWidth-n.offsetWidth,a=e-i;r.style(n,"paddingRight",`${a}px`)}}}function Nn(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function mn(){if(!Nn())return{};let e;return{before(){e=window.pageYOffset},after({doc:t,d:r,meta:n}){function i(e){return n.containers.flatMap((e=>e())).some((t=>t.contains(e)))}r.style(t.body,"marginTop",`-${e}px`),window.scrollTo(0,0);let a=null;r.addEventListener(t,"click",(e=>{if(e.target instanceof HTMLElement)try{let r=e.target.closest("a");if(!r)return;let{hash:n}=new URL(r.href),u=t.querySelector(n);u&&!i(u)&&(a=u)}catch{}}),!0),r.addEventListener(t,"touchmove",(e=>{e.target instanceof HTMLElement&&!i(e.target)&&e.preventDefault()}),{passive:!1}),r.add((()=>{window.scrollTo(0,window.pageYOffset+e),a&&a.isConnected&&(a.scrollIntoView({block:"nearest"}),a=null)}))}}}function yn(e){let t={};for(let r of e)Object.assign(t,r(t));return t}let gn=function(e,t){let r=new Map,n=new Set;return{getSnapshot:()=>r,subscribe:e=>(n.add(e),()=>n.delete(e)),dispatch(e,...i){let a=t[e].call(r,...i);a&&(r=a,n.forEach((e=>e())))}}}(0,{PUSH(e,t){var r;let n=null!=(r=this.get(e))?r:{doc:e,count:0,d:dt(),meta:new Set};return n.count++,n.meta.add(t),this.set(e,n),this},POP(e,t){let r=this.get(e);return r&&(r.count--,r.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:r}){let n={doc:e,d:t,meta:yn(r)},i=[mn(),dn(),{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}];i.forEach((({before:e})=>null==e?void 0:e(n))),i.forEach((({after:e})=>null==e?void 0:e(n)))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});gn.subscribe((()=>{let e=gn.getSnapshot(),t=new Map;for(let[r]of e)t.set(r,r.documentElement.style.overflow);for(let r of e.values()){let e="hidden"===t.get(r.doc),n=0!==r.count;(n&&!e||!n&&e)&&gn.dispatch(r.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",r),0===r.count&&gn.dispatch("TEARDOWN",r)}}));let xn=new Map,pn=new Map;function Tn(e,t=!0){at((()=>{var r;if(!t)return;let n="function"==typeof e?e():e.current;if(!n)return;let i=null!=(r=pn.get(n))?r:0;return pn.set(n,i+1),0!==i||(xn.set(n,{"aria-hidden":n.getAttribute("aria-hidden"),inert:n.inert}),n.setAttribute("aria-hidden","true"),n.inert=!0),function(){var e;if(!n)return;let t=null!=(e=pn.get(n))?e:1;if(1===t?pn.delete(n):pn.set(n,t-1),1!==t)return;let r=xn.get(n);r&&(null===r["aria-hidden"]?n.removeAttribute("aria-hidden"):n.setAttribute("aria-hidden",r["aria-hidden"]),n.inert=r.inert,xn.delete(n))}}),[e,t])}var wn=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(wn||{}),Sn=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(Sn||{});let En={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},Dn=(0,t.createContext)(null);function fn(e){let r=(0,t.useContext)(Dn);if(null===r){let t=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,fn),t}return r}function In(e,t){return _e(t.type,En,e,t)}Dn.displayName="DialogContext";let hn=qe.RenderStrategy|qe.Static,Cn=Ve((function(e,r){let n=Nr(),{id:i=`headlessui-dialog-${n}`,open:a,onClose:u,initialFocus:s,__demoMode:o=!1,...l}=e,[L,c]=(0,t.useState)(0),M=et();void 0===a&&null!==M&&(a=(M&$e.Open)===$e.Open);let j=(0,t.useRef)(null),d=Mt(j,r),N=(0,t.useRef)(null),m=zr(j),y=e.hasOwnProperty("open")||null!==M,g=e.hasOwnProperty("onClose");if(!y&&!g)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!y)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!g)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if("boolean"!=typeof a)throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${a}`);if("function"!=typeof u)throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${u}`);let x=a?0:1,[p,T]=(0,t.useReducer)(In,{titleId:null,descriptionId:null,panelRef:(0,t.createRef)()}),w=lt((()=>u(!1))),S=lt((e=>T({type:0,id:e}))),E=!!ot()&&!o&&0===x,D=L>1,f=null!==(0,t.useContext)(Dn),I=D?"parent":"leaf",h=null!==M&&(M&$e.Closing)===$e.Closing,C=!f&&!h&&E,z=(0,t.useCallback)((()=>{var e,t;return null!=(t=Array.from(null!=(e=null==m?void 0:m.querySelectorAll("body > *"))?e:[]).find((e=>"headlessui-portal-root"!==e.id&&e.contains(N.current)&&e instanceof HTMLElement)))?t:null}),[N]);Tn(z,C);let O=!!D||E,b=(0,t.useCallback)((()=>{var e,t;return null!=(t=Array.from(null!=(e=null==m?void 0:m.querySelectorAll("[data-headlessui-portal]"))?e:[]).find((e=>e.contains(N.current)&&e instanceof HTMLElement)))?t:null}),[N]);Tn(b,O);let v=lt((()=>{var e,t;return[...Array.from(null!=(e=null==m?void 0:m.querySelectorAll("html > *, body > *, [data-headlessui-portal]"))?e:[]).filter((e=>!(e===document.body||e===document.head||!(e instanceof HTMLElement)||e.contains(N.current)||p.panelRef.current&&e.contains(p.panelRef.current)))),null!=(t=p.panelRef.current)?t:j.current]}));an((()=>v()),w,!(!E||D));let k=!(D||0!==x);Or(null==m?void 0:m.defaultView,"keydown",(e=>{k&&(e.defaultPrevented||e.key===jr.Escape&&(e.preventDefault(),e.stopPropagation(),w()))})),function(e,t,r=(()=>[document.body])){!function(e,t,r){let n=jn((u=gn).subscribe,u.getSnapshot,u.getSnapshot),i=e?n.get(e):void 0,a=!!i&&i.count>0;var u;at((()=>{if(e&&t)return gn.dispatch("PUSH",e,r),()=>gn.dispatch("POP",e,r)}),[t,e])}(e,t,(e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],r]}}))}(m,!(h||0!==x||f),v),(0,t.useEffect)((()=>{if(0!==x||!j.current)return;let e=new ResizeObserver((e=>{for(let t of e){let e=t.target.getBoundingClientRect();0===e.x&&0===e.y&&0===e.width&&0===e.height&&w()}}));return e.observe(j.current),()=>e.disconnect()}),[x,j,w]);let[A,Y]=Xr(),U=(0,t.useMemo)((()=>[{dialogState:x,close:w,setTitleId:S},p]),[x,p,w,S]),Q=(0,t.useMemo)((()=>({open:0===x})),[x]),G={ref:d,id:i,role:"dialog","aria-modal":0===x||void 0,"aria-labelledby":p.titleId,"aria-describedby":A};return t.createElement(rn,{type:"Dialog",enabled:0===x,element:j,onUpdate:lt(((e,t)=>{"Dialog"===t&&_e(e,{[tn.Add]:()=>c((e=>e+1)),[tn.Remove]:()=>c((e=>e-1))})}))},t.createElement(Fr,{force:!0},t.createElement(Hr,null,t.createElement(Dn.Provider,{value:U},t.createElement(Hr.Group,{target:j},t.createElement(Fr,{force:!1},t.createElement(Y,{slot:Q,name:"Dialog.Description"},t.createElement(Yr,{initialFocus:s,containers:v,features:E?_e(I,{parent:Yr.features.RestoreFocus,leaf:Yr.features.All&~Yr.features.FocusLock}):Yr.features.None},Ze({ourProps:G,theirProps:l,slot:Q,defaultTag:"div",features:hn,visible:0===x,name:"Dialog"})))))))),t.createElement(yr,{features:mr.Hidden,ref:N}))})),zn=Ve((function(e,r){let n=Nr(),{id:i=`headlessui-dialog-backdrop-${n}`,...a}=e,[{dialogState:u},s]=fn("Dialog.Backdrop"),o=Mt(r);(0,t.useEffect)((()=>{if(null===s.panelRef.current)throw new Error("A <Dialog.Backdrop /> component is being used, but a <Dialog.Panel /> component is missing.")}),[s.panelRef]);let l=(0,t.useMemo)((()=>({open:0===u})),[u]);return t.createElement(Fr,{force:!0},t.createElement(Hr,null,Ze({ourProps:{ref:o,id:i,"aria-hidden":!0},theirProps:a,slot:l,defaultTag:"div",name:"Dialog.Backdrop"})))})),On=Ve((function(e,r){let n=Nr(),{id:i=`headlessui-dialog-panel-${n}`,...a}=e,[{dialogState:u},s]=fn("Dialog.Panel"),o=Mt(r,s.panelRef),l=(0,t.useMemo)((()=>({open:0===u})),[u]),L=lt((e=>{e.stopPropagation()}));return Ze({ourProps:{ref:o,id:i,onClick:L},theirProps:a,slot:l,defaultTag:"div",name:"Dialog.Panel"})})),bn=Ve((function(e,r){let n=Nr(),{id:i=`headlessui-dialog-overlay-${n}`,...a}=e,[{dialogState:u,close:s}]=fn("Dialog.Overlay"),o=Mt(r),l=lt((e=>{if(e.target===e.currentTarget){if(dr(e.currentTarget))return e.preventDefault();e.preventDefault(),e.stopPropagation(),s()}}));return Ze({ourProps:{ref:o,id:i,"aria-hidden":!0,onClick:l},theirProps:a,slot:(0,t.useMemo)((()=>({open:0===u})),[u]),defaultTag:"div",name:"Dialog.Overlay"})})),vn=Ve((function(e,r){let n=Nr(),{id:i=`headlessui-dialog-title-${n}`,...a}=e,[{dialogState:u,setTitleId:s}]=fn("Dialog.Title"),o=Mt(r);(0,t.useEffect)((()=>(s(i),()=>s(null))),[i,s]);let l=(0,t.useMemo)((()=>({open:0===u})),[u]);return Ze({ourProps:{ref:o,id:i},theirProps:a,slot:l,defaultTag:"h2",name:"Dialog.Title"})})),kn=Object.assign(Cn,{Backdrop:zn,Panel:On,Overlay:bn,Title:vn,Description:$r});const An=(0,t.createContext)(),Yn=(0,t.createContext)(),Un=(0,t.createContext)(),Qn=(0,t.createContext)();function Gn(r){let{open:n,toggleDeleteModal:i,index:a,item_id:u,deleteItem:s}=r;return(0,e.createElement)(bt.Root,{show:n,as:t.Fragment},(0,e.createElement)(kn,{as:"div",className:"z-[9999992] relative",onClose:i},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"})),(0,e.createElement)("div",{className:"fixed  inset-0 overflow-y-auto"},(0,e.createElement)("div",{className:"flex items-end sm:items-center justify-center min-h-full p-4 text-center sm:p-0"},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},(0,e.createElement)(kn.Panel,{className:"relative bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:max-w-lg sm:w-full sm:p-6"},(0,e.createElement)("div",{className:"sm:flex sm:items-start"},(0,e.createElement)("div",{className:"mx-auto flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-red-100 sm:mx-0 sm:h-10 sm:w-10"}),(0,e.createElement)("div",{className:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"},(0,e.createElement)(kn.Title,{as:"h3",className:"text-lg leading-6 font-medium text-gray-900"},"Delete Item"),(0,e.createElement)("div",{className:"mt-2"},(0,e.createElement)("p",{className:"text-sm text-gray-500"},"Are you sure you want to delete the"," ",(0,e.createElement)("span",{className:"strong"},u)," item?")))),(0,e.createElement)("div",{className:"mt-5 sm:mt-4 sm:flex sm:flex-row-reverse"},(0,e.createElement)("button",{type:"button",className:"w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-red-600 text-base font-medium text-white hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500 sm:ml-3 sm:w-auto sm:text-sm",onClick:function(){s(a),i()}},"Delete"),(0,e.createElement)("button",{type:"button",className:"mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:w-auto sm:text-sm",onClick:i},"Cancel"))))))))}function Pn(t){let{pKey:r,pValue:n,required:i,type:a,placeholder:u,setItem:s}=t;return(0,e.createElement)("fieldset",{className:"first:pt-0 sm:grid sm:grid-cols-3 sm:gap-4 sm:items-start sm:border-t sm:border-gray-200 sm:pt-5"},(0,e.createElement)("label",{htmlFor:"items",className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"+(1==i?" required":"")},r),(0,e.createElement)("input",{type:a,required:i,name:r,placeholder:u,id:r,value:n||"",onChange:e=>s(r,e.target.value),className:"flex-1 block col-span-2 w-full focus:ring-indigo-500 focus:border-indigo-500 min-w-0 rounded-none rounded-r-md sm:text-sm border-gray-300"}))}const Rn={add_payment_info:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},add_shipping_info:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},add_to_cart:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},add_to_wishlist:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},begin_checkout:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},purchase:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},refund:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},remove_from_cart:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},select_item:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},select_promotion:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},creative_name:{type:"text",required:!1,placeholder:"summer_banner2"},creative_slot:{type:"text",required:!1,placeholder:"featured_app_1"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},promotion_id:{type:"text",required:!1,placeholder:"P_12345"},promotion_name:{type:"text",required:!1,placeholder:"Summer Sale"},quantity:{type:"number",required:!1,placeholder:"1"}},view_cart:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},view_item:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},view_item_list:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},view_promotion:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},creative_name:{type:"text",required:!1,placeholder:"summer_banner2"},creative_slot:{type:"text",required:!1,placeholder:"featured_app_1"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},promotion_id:{type:"text",required:!1,placeholder:"P_12345"},promotion_name:{type:"text",required:!1,placeholder:"Summer Sale"},quantity:{type:"number",required:!1,placeholder:"1"}}},Fn=r=>{let{eventName:n,currentItem:i,setCurrentItem:a,index:u,saveItem:s}=r;const{openItemsForm:o,setOpenItemsForm:l}=(0,t.useContext)(An);function L(e,t){let r={...i};r[e]=t,a(r)}return(0,e.createElement)(bt.Root,{show:o,as:t.Fragment},(0,e.createElement)(kn,{as:"div",className:"relative z-[9999991]",onClose:l},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"ease-in-out duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-50 transition-opacity"})),(0,e.createElement)("div",{className:"fixed inset-0"}),(0,e.createElement)("div",{className:"fixed inset-0 overflow-hidden"},(0,e.createElement)("div",{className:"absolute inset-0 overflow-hidden"},(0,e.createElement)("div",{className:"pointer-events-none fixed inset-y-0 right-0 flex w-1/4 min-w-[700px] pl-10"},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"transform transition ease-in-out duration-500 sm:duration-700",enterFrom:"translate-x-full",enterTo:"translate-x-0",leave:"transform transition ease-in-out duration-500 sm:duration-700",leaveFrom:"translate-x-0",leaveTo:"translate-x-full"},(0,e.createElement)(kn.Panel,{className:"pointer-events-auto w-screen flex-1 "},(0,e.createElement)("form",{id:"item-form",onSubmit:function(e){e.preventDefault(),s(i,u),a({}),l(!1)},className:"flex h-full flex-col divide-y divide-gray-200 bg-white shadow-xl"},(0,e.createElement)("div",{"data-component":"form-wrapper",className:"flex min-h-0 flex-1 flex-col"},(0,e.createElement)("header",{className:"py-5 pl-10 pr-10 sticky top-0 shadow backdrop-filter backdrop-blur-lg backdrop-saturate-110 bg-opacity-80"},(0,e.createElement)("div",{className:"flex items-start justify-between"},(0,e.createElement)(kn.Title,{className:"text-2xl font-medium text-gray-900"}," ",u>=0?"Edit":"New"," Item "),(0,e.createElement)("div",{className:"ml-3 flex h-7 items-center"},(0,e.createElement)("button",{type:"button",className:"rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-indigo-500",onClick:()=>l(!1)},(0,e.createElement)("span",{className:"sr-only"},"Close panel"),(0,e.createElement)(kt,{className:"h-6 w-6","aria-hidden":"true"}))))),(0,e.createElement)("div",{"data-component":"main-form",className:"overflow-y-scroll bg-gray-100 p-10"},(0,e.createElement)("div",{"data-component":"inline-form",className:"bg-white w-full p-10 rounded-md"},(0,e.createElement)("div",{"data-component":"fieldset-wrapper",className:"sm:mt-5 space-y-6 sm:space-y-5"},Object.entries(Rn[n]).map((t=>{let[r,n]=t;return(0,e.createElement)(Pn,{key:r,pKey:r,pValue:i[r],required:n.required,type:n.type,placeholder:n.placeholder,setItem:L})})))))),(0,e.createElement)("footer",{className:"flex flex-shrink-0 justify-end px-4 py-4"},(0,e.createElement)("button",{type:"button",className:"rounded-md border border-gray-300 bg-white py-2 px-4 text-sm font-medium text-gray-700 shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2",onClick:()=>l(!1)},"Cancel"),(0,e.createElement)("button",{type:"submit",form:"item-form",className:"ml-4 inline-flex justify-center rounded-md border border-transparent bg-indigo-600 py-2 px-4 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2"},"Save"))))))))))};function qn(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(Boolean).join(" ")}function Bn(r){let{eventName:n,eventItems:i,updateFunction:a}=r;(0,t.useRef)();const[u,s]=(0,t.useState)(Array.isArray(i)?i:[]),[o,l]=(0,t.useState)(!1),[L,c]=(0,t.useState)(!1),[M,j]=(0,t.useState)([]),{openItemsForm:d,setOpenItemsForm:N}=(0,t.useContext)(An),[m,y]=(0,t.useState)(),[g,x]=(0,t.useState)(!1),[p,T]=(0,t.useState)({}),[w,S]=(0,t.useState)(),[E,D]=(0,t.useState)(!1);return(0,t.useEffect)((()=>{a(u)}),[u]),(0,e.createElement)("div",{"data-component":"items-table",className:"flex flex-col bg-gray-50 rounded-50"},(0,e.createElement)("header",{className:"p-4 sm:flex sm:items-center"},(0,e.createElement)("div",{className:"sm:flex-auto"},(0,e.createElement)("h3",{className:"uppercase text-base leading-6 font-medium text-gray-900"},"Items")),(0,e.createElement)("div",{className:"mt-4 sm:mt-0 sm:ml-16 sm:flex-none"},(0,e.createElement)("button",{onClick:function(){T({}),S(-1),N(!0)},type:"button",className:"capitalize inline-flex items-center justify-center rounded-md border border-transparent bg-brand-primary px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-brand-primary-hover focus:outline-none focus:ring-2 focus:ring-brand-primary-focus focus:ring-offset-2 sm:w-auto"},"Add Item"))),(0,e.createElement)("div",{"data-component":"item-list",className:"bg-gray-100 p-2 flex items-center"},u&&u.length>0?(0,e.createElement)("table",{className:"min-w-full table-fixed divide-y divide-gray-300"},(0,e.createElement)("thead",{className:"bg-gray-50"},(0,e.createElement)("tr",null,(0,e.createElement)("th",{scope:"col",className:"min-w-[12rem] py-3.5 pr-2 pl-4 text-left text-sm font-semibold text-gray-900"},"Item ID"),(0,e.createElement)("th",{scope:"col",className:"px-3 py-3.5 text-left text-sm font-semibold text-gray-900"},"Item Name"),(0,e.createElement)("th",{scope:"col",className:"px-3 py-3.5 text-left text-sm font-semibold text-gray-900"}),(0,e.createElement)("th",{scope:"col",className:"relative py-3.5 pl-3 pr-4 sm:pr-6"},(0,e.createElement)("span",{className:"sr-only"},"Edit")))),(0,e.createElement)("tbody",{className:" bg-white"},u&&u.length>0&&u[0]?u.map(((r,n)=>(0,e.createElement)(t.Fragment,{key:n},(0,e.createElement)("tr",{className:"bg-gray-50"},(0,e.createElement)("td",{className:qn("whitespace-nowrap pr-2 pl-4 text-sm font-medium","py-1","pt-2",M.includes(r)?"text-gtIndigo-600":"text-gray-900")},r.item_id),(0,e.createElement)("td",{rowSpan:"2",className:"whitespace-nowrap px-3 text-sm text-gray-500"},r.item_name),(0,e.createElement)("td",{rowSpan:"2",className:"whitespace-nowrap px-3 text-sm text-gray-500"}),(0,e.createElement)("td",{rowSpan:"2",className:"whitespace-nowrap  py-6 pl-3 pr-4 text-right text-sm font-medium sm:pr-6"},(0,e.createElement)("button",{type:"button",onClick:e=>function(e,t,r){e.preventDefault();let n={...t};T(n),S(r),N(!d)}(e,r,n),className:"inline-flex items-center px-2.5 py-1.5 border border-transparent text-xs font-medium rounded shadow-sm text-white bg-brand-primary hover:bg-brand-primary-hover focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-brand-primary-focus"},"Edit"),(0,e.createElement)("button",{type:"button",onClick:e=>function(e,t,r){e.preventDefault();let n={...t};n.index=r,T(n),x(!0)}(e,r,n),className:"ml-3 inline-flex items-center px-2.5 py-1.5 border border-transparent text-xs font-medium rounded shadow-sm text-white bg-brand-danger hover:bg-brand-danger-hover focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-brand-primary-focus"},"Delete")))))):null)):(0,e.createElement)("div",{"data-component":"no-items-placeholder",className:"p-6 flex-1 text-center items-center opacity-90 bg-gray-200 rounded my-4"},"No Items"),(0,e.createElement)(Fn,{eventName:n,currentItem:p,setCurrentItem:T,index:w,saveItem:(e,t)=>{if(t>=0){let r=u;r[t]=e,s([...r])}else s([...u,e])}})),g&&(0,e.createElement)(Gn,{open:g,toggleDeleteModal:function(){x(!g)},index:p.index,item_id:p.item_id,currentItemId:p.item_id,deleteItem:e=>{let t=u;t.splice(e,1),s(t),T(!1)},updateFunction:a}))}function Zn(t){let{pKey:r,pValue:n,setProp:i,required:a,type:u,placeholder:s,deleteProp:o,deleteButton:l}=t;return(0,e.createElement)(e.Fragment,null,"items"!=r?(0,e.createElement)("tr",{className:"bg-gray-50"},(0,e.createElement)("td",{className:"whitespace-nowrap pr-2 pl-4 text-sm font-medium py-1  pt-2 text-gray-900"},r),(0,e.createElement)("td",{className:"whitespace-nowrap px-3 text-sm text-gray-500"},(0,e.createElement)("input",{type:u,required:a,name:r,placeholder:s,id:r,value:n,onChange:e=>i(r,"items"==r?"[{}]":e.target.value),className:"flex-1 block col-span-2 w-full focus:ring-indigo-500 focus:border-indigo-500 min-w-0 rounded-none rounded-r-md sm:text-sm border-gray-300"})),(0,e.createElement)("td",{className:"whitespace-nowrap px-3 text-sm text-gray-500"}),(0,e.createElement)("td",{className:"whitespace-nowrap  py-6 pl-3 pr-4 text-right text-sm font-medium sm:pr-6"},(0,e.createElement)("button",{type:"button",onClick:e=>o(r),className:"ml-3 inline-flex items-center px-2.5 py-1.5 border border-transparent text-xs font-medium rounded shadow-sm text-white bg-brand-danger hover:bg-brand-danger-hover focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-brand-danger-focus"},"Delete"))):"")}function Wn(e,r){let[n,i]=(0,t.useState)(e),a=st(e);return at((()=>i(a.current)),[a,i,...r]),n}function Hn(e){var t;if(e.type)return e.type;let r=null!=(t=e.as)?t:"button";return"string"==typeof r&&"button"===r.toLowerCase()?"button":void 0}function Vn(e,r){let[n,i]=(0,t.useState)((()=>Hn(e)));return at((()=>{i(Hn(e))}),[e.type,e.as]),at((()=>{n||r.current&&r.current instanceof HTMLButtonElement&&!r.current.hasAttribute("type")&&i("button")}),[n,r]),n}var Jn=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(Jn||{});function Xn(e={},t=null,r=[]){for(let[n,i]of Object.entries(e))$n(r,Kn(t,n),i);return r}function Kn(e,t){return e?e+"["+t+"]":t}function $n(e,t,r){if(Array.isArray(r))for(let[n,i]of r.entries())$n(e,Kn(t,n.toString()),i);else r instanceof Date?e.push([t,r.toISOString()]):"boolean"==typeof r?e.push([t,r?"1":"0"]):"string"==typeof r?e.push([t,r]):"number"==typeof r?e.push([t,`${r}`]):null==r?e.push([t,""]):Xn(r,t,e)}function ei(e,r,n){let[i,a]=(0,t.useState)(n),u=void 0!==e,s=(0,t.useRef)(u),o=(0,t.useRef)(!1),l=(0,t.useRef)(!1);return!u||s.current||o.current?!u&&s.current&&!l.current&&(l.current=!0,s.current=u,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(o.current=!0,s.current=u,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[u?e:i,lt((e=>(u||a(e),null==r?void 0:r(e))))]}function ti(e){return[e.screenX,e.screenY]}var ri=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(ri||{}),ni=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(ni||{}),ii=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(ii||{}),ai=(e=>(e[e.OpenCombobox=0]="OpenCombobox",e[e.CloseCombobox=1]="CloseCombobox",e[e.GoToOption=2]="GoToOption",e[e.RegisterOption=3]="RegisterOption",e[e.UnregisterOption=4]="UnregisterOption",e[e.RegisterLabel=5]="RegisterLabel",e))(ai||{});function ui(e,t=(e=>e)){let r=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,n=Ir(t(e.options.slice()),(e=>e.dataRef.current.domRef.current)),i=r?n.indexOf(r):null;return-1===i&&(i=null),{options:n,activeOptionIndex:i}}let si={1(e){var t;return null!=(t=e.dataRef.current)&&t.disabled||1===e.comboboxState?e:{...e,activeOptionIndex:null,comboboxState:1}},0(e){var t;if(null!=(t=e.dataRef.current)&&t.disabled||0===e.comboboxState)return e;let r=e.activeOptionIndex;if(e.dataRef.current){let{isSelected:t}=e.dataRef.current,n=e.options.findIndex((e=>t(e.dataRef.current.value)));-1!==n&&(r=n)}return{...e,comboboxState:0,activeOptionIndex:r}},2(e,t){var r,n,i,a;if(null!=(r=e.dataRef.current)&&r.disabled||null!=(n=e.dataRef.current)&&n.optionsRef.current&&(null==(i=e.dataRef.current)||!i.optionsPropsRef.current.static)&&1===e.comboboxState)return e;let u=ui(e);if(null===u.activeOptionIndex){let e=u.options.findIndex((e=>!e.dataRef.current.disabled));-1!==e&&(u.activeOptionIndex=e)}let s=function(e,t){let r=t.resolveItems();if(r.length<=0)return null;let n=t.resolveActiveIndex(),i=null!=n?n:-1,a=(()=>{switch(e.focus){case 0:return r.findIndex((e=>!t.resolveDisabled(e)));case 1:{let e=r.slice().reverse().findIndex(((e,r,n)=>!(-1!==i&&n.length-r-1>=i||t.resolveDisabled(e))));return-1===e?e:r.length-1-e}case 2:return r.findIndex(((e,r)=>!(r<=i||t.resolveDisabled(e))));case 3:{let e=r.slice().reverse().findIndex((e=>!t.resolveDisabled(e)));return-1===e?e:r.length-1-e}case 4:return r.findIndex((r=>t.resolveId(r)===e.id));case 5:return null;default:!function(e){throw new Error("Unexpected object: "+e)}(e)}})();return-1===a?n:a}(t,{resolveItems:()=>u.options,resolveActiveIndex:()=>u.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...u,activeOptionIndex:s,activationTrigger:null!=(a=t.trigger)?a:1}},3:(e,t)=>{var r,n;let i={id:t.id,dataRef:t.dataRef},a=ui(e,(e=>[...e,i]));null===e.activeOptionIndex&&null!=(r=e.dataRef.current)&&r.isSelected(t.dataRef.current.value)&&(a.activeOptionIndex=a.options.indexOf(i));let u={...e,...a,activationTrigger:1};return null!=(n=e.dataRef.current)&&n.__demoMode&&void 0===e.dataRef.current.value&&(u.activeOptionIndex=0),u},4:(e,t)=>{let r=ui(e,(e=>{let r=e.findIndex((e=>e.id===t.id));return-1!==r&&e.splice(r,1),e}));return{...e,...r,activationTrigger:1}},5:(e,t)=>({...e,labelId:t.id})},oi=(0,t.createContext)(null);function li(e){let r=(0,t.useContext)(oi);if(null===r){let t=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,li),t}return r}oi.displayName="ComboboxActionsContext";let Li=(0,t.createContext)(null);function ci(e){let r=(0,t.useContext)(Li);if(null===r){let t=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ci),t}return r}function Mi(e,t){return _e(t.type,si,e,t)}Li.displayName="ComboboxDataContext";let ji=t.Fragment,di=qe.RenderStrategy|qe.Static,Ni=Ve((function(e,r){let{value:n,defaultValue:i,onChange:a,name:u,by:s=((e,t)=>e===t),disabled:o=!1,__demoMode:l=!1,nullable:L=!1,multiple:c=!1,...M}=e,[j=(c?[]:void 0),d]=ei(n,a,i),[N,m]=(0,t.useReducer)(Mi,{dataRef:(0,t.createRef)(),comboboxState:l?0:1,options:[],activeOptionIndex:null,activationTrigger:1,labelId:null}),y=(0,t.useRef)(!1),g=(0,t.useRef)({static:!1,hold:!1}),x=(0,t.useRef)(null),p=(0,t.useRef)(null),T=(0,t.useRef)(null),w=(0,t.useRef)(null),S=lt("string"==typeof s?(e,t)=>{let r=s;return(null==e?void 0:e[r])===(null==t?void 0:t[r])}:s),E=(0,t.useCallback)((e=>_e(D.mode,{1:()=>j.some((t=>S(t,e))),0:()=>S(j,e)})),[j]),D=(0,t.useMemo)((()=>({...N,optionsPropsRef:g,labelRef:x,inputRef:p,buttonRef:T,optionsRef:w,value:j,defaultValue:i,disabled:o,mode:c?1:0,get activeOptionIndex(){if(y.current&&null===N.activeOptionIndex&&N.options.length>0){let e=N.options.findIndex((e=>!e.dataRef.current.disabled));if(-1!==e)return e}return N.activeOptionIndex},compare:S,isSelected:E,nullable:L,__demoMode:l})),[j,i,o,c,L,l,N]),f=(0,t.useRef)(null!==D.activeOptionIndex?D.options[D.activeOptionIndex]:null);(0,t.useEffect)((()=>{let e=null!==D.activeOptionIndex?D.options[D.activeOptionIndex]:null;f.current!==e&&(f.current=e)})),at((()=>{N.dataRef.current=D}),[D]),an([D.buttonRef,D.inputRef,D.optionsRef],(()=>Y.closeCombobox()),0===D.comboboxState);let I=(0,t.useMemo)((()=>({open:0===D.comboboxState,disabled:o,activeIndex:D.activeOptionIndex,activeOption:null===D.activeOptionIndex?null:D.options[D.activeOptionIndex].dataRef.current.value,value:j})),[D,o,j]),h=lt((e=>{let t=D.options.find((t=>t.id===e));t&&A(t.dataRef.current.value)})),C=lt((()=>{if(null!==D.activeOptionIndex){let{dataRef:e,id:t}=D.options[D.activeOptionIndex];A(e.current.value),Y.goToOption(Jn.Specific,t)}})),z=lt((()=>{m({type:0}),y.current=!0})),O=lt((()=>{m({type:1}),y.current=!1})),b=lt(((e,t,r)=>(y.current=!1,e===Jn.Specific?m({type:2,focus:Jn.Specific,id:t,trigger:r}):m({type:2,focus:e,trigger:r})))),v=lt(((e,t)=>(m({type:3,id:e,dataRef:t}),()=>{var t;(null==(t=f.current)?void 0:t.id)===e&&(y.current=!0),m({type:4,id:e})}))),k=lt((e=>(m({type:5,id:e}),()=>m({type:5,id:null})))),A=lt((e=>_e(D.mode,{0:()=>null==d?void 0:d(e),1(){let t=D.value.slice(),r=t.findIndex((t=>S(t,e)));return-1===r?t.push(e):t.splice(r,1),null==d?void 0:d(t)}}))),Y=(0,t.useMemo)((()=>({onChange:A,registerOption:v,registerLabel:k,goToOption:b,closeCombobox:O,openCombobox:z,selectActiveOption:C,selectOption:h})),[]),U=null===r?{}:{ref:r},Q=(0,t.useRef)(null),G=yt();return(0,t.useEffect)((()=>{Q.current&&void 0!==i&&G.addEventListener(Q.current,"reset",(()=>{A(i)}))}),[Q,A]),t.createElement(oi.Provider,{value:Y},t.createElement(Li.Provider,{value:D},t.createElement(tt,{value:_e(D.comboboxState,{0:$e.Open,1:$e.Closed})},null!=u&&null!=j&&Xn({[u]:j}).map((([e,r],n)=>t.createElement(yr,{features:mr.Hidden,ref:0===n?e=>{var t;Q.current=null!=(t=null==e?void 0:e.closest("form"))?t:null}:void 0,...Je({key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,name:e,value:r})}))),Ze({ourProps:U,theirProps:M,slot:I,defaultTag:ji,name:"Combobox"}))))})),mi=Ve((function(e,r){var n;let i=ci("Combobox.Button"),a=li("Combobox.Button"),u=Mt(i.buttonRef,r),s=Nr(),{id:o=`headlessui-combobox-button-${s}`,...l}=e,L=yt(),c=lt((e=>{switch(e.key){case jr.ArrowDown:return e.preventDefault(),e.stopPropagation(),1===i.comboboxState&&a.openCombobox(),L.nextFrame((()=>{var e;return null==(e=i.inputRef.current)?void 0:e.focus({preventScroll:!0})}));case jr.ArrowUp:return e.preventDefault(),e.stopPropagation(),1===i.comboboxState&&(a.openCombobox(),L.nextFrame((()=>{i.value||a.goToOption(Jn.Last)}))),L.nextFrame((()=>{var e;return null==(e=i.inputRef.current)?void 0:e.focus({preventScroll:!0})}));case jr.Escape:return 0!==i.comboboxState?void 0:(e.preventDefault(),i.optionsRef.current&&!i.optionsPropsRef.current.static&&e.stopPropagation(),a.closeCombobox(),L.nextFrame((()=>{var e;return null==(e=i.inputRef.current)?void 0:e.focus({preventScroll:!0})})));default:return}})),M=lt((e=>{if(dr(e.currentTarget))return e.preventDefault();0===i.comboboxState?a.closeCombobox():(e.preventDefault(),a.openCombobox()),L.nextFrame((()=>{var e;return null==(e=i.inputRef.current)?void 0:e.focus({preventScroll:!0})}))})),j=Wn((()=>{if(i.labelId)return[i.labelId,o].join(" ")}),[i.labelId,o]),d=(0,t.useMemo)((()=>({open:0===i.comboboxState,disabled:i.disabled,value:i.value})),[i]);return Ze({ourProps:{ref:u,id:o,type:Vn(e,i.buttonRef),tabIndex:-1,"aria-haspopup":"listbox","aria-controls":null==(n=i.optionsRef.current)?void 0:n.id,"aria-expanded":i.disabled?void 0:0===i.comboboxState,"aria-labelledby":j,disabled:i.disabled,onClick:M,onKeyDown:c},theirProps:l,slot:d,defaultTag:"button",name:"Combobox.Button"})})),yi=Ve((function(e,r){var n,i,a,u;let s=Nr(),{id:o=`headlessui-combobox-input-${s}`,onChange:l,displayValue:L,type:c="text",...M}=e,j=ci("Combobox.Input"),d=li("Combobox.Input"),N=Mt(j.inputRef,r),m=(0,t.useRef)(!1),y=yt(),g=function(){var e;return"function"==typeof L&&void 0!==j.value?null!=(e=L(j.value))?e:"":"string"==typeof j.value?j.value:""}();br((([e,t],[r,n])=>{m.current||j.inputRef.current&&(0===n&&1===t||e!==r)&&(j.inputRef.current.value=e)}),[g,j.comboboxState]),br((([e],[t])=>{if(0===e&&1===t){let e=j.inputRef.current;if(!e)return;let t=e.value,{selectionStart:r,selectionEnd:n,selectionDirection:i}=e;e.value="",e.value=t,null!==i?e.setSelectionRange(r,n,i):e.setSelectionRange(r,n)}}),[j.comboboxState]);let x=(0,t.useRef)(!1),p=lt((()=>{x.current=!0})),T=lt((()=>{setTimeout((()=>{x.current=!1}))})),w=lt((e=>{switch(m.current=!0,e.key){case jr.Backspace:case jr.Delete:if(0!==j.mode||!j.nullable)return;let t=e.currentTarget;y.requestAnimationFrame((()=>{""===t.value&&(d.onChange(null),j.optionsRef.current&&(j.optionsRef.current.scrollTop=0),d.goToOption(Jn.Nothing))}));break;case jr.Enter:if(m.current=!1,0!==j.comboboxState||x.current)return;if(e.preventDefault(),e.stopPropagation(),null===j.activeOptionIndex)return void d.closeCombobox();d.selectActiveOption(),0===j.mode&&d.closeCombobox();break;case jr.ArrowDown:return m.current=!1,e.preventDefault(),e.stopPropagation(),_e(j.comboboxState,{0:()=>{d.goToOption(Jn.Next)},1:()=>{d.openCombobox()}});case jr.ArrowUp:return m.current=!1,e.preventDefault(),e.stopPropagation(),_e(j.comboboxState,{0:()=>{d.goToOption(Jn.Previous)},1:()=>{d.openCombobox(),y.nextFrame((()=>{j.value||d.goToOption(Jn.Last)}))}});case jr.Home:if(e.shiftKey)break;return m.current=!1,e.preventDefault(),e.stopPropagation(),d.goToOption(Jn.First);case jr.PageUp:return m.current=!1,e.preventDefault(),e.stopPropagation(),d.goToOption(Jn.First);case jr.End:if(e.shiftKey)break;return m.current=!1,e.preventDefault(),e.stopPropagation(),d.goToOption(Jn.Last);case jr.PageDown:return m.current=!1,e.preventDefault(),e.stopPropagation(),d.goToOption(Jn.Last);case jr.Escape:return m.current=!1,0!==j.comboboxState?void 0:(e.preventDefault(),j.optionsRef.current&&!j.optionsPropsRef.current.static&&e.stopPropagation(),d.closeCombobox());case jr.Tab:if(m.current=!1,0!==j.comboboxState)return;0===j.mode&&d.selectActiveOption(),d.closeCombobox()}})),S=lt((e=>{d.openCombobox(),null==l||l(e)})),E=lt((()=>{m.current=!1})),D=Wn((()=>{if(j.labelId)return[j.labelId].join(" ")}),[j.labelId]),f=(0,t.useMemo)((()=>({open:0===j.comboboxState,disabled:j.disabled})),[j]);return Ze({ourProps:{ref:N,id:o,role:"combobox",type:c,"aria-controls":null==(n=j.optionsRef.current)?void 0:n.id,"aria-expanded":j.disabled?void 0:0===j.comboboxState,"aria-activedescendant":null===j.activeOptionIndex||null==(i=j.options[j.activeOptionIndex])?void 0:i.id,"aria-labelledby":D,"aria-autocomplete":"list",defaultValue:null!=(u=null!=(a=e.defaultValue)?a:void 0!==j.defaultValue?null==L?void 0:L(j.defaultValue):null)?u:j.defaultValue,disabled:j.disabled,onCompositionStart:p,onCompositionEnd:T,onKeyDown:w,onChange:S,onBlur:E},theirProps:M,slot:f,defaultTag:"input",name:"Combobox.Input"})})),gi=Ve((function(e,r){let n=Nr(),{id:i=`headlessui-combobox-label-${n}`,...a}=e,u=ci("Combobox.Label"),s=li("Combobox.Label"),o=Mt(u.labelRef,r);at((()=>s.registerLabel(i)),[i]);let l=lt((()=>{var e;return null==(e=u.inputRef.current)?void 0:e.focus({preventScroll:!0})})),L=(0,t.useMemo)((()=>({open:0===u.comboboxState,disabled:u.disabled})),[u]);return Ze({ourProps:{ref:o,id:i,onClick:l},theirProps:a,slot:L,defaultTag:"label",name:"Combobox.Label"})})),xi=Ve((function(e,r){let n=Nr(),{id:i=`headlessui-combobox-options-${n}`,hold:a=!1,...u}=e,s=ci("Combobox.Options"),o=Mt(s.optionsRef,r),l=et(),L=null!==l?(l&$e.Open)===$e.Open:0===s.comboboxState;at((()=>{var t;s.optionsPropsRef.current.static=null!=(t=e.static)&&t}),[s.optionsPropsRef,e.static]),at((()=>{s.optionsPropsRef.current.hold=a}),[s.optionsPropsRef,a]),function({container:e,accept:r,walk:n,enabled:i=!0}){let a=(0,t.useRef)(r),u=(0,t.useRef)(n);(0,t.useEffect)((()=>{a.current=r,u.current=n}),[r,n]),at((()=>{if(!e||!i)return;let t=gr(e);if(!t)return;let r=a.current,n=u.current,s=Object.assign((e=>r(e)),{acceptNode:r}),o=t.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,s,!1);for(;o.nextNode();)n(o.currentNode)}),[e,i,a,u])}({container:s.optionsRef.current,enabled:0===s.comboboxState,accept:e=>"option"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let c=Wn((()=>{var e,t;return null!=(t=s.labelId)?t:null==(e=s.buttonRef.current)?void 0:e.id}),[s.labelId,s.buttonRef.current]),M=(0,t.useMemo)((()=>({open:0===s.comboboxState})),[s]);return Ze({ourProps:{"aria-labelledby":c,role:"listbox","aria-multiselectable":1===s.mode||void 0,id:i,ref:o},theirProps:u,slot:M,defaultTag:"ul",features:di,visible:L,name:"Combobox.Options"})})),pi=Ve((function(e,r){var n,i;let a=Nr(),{id:u=`headlessui-combobox-option-${a}`,disabled:s=!1,value:o,...l}=e,L=ci("Combobox.Option"),c=li("Combobox.Option"),M=null!==L.activeOptionIndex&&L.options[L.activeOptionIndex].id===u,j=L.isSelected(o),d=(0,t.useRef)(null),N=st({disabled:s,value:o,domRef:d,textValue:null==(i=null==(n=d.current)?void 0:n.textContent)?void 0:i.toLowerCase()}),m=Mt(r,d),y=lt((()=>c.selectOption(u)));at((()=>c.registerOption(u,N)),[N,u]);let g=(0,t.useRef)(!L.__demoMode);at((()=>{if(!L.__demoMode)return;let e=dt();return e.requestAnimationFrame((()=>{g.current=!0})),e.dispose}),[]),at((()=>{if(0!==L.comboboxState||!M||!g.current||0===L.activationTrigger)return;let e=dt();return e.requestAnimationFrame((()=>{var e,t;null==(t=null==(e=d.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})),e.dispose}),[d,M,L.comboboxState,L.activationTrigger,L.activeOptionIndex]);let x=lt((e=>{if(s)return e.preventDefault();y(),0===L.mode&&c.closeCombobox(),Nn()||/Android/gi.test(window.navigator.userAgent)||requestAnimationFrame((()=>{var e;return null==(e=L.inputRef.current)?void 0:e.focus()}))})),p=lt((()=>{if(s)return c.goToOption(Jn.Nothing);c.goToOption(Jn.Specific,u)})),T=function(){let e=(0,t.useRef)([-1,-1]);return{wasMoved(t){let r=ti(t);return(e.current[0]!==r[0]||e.current[1]!==r[1])&&(e.current=r,!0)},update(t){e.current=ti(t)}}}(),w=lt((e=>T.update(e))),S=lt((e=>{T.wasMoved(e)&&(s||M||c.goToOption(Jn.Specific,u,0))})),E=lt((e=>{T.wasMoved(e)&&(s||M&&(L.optionsPropsRef.current.hold||c.goToOption(Jn.Nothing)))})),D=(0,t.useMemo)((()=>({active:M,selected:j,disabled:s})),[M,j,s]);return Ze({ourProps:{id:u,ref:m,role:"option",tabIndex:!0===s?void 0:-1,"aria-disabled":!0===s||void 0,"aria-selected":j,disabled:void 0,onClick:x,onFocus:p,onPointerEnter:w,onMouseEnter:w,onPointerMove:S,onMouseMove:S,onPointerLeave:E,onMouseLeave:E},theirProps:l,slot:D,defaultTag:"li",name:"Combobox.Option"})})),Ti=Object.assign(Ni,{Input:yi,Button:mi,Label:gi,Options:xi,Option:pi});const wi=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{fillRule:"evenodd",d:"M10 3a1 1 0 01.707.293l3 3a1 1 0 01-1.414 1.414L10 5.414 7.707 7.707a1 1 0 01-1.414-1.414l3-3A1 1 0 0110 3zm-3.707 9.293a1 1 0 011.414 0L10 14.586l2.293-2.293a1 1 0 011.414 1.414l-3 3a1 1 0 01-1.414 0l-3-3a1 1 0 010-1.414z",clipRule:"evenodd"}))})),Si=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"}))}));function Ei(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(Boolean).join(" ")}function Di(){const r=(0,t.useContext)(Qn),n=Object.keys(r),{eventNameContext:i,setEventContext:a}=(0,t.useContext)(Yn),[u]=a,[s,o]=i,[l,L]=(0,t.useState)(""),c=""===l?n:n.filter((e=>e.toLowerCase().includes(l.toLowerCase())));return(0,t.useEffect)((()=>{s||(o("generate_lead"),u("generate_lead"))}),[]),(0,e.createElement)(Ti,{className:"sm:grid sm:grid-cols-3 sm:gap-4 sm:items-start",as:"fieldset",value:s,onChange:u},(0,e.createElement)(Ti.Label,{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Recommended Event"),(0,e.createElement)("div",{className:"relative mt-1 sm:mt-0 sm:col-span-2"},(0,e.createElement)("div",{className:"max-w-sm_ w-full flex rounded-md shadow-sm"},(0,e.createElement)(Ti.Input,{className:"w-full flex-1 block min-w-0 rounded-md border border-gray-300 bg-white py-2 pl-3 pr-10 shadow-sm focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 sm:text-sm",onChange:e=>L(e.target.value),displayValue:e=>e}),(0,e.createElement)(Ti.Button,{className:"absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none"},(0,e.createElement)(wi,{className:"h-5 w-5 text-gray-400","aria-hidden":"true"}))),c.length>0&&(0,e.createElement)(Ti.Options,{className:"absolute z-10 mt-1 max-h-60 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm"},c.map((t=>(0,e.createElement)(Ti.Option,{key:t,value:t,className:e=>{let{active:t}=e;return Ei("relative cursor-default select-none py-2 pl-3 pr-9",t?"bg-indigo-600 text-white":"text-gray-900")}},(r=>{let{active:n,selected:i}=r;return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("span",{className:Ei("block truncate",i&&"font-semibold")},t),i&&(0,e.createElement)("span",{className:Ei("absolute inset-y-0 right-0 flex items-center pr-4",n?"text-white":"text-indigo-600")},(0,e.createElement)(Si,{className:"h-5 w-5","aria-hidden":"true"})))})))))))}function fi(t){let{pKey:r,pValue:n,setProp:i,required:a,type:u,placeholder:s,deleteProp:o,deleteButton:l}=t;return(0,e.createElement)(e.Fragment,null,"items"!=r?(0,e.createElement)("fieldset",{className:"flex flex-1 w-full sm:grid sm:grid-cols-3 sm:gap-4 sm:items-start sm:border-t sm:border-gray-200 sm:pt-5"},(0,e.createElement)("label",{htmlFor:"selectorType",className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"+(1==a?" required":"")},r),(0,e.createElement)("input",{type:u,required:a,name:r,placeholder:s,id:r,value:n,onChange:e=>i(r,"items"==r?"[{}]":e.target.value),className:"flex-1 block col-span-2 w-full focus:ring-indigo-500 focus:border-indigo-500 min-w-0 rounded-none rounded-r-md sm:text-sm border-gray-300"})):"")}const Ii=()=>{const{selectorContext:t}=n().useContext(Yn),[r,i]=t;return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("fieldset",{className:"sm:grid sm:grid-cols-3 sm:gap-4 sm:items-start sm:border-t sm:border-gray-200 sm:pt-5"},(0,e.createElement)("label",{htmlFor:"selector",className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2 required"},"Class or ID Selector"),(0,e.createElement)("div",{className:"mt-1 sm:mt-0 sm:col-span-2"},(0,e.createElement)("div",{className:"w-full flex rounded-md shadow-sm"},(0,e.createElement)("input",{required:!0,type:"text",name:"selector",id:"selector",placeholder:"Full CSS selector (including . and #)",value:r||"",onChange:e=>i(e.target.value),className:"flex-1 block w-full focus:ring-indigo-500 focus:border-indigo-500 min-w-0 rounded-none rounded-r-md sm:text-sm border-gray-300"})))))},hi=t=>{let{currentCustomEvent:r,eventType:n,onClose:i,handleHelpClick:a}=t;return(0,e.createElement)("header",{className:"py-5 pl-10 pr-10 sticky top-0 shadow"},(0,e.createElement)("div",{className:"flex items-start justify-between"},(0,e.createElement)(kn.Title,{className:"text-2xl font-medium text-gray-900"},r?"Edit":"New"," ",n,(0,e.createElement)("button",{type:"button",onClick:a},(0,e.createElement)(_t(),{className:"h-6 w-6 ml-2 inline hover:text-brand-primary","aria-hidden":"true"}))),(0,e.createElement)("div",{className:"ml-3 flex h-7 items-center"},(0,e.createElement)("button",{type:"button",className:"rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-indigo-500",onClick:i},(0,e.createElement)("span",{className:"sr-only"},"Close panel"),(0,e.createElement)(kt,{className:"h-6 w-6","aria-hidden":"true"})))))},Ci=t=>{let{onCancel:r}=t;return(0,e.createElement)("footer",{className:"flex flex-shrink-0 justify-end px-4 py-4"},(0,e.createElement)("button",{type:"button",className:"rounded-md border border-gray-300 bg-white py-2 px-4 text-sm font-medium text-gray-700 shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2",onClick:r},"Cancel"),(0,e.createElement)("button",{type:"submit",form:"event-form",className:"ml-4 inline-flex justify-center rounded-md border border-transparent bg-indigo-600 py-2 px-4 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2"},"Save"))},zi=t=>{let{properties:r,isRecommended:n,recommendedEvents:i,eventName:a,setProp:u,deleteProp:s}=t;return(0,e.createElement)("div",{"data-component":"props-table",className:"flex flex-col bg-gray-50 rounded-50 mt-6 "},(0,e.createElement)("div",{"data-component":"props-list",className:"bg-gray-100 p-2 flex flex-col items-center rounded pb-4"},(0,e.createElement)("table",{className:"min-w-full table-fixed divide-y divide-gray-300"},(0,e.createElement)("thead",{className:"bg-gray-50"},(0,e.createElement)("tr",null,(0,e.createElement)("th",{scope:"col",className:"min-w-[12rem] py-3.5 pr-2 pl-4 text-left text-sm font-semibold text-gray-900"},"Property"),(0,e.createElement)("th",{scope:"col",className:"px-3 py-3.5 text-left text-sm font-semibold text-gray-900"},"Value"),(0,e.createElement)("th",{scope:"col",className:"px-3 py-3.5 text-left text-sm font-semibold text-gray-900"}),(0,e.createElement)("th",{scope:"col",className:"relative py-3.5 pl-3 pr-4 sm:pr-6"},(0,e.createElement)("span",{className:"sr-only"},"Edit")))),(0,e.createElement)("tbody",{className:"bg-white"},Object.entries(r).map((t=>{let[r,o]=t;return(0,e.createElement)(Zn,{key:r,pKey:r,pValue:o,setProp:u,required:n&&i&&i[a][r]?.required,type:n&&i?i[a][r]?.type:"text",placeholder:n&&i?i[a][r]?.placeholder:"",deleteProp:s,deleteButton:!0})})))),0===Object.keys(r).length&&(0,e.createElement)("div",{"data-component":"no-items-placeholder",className:"p-6 w-full flex-1 text-center items-center opacity-90 bg-gray-200 rounded my-4"},"No Items")))},Oi=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Custom Event Name"),(0,e.createElement)("span",{className:"block pt-5"},'In the "Custom Event Name" field, enter a descriptive label that reflects the action users take on your website, such as "download_ebook" or "play_video".',(0,e.createElement)("p",{className:"pt-2"},"This label becomes the event's name in Google Analytics GA4, allowing you to track and analyze these specific user interactions."),(0,e.createElement)("p",{className:"pt-2"},"Choose clear and consistent names to simplify your event tracking and reporting."))),bi=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Class or ID Selector"),(0,e.createElement)("span",{className:"block pt-5"},'In the "Class or ID Selector" field, enter the CSS selector that uniquely identifies the webpage element you wish to track, such as a button or link.',(0,e.createElement)("p",{className:"pt-2"},"Use a period (.) for a class or a hash (#) for an ID."),(0,e.createElement)("p",{className:"pt-2"},"For instance, to track clicks on a button with the ID 'purchase', input '#purchase' into this field."),(0,e.createElement)("p",{className:"pt-2"},"This CSS selector enables the plugin to monitor interactions with the specified element and report them as events to Google Analytics GA4.")),(0,e.createElement)("span",{className:"block pt-5 pb-5"},(0,e.createElement)("a",{className:"font-medium text-blue-600 dark:text-blue-500 hover:underline",target:"_blank",href:"https://www.wpgoaltracker.com/dtp7"},"Click here to learn more about how to set the Class or ID Selector."))),vi=i.p+"images/Placeholders.01211bf7.png",ki=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Additional Parameters"),(0,e.createElement)("span",{className:"block pt-5"},'The "Additional Properties" section allows you to add extra details to your event, which are sent as parameters with the event to GA4.',(0,e.createElement)("p",{className:"pt-2"},"Each property consists of a key and a value. The key is a simple label describing the data, like 'color' or 'level', while the value is the actual information, such as 'red' or 'hard'."),(0,e.createElement)("p",{className:"pt-2"},"These properties help you segment and analyze your event data more granularly in GA4. For instance, if you're tracking a 'video_play' event, additional properties could include 'video_name' as the key and the actual name of the video as the value."),(0,e.createElement)("p",{className:"pt-2"},"This level of detail can give you better insights into user behavior.")),(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Placeholders (Pro Feature)"),(0,e.createElement)("span",{className:"block pt-5"},'Goal Tracker for Google Analytics Pro allows you to use placeholders in the "Additional Properties" section.',(0,e.createElement)("p",{className:"pt-2"},"This feature is useful when you want to track dynamic data, such as the name of a product or the price of an item."),(0,e.createElement)("p",{className:"italic pt-2"},"If you worked with Liquid Templates this is very similar."),(0,e.createElement)("p",{className:"pt-2"},"Here are a few examples:")),(0,e.createElement)("img",{className:"pt-5",src:vi}),(0,e.createElement)("span",{className:"block pt-5 pb-5"},(0,e.createElement)("a",{className:"font-medium text-blue-600 dark:text-blue-500 hover:underline",target:"_blank",href:"https://www.wpgoaltracker.com/ciwr"},"Click here to learn more about Placeholders."))),Ai=()=>(0,e.createElement)("div",null,(0,e.createElement)(Oi,null),(0,e.createElement)(bi,null),(0,e.createElement)(ki,null)),Yi=i.p+"images/RecommendedEvent.3efd48cc.png",Ui=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Recommended Events"),(0,e.createElement)("span",{className:"block pt-5"},"Recommended events in GA4 are pre-configured event types that Google Analytics has identified as significant across a wide range of websites and apps.",(0,e.createElement)("p",{className:"pt-2"},"These include common interactions like 'login', 'search', or 'purchase', which many site owners are interested in tracking."),(0,e.createElement)("p",{className:"pt-2"},"By using these standardized events, even if you're not deeply familiar with analytics, you can benefit from Google's expertise in user behavior tracking."),(0,e.createElement)("p",{className:"pt-2"},"This helps ensure that you're collecting the right data in a format that GA4 can use to generate insightful reports, making it easier for you to understand and analyze your users' actions."),(0,e.createElement)("p",{className:"pt-2"},"Recommended events have pre-defined parameters that are sent to GA4. When you choose an recommended event, we will show you the parameters that are associated with that event.")),(0,e.createElement)("img",{className:"pt-5",src:Yi})),(0,e.createElement)(bi,null)),{apiFetch:Qi}=wp,Gi=r=>{let{eventType:n,currentCustomEvent:i,setCurrentCustomEvent:a,updateFunction:u,open:s,setOpen:o}=r;const l=(0,t.useContext)(Qn),{type:L}=(0,t.useContext)(Un),[c,M]=(0,t.useState)(!1),[j,d]=(0,t.useState)(""),[N,m]=(0,t.useState)(""),[y,g]=(0,t.useState)(""),[x,p]=(0,t.useState)(""),[T,w]=(0,t.useState)(""),[S,E]=(0,t.useState)(""),[D,f]=(0,t.useState)({}),[I,h]=(0,t.useState)(!1),[C,z]=(0,t.useState)(!1),{open:O,setOpenHelpSlider:b,setTitleHelpSlider:v,setComponent:k}=Rt();var A;const[Y,U]=(0,t.useState)(!1),[Q,G]=(0,t.useState)(!1),[P,R]=(0,t.useState)(!1),[F,_]=(0,t.useState)(!1);(0,t.useEffect)((()=>{i&&Object.keys(i).length>0?(d(i.selector),p(i.eventName),f(i.props),h(i.isRecommended),z(!!(i.props&&Object.keys(i.props).length>=25)),A=l[i.eventName]):(d(""),p(""),w(""),E(""),f({}),"Recommended Event"===n&&h(1))}),[s]);const q=(e,t)=>{let r={...D};r[e]=t,f(r)};return(0,e.createElement)(Yn.Provider,{value:{eventNameContext:[x,p],customEventNameContext:[N,m],setEventContext:[e=>{A=l[e];const t=[];null!=A&&Object.keys(A).forEach((function(e){t[e]=""})),h(!!A),p(e),f(t)}],selectorContext:[j,d],eventTypeContext:[n,n]}},(0,e.createElement)(An.Provider,{value:{openItemsForm:c,setOpenItemsForm:M}},(0,e.createElement)(t.Fragment,null,(0,e.createElement)(bt.Root,{show:s,as:t.Fragment},(0,e.createElement)(kn,{as:"div",className:"relative z-[999999]",onClose:o},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"ease-in-out duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-gray-500/75 backdrop-blur-sm transition-opacity"})),(0,e.createElement)("div",{className:"fixed inset-0"}),(0,e.createElement)("div",{className:"fixed inset-0 overflow-hidden"},(0,e.createElement)("div",{className:"absolute inset-0 overflow-hidden"},(0,e.createElement)("div",{className:`pointer-events-none fixed inset-y-0 right-0 flex ${c||O?"w-2/3":"w-1/2"} min-w-[750px] pl-10 transform transition-all ease-in-out duration-500 sm:duration-700`},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"transform transition ease-in-out duration-500 sm:duration-700",enterFrom:"translate-x-full",enterTo:"translate-x-0",leave:"transform transition ease-in-out duration-500 sm:duration-700",leaveFrom:"translate-x-0",leaveTo:"translate-x-full"},(0,e.createElement)(kn.Panel,{className:"pointer-events-auto flex-1"},(0,e.createElement)("form",{id:"event-form",onSubmit:async function(e){if(e.preventDefault(),"event-form"!==e.target.id)return;U(!0);const t={type:L,selector:j,eventName:x,props:D,isRecommended:I};let r=wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/set_event";i&&(r+="?ID="+i.id);let n=await Qi({path:r,method:"POST",data:{type:L,config:t}});Object.keys(n).length>=3?(R(!1),U(!1),_(!1)):(U(!1),R(!0),_(!0)),G(!0),u(),a({}),o(!1)},className:"flex h-full flex-col divide-y divide-gray-200 bg-white shadow-xl"},(0,e.createElement)("div",{"data-component":"form-wrapper",className:"flex min-h-0 flex-1 flex-col "},(0,e.createElement)(hi,{currentCustomEvent:i,eventType:n,onClose:()=>o(!1),handleHelpClick:()=>{v(n+" Help"),k("Recommended Event"===n?Ui:Ai),b(!0)}}),(0,e.createElement)("div",{"data-component":"main-form",className:"overflow-y-scroll bg-gray-100 p-10 flex-1"},(0,e.createElement)("div",{className:"bg-white w-full p-10 rounded-md"},(0,e.createElement)("div",{className:"p-10 min-h-[410px]"},(0,e.createElement)("div",{"data-component":"fieldset-wrapper",className:"mt-6 sm:mt-5 space-y-6 sm:space-y-5"},"Recommended Event"===n?(0,e.createElement)(Di,null):(0,e.createElement)("div",{className:""},(0,e.createElement)("fieldset",{className:"sm:grid sm:grid-cols-3 sm:gap-4 sm:items-start"},(0,e.createElement)("label",{htmlFor:"selector",className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2 required"},"Custom Event Name"),(0,e.createElement)("div",{className:"mt-1 sm:mt-0 sm:col-span-2"},(0,e.createElement)("div",{className:"w-full flex rounded-md shadow-sm"},(0,e.createElement)("input",{required:!0,type:"text",name:"customEvent",id:"customEvent",placeholder:"custom_event_name  ",maxLength:"40",value:x||"",onChange:e=>p(e.target.value),className:"flex-1 block w-full focus:ring-indigo-500 focus:border-indigo-500 min-w-0 rounded-none rounded-r-md sm:text-sm border-gray-300"}))))),(0,e.createElement)(Ii,null)),"Custom Event"===n||"Recommended Event"===n&&x?(0,e.createElement)(t.Fragment,null,"Recommended Event"===n?(0,e.createElement)("div",{"data-component":"fieldset-wrapper",className:"mt-6 sm:mt-20 space-y-6 sm:space-y-5"},(0,e.createElement)("h3",{className:"text-sm leading-6 font-medium text-gray-600 mt-10 border-b border-gray-200 pb-2 uppercase"},(0,e.createElement)("span",{className:"text-gray-600"})," ","Event"," ",(0,e.createElement)("span",{className:"text-gray-600 text-sm uppercase "},"Properties:")),(0,e.createElement)(t.Fragment,null,Object.entries(D).map((t=>{let[r,n]=t;return(0,e.createElement)(fi,{key:r,pKey:r,pValue:n,setProp:q,required:!!I&&l[x][r].required,type:I?l[x][r].type:"text",placeholder:I?l[x][r].placeholder:""})})),D&&"items"in D?(0,e.createElement)(Bn,{eventName:x,eventItems:D.items,updateFunction:e=>{let t={...D};t.items=e,f(t)}}):"")):D&&(0,e.createElement)(t.Fragment,null,(0,e.createElement)("div",{className:"mt-2 sm:mt-5 space-y-6 sm:space-y-5",style:{display:I?"none":"block"}},(0,e.createElement)("div",{className:"sm:grid sm:grid-cols-3 sm:gap-4 sm:items-start sm:border-t sm:border-gray-200 sm:pt-5"},(0,e.createElement)("label",{htmlFor:"selectorType",className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Additional Properties"),(0,e.createElement)("input",{type:"text",name:"dkey",placeholder:"Key",maxLength:"40",id:"dkey",value:T,onChange:e=>w(e.target.value),disabled:C,className:"flex-1 block w-full focus:ring-indigo-500 focus:border-indigo-500 min-w-0 rounded-none rounded-r-md sm:text-sm border-gray-300"}),(0,e.createElement)("input",{type:"text",name:"dvalue",placeholder:"Value",id:"dvalue",maxLength:"100",value:S,onChange:e=>E(e.target.value),disabled:C,className:"flex-1 block w-full focus:ring-indigo-500 focus:border-indigo-500 min-w-0 rounded-none rounded-r-md sm:text-sm border-gray-300"}),(0,e.createElement)("div",{className:"flex w-full justify-end items-end col-end-4"},(0,e.createElement)("button",{type:"button",onClick:()=>{let e={...D};e[T]=S,Object.keys(e).length>=25&&z(!0),f(e)},disabled:C,className:"inline-flex items-center center w-28 px-4 py-1.5 border border-transparent text-xs font-medium rounded text-white bg-brand-primary hover:bg-brand-primary-hover focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-brand-primary-focus"},"Add Property")))),(0,e.createElement)("div",{"data-component":"props-table",className:"flex flex-col bg-gray-50 rounded-50 mt-6 "},(0,e.createElement)(zi,{properties:D,isRecommended:I,recommendedEvents:l,eventName:x,setProp:q,deleteProp:e=>{let t={...D};delete t[e],Object.keys(t).length<25&&z(!1),f(t)}})))):"")))),(0,e.createElement)(Ci,{onCancel:()=>o(!1)})))),!1))))))))},Pi=r=>{let{open:n,toggleDeleteModal:i,customEvent:a,customEventId:u,deleteEvent:s,updateFunction:o}=r;return(0,e.createElement)(bt.Root,{show:n,as:t.Fragment},(0,e.createElement)(kn,{as:"div",className:"relative z-10",onClose:i},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"})),(0,e.createElement)("div",{className:"fixed z-10 inset-0 overflow-y-auto"},(0,e.createElement)("div",{className:"flex items-end sm:items-center justify-center min-h-full p-4 text-center sm:p-0"},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},(0,e.createElement)(kn.Panel,{className:"relative bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:max-w-lg sm:w-full sm:p-6"},(0,e.createElement)("div",{className:"sm:flex sm:items-start"},(0,e.createElement)("div",{className:"mx-auto flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-red-100 sm:mx-0 sm:h-10 sm:w-10"}),(0,e.createElement)("div",{className:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"},(0,e.createElement)(kn.Title,{as:"h3",className:"text-lg leading-6 font-medium text-gray-900"},"Delete Custom Event"),(0,e.createElement)("div",{className:"mt-2"},(0,e.createElement)("p",{className:"text-sm text-gray-500"},"Are you sure you want to delete the"," ",(0,e.createElement)("span",{className:"strong"},a)," ","customEvent?")))),(0,e.createElement)("div",{className:"mt-5 sm:mt-4 sm:flex sm:flex-row-reverse"},(0,e.createElement)("button",{type:"button",className:"w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-red-600 text-base font-medium text-white hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500 focus:ring-red-500 sm:ml-3 sm:w-auto sm:text-sm",onClick:function(){s(u),o(),i()}},"Delete"),(0,e.createElement)("button",{type:"button",className:"mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:w-auto sm:text-sm",onClick:i},"Cancel"))))))))},Ri=t=>{let{pKey:r,pValue:n,del:i}=t;return(0,e.createElement)("div",{"data-component":"tag",className:"mr-3 mb-2 whitespace-nowrap flex",key:r},(0,e.createElement)("span",{className:" items-center px-3 py-0.5 rounded-l-lg text-sm font-medium bg-gray-200 text-gray-600"},r),(0,e.createElement)("span",{className:"items-center px-3 py-0.5 rounded-r-lg text-sm font-medium bg-gray-400 text-white truncate max-w-[10ch] text-ellipsis"},n))},Fi=()=>(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Need Help with Click Tracking?"),(0,e.createElement)("span",{className:"block pt-5 pb-5"},"Our Click Tracking feature allows you to easily monitor clicks on buttons, links, and other elements on your WordPress site. Check out this brief guide and the accompanying video tutorial for a clear, step-by-step explanation on setting up and using Click Tracking to enhance your Google Analytics insights."),(0,e.createElement)("div",null,(0,e.createElement)("iframe",{width:"576",height:"360",src:"https://www.youtube.com/embed/lpG4VNVpemo",title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0}))),_i=()=>(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Need Help with Visibility Tracking?"),(0,e.createElement)("span",{className:"block pt-5 pb-5"},"Our Visibility Tracking feature enables you to effectively track when specific elements, such as ads, banners, or forms, come into view for your site visitors. Consult this concise guide and the accompanying video tutorial for a comprehensive, step-by-step breakdown on configuring and utilizing Visibility Tracking to improve your Google Analytics data."),(0,e.createElement)("div",null,(0,e.createElement)("iframe",{width:"576",height:"360",src:"https://www.youtube.com/embed/9nhR6W5w060",title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0})));function qi(r){let{type:n,customEvents:i,deleteEvent:a,updateFunction:u}=r;const[s,l]=(0,t.useState)(!1),[L,c]=(0,t.useState)(!1),[M,j]=(0,t.useState)([]),[d,N]=(0,t.useState)(!1),[m,y]=(0,t.useState)(!1),[g,x]=(0,t.useState)(!1),[p,T]=(0,t.useState)(),[w,S]=(0,t.useState)(),{setOpenHelpSlider:E,setTitleHelpSlider:D,setComponent:f}=Rt();return(0,t.useLayoutEffect)((()=>{M.length>0&&(M.length,i.length)}),[M]),(0,e.createElement)(Un.Provider,{value:{type:n}},(0,e.createElement)(Qn.Provider,{value:cr},(0,e.createElement)("div",{"data-component":"EventsTable",className:o()("pb-6","bg-white/50","shadow-xl")},(0,e.createElement)(Gi,{eventType:"Recommended Event",currentCustomEvent:w,setCurrentCustomEvent:S,updateFunction:u,open:m,setOpen:y}),(0,e.createElement)(Gi,{eventType:"Custom Event",currentCustomEvent:p,setCurrentCustomEvent:T,updateFunction:u,open:d,setOpen:function(){N(!d)}}),(0,e.createElement)(tr,{setAddCustomEventForm:N,setAddRecommendedEventForm:y}),(0,e.createElement)("div",{className:"mt-8 flex flex-col px-4 lg:px-6"},(0,e.createElement)("div",{className:"-my-2 -mx-4 overflow-x-auto sm:-mx-6 lg:-mx-8"},(0,e.createElement)("div",{className:o()("inline-block min-w-full ","align-middle","py-2 px-4 lg:px-6")},(0,e.createElement)("div",{className:"relative overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg"},(0,e.createElement)("table",{className:"w-full table-fixed divide-y divide-gray-300"},(0,e.createElement)("thead",{className:"bg-white/75"},(0,e.createElement)("tr",null,(0,e.createElement)("th",{scope:"col",className:"min-w-[12rem] py-3.5 pr-3 pl-4 text-left text-sm font-semibold text-gray-900"},"Custom Event Name"),(0,e.createElement)("th",{scope:"col",className:"w-[10rem] relative py-3.5 pl-3 pr-4 sm:pr-6"},(0,e.createElement)("span",{className:"sr-only"},"Edit")))),(0,e.createElement)("tbody",{className:" bg-white w-full"},0==i.length&&!d&&(0,e.createElement)("tr",null,(0,e.createElement)("td",{colSpan:5,className:"w-full"},(0,e.createElement)(Lr,{type:n,setOpenHelpSlider:()=>{const e=`Tracking your first ${n} event`;let t;switch(n){case"click":t=Fi;break;case"visibility":t=_i;break;default:return void console.error(`Unknown tracking type: ${n}`)}D(e),f(t),E(!0)}}))),i.map(((r,n)=>(0,e.createElement)(t.Fragment,{key:n},(0,e.createElement)("tr",{className:o()(M.includes(r)?"bg-gray-50":void 0,"border-b border-gray-400")},(0,e.createElement)("td",{className:o()("px-4 text-base font-medium","py-1","pt-2",M.includes(r)?"text-gtIndigo-600":"text-gray-900")},(0,e.createElement)("div",null,(0,e.createElement)("span",{className:"text-xs text-gray-400 mr-2 uppercase"},"Event Name"),r.eventName),(0,e.createElement)("div",{className:"text-sm text-gray-600 my-2"},(0,e.createElement)("span",{className:"text-xs text-gray-400 mr-2 uppercase"},"Selector"),r.selector),(0,e.createElement)("div",{className:"text-xs text-gray-400 mr-2 mt-4 uppercase"},"Event Properties"),(0,e.createElement)("div",{className:"flex flex-start w-full items-center content-between py-4 flex-wrap"},r.props&&Object.entries(r.props).filter((e=>{let[t,r]=e;return"items"!==t})).map((t=>{let[r,n]=t;return n?(0,e.createElement)(Ri,{key:r,pKey:r,pValue:n,del:""}):""})))),(0,e.createElement)("td",{className:"bg-slate-50/75 py-6 px-2 text-right text-sm font-medium sm:px-4 w-[16rem]"},(0,e.createElement)("div",{className:"flex items-center flex-wrap space-x-1"},(0,e.createElement)("button",{type:"button",onClick:e=>function(e,t){e.preventDefault();let r={...t};r.edit=!0,r.isRecommended?(S({...r}),y(!0)):(T({...r}),N(!0))}(e,r),className:o()("flex-1","hover:shadow-xl flex items-center","px-2.5 py-1.5 border border-transparent","text-xs font-medium rounded shadow-sm","focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-brand-primary-focus","text-white","bg-brand-primary hover:bg-brand-600")},(0,e.createElement)(ur,{className:"h-4 w-4 mr-1","aria-hidden":"true"}),(0,e.createElement)("div",{className:"flex-1"},"Edit")),(0,e.createElement)("button",{type:"button",onClick:e=>function(e,t){e.preventDefault(),T(t),x(!0)}(e,r),className:o()("hover:shadow-xl flex items-center","px-2.5 py-1.5 border border-transparent","text-xs font-medium rounded shadow-sm","focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-brand-primary-focus","text-white","bg-brand-danger hover:bg-brand-danger-hover")},(0,e.createElement)(sr,{className:"h-4 w-4 mx-1","aria-hidden":"true"}),(0,e.createElement)("div",{className:"flex-1 sr-only"},"Delete")))))))))),g&&p&&(0,e.createElement)(Pi,{open:g,toggleDeleteModal:function(){x(!g)},customEvent:p.eventName,customEventId:p.id,deleteEvent:a,updateFunction:u}))))))))}const{useEffect:Bi,useRef:Zi}=wp.element,Wi=(e,t)=>{const r=Zi(!0);Bi((()=>{if(!r.current)return e();r.current=!1}),t)},Hi=e=>Bi((()=>e),[]),{apiFetch:Vi}=wp,{isEqual:Ji}=lodash,Xi=()=>{const[r,n]=(0,t.useState)([{eventName:"",selector:""}]),{showPromo:i,setShowPromo:a}=ir(),[u,s]=(0,t.useState)(!1),[o,l]=(0,t.useState)(!1),[L,c]=(0,t.useState)(!1),[M,j]=(0,t.useState)(!1),d=async()=>{let e=await async function(){return await Vi({path:wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/get_events?type=click"})}();e.length>=2?a(!0):a(!1),n(e)};return(0,t.useEffect)((()=>{d()}),[]),Wi((()=>{})),Hi((()=>{})),(0,e.createElement)(qi,{key:r.selector,type:"click",customEvents:r,deleteEvent:async function(e){let t=await Vi({path:wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/delete_event?id="+e,method:"DELETE"});return d(),t},updateFunction:d})},{apiFetch:Ki}=wp,{isEqual:$i}=lodash,ea=()=>{const[r,n]=(0,t.useState)([{eventName:"",selector:""}]),{showPromo:i,setShowPromo:a}=ir(),[u,s]=(0,t.useState)(!1),[o,l]=(0,t.useState)(!1),[L,c]=(0,t.useState)(!1),[M,j]=(0,t.useState)(!1),d=async()=>{let e=await async function(){return await Ki({path:wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/get_events?type=visibility"})}();e.length>=2?a(!0):a(!1),n(e)};return(0,t.useEffect)((()=>{d()}),[]),Wi((()=>{})),Hi((()=>{})),(0,e.createElement)(e.Fragment,null,(0,e.createElement)(qi,{key:r.selector,type:"visibility",customEvents:r,deleteEvent:async function(e){return await Ki({path:wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/delete_event?id="+e,method:"DELETE"})},updateFunction:d}))};function ta(){return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(me,null,(0,e.createElement)(de,{index:!0,element:(0,e.createElement)(Xi,null)}),(0,e.createElement)(de,{path:"click-tracking",element:(0,e.createElement)(Xi,null)}),(0,e.createElement)(de,{path:"visibility-tracking",element:(0,e.createElement)(ea,null)})))}function ra(){return(0,e.createElement)("article",{className:o()("flex flex-col flex-1 justify-end w-full","relative","rounded-2xl p-6 lg:p-8","sm:flex sm:items-end","lg:items-end","shadow-xl hover:shadow-2xl","bg-slate-800")},(0,e.createElement)("header",{className:"text-start text-3xl font-bold tracking-tight text-white w-full"},(0,e.createElement)("img",{className:o()("object-cover w-28 h-auto mr-2"),src:Zt}),"Track Video & Audio"),(0,e.createElement)("div",{className:"flex-1 w-full justify-self-end mt-4 xl:mt-20 mb-8"},(0,e.createElement)("p",{className:"text-xl font-semibold tracking-tight text-white"},"Are your videos performing well?"),(0,e.createElement)("div",{className:"mt-2 text-base leading-7"},(0,e.createElement)("div",{className:"text-lg text-gray-300"},"Most people underestimate how long it actually takes to create a good video (or a podcast).",(0,e.createElement)("p",{className:"mt-4 text-lg text-gray-300"},"First, there’s the script. Then you have to set up all the gear just right and then all the takes when recording. But that’s even before you start editing the video. ",(0,e.createElement)("br",null),"(or maybe you spent a lot of money having someone else make the video)"),(0,e.createElement)("p",{className:"mt-4 text-lg text-gray-300"},"But are the videos on your website delivering?"," "),(0,e.createElement)("p",{className:"mt-4 text-lg text-gray-300"},"Wouldn’t it be great to see how many people became leads or made a purchase after watching a video?"," "),(0,e.createElement)("p",{className:"mt-4 text-lg text-gray-300"},"Here’s how Goal Tracker Pro can help you:"," ")),(0,e.createElement)("ul",{className:"px-2 space-y-2 divide-y divide-white/10 my-4  text-gray-300"},(0,e.createElement)("li",null,"Track all of your embedded ",(0,e.createElement)("b",{className:"text-white"},"YouTube")," ","videos"),(0,e.createElement)("li",null,"Track all of your ",(0,e.createElement)("b",{className:"text-white"},"Vimeo")," videos"),(0,e.createElement)("li",null,"Track ",(0,e.createElement)("b",{className:"text-white"},"self hosted videos")," (uploaded videos)"),(0,e.createElement)("li",null,"Track self hosted ",(0,e.createElement)("b",{className:"text-white"},"Audio")," (Your music/samples/podcast recordings)")),(0,e.createElement)("div",{className:"mt-2 text-lg text-gray-300"},"Goal Tracker Pro will tell you:"),(0,e.createElement)("ul",{className:"px-2 space-y-2 divide-y divide-white/10 my-4  text-gray-300"},(0,e.createElement)("li",null,"How many people played the video"),(0,e.createElement)("li",null,"Video progress"),(0,e.createElement)("li",null,"How many people finished watching the video")))),(0,e.createElement)("footer",{className:"flex items-center"},(0,e.createElement)("a",{href:wpGoalTrackerGa.upgradeUrl,type:"button",className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent ","bg-white text-brand-primary","px-4 py-2","text-sm font-medium","shadow hover:shadow-xl","transform active:scale-75 hover:scale-110 transition-transform","hover:ring-2 hover:ring-white hover:ring-offset-2","focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2")},(0,e.createElement)("span",{className:"mx-2"},"I want to track my videos"),(0,e.createElement)(Qe,{className:"h-5 w-5","aria-hidden":"true"}))))}function na(){return(0,e.createElement)("article",{className:o()("flex flex-col flex-1 justify-end w-full","relative","rounded-2xl p-6 lg:p-8","sm:flex sm:items-end","lg:items-end","shadow-xl hover:shadow-2xl","bg-indigo-700")},(0,e.createElement)("header",{className:"text-start text-3xl font-bold tracking-tight text-white w-full"},(0,e.createElement)("img",{className:o()("object-cover w-28 h-auto mr-2"),src:Zt}),"Smart Placeholders"),(0,e.createElement)("div",{className:"flex-1 w-full justify-self-end mt-4 xl:mt-20 mb-8"},(0,e.createElement)("p",{className:"text-xl font-semibold tracking-tight text-white"},"Become a GA Power User"),(0,e.createElement)("div",{className:"mt-2 text-base leading-7"},(0,e.createElement)("div",{className:"text-lg text-gray-300"},"One of the biggest hassles in Google Analytics is getting the data into events.",(0,e.createElement)("p",{className:"mt-4 text-lg text-gray-300"},"In GTM, this means working with endless variables. Or writing JavaScript code to make the data available in the first place."),(0,e.createElement)("p",{className:"mt-4 text-lg text-gray-300"},"But we are WordPress users. We want this to be simple."),(0,e.createElement)("p",{className:"mt-4 text-lg text-gray-300"},"So we created the Placeholders feature in Goal Tracker Pro."),(0,e.createElement)("p",{className:"mt-4 text-lg text-gray-300"},(0,e.createElement)("i",null,"(If you’ve worked with email marketing software - think mail merge or liquid templates)")),(0,e.createElement)("p",{className:"mt-4 text-lg text-gray-300"},"Placeholders allow you to add data from the element, page, or session to the event. Here are a few examples:")),(0,e.createElement)("ul",{className:"px-2 space-y-2 divide-y divide-white/10 my-4  text-gray-300"},(0,e.createElement)("li",null,"Page Author"),(0,e.createElement)("li",null,"Post Category"),(0,e.createElement)("li",null,"Value Attribute"),(0,e.createElement)("li",null,"Referrer"),(0,e.createElement)("li",null,"Text"),(0,e.createElement)("li",null,"User Role"),(0,e.createElement)("li",null,"Data Attributes")),(0,e.createElement)("div",{className:"mt-2 text-lg text-gray-300"},"This is a real game changer for power users who work with a lot of events."))),(0,e.createElement)("footer",{className:"flex items-center"},(0,e.createElement)("a",{href:wpGoalTrackerGa.upgradeUrl,type:"button",className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent ","bg-white text-brand-primary","px-4 py-2","text-sm font-medium","shadow hover:shadow-xl","transform active:scale-75 hover:scale-110 transition-transform","hover:ring-2 hover:ring-white hover:ring-offset-2","focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2")},(0,e.createElement)("span",{className:"mx-2"},"Unlock Placeholders"),(0,e.createElement)(Qe,{className:"h-5 w-5","aria-hidden":"true"}))))}const ia=()=>{const[r,n]=(0,t.useState)(!1);return(0,t.useEffect)((()=>{document.querySelector(".toplevel_page_wpcf7")&&n(!0)}),[]),(0,e.createElement)("div",{"data-component":"ProPromo",className:""},(0,e.createElement)("header",{className:"px-6 pt-6 pb-4 rounded-b-xl bg-white"},(0,e.createElement)("aside",{className:o()("flex flex-col flex-1 justify-end w-full","justify-between","rounded-2xl","p-8","lg:max-w-none","lg:flex-none lg:flex-col lg:items-start w-full","bg-white")},(0,e.createElement)("div",null,(0,e.createElement)("span",{"data-component":"tag",className:o()("bg-slate-500","text-white","text-xs px-2 py-1","rounded uppercase")},"PRO")),(0,e.createElement)("div",null,(0,e.createElement)("p",{className:"text-6xl font-semibold tracking-tight text-gray-900"},"Track More"),(0,e.createElement)("p",{className:"mt-2 text-6xl text-gray-600"},"Get More")),(0,e.createElement)("p",{className:"text-base mt-2"},"Upgrade to Goal Tracker Pro to unlock more features and become a Google Analytics power user.",(0,e.createElement)("a",{href:wpGoalTrackerGa.upgradeUrl,type:"button",className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent ","bg-brand-primary text-white","px-4 py-2","text-sm font-medium","shadow hover:shadow-xl","transform active:scale-75 hover:scale-110 transition-transform","hover:ring-2 hover:ring-white hover:ring-offset-2","focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2","ml-4")},(0,e.createElement)("span",{className:"mx-2"},"Go Pro"),(0,e.createElement)(Qe,{className:"h-5 w-5","aria-hidden":"true"}))))),(0,e.createElement)("div",{className:o()("p-10","mx-auto mt-16","flex flex-col xl:flex-row gap-4 xl:gap-6 2xl:gap-8","lg:mx-0 lg:mt-10 lg:max-w-none lg:flex-row lg:items-end")},(0,e.createElement)(ra,null),(0,e.createElement)(na,null),r?(0,e.createElement)("article",{className:o()("flex flex-col flex-1 justify-end w-full","relative","rounded-2xl p-6 lg:p-8","sm:flex sm:items-end","lg:items-end","shadow-xl hover:shadow-2xl","bg-brand-900")},(0,e.createElement)("header",{className:"text-start text-3xl font-bold tracking-tight text-white w-full"},(0,e.createElement)("img",{className:o()("object-cover w-28 h-auto mr-2"),src:Wt}),"Contact Form 7"),(0,e.createElement)("div",{className:"flex-1 w-full justify-self-end mt-4 xl:mt-32 mb-8"},(0,e.createElement)("p",{className:"text-xl font-semibold tracking-tight text-white"},"Track your Contact Form 7 Submissions"," "),(0,e.createElement)("p",{className:"mt-2 text-base leading-7 text-white/70"},(0,e.createElement)("div",{className:"text-lg text-gray-300"},"In Goal Tracker for Google Analytics Pro we integrated with the Contact Form 7 plugin:"),(0,e.createElement)("ul",{className:"px-2 space-y-2 divide-y divide-white/10 my-4  text-gray-300"},(0,e.createElement)("li",null,"Track form submission conversions in Google Analytics."),(0,e.createElement)("li",null,"The plugin can track successful conversions and filter out non relevant clicks."),(0,e.createElement)("li",null,"Optimize your forms - Track form validation issues."),(0,e.createElement)("li",null,"Clean statistics - Get statistics on spam submissions."),(0,e.createElement)("li",null,"Track failed email attempts.")),(0,e.createElement)("div",{className:"text-white"},"Upgrade now to elevate your analytics experience with Contact Form 7 form tracking in Goal Tracker Pro!"))),(0,e.createElement)("footer",{className:"flex items-center"},(0,e.createElement)("a",{href:wpGoalTrackerGa.upgradeUrl,type:"button",className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent ","bg-white text-brand-primary","px-4 py-2","text-sm font-medium","shadow hover:shadow-xl","transform active:scale-75 hover:scale-110 transition-transform","hover:ring-2 hover:ring-white hover:ring-offset-2","focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2")},(0,e.createElement)("span",{className:"mx-2"},"Get Pro Features"),(0,e.createElement)(Qe,{className:"h-5 w-5","aria-hidden":"true"})))):(0,e.createElement)("article",{className:o()("flex flex-col flex-1 justify-end w-full","relative","rounded-2xl p-6 lg:p-8","sm:flex sm:items-end","lg:items-end","shadow-xl hover:shadow-2xl","bg-brand-900")},(0,e.createElement)("header",{className:"text-start text-3xl font-bold tracking-tight text-white w-full"},(0,e.createElement)("img",{className:o()("object-cover w-28 h-auto mr-2"),src:Bt}),"User Tracking"),(0,e.createElement)("div",{className:"flex-1 w-full justify-self-end mt-4 xl:mt-32 mb-8"},(0,e.createElement)("p",{className:"text-xl font-semibold tracking-tight text-white"},"Introducing User Tracking for a Deeper Understanding of Your Audience"),(0,e.createElement)("p",{className:"mt-2 text-base leading-7 text-white/70"},(0,e.createElement)("div",{className:"text-lg text-gray-300"},"Upgrade to Goal Tracker Pro and harness the power of User Tracking:"),(0,e.createElement)("ul",{className:"px-2 space-y-2 divide-y divide-white/10 my-4  text-gray-300"},(0,e.createElement)("li",null,"Gain valuable insights into individual user behavior across multiple sessions and devices."),(0,e.createElement)("li",null,"Enhance your marketing strategies, user experience, and overall website performance with data-driven decisions."),(0,e.createElement)("li",null,"Ensure user privacy protection by using hashed identifiers that comply with data privacy regulations."),(0,e.createElement)("li",null,"Unlock the full potential of your website's analytics capabilities for a more comprehensive view of your audience.")),(0,e.createElement)("div",{className:"text-white"},"Upgrade now to elevate your analytics experience with User Tracking in Goal Tracker Pro!"))),(0,e.createElement)("footer",{className:"flex items-center"},(0,e.createElement)("a",{href:wpGoalTrackerGa.upgradeUrl,type:"button",className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent ","bg-white text-brand-primary","px-4 py-2","text-sm font-medium","shadow hover:shadow-xl","transform active:scale-75 hover:scale-110 transition-transform","hover:ring-2 hover:ring-white hover:ring-offset-2","focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2")},(0,e.createElement)("span",{className:"mx-2"},"Get Pro Features"),(0,e.createElement)(Qe,{className:"h-5 w-5","aria-hidden":"true"}))))))};let aa=(0,t.createContext)(null);function ua(){let e=(0,t.useContext)(aa);if(null===e){let e=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,ua),e}return e}let sa=Ve((function(e,t){let r=Nr(),{id:n=`headlessui-label-${r}`,passive:i=!1,...a}=e,u=ua(),s=Mt(t);at((()=>u.register(n)),[n,u.register]);let o={ref:s,...u.props,id:n};return i&&("onClick"in o&&(delete o.htmlFor,delete o.onClick),"onClick"in a&&delete a.onClick),Ze({ourProps:o,theirProps:a,slot:u.slot||{},defaultTag:"label",name:u.name||"Label"})})),oa=Object.assign(sa,{}),la=(0,t.createContext)(null);la.displayName="GroupContext";let La=t.Fragment,ca=Ve((function(e,r){let n=Nr(),{id:i=`headlessui-switch-${n}`,checked:a,defaultChecked:u=!1,onChange:s,name:o,value:l,...L}=e,c=(0,t.useContext)(la),M=(0,t.useRef)(null),j=Mt(M,r,null===c?null:c.setSwitch),[d,N]=ei(a,s,u),m=lt((()=>null==N?void 0:N(!d))),y=lt((e=>{if(dr(e.currentTarget))return e.preventDefault();e.preventDefault(),m()})),g=lt((e=>{e.key===jr.Space?(e.preventDefault(),m()):e.key===jr.Enter&&function(e){var t;let r=null!=(t=null==e?void 0:e.form)?t:e.closest("form");if(r)for(let e of r.elements)if("INPUT"===e.tagName&&"submit"===e.type||"BUTTON"===e.tagName&&"submit"===e.type||"INPUT"===e.nodeName&&"image"===e.type)return void e.click()}(e.currentTarget)})),x=lt((e=>e.preventDefault())),p=(0,t.useMemo)((()=>({checked:d})),[d]),T={id:i,ref:j,role:"switch",type:Vn(e,M),tabIndex:0,"aria-checked":d,"aria-labelledby":null==c?void 0:c.labelledby,"aria-describedby":null==c?void 0:c.describedby,onClick:y,onKeyUp:g,onKeyPress:x},w=yt();return(0,t.useEffect)((()=>{var e;let t=null==(e=M.current)?void 0:e.closest("form");t&&void 0!==u&&w.addEventListener(t,"reset",(()=>{N(u)}))}),[M,N]),t.createElement(t.Fragment,null,null!=o&&d&&t.createElement(yr,{features:mr.Hidden,...Je({as:"input",type:"checkbox",hidden:!0,readOnly:!0,checked:d,name:o,value:l})}),Ze({ourProps:T,theirProps:L,slot:p,defaultTag:"button",name:"Switch"}))})),Ma=Object.assign(ca,{Group:function(e){var r;let[n,i]=(0,t.useState)(null),[a,u]=function(){let[e,r]=(0,t.useState)([]);return[e.length>0?e.join(" "):void 0,(0,t.useMemo)((()=>function(e){let n=lt((e=>(r((t=>[...t,e])),()=>r((t=>{let r=t.slice(),n=r.indexOf(e);return-1!==n&&r.splice(n,1),r}))))),i=(0,t.useMemo)((()=>({register:n,slot:e.slot,name:e.name,props:e.props})),[n,e.slot,e.name,e.props]);return t.createElement(aa.Provider,{value:i},e.children)}),[r])]}(),[s,o]=Xr(),l=(0,t.useMemo)((()=>({switch:n,setSwitch:i,labelledby:a,describedby:s})),[n,i,a,s]),L=e;return t.createElement(o,{name:"Switch.Description"},t.createElement(u,{name:"Switch.Label",props:{htmlFor:null==(r=l.switch)?void 0:r.id,onClick(e){n&&("LABEL"===e.currentTarget.tagName&&e.preventDefault(),n.click(),n.focus({preventScroll:!0}))}}},t.createElement(la.Provider,{value:l},Ze({ourProps:{},theirProps:L,defaultTag:La,name:"Switch.Group"}))))},Label:oa,Description:$r});const{apiFetch:ja}=wp,da=(0,t.createContext)(void 0),Na=r=>{let{children:n}=r;const[i,a]=(0,t.useState)(!1),[u,s]=(0,t.useState)(""),[o,L]=(0,t.useState)(!1),[c,M]=(0,t.useState)(!1),[j,d]=(0,t.useState)(""),[N,m]=(0,t.useState)(!1),[y,g]=(0,t.useState)(!1),[x,p]=(0,t.useState)(!1),[T,w]=(0,t.useState)(!1),S=(0,t.useContext)(l);if(!S)throw new Error("ChildComponent must be used within a TabContextProvider");const{updateHasIssueByName:E}=S;(0,t.useEffect)((()=>{(async()=>{await f()})()}),[]);const D=e=>{e&&(d(e.measurementID),a(e.trackLinks.enabled),e.trackLinks&&e.trackLinks.enabled&&e.trackLinks.type&&s(e.trackLinks.type),L(e.trackEmailLinks),M(e.disableTrackingForAdmins),m(e.gaDebug),g(e.disablePageView),p(e.noSnippet),e.hideGeneralSettingsTutorial||w(!e.hideGeneralSettingsTutorial)),""===e.measurementID&&!1===e.noSnippet&&E("Settings",!0)},f=async()=>{let e=await ja({path:wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/get_general_settings"});return D(e||{}),e};return(0,e.createElement)(da.Provider,{value:{trackLinks:i,setTrackLinks:a,trackLinksType:u,setTrackLinksType:s,trackEmailLinks:o,setTrackEmailLinks:L,disableTrackingForAdmins:c,setDisableTrackingForAdmins:M,measurementID:j,setMeasurementID:d,gaDebug:N,setGaDebug:m,disablePageView:y,setDisablePageView:g,noSnippet:x,setNoSnippet:p,showTutorial:T,setShowTutorial:w,setSettings:async e=>{e.preventDefault();const t={measurementID:j,gaDebug:N,disablePageView:y,noSnippet:x,trackLinks:{enabled:i,type:u||"all"},trackEmailLinks:o,disableTrackingForAdmins:c};await ja({path:wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/set_general_settings",method:"POST",data:{generalSettings:t}})},getSettings:f,updateSettings:D}},n)},ma=i.p+"images/DebugViewHelp.d6e18691.png",ya=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"DebugView"),(0,e.createElement)("span",{className:"block pt-5"},"The Debug View Integration feature is a helpful tool that lets you enable the GA4 Debug View for your website. This feature allows you to see real-time data from your website's events in Google Analytics, making it easier to test and troubleshoot your tracking setup. With Debug View, you can confirm if your events are being sent correctly and ensure that your data is accurate before you start analyzing it.",(0,e.createElement)("p",null,"We do not recommend toggling this off once you are done testing.")),(0,e.createElement)("img",{className:"pt-5",src:ma}),(0,e.createElement)("span",{className:"block pt-5 pb-5"},"To enable Debug View:",(0,e.createElement)("p",null),(0,e.createElement)("ol",{className:"list-decimal pt-5 list-inside ml-4"},(0,e.createElement)("li",{className:"mb-2"},"Toggle the DebugView option"),(0,e.createElement)("li",{className:"mb-2"},"Visit your website and interact with the elements you're tracking"),(0,e.createElement)("li",{className:"mb-2"},"Go to your Google Analytics account "),(0,e.createElement)("li",{className:"mb-2"},'Locate the "Admin" button at the bottom left corner and click on it'),(0,e.createElement)("li",{className:"mb-2"},'Click on "DebugView" in the "Property" column'),(0,e.createElement)("li",{className:"mb-2"},"Watch as events start showing on the screen")))),ga=i.p+"images/help-measurement-id.2f22bbe3.png",xa=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Measurement Id"),(0,e.createElement)("span",{className:"block pt-5"},'The GA4 Measurement ID is a special code that helps Goal Tracker for Google Analytics plugin connect your WordPress website to Google Analytics 4. This code allows you to collect important information about how people interact with your website. The Measurement ID is a short code that begins with "G-" and is followed by a mix of numbers and letters.'),(0,e.createElement)("img",{className:"block pt-5",src:ga}),(0,e.createElement)("span",{className:"block pt-5 pb-5"},"To find your GA4 Measurement ID, follow these steps:",(0,e.createElement)("ol",{className:"list-decimal pt-5 list-inside ml-4"},(0,e.createElement)("li",{className:"mb-2"},"Sign in to your Google Analytics account"),(0,e.createElement)("li",{className:"mb-2"},'Locate the "Admin" button at the bottom left corner and click on it'),(0,e.createElement)("li",{className:"mb-2"},"Choose the appropriate account and property"),(0,e.createElement)("li",{className:"mb-2"},'Click on "Data Streams" in the "Property" column'),(0,e.createElement)("li",{className:"mb-2"},'Select the data stream labeled "Web"'),(0,e.createElement)("li",{className:"mb-2"},"Find your Measurement ID at the top of the opened page"),(0,e.createElement)("li",{className:"mb-2"},"Copy the code and paste it into the Goal Tracker for Google Analytics plugin settings on your WordPress site")))),pa=()=>(0,e.createElement)("div",null,(0,e.createElement)(xa,null),(0,e.createElement)(ya,null)),Ta=i.p+"images/GoogleTagManagerHelp.389572fe.png",wa=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Goal Tracker and Google Tag Manager"),(0,e.createElement)("span",{className:"block pt-5"},(0,e.createElement)("p",null,'If you are already using Google Tag Manager to track page views on the website, we recommend toggling the "Disable page_view Tracking " option in Goal Tracker.'),(0,e.createElement)("p",null,"The reason is that we want to make sure that you are not sending two page view events every time the page loads.")),(0,e.createElement)("span",{className:"block pt-5 pb-5"},"How can you tell if Google Tag Manager is configured to track page views?",(0,e.createElement)("ol",{className:"list-decimal pt-5 list-inside ml-4"},(0,e.createElement)("li",{className:"mb-2"},"Open Google Tag Manager and go to the tags page"),(0,e.createElement)("li",{className:"mb-2"},'Search for a tag of type "Google Analytics: GA4 Configuration" and click it'),(0,e.createElement)("li",{className:"mb-2"},"Click on the tag configuration "),(0,e.createElement)("li",{className:"mb-2"},'Check if the "Send a page view event when this configuration loads" box has been clicked. If it did then it means that you are using Google Tag Manager to track page views.'))),(0,e.createElement)("img",{className:"pt-5",src:Ta}))),Sa=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Working with third-party Google Analytics plugins"),(0,e.createElement)("span",{className:"block pt-5"},(0,e.createElement)("p",null,'At times, there may be conflicts between our plugin and third-party Google Analytics plugins. In such cases, it is advisable to consider toggling the "Don\'t add the "gtag" code snippet" option.'),(0,e.createElement)("p",null,"When you toggle the option, our plugin will try to work with existing tags on the page."),(0,e.createElement)("p",null,"However, this means that our plugin is limited in how it can configure the integration with Google Analytics. The following features will not be available:")),(0,e.createElement)("span",{className:"block pt-5 pb-5"},(0,e.createElement)("ol",{className:"list-decimal list-inside ml-4"},(0,e.createElement)("li",{className:"mb-2"},"DebugView"),(0,e.createElement)("li",{className:"mb-2"},"Disabling Page View Tracking"),(0,e.createElement)("li",{className:"mb-2"},"User Tracking - Pro feature"),(0,e.createElement)("li",{className:"mb-2"},"Multiple Trackers - Pro feature"))))),Ea=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Link Tracking"),(0,e.createElement)("span",{className:"block pt-5"},"The Email Link Tracking feature in Goal Tracker for Google Analytics specifically tracks email links (mailto:) on your website. It uses the event name ",(0,e.createElement)("code",null,"email_link_click"),' to help you monitor and analyze user interactions with email links. To enable this feature, you need to perform two steps: toggle the feature in the plugin and create a custom dimension "email address" in Google Analytics.'),(0,e.createElement)("span",{className:"block pt-5"},"Follow these steps to enable Email Link Tracking:"),(0,e.createElement)("span",{className:"block pt-5"},(0,e.createElement)("ol",{className:"list-decimal list-inside"},(0,e.createElement)("li",{className:"mb-2"},"Navigate to the Goal Tracker for Google Analytics plugin settings in your WordPress dashboard"),(0,e.createElement)("li",{className:"mb-2"},'Find the "Email Link Tracking" toggle switch and turn it on'),(0,e.createElement)("li",{className:"mb-4"},'Sign in to your Google Analytics account and access the "Admin" section'),(0,e.createElement)("li",{className:"mb-2"},'Under the "Property" column, click on "Custom Definitions" and then "Custom Dimensions"'),(0,e.createElement)("li",{className:"mb-2"},'Click on "Create Custom Dimension" and name it "email address"'),(0,e.createElement)("li",{className:"mb-2"},'Set the "Scope" to "Event" and click on "Create"'))),(0,e.createElement)("span",{className:"block pt-5"},(0,e.createElement)("p",null,"Once you have completed these steps, the plugin will automatically track clicks on email links and send the event data to your Google Analytics 4 property under the event name"," ",(0,e.createElement)("code",null,"email_link_click"),'. The custom dimension "email address" will provide additional insights into the email addresses users interact with on your website.'),(0,e.createElement)("a",{className:"pt-5 font-medium text-blue-600 dark:text-blue-500 hover:underline",target:"_blank",href:"https://www.wpgoaltracker.com/tracking-email-links-with-goal-tracker-for-google-analytics/"},"Click here to learn more about email link tracking."))),Da=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Link Tracking"),(0,e.createElement)("span",{className:"block pt-5"},"Goal Tracker for Google Analytics offers an improved Link Tracking feature as an alternative to GA4's Enhanced Analytics. This feature allows you to track both internal and external links using the event name ",(0,e.createElement)("code",null,"link_click"),", making it more convenient and efficient to work with compared to the standard GA4 implementation."),(0,e.createElement)("span",{className:"block pt-5"},'To enable the link tracking feature, toggle the Track Links option and then select "Track All Links" to track all the links (both internal and external) on the website, or "Track External Links" to track internal links.'),(0,e.createElement)("span",{className:"block pt-5 pb-5"},(0,e.createElement)("a",{className:"font-medium text-blue-600 dark:text-blue-500 hover:underline",target:"_blank",href:"https://www.wpgoaltracker.com/tracking-links-with-goal-tracker-for-google-analytics/"},"Click here to learn more about link tracking."))),fa=()=>(0,e.createElement)("div",null,(0,e.createElement)(Da,null),(0,e.createElement)(Ea,null)),Ia=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"}))})),ha=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-8l-4-4m0 0L8 8m4-4v12"}))})),{apiFetch:Ca}=wp;function za(r){let{getSettings:n,setShowImportNotification:i}=r;const[a,u]=(0,t.useState)(!1),s=(0,t.useRef)(null);return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(Gt,null,(0,e.createElement)(qt,{title:"Configuration backup",titleHelper:"Export / import configuration file",children:void 0}),(0,e.createElement)(Qt,null,(0,e.createElement)(Ut,{label:"Export Configuration",description:"Back up your plugin's settings",id:"",isPrimary:!1},(0,e.createElement)("button",{className:"flex-1 flex items-center text-white bg-brand-primary hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 font-bold py-2 px-4 rounded",onClick:async()=>{const e=await(async()=>await Ca({path:wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/get_entire_config"}))(),t=JSON.stringify(e,null,2),r=new Blob([t],{type:"application/json"}),n=URL.createObjectURL(r),i=`goal-tracker-config-${(new Date).toISOString().slice(0,10).replace(/-/g,"")}.json`,a=document.createElement("a");a.href=n,a.download=i,document.body.appendChild(a),a.click(),document.body.removeChild(a)}},(0,e.createElement)(Ia,{className:"h-5 w-5 text-white-400 mr-2","aria-hidden":"true"}),(0,e.createElement)("span",null,"Download Settings"))),(0,e.createElement)(Ut,{label:"Import Configuration",description:"Restore configuration from backup file",id:"",isPrimary:!1}," ",(0,e.createElement)("button",{className:"flex-1 flex items-center text-white bg-brand-primary hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 font-bold py-2 px-4 rounded",onClick:()=>{s.current.click()}},(0,e.createElement)(ha,{className:"h-5 w-5 text-white-400 mr-2","aria-hidden":"true"}),(0,e.createElement)("span",null,"Upload Settings")),(0,e.createElement)("input",{type:"file",ref:s,style:{display:"none"},onChange:e=>{const t=e.target.files[0];if(!t)return;const r=new FileReader;r.onload=async e=>{try{const t=JSON.parse(e.target.result);await(async e=>{let t=await Ca({path:wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/set_entire_config",method:"POST",data:{config:e}});return await n(),t})(t),i("success")}catch(e){i("failure")}},r.readAsText(t)}})))))}const Oa=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12l2 2 4-4M7.835 4.697a3.42 3.42 0 001.946-.806 3.42 3.42 0 014.438 0 3.42 3.42 0 001.946.806 3.42 3.42 0 013.138 3.138 3.42 3.42 0 00.806 1.946 3.42 3.42 0 010 4.438 3.42 3.42 0 00-.806 1.946 3.42 3.42 0 01-3.138 3.138 3.42 3.42 0 00-1.946.806 3.42 3.42 0 01-4.438 0 3.42 3.42 0 00-1.946-.806 3.42 3.42 0 01-3.138-3.138 3.42 3.42 0 00-.806-1.946 3.42 3.42 0 010-4.438 3.42 3.42 0 00.806-1.946 3.42 3.42 0 013.138-3.138z"}))})),ba=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18.364 18.364A9 9 0 005.636 5.636m12.728 12.728A9 9 0 015.636 5.636m12.728 12.728L5.636 5.636"}))}));function va(r){let{showNotification:n}=r;const[i,a]=(0,t.useState)(!!n);return(0,t.useEffect)((()=>{a(!!n)}),[n]),(0,e.createElement)(t.Fragment,null,(0,e.createElement)("div",{"aria-live":"assertive",className:"pointer-events-none fixed inset-0 flex items-end px-4 py-6 sm:items-start sm:p-6"},(0,e.createElement)("div",{className:"flex w-full flex-col items-center space-y-4 sm:items-end"},(0,e.createElement)(bt,{show:i,as:t.Fragment,enter:"transform ease-out duration-300 transition",enterFrom:"translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-2",enterTo:"translate-y-0 opacity-100 sm:translate-x-0",leave:"transition ease-in duration-100",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"pointer-events-auto w-full max-w-sm overflow-hidden rounded-lg bg-white shadow-lg ring-1 ring-black ring-opacity-5"},(0,e.createElement)("div",{className:"p-4"},(0,e.createElement)("div",{className:"flex items-start"},(0,e.createElement)("div",{className:"flex-shrink-0"},"success"==n?(0,e.createElement)(Oa,{className:"h-6 w-6 text-green-400","aria-hidden":"true"}):(0,e.createElement)(ba,{className:"h-6 w-6 text-red-400","aria-hidden":"true"})),(0,e.createElement)("div",{className:"ml-3 w-0 flex-1 pt-0.5"},(0,e.createElement)("p",{className:"text-sm font-medium text-gray-900"},"success"==n?"Import Successful":"Failed to read the configuration file")),(0,e.createElement)("div",{className:"ml-4 flex flex-shrink-0"},(0,e.createElement)("button",{type:"button",className:"inline-flex rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2",onClick:()=>{a(!1)}},(0,e.createElement)("span",{className:"sr-only"},"Close"),(0,e.createElement)(kt,{className:"h-5 w-5","aria-hidden":"true"}))))))))))}const{useEffect:ka,useRef:Aa}=wp.element,{apiFetch:Ya}=wp,{isEqual:Ua}=lodash,Qa=()=>{const{trackLinks:r,setTrackLinks:n,trackLinksType:i,setTrackLinksType:a,trackEmailLinks:u,setTrackEmailLinks:s,disableTrackingForAdmins:l,setDisableTrackingForAdmins:L,measurementID:c,setMeasurementID:M,gaDebug:j,setGaDebug:d,disablePageView:N,setDisablePageView:m,noSnippet:y,showTutorial:g,setShowTutorial:x,setNoSnippet:p,setSettings:T,getSettings:w,updateSettings:S}=(()=>{const e=(0,t.useContext)(da);if(!e)throw new Error("useGeneralSettings must be used within a GeneralSettingsProvider");return e})(),[E,D]=(0,t.useState)(!1),[f,I]=(0,t.useState)(!1),[h,C]=(0,t.useState)(!1),[z,O]=(0,t.useState)(!1),[b,v]=(0,t.useState)(""),{showPromo:k,setShowPromo:A}=ir();var Y;return(0,t.useEffect)((()=>{(async()=>{await w(),A(""!==c||!y)})()}),[]),(0,t.useEffect)((()=>{O(!0)}),[r,i,u,l,c]),((e,t)=>{const r=Aa(!0);ka((()=>{r.current&&(r.current=!1)}),void 0)})(),Y=()=>{},ka((()=>Y),[]),(0,e.createElement)("div",{className:"bg-white/75"},(0,e.createElement)(Yt,{showTutorial:g,showCloseButton:!0}),(0,e.createElement)("form",{onSubmit:T,className:"bg-white/50 p-5 rounded shadow-xl"},(0,e.createElement)("div",{"data-component":"SectionContainer",className:"space-y-8 sm:space-y-5"},(0,e.createElement)(Gt,null,(0,e.createElement)(qt,{title:"Connect With Google Analytics 4",titleHelper:"Let's connect with Google Analytics GA4.\n              Our plugin will install the Google Analytics GA4 code on your website using these settings.",helpComponent:pa,helpTitle:"Connecting with Google Analytics"}),(0,e.createElement)(Qt,null,(0,e.createElement)(Ut,{label:"MEASUREMENT ID",id:"measurementID",description:"A Measurement ID is a Google Analytics unique identifier (e.g., G-12345) for your website",isPrimary:!1},(0,e.createElement)("div",{className:"max-w-xs flex rounded-md shadow-sm"},(0,e.createElement)("input",{type:"text",name:"measurementID",placeholder:"G-XXXXXXXXXX",id:"measurementID",value:c,onChange:e=>M(e.target.value),className:o()("flex-1 block w-full","focus:ring-brand-primary focus:border-brand-primary-focus","min-w-0 rounded-none","text-sm md:text-2xl","border-gray-300")}))),(0,e.createElement)(Ut,{label:"Enable GA4 Debug View",id:"",description:"",isPrimary:!1},(0,e.createElement)(Ma,{id:"gaDebug",name:"gaDebug",checked:j,onChange:d,className:o()(j?"bg-brand-primary":"bg-slate-500","relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500")},(0,e.createElement)("span",{className:"sr-only"},"GA4 Debug View"),(0,e.createElement)("span",{"aria-hidden":"true",className:o()(j?"translate-x-5":"translate-x-0","pointer-events-none inline-block h-5 w-5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200")}))))),(0,e.createElement)(Gt,null,(0,e.createElement)(qt,{title:"Google Tag Manager",titleHelper:"If you are using Google Tag Manager, you may want to check one of the following.",helpComponent:wa,helpTitle:"Google Tag Manager"}),(0,e.createElement)(Qt,null,(0,e.createElement)(Ut,{label:"Disable page_view Tracking",description:"Useful when tracking page views through Google Tag Manager",id:"",isPrimary:!1},(0,e.createElement)(Ma,{id:"disablePageView",name:"disablePageView",checked:N,onChange:m,className:o()(N?"bg-brand-primary":"bg-slate-500","relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500")},(0,e.createElement)("span",{className:"sr-only"},"Use setting"),(0,e.createElement)("span",{"aria-hidden":"true",className:o()(N?"translate-x-5":"translate-x-0","pointer-events-none inline-block h-5 w-5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200")}))))),(0,e.createElement)(Gt,null,(0,e.createElement)(qt,{title:"Third party Google Analytics plugins",titleHelper:"If you are using other Google Analytics plugins, you may want to check one of the following.",helpComponent:Sa,helpTitle:"Third party Google Analytics plugins"}),(0,e.createElement)(Qt,null,(0,e.createElement)(Ut,{label:'Don\'t add the "gtag" code snippet',description:"Useful when using third-party GA plugins",id:"",isPrimary:!1},(0,e.createElement)(Ma,{id:"noSnippet",name:"noSnippet",checked:y,onChange:p,className:o()(y?"bg-brand-primary":"bg-slate-500","relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500")},(0,e.createElement)("span",{className:"sr-only"},"Use setting"),(0,e.createElement)("span",{"aria-hidden":"true",className:o()(y?"translate-x-5":"translate-x-0","pointer-events-none inline-block h-5 w-5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200")}))))),(0,e.createElement)(Gt,null,(0,e.createElement)(qt,{title:"Custom Events Tracking",titleHelper:"Select the Custom Events that you want to track with Google\n                Analytics GA4:",helpComponent:fa,helpTitle:"CustomEventTracking"}),(0,e.createElement)(Qt,null,(0,e.createElement)(Ut,{label:"Track Links",description:"Auto track all links",id:"",isPrimary:!1},(0,e.createElement)(Ma,{id:"trackLinks",name:"trackLinks",checked:r,onChange:n,className:o()(r?"bg-brand-primary":"bg-slate-500","relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500")},(0,e.createElement)("span",{className:"sr-only"},"Use setting"),(0,e.createElement)("span",{"aria-hidden":"true",className:o()(r?"translate-x-5":"translate-x-0","pointer-events-none inline-block h-5 w-5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200")})),(0,e.createElement)("div",{className:o()(r?"block":"hidden","duration-700,ease-in, overflow-hidden,transition-all")},(0,e.createElement)("select",{id:"trackLinksType",name:"trackLinksType",value:i,onChange:e=>a(e.target.value),className:"max-w-lg block mt-4 focus:ring-indigo-500 focus:border-indigo-500 w-full shadow-sm sm:max-w-xs sm:text-sm border-gray-300 rounded-md"},(0,e.createElement)("option",{value:"all"},"Track All Links"),(0,e.createElement)("option",{value:"external"},"Track External Links"))))),(0,e.createElement)(Qt,null,(0,e.createElement)(Ut,{label:"Track Email Links",description:"Tracking for mailto: links",id:"",isPrimary:!1},(0,e.createElement)(Ma,{id:"trackEmailLinks",name:"trackEmailLinks",checked:u,onChange:s,className:o()(u?"bg-brand-primary":"bg-slate-500","relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500")},(0,e.createElement)("span",{className:"sr-only"},"Use setting"),(0,e.createElement)("span",{"aria-hidden":"true",className:o()(u?"translate-x-5":"translate-x-0","pointer-events-none inline-block h-5 w-5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200")})))),(0,e.createElement)(Qt,null,(0,e.createElement)(Ut,{label:"Don't track admin users",description:"Disable Google Analytics tracking for logged in administrators",id:"",isPrimary:!1},(0,e.createElement)(Ma,{id:"disableTrackingForAdmins",name:"disableTrackingForAdmins",checked:l,onChange:L,className:o()(l?"bg-brand-primary":"bg-slate-500","relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500")},(0,e.createElement)("span",{className:"sr-only"},"Use setting"),(0,e.createElement)("span",{"aria-hidden":"true",className:o()(l?"translate-x-5":"translate-x-0","pointer-events-none inline-block h-5 w-5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200")}))))),(0,e.createElement)(za,{getSettings:w,setShowImportNotification:v}),(0,e.createElement)(va,{showNotification:b})),(0,e.createElement)("footer",{className:"px-5 py-5 bg-white/50 shadow-2xl"},(0,e.createElement)("div",{className:"flex justify-end"},(0,e.createElement)("button",{type:"button",className:"bg-white py-2 px-4 border border-gray-300 rounded-md shadow-sm text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"},"Cancel"),(0,e.createElement)("button",{type:"submit",disabled:!z,className:"disabled:opacity-30 ml-3 inline-flex justify-center py-2 px-4 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-brand-primary hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"},"Save")))))},Ga=r=>{let{title:n,Component:i,open:a,setOpen:u}=r;return(0,e.createElement)(t.Fragment,null,(0,e.createElement)(bt.Root,{show:a,as:t.Fragment},(0,e.createElement)(kn,{as:"div",className:"relative z-[999999]",onClose:u},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"ease-in-out duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"})),(0,e.createElement)("div",{className:"fixed inset-0"}),(0,e.createElement)("div",{className:"fixed inset-0 overflow-hidden"},(0,e.createElement)("div",{className:"absolute inset-0 overflow-hidden"},(0,e.createElement)("div",{className:"pointer-events-none fixed inset-y-0 right-0 flex w-/3 min-w-[600px] pl-10 transform transition-all ease-in-out duration-500 sm:duration-700"},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"transform transition ease-in-out duration-500 sm:duration-700",enterFrom:"translate-x-full",enterTo:"translate-x-0",leave:"transform transition ease-in-out duration-500 sm:duration-700",leaveFrom:"translate-x-0",leaveTo:"translate-x-full"},(0,e.createElement)(kn.Panel,{className:"pointer-events-auto flex-1"},(0,e.createElement)("div",{id:"event-form",className:"flex h-full flex-col divide-y divide-gray-200 bg-white shadow-xl"},(0,e.createElement)("div",{"data-component":"form-wrapper",className:"flex min-h-0 flex-1 flex-col "},(0,e.createElement)("header",{className:"py-5 pl-10 pr-10 sticky top-0 shadow"},(0,e.createElement)("div",{className:"flex items-start justify-between"},(0,e.createElement)(kn.Title,{className:"text-2xl font-medium text-gray-900"},n),(0,e.createElement)("div",{className:"ml-3 flex h-7 items-center"},(0,e.createElement)("button",{type:"button",className:"rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-indigo-500",onClick:()=>u(!1)},(0,e.createElement)("span",{className:"sr-only"},"Close panel"),(0,e.createElement)(kt,{className:"h-6 w-6","aria-hidden":"true"}))))),(0,e.createElement)("div",{"data-component":"main-form",className:"overflow-y-scroll bg-gray-100 p-10 flex-1"},(0,e.createElement)("div",{className:"bg-white p-10 rounded-md"},(0,e.createElement)("div",{className:"max-w-[650px] min-h-[410px]"},i)))),(0,e.createElement)("footer",{className:"flex flex-shrink-0 justify-end px-4 py-4"},(0,e.createElement)("button",{type:"button",className:"rounded-md border border-gray-300 bg-white py-2 px-4 text-sm font-medium text-gray-700 shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2",onClick:()=>{u(!1)}},"Close")))))))))))},Pa=r=>{let{children:n}=r;const[i,a]=(0,t.useState)(!1),[u,s]=(0,t.useState)(null),[o,l]=(0,t.useState)("");return(0,e.createElement)(Pt.Provider,{value:{open:i,setOpenHelpSlider:a,setComponent:s,setTitleHelpSlider:l}},n,u&&(0,e.createElement)(Ga,{title:o,Component:u,open:i,setOpen:a}))},Ra=["Review the events you configured in WP Google Analytics Events. ","Suggest a new structure for your events. ","We will log and configure Goal Tracker for Google Analytics for you. "],Fa=t=>{let{feature:r,index:n}=t;return(0,e.createElement)("li",{className:"p-2 shadow rounded flex border border-grey-100/10"},n&&(0,e.createElement)("span",{className:"rounded-full w-6 h-6 bg-brand-primary text-white justify-center flex items-center"},n),(0,e.createElement)("span",{className:"ml-2 flex-1 text-base"},r))},_a=()=>{const[r,n]=(0,t.useState)(""),[i,a]=(0,t.useState)(!1);return(0,e.createElement)("section",{className:"bg-white/50 py-4"},!i&&(0,e.createElement)("div",{className:"bg-white py-4 rounded-md border border-gray-200 my-10 mx-4 shadow-xl"},(0,e.createElement)("div",{className:""},(0,e.createElement)("div",{className:"px-4 py-5 sm:p-6"},(0,e.createElement)("h3",{className:"text-3xl mb-6 leading-10 text-gray-900 max-w-xl"},"Are you migrating your events from WP Google Analytics Events?"),(0,e.createElement)("div",{className:"mt-2 max-w-2xl text-gray-500 p-2 text-lg"},(0,e.createElement)("p",{className:"text-lg"},"I am guessing that moving to GA4 was quite an"," ",(0,e.createElement)("span",{className:"italic"},"experience")," for you."),(0,e.createElement)("p",{className:"text-lg mt-5"},"But if you just migrated from our old plugin - WP Google Analytics Events - there is one more step. And that is to migrate your events."," "),(0,e.createElement)("p",{className:"text-lg mt-5"},"Let me explain (overwhelmed? Skip to the next section right after the video)."),(0,e.createElement)("p",{className:"text-lg mt-5"},"One of the big changes in GA4 is the event structure. Events used to have three main fields - Category, Action, and Label. Now, in GA4, events will have a name and then a set of attributes that you can configure. This makes events much more powerful in GA4, but it also means that you have to rethink how you structure your events (It’s a good thing!)."),(0,e.createElement)("p",{className:"text-lg mt-5"},(0,e.createElement)("span",{className:"mb-5"},"Here is a short video explaining the changes:"),(0,e.createElement)("iframe",{className:"mt-5",width:"560",height:"315",src:"https://www.youtube.com/embed/Xn4NoJ0RkJU",title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0})),(0,e.createElement)("p",{className:"text-lg font-bold mt-10"},"But what if you have a lot of events and very little time?"," ",(0,e.createElement)("br",null),"Or if this is just too overwhelming?"," "),(0,e.createElement)("p",{className:"text-lg mt-5"},"For our Pro plugin users and with a one-time fee, we offer a done-for-you migration service from WP Google Analytics Events/Pro to Goal Tracker for Google Analytics:"),(0,e.createElement)("ul",{role:"list",className:"list-inside p-1 mt-5"},Ra.map(((t,r)=>(0,e.createElement)(Fa,{key:r,feature:t,index:r+1})))),(0,e.createElement)("p",{className:"text-lg mt-5"},"All you have to do is click the button below to open our contact form and fill in your details. We will get in touch with you to start the process.")),(0,e.createElement)("form",{className:"mt-5 sm:items-center max-w-xl px-4 py-2"},(0,e.createElement)("div",{className:"text-brand-primary text-lg mb-2"},"👉 Start your migration:"),(0,e.createElement)("fieldset",{className:"flex"},(0,e.createElement)("div",{className:"w-full flex"},(0,e.createElement)("label",{htmlFor:"email",className:"sr-only"},"Email"),(0,e.createElement)("input",{type:"email",name:"email",id:"email",value:r,onChange:e=>n(e.target.value),className:o()("shadow-sm ","focus:ring-indigo-500 focus:border-indigo-500 ","flex-1 text-lg","border-gray-300 rounded-l rounder-r-0 p-2"),placeholder:"you@example.com"})),(0,e.createElement)("button",{type:"submit",onClick:async function(e){e.preventDefault();const t=window.location.protocol+"//"+window.location.host;let n=new FormData;n.append("fields[email]",r),n.append("fields[website]",t),await Oe()({url:"https://assets.mailerlite.com/jsonp/31991/forms/92865853511435498/subscribe",method:"POST",data:n,headers:{"Content-Type":"multipart/form-data"}}),a(!0)},className:o()("capitalize inline-flex","items-center justify-center","rounded-r","border border-transparent bg-brand-primary","px-4 py-2","text-lg font-medium text-white","shadow-sm","hover:bg-brand-600","focus:outline-none focus:ring-2 focus:ring-brand-primary-focus focus:ring-offset-2","transform active:scale-75 hover:scale-105 transition-transform")},"Submit"))),(0,e.createElement)("div",{className:"max-w-2xl"},(0,e.createElement)("p",{className:"text-lg mt-5 text-gray-500 italic"},"This service is available to our Pro plugin users for a one-time fee of $99."))))),i&&(0,e.createElement)("div",{className:"min-h-full pt-16 pb-12 flex flex-col bg-white"},(0,e.createElement)("main",{className:"flex-grow flex flex-col justify-center max-w-7xl w-full mx-auto px-4 sm:px-6 lg:px-8"},(0,e.createElement)("div",{className:"flex-shrink-0 flex justify-center"},(0,e.createElement)("span",{className:"sr-only"},"Workflow"),(0,e.createElement)("img",{className:"h-28 w-auto",src:be,alt:""})),(0,e.createElement)("div",{className:"py-16"},(0,e.createElement)("div",{className:"text-center"},(0,e.createElement)("h1",{className:"mt-2 text-2xl font-extrabold text-gray-900 tracking-tight sm:text-4xl"},"Our team is on it and will be in touch soon"),(0,e.createElement)("div",{className:"mt-6"})))),(0,e.createElement)("footer",{className:"flex-shrink-0 max-w-7xl w-full mx-auto px-4 sm:px-6 lg:px-8"})))},{__:qa}=wp.i18n,{render:Ba,useState:Za}=wp.element,{apiFetch:Wa}=wp,{TabPanel:Ha,Notice:Va,Button:Ja,Card:Xa,CardHeader:Ka,CardBody:$a,CardDivider:eu,CardFooter:tu,Spinner:ru}=wp.components,nu=[{name:"Tracker",href:"/tracker",current:!0,primary:!0,hasIssue:!1,isPromo:!1},{name:"Migrate",href:"/migrate",hasIssue:!1},{name:(0,e.createElement)("span",{"data-component":"tab-title",className:"text-xl uppercase flex-1 flex items-center"},(0,e.createElement)("img",{className:"w-12 h-12",src:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMjggMTI4Ij4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLmNscy0xIHsKICAgICAgICBmaWxsOiAjZmZmOwogICAgICB9CgogICAgICAuY2xzLTIgewogICAgICAgIGZpbGw6ICNlZjNlMmY7CiAgICAgIH0KCiAgICAgIC5jbHMtMyB7CiAgICAgICAgZmlsbDogIzg2OGQ5MzsKICAgICAgfQogICAgPC9zdHlsZT4KICA8L2RlZnM+CiAgPGc+CiAgICA8cGF0aCBkPSJtNTAuNzgsMTE3LjgyYy05LjI1LDAtMjAuMDktMi41MS0yOC42NC04Ljc3LTguMTktNS45OS0xMy4xLTE0LjY4LTE0LjItMjUuMS0zLjEzLTI5LjQ4LDIyLjYxLTQxLjcyLDM2LjY1LTQ0LjA4aDBjMTIuMDMtMi4wMSwyNS45NywxLjIsMzUuNTQsOC4xOSw4LDUuODUsMTIuOTksMTQuMTksMTQuNDEsMjQuMTMsMy42LDI1LjE3LTE1LjYsNDAuODctMzQuOTcsNDQuODEtMi42My41NC01LjYxLjgzLTguNzguODNab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43LDcwLjg0Yy0xLjEtNS42NC0uNDYtMTAuNTIsMy4wOS0xMS4yczguNjYsMy4wNyw5Ljc2LDguNzEtMi4yNCwxMS4wNC01Ljc5LDExLjczYy0zLjU1LjY5LTUuOTYtMy41OS03LjA2LTkuMjNaIi8+CiAgPHBhdGggZD0ibTEwNS4xLDUwLjAzYzEuNC0uMjgsMi44My41MiwzLjI5LDEuOTEsMS4yMSwzLjY1LjM3LDkuMDUtMi4xMywxMy43Ny0yLjIsNC4xNC01LjI4LDYuOTYtOC42Nyw3LjkyLTEuNTIuNDQtMy4xMi0uNDYtMy41NS0xLjk4LS40My0xLjUzLjQ2LTMuMTIsMS45OC0zLjU1LDEuODQtLjUyLDMuNzMtMi4zNyw1LjE2LTUuMDgsMS45NS0zLjY3LDIuMzUtNy40NCwxLjc1LTkuMjctLjUtMS41MS4zMi0zLjEzLDEuODItMy42My4xMi0uMDQuMjMtLjA3LjM0LS4wOVoiLz4KICA8cGF0aCBkPSJtOTkuNSw0My44NGMuMTctLjAzLjM0LS4wNS41Mi0uMDYsMS41OS0uMDMsMi45LDEuMjQsMi45MywyLjgyLjAzLDEuNjQsMS4zOSwyLjk1LDMuMDMsMi45MiwxLjYzLS4wMiwyLjk1LTEuMzksMi45Mi0zLjAzLS4wMy0xLjU5LDEuMjQtMi44OSwyLjgyLTIuOTMsMS41OS0uMDMsMi45LDEuMjQsMi45MywyLjgyLjA4LDQuODEtMy43NSw4Ljc4LTguNTcsOC44OC00LjgxLjA5LTguNzktMy43Ni04Ljg4LTguNTctLjAzLTEuNDEuOTctMi42LDIuMy0yLjg3WiIvPgo8L3N2Zz4="}),(0,e.createElement)("span",{className:"mx-4"},"Track More..."),(0,e.createElement)("span",{className:o()("bg-slate-500","text-white","text-xs px-2 py-1","rounded uppercase","ml-4")},"PRO")),href:"/pro",firstTime:!0,hasIssue:!1,isPro:!0,isPromo:!0},{name:"Settings",href:"/settings",rootTab:!0,isFirstTime:!0,hasIssue:!1,icon:(0,e.createElement)(a,{className:"h-8 w-8","aria-hidden":"true"})},{name:"Help",showTitle:!1,href:"/help",firstTime:!0,hasIssue:!1,icon:(0,e.createElement)(u,{className:"h-8 w-8","aria-hidden":"true"})}],iu=[{label:"Click Tracking",path:"/tracker/click-tracking",default:!0},{label:"Visibility Tracking",path:"/tracker/visibility-tracking",default:!1}],au=()=>(0,e.createElement)(L,{initialTabs:nu},(0,e.createElement)(Na,null,(0,e.createElement)($t,{navLinks:iu},(0,e.createElement)(nr,null,(0,e.createElement)(Pa,null,(0,e.createElement)("section",{"data-component":"PluginMain",className:"relative"},(0,e.createElement)(Se,null,(0,e.createElement)(ar,null),(0,e.createElement)(me,null,(0,e.createElement)(de,{path:"/tracker/*",element:(0,e.createElement)(ta,null)}),(0,e.createElement)(de,{path:"/migrate",element:(0,e.createElement)(_a,null)}),(0,e.createElement)(de,{path:"/pro",element:(0,e.createElement)(ia,null)}),(0,e.createElement)(de,{path:"/help",element:(0,e.createElement)(Ae,null)}),(0,e.createElement)(de,{path:"/settings",element:(0,e.createElement)(Qa,null)}),(0,e.createElement)(de,{path:"/",element:(0,e.createElement)(Qa,null)}))),(0,e.createElement)(vt,null)))))));document.addEventListener("DOMContentLoaded",(()=>{void 0!==document.getElementById(wpGoalTrackerGa.root_id)&&null!==document.getElementById(wpGoalTrackerGa.root_id)&&Ba((0,e.createElement)(au,null),document.getElementById(wpGoalTrackerGa.root_id))}))})()})();
     1(()=>{var e,t,r={431:(e,t,r)=>{const i=r(196),a=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{fillRule:"evenodd",d:"M10.293 3.293a1 1 0 011.414 0l6 6a1 1 0 010 1.414l-6 6a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-4.293-4.293a1 1 0 010-1.414z",clipRule:"evenodd"}))}));e.exports=a},977:(e,t,r)=>{const i=r(196),a=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-3a1 1 0 00-.867.5 1 1 0 11-1.731-1A3 3 0 0113 8a3.001 3.001 0 01-2 2.83V11a1 1 0 11-2 0v-1a1 1 0 011-1 1 1 0 100-2zm0 8a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"}))}));e.exports=a},644:(e,t,r)=>{e.exports=r(308)},353:(e,t,r)=>{"use strict";var i=r(44),a=r(955),n=r(233),u=r(30),s=r(948),o=r(875),l=r(842),L=r(618),M=r(560),c=r(714);e.exports=function(e){return new Promise((function(t,r){var j,d=e.data,N=e.headers,y=e.responseType;function m(){e.cancelToken&&e.cancelToken.unsubscribe(j),e.signal&&e.signal.removeEventListener("abort",j)}i.isFormData(d)&&delete N["Content-Type"];var x=new XMLHttpRequest;if(e.auth){var g=e.auth.username||"",p=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";N.Authorization="Basic "+btoa(g+":"+p)}var T=s(e.baseURL,e.url);function w(){if(x){var i="getAllResponseHeaders"in x?o(x.getAllResponseHeaders()):null,n={data:y&&"text"!==y&&"json"!==y?x.response:x.responseText,status:x.status,statusText:x.statusText,headers:i,config:e,request:x};a((function(e){t(e),m()}),(function(e){r(e),m()}),n),x=null}}if(x.open(e.method.toUpperCase(),u(T,e.params,e.paramsSerializer),!0),x.timeout=e.timeout,"onloadend"in x?x.onloadend=w:x.onreadystatechange=function(){x&&4===x.readyState&&(0!==x.status||x.responseURL&&0===x.responseURL.indexOf("file:"))&&setTimeout(w)},x.onabort=function(){x&&(r(L("Request aborted",e,"ECONNABORTED",x)),x=null)},x.onerror=function(){r(L("Network Error",e,null,x)),x=null},x.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",i=e.transitional||M;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(L(t,e,i.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",x)),x=null},i.isStandardBrowserEnv()){var S=(e.withCredentials||l(T))&&e.xsrfCookieName?n.read(e.xsrfCookieName):void 0;S&&(N[e.xsrfHeaderName]=S)}"setRequestHeader"in x&&i.forEach(N,(function(e,t){void 0===d&&"content-type"===t.toLowerCase()?delete N[t]:x.setRequestHeader(t,e)})),i.isUndefined(e.withCredentials)||(x.withCredentials=!!e.withCredentials),y&&"json"!==y&&(x.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&x.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&x.upload&&x.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(j=function(e){x&&(r(!e||e&&e.type?new c("canceled"):e),x.abort(),x=null)},e.cancelToken&&e.cancelToken.subscribe(j),e.signal&&(e.signal.aborted?j():e.signal.addEventListener("abort",j))),d||(d=null),x.send(d)}))}},308:(e,t,r)=>{"use strict";var i=r(44),a=r(95),n=r(215),u=r(937),s=function e(t){var r=new n(t),s=a(n.prototype.request,r);return i.extend(s,n.prototype,r),i.extend(s,r),s.create=function(r){return e(u(t,r))},s}(r(663));s.Axios=n,s.Cancel=r(714),s.CancelToken=r(89),s.isCancel=r(41),s.VERSION=r(241).version,s.all=function(e){return Promise.all(e)},s.spread=r(783),s.isAxiosError=r(587),e.exports=s,e.exports.default=s},714:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},89:(e,t,r)=>{"use strict";var i=r(714);function a(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,i=r._listeners.length;for(t=0;t<i;t++)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,i=new Promise((function(e){r.subscribe(e),t=e})).then(e);return i.cancel=function(){r.unsubscribe(t)},i},e((function(e){r.reason||(r.reason=new i(e),t(r.reason))}))}a.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},a.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},a.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},a.source=function(){var e;return{token:new a((function(t){e=t})),cancel:e}},e.exports=a},41:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},215:(e,t,r)=>{"use strict";var i=r(44),a=r(30),n=r(946),u=r(895),s=r(937),o=r(525),l=o.validators;function L(e){this.defaults=e,this.interceptors={request:new n,response:new n}}L.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;void 0!==r&&o.assertOptions(r,{silentJSONParsing:l.transitional(l.boolean),forcedJSONParsing:l.transitional(l.boolean),clarifyTimeoutError:l.transitional(l.boolean)},!1);var i=[],a=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,i.unshift(e.fulfilled,e.rejected))}));var n,L=[];if(this.interceptors.response.forEach((function(e){L.push(e.fulfilled,e.rejected)})),!a){var M=[u,void 0];for(Array.prototype.unshift.apply(M,i),M=M.concat(L),n=Promise.resolve(t);M.length;)n=n.then(M.shift(),M.shift());return n}for(var c=t;i.length;){var j=i.shift(),d=i.shift();try{c=j(c)}catch(e){d(e);break}}try{n=u(c)}catch(e){return Promise.reject(e)}for(;L.length;)n=n.then(L.shift(),L.shift());return n},L.prototype.getUri=function(e){return e=s(this.defaults,e),a(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},i.forEach(["delete","get","head","options"],(function(e){L.prototype[e]=function(t,r){return this.request(s(r||{},{method:e,url:t,data:(r||{}).data}))}})),i.forEach(["post","put","patch"],(function(e){L.prototype[e]=function(t,r,i){return this.request(s(i||{},{method:e,url:t,data:r}))}})),e.exports=L},946:(e,t,r)=>{"use strict";var i=r(44);function a(){this.handlers=[]}a.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},a.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},a.prototype.forEach=function(e){i.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=a},948:(e,t,r)=>{"use strict";var i=r(192),a=r(762);e.exports=function(e,t){return e&&!i(t)?a(e,t):t}},618:(e,t,r)=>{"use strict";var i=r(935);e.exports=function(e,t,r,a,n){var u=new Error(e);return i(u,t,r,a,n)}},895:(e,t,r)=>{"use strict";var i=r(44),a=r(556),n=r(41),u=r(663),s=r(714);function o(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s("canceled")}e.exports=function(e){return o(e),e.headers=e.headers||{},e.data=a.call(e,e.data,e.headers,e.transformRequest),e.headers=i.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),i.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||u.adapter)(e).then((function(t){return o(e),t.data=a.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return n(t)||(o(e),t&&t.response&&(t.response.data=a.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},935:e=>{"use strict";e.exports=function(e,t,r,i,a){return e.config=t,r&&(e.code=r),e.request=i,e.response=a,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},937:(e,t,r)=>{"use strict";var i=r(44);e.exports=function(e,t){t=t||{};var r={};function a(e,t){return i.isPlainObject(e)&&i.isPlainObject(t)?i.merge(e,t):i.isPlainObject(t)?i.merge({},t):i.isArray(t)?t.slice():t}function n(r){return i.isUndefined(t[r])?i.isUndefined(e[r])?void 0:a(void 0,e[r]):a(e[r],t[r])}function u(e){if(!i.isUndefined(t[e]))return a(void 0,t[e])}function s(r){return i.isUndefined(t[r])?i.isUndefined(e[r])?void 0:a(void 0,e[r]):a(void 0,t[r])}function o(r){return r in t?a(e[r],t[r]):r in e?a(void 0,e[r]):void 0}var l={url:u,method:u,data:u,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:o};return i.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=l[e]||n,a=t(e);i.isUndefined(a)&&t!==o||(r[e]=a)})),r}},955:(e,t,r)=>{"use strict";var i=r(618);e.exports=function(e,t,r){var a=r.config.validateStatus;r.status&&a&&!a(r.status)?t(i("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)}},556:(e,t,r)=>{"use strict";var i=r(44),a=r(663);e.exports=function(e,t,r){var n=this||a;return i.forEach(r,(function(r){e=r.call(n,e,t)})),e}},663:(e,t,r)=>{"use strict";var i=r(44),a=r(868),n=r(935),u=r(560),s={"Content-Type":"application/x-www-form-urlencoded"};function o(e,t){!i.isUndefined(e)&&i.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var l,L={transitional:u,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(l=r(353)),l),transformRequest:[function(e,t){return a(t,"Accept"),a(t,"Content-Type"),i.isFormData(e)||i.isArrayBuffer(e)||i.isBuffer(e)||i.isStream(e)||i.isFile(e)||i.isBlob(e)?e:i.isArrayBufferView(e)?e.buffer:i.isURLSearchParams(e)?(o(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):i.isObject(e)||t&&"application/json"===t["Content-Type"]?(o(t,"application/json"),function(e,t,r){if(i.isString(e))try{return(0,JSON.parse)(e),i.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||L.transitional,r=t&&t.silentJSONParsing,a=t&&t.forcedJSONParsing,u=!r&&"json"===this.responseType;if(u||a&&i.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(u){if("SyntaxError"===e.name)throw n(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],(function(e){L.headers[e]={}})),i.forEach(["post","put","patch"],(function(e){L.headers[e]=i.merge(s)})),e.exports=L},560:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},241:e=>{e.exports={version:"0.26.1"}},95:e=>{"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),i=0;i<r.length;i++)r[i]=arguments[i];return e.apply(t,r)}}},30:(e,t,r)=>{"use strict";var i=r(44);function a(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var n;if(r)n=r(t);else if(i.isURLSearchParams(t))n=t.toString();else{var u=[];i.forEach(t,(function(e,t){null!=e&&(i.isArray(e)?t+="[]":e=[e],i.forEach(e,(function(e){i.isDate(e)?e=e.toISOString():i.isObject(e)&&(e=JSON.stringify(e)),u.push(a(t)+"="+a(e))})))})),n=u.join("&")}if(n){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e}},762:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},233:(e,t,r)=>{"use strict";var i=r(44);e.exports=i.isStandardBrowserEnv()?{write:function(e,t,r,a,n,u){var s=[];s.push(e+"="+encodeURIComponent(t)),i.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),i.isString(a)&&s.push("path="+a),i.isString(n)&&s.push("domain="+n),!0===u&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},192:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},587:(e,t,r)=>{"use strict";var i=r(44);e.exports=function(e){return i.isObject(e)&&!0===e.isAxiosError}},842:(e,t,r)=>{"use strict";var i=r(44);e.exports=i.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function a(e){var i=e;return t&&(r.setAttribute("href",i),i=r.href),r.setAttribute("href",i),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=a(window.location.href),function(t){var r=i.isString(t)?a(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},868:(e,t,r)=>{"use strict";var i=r(44);e.exports=function(e,t){i.forEach(e,(function(r,i){i!==t&&i.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[i])}))}},875:(e,t,r)=>{"use strict";var i=r(44),a=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,n,u={};return e?(i.forEach(e.split("\n"),(function(e){if(n=e.indexOf(":"),t=i.trim(e.substr(0,n)).toLowerCase(),r=i.trim(e.substr(n+1)),t){if(u[t]&&a.indexOf(t)>=0)return;u[t]="set-cookie"===t?(u[t]?u[t]:[]).concat([r]):u[t]?u[t]+", "+r:r}})),u):u}},783:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},525:(e,t,r)=>{"use strict";var i=r(241).version,a={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){a[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var n={};a.transitional=function(e,t,r){function a(e,t){return"[Axios v"+i+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,i,u){if(!1===e)throw new Error(a(i," has been removed"+(t?" in "+t:"")));return t&&!n[i]&&(n[i]=!0,console.warn(a(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,i,u)}},e.exports={assertOptions:function(e,t,r){if("object"!=typeof e)throw new TypeError("options must be an object");for(var i=Object.keys(e),a=i.length;a-- >0;){var n=i[a],u=t[n];if(u){var s=e[n],o=void 0===s||u(s,n,e);if(!0!==o)throw new TypeError("option "+n+" must be "+o)}else if(!0!==r)throw Error("Unknown option "+n)}},validators:a}},44:(e,t,r)=>{"use strict";var i=r(95),a=Object.prototype.toString;function n(e){return Array.isArray(e)}function u(e){return void 0===e}function s(e){return"[object ArrayBuffer]"===a.call(e)}function o(e){return null!==e&&"object"==typeof e}function l(e){if("[object Object]"!==a.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function L(e){return"[object Function]"===a.call(e)}function M(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),n(e))for(var r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.call(null,e[a],a,e)}e.exports={isArray:n,isArrayBuffer:s,isBuffer:function(e){return null!==e&&!u(e)&&null!==e.constructor&&!u(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"[object FormData]"===a.call(e)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&s(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:o,isPlainObject:l,isUndefined:u,isDate:function(e){return"[object Date]"===a.call(e)},isFile:function(e){return"[object File]"===a.call(e)},isBlob:function(e){return"[object Blob]"===a.call(e)},isFunction:L,isStream:function(e){return o(e)&&L(e.pipe)},isURLSearchParams:function(e){return"[object URLSearchParams]"===a.call(e)},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:M,merge:function e(){var t={};function r(r,i){l(t[i])&&l(r)?t[i]=e(t[i],r):l(r)?t[i]=e({},r):n(r)?t[i]=r.slice():t[i]=r}for(var i=0,a=arguments.length;i<a;i++)M(arguments[i],r);return t},extend:function(e,t,r){return M(t,(function(t,a){e[a]=r&&"function"==typeof t?i(t,r):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},779:(e,t)=>{var r;!function(){"use strict";var i={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var n=typeof r;if("string"===n||"number"===n)e.push(r);else if(Array.isArray(r)){if(r.length){var u=a.apply(null,r);u&&e.push(u)}}else if("object"===n){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var s in r)i.call(r,s)&&r[s]&&e.push(s)}}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(r=function(){return a}.apply(t,[]))||(e.exports=r)}()},196:e=>{"use strict";e.exports=window.React}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return r[e](n,n.exports,a),n.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(r,i){if(1&i&&(r=this(r)),8&i)return r;if("object"==typeof r&&r){if(4&i&&r.__esModule)return r;if(16&i&&"function"==typeof r.then)return r}var n=Object.create(null);a.r(n);var u={};e=e||[null,t({}),t([]),t(t)];for(var s=2&i&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>u[e]=()=>r[e]));return u.default=()=>r,a.d(n,u),n},a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;a.g.importScripts&&(e=a.g.location+"");var t=a.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");r.length&&(e=r[r.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e})(),(()=>{"use strict";const e=window.wp.element;var t=a(196),r=a.t(t,2),i=a.n(t);const n=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{d:"M5 4a1 1 0 00-2 0v7.268a2 2 0 000 3.464V16a1 1 0 102 0v-1.268a2 2 0 000-3.464V4zM11 4a1 1 0 10-2 0v1.268a2 2 0 000 3.464V16a1 1 0 102 0V8.732a2 2 0 000-3.464V4zM16 3a1 1 0 011 1v7.268a2 2 0 010 3.464V16a1 1 0 11-2 0v-1.268a2 2 0 010-3.464V4a1 1 0 011-1z"}))})),u=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-3a1 1 0 00-.867.5 1 1 0 11-1.731-1A3 3 0 0113 8a3.001 3.001 0 01-2 2.83V11a1 1 0 11-2 0v-1a1 1 0 011-1 1 1 0 100-2zm0 8a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"}))}));var s=a(779),o=a.n(s);const l=(0,t.createContext)(null),L=r=>{let{initialTabs:i,children:a}=r;const n=(e=>{const[r,i]=(0,t.useState)(e);return{tabs:r,updateTab:(e,t)=>{i((r=>r.map(((r,i)=>i===e?{...r,...t}:r))))},updateTabByName:(e,t)=>{i((r=>r.map((r=>r.name===e?{...r,...t}:r))))},updateHasIssueByName:(e,t)=>{i((r=>r.map((r=>r.name===e?{...r,hasIssue:t}:r))))}}})(i);return(0,e.createElement)(l.Provider,{value:n},a)};function M(){return M=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},M.apply(this,arguments)}var c;!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(c||(c={}));const j="popstate";function d(e,t){if(!1===e||null==e)throw new Error(t)}function N(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function y(e,t){return{usr:e.state,key:e.key,idx:t}}function m(e,t,r,i){return void 0===r&&(r=null),M({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?g(t):t,{state:r,key:t&&t.key||i||Math.random().toString(36).substr(2,8)})}function x(e){let{pathname:t="/",search:r="",hash:i=""}=e;return r&&"?"!==r&&(t+="?"===r.charAt(0)?r:"?"+r),i&&"#"!==i&&(t+="#"===i.charAt(0)?i:"#"+i),t}function g(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let i=e.indexOf("?");i>=0&&(t.search=e.substr(i),e=e.substr(0,i)),e&&(t.pathname=e)}return t}var p;function T(e,t,r){void 0===r&&(r="/");let i=A(("string"==typeof t?g(t):t).pathname||"/",r);if(null==i)return null;let a=w(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let r=e.length===t.length&&e.slice(0,-1).every(((e,r)=>e===t[r]));return r?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(a);let n=null;for(let e=0;null==n&&e<a.length;++e)n=b(a[e],k(i));return n}function w(e,t,r,i){void 0===t&&(t=[]),void 0===r&&(r=[]),void 0===i&&(i="");let a=(e,a,n)=>{let u={relativePath:void 0===n?e.path||"":n,caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};u.relativePath.startsWith("/")&&(d(u.relativePath.startsWith(i),'Absolute route path "'+u.relativePath+'" nested under path "'+i+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),u.relativePath=u.relativePath.slice(i.length));let s=G([i,u.relativePath]),o=r.concat(u);e.children&&e.children.length>0&&(d(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+s+'".'),w(e.children,t,o,s)),(null!=e.path||e.index)&&t.push({path:s,score:O(s,e.index),routesMeta:o})};return e.forEach(((e,t)=>{var r;if(""!==e.path&&null!=(r=e.path)&&r.includes("?"))for(let r of S(e.path))a(e,t,r);else a(e,t)})),t}function S(e){let t=e.split("/");if(0===t.length)return[];let[r,...i]=t,a=r.endsWith("?"),n=r.replace(/\?$/,"");if(0===i.length)return a?[n,""]:[n];let u=S(i.join("/")),s=[];return s.push(...u.map((e=>""===e?n:[n,e].join("/")))),a&&s.push(...u),s.map((t=>e.startsWith("/")&&""===t?"/":t))}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(p||(p={})),new Set(["lazy","caseSensitive","path","id","index","children"]);const E=/^:\w+$/,D=3,I=2,f=1,h=10,z=-2,C=e=>"*"===e;function O(e,t){let r=e.split("/"),i=r.length;return r.some(C)&&(i+=z),t&&(i+=I),r.filter((e=>!C(e))).reduce(((e,t)=>e+(E.test(t)?D:""===t?f:h)),i)}function b(e,t){let{routesMeta:r}=e,i={},a="/",n=[];for(let e=0;e<r.length;++e){let u=r[e],s=e===r.length-1,o="/"===a?t:t.slice(a.length)||"/",l=v({path:u.relativePath,caseSensitive:u.caseSensitive,end:s},o);if(!l)return null;Object.assign(i,l.params);let L=u.route;n.push({params:i,pathname:G([a,l.pathname]),pathnameBase:P(G([a,l.pathnameBase])),route:L}),"/"!==l.pathnameBase&&(a=G([a,l.pathnameBase]))}return n}function v(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[r,i]=function(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!0),N("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let i=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,((e,t)=>(i.push(t),"/([^\\/]+)")));return e.endsWith("*")?(i.push("*"),a+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?a+="\\/*$":""!==e&&"/"!==e&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),i]}(e.path,e.caseSensitive,e.end),a=t.match(r);if(!a)return null;let n=a[0],u=n.replace(/(.)\/+$/,"$1"),s=a.slice(1);return{params:i.reduce(((e,t,r)=>{if("*"===t){let e=s[r]||"";u=n.slice(0,n.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(r){return N(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+r+")."),e}}(s[r]||"",t),e}),{}),pathname:n,pathnameBase:u,pattern:e}}function k(e){try{return decodeURI(e)}catch(t){return N(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function A(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,i=e.charAt(r);return i&&"/"!==i?null:e.slice(r)||"/"}function Y(e,t,r,i){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(i)+"].  Please separate it out to the `to."+r+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function U(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function Q(e,t,r,i){let a;void 0===i&&(i=!1),"string"==typeof e?a=g(e):(a=M({},e),d(!a.pathname||!a.pathname.includes("?"),Y("?","pathname","search",a)),d(!a.pathname||!a.pathname.includes("#"),Y("#","pathname","hash",a)),d(!a.search||!a.search.includes("#"),Y("#","search","hash",a)));let n,u=""===e||""===a.pathname,s=u?"/":a.pathname;if(i||null==s)n=r;else{let e=t.length-1;if(s.startsWith("..")){let t=s.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}n=e>=0?t[e]:"/"}let o=function(e,t){void 0===t&&(t="/");let{pathname:r,search:i="",hash:a=""}="string"==typeof e?g(e):e,n=r?r.startsWith("/")?r:function(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)})),r.length>1?r.join("/"):"/"}(r,t):t;return{pathname:n,search:R(i),hash:F(a)}}(a,n),l=s&&"/"!==s&&s.endsWith("/"),L=(u||"."===s)&&r.endsWith("/");return o.pathname.endsWith("/")||!l&&!L||(o.pathname+="/"),o}const G=e=>e.join("/").replace(/\/\/+/g,"/"),P=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),R=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",F=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";class _ extends Error{}const q=["post","put","patch","delete"],B=(new Set(q),["get",...q]);new Set(B),new Set([301,302,303,307,308]),new Set([307,308]),"undefined"!=typeof window&&void 0!==window.document&&window.document.createElement,Symbol("deferred");const Z="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},{useState:W,useEffect:H,useLayoutEffect:V,useDebugValue:J}=t;function X(e){const t=e.getSnapshot,r=e.value;try{const e=t();return!Z(r,e)}catch(e){return!0}}"undefined"==typeof window||void 0===window.document||window.document.createElement;"useSyncExternalStore"in t&&t.useSyncExternalStore;const K=t.createContext(null),$=t.createContext(null),ee=t.createContext(null),te=t.createContext(null),re=t.createContext({outlet:null,matches:[]}),ie=t.createContext(null);function ae(){return ae=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},ae.apply(this,arguments)}function ne(){return null!=t.useContext(te)}function ue(){return ne()||d(!1),t.useContext(te).location}function se(e,r){let{relative:i}=void 0===r?{}:r,{matches:a}=t.useContext(re),{pathname:n}=ue(),u=JSON.stringify(U(a).map((e=>e.pathnameBase)));return t.useMemo((()=>Q(e,JSON.parse(u),n,"path"===i)),[e,u,n,i])}function oe(){let e=function(){var e;let r=t.useContext(ie),i=function(e){let r=t.useContext($);return r||d(!1),r}(ce.UseRouteError),a=function(e){let r=function(e){let r=t.useContext(re);return r||d(!1),r}(),i=r.matches[r.matches.length-1];return i.route.id||d(!1),i.route.id}(ce.UseRouteError);return r||(null==(e=i.errors)?void 0:e[a])}(),r=function(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),i=e instanceof Error?e.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return t.createElement(t.Fragment,null,t.createElement("h2",null,"Unexpected Application Error!"),t.createElement("h3",{style:{fontStyle:"italic"}},r),i?t.createElement("pre",{style:a},i):null,null)}class le extends t.Component{constructor(e){super(e),this.state={location:e.location,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location?{error:e.error,location:e.location}:{error:e.error||t.error,location:t.location}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error?t.createElement(re.Provider,{value:this.props.routeContext},t.createElement(ie.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Le(e){let{routeContext:r,match:i,children:a}=e,n=t.useContext(K);return n&&n.static&&n.staticContext&&(i.route.errorElement||i.route.ErrorBoundary)&&(n.staticContext._deepestRenderedBoundaryId=i.route.id),t.createElement(re.Provider,{value:r},a)}var Me,ce,je;function de(e){d(!1)}function Ne(e){let{basename:r="/",children:i=null,location:a,navigationType:n=c.Pop,navigator:u,static:s=!1}=e;ne()&&d(!1);let o=r.replace(/^\/*/,"/"),l=t.useMemo((()=>({basename:o,navigator:u,static:s})),[o,u,s]);"string"==typeof a&&(a=g(a));let{pathname:L="/",search:M="",hash:j="",state:N=null,key:y="default"}=a,m=t.useMemo((()=>{let e=A(L,o);return null==e?null:{location:{pathname:e,search:M,hash:j,state:N,key:y},navigationType:n}}),[o,L,M,j,N,y,n]);return null==m?null:t.createElement(ee.Provider,{value:l},t.createElement(te.Provider,{children:i,value:m}))}function ye(e){let{children:r,location:i}=e,a=t.useContext(K);return function(e,r){ne()||d(!1);let{navigator:i}=t.useContext(ee),a=t.useContext($),{matches:n}=t.useContext(re),u=n[n.length-1],s=u?u.params:{},o=(u&&u.pathname,u?u.pathnameBase:"/");u&&u.route;let l,L=ue();if(r){var M;let e="string"==typeof r?g(r):r;"/"===o||(null==(M=e.pathname)?void 0:M.startsWith(o))||d(!1),l=e}else l=L;let j=l.pathname||"/",N=T(e,{pathname:"/"===o?j:j.slice(o.length)||"/"}),y=function(e,r,i){if(void 0===r&&(r=[]),null==e){if(null==i||!i.errors)return null;e=i.matches}let a=e,n=null==i?void 0:i.errors;if(null!=n){let e=a.findIndex((e=>e.route.id&&(null==n?void 0:n[e.route.id])));e>=0||d(!1),a=a.slice(0,Math.min(a.length,e+1))}return a.reduceRight(((e,u,s)=>{let o=u.route.id?null==n?void 0:n[u.route.id]:null,l=null;i&&(l=u.route.ErrorBoundary?t.createElement(u.route.ErrorBoundary,null):u.route.errorElement?u.route.errorElement:t.createElement(oe,null));let L=r.concat(a.slice(0,s+1)),M=()=>{let r=e;return o?r=l:u.route.Component?r=t.createElement(u.route.Component,null):u.route.element&&(r=u.route.element),t.createElement(Le,{match:u,routeContext:{outlet:e,matches:L},children:r})};return i&&(u.route.ErrorBoundary||u.route.errorElement||0===s)?t.createElement(le,{location:i.location,component:l,error:o,children:M(),routeContext:{outlet:null,matches:L}}):M()}),null)}(N&&N.map((e=>Object.assign({},e,{params:Object.assign({},s,e.params),pathname:G([o,i.encodeLocation?i.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?o:G([o,i.encodeLocation?i.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),n,a||void 0);return r&&y?t.createElement(te.Provider,{value:{location:ae({pathname:"/",search:"",hash:"",state:null,key:"default"},l),navigationType:c.Pop}},y):y}(a&&!r?a.router.routes:xe(r),i)}!function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator"}(Me||(Me={})),function(e){e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"}(ce||(ce={})),function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}(je||(je={})),new Promise((()=>{}));class me extends t.Component{constructor(e){super(e),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){console.error("<Await> caught the following error during render",e,t)}render(){let{children:e,errorElement:t,resolve:r}=this.props,i=null,a=je.pending;if(r instanceof Promise)if(this.state.error){je.error;let e=this.state.error;Promise.reject().catch((()=>{})),Object.defineProperty(i,"_tracked",{get:()=>!0}),Object.defineProperty(i,"_error",{get:()=>e})}else r._tracked?void 0!==i._error?je.error:void 0!==i._data?je.success:je.pending:(je.pending,Object.defineProperty(r,"_tracked",{get:()=>!0}),r.then((e=>Object.defineProperty(r,"_data",{get:()=>e})),(e=>Object.defineProperty(r,"_error",{get:()=>e}))));else je.success,Promise.resolve(),Object.defineProperty(i,"_tracked",{get:()=>!0}),Object.defineProperty(i,"_data",{get:()=>r});if(a===je.error&&i._error instanceof AbortedDeferredError)throw neverSettledPromise;if(a===je.error&&!t)throw i._error;if(a===je.error)return React.createElement(AwaitContext.Provider,{value:i,children:t});if(a===je.success)return React.createElement(AwaitContext.Provider,{value:i,children:e});throw i}}function xe(e,r){void 0===r&&(r=[]);let i=[];return t.Children.forEach(e,((e,a)=>{if(!t.isValidElement(e))return;if(e.type===t.Fragment)return void i.push.apply(i,xe(e.props.children,r));e.type!==de&&d(!1),e.props.index&&e.props.children&&d(!1);let n=[...r,a],u={id:e.props.id||n.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(u.children=xe(e.props.children,n)),i.push(u)})),i}function ge(){return ge=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},ge.apply(this,arguments)}function pe(e,t){if(null==e)return{};var r,i,a={},n=Object.keys(e);for(i=0;i<n.length;i++)r=n[i],t.indexOf(r)>=0||(a[r]=e[r]);return a}const Te=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],we=["aria-current","caseSensitive","className","end","style","to","children"];function Se(e){let{basename:r,children:i,window:a}=e,n=t.useRef();var u;null==n.current&&(n.current=(void 0===(u={window:a,v5Compat:!0})&&(u={}),function(e,t,r,i){void 0===i&&(i={});let{window:a=document.defaultView,v5Compat:n=!1}=i,u=a.history,s=c.Pop,o=null,l=L();function L(){return(u.state||{idx:null}).idx}function N(){s=c.Pop;let e=L(),t=null==e?null:e-l;l=e,o&&o({action:s,location:p.location,delta:t})}function g(e){let t="null"!==a.location.origin?a.location.origin:a.location.href,r="string"==typeof e?e:x(e);return d(t,"No window.location.(origin|href) available to create URL for href: "+r),new URL(r,t)}null==l&&(l=0,u.replaceState(M({},u.state,{idx:l}),""));let p={get action(){return s},get location(){return e(a,u)},listen(e){if(o)throw new Error("A history only accepts one active listener");return a.addEventListener(j,N),o=e,()=>{a.removeEventListener(j,N),o=null}},createHref:e=>t(a,e),createURL:g,encodeLocation(e){let t=g(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){s=c.Push;let i=m(p.location,e,t);r&&r(i,e),l=L()+1;let M=y(i,l),j=p.createHref(i);try{u.pushState(M,"",j)}catch(e){a.location.assign(j)}n&&o&&o({action:s,location:p.location,delta:1})},replace:function(e,t){s=c.Replace;let i=m(p.location,e,t);r&&r(i,e),l=L();let a=y(i,l),M=p.createHref(i);u.replaceState(a,"",M),n&&o&&o({action:s,location:p.location,delta:0})},go:e=>u.go(e)};return p}((function(e,t){let{pathname:r="/",search:i="",hash:a=""}=g(e.location.hash.substr(1));return m("",{pathname:r,search:i,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){let r=e.document.querySelector("base"),i="";if(r&&r.getAttribute("href")){let t=e.location.href,r=t.indexOf("#");i=-1===r?t:t.slice(0,r)}return i+"#"+("string"==typeof t?t:x(t))}),(function(e,t){N("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),u)));let s=n.current,[o,l]=t.useState({action:s.action,location:s.location});return t.useLayoutEffect((()=>s.listen(l)),[s]),t.createElement(Ne,{basename:r,children:i,location:o.location,navigationType:o.action,navigator:s})}const Ee="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,De=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ie=t.forwardRef((function(e,r){let i,{onClick:a,relative:n,reloadDocument:u,replace:s,state:o,target:l,to:L,preventScrollReset:M}=e,c=pe(e,Te),{basename:j}=t.useContext(ee),N=!1;if("string"==typeof L&&De.test(L)&&(i=L,Ee)){let e=new URL(window.location.href),t=L.startsWith("//")?new URL(e.protocol+L):new URL(L),r=A(t.pathname,j);t.origin===e.origin&&null!=r?L=r+t.search+t.hash:N=!0}let y=function(e,r){let{relative:i}=void 0===r?{}:r;ne()||d(!1);let{basename:a,navigator:n}=t.useContext(ee),{hash:u,pathname:s,search:o}=se(e,{relative:i}),l=s;return"/"!==a&&(l="/"===s?a:G([a,s])),n.createHref({pathname:l,search:o,hash:u})}(L,{relative:n}),m=function(e,r){let{target:i,replace:a,state:n,preventScrollReset:u,relative:s}=void 0===r?{}:r,o=function(){ne()||d(!1);let{basename:e,navigator:r}=t.useContext(ee),{matches:i}=t.useContext(re),{pathname:a}=ue(),n=JSON.stringify(U(i).map((e=>e.pathnameBase))),u=t.useRef(!1);t.useEffect((()=>{u.current=!0}));let s=t.useCallback((function(t,i){if(void 0===i&&(i={}),!u.current)return;if("number"==typeof t)return void r.go(t);let s=Q(t,JSON.parse(n),a,"path"===i.relative);"/"!==e&&(s.pathname="/"===s.pathname?e:G([e,s.pathname])),(i.replace?r.replace:r.push)(s,i.state,i)}),[e,r,n,a]);return s}(),l=ue(),L=se(e,{relative:s});return t.useCallback((t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,i)){t.preventDefault();let r=void 0!==a?a:x(l)===x(L);o(e,{replace:r,state:n,preventScrollReset:u,relative:s})}}),[l,o,L,a,n,i,e,u,s])}(L,{replace:s,state:o,target:l,preventScrollReset:M,relative:n});return t.createElement("a",ge({},c,{href:i||y,onClick:N||u?a:function(e){a&&a(e),e.defaultPrevented||m(e)},ref:r,target:l}))})),fe=t.forwardRef((function(e,r){let{"aria-current":i="page",caseSensitive:a=!1,className:n="",end:u=!1,style:s,to:o,children:l}=e,L=pe(e,we),M=se(o,{relative:L.relative}),c=ue(),j=t.useContext($),{navigator:d}=t.useContext(ee),N=d.encodeLocation?d.encodeLocation(M).pathname:M.pathname,y=c.pathname,m=j&&j.navigation&&j.navigation.location?j.navigation.location.pathname:null;a||(y=y.toLowerCase(),m=m?m.toLowerCase():null,N=N.toLowerCase());let x,g=y===N||!u&&y.startsWith(N)&&"/"===y.charAt(N.length),p=null!=m&&(m===N||!u&&m.startsWith(N)&&"/"===m.charAt(N.length)),T=g?i:void 0;x="function"==typeof n?n({isActive:g,isPending:p}):[n,g?"active":null,p?"pending":null].filter(Boolean).join(" ");let w="function"==typeof s?s({isActive:g,isPending:p}):s;return t.createElement(Ie,ge({},L,{"aria-current":T,className:x,ref:r,style:w,to:o}),"function"==typeof l?l({isActive:g,isPending:p}):l)}));var he,ze;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(he||(he={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(ze||(ze={}));var Ce=a(644),Oe=a.n(Ce);const be=a.p+"images/Smirk.4b4e78cd.png",ve=["Installing and activating the plugin with ease","Connecting the plugin to Google Analytics","Disabling page_view tracking when using Google Tag Manager","Using Debug View for effective event testing and debugging","Simple email and link tracking with just a few clicks","Enabling email link tracking in General Settings and creating a Custom Dimension in Google Analytics","Tracking button clicks with class or ID attributes and custom events","Distinguishing between custom and recommended events","Applying visibility tracking to monitor your call-to-action buttons' exposure"],ke=t=>{let{feature:r,index:i}=t;return(0,e.createElement)("li",{className:"p-2 shadow rounded flex border border-grey-100/10"},i&&(0,e.createElement)("span",{className:"rounded-full w-6 h-6 bg-brand-primary text-white justify-center flex items-center"},i),(0,e.createElement)("span",{className:"ml-2 flex-1 text-base"},r))},Ae=()=>{const[r,i]=(0,t.useState)(""),[a,n]=(0,t.useState)(!1),[u,s]=(0,t.useState)(!0);return(0,e.createElement)("section",{className:"bg-white/50 py-4"},(0,e.createElement)(Yt,{showTutorial:u,showCloseButton:!1}),!a&&(0,e.createElement)("div",{className:"bg-white py-4 rounded-md border border-gray-200 my-10 mx-4 shadow-xl"},(0,e.createElement)("div",{className:""},(0,e.createElement)("div",{className:"px-4 py-5 sm:p-6"},(0,e.createElement)("h3",{className:"text-3xl mb-6 leading-10 text-gray-900 max-w-xl"},"Download the Free Goal Tracker for Google Analytics Getting Started Guide"),(0,e.createElement)("div",{className:"mt-2 max-w-xl text-gray-500 p-2"},(0,e.createElement)("p",{className:"text-xl"},"Get the most out of the Goal Tracker for Google Analytics WordPress plugin with our straightforward Getting Started Guide."),(0,e.createElement)("p",{className:"text-brand-primary text-lg"},"Learn these essential skills to improve your website tracking:"),(0,e.createElement)("ul",{role:"list",className:"list-inside p-1 mt-2"},ve.map(((t,r)=>(0,e.createElement)(ke,{key:r,feature:t,index:r+1}))))),(0,e.createElement)("form",{className:"mt-5 sm:items-center max-w-xl px-4 py-2"},(0,e.createElement)("div",{className:"text-brand-primary text-lg mb-2"},"👉 Download your FREE PDF guide here:"),(0,e.createElement)("fieldset",{className:"flex"},(0,e.createElement)("div",{className:"w-full flex"},(0,e.createElement)("label",{htmlFor:"email",className:"sr-only"},"Email"),(0,e.createElement)("input",{type:"email",name:"email",id:"email",value:r,onChange:e=>i(e.target.value),className:o()("shadow-sm ","focus:ring-indigo-500 focus:border-indigo-500 ","flex-1 text-lg","border-gray-300 rounded-l rounder-r-0 p-2"),placeholder:"you@example.com"})),(0,e.createElement)("button",{type:"submit",onClick:async function(e){e.preventDefault();let t=new FormData;t.append("fields[email]",r),await Oe()({url:"https://assets.mailerlite.com/jsonp/31991/forms/70109343150769330/subscribe",method:"POST",data:t,headers:{"Content-Type":"multipart/form-data"}}),n(!0)},className:o()("capitalize inline-flex","items-center justify-center","rounded-r","border border-transparent bg-brand-primary","px-4 py-2","text-sm font-medium text-white","shadow-sm","hover:bg-brand-600","focus:outline-none focus:ring-2 focus:ring-brand-primary-focus focus:ring-offset-2","transform active:scale-75 hover:scale-105 transition-transform")},"Download")))))),a&&(0,e.createElement)("div",{className:"min-h-full pt-16 pb-12 flex flex-col bg-white"},(0,e.createElement)("main",{className:"flex-grow flex flex-col justify-center max-w-7xl w-full mx-auto px-4 sm:px-6 lg:px-8"},(0,e.createElement)("div",{className:"flex-shrink-0 flex justify-center"},(0,e.createElement)("span",{className:"sr-only"},"Workflow"),(0,e.createElement)("img",{className:"h-28 w-auto",src:be,alt:""})),(0,e.createElement)("div",{className:"py-16"},(0,e.createElement)("div",{className:"text-center"},(0,e.createElement)("h1",{className:"mt-2 text-2xl font-extrabold text-gray-900 tracking-tight sm:text-4xl"},"Check your inbox for the Getting Started Guide"),(0,e.createElement)("div",{className:"mt-6"})))),(0,e.createElement)("footer",{className:"flex-shrink-0 max-w-7xl w-full mx-auto px-4 sm:px-6 lg:px-8"})))};t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{fillRule:"evenodd",d:"M6 2a1 1 0 00-1 1v1H4a2 2 0 00-2 2v10a2 2 0 002 2h12a2 2 0 002-2V6a2 2 0 00-2-2h-1V3a1 1 0 10-2 0v1H7V3a1 1 0 00-1-1zm0 5a1 1 0 000 2h8a1 1 0 100-2H6z",clipRule:"evenodd"}))}));const Ye="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iTGF5ZXJfMSIKICB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHZpZXdCb3g9IjAgMCA5NDkuNTQgMjUzLjU4Ij4KICA8ZGVmcz4KICAgIDxzdHlsZT4uY2xzLTF7ZmlsbDpub25lO30uY2xzLTJ7ZmlsbDojZmZmO30uY2xzLTN7ZmlsbDojZWYzZTJmO308L3N0eWxlPgogICAgPHN5bWJvbCBpZD0iTG9nby1Hb2FsVHJhY2tlciIgdmlld0JveD0iMCAwIDU2OS41NCA4My45MSI+CiAgICAgIDxnPgogICAgICAgIDxwYXRoIGQ9Ik02Ny44OSwzMi45OHMtMjEuMTYtLjExLTI1LjAxLS4xMmMtMi4yMiwwLTMuOTMsLjc0LTUuNDgsMi4yNi00LjcsNC42My0xLjMyLDEzLjc3LDUuNDgsMTMuNDhoMjEuODljLTQuODcsMjMuOTQtMzcuNzQsMjQuODEtNDYuOTIsMy4xMkM3Ljc4LDI3LjM1LDM2LjQyLDQuODcsNTcuNDUsMjEuNDVjOS4zNyw3Ljg2LDE5LjM5LTUuNTYsOS43NC0xMi42OEM2MC4yOSwyLjgyLDUxLjE4LS4wMiw0MS40MSwwLDEyLjM4LS40OS04LjQxLDMxLjM3LDMuMzQsNTcuNzVjMTAuNDMsMjYuNDIsNDcuOSwzNC41Miw2Ni45N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xLDMwLjA1LTc1LjY3LDkwLjYzLDMuNjgsNDUuNjgsNDcuNyw2OS45Nyw4OC4yOCw2OS40NiwzOS40Ny0uMjgsOTkuMTktMjguNDIsOTAuNC05My44MloiLz4KICA8dXNlIHdpZHRoPSIyMDUuNyIgaGVpZ2h0PSIyMDUuNjMiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDI5LjcxIDE3LjEpIiB4bGluazpocmVmPSIjU3ltYm9sLUdvYWxUcmFja2VyIi8+CiAgPHJlY3QgY2xhc3M9ImNscy0xIiB5PSIwIiB3aWR0aD0iOTQ5LjU0IiBoZWlnaHQ9IjI1My41OCIvPgogIDx1c2Ugd2lkdGg9IjQzMy4zMiIgaGVpZ2h0PSI5My43MiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjkxLjM3IDEzMi44MSkgc2NhbGUoMS4xKSIgeGxpbms6aHJlZj0iI05vQ29kZS1HYTQiLz4KICA8dXNlIHdpZHRoPSI1NjkuNTQiIGhlaWdodD0iODMuOTEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDI4Mi43MiAyNy40NykiIHhsaW5rOmhyZWY9IiNMb2dvLUdvYWxUcmFja2VyIi8+Cjwvc3ZnPg==";function Ue(){return(0,e.createElement)("div",{"data-component":"PluginHeader",className:o()("flex items-center justify-between","pb-5 pt-10 px-4 xl:px-8")},(0,e.createElement)("img",{className:"w-64 md:w-72 xl:w-96 h-full",src:Ye}),!1)}a.p;const Qe=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{fillRule:"evenodd",d:"M10.293 3.293a1 1 0 011.414 0l6 6a1 1 0 010 1.414l-6 6a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-4.293-4.293a1 1 0 010-1.414z",clipRule:"evenodd"}))})),Ge="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIi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MTQzLjYsMTkuNDljLTEuODUtMi4xMi01LjE2LS44Ny01LjE2LS44NywwLDAsLjM4LTMuMTUtMi4zMS0zLjk3LTIuNjktLjgzLTguMTIsMS42NC0zLjI2LDEzLjIsMTIuNTQtLjI4LDEyLjU3LTYuMjUsMTAuNzItOC4zNmgwWiIvPgogIDxwYXRoIGNsYXNzPSJjbHMtMyIgZD0ibTE1NS45MSwxMzAuMzZjMS4wMS0yLjYzLTEuNjUtNC45Ni0xLjY1LTQuOTYsMCwwLDIuOTYtMS4xNCwyLjQzLTMuOS0uNTMtMi43Ni01LjI2LTYuNDEtMTMuMTksMy4zMSw2LjEzLDEwLjk1LDExLjQxLDguMTgsMTIuNDIsNS41NWgwWiIvPgogIDxwYXRoIGNsYXNzPSJjbHMtMyIgZD0ibTIxLjY5LDEzLjMxYy0yLjU0LDEuMjItLjU0LDYuMjQtLjU0LDYuMjQsMCwwLTQuNi0yLjctNi4xLS4zMi0xLjUxLDIuMzctLjU4LDguMjcsMTEuODcsNi42NSwzLjA2LTEyLjE3LTIuNjktMTMuNzgtNS4yMi0xMi41NmgwWiIvPgo8L3N2Zz4=",Pe=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"}))})),Re=()=>(0,e.createElement)("span",{className:"whitespace-pre"},(0,e.createElement)(Pe,{className:"h-3 w-3 inline","aria-hidden":"true"}),(0,e.createElement)(Pe,{className:"h-3 w-3 inline","aria-hidden":"true"}),(0,e.createElement)(Pe,{className:"h-3 w-3 inline","aria-hidden":"true"}),(0,e.createElement)(Pe,{className:"h-3 w-3 inline","aria-hidden":"true"}),(0,e.createElement)(Pe,{className:"h-3 w-3 inline","aria-hidden":"true"}));function Fe(...e){return e.filter(Boolean).join(" ")}function _e(e,t,...r){if(e in t){let i=t[e];return"function"==typeof i?i(...r):i}let i=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(i,_e),i}var qe=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(qe||{}),Be=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Be||{});function Ze({ourProps:e,theirProps:t,slot:r,defaultTag:i,features:a,visible:n=!0,name:u}){let s=He(t,e);if(n)return We(s,r,i,u);let o=null!=a?a:0;if(2&o){let{static:e=!1,...t}=s;if(e)return We(t,r,i,u)}if(1&o){let{unmount:e=!0,...t}=s;return _e(e?0:1,{0:()=>null,1:()=>We({...t,hidden:!0,style:{display:"none"}},r,i,u)})}return We(s,r,i,u)}function We(e,r={},i,a){var n;let{as:u=i,children:s,refName:o="ref",...l}=Xe(e,["unmount","static"]),L=void 0!==e.ref?{[o]:e.ref}:{},M="function"==typeof s?s(r):s;"className"in l&&l.className&&"function"==typeof l.className&&(l.className=l.className(r));let c={};if(r){let e=!1,t=[];for(let[i,a]of Object.entries(r))"boolean"==typeof a&&(e=!0),!0===a&&t.push(i);e&&(c["data-headlessui-state"]=t.join(" "))}if(u===t.Fragment&&Object.keys(Je(l)).length>0){if(!(0,t.isValidElement)(M)||Array.isArray(M)&&M.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${a} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(l).map((e=>`  - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>`  - ${e}`)).join("\n")].join("\n"));let e=Fe(null==(n=M.props)?void 0:n.className,l.className),r=e?{className:e}:{};return(0,t.cloneElement)(M,Object.assign({},He(M.props,Je(Xe(l,["ref"]))),c,L,function(...e){return{ref:e.every((e=>null==e))?void 0:t=>{for(let r of e)null!=r&&("function"==typeof r?r(t):r.current=t)}}}(M.ref,L.ref),r))}return(0,t.createElement)(u,Object.assign({},Xe(l,["ref"]),u!==t.Fragment&&L,u!==t.Fragment&&c),M)}function He(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},r={};for(let i of e)for(let e in i)e.startsWith("on")&&"function"==typeof i[e]?(null!=r[e]||(r[e]=[]),r[e].push(i[e])):t[e]=i[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(r).map((e=>[e,void 0]))));for(let e in r)Object.assign(t,{[e](t,...i){let a=r[e];for(let e of a){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;e(t,...i)}}});return t}function Ve(e){var r;return Object.assign((0,t.forwardRef)(e),{displayName:null!=(r=e.displayName)?r:e.name})}function Je(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function Xe(e,t=[]){let r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}let Ke=(0,t.createContext)(null);Ke.displayName="OpenClosedContext";var $e=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))($e||{});function et(){return(0,t.useContext)(Ke)}function tt({value:e,children:r}){return t.createElement(Ke.Provider,{value:e},r)}var rt=Object.defineProperty,it=(e,t,r)=>(((e,t,r)=>{t in e?rt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r})(e,"symbol"!=typeof t?t+"":t,r),r);let at=new class{constructor(){it(this,"current",this.detect()),it(this,"handoffState","pending"),it(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}},nt=(e,r)=>{at.isServer?(0,t.useEffect)(e,r):(0,t.useLayoutEffect)(e,r)};function ut(){let e=(0,t.useRef)(!1);return nt((()=>(e.current=!0,()=>{e.current=!1})),[]),e}function st(e){let r=(0,t.useRef)(e);return nt((()=>{r.current=e}),[e]),r}function ot(){let[e,r]=(0,t.useState)(at.isHandoffComplete);return e&&!1===at.isHandoffComplete&&r(!1),(0,t.useEffect)((()=>{!0!==e&&r(!0)}),[e]),(0,t.useEffect)((()=>at.handoff()),[]),e}let lt=function(e){let r=st(e);return t.useCallback(((...e)=>r.current(...e)),[r])},Lt=Symbol();function Mt(e,t=!0){return Object.assign(e,{[Lt]:t})}function ct(...e){let r=(0,t.useRef)(e);(0,t.useEffect)((()=>{r.current=e}),[e]);let i=lt((e=>{for(let t of r.current)null!=t&&("function"==typeof t?t(e):t.current=e)}));return e.every((e=>null==e||(null==e?void 0:e[Lt])))?void 0:i}function jt(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}function dt(){let e=[],t={addEventListener:(e,r,i,a)=>(e.addEventListener(r,i,a),t.add((()=>e.removeEventListener(r,i,a)))),requestAnimationFrame(...e){let r=requestAnimationFrame(...e);return t.add((()=>cancelAnimationFrame(r)))},nextFrame:(...e)=>t.requestAnimationFrame((()=>t.requestAnimationFrame(...e))),setTimeout(...e){let r=setTimeout(...e);return t.add((()=>clearTimeout(r)))},microTask(...e){let r={current:!0};return jt((()=>{r.current&&e[0]()})),t.add((()=>{r.current=!1}))},style(e,t,r){let i=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:r}),this.add((()=>{Object.assign(e.style,{[t]:i})}))},group(e){let t=dt();return e(t),this.add((()=>t.dispose()))},add:t=>(e.push(t),()=>{let r=e.indexOf(t);if(r>=0)for(let t of e.splice(r,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}function Nt(e,...t){e&&t.length>0&&e.classList.add(...t)}function yt(e,...t){e&&t.length>0&&e.classList.remove(...t)}function mt(){let[e]=(0,t.useState)(dt);return(0,t.useEffect)((()=>()=>e.dispose()),[e]),e}function xt({container:e,direction:t,classes:r,onStart:i,onStop:a}){let n=ut(),u=mt(),s=st(t);nt((()=>{let t=dt();u.add(t.dispose);let o=e.current;if(o&&"idle"!==s.current&&n.current)return t.dispose(),i.current(s.current),t.add(function(e,t,r,i){let a=r?"enter":"leave",n=dt(),u=void 0!==i?function(e){let t={called:!1};return(...r)=>{if(!t.called)return t.called=!0,e(...r)}}(i):()=>{};"enter"===a&&(e.removeAttribute("hidden"),e.style.display="");let s=_e(a,{enter:()=>t.enter,leave:()=>t.leave}),o=_e(a,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),l=_e(a,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return yt(e,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),Nt(e,...s,...l),n.nextFrame((()=>{yt(e,...l),Nt(e,...o),function(e,t){let r=dt();if(!e)return r.dispose;let{transitionDuration:i,transitionDelay:a}=getComputedStyle(e),[n,u]=[i,a].map((e=>{let[t=0]=e.split(",").filter(Boolean).map((e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e))).sort(((e,t)=>t-e));return t})),s=n+u;if(0!==s){r.group((r=>{r.setTimeout((()=>{t(),r.dispose()}),s),r.addEventListener(e,"transitionrun",(e=>{e.target===e.currentTarget&&r.dispose()}))}));let i=r.addEventListener(e,"transitionend",(e=>{e.target===e.currentTarget&&(t(),i())}))}else t();r.add((()=>t())),r.dispose}(e,(()=>(yt(e,...s),Nt(e,...t.entered),u())))})),n.dispose}(o,r.current,"enter"===s.current,(()=>{t.dispose(),a.current(s.current)}))),t.dispose}),[t])}function gt(e=""){return e.split(" ").filter((e=>e.trim().length>1))}let pt=(0,t.createContext)(null);pt.displayName="TransitionContext";var Tt=(e=>(e.Visible="visible",e.Hidden="hidden",e))(Tt||{});let wt=(0,t.createContext)(null);function St(e){return"children"in e?St(e.children):e.current.filter((({el:e})=>null!==e.current)).filter((({state:e})=>"visible"===e)).length>0}function Et(e,r){let i=st(e),a=(0,t.useRef)([]),n=ut(),u=mt(),s=lt(((e,t=Be.Hidden)=>{let r=a.current.findIndex((({el:t})=>t===e));-1!==r&&(_e(t,{[Be.Unmount](){a.current.splice(r,1)},[Be.Hidden](){a.current[r].state="hidden"}}),u.microTask((()=>{var e;!St(a)&&n.current&&(null==(e=i.current)||e.call(i))})))})),o=lt((e=>{let t=a.current.find((({el:t})=>t===e));return t?"visible"!==t.state&&(t.state="visible"):a.current.push({el:e,state:"visible"}),()=>s(e,Be.Unmount)})),l=(0,t.useRef)([]),L=(0,t.useRef)(Promise.resolve()),M=(0,t.useRef)({enter:[],leave:[],idle:[]}),c=lt(((e,t,i)=>{l.current.splice(0),r&&(r.chains.current[t]=r.chains.current[t].filter((([t])=>t!==e))),null==r||r.chains.current[t].push([e,new Promise((e=>{l.current.push(e)}))]),null==r||r.chains.current[t].push([e,new Promise((e=>{Promise.all(M.current[t].map((([e,t])=>t))).then((()=>e()))}))]),"enter"===t?L.current=L.current.then((()=>null==r?void 0:r.wait.current)).then((()=>i(t))):i(t)})),j=lt(((e,t,r)=>{Promise.all(M.current[t].splice(0).map((([e,t])=>t))).then((()=>{var e;null==(e=l.current.shift())||e()})).then((()=>r(t)))}));return(0,t.useMemo)((()=>({children:a,register:o,unregister:s,onStart:c,onStop:j,wait:L,chains:M})),[o,s,a,c,j,M,L])}function Dt(){}wt.displayName="NestingContext";let It=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function ft(e){var t;let r={};for(let i of It)r[i]=null!=(t=e[i])?t:Dt;return r}let ht=qe.RenderStrategy,zt=Ve((function(e,r){let{show:i,appear:a=!1,unmount:n,...u}=e,s=(0,t.useRef)(null),o=ct(s,r);ot();let l=et();if(void 0===i&&null!==l&&(i=(l&$e.Open)===$e.Open),![!0,!1].includes(i))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[L,M]=(0,t.useState)(i?"visible":"hidden"),c=Et((()=>{M("hidden")})),[j,d]=(0,t.useState)(!0),N=(0,t.useRef)([i]);nt((()=>{!1!==j&&N.current[N.current.length-1]!==i&&(N.current.push(i),d(!1))}),[N,i]);let y=(0,t.useMemo)((()=>({show:i,appear:a,initial:j})),[i,a,j]);(0,t.useEffect)((()=>{if(i)M("visible");else if(St(c)){let e=s.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&M("hidden")}else M("hidden")}),[i,c]);let m={unmount:n};return t.createElement(wt.Provider,{value:c},t.createElement(pt.Provider,{value:y},Ze({ourProps:{...m,as:t.Fragment,children:t.createElement(Ct,{ref:o,...m,...u})},theirProps:{},defaultTag:t.Fragment,features:ht,visible:"visible"===L,name:"Transition"})))})),Ct=Ve((function(e,r){let{beforeEnter:i,afterEnter:a,beforeLeave:n,afterLeave:u,enter:s,enterFrom:o,enterTo:l,entered:L,leave:M,leaveFrom:c,leaveTo:j,...d}=e,N=(0,t.useRef)(null),y=ct(N,r),m=d.unmount?Be.Unmount:Be.Hidden,{show:x,appear:g,initial:p}=function(){let e=(0,t.useContext)(pt);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[T,w]=(0,t.useState)(x?"visible":"hidden"),S=function(){let e=(0,t.useContext)(wt);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:E,unregister:D}=S,I=(0,t.useRef)(null);(0,t.useEffect)((()=>E(N)),[E,N]),(0,t.useEffect)((()=>{if(m===Be.Hidden&&N.current)return x&&"visible"!==T?void w("visible"):_e(T,{hidden:()=>D(N),visible:()=>E(N)})}),[T,N,E,D,x,m]);let f=st({enter:gt(s),enterFrom:gt(o),enterTo:gt(l),entered:gt(L),leave:gt(M),leaveFrom:gt(c),leaveTo:gt(j)}),h=function(e){let r=(0,t.useRef)(ft(e));return(0,t.useEffect)((()=>{r.current=ft(e)}),[e]),r}({beforeEnter:i,afterEnter:a,beforeLeave:n,afterLeave:u}),z=ot();(0,t.useEffect)((()=>{if(z&&"visible"===T&&null===N.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}),[N,T,z]);let C=p&&!g,O=!z||C||I.current===x?"idle":x?"enter":"leave",b=function(e=0){let[r,i]=(0,t.useState)(e),a=(0,t.useCallback)((e=>i((t=>t|e))),[r]),n=(0,t.useCallback)((e=>Boolean(r&e)),[r]),u=(0,t.useCallback)((e=>i((t=>t&~e))),[i]),s=(0,t.useCallback)((e=>i((t=>t^e))),[i]);return{flags:r,addFlag:a,hasFlag:n,removeFlag:u,toggleFlag:s}}(0),v=lt((e=>_e(e,{enter:()=>{b.addFlag($e.Opening),h.current.beforeEnter()},leave:()=>{b.addFlag($e.Closing),h.current.beforeLeave()},idle:()=>{}}))),k=lt((e=>_e(e,{enter:()=>{b.removeFlag($e.Opening),h.current.afterEnter()},leave:()=>{b.removeFlag($e.Closing),h.current.afterLeave()},idle:()=>{}}))),A=Et((()=>{w("hidden"),D(N)}),S);xt({container:N,classes:f,direction:O,onStart:st((e=>{A.onStart(N,e,v)})),onStop:st((e=>{A.onStop(N,e,k),"leave"===e&&!St(A)&&(w("hidden"),D(N))}))}),(0,t.useEffect)((()=>{C&&(m===Be.Hidden?I.current=null:I.current=x)}),[x,C,T]);let Y=d,U={ref:y};return g&&x&&at.isServer&&(Y={...Y,className:Fe(d.className,...f.current.enter,...f.current.enterFrom)}),t.createElement(wt.Provider,{value:A},t.createElement(tt,{value:_e(T,{visible:$e.Open,hidden:$e.Closed})|b.flags},Ze({ourProps:U,theirProps:Y,defaultTag:"div",features:ht,visible:"visible"===T,name:"Transition.Child"})))})),Ot=Ve((function(e,r){let i=null!==(0,t.useContext)(pt),a=null!==et();return t.createElement(t.Fragment,null,!i&&a?t.createElement(zt,{ref:r,...e}):t.createElement(Ct,{ref:r,...e}))})),bt=Object.assign(zt,{Child:Ot,Root:zt});function vt(){return(0,e.createElement)("footer",{"data-component":"PluginFooter",className:o()("bg-gray-100/75 shadow-lg rounded-b-lg",{"pt-8 pb-4":!0})},(0,e.createElement)("div",{className:"px-8 py-4"},!1,(0,e.createElement)("div",{className:"flex items-center text-base"},(0,e.createElement)("img",{className:"h-20 w-auto mr-6",src:Ge}),(0,e.createElement)("div",{className:"flex-1"},"We'd be super grateful if you could help us spread the word about"," ",(0,e.createElement)("strong",null,"GoalTracker")," and give it a",(0,e.createElement)("a",{className:"text-brand-primary px-1 py-0.5 border border-brand-primary/10 rounded mx-1",target:"_blank",href:"https://wordpress.org/support/plugin/goal-tracker-ga/reviews/#new-post"},(0,e.createElement)(Re,null)," star rating"),"on WordPress?"),(0,e.createElement)("a",{type:"button",href:"https://wordpress.org/support/plugin/goal-tracker-ga/reviews/#new-post",target:"_blank",className:o()("ml-4","capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent ","bg-white text-brand-primary","px-4 py-2","text-sm font-medium","shadow hover:shadow-xl","transform active:scale-75 hover:scale-110 transition-transform","hover:ring-2 hover:ring-white hover:ring-offset-2","focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2")},(0,e.createElement)("span",{className:"mx-2"},"Rate us"," ",(0,e.createElement)(Re,null)),(0,e.createElement)(Qe,{className:"h-5 w-5","aria-hidden":"true"})))))}(0,e.createElement)(e.Fragment,null,"Rate us"," ",(0,e.createElement)(Re,null)),(0,e.createElement)(e.Fragment,null,"Rate us"," ",(0,e.createElement)(Re,null)),(0,e.createElement)(e.Fragment,null,"Rate us"," ",(0,e.createElement)(Re,null));const kt=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"}))})),{apiFetch:At}=wp;function Yt(r){let{showTutorial:i,showCloseButton:a}=r;const[n,u]=(0,t.useState)(i);return(0,t.useEffect)((()=>{u(i)}),[i]),(0,e.createElement)(e.Fragment,null,(0,e.createElement)(bt,{show:n,appear:!0,enter:"transition-opacity duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"transition-opacity duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{"data-component":"GeneralSettingsTutorial",className:"bg-white py-4 rounded-md border border-gray-200 my-10 mx-4 shadow-xl"},(0,e.createElement)("div",{className:""},(0,e.createElement)("div",{className:"px-4 pb-5"},(0,e.createElement)("div",{className:"mt-2 sm:flex sm:items-start sm:justify-between"},(0,e.createElement)("div",{className:"max-w-xl text-sm text-gray-500"},(0,e.createElement)("h3",{className:"text-3xl mb-6 leading-6 font-medium text-gray-900"},"Using the plugin for the first time?"),(0,e.createElement)("div",{className:"mt-2 text-xl"},"Watch our getting started guide video to get the plugin up and running on your website."),(0,e.createElement)("div",{className:"pt-3"},(0,e.createElement)("iframe",{width:"576",height:"360",src:"https://www.youtube.com/embed/X35iJBkwQeU",title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0}))),a&&(0,e.createElement)("div",{className:"ml-3 flex h-7 items-center"},(0,e.createElement)("button",{type:"button",className:"rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-indigo-500",onClick:()=>(async()=>{u(!1),await At({path:wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/hide_gs_tutorial_section",method:"POST",data:{hideGeneralSettingsTutorial:!0}})})()},(0,e.createElement)("span",{className:"sr-only"},"Close panel"),(0,e.createElement)(kt,{className:"h-6 w-6","aria-hidden":"true"})))))))))}const Ut=t=>{const{children:r,id:i,label:a,description:n,isPrimary:u}=t;return(0,e.createElement)("fieldset",{"data-component":"Fieldset",role:"group","aria-labelledby":"label-track-Links",className:o()("sm:grid sm:grid-cols-3 sm:gap-4","sm:items-start","sm:border-t sm:border-gray-200 sm:pt-5")},(0,e.createElement)("label",{htmlFor:i,className:o()("font-medium text-gray-900",u?"text-base md:text-2xl":"text-sm md:text-base"),id:`label-${i}`},a,(0,e.createElement)("p",{className:"text-gray-500 mt-4 text-sm"},n)),r&&(0,e.createElement)("div",{className:"mt-4 sm:mt-0 sm:col-span-2"},r))},Qt=t=>{const r=t.children;return(0,e.createElement)("div",{"data-component":"FieldsetGroup",className:o()("mt-6 sm:mt-5","space-y-6 sm:space-y-5","divide-y divide-gray-200")},r)},Gt=t=>{const r=t.children;return(0,e.createElement)("section",{"data-component":"Section",className:o()("w-full","py-10 px-6","space-y-8","divide-y divide-gray-200 rounded-md","border border-gray-200","bg-white shadow")},r)},Pt=(0,t.createContext)({open:!1,setOpenHelpSlider:()=>{},setComponent:()=>{},setTitleHelpSlider:()=>{}}),Rt=()=>(0,t.useContext)(Pt);var Ft=a(977),_t=a.n(Ft);const qt=t=>{const{children:r,title:i,titleHelper:a,helpComponent:n,helpTitle:u,beta:s}=t,{setOpenHelpSlider:o,setTitleHelpSlider:l,setComponent:L}=Rt();return(0,e.createElement)("header",{"data-component":"HeaderTitle"},(0,e.createElement)("div",{className:"flex items-center"},(0,e.createElement)("h3",{className:"text-2xl leading-6 font-medium text-gray-900"},i),n&&(0,e.createElement)("button",{onClick:()=>{n&&u&&(l(u),L(n),o(!0))}},(0,e.createElement)(_t(),{className:"h-8 w-8 ml-2 inline hover:text-brand-primary","aria-hidden":"true"})),s&&(0,e.createElement)("span",{className:"ml-2 py-0.5 bold py-1 px-2 rounded-full border border-brand-danger border-px inline hover:text-brand-danger text-brand-danger","aria-hidden":"true"},"BETA")),(0,e.createElement)("p",{className:"mt-2 max-w-2xl text-base text-gray-600"},a),r)},Bt="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMjggMTI4Ij4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLmNscy0xIHsKICAgICAgICBmaWxsOiAjZjdmN2Y3OwogICAgICB9CgogICAgICAuY2xzLTIgewogICAgICAgIGZpbGw6ICNlZjNlMmY7CiAgICAgIH0KICAgIDwvc3R5bGU+CiAgPC9kZWZzPgogIDxnPgogICAgPHBhdGggY2xhc3M9ImNscy0xIiBkPSJtNTcuMzIsMTE5LjRjLTcuMzctLjkyLTE1Ljc1LTMuOTktMjEuOTUtOS44Mi01LjkzLTUuNTgtOC45OC0xMi45OS04LjgzLTIxLjQuNDItMjMuNzksMjIuMTQtMzEsMzMuNTYtMzEuNDhoMGM5Ljc4LS40MSwyMC41NywzLjUyLDI3LjUsMTAuMDQsNS44LDUuNDUsOC45NCwxMi41OSw5LjA5LDIwLjY0LjM4LDIwLjQxLTE2LjQ3LDMxLjAxLTMyLjI5LDMyLjIzLTIuMTUuMTctNC41NS4xMS03LjA4LS4yMVptMi45LTU5Ljg0Yy0xMC40OS40NS0zMC40Miw3LjAxLTMwLjgxLDI4LjY3LS4xNCw3LjY5LDIuNTMsMTQuMTcsNy45MywxOS4yNiw3LjY4LDcuMjMsMTkuMDEsOS44NiwyNi44NCw5LjI2LDExLjE5LS44NywzMC4wMy04LjAxLDI5LjYzLTI5LjMyLS4xNC03LjM2LTIuODktMTMuNjMtOC4xOC0xOC42MS02LjM5LTYuMDEtMTYuMzYtOS42NC0yNS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ny00LjguMDMtMS41LDEuMjYtMi43MSwyLjc2LTIuNzEuMjIsMCwuMzguMDIuNTQuMDUsMS4zMS4yNiwyLjI0LDEuNDIsMi4yMSwyLjc1LS4xLDUuNjQtNC43NywxMC4yMy0xMC40MSwxMC4yMywwLDAtLjE5LDAtLjE5LDBaIiBmaWxsPSIjZjhmOGY4IiBzdHJva2Utd2lkdGg9IjAiLz48cGF0aCBkPSJtMTI0LjE1LDU4LjE4Yy01LjczLS4xMS0xMC4zMi00Ljg3LTEwLjIyLTEwLjYuMDMtMS40OSwxLjI3LTIuNzEsMi43Ni0yLjcxLDEuNTcuMDMsMi43OCwxLjI5LDIuNzYsMi44MS0uMDIsMS4zMS40NywyLjU1LDEuMzksMy41LjkxLjk0LDIuMTMsMS40NywzLjQyLDEuNDhoMGMyLjczLDAsNC45Mi0yLjE1LDQuOTctNC44LjAzLTEuNSwxLjI2LTIuNzEsMi43Ni0yLjcxLjIyLDAsLjM4LjAyLjU0LjA1LDEuMzEuMjYsMi4yNCwxLjQyLDIuMjEsMi43NS0uMSw1LjY0LTQuNzcsMTAuMjMtMTAuNDEsMTAuMjMsMCwwLS4xOSwwLS4xOSwwWiIgZmlsbD0iI2Y4ZjhmOCIgc3Ryb2tlLXdpZHRoPSIwIi8+PC9zdmc+";let Vt=[{id:1,title:"Track Video & Audio",text:"Experience Advanced Video and Audio Tracking for Comprehensive Analytics Insights",class:"bg-slate-800",buttonAction:"Get Pro Features",imageSrc:Zt},{id:2,title:"Placeholders",text:"Access Dynamic Placeholders for Advanced Data Capture and Improved Event Tracking",class:"bg-slate-800",buttonAction:"Get Pro Features",imageSrc:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMzkuMzUgMT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Ny0zLjg1LS4yLTcuMS0yLjYyLTcuMzktMi40Mi0uMjktNS42OCwyLjQ4LTYuMTQsNi4zNC0uNDcsMy44NSwyLjA0LDcuMzIsNC40Niw3LjYxLDIuNDIuMjksMy44NC0yLjcsNC4zLTYuNTZaIi8+CiAgICA8cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Im0xMi43Miw2NC4yOWMtLjE0LS4xLS4yNy0uMjEtLjM5LS4zNC0xLjA5LTEuMTUtMS4wNS0yLjk3LjEtNC4wNiwxLjE5LTEuMTMsMS4yNC0zLjAyLjEtNC4yMS0xLjEyLTEuMTktMy4wMi0xLjIzLTQuMjEtLjEtMS4xNSwxLjA5LTIuOTcsMS4wNS00LjA2LS4xLTEuMDktMS4xNS0xLjA1LTIuOTcuMS00LjA2LDMuNDgtMy4zMSw5LTMuMTgsMTIuMzMuMywzLjMyLDMuNDgsMy4xOCw5LjAxLS4zLDEyLjMzLTEuMDIuOTctMi41NywxLjA1LTMuNjcuMjVaIi8+CiAgPC9nPgo8L3N2Zz4="},{id:3,title:"Track Logged-In Users",text:"Gain valuable insights into your audience and improve your marketing strategies, user experience, and overall website performance.",class:"bg-slate-800",buttonAction:"Get Pro Features",imageSrc:Bt}];function Jt(){const[r,a]=(0,t.useState)(Math.floor(3*Math.random())+1);return(0,t.useEffect)((()=>{const e=document.querySelector(".toplevel_page_wpcf7"),t=document.querySelector(".toplevel_page_woocommerce");e&&(Vt.unshift({id:0,title:"Contact Form 7 Tracking",text:"Our Contact Form 7 integration allows you to track your forms and set conversions.",class:"bg-slate-800",buttonAction:"Get Pro Features",imageSrc:Wt}),a(0)),t&&(Vt.unshift({id:0,title:"WooCommerce Tracking",text:"Add Google Analytics tracking to your WooCommerce store and start getting actionable insights.",class:"bg-slate-800",buttonAction:"Get Pro Features",imageSrc:Ht}),a(0))}),[]),(0,t.useEffect)((()=>{const e=setInterval((()=>{const e=r===Vt.length?1:r+1;a(e)}),45e3);return()=>{clearInterval(e)}}),[r]),(0,e.createElement)("div",{"data-component":"SliderBanner",className:"relative h-32 bg-slate-800 overflow-hidden"},(0,e.createElement)("div",{className:"overflow-hidden h-full"},Vt.map((t=>(0,e.createElement)(bt,{key:t.id,show:r===t.id,enter:"transition-transform duration-500",enterFrom:"translate-x-full",enterTo:"translate-x-0",leave:"transition-transform duration-500",leaveFrom:"translate-x-0",leaveTo:"-translate-x-full"},(0,e.createElement)("div",{className:o()("flex items-center px-4 text-white pt-5 overflow-hidden",t.class)},t.imageSrc&&(0,e.createElement)("img",{className:"object-cover w-auto h-24 mr-2",src:t.imageSrc,alt:t.title}),(0,e.createElement)("div",{className:"flex-1 flex flex-col ml-4"},t.title&&(0,e.createElement)("div",{className:"text-2xl mt-2"},t.title),t.text&&(0,e.createElement)("div",{className:"text-base opacity-80"},t.text)),(0,e.createElement)("a",{href:wpGoalTrackerGa.upgradeUrl,type:"button",className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent","bg-white text-brand-primary","px-4 py-2","text-sm font-medium","shadow hover:shadow-xl","transform active:scale-75 hover:scale-110 transition-transform","hover:ring-2 hover:ring-white hover:ring-offset-2","focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2")},(0,e.createElement)("span",{className:"mx-2"},t.buttonAction),(0,e.createElement)(Qe,{className:"h-5 w-5","aria-hidden":"true"}))))))),(0,e.createElement)("div",{className:"absolute bottom-1 left-0 right-0 flex items-center justify-center mb-2 mt-0.5 space-x-2"},Vt.map((t=>(0,e.createElement)(i().Fragment,{key:t.id},(0,e.createElement)("button",{onClick:()=>{return e=t.id,void a(e);var e},className:(r===t.id?"bg-white w-3 h-3":"bg-gray-200 w-2 h-2")+" rounded-full focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-500"}))))))}const Xt=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{fillRule:"evenodd",d:"M10 3a1 1 0 011 1v5h5a1 1 0 110 2h-5v5a1 1 0 11-2 0v-5H4a1 1 0 110-2h5V4a1 1 0 011-1z",clipRule:"evenodd"}))})),Kt=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm1-11a1 1 0 10-2 0v2H7a1 1 0 100 2h2v2a1 1 0 102 0v-2h2a1 1 0 100-2h-2V7z",clipRule:"evenodd"}))})),$t=(0,t.createContext)({navLinks:[]}),er=t=>{let{children:r,navLinks:i}=t;return(0,e.createElement)($t.Provider,{value:{navLinks:i}},r)};function tr(e){const{hash:t}=location;return e===t}const rr=r=>{let{setAddCustomEventForm:i,setAddRecommendedEventForm:a}=r;const{navLinks:n}=(0,t.useContext)($t);return(0,e.createElement)("header",{"data-component":"EventsTableHeader",className:"flex flex-col xl:flex-row items-center bg-white py-4 px-8 shadow-lg"},(0,e.createElement)("div",{className:"divide divide-x flex items-center rounded-full border-brand-primary xl:mr-2 shadow-3xl w-full"},n.map(((t,r)=>((t,r)=>{const i=tr(`#${t.path}`)||t.default&&tr("#/tracker");return(0,e.createElement)(fe,{key:r,className:o()(i?"bg-brand-600 hover:text-white cursor-default text-white":"bg-brand-600/20 text-brand-500 hover:bg-brand-primary hover:text-white border-brand-600","text-base xl:text-xl",0===r&&"rounded-l-full",r===n.length-1&&"rounded-r-full","px-6","py-1","uppercase"),to:t.path},t.label)})(t,r)))),(0,e.createElement)("div",{className:"xl:flex-1"}),(0,e.createElement)("fieldset",{"data-component":"button-group",className:"space-x-4 mt-8 xl:mt-0 flex justify-end w-full"},(0,e.createElement)("button",{onClick:()=>{i(!0)},type:"button",className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent bg-brand-primary","px-4 py-2","text-sm font-medium text-white","shadow-sm","hover:bg-brand-600 shadow hover:shadow-xl active:shadow-xl","focus:outline-none focus:ring-2 focus:ring-brand-primary-focus focus:ring-offset-2","transform active:scale-75 hover:scale-105 transition-transform")},(0,e.createElement)(Xt,{className:"h-5 w-5","aria-hidden":"true"}),(0,e.createElement)("span",{className:"mx-2"},"Add Event")),(0,e.createElement)("button",{onClick:()=>{a(!0)},type:"button",className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent bg-brand-primary","px-4 py-2","text-sm font-medium text-white","shadow-sm","hover:bg-brand-600 shadow hover:shadow-xl active:shadow-xl","focus:outline-none focus:ring-2 focus:ring-brand-primary-focus focus:ring-offset-2","transform active:scale-75 hover:scale-105 transition-transform")},(0,e.createElement)(Kt,{className:"h-5 w-5","aria-hidden":"true"}),(0,e.createElement)("span",{className:"mx-2"},"Add Recommended Event"))))},ir=(0,t.createContext)(void 0),ar=r=>{let{children:i}=r;const[a,n]=(0,t.useState)(!1);return(0,e.createElement)(ir.Provider,{value:{showPromo:a,setShowPromo:n}},i)};function nr(){const e=(0,t.useContext)(ir);if(!e)throw new Error("usePromoContext must be used within a PromoContextProvider");return e}const ur=()=>{const r=ue(),i=(0,t.useContext)(l),{showPromo:a}=nr();if(!i)throw new Error("ChildComponent must be used within a TabContextProvider");const{pathname:n}=r,u=n.split("#");return(0,e.createElement)("header",{"data-component":"PluginNav"},(0,e.createElement)(Ue,null),(0,e.createElement)("div",{className:o()("sm:block","")},(0,e.createElement)("nav",{className:o()("relative"," z-50 flex","space-x-1"),"aria-label":"Tabs"},i.tabs.map(((t,r)=>(0,e.createElement)(fe,{"aria-label":t.name.toString(),title:t.name.toString(),to:t.href,key:t.name.toString(),className:o()("group relative","flex items-center",{"flex-1":t.primary},u[0].includes(t.href)||t.rootTab&&"/"===u[0]?"bg-white text-brand-primary border-t-2 border-x border-black -mt-2 h-18 focus:border-none":"bg-white/60 text-grey-800 h-16","focus:z-10","flex items-center","group relative","border-transparent border-t-4 border-x-2 border-b-0","focus:border-transparent focus:ring-0","active:border-b-0","hover:border-t-4 hover:border-black/90","px-4","text-sm font-medium text-center","rounded-t-lg",""),"aria-current":u[0].includes(t.href)?"page":void 0},t.hasIssue&&(0,e.createElement)("span",{className:"w-4 h-4 absolute bg-red-600 rounded-full -top-1 -left-2"}),t.icon?t.icon:(0,e.createElement)("span",{"data-component":"tab-title",className:o()("text-xl uppercase flex-1",{"sr-only":t.showTitle})},t.name))))),a&&!tr("#/pro")&&(0,e.createElement)(Jt,null)))},sr=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{d:"M13.586 3.586a2 2 0 112.828 2.828l-.793.793-2.828-2.828.793-.793zM11.379 5.793L3 14.172V17h2.828l8.38-8.379-2.83-2.828z"}))})),or=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{fillRule:"evenodd",d:"M9 2a1 1 0 00-.894.553L7.382 4H4a1 1 0 000 2v10a2 2 0 002 2h8a2 2 0 002-2V6a1 1 0 100-2h-3.382l-.724-1.447A1 1 0 0011 2H9zM7 8a1 1 0 012 0v6a1 1 0 11-2 0V8zm5-1a1 1 0 00-1 1v6a1 1 0 102 0V8a1 1 0 00-1-1z",clipRule:"evenodd"}))}));var lr=a(431),Lr=a.n(lr);const Mr=t=>{let{type:r,setOpenHelpSlider:i}=t;return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"min-h-full pt-16 pb-12 flex flex-col bg-white"},(0,e.createElement)("main",{className:"flex-grow flex flex-col justify-center max-w-7xl w-full mx-auto px-4 sm:px-6 lg:px-8"},(0,e.createElement)("img",{className:"h-full w-auto",src:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIGlkPSJhIiB4bWxucz0iaHR0cDovL3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My42NSw3LjA1LDYuNzVzLjY1LDYuMzctMS41Miw5LjkxWiIvPjxwYXRoIGQ9Im01NDMuMTQsMTcxLjM4czcyLjUxLS4xOSw5Ni43NC0zNC40MWMyMi4xNS0zMS4yNy0yMy41NC0zOC42NS0yMS42Mi0xMi42M3MxMTUuMjksMzgsMTE3Ljg1LTg0LjAxIiBmaWxsPSJub25lIiBzdHJva2U9IiM3ODVhZmEiIHN0cm9rZS1kYXNoYXJyYXk9IjAgMCAzIDgiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBzdHJva2Utd2lkdGg9IjQiLz48L3N2Zz4=",alt:""}),(0,e.createElement)("div",null),(0,e.createElement)("div",{className:"pt-4 border-t border-gray-300 w-full items-center text-center"},(0,e.createElement)("span",{className:"text-2xl"},"Not sure how to get started?"),(0,e.createElement)("button",{type:"button",onClick:()=>i(!0),className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent ","bg-brand-primary text-white","px-4 py-2","text-sm font-medium","shadow hover:shadow-xl","transform active:scale-75 hover:scale-110 transition-transform","hover:ring-2 hover:ring-white hover:ring-offset-2","focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2","ml-4","hover:text-white")},(0,e.createElement)("span",{className:"mx-2"},"Get Help"),(0,e.createElement)(Lr(),{className:"h-5 w-5","aria-hidden":"true"}))),(0,e.createElement)("div",{className:"hidden py-16"},(0,e.createElement)("div",{className:"text-center"},(0,e.createElement)("h1",{className:"mt-2 text-4xl font-extrabold text-gray-900 tracking-tight sm:text-5xl"},"Add your first custom event."),(0,e.createElement)("div",{className:"mt-6"},(0,e.createElement)("button",{type:"button",className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent bg-brand-primary","px-4 py-2","text-sm font-medium text-white","shadow-sm","hover:bg-brand-600","focus:outline-none focus:ring-2 focus:ring-brand-primary-focus focus:ring-offset-2","transform active:scale-75 hover:scale-105 transition-transform")},"Add Custom Event"))))),(0,e.createElement)("footer",{className:"flex-shrink-0 max-w-7xl w-full mx-auto px-4 sm:px-6 lg:px-8"})))},cr={ad_impression:{ad_platform:{type:"text",required:!0,placeholder:"APPXXX"},ad_source:{type:"text",required:!0,placeholder:"Network Name"},ad_unit_name:{type:"text",required:!0,placeholder:"Unit Name"},ad_format:{type:"text",required:!0,placeholder:"Format"},value:{type:"number",required:!0,placeholder:"7.77"},currency:{type:"text",required:!0,placeholder:"USD"}},add_payment_info:{currency:{type:"text",required:!0,placeholder:"USD"},value:{type:"number",required:!0,placeholder:"7.77"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},payment_type:{type:"text",required:!1,placeholder:"Credit Card"},items:{type:"text",required:!0,placeholder:""}},add_shipping_info:{currency:{type:"text",required:!0,placeholder:"USD"},value:{type:"number",required:!0,placeholder:"7.77"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},shipping_tier:{type:"text",required:!1,placeholder:"Ground"},items:{type:"text",required:!0,placeholder:""}},add_to_cart:{currency:{type:"text",required:!0,placeholder:"USD"},value:{type:"number",required:!0,placeholder:"7.77"},items:{type:"text",required:!0,placeholder:""}},add_to_wishlist:{currency:{type:"text",required:!0,placeholder:"USD"},value:{type:"number",required:!0,placeholder:"7.77"},items:{type:"text",required:!0,placeholder:""}},begin_checkout:{currency:{type:"text",required:!0,placeholder:"USD"},value:{type:"number",required:!0,placeholder:"7.77"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},items:{type:"text",required:!0,placeholder:""}},earn_virtual_currency:{virtual_currency_name:{type:"text",required:!1,placeholder:"Gems"},value:{type:"number",required:!1,placeholder:"5"}},generate_lead:{currency:{type:"text",required:!0,placeholder:"USD"},value:{type:"number",required:!0,placeholder:"7.77"}},join_group:{group_id:{type:"text",required:!1,placeholder:"G_12345"}},level_end:{level_name:{type:"text",required:!1,placeholder:"The journey begins.."},success:{type:"text",required:!1,placeholder:"true"}},level_start:{level_name:{type:"text",required:!1,placeholder:"The journey begins.."}},level_up:{level:{type:"number",required:!1,placeholder:"5"},character:{type:"text",required:!1,placeholder:"Player 1"}},login:{method:{type:"text",required:!1,placeholder:"Google"}},post_score:{score:{type:"number",required:!0,placeholder:"10000"},level:{type:"number",required:!1,placeholder:"5"},character:{type:"text",required:!1,placeholder:"Player 1"}},purchase:{currency:{type:"text",required:!0,placeholder:"USD"},transaction_id:{type:"text",required:!0,placeholder:"T_12345"},value:{type:"number",required:!0,placeholder:"12.21"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},shipping:{type:"number",required:!1,placeholder:"3.33"},tax:{type:"number",required:!1,placeholder:"1.1"},items:{type:"text",required:!0,placeholder:""}},refund:{currency:{type:"text",required:!0,placeholder:"USD"},transaction_id:{type:"text",required:!0,placeholder:"T_12345"},value:{type:"number",required:!0,placeholder:"7.77"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},shipping:{type:"number",required:!1,placeholder:"3.33"},tax:{type:"number",required:!1,placeholder:"1.1"},items:{type:"text",required:!0,placeholder:""}},remove_from_cart:{currency:{type:"text",required:!0,placeholder:"USD"},value:{type:"number",required:!0,placeholder:"7.77"},items:{type:"text",required:!0,placeholder:""}},search:{search_term:{type:"text",required:!0,placeholder:"t-shirts"}},select_content:{content_type:{type:"text",required:!1,placeholder:"product"},item_id:{type:"text",required:!1,placeholder:"I_12345"}},select_item:{item_list_id:{type:"text",required:!1,placeholder:"SKU_12345"},item_list_name:{type:"text",required:!1,placeholder:"Stan and Friends Tee"},items:{type:"text",required:!0,placeholder:""}},select_promotion:{creative_name:{type:"text",required:!1,placeholder:"summer_banner2"},creative_slot:{type:"text",required:!1,placeholder:"featured_app_1"},location_id:{type:"text",required:!1,placeholder:"L_12345"},promotion_id:{type:"text",required:!1,placeholder:"P_12345"},promotion_name:{type:"text",required:!1,placeholder:"Summer Sale"},items:{type:"text",required:!1,placeholder:""}},share:{method:{type:"text",required:!1,placeholder:"Twitter"},content_type:{type:"text",required:!1,placeholder:"image"},item_id:{type:"text",required:!1,placeholder:"C_12345"}},sign_up:{method:{type:"text",required:!1,placeholder:"Google"}},spend_virtual_currency:{value:{type:"number",required:!0,placeholder:"5"},virtual_currency_name:{type:"text",required:!0,placeholder:"Gems"},item_name:{type:"text",required:!1,placeholder:"Starter Boost"}},tutorial_begin:{},tutorial_complete:{},unlock_achievement:{achievement_id:{type:"text",required:!0,placeholder:"A_12345"}},view_cart:{currency:{type:"text",required:!0,placeholder:"USD"},value:{type:"number",required:!0,placeholder:"7.77"},items:{type:"text",required:!0,placeholder:""}},view_item:{currency:{type:"text",required:!0,placeholder:"USD"},value:{type:"number",required:!0,placeholder:"7.77"},items:{type:"text",required:!0,placeholder:""}},view_item_list:{item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},items:{type:"text",required:!0,placeholder:""}},view_promotion:{creative_name:{type:"text",required:!1,placeholder:"summer_banner2"},creative_slot:{type:"text",required:!1,placeholder:"featured_app_1"},location_id:{type:"text",required:!1,placeholder:"L_12345"},promotion_id:{type:"text",required:!1,placeholder:"P_12345"},promotion_name:{type:"text",required:!1,placeholder:"Summer Sale"},items:{type:"text",required:!0,placeholder:""}}};var jr,dr=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(dr||{});function Nr(e){let t=e.parentElement,r=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(r=t),t=t.parentElement;let i=""===(null==t?void 0:t.getAttribute("disabled"));return(!i||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(r))&&i}let yr=null!=(jr=t.useId)?jr:function(){let e=ot(),[r,i]=t.useState(e?()=>at.nextId():null);return nt((()=>{null===r&&i(at.nextId())}),[r]),null!=r?""+r:void 0};var mr=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(mr||{});let xr=Ve((function(e,t){let{features:r=1,...i}=e;return Ze({ourProps:{ref:t,"aria-hidden":2==(2&r)||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...4==(4&r)&&2!=(2&r)&&{display:"none"}}},theirProps:i,slot:{},defaultTag:"div",name:"Hidden"})}));function gr(e){return at.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let pr=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((e=>`${e}:not([tabindex='-1'])`)).join(",");var Tr,wr=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(wr||{}),Sr=((Tr=Sr||{})[Tr.Error=0]="Error",Tr[Tr.Overflow=1]="Overflow",Tr[Tr.Success=2]="Success",Tr[Tr.Underflow=3]="Underflow",Tr),Er=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Er||{});var Dr=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Dr||{});function Ir(e){null==e||e.focus({preventScroll:!0})}let fr=["textarea","input"].join(",");function hr(e,t=(e=>e)){return e.slice().sort(((e,r)=>{let i=t(e),a=t(r);if(null===i||null===a)return 0;let n=i.compareDocumentPosition(a);return n&Node.DOCUMENT_POSITION_FOLLOWING?-1:n&Node.DOCUMENT_POSITION_PRECEDING?1:0}))}function zr(e,t,{sorted:r=!0,relativeTo:i=null,skipElements:a=[]}={}){let n=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,u=Array.isArray(e)?r?hr(e):e:function(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(pr)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}(e);a.length>0&&u.length>1&&(u=u.filter((e=>!a.includes(e)))),i=null!=i?i:n.activeElement;let s,o=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),l=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,u.indexOf(i))-1;if(4&t)return Math.max(0,u.indexOf(i))+1;if(8&t)return u.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),L=32&t?{preventScroll:!0}:{},M=0,c=u.length;do{if(M>=c||M+c<=0)return 0;let e=l+M;if(16&t)e=(e+c)%c;else{if(e<0)return 3;if(e>=c)return 1}s=u[e],null==s||s.focus(L),M+=o}while(s!==n.activeElement);return 6&t&&function(e){var t,r;return null!=(r=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,fr))&&r}(s)&&s.select(),s.hasAttribute("tabindex")||s.setAttribute("tabindex","0"),2}var Cr=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Cr||{});function Or(...e){return(0,t.useMemo)((()=>gr(...e)),[...e])}function br(e,r,i,a){let n=st(i);(0,t.useEffect)((()=>{function t(e){n.current(e)}return(e=null!=e?e:window).addEventListener(r,t,a),()=>e.removeEventListener(r,t,a)}),[e,r,a])}function vr(e,r){let i=(0,t.useRef)([]),a=lt(e);(0,t.useEffect)((()=>{let e=[...i.current];for(let[t,n]of r.entries())if(i.current[t]!==n){let t=a(r,e);return i.current=r,t}}),[a,...r])}function kr(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let r of e.current)r.current instanceof HTMLElement&&t.add(r.current);return t}var Ar=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(Ar||{});let Yr=Ve((function(e,r){let i=(0,t.useRef)(null),a=ct(i,r),{initialFocus:n,containers:u,features:s=30,...o}=e;ot()||(s=1);let l=Or(i);!function({ownerDocument:e},r){let i=function(e=!0){let r=(0,t.useRef)(Qr.slice());return vr((([e],[t])=>{!0===t&&!1===e&&jt((()=>{r.current.splice(0)})),!1===t&&!0===e&&(r.current=Qr.slice())}),[e,Qr,r]),lt((()=>{var e;return null!=(e=r.current.find((e=>null!=e&&e.isConnected)))?e:null}))}(r);vr((()=>{r||(null==e?void 0:e.activeElement)===(null==e?void 0:e.body)&&Ir(i())}),[r]);let a=(0,t.useRef)(!1);(0,t.useEffect)((()=>(a.current=!1,()=>{a.current=!0,jt((()=>{a.current&&Ir(i())}))})),[])}({ownerDocument:l},Boolean(16&s));let L=function({ownerDocument:e,container:r,initialFocus:i},a){let n=(0,t.useRef)(null),u=ut();return vr((()=>{if(!a)return;let t=r.current;t&&jt((()=>{if(!u.current)return;let r=null==e?void 0:e.activeElement;if(null!=i&&i.current){if((null==i?void 0:i.current)===r)return void(n.current=r)}else if(t.contains(r))return void(n.current=r);null!=i&&i.current?Ir(i.current):zr(t,wr.First)===Sr.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),n.current=null==e?void 0:e.activeElement}))}),[a]),n}({ownerDocument:l,container:i,initialFocus:n},Boolean(2&s));!function({ownerDocument:e,container:t,containers:r,previousActiveElement:i},a){let n=ut();br(null==e?void 0:e.defaultView,"focus",(e=>{if(!a||!n.current)return;let u=kr(r);t.current instanceof HTMLElement&&u.add(t.current);let s=i.current;if(!s)return;let o=e.target;o&&o instanceof HTMLElement?Gr(u,o)?(i.current=o,Ir(o)):(e.preventDefault(),e.stopPropagation(),Ir(s)):Ir(i.current)}),!0)}({ownerDocument:l,container:i,containers:u,previousActiveElement:L},Boolean(8&s));let M=function(){let e=(0,t.useRef)(0);return function(e,r,i){let a=st(r);(0,t.useEffect)((()=>{function t(e){a.current(e)}return window.addEventListener(e,t,i),()=>window.removeEventListener(e,t,i)}),[e,i])}("keydown",(t=>{"Tab"===t.key&&(e.current=t.shiftKey?1:0)}),!0),e}(),c=lt((e=>{let t=i.current;t&&_e(M.current,{[Cr.Forwards]:()=>{zr(t,wr.First,{skipElements:[e.relatedTarget]})},[Cr.Backwards]:()=>{zr(t,wr.Last,{skipElements:[e.relatedTarget]})}})})),j=mt(),d=(0,t.useRef)(!1),N={ref:a,onKeyDown(e){"Tab"==e.key&&(d.current=!0,j.requestAnimationFrame((()=>{d.current=!1})))},onBlur(e){let t=kr(u);i.current instanceof HTMLElement&&t.add(i.current);let r=e.relatedTarget;r instanceof HTMLElement&&"true"!==r.dataset.headlessuiFocusGuard&&(Gr(t,r)||(d.current?zr(i.current,_e(M.current,{[Cr.Forwards]:()=>wr.Next,[Cr.Backwards]:()=>wr.Previous})|wr.WrapAround,{relativeTo:e.target}):e.target instanceof HTMLElement&&Ir(e.target)))}};return t.createElement(t.Fragment,null,Boolean(4&s)&&t.createElement(xr,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:mr.Focusable}),Ze({ourProps:N,theirProps:o,defaultTag:"div",name:"FocusTrap"}),Boolean(4&s)&&t.createElement(xr,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:mr.Focusable}))})),Ur=Object.assign(Yr,{features:Ar}),Qr=[];if("undefined"!=typeof window&&"undefined"!=typeof document){let e=function(e){e.target instanceof HTMLElement&&e.target!==document.body&&Qr[0]!==e.target&&(Qr.unshift(e.target),Qr=Qr.filter((e=>null!=e&&e.isConnected)),Qr.splice(10))};window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})}function Gr(e,t){for(let r of e)if(r.contains(t))return!0;return!1}const Pr=window.ReactDOM;let Rr=(0,t.createContext)(!1);function Fr(){return(0,t.useContext)(Rr)}function _r(e){return t.createElement(Rr.Provider,{value:e.force},e.children)}let qr=t.Fragment,Br=t.Fragment,Zr=(0,t.createContext)(null),Wr=Ve((function(e,r){let i=e,a=(0,t.useRef)(null),n=ct(Mt((e=>{a.current=e})),r),u=Or(a),s=function(e){let r=Fr(),i=(0,t.useContext)(Zr),a=Or(e),[n,u]=(0,t.useState)((()=>{if(!r&&null!==i||at.isServer)return null;let e=null==a?void 0:a.getElementById("headlessui-portal-root");if(e)return e;if(null===a)return null;let t=a.createElement("div");return t.setAttribute("id","headlessui-portal-root"),a.body.appendChild(t)}));return(0,t.useEffect)((()=>{null!==n&&(null!=a&&a.body.contains(n)||null==a||a.body.appendChild(n))}),[n,a]),(0,t.useEffect)((()=>{r||null!==i&&u(i.current)}),[i,u,r]),n}(a),[o]=(0,t.useState)((()=>{var e;return at.isServer?null:null!=(e=null==u?void 0:u.createElement("div"))?e:null})),l=ot(),L=(0,t.useRef)(!1);return nt((()=>{if(L.current=!1,s&&o)return s.contains(o)||(o.setAttribute("data-headlessui-portal",""),s.appendChild(o)),()=>{L.current=!0,jt((()=>{var e;L.current&&(!s||!o||(o instanceof Node&&s.contains(o)&&s.removeChild(o),s.childNodes.length<=0&&(null==(e=s.parentElement)||e.removeChild(s))))}))}}),[s,o]),l&&s&&o?(0,Pr.createPortal)(Ze({ourProps:{ref:n},theirProps:i,defaultTag:qr,name:"Portal"}),o):null})),Hr=Ve((function(e,r){let{target:i,...a}=e,n={ref:ct(r)};return t.createElement(Zr.Provider,{value:i},Ze({ourProps:n,theirProps:a,defaultTag:Br,name:"Popover.Group"}))})),Vr=Object.assign(Wr,{Group:Hr}),Jr=(0,t.createContext)(null);function Xr(){let e=(0,t.useContext)(Jr);if(null===e){let e=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,Xr),e}return e}function Kr(){let[e,r]=(0,t.useState)([]);return[e.length>0?e.join(" "):void 0,(0,t.useMemo)((()=>function(e){let i=lt((e=>(r((t=>[...t,e])),()=>r((t=>{let r=t.slice(),i=r.indexOf(e);return-1!==i&&r.splice(i,1),r}))))),a=(0,t.useMemo)((()=>({register:i,slot:e.slot,name:e.name,props:e.props})),[i,e.slot,e.name,e.props]);return t.createElement(Jr.Provider,{value:a},e.children)}),[r])]}let $r=Ve((function(e,t){let r=yr(),{id:i=`headlessui-description-${r}`,...a}=e,n=Xr(),u=ct(t);return nt((()=>n.register(i)),[i,n.register]),Ze({ourProps:{ref:u,...n.props,id:i},theirProps:a,slot:n.slot||{},defaultTag:"p",name:n.name||"Description"})})),ei=Object.assign($r,{}),ti=(0,t.createContext)((()=>{}));ti.displayName="StackContext";var ri=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(ri||{});function ii({children:e,onUpdate:r,type:i,element:a,enabled:n}){let u=(0,t.useContext)(ti),s=lt(((...e)=>{null==r||r(...e),u(...e)}));return nt((()=>{let e=void 0===n||!0===n;return e&&s(0,i,a),()=>{e&&s(1,i,a)}}),[s,i,a,n]),t.createElement(ti.Provider,{value:s},e)}function ai(e,r,i){let a=st(r);(0,t.useEffect)((()=>{function t(e){a.current(e)}return document.addEventListener(e,t,i),()=>document.removeEventListener(e,t,i)}),[e,i])}function ni(e,r,i=!0){let a=(0,t.useRef)(!1);function n(t,i){if(!a.current||t.defaultPrevented)return;let n=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e),u=i(t);if(null!==u&&u.getRootNode().contains(u)){for(let e of n){if(null===e)continue;let r=e instanceof HTMLElement?e:e.current;if(null!=r&&r.contains(u)||t.composed&&t.composedPath().includes(r))return}return!function(e,t=0){var r;return e!==(null==(r=gr(e))?void 0:r.body)&&_e(t,{0:()=>e.matches(pr),1(){let t=e;for(;null!==t;){if(t.matches(pr))return!0;t=t.parentElement}return!1}})}(u,Dr.Loose)&&-1!==u.tabIndex&&t.preventDefault(),r(t,u)}}(0,t.useEffect)((()=>{requestAnimationFrame((()=>{a.current=i}))}),[i]);let u=(0,t.useRef)(null);ai("mousedown",(e=>{var t,r;a.current&&(u.current=(null==(r=null==(t=e.composedPath)?void 0:t.call(e))?void 0:r[0])||e.target)}),!0),ai("click",(e=>{u.current&&(n(e,(()=>u.current)),u.current=null)}),!0),ai("blur",(e=>n(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)}const ui="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},{useState:si,useEffect:oi,useLayoutEffect:li,useDebugValue:Li}=r;function Mi(e){const t=e.getSnapshot,r=e.value;try{const e=t();return!ui(r,e)}catch{return!0}}const ci="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t,r){return t()}:function(e,t,r){const i=t(),[{inst:a},n]=si({inst:{value:i,getSnapshot:t}});return li((()=>{a.value=i,a.getSnapshot=t,Mi(a)&&n({inst:a})}),[e,i,t]),oi((()=>(Mi(a)&&n({inst:a}),e((()=>{Mi(a)&&n({inst:a})})))),[e]),Li(i),i},ji="useSyncExternalStore"in r?(e=>e.useSyncExternalStore)(r):ci;function di(){let e;return{before({doc:t}){var r;let i=t.documentElement;e=(null!=(r=t.defaultView)?r:window).innerWidth-i.clientWidth},after({doc:t,d:r}){let i=t.documentElement,a=i.clientWidth-i.offsetWidth,n=e-a;r.style(i,"paddingRight",`${n}px`)}}}function Ni(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function yi(){if(!Ni())return{};let e;return{before(){e=window.pageYOffset},after({doc:t,d:r,meta:i}){function a(e){return i.containers.flatMap((e=>e())).some((t=>t.contains(e)))}r.style(t.body,"marginTop",`-${e}px`),window.scrollTo(0,0);let n=null;r.addEventListener(t,"click",(e=>{if(e.target instanceof HTMLElement)try{let r=e.target.closest("a");if(!r)return;let{hash:i}=new URL(r.href),u=t.querySelector(i);u&&!a(u)&&(n=u)}catch{}}),!0),r.addEventListener(t,"touchmove",(e=>{e.target instanceof HTMLElement&&!a(e.target)&&e.preventDefault()}),{passive:!1}),r.add((()=>{window.scrollTo(0,window.pageYOffset+e),n&&n.isConnected&&(n.scrollIntoView({block:"nearest"}),n=null)}))}}}function mi(e){let t={};for(let r of e)Object.assign(t,r(t));return t}let xi=function(e,t){let r=new Map,i=new Set;return{getSnapshot:()=>r,subscribe:e=>(i.add(e),()=>i.delete(e)),dispatch(e,...a){let n=t[e].call(r,...a);n&&(r=n,i.forEach((e=>e())))}}}(0,{PUSH(e,t){var r;let i=null!=(r=this.get(e))?r:{doc:e,count:0,d:dt(),meta:new Set};return i.count++,i.meta.add(t),this.set(e,i),this},POP(e,t){let r=this.get(e);return r&&(r.count--,r.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:r}){let i={doc:e,d:t,meta:mi(r)},a=[yi(),di(),{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}];a.forEach((({before:e})=>null==e?void 0:e(i))),a.forEach((({after:e})=>null==e?void 0:e(i)))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});xi.subscribe((()=>{let e=xi.getSnapshot(),t=new Map;for(let[r]of e)t.set(r,r.documentElement.style.overflow);for(let r of e.values()){let e="hidden"===t.get(r.doc),i=0!==r.count;(i&&!e||!i&&e)&&xi.dispatch(r.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",r),0===r.count&&xi.dispatch("TEARDOWN",r)}}));let gi=new Map,pi=new Map;function Ti(e,t=!0){nt((()=>{var r;if(!t)return;let i="function"==typeof e?e():e.current;if(!i)return;let a=null!=(r=pi.get(i))?r:0;return pi.set(i,a+1),0!==a||(gi.set(i,{"aria-hidden":i.getAttribute("aria-hidden"),inert:i.inert}),i.setAttribute("aria-hidden","true"),i.inert=!0),function(){var e;if(!i)return;let t=null!=(e=pi.get(i))?e:1;if(1===t?pi.delete(i):pi.set(i,t-1),1!==t)return;let r=gi.get(i);r&&(null===r["aria-hidden"]?i.removeAttribute("aria-hidden"):i.setAttribute("aria-hidden",r["aria-hidden"]),i.inert=r.inert,gi.delete(i))}}),[e,t])}var wi=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(wi||{}),Si=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(Si||{});let Ei={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},Di=(0,t.createContext)(null);function Ii(e){let r=(0,t.useContext)(Di);if(null===r){let t=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Ii),t}return r}function fi(e,t){return _e(t.type,Ei,e,t)}Di.displayName="DialogContext";let hi=qe.RenderStrategy|qe.Static,zi=Ve((function(e,r){let i=yr(),{id:a=`headlessui-dialog-${i}`,open:n,onClose:u,initialFocus:s,__demoMode:o=!1,...l}=e,[L,M]=(0,t.useState)(0),c=et();void 0===n&&null!==c&&(n=(c&$e.Open)===$e.Open);let j=(0,t.useRef)(null),d=ct(j,r),N=(0,t.useRef)(null),y=Or(j),m=e.hasOwnProperty("open")||null!==c,x=e.hasOwnProperty("onClose");if(!m&&!x)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!m)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!x)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if("boolean"!=typeof n)throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${n}`);if("function"!=typeof u)throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${u}`);let g=n?0:1,[p,T]=(0,t.useReducer)(fi,{titleId:null,descriptionId:null,panelRef:(0,t.createRef)()}),w=lt((()=>u(!1))),S=lt((e=>T({type:0,id:e}))),E=!!ot()&&!o&&0===g,D=L>1,I=null!==(0,t.useContext)(Di),f=D?"parent":"leaf",h=null!==c&&(c&$e.Closing)===$e.Closing,z=!I&&!h&&E,C=(0,t.useCallback)((()=>{var e,t;return null!=(t=Array.from(null!=(e=null==y?void 0:y.querySelectorAll("body > *"))?e:[]).find((e=>"headlessui-portal-root"!==e.id&&e.contains(N.current)&&e instanceof HTMLElement)))?t:null}),[N]);Ti(C,z);let O=!!D||E,b=(0,t.useCallback)((()=>{var e,t;return null!=(t=Array.from(null!=(e=null==y?void 0:y.querySelectorAll("[data-headlessui-portal]"))?e:[]).find((e=>e.contains(N.current)&&e instanceof HTMLElement)))?t:null}),[N]);Ti(b,O);let v=lt((()=>{var e,t;return[...Array.from(null!=(e=null==y?void 0:y.querySelectorAll("html > *, body > *, [data-headlessui-portal]"))?e:[]).filter((e=>!(e===document.body||e===document.head||!(e instanceof HTMLElement)||e.contains(N.current)||p.panelRef.current&&e.contains(p.panelRef.current)))),null!=(t=p.panelRef.current)?t:j.current]}));ni((()=>v()),w,!(!E||D));let k=!(D||0!==g);br(null==y?void 0:y.defaultView,"keydown",(e=>{k&&(e.defaultPrevented||e.key===dr.Escape&&(e.preventDefault(),e.stopPropagation(),w()))})),function(e,t,r=(()=>[document.body])){!function(e,t,r){let i=ji((u=xi).subscribe,u.getSnapshot,u.getSnapshot),a=e?i.get(e):void 0,n=!!a&&a.count>0;var u;nt((()=>{if(e&&t)return xi.dispatch("PUSH",e,r),()=>xi.dispatch("POP",e,r)}),[t,e])}(e,t,(e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],r]}}))}(y,!(h||0!==g||I),v),(0,t.useEffect)((()=>{if(0!==g||!j.current)return;let e=new ResizeObserver((e=>{for(let t of e){let e=t.target.getBoundingClientRect();0===e.x&&0===e.y&&0===e.width&&0===e.height&&w()}}));return e.observe(j.current),()=>e.disconnect()}),[g,j,w]);let[A,Y]=Kr(),U=(0,t.useMemo)((()=>[{dialogState:g,close:w,setTitleId:S},p]),[g,p,w,S]),Q=(0,t.useMemo)((()=>({open:0===g})),[g]),G={ref:d,id:a,role:"dialog","aria-modal":0===g||void 0,"aria-labelledby":p.titleId,"aria-describedby":A};return t.createElement(ii,{type:"Dialog",enabled:0===g,element:j,onUpdate:lt(((e,t)=>{"Dialog"===t&&_e(e,{[ri.Add]:()=>M((e=>e+1)),[ri.Remove]:()=>M((e=>e-1))})}))},t.createElement(_r,{force:!0},t.createElement(Vr,null,t.createElement(Di.Provider,{value:U},t.createElement(Vr.Group,{target:j},t.createElement(_r,{force:!1},t.createElement(Y,{slot:Q,name:"Dialog.Description"},t.createElement(Ur,{initialFocus:s,containers:v,features:E?_e(f,{parent:Ur.features.RestoreFocus,leaf:Ur.features.All&~Ur.features.FocusLock}):Ur.features.None},Ze({ourProps:G,theirProps:l,slot:Q,defaultTag:"div",features:hi,visible:0===g,name:"Dialog"})))))))),t.createElement(xr,{features:mr.Hidden,ref:N}))})),Ci=Ve((function(e,r){let i=yr(),{id:a=`headlessui-dialog-backdrop-${i}`,...n}=e,[{dialogState:u},s]=Ii("Dialog.Backdrop"),o=ct(r);(0,t.useEffect)((()=>{if(null===s.panelRef.current)throw new Error("A <Dialog.Backdrop /> component is being used, but a <Dialog.Panel /> component is missing.")}),[s.panelRef]);let l=(0,t.useMemo)((()=>({open:0===u})),[u]);return t.createElement(_r,{force:!0},t.createElement(Vr,null,Ze({ourProps:{ref:o,id:a,"aria-hidden":!0},theirProps:n,slot:l,defaultTag:"div",name:"Dialog.Backdrop"})))})),Oi=Ve((function(e,r){let i=yr(),{id:a=`headlessui-dialog-panel-${i}`,...n}=e,[{dialogState:u},s]=Ii("Dialog.Panel"),o=ct(r,s.panelRef),l=(0,t.useMemo)((()=>({open:0===u})),[u]),L=lt((e=>{e.stopPropagation()}));return Ze({ourProps:{ref:o,id:a,onClick:L},theirProps:n,slot:l,defaultTag:"div",name:"Dialog.Panel"})})),bi=Ve((function(e,r){let i=yr(),{id:a=`headlessui-dialog-overlay-${i}`,...n}=e,[{dialogState:u,close:s}]=Ii("Dialog.Overlay"),o=ct(r),l=lt((e=>{if(e.target===e.currentTarget){if(Nr(e.currentTarget))return e.preventDefault();e.preventDefault(),e.stopPropagation(),s()}}));return Ze({ourProps:{ref:o,id:a,"aria-hidden":!0,onClick:l},theirProps:n,slot:(0,t.useMemo)((()=>({open:0===u})),[u]),defaultTag:"div",name:"Dialog.Overlay"})})),vi=Ve((function(e,r){let i=yr(),{id:a=`headlessui-dialog-title-${i}`,...n}=e,[{dialogState:u,setTitleId:s}]=Ii("Dialog.Title"),o=ct(r);(0,t.useEffect)((()=>(s(a),()=>s(null))),[a,s]);let l=(0,t.useMemo)((()=>({open:0===u})),[u]);return Ze({ourProps:{ref:o,id:a},theirProps:n,slot:l,defaultTag:"h2",name:"Dialog.Title"})})),ki=Object.assign(zi,{Backdrop:Ci,Panel:Oi,Overlay:bi,Title:vi,Description:ei});const Ai=(0,t.createContext)(),Yi=(0,t.createContext)(),Ui=(0,t.createContext)(),Qi=(0,t.createContext)();function Gi(r){let{open:i,toggleDeleteModal:a,index:n,item_id:u,deleteItem:s}=r;return(0,e.createElement)(bt.Root,{show:i,as:t.Fragment},(0,e.createElement)(ki,{as:"div",className:"z-[9999992] relative",onClose:a},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"})),(0,e.createElement)("div",{className:"fixed  inset-0 overflow-y-auto"},(0,e.createElement)("div",{className:"flex items-end sm:items-center justify-center min-h-full p-4 text-center sm:p-0"},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},(0,e.createElement)(ki.Panel,{className:"relative bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:max-w-lg sm:w-full sm:p-6"},(0,e.createElement)("div",{className:"sm:flex sm:items-start"},(0,e.createElement)("div",{className:"mx-auto flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-red-100 sm:mx-0 sm:h-10 sm:w-10"}),(0,e.createElement)("div",{className:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"},(0,e.createElement)(ki.Title,{as:"h3",className:"text-lg leading-6 font-medium text-gray-900"},"Delete Item"),(0,e.createElement)("div",{className:"mt-2"},(0,e.createElement)("p",{className:"text-sm text-gray-500"},"Are you sure you want to delete the"," ",(0,e.createElement)("span",{className:"strong"},u)," item?")))),(0,e.createElement)("div",{className:"mt-5 sm:mt-4 sm:flex sm:flex-row-reverse"},(0,e.createElement)("button",{type:"button",className:"w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-red-600 text-base font-medium text-white hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500 sm:ml-3 sm:w-auto sm:text-sm",onClick:function(){s(n),a()}},"Delete"),(0,e.createElement)("button",{type:"button",className:"mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:w-auto sm:text-sm",onClick:a},"Cancel"))))))))}function Pi(t){let{pKey:r,pValue:i,required:a,type:n,placeholder:u,setItem:s}=t;return(0,e.createElement)("fieldset",{className:"first:pt-0 sm:grid sm:grid-cols-3 sm:gap-4 sm:items-start sm:border-t sm:border-gray-200 sm:pt-5"},(0,e.createElement)("label",{htmlFor:"items",className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"+(1==a?" required":"")},r),(0,e.createElement)("input",{type:n,required:a,name:r,placeholder:u,id:r,value:i||"",onChange:e=>s(r,e.target.value),className:"flex-1 block col-span-2 w-full focus:ring-indigo-500 focus:border-indigo-500 min-w-0 rounded-none rounded-r-md sm:text-sm border-gray-300"}))}const Ri={add_payment_info:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},add_shipping_info:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},add_to_cart:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},add_to_wishlist:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},begin_checkout:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},purchase:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},refund:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},remove_from_cart:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},select_item:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},select_promotion:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},creative_name:{type:"text",required:!1,placeholder:"summer_banner2"},creative_slot:{type:"text",required:!1,placeholder:"featured_app_1"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},promotion_id:{type:"text",required:!1,placeholder:"P_12345"},promotion_name:{type:"text",required:!1,placeholder:"Summer Sale"},quantity:{type:"number",required:!1,placeholder:"1"}},view_cart:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},view_item:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},view_item_list:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},quantity:{type:"number",required:!1,placeholder:"1"}},view_promotion:{item_id:{type:"text",required:!0,placeholder:"SKU_12345"},item_name:{type:"text",required:!0,placeholder:"Stan and Friends Tee"},affiliation:{type:"text",required:!1,placeholder:"Google Store"},coupon:{type:"text",required:!1,placeholder:"SUMMER_FUN"},currency:{type:"text",required:!1,placeholder:"USD"},creative_name:{type:"text",required:!1,placeholder:"summer_banner2"},creative_slot:{type:"text",required:!1,placeholder:"featured_app_1"},discount:{type:"number",required:!1,placeholder:"2.22"},index:{type:"number",required:!1,placeholder:"5"},item_brand:{type:"text",required:!1,placeholder:"Google"},item_category:{type:"text",required:!1,placeholder:"Apparel"},item_category2:{type:"text",required:!1,placeholder:"Adult"},item_category3:{type:"text",required:!1,placeholder:"Shirts"},item_category4:{type:"text",required:!1,placeholder:"Crew"},item_category5:{type:"text",required:!1,placeholder:"Short sleeve"},item_list_id:{type:"text",required:!1,placeholder:"related_products"},item_list_name:{type:"text",required:!1,placeholder:"Related products"},item_variant:{type:"text",required:!1,placeholder:"green"},location_id:{type:"text",required:!1,placeholder:"L_12345"},price:{type:"number",required:!1,placeholder:"9.99"},promotion_id:{type:"text",required:!1,placeholder:"P_12345"},promotion_name:{type:"text",required:!1,placeholder:"Summer Sale"},quantity:{type:"number",required:!1,placeholder:"1"}}},Fi=r=>{let{eventName:i,currentItem:a,setCurrentItem:n,index:u,saveItem:s}=r;const{openItemsForm:o,setOpenItemsForm:l}=(0,t.useContext)(Ai);function L(e,t){let r={...a};r[e]=t,n(r)}return(0,e.createElement)(bt.Root,{show:o,as:t.Fragment},(0,e.createElement)(ki,{as:"div",className:"relative z-[9999991]",onClose:l},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"ease-in-out duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-50 transition-opacity"})),(0,e.createElement)("div",{className:"fixed inset-0"}),(0,e.createElement)("div",{className:"fixed inset-0 overflow-hidden"},(0,e.createElement)("div",{className:"absolute inset-0 overflow-hidden"},(0,e.createElement)("div",{className:"pointer-events-none fixed inset-y-0 right-0 flex w-1/4 min-w-[700px] pl-10"},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"transform transition ease-in-out duration-500 sm:duration-700",enterFrom:"translate-x-full",enterTo:"translate-x-0",leave:"transform transition ease-in-out duration-500 sm:duration-700",leaveFrom:"translate-x-0",leaveTo:"translate-x-full"},(0,e.createElement)(ki.Panel,{className:"pointer-events-auto w-screen flex-1 "},(0,e.createElement)("form",{id:"item-form",onSubmit:function(e){e.preventDefault(),s(a,u),n({}),l(!1)},className:"flex h-full flex-col divide-y divide-gray-200 bg-white shadow-xl"},(0,e.createElement)("div",{"data-component":"form-wrapper",className:"flex min-h-0 flex-1 flex-col"},(0,e.createElement)("header",{className:"py-5 pl-10 pr-10 sticky top-0 shadow backdrop-filter backdrop-blur-lg backdrop-saturate-110 bg-opacity-80"},(0,e.createElement)("div",{className:"flex items-start justify-between"},(0,e.createElement)(ki.Title,{className:"text-2xl font-medium text-gray-900"}," ",u>=0?"Edit":"New"," Item "),(0,e.createElement)("div",{className:"ml-3 flex h-7 items-center"},(0,e.createElement)("button",{type:"button",className:"rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-indigo-500",onClick:()=>l(!1)},(0,e.createElement)("span",{className:"sr-only"},"Close panel"),(0,e.createElement)(kt,{className:"h-6 w-6","aria-hidden":"true"}))))),(0,e.createElement)("div",{"data-component":"main-form",className:"overflow-y-scroll bg-gray-100 p-10"},(0,e.createElement)("div",{"data-component":"inline-form",className:"bg-white w-full p-10 rounded-md"},(0,e.createElement)("div",{"data-component":"fieldset-wrapper",className:"sm:mt-5 space-y-6 sm:space-y-5"},Object.entries(Ri[i]).map((t=>{let[r,i]=t;return(0,e.createElement)(Pi,{key:r,pKey:r,pValue:a[r],required:i.required,type:i.type,placeholder:i.placeholder,setItem:L})})))))),(0,e.createElement)("footer",{className:"flex flex-shrink-0 justify-end px-4 py-4"},(0,e.createElement)("button",{type:"button",className:"rounded-md border border-gray-300 bg-white py-2 px-4 text-sm font-medium text-gray-700 shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2",onClick:()=>l(!1)},"Cancel"),(0,e.createElement)("button",{type:"submit",form:"item-form",className:"ml-4 inline-flex justify-center rounded-md border border-transparent bg-indigo-600 py-2 px-4 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2"},"Save"))))))))))};function _i(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(Boolean).join(" ")}function qi(r){let{eventName:i,eventItems:a,updateFunction:n}=r;(0,t.useRef)();const[u,s]=(0,t.useState)(Array.isArray(a)?a:[]),[o,l]=(0,t.useState)(!1),[L,M]=(0,t.useState)(!1),[c,j]=(0,t.useState)([]),{openItemsForm:d,setOpenItemsForm:N}=(0,t.useContext)(Ai),[y,m]=(0,t.useState)(),[x,g]=(0,t.useState)(!1),[p,T]=(0,t.useState)({}),[w,S]=(0,t.useState)(),[E,D]=(0,t.useState)(!1);return(0,t.useEffect)((()=>{n(u)}),[u]),(0,e.createElement)("div",{"data-component":"items-table",className:"flex flex-col bg-gray-50 rounded-50"},(0,e.createElement)("header",{className:"p-4 sm:flex sm:items-center"},(0,e.createElement)("div",{className:"sm:flex-auto"},(0,e.createElement)("h3",{className:"uppercase text-base leading-6 font-medium text-gray-900"},"Items")),(0,e.createElement)("div",{className:"mt-4 sm:mt-0 sm:ml-16 sm:flex-none"},(0,e.createElement)("button",{onClick:function(){T({}),S(-1),N(!0)},type:"button",className:"capitalize inline-flex items-center justify-center rounded-md border border-transparent bg-brand-primary px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-brand-primary-hover focus:outline-none focus:ring-2 focus:ring-brand-primary-focus focus:ring-offset-2 sm:w-auto"},"Add Item"))),(0,e.createElement)("div",{"data-component":"item-list",className:"bg-gray-100 p-2 flex items-center"},u&&u.length>0?(0,e.createElement)("table",{className:"min-w-full table-fixed divide-y divide-gray-300"},(0,e.createElement)("thead",{className:"bg-gray-50"},(0,e.createElement)("tr",null,(0,e.createElement)("th",{scope:"col",className:"min-w-[12rem] py-3.5 pr-2 pl-4 text-left text-sm font-semibold text-gray-900"},"Item ID"),(0,e.createElement)("th",{scope:"col",className:"px-3 py-3.5 text-left text-sm font-semibold text-gray-900"},"Item Name"),(0,e.createElement)("th",{scope:"col",className:"px-3 py-3.5 text-left text-sm font-semibold text-gray-900"}),(0,e.createElement)("th",{scope:"col",className:"relative py-3.5 pl-3 pr-4 sm:pr-6"},(0,e.createElement)("span",{className:"sr-only"},"Edit")))),(0,e.createElement)("tbody",{className:" bg-white"},u&&u.length>0&&u[0]?u.map(((r,i)=>(0,e.createElement)(t.Fragment,{key:i},(0,e.createElement)("tr",{className:"bg-gray-50"},(0,e.createElement)("td",{className:_i("whitespace-nowrap pr-2 pl-4 text-sm font-medium","py-1","pt-2",c.includes(r)?"text-gtIndigo-600":"text-gray-900")},r.item_id),(0,e.createElement)("td",{rowSpan:"2",className:"whitespace-nowrap px-3 text-sm text-gray-500"},r.item_name),(0,e.createElement)("td",{rowSpan:"2",className:"whitespace-nowrap px-3 text-sm text-gray-500"}),(0,e.createElement)("td",{rowSpan:"2",className:"whitespace-nowrap  py-6 pl-3 pr-4 text-right text-sm font-medium sm:pr-6"},(0,e.createElement)("button",{type:"button",onClick:e=>function(e,t,r){e.preventDefault();let i={...t};T(i),S(r),N(!d)}(e,r,i),className:"inline-flex items-center px-2.5 py-1.5 border border-transparent text-xs font-medium rounded shadow-sm text-white bg-brand-primary hover:bg-brand-primary-hover focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-brand-primary-focus"},"Edit"),(0,e.createElement)("button",{type:"button",onClick:e=>function(e,t,r){e.preventDefault();let i={...t};i.index=r,T(i),g(!0)}(e,r,i),className:"ml-3 inline-flex items-center px-2.5 py-1.5 border border-transparent text-xs font-medium rounded shadow-sm text-white bg-brand-danger hover:bg-brand-danger-hover focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-brand-primary-focus"},"Delete")))))):null)):(0,e.createElement)("div",{"data-component":"no-items-placeholder",className:"p-6 flex-1 text-center items-center opacity-90 bg-gray-200 rounded my-4"},"No Items"),(0,e.createElement)(Fi,{eventName:i,currentItem:p,setCurrentItem:T,index:w,saveItem:(e,t)=>{if(t>=0){let r=u;r[t]=e,s([...r])}else s([...u,e])}})),x&&(0,e.createElement)(Gi,{open:x,toggleDeleteModal:function(){g(!x)},index:p.index,item_id:p.item_id,currentItemId:p.item_id,deleteItem:e=>{let t=u;t.splice(e,1),s(t),T(!1)},updateFunction:n}))}function Bi(t){let{pKey:r,pValue:i,setProp:a,required:n,type:u,placeholder:s,deleteProp:o,deleteButton:l}=t;return(0,e.createElement)(e.Fragment,null,"items"!=r?(0,e.createElement)("tr",{className:"bg-gray-50"},(0,e.createElement)("td",{className:"whitespace-nowrap pr-2 pl-4 text-sm font-medium py-1  pt-2 text-gray-900"},r),(0,e.createElement)("td",{className:"whitespace-nowrap px-3 text-sm text-gray-500"},(0,e.createElement)("input",{type:u,required:n,name:r,placeholder:s,id:r,value:i,onChange:e=>a(r,"items"==r?"[{}]":e.target.value),className:"flex-1 block col-span-2 w-full focus:ring-indigo-500 focus:border-indigo-500 min-w-0 rounded-none rounded-r-md sm:text-sm border-gray-300"})),(0,e.createElement)("td",{className:"whitespace-nowrap px-3 text-sm text-gray-500"}),(0,e.createElement)("td",{className:"whitespace-nowrap  py-6 pl-3 pr-4 text-right text-sm font-medium sm:pr-6"},(0,e.createElement)("button",{type:"button",onClick:e=>o(r),className:"ml-3 inline-flex items-center px-2.5 py-1.5 border border-transparent text-xs font-medium rounded shadow-sm text-white bg-brand-danger hover:bg-brand-danger-hover focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-brand-danger-focus"},"Delete"))):"")}function Zi(e,r){let[i,a]=(0,t.useState)(e),n=st(e);return nt((()=>a(n.current)),[n,a,...r]),i}function Wi(e){var t;if(e.type)return e.type;let r=null!=(t=e.as)?t:"button";return"string"==typeof r&&"button"===r.toLowerCase()?"button":void 0}function Hi(e,r){let[i,a]=(0,t.useState)((()=>Wi(e)));return nt((()=>{a(Wi(e))}),[e.type,e.as]),nt((()=>{i||r.current&&r.current instanceof HTMLButtonElement&&!r.current.hasAttribute("type")&&a("button")}),[i,r]),i}var Vi=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(Vi||{});function Ji(e={},t=null,r=[]){for(let[i,a]of Object.entries(e))Ki(r,Xi(t,i),a);return r}function Xi(e,t){return e?e+"["+t+"]":t}function Ki(e,t,r){if(Array.isArray(r))for(let[i,a]of r.entries())Ki(e,Xi(t,i.toString()),a);else r instanceof Date?e.push([t,r.toISOString()]):"boolean"==typeof r?e.push([t,r?"1":"0"]):"string"==typeof r?e.push([t,r]):"number"==typeof r?e.push([t,`${r}`]):null==r?e.push([t,""]):Ji(r,t,e)}function $i(e,r,i){let[a,n]=(0,t.useState)(i),u=void 0!==e,s=(0,t.useRef)(u),o=(0,t.useRef)(!1),l=(0,t.useRef)(!1);return!u||s.current||o.current?!u&&s.current&&!l.current&&(l.current=!0,s.current=u,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(o.current=!0,s.current=u,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[u?e:a,lt((e=>(u||n(e),null==r?void 0:r(e))))]}function ea(e){return[e.screenX,e.screenY]}var ta=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(ta||{}),ra=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(ra||{}),ia=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(ia||{}),aa=(e=>(e[e.OpenCombobox=0]="OpenCombobox",e[e.CloseCombobox=1]="CloseCombobox",e[e.GoToOption=2]="GoToOption",e[e.RegisterOption=3]="RegisterOption",e[e.UnregisterOption=4]="UnregisterOption",e[e.RegisterLabel=5]="RegisterLabel",e))(aa||{});function na(e,t=(e=>e)){let r=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,i=hr(t(e.options.slice()),(e=>e.dataRef.current.domRef.current)),a=r?i.indexOf(r):null;return-1===a&&(a=null),{options:i,activeOptionIndex:a}}let ua={1(e){var t;return null!=(t=e.dataRef.current)&&t.disabled||1===e.comboboxState?e:{...e,activeOptionIndex:null,comboboxState:1}},0(e){var t;if(null!=(t=e.dataRef.current)&&t.disabled||0===e.comboboxState)return e;let r=e.activeOptionIndex;if(e.dataRef.current){let{isSelected:t}=e.dataRef.current,i=e.options.findIndex((e=>t(e.dataRef.current.value)));-1!==i&&(r=i)}return{...e,comboboxState:0,activeOptionIndex:r}},2(e,t){var r,i,a,n;if(null!=(r=e.dataRef.current)&&r.disabled||null!=(i=e.dataRef.current)&&i.optionsRef.current&&(null==(a=e.dataRef.current)||!a.optionsPropsRef.current.static)&&1===e.comboboxState)return e;let u=na(e);if(null===u.activeOptionIndex){let e=u.options.findIndex((e=>!e.dataRef.current.disabled));-1!==e&&(u.activeOptionIndex=e)}let s=function(e,t){let r=t.resolveItems();if(r.length<=0)return null;let i=t.resolveActiveIndex(),a=null!=i?i:-1,n=(()=>{switch(e.focus){case 0:return r.findIndex((e=>!t.resolveDisabled(e)));case 1:{let e=r.slice().reverse().findIndex(((e,r,i)=>!(-1!==a&&i.length-r-1>=a||t.resolveDisabled(e))));return-1===e?e:r.length-1-e}case 2:return r.findIndex(((e,r)=>!(r<=a||t.resolveDisabled(e))));case 3:{let e=r.slice().reverse().findIndex((e=>!t.resolveDisabled(e)));return-1===e?e:r.length-1-e}case 4:return r.findIndex((r=>t.resolveId(r)===e.id));case 5:return null;default:!function(e){throw new Error("Unexpected object: "+e)}(e)}})();return-1===n?i:n}(t,{resolveItems:()=>u.options,resolveActiveIndex:()=>u.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...u,activeOptionIndex:s,activationTrigger:null!=(n=t.trigger)?n:1}},3:(e,t)=>{var r,i;let a={id:t.id,dataRef:t.dataRef},n=na(e,(e=>[...e,a]));null===e.activeOptionIndex&&null!=(r=e.dataRef.current)&&r.isSelected(t.dataRef.current.value)&&(n.activeOptionIndex=n.options.indexOf(a));let u={...e,...n,activationTrigger:1};return null!=(i=e.dataRef.current)&&i.__demoMode&&void 0===e.dataRef.current.value&&(u.activeOptionIndex=0),u},4:(e,t)=>{let r=na(e,(e=>{let r=e.findIndex((e=>e.id===t.id));return-1!==r&&e.splice(r,1),e}));return{...e,...r,activationTrigger:1}},5:(e,t)=>({...e,labelId:t.id})},sa=(0,t.createContext)(null);function oa(e){let r=(0,t.useContext)(sa);if(null===r){let t=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,oa),t}return r}sa.displayName="ComboboxActionsContext";let la=(0,t.createContext)(null);function La(e){let r=(0,t.useContext)(la);if(null===r){let t=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,La),t}return r}function Ma(e,t){return _e(t.type,ua,e,t)}la.displayName="ComboboxDataContext";let ca=t.Fragment,ja=qe.RenderStrategy|qe.Static,da=Ve((function(e,r){let{value:i,defaultValue:a,onChange:n,name:u,by:s=((e,t)=>e===t),disabled:o=!1,__demoMode:l=!1,nullable:L=!1,multiple:M=!1,...c}=e,[j=(M?[]:void 0),d]=$i(i,n,a),[N,y]=(0,t.useReducer)(Ma,{dataRef:(0,t.createRef)(),comboboxState:l?0:1,options:[],activeOptionIndex:null,activationTrigger:1,labelId:null}),m=(0,t.useRef)(!1),x=(0,t.useRef)({static:!1,hold:!1}),g=(0,t.useRef)(null),p=(0,t.useRef)(null),T=(0,t.useRef)(null),w=(0,t.useRef)(null),S=lt("string"==typeof s?(e,t)=>{let r=s;return(null==e?void 0:e[r])===(null==t?void 0:t[r])}:s),E=(0,t.useCallback)((e=>_e(D.mode,{1:()=>j.some((t=>S(t,e))),0:()=>S(j,e)})),[j]),D=(0,t.useMemo)((()=>({...N,optionsPropsRef:x,labelRef:g,inputRef:p,buttonRef:T,optionsRef:w,value:j,defaultValue:a,disabled:o,mode:M?1:0,get activeOptionIndex(){if(m.current&&null===N.activeOptionIndex&&N.options.length>0){let e=N.options.findIndex((e=>!e.dataRef.current.disabled));if(-1!==e)return e}return N.activeOptionIndex},compare:S,isSelected:E,nullable:L,__demoMode:l})),[j,a,o,M,L,l,N]),I=(0,t.useRef)(null!==D.activeOptionIndex?D.options[D.activeOptionIndex]:null);(0,t.useEffect)((()=>{let e=null!==D.activeOptionIndex?D.options[D.activeOptionIndex]:null;I.current!==e&&(I.current=e)})),nt((()=>{N.dataRef.current=D}),[D]),ni([D.buttonRef,D.inputRef,D.optionsRef],(()=>Y.closeCombobox()),0===D.comboboxState);let f=(0,t.useMemo)((()=>({open:0===D.comboboxState,disabled:o,activeIndex:D.activeOptionIndex,activeOption:null===D.activeOptionIndex?null:D.options[D.activeOptionIndex].dataRef.current.value,value:j})),[D,o,j]),h=lt((e=>{let t=D.options.find((t=>t.id===e));t&&A(t.dataRef.current.value)})),z=lt((()=>{if(null!==D.activeOptionIndex){let{dataRef:e,id:t}=D.options[D.activeOptionIndex];A(e.current.value),Y.goToOption(Vi.Specific,t)}})),C=lt((()=>{y({type:0}),m.current=!0})),O=lt((()=>{y({type:1}),m.current=!1})),b=lt(((e,t,r)=>(m.current=!1,e===Vi.Specific?y({type:2,focus:Vi.Specific,id:t,trigger:r}):y({type:2,focus:e,trigger:r})))),v=lt(((e,t)=>(y({type:3,id:e,dataRef:t}),()=>{var t;(null==(t=I.current)?void 0:t.id)===e&&(m.current=!0),y({type:4,id:e})}))),k=lt((e=>(y({type:5,id:e}),()=>y({type:5,id:null})))),A=lt((e=>_e(D.mode,{0:()=>null==d?void 0:d(e),1(){let t=D.value.slice(),r=t.findIndex((t=>S(t,e)));return-1===r?t.push(e):t.splice(r,1),null==d?void 0:d(t)}}))),Y=(0,t.useMemo)((()=>({onChange:A,registerOption:v,registerLabel:k,goToOption:b,closeCombobox:O,openCombobox:C,selectActiveOption:z,selectOption:h})),[]),U=null===r?{}:{ref:r},Q=(0,t.useRef)(null),G=mt();return(0,t.useEffect)((()=>{Q.current&&void 0!==a&&G.addEventListener(Q.current,"reset",(()=>{A(a)}))}),[Q,A]),t.createElement(sa.Provider,{value:Y},t.createElement(la.Provider,{value:D},t.createElement(tt,{value:_e(D.comboboxState,{0:$e.Open,1:$e.Closed})},null!=u&&null!=j&&Ji({[u]:j}).map((([e,r],i)=>t.createElement(xr,{features:mr.Hidden,ref:0===i?e=>{var t;Q.current=null!=(t=null==e?void 0:e.closest("form"))?t:null}:void 0,...Je({key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,name:e,value:r})}))),Ze({ourProps:U,theirProps:c,slot:f,defaultTag:ca,name:"Combobox"}))))})),Na=Ve((function(e,r){var i;let a=La("Combobox.Button"),n=oa("Combobox.Button"),u=ct(a.buttonRef,r),s=yr(),{id:o=`headlessui-combobox-button-${s}`,...l}=e,L=mt(),M=lt((e=>{switch(e.key){case dr.ArrowDown:return e.preventDefault(),e.stopPropagation(),1===a.comboboxState&&n.openCombobox(),L.nextFrame((()=>{var e;return null==(e=a.inputRef.current)?void 0:e.focus({preventScroll:!0})}));case dr.ArrowUp:return e.preventDefault(),e.stopPropagation(),1===a.comboboxState&&(n.openCombobox(),L.nextFrame((()=>{a.value||n.goToOption(Vi.Last)}))),L.nextFrame((()=>{var e;return null==(e=a.inputRef.current)?void 0:e.focus({preventScroll:!0})}));case dr.Escape:return 0!==a.comboboxState?void 0:(e.preventDefault(),a.optionsRef.current&&!a.optionsPropsRef.current.static&&e.stopPropagation(),n.closeCombobox(),L.nextFrame((()=>{var e;return null==(e=a.inputRef.current)?void 0:e.focus({preventScroll:!0})})));default:return}})),c=lt((e=>{if(Nr(e.currentTarget))return e.preventDefault();0===a.comboboxState?n.closeCombobox():(e.preventDefault(),n.openCombobox()),L.nextFrame((()=>{var e;return null==(e=a.inputRef.current)?void 0:e.focus({preventScroll:!0})}))})),j=Zi((()=>{if(a.labelId)return[a.labelId,o].join(" ")}),[a.labelId,o]),d=(0,t.useMemo)((()=>({open:0===a.comboboxState,disabled:a.disabled,value:a.value})),[a]);return Ze({ourProps:{ref:u,id:o,type:Hi(e,a.buttonRef),tabIndex:-1,"aria-haspopup":"listbox","aria-controls":null==(i=a.optionsRef.current)?void 0:i.id,"aria-expanded":a.disabled?void 0:0===a.comboboxState,"aria-labelledby":j,disabled:a.disabled,onClick:c,onKeyDown:M},theirProps:l,slot:d,defaultTag:"button",name:"Combobox.Button"})})),ya=Ve((function(e,r){var i,a,n,u;let s=yr(),{id:o=`headlessui-combobox-input-${s}`,onChange:l,displayValue:L,type:M="text",...c}=e,j=La("Combobox.Input"),d=oa("Combobox.Input"),N=ct(j.inputRef,r),y=(0,t.useRef)(!1),m=mt(),x=function(){var e;return"function"==typeof L&&void 0!==j.value?null!=(e=L(j.value))?e:"":"string"==typeof j.value?j.value:""}();vr((([e,t],[r,i])=>{y.current||j.inputRef.current&&(0===i&&1===t||e!==r)&&(j.inputRef.current.value=e)}),[x,j.comboboxState]),vr((([e],[t])=>{if(0===e&&1===t){let e=j.inputRef.current;if(!e)return;let t=e.value,{selectionStart:r,selectionEnd:i,selectionDirection:a}=e;e.value="",e.value=t,null!==a?e.setSelectionRange(r,i,a):e.setSelectionRange(r,i)}}),[j.comboboxState]);let g=(0,t.useRef)(!1),p=lt((()=>{g.current=!0})),T=lt((()=>{setTimeout((()=>{g.current=!1}))})),w=lt((e=>{switch(y.current=!0,e.key){case dr.Backspace:case dr.Delete:if(0!==j.mode||!j.nullable)return;let t=e.currentTarget;m.requestAnimationFrame((()=>{""===t.value&&(d.onChange(null),j.optionsRef.current&&(j.optionsRef.current.scrollTop=0),d.goToOption(Vi.Nothing))}));break;case dr.Enter:if(y.current=!1,0!==j.comboboxState||g.current)return;if(e.preventDefault(),e.stopPropagation(),null===j.activeOptionIndex)return void d.closeCombobox();d.selectActiveOption(),0===j.mode&&d.closeCombobox();break;case dr.ArrowDown:return y.current=!1,e.preventDefault(),e.stopPropagation(),_e(j.comboboxState,{0:()=>{d.goToOption(Vi.Next)},1:()=>{d.openCombobox()}});case dr.ArrowUp:return y.current=!1,e.preventDefault(),e.stopPropagation(),_e(j.comboboxState,{0:()=>{d.goToOption(Vi.Previous)},1:()=>{d.openCombobox(),m.nextFrame((()=>{j.value||d.goToOption(Vi.Last)}))}});case dr.Home:if(e.shiftKey)break;return y.current=!1,e.preventDefault(),e.stopPropagation(),d.goToOption(Vi.First);case dr.PageUp:return y.current=!1,e.preventDefault(),e.stopPropagation(),d.goToOption(Vi.First);case dr.End:if(e.shiftKey)break;return y.current=!1,e.preventDefault(),e.stopPropagation(),d.goToOption(Vi.Last);case dr.PageDown:return y.current=!1,e.preventDefault(),e.stopPropagation(),d.goToOption(Vi.Last);case dr.Escape:return y.current=!1,0!==j.comboboxState?void 0:(e.preventDefault(),j.optionsRef.current&&!j.optionsPropsRef.current.static&&e.stopPropagation(),d.closeCombobox());case dr.Tab:if(y.current=!1,0!==j.comboboxState)return;0===j.mode&&d.selectActiveOption(),d.closeCombobox()}})),S=lt((e=>{d.openCombobox(),null==l||l(e)})),E=lt((()=>{y.current=!1})),D=Zi((()=>{if(j.labelId)return[j.labelId].join(" ")}),[j.labelId]),I=(0,t.useMemo)((()=>({open:0===j.comboboxState,disabled:j.disabled})),[j]);return Ze({ourProps:{ref:N,id:o,role:"combobox",type:M,"aria-controls":null==(i=j.optionsRef.current)?void 0:i.id,"aria-expanded":j.disabled?void 0:0===j.comboboxState,"aria-activedescendant":null===j.activeOptionIndex||null==(a=j.options[j.activeOptionIndex])?void 0:a.id,"aria-labelledby":D,"aria-autocomplete":"list",defaultValue:null!=(u=null!=(n=e.defaultValue)?n:void 0!==j.defaultValue?null==L?void 0:L(j.defaultValue):null)?u:j.defaultValue,disabled:j.disabled,onCompositionStart:p,onCompositionEnd:T,onKeyDown:w,onChange:S,onBlur:E},theirProps:c,slot:I,defaultTag:"input",name:"Combobox.Input"})})),ma=Ve((function(e,r){let i=yr(),{id:a=`headlessui-combobox-label-${i}`,...n}=e,u=La("Combobox.Label"),s=oa("Combobox.Label"),o=ct(u.labelRef,r);nt((()=>s.registerLabel(a)),[a]);let l=lt((()=>{var e;return null==(e=u.inputRef.current)?void 0:e.focus({preventScroll:!0})})),L=(0,t.useMemo)((()=>({open:0===u.comboboxState,disabled:u.disabled})),[u]);return Ze({ourProps:{ref:o,id:a,onClick:l},theirProps:n,slot:L,defaultTag:"label",name:"Combobox.Label"})})),xa=Ve((function(e,r){let i=yr(),{id:a=`headlessui-combobox-options-${i}`,hold:n=!1,...u}=e,s=La("Combobox.Options"),o=ct(s.optionsRef,r),l=et(),L=null!==l?(l&$e.Open)===$e.Open:0===s.comboboxState;nt((()=>{var t;s.optionsPropsRef.current.static=null!=(t=e.static)&&t}),[s.optionsPropsRef,e.static]),nt((()=>{s.optionsPropsRef.current.hold=n}),[s.optionsPropsRef,n]),function({container:e,accept:r,walk:i,enabled:a=!0}){let n=(0,t.useRef)(r),u=(0,t.useRef)(i);(0,t.useEffect)((()=>{n.current=r,u.current=i}),[r,i]),nt((()=>{if(!e||!a)return;let t=gr(e);if(!t)return;let r=n.current,i=u.current,s=Object.assign((e=>r(e)),{acceptNode:r}),o=t.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,s,!1);for(;o.nextNode();)i(o.currentNode)}),[e,a,n,u])}({container:s.optionsRef.current,enabled:0===s.comboboxState,accept:e=>"option"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let M=Zi((()=>{var e,t;return null!=(t=s.labelId)?t:null==(e=s.buttonRef.current)?void 0:e.id}),[s.labelId,s.buttonRef.current]),c=(0,t.useMemo)((()=>({open:0===s.comboboxState})),[s]);return Ze({ourProps:{"aria-labelledby":M,role:"listbox","aria-multiselectable":1===s.mode||void 0,id:a,ref:o},theirProps:u,slot:c,defaultTag:"ul",features:ja,visible:L,name:"Combobox.Options"})})),ga=Ve((function(e,r){var i,a;let n=yr(),{id:u=`headlessui-combobox-option-${n}`,disabled:s=!1,value:o,...l}=e,L=La("Combobox.Option"),M=oa("Combobox.Option"),c=null!==L.activeOptionIndex&&L.options[L.activeOptionIndex].id===u,j=L.isSelected(o),d=(0,t.useRef)(null),N=st({disabled:s,value:o,domRef:d,textValue:null==(a=null==(i=d.current)?void 0:i.textContent)?void 0:a.toLowerCase()}),y=ct(r,d),m=lt((()=>M.selectOption(u)));nt((()=>M.registerOption(u,N)),[N,u]);let x=(0,t.useRef)(!L.__demoMode);nt((()=>{if(!L.__demoMode)return;let e=dt();return e.requestAnimationFrame((()=>{x.current=!0})),e.dispose}),[]),nt((()=>{if(0!==L.comboboxState||!c||!x.current||0===L.activationTrigger)return;let e=dt();return e.requestAnimationFrame((()=>{var e,t;null==(t=null==(e=d.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})),e.dispose}),[d,c,L.comboboxState,L.activationTrigger,L.activeOptionIndex]);let g=lt((e=>{if(s)return e.preventDefault();m(),0===L.mode&&M.closeCombobox(),Ni()||/Android/gi.test(window.navigator.userAgent)||requestAnimationFrame((()=>{var e;return null==(e=L.inputRef.current)?void 0:e.focus()}))})),p=lt((()=>{if(s)return M.goToOption(Vi.Nothing);M.goToOption(Vi.Specific,u)})),T=function(){let e=(0,t.useRef)([-1,-1]);return{wasMoved(t){let r=ea(t);return(e.current[0]!==r[0]||e.current[1]!==r[1])&&(e.current=r,!0)},update(t){e.current=ea(t)}}}(),w=lt((e=>T.update(e))),S=lt((e=>{T.wasMoved(e)&&(s||c||M.goToOption(Vi.Specific,u,0))})),E=lt((e=>{T.wasMoved(e)&&(s||c&&(L.optionsPropsRef.current.hold||M.goToOption(Vi.Nothing)))})),D=(0,t.useMemo)((()=>({active:c,selected:j,disabled:s})),[c,j,s]);return Ze({ourProps:{id:u,ref:y,role:"option",tabIndex:!0===s?void 0:-1,"aria-disabled":!0===s||void 0,"aria-selected":j,disabled:void 0,onClick:g,onFocus:p,onPointerEnter:w,onMouseEnter:w,onPointerMove:S,onMouseMove:S,onPointerLeave:E,onMouseLeave:E},theirProps:l,slot:D,defaultTag:"li",name:"Combobox.Option"})})),pa=Object.assign(da,{Input:ya,Button:Na,Label:ma,Options:xa,Option:ga});const Ta=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{fillRule:"evenodd",d:"M10 3a1 1 0 01.707.293l3 3a1 1 0 01-1.414 1.414L10 5.414 7.707 7.707a1 1 0 01-1.414-1.414l3-3A1 1 0 0110 3zm-3.707 9.293a1 1 0 011.414 0L10 14.586l2.293-2.293a1 1 0 011.414 1.414l-3 3a1 1 0 01-1.414 0l-3-3a1 1 0 010-1.414z",clipRule:"evenodd"}))})),wa=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"}))}));function Sa(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(Boolean).join(" ")}function Ea(){const r=(0,t.useContext)(Qi),i=Object.keys(r),{eventNameContext:a,setEventContext:n}=(0,t.useContext)(Yi),[u]=n,[s,o]=a,[l,L]=(0,t.useState)(""),M=""===l?i:i.filter((e=>e.toLowerCase().includes(l.toLowerCase())));return(0,t.useEffect)((()=>{s||(o("generate_lead"),u("generate_lead"))}),[]),(0,e.createElement)(pa,{className:"sm:grid sm:grid-cols-3 sm:gap-4 sm:items-start",as:"fieldset",value:s,onChange:u},(0,e.createElement)(pa.Label,{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Recommended Event"),(0,e.createElement)("div",{className:"relative mt-1 sm:mt-0 sm:col-span-2"},(0,e.createElement)("div",{className:"max-w-sm_ w-full flex rounded-md shadow-sm"},(0,e.createElement)(pa.Input,{className:"w-full flex-1 block min-w-0 rounded-md border border-gray-300 bg-white py-2 pl-3 pr-10 shadow-sm focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 sm:text-sm",onChange:e=>L(e.target.value),displayValue:e=>e}),(0,e.createElement)(pa.Button,{className:"absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none"},(0,e.createElement)(Ta,{className:"h-5 w-5 text-gray-400","aria-hidden":"true"}))),M.length>0&&(0,e.createElement)(pa.Options,{className:"absolute z-10 mt-1 max-h-60 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm"},M.map((t=>(0,e.createElement)(pa.Option,{key:t,value:t,className:e=>{let{active:t}=e;return Sa("relative cursor-default select-none py-2 pl-3 pr-9",t?"bg-indigo-600 text-white":"text-gray-900")}},(r=>{let{active:i,selected:a}=r;return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("span",{className:Sa("block truncate",a&&"font-semibold")},t),a&&(0,e.createElement)("span",{className:Sa("absolute inset-y-0 right-0 flex items-center pr-4",i?"text-white":"text-indigo-600")},(0,e.createElement)(wa,{className:"h-5 w-5","aria-hidden":"true"})))})))))))}function Da(t){let{pKey:r,pValue:i,setProp:a,required:n,type:u,placeholder:s,deleteProp:o,deleteButton:l}=t;return(0,e.createElement)(e.Fragment,null,"items"!=r?(0,e.createElement)("fieldset",{className:"flex flex-1 w-full sm:grid sm:grid-cols-3 sm:gap-4 sm:items-start sm:border-t sm:border-gray-200 sm:pt-5"},(0,e.createElement)("label",{htmlFor:"selectorType",className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"+(1==n?" required":"")},r),(0,e.createElement)("input",{type:u,required:n,name:r,placeholder:s,id:r,value:i,onChange:e=>a(r,"items"==r?"[{}]":e.target.value),className:"flex-1 block col-span-2 w-full focus:ring-indigo-500 focus:border-indigo-500 min-w-0 rounded-none rounded-r-md sm:text-sm border-gray-300"})):"")}const Ia=()=>{const{selectorContext:t}=i().useContext(Yi),[r,a]=t;return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("fieldset",{className:"sm:grid sm:grid-cols-3 sm:gap-4 sm:items-start sm:border-t sm:border-gray-200 sm:pt-5"},(0,e.createElement)("label",{htmlFor:"selector",className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2 required"},"Class or ID Selector"),(0,e.createElement)("div",{className:"mt-1 sm:mt-0 sm:col-span-2"},(0,e.createElement)("div",{className:"w-full flex rounded-md shadow-sm"},(0,e.createElement)("input",{required:!0,type:"text",name:"selector",id:"selector",placeholder:"Full CSS selector (including . and #)",value:r||"",onChange:e=>a(e.target.value),className:"flex-1 block w-full focus:ring-indigo-500 focus:border-indigo-500 min-w-0 rounded-none rounded-r-md sm:text-sm border-gray-300"})))))},fa=t=>{let{currentCustomEvent:r,eventType:i,onClose:a,handleHelpClick:n}=t;return(0,e.createElement)("header",{className:"py-5 pl-10 pr-10 sticky top-0 shadow"},(0,e.createElement)("div",{className:"flex items-start justify-between"},(0,e.createElement)(ki.Title,{className:"text-2xl font-medium text-gray-900"},r?"Edit":"New"," ",i,(0,e.createElement)("button",{type:"button",onClick:n},(0,e.createElement)(_t(),{className:"h-6 w-6 ml-2 inline hover:text-brand-primary","aria-hidden":"true"}))),(0,e.createElement)("div",{className:"ml-3 flex h-7 items-center"},(0,e.createElement)("button",{type:"button",className:"rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-indigo-500",onClick:a},(0,e.createElement)("span",{className:"sr-only"},"Close panel"),(0,e.createElement)(kt,{className:"h-6 w-6","aria-hidden":"true"})))))},ha=t=>{let{onCancel:r}=t;return(0,e.createElement)("footer",{className:"flex flex-shrink-0 justify-end px-4 py-4"},(0,e.createElement)("button",{type:"button",className:"rounded-md border border-gray-300 bg-white py-2 px-4 text-sm font-medium text-gray-700 shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2",onClick:r},"Cancel"),(0,e.createElement)("button",{type:"submit",form:"event-form",className:"ml-4 inline-flex justify-center rounded-md border border-transparent bg-indigo-600 py-2 px-4 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2"},"Save"))},za=t=>{let{properties:r,isRecommended:i,recommendedEvents:a,eventName:n,setProp:u,deleteProp:s}=t;return(0,e.createElement)("div",{"data-component":"props-table",className:"flex flex-col bg-gray-50 rounded-50 mt-6 "},(0,e.createElement)("div",{"data-component":"props-list",className:"bg-gray-100 p-2 flex flex-col items-center rounded pb-4"},(0,e.createElement)("table",{className:"min-w-full table-fixed divide-y divide-gray-300"},(0,e.createElement)("thead",{className:"bg-gray-50"},(0,e.createElement)("tr",null,(0,e.createElement)("th",{scope:"col",className:"min-w-[12rem] py-3.5 pr-2 pl-4 text-left text-sm font-semibold text-gray-900"},"Property"),(0,e.createElement)("th",{scope:"col",className:"px-3 py-3.5 text-left text-sm font-semibold text-gray-900"},"Value"),(0,e.createElement)("th",{scope:"col",className:"px-3 py-3.5 text-left text-sm font-semibold text-gray-900"}),(0,e.createElement)("th",{scope:"col",className:"relative py-3.5 pl-3 pr-4 sm:pr-6"},(0,e.createElement)("span",{className:"sr-only"},"Edit")))),(0,e.createElement)("tbody",{className:"bg-white"},Object.entries(r).map((t=>{let[r,o]=t;return(0,e.createElement)(Bi,{key:r,pKey:r,pValue:o,setProp:u,required:i&&a&&a[n][r]?.required,type:i&&a?a[n][r]?.type:"text",placeholder:i&&a?a[n][r]?.placeholder:"",deleteProp:s,deleteButton:!0})})))),0===Object.keys(r).length&&(0,e.createElement)("div",{"data-component":"no-items-placeholder",className:"p-6 w-full flex-1 text-center items-center opacity-90 bg-gray-200 rounded my-4"},"No Items")))},Ca=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Custom Event Name"),(0,e.createElement)("span",{className:"block pt-5"},'In the "Custom Event Name" field, enter a descriptive label that reflects the action users take on your website, such as "download_ebook" or "play_video".',(0,e.createElement)("p",{className:"pt-2"},"This label becomes the event's name in Google Analytics GA4, allowing you to track and analyze these specific user interactions."),(0,e.createElement)("p",{className:"pt-2"},"Choose clear and consistent names to simplify your event tracking and reporting."))),Oa=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Class or ID Selector"),(0,e.createElement)("span",{className:"block pt-5"},'In the "Class or ID Selector" field, enter the CSS selector that uniquely identifies the webpage element you wish to track, such as a button or link.',(0,e.createElement)("p",{className:"pt-2"},"Use a period (.) for a class or a hash (#) for an ID."),(0,e.createElement)("p",{className:"pt-2"},"For instance, to track clicks on a button with the ID 'purchase', input '#purchase' into this field."),(0,e.createElement)("p",{className:"pt-2"},"This CSS selector enables the plugin to monitor interactions with the specified element and report them as events to Google Analytics GA4.")),(0,e.createElement)("span",{className:"block pt-5 pb-5"},(0,e.createElement)("a",{className:"font-medium text-blue-600 dark:text-blue-500 hover:underline",target:"_blank",href:"https://www.wpgoaltracker.com/dtp7"},"Click here to learn more about how to set the Class or ID Selector."))),ba=a.p+"images/Placeholders.01211bf7.png",va=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Additional Parameters"),(0,e.createElement)("span",{className:"block pt-5"},'The "Additional Properties" section allows you to add extra details to your event, which are sent as parameters with the event to GA4.',(0,e.createElement)("p",{className:"pt-2"},"Each property consists of a key and a value. The key is a simple label describing the data, like 'color' or 'level', while the value is the actual information, such as 'red' or 'hard'."),(0,e.createElement)("p",{className:"pt-2"},"These properties help you segment and analyze your event data more granularly in GA4. For instance, if you're tracking a 'video_play' event, additional properties could include 'video_name' as the key and the actual name of the video as the value."),(0,e.createElement)("p",{className:"pt-2"},"This level of detail can give you better insights into user behavior.")),(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Placeholders (Pro Feature)"),(0,e.createElement)("span",{className:"block pt-5"},'Goal Tracker for Google Analytics Pro allows you to use placeholders in the "Additional Properties" section.',(0,e.createElement)("p",{className:"pt-2"},"This feature is useful when you want to track dynamic data, such as the name of a product or the price of an item."),(0,e.createElement)("p",{className:"italic pt-2"},"If you worked with Liquid Templates this is very similar."),(0,e.createElement)("p",{className:"pt-2"},"Here are a few examples:")),(0,e.createElement)("img",{className:"pt-5",src:ba}),(0,e.createElement)("span",{className:"block pt-5 pb-5"},(0,e.createElement)("a",{className:"font-medium text-blue-600 dark:text-blue-500 hover:underline",target:"_blank",href:"https://www.wpgoaltracker.com/ciwr"},"Click here to learn more about Placeholders."))),ka=()=>(0,e.createElement)("div",null,(0,e.createElement)(Ca,null),(0,e.createElement)(Oa,null),(0,e.createElement)(va,null)),Aa=a.p+"images/RecommendedEvent.3efd48cc.png",Ya=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Recommended Events"),(0,e.createElement)("span",{className:"block pt-5"},"Recommended events in GA4 are pre-configured event types that Google Analytics has identified as significant across a wide range of websites and apps.",(0,e.createElement)("p",{className:"pt-2"},"These include common interactions like 'login', 'search', or 'purchase', which many site owners are interested in tracking."),(0,e.createElement)("p",{className:"pt-2"},"By using these standardized events, even if you're not deeply familiar with analytics, you can benefit from Google's expertise in user behavior tracking."),(0,e.createElement)("p",{className:"pt-2"},"This helps ensure that you're collecting the right data in a format that GA4 can use to generate insightful reports, making it easier for you to understand and analyze your users' actions."),(0,e.createElement)("p",{className:"pt-2"},"Recommended events have pre-defined parameters that are sent to GA4. When you choose an recommended event, we will show you the parameters that are associated with that event.")),(0,e.createElement)("img",{className:"pt-5",src:Aa})),(0,e.createElement)(Oa,null)),{apiFetch:Ua}=wp,Qa=r=>{let{eventType:i,currentCustomEvent:a,setCurrentCustomEvent:n,updateFunction:u,open:s,setOpen:o}=r;const l=(0,t.useContext)(Qi),{type:L}=(0,t.useContext)(Ui),[M,c]=(0,t.useState)(!1),[j,d]=(0,t.useState)(""),[N,y]=(0,t.useState)(""),[m,x]=(0,t.useState)(""),[g,p]=(0,t.useState)(""),[T,w]=(0,t.useState)(""),[S,E]=(0,t.useState)(""),[D,I]=(0,t.useState)({}),[f,h]=(0,t.useState)(!1),[z,C]=(0,t.useState)(!1),{open:O,setOpenHelpSlider:b,setTitleHelpSlider:v,setComponent:k}=Rt();var A;const[Y,U]=(0,t.useState)(!1),[Q,G]=(0,t.useState)(!1),[P,R]=(0,t.useState)(!1),[F,_]=(0,t.useState)(!1);(0,t.useEffect)((()=>{a&&Object.keys(a).length>0?(d(a.selector),p(a.eventName),I(a.props),h(a.isRecommended),C(!!(a.props&&Object.keys(a.props).length>=25)),A=l[a.eventName]):(d(""),p(""),w(""),E(""),I({}),"Recommended Event"===i&&h(1))}),[s]);const q=(e,t)=>{let r={...D};r[e]=t,I(r)};return(0,e.createElement)(Yi.Provider,{value:{eventNameContext:[g,p],customEventNameContext:[N,y],setEventContext:[e=>{A=l[e];const t=[];null!=A&&Object.keys(A).forEach((function(e){t[e]=""})),h(!!A),p(e),I(t)}],selectorContext:[j,d],eventTypeContext:[i,i]}},(0,e.createElement)(Ai.Provider,{value:{openItemsForm:M,setOpenItemsForm:c}},(0,e.createElement)(t.Fragment,null,(0,e.createElement)(bt.Root,{show:s,as:t.Fragment},(0,e.createElement)(ki,{as:"div",className:"relative z-[999999]",onClose:o},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"ease-in-out duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-gray-500/75 backdrop-blur-sm transition-opacity"})),(0,e.createElement)("div",{className:"fixed inset-0"}),(0,e.createElement)("div",{className:"fixed inset-0 overflow-hidden"},(0,e.createElement)("div",{className:"absolute inset-0 overflow-hidden"},(0,e.createElement)("div",{className:`pointer-events-none fixed inset-y-0 right-0 flex ${M||O?"w-2/3":"w-1/2"} min-w-[750px] pl-10 transform transition-all ease-in-out duration-500 sm:duration-700`},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"transform transition ease-in-out duration-500 sm:duration-700",enterFrom:"translate-x-full",enterTo:"translate-x-0",leave:"transform transition ease-in-out duration-500 sm:duration-700",leaveFrom:"translate-x-0",leaveTo:"translate-x-full"},(0,e.createElement)(ki.Panel,{className:"pointer-events-auto flex-1"},(0,e.createElement)("form",{id:"event-form",onSubmit:async function(e){if(e.preventDefault(),"event-form"!==e.target.id)return;U(!0);const t={type:L,selector:j,eventName:g,props:D,isRecommended:f};let r=wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/set_event";a&&(r+="?ID="+a.id);let i=await Ua({path:r,method:"POST",data:{type:L,config:t}});Object.keys(i).length>=3?(R(!1),U(!1),_(!1)):(U(!1),R(!0),_(!0)),G(!0),u(),n({}),o(!1)},className:"flex h-full flex-col divide-y divide-gray-200 bg-white shadow-xl"},(0,e.createElement)("div",{"data-component":"form-wrapper",className:"flex min-h-0 flex-1 flex-col "},(0,e.createElement)(fa,{currentCustomEvent:a,eventType:i,onClose:()=>o(!1),handleHelpClick:()=>{v(i+" Help"),k("Recommended Event"===i?Ya:ka),b(!0)}}),(0,e.createElement)("div",{"data-component":"main-form",className:"overflow-y-scroll bg-gray-100 p-10 flex-1"},(0,e.createElement)("div",{className:"bg-white w-full p-10 rounded-md"},(0,e.createElement)("div",{className:"p-10 min-h-[410px]"},(0,e.createElement)("div",{"data-component":"fieldset-wrapper",className:"mt-6 sm:mt-5 space-y-6 sm:space-y-5"},"Recommended Event"===i?(0,e.createElement)(Ea,null):(0,e.createElement)("div",{className:""},(0,e.createElement)("fieldset",{className:"sm:grid sm:grid-cols-3 sm:gap-4 sm:items-start"},(0,e.createElement)("label",{htmlFor:"selector",className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2 required"},"Custom Event Name"),(0,e.createElement)("div",{className:"mt-1 sm:mt-0 sm:col-span-2"},(0,e.createElement)("div",{className:"w-full flex rounded-md shadow-sm"},(0,e.createElement)("input",{required:!0,type:"text",name:"customEvent",id:"customEvent",placeholder:"custom_event_name  ",maxLength:"40",value:g||"",onChange:e=>p(e.target.value),className:"flex-1 block w-full focus:ring-indigo-500 focus:border-indigo-500 min-w-0 rounded-none rounded-r-md sm:text-sm border-gray-300"}))))),(0,e.createElement)(Ia,null)),"Custom Event"===i||"Recommended Event"===i&&g?(0,e.createElement)(t.Fragment,null,"Recommended Event"===i?(0,e.createElement)("div",{"data-component":"fieldset-wrapper",className:"mt-6 sm:mt-20 space-y-6 sm:space-y-5"},(0,e.createElement)("h3",{className:"text-sm leading-6 font-medium text-gray-600 mt-10 border-b border-gray-200 pb-2 uppercase"},(0,e.createElement)("span",{className:"text-gray-600"})," ","Event"," ",(0,e.createElement)("span",{className:"text-gray-600 text-sm uppercase "},"Properties:")),(0,e.createElement)(t.Fragment,null,Object.entries(D).map((t=>{let[r,i]=t;return(0,e.createElement)(Da,{key:r,pKey:r,pValue:i,setProp:q,required:!!f&&l[g][r].required,type:f?l[g][r].type:"text",placeholder:f?l[g][r].placeholder:""})})),D&&"items"in D?(0,e.createElement)(qi,{eventName:g,eventItems:D.items,updateFunction:e=>{let t={...D};t.items=e,I(t)}}):"")):D&&(0,e.createElement)(t.Fragment,null,(0,e.createElement)("div",{className:"mt-2 sm:mt-5 space-y-6 sm:space-y-5",style:{display:f?"none":"block"}},(0,e.createElement)("div",{className:"sm:grid sm:grid-cols-3 sm:gap-4 sm:items-start sm:border-t sm:border-gray-200 sm:pt-5"},(0,e.createElement)("label",{htmlFor:"selectorType",className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Additional Properties"),(0,e.createElement)("input",{type:"text",name:"dkey",placeholder:"Key",maxLength:"40",id:"dkey",value:T,onChange:e=>w(e.target.value),disabled:z,className:"flex-1 block w-full focus:ring-indigo-500 focus:border-indigo-500 min-w-0 rounded-none rounded-r-md sm:text-sm border-gray-300"}),(0,e.createElement)("input",{type:"text",name:"dvalue",placeholder:"Value",id:"dvalue",maxLength:"100",value:S,onChange:e=>E(e.target.value),disabled:z,className:"flex-1 block w-full focus:ring-indigo-500 focus:border-indigo-500 min-w-0 rounded-none rounded-r-md sm:text-sm border-gray-300"}),(0,e.createElement)("div",{className:"flex w-full justify-end items-end col-end-4"},(0,e.createElement)("button",{type:"button",onClick:()=>{let e={...D};e[T]=S,Object.keys(e).length>=25&&C(!0),I(e)},disabled:z,className:"inline-flex items-center center w-28 px-4 py-1.5 border border-transparent text-xs font-medium rounded text-white bg-brand-primary hover:bg-brand-primary-hover focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-brand-primary-focus"},"Add Property")))),(0,e.createElement)("div",{"data-component":"props-table",className:"flex flex-col bg-gray-50 rounded-50 mt-6 "},(0,e.createElement)(za,{properties:D,isRecommended:f,recommendedEvents:l,eventName:g,setProp:q,deleteProp:e=>{let t={...D};delete t[e],Object.keys(t).length<25&&C(!1),I(t)}})))):"")))),(0,e.createElement)(ha,{onCancel:()=>o(!1)})))),!1))))))))},Ga=r=>{let{open:i,toggleDeleteModal:a,customEvent:n,customEventId:u,deleteEvent:s,updateFunction:o}=r;return(0,e.createElement)(bt.Root,{show:i,as:t.Fragment},(0,e.createElement)(ki,{as:"div",className:"relative z-10",onClose:a},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"})),(0,e.createElement)("div",{className:"fixed z-10 inset-0 overflow-y-auto"},(0,e.createElement)("div",{className:"flex items-end sm:items-center justify-center min-h-full p-4 text-center sm:p-0"},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},(0,e.createElement)(ki.Panel,{className:"relative bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:max-w-lg sm:w-full sm:p-6"},(0,e.createElement)("div",{className:"sm:flex sm:items-start"},(0,e.createElement)("div",{className:"mx-auto flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-red-100 sm:mx-0 sm:h-10 sm:w-10"}),(0,e.createElement)("div",{className:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"},(0,e.createElement)(ki.Title,{as:"h3",className:"text-lg leading-6 font-medium text-gray-900"},"Delete Custom Event"),(0,e.createElement)("div",{className:"mt-2"},(0,e.createElement)("p",{className:"text-sm text-gray-500"},"Are you sure you want to delete the"," ",(0,e.createElement)("span",{className:"strong"},n)," ","customEvent?")))),(0,e.createElement)("div",{className:"mt-5 sm:mt-4 sm:flex sm:flex-row-reverse"},(0,e.createElement)("button",{type:"button",className:"w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-red-600 text-base font-medium text-white hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500 focus:ring-red-500 sm:ml-3 sm:w-auto sm:text-sm",onClick:function(){s(u),o(),a()}},"Delete"),(0,e.createElement)("button",{type:"button",className:"mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:w-auto sm:text-sm",onClick:a},"Cancel"))))))))},Pa=t=>{let{pKey:r,pValue:i,del:a}=t;return(0,e.createElement)("div",{"data-component":"tag",className:"mr-3 mb-2 whitespace-nowrap flex",key:r},(0,e.createElement)("span",{className:" items-center px-3 py-0.5 rounded-l-lg text-sm font-medium bg-gray-200 text-gray-600"},r),(0,e.createElement)("span",{className:"items-center px-3 py-0.5 rounded-r-lg text-sm font-medium bg-gray-400 text-white truncate max-w-[10ch] text-ellipsis"},i))},Ra=()=>(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Need Help with Click Tracking?"),(0,e.createElement)("span",{className:"block pt-5 pb-5"},"Our Click Tracking feature allows you to easily monitor clicks on buttons, links, and other elements on your WordPress site. Check out this brief guide and the accompanying video tutorial for a clear, step-by-step explanation on setting up and using Click Tracking to enhance your Google Analytics insights."),(0,e.createElement)("div",null,(0,e.createElement)("iframe",{width:"576",height:"360",src:"https://www.youtube.com/embed/lpG4VNVpemo",title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0}))),Fa=()=>(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Need Help with Visibility Tracking?"),(0,e.createElement)("span",{className:"block pt-5 pb-5"},"Our Visibility Tracking feature enables you to effectively track when specific elements, such as ads, banners, or forms, come into view for your site visitors. Consult this concise guide and the accompanying video tutorial for a comprehensive, step-by-step breakdown on configuring and utilizing Visibility Tracking to improve your Google Analytics data."),(0,e.createElement)("div",null,(0,e.createElement)("iframe",{width:"576",height:"360",src:"https://www.youtube.com/embed/9nhR6W5w060",title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0})));function _a(r){let{type:i,customEvents:a,deleteEvent:n,updateFunction:u}=r;const[s,l]=(0,t.useState)(!1),[L,M]=(0,t.useState)(!1),[c,j]=(0,t.useState)([]),[d,N]=(0,t.useState)(!1),[y,m]=(0,t.useState)(!1),[x,g]=(0,t.useState)(!1),[p,T]=(0,t.useState)(),[w,S]=(0,t.useState)(),{setOpenHelpSlider:E,setTitleHelpSlider:D,setComponent:I}=Rt();return(0,t.useLayoutEffect)((()=>{c.length>0&&(c.length,a.length)}),[c]),(0,e.createElement)(Ui.Provider,{value:{type:i}},(0,e.createElement)(Qi.Provider,{value:cr},(0,e.createElement)("div",{"data-component":"EventsTable",className:o()("pb-6","bg-white/50","shadow-xl")},(0,e.createElement)(Qa,{eventType:"Recommended Event",currentCustomEvent:w,setCurrentCustomEvent:S,updateFunction:u,open:y,setOpen:m}),(0,e.createElement)(Qa,{eventType:"Custom Event",currentCustomEvent:p,setCurrentCustomEvent:T,updateFunction:u,open:d,setOpen:function(){N(!d)}}),(0,e.createElement)(rr,{setAddCustomEventForm:N,setAddRecommendedEventForm:m}),(0,e.createElement)("div",{className:"mt-8 flex flex-col px-4 lg:px-6"},(0,e.createElement)("div",{className:"-my-2 -mx-4 overflow-x-auto sm:-mx-6 lg:-mx-8"},(0,e.createElement)("div",{className:o()("inline-block min-w-full ","align-middle","py-2 px-4 lg:px-6")},(0,e.createElement)("div",{className:"relative overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg"},(0,e.createElement)("table",{className:"w-full table-fixed divide-y divide-gray-300"},(0,e.createElement)("thead",{className:"bg-white/75"},(0,e.createElement)("tr",null,(0,e.createElement)("th",{scope:"col",className:"min-w-[12rem] py-3.5 pr-3 pl-4 text-left text-sm font-semibold text-gray-900"},"Custom Event Name"),(0,e.createElement)("th",{scope:"col",className:"w-[10rem] relative py-3.5 pl-3 pr-4 sm:pr-6"},(0,e.createElement)("span",{className:"sr-only"},"Edit")))),(0,e.createElement)("tbody",{className:" bg-white w-full"},0==a.length&&!d&&(0,e.createElement)("tr",null,(0,e.createElement)("td",{colSpan:5,className:"w-full"},(0,e.createElement)(Mr,{type:i,setOpenHelpSlider:()=>{const e=`Tracking your first ${i} event`;let t;switch(i){case"click":t=Ra;break;case"visibility":t=Fa;break;default:return void console.error(`Unknown tracking type: ${i}`)}D(e),I(t),E(!0)}}))),a.map(((r,i)=>(0,e.createElement)(t.Fragment,{key:i},(0,e.createElement)("tr",{className:o()(c.includes(r)?"bg-gray-50":void 0,"border-b border-gray-400")},(0,e.createElement)("td",{className:o()("px-4 text-base font-medium","py-1","pt-2",c.includes(r)?"text-gtIndigo-600":"text-gray-900")},(0,e.createElement)("div",null,(0,e.createElement)("span",{className:"text-xs text-gray-400 mr-2 uppercase"},"Event Name"),r.eventName),(0,e.createElement)("div",{className:"text-sm text-gray-600 my-2"},(0,e.createElement)("span",{className:"text-xs text-gray-400 mr-2 uppercase"},"Selector"),r.selector),(0,e.createElement)("div",{className:"text-xs text-gray-400 mr-2 mt-4 uppercase"},"Event Properties"),(0,e.createElement)("div",{className:"flex flex-start w-full items-center content-between py-4 flex-wrap"},r.props&&Object.entries(r.props).filter((e=>{let[t,r]=e;return"items"!==t})).map((t=>{let[r,i]=t;return i?(0,e.createElement)(Pa,{key:r,pKey:r,pValue:i,del:""}):""})))),(0,e.createElement)("td",{className:"bg-slate-50/75 py-6 px-2 text-right text-sm font-medium sm:px-4 w-[16rem]"},(0,e.createElement)("div",{className:"flex items-center flex-wrap space-x-1"},(0,e.createElement)("button",{type:"button",onClick:e=>function(e,t){e.preventDefault();let r={...t};r.edit=!0,r.isRecommended?(S({...r}),m(!0)):(T({...r}),N(!0))}(e,r),className:o()("flex-1","hover:shadow-xl flex items-center","px-2.5 py-1.5 border border-transparent","text-xs font-medium rounded shadow-sm","focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-brand-primary-focus","text-white","bg-brand-primary hover:bg-brand-600")},(0,e.createElement)(sr,{className:"h-4 w-4 mr-1","aria-hidden":"true"}),(0,e.createElement)("div",{className:"flex-1"},"Edit")),(0,e.createElement)("button",{type:"button",onClick:e=>function(e,t){e.preventDefault(),T(t),g(!0)}(e,r),className:o()("hover:shadow-xl flex items-center","px-2.5 py-1.5 border border-transparent","text-xs font-medium rounded shadow-sm","focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-brand-primary-focus","text-white","bg-brand-danger hover:bg-brand-danger-hover")},(0,e.createElement)(or,{className:"h-4 w-4 mx-1","aria-hidden":"true"}),(0,e.createElement)("div",{className:"flex-1 sr-only"},"Delete")))))))))),x&&p&&(0,e.createElement)(Ga,{open:x,toggleDeleteModal:function(){g(!x)},customEvent:p.eventName,customEventId:p.id,deleteEvent:n,updateFunction:u}))))))))}const{useEffect:qa,useRef:Ba}=wp.element,Za=(e,t)=>{const r=Ba(!0);qa((()=>{if(!r.current)return e();r.current=!1}),t)},Wa=e=>qa((()=>e),[]),{apiFetch:Ha}=wp,{isEqual:Va}=lodash,Ja=()=>{const[r,i]=(0,t.useState)([{eventName:"",selector:""}]),{showPromo:a,setShowPromo:n}=nr(),[u,s]=(0,t.useState)(!1),[o,l]=(0,t.useState)(!1),[L,M]=(0,t.useState)(!1),[c,j]=(0,t.useState)(!1),d=async()=>{let e=await async function(){return await Ha({path:wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/get_events?type=click"})}();e.length>=2?n(!0):n(!1),i(e)};return(0,t.useEffect)((()=>{d()}),[]),Za((()=>{})),Wa((()=>{})),(0,e.createElement)(_a,{key:r.selector,type:"click",customEvents:r,deleteEvent:async function(e){let t=await Ha({path:wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/delete_event?id="+e,method:"DELETE"});return d(),t},updateFunction:d})},{apiFetch:Xa}=wp,{isEqual:Ka}=lodash,$a=()=>{const[r,i]=(0,t.useState)([{eventName:"",selector:""}]),{showPromo:a,setShowPromo:n}=nr(),[u,s]=(0,t.useState)(!1),[o,l]=(0,t.useState)(!1),[L,M]=(0,t.useState)(!1),[c,j]=(0,t.useState)(!1),d=async()=>{let e=await async function(){return await Xa({path:wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/get_events?type=visibility"})}();e.length>=2?n(!0):n(!1),i(e)};return(0,t.useEffect)((()=>{d()}),[]),Za((()=>{})),Wa((()=>{})),(0,e.createElement)(e.Fragment,null,(0,e.createElement)(_a,{key:r.selector,type:"visibility",customEvents:r,deleteEvent:async function(e){return await Xa({path:wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/delete_event?id="+e,method:"DELETE"})},updateFunction:d}))};function en(){return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(ye,null,(0,e.createElement)(de,{index:!0,element:(0,e.createElement)(Ja,null)}),(0,e.createElement)(de,{path:"click-tracking",element:(0,e.createElement)(Ja,null)}),(0,e.createElement)(de,{path:"visibility-tracking",element:(0,e.createElement)($a,null)})))}function tn(){return(0,e.createElement)("article",{className:o()("flex flex-col flex-1 justify-end w-full","relative","rounded-2xl p-6 lg:p-8","sm:flex sm:items-end","lg:items-end","shadow-xl hover:shadow-2xl","bg-slate-800")},(0,e.createElement)("header",{className:"text-start text-3xl font-bold tracking-tight text-white w-full"},(0,e.createElement)("img",{className:o()("object-cover w-28 h-auto mr-2"),src:Zt}),"Track Video & Audio"),(0,e.createElement)("div",{className:"flex-1 w-full justify-self-end mt-4 xl:mt-20 mb-8"},(0,e.createElement)("p",{className:"text-xl font-semibold tracking-tight text-white"},"Are your videos performing well?"),(0,e.createElement)("div",{className:"mt-2 text-base leading-7"},(0,e.createElement)("div",{className:"text-lg text-gray-300"},"Most people underestimate how long it actually takes to create a good video (or a podcast).",(0,e.createElement)("p",{className:"mt-4 text-lg text-gray-300"},"First, there’s the script. Then you have to set up all the gear just right and then all the takes when recording. But that’s even before you start editing the video. ",(0,e.createElement)("br",null),"(or maybe you spent a lot of money having someone else make the video)"),(0,e.createElement)("p",{className:"mt-4 text-lg text-gray-300"},"But are the videos on your website delivering?"," "),(0,e.createElement)("p",{className:"mt-4 text-lg text-gray-300"},"Wouldn’t it be great to see how many people became leads or made a purchase after watching a video?"," "),(0,e.createElement)("p",{className:"mt-4 text-lg text-gray-300"},"Here’s how Goal Tracker Pro can help you:"," ")),(0,e.createElement)("ul",{className:"px-2 space-y-2 divide-y divide-white/10 my-4  text-gray-300"},(0,e.createElement)("li",null,"Track all of your embedded ",(0,e.createElement)("b",{className:"text-white"},"YouTube")," ","videos"),(0,e.createElement)("li",null,"Track all of your ",(0,e.createElement)("b",{className:"text-white"},"Vimeo")," videos"),(0,e.createElement)("li",null,"Track ",(0,e.createElement)("b",{className:"text-white"},"self hosted videos")," (uploaded videos)"),(0,e.createElement)("li",null,"Track self hosted ",(0,e.createElement)("b",{className:"text-white"},"Audio")," (Your music/samples/podcast recordings)")),(0,e.createElement)("div",{className:"mt-2 text-lg text-gray-300"},"Goal Tracker Pro will tell you:"),(0,e.createElement)("ul",{className:"px-2 space-y-2 divide-y divide-white/10 my-4  text-gray-300"},(0,e.createElement)("li",null,"How many people played the video"),(0,e.createElement)("li",null,"Video progress"),(0,e.createElement)("li",null,"How many people finished watching the video")))),(0,e.createElement)("footer",{className:"flex items-center"},(0,e.createElement)("a",{href:wpGoalTrackerGa.upgradeUrl,type:"button",className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent ","bg-white text-brand-primary","px-4 py-2","text-sm font-medium","shadow hover:shadow-xl","transform active:scale-75 hover:scale-110 transition-transform","hover:ring-2 hover:ring-white hover:ring-offset-2","focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2")},(0,e.createElement)("span",{className:"mx-2"},"I want to track my videos"),(0,e.createElement)(Qe,{className:"h-5 w-5","aria-hidden":"true"}))))}function rn(){return(0,e.createElement)("article",{className:o()("flex flex-col flex-1 justify-end w-full","relative","rounded-2xl p-6 lg:p-8","sm:flex sm:items-end","lg:items-end","shadow-xl hover:shadow-2xl","bg-brand-900")},(0,e.createElement)("header",{className:"text-start text-3xl font-bold tracking-tight text-white w-full"},(0,e.createElement)("img",{className:o()("object-cover w-28 h-auto mr-2"),src:Wt}),"Contact Form 7"),(0,e.createElement)("div",{className:"flex-1 w-full justify-self-end mt-4 xl:mt-32 mb-8"},(0,e.createElement)("p",{className:"text-xl font-semibold tracking-tight text-white"},"Track your Contact Form 7 Submissions"," "),(0,e.createElement)("div",{className:"mt-2 text-base leading-7 text-white/70"},(0,e.createElement)("div",{className:"text-lg text-gray-300"},"In Goal Tracker for Google Analytics Pro we integrated with the Contact Form 7 plugin:"),(0,e.createElement)("ul",{className:"px-2 space-y-2 divide-y divide-white/10 my-4  text-gray-300"},(0,e.createElement)("li",null,"Track form submission conversions in Google Analytics."),(0,e.createElement)("li",null,"The plugin can track successful conversions and filter out non relevant clicks."),(0,e.createElement)("li",null,"Optimize your forms - Track form validation issues."),(0,e.createElement)("li",null,"Clean statistics - Get statistics on spam submissions."),(0,e.createElement)("li",null,"Track failed email attempts.")),(0,e.createElement)("div",{className:"text-white"},"Upgrade now to elevate your analytics experience with Contact Form 7 form tracking in Goal Tracker Pro!"))),(0,e.createElement)("footer",{className:"flex items-center"},(0,e.createElement)("a",{href:wpGoalTrackerGa.upgradeUrl,type:"button",className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent ","bg-white text-brand-primary","px-4 py-2","text-sm font-medium","shadow hover:shadow-xl","transform active:scale-75 hover:scale-110 transition-transform","hover:ring-2 hover:ring-white hover:ring-offset-2","focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2")},(0,e.createElement)("span",{className:"mx-2"},"Get Pro Features"),(0,e.createElement)(Qe,{className:"h-5 w-5","aria-hidden":"true"}))))}function an(){return(0,e.createElement)("article",{className:o()("flex flex-col flex-1 justify-end w-full","relative","rounded-2xl p-6 lg:p-8","sm:flex sm:items-end","lg:items-end","shadow-xl hover:shadow-2xl","bg-brand-900")},(0,e.createElement)("header",{className:"text-start text-3xl font-bold tracking-tight text-white w-full"},(0,e.createElement)("img",{className:o()("object-cover w-28 h-auto mr-2"),src:Bt}),"User Tracking"),(0,e.createElement)("div",{className:"flex-1 w-full justify-self-end mt-4 xl:mt-32 mb-8"},(0,e.createElement)("p",{className:"text-xl font-semibold tracking-tight text-white"},"Introducing User Tracking for a Deeper Understanding of Your Audience"),(0,e.createElement)("div",{className:"mt-2 text-base leading-7 text-white/70"},(0,e.createElement)("div",{className:"text-lg text-gray-300"},"Upgrade to Goal Tracker Pro and harness the power of User Tracking:"),(0,e.createElement)("ul",{className:"px-2 space-y-2 divide-y divide-white/10 my-4  text-gray-300"},(0,e.createElement)("li",null,"Gain valuable insights into individual user behavior across multiple sessions and devices."),(0,e.createElement)("li",null,"Enhance your marketing strategies, user experience, and overall website performance with data-driven decisions."),(0,e.createElement)("li",null,"Ensure user privacy protection by using hashed identifiers that comply with data privacy regulations."),(0,e.createElement)("li",null,"Unlock the full potential of your website's analytics capabilities for a more comprehensive view of your audience.")),(0,e.createElement)("div",{className:"text-white"},"Upgrade now to elevate your analytics experience with User Tracking in Goal Tracker Pro!"))),(0,e.createElement)("footer",{className:"flex items-center"},(0,e.createElement)("a",{href:wpGoalTrackerGa.upgradeUrl,type:"button",className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent ","bg-white text-brand-primary","px-4 py-2","text-sm font-medium","shadow hover:shadow-xl","transform active:scale-75 hover:scale-110 transition-transform","hover:ring-2 hover:ring-white hover:ring-offset-2","focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2")},(0,e.createElement)("span",{className:"mx-2"},"Get Pro Features"),(0,e.createElement)(Qe,{className:"h-5 w-5","aria-hidden":"true"}))))}function nn(){return(0,e.createElement)("article",{className:o()("flex flex-col flex-1 justify-end w-full","relative","rounded-2xl p-6 lg:p-8","sm:flex sm:items-end","lg:items-end","shadow-xl hover:shadow-2xl","bg-indigo-700")},(0,e.createElement)("header",{className:"text-start text-3xl font-bold tracking-tight text-white w-full"},(0,e.createElement)("img",{className:o()("object-cover w-28 h-auto mr-2"),src:Zt}),"Smart Placeholders"),(0,e.createElement)("div",{className:"flex-1 w-full justify-self-end mt-4 xl:mt-20 mb-8"},(0,e.createElement)("p",{className:"text-xl font-semibold tracking-tight text-white"},"Become a GA Power User"),(0,e.createElement)("div",{className:"mt-2 text-base leading-7"},(0,e.createElement)("div",{className:"text-lg text-gray-300"},"One of the biggest hassles in Google Analytics is getting the data into events.",(0,e.createElement)("p",{className:"mt-4 text-lg text-gray-300"},"In GTM, this means working with endless variables. Or writing JavaScript code to make the data available in the first place."),(0,e.createElement)("p",{className:"mt-4 text-lg text-gray-300"},"But we are WordPress users. We want this to be simple."),(0,e.createElement)("p",{className:"mt-4 text-lg text-gray-300"},"So we created the Placeholders feature in Goal Tracker Pro."),(0,e.createElement)("p",{className:"mt-4 text-lg text-gray-300"},(0,e.createElement)("i",null,"(If you’ve worked with email marketing software - think mail merge or liquid templates)")),(0,e.createElement)("p",{className:"mt-4 text-lg text-gray-300"},"Placeholders allow you to add data from the element, page, or session to the event. Here are a few examples:")),(0,e.createElement)("ul",{className:"px-2 space-y-2 divide-y divide-white/10 my-4  text-gray-300"},(0,e.createElement)("li",null,"Page Author"),(0,e.createElement)("li",null,"Post Category"),(0,e.createElement)("li",null,"Value Attribute"),(0,e.createElement)("li",null,"Referrer"),(0,e.createElement)("li",null,"Text"),(0,e.createElement)("li",null,"User Role"),(0,e.createElement)("li",null,"Data Attributes")),(0,e.createElement)("div",{className:"mt-2 text-lg text-gray-300"},"This is a real game changer for power users who work with a lot of events."))),(0,e.createElement)("footer",{className:"flex items-center"},(0,e.createElement)("a",{href:wpGoalTrackerGa.upgradeUrl,type:"button",className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent ","bg-white text-brand-primary","px-4 py-2","text-sm font-medium","shadow hover:shadow-xl","transform active:scale-75 hover:scale-110 transition-transform","hover:ring-2 hover:ring-white hover:ring-offset-2","focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2")},(0,e.createElement)("span",{className:"mx-2"},"Unlock Placeholders"),(0,e.createElement)(Qe,{className:"h-5 w-5","aria-hidden":"true"}))))}function un(){return(0,e.createElement)("article",{className:o()("flex flex-col flex-1 justify-end w-full","relative","rounded-2xl p-6 lg:p-8","sm:flex sm:items-end","lg:items-end","shadow-xl hover:shadow-2xl","bg-brand-900")},(0,e.createElement)("header",{className:"text-start text-3xl font-bold tracking-tight text-white w-full"},(0,e.createElement)("img",{className:o()("object-cover w-28 h-auto mr-2"),src:Ht}),"WooCommerce"),(0,e.createElement)("div",{className:"flex-1 w-full justify-self-end mt-3 xl:mt-32 mb-8"},(0,e.createElement)("p",{className:"text-xl font-semibold tracking-tight text-white"},"Track your WooCommerce Store in Google Analytics"," "),(0,e.createElement)("div",{className:"mt-2 text-base leading-7 text-white/70"},(0,e.createElement)("div",{className:"text-lg text-gray-300"},"How familiar are you with your customer journey? How does the conversion rate drop between adding items to the cart to starting the checkout process? How much of your revenue can you attribute to that guest blog post?"," "),(0,e.createElement)("div",{className:"text-lg text-gray-300 pt-2"},"If you want to start making data-driven decisions (instead of just guessing), then having a good Analytics system in place is where you should start."," "),(0,e.createElement)("div",{className:"text-lg text-gray-300 pt-2"},"Google Analytics is the default choice for most of us and makes perfect sense - you already track website visits so why not take it up a notch and use the advanced e-commerce features?"," "),(0,e.createElement)("div",{className:"text-lg text-gray-300 pt-2"},"Goal Tracker for Google Analytics can help you start tracking valuable information with just a few clicks."),(0,e.createElement)("ul",{className:"px-2 space-y-2 divide-y divide-white/10 my-4  text-gray-300"},(0,e.createElement)("li",null,"Track customer journey, from first click to final purchase."),(0,e.createElement)("li",null,"Seamlessly integrate your WooCommerce store with Google Analytics GA4."),(0,e.createElement)("li",null,"Goal Tracker will send out all the required events for the Purchase, and Checkout Journey reports."),(0,e.createElement)("li",null,"Enable Woo tracking with just a few clicks.")),(0,e.createElement)("div",{className:"text-white"},"Upgrade now to unlock enhanced eCommerce tracking for WooCommerce."))),(0,e.createElement)("footer",{className:"flex items-center"},(0,e.createElement)("a",{href:wpGoalTrackerGa.upgradeUrl,type:"button",className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent ","bg-white text-brand-primary","px-4 py-2","text-sm font-medium","shadow hover:shadow-xl","transform active:scale-75 hover:scale-110 transition-transform","hover:ring-2 hover:ring-white hover:ring-offset-2","focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2")},(0,e.createElement)("span",{className:"mx-2"},"Track WooCommerce"),(0,e.createElement)(Qe,{className:"h-5 w-5","aria-hidden":"true"}))))}const sn=()=>{const r=()=>(0,e.createElement)(un,null),a=()=>(0,e.createElement)(rn,null),n=[()=>(0,e.createElement)(tn,null),()=>(0,e.createElement)(nn,null),()=>(0,e.createElement)(an,null)],[u,s]=(0,t.useState)(!1),[l,L]=(0,t.useState)(!1),[M,c]=(0,t.useState)(n);return(0,t.useEffect)((()=>{const e=document.querySelector(".toplevel_page_wpcf7"),t=document.querySelector(".toplevel_page_woocommerce");let i=[...n];t&&(i=[r,...i]),e&&(i=[a,...i]),c(i)}),[]),(0,e.createElement)("div",{"data-component":"ProPromo",className:""},(0,e.createElement)("header",{className:"px-6 pt-6 pb-4 rounded-b-xl bg-white"},(0,e.createElement)("aside",{className:o()("flex flex-col flex-1 justify-end w-full","justify-between","rounded-2xl","p-8","lg:max-w-none","lg:flex-none lg:flex-col lg:items-start w-full","bg-white")},(0,e.createElement)("div",null,(0,e.createElement)("span",{"data-component":"tag",className:o()("bg-slate-500","text-white","text-xs px-2 py-1","rounded uppercase")},"PRO")),(0,e.createElement)("div",null,(0,e.createElement)("p",{className:"text-6xl font-semibold tracking-tight text-gray-900"},"Track More"),(0,e.createElement)("p",{className:"mt-2 text-6xl text-gray-600"},"Get More")),(0,e.createElement)("p",{className:"text-base mt-2"},"Upgrade to Goal Tracker Pro to unlock more features and become a Google Analytics power user.",(0,e.createElement)("a",{href:wpGoalTrackerGa.upgradeUrl,type:"button",className:o()("capitalize inline-flex","items-center justify-center","rounded-full","border border-transparent ","bg-brand-primary text-white","px-4 py-2","text-sm font-medium","shadow hover:shadow-xl","transform active:scale-75 hover:scale-110 transition-transform","hover:ring-2 hover:ring-white hover:ring-offset-2","focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2","ml-4")},(0,e.createElement)("span",{className:"mx-2"},"Go Pro"),(0,e.createElement)(Qe,{className:"h-5 w-5","aria-hidden":"true"}))))),(0,e.createElement)("div",{className:o()("p-10","mx-auto mt-16","flex flex-col xl:flex-row gap-4 xl:gap-6 2xl:gap-8","lg:mx-0 lg:mt-10 lg:max-w-none lg:flex-row lg:items-end")},M.slice(0,3).map(((t,r)=>(0,e.createElement)(i().Fragment,{key:r},t())))))};let on=(0,t.createContext)(null);function ln(){let e=(0,t.useContext)(on);if(null===e){let e=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,ln),e}return e}let Ln=Ve((function(e,t){let r=yr(),{id:i=`headlessui-label-${r}`,passive:a=!1,...n}=e,u=ln(),s=ct(t);nt((()=>u.register(i)),[i,u.register]);let o={ref:s,...u.props,id:i};return a&&("onClick"in o&&(delete o.htmlFor,delete o.onClick),"onClick"in n&&delete n.onClick),Ze({ourProps:o,theirProps:n,slot:u.slot||{},defaultTag:"label",name:u.name||"Label"})})),Mn=Object.assign(Ln,{}),cn=(0,t.createContext)(null);cn.displayName="GroupContext";let jn=t.Fragment,dn=Ve((function(e,r){let i=yr(),{id:a=`headlessui-switch-${i}`,checked:n,defaultChecked:u=!1,onChange:s,name:o,value:l,...L}=e,M=(0,t.useContext)(cn),c=(0,t.useRef)(null),j=ct(c,r,null===M?null:M.setSwitch),[d,N]=$i(n,s,u),y=lt((()=>null==N?void 0:N(!d))),m=lt((e=>{if(Nr(e.currentTarget))return e.preventDefault();e.preventDefault(),y()})),x=lt((e=>{e.key===dr.Space?(e.preventDefault(),y()):e.key===dr.Enter&&function(e){var t;let r=null!=(t=null==e?void 0:e.form)?t:e.closest("form");if(r)for(let e of r.elements)if("INPUT"===e.tagName&&"submit"===e.type||"BUTTON"===e.tagName&&"submit"===e.type||"INPUT"===e.nodeName&&"image"===e.type)return void e.click()}(e.currentTarget)})),g=lt((e=>e.preventDefault())),p=(0,t.useMemo)((()=>({checked:d})),[d]),T={id:a,ref:j,role:"switch",type:Hi(e,c),tabIndex:0,"aria-checked":d,"aria-labelledby":null==M?void 0:M.labelledby,"aria-describedby":null==M?void 0:M.describedby,onClick:m,onKeyUp:x,onKeyPress:g},w=mt();return(0,t.useEffect)((()=>{var e;let t=null==(e=c.current)?void 0:e.closest("form");t&&void 0!==u&&w.addEventListener(t,"reset",(()=>{N(u)}))}),[c,N]),t.createElement(t.Fragment,null,null!=o&&d&&t.createElement(xr,{features:mr.Hidden,...Je({as:"input",type:"checkbox",hidden:!0,readOnly:!0,checked:d,name:o,value:l})}),Ze({ourProps:T,theirProps:L,slot:p,defaultTag:"button",name:"Switch"}))})),Nn=Object.assign(dn,{Group:function(e){var r;let[i,a]=(0,t.useState)(null),[n,u]=function(){let[e,r]=(0,t.useState)([]);return[e.length>0?e.join(" "):void 0,(0,t.useMemo)((()=>function(e){let i=lt((e=>(r((t=>[...t,e])),()=>r((t=>{let r=t.slice(),i=r.indexOf(e);return-1!==i&&r.splice(i,1),r}))))),a=(0,t.useMemo)((()=>({register:i,slot:e.slot,name:e.name,props:e.props})),[i,e.slot,e.name,e.props]);return t.createElement(on.Provider,{value:a},e.children)}),[r])]}(),[s,o]=Kr(),l=(0,t.useMemo)((()=>({switch:i,setSwitch:a,labelledby:n,describedby:s})),[i,a,n,s]),L=e;return t.createElement(o,{name:"Switch.Description"},t.createElement(u,{name:"Switch.Label",props:{htmlFor:null==(r=l.switch)?void 0:r.id,onClick(e){i&&("LABEL"===e.currentTarget.tagName&&e.preventDefault(),i.click(),i.focus({preventScroll:!0}))}}},t.createElement(cn.Provider,{value:l},Ze({ourProps:{},theirProps:L,defaultTag:jn,name:"Switch.Group"}))))},Label:Mn,Description:ei});const{apiFetch:yn}=wp,mn=(0,t.createContext)(void 0),xn=r=>{let{children:i}=r;const[a,n]=(0,t.useState)(!1),[u,s]=(0,t.useState)(""),[o,L]=(0,t.useState)(!1),[M,c]=(0,t.useState)(!1),[j,d]=(0,t.useState)(""),[N,y]=(0,t.useState)(!1),[m,x]=(0,t.useState)(!1),[g,p]=(0,t.useState)(!1),[T,w]=(0,t.useState)(!1),S=(0,t.useContext)(l);if(!S)throw new Error("ChildComponent must be used within a TabContextProvider");const{updateHasIssueByName:E}=S;(0,t.useEffect)((()=>{(async()=>{await I()})()}),[]);const D=e=>{e&&(d(e.measurementID),n(e.trackLinks.enabled),e.trackLinks&&e.trackLinks.enabled&&e.trackLinks.type&&s(e.trackLinks.type),L(e.trackEmailLinks),c(e.disableTrackingForAdmins),y(e.gaDebug),x(e.disablePageView),p(e.noSnippet),e.hideGeneralSettingsTutorial||w(!e.hideGeneralSettingsTutorial)),""===e.measurementID&&!1===e.noSnippet&&E("Settings",!0)},I=async()=>{let e=await yn({path:wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/get_general_settings"});return D(e||{}),e};return(0,e.createElement)(mn.Provider,{value:{trackLinks:a,setTrackLinks:n,trackLinksType:u,setTrackLinksType:s,trackEmailLinks:o,setTrackEmailLinks:L,disableTrackingForAdmins:M,setDisableTrackingForAdmins:c,measurementID:j,setMeasurementID:d,gaDebug:N,setGaDebug:y,disablePageView:m,setDisablePageView:x,noSnippet:g,setNoSnippet:p,showTutorial:T,setShowTutorial:w,setSettings:async e=>{e.preventDefault();const t={measurementID:j,gaDebug:N,disablePageView:m,noSnippet:g,trackLinks:{enabled:a,type:u||"all"},trackEmailLinks:o,disableTrackingForAdmins:M};await yn({path:wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/set_general_settings",method:"POST",data:{generalSettings:t}})},getSettings:I,updateSettings:D}},i)},gn=a.p+"images/DebugViewHelp.d6e18691.png",pn=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"DebugView"),(0,e.createElement)("span",{className:"block pt-5"},"The Debug View Integration feature is a helpful tool that lets you enable the GA4 Debug View for your website. This feature allows you to see real-time data from your website's events in Google Analytics, making it easier to test and troubleshoot your tracking setup. With Debug View, you can confirm if your events are being sent correctly and ensure that your data is accurate before you start analyzing it.",(0,e.createElement)("p",null,"We do not recommend toggling this off once you are done testing.")),(0,e.createElement)("img",{className:"pt-5",src:gn}),(0,e.createElement)("span",{className:"block pt-5 pb-5"},"To enable Debug View:",(0,e.createElement)("p",null),(0,e.createElement)("ol",{className:"list-decimal pt-5 list-inside ml-4"},(0,e.createElement)("li",{className:"mb-2"},"Toggle the DebugView option"),(0,e.createElement)("li",{className:"mb-2"},"Visit your website and interact with the elements you're tracking"),(0,e.createElement)("li",{className:"mb-2"},"Go to your Google Analytics account "),(0,e.createElement)("li",{className:"mb-2"},'Locate the "Admin" button at the bottom left corner and click on it'),(0,e.createElement)("li",{className:"mb-2"},'Click on "DebugView" in the "Property" column'),(0,e.createElement)("li",{className:"mb-2"},"Watch as events start showing on the screen")))),Tn=a.p+"images/help-measurement-id.2f22bbe3.png",wn=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Measurement Id"),(0,e.createElement)("span",{className:"block pt-5"},'The GA4 Measurement ID is a special code that helps Goal Tracker for Google Analytics plugin connect your WordPress website to Google Analytics 4. This code allows you to collect important information about how people interact with your website. The Measurement ID is a short code that begins with "G-" and is followed by a mix of numbers and letters.'),(0,e.createElement)("img",{className:"block pt-5",src:Tn}),(0,e.createElement)("span",{className:"block pt-5 pb-5"},"To find your GA4 Measurement ID, follow these steps:",(0,e.createElement)("ol",{className:"list-decimal pt-5 list-inside ml-4"},(0,e.createElement)("li",{className:"mb-2"},"Sign in to your Google Analytics account"),(0,e.createElement)("li",{className:"mb-2"},'Locate the "Admin" button at the bottom left corner and click on it'),(0,e.createElement)("li",{className:"mb-2"},"Choose the appropriate account and property"),(0,e.createElement)("li",{className:"mb-2"},'Click on "Data Streams" in the "Property" column'),(0,e.createElement)("li",{className:"mb-2"},'Select the data stream labeled "Web"'),(0,e.createElement)("li",{className:"mb-2"},"Find your Measurement ID at the top of the opened page"),(0,e.createElement)("li",{className:"mb-2"},"Copy the code and paste it into the Goal Tracker for Google Analytics plugin settings on your WordPress site")))),Sn=()=>(0,e.createElement)("div",null,(0,e.createElement)(wn,null),(0,e.createElement)(pn,null)),En=a.p+"images/GoogleTagManagerHelp.389572fe.png",Dn=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Goal Tracker and Google Tag Manager"),(0,e.createElement)("span",{className:"block pt-5"},(0,e.createElement)("p",null,'If you are already using Google Tag Manager to track page views on the website, we recommend toggling the "Disable page_view Tracking " option in Goal Tracker.'),(0,e.createElement)("p",null,"The reason is that we want to make sure that you are not sending two page view events every time the page loads.")),(0,e.createElement)("span",{className:"block pt-5 pb-5"},"How can you tell if Google Tag Manager is configured to track page views?",(0,e.createElement)("ol",{className:"list-decimal pt-5 list-inside ml-4"},(0,e.createElement)("li",{className:"mb-2"},"Open Google Tag Manager and go to the tags page"),(0,e.createElement)("li",{className:"mb-2"},'Search for a tag of type "Google Analytics: GA4 Configuration" and click it'),(0,e.createElement)("li",{className:"mb-2"},"Click on the tag configuration "),(0,e.createElement)("li",{className:"mb-2"},'Check if the "Send a page view event when this configuration loads" box has been clicked. If it did then it means that you are using Google Tag Manager to track page views.'))),(0,e.createElement)("img",{className:"pt-5",src:En}))),In=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Working with third-party Google Analytics plugins"),(0,e.createElement)("span",{className:"block pt-5"},(0,e.createElement)("p",null,'At times, there may be conflicts between our plugin and third-party Google Analytics plugins. In such cases, it is advisable to consider toggling the "Don\'t add the "gtag" code snippet" option.'),(0,e.createElement)("p",null,"When you toggle the option, our plugin will try to work with existing tags on the page."),(0,e.createElement)("p",null,"However, this means that our plugin is limited in how it can configure the integration with Google Analytics. The following features will not be available:")),(0,e.createElement)("span",{className:"block pt-5 pb-5"},(0,e.createElement)("ol",{className:"list-decimal list-inside ml-4"},(0,e.createElement)("li",{className:"mb-2"},"DebugView"),(0,e.createElement)("li",{className:"mb-2"},"Disabling Page View Tracking"),(0,e.createElement)("li",{className:"mb-2"},"User Tracking - Pro feature"),(0,e.createElement)("li",{className:"mb-2"},"Multiple Trackers - Pro feature"))))),fn=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Link Tracking"),(0,e.createElement)("span",{className:"block pt-5"},"The Email Link Tracking feature in Goal Tracker for Google Analytics specifically tracks email links (mailto:) on your website. It uses the event name ",(0,e.createElement)("code",null,"email_link_click"),' to help you monitor and analyze user interactions with email links. To enable this feature, you need to perform two steps: toggle the feature in the plugin and create a custom dimension "email address" in Google Analytics.'),(0,e.createElement)("span",{className:"block pt-5"},"Follow these steps to enable Email Link Tracking:"),(0,e.createElement)("span",{className:"block pt-5"},(0,e.createElement)("ol",{className:"list-decimal list-inside"},(0,e.createElement)("li",{className:"mb-2"},"Navigate to the Goal Tracker for Google Analytics plugin settings in your WordPress dashboard"),(0,e.createElement)("li",{className:"mb-2"},'Find the "Email Link Tracking" toggle switch and turn it on'),(0,e.createElement)("li",{className:"mb-4"},'Sign in to your Google Analytics account and access the "Admin" section'),(0,e.createElement)("li",{className:"mb-2"},'Under the "Property" column, click on "Custom Definitions" and then "Custom Dimensions"'),(0,e.createElement)("li",{className:"mb-2"},'Click on "Create Custom Dimension" and name it "email address"'),(0,e.createElement)("li",{className:"mb-2"},'Set the "Scope" to "Event" and click on "Create"'))),(0,e.createElement)("span",{className:"block pt-5"},(0,e.createElement)("p",null,"Once you have completed these steps, the plugin will automatically track clicks on email links and send the event data to your Google Analytics 4 property under the event name"," ",(0,e.createElement)("code",null,"email_link_click"),'. The custom dimension "email address" will provide additional insights into the email addresses users interact with on your website.'),(0,e.createElement)("a",{className:"pt-5 font-medium text-blue-600 dark:text-blue-500 hover:underline",target:"_blank",href:"https://www.wpgoaltracker.com/tracking-email-links-with-goal-tracker-for-google-analytics/"},"Click here to learn more about email link tracking."))),hn=()=>(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2"},"Link Tracking"),(0,e.createElement)("span",{className:"block pt-5"},"Goal Tracker for Google Analytics offers an improved Link Tracking feature as an alternative to GA4's Enhanced Analytics. This feature allows you to track both internal and external links using the event name ",(0,e.createElement)("code",null,"link_click"),", making it more convenient and efficient to work with compared to the standard GA4 implementation."),(0,e.createElement)("span",{className:"block pt-5"},'To enable the link tracking feature, toggle the Track Links option and then select "Track All Links" to track all the links (both internal and external) on the website, or "Track External Links" to track internal links.'),(0,e.createElement)("span",{className:"block pt-5 pb-5"},(0,e.createElement)("a",{className:"font-medium text-blue-600 dark:text-blue-500 hover:underline",target:"_blank",href:"https://www.wpgoaltracker.com/tracking-links-with-goal-tracker-for-google-analytics/"},"Click here to learn more about link tracking."))),zn=()=>(0,e.createElement)("div",null,(0,e.createElement)(hn,null),(0,e.createElement)(fn,null)),Cn=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"}))})),On=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-8l-4-4m0 0L8 8m4-4v12"}))})),{apiFetch:bn}=wp;function vn(r){let{getSettings:i,setShowImportNotification:a}=r;const[n,u]=(0,t.useState)(!1),s=(0,t.useRef)(null);return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(Gt,null,(0,e.createElement)(qt,{title:"Configuration backup",titleHelper:"Export / import configuration file",children:void 0}),(0,e.createElement)(Qt,null,(0,e.createElement)(Ut,{label:"Export Configuration",description:"Back up your plugin's settings",id:"",isPrimary:!1},(0,e.createElement)("button",{className:"flex-1 flex items-center text-white bg-brand-primary hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 font-bold py-2 px-4 rounded",onClick:async()=>{const e=await(async()=>await bn({path:wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/get_entire_config"}))(),t=JSON.stringify(e,null,2),r=new Blob([t],{type:"application/json"}),i=URL.createObjectURL(r),a=`goal-tracker-config-${(new Date).toISOString().slice(0,10).replace(/-/g,"")}.json`,n=document.createElement("a");n.href=i,n.download=a,document.body.appendChild(n),n.click(),document.body.removeChild(n)}},(0,e.createElement)(Cn,{className:"h-5 w-5 text-white-400 mr-2","aria-hidden":"true"}),(0,e.createElement)("span",null,"Download Settings"))),(0,e.createElement)(Ut,{label:"Import Configuration",description:"Restore configuration from backup file",id:"",isPrimary:!1}," ",(0,e.createElement)("button",{className:"flex-1 flex items-center text-white bg-brand-primary hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 font-bold py-2 px-4 rounded",onClick:()=>{s.current.click()}},(0,e.createElement)(On,{className:"h-5 w-5 text-white-400 mr-2","aria-hidden":"true"}),(0,e.createElement)("span",null,"Upload Settings")),(0,e.createElement)("input",{type:"file",ref:s,style:{display:"none"},onChange:e=>{const t=e.target.files[0];if(!t)return;const r=new FileReader;r.onload=async e=>{try{const t=JSON.parse(e.target.result);await(async e=>{let t=await bn({path:wpGoalTrackerGa.rest.namespace+wpGoalTrackerGa.rest.version+"/set_entire_config",method:"POST",data:{config:e}});return await i(),t})(t),a("success")}catch(e){a("failure")}},r.readAsText(t)}})))))}const kn=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12l2 2 4-4M7.835 4.697a3.42 3.42 0 001.946-.806 3.42 3.42 0 014.438 0 3.42 3.42 0 001.946.806 3.42 3.42 0 013.138 3.138 3.42 3.42 0 00.806 1.946 3.42 3.42 0 010 4.438 3.42 3.42 0 00-.806 1.946 3.42 3.42 0 01-3.138 3.138 3.42 3.42 0 00-1.946.806 3.42 3.42 0 01-4.438 0 3.42 3.42 0 00-1.946-.806 3.42 3.42 0 01-3.138-3.138 3.42 3.42 0 00-.806-1.946 3.42 3.42 0 010-4.438 3.42 3.42 0 00.806-1.946 3.42 3.42 0 013.138-3.138z"}))})),An=t.forwardRef((function(e,r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:r},e),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18.364 18.364A9 9 0 005.636 5.636m12.728 12.728A9 9 0 015.636 5.636m12.728 12.728L5.636 5.636"}))}));function Yn(r){let{showNotification:i}=r;const[a,n]=(0,t.useState)(!!i);return(0,t.useEffect)((()=>{n(!!i)}),[i]),(0,e.createElement)(t.Fragment,null,(0,e.createElement)("div",{"aria-live":"assertive",className:"pointer-events-none fixed inset-0 flex items-end px-4 py-6 sm:items-start sm:p-6"},(0,e.createElement)("div",{className:"flex w-full flex-col items-center space-y-4 sm:items-end"},(0,e.createElement)(bt,{show:a,as:t.Fragment,enter:"transform ease-out duration-300 transition",enterFrom:"translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-2",enterTo:"translate-y-0 opacity-100 sm:translate-x-0",leave:"transition ease-in duration-100",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"pointer-events-auto w-full max-w-sm overflow-hidden rounded-lg bg-white shadow-lg ring-1 ring-black ring-opacity-5"},(0,e.createElement)("div",{className:"p-4"},(0,e.createElement)("div",{className:"flex items-start"},(0,e.createElement)("div",{className:"flex-shrink-0"},"success"==i?(0,e.createElement)(kn,{className:"h-6 w-6 text-green-400","aria-hidden":"true"}):(0,e.createElement)(An,{className:"h-6 w-6 text-red-400","aria-hidden":"true"})),(0,e.createElement)("div",{className:"ml-3 w-0 flex-1 pt-0.5"},(0,e.createElement)("p",{className:"text-sm font-medium text-gray-900"},"success"==i?"Import Successful":"Failed to read the configuration file")),(0,e.createElement)("div",{className:"ml-4 flex flex-shrink-0"},(0,e.createElement)("button",{type:"button",className:"inline-flex rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2",onClick:()=>{n(!1)}},(0,e.createElement)("span",{className:"sr-only"},"Close"),(0,e.createElement)(kt,{className:"h-5 w-5","aria-hidden":"true"}))))))))))}const{useEffect:Un,useRef:Qn}=wp.element,{apiFetch:Gn}=wp,{isEqual:Pn}=lodash,Rn=()=>{const{trackLinks:r,setTrackLinks:i,trackLinksType:a,setTrackLinksType:n,trackEmailLinks:u,setTrackEmailLinks:s,disableTrackingForAdmins:l,setDisableTrackingForAdmins:L,measurementID:M,setMeasurementID:c,gaDebug:j,setGaDebug:d,disablePageView:N,setDisablePageView:y,noSnippet:m,showTutorial:x,setShowTutorial:g,setNoSnippet:p,setSettings:T,getSettings:w,updateSettings:S}=(()=>{const e=(0,t.useContext)(mn);if(!e)throw new Error("useGeneralSettings must be used within a GeneralSettingsProvider");return e})(),[E,D]=(0,t.useState)(!1),[I,f]=(0,t.useState)(!1),[h,z]=(0,t.useState)(!1),[C,O]=(0,t.useState)(!1),[b,v]=(0,t.useState)(""),{showPromo:k,setShowPromo:A}=nr();var Y;return(0,t.useEffect)((()=>{(async()=>{await w(),A(""!==M||!m)})()}),[]),(0,t.useEffect)((()=>{O(!0)}),[r,a,u,l,M]),((e,t)=>{const r=Qn(!0);Un((()=>{r.current&&(r.current=!1)}),void 0)})(),Y=()=>{},Un((()=>Y),[]),(0,e.createElement)("div",{className:"bg-white/75"},(0,e.createElement)(Yt,{showTutorial:x,showCloseButton:!0}),(0,e.createElement)("form",{onSubmit:T,className:"bg-white/50 p-5 rounded shadow-xl"},(0,e.createElement)("div",{"data-component":"SectionContainer",className:"space-y-8 sm:space-y-5"},(0,e.createElement)(Gt,null,(0,e.createElement)(qt,{title:"Connect With Google Analytics 4",titleHelper:"Let's connect with Google Analytics GA4.\n              Our plugin will install the Google Analytics GA4 code on your website using these settings.",helpComponent:Sn,helpTitle:"Connecting with Google Analytics"}),(0,e.createElement)(Qt,null,(0,e.createElement)(Ut,{label:"MEASUREMENT ID",id:"measurementID",description:"A Measurement ID is a Google Analytics unique identifier (e.g., G-12345) for your website",isPrimary:!1},(0,e.createElement)("div",{className:"max-w-xs flex rounded-md shadow-sm"},(0,e.createElement)("input",{type:"text",name:"measurementID",placeholder:"G-XXXXXXXXXX",id:"measurementID",value:M,onChange:e=>c(e.target.value),className:o()("flex-1 block w-full","focus:ring-brand-primary focus:border-brand-primary-focus","min-w-0 rounded-none","text-sm md:text-2xl","border-gray-300")}))),(0,e.createElement)(Ut,{label:"Enable GA4 Debug View",id:"",description:"",isPrimary:!1},(0,e.createElement)(Nn,{id:"gaDebug",name:"gaDebug",checked:j,onChange:d,className:o()(j?"bg-brand-primary":"bg-slate-500","relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500")},(0,e.createElement)("span",{className:"sr-only"},"GA4 Debug View"),(0,e.createElement)("span",{"aria-hidden":"true",className:o()(j?"translate-x-5":"translate-x-0","pointer-events-none inline-block h-5 w-5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200")}))))),(0,e.createElement)(Gt,null,(0,e.createElement)(qt,{title:"Google Tag Manager",titleHelper:"If you are using Google Tag Manager, you may want to check one of the following.",helpComponent:Dn,helpTitle:"Google Tag Manager"}),(0,e.createElement)(Qt,null,(0,e.createElement)(Ut,{label:"Disable page_view Tracking",description:"Useful when tracking page views through Google Tag Manager",id:"",isPrimary:!1},(0,e.createElement)(Nn,{id:"disablePageView",name:"disablePageView",checked:N,onChange:y,className:o()(N?"bg-brand-primary":"bg-slate-500","relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500")},(0,e.createElement)("span",{className:"sr-only"},"Use setting"),(0,e.createElement)("span",{"aria-hidden":"true",className:o()(N?"translate-x-5":"translate-x-0","pointer-events-none inline-block h-5 w-5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200")}))))),(0,e.createElement)(Gt,null,(0,e.createElement)(qt,{title:"Third party Google Analytics plugins",titleHelper:"If you are using other Google Analytics plugins, you may want to check one of the following.",helpComponent:In,helpTitle:"Third party Google Analytics plugins"}),(0,e.createElement)(Qt,null,(0,e.createElement)(Ut,{label:'Don\'t add the "gtag" code snippet',description:"Useful when using third-party GA plugins",id:"",isPrimary:!1},(0,e.createElement)(Nn,{id:"noSnippet",name:"noSnippet",checked:m,onChange:p,className:o()(m?"bg-brand-primary":"bg-slate-500","relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500")},(0,e.createElement)("span",{className:"sr-only"},"Use setting"),(0,e.createElement)("span",{"aria-hidden":"true",className:o()(m?"translate-x-5":"translate-x-0","pointer-events-none inline-block h-5 w-5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200")}))))),(0,e.createElement)(Gt,null,(0,e.createElement)(qt,{title:"Custom Events Tracking",titleHelper:"Select the Custom Events that you want to track with Google\n                Analytics GA4:",helpComponent:zn,helpTitle:"CustomEventTracking"}),(0,e.createElement)(Qt,null,(0,e.createElement)(Ut,{label:"Track Links",description:"Auto track all links",id:"",isPrimary:!1},(0,e.createElement)(Nn,{id:"trackLinks",name:"trackLinks",checked:r,onChange:i,className:o()(r?"bg-brand-primary":"bg-slate-500","relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500")},(0,e.createElement)("span",{className:"sr-only"},"Use setting"),(0,e.createElement)("span",{"aria-hidden":"true",className:o()(r?"translate-x-5":"translate-x-0","pointer-events-none inline-block h-5 w-5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200")})),(0,e.createElement)("div",{className:o()(r?"block":"hidden","duration-700,ease-in, overflow-hidden,transition-all")},(0,e.createElement)("select",{id:"trackLinksType",name:"trackLinksType",value:a,onChange:e=>n(e.target.value),className:"max-w-lg block mt-4 focus:ring-indigo-500 focus:border-indigo-500 w-full shadow-sm sm:max-w-xs sm:text-sm border-gray-300 rounded-md"},(0,e.createElement)("option",{value:"all"},"Track All Links"),(0,e.createElement)("option",{value:"external"},"Track External Links"))))),(0,e.createElement)(Qt,null,(0,e.createElement)(Ut,{label:"Track Email Links",description:"Tracking for mailto: links",id:"",isPrimary:!1},(0,e.createElement)(Nn,{id:"trackEmailLinks",name:"trackEmailLinks",checked:u,onChange:s,className:o()(u?"bg-brand-primary":"bg-slate-500","relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500")},(0,e.createElement)("span",{className:"sr-only"},"Use setting"),(0,e.createElement)("span",{"aria-hidden":"true",className:o()(u?"translate-x-5":"translate-x-0","pointer-events-none inline-block h-5 w-5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200")})))),(0,e.createElement)(Qt,null,(0,e.createElement)(Ut,{label:"Don't track admin users",description:"Disable Google Analytics tracking for logged in administrators",id:"",isPrimary:!1},(0,e.createElement)(Nn,{id:"disableTrackingForAdmins",name:"disableTrackingForAdmins",checked:l,onChange:L,className:o()(l?"bg-brand-primary":"bg-slate-500","relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500")},(0,e.createElement)("span",{className:"sr-only"},"Use setting"),(0,e.createElement)("span",{"aria-hidden":"true",className:o()(l?"translate-x-5":"translate-x-0","pointer-events-none inline-block h-5 w-5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200")}))))),(0,e.createElement)(vn,{getSettings:w,setShowImportNotification:v}),(0,e.createElement)(Yn,{showNotification:b})),(0,e.createElement)("footer",{className:"px-5 py-5 bg-white/50 shadow-2xl"},(0,e.createElement)("div",{className:"flex justify-end"},(0,e.createElement)("button",{type:"button",className:"bg-white py-2 px-4 border border-gray-300 rounded-md shadow-sm text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"},"Cancel"),(0,e.createElement)("button",{type:"submit",disabled:!C,className:"disabled:opacity-30 ml-3 inline-flex justify-center py-2 px-4 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-brand-primary hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"},"Save")))))},Fn=r=>{let{title:i,Component:a,open:n,setOpen:u}=r;return(0,e.createElement)(t.Fragment,null,(0,e.createElement)(bt.Root,{show:n,as:t.Fragment},(0,e.createElement)(ki,{as:"div",className:"relative z-[999999]",onClose:u},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"ease-in-out duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"})),(0,e.createElement)("div",{className:"fixed inset-0"}),(0,e.createElement)("div",{className:"fixed inset-0 overflow-hidden"},(0,e.createElement)("div",{className:"absolute inset-0 overflow-hidden"},(0,e.createElement)("div",{className:"pointer-events-none fixed inset-y-0 right-0 flex w-/3 min-w-[600px] pl-10 transform transition-all ease-in-out duration-500 sm:duration-700"},(0,e.createElement)(bt.Child,{as:t.Fragment,enter:"transform transition ease-in-out duration-500 sm:duration-700",enterFrom:"translate-x-full",enterTo:"translate-x-0",leave:"transform transition ease-in-out duration-500 sm:duration-700",leaveFrom:"translate-x-0",leaveTo:"translate-x-full"},(0,e.createElement)(ki.Panel,{className:"pointer-events-auto flex-1"},(0,e.createElement)("div",{id:"event-form",className:"flex h-full flex-col divide-y divide-gray-200 bg-white shadow-xl"},(0,e.createElement)("div",{"data-component":"form-wrapper",className:"flex min-h-0 flex-1 flex-col "},(0,e.createElement)("header",{className:"py-5 pl-10 pr-10 sticky top-0 shadow"},(0,e.createElement)("div",{className:"flex items-start justify-between"},(0,e.createElement)(ki.Title,{className:"text-2xl font-medium text-gray-900"},i),(0,e.createElement)("div",{className:"ml-3 flex h-7 items-center"},(0,e.createElement)("button",{type:"button",className:"rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-indigo-500",onClick:()=>u(!1)},(0,e.createElement)("span",{className:"sr-only"},"Close panel"),(0,e.createElement)(kt,{className:"h-6 w-6","aria-hidden":"true"}))))),(0,e.createElement)("div",{"data-component":"main-form",className:"overflow-y-scroll bg-gray-100 p-10 flex-1"},(0,e.createElement)("div",{className:"bg-white p-10 rounded-md"},(0,e.createElement)("div",{className:"max-w-[650px] min-h-[410px]"},a)))),(0,e.createElement)("footer",{className:"flex flex-shrink-0 justify-end px-4 py-4"},(0,e.createElement)("button",{type:"button",className:"rounded-md border border-gray-300 bg-white py-2 px-4 text-sm font-medium text-gray-700 shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2",onClick:()=>{u(!1)}},"Close")))))))))))},qn=r=>{let{children:i}=r;const[a,n]=(0,t.useState)(!1),[u,s]=(0,t.useState)(null),[o,l]=(0,t.useState)("");return(0,e.createElement)(Pt.Provider,{value:{open:a,setOpenHelpSlider:n,setComponent:s,setTitleHelpSlider:l}},i,u&&(0,e.createElement)(Fn,{title:o,Component:u,open:a,setOpen:n}))},Bn=["Review the events you configured in WP Google Analytics Events. ","Suggest a new structure for your events. ","We will log and configure Goal Tracker for Google Analytics for you. "],Zn=t=>{let{feature:r,index:i}=t;return(0,e.createElement)("li",{className:"p-2 shadow rounded flex border border-grey-100/10"},i&&(0,e.createElement)("span",{className:"rounded-full w-6 h-6 bg-brand-primary text-white justify-center flex items-center"},i),(0,e.createElement)("span",{className:"ml-2 flex-1 text-base"},r))},Wn=()=>{const[r,i]=(0,t.useState)(""),[a,n]=(0,t.useState)(!1);return(0,e.createElement)("section",{className:"bg-white/50 py-4"},!a&&(0,e.createElement)("div",{className:"bg-white py-4 rounded-md border border-gray-200 my-10 mx-4 shadow-xl"},(0,e.createElement)("div",{className:""},(0,e.createElement)("div",{className:"px-4 py-5 sm:p-6"},(0,e.createElement)("h3",{className:"text-3xl mb-6 leading-10 text-gray-900 max-w-xl"},"Are you migrating your events from WP Google Analytics Events?"),(0,e.createElement)("div",{className:"mt-2 max-w-2xl text-gray-500 p-2 text-lg"},(0,e.createElement)("p",{className:"text-lg"},"I am guessing that moving to GA4 was quite an"," ",(0,e.createElement)("span",{className:"italic"},"experience")," for you."),(0,e.createElement)("p",{className:"text-lg mt-5"},"But if you just migrated from our old plugin - WP Google Analytics Events - there is one more step. And that is to migrate your events."," "),(0,e.createElement)("p",{className:"text-lg mt-5"},"Let me explain (overwhelmed? Skip to the next section right after the video)."),(0,e.createElement)("p",{className:"text-lg mt-5"},"One of the big changes in GA4 is the event structure. Events used to have three main fields - Category, Action, and Label. Now, in GA4, events will have a name and then a set of attributes that you can configure. This makes events much more powerful in GA4, but it also means that you have to rethink how you structure your events (It’s a good thing!)."),(0,e.createElement)("p",{className:"text-lg mt-5"},(0,e.createElement)("span",{className:"mb-5"},"Here is a short video explaining the changes:"),(0,e.createElement)("iframe",{className:"mt-5",width:"560",height:"315",src:"https://www.youtube.com/embed/Xn4NoJ0RkJU",title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0})),(0,e.createElement)("p",{className:"text-lg font-bold mt-10"},"But what if you have a lot of events and very little time?"," ",(0,e.createElement)("br",null),"Or if this is just too overwhelming?"," "),(0,e.createElement)("p",{className:"text-lg mt-5"},"For our Pro plugin users and with a one-time fee, we offer a done-for-you migration service from WP Google Analytics Events/Pro to Goal Tracker for Google Analytics:"),(0,e.createElement)("ul",{role:"list",className:"list-inside p-1 mt-5"},Bn.map(((t,r)=>(0,e.createElement)(Zn,{key:r,feature:t,index:r+1})))),(0,e.createElement)("p",{className:"text-lg mt-5"},"All you have to do is click the button below to open our contact form and fill in your details. We will get in touch with you to start the process.")),(0,e.createElement)("form",{className:"mt-5 sm:items-center max-w-xl px-4 py-2"},(0,e.createElement)("div",{className:"text-brand-primary text-lg mb-2"},"👉 Start your migration:"),(0,e.createElement)("fieldset",{className:"flex"},(0,e.createElement)("div",{className:"w-full flex"},(0,e.createElement)("label",{htmlFor:"email",className:"sr-only"},"Email"),(0,e.createElement)("input",{type:"email",name:"email",id:"email",value:r,onChange:e=>i(e.target.value),className:o()("shadow-sm ","focus:ring-indigo-500 focus:border-indigo-500 ","flex-1 text-lg","border-gray-300 rounded-l rounder-r-0 p-2"),placeholder:"you@example.com"})),(0,e.createElement)("button",{type:"submit",onClick:async function(e){e.preventDefault();const t=window.location.protocol+"//"+window.location.host;let i=new FormData;i.append("fields[email]",r),i.append("fields[website]",t),await Oe()({url:"https://assets.mailerlite.com/jsonp/31991/forms/92865853511435498/subscribe",method:"POST",data:i,headers:{"Content-Type":"multipart/form-data"}}),n(!0)},className:o()("capitalize inline-flex","items-center justify-center","rounded-r","border border-transparent bg-brand-primary","px-4 py-2","text-lg font-medium text-white","shadow-sm","hover:bg-brand-600","focus:outline-none focus:ring-2 focus:ring-brand-primary-focus focus:ring-offset-2","transform active:scale-75 hover:scale-105 transition-transform")},"Submit"))),(0,e.createElement)("div",{className:"max-w-2xl"},(0,e.createElement)("p",{className:"text-lg mt-5 text-gray-500 italic"},"This service is available to our Pro plugin users for a one-time fee of $99."))))),a&&(0,e.createElement)("div",{className:"min-h-full pt-16 pb-12 flex flex-col bg-white"},(0,e.createElement)("main",{className:"flex-grow flex flex-col justify-center max-w-7xl w-full mx-auto px-4 sm:px-6 lg:px-8"},(0,e.createElement)("div",{className:"flex-shrink-0 flex justify-center"},(0,e.createElement)("span",{className:"sr-only"},"Workflow"),(0,e.createElement)("img",{className:"h-28 w-auto",src:be,alt:""})),(0,e.createElement)("div",{className:"py-16"},(0,e.createElement)("div",{className:"text-center"},(0,e.createElement)("h1",{className:"mt-2 text-2xl font-extrabold text-gray-900 tracking-tight sm:text-4xl"},"Our team is on it and will be in touch soon"),(0,e.createElement)("div",{className:"mt-6"})))),(0,e.createElement)("footer",{className:"flex-shrink-0 max-w-7xl w-full mx-auto px-4 sm:px-6 lg:px-8"})))},{__:Hn}=wp.i18n,{render:Vn,useState:Jn}=wp.element,{apiFetch:Xn}=wp,{TabPanel:Kn,Notice:$n,Button:eu,Card:tu,CardHeader:ru,CardBody:iu,CardDivider:au,CardFooter:nu,Spinner:uu}=wp.components,su=[{name:"Tracker",href:"/tracker",current:!0,primary:!0,hasIssue:!1,isPromo:!1},{name:"Migrate",href:"/migrate",hasIssue:!1},{name:(0,e.createElement)("span",{"data-component":"tab-title",className:"text-xl uppercase flex-1 flex items-center"},(0,e.createElement)("img",{className:"w-12 h-12",src:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMjggMTI4Ij4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLmNscy0xIHsKICAgICAgICBmaWxsOiAjZmZmOwogICAgICB9CgogICAgICAuY2xzLTIgewogICAgICAgIGZpbGw6ICNlZjNlMmY7CiAgICAgIH0KCiAgICAgIC5jbHMtMyB7CiAgICAgICAgZmlsbDogIzg2OGQ5MzsKICAgICAgfQogICAgPC9zdHlsZT4KICA8L2RlZnM+CiAgPGc+CiAgICA8cGF0aCBkPSJtNTAuNzgsMTE3LjgyYy05LjI1LDAtMjAuMDktMi41MS0yOC42NC04Ljc3LTguMTktNS45OS0xMy4xLTE0LjY4LTE0LjItMjUuMS0zLjEzLTI5LjQ4LDIyLjYxLTQxLjcyLDM2LjY1LTQ0LjA4aDBjMTIuMDMtMi4wMSwyNS45NywxLjIsMzUuNTQsOC4xOSw4LDUuODUsMTIuOTksMTQuMTksMTQuNDEsMjQuMTMsMy42LDI1LjE3LTE1LjYsNDAuODctMzQuOTcsNDQuODEtMi42My41NC01LjYxLjgzLTguNzguODNabS01LjYtNzQuNDJjLTEyLjksMi4xNi0zNi41NCwxMy4zNC0zMy42OSw0MC4xNywxLjAxLDkuNTMsNS4zMSwxNy4xMywxMi43NiwyMi41OSwxMC42LDcuNzcsMjUuMDEs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TYtMy41OS03LjA2LTkuMjNaIi8+CiAgPHBhdGggZD0ibTEwNS4xLDUwLjAzYzEuNC0uMjgsMi44My41MiwzLjI5LDEuOTEsMS4yMSwzLjY1LjM3LDkuMDUtMi4xMywxMy43Ny0yLjIsNC4xNC01LjI4LDYuOTYtOC42Nyw3LjkyLTEuNTIuNDQtMy4xMi0uNDYtMy41NS0xLjk4LS40My0xLjUzLjQ2LTMuMTIsMS45OC0zLjU1LDEuODQtLjUyLDMuNzMtMi4zNyw1LjE2LTUuMDgsMS45NS0zLjY3LDIuMzUtNy40NCwxLjc1LTkuMjctLjUtMS41MS4zMi0zLjEzLDEuODItMy42My4xMi0uMDQuMjMtLjA3LjM0LS4wOVoiLz4KICA8cGF0aCBkPSJtOTkuNSw0My44NGMuMTctLjAzLjM0LS4wNS41Mi0uMDYsMS41OS0uMDMsMi45LDEuMjQsMi45MywyLjgyLjAzLDEuNjQsMS4zOSwyLjk1LDMuMDMsMi45MiwxLjYzLS4wMiwyLjk1LTEuMzksMi45Mi0zLjAzLS4wMy0xLjU5LDEuMjQtMi44OSwyLjgyLTIuOTMsMS41OS0uMDMsMi45LDEuMjQsMi45MywyLjgyLjA4LDQuODEtMy43NSw4Ljc4LTguNTcsOC44OC00LjgxLjA5LTguNzktMy43Ni04Ljg4LTguNTctLjAzLTEuNDEuOTctMi42LDIuMy0yLjg3WiIvPgo8L3N2Zz4="}),(0,e.createElement)("span",{className:"mx-4"},"Track More..."),(0,e.createElement)("span",{className:o()("bg-slate-500","text-white","text-xs px-2 py-1","rounded uppercase","ml-4")},"PRO")),href:"/pro",firstTime:!0,hasIssue:!1,isPro:!0,isPromo:!0},{name:"Settings",href:"/settings",rootTab:!0,isFirstTime:!0,hasIssue:!1,icon:(0,e.createElement)(n,{className:"h-8 w-8","aria-hidden":"true"})},{name:"Help",showTitle:!1,href:"/help",firstTime:!0,hasIssue:!1,icon:(0,e.createElement)(u,{className:"h-8 w-8","aria-hidden":"true"})}],ou=[{label:"Click Tracking",path:"/tracker/click-tracking",default:!0},{label:"Visibility Tracking",path:"/tracker/visibility-tracking",default:!1}],lu=()=>(0,e.createElement)(L,{initialTabs:su},(0,e.createElement)(xn,null,(0,e.createElement)(er,{navLinks:ou},(0,e.createElement)(ar,null,(0,e.createElement)(qn,null,(0,e.createElement)("section",{"data-component":"PluginMain",className:"relative"},(0,e.createElement)(Se,null,(0,e.createElement)(ur,null),(0,e.createElement)(ye,null,(0,e.createElement)(de,{path:"/tracker/*",element:(0,e.createElement)(en,null)}),(0,e.createElement)(de,{path:"/migrate",element:(0,e.createElement)(Wn,null)}),(0,e.createElement)(de,{path:"/pro",element:(0,e.createElement)(sn,null)}),(0,e.createElement)(de,{path:"/help",element:(0,e.createElement)(Ae,null)}),(0,e.createElement)(de,{path:"/settings",element:(0,e.createElement)(Rn,null)}),(0,e.createElement)(de,{path:"/",element:(0,e.createElement)(Rn,null)}))),(0,e.createElement)(vt,null)))))));document.addEventListener("DOMContentLoaded",(()=>{void 0!==document.getElementById(wpGoalTrackerGa.root_id)&&null!==document.getElementById(wpGoalTrackerGa.root_id)&&Vn((0,e.createElement)(lu,null),document.getElementById(wpGoalTrackerGa.root_id))}))})()})();
  • goal-tracker-ga/trunk/apps/basic/package.json

    r2991535 r3013028  
    11{
    22    "name": "wp-goal-tracker-ga-free",
    3     "version": "1.0.16",
     3    "version": "1.1.0",
    44    "description": "WP Goal Tracker GA - Custom Events Tracking for Google Analytics 4",
    55    "author": "pinewise",
  • goal-tracker-ga/trunk/common/ui/src/components/EventsTableHeader.tsx

    r2901744 r3013028  
    77
    88interface EventsTableHeaderProps {
    9   setAddCustomEventForm: (value: boolean) => void;
    10   setAddRecommendedEventForm: (value: boolean) => void;
     9  setAddCustomEventForm?: (value: boolean) => void;
     10  setAddRecommendedEventForm?: (value: boolean) => void;
    1111}
    1212
  • goal-tracker-ga/trunk/common/ui/src/components/HeaderTitle.tsx

    r2909557 r3013028  
    1010  helpComponent?: React.ComponentType;
    1111  helpTitle?: string;
     12  beta?: boolean;
    1213};
    1314
    1415export const HeaderTitle: React.FC<HeaderTitleProperties> = props => {
    15   const { children, title, titleHelper, helpComponent, helpTitle } = props;
     16  const { children, title, titleHelper, helpComponent, helpTitle, beta } =
     17    props;
    1618  const { setOpenHelpSlider, setTitleHelpSlider, setComponent } =
    1719    useHelpSliderContext();
     
    3941          </button>
    4042        )}
     43        {beta && (
     44          <span
     45            className="ml-2 py-0.5 bold py-1 px-2 rounded-full border border-brand-danger border-px inline hover:text-brand-danger text-brand-danger"
     46            aria-hidden="true"
     47          >
     48            BETA
     49          </span>
     50        )}
    4151      </div>
    4252      <p className="mt-2 max-w-2xl text-base text-gray-600">{titleHelper}</p>
  • goal-tracker-ga/trunk/common/ui/src/components/SlideBanner.tsx

    r2931375 r3013028  
    88import charMedia from '../assets/images/Logo-track-video-white.svg';
    99import charContactForm7 from '../assets/images/Logo-track-email-white.svg';
     10import charWoo from '../assets/images/Logo-track-ecom2.svg';
    1011
    1112declare const wpGoalTrackerGa: any;
     
    5354
    5455  useEffect(() => {
    55     const element = document.querySelector('.toplevel_page_wpcf7');
     56    const elementContactForm7 = document.querySelector('.toplevel_page_wpcf7');
     57    const elementWooCommerce = document.querySelector(
     58      '.toplevel_page_woocommerce',
     59    );
    5660
    57     if (element) {
     61    if (elementContactForm7) {
    5862      slides.unshift({
    5963        id: 0,
     
    6367        buttonAction: 'Get Pro Features',
    6468        imageSrc: charContactForm7,
     69      });
     70      setActiveSlide(0);
     71    }
     72
     73    if (elementWooCommerce) {
     74      slides.unshift({
     75        id: 0,
     76        title: 'WooCommerce Tracking',
     77        text: 'Add Google Analytics tracking to your WooCommerce store and start getting actionable insights.',
     78        class: 'bg-slate-800',
     79        buttonAction: 'Get Pro Features',
     80        imageSrc: charWoo,
    6581      });
    6682      setActiveSlide(0);
  • goal-tracker-ga/trunk/goal-tracker-ga.php

    r2991535 r3013028  
    1717 * Plugin URI:        https://www.wpgoaltracker.com/goal-tracker-ga
    1818 * Description:       Custom Event Tracking for Google Analytics GA4
    19  * Version:           1.0.16
     19 * Version:           1.1.0
    2020 * Author:            pinewise
    2121 * Author URI:        https://www.wpgoaltracker.com
     
    2424 * Text Domain:       wp-goal-tracker-ga
    2525 * Domain Path:       /languages
    26  * 
     26 *
    2727 */
    2828// If this file is called directly, abort.
     
    4949                'has_addons'       => false,
    5050                'has_paid_plans'   => true,
     51                'trial'            => array(
     52                'days'               => 7,
     53                'is_require_payment' => false,
     54            ),
    5155                'is_org_compliant' => true,
    5256                'menu'             => array(
     
    8387define( 'WP_CUSTOM_EVENTS_TRACKER_PATH', plugin_dir_path( __FILE__ ) );
    8488define( 'WP_CUSTOM_EVENTS_TRACKER_URL', plugin_dir_url( __FILE__ ) );
    85 define( 'WP_CUSTOM_EVENTS_TRACKER_VERSION', '1.0.16' );
    86 define( 'WP_CUSTOM_EVENTS_TRACKER_DB_VERSION', '1.0.16' );
     89define( 'WP_CUSTOM_EVENTS_TRACKER_VERSION', '1.1.0' );
     90define( 'WP_CUSTOM_EVENTS_TRACKER_DB_VERSION', '1.1.0' );
    8791/**
    8892 * The code that runs during plugin activation.
  • goal-tracker-ga/trunk/includes/class-wp-goal-tracker-ga.php

    r2991535 r3013028  
    159159    }
    160160   
    161     function add_option_management_capability()
     161    public function add_option_management_capability()
    162162    {
    163163        return 'manage_gtga';
     
    250250   
    251251    /**
    252      * DB upgrade procedure 
     252     * DB upgrade procedure
    253253     *
    254254     *
    255255     * @since    1.0.2
    256      * 
     256     *
    257257     * @access   public
    258258     */
     
    260260    {
    261261        $options = get_option( 'wp_goal_tracker_ga_options' );
     262       
     263        if ( $options === false ) {
     264            $options = array();
     265            // Initialize as an empty array if the option does not exist
     266        }
     267       
    262268       
    263269        if ( !isset( $options["db_version"] ) ) {
    264270            # it is the first DB convert from version 1.0.0 to 1.0.2
    265             $options["db_version"] = "1.0.16";
     271            $options["db_version"] = "1.1.0";
    266272            # set the db_version param for the first time
    267273            # move general settings parameters from the options root to a "general_settings" array.
     
    317323     *
    318324     * @since    1.0.2
    319      * 
     325     *
    320326     * @access   public
    321327     */
     
    337343     *
    338344     * @since    1.0.2
    339      * 
     345     *
    340346     * @access   public
    341347     */
  • goal-tracker-ga/trunk/includes/functions.php

    r2931375 r3013028  
    340340}
    341341/**
     342 * Set/Save the Plugin Ecommerce Tracking Settings to Database.
     343 *
     344 * @since WP Goal Tracker GA 1.0.17
     345 *
     346 * @param array $general_settings all general settings to be saved.
     347 *
     348 * @return boolean after update option
     349 *
     350 * @author     yuvalo <support@wpgoaltracker.com>
     351 *
     352 */
     353if ( !function_exists( 'wp_goal_tracker_ga_set_ecommerce_tracking_settings' ) ) {
     354    function wp_goal_tracker_ga_set_ecommerce_tracking_settings( $new_ecommerce_tracking_settings )
     355    {
     356        $form_tracking_settings = array();
     357        foreach ( $new_ecommerce_tracking_settings as $key => $value ) {
     358            # sanitize values - all are boolean
     359            $ecommerce_tracking_settings[$key] = array();
     360            foreach ( $value as $nkey => $nvalue ) {
     361                $nvalue = (bool) $nvalue;
     362                $ecommerce_tracking_settings[$key][$nkey] = $nvalue;
     363            }
     364        }
     365        wp_goal_tracker_ga_update_option( 'ecommerceTrackingSettings', $ecommerce_tracking_settings );
     366    }
     367
     368}
     369/**
    342370 * Get Configuration.
    343371 *
  • goal-tracker-ga/trunk/public/class-wp-goal-tracker-ga-public.php

    r2991535 r3013028  
    3838     */
    3939    private  $version ;
    40     private  $gtga_events_queue = array() ;
     40    private  $gtga_events_queue = array(
     41        "pending" => array(
     42        "view_item"      => array(),
     43        "begin_checkout" => array(),
     44        "add_to_cart"    => array(),
     45        "view_cart"      => array(),
     46        "purchase"       => array(),
     47    ),
     48    ) ;
    4149    /**
    4250     * Initialize the class and set its properties.
     
    5058        $this->plugin_name = $plugin_name;
    5159        $this->version = $version;
     60    }
     61   
     62    public function gtga_track_woocommerce_begin_checkout__primium_only()
     63    {
     64        // $cart = WC()->cart;
     65        // if (is_null(WC()->cart)) {
     66        //     WC()->frontend_includes();
     67        //     WC()->session = new WC_Session_Handler();
     68        //     WC()->session->init();
     69        //     WC()->customer = new WC_Customer(get_current_user_id(), true);
     70        //     WC()->cart = new WC_Cart();
     71        //     WC()->cart->get_cart();
     72        // }
     73        $cart = WC()->cart;
     74        $items = [];
     75        foreach ( $cart->get_cart() as $cart_item_key => $cart_item ) {
     76            $product = $cart_item['data'];
     77            $items[] = [
     78                'item_id'     => ( $product->get_sku() ? $product->get_sku() : $product->get_id() ),
     79                'item_name'   => $product->get_name(),
     80                'affiliation' => 'Your Store Name',
     81                'price'       => $product->get_price(),
     82                'quantity'    => $cart_item['quantity'],
     83            ];
     84        }
     85        $applied_coupons = $cart->get_applied_coupons();
     86        $coupon_string = ( !empty($applied_coupons) ? implode( ", ", $applied_coupons ) : "" );
     87        $total_value = $cart->get_cart_contents_total();
     88       
     89        if ( count( $items ) > 0 ) {
     90            $items_json = json_encode( $items );
     91            $event_data = array(
     92                'currency' => get_woocommerce_currency(),
     93                'value'    => $total_value,
     94                'items'    => $items,
     95                'coupon'   => $coupon_string,
     96            );
     97            $ecommerce_settings = wp_goal_tracker_ga_get_options( "ecommerceTrackingSettings" );
     98            $woo_settings = $ecommerce_settings["wooCommerceSettings"];
     99            if ( isset( $woo_settings["beginCheckout"] ) && $woo_settings["beginCheckout"] ) {
     100                echo  "\n\t\t\t\t\t\t\t<script>\n\t\t\t\t\t\t\t\t\twindow.wpGoalTrackerGaEvents['pending']['begin_checkout'] = " . json_encode( $event_data ) . ";\n\t\t\t\t\t\t\t</script>\n\t\t\t\t\t\t\t" ;
     101            }
     102            // $this->gtga_events_queue[ "pending" ][ "begin_checkout" ] = $event_data;
     103            if ( isset( $woo_settings["addShippingInfo"] ) && $woo_settings["addShippingInfo"] || isset( $woo_settings["addPaymentInfo"] ) && $woo_settings["addPaymentInfo"] ) {
     104                echo  "\n\t\t\t\t\t\t\t\t\t<script>\n\t\t\t\t\t\t\t\t\tvar wpGoalTrackerWooData = {\n\t\t\t\t\t\t\t\t\t\t'items': {$items_json},\n\t\t\t\t\t\t\t\t\t\t'value': " . $total_value . ",\n\t\t\t\t\t\t\t\t\t\t'currency': '" . get_woocommerce_currency() . "',\n\t\t\t\t\t\t\t\t\t\t'coupon': '" . esc_js( $coupon_string ) . "'\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t</script>\n\t\t\t\t\t\t\t\t\t" ;
     105            }
     106        }
     107   
    52108    }
    53109   
     
    120176    }
    121177   
    122     /** 
    123      * Add the GA4 API code snippet to the page 
    124      * 
     178    /**
     179     * Add the GA4 API code snippet to the page
     180     *
    125181     */
    126182    public function wp_goal_tracker_ga_add_ga4_code_snippet()
  • goal-tracker-ga/trunk/public/js/wp-goal-tracker-ga-public.js

    r3011805 r3013028  
    1 var __assign =
    2   (this && this.__assign) ||
    3   function () {
    4     __assign =
    5       Object.assign ||
    6       function (t) {
     1var __assign = (this && this.__assign) || function () {
     2    __assign = Object.assign || function(t) {
    73        for (var s, i = 1, n = arguments.length; i < n; i++) {
    8           s = arguments[i];
    9           for (var p in s)
    10             if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
     4            s = arguments[i];
     5            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
     6                t[p] = s[p];
    117        }
    128        return t;
    13       };
     9    };
    1410    return __assign.apply(this, arguments);
    15   };
     11};
    1612var gtgaMainJs = (function ($) {
    17   "use strict";
    18   var _this = this;
    19   /**
    20    * Binds Download Tracking
    21    *
    22    * @returns {undefined}
    23    */
    24   var VideoPercent = {
    25     ZERO: 0,
    26     TWENTYFIVE: 25,
    27     FIFTY: 50,
    28     SEVENTYFIVE: 75,
    29     ONEHUNDRED: 100,
    30   };
    31   function elementAddedCallback(addedNode) {
    32     checkVisibilityEvents();
    33   }
    34   var observer = new MutationObserver(function (mutationsList) {
    35     mutationsList.forEach(function (mutation) {
    36       if (mutation.type === "childList") {
    37         Array.prototype.forEach.call(mutation.addedNodes, function (addedNode) {
    38           if (addedNode.nodeType === Node.ELEMENT_NODE) {
    39             elementAddedCallback(addedNode);
    40           }
     13    'use strict';
     14    var _this = this;
     15    /**
     16     * Binds Download Tracking
     17     *
     18     * @returns {undefined}
     19     */
     20    var VideoPercent = {
     21        ZERO: 0,
     22        TWENTYFIVE: 25,
     23        FIFTY: 50,
     24        SEVENTYFIVE: 75,
     25        ONEHUNDRED: 100,
     26    };
     27    function elementAddedCallback(addedNode) {
     28        checkVisibilityEvents();
     29    }
     30    var observer = new MutationObserver(function (mutationsList) {
     31        mutationsList.forEach(function (mutation) {
     32            if (mutation.type === 'childList') {
     33                Array.prototype.forEach.call(mutation.addedNodes, function (addedNode) {
     34                    if (addedNode.nodeType === Node.ELEMENT_NODE) {
     35                        elementAddedCallback(addedNode);
     36                    }
     37                });
     38            }
    4139        });
    42       }
    4340    });
    44   });
    45   function getLinkClickParameters(event, url) {
    46     var tmpURL = new URL(url);
    47     var linkHostname = tmpURL.hostname;
    48     var linkEvent = {
    49       page_title: wpGoalTrackerGa.pageTitle,
    50       link_url: url,
    51       // page_location: window.location.href,
    52       outbound: isLinkExternal(url),
    53       link_domain: linkHostname,
    54       link_text: $(event.target).text(),
    55       link_classes: $(event.target).attr("class"),
    56     };
    57     return linkEvent;
    58   }
    59   var click_event = function (event) {
    60     trackCustomEvent(this, event.data.eventName, event.data.props);
    61     if (
    62       (typeof event.target.href !== "undefined" &&
    63         event.target.nodeName == "A") ||
    64       (typeof event.currentTarget.href !== "undefined" &&
    65         event.currentTarget.nodeName == "A")
    66     ) {
    67       if ($(event.target).parent().attr("role") !== "tab") {
    68         handleLinks(this, event);
    69       }
    70     }
    71   }; // End of click event function
    72   function bindEmailLinksTracking() {
    73     if (wpGoalTrackerGa.trackEmailLinks === "1") {
    74       $("body").on("click", 'a[href^="mailto:"]', function (e) {
    75         e.preventDefault();
    76         var email = this.href.split(":").pop();
    77         var page = getPageName();
    78         var eventParameters = {
    79           page_title: page,
    80           email_address: email,
    81           page_location: window.location.href,
    82           link_text: $(e.target).text(),
    83           link_classes: $(e.target).attr("class"),
     41    function getLinkClickParameters(event, url) {
     42        var tmpURL = new URL(url);
     43        var linkHostname = tmpURL.hostname;
     44        var linkEvent = {
     45            page_title: wpGoalTrackerGa.pageTitle,
     46            link_url: url,
     47            // page_location: window.location.href,
     48            outbound: isLinkExternal(url),
     49            link_domain: linkHostname,
     50            link_text: $(event.target).text(),
     51            link_classes: $(event.target).attr('class'),
    8452        };
    85         trackCustomEvent(this, "email_link_click", eventParameters);
    86         handleLinks(this, e);
    87       });
    88     }
    89   }
    90   var isLinkExternal = function (url) {
    91     var query = new RegExp("//" + location.host + "($|/)");
    92     if (url.substring(0, 4) === "http") {
    93       if (!query.test(url)) {
    94         return true;
    95       }
    96     }
    97     return false;
    98   };
    99   var link_track_external = function (event) {
    100     var url = getUrl(event);
    101     if (typeof url !== "undefined" && url !== "") {
    102       if (isLinkExternal(url)) {
    103         link_track_all(event);
    104       }
    105     }
    106   };
    107   var link_track_external_new_tab = function (event) {
    108     var url = getUrl(event);
    109     if (isLinkExternal(url)) {
    110       var eventParameters = getLinkClickParameters(event, url);
    111       trackCustomEvent(this, "link_click", eventParameters);
    112     }
    113   };
    114   var link_track_all = function (event) {
    115     var url = getUrl(event);
    116     var hash = isJustHashLink(url);
    117     if (
    118       typeof url !== "undefined" &&
    119       url !== "" &&
    120       hash != "#" &&
    121       $(this).parent().attr("role") !== "tab"
    122     ) {
    123       var eventParameters = getLinkClickParameters(event, url);
    124       trackCustomEvent(this, "link_click", eventParameters);
    125       event.preventDefault();
    126       if (typeof hash !== "undefined" && hash !== "") {
    127         window.location.hash = hash;
    128       } else {
    129         setTimeout(function () {
    130           window.location.href = url;
    131         }, 250);
    132       }
    133     }
    134   };
    135   var link_track_all_new_tab = function (event) {
    136     var url = getUrl(event);
    137     if (typeof url !== "undefined" && url !== "") {
    138       var eventParameters = getLinkClickParameters(event, url);
    139       trackCustomEvent(this, "link_click", eventParameters);
    140     }
    141   };
    142   var handleLinks = function (self, event) {
    143     event.preventDefault();
    144     var link = getUrl(event);
    145     if (link === "") return;
    146     var w;
    147     var openInNewTab = isNewTab(self);
    148     if (openInNewTab) {
    149       w = window.open("", "_blank");
    150     }
    151     var hash = isJustHashLink(link);
    152     if (typeof hash !== "undefined" && hash !== "") {
    153       window.location.hash = hash;
    154     } else if (window.location.href !== link) {
    155       setTimeout(
    156         function () {
    157           if (openInNewTab) {
    158             w.location.href = link;
    159           } else {
    160             window.location.href = link;
    161           }
    162         },
    163         250,
    164         w
    165       );
    166     }
    167   };
    168   var getUrl = function (event) {
    169     var url = "";
    170     var $target = $(event.target);
    171     var $link = $target.closest("a");
    172     if ($link.length) {
    173       var href = $link.attr("href");
    174       if (href && href !== "#") {
    175         url = $link.prop("href");
    176       }
    177     }
    178     return url;
    179   };
    180   var isJustHashLink = function (url) {
    181     if (url.indexOf("#") === 0) {
    182       return url;
    183     }
    184     var currentUrl = new URL(window.location.href);
    185     var targetUrl = new URL(url, currentUrl);
    186     if (targetUrl.origin !== currentUrl.origin) {
    187       return "";
    188     }
    189     if (
    190       targetUrl.pathname === currentUrl.pathname &&
    191       targetUrl.search === currentUrl.search &&
    192       targetUrl.hash !== ""
    193     ) {
    194       return targetUrl.hash;
    195     }
    196     return "";
    197   };
    198   var isNewTab = function (self) {
    199     var target = $(self).attr("target");
    200     if (typeof target !== "undefined" && target.trim() === "_blank") {
    201       return true;
    202     }
    203     return false;
    204   };
    205   $(document).ready(function () {
    206     var targetNode = document.body;
    207     var config = { childList: true, subtree: true };
    208     observer.observe(targetNode, config);
    209     $(window).on("scroll", checkVisibilityEvents);
    210     // We also want to check it when
    211     checkVisibilityEvents();
    212     if (wpGoalTrackerGa.trackEmailLinks) {
    213       bindEmailLinksTracking();
    214     }
    215     // Bind link tracking events
    216     if (wpGoalTrackerGa.trackLinks.enabled) {
    217       if (wpGoalTrackerGa.trackLinks.type === "all") {
    218         $("body").on("click", 'a:not([target~="_blank"])', link_track_all);
    219         $("body").on("click", 'a[target~="_blank"]', link_track_all_new_tab);
    220       } else if (wpGoalTrackerGa.trackLinks.type === "external") {
    221         $("body").on("click", 'a:not([target~="_blank"])', link_track_external);
    222         $("body").on(
    223           "click",
    224           'a[target~="_blank"]',
    225           link_track_external_new_tab
    226         );
    227       }
    228     }
    229     wpGoalTrackerGa.click.forEach(function (el) {
    230       var selector = makeSelector(el);
    231       $("body").on("click", selector, el, click_event);
     53        return linkEvent;
     54    }
     55    var click_event = function (event) {
     56        trackCustomEvent(this, event.data.eventName, event.data.props);
     57        if ((typeof event.target.href !== 'undefined' &&
     58            event.target.nodeName == 'A') ||
     59            (typeof event.currentTarget.href !== 'undefined' &&
     60                event.currentTarget.nodeName == 'A')) {
     61            if ($(event.target).parent().attr('role') !== 'tab') {
     62                handleLinks(this, event);
     63            }
     64        }
     65    }; // End of click event function
     66    function bindEmailLinksTracking() {
     67        if (wpGoalTrackerGa.trackEmailLinks === '1') {
     68            $('body').on('click', 'a[href^="mailto:"]', function (e) {
     69                e.preventDefault();
     70                var email = this.href.split(':').pop();
     71                var page = getPageName();
     72                var eventParameters = {
     73                    page_title: page,
     74                    email_address: email,
     75                    page_location: window.location.href,
     76                    link_text: $(e.target).text(),
     77                    link_classes: $(e.target).attr('class'),
     78                };
     79                trackCustomEvent(this, 'email_link_click', eventParameters);
     80                handleLinks(this, e);
     81            });
     82        }
     83    }
     84    var isLinkExternal = function (url) {
     85        var query = new RegExp('//' + location.host + '($|/)');
     86        if (url.substring(0, 4) === 'http') {
     87            if (!query.test(url)) {
     88                return true;
     89            }
     90        }
     91        return false;
     92    };
     93    var link_track_external = function (event) {
     94        var url = getUrl(event);
     95        if (typeof url !== 'undefined' && url !== '') {
     96            if (isLinkExternal(url)) {
     97                link_track_all(event);
     98            }
     99        }
     100    };
     101    var link_track_external_new_tab = function (event) {
     102        var url = getUrl(event);
     103        if (isLinkExternal(url)) {
     104            var eventParameters = getLinkClickParameters(event, url);
     105            trackCustomEvent(this, 'link_click', eventParameters);
     106        }
     107    };
     108    var link_track_all = function (event) {
     109        var url = getUrl(event);
     110        var hash = isJustHashLink(url);
     111        if (typeof url !== 'undefined' &&
     112            url !== '' &&
     113            hash != '#' &&
     114            $(this).parent().attr('role') !== 'tab') {
     115            var eventParameters = getLinkClickParameters(event, url);
     116            trackCustomEvent(this, 'link_click', eventParameters);
     117            event.preventDefault();
     118            if (typeof hash !== 'undefined' && hash !== '') {
     119                window.location.hash = hash;
     120            }
     121            else {
     122                setTimeout(function () {
     123                    window.location.href = url;
     124                }, 250);
     125            }
     126        }
     127    };
     128    var link_track_all_new_tab = function (event) {
     129        var url = getUrl(event);
     130        if (typeof url !== 'undefined' && url !== '') {
     131            var eventParameters = getLinkClickParameters(event, url);
     132            trackCustomEvent(this, 'link_click', eventParameters);
     133        }
     134    };
     135    var handleLinks = function (self, event) {
     136        event.preventDefault();
     137        var link = getUrl(event);
     138        if (link === '')
     139            return;
     140        var w;
     141        var openInNewTab = isNewTab(self);
     142        if (openInNewTab) {
     143            w = window.open('', '_blank');
     144        }
     145        var hash = isJustHashLink(link);
     146        if (typeof hash !== 'undefined' && hash !== '') {
     147            window.location.hash = hash;
     148        }
     149        else if (window.location.href !== link) {
     150            setTimeout(function () {
     151                if (openInNewTab) {
     152                    w.location.href = link;
     153                }
     154                else {
     155                    window.location.href = link;
     156                }
     157            }, 250, w);
     158        }
     159    };
     160    var getUrl = function (event) {
     161        var url = '';
     162        var $target = $(event.target);
     163        var $link = $target.closest('a');
     164        if ($link.length) {
     165            var href = $link.attr('href');
     166            if (href && href !== '#') {
     167                url = $link.prop('href');
     168            }
     169        }
     170        return url;
     171    };
     172    var isJustHashLink = function (url) {
     173        if (url.indexOf('#') === 0) {
     174            return url;
     175        }
     176        var currentUrl = new URL(window.location.href);
     177        var targetUrl = new URL(url, currentUrl);
     178        if (targetUrl.origin !== currentUrl.origin) {
     179            return '';
     180        }
     181        if (targetUrl.pathname === currentUrl.pathname &&
     182            targetUrl.search === currentUrl.search &&
     183            targetUrl.hash !== '') {
     184            return targetUrl.hash;
     185        }
     186        return '';
     187    };
     188    var isNewTab = function (self) {
     189        var target = $(self).attr('target');
     190        if (typeof target !== 'undefined' && target.trim() === '_blank') {
     191            return true;
     192        }
     193        return false;
     194    };
     195    $(document).ready(function () {
     196        var targetNode = document.body;
     197        var config = { childList: true, subtree: true };
     198        observer.observe(targetNode, config);
     199        $(window).on('scroll', checkVisibilityEvents);
     200        // We also want to check it when
     201        checkVisibilityEvents();
     202        if (wpGoalTrackerGa.trackEmailLinks) {
     203            bindEmailLinksTracking();
     204        }
     205        // Bind link tracking events
     206        if (wpGoalTrackerGa.trackLinks.enabled) {
     207            if (wpGoalTrackerGa.trackLinks.type === 'all') {
     208                $('body').on('click', 'a:not([target~="_blank"])', link_track_all);
     209                $('body').on('click', 'a[target~="_blank"]', link_track_all_new_tab);
     210            }
     211            else if (wpGoalTrackerGa.trackLinks.type === 'external') {
     212                $('body').on('click', 'a:not([target~="_blank"])', link_track_external);
     213                $('body').on('click', 'a[target~="_blank"]', link_track_external_new_tab);
     214            }
     215        }
     216        wpGoalTrackerGa.click.forEach(function (el) {
     217            var selector = makeSelector(el);
     218            $('body').on('click', selector, el, click_event);
     219        });
    232220    });
    233   });
    234   function makeSelector(click_option) {
    235     var selector = "";
    236     if (click_option.selectorType === "class") {
    237       selector += ".";
    238     } else if (click_option.selectorType === "id") {
    239       selector += "#";
    240     }
    241     selector += click_option.selector;
    242     return selector;
    243   }
    244   function checkVisibilityEvents() {
    245     // TO DO this code can be simplified a lot. May be better to use
    246     // $('element').visibility()
    247     var ga_window = $(window).height();
    248     var ga_visibility_top = $(document).scrollTop();
    249     for (var i = 0; i < wpGoalTrackerGa.visibility.length; i++) {
    250       if (!wpGoalTrackerGa.visibility[i].sent) {
    251         // NB was unescapeChars( wpGoalTrackerGa.visibility[i].select)
    252         var $select = $(makeSelector(wpGoalTrackerGa.visibility[i]));
    253         wpGoalTrackerGa.visibility[i].offset = $select.offset();
    254         if (
    255           wpGoalTrackerGa.visibility[i].offset &&
    256           ga_visibility_top + ga_window >=
    257             wpGoalTrackerGa.visibility[i].offset.top + $select.height()
    258         ) {
    259           trackCustomEvent(
    260             $select,
    261             wpGoalTrackerGa.visibility[i].eventName,
    262             wpGoalTrackerGa.visibility[i].props
    263           );
    264           wpGoalTrackerGa.visibility[i].sent = true;
    265         }
    266       }
    267     }
    268   } // End of bindVisibilityEvents
    269   var trackCustomEventBasic = function (self, name, props) {
    270     Object.keys(props).forEach(function (key) {
    271       props[key] = prepareProps(self, props[key]);
    272     });
    273     gtag("event", name, __assign({}, props));
    274   };
    275   /* <fs_premium_only> */
    276   /* ---------------------------------------------------------------- */
    277   var trackCustomEventPro = function (self, name, props) {
    278     // We don't want to override the original object.
    279     var propsCopy = __assign({}, props);
    280     Object.keys(propsCopy).forEach(function (key) {
    281       propsCopy[key] = prepareProps(self, propsCopy[key]);
    282     });
    283     if (typeof gtgatag !== "undefined") {
    284       gtgatag("event", name, propsCopy);
    285     } else if (typeof gtag !== "undefined") {
    286       gtag("event", name, propsCopy);
    287     }
    288   };
    289   var onPlayerReady = function () {};
    290   var youtube_video_instances = [];
    291   var youTubeApiIsReady = false;
    292   var youTubeApiCallbacks = [];
    293   function whenYouTubeApiReady(callback) {
    294     if (youTubeApiIsReady) {
    295       callback();
    296     } else {
    297       youTubeApiCallbacks.push(callback);
    298     }
    299   }
    300   function register_youtube_video(video) {
    301     whenYouTubeApiReady(function () {
    302       // YouTube API is ready, you can now register the video
    303       youtube_video_instances.push(
    304         new YT.Player(video, {
    305           events: {
    306             onReady: onPlayerReady,
    307             onStateChange: onPlayerStateChange,
    308             onPlaybackQualityChange: onPlaybackQualityChange,
    309           },
    310         })
    311       );
    312     });
    313   }
    314   // Tracking YouTube Porgress using interval checking.
    315   function trackYouTubeProgress(player) {
    316     var mediaDuration = player.getDuration();
    317     var timeoutDuration = (mediaDuration * 1000) / 20;
    318     var count = 0;
    319     var eventsSent = [];
    320     var durationInterval = setInterval(function () {
    321       if (player.getPlayerState() === 1) {
    322         count += 1;
    323         var currentPos = (player.getCurrentTime() / mediaDuration) * 100;
    324         var roundedPos = getVideoPosition(currentPos, eventsSent);
    325         eventsSent[roundedPos] = true;
    326         if (roundedPos !== 0) {
    327           var videoData = player.getVideoData();
    328           var eventData = {
    329             video_current_time: player.getCurrentTime(),
    330             video_duration: player.getDuration(),
    331             video_percent: roundedPos,
    332             video_title: videoData.title,
    333             video_url: player.getVideoUrl(),
    334             video_provider: "youtube",
    335           };
    336           trackCustomEvent(this, "video_progress", eventData);
    337         }
    338       } else {
    339         clearInterval(durationInterval);
    340       }
    341       if (count >= 21 || eventsSent[75]) {
    342         clearInterval(durationInterval);
    343       }
    344     }, timeoutDuration);
    345   }
    346   // youtube video player
    347   function onPlayerStateChange(event) {
    348     var videoData = event.target.getVideoData();
    349     var iframe = event.target.getIframe();
    350     var player = event.target;
    351     var playerStatus = player.getPlayerState();
    352     if (
    353       event.data === YT.PlayerState.PLAYING ||
    354       playerStatus === YT.PlayerState.PLAYING
    355     ) {
    356       // Start tracking video progress.
    357       trackYouTubeProgress(player);
    358       // Send out a video_start event
    359       var eventData = {
    360         video_current_time: 0,
    361         video_duration: player.getDuration(),
    362         video_percent: VideoPercent.ZERO,
    363         video_title: videoData.title,
    364         video_url: player.getVideoUrl(),
    365         video_provider: "youtube",
    366       };
    367       trackCustomEvent(this, "video_start", eventData);
    368     } else if (event.data === YT.PlayerState.ENDED) {
    369       // if (wpGoalTrackerGa.youTubeVideosFromDB[iframe.id].trackEnd === "true") {
    370       var eventData = {
    371         video_current_time: player.getDuration(),
    372         video_duration: player.getDuration(),
    373         video_percent: VideoPercent.ONEHUNDRED,
    374         video_title: videoData.title,
    375         video_url: player.getVideoUrl(),
    376         video_provider: "youtube",
    377       };
    378       trackCustomEvent(this, "video_complete", eventData);
    379       // }
    380     } else if (event.data === YT.PlayerState.PAUSED) {
    381       // if (wpGoalTrackerGa.youTubeVideosFromDB[iframe.id].trackPause === "true") {
    382       // trackCustomEvent("YouTube", "Paused", videoData.title, false);
    383       // }
    384     }
    385   }
    386   function onPlaybackQualityChange(event) {
    387     var iframe = event.target.getIframe();
    388   }
    389   // get youtube id from src
    390   var youtube_src_parser = function (url) {
    391     var regExp =
    392       /^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#\&\?]*).*/;
    393     var match = url.match(regExp);
    394     return match && match[7].length === 11 ? match[7] : false;
    395   };
    396   // get vimeo id from src
    397   var vimeo_src_parser = function (url) {
    398     var regExp = /(videos|video|channels|\.com)\/([\d]+)/;
    399     var match = url.match(regExp)[2];
    400     return match ? match : false;
    401   };
    402   // add url param
    403   var add_params_to_url = function (url, param) {
    404     var new_url;
    405     if (-1 === url.indexOf("?")) {
    406       new_url = url + "?" + param;
    407     } else {
    408       new_url = url + "&" + param;
    409     }
    410     return new_url;
    411   };
    412   function check_for_vimeo_videos() {
    413     var iframes = document.querySelectorAll("iframe");
    414     iframes.forEach(function (iframe) {
    415       var src = iframe.getAttribute("src");
    416       var dataLazySrc = iframe.getAttribute("data-lazy-src");
    417       var dataSrc = iframe.getAttribute("data-src");
    418       if (src && src.includes("vimeo.com")) {
    419         var vimeo_id = vimeo_src_parser(src);
    420         $(iframe).attr("id", vimeo_id); //force replace the iframe ID with the vimeo_id
    421         register_vimeo_video(vimeo_id);
    422       } else if (dataLazySrc || dataSrc) {
    423         // set a timer to wait for iframe to load
    424         var intervalId_1 = setInterval(function () {
    425           var newSrc = iframe.getAttribute("src"); // get the updated src attribute
    426           var newDataLazySrc = iframe.getAttribute("data-lazy-src"); // get the updated data-lazy-src attribute
    427           var newDataSrc = iframe.getAttribute("data-src"); // get the updated data-lazy-src attribute
    428           if (newSrc && newSrc.includes("vimeo.com")) {
    429             // `src` attribute has been set, register the video
    430             var vimeo_id = vimeo_src_parser(newSrc);
    431             $(iframe).attr("id", vimeo_id); //force replace the iframe ID with the vimeo_id
    432             register_vimeo_video(vimeo_id);
    433             // clear the interval
    434             clearInterval(intervalId_1);
    435           } else if (!newDataLazySrc && !newDataSrc) {
    436             // data-lazy-src attribute is no longer present, clear the interval
    437             clearInterval(intervalId_1);
    438           }
    439         }, 1000); // check every 1 second
    440       }
    441     });
    442   }
    443   // check for videos that do not have iframe id, origin or jsapi
    444   function check_for_youtube_videos() {
    445     var iframes = document.querySelectorAll("iframe");
    446     iframes.forEach(function (iframe) {
    447       var src = iframe.getAttribute("src");
    448       var dataLazySrc = iframe.getAttribute("data-lazy-src");
    449       var dataSrc = iframe.getAttribute("data-src");
    450       if (src && src.includes("youtube.com")) {
    451         // Regular case: src is already set
    452         registerAndModifyIframe(iframe, src);
    453       } else if (dataLazySrc || dataSrc) {
    454         // Lazy loading case: set an interval to check for iframe src updates
    455         var intervalId_2 = setInterval(function () {
    456           var newSrc = iframe.getAttribute("src");
    457           if (newSrc && newSrc.includes("youtube.com")) {
    458             registerAndModifyIframe(iframe, newSrc);
    459             clearInterval(intervalId_2); // Clear the interval once we've found and registered the video
    460           }
    461         }, 1000); // Check every second
    462       }
    463     });
    464   }
    465   function registerAndModifyIframe(iframe, src) {
    466     var youtube_id = youtube_src_parser(src);
    467     var new_iframe_src = src;
    468     // Check and set iframe ID if missing
    469     if (!iframe.id) {
    470       iframe.id = youtube_id;
    471     }
    472     // Check and set jsapi parameter if missing
    473     if (src.indexOf("jsapi") === -1) {
    474       new_iframe_src = add_params_to_url(new_iframe_src, "enablejsapi=1");
    475     }
    476     // Check and set origin parameter if missing
    477     if (src.indexOf("origin") === -1) {
    478       var originValue =
    479         window.location.protocol + "//" + window.location.hostname;
    480       if (window.location.port) {
    481         originValue += ":" + window.location.port;
    482       }
    483       new_iframe_src = add_params_to_url(
    484         new_iframe_src,
    485         "origin=" + originValue
    486       );
    487     }
    488     // Update iframe src if it was modified
    489     if (new_iframe_src !== src) {
    490       iframe.src = new_iframe_src;
    491     }
    492     // Register the video for tracking
    493     register_youtube_video(youtube_id);
    494   }
    495   function register_vimeo_video(video) {
    496     var vimeo_player = new Vimeo.Player(video);
    497     vimeo_player.gtgaVideoPercentSent = [];
    498     vimeo_player.on("play", vimeoOnPlay);
    499     vimeo_player.on("ended", vimeoOnEnd);
    500     vimeo_player.on("timeupdate", vimeoOnTimeUpdate);
    501   }
    502   function vimeoOnTimeUpdate(event) {
    503     var _this = this;
    504     var percent = 0;
    505     var roundedPercent = event.percent * 100;
    506     if (roundedPercent > 75 && !this.gtgaVideoPercentSent[75]) {
    507       percent = 75;
    508     } else if (roundedPercent > 50 && !this.gtgaVideoPercentSent[50]) {
    509       percent = 50;
    510     } else if (roundedPercent > 25 && !this.gtgaVideoPercentSent[25]) {
    511       percent = 25;
    512     } else if (roundedPercent > 10 && !this.gtgaVideoPercentSent[10]) {
    513       percent = 10;
    514     } else {
    515       return;
    516     }
    517     if (percent != 0) {
    518       var videoDuration = event.duration;
    519       var vimeoEvent_1 = {
    520         video_current_time: event.seconds,
    521         video_duration: videoDuration,
    522         video_title: "",
    523         video_percent: percent,
    524         video_provider: "vimeo",
    525         video_url: "",
    526       };
    527       this.getVideoTitle().then(function (title) {
    528         vimeoEvent_1.video_title = title;
    529         _this.getVideoUrl().then(function (url) {
    530           vimeoEvent_1.video_url = url;
    531           trackCustomEvent(_this, "video_progress", vimeoEvent_1);
    532           _this.gtgaVideoPercentSent[percent] = true;
     221    function makeSelector(click_option) {
     222        var selector = '';
     223        if (click_option.selectorType === 'class') {
     224            selector += '.';
     225        }
     226        else if (click_option.selectorType === 'id') {
     227            selector += '#';
     228        }
     229        selector += click_option.selector;
     230        return selector;
     231    }
     232    function checkVisibilityEvents() {
     233        // TO DO this code can be simplified a lot. May be better to use
     234        // $('element').visibility()
     235        var ga_window = $(window).height();
     236        var ga_visibility_top = $(document).scrollTop();
     237        for (var i = 0; i < wpGoalTrackerGa.visibility.length; i++) {
     238            if (!wpGoalTrackerGa.visibility[i].sent) {
     239                // NB was unescapeChars( wpGoalTrackerGa.visibility[i].select)
     240                var $select = $(makeSelector(wpGoalTrackerGa.visibility[i]));
     241                wpGoalTrackerGa.visibility[i].offset = $select.offset();
     242                if (wpGoalTrackerGa.visibility[i].offset &&
     243                    ga_visibility_top + ga_window >=
     244                        wpGoalTrackerGa.visibility[i].offset.top + $select.height()) {
     245                    trackCustomEvent($select, wpGoalTrackerGa.visibility[i].eventName, wpGoalTrackerGa.visibility[i].props);
     246                    wpGoalTrackerGa.visibility[i].sent = true;
     247                }
     248            }
     249        }
     250    } // End of bindVisibilityEvents
     251    var trackCustomEventBasic = function (self, name, props) {
     252        Object.keys(props).forEach(function (key) {
     253            props[key] = prepareProps(self, props[key]);
    533254        });
    534       });
    535     }
    536   }
    537   function vimeoOnPlay(event) {
    538     var _this = this;
    539     var videoDuration = event.duration;
    540     var vimeoEvent = {
    541       video_current_time: 0,
    542       video_duration: videoDuration,
    543       video_title: "",
    544       video_percent: 0,
    545       video_provider: "vimeo",
    546       video_url: "",
    547     };
    548     this.getVideoTitle().then(function (title) {
    549       vimeoEvent.video_title = title;
    550       _this.getVideoUrl().then(function (url) {
    551         vimeoEvent.video_url = url;
    552         trackCustomEvent(_this, "video_start", vimeoEvent);
    553       });
    554     });
    555   }
    556   function vimeoOnEnd(event) {
    557     var _this = this;
    558     var videoDuration = event.duration;
    559     var vimeoEvent = {
    560       video_current_time: videoDuration,
    561       video_duration: videoDuration,
    562       video_title: "",
    563       video_percent: 100,
    564       video_provider: "vimeo",
    565       video_url: "",
    566     };
    567     this.getVideoTitle().then(function (title) {
    568       vimeoEvent.video_title = title;
    569       _this.getVideoUrl().then(function (url) {
    570         vimeoEvent.video_url = url;
    571         trackCustomEvent(_this, "video_complete", vimeoEvent);
    572       });
    573     });
    574   }
    575   ////////////////////////////////////////////////////////
    576   ///// Self Hosted Media Tracking                                        //
    577   ////////////////////////////////////////////////////////
    578   function capitalizeFirstLetter(word) {
    579     return word.charAt(0).toUpperCase() + word.slice(1);
    580   }
    581   function getMediaFileName(e) {
    582     if (typeof e.target !== "undefined" && e.target.currentSrc) {
    583       return e.target.currentSrc.replace(/^.*[\\\/]/, "");
    584     } else if (typeof e.target !== "undefined" && e.target.src) {
    585       return e.target.src.replace(/^.*[\\\/]/, "");
    586     }
    587     return "";
    588   }
    589   function getMediaEvent(type, currentTime, duration, title, percent, url) {
    590     if (type === "video") {
    591       var mediaEvent = {
    592         video_current_time: currentTime,
    593         video_duration: duration,
    594         video_title: title,
    595         video_percent: percent,
    596         video_provider: "self_hosted",
    597         video_url: url,
    598       };
    599       return mediaEvent;
    600     }
    601     if (type === "audio") {
    602       var mediaEvent = {
    603         audio_current_time: currentTime,
    604         audio_duration: duration,
    605         audio_title: title,
    606         audio_percent: percent,
    607         audio_provider: "self_hosted",
    608         audio_url: url,
    609       };
    610       return mediaEvent;
    611     }
    612     return;
    613   }
    614   function register_media_tracking(type) {
    615     if (
    616       (type === "video" &&
    617         typeof wpGoalTrackerGa.videoSettings.gaMediaVideoTracking !==
    618           "undefined") ||
    619       (type === "audio" &&
    620         typeof wpGoalTrackerGa.videoSettings.gaMediaAudioTracking)
    621     ) {
    622       document.addEventListener(
    623         "play",
    624         function (e) {
    625           if (e.target.tagName === type.toUpperCase()) {
    626             var url = e.target.currentSrc;
    627             var title = getMediaFileName(e);
    628             var duration = e.target.duration;
    629             var mediaEvent = getMediaEvent(type, 0, duration, title, 0, url);
    630             trackCustomEvent(this, type + "_start", mediaEvent);
    631           }
    632         },
    633         true
    634       );
    635       document.addEventListener(
    636         "ended",
    637         function (e) {
    638           if (e.target.tagName === type.toUpperCase()) {
    639             var url = e.target.currentSrc;
    640             var title = getMediaFileName(e);
    641             var duration = e.target.duration;
    642             var mediaEvent = getMediaEvent(
    643               type,
    644               duration,
    645               duration,
    646               title,
    647               100,
    648               url
    649             );
    650             trackCustomEvent(this, type + "_complete", mediaEvent);
    651           }
    652         },
    653         true
    654       );
    655       document.addEventListener(
    656         "timeupdate",
    657         function (e) {
    658           if (e.target.tagName === type.toUpperCase()) {
    659             if (typeof e.target.progressSent === "undefined") {
    660               e.target.progressSent = [];
    661             }
    662             var media = e.target;
    663             var mediaDuration = e.target.duration;
    664             var currentPos = (media.currentTime / mediaDuration) * 100;
    665             var roundedPos = getVideoPosition(
    666               currentPos,
    667               e.target.progressSent
    668             );
    669             if (roundedPos !== 0) {
    670               e.target.progressSent[roundedPos] = true;
    671               var url = e.target.currentSrc;
    672               var title = getMediaFileName(e);
    673               var currentTime = e.target.currentTime;
    674               var duration = e.target.duration;
    675               var mediaEvent = getMediaEvent(
    676                 type,
    677                 currentTime,
    678                 duration,
    679                 title,
    680                 roundedPos,
    681                 url
    682               );
    683               trackCustomEvent(this, type + "_progress", mediaEvent);
    684             }
    685           }
    686         },
    687         true
    688       );
    689     }
    690   }
    691   ////////////////////////////////////////////////////////////////
    692   ////////////////////////////////////////////////////////////////
    693   ////// Handle Placeholders                                                     ///////////
    694   ////////////////////////////////////////////////////////////////
    695   function get_placeholder(self, placeholder) {
    696     if (typeof placeholder === "undefined") {
    697       return "";
    698     }
    699     var el = placeholder;
    700     var lel = "";
    701     if (typeof el.indexOf !== "function") {
    702       return placeholder;
    703     }
    704     if (el.indexOf("$$PAGENAME$$") > -1) {
    705       if (true === wpGoalTrackerGa.isFrontPage) {
    706         el = replace_with(el, "$$PAGENAME$$", "Home page");
    707       } else {
    708         el = replace_with(el, "$$PAGENAME$$", wpGoalTrackerGa.pageTitle);
    709       }
    710     }
    711     if (el.indexOf("$$POST_ID$$") > -1) {
    712       el = replace_with(el, "$$POST_ID$$", wpGoalTrackerGa.postID);
    713     }
    714     if (el.indexOf("$$CATEGORY$$") > -1) {
    715       el = replace_with(el, "$$CATEGORY$$", wpGoalTrackerGa.category);
    716     }
    717     if (el.indexOf("$$ATTR_") > -1) {
    718       var attr = "";
    719       var regex = /\$\$ATTR_(.*)\$\$/g;
    720       var match = regex.exec(el);
    721       if (typeof match[1] !== "undefined") {
    722         attr = match[1].toLowerCase();
    723       }
    724       lel = $(this).attr(attr);
    725       if (typeof lel === "undefined") {
    726         lel = $(self).attr(attr);
    727       }
    728       el = replace_with(el, match[0], lel);
    729     }
    730     if (el.indexOf("$$ELEMENT_TEXT$$") > -1) {
    731       el = replace_with(el, "$$ELEMENT_TEXT$$", $(self).text());
    732     }
    733     if (el.indexOf("$$AUTHOR$$") > -1) {
    734       el = replace_with(el, "$$AUTHOR$$", wpGoalTrackerGa.postAuthor);
    735     }
    736     if (el.indexOf("$$REFERRER$$") > -1) {
    737       var referrer = document.referrer;
    738       if (referrer === "") {
    739         referrer = window.location.href;
    740       }
    741       el = replace_with(el, "$$REFERRER$$", referrer);
    742     }
    743     if (el.indexOf("$$USER$$") > -1) {
    744       if (0 === wpGoalTrackerGa.currentUserName) {
    745         lel = "Guest";
    746       } else {
    747         lel = wpGoalTrackerGa.currentUserName;
    748       }
    749       el = replace_with(el, "$$USER$$", lel);
    750     }
    751     if (el.indexOf("$$PAGE_URL$$") > -1) {
    752       el = window.location.href;
    753     }
    754     if (el.indexOf("$$IS_LOGGED_IN$$") > -1) {
    755       if (
    756         typeof wpGoalTrackerGa.isUserLoggedIn !== "undefined" &&
    757         wpGoalTrackerGa.isUserLoggedIn === "1"
    758       ) {
    759         el = "true";
    760       } else {
    761         el = "false";
    762       }
    763     }
    764     if (el.indexOf("$$USER_ID$$") > -1) {
    765       if (typeof wpGoalTrackerGa.currentUserId !== "undefined") {
    766         el = wpGoalTrackerGa.currentUserId;
    767       } else {
    768         el = "";
    769       }
    770     }
    771     return el;
    772   }
    773   var replace_with = function (el, search, updated) {
    774     return el.replace(search, updated);
    775   };
    776   var sendQueuedEvents = function () {
    777     if (
    778       typeof wpGoalTrackerGaEvents !== "undefined" &&
    779       typeof wpGoalTrackerGaEvents.pending !== "undefined"
    780     ) {
    781       Object.keys(wpGoalTrackerGaEvents.pending).forEach(function (key) {
    782         trackCustomEvent(this, key, wpGoalTrackerGaEvents.pending[key]);
    783       });
    784     }
    785   };
    786   $(document).ready(function () {
    787     sendQueuedEvents();
    788     if (
    789       wpGoalTrackerGa.hasOwnProperty("videoSettings") &&
    790       (wpGoalTrackerGa.videoSettings.gaMediaAudioTracking ||
    791         wpGoalTrackerGa.videoSettings.gaMediaVideoTracking ||
    792         wpGoalTrackerGa.videoSettings.gaVimeoVideoTracking ||
    793         wpGoalTrackerGa.videoSettings.gaYoutubeVideoTracking)
    794     ) {
    795       if (wpGoalTrackerGa.videoSettings.gaYoutubeVideoTracking) {
    796         var tag = document.createElement("script");
    797         tag.src = "//www.youtube.com/iframe_api";
    798         var firstScriptTag = document.getElementsByTagName("script")[0];
    799         firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
    800         window.onYouTubeIframeAPIReady = function () {
    801           youTubeApiIsReady = true;
    802           for (var i = 0; i < youTubeApiCallbacks.length; i++) {
    803             youTubeApiCallbacks[i]();
    804           }
    805           youTubeApiCallbacks = []; // Clear out callbacks once executed.
    806         };
    807         check_for_youtube_videos();
    808       }
    809       check_for_vimeo_videos();
    810       if (wpGoalTrackerGa.videoSettings.gaMediaVideoTracking) {
    811         register_media_tracking("video");
    812       }
    813       if (wpGoalTrackerGa.videoSettings.gaMediaAudioTracking) {
    814         register_media_tracking("audio");
    815       }
    816     }
    817   });
    818   // }
    819   ////////////////////////////////////////////////////////////////
    820   ////// Contact Form 7                                                          ///////////
    821   ////////////////////////////////////////////////////////////////
    822   if (gtgaContactForm7Enabled()) {
    823     if (
    824       wpGoalTrackerGa.formTrackingSettings.contactForm7Settings.trackFormSubmit
    825     ) {
    826       document.addEventListener(
    827         "wpcf7submit",
    828         function (event) {
    829           var eventData = gtgaGetContactForm7EventData(event);
    830           trackCustomEvent(_this, "wpcf7_button_click", eventData);
    831         },
    832         false
    833       );
    834     }
    835     if (
    836       wpGoalTrackerGa.formTrackingSettings.contactForm7Settings.trackMailSent
    837     ) {
    838       document.addEventListener(
    839         "wpcf7mailsent",
    840         function (event) {
    841           var eventData = gtgaGetContactForm7EventData(event);
    842           trackCustomEvent(_this, "wpcf7_submission", eventData);
    843         },
    844         false
    845       );
    846     }
    847     if (
    848       wpGoalTrackerGa.formTrackingSettings.contactForm7Settings.trackMailFailed
    849     ) {
    850       document.addEventListener(
    851         "wpcf7mailfailed",
    852         function (event) {
    853           var eventData = gtgaGetContactForm7EventData(event);
    854           trackCustomEvent(_this, "wpcf7_email_failed", eventData);
    855         },
    856         false
    857       );
    858     }
    859     if (
    860       wpGoalTrackerGa.formTrackingSettings.contactForm7Settings.trackInvalids
    861     ) {
    862       document.addEventListener(
    863         "wpcf7invalid",
    864         function (event) {
    865           var eventData = gtgaGetContactForm7EventData(event);
    866           trackCustomEvent(_this, "wpcf7_invalid", eventData);
    867         },
    868         false
    869       );
    870     }
    871     if (wpGoalTrackerGa.formTrackingSettings.contactForm7Settings.trackSpam) {
    872       document.addEventListener(
    873         "wpcf7spam",
    874         function (event) {
    875           var eventData = gtgaGetContactForm7EventData(event);
    876           trackCustomEvent(_this, "wpcf7_spam", eventData);
    877         },
    878         false
    879       );
    880     }
    881   }
    882   ////////////////////////////////////////////////////////////////
    883   /* </fs_premium_only> */
    884   function returnOriginalProp(self, prop) {
    885     return prop;
    886   }
    887   function getPageName() {
    888     if ("1" === wpGoalTrackerGa.isFrontPage) {
    889       return "Home";
    890     } else {
    891       if (typeof wpGoalTrackerGa.pageTitle !== "undefined") {
    892         return wpGoalTrackerGa.pageTitle;
    893       }
    894     }
    895     return "";
    896   }
    897   var trackCustomEvent =
    898     typeof trackCustomEventPro === "function"
    899       ? trackCustomEventPro
    900       : trackCustomEventBasic;
    901   var prepareProps =
    902     typeof get_placeholder === "function"
    903       ? get_placeholder
    904       : returnOriginalProp;
    905   return { isJustHashLink: isJustHashLink };
     255        gtag('event', name, __assign({}, props));
     256    };
     257   
     258    function returnOriginalProp(self, prop) {
     259        return prop;
     260    }
     261    function getPageName() {
     262        if ('1' === wpGoalTrackerGa.isFrontPage) {
     263            return 'Home';
     264        }
     265        else {
     266            if (typeof wpGoalTrackerGa.pageTitle !== 'undefined') {
     267                return wpGoalTrackerGa.pageTitle;
     268            }
     269        }
     270        return '';
     271    }
     272    var trackCustomEvent = typeof trackCustomEventPro === 'function'
     273        ? trackCustomEventPro
     274        : trackCustomEventBasic;
     275    var prepareProps = typeof get_placeholder === 'function'
     276        ? get_placeholder
     277        : returnOriginalProp;
     278    return { isJustHashLink: isJustHashLink };
    906279})(jQuery);
    907 /* <fs_premium_only> */
    908 function getVideoPosition(currentPos, eventsSent) {
    909   var roundedPos = 0;
    910   if (currentPos > 10 && currentPos <= 24) {
    911     if (!eventsSent[10]) {
    912       roundedPos = 10;
    913     }
    914   } else if (currentPos >= 25 && currentPos <= 35) {
    915     if (!eventsSent[25]) {
    916       roundedPos = 25;
    917     }
    918   } else if (currentPos >= 50 && currentPos <= 60) {
    919     if (!eventsSent[50]) {
    920       roundedPos = 50;
    921     }
    922   } else if (currentPos >= 75 && currentPos <= 85) {
    923     if (!eventsSent[75]) {
    924       roundedPos = 75;
    925     }
    926   }
    927   return roundedPos;
    928 }
    929 function gtgaGetContactForm7EventData(event) {
    930   var eventTarget = event.target;
    931   var formTitle = jQuery("#" + eventTarget["wpcf7"].unitTag + " form").attr(
    932     "aria-label"
    933   );
    934   var eventData = {
    935     form_id: event.detail.contactFormId,
    936   };
    937   if (typeof formTitle !== "undefined") eventData["form_name"] = formTitle;
    938   return eventData;
    939 }
    940 function gtgaContactForm7Enabled() {
    941   return (
    942     typeof wpGoalTrackerGa.formTrackingSettings !== "undefined" &&
    943     wpGoalTrackerGa.formTrackingSettings.contactForm7Settings &&
    944     (wpGoalTrackerGa.formTrackingSettings.contactForm7Settings
    945       .trackFormSubmit ||
    946       wpGoalTrackerGa.formTrackingSettings.contactForm7Settings.trackInvalids ||
    947       wpGoalTrackerGa.formTrackingSettings.contactForm7Settings.trackMailSent ||
    948       wpGoalTrackerGa.formTrackingSettings.contactForm7Settings
    949         .trackMailFailed ||
    950       wpGoalTrackerGa.formTrackingSettings.contactForm7Settings.trackSpam)
    951   );
    952 }
    953 /* </fs_premium_only> */
     280
Note: See TracChangeset for help on using the changeset viewer.