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