(function() {function aa(a,b,c){if(null==a)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return a+""}
var ba="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(c.get||c.set)throw new TypeError("ES3 does not support getters and setters.");a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)},ca="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;
function da(a,b){if(b){for(var c=ca,d=a.split("."),e=0;e<d.length-1;e++){var f=d[e];f in c||(c[f]={});c=c[f]}d=d[d.length-1];e=c[d];f=b(e);f!=e&&null!=f&&ba(c,d,{configurable:!0,writable:!0,value:f})}}da("String.prototype.endsWith",function(a){return a?a:function(a,c){var b=aa(this,a,"endsWith");a+="";void 0===c&&(c=b.length);for(var e=Math.max(0,Math.min(c|0,b.length)),f=a.length;0<f&&0<e;)if(b[--e]!=a[--f])return!1;return 0>=f}});
da("String.prototype.includes",function(a){return a?a:function(a,c){return-1!==aa(this,a,"includes").indexOf(a,c||0)}});da("String.prototype.startsWith",function(a){return a?a:function(a,c){var b=aa(this,a,"startsWith");a+="";for(var e=b.length,f=a.length,l=Math.max(0,Math.min(c|0,b.length)),k=0;k<f&&l<e;)if(b[l++]!=a[k++])return!1;return k>=f}});da("Number.isFinite",function(a){return a?a:function(a){return"number"!==typeof a?!1:!isNaN(a)&&Infinity!==a&&-Infinity!==a}});
da("Number.isInteger",function(a){return a?a:function(a){return Number.isFinite(a)?a===Math.floor(a):!1}});
function ea(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
else if("function"==b&&"undefined"==typeof a.call)return"object";return b}function fa(a,b,c){return a.call.apply(a.bind,arguments)}function ga(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}}
function ha(a,b,c){ha=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?fa:ga;return ha.apply(null,arguments)};function g(a){var b=[];ia(new ja,a,b);return b.join("")}function ja(){}
function ia(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if("array"==ea(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),e=d[f],ia(a,e,c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");f="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(e=b[d],"function"!=typeof e&&(c.push(f),ka(d,c),c.push(":"),ia(a,e,c),f=","));c.push("}");return}}switch(typeof b){case "string":ka(b,c);break;case "number":c.push(isFinite(b)&&
!isNaN(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("Unknown type: "+typeof b);}}}var la={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},ma=/\uffff/.test("\uffff")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g;
function ka(a,b){b.push('"',a.replace(ma,function(a){var b=la[a];b||(b="\\u"+(a.charCodeAt(0)|65536).toString(16).substr(1),la[a]=b);return b}),'"')};function p(a){a=String(a);try{return JSON.parse(a)}catch(b){}throw Error("Invalid JSON string: "+a);}function q(a){try{return"object"===typeof JSON&&"function"===typeof JSON.stringify?JSON.stringify(a):g(a)}catch(b){}throw Error("Could not stringify object");};function na(){function a(){if(b.length)b[0](function(){b.shift();a()})}var b=[];return function(c){b.push(c);1===b.length&&a()}};var oa=2,pa=200,qa=5E3,r="",u={},ra="undefined"!==typeof window&&!!(window.performance&&window.performance.timing&&window.performance.timing.navigationStart),sa="";function ta(a){return a&&"number"===typeof a?(Date.now()-a).toString():null}var ua={didClickJourneyClose:"Button(X)",didClickJourneyContinue:"Dismiss Journey text"},v=!1,va={"/v1/open":{link_identifier:"\\d+"},"/v1/pageview":{event:"pageview"},"/v1/dismiss":{event:"dismiss"},"/v1/url":{}},wa=!1;
function xa(a,b){var c=document.createElement("a");c.href=a;var d=c.origin;d.endsWith("/")&&(d=d.substring(0,d.length-1));if(!["https://api2.branch.io","https://app.link","https://bnc.lt"].includes(d))return!1;c=c.pathname;"/"!=c[0]&&(c="/"+c);if(c.startsWith("/c/"))return!1;c=va[c];if(!c)return!0;if(0<Object.keys(c).length){if(!b)return!0;for(var e in c)if(d=new RegExp(c[e]),!b.hasOwnProperty(e)||!d.test(b[e]))return!0}return!1}
function ya(a,b){if(a||b){for(var c="https://bnc.lt/a/"+a+"?",d="tags alias channel feature stage campaign type duration sdk source data".split(" "),e=0;e<d.length;e++){var f=d[e],l=b[f];if(l)if("tags"===f&&Array.isArray(l))for(var k=0;k<l.length;k++)c=("?"===c[c.length-1]?c+f:c+"&"+f)+"="+encodeURIComponent(l[k]);else if("string"===typeof l&&0<l.length||"number"===typeof l)"data"===f&&"string"===typeof l&&(l=za(l)),c=("?"===c[c.length-1]?c+f:c+"&"+f)+"="+encodeURIComponent(l)}return c}}
function Aa(a){a&&(a.ia=null,a.N=null,a.H=null,a.j=null,a.g=null,a.D=null,a.v&&delete a.v,a.w&&delete a.w,a.c.remove("branch_view_enabled"),Ba(a.c,{},!0))}function w(a,b,c){a=a.replace(/\$(\d)/g,function(a,c){return b[parseInt(c,10)-1]});c&&(a+="\n Failure Code:"+c);return a}
function Ca(a){var b=a.has_app;return{data:a.data||"",data_parsed:a.data_parsed||{},has_app:void 0===b?null:b,identity:a.identity||null,developer_identity:a.identity||null,referring_identity:a.referring_identity||null,referring_link:a.referring_link||null}}function Da(a){var b=/^\$journeys_\S+$/,c=a.data,d={};if(!c)return{};switch(typeof c){case "string":try{c=p(c)}catch(e){c={}}break;case "object":break;default:c={}}Object.keys(c).forEach(function(a){b.test(a)&&(d[a]=c[a])});return d}
function Ea(){return x()?document.referrer:String(window.location)}
function z(a){a.source="web-sdk";var b=a.data;switch(typeof b){case "string":try{b=p(b)}catch(c){b={_bncNoEval:!0}}break;case "object":break;default:b={}}b.$canonical_url||(b.$canonical_url=Ea());b.$og_title||(b.$og_title=A("title"));b.$og_description||(b.$og_description=A("description"));b.$og_image_url||(b.$og_image_url=A("image"));b.$og_video||(b.$og_video=A("video"));b.$og_type||(b.$og_type=A("type"));"string"===typeof b.$desktop_url&&(b.$desktop_url=b.$desktop_url.replace(/#r:[a-z0-9-_]+$/i,
"").replace(/([\?\&]_branch_match_id=\d+)/,""));try{p(b)}catch(c){b=g(b)}a.data=b;return a}function Fa(a){function b(a){return""!==a}if(!a||"string"!==typeof a)return"";var c=document.createElement("a");c.href=a;a=c.pathname&&c.pathname.split("/").filter(b);return Array.isArray(a)&&a.length?a[a.length-1]+c.search:c.search}
function B(a,b,c){a&&"object"===typeof a||(a={});if(!b||"object"!==typeof b)return a;for(var d in b)if(b.hasOwnProperty(d)){var e=b[d];!c||void 0!==e&&null!==e?a[d]=e:delete a[d]}return a}function Ga(){try{var a=(x()&&Ha()?window.top.location.hash:window.location.hash).match(/r:([^&]*)/);if(a&&1<=a.length)return a[1]}catch(b){}}function Ia(a){return!!/^((?!chrome|android|crios|firefox|fxios|edg|yabrowser).)*safari/i.test(a)}
function Ja(a,b){b=b||11;var c=/version\/([^ ]*)/i.exec(a);if(c&&c[1])try{if(parseFloat(c[1])>=b)return!0}catch(d){}return!1}
function C(){var a=navigator.userAgent;return a.match(/android/i)?"android":a.match(/ipad/i)||a&&Ia(a)&&a&&-1<a.indexOf("Macintosh")&&Ja(a,13)&&screen.height>screen.width?"ipad":a.match(/i(os|p(hone|od))/i)?"ios":a.match(/\(BB[1-9][0-9]*\;/i)?"blackberry":a.match(/Windows Phone/i)?"windows_phone":a.match(/Kindle/i)||a.match(/Silk/i)||a.match(/KFTT/i)||a.match(/KFOT/i)||a.match(/KFJWA/i)||a.match(/KFJWI/i)||a.match(/KFSOWI/i)||a.match(/KFTHWA/i)||a.match(/KFTHWI/i)||a.match(/KFAPWA/i)||a.match(/KFAPWI/i)?
"kindle":!1}function Ka(){var a=navigator.userAgent;return Ia(a)?Ja(a,11):!1}function La(){var a=navigator.userAgent;return!!window.webkitURL&&a&&a&&/(iPad|iPod|iPhone)/.test(a)&&!/(chrome|crios)/i.test(a)&&!/(fxios|firefox)/i.test(a)&&!/edg/i.test(a)&&!/(opt|opr)/i.test(a)&&!/yabrowser/i.test(a)}function Ma(a){try{var b=(x()&&Ha()?window.top.location.search:window.location.search).substring(1).match(new RegExp(a+"=([^&]*)"));if(b&&1<=b.length)return b[1]}catch(c){}}
function Na(a){return a.replace(/(\-\w)/g,function(a){return a[1].toUpperCase()})}
function za(a){var b="",c,d,e,f,l,k,h=0;a=a.replace(/\r\n/g,"\n");d="";for(e=0;e<a.length;e++)f=a.charCodeAt(e),128>f?d+=String.fromCharCode(f):(127<f&&2048>f?d+=String.fromCharCode(f>>6|192):(d+=String.fromCharCode(f>>12|224),d+=String.fromCharCode(f>>6&63|128)),d+=String.fromCharCode(f&63|128));for(a=d;h<a.length;)c=a.charCodeAt(h++),d=a.charCodeAt(h++),e=a.charCodeAt(h++),f=c>>2,c=(c&3)<<4|d>>4,l=(d&15)<<2|e>>6,k=e&63,isNaN(d)?k=l=64:isNaN(e)&&(k=64),b=b+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(f)+
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(c)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(l)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(k);return b}function Oa(a){return Pa(a)?atob(a):a}function Pa(a){if("string"!==typeof a||""===a||""===a.trim())return!1;try{return btoa(atob(a))===a}catch(b){return!1}}
function Qa(a){a&&a.browser_fingerprint_id&&!Pa(a.browser_fingerprint_id)&&(a.browser_fingerprint_id=btoa(a.browser_fingerprint_id));a&&a.alternative_browser_fingerprint_id&&!Pa(a.alternative_browser_fingerprint_id)&&(a.alternative_browser_fingerprint_id=btoa(a.alternative_browser_fingerprint_id));return a}
function Ra(a){a&&Pa(a.browser_fingerprint_id)&&(a.browser_fingerprint_id=atob(a.browser_fingerprint_id));a&&Pa(a.alternative_browser_fingerprint_id)&&(a.alternative_browser_fingerprint_id=atob(a.alternative_browser_fingerprint_id));return a}function Sa(a,b,c){"function"===typeof a.addEventListener?a.addEventListener(b,c,void 0):"function"===typeof a.attachEvent?a.attachEvent("on"+b,c):a["on"+b]=c}
function Ta(a){if(!a)return null;-1<a.indexOf("://")&&(a=a.split("://")[1]);return a.substring(a.indexOf("/")+1)}function D(a){if(!a)return null;-1<a.indexOf("://")?a=a.split("://")[1]:"/"===a.charAt(0)&&(a=a.slice(1));return a}function A(a){var b;a=String(a);b=b||null;(a=document.querySelector('meta[property="og:'+a+'"]'))&&a.content&&(b=a.content);return b}
function Ua(){var a=document.getElementsByTagName("meta"),b={};if(!a||0===a.length)return b;for(var c={hostedIOS:null,hostedAndroid:null,applinksIOS:null,applinksAndroid:null,twitterIOS:null,twitterAndroid:null},d=0;d<a.length;d++)if((a[d].getAttribute("name")||a[d].getAttribute("property"))&&a[d].getAttribute("content")){var e=a[d].getAttribute("name"),f=a[d].getAttribute("property"),e=e||f,f=e.split(":");3===f.length&&"branch"===f[0]&&"deeplink"===f[1]&&("$ios_deeplink_path"===f[2]?c.hostedIOS=
D(a[d].getAttribute("content")):"$android_deeplink_path"===f[2]?c.hostedAndroid=D(a[d].getAttribute("content")):b[f[2]]=a[d].getAttribute("content"));"al:ios:url"===e&&(c.applinksIOS=D(a[d].getAttribute("content")));"twitter:app:url:iphone"===e&&(c.twitterIOS=D(a[d].getAttribute("content")));"al:android:url"===e&&(c.applinksAndroid=D(a[d].getAttribute("content")));"twitter:app:url:googleplay"===e&&(c.twitterAndroid=D(a[d].getAttribute("content")))}c&&"object"===typeof c&&Object.keys(c).length&&(c.hostedIOS?
b.$ios_deeplink_path=c.hostedIOS:c.applinksIOS?b.$ios_deeplink_path=c.applinksIOS:c.twitterIOS&&(b.$ios_deeplink_path=c.twitterIOS),c.hostedAndroid?b.$android_deeplink_path=c.hostedAndroid:c.applinksAndroid?b.$android_deeplink_path=c.applinksAndroid:c.twitterAndroid&&(b.$android_deeplink_path=c.twitterAndroid),b.hasOwnProperty("$ios_deeplink_path")&&b.hasOwnProperty("$android_deeplink_path")&&b.$ios_deeplink_path===b.$android_deeplink_path&&(b.$deeplink_path=b.$ios_deeplink_path));return b}
function Va(){var a;try{navigator.languages&&0<navigator.languages.length?a=navigator.languages[0]:navigator.language&&(a=navigator.language),a=a.substring(0,2).toUpperCase()}catch(b){a=null}return a}function Wa(a,b){var c=[];b.forEach(function(b){-1===a.indexOf(b)&&c.push(b)});return c}
var Xa=["purchase"],Ya={missingPurchaseEvent:"event name is either missing, of the wrong type or not valid. Please specify 'purchase' as the event name.",missingCommerceData:"commerce_data is either missing, of the wrong type or empty. Please ensure that commerce_data is constructed correctly.",invalidKeysForRoot:"Please remove the following keys from the root of commerce_data: ",invalidKeysForProducts:"Please remove the following keys from commerce_data.products: ",invalidProductListType:"commerce_data.products must be an array of objects",
invalidProductType:"Each product in the products list must be an object"};
function Za(a){var b="sku name price quantity brand category variant".split(" "),c=Wa("common type transaction_id currency revenue revenue_in_usd exchange_rate shipping tax coupon affiliation persona products".split(" "),Object.keys(a));if(c.length)return Ya.invalidKeysForRoot+c.join(", ");var d=[],e;if(a.hasOwnProperty("products")){if(!Array.isArray(a.products))return Ya.invalidProductListType;a.products.forEach(function(a){"object"!==typeof a&&(e=Ya.invalidProductType);d=d.concat(Wa(b,Object.keys(a)))});
if(e)return e;if(d.length)return Ya.invalidKeysForProducts+d.join(", ")}return null}function $a(a,b){if(!a||"string"!==typeof a||-1===Xa.indexOf(a.toLowerCase()))return Ya.missingPurchaseEvent;if(!b||"object"!==typeof b||!Object.keys(b).length)return Ya.missingCommerceData;var c=Za(b);return c?c:null}function E(a){return"string"!==typeof a?null:a.replace(/</g,"&lt;").replace(/>/g,"&gt;")}
function F(a,b,c){if(null!==c&&void 0!==c){if("object"===typeof c&&!Object.keys(c).length)return a;a[b]=c}return a}
function ab(){var a={},b;b={};b=F(b,"$og_title",A("title"));b=F(b,"$og_description",A("description"));b=F(b,"$og_image_url",A("image"));b=F(b,"$og_video",A("video"));b=(b=F(b,"$og_type",A("type")))&&0<Object.keys(b).length?b:null;a=F(a,"og_data",b);a=F(a,"hosted_deeplink_data",Ua());b=document.getElementsByTagName("title");a=F(a,"title",0<b.length?b[0].innerText:null);b=document.querySelector('meta[name="description"]');a=F(a,"description",b&&b.content?b.content:null);b=document.querySelector('link[rel="canonical"]');
return(a=F(a,"canonical_url",b&&b.href?b.href:null))&&0<Object.keys(a).length?a:{}}var bb="ADD_TO_CART ADD_TO_WISHLIST VIEW_CART INITIATE_PURCHASE ADD_PAYMENT_INFO PURCHASE SPEND_CREDITS SEARCH VIEW_ITEM VIEW_ITEMS RATE SHARE COMPLETE_REGISTRATION COMPLETE_TUTORIAL ACHIEVE_LEVEL UNLOCK_ACHIEVEMENT LOGIN SUBSCRIBE START_TRIAL INVITE RESERVE VIEW_AD CLICK_AD INITIATE_STREAM COMPLETE_STREAM".split(" "),cb="transaction_id revenue currency shipping tax coupon affiliation search_query description".split(" ");
function db(a){if(!a||!Object.keys(a).length)return null;for(var b=Wa(cb,Object.keys(a)),c={},d=0;d<b.length;d++){var e=b[d];c[e]=a[e];delete a[e]}return{custom_data:eb(c),event_data:a}}function G(a,b){return!b||null===a&&"object"===b?!1:"array"===b?Array.isArray(a):typeof a===b&&!Array.isArray(a)}
function fb(a){var b={},b=F(b,"http_origin",document.URL),b=F(b,"user_agent",navigator.userAgent),b=F(b,"language",Va()),b=F(b,"screen_width",screen.width||0),b=F(b,"screen_height",screen.height||0),b=F(b,"http_referrer",document.referrer),b=F(b,"browser_fingerprint_id",a.D),b=F(b,"developer_identity",a.g),b=F(b,"identity",a.g),b=F(b,"sdk","web");return b=F(b,"sdk_version","2.59.0")}function x(){return window.self!==window.top}
function Ha(){var a="true";try{window.top.location.search&&(a="true")}catch(b){return!1}return"true"===a}function gb(a){return a?a:x()?Ha()?window.top.document.referrer:"":document.referrer}function eb(a){if(!G(a,"object")||!Object.keys(a).length)return{};for(var b in a)if(a.hasOwnProperty(b)){var c=b,d;d=a[b];d=G(d,"object")||G(d,"array")?q(d):null===d?"null":d.toString();a[c]=d}return a}
function hb(a,b){var c=a?B({},a):{};return b&&0<Object.keys(b).length?0<Object.keys(c).length?B(c,b):B({},b):c}function H(a){""!==r&&a.setAttribute("nonce",r)}function ib(a,b){isNaN(b)||0>=b?a():setTimeout(a,b)};function I(a,b){return function(c,d,e){if(v)return!1;if("number"===typeof e||e)if(0===b){if("object"!==typeof e)return w("API request $1, parameter $2 is not $3",[c,d,"an object"])}else if(3===b){if(!(e instanceof Array))return w("API request $1, parameter $2 is not $3",[c,d,"an array"])}else if(2===b){if("number"!==typeof e)return w("API request $1, parameter $2 is not $3",[c,d,"a number"])}else if(4===b){if("boolean"!==typeof e)return w("API request $1, parameter $2 is not $3",[c,d,"a boolean"])}else{if("string"!==
typeof e)return w("API request $1, parameter $2 is not $3",[c,d,"a string"]);if(1!==b&&!b.test(e))return w("API request $1, parameter $2 is not $3",[c,d,"in the proper format"])}else if(a)return w("API request $1 missing parameter $2",[c,d]);return!1}}function J(a){return B(a,{browser_fingerprint_id:I(!0,1),identity_id:I(!0,1),sdk:I(!0,1),session_id:I(!0,1)})}
var jb={destination:"https://api2.branch.io",endpoint:"/v1/open",method:"POST",a:{browser_fingerprint_id:I(!1,1),alternative_browser_fingerprint_id:I(!1,1),identity_id:I(!1,1),link_identifier:I(!1,1),sdk:I(!1,1),options:I(!1,0),initial_referrer:I(!1,1),tracking_disabled:I(!1,4),current_url:I(!1,1),screen_height:I(!1,2),screen_width:I(!1,2)}},kb={destination:"https://app.link",endpoint:"/_r",method:"GET",L:!0,a:{sdk:I(!0,1),_t:I(!1,1),branch_key:I(!0,1)}},lb={destination:"",endpoint:"",method:"GET",
f:{link_url:I(!0,1)},a:{click:I(!0,1)}},mb={destination:"https://bnc.lt",endpoint:"/c",method:"POST",f:{link_url:I(!0,1)},a:{sdk:I(!1,1),phone:I(!0,1)}},nb={destination:"https://api2.branch.io",endpoint:"/v1/referralcode",method:"POST",a:J({amount:I(!0,2),bucket:I(!1,1),calculation_type:I(!0,2),creation_source:I(!0,2),expiration:I(!1,1),location:I(!0,2),prefix:I(!1,1),type:I(!0,1)})},ob={destination:"https://api2.branch.io",endpoint:"/v1/referralcode",method:"POST",f:{code:I(!0,1)},a:J({})},pb={destination:"https://api2.branch.io",
endpoint:"/v1/applycode",method:"POST",f:{code:I(!0,1)},a:J({})},qb={destination:"https://api2.branch.io",endpoint:"/v1/logout",method:"POST",a:J({session_id:I(!0,1)})},rb={destination:"https://api2.branch.io",endpoint:"/v1/profile",method:"POST",a:J({identity_id:I(!0,1),identity:I(!0,1)})},sb={destination:"https://api2.branch.io",endpoint:"/v1/referrals",method:"GET",f:{identity_id:I(!0,1)},a:J({})},tb={destination:"https://api2.branch.io",endpoint:"/v1/credithistory",method:"GET",a:J({begin_after_id:I(!1,
1),bucket:I(!1,1),direction:I(!1,2),length:I(!1,2),link_click_id:I(!1,1)})},ub={destination:"https://api2.branch.io",endpoint:"/v1/credits",method:"GET",a:J({branch_key:I(!0,1),identity:I(!0,1)})},vb={destination:"https://api2.branch.io",endpoint:"/v1/redeem",method:"POST",a:J({amount:I(!0,2),bucket:I(!0,1),identity_id:I(!0,1)})},wb={destination:"https://api2.branch.io",endpoint:"/v1/url",method:"POST",qa:"obj",a:J({alias:I(!1,1),campaign:I(!1,1),channel:I(!1,1),data:I(!1,1),feature:I(!1,1),identity_id:I(!0,
1),stage:I(!1,1),tags:I(!1,3),type:I(!1,2),source:I(!1,1),instrumentation:I(!1,1)})},xb={destination:"https://api2.branch.io",endpoint:"/v1/qr-code",method:"POST",qa:"obj",a:J({alias:I(!1,1),campaign:I(!1,1),channel:I(!1,1),data:I(!1,1),qr_code_settings:I(!1,1),feature:I(!1,1),identity_id:I(!0,1),stage:I(!1,1),tags:I(!1,3),type:I(!1,2),source:I(!1,1)})},yb={destination:"https://api2.branch.io",endpoint:"/v1/deepview",L:!0,method:"POST",a:J({campaign:I(!1,1),_t:I(!1,1),channel:I(!1,1),data:I(!0,1),
feature:I(!1,1),link_click_id:I(!1,1),open_app:I(!1,4),append_deeplink_path:I(!1,4),stage:I(!1,1),tags:I(!1,3),deepview_type:I(!0,1),source:I(!0,1)})},zb={destination:"https://api2.branch.io",endpoint:"/v1/has-app",method:"GET",a:{browser_fingerprint_id:I(!0,1),instrumentation:I(!1,1)}},Ab={destination:"https://api2.branch.io",endpoint:"/v1/event",method:"POST",a:J({event:I(!0,1),metadata:I(!0,0),initial_referrer:I(!1,1),tracking_disabled:I(!1,4)})},Bb={destination:"https://api2.branch.io",endpoint:"/v1/event",
method:"POST",a:J({event:I(!0,1),metadata:I(!1,0),initial_referrer:I(!1,1),commerce_data:I(!0,0)})},Cb={destination:"https://api2.branch.io",endpoint:"/v2/event/standard",method:"POST",a:{name:I(!0,1),user_data:I(!0,1),custom_data:I(!1,1),event_data:I(!1,1),content_items:I(!1,1),customer_event_alias:I(!1,1)}},Db={destination:"https://api2.branch.io",endpoint:"/v2/event/custom",method:"POST",a:{name:I(!0,1),user_data:I(!0,1),custom_data:I(!1,1),event_data:I(!1,1),content_items:I(!1,1),customer_event_alias:I(!1,
1)}},Eb={destination:"https://api2.branch.io",endpoint:"/v1/pageview",method:"POST",a:J({event:I(!0,1),metadata:I(!1,0),initial_referrer:I(!1,1),tracking_disabled:I(!1,4),branch_view_id:I(!1,1),no_journeys:I(!1,4),user_language:I(!1,1),open_app:I(!1,4),has_app_websdk:I(!1,4),source:I(!1,1),feature:I(!1,1),is_iframe:I(!1,4),data:I(!1,0),callback_string:I(!1,1),journey_displayed:I(!1,4),audience_rule_id:I(!1,1),journey_dismissals:I(!1,0),identity_id:I(!1,1)})},Fb={destination:"https://api2.branch.io",
endpoint:"/v1/dismiss",method:"POST",a:J({event:I(!0,1),metadata:I(!1,0),initial_referrer:I(!1,1),tracking_disabled:I(!1,4),branch_view_id:I(!1,1),no_journeys:I(!1,4),user_language:I(!1,1),open_app:I(!1,4),has_app_websdk:I(!1,4),source:I(!1,1),feature:I(!1,1),is_iframe:I(!1,4),data:I(!1,0),callback_string:I(!1,1),journey_displayed:I(!1,4),audience_rule_id:I(!1,1),journey_dismissals:I(!1,0),dismissal_source:I(!1,1)})},Gb={destination:"https://api2.branch.io",endpoint:"/v1/cpid",method:"POST",a:{user_data:I(!0,
1)}},Ib={destination:"https://api2.branch.io",endpoint:"/v1/cpid/latd",method:"POST",a:{user_data:I(!0,1)}};function Jb(a){for(var b=0;b<a.length;b++){var c=this[a[b]],c="function"===typeof c?c():c;if(c.isEnabled())return c.A={},c}}function K(a){return"branch_session"===a||"branch_session_first"===a?a:"BRANCH_WEBSDK_KEY"+a}function Kb(a){return"true"===a?!0:"false"===a?!1:a}function Lb(a){return"branch_session"===a||"branch_session_first"===a||0===a.indexOf("BRANCH_WEBSDK_KEY")}function Mb(a){a=a.trim();var b=a.indexOf("=");return{name:a.substring(0,b),value:Kb(a.substring(b+1,a.length))}}
function Nb(a){var b;try{b=a&&localStorage?localStorage:sessionStorage}catch(c){return{isEnabled:function(){return!1}}}return{getAll:function(){if("undefined"===typeof b)return null;var a=null,d;for(d in b)d.indexOf("BRANCH_WEBSDK_KEY")||(null===a&&(a={}),a[d.replace("BRANCH_WEBSDK_KEY","")]=Kb(b.getItem(d)));return Ra(a)},get:function(a,d){return"browser_fingerprint_id"===a||"alternative_browser_fingerprint_id"===a?d&&localStorage?Oa(localStorage.getItem(K(a))):Oa(b.getItem(K(a))):Kb(d&&localStorage?
localStorage.getItem(K(a)):b.getItem(K(a)))},set:function(a,d,e){e&&localStorage?localStorage.setItem(K(a),d):b.setItem(K(a),d)},remove:function(a,d){d&&localStorage?localStorage.removeItem(K(a)):b.removeItem(K(a))},clear:function(){Object.keys(b).forEach(function(a){a.indexOf("BRANCH_WEBSDK_KEY")||b.removeItem(a)})},isEnabled:function(){try{return b.setItem("test",""),b.removeItem("test"),!0}catch(c){return!1}}}}Jb.prototype.local=function(){return Nb(!0)};Jb.prototype.session=function(){return Nb(!1)};
function Ob(){function a(a,c){c&&(a=K(a));document.cookie=a+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/"}return{getAll:function(){for(var a={},c=document.cookie.split(";"),d=0;d<c.length;d++){var e=Mb(c[d]);e&&e.hasOwnProperty("name")&&e.hasOwnProperty("value")&&Lb(e.name)&&(a[e.name.replace("BRANCH_WEBSDK_KEY","")]=e.value)}return a},get:function(a){a=K(a);for(var b=document.cookie.split(";"),d=0;d<b.length;d++){var e=Mb(b[d]);if(e&&e.hasOwnProperty("name")&&e.hasOwnProperty("value")&&e.name===
a)return e.value}return null},set:function(a,c){document.cookie=K(a)+"="+c+"; path=/"},remove:function(b){a(b,!0)},clear:function(){for(var b=document.cookie.split(";"),c=0;c<b.length;c++){var d=Mb(b[c]);d&&d.hasOwnProperty("name")&&Lb(d.name)&&a(d.name,!1)}},isEnabled:function(){return navigator.cookieEnabled}}}Jb.prototype.cookie=function(){return Ob()};
Jb.prototype.pojo={getAll:function(){return this.A},get:function(a){return this.A[a]||null},set:function(a,b){this.A[a]=b},remove:function(a){delete this.A[a]},clear:function(){this.A={}},isEnabled:function(){return!0}};function L(a,b){try{var c=p(a.get(b?"branch_session_first":"branch_session",b))||null;return Ra(c)}catch(d){return null}}function Ba(a,b,c){b=Qa(b);a.set("branch_session",g(b));c&&a.set("branch_session_first",g(b),!0)}function Pb(a,b){if(b){var c=L(a)||{},c=g(Qa(B(c,b)));a.set("branch_session",c)}}
function Qb(a,b,c){function d(a,b){return Qa(B(p(a),b,c))}var e=a.get("branch_session",!1)||{};a.set("branch_session",g(d(e,b)));e=a.get("branch_session_first",!0)||{};a.set("branch_session_first",g(d(e,b)),!0)};function Rb(){}Rb.prototype.h=0;function Sb(a,b,c){if("undefined"===typeof b)return"";var d=[];if(b instanceof Array){for(a=0;a<b.length;a++)d.push(encodeURIComponent(c)+"="+encodeURIComponent(b[a]));return d.join("&")}for(var e in b)b.hasOwnProperty(e)&&(b[e]instanceof Array||"object"===typeof b[e]?d.push(Sb(a,b[e],c?c+"."+e:e)):d.push(encodeURIComponent(c?c+"."+e:e)+"="+encodeURIComponent(b[e])));return d.join("&")}
function Tb(a,b,c){function d(a,c){"undefined"===typeof c&&(c={});if(a.branch_key&&h.test(a.branch_key))return c.branch_key=a.branch_key,c;if(a.app_id&&k.test(a.app_id))return c.app_id=a.app_id,c;if(a.instrumentation)c.instrumentation=a.instrumentation;else throw Error(w("API request $1 missing parameter $2",[b.endpoint,"branch_key or app_id"]));}var e,f,l=b.destination+b.endpoint,k=/^[0-9]{15,20}$/,h=/key_(live|test)_[A-Za-z0-9]{32}/;if("/v1/has-app"===b.endpoint)try{b.f=d(c,b.f)}catch(m){return{error:m.message}}if("undefined"!==
typeof b.f)for(e in b.f)if(b.f.hasOwnProperty(e)){if(f="function"===typeof b.f[e]?b.f[e](b.endpoint,e,c[e]):f)return{error:f};l+="/"+c[e]}var n={};if("undefined"!==typeof b.a&&"/v1/pageview"!==b.endpoint&&"/v1/dismiss"!==b.endpoint)for(e in b.a){if(b.a.hasOwnProperty(e)){if(f=b.a[e](b.endpoint,e,c[e]))return{error:f};f=c[e];"undefined"!==typeof f&&""!==f&&null!==f&&(n[e]=f)}}else"/v1/pageview"!==b.endpoint&&"/v1/dismiss"!==b.endpoint||B(n,c);if("POST"===b.method||"/v1/credithistory"===b.endpoint)try{c=
d(c,n)}catch(m){return{error:m.message}}"/v1/event"===b.endpoint&&(n.metadata=q(n.metadata||{}),n.hasOwnProperty("commerce_data")&&(n.commerce_data=q(n.commerce_data||{})));("/v1/pageview"===b.endpoint||"/v1/dismiss"===b.endpoint)&&n.metadata&&(n.metadata=q(n.metadata||{}));"/v1/open"===b.endpoint&&(n.options=q(n.options||{}));return{data:Sb(a,n,""),url:l.replace(/^\//,"")}}
function Ub(a,b,c){var d=document.createElement("script");d.type="text/javascript";d.async=!0;d.src=a;H(d);a=document.getElementsByTagName("head");!a||1>a.length?"function"===typeof b&&b():(a[0].appendChild(d),"function"===typeof b&&Sa(d,"error",b),"function"===typeof c&&Sa(d,"load",c))}
function Vb(a,b,c,d,e){var f=Date.now(),l=sa;!a.h&&Ka()&&a.h++;var k="branch_callback__"+a.h++;a=0<=b.indexOf("branch.io")?"&data=":"&post_data=";c="POST"===d?encodeURIComponent(za(g(c))):"";var h=window.setTimeout(function(){window[k]=function(){};F(u,l,ta(f));e(Error("Request timed out"),null,504)},qa);window[k]=function(a){window.clearTimeout(h);e(null,a)};Ub(b+(0>b.indexOf("?")?"?":"")+(c?a+c:"")+(0<=b.indexOf("/c/")?"&click=1":"")+"&callback="+k,function(){e(Error("Request blocked by client, probably adblock"),
null)},function(){F(u,l,ta(f));try{"function"===typeof this.remove?this.remove():this.parentNode.removeChild(this)}catch(n){}delete window[k]})}
function Wb(a,b,c,d,e,f,l,k){var h=Date.now(),n=sa,m=window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP");k&&(m.responseType=k);m.ontimeout=function(){F(u,n,ta(h));f(Error("Request timed out"),null,504)};m.onerror=function(a){f(Error(a.error||"Error in API: "+m.status),null,m.status)};m.onreadystatechange=function(){var a;if(4===m.readyState)if(F(u,n,ta(h)),200===m.status){if("arraybuffer"===m.responseType)a=m.response;else if(l)a=m.responseText;else try{a=p(m.responseText)}catch(y){a=
{}}f(null,a,m.status)}else if(402===m.status)f(Error("Not enough credits to redeem."),null,m.status);else if("4"===m.status.toString().substring(0,1)||"5"===m.status.toString().substring(0,1))m.responseURL&&m.responseURL.includes("v2/event")?f(m.responseText,null,m.status):f(Error("Error in API: "+m.status),null,m.status)};try{m.open(d,b,!0),m.timeout=qa,m.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),m.send(c)}catch(t){e.set("use_jsonp",!0),Vb(a,b,c,d,f)}}
function Xb(a,b,c,d,e){function f(){d.get("use_jsonp")||b.L?Vb(a,n,c,b.method,l):Wb(a,n,m,b.method,d,l,T,Hb)}function l(c,d,h){"function"===typeof a.ba&&a.ba(n,b.method,t,c,h,d);c&&0<y&&"5"===(h||"").toString().substring(0,1)?(y--,window.setTimeout(function(){f()},pa)):e(c,d)}sa="/v1/pageview"===b.endpoint&&c&&c.journey_displayed?b.endpoint+"-1-brtt":b.endpoint+"-brtt";("/v1/url"===b.endpoint||"/v1/has-app"===b.endpoint)&&1<Object.keys(u).length&&(delete u["-brtt"],c.instrumentation=q(B({},u)),u=
{});if(v)for(var k=["browser_fingerprint_id","alternative_browser_fingerprint_id","identity_id","session_id"],h=0;h<k.length;h++)c.hasOwnProperty(k[h])&&delete c[k[h]];k=Tb(a,b,c);if(k.error)return e(Error(q({message:k.error,endpoint:b.endpoint,data:c})));var n,m="";"GET"===b.method?n=k.url+"?"+k.data:(n=k.url,m=k.data);var t;d.get("use_jsonp")||b.L?t=c:t=m;var y=oa;if(v&&xa(n,c))return wa?l(Error("Requested operation cannot be completed since tracking is disabled"),null,300):l(null,{},200);var T=
!1,Hb;"/v1/qr-code"===b.endpoint&&(T=!0,Hb="arraybuffer");f()};function M(a){a&&a.parentNode.removeChild(a)}function Yb(a,b){a&&!a.className.match(new RegExp("(\\s|^)"+b+"(\\s|$)"))&&(a.className+=" "+b)}function Zb(a){var b=document.body;b&&b.className.match(new RegExp("(\\s|^)"+a+"(\\s|$)"))&&(b.className=b.className.replace(new RegExp("(\\s|^)"+a+"(\\s|$)")," "))}function $b(a){var b=new Date;return b.setDate(b.getDate()+a)}
function ac(a){return document.body.currentStyle?document.body.currentStyle[Na(a)]:window.getComputedStyle(document.body).getPropertyValue(a)}
function bc(a){function b(a){function c(){return Math.max(document.documentElement.clientHeight,window.innerHeight||0)/100}function e(){return Math.max(document.documentElement.clientWidth,window.innerWidth||0)/100}if(!a)return 0;var f=a.replace(/[0-9,\.]/g,"");a=a.match(/\d+/g);var l=parseInt(0<a.length?a[0]:"0",10);return parseInt({px:function(a){return a},em:function(a){return document.body.currentStyle?a*b(document.body.currentStyle.fontSize):a*parseFloat(window.getComputedStyle(document.body).fontSize)},
rem:function(a){return document.documentElement.currentStyle?a*b(document.documentElement.currentStyle.fontSize):a*parseFloat(window.getComputedStyle(document.documentElement).fontSize)},vw:function(a){return a*e()},vh:function(a){return a*c()},vmin:function(a){return a*Math.min(c(),e())},vmax:function(a){return a*Math.max(c(),e())},"%":function(){return document.body.clientWidth/100*l}}[f](l),10)}return(b("76px")+b(a)).toString()+"px"}
function cc(a,b){var c=a.get("hideBanner",!0);if(b.ra&&navigator&&Number(navigator.doNotTrack))return!1;try{"string"===typeof c&&(c=p(c))}catch(e){c=!1}var c="number"===typeof c?new Date>=new Date(c):!c,d=b.K;"number"===typeof d&&(d=!1);return!document.getElementById("branch-banner")&&!document.getElementById("branch-banner-iframe")&&(c||d)&&(b.ta&&!C()||b.P&&"android"===C()||b.ua&&"ipad"===C()||b.U&&"ios"===C()||b.R&&"blackberry"===C()||b.T&&"windows_phone"===C()||b.S&&"kindle"===C())};function dc(a,b){return"#branch-banner-iframe { position: "+("top"!==b||a?"fixed":"absolute")+"; }\n"}
function ec(a,b){var c=".branch-banner-is-active { -webkit-transition: all 0.375s ease; transition: all 00.375s ease; }\n#branch-banner { width:100%; z-index: 99999; font-family: Helvetica Neue, Sans-serif; -webkit-font-smoothing: antialiased; -webkit-user-select: none; -moz-user-select: none; user-select: none; -webkit-transition: all 0.25s ease; transition: all 00.25s ease; }\n#branch-banner .button{ border: 1px solid "+(a.buttonBorderColor||("dark"===a.theme?"transparent":"#ccc"))+"; background: "+
(a.buttonBackgroundColor||"#fff")+"; color: "+(a.buttonFontColor||"#000")+"; cursor: pointer; margin-top: 0px; font-size: 14px; display: inline-block; margin-left: 5px; font-weight: 400; text-decoration: none;  border-radius: 4px; padding: 6px 12px; transition: all .2s ease;}\n#branch-banner .button:hover {  border: 1px solid "+(a.buttonBorderColorHover||("dark"===a.theme?"transparent":"#BABABA"))+"; background: "+(a.buttonBackgroundColorHover||"#E0E0E0")+"; color: "+(a.buttonFontColorHover||"#000")+
";}\n#branch-banner .button:focus { outline: none; }\n#branch-banner * { margin-right: 4px; position: relative; line-height: 1.2em; }\n#branch-banner-close { font-weight: 400; cursor: pointer; float: left; z-index: 2;padding: 0 5px 0 5px; margin-right: 0; }\n#branch-banner .content { width:100%; overflow: hidden; height: 76px; background: rgba(255, 255, 255, 0.95); color: #333; "+("top"===a.position?"border-bottom":"border-top")+': 1px solid #ddd; }\n#branch-banner-close { color: #000; font-size: 24px; top: 14px; opacity: .5; transition: opacity .3s ease; }\n#branch-banner-close:hover { opacity: 1; }\n#branch-banner .title { font-size: 18px; font-weight:bold; color: #555; }\n#branch-banner .description { font-size: 12px; font-weight: normal; color: #777; max-height: 30px; overflow: hidden; }\n#branch-banner .icon { float: left; padding-bottom: 40px; margin-right: 10px; margin-left: 5px; }\n#branch-banner .icon img { width: 63px; height: 63px; margin-right: 0; }\n#branch-banner .reviews { font-size:13px; margin: 1px 0 3px 0; color: #777; }\n#branch-banner .reviews .star { display:inline-block; position: relative; margin-right:0; }\n#branch-banner .reviews .star span { display: inline-block; margin-right: 0; color: #555; position: absolute; top: 0; left: 0; }\n#branch-banner .reviews .review-count { font-size:10px; }\n#branch-banner .reviews .star .half { width: 50%; overflow: hidden; display: block; }\n#branch-banner .content .left { padding: 6px 5px 6px 5px; }\n#branch-banner .vertically-align-middle { top: 50%; transform: translateY(-50%); -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); }\n#branch-banner .details > * { display: block; }\n#branch-banner .content .left { height: 63px; }\n#branch-banner .content .right { float: right; height: 63px; margin-bottom: 50px; padding-top: 22px; z-index: 1; }\n#branch-banner .right > div { float: left; }\n#branch-banner-action { top: 17px; }\n#branch-banner .content:after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 1px; background: rgba(0, 0, 0, 0.2); }\n#branch-banner .theme-dark.content { background: rgba(51, 51, 51, 0.95); }\n#branch-banner .theme-dark #branch-banner-close{ color: #fff; text-shadow: 0 1px 1px rgba(0, 0, 0, .15); }\n#branch-banner .theme-dark .details { text-shadow: 0 1px 1px rgba(0, 0, 0, .15); }\n#branch-banner .theme-dark .title { color: #fff; }\n#branch-banner .theme-dark .description { color: #fff; }\n#branch-banner .theme-dark .reviews { color: #888; }\n#branch-banner .theme-dark .reviews .star span{ color: #fff; }\n#branch-banner .theme-dark .reviews .review-count{ color: #fff; }\n',
d=C();"ios"!==d&&"ipad"!==d||!a.U?"android"===d&&a.P?c+="#branch-banner { position: absolute; }\n#branch-banner .content .left .details .title { font-size: 12px; }\n#branch-mobile-action { white-space: nowrap; }\n#branch-banner .content .left .details .description { font-size: 11px; font-weight: normal; }\n@media only screen and (min-device-width: 320px) and (max-device-width: 350px) { #branch-banner .content .right { max-width: 120px; } }\n@media only screen and (min-device-width: 351px) and (max-device-width: 400px) and (orientation: landscape) { #branch-banner .content .right { max-width: 150px; } }\n@media only screen and (min-device-width: 401px) and (max-device-width: 480px) and (orientation: landscape) { #branch-banner .content .right { max-width: 180px; } }\n#branch-banner #branch-banner-close,#branch-banner .theme-dark #branch-banner-close { height:17px; width: 17px; text-align: center; font-size: 15px; top: 24px;  border-radius:14px; border:0; line-height:14px; color:#b1b1b3; background:#efefef; padding: 0; opacity: 1; }\n#branch-banner .button { top: 0; text-decoration:none; border-bottom: 3px solid #A4C639; padding: 0 10px; height: 24px; line-height: 24px; text-align: center; color: #fff; margin-top: 2px;  font-weight: bold; background-color: #A4C639; border-radius: 5px; }\n#branch-banner .button:hover { border-bottom:3px solid #8c9c29; background-color: #c1d739; }\n":
"blackberry"===d&&a.R?c+="#branch-banner { position: absolute; }\n#branch-banner .content .left .details .title { font-size: 12px; }\n#branch-mobile-action { white-space: nowrap; }\n#branch-banner .content .left .details .description { font-size: 11px; font-weight: normal; }\n@media only screen and (min-device-width: 320px) and (max-device-width: 350px) { #branch-banner .content .right { max-width: 120px; } }\n@media only screen and (min-device-width: 351px) and (max-device-width: 400px) and (orientation: landscape) { #branch-banner .content .right { max-width: 150px; } }\n@media only screen and (min-device-width: 401px) and (max-device-width: 480px) and (orientation: landscape) { #branch-banner .content .right { max-width: 180px; } }\n":
"windows_phone"===d&&a.T?c+="#branch-banner { position: absolute; }\n#branch-banner .content .left .details .title { font-size: 12px; }\n#branch-mobile-action { white-space: nowrap; }\n#branch-banner .content .left .details .description { font-size: 11px; font-weight: normal; }\n@media only screen and (min-device-width: 320px) and (max-device-width: 350px) { #branch-banner .content .right { max-width: 120px; } }\n@media only screen and (min-device-width: 351px) and (max-device-width: 400px) and (orientation: landscape) { #branch-banner .content .right { max-width: 150px; } }\n@media only screen and (min-device-width: 401px) and (max-device-width: 480px) and (orientation: landscape) { #branch-banner .content .right { max-width: 180px; } }\n":
"kindle"===d&&a.S?c+="#branch-banner { position: absolute; }\n#branch-banner .content .left .details .title { font-size: 12px; }\n#branch-mobile-action { white-space: nowrap; }\n#branch-banner .content .left .details .description { font-size: 11px; font-weight: normal; }\n@media only screen and (min-device-width: 320px) and (max-device-width: 350px) { #branch-banner .content .right { max-width: 120px; } }\n@media only screen and (min-device-width: 351px) and (max-device-width: 400px) and (orientation: landscape) { #branch-banner .content .right { max-width: 150px; } }\n@media only screen and (min-device-width: 401px) and (max-device-width: 480px) and (orientation: landscape) { #branch-banner .content .right { max-width: 180px; } }\n":
(c+="#branch-banner { position: fixed; min-width: 600px; }\n#branch-sms-block * { vertical-align: bottom; font-size: 15px; }\n#branch-sms-block { display: inline-block; }\n#branch-banner input{ border: 1px solid #ccc;  font-weight: 400;  border-radius: 4px; height: 30px; padding: 5px 7px 4px; width: 145px; font-size: 14px;}\n#branch-banner input:focus { outline: none; }\n#branch-banner input.error { color: rgb(194, 0, 0); border-color: rgb(194, 0, 0); }\n#branch-banner .branch-icon-wrapper { width:25px; height: 25px; vertical-align: middle; display: inline-block; margin-top: -18px; }\n@keyframes branch-spinner { 0% { transform: rotate(0deg); -webkit-transform: rotate(0deg); -ms-transform: rotate(0deg); } 100% { transform: rotate(360deg); -webkit-transform: rotate(360deg); -ms-transform: rotate(360deg); } }\n@-webkit-keyframes branch-spinner { 0% { transform: rotate(0deg); -webkit-transform: rotate(0deg); -ms-transform: rotate(0deg); } 100% { transform: rotate(360deg); -webkit-transform: rotate(360deg); -ms-transform: rotate(360deg); } }\n#branch-spinner { -webkit-animation: branch-spinner 1s ease-in-out infinite; animation: branch-spinner 1s ease-in-out infinite; transition: all 0.7s ease-in-out; border:2px solid #ddd; border-bottom-color:#428bca; width:80%; height:80%; border-radius:50%; -webkit-font-smoothing: antialiased !important; }\n#branch-banner .theme-dark input { border-color: transparent; }\n",
c=window.ActiveXObject?c+"#branch-banner .checkmark { color: #428bca; font-size: 22px; }\n":c+"#branch-banner .checkmark { stroke: #428bca; stroke-dashoffset: 745.74853515625; stroke-dasharray: 745.74853515625; -webkit-animation: dash 2s ease-out forwards; animation: dash 2s ease-out forwards; }\n@-webkit-keyframes dash { 0% { stroke-dashoffset: 745.748535 15625; } 100% { stroke-dashoffset: 0; } }\n@keyframes dash { 0% { stroke-dashoffset: 745.74853515625; } 100% { stroke-dashoffset: 0; } }\n"):c+=
"#branch-banner { position: absolute; }\n#branch-banner .content .left .details .title { font-size: 12px; }\n#branch-mobile-action { white-space: nowrap; }\n#branch-banner .content .left .details .description { font-size: 11px; font-weight: normal; }\n@media only screen and (min-device-width: 320px) and (max-device-width: 350px) { #branch-banner .content .right { max-width: 120px; } }\n@media only screen and (min-device-width: 351px) and (max-device-width: 400px) and (orientation: landscape) { #branch-banner .content .right { max-width: 150px; } }\n@media only screen and (min-device-width: 401px) and (max-device-width: 480px) and (orientation: landscape) { #branch-banner .content .right { max-width: 180px; } }\n";
c+=a.ga;a.F&&(c+="body { margin: 0; }\n",d=document.createElement("style"),d.type="text/css",d.id="branch-iframe-css",H(d),d.innerHTML="body { -webkit-transition: all 0.375s ease; transition: all 00.375s ease; }\n#branch-banner-iframe { box-shadow: 0 0 5px rgba(0, 0, 0, .35); width: 1px; min-width:100%; left: 0; right: 0; border: 0; height: 76px; z-index: 99999; -webkit-transition: all 0.25s ease; transition: all 00.25s ease; }\n"+(C()?dc(a.ma,a.position):dc(a.ha,a.position)),(document.head||document.getElementsByTagName("head")[0]).appendChild(d));
d=document.createElement("style");d.type="text/css";d.id="branch-css";d.innerHTML=c;H(d);c=a.F?b.contentWindow.document:document;(c=c.head||c.getElementsByTagName("head")[0])&&"function"===typeof c.appendChild&&c.appendChild(d);"top"===a.position?b.style.top="-76px":"bottom"===a.position&&(b.style.bottom="-76px")};function fc(a,b,c){var d=document.createElement("iframe");d.src="about:blank";d.style.overflow="hidden";d.scrolling="no";d.id="branch-banner-iframe";d.className="branch-animation";H(d);d.onload=function(){var e=C(),f=d.contentDocument||d.contentWindow.document;f.head=f.createElement("head");f.body=f.createElement("body");f.body.className="ios"===e||"ipad"===e?"branch-banner-ios":"android"===e?"branch-banner-android":"branch-banner-desktop";gc(a,b,f);c(d)};document.body.appendChild(d)}
function gc(a,b,c){c=c||document;var d=c.createElement("div");d.id="branch-banner";d.className="branch-animation";var e;if(a.B||a.M){if(a.B){e="";for(var f=0;5>f;f++)e+='<span class="star"><svg class="star" fill="#555555" height="12" viewBox="3 2 20 19" width="12"><path d="M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"/><path d="M0 0h24v24H0z" fill="none"/><foreignObject display="none"><span class="star">\u2606</span></foreignObject></svg>',
a.B>f&&(e+=f+1>a.B&&a.B%1?'<span class="half"><svg fill="#555555" height="12" viewBox="3 2 20 19" width="12"><defs><path d="M0 0h24v24H0V0z" id="a"/></defs><clipPath id="b"><use overflow="visible" xlink:href="#a"/></clipPath><path clip-path="url(#b)" d="M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"/></svg><foreignObject display="none"><span class="half">\u2605</span></foreignObject></span>':
'<span class="full"><svg fill="#555555" height="12" viewBox="3 2 20 19" width="12"><path d="M0 0h24v24H0z" fill="none"/><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"/><path d="M0 0h24v24H0z" fill="none"/><foreignObject display="none"><span class="full">\u2605</span></foreignObject></svg> </span>'),e+="</span>";e='<span class="stars">'+e+"</span>"}else e="";e='<div class="reviews">'+e+(a.M?'<span class="review-count">'+a.M+"</span>":"")+"</div>"}else e=
"";d.innerHTML='<div class="content'+(a.theme?" theme-"+a.theme:"")+'"><div class="right">'+b+'</div><div class="left">'+(a.ja?"":'<div id="branch-banner-close" class="branch-animation" aria-label="Close">&times;</div>')+'<div class="icon"><img src="'+a.icon+'" alt="Application icon"></div><div class="details vertically-align-middle"><div class="title">'+a.title+"</div>"+e+'<div class="description">'+a.description+"</div></div></div></div>";c.body.appendChild(d);return d}
function hc(a,b,c){b='<div id="branch-sms-form-container">'+(C()?'<a id="branch-mobile-action" class="button" href="#" target="_parent">'+((L(b)||{}).has_app?a.na:a.ka)+"</a>":'<div class="branch-icon-wrapper" id="branch-loader-wrapper" style="opacity: 0;"><div id="branch-spinner"></div></div><div id="branch-sms-block"><form id="sms-form"><input type="phone" aria-label="Enter phone number" class="branch-animation" name="branch-sms-phone" id="branch-sms-phone" placeholder="'+a.pa+'"><button type="submit" id="branch-sms-send" class="branch-animation button">'+
a.sa+"</button></form></div>")+"</div>";a.F?fc(a,b,c):(a=gc(a,b,document),c(a))};function ic(a,b,c,d){function e(){l();h.style.background="#FFD4D4";k.className="error";setTimeout(function(){h.style.background="#FFFFFF";k.className=""},2E3)}function f(){t=a.createElement("div");t.className="branch-icon-wrapper";t.id="branch-checkmark";t.style="opacity: 0;";t.innerHTML=window.ActiveXObject?'<span class="checkmark">&#x2713;</span>':'<svg version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 98.5 98.5" enable-background="new 0 0 98.5 98.5" xml:space="preserve"><path class="checkmark" fill="none" stroke-width="8" stroke-miterlimit="10" d="M81.7,17.8C73.5,9.3,62,4,49.2,4C24.3,4,4,24.3,4,49.2s20.3,45.2,45.2,45.2s45.2-20.3,45.2-45.2c0-8.6-2.4-16.6-6.5-23.4l0,0L45.6,68.2L24.7,47.3"/></svg>';
m.appendChild(t);h.style.opacity="0";k.style.opacity="0";n.style.opacity="0";setTimeout(function(){t.style.opacity="1"},20);k.value=""}function l(){h.removeAttribute("disabled");k.removeAttribute("disabled");h.style.opacity="1";k.style.opacity="1";n.style.opacity="0"}var k=a.getElementById("branch-sms-phone"),h=a.getElementById("branch-sms-send"),n=a.getElementById("branch-loader-wrapper"),m=a.getElementById("branch-sms-form-container"),t;if(k){var y=k.value;/^\d{7,}$/.test(y.replace(/[\s()+\-\.]|ext/gi,
""))?(N(b,"willSendBannerSMS"),h.setAttribute("disabled",""),k.setAttribute("disabled",""),h.style.opacity=".4",k.style.opacity=".4",n.style.opacity="1",k.className="",b.sendSMS(y,d,c,function(a){a?(N(b,"sendBannerSMSError"),e()):(N(b,"didSendBannerSMS"),f(),setTimeout(function(){m.removeChild(t);l()},3E3))})):e()}}
function jc(a,b,c,d){function e(a,c){"function"===typeof a&&(c=a,a={});a=a||{};"top"===b.position?f.style.top="-76px":"bottom"===b.position&&(f.style.bottom="-76px");"number"===typeof b.K?d.set("hideBanner",$b(b.K),!0):d.set("hideBanner",!0,!0);a.Z?("top"===b.position?document.body.style.marginTop=l:"bottom"===b.position&&(document.body.style.marginBottom=k),Zb("branch-banner-is-active"),M(f),M(document.getElementById("branch-css")),c()):(setTimeout(function(){M(f);M(document.getElementById("branch-css"));
c()},270),setTimeout(function(){"top"===b.position?document.body.style.marginTop=l:"bottom"===b.position&&(document.body.style.marginBottom=k);Zb("branch-banner-is-active")},20))}if(!cc(d,b))return N(a,"willNotShowBanner"),null;N(a,"willShowBanner");var f,l=document.body.style.marginTop,k=document.body.style.marginBottom;hc(b,d,function(d){function h(){"top"===b.position?f.style.top="0":"bottom"===b.position&&(f.style.bottom="0");N(a,"didShowBanner")}f=d;ec(b,f);c.channel=c.channel||"app banner";
var k=b.F?f.contentWindow.document:document;if(C()){if(b.open_app=b.oa,b.append_deeplink_path=b.ea,b.make_new_link=b.la,b.deepview_type="banner",a.deepview(c,b),d=k.getElementById("branch-mobile-action"))d.onclick=function(b){b.preventDefault();a.deepviewCta()}}else k.getElementById("sms-form")?k.getElementById("sms-form").addEventListener("submit",function(d){d.preventDefault();ic(k,a,b,c)}):f.onload=function(){k=f.contentWindow.document;k.getElementById("sms-form")&&k.getElementById("sms-form").addEventListener("submit",
function(d){d.preventDefault();ic(k,a,b,c)})};d=ac("margin-top");var l=ac("margin-bottom");Yb(document.body,"branch-banner-is-active");"top"===b.position?document.body.style.marginTop=bc(d):"bottom"===b.position&&(document.body.style.marginBottom=bc(l));if(d=k.getElementById("branch-banner-close"))d.onclick=function(b){b.preventDefault();N(a,"willCloseBanner");e({},function(){N(a,"didCloseBanner")})};b.Z?h():setTimeout(h,20)});return e};var kc={},lc,mc=1,O="top",nc="absolute",P="76px",oc=!1,pc=!1,Q=[],qc=!1,rc=window.innerHeight,sc=window.innerWidth;window.innerHeight<window.innerWidth&&(rc=window.innerWidth,sc=window.innerHeight);
var tc=0,uc=0,vc=!1,wc=/<script type="application\/json">((.|\s)*?)<\/script>/,xc=/<script type="text\/javascript">((.|\s)*?)<\/script>/,yc=/<style type="text\/css" id="branch-css">((.|\s)*?)<\/style>/,zc=/<style type="text\/css" id="branch-iframe-css">((.|\s)*?)<\/style>/,Ac=/#branch-banner-spacer {((.|\s)*?)}/,Bc=/margin-bottom: (.*?);/,R=null,Cc=null,Dc=!1,Ec=!1,Fc=!1,Gc=!1,Hc=!1,Ic="",Jc=[],S=null;
function Kc(a){var b=Lc(a);b&&b.bannerHeight&&b.position&&b.sticky?(P=b.bannerHeight,O=b.position,nc=b.sticky):(a=a.match(Ac))?(O="top",(a=a[1].match(Bc))&&(P=a[1]),nc="absolute"):(O="bottom",nc="fixed");if(-1!==P.indexOf("vh")||-1!==P.indexOf("%"))a=P.indexOf("vh")?P.slice(0,-2):P.slice(0,-1),P=a/100*rc+"px",100>a?pc=!0:oc=!0}function Lc(a){if(a=a.match(wc))return p(a[1])}function Mc(a){if(a=a.match(zc))return a[1]}
function Nc(a,b){var c;b&&a&&a.ctaText&&a.ctaText.has_app?c=a.ctaText.has_app:a&&a.ctaText&&a.ctaText.no_app&&(c=a.ctaText.no_app);return c}function Oc(a){Q=[];if(a&&a.injectorSelector&&(a=document.querySelectorAll(a.injectorSelector)))for(var b=0;b<a.length;b++)Q.push(a[b].parentElement)}function Pc(a){if(a=a.match(yc))return a[1]}function Qc(a){if(a=a.match(xc)){a=a[1];var b=document.createElement("script");b.id="branch-journey-cta";H(b);b.innerHTML=a;document.body.appendChild(b)}}
function Rc(a){var b=a.match(wc),c=a.match(xc),d=a.match(yc),e=a.match(zc);b&&(a=a.replace(wc,""));c&&(a=a.replace(xc,""));d&&(a=a.replace(yc,""));e&&(a=a.replace(zc,""));return a}function Sc(){var a=document.createElement("iframe");a.src="about:blank";a.style.overflow="hidden";a.scrolling="no";a.id="branch-banner-iframe";a.className="branch-animation";a.title="Branch Banner";a.setAttribute("aria-label","Branch Banner");H(a);return a}
function Tc(a){var b=document.createElement("style");b.type="text/css";b.id="branch-iframe-css";tc=ac("margin-top");var c=+tc.slice(0,-2);uc=ac("margin-bottom");var d=+uc.slice(0,-2),e=+P.slice(0,-2);a||("top"===O?document.body.style.marginTop=(+e+c).toString()+"px":"bottom"===O&&(document.body.style.marginBottom=(+e+d).toString()+"px"));0<Q.length&&Q.forEach(function(a){var b,c=window.getComputedStyle(a);c&&(b=oc&&"fixed"===c.getPropertyValue("position"));b||(a.style.marginTop=P)});"top"===Ic&&Ic!==
O&&Hc&&Jc&&0<Jc.length&&Jc.forEach(function(a){a.style.marginTop=0});Hc=!1;Ic="";Jc=[];Gc=!1;a?b.innerHTML=a:b.innerHTML=Uc();H(b);document.head.appendChild(b)}
function Uc(){var a="",b="";document.body.style.transition="";document.getElementById("branch-banner-iframe")&&(document.getElementById("branch-banner-iframe").style.transition="");Fc||(a="body { -webkit-transition: all 0.375s ease; }\n",document.body.style.transition="all 00.375s ease",b="-webkit-transition: all 0.25s ease; transition: all 00.25s ease;");return(a?a:"")+("#branch-banner-iframe { box-shadow: 0 0 5px rgba(0, 0, 0, .35); width: 1px; min-width:100%; left: 0; right: 0; border: 0; height: "+
P+"; z-index: 99999; "+b+" }\n#branch-banner-iframe { position: "+nc+"; }\n@media only screen and (orientation: landscape) { body { "+("top"===O?"margin-top: ":"margin-bottom: ")+(oc?sc+"px":P)+"; }\n#branch-banner-iframe { height: "+(oc?sc+"px":P)+"; }")}
function Vc(a,b){Yb(document.body,"branch-banner-is-active");if(oc&&"fixed"===nc){var c=document.createElement("style");c.type="text/css";c.innerHTML=".branch-banner-no-scroll {overflow: hidden;}";document.head.appendChild(c);Yb(document.body,"branch-banner-no-scroll")}setTimeout(function(){b?(a.style.top=null,a.style.bottom=null):"top"===O?a.style.top="0":"bottom"===O&&(S&&S.journey_link_data&&!S.journey_link_data.safeAreaRequired?a.style.bottom="0":(qc=!0,document.getElementById("branch-banner-iframe").style.transition=
"all 0s",Wc(!1,!0),window.addEventListener("resize",Xc),window.addEventListener("scroll",Yc)));N(R,"didShowJourney",S);Dc=!0},20)}function Xc(){qc&&Wc(!1,!1)}function Yc(){qc&&(window.pageYOffset>window.innerHeight?Wc(!0,!1):Wc(!1,!1))}function Wc(a,b){var c=document.getElementById("branch-banner-iframe"),d=c.offsetHeight,e=c.offsetTop,f=window.innerHeight;b&&window.pageYOffset?c.style.bottom="0":a?c.style.top=f-d+d/2+"px":f-e!=d&&(c.style.top=""+(f-d)+"px")}
function Zc(a){a=a.globalDismissPeriod;if("number"===typeof a){if(-1===a)a=!0;else{var b=new Date;a=b.setSeconds(b.getSeconds()+a)}return a}}
function $c(a,b,c,d,e,f,l){var k=U;d&&e&&(Array.prototype.forEach.call(e.contentWindow.document.querySelectorAll("#branch-mobile-action"),function(a){a.addEventListener("click",function(){N(R,"didClickJourneyCTA",S);Gc=!0;d();ad(e)})}),bd(".branch-banner-continue","didClickJourneyContinue",c,e,a,b,f,l,k),bd(".branch-banner-close","didClickJourneyClose",c,e,a,b,f,l,k))}
function bd(a,b,c,d,e,f,l,k,h){Array.prototype.forEach.call(d.contentWindow.document.querySelectorAll(a),function(a){a.addEventListener("click",function(){cd(b,c,d,e,f,l,k,h)})})}function dd(a,b,c){var d=a.get("journeyDismissals",!0),d=d?p(d):{};d[c]={view_id:b,dismiss_time:Date.now()};a.set("journeyDismissals",q(d),!0)}
function ed(a){return void 0===a||null===a?null:a.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&apos;/g,"'").replace(/&brvbar;/g,"\u00a6").replace(/&laquo;/g,"\u00ab").replace(/&acute;/g,"\u00b4").replace(/&middot;/g,"\u00b7").replace(/&raquo;/g,"\u00bb").replace(/&amp;/g,"&").replace(/&iquest;/g,"\u00bf").replace(/&times;/g,"\u00d7").replace(/&divide;/g,"\u00f7").replace(/&Agrave;/g,"\u00c0").replace(/&Aacute;/g,"\u00c1").replace(/&Acirc;/g,"\u00c2").replace(/&Atilde;/g,
"\u00c3").replace(/&Auml;/g,"\u00c4").replace(/&Aring;/g,"\u00c5").replace(/&AElig;/g,"\u00c6").replace(/&Ccedil;/g,"\u00c7").replace(/&Egrave;/g,"\u00c8").replace(/&Eacute;/g,"\u00c9").replace(/&Ecirc;/g,"\u00ca").replace(/&Euml;/g,"\u00cb").replace(/&Igrave;/g,"\u00cc").replace(/&Iacute;/g,"\u00cd").replace(/&Icirc;/g,"\u00ce").replace(/&Iuml;/g,"\u00cf").replace(/&ETH;/g,"\u00d0").replace(/&Ntilde;/g,"\u00d1").replace(/&Ograve;/g,"\u00d2").replace(/&Oacute;/g,"\u00d3").replace(/&Ocirc;/g,"\u00d4").replace(/&Otilde;/g,
"\u00d5").replace(/&Ouml;/g,"\u00d6").replace(/&Oslash;/g,"\u00d8").replace(/&Ugrave;/g,"\u00d9").replace(/&Uacute;/g,"\u00da").replace(/&Ucirc;/g,"\u00db").replace(/&Uuml;/g,"\u00dc").replace(/&Yacute;/g,"\u00dd").replace(/&THORN;/g,"\u00de").replace(/&szlig;/g,"\u00df").replace(/&agrave;/g,"\u00e0").replace(/&aacute;/g,"\u00e1").replace(/&acirc;/g,"\u00e2").replace(/&atilde;/g,"\u00e3").replace(/&auml;/g,"\u00e4").replace(/&aring;/g,"\u00e5").replace(/&aelig;/g,"\u00e6").replace(/&ccedil;/g,"\u00e7").replace(/&egrave;/g,
"\u00e8").replace(/&eacute;/g,"\u00e9").replace(/&ecirc;/g,"\u00ea").replace(/&euml;/g,"\u00eb").replace(/&igrave;/g,"\u00ec").replace(/&iacute;/g,"\u00ed").replace(/&icirc;/g,"\u00ee").replace(/&iuml;/g,"\u00ef").replace(/&eth;/g,"\u00f0").replace(/&ntilde;/g,"\u00f1").replace(/&ograve;/g,"\u00f2").replace(/&oacute;/g,"\u00f3").replace(/&ocirc;/g,"\u00f4").replace(/&otilde;/g,"\u00f5").replace(/&ouml;/g,"\u00f6").replace(/&oslash;/g,"\u00f8").replace(/&ugrave;/g,"\u00f9").replace(/&uacute;/g,"\u00fa").replace(/&ucirc;/g,
"\u00fb").replace(/&uuml;/g,"\u00fc").replace(/&yacute;/g,"\u00fd").replace(/&thorn;/g,"\u00fe").replace(/&yuml;/g,"\u00ff")}
function fd(a,b){var c={},d=Ua();d&&0<Object.keys(d).length&&(c.hosted_deeplink_data=d);c=a.I(gd(null,c),null,R,!0);if(S&&S.journey_link_data){F(c,"journey_id",S.journey_link_data.journey_id);F(c,"journey_name",ed(S.journey_link_data.journey_name));F(c,"view_id",S.journey_link_data.view_id);F(c,"view_name",ed(S.journey_link_data.view_name));F(c,"channel",ed(S.journey_link_data.channel));F(c,"campaign",ed(S.journey_link_data.campaign));try{F(c,"tags",JSON.stringify(S.journey_link_data.tags))}catch(e){c.tags=
JSON.stringify([])}}F(c,"dismissal_source",b);return c}
function cd(a,b,c,d,e,f,l,k){var h=l?0:Zc(f);N(R,a,S);Gc=!0;ad(c);if(!l)if(void 0!==h&&b.set("globalJourneysDismiss",h,!0),dd(b,d,e),f.dismissRedirect)window.location=f.dismissRedirect;else{var n=function(){R.removeListener(n);var b=fd(k,ua[a]);R.b(Fb,b,function(a,c){!a&&"object"===typeof c&&c.template&&k.O(c,null,!1)&&k.J(c.template,b,b.branch_view_id||c.event_data.branch_view_data.id,c.event_data.branch_view_data,!1,c.journey_link_data)})};R.addListener("branch_internal_event_didCloseJourney",n)}}
function gd(a,b){return B({url:a&&a.url||Ea(),user_agent:navigator.userAgent,language:navigator.language,screen_width:screen.width||-1,screen_height:screen.height||-1,window_device_pixel_ratio:window.devicePixelRatio||1},b||{})}
function ad(a,b){Ec||(vc=!0);if(Fc&&!Ec){document.body.style.transition="all 00.375s ease";document.getElementById("branch-banner-iframe").style.transition="all 00.25s ease";var c=document.getElementById("branch-iframe-css").innerHTML+"\n";document.getElementById("branch-iframe-css").innerHTML="";document.getElementById("branch-iframe-css").innerHTML=c+"body { -webkit-transition: all 0.375s ease; }\n#branch-banner-iframe { -webkit-transition: all 0.25s ease; }\n"}"top"===O?a.style.top="-"+P:"bottom"===
O&&(a.style.bottom="-"+P);N(R,"willCloseJourney",S);setTimeout(function(){M(a);M(document.getElementById("branch-css"));M(document.getElementById("branch-iframe-css"));M(document.getElementById("branch-journey-cta"));(!Ec||Gc)&&Q&&0<Q.length?Q.forEach(function(a){a.style.marginTop=0}):(Hc=Ec,Ic=O,Jc=Q);"top"===O?document.body.style.marginTop=tc:"bottom"===O&&(document.body.style.marginBottom=uc);Zb("branch-banner-is-active");Zb("branch-banner-no-scroll");qc&&(qc=!1,window.removeEventListener("resize",
Xc),window.removeEventListener("scroll",Yc));N(R,"didCloseJourney",S);b||N(R,"branch_internal_event_didCloseJourney",S);Dc=!1;setTimeout(function(){vc=!1},250)},Ec?0:270)}
function hd(a){var b={banner_id:lc};if(a&&"object"===typeof a&&0<Object.keys(a).length){var c=["browser_fingerprint_id","app_id","source","open_app","link_click_id"];if(a&&"object"===typeof a&&!Array.isArray(a)&&0<Object.keys(a).length&&c&&Array.isArray(c)&&0<c.length)for(var d in a)a.hasOwnProperty(d)&&-1<c.indexOf(d)&&delete a[d];b.journey_link_data={};B(b.journey_link_data,a)}S=b}function id(){return kc&&R&&R.m&&R.m.data?R.m.data.$journeys_cta:!1}
function jd(){if(id())return R.m.data.$journeys_cta}function kd(a){try{if(id()&&0<jd().length)return a.replace(/validate[(].+[)];/g,'validate("'+jd()+'")').replace("window.top.location.replace(","window.top.location = ")}catch(b){}return a};var U={};
function ld(a,b,c){var d=b?"OPEN":"GET";Kc(a);var e=Lc(a);e&&(d=Nc(e,b),Oc(e));var f=Pc(a);Qc(a);var l=Mc(a);a=Rc(a);var k=Sc();k.onload=function(){var b=a,e=C(),m=k.contentDocument||k.contentWindow.document;m.head=m.createElement("head");m.body=m.createElement("body");m.body.innerHTML=b;m.body.className="ios"===e||"ipad"===e?"branch-banner-ios":"android"===e?"branch-banner-android":"branch-banner-desktop";Tc(l);b=document.createElement("style");b.type="text/css";b.id="branch-css";b.innerHTML=f;H(b);
e=k.contentWindow.document;e.head.appendChild(b);if(pc||oc){var t=e.getElementsByClassName("branch-banner-content")[0];t&&(t.style.height=P)}"top"===O?k.style.top="-"+P:"bottom"===O&&(k.style.bottom="-"+P);try{var t=e.getElementsByClassName("branch-banner-content")[0],y=window.getComputedStyle(t).getPropertyValue("background-color").split(", ");y[3]&&!parseFloat(y[3])&&(k.style.boxShadow="none")}catch(T){}k.contentWindow.document.getElementById("branch-mobile-action").innerHTML=d;N(R,"willShowJourney",
S);Vc(k,l);c(k)};document.body.appendChild(k)}U.O=function(a,b,c){if(document.getElementById("branch-banner")||document.getElementById("branch-banner-iframe")||document.getElementById("branch-banner-container")||!C()||!a.event_data||!a.template)return!1;if(c)return!0;(a=!a.event_data.branch_view_data.id||b&&b.no_journeys)||(a=R,b=a.c.get("globalJourneysDismiss",!0),!0===b||b>Date.now()?a=!0:(a.c.remove("globalJourneysDismiss",!0),a=!1));return a?(U.Ba=1,!1):!0};
U.$=function(a){R.b(Eb,{event:"pageview",journey_displayed:!0,audience_rule_id:a.audience_rule_id,branch_view_id:a.branch_view_id},function(){})};
U.J=function(a,b,c,d,e,f){if(!vc){lc=c;hd(f);var l=d.audience_rule_id;(f=document.getElementById("branch-iframe-css"))&&f.parentElement.removeChild(f);var k=document.createElement("div");k.id="branch-banner";document.body.insertBefore(k,null);Yb(k,"branch-banner-is-active");var h=!1,n=b.callback_string,m=null,t=R.c;if(a){var y=Lc(a)||{};a=kd(a);var T=window.setTimeout(function(){window[n]=function(){}},qa);window[n]=function(a){window.clearTimeout(T);h||(m=a,$c(c,l,t,m,null,y,e))};ld(a,b.has_app_websdk,
function(a){Cc=a;null===a?h=!0:($c(c,l,t,m,a,y,e),ra&&(u["journey-load-time"]=(Date.now()-window.performance.timing.navigationStart).toString()),document.body.removeChild(k),v||e||U.$(d))})}else document.body.removeChild(k),v||e||U.$(d)}};
U.I=function(a,b,c,d){R=c;b||(b={});a||(a={});Fc=b.disable_entry_animation||!1;Ec=b.disable_exit_animation||!1;var e=B({},c.m),f=L(c.c)||{},l=f.hasOwnProperty("has_app")?f.has_app:!1,k=c.c.get("journeyDismissals",!0),h=(b.user_language||Va()||"en").toLowerCase()||null,n=gb(V(c)),m;(m=b.branch_view_id)||(m="_branch_view_id".replace(/[\[\]]/g,"\\$&"),m=(m=(new RegExp("[?&]"+m+"(=([^&#]*)|&|#|$)")).exec(Ea()))&&m[2]?decodeURIComponent(m[2].replace(/\+/g," ")):"");m=m||null;c=b.make_new_link?null:Fa(V(c));
e.event=d?"dismiss":"pageview";e.metadata=a;e=F(e,"initial_referrer",n);e=F(e,"branch_view_id",m);e=F(e,"no_journeys",b.no_journeys);e=F(e,"is_iframe",x());e=F(e,"journey_dismissals",k);e.user_language=h;e.open_app=b.open_app||!1;e.has_app_websdk=l;e.feature="journeys";e.callback_string="branch_view_callback__"+mc++;e.data||(e.data={});e.data=B(Ua(),e.data);e.data=B(Da(f||{}),e.data);c&&(e.data.link_click_id=c);(a=f.data?p(f.data):null)&&a["+referrer"]&&(e.data["+referrer"]=a["+referrer"]);return e=
z(e)};var W={androidAppIndexingTagsPresent:!1,iosAppIndexingTagsPresent:!1,androidDetailsComplete:!1,iosDetailsComplete:!1},X={};function md(a){var b;"android"===a&&W.androidDetailsComplete&&(b="android-app://"+X.androidPackageName+"/"+X.androidURL,b=nd(b),od(b));"ios"===a&&W.iosDetailsComplete&&(b="ios-app://"+X.iosAppId+"/"+X.iosURL,b=nd(b),od(b))}
function nd(a){var b={"~channel":"Firebase App Indexing","~feature":"Auto App Indexing",$canonical_url:Ea()};if("object"===typeof X.data)for(var c in X.data)X.data.hasOwnProperty(c)&&!b.hasOwnProperty(c)&&(b[c]=X.data[c]);return a+(-1<a.indexOf("?")?"&":"?")+"link_click_id=a-"+btoa(q(b))}function od(a){var b=document.createElement("link");b.setAttribute("rel","alternate");b.setAttribute("href",a);document.head.appendChild(b)}
function pd(a){"android"===a&&"string"===typeof X.androidPackageName&&"string"===typeof X.androidURL&&(W.androidDetailsComplete=!0,md("android"));"ios"===a&&"string"===typeof X.iosAppId&&"string"===typeof X.iosURL&&(W.iosDetailsComplete=!0,md("ios"))}
function qd(a){for(var b=document.getElementsByTagName("meta"),c=0;c<b.length;c++){var d=b[c];"ios"===a&&"al:ios:app_store_id"===d.getAttribute("property")&&(X.iosAppId=d.getAttribute("content"));"ios"===a&&"al:ios:url"===d.getAttribute("property")&&(X.iosURL=d.getAttribute("content").replace("://","/"));"android"===a&&"al:android:package"===d.getAttribute("property")&&(X.androidPackageName=d.getAttribute("content"));"android"===a&&"al:android:url"===d.getAttribute("property")&&(X.androidURL=d.getAttribute("content").replace("://",
"/"))}pd(a)};var rd;
function Y(a,b,c){return function(){var d=this,e,f,l=arguments[arguments.length-1];a&&"function"===typeof l?(e=Array.prototype.slice.call(arguments,0,arguments.length-1)||[],f=l):(f=function(){},e=Array.prototype.slice.call(arguments));d.ca(function(k){function h(b,c){try{if(b&&!a)throw b;1===a?f(b):2===a&&f(b,c)}finally{k()}}if(!c){if(1===d.o)return h(Error(w("Branch SDK initialization pending and a Branch method was called outside of the queue order")),null);if(2===d.o)return h(Error(w("Branch SDK initialization failed, so further methods cannot be called",d.l,
d.s)),null);if(0===d.o||!d.o)return h(Error(w("Branch SDK not initialized")),null)}e.unshift(h);b.apply(d,e)})}}function Z(){if(!(this instanceof Z))return rd||(rd=new Z),rd;this.ca=na();this.c=new Jb(["session","cookie","pojo"]);this.V=new Rb;this.h=[];this.X="web2.59.0";this.l=this.o=0;this.s=null}
Z.prototype.b=function(a,b,c){this.W&&(b.app_id=this.W);this.i&&(b.branch_key=this.i);(a.a&&a.a.session_id||a.f&&a.f.session_id)&&this.H&&(b.session_id=this.H);(a.a&&a.a.identity_id||a.f&&a.f.identity_id)&&this.j&&(b.identity_id=this.j);0>a.endpoint.indexOf("/v1/")?(a.a&&a.a.developer_identity||a.f&&a.f.developer_identity)&&this.g&&(b.developer_identity=this.g):(a.a&&a.a.identity||a.f&&a.f.identity)&&this.g&&(b.identity=this.g);(a.a&&a.a.link_click_id||a.f&&a.f.link_click_id)&&this.aa&&(b.link_click_id=
this.aa);(a.a&&a.a.sdk||a.f&&a.f.sdk)&&this.X&&(b.sdk=this.X);(a.a&&a.a.browser_fingerprint_id||a.f&&a.f.browser_fingerprint_id)&&this.D&&(b.browser_fingerprint_id=this.D);v&&(b.tracking_disabled=v);return Xb(this.V,a,b,this.c,function(a,b){c(a,b)})};function V(a){var b=L(a.c);return(b=b&&b.referring_link)?b:(a=a.c.get("click_id"))?"https://bnc.lt/c/"+a:null}function N(a,b,c){for(var d=0;d<a.h.length;d++)a.h[d].event&&a.h[d].event!==b||a.h[d].listener(b,c)}
Z.prototype.init=Y(2,function(a,b,c){function d(){var a,b;"undefined"!==typeof document.hidden?(a="hidden",b="visibilitychange"):"undefined"!==typeof document.mozHidden?(a="mozHidden",b="mozvisibilitychange"):"undefined"!==typeof document.msHidden?(a="msHidden",b="msvisibilitychange"):"undefined"!==typeof document.webkitHidden&&(a="webkitHidden",b="webkitvisibilitychange");b&&!h.fa&&(h.fa=!0,document.addEventListener(b,function(){document[a]||(l(null),"function"===typeof h.w&&h.w())},!1))}function e(b,
d){d&&(d=k(d),v||(d=f(d),Ba(h.c,d,t)),h.o=3,d.data_parsed=d.data&&0!==d.data.length?p(d.data):{});if(b)return h.o=2,h.l||(h.l=1,h.s=b.message),a(b,d&&Ca(d));try{a(b,d&&Ca(d))}catch(xd){}finally{h.renderFinalize()}var e=ab(),l=G(c.metadata,"object")?c.metadata:null;l&&(l=hb(e.hosted_deeplink_data,l))&&0<Object.keys(l).length&&(e.hosted_deeplink_data=l);var m=U.I(gd(c,e),c,h,!1);h.renderQueue(function(){h.b(Eb,m,function(a,b){if(!a&&"object"===typeof b){var d=m.branch_view_id?!0:!1;U.O(b,c,d)?U.J(b.template,
m,m.branch_view_id||b.event_data.branch_view_data.id,b.event_data.branch_view_data,d,b.journey_link_data):((b.auto_branchify||!n&&Ma("branchify_url")&&V(h))&&this.branch.deepview({},{make_new_link:!1,open_app:!0,auto_branchify:!0}),N(R,"willNotShowJourney"))}v&&(wa=!0)})})}function f(a){t&&(a.identity=h.g);return a}function l(a){var b={sdk:"2.59.0",branch_key:h.i},c=L(h.c)||{},d=L(h.c,!0)||{};d.browser_fingerprint_id&&(b._t=d.browser_fingerprint_id);Ka()||La()||h.b(kb,b,function(a,b){a&&(h.l=3,h.s=
a.message);b&&(c.browser_fingerprint_id=b)});h.b(zb,{browser_fingerprint_id:c.browser_fingerprint_id},function(b,d){b&&(h.l=4,h.s=b.message);b||!d||c.has_app||(c.has_app=!0,Pb(h.c,c),N(h,"didDownloadApp"));a&&a(null,c)})}function k(a){a.link_click_id&&(h.aa=a.link_click_id.toString());a.session_id&&(h.H=a.session_id.toString());a.identity_id&&(h.j=a.identity_id.toString());a.identity&&(h.g=a.identity.toString());a.link&&(h.N=a.link);if(a.referring_link){var b=a.referring_link;a.referring_link=b?"http"!==
b.substring(0,4)?"https://bnc.lt"+b:b:null}!a.click_id&&a.referring_link&&(a.click_id=Fa(a.referring_link));h.D=a.browser_fingerprint_id;return a}ra&&(u["init-began-at"]=(Date.now()-window.performance.timing.navigationStart).toString());var h=this;h.o=1;-1<b.indexOf("key_")?h.i=b:h.W=b;c=c&&G(c,"object")?c:{};oa=(h.G=c)&&c.retries&&Number.isInteger(c.retries)?c.retries:oa;pa=c&&c.retry_delay&&Number.isInteger(c.retry_delay)?c.retry_delay:pa;qa=c&&c.timeout&&Number.isInteger(c.timeout)?c.timeout:qa;
r=c&&c.nonce?c.nonce:r;v=c&&c.tracking_disabled&&!0===c.tracking_disabled?!0:!1;wa=!1;v&&Aa(h);b=L(h.c,!0);h.j=b&&b.identity_id;b=L(h.c);var n=c&&"undefined"!==typeof c.branch_match_id&&null!==c.branch_match_id?c.branch_match_id:null,m=n||Ma("_branch_match_id")||Ga(),t=!h.j;h.C=!!h.c.get("branch_view_enabled");if(b&&b.session_id&&!m&&!Ma("branchify_url"))Pb(h.c,{data:""}),Pb(h.c,{referring_link:""}),d(),l(e);else{b={sdk:"2.59.0",branch_key:h.i};var y=L(h.c,!0)||{};y.browser_fingerprint_id&&(b._t=
y.browser_fingerprint_id);y.identity&&(h.g=y.identity);var T=parseInt(Ma("[?&]_open_delay_ms"),10);Ka()||La()?ib(function(){h.b(jb,{link_identifier:m,browser_fingerprint_id:m||y.browser_fingerprint_id,alternative_browser_fingerprint_id:y.browser_fingerprint_id,options:c,initial_referrer:gb(V(h)),current_url:x()&&Ha()?window.top.location.href:window.location.href,screen_height:screen.height||0,screen_width:screen.width||0},function(a,b){a&&(h.l=2,h.s=a.message);a||"object"!==typeof b||(b.branch_view_enabled&&
(h.C=!!b.branch_view_enabled,h.c.set("branch_view_enabled",h.C)),m&&(b.click_id=m));d();e(a,b)})},T):h.b(kb,b,function(a,b){if(a)return h.l=3,h.s=a.message,e(a,null);ib(function(){h.b(jb,{link_identifier:m,browser_fingerprint_id:m||b,alternative_browser_fingerprint_id:y.browser_fingerprint_id,options:c,initial_referrer:gb(V(h)),current_url:x()&&Ha()?window.top.location.href:window.location.href,screen_height:screen.height||0,screen_width:screen.width||0},function(a,b){a&&(h.l=2,h.s=a.message);a||
"object"!==typeof b||(b.branch_view_enabled&&(h.C=!!b.branch_view_enabled,h.c.set("branch_view_enabled",h.C)),m&&(b.click_id=m));d();e(a,b)})},T)})}},!0);Z.prototype.renderQueue=Y(0,function(a,b){this.da?b():(this.u=this.u||[],this.u.push(b));a(null,null)});Z.prototype.renderFinalize=Y(2,function(a){this.u&&0<this.u.length&&(this.u.forEach(function(a){a.call(this)}),delete this.u);this.da=!0;a(null,null)});
Z.prototype.data=Y(2,function(a){var b=Ca(L(this.c));b.referring_link=V(this);b.data_parsed=b.data&&0!==b.data.length?p(b.data):{};a(null,b)});Z.prototype.first=Y(2,function(a){a(null,Ca(L(this.c,!0)))});
Z.prototype.setIdentity=Y(2,function(a,b){var c=this;this.b(rb,{identity:b},function(d,e){d&&a(d);e=e||{};c.j=e.identity_id?e.identity_id.toString():null;c.N=e.link;c.g=b;e.developer_identity=b;e.referring_data_parsed=e.referring_data?p(e.referring_data):null;Qb(c.c,{identity:b,identity_id:c.j});a(null,e)})});
Z.prototype.logout=Y(1,function(a){var b=this;this.b(qb,{},function(c,d){c&&a(c);d=d||{};d={data_parsed:null,data:null,referring_link:null,click_id:null,link_click_id:null,identity:null,session_id:d.session_id,identity_id:d.identity_id,link:d.link,device_fingerprint_id:b.ia||null};b.N=d.link;b.H=d.session_id;b.j=d.identity_id;b.g=null;Qb(b.c,d,!0);a(null)})});Z.prototype.getBrowserFingerprintId=Y(2,function(a){var b=L(this.c,!0)||{};a(null,b.browser_fingerprint_id||null)});
Z.prototype.crossPlatformIds=Y(2,function(a){this.b(Gb,{user_data:q(fb(this))},function(b,c){return a(b||null,c&&c.user_data||null)})});Z.prototype.lastAttributedTouchData=Y(2,function(a,b){b=G(b,"number")?b:null;var c=fb(this);F(c,"attribution_window",b);this.b(Ib,{user_data:q(c)},function(b,c){return a(b||null,c||null)})});
Z.prototype.track=Y(1,function(a,b,c,d){c=c||{};d=d||{};r=d.nonce?d.nonce:r;if("pageview"===b){(b=hb(Ua(),c))&&0<Object.keys(b).length&&(c.hosted_deeplink_data=b);var e=U.I(gd(d,c),d,this,!1);this.b(Eb,e,function(b,c){if(!b&&"object"===typeof c){var f=e.branch_view_id?!0:!1;U.O(c,d,f)?U.J(c.template,e,e.branch_view_id||c.event_data.branch_view_data.id,c.event_data.branch_view_data,f,c.journey_link_data):N(R,"willNotShowJourney")}"function"===typeof a&&a.apply(this,arguments)})}else this.b(Ab,{event:b,
metadata:B({url:Ea(),user_agent:navigator.userAgent,language:navigator.language},c),initial_referrer:gb(V(this))},function(b,c){"function"===typeof a&&a.apply(this,arguments)})});
Z.prototype.logEvent=Y(1,function(a,b,c,d,e){b=G(b,"string")?b:null;c=G(c,"object")?c:null;e=G(e,"string")?e:null;c=db(c);b&&-1<bb.indexOf(b)?(d=G(d,"array")?d:null,this.b(Cb,{name:b,user_data:q(fb(this)),custom_data:q(c&&c.custom_data||{}),event_data:q(c&&c.event_data||{}),content_items:q(d||[]),customer_event_alias:e},function(b){return a(b||null)})):this.b(Db,{name:b,user_data:q(fb(this)),custom_data:q(c&&c.custom_data||{}),event_data:q(c&&c.event_data||{}),content_items:q(d||[]),customer_event_alias:e},
function(b){return a(b||null)})});Z.prototype.link=Y(2,function(a,b){var c=z(b),d=this.i;this.b(wb,c,function(b,f){if(b)return a(b,ya(d,c));a(null,f&&f.url)})});
Z.prototype.sendSMS=Y(1,function(a,b,c,d){function e(c){f.b(mb,{link_url:c,phone:b},function(b){a(b||null)})}var f=this;if("function"===typeof d)d={};else if("undefined"===typeof d||null===d)d={};d.make_new_link=d.make_new_link||!1;c.channel&&"app banner"!==c.channel||(c.channel="sms");var l=V(f);l&&!d.make_new_link?e(Fa(l)):f.b(wb,z(c),function(b,c){if(b)return a(b);var d=c.url;/(bnc.lt\/|app\.link\/)/.test(d)||(d="https://bnc.lt/"+Ta(d));f.b(lb,{link_url:d,click:"click"},function(b,c){if(b)return a(b);
e(c.click_id)})})});Z.prototype.qrCode=Y(2,function(a,b,c){z(b).qr_code_settings=q(eb(c||{}));this.b(xb,z(b),function(b,c){function d(){}b||(d.rawBuffer=c,d.base64=function(){if(this.rawBuffer)return btoa(String.fromCharCode.apply(null,new Uint8Array(this.rawBuffer)));throw Error("QrCode.rawBuffer is empty.");});return a(b||null,d||null)})});
Z.prototype.deepview=Y(1,function(a,b,c){var d=this;c||(c={});c.deepview_type="undefined"===typeof c.deepview_type?"deepview":"banner";b.data=B(Ua(),b.data);b=x()?B({is_iframe:!0},b):b;b=z(b);var e=ya(this.i,b);if(c.open_app||null===c.open_app||"undefined"===typeof c.open_app)b.open_app=!0;b.append_deeplink_path=!!c.append_deeplink_path;b.deepview_type=c.deepview_type;var f=V(d);f&&!c.make_new_link&&(b.link_click_id=Fa(f));b.banner_options=c;c.auto_branchify&&(b.auto_branchify=!0);d.w=ha(this.b,d,
yb,b,function(b,c){if(b)return v||(d.v=function(){window.top.location=e}),a(b);"function"===typeof c&&(d.v=c);a(null)});d.w()});
Z.prototype.deepviewCta=Y(1,function(a){if("undefined"===typeof this.v)return v?a(Error("Requested operation cannot be completed since tracking is disabled"),null):a(Error("Cannot call Deepview CTA, please call branch.deepview() first"),null);window.event&&(window.event.preventDefault?window.event.preventDefault():window.event.returnValue=!1);N(this,"didDeepviewCTA");this.v();a()});Z.prototype.referrals=Y(2,function(a){this.b(sb,{},a)});
Z.prototype.getCode=Y(2,function(a,b){b.type="credit";b.creation_source=b.creation_source||2;this.b(nb,b,a)});Z.prototype.validateCode=Y(1,function(a,b){this.b(ob,{code:b},a)});Z.prototype.applyCode=Y(1,function(a,b){this.b(pb,{code:b},a)});Z.prototype.credits=Y(2,function(a){this.b(ub,{branch_key:this.i,identity:this.g},a)});Z.prototype.creditHistory=Y(2,function(a,b){this.b(tb,b||{},a)});Z.prototype.redeem=Y(1,function(a,b,c){this.b(vb,{amount:b,bucket:c},function(b){a(b||null)})});
Z.prototype.addListener=function(a,b){"function"===typeof a&&void 0===b&&(b=a,a=null);b&&this.h.push({listener:b,event:a||null})};Z.prototype.removeListener=function(a){a&&(this.h=this.h.filter(function(b){if(b.listener!==a)return b}))};function sd(a,b,c){c=c||{};try{a.m=p(q(c))}finally{a.m=a.m||{}}b()}Z.prototype.setBranchViewData=Y(1,function(a,b){sd.call(null,this,a,b)},!0);
Z.prototype.closeJourney=Y(1,function(a){var b=this;b.renderQueue(function(){if(Cc&&Dc)N(b,"didCallJourneyClose",S),ad(Cc,!0);else return a("Journey already dismissed.")});a()});
Z.prototype.banner=Y(1,function(a,b,c){c=c||{};sd.call(null,this,function(){},c);"undefined"===typeof b.showAgain&&"undefined"!==typeof b.forgetHide&&(b.showAgain=b.forgetHide);var d={icon:E(b.icon)||"",title:E(b.title)||"",description:E(b.description)||"",M:"number"===typeof b.reviewCount&&0<b.reviewCount?Math.floor(b.reviewCount):null,B:"number"===typeof b.rating&&5>=b.rating&&0<b.rating?Math.round(2*b.rating)/2:null,na:E(b.openAppButtonText)||"View in app",ka:E(b.downloadAppButtonText)||"Download App",
sa:E(b.sendLinkText)||"Send Link",pa:E(b.phonePreviewText)||"(999) 999-9999",F:"undefined"===typeof b.iframe?!0:b.iframe,U:"undefined"===typeof b.showiOS?!0:b.showiOS,ua:"undefined"===typeof b.showiPad?!0:b.showiPad,P:"undefined"===typeof b.showAndroid?!0:b.showAndroid,R:"undefined"===typeof b.showBlackberry?!0:b.showBlackberry,T:"undefined"===typeof b.showWindowsPhone?!0:b.showWindowsPhone,S:"undefined"===typeof b.showKindle?!0:b.showKindle,ta:"undefined"===typeof b.showDesktop?!0:b.showDesktop,
ja:!!b.disableHide,K:"number"===typeof b.forgetHide?b.forgetHide:!!b.forgetHide,ra:"undefined"===typeof b.respectDNT?!1:b.respectDNT,position:b.position||"top",ga:b.customCSS||"",ma:"undefined"===typeof b.mobileSticky?!1:b.mobileSticky,ha:"undefined"===typeof b.desktopSticky?!0:b.desktopSticky,xa:b.buttonBorderColor||"",va:b.buttonBackgroundColor||"",za:b.buttonFontColor||"",ya:b.buttonBorderColorHover||"",wa:b.buttonBackgroundColorHover||"",Aa:b.buttonFontColorHover||"",la:!!b.make_new_link,oa:!!b.open_app,
Z:!!b.immediate,ea:!!b.append_deeplink_path};"undefined"!==typeof b.showMobile&&(d.U=b.showMobile,d.P=b.showMobile,d.R=b.showMobile,d.T=b.showMobile,d.S=b.showMobile);c.data=B(Ua(),c.data);var e=this;e.renderQueue(function(){e.Y=jc(e,d,c,e.c)});a()});Z.prototype.closeBanner=Y(0,function(a){var b=this;b.renderQueue(function(){b.Y&&(N(b,"willCloseBanner"),b.Y(function(){N(b,"didCloseBanner")}))});a()});
Z.prototype.autoAppIndex=Y(1,function(a,b){b=b||{};var c=document.getElementsByTagName("link"),d=c.length;if(d)for(var e=0;e<d;e++){var f=c[e],l=f.href;l&&(l.includes("ios-app")&&(W.iosAppIndexingTagsPresent=!0,f.setAttribute("href",nd(l))),l.includes("android-app")&&(W.androidAppIndexingTagsPresent=!0,f.setAttribute("href",nd(l))))}X=b;W.androidAppIndexingTagsPresent||(pd("android"),W.androidDetailsComplete||qd("android"));W.iosAppIndexingTagsPresent||(pd("ios"),W.iosDetailsComplete||qd("ios"));
W.iosDetailsComplete||W.androidDetailsComplete?a(null):a("Firebase App Indexing tags were not added to your webpage. Please check your configuration.")});Z.prototype.trackCommerceEvent=Y(1,function(a,b,c,d){var e=this;e.renderQueue(function(){var f=$a(b,c);if(f)return a(Error(f));e.b(Bb,{event:b,metadata:B({url:document.URL,user_agent:navigator.userAgent,language:navigator.language},d||{}),initial_referrer:gb(V(e)),commerce_data:c},function(b){a(b||null)})});a()});
Z.prototype.disableTracking=Y(1,function(a,b){if(!1===b||"false"===b)wa=v=!1,this.i&&this.G&&(!0===this.G.tracking_disabled&&delete this.G.tracking_disabled,this.init(this.i,this.G));else if(void 0===b||!0===b||"true"===b)Aa(this),wa=v=!0,this.closeBanner(),this.closeJourney();a()},!0);Z.prototype.setAPIResponseCallback=Y(0,function(a,b){this.V.ba=b;a()},!0);var td=new Z;if(window.branch&&window.branch._q)for(var ud=window.branch._q,vd=0;vd<ud.length;vd++){var wd=ud[vd];td[wd[0]].apply(td,wd[1])}"function"===typeof define&&define.amd?define("branch",function(){return td}):"object"===typeof exports&&(module.exports=td);window&&(window.branch=td);})();
