/
res_8634ccf2-c10c-4ef0-9161-050c0bb39a5f.0
2 lines (2 loc) · 71.2 KB
/
res_8634ccf2-c10c-4ef0-9161-050c0bb39a5f.0
1
2
(window.webpackJsonp=window.webpackJsonp||[]).push([[204],{"2Jqb":function(e,n,t){(function(i){var r;!function(){var a="function"==typeof Object.defineProperties?Object.defineProperty:function(e,n,t){if(t.get||t.set)throw new TypeError("ES3 does not support getters and setters.");e!=Array.prototype&&e!=Object.prototype&&(e[n]=t.value)},o="undefined"!=typeof window&&window===this?this:void 0!==i&&null!=i?i:this;function s(e,n){if(n){for(var t=o,i=e.split("."),r=0;r<i.length-1;r++){var s=i[r];s in t||(t[s]={}),t=t[s]}(s=n(r=t[i=i[i.length-1]]))!=r&&null!=s&&a(t,i,{configurable:!0,writable:!0,value:s})}}function c(e,n,t){return e.call.apply(e.bind,arguments)}function d(e,n,t){if(!e)throw Error();if(2<arguments.length){var i=Array.prototype.slice.call(arguments,2);return function(){var t=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(t,i),e.apply(n,t)}}return function(){return e.apply(n,arguments)}}function l(e,n,t){return(l=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?c:d).apply(null,arguments)}function u(e){var n=[];return function e(n,t,i){if(null==t)i.push("null");else{if("object"==typeof t){if("array"==function(e){var n=typeof e;if("object"==n){if(!e)return"null";if(e instanceof Array)return"array";if(e instanceof Object)return n;var t=Object.prototype.toString.call(e);if("[object Window]"==t)return"object";if("[object Array]"==t||"number"==typeof e.length&&void 0!==e.splice&&void 0!==e.propertyIsEnumerable&&!e.propertyIsEnumerable("splice"))return"array";if("[object Function]"==t||void 0!==e.call&&void 0!==e.propertyIsEnumerable&&!e.propertyIsEnumerable("call"))return"function"}else if("function"==n&&void 0===e.call)return"object";return n}(t)){var r=t;t=r.length,i.push("[");for(var a="",o=0;o<t;o++)i.push(a),a=r[o],e(n,a,i),a=",";return void i.push("]")}if(!(t instanceof String||t instanceof Number||t instanceof Boolean)){for(r in i.push("{"),o="",t)Object.prototype.hasOwnProperty.call(t,r)&&("function"!=typeof(a=t[r])&&(i.push(o),b(r,i),i.push(":"),e(n,a,i),o=","));return void i.push("}")}t=t.valueOf()}switch(typeof t){case"string":b(t,i);break;case"number":i.push(isFinite(t)&&!isNaN(t)?String(t):"null");break;case"boolean":i.push(String(t));break;case"function":i.push("null");break;default:throw Error("Unknown type: "+typeof t)}}}(new p,e,n),n.join("")}function p(){}s("String.prototype.includes",(function(e){return e||function(e,n){if(null==this)throw new TypeError("The 'this' value for String.prototype.includes must not be null or undefined");if(e instanceof RegExp)throw new TypeError("First argument to String.prototype.includes must not be a regular expression");return-1!==(this+"").indexOf(e,n||0)}})),s("Number.isFinite",(function(e){return e||function(e){return"number"==typeof e&&(!isNaN(e)&&1/0!==e&&-1/0!==e)}})),s("Number.isInteger",(function(e){return e||function(e){return!!Number.isFinite(e)&&e===Math.floor(e)}}));var h={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},f=/\uffff/.test("")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g;function b(e,n){n.push('"',e.replace(f,(function(e){var n=h[e];return n||(n="\\u"+(65536|e.charCodeAt(0)).toString(16).substr(1),h[e]=n),n})),'"')}function m(e){e=String(e);try{return JSON.parse(e)}catch(n){}throw Error("Invalid JSON string: "+e)}function g(e){try{return"object"==typeof JSON&&"function"==typeof JSON.stringify?JSON.stringify(e):u(e)}catch(n){}throw Error("Could not stringify object")}function y(){var e=[];return function(n){e.push(n),1===e.length&&function n(){e.length&&e[0]((function(){e.shift(),n()}))}()}}var _=2,v=200,w=5e3,k="",x={},E="undefined"!=typeof window&&!!(window.performance&&window.performance.timing&&window.performance.timing.navigationStart),A="";function S(e){return e&&"number"==typeof e?(Date.now()-e).toString():null}var T=!1,O={"/v1/open":{link_identifier:"\\d+"},"/v1/pageview":{event:"pageview"},"/v1/dismiss":{event:"dismiss"}},C=!1;function I(e,n){if(e||n){for(var t="https://bnc.lt/a/"+e+"?",i="tags alias channel feature stage campaign type duration sdk source data".split(" "),r=0;r<i.length;r++){var a=i[r],o=n[a];if(o)if("tags"===a&&Array.isArray(o))for(var s=0;s<o.length;s++)t=("?"===t[t.length-1]?t+a:t+"&"+a)+"="+encodeURIComponent(o[s]);else("string"==typeof o&&0<o.length||"number"==typeof o)&&("data"===a&&"string"==typeof o&&(o=W(o)),t=("?"===t[t.length-1]?t+a:t+"&"+a)+"="+encodeURIComponent(o))}return t}}function j(e){e&&(e.ga=null,e.M=null,e.G=null,e.v=null,e.C=null,e.B=null,e.o&&delete e.o,e.s&&delete e.s,e.c.remove("branch_view_enabled"),Ye(e.c,{},!0))}function B(e,n,t){return e=e.replace(/\$(\d)/g,(function(e,t){return n[parseInt(t,10)-1]})),t&&(e+="\n Failure Code:"+t),e}function P(e){return{data:e.data||"",data_parsed:e.data_parsed||{},has_app:e.has_app||null,identity:e.identity||null,referring_identity:e.referring_identity||null,referring_link:e.referring_link||null}}function N(){return le()?document.referrer:String(window.location)}function D(e){e.source="web-sdk";var n=e.data;switch(typeof n){case"string":try{n=m(n)}catch(t){n={_bncNoEval:!0}}break;case"object":break;default:n={}}n.$canonical_url||(n.$canonical_url=N()),n.$og_title||(n.$og_title=K("title")),n.$og_description||(n.$og_description=K("description")),n.$og_image_url||(n.$og_image_url=K("image")),n.$og_video||(n.$og_video=K("video")),n.$og_type||(n.$og_type=K("type")),"string"==typeof n.$desktop_url&&(n.$desktop_url=n.$desktop_url.replace(/#r:[a-z0-9-_]+$/i,"").replace(/([\?\&]_branch_match_id=\d+)/,""));try{m(n)}catch(t){n=u(n)}return e.data=n,e}function L(e){if(!e||"string"!=typeof e)return"";var n=document.createElement("a");return n.href=e,e=n.pathname&&n.pathname.split("/").filter((function(e){return""!==e})),Array.isArray(e)&&e.length?e[e.length-1]+n.search:n.search}function H(e,n){if(e&&"object"==typeof e||(e={}),!n||"object"!=typeof n)return e;for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e}function $(e){return!!/^((?!chrome|android|crios|fxios).)*safari/i.test(e)}function R(e,n){n=n||11;var t=/version\/([^ ]*)/i.exec(e);if(t&&t[1])try{if(parseFloat(t[1])>=n)return!0}catch(i){}return!1}function M(){var e=navigator.userAgent;return e.match(/android/i)?"android":e.match(/ipad/i)||e&&$(e)&&e&&-1<e.indexOf("Macintosh")&&R(e,13)&&screen.height>screen.width?"ipad":e.match(/i(os|p(hone|od))/i)?"ios":e.match(/\(BB[1-9][0-9]*\;/i)?"blackberry":e.match(/Windows Phone/i)?"windows_phone":!!(e.match(/Kindle/i)||e.match(/Silk/i)||e.match(/KFTT/i)||e.match(/KFOT/i)||e.match(/KFJWA/i)||e.match(/KFJWI/i)||e.match(/KFSOWI/i)||e.match(/KFTHWA/i)||e.match(/KFTHWI/i)||e.match(/KFAPWA/i)||e.match(/KFAPWI/i))&&"kindle"}function z(){var e=navigator.userAgent;return!!$(e)&&R(e,11)}function F(e){try{var n=(le()&&ue()?window.top.location.search:window.location.search).substring(1).match(new RegExp(e+"=([^&]*)"));if(n&&1<=n.length)return n[1]}catch(t){}}function W(e){var n,t,i,r,a,o,s="",c=0;for(e=e.replace(/\r\n/g,"\n"),t="",i=0;i<e.length;i++)128>(r=e.charCodeAt(i))?t+=String.fromCharCode(r):(127<r&&2048>r?t+=String.fromCharCode(r>>6|192):(t+=String.fromCharCode(r>>12|224),t+=String.fromCharCode(r>>6&63|128)),t+=String.fromCharCode(63&r|128));for(e=t;c<e.length;)r=(n=e.charCodeAt(c++))>>2,n=(3&n)<<4|(t=e.charCodeAt(c++))>>4,a=(15&t)<<2|(i=e.charCodeAt(c++))>>6,o=63&i,isNaN(t)?o=a=64:isNaN(i)&&(o=64),s=s+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(r)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(n)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(o);return s}function J(e,n,t){"function"==typeof e.addEventListener?e.addEventListener(n,t,void 0):"function"==typeof e.attachEvent?e.attachEvent("on"+n,t):e["on"+n]=t}function q(e){return e?(-1<e.indexOf("://")?e=e.split("://")[1]:"/"===e.charAt(0)&&(e=e.slice(1)),e):null}function K(e){var n;return e=String(e),n=n||null,(e=document.querySelector('meta[property="og:'+e+'"]'))&&e.content&&(n=e.content),n}function U(){var e=document.getElementsByTagName("meta"),n={};if(!e||0===e.length)return n;for(var t={hostedIOS:null,hostedAndroid:null,applinksIOS:null,applinksAndroid:null,twitterIOS:null,twitterAndroid:null},i=0;i<e.length;i++)if((e[i].getAttribute("name")||e[i].getAttribute("property"))&&e[i].getAttribute("content")){var r=e[i].getAttribute("name"),a=e[i].getAttribute("property");3===(a=(r=r||a).split(":")).length&&"branch"===a[0]&&"deeplink"===a[1]&&("$ios_deeplink_path"===a[2]?t.hostedIOS=q(e[i].getAttribute("content")):"$android_deeplink_path"===a[2]?t.hostedAndroid=q(e[i].getAttribute("content")):n[a[2]]=e[i].getAttribute("content")),"al:ios:url"===r&&(t.applinksIOS=q(e[i].getAttribute("content"))),"twitter:app:url:iphone"===r&&(t.twitterIOS=q(e[i].getAttribute("content"))),"al:android:url"===r&&(t.applinksAndroid=q(e[i].getAttribute("content"))),"twitter:app:url:googleplay"===r&&(t.twitterAndroid=q(e[i].getAttribute("content")))}return t&&"object"==typeof t&&Object.keys(t).length&&(t.hostedIOS?n.$ios_deeplink_path=t.hostedIOS:t.applinksIOS?n.$ios_deeplink_path=t.applinksIOS:t.twitterIOS&&(n.$ios_deeplink_path=t.twitterIOS),t.hostedAndroid?n.$android_deeplink_path=t.hostedAndroid:t.applinksAndroid?n.$android_deeplink_path=t.applinksAndroid:t.twitterAndroid&&(n.$android_deeplink_path=t.twitterAndroid),n.hasOwnProperty("$ios_deeplink_path")&&n.hasOwnProperty("$android_deeplink_path")&&n.$ios_deeplink_path===n.$android_deeplink_path&&(n.$deeplink_path=n.$ios_deeplink_path)),n}function V(){var e;try{navigator.languages&&0<navigator.languages.length?e=navigator.languages[0]:navigator.language&&(e=navigator.language),e=e.substring(0,2).toUpperCase()}catch(n){e=null}return e}function G(e,n){var t=[];return n.forEach((function(n){-1===e.indexOf(n)&&t.push(n)})),t}var Y=["purchase"],X="event name is either missing, of the wrong type or not valid. Please specify 'purchase' as the event name.",Q="commerce_data is either missing, of the wrong type or empty. Please ensure that commerce_data is constructed correctly.",Z="Please remove the following keys from the root of commerce_data: ",ee="Please remove the following keys from commerce_data.products: ",ne="commerce_data.products must be an array of objects",te="Each product in the products list must be an object";function ie(e,n){if(!e||"string"!=typeof e||-1===Y.indexOf(e.toLowerCase()))return X;if(!n||"object"!=typeof n||!Object.keys(n).length)return Q;var t=function(e){var n="sku name price quantity brand category variant".split(" "),t=G("common type transaction_id currency revenue revenue_in_usd exchange_rate shipping tax coupon affiliation persona products".split(" "),Object.keys(e));if(t.length)return Z+t.join(", ");var i,r=[];if(e.hasOwnProperty("products")){if(!Array.isArray(e.products))return ne;if(e.products.forEach((function(e){"object"!=typeof e&&(i=te),r=r.concat(G(n,Object.keys(e)))})),i)return i;if(r.length)return ee+r.join(", ")}return null}(n);return t||null}function re(e){return"string"!=typeof e?null:e.replace(/</g,"<").replace(/>/g,">")}function ae(e,n,t){if(null!=t){if("object"==typeof t&&!Object.keys(t).length)return e;e[n]=t}return e}var oe="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".split(" "),se="transaction_id revenue currency shipping tax coupon affiliation search_query description".split(" ");function ce(e,n){return!(!n||null===e&&"object"===n)&&("array"===n?Array.isArray(e):typeof e===n&&!Array.isArray(e))}function de(e){var n=ae(n={},"http_origin",document.URL);n=ae(n,"user_agent",navigator.userAgent),n=ae(n,"language",V()),n=ae(n,"screen_width",screen.width),n=ae(n,"screen_height",screen.height),n=ae(n,"http_referrer",document.referrer),n=ae(n,"browser_fingerprint_id",e.B),n=ae(n,"developer_identity",e.C),n=ae(n,"sdk","web");return ae(n,"sdk_version","2.52.3")}function le(){return window.self!==window.top}function ue(){var e="true";try{window.top.location.search&&(e="true")}catch(n){return!1}return"true"===e}function pe(e){return e||(le()?ue()?window.top.document.referrer:"":document.referrer)}function he(e){if(!ce(e,"object")||!Object.keys(e).length)return{};for(var n in e)e.hasOwnProperty(n)&&(e[n]=ce(e[n],"object")||ce(e[n],"array")?g(e[n]):e[n].toString());return e}function fe(e,n){var t=e?H({},e):{};return n&&0<Object.keys(n).length?0<Object.keys(t).length?H(t,n):H({},n):t}function be(e){""!==k&&e.setAttribute("nonce",k)}function me(e,n){return function(t,i,r){if(T)return!1;if("number"==typeof r||r)if(0===n){if("object"!=typeof r)return B("API request $1, parameter $2 is not $3",[t,i,"an object"])}else if(3===n){if(!(r instanceof Array))return B("API request $1, parameter $2 is not $3",[t,i,"an array"])}else if(2===n){if("number"!=typeof r)return B("API request $1, parameter $2 is not $3",[t,i,"a number"])}else if(4===n){if("boolean"!=typeof r)return B("API request $1, parameter $2 is not $3",[t,i,"a boolean"])}else{if("string"!=typeof r)return B("API request $1, parameter $2 is not $3",[t,i,"a string"]);if(1!==n&&!n.test(r))return B("API request $1, parameter $2 is not $3",[t,i,"in the proper format"])}else if(e)return B("API request $1 missing parameter $2",[t,i]);return!1}}var ge=/^[0-9]{15,20}$/;function ye(e){return H(e,{browser_fingerprint_id:me(!0,ge),identity_id:me(!0,ge),sdk:me(!0,1),session_id:me(!0,ge)})}var _e={destination:"https://api2.branch.io",endpoint:"/v1/open",method:"POST",a:{browser_fingerprint_id:me(!1,ge),alternative_browser_fingerprint_id:me(!1,ge),identity_id:me(!1,ge),link_identifier:me(!1,1),sdk:me(!1,1),options:me(!1,0),initial_referrer:me(!1,1),tracking_disabled:me(!1,4),current_url:me(!1,1)}},ve={destination:"https://app.link",endpoint:"/_r",method:"GET",Y:!0,a:{sdk:me(!0,1),_t:me(!1,ge),branch_key:me(!0,1)}},we={destination:"",endpoint:"",method:"GET",f:{link_url:me(!0,1)},a:{click:me(!0,1)}},ke={destination:"https://bnc.lt",endpoint:"/c",method:"POST",f:{link_url:me(!0,1)},a:{sdk:me(!1,1),phone:me(!0,1)}},xe={destination:"https://api2.branch.io",endpoint:"/v1/referralcode",method:"POST",a:ye({amount:me(!0,2),bucket:me(!1,1),calculation_type:me(!0,2),creation_source:me(!0,2),expiration:me(!1,1),location:me(!0,2),prefix:me(!1,1),type:me(!0,1)})},Ee={destination:"https://api2.branch.io",endpoint:"/v1/referralcode",method:"POST",f:{code:me(!0,1)},a:ye({})},Ae={destination:"https://api2.branch.io",endpoint:"/v1/applycode",method:"POST",f:{code:me(!0,1)},a:ye({})},Se={destination:"https://api2.branch.io",endpoint:"/v1/logout",method:"POST",a:ye({session_id:me(!0,ge)})},Te={destination:"https://api2.branch.io",endpoint:"/v1/profile",method:"POST",a:ye({identity_id:me(!0,ge),identity:me(!0,1)})},Oe={destination:"https://api2.branch.io",endpoint:"/v1/referrals",method:"GET",f:{identity_id:me(!0,ge)},a:ye({})},Ce={destination:"https://api2.branch.io",endpoint:"/v1/credithistory",method:"GET",a:ye({begin_after_id:me(!1,ge),bucket:me(!1,1),direction:me(!1,2),length:me(!1,2),link_click_id:me(!1,ge)})},Ie={destination:"https://api2.branch.io",endpoint:"/v1/credits",method:"GET",a:ye({branch_key:me(!0,1),identity:me(!0,1)})},je={destination:"https://api2.branch.io",endpoint:"/v1/redeem",method:"POST",a:ye({amount:me(!0,2),bucket:me(!0,1),identity_id:me(!0,ge)})},Be={destination:"https://api2.branch.io",endpoint:"/v1/url",method:"POST",Aa:"obj",a:ye({alias:me(!1,1),campaign:me(!1,1),channel:me(!1,1),data:me(!1,1),feature:me(!1,1),identity_id:me(!0,ge),stage:me(!1,1),tags:me(!1,3),type:me(!1,2),source:me(!1,1),instrumentation:me(!1,1)})},Pe={destination:"https://api2.branch.io",endpoint:"/v1/deepview",Y:!0,method:"POST",a:ye({campaign:me(!1,1),_t:me(!1,ge),channel:me(!1,1),data:me(!0,1),feature:me(!1,1),link_click_id:me(!1,1),open_app:me(!1,4),append_deeplink_path:me(!1,4),stage:me(!1,1),tags:me(!1,3),deepview_type:me(!0,1),source:me(!0,1)})},Ne={destination:"https://api2.branch.io",endpoint:"/v1/has-app",method:"GET",a:{browser_fingerprint_id:me(!0,ge),instrumentation:me(!1,1)}},De={destination:"https://api2.branch.io",endpoint:"/v1/event",method:"POST",a:ye({event:me(!0,1),metadata:me(!0,0),initial_referrer:me(!1,1),tracking_disabled:me(!1,4)})},Le={destination:"https://api2.branch.io",endpoint:"/v1/event",method:"POST",a:ye({event:me(!0,1),metadata:me(!1,0),initial_referrer:me(!1,1),commerce_data:me(!0,0)})},He={destination:"https://api2.branch.io",endpoint:"/v2/event/standard",method:"POST",a:{name:me(!0,1),user_data:me(!0,1),custom_data:me(!1,1),event_data:me(!1,1),content_items:me(!1,1),customer_event_alias:me(!1,1)}},$e={destination:"https://api2.branch.io",endpoint:"/v2/event/custom",method:"POST",a:{name:me(!0,1),user_data:me(!0,1),custom_data:me(!1,1)}},Re={destination:"https://api2.branch.io",endpoint:"/v1/pageview",method:"POST",a:ye({event:me(!0,1),metadata:me(!1,0),initial_referrer:me(!1,1),tracking_disabled:me(!1,4),branch_view_id:me(!1,1),no_journeys:me(!1,4),user_language:me(!1,1),open_app:me(!1,4),has_app_websdk:me(!1,4),source:me(!1,1),feature:me(!1,1),is_iframe:me(!1,4),data:me(!1,0),callback_string:me(!1,1),journey_displayed:me(!1,4),audience_rule_id:me(!1,1),journey_dismissals:me(!1,0)})},Me={destination:"https://api2.branch.io",endpoint:"/v1/dismiss",method:"POST",a:ye({event:me(!0,1),metadata:me(!1,0),initial_referrer:me(!1,1),tracking_disabled:me(!1,4),branch_view_id:me(!1,1),no_journeys:me(!1,4),user_language:me(!1,1),open_app:me(!1,4),has_app_websdk:me(!1,4),source:me(!1,1),feature:me(!1,1),is_iframe:me(!1,4),data:me(!1,0),callback_string:me(!1,1),journey_displayed:me(!1,4),audience_rule_id:me(!1,1),journey_dismissals:me(!1,0)})},ze={destination:"https://api2.branch.io",endpoint:"/v1/cpid",method:"POST",a:{user_data:me(!0,1)}},Fe={destination:"https://api2.branch.io",endpoint:"/v1/cpid/latd",method:"POST",a:{user_data:me(!0,1)}};function We(e){for(var n=0;n<e.length;n++){var t;if((t="function"==typeof(t=this[e[n]])?t():t).isEnabled())return t.u={},t}}function Je(e){return"branch_session"===e||"branch_session_first"===e?e:"BRANCH_WEBSDK_KEY"+e}function qe(e){return"true"===e||"false"!==e&&e}function Ke(e){return"branch_session"===e||"branch_session_first"===e||0===e.indexOf("BRANCH_WEBSDK_KEY")}function Ue(e){var n=(e=e.trim()).indexOf("=");return{name:e.substring(0,n),value:qe(e.substring(n+1,e.length))}}function Ve(e){var n;try{n=e&&localStorage?localStorage:sessionStorage}catch(t){return{isEnabled:function(){return!1}}}return{getAll:function(){if(void 0===n)return null;var e,t=null;for(e in n)e.indexOf("BRANCH_WEBSDK_KEY")||(null===t&&(t={}),t[e.replace("BRANCH_WEBSDK_KEY","")]=qe(n.getItem(e)));return t},get:function(e,t){return qe(t&&localStorage?localStorage.getItem(Je(e)):n.getItem(Je(e)))},set:function(e,t,i){i&&localStorage?localStorage.setItem(Je(e),t):n.setItem(Je(e),t)},remove:function(e,t){t&&localStorage?localStorage.removeItem(Je(e)):n.removeItem(Je(e))},clear:function(){Object.keys(n).forEach((function(e){e.indexOf("BRANCH_WEBSDK_KEY")||n.removeItem(e)}))},isEnabled:function(){try{return n.setItem("test",""),n.removeItem("test"),!0}catch(t){return!1}}}}function Ge(e,n){try{return m(e.get(n?"branch_session_first":"branch_session",n))||null}catch(t){return null}}function Ye(e,n,t){e.set("branch_session",u(n)),t&&e.set("branch_session_first",u(n),!0)}function Xe(e,n){if(n){var t=H(t=Ge(e)||{},n);e.set("branch_session",u(t))}}function Qe(){}function Ze(e,n,t){if(void 0===n)return"";var i=[];if(n instanceof Array){for(e=0;e<n.length;e++)i.push(encodeURIComponent(t)+"="+encodeURIComponent(n[e]));return i.join("&")}for(var r in n)n.hasOwnProperty(r)&&(n[r]instanceof Array||"object"==typeof n[r]?i.push(Ze(e,n[r],t?t+"."+r:r)):i.push(encodeURIComponent(t?t+"."+r:r)+"="+encodeURIComponent(n[r])));return i.join("&")}function en(e,n,t,i,r){var a=Date.now(),o=A;!e.g&&z()&&e.g++;var s="branch_callback__"+e.g++;e=0<=n.indexOf("branch.io")?"&data=":"&post_data=",t="POST"===i?encodeURIComponent(W(u(t))):"";var c=window.setTimeout((function(){window[s]=function(){},ae(x,o,S(a)),r(Error("Request timed out"),null,504)}),w);window[s]=function(e){window.clearTimeout(c),r(null,e)},function(e,n,t){var i=document.createElement("script");i.type="text/javascript",i.async=!0,i.src=e,be(i),!(e=document.getElementsByTagName("head"))||1>e.length?"function"==typeof n&&n():(e[0].appendChild(i),"function"==typeof n&&J(i,"error",n),"function"==typeof t&&J(i,"load",t))}(n+(0>n.indexOf("?")?"?":"")+(t?e+t:"")+(0<=n.indexOf("/c/")?"&click=1":"")+"&callback="+s,(function(){r(Error("Request blocked by client, probably adblock"),null)}),(function(){ae(x,o,S(a));try{"function"==typeof this.remove?this.remove():this.parentNode.removeChild(this)}catch(e){}delete window[s]}))}function nn(e,n,t,i,r){function a(){i.get("use_jsonp")||n.Y?en(e,d,t,n.method,o):function(e,n,t,i,r,a){var o=Date.now(),s=A,c=window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP");c.ontimeout=function(){ae(x,s,S(o)),a(Error("Request timed out"),null,504)},c.onerror=function(e){a(Error(e.error||"Error in API: "+c.status),null,c.status)},c.onreadystatechange=function(){var e;if(4===c.readyState)if(ae(x,s,S(o)),200===c.status){try{e=m(c.responseText)}catch(l){e={}}a(null,e,c.status)}else 402===c.status?a(Error("Not enough credits to redeem."),null,c.status):"4"!==c.status.toString().substring(0,1)&&"5"!==c.status.toString().substring(0,1)||(c.responseURL&&c.responseURL.includes("v2/event")?a(c.responseText,null,c.status):a(Error("Error in API: "+c.status),null,c.status))};try{c.open(i,n,!0),c.timeout=w,c.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),c.send(t)}catch(d){r.set("use_jsonp",!0),en(e,n,t,i,a)}}(e,d,l,n.method,i,o)}function o(e,n,t){e&&0<u&&"5"===(t||"").toString().substring(0,1)?(u--,window.setTimeout((function(){a()}),v)):r(e,n)}if(A="/v1/pageview"===n.endpoint&&t&&t.journey_displayed?n.endpoint+"-1-brtt":n.endpoint+"-brtt",("/v1/url"===n.endpoint||"/v1/has-app"===n.endpoint)&&1<Object.keys(x).length&&(delete x["-brtt"],t.instrumentation=g(H({},x)),x={}),T)for(var s=["browser_fingerprint_id","alternative_browser_fingerprint_id","identity_id","session_id"],c=0;c<s.length;c++)t.hasOwnProperty(s[c])&&delete t[s[c]];if((s=function(e,n,t){function i(e,t){if(void 0===t&&(t={}),e.branch_key&&c.test(e.branch_key))return t.branch_key=e.branch_key,t;if(e.app_id&&s.test(e.app_id))return t.app_id=e.app_id,t;if(!e.instrumentation)throw Error(B("API request $1 missing parameter $2",[n.endpoint,"branch_key or app_id"]));t.instrumentation=e.instrumentation}var r,a,o=n.destination+n.endpoint,s=/^[0-9]{15,20}$/,c=/key_(live|test)_[A-Za-z0-9]{32}/;if("/v1/has-app"===n.endpoint)try{n.f=i(t,n.f)}catch(l){return{error:l.message}}if(void 0!==n.f)for(r in n.f)if(n.f.hasOwnProperty(r)){if(a="function"==typeof n.f[r]?n.f[r](n.endpoint,r,t[r]):a)return{error:a};o+="/"+t[r]}var d={};if(void 0!==n.a&&"/v1/pageview"!==n.endpoint&&"/v1/dismiss"!==n.endpoint){for(r in n.a)if(n.a.hasOwnProperty(r)){if(a=n.a[r](n.endpoint,r,t[r]))return{error:a};void 0!==(a=t[r])&&""!==a&&null!==a&&(d[r]=a)}}else"/v1/pageview"!==n.endpoint&&"/v1/dismiss"!==n.endpoint||H(d,t);if("POST"===n.method||"/v1/credithistory"===n.endpoint)try{t=i(t,d)}catch(l){return{error:l.message}}return"/v1/event"===n.endpoint&&(d.metadata=g(d.metadata||{}),d.hasOwnProperty("commerce_data")&&(d.commerce_data=g(d.commerce_data||{}))),("/v1/pageview"===n.endpoint||"/v1/dismiss"===n.endpoint)&&d.metadata&&(d.metadata=g(d.metadata||{})),"/v1/open"===n.endpoint&&(d.options=g(d.options||{})),{data:Ze(e,d,""),url:o.replace(/^\//,"")}}(e,n,t)).error)return r(Error(g({message:s.error,endpoint:n.endpoint,data:t})));var d,l="";"GET"===n.method?d=s.url+"?"+s.data:(d=s.url,l=s.data);var u=_;if(T&&function(e,n){var t=document.createElement("a");if(t.href=e,"/"!=(t=t.pathname)[0]&&(t="/"+t),!(t=O[t]))return!0;if(0<Object.keys(t).length){if(!n)return!0;for(var i in t){var r=new RegExp(t[i]);if(!n.hasOwnProperty(i)||!r.test(n[i]))return!0}}return!1}(d,t))return C?o(Error("Requested operation cannot be completed since tracking is disabled"),null,300):o(null,{},200);a()}function tn(e){e&&e.parentNode.removeChild(e)}function rn(e,n){e&&!e.className.match(new RegExp("(\\s|^)"+n+"(\\s|$)"))&&(e.className+=" "+n)}function an(e){var n=document.body;n&&n.className.match(new RegExp("(\\s|^)"+e+"(\\s|$)"))&&(n.className=n.className.replace(new RegExp("(\\s|^)"+e+"(\\s|$)")," "))}function on(e){return document.body.currentStyle?document.body.currentStyle[function(e){return e.replace(/(\-\w)/g,(function(e){return e[1].toUpperCase()}))}(e)]:window.getComputedStyle(document.body).getPropertyValue(e)}function sn(e){function n(e){function t(){return Math.max(document.documentElement.clientHeight,window.innerHeight||0)/100}function i(){return Math.max(document.documentElement.clientWidth,window.innerWidth||0)/100}if(!e)return 0;var r=e.replace(/[0-9,\.]/g,"");e=e.match(/\d+/g);var a=parseInt(0<e.length?e[0]:"0",10);return parseInt({px:function(e){return e},em:function(e){return document.body.currentStyle?e*n(document.body.currentStyle.fontSize):e*parseFloat(window.getComputedStyle(document.body).fontSize)},rem:function(e){return document.documentElement.currentStyle?e*n(document.documentElement.currentStyle.fontSize):e*parseFloat(window.getComputedStyle(document.documentElement).fontSize)},vw:function(e){return e*i()},vh:function(e){return e*t()},vmin:function(e){return e*Math.min(t(),i())},vmax:function(e){return e*Math.max(t(),i())},"%":function(){return document.body.clientWidth/100*a}}[r](a),10)}return(n("76px")+n(e)).toString()+"px"}function cn(e,n){return"#branch-banner-iframe { position: "+("top"!==n||e?"fixed":"absolute")+"; }\n"}function dn(e,n){var t;if(e.w||e.L){if(e.w){t="";for(var i=0;5>i;i++)t+='<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">☆</span></foreignObject></svg>',e.w>i&&(t+=i+1>e.w&&e.w%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">★</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">★</span></foreignObject></svg> </span>'),t+="</span>";t='<span class="stars">'+t+"</span>"}else t="";t='<div class="reviews">'+t+(e.L?'<span class="review-count">'+e.L+"</span>":"")+"</div>"}else t="";return'<div class="content'+(e.theme?" theme-"+e.theme:"")+'"><div class="right">'+n+'</div><div class="left">'+(e.ha?"":'<div id="branch-banner-close" class="branch-animation" aria-label="Close">×</div>')+'<div class="icon"><img src="'+e.icon+'" alt="Application icon"></div><div class="details vertically-align-middle"><div class="title">'+e.title+"</div>"+t+'<div class="description">'+e.description+"</div></div></div></div>"}function ln(e,n,t,i){function r(){o(),d.style.background="#FFD4D4",c.className="error",setTimeout((function(){d.style.background="#FFFFFF",c.className=""}),2e3)}function a(){(s=e.createElement("div")).className="branch-icon-wrapper",s.id="branch-checkmark",s.style="opacity: 0;",s.innerHTML=window.ActiveXObject?'<span class="checkmark">✓</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>',u.appendChild(s),d.style.opacity="0",c.style.opacity="0",l.style.opacity="0",setTimeout((function(){s.style.opacity="1"}),20),c.value=""}function o(){d.removeAttribute("disabled"),c.removeAttribute("disabled"),d.style.opacity="1",c.style.opacity="1",l.style.opacity="0"}var s,c=e.getElementById("branch-sms-phone"),d=e.getElementById("branch-sms-send"),l=e.getElementById("branch-loader-wrapper"),u=e.getElementById("branch-sms-form-container");if(c){var p=c.value;/^\d{7,}$/.test(p.replace(/[\s()+\-\.]|ext/gi,""))?(dt(n,"willSendBannerSMS"),d.setAttribute("disabled",""),c.setAttribute("disabled",""),d.style.opacity=".4",c.style.opacity=".4",l.style.opacity="1",c.className="",n.sendSMS(p,i,t,(function(e){e?(dt(n,"sendBannerSMSError"),r()):(dt(n,"didSendBannerSMS"),a(),setTimeout((function(){u.removeChild(s),o()}),3e3))}))):r()}}function un(e,n,t,i){function r(e,t){"function"==typeof e&&(t=e,e={}),e=e||{},"top"===n.position?o.style.top="-76px":"bottom"===n.position&&(o.style.bottom="-76px"),"number"==typeof n.K?i.set("hideBanner",function(e){var n=new Date;return n.setDate(n.getDate()+e)}(n.K),!0):i.set("hideBanner",!0,!0),e.X?("top"===n.position?document.body.style.marginTop=d:"bottom"===n.position&&(document.body.style.marginBottom=u),an("branch-banner-is-active"),tn(o),tn(document.getElementById("branch-css")),t()):(setTimeout((function(){tn(o),tn(document.getElementById("branch-css")),t()}),270),setTimeout((function(){"top"===n.position?document.body.style.marginTop=d:"bottom"===n.position&&(document.body.style.marginBottom=u),an("branch-banner-is-active")}),20))}function a(){"top"===n.position?o.style.top="0":"bottom"===n.position&&(o.style.bottom="0"),dt(e,"didShowBanner")}if(!function(e,n){var t=e.get("hideBanner",!0);if(n.pa&&navigator&&Number(navigator.doNotTrack))return!1;try{"string"==typeof t&&(t=m(t))}catch(r){t=!1}t="number"==typeof t?new Date>=new Date(t):!t;var i=n.K;return"number"==typeof i&&(i=!1),!document.getElementById("branch-banner")&&!document.getElementById("branch-banner-iframe")&&(t||i)&&(n.ra&&!M()||n.O&&"android"===M()||n.sa&&"ipad"===M()||n.T&&"ios"===M()||n.P&&"blackberry"===M()||n.S&&"windows_phone"===M()||n.R&&"kindle"===M())}(i,n))return dt(e,"willNotShowBanner"),null;dt(e,"willShowBanner");var o=function(e,n){var t='<div id="branch-sms-form-container">'+(M()?'<a id="branch-mobile-action" class="button" href="#" target="_parent">'+((Ge(n)||{}).has_app?e.ma:e.ia)+"</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="'+e.oa+'"><button type="submit" id="branch-sms-send" class="branch-animation button">'+e.qa+"</button></form></div>")+"</div>";if(e.D){var i=document.createElement("iframe");i.src="about:blank",i.style.overflow="hidden",i.scrolling="no",i.id="branch-banner-iframe",i.className="branch-animation",be(i),document.body.appendChild(i);var r=M();t='<html><head></head><body class="'+("ios"===r||"ipad"===r?"branch-banner-ios":"android"===r?"branch-banner-android":"branch-banner-desktop")+'"><div id="branch-banner" class="branch-animation">'+dn(e,t)+"</body></html>";i.contentWindow.document.open(),i.contentWindow.document.write(t),i.contentWindow.document.close()}else(i=document.createElement("div")).id="branch-banner",i.className="branch-animation",i.innerHTML=dn(e,t),document.body.appendChild(i);return i}(n,i);!function(e,n){var t=".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 "+(e.buttonBorderColor||("dark"===e.theme?"transparent":"#ccc"))+"; background: "+(e.buttonBackgroundColor||"#fff")+"; color: "+(e.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 "+(e.buttonBorderColorHover||("dark"===e.theme?"transparent":"#BABABA"))+"; background: "+(e.buttonBackgroundColorHover||"#E0E0E0")+"; color: "+(e.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"===e.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',i=M();"ios"!==i&&"ipad"!==i||!e.T?"android"===i&&e.O?t+="#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"===i&&e.P||"windows_phone"===i&&e.S||"kindle"===i&&e.R?t+="#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":(t+="#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",t=window.ActiveXObject?t+"#branch-banner .checkmark { color: #428bca; font-size: 22px; }\n":t+"#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"):t+="#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",t+=e.ea,e.D&&(t+="body { margin: 0; }\n",(i=document.createElement("style")).type="text/css",i.id="branch-iframe-css",be(i),i.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"+(M()?cn(e.la,e.position):cn(e.fa,e.position)),(document.head||document.getElementsByTagName("head")[0]).appendChild(i)),(i=document.createElement("style")).type="text/css",i.id="branch-css",i.innerHTML=t,be(i),(t=(t=e.D?n.contentWindow.document:document).head||t.getElementsByTagName("head")[0])&&"function"==typeof t.appendChild&&t.appendChild(i),"top"===e.position?n.style.top="-76px":"bottom"===e.position&&(n.style.bottom="-76px")}(n,o),t.channel=t.channel||"app banner";var s=n.D?o.contentWindow.document:document;M()?(n.open_app=n.na,n.append_deeplink_path=n.ba,n.make_new_link=n.ka,n.deepview_type="banner",e.deepview(t,n),(c=s.getElementById("branch-mobile-action"))&&(c.onclick=function(n){n.preventDefault(),e.deepviewCta()})):s.getElementById("sms-form")?s.getElementById("sms-form").addEventListener("submit",(function(i){i.preventDefault(),ln(s,e,n,t)})):o.onload=function(){(s=o.contentWindow.document).getElementById("sms-form")&&s.getElementById("sms-form").addEventListener("submit",(function(i){i.preventDefault(),ln(s,e,n,t)}))};var c=on("margin-top"),d=document.body.style.marginTop,l=on("margin-bottom"),u=document.body.style.marginBottom,p=s.getElementById("branch-banner-close");return p&&(p.onclick=function(n){n.preventDefault(),dt(e,"willCloseBanner"),r({},(function(){dt(e,"didCloseBanner")}))}),rn(document.body,"branch-banner-is-active"),"top"===n.position?document.body.style.marginTop=sn(c):"bottom"===n.position&&(document.body.style.marginBottom=sn(l)),n.X?a():setTimeout(a,20),r}We.prototype.local=function(){return Ve(!0)},We.prototype.session=function(){return Ve(!1)},We.prototype.cookie=function(){return function(){function e(e,n){n&&(e=Je(e)),document.cookie=e+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/"}return{getAll:function(){for(var e={},n=document.cookie.split(";"),t=0;t<n.length;t++){var i=Ue(n[t]);i&&i.hasOwnProperty("name")&&i.hasOwnProperty("value")&&Ke(i.name)&&(e[i.name.replace("BRANCH_WEBSDK_KEY","")]=i.value)}return e},get:function(e){e=Je(e);for(var n=document.cookie.split(";"),t=0;t<n.length;t++){var i=Ue(n[t]);if(i&&i.hasOwnProperty("name")&&i.hasOwnProperty("value")&&i.name===e)return i.value}return null},set:function(e,n){document.cookie=Je(e)+"="+n+"; path=/"},remove:function(n){e(n,!0)},clear:function(){for(var n=document.cookie.split(";"),t=0;t<n.length;t++){var i=Ue(n[t]);i&&i.hasOwnProperty("name")&&Ke(i.name)&&e(i.name,!1)}},isEnabled:function(){return navigator.cookieEnabled}}}()},We.prototype.pojo={getAll:function(){return this.u},get:function(e){return this.u[e]||null},set:function(e,n){this.u[e]=n},remove:function(e){delete this.u[e]},clear:function(){this.u={}},isEnabled:function(){return!0}},Qe.prototype.g=0;var pn,hn=1,fn="top",bn="absolute",mn="76px",gn=!1,yn=!1,_n=[],vn=!1,wn=window.innerHeight,kn=window.innerWidth;window.innerHeight<window.innerWidth&&(wn=window.innerWidth,kn=window.innerHeight);var xn=0,En=0,An=/<script type="application\/json">((.|\s)*?)<\/script>/,Sn=/<script type="text\/javascript">((.|\s)*?)<\/script>/,Tn=/<style type="text\/css" id="branch-css">((.|\s)*?)<\/style>/,On=/<style type="text\/css" id="branch-iframe-css">((.|\s)*?)<\/style>/,Cn=/#branch-banner-spacer {((.|\s)*?)}/,In=/margin-bottom: (.*?);/,jn=null,Bn=null,Pn=!1,Nn=!1,Dn=!1,Ln=!1,Hn=!1,$n="",Rn=[],Mn=null;function zn(e){if(e=e.match(An))return m(e[1])}function Fn(e){var n=document.createElement("style");n.type="text/css",n.id="branch-iframe-css";var t=+(xn=on("margin-top")).slice(0,-2),i=+(En=on("margin-bottom")).slice(0,-2),r=+mn.slice(0,-2);e||("top"===fn?document.body.style.marginTop=(+r+t).toString()+"px":"bottom"===fn&&(document.body.style.marginBottom=(+r+i).toString()+"px")),0<_n.length&&_n.forEach((function(e){var n,t=window.getComputedStyle(e);t&&(n=gn&&"fixed"===t.getPropertyValue("position")),n||(e.style.marginTop=mn)})),"top"===$n&&$n!==fn&&Hn&&Rn&&0<Rn.length&&Rn.forEach((function(e){e.style.marginTop=0})),Hn=!1,$n="",Rn=[],Ln=!1,n.innerHTML=e||function(){var e="",n="";return document.body.style.transition="",document.getElementById("branch-banner-iframe")&&(document.getElementById("branch-banner-iframe").style.transition=""),Dn||(e="body { -webkit-transition: all 0.375s ease; }\n",document.body.style.transition="all 00.375s ease",n="-webkit-transition: all 0.25s ease; transition: all 00.25s ease;"),(e||"")+"#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: "+mn+"; z-index: 99999; "+n+" }\n#branch-banner-iframe { position: "+bn+"; }\n@media only screen and (orientation: landscape) { body { "+("top"===fn?"margin-top: ":"margin-bottom: ")+(gn?kn+"px":mn)+"; }\n#branch-banner-iframe { height: "+(gn?kn+"px":mn)+"; }"}(),be(n),document.head.appendChild(n)}function Wn(){vn&&qn(!1,!1)}function Jn(){vn&&(window.pageYOffset>window.innerHeight?qn(!0,!1):qn(!1,!1))}function qn(e,n){var t=document.getElementById("branch-banner-iframe"),i=t.offsetHeight,r=t.offsetTop,a=window.innerHeight;n&&window.pageYOffset?t.style.bottom="0":e?t.style.top=a-i+i/2+"px":a-r!=i&&(t.style.top=a-i+"px")}function Kn(e,n,t,i,r,a,o){var s=Yn;i&&r&&(Array.prototype.forEach.call(r.contentWindow.document.querySelectorAll("#branch-mobile-action"),(function(e){e.addEventListener("click",(function(){dt(jn,"didClickJourneyCTA",Mn),Ln=!0,i(),Gn(r)}))})),Un(".branch-banner-continue","didClickJourneyContinue",t,r,e,n,a,o,s),Un(".branch-banner-close","didClickJourneyClose",t,r,e,n,a,o,s))}function Un(e,n,t,i,r,a,o,s,c){Array.prototype.forEach.call(i.contentWindow.document.querySelectorAll(e),(function(e){e.addEventListener("click",(function(){!function(e,n,t,i,r,a,o,s){var c=o?0:function(e){if("number"==typeof(e=e.globalDismissPeriod)){if(-1===e)e=!0;else{var n=new Date;e=n.setSeconds(n.getSeconds()+e)}return e}}(a);if(dt(jn,e,Mn),Ln=!0,Gn(t),!o)if(void 0!==c&&n.set("globalJourneysDismiss",c,!0),function(e,n,t){var i;(i=(i=e.get("journeyDismissals",!0))?m(i):{})[t]={view_id:n,dismiss_time:Date.now()},e.set("journeyDismissals",g(i),!0)}(n,i,r),a.dismissRedirect)window.location=a.dismissRedirect;else{var d=function(){jn.removeListener(d);var e=function(e){var n={},t=U();return t&&0<Object.keys(t).length&&(n.hosted_deeplink_data=t),e.I(Vn(null,n),null,jn,!0)}(s);jn.b(Me,e,(function(n,t){!n&&"object"==typeof t&&t.template&&s.N(t,null,!1)&&s.J(t.template,e,e.branch_view_id||t.event_data.branch_view_data.id,t.event_data.branch_view_data,!1,t.journey_link_data)}))};jn.addListener("branch_internal_event_didCloseJourney",d)}}(n,t,i,r,a,o,s,c)}))}))}function Vn(e,n){return H({url:e&&e.url||N(),user_agent:navigator.userAgent,language:navigator.language,screen_width:screen.width||-1,screen_height:screen.height||-1,window_device_pixel_ratio:window.devicePixelRatio||1},n||{})}function Gn(e,n){if(Dn&&!Nn){document.body.style.transition="all 00.375s ease",document.getElementById("branch-banner-iframe").style.transition="all 00.25s ease";var t=document.getElementById("branch-iframe-css").innerHTML+"\n";document.getElementById("branch-iframe-css").innerHTML="",document.getElementById("branch-iframe-css").innerHTML=t+"body { -webkit-transition: all 0.375s ease; }\n#branch-banner-iframe { -webkit-transition: all 0.25s ease; }\n"}"top"===fn?e.style.top="-"+mn:"bottom"===fn&&(e.style.bottom="-"+mn),dt(jn,"willCloseJourney",Mn),setTimeout((function(){tn(e),tn(document.getElementById("branch-css")),tn(document.getElementById("branch-iframe-css")),tn(document.getElementById("branch-journey-cta")),(!Nn||Ln)&&_n&&0<_n.length?_n.forEach((function(e){e.style.marginTop=0})):(Hn=Nn,$n=fn,Rn=_n),"top"===fn?document.body.style.marginTop=xn:"bottom"===fn&&(document.body.style.marginBottom=En),an("branch-banner-is-active"),an("branch-banner-no-scroll"),vn&&(vn=!1,window.removeEventListener("resize",Wn),window.removeEventListener("scroll",Jn)),dt(jn,"didCloseJourney",Mn),n||dt(jn,"branch_internal_event_didCloseJourney",Mn),Pn=!1}),Nn?0:270)}var Yn={};function Xn(e,n){var t,i=n?"OPEN":"GET",r=e;if(((a=zn(r))&&a.bannerHeight&&a.position&&a.sticky?(mn=a.bannerHeight,fn=a.position,bn=a.sticky):(r=r.match(Cn))?(fn="top",(r=r[1].match(In))&&(mn=r[1]),bn="absolute"):(fn="bottom",bn="fixed"),-1===mn.indexOf("vh")&&-1===mn.indexOf("%")||(r=mn.indexOf("vh")?mn.slice(0,-2):mn.slice(0,-1),mn=r/100*wn+"px",100>r?yn=!0:gn=!0),r=zn(e))&&(n&&r&&r.ctaText&&r.ctaText.has_app?t=r.ctaText.has_app:r&&r.ctaText&&r.ctaText.no_app&&(t=r.ctaText.no_app),i=t,_n=[],r&&r.injectorSelector&&(t=document.querySelectorAll(r.injectorSelector))))for(r=0;r<t.length;r++)_n.push(t[r].parentElement);t=(t=e.match(Tn))?t[1]:void 0,(r=e.match(Sn))&&(r=r[1],(a=document.createElement("script")).id="branch-journey-cta",be(a),a.innerHTML=r,document.body.appendChild(a)),r=(r=e.match(On))?r[1]:void 0;var a,o=(a=e).match(An),s=a.match(Sn),c=a.match(Tn),d=a.match(On);(o&&(a=a.replace(An,"")),s&&(a=a.replace(Sn,"")),c&&(a=a.replace(Tn,"")),d&&(a=a.replace(On,"")),e=a,(a=document.createElement("iframe")).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"),be(a),document.body.appendChild(a),o='<html><head></head><body class="'+("ios"===(o=M())||"ipad"===o?"branch-banner-ios":"android"===o?"branch-banner-android":"branch-banner-desktop")+'">'+e+"</body></html>",a.contentWindow.document.open(),a.contentWindow.document.write(o),a.contentWindow.document.close(),Fn(r),(o=document.createElement("style")).type="text/css",o.id="branch-css",o.innerHTML=t,be(o),(t=a.contentWindow.document).head.appendChild(o),yn||gn)&&((l=t.getElementsByClassName("branch-banner-content")[0])&&(l.style.height=mn));"top"===fn?a.style.top="-"+mn:"bottom"===fn&&(a.style.bottom="-"+mn);try{var l=t.getElementsByClassName("branch-banner-content")[0],u=window.getComputedStyle(l).getPropertyValue("background-color").split(", ");u[3]&&!parseFloat(u[3])&&(a.style.boxShadow="none")}catch(p){}return a.contentWindow.document.getElementById("branch-mobile-action").innerHTML=i,dt(jn,"willShowJourney",Mn),function(e,n){rn(document.body,"branch-banner-is-active"),gn&&"fixed"===bn&&rn(document.body,"branch-banner-no-scroll"),setTimeout((function(){n?(e.style.top=null,e.style.bottom=null):"top"===fn?e.style.top="0":"bottom"===fn&&(Mn&&Mn.journey_link_data&&!Mn.journey_link_data.safeAreaRequired?e.style.bottom="0":(vn=!0,document.getElementById("branch-banner-iframe").style.transition="all 0s",qn(!1,!0),window.addEventListener("resize",Wn),window.addEventListener("scroll",Jn))),dt(jn,"didShowJourney",Mn),Pn=!0}),20)}(a,r),a}Yn.N=function(e,n,t){return!(document.getElementById("branch-banner")||document.getElementById("branch-banner-iframe")||document.getElementById("branch-banner-container")||!M()||!e.event_data||!e.template)&&(!!t||((e=!e.event_data.branch_view_data.id||n&&n.no_journeys)||(!0===(n=(e=jn).c.get("globalJourneysDismiss",!0))||n>Date.now()?e=!0:(e.c.remove("globalJourneysDismiss",!0),e=!1)),!e||(Yn.za=1,!1)))},Yn.ja=function(e){jn.b(Re,{event:"pageview",journey_displayed:!0,audience_rule_id:e.audience_rule_id,branch_view_id:e.branch_view_id},(function(){}))},Yn.J=function(e,n,t,i,r,a){pn=t,function(e){var n={banner_id:pn};if(e&&"object"==typeof e&&0<Object.keys(e).length){var t=["browser_fingerprint_id","app_id","source","open_app","link_click_id"];if(e&&"object"==typeof e&&!Array.isArray(e)&&0<Object.keys(e).length&&t&&Array.isArray(t)&&0<t.length)for(var i in e)e.hasOwnProperty(i)&&-1<t.indexOf(i)&&delete e[i];n.journey_link_data={},H(n.journey_link_data,e)}Mn=n}(a);var o=i.audience_rule_id;(a=document.getElementById("branch-iframe-css"))&&a.parentElement.removeChild(a),(a=document.createElement("div")).id="branch-banner",document.body.insertBefore(a,null),rn(a,"branch-banner-is-active");var s=!1,c=n.callback_string,d=null,l=null,u=jn.c;if(e){var p=zn(e)||{},h=window.setTimeout((function(){window[c]=function(){}}),w);if(window[c]=function(e){window.clearTimeout(h),s||Kn(t,o,u,l=e,d,p,r)},Bn=d=Xn(e,n.has_app_websdk),null===d)return void(s=!0);Kn(t,o,u,l,d,p,r),E&&(x["journey-load-time"]=(Date.now()-window.performance.timing.navigationStart).toString())}document.body.removeChild(a),T||r||Yn.ja(i)},Yn.I=function(e,n,t,i){jn=t,n||(n={}),e||(e={}),Dn=n.disable_entry_animation||!1,Nn=n.disable_exit_animation||!1;var r,a=H({},t.H),o=Ge(t.c)||{},s=!!o.hasOwnProperty("has_app")&&o.has_app,c=t.c.get("journeyDismissals",!0),d=(n.user_language||V()||"en").toLowerCase()||null,l=pe(ct(t));return(r=n.branch_view_id)||(r="_branch_view_id".replace(/[\[\]]/g,"\\$&"),r=(r=new RegExp("[?&]"+r+"(=([^&#]*)|&|#|$)").exec(N()))&&r[2]?decodeURIComponent(r[2].replace(/\+/g," ")):""),r=r||null,t=n.make_new_link?null:L(ct(t)),a.event=i?"dismiss":"pageview",a.metadata=e,a=ae(a,"initial_referrer",l),a=ae(a,"branch_view_id",r),a=ae(a,"no_journeys",n.no_journeys),a=ae(a,"is_iframe",le()),(a=ae(a,"journey_dismissals",c)).user_language=d,a.open_app=n.open_app||!1,a.has_app_websdk=s,a.feature="journeys",a.callback_string="branch_view_callback__"+hn++,a.data||(a.data={}),a.data=H(U(),a.data),a.data=H(function(e){var n=/^\$journeys_\S+$/,t=e.data,i={};if(!t)return{};switch(typeof t){case"string":try{t=m(t)}catch(a){t={}}break;case"object":break;default:t={}}return Object.keys(t).forEach((function(e){n.test(e)&&(i[e]=t[e])})),i}(o||{}),a.data),t&&(a.data.link_click_id=t),(e=o.data?JSON.parse(o.data):null)&&e["+referrer"]&&(a.data["+referrer"]=e["+referrer"]),D(a)};var Qn,Zn={androidAppIndexingTagsPresent:!1,iosAppIndexingTagsPresent:!1,androidDetailsComplete:!1,iosDetailsComplete:!1},et={};function nt(e){"android"===e&&Zn.androidDetailsComplete&&it(tt("android-app://"+et.androidPackageName+"/"+et.androidURL)),"ios"===e&&Zn.iosDetailsComplete&&it(tt("ios-app://"+et.iosAppId+"/"+et.iosURL))}function tt(e){var n={"~channel":"Firebase App Indexing","~feature":"Auto App Indexing",$canonical_url:N()};if("object"==typeof et.data)for(var t in et.data)et.data.hasOwnProperty(t)&&!n.hasOwnProperty(t)&&(n[t]=et.data[t]);return e+(-1<e.indexOf("?")?"&":"?")+"link_click_id=a-"+btoa(g(n))}function it(e){var n=document.createElement("link");n.setAttribute("rel","alternate"),n.setAttribute("href",e),document.head.appendChild(n)}function rt(e){"android"===e&&"string"==typeof et.androidPackageName&&"string"==typeof et.androidURL&&(Zn.androidDetailsComplete=!0,nt("android")),"ios"===e&&"string"==typeof et.iosAppId&&"string"==typeof et.iosURL&&(Zn.iosDetailsComplete=!0,nt("ios"))}function at(e){for(var n=document.getElementsByTagName("meta"),t=0;t<n.length;t++){var i=n[t];"ios"===e&&"al:ios:app_store_id"===i.getAttribute("property")&&(et.iosAppId=i.getAttribute("content")),"ios"===e&&"al:ios:url"===i.getAttribute("property")&&(et.iosURL=i.getAttribute("content").replace("://","/")),"android"===e&&"al:android:package"===i.getAttribute("property")&&(et.androidPackageName=i.getAttribute("content")),"android"===e&&"al:android:url"===i.getAttribute("property")&&(et.androidURL=i.getAttribute("content").replace("://","/"))}rt(e)}function ot(e,n,t){return function(){var i,r,a=this,o=arguments[arguments.length-1];e&&"function"==typeof o?(i=Array.prototype.slice.call(arguments,0,arguments.length-1)||[],r=o):(r=function(){},i=Array.prototype.slice.call(arguments)),a.$((function(o){function s(n,t){try{if(n&&!e)throw n;1===e?r(n):2===e&&r(n,t)}finally{o()}}if(!t){if(1===a.j)return s(Error(B("Branch SDK initialization pending and a Branch method was called outside of the queue order")),null);if(2===a.j)return s(Error(B("Branch SDK initialization failed, so further methods cannot be called",a.i,a.l)),null);if(0===a.j||!a.j)return s(Error(B("Branch SDK not initialized")),null)}i.unshift(s),n.apply(a,i)}))}}function st(){if(!(this instanceof st))return Qn||(Qn=new st),Qn;this.$=y(),this.c=new We(["session","cookie","pojo"]),this.ca=new Qe,this.g=[],this.V="web2.52.3",this.i=this.j=0,this.l=null}function ct(e){var n=Ge(e.c);return(n=n&&n.referring_link)?n:(e=e.c.get("click_id"))?"https://bnc.lt/c/"+e:null}function dt(e,n,t){for(var i=0;i<e.g.length;i++)e.g[i].event&&e.g[i].event!==n||e.g[i].listener(n,t)}function lt(e,n,t){t=t||{};try{e.H=m(g(t))}finally{e.H=e.H||{}}n()}st.prototype.b=function(e,n,t){return this.U&&(n.app_id=this.U),this.h&&(n.branch_key=this.h),(e.a&&e.a.session_id||e.f&&e.f.session_id)&&this.G&&(n.session_id=this.G),(e.a&&e.a.identity_id||e.f&&e.f.identity_id)&&this.v&&(n.identity_id=this.v),(e.a&&e.a.link_click_id||e.f&&e.f.link_click_id)&&this.Z&&(n.link_click_id=this.Z),(e.a&&e.a.sdk||e.f&&e.f.sdk)&&this.V&&(n.sdk=this.V),(e.a&&e.a.browser_fingerprint_id||e.f&&e.f.browser_fingerprint_id)&&this.B&&(n.browser_fingerprint_id=this.B),T&&(n.tracking_disabled=T),nn(this.ca,e,n,this.c,(function(e,n){t(e,n)}))},st.prototype.init=ot(2,(function(e,n,t){function i(){var e,n;void 0!==document.hidden?(e="hidden",n="visibilitychange"):void 0!==document.mozHidden?(e="mozHidden",n="mozvisibilitychange"):void 0!==document.msHidden?(e="msHidden",n="msvisibilitychange"):void 0!==document.webkitHidden&&(e="webkitHidden",n="webkitvisibilitychange"),n&&!o.da&&(o.da=!0,document.addEventListener(n,(function(){document[e]||(a(null),"function"==typeof o.s&&o.s())}),!1))}function r(n,i){if(i&&(i=function(e){if(e.link_click_id&&(o.Z=e.link_click_id.toString()),e.session_id&&(o.G=e.session_id.toString()),e.identity_id&&(o.v=e.identity_id.toString()),e.link&&(o.M=e.link),e.referring_link){var n=e.referring_link;e.referring_link=n?"http"!==n.substring(0,4)?"https://bnc.lt"+n:n:null}return!e.click_id&&e.referring_link&&(e.click_id=L(e.referring_link)),o.B=e.browser_fingerprint_id,e}(i),T||Ye(o.c,i,d),o.j=3,i.data_parsed=i.data&&0!==i.data.length?m(i.data):{}),n)return o.j=2,o.i||(o.i=1,o.l=n.message),e(n,i&&P(i));try{e(n,i&&P(i))}catch(l){}finally{o.renderFinalize()}var r=function(){var e,n={};return e=ae(e={},"$og_title",K("title")),e=ae(e,"$og_description",K("description")),e=ae(e,"$og_image_url",K("image")),e=ae(e,"$og_video",K("video")),e=(e=ae(e,"$og_type",K("type")))&&0<Object.keys(e).length?e:null,n=ae(n,"og_data",e),n=ae(n,"hosted_deeplink_data",U()),n=ae(n,"title",0<(e=document.getElementsByTagName("title")).length?e[0].innerText:null),n=ae(n,"description",(e=document.querySelector('meta[name="description"]'))&&e.content?e.content:null),(n=ae(n,"canonical_url",(e=document.querySelector('link[rel="canonical"]'))&&e.href?e.href:null))&&0<Object.keys(n).length?n:{}}(),a=ce(t.metadata,"object")?t.metadata:null;a&&(a=fe(r.hosted_deeplink_data,a))&&0<Object.keys(a).length&&(r.hosted_deeplink_data=a);var c=Yn.I(Vn(t,r),t,o,!1);o.renderQueue((function(){o.b(Re,c,(function(e,n){if(!e&&"object"==typeof n){var i=!!c.branch_view_id;Yn.N(n,t,i)?Yn.J(n.template,c,c.branch_view_id||n.event_data.branch_view_data.id,n.event_data.branch_view_data,i,n.journey_link_data):((n.auto_branchify||!s&&F("branchify_url")&&ct(o))&&this.branch.deepview({},{make_new_link:!1,open_app:!0,auto_branchify:!0}),dt(jn,"willNotShowJourney"))}T&&(C=!0)}))}))}function a(e){var n={sdk:"2.52.3",branch_key:o.h},t=Ge(o.c)||{},i=Ge(o.c,!0)||{};i.browser_fingerprint_id&&(n._t=i.browser_fingerprint_id),z()||o.b(ve,n,(function(e,n){e&&(o.i=3,o.l=e.message),n&&(t.browser_fingerprint_id=n)})),o.b(Ne,{browser_fingerprint_id:t.browser_fingerprint_id},(function(n,i){n&&(o.i=4,o.l=n.message),n||!i||t.has_app||(t.has_app=!0,Xe(o.c,t),dt(o,"didDownloadApp")),e&&e(null,t)}))}E&&(x["init-began-at"]=(Date.now()-window.performance.timing.navigationStart).toString());var o=this;o.j=1,-1<n.indexOf("key_")?o.h=n:o.U=n,t=t&&ce(t,"object")?t:{},_=(o.F=t)&&t.retries&&Number.isInteger(t.retries)?t.retries:_,v=t&&t.retry_delay&&Number.isInteger(t.retry_delay)?t.retry_delay:v,w=t&&t.timeout&&Number.isInteger(t.timeout)?t.timeout:w,k=t&&t.nonce?t.nonce:k,T=!(!t||!t.tracking_disabled||!0!==t.tracking_disabled),C=!1,T&&j(o),n=Ge(o.c);var s=t&&void 0!==t.branch_match_id&&null!==t.branch_match_id?t.branch_match_id:null,c=s||F("_branch_match_id")||function(){try{var e=(le()&&ue()?window.top.location.hash:window.location.hash).match(/r:([^&]*)/);if(e&&1<=e.length)return e[1]}catch(n){}}(),d=!n||!n.identity_id;if(o.A=!!o.c.get("branch_view_enabled"),n&&n.session_id&&!c&&!F("branchify_url"))Xe(o.c,{data:""}),Xe(o.c,{referring_link:""}),i(),a(r);else{n={sdk:"2.52.3",branch_key:o.h};var l=Ge(o.c,!0)||{};l.browser_fingerprint_id&&(n._t=l.browser_fingerprint_id),z()?o.b(_e,{link_identifier:c,browser_fingerprint_id:c||l.browser_fingerprint_id,alternative_browser_fingerprint_id:l.browser_fingerprint_id,options:t,initial_referrer:pe(ct(o)),current_url:le()&&ue()?window.top.location.href:window.location.href},(function(e,n){e&&(o.i=2,o.l=e.message),e||"object"!=typeof n||(n.branch_view_enabled&&(o.A=!!n.branch_view_enabled,o.c.set("branch_view_enabled",o.A)),c&&(n.click_id=c)),i(),r(e,n)})):o.b(ve,n,(function(e,n){if(e)return o.i=3,o.l=e.message,r(e,null);o.b(_e,{link_identifier:c,browser_fingerprint_id:c||n,alternative_browser_fingerprint_id:l.browser_fingerprint_id,options:t,initial_referrer:pe(ct(o)),current_url:le()&&ue()?window.top.location.href:window.location.href},(function(e,n){e&&(o.i=2,o.l=e.message),e||"object"!=typeof n||(n.branch_view_enabled&&(o.A=!!n.branch_view_enabled,o.c.set("branch_view_enabled",o.A)),c&&(n.click_id=c)),i(),r(e,n)}))}))}}),!0),st.prototype.renderQueue=ot(0,(function(e,n){this.aa?n():(this.m=this.m||[],this.m.push(n)),e(null,null)})),st.prototype.renderFinalize=ot(2,(function(e){this.m&&0<this.m.length&&(this.m.forEach((function(e){e.call(this)})),delete this.m),this.aa=!0,e(null,null)})),st.prototype.data=ot(2,(function(e){var n=P(Ge(this.c));n.referring_link=ct(this),n.data_parsed=n.data&&0!==n.data.length?m(n.data):{},e(null,n)})),st.prototype.first=ot(2,(function(e){e(null,P(Ge(this.c,!0)))})),st.prototype.setIdentity=ot(2,(function(e,n){var t=this;this.b(Te,{identity:n},(function(i,r){i&&e(i),r=r||{},t.v=r.identity_id?r.identity_id.toString():null,t.M=r.link,t.C=n,r.referring_data_parsed=r.referring_data?m(r.referring_data):null,Xe(t.c,r),e(null,r)}))})),st.prototype.logout=ot(1,(function(e){var n=this;this.b(Se,{},(function(t,i){t&&e(t),i={data_parsed:null,data:null,referring_link:null,click_id:null,link_click_id:null,identity:null,session_id:(i=i||{}).session_id,identity_id:i.identity_id,link:i.link,device_fingerprint_id:n.ga||null},n.M=i.link,n.G=i.session_id,n.v=i.identity_id,n.C=i.identity,Xe(n.c,i),e(null)}))})),st.prototype.getBrowserFingerprintId=ot(2,(function(e){e(null,(Ge(this.c,!0)||{}).browser_fingerprint_id||null)})),st.prototype.crossPlatformIds=ot(2,(function(e){this.b(ze,{user_data:g(de(this))},(function(n,t){return e(n||null,t&&t.user_data||null)}))})),st.prototype.lastAttributedTouchData=ot(2,(function(e,n){n=ce(n,"number")?n:null;var t=de(this);ae(t,"attribution_window",n),this.b(Fe,{user_data:g(t)},(function(n,t){return e(n||null,t||null)}))})),st.prototype.track=ot(1,(function(e,n,t,i){if(t=t||{},k=(i=i||{}).nonce?i.nonce:k,"pageview"===n){(n=fe(U(),t))&&0<Object.keys(n).length&&(t.hosted_deeplink_data=n);var r=Yn.I(Vn(i,t),i,this,!1);this.b(Re,r,(function(n,t){if(!n&&"object"==typeof t){var a=!!r.branch_view_id;Yn.N(t,i,a)?Yn.J(t.template,r,r.branch_view_id||t.event_data.branch_view_data.id,t.event_data.branch_view_data,a,t.journey_link_data):dt(jn,"willNotShowJourney")}"function"==typeof e&&e.apply(this,arguments)}))}else this.b(De,{event:n,metadata:H({url:N(),user_agent:navigator.userAgent,language:navigator.language},t),initial_referrer:pe(ct(this))},(function(n,t){"function"==typeof e&&e.apply(this,arguments)}))})),st.prototype.logEvent=ot(1,(function(e,n,t,i,r){n=ce(n,"string")?n:null,t=ce(t,"object")?t:null,r=ce(r,"string")?r:null,n&&-1<oe.indexOf(n)?(i=ce(i,"array")?i:null,t=function(e){if(!e||!Object.keys(e).length)return null;for(var n=G(se,Object.keys(e)),t={},i=0;i<n.length;i++){var r=n[i];t[r]=e[r],delete e[r]}return{custom_data:he(t),event_data:e}}(t),this.b(He,{name:n,user_data:g(de(this)),custom_data:g(t&&t.custom_data||{}),event_data:g(t&&t.event_data||{}),content_items:g(i||[]),customer_event_alias:r},(function(n){return e(n||null)}))):this.b($e,{name:n,user_data:g(de(this)),custom_data:g(he(t||{}))},(function(n){return e(n||null)}))})),st.prototype.link=ot(2,(function(e,n){var t=D(n),i=this.h;this.b(Be,t,(function(n,r){if(n)return e(n,I(i,t));e(null,r&&r.url)}))})),st.prototype.sendSMS=ot(1,(function(e,n,t,i){function r(t){a.b(ke,{link_url:t,phone:n},(function(n){e(n||null)}))}var a=this;("function"==typeof i||null==i)&&(i={}),i.make_new_link=i.make_new_link||!1,t.channel&&"app banner"!==t.channel||(t.channel="sms");var o=ct(a);o&&!i.make_new_link?r(L(o)):a.b(Be,D(t),(function(n,t){if(n)return e(n);var i=t.url;/(bnc.lt\/|app\.link\/)/.test(i)||(i="https://bnc.lt/"+function(e){return e?(-1<e.indexOf("://")&&(e=e.split("://")[1]),e.substring(e.indexOf("/")+1)):null}(i)),a.b(we,{link_url:i,click:"click"},(function(n,t){if(n)return e(n);r(t.click_id)}))}))})),st.prototype.deepview=ot(1,(function(e,n,t){var i=this;t||(t={}),t.deepview_type=void 0===t.deepview_type?"deepview":"banner",n.data=H(U(),n.data),n=D(n=le()?H({is_iframe:!0},n):n);var r=I(this.h,n);(t.open_app||null===t.open_app||void 0===t.open_app)&&(n.open_app=!0),n.append_deeplink_path=!!t.append_deeplink_path,n.deepview_type=t.deepview_type;var a=ct(i);a&&!t.make_new_link&&(n.link_click_id=L(a)),n.banner_options=t,t.auto_branchify&&(n.auto_branchify=!0),i.s=l(this.b,i,Pe,n,(function(n,t){if(n)return T||(i.o=function(){window.top.location=r}),e(n);"function"==typeof t&&(i.o=t),e(null)})),i.s()})),st.prototype.deepviewCta=ot(1,(function(e){if(void 0===this.o)return e(T?Error("Requested operation cannot be completed since tracking is disabled"):Error("Cannot call Deepview CTA, please call branch.deepview() first"),null);window.event&&(window.event.preventDefault?window.event.preventDefault():window.event.returnValue=!1),dt(this,"didDeepviewCTA"),this.o(),e()})),st.prototype.referrals=ot(2,(function(e){this.b(Oe,{},e)})),st.prototype.getCode=ot(2,(function(e,n){n.type="credit",n.creation_source=n.creation_source||2,this.b(xe,n,e)})),st.prototype.validateCode=ot(1,(function(e,n){this.b(Ee,{code:n},e)})),st.prototype.applyCode=ot(1,(function(e,n){this.b(Ae,{code:n},e)})),st.prototype.credits=ot(2,(function(e){this.b(Ie,{branch_key:this.h,identity:this.C},e)})),st.prototype.creditHistory=ot(2,(function(e,n){this.b(Ce,n||{},e)})),st.prototype.redeem=ot(1,(function(e,n,t){this.b(je,{amount:n,bucket:t},(function(n){e(n||null)}))})),st.prototype.addListener=function(e,n){"function"==typeof e&&void 0===n&&(n=e,e=null),n&&this.g.push({listener:n,event:e||null})},st.prototype.removeListener=function(e){e&&(this.g=this.g.filter((function(n){if(n.listener!==e)return n})))},st.prototype.setBranchViewData=ot(1,(function(e,n){lt.call(null,this,e,n)})),st.prototype.closeJourney=ot(1,(function(e){var n=this;n.renderQueue((function(){if(!Bn||!Pn)return e("Journey already dismissed.");dt(n,"didCallJourneyClose",Mn),Gn(Bn,!0)})),e()})),st.prototype.banner=ot(1,(function(e,n,t){t=t||{},lt.call(null,this,(function(){}),t),void 0===n.showAgain&&void 0!==n.forgetHide&&(n.showAgain=n.forgetHide);var i={icon:re(n.icon)||"",title:re(n.title)||"",description:re(n.description)||"",L:"number"==typeof n.reviewCount&&0<n.reviewCount?Math.floor(n.reviewCount):null,w:"number"==typeof n.rating&&5>=n.rating&&0<n.rating?Math.round(2*n.rating)/2:null,ma:re(n.openAppButtonText)||"View in app",ia:re(n.downloadAppButtonText)||"Download App",qa:re(n.sendLinkText)||"Send Link",oa:re(n.phonePreviewText)||"(999) 999-9999",D:void 0===n.iframe||n.iframe,T:void 0===n.showiOS||n.showiOS,sa:void 0===n.showiPad||n.showiPad,O:void 0===n.showAndroid||n.showAndroid,P:void 0===n.showBlackberry||n.showBlackberry,S:void 0===n.showWindowsPhone||n.showWindowsPhone,R:void 0===n.showKindle||n.showKindle,ra:void 0===n.showDesktop||n.showDesktop,ha:!!n.disableHide,K:"number"==typeof n.forgetHide?n.forgetHide:!!n.forgetHide,pa:void 0!==n.respectDNT&&n.respectDNT,position:n.position||"top",ea:n.customCSS||"",la:void 0!==n.mobileSticky&&n.mobileSticky,fa:void 0===n.desktopSticky||n.desktopSticky,va:n.buttonBorderColor||"",ta:n.buttonBackgroundColor||"",xa:n.buttonFontColor||"",wa:n.buttonBorderColorHover||"",ua:n.buttonBackgroundColorHover||"",ya:n.buttonFontColorHover||"",ka:!!n.make_new_link,na:!!n.open_app,X:!!n.immediate,ba:!!n.append_deeplink_path};void 0!==n.showMobile&&(i.T=n.showMobile,i.O=n.showMobile,i.P=n.showMobile,i.S=n.showMobile,i.R=n.showMobile),t.data=H(U(),t.data);var r=this;r.renderQueue((function(){r.W=un(r,i,t,r.c)})),e()})),st.prototype.closeBanner=ot(0,(function(e){var n=this;n.renderQueue((function(){n.W&&(dt(n,"willCloseBanner"),n.W((function(){dt(n,"didCloseBanner")})))})),e()})),st.prototype.autoAppIndex=ot(1,(function(e,n){n=n||{};var t=document.getElementsByTagName("link"),i=t.length;if(i)for(var r=0;r<i;r++){var a=t[r],o=a.href;o&&(o.includes("ios-app")&&(Zn.iosAppIndexingTagsPresent=!0,a.setAttribute("href",tt(o))),o.includes("android-app")&&(Zn.androidAppIndexingTagsPresent=!0,a.setAttribute("href",tt(o))))}et=n,Zn.androidAppIndexingTagsPresent||(rt("android"),Zn.androidDetailsComplete||at("android")),Zn.iosAppIndexingTagsPresent||(rt("ios"),Zn.iosDetailsComplete||at("ios")),Zn.iosDetailsComplete||Zn.androidDetailsComplete?e(null):e("Firebase App Indexing tags were not added to your webpage. Please check your configuration.")})),st.prototype.trackCommerceEvent=ot(1,(function(e,n,t,i){var r=this;r.renderQueue((function(){var a=ie(n,t);if(a)return e(Error(a));r.b(Le,{event:n,metadata:H({url:document.URL,user_agent:navigator.userAgent,language:navigator.language},i||{}),initial_referrer:pe(ct(r)),commerce_data:t},(function(n){e(n||null)}))})),e()})),st.prototype.disableTracking=ot(1,(function(e,n){!1===n||"false"===n?(C=T=!1,this.h&&this.F&&(!0===this.F.tracking_disabled&&delete this.F.tracking_disabled,this.init(this.h,this.F))):void 0!==n&&!0!==n&&"true"!==n||(j(this),C=T=!0,this.closeBanner(),this.closeJourney()),e()}));var ut=new st;if(window.branch&&window.branch._q)for(var pt=window.branch._q,ht=0;ht<pt.length;ht++){var ft=pt[ht];ut[ft[0]].apply(ut,ft[1])}void 0===(r=function(){return ut}.call(n,t,n,e))||(e.exports=r),window&&(window.branch=ut)}()}).call(this,t("fRV1"))},WDmn:function(e,n,t){"use strict";t.r(n),t.d(n,"initBranchSdk",(function(){return u})),t.d(n,"updateBranchTracking",(function(){return p}));t("7x/C"),t("JtPf");var i=t("zh9S"),r=t("2Jqb"),a=t.n(r),o=t("wrlS"),s=t("ZxDS"),c=t("RqPI"),d=t("aITJ"),l=t("BXlL"),u=function(e,n){var t=o.a.isTrue("responsive_web_branch_sdk_enabled"),i=o.a.isTrue("responsive_web_branch_cpid_enabled");return t?e.Branch.initSdk().then((function(t){t.is_loading_enabled&&(f(n,t.is_tracking_enabled,t.user_identifier),i&&t.is_tracking_enabled&&h(e))})).catch((function(){return{}})):Promise.resolve({})},p=function(e){return o.a.isTrue("responsive_web_branch_sdk_enabled")?e.Branch.initSdk().then((function(e){a.a.disableTracking(!e.is_tracking_enabled)})).catch((function(){return{}})):Promise.resolve({})};n.default=u;var h=function(e){a.a.crossPlatformIds((function(n,t){if(!n&&t&&t.cross_platform_id)return e.Branch.callback(t.cross_platform_id).catch((function(){return{}}))}))},f=function(e,n,t){a.a.init("key_live_knJAF6W45vSHVJiP0wn8figpqFePX59K",{tracking_disabled:!n},(function(n,t){if(!n&&t&&window&&!d.a.isTwitterApp()){var r=t&&t.has_app,a=Object(s.a)(window),u=a?"webview":"browser",p=r?"has_app":"has_no_app",h=i.c({page:"app",section:u,element:p,action:"launch"});e.dispatch(h),!Object(c.e)(e.getState())&&a&&r&&o.a.isTrue("responsive_web_redirect_to_app_enabled")&&Object(l.b)({experiment:l.a.redirectToApp})}})),t&&a.a.setIdentity(t)}}}]);
//# sourceMappingURL=https://ton.twitter.com/responsive-web-internal/sourcemaps/web_legacy/ondemand.BranchSdk.62e60924.js.map