!function(){"use strict";var e={30:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.EventTracker=void 0;var r=n(213),i=function(){var e=this;this.pixelId="",this.eventQueue=[[]],this.setPixelId=function(t){e.pixelId=t},this.queueEvent=function(t,n){var r={event:{eventName:t=t.toLowerCase().trim(),eventParams:n},pixelId:e.pixelId};e.eventQueue[e.eventQueue.length-1].push(r),setTimeout((function(e){return e.sendEvents()}),0,e)},this.addFlushPoint=function(){0!==e.eventQueue[e.eventQueue.length-1].length&&e.eventQueue.push([])},this.sendEventsWithParams=function(t,n){var r,i,o=e.getLegacyParams(t);o.events=JSON.stringify(t.map((function(e){return[e.eventName,e.eventParams]}))),null===(i=null===(r=window.twttr)||void 0===r?void 0:r.conversion)||void 0===i||i.trackPid(n,o)},this.sendEvents=function(){if(0!==e.eventQueue[0].length){var t=e.eventQueue.shift()||[];0===e.eventQueue.length&&e.eventQueue.push([]);for(var n=0;n<t.length;n++)e.sendEventsWithParams([t[n].event],t[n].pixelId)}},this.getLegacyParams=function(t){var n={};if(!e.isObject(t[0])||!e.isObject(t[0].eventParams))return{};var i=t[0].eventParams;return r.hasOwnPropertyCi(i,"value")&&(n.tw_sale_amount=r.getPropertyCi(i,"value")),r.hasOwnPropertyCi(i,"num_items")&&(n.tw_order_quantity=r.getPropertyCi(i,"num_items")),e.isObject(r.getPropertyCi(i,"content_ids"))&&(n.tw_product_id=r.getPropertyCi(i,"content_ids")[0]),r.hasOwnPropertyCi(i,"partner_id")&&(n.oct_p_id=r.getPropertyCi(i,"partner_id")),n},this.isObject=function(e){return Object(e)===e}};t.EventTracker=i},566:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.Pixel=void 0;var r=n(213),i=function(){function e(){var t=this;this.cs=!0,this.track=function(e,n,r){t.trackByImage(e,n,r)},this.trackPid=function(e,n){t.trackByScript(e,n)},this.buildPixel=function(e){t.buildImagePixel(e)},this.buildScript=function(e){t.buildScriptPixel(e)},this.buildIframe=function(e){t.buildIFramePixel(e)},this.trackByScript=function(n,i){var o=r.generateEventId();t.trackEventWithScript(e.TWITTER_BASE,n,o,i,!0),t.trackEventWithScript(e.TCO_BASE,n,o,i)},this.trackByImage=function(n,i,o){var a=r.generateEventId();t.trackEventWithImage(e.TWITTER_BASE,n,a,i,o),t.trackEventWithImage(e.TCO_BASE,n,a,i,o)},this.loadPixels=function(e){"hif"in e&&e.hif.forEach(t.buildIFramePixel);"tags"in e&&e.tags.forEach(t.buildImagePixel)},this.trackEventWithImage=function(e,n,i,o,a){var u=a?"&value="+r.enc(a):"",c=e+"&merch_id="+r.enc(n)+"&event="+r.enc(o)+u+"&event_id="+r.enc(i);t.buildImagePixel(c)},this.trackEventWithScript=function(n,i,o,a,u){if(void 0===a&&(a={}),void 0===u&&(u=!1),i){var c="";for(var s in r.hasOwnPropertyCi(a,"tw_sale_amount")||(a.tw_sale_amount=0),r.hasOwnPropertyCi(a,"tw_order_quantity")||(a.tw_order_quantity=0),a)r.hasOwnPropertyCi(a,s)&&(c+="&"+r.enc(s)+"="+r.enc(r.getPropertyCi(a,s)));var d=t.isInIFrame(),f=""+n;f+="&txn_id="+r.enc(i),f+=""+c,f+="&tw_iframe_status="+r.enc(Number(d)),f+="&event_id="+r.enc(o),f+=d&&""!==document.referrer?"&tw_document_referrer="+r.enc(document.referrer):"",f+="&tw_document_href="+r.enc(document.location.href);var v=t.buildImagePixel;u&&(f+=e.PIXEL_CALLBACK_ARG,v=t.buildScriptPixel),t.isDocumentHidden()?t.buildPixelWhenVizChange(f,v):v(f)}},this.isDocumentHidden=function(){return"hidden"===document.visibilityState},this.buildPixelWhenVizChange=function(e,t){var n=function(){t(e),document.removeEventListener("visibilitychange",n,!1)};document.addEventListener("visibilitychange",n,!1)},this.buildScriptPixel=function(e){var n=document.createElement("script");n.src=e,n.setAttribute("type","text/javascript"),t.contentLoaded((function(){document.body.appendChild(n)}))},this.buildIFramePixel=function(e){var n,r;if(null===(r=null===(n=window.twttr)||void 0===n?void 0:n.conversion)||void 0===r?void 0:r.cs){window.twttr.conversion.cs=!1;var i=document.createElement("iframe");i.src=e,i.hidden=!0,t.contentLoaded((function(){document.body.appendChild(i)}))}},this.buildImagePixel=function(e){(new Image).src=e},this.isInIFrame=function(){return window.self!==window.top},this.contentLoaded=function(e){"undefined"!=typeof document&&("complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e())}}return e.PIXEL_CALLBACK_ARG="&tpx_cb=twttr.conversion.loadPixels",e.TCO_BASE="//t.co/i/adsct?type=javascript&version=2.0.4&p_id=Twitter&p_user_id=0",e.TWITTER_BASE="https://analytics.twitter.com/i/adsct?type=javascript&version=2.0.4&p_id=Twitter&p_user_id=0",e}();t.Pixel=i},822:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(30);!function(){if(window.twq){var e=new r.EventTracker,t=window.twq;t.exe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r,i=t[0],o=t.slice(1);switch(i){case"init":r=e.setPixelId;break;case"track":r=e.queueEvent;break;case"new_event":r=e.addFlushPoint}"function"==typeof r&&r.apply(e,o)};for(var n=0;n<t.queue.length;n++)t.exe.apply(null,t.queue[n])}}()},487:function(e,t,n){var r=n(566),i=window.twttr||{};i.conversion=new r.Pixel,n(822),e.exports=i},213:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.FAKE_ID=t.generateEventId=t.enc=t.pixelId=t.documentHref=t.documentReferrer=t.getPropertyCi=t.hasOwnPropertyCi=void 0;var r=n(614);t.hasOwnPropertyCi=function(e,t){var n=t.toLowerCase();for(var r in e)if(r.toLowerCase()===n&&e.hasOwnProperty(r))return!0;return!1},t.getPropertyCi=function(e,t){var n=t.toLowerCase();for(var r in e)if(r.toLowerCase()===n&&e.hasOwnProperty(r))return e[r]},t.documentReferrer="fake_document_referrer",t.documentHref=encodeURIComponent(document.location.href),t.pixelId="pxe2c",t.enc=encodeURIComponent;t.generateEventId=function(){return r.v4()},t.FAKE_ID="FAKE-GENERATED-ID"},614:function(e,t,n){var r;n.r(t),n.d(t,{NIL:function(){return T},parse:function(){return m},stringify:function(){return v},v1:function(){return h},v3:function(){return C},v4:function(){return x},v5:function(){return S},validate:function(){return u},version:function(){return k}});var i=new Uint8Array(16);function o(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(i)}var a=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var u=function(e){return"string"==typeof e&&a.test(e)},c=[],s=0;s<256;++s)c.push((s+256).toString(16).substr(1));var d,f,v=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(c[e[t+0]]+c[e[t+1]]+c[e[t+2]]+c[e[t+3]]+"-"+c[e[t+4]]+c[e[t+5]]+"-"+c[e[t+6]]+c[e[t+7]]+"-"+c[e[t+8]]+c[e[t+9]]+"-"+c[e[t+10]]+c[e[t+11]]+c[e[t+12]]+c[e[t+13]]+c[e[t+14]]+c[e[t+15]]).toLowerCase();if(!u(n))throw TypeError("Stringified UUID is invalid");return n},l=0,p=0;var h=function(e,t,n){var r=t&&n||0,i=t||new Array(16),a=(e=e||{}).node||d,u=void 0!==e.clockseq?e.clockseq:f;if(null==a||null==u){var c=e.random||(e.rng||o)();null==a&&(a=d=[1|c[0],c[1],c[2],c[3],c[4],c[5]]),null==u&&(u=f=16383&(c[6]<<8|c[7]))}var s=void 0!==e.msecs?e.msecs:Date.now(),h=void 0!==e.nsecs?e.nsecs:p+1,m=s-l+(h-p)/1e4;if(m<0&&void 0===e.clockseq&&(u=u+1&16383),(m<0||s>l)&&void 0===e.nsecs&&(h=0),h>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");l=s,p=h,f=u;var y=(1e4*(268435455&(s+=122192928e5))+h)%4294967296;i[r++]=y>>>24&255,i[r++]=y>>>16&255,i[r++]=y>>>8&255,i[r++]=255&y;var g=s/4294967296*1e4&268435455;i[r++]=g>>>8&255,i[r++]=255&g,i[r++]=g>>>24&15|16,i[r++]=g>>>16&255,i[r++]=u>>>8|128,i[r++]=255&u;for(var w=0;w<6;++w)i[r+w]=a[w];return t||v(i)};var m=function(e){if(!u(e))throw TypeError("Invalid UUID");var t,n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n};function y(e,t,n){function r(e,r,i,o){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=[],n=0;n<e.length;++n)t.push(e.charCodeAt(n));return t}(e)),"string"==typeof r&&(r=m(r)),16!==r.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var a=new Uint8Array(16+e.length);if(a.set(r),a.set(e,r.length),(a=n(a))[6]=15&a[6]|t,a[8]=63&a[8]|128,i){o=o||0;for(var u=0;u<16;++u)i[o+u]=a[u];return i}return v(a)}try{r.name=e}catch(e){}return r.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",r.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",r}function g(e){return 14+(e+64>>>9<<4)+1}function w(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function _(e,t,n,r,i,o){return w((a=w(w(t,e),w(r,o)))<<(u=i)|a>>>32-u,n);var a,u}function P(e,t,n,r,i,o,a){return _(t&n|~t&r,e,t,i,o,a)}function b(e,t,n,r,i,o,a){return _(t&r|n&~r,e,t,i,o,a)}function I(e,t,n,r,i,o,a){return _(t^n^r,e,t,i,o,a)}function E(e,t,n,r,i,o,a){return _(n^(t|~r),e,t,i,o,a)}var C=y("v3",48,(function(e){if("string"==typeof e){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var n=0;n<t.length;++n)e[n]=t.charCodeAt(n)}return function(e){for(var t=[],n=32*e.length,r=0;r<n;r+=8){var i=e[r>>5]>>>r%32&255,o=parseInt("0123456789abcdef".charAt(i>>>4&15)+"0123456789abcdef".charAt(15&i),16);t.push(o)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[g(t)-1]=t;for(var n=1732584193,r=-271733879,i=-1732584194,o=271733878,a=0;a<e.length;a+=16){var u=n,c=r,s=i,d=o;n=P(n,r,i,o,e[a],7,-680876936),o=P(o,n,r,i,e[a+1],12,-389564586),i=P(i,o,n,r,e[a+2],17,606105819),r=P(r,i,o,n,e[a+3],22,-1044525330),n=P(n,r,i,o,e[a+4],7,-176418897),o=P(o,n,r,i,e[a+5],12,1200080426),i=P(i,o,n,r,e[a+6],17,-1473231341),r=P(r,i,o,n,e[a+7],22,-45705983),n=P(n,r,i,o,e[a+8],7,1770035416),o=P(o,n,r,i,e[a+9],12,-1958414417),i=P(i,o,n,r,e[a+10],17,-42063),r=P(r,i,o,n,e[a+11],22,-1990404162),n=P(n,r,i,o,e[a+12],7,1804603682),o=P(o,n,r,i,e[a+13],12,-40341101),i=P(i,o,n,r,e[a+14],17,-1502002290),r=P(r,i,o,n,e[a+15],22,1236535329),n=b(n,r,i,o,e[a+1],5,-165796510),o=b(o,n,r,i,e[a+6],9,-1069501632),i=b(i,o,n,r,e[a+11],14,643717713),r=b(r,i,o,n,e[a],20,-373897302),n=b(n,r,i,o,e[a+5],5,-701558691),o=b(o,n,r,i,e[a+10],9,38016083),i=b(i,o,n,r,e[a+15],14,-660478335),r=b(r,i,o,n,e[a+4],20,-405537848),n=b(n,r,i,o,e[a+9],5,568446438),o=b(o,n,r,i,e[a+14],9,-1019803690),i=b(i,o,n,r,e[a+3],14,-187363961),r=b(r,i,o,n,e[a+8],20,1163531501),n=b(n,r,i,o,e[a+13],5,-1444681467),o=b(o,n,r,i,e[a+2],9,-51403784),i=b(i,o,n,r,e[a+7],14,1735328473),r=b(r,i,o,n,e[a+12],20,-1926607734),n=I(n,r,i,o,e[a+5],4,-378558),o=I(o,n,r,i,e[a+8],11,-2022574463),i=I(i,o,n,r,e[a+11],16,1839030562),r=I(r,i,o,n,e[a+14],23,-35309556),n=I(n,r,i,o,e[a+1],4,-1530992060),o=I(o,n,r,i,e[a+4],11,1272893353),i=I(i,o,n,r,e[a+7],16,-155497632),r=I(r,i,o,n,e[a+10],23,-1094730640),n=I(n,r,i,o,e[a+13],4,681279174),o=I(o,n,r,i,e[a],11,-358537222),i=I(i,o,n,r,e[a+3],16,-722521979),r=I(r,i,o,n,e[a+6],23,76029189),n=I(n,r,i,o,e[a+9],4,-640364487),o=I(o,n,r,i,e[a+12],11,-421815835),i=I(i,o,n,r,e[a+15],16,530742520),r=I(r,i,o,n,e[a+2],23,-995338651),n=E(n,r,i,o,e[a],6,-198630844),o=E(o,n,r,i,e[a+7],10,1126891415),i=E(i,o,n,r,e[a+14],15,-1416354905),r=E(r,i,o,n,e[a+5],21,-57434055),n=E(n,r,i,o,e[a+12],6,1700485571),o=E(o,n,r,i,e[a+3],10,-1894986606),i=E(i,o,n,r,e[a+10],15,-1051523),r=E(r,i,o,n,e[a+1],21,-2054922799),n=E(n,r,i,o,e[a+8],6,1873313359),o=E(o,n,r,i,e[a+15],10,-30611744),i=E(i,o,n,r,e[a+6],15,-1560198380),r=E(r,i,o,n,e[a+13],21,1309151649),n=E(n,r,i,o,e[a+4],6,-145523070),o=E(o,n,r,i,e[a+11],10,-1120210379),i=E(i,o,n,r,e[a+2],15,718787259),r=E(r,i,o,n,e[a+9],21,-343485551),n=w(n,u),r=w(r,c),i=w(i,s),o=w(o,d)}return[n,r,i,o]}(function(e){if(0===e.length)return[];for(var t=8*e.length,n=new Uint32Array(g(t)),r=0;r<t;r+=8)n[r>>5]|=(255&e[r/8])<<r%32;return n}(e),8*e.length))}));var x=function(e,t,n){var r=(e=e||{}).random||(e.rng||o)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var i=0;i<16;++i)t[n+i]=r[i];return t}return v(r)};function A(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:return t^n^r;case 2:return t&n^t&r^n&r;case 3:return t^n^r}}function O(e,t){return e<<t|e>>>32-t}var S=y("v5",80,(function(e){var t=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){var r=unescape(encodeURIComponent(e));e=[];for(var i=0;i<r.length;++i)e.push(r.charCodeAt(i))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);for(var o=e.length/4+2,a=Math.ceil(o/16),u=new Array(a),c=0;c<a;++c){for(var s=new Uint32Array(16),d=0;d<16;++d)s[d]=e[64*c+4*d]<<24|e[64*c+4*d+1]<<16|e[64*c+4*d+2]<<8|e[64*c+4*d+3];u[c]=s}u[a-1][14]=8*(e.length-1)/Math.pow(2,32),u[a-1][14]=Math.floor(u[a-1][14]),u[a-1][15]=8*(e.length-1)&4294967295;for(var f=0;f<a;++f){for(var v=new Uint32Array(80),l=0;l<16;++l)v[l]=u[f][l];for(var p=16;p<80;++p)v[p]=O(v[p-3]^v[p-8]^v[p-14]^v[p-16],1);for(var h=n[0],m=n[1],y=n[2],g=n[3],w=n[4],_=0;_<80;++_){var P=Math.floor(_/20),b=O(h,5)+A(P,m,y,g)+w+t[P]+v[_]>>>0;w=g,g=y,y=O(m,30)>>>0,m=h,h=b}n[0]=n[0]+h>>>0,n[1]=n[1]+m>>>0,n[2]=n[2]+y>>>0,n[3]=n[3]+g>>>0,n[4]=n[4]+w>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]})),T="00000000-0000-0000-0000-000000000000";var k=function(e){if(!u(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r=n(487);window.twttr=r}();