(()=>{"use strict";var e={n:t=>{var o=t&&t.__esModule?()=>t.default:()=>t;return e.d(o,{a:o}),o},d:(t,o)=>{for(var n in o)e.o(o,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:o[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.jQuery;!function(e,t,o,n,c){function i(e,t){const o=void 0!==n&&n.messages?.copied||"Copied!";e.text(o),e.addClass("button-success"),setTimeout(function(){e.text(t),e.removeClass("button-success")},2e3)}function s(e,t){const o=void 0!==n&&n.messages?.copy_failed||"Failed";e.text(o),e.addClass("button-error"),setTimeout(function(){e.text(t),e.removeClass("button-error")},2e3)}e(function(){e(o).on("click",".wc-copy-button",function(n){n.preventDefault();const r=e(this).data("target"),u=e(r),a=e(this),d=a.text();if(!u.length)return;const l=u.val();c.clipboard&&t.isSecureContext?c.clipboard.writeText(l).then(function(){i(a,d)}).catch(function(){s(a,d)}):function(e,n,c){e.select(),e[0].setSelectionRange(0,99999);try{o.execCommand("copy")?i(n,c):s(n,c)}catch(e){s(n,c)}t.getSelection&&t.getSelection().removeAllRanges()}(u,a,d)}),e(o).on("click",".disconnect-google-drive",function(e){const t=void 0!==n&&n.messages?.disconnect_confirm||"Are you sure?";if(!confirm(t))return e.preventDefault(),!1})})}(e.n(t)(),window,document,window.wdceoAccount,window.navigator)})();