/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/react-native-kochava-measurement@4.0.1/lib/module/index.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
"use strict";import{KochavaMeasurementImpl}from"./KochavaMeasurementImpl";export let KochavaMeasurementLogLevel=function(t){return t.None="none",t.Error="error",t.Warn="warn",t.Info="info",t.Debug="debug",t.Trace="trace",t}({});export let KochavaMeasurementEventType=function(t){return t.Achievement="Achievement",t.AddToCart="Add to Cart",t.AddToWishList="Add to Wish List",t.CheckoutStart="Checkout Start",t.LevelComplete="Level Complete",t.Purchase="Purchase",t.Rating="Rating",t.RegistrationComplete="Registration Complete",t.Search="Search",t.TutorialComplete="Tutorial Complete",t.View="View",t.AdView="Ad View",t.PushReceived="Push Received",t.PushOpened="Push Opened",t.ConsentGranted="Consent Granted",t.Deeplink="_Deeplink",t.AdClick="Ad Click",t.StartTrial="Start Trial",t.Subscribe="Subscribe",t}({});export class KochavaMeasurementEvent{_eventData={};_appleAppStoreReceiptBase64String=null;_androidGooglePlayReceiptData=null;_androidGooglePlayReceiptSignature=null;constructor(t){this._eventName=t}send(){KochavaMeasurement.instance.sendEventWithEvent(this)}setCustomStringValue(t,e){t&&e&&"string"==typeof e&&(this._eventData[t]=e)}setCustomBoolValue(t,e){t&&null!=e&&"boolean"==typeof e&&(this._eventData[t]=e)}setCustomNumberValue(t,e){t&&null!=e&&"number"==typeof e&&(this._eventData[t]=e)}_setCustomDictionaryValue(t,e){t&&null!=e&&"object"==typeof e&&(this._eventData[t]=e)}setAndroidGooglePlayReceipt(t,e){t&&"string"==typeof t&&e&&"string"==typeof e&&(this._androidGooglePlayReceiptData=t,this._androidGooglePlayReceiptSignature=e)}setiOSAppStoreReceipt(t){this.setAppleAppStoreReceipt(t)}setAppleAppStoreReceipt(t){t&&"string"==typeof t&&(this._appleAppStoreReceiptBase64String=t)}setAction(t){this.setCustomStringValue("action",t)}setBackground(t){this.setCustomBoolValue("background",t)}setCheckoutAsGuest(t){this.setCustomStringValue("checkout_as_guest",t)}setCompleted(t){this.setCustomBoolValue("completed",t)}setContentId(t){this.setCustomStringValue("content_id",t)}setContentType(t){this.setCustomStringValue("content_type",t)}setCurrency(t){this.setCustomStringValue("currency",t)}setDate(t){this.setCustomStringValue("date",t)}setDescription(t){this.setCustomStringValue("description",t)}setDestination(t){this.setCustomStringValue("destination",t)}setDuration(t){this.setCustomNumberValue("duration",t)}setEndDate(t){this.setCustomStringValue("end_date",t)}setItemAddedFrom(t){this.setCustomStringValue("item_added_from",t)}setLevel(t){this.setCustomStringValue("level",t)}setMaxRatingValue(t){this.setCustomNumberValue("max_rating_value",t)}setName(t){this.setCustomStringValue("name",t)}setOrderId(t){this.setCustomStringValue("order_id",t)}setOrigin(t){this.setCustomStringValue("origin",t)}setPayload(t){this._setCustomDictionaryValue("payload",t)}setPrice(t){this.setCustomNumberValue("price",t)}setQuantity(t){this.setCustomNumberValue("quantity",t)}setRatingValue(t){this.setCustomNumberValue("rating_value",t)}setReceiptId(t){this.setCustomStringValue("receipt_id",t)}setReferralFrom(t){this.setCustomStringValue("referral_from",t)}setRegistrationMethod(t){this.setCustomStringValue("registration_method",t)}setResults(t){this.setCustomStringValue("results",t)}setScore(t){this.setCustomStringValue("score",t)}setSearchTerm(t){this.setCustomStringValue("search_term",t)}setSource(t){this.setCustomStringValue("source",t)}setSpatialX(t){this.setCustomNumberValue("spatial_x",t)}setSpatialY(t){this.setCustomNumberValue("spatial_y",t)}setSpatialZ(t){this.setCustomNumberValue("spatial_z",t)}setStartDate(t){this.setCustomStringValue("start_date",t)}setSuccess(t){this.setCustomStringValue("success",t)}setUri(t){this.setCustomStringValue("uri",t)}setUserId(t){this.setCustomStringValue("user_id",t)}setUserName(t){this.setCustomStringValue("user_name",t)}setValidated(t){this.setCustomStringValue("validated",t)}setAdCampaignId(t){this.setCustomStringValue("ad_campaign_id",t)}setAdCampaignName(t){this.setCustomStringValue("ad_campaign_name",t)}setAdDeviceType(t){this.setCustomStringValue("device_type",t)}setAdGroupId(t){this.setCustomStringValue("ad_group_id",t)}setAdGroupName(t){this.setCustomStringValue("ad_group_name",t)}setAdMediationName(t){this.setCustomStringValue("ad_mediation_name",t)}setAdNetworkName(t){this.setCustomStringValue("ad_network_name",t)}setAdPlacement(t){this.setCustomStringValue("placement",t)}setAdSize(t){this.setCustomStringValue("ad_size",t)}setAdType(t){this.setCustomStringValue("ad_type",t)}getData(){return{eventName:this._eventName,eventData:this._eventData,appleAppStoreReceiptBase64String:this._appleAppStoreReceiptBase64String,androidGooglePlayReceiptData:this._androidGooglePlayReceiptData,androidGooglePlayReceiptSignature:this._androidGooglePlayReceiptSignature}}}export class KochavaMeasurementInstallAttribution{constructor(t){null==t?(this.retrieved=!1,this.raw={},this.attributed=!1,this.firstInstall=!1):(this.retrieved=t.retrieved??!1,this.raw=t.raw??{},this.attributed=t.attributed??!1,this.firstInstall=t.firstInstall??!1)}}export class KochavaMeasurementDeeplink{constructor(t){null==t?(this.destination="",this.raw={}):(this.destination=t.destination??"",this.raw=t.raw??{})}}export class KochavaMeasurementInit{constructor(t){this.consentGdprApplies=t.consentGdprApplies}}export class KochavaMeasurementConfig{constructor(t){this.consentGdprApplies=null!=t&&(t.consentGdprApplies??!1)}}export class KochavaMeasurement{static instance=new KochavaMeasurement;_api=new KochavaMeasurementImpl;_startParameters={};executeAdvancedInstruction(t,e){this._api.executeAdvancedInstruction(t,e)}setLogLevel(t){this._api.setLogLevel(t)}setSleep(t){this._api.setSleep(t)}setAppLimitAdTracking(t){this._api.setAppLimitAdTracking(t)}registerCustomDeviceIdentifier(t,e){this._api.registerCustomDeviceIdentifier(t,e)}registerCustomStringValue(t,e){this._api.registerCustomStringValue(t,e)}registerCustomBoolValue(t,e){this._api.registerCustomBoolValue(t,e)}registerCustomNumberValue(t,e){this._api.registerCustomNumberValue(t,e)}registerIdentityLink(t,e){this._api.registerIdentityLink(t,e)}enableiOSAppClips(t){this._api.enableAppleAppClips(t)}enableAppleAppClips(t){this._api.enableAppleAppClips(t)}enableiOSAtt(){this.enableAppleAtt()}enableAppleAtt(){this._api.enableAppleAtt()}setiOSAttAuthorizationWaitTime(t){this.setAppleAttAuthorizationWaitTime(t)}setAppleAttAuthorizationWaitTime(t){this._api.setAppleAttAuthorizationWaitTime(t)}setiOSAttAuthorizationAutoRequest(t){this.setAppleAttAuthorizationAutoRequest(t)}setAppleAttAuthorizationAutoRequest(t){this._api.setAppleAttAuthorizationAutoRequest(t)}setAppleAttAuthorizationCustomPrompt(t){this._api.setAppleAttAuthorizationCustomPrompt(t)}appleAttAuthorizationCustomPromptDidComplete(){this._api.appleAttAuthorizationCustomPromptDidComplete()}registerPrivacyProfile(t,e){this._api.registerPrivacyProfile(t,e)}setPrivacyProfileEnabled(t,e){this._api.setPrivacyProfileEnabled(t,e)}setInitCompletedListener(t){null==t?this._api.setConfigCompletedListener(null):this._api.setConfigCompletedListener((e=>{t(new KochavaMeasurementInit(e))}))}setConfigCompletedListener(t){this._api.setConfigCompletedListener(t)}setIntelligentConsentGranted(t){this._api.setIntelligentConsentGranted(t)}getStarted(){return this._api.getStarted()}registerAndroidAppGuid(t){this._startParameters.androidAppGuid=t}registerIosAppGuid(t){this.registerAppleAppGuid(t)}registerAppleAppGuid(t){this._startParameters.appleAppGuid=t}registerVegaAppGuid(t){this._startParameters.vegaAppGuid=t}registerPartnerName(t){this._startParameters.partnerName=t}start(){this.executeAdvancedInstruction("wrapper",JSON.stringify({name:"ReactNative",version:"4.0.1",build_date:"2026-03-06T19:56:23Z"})),this._api.start(this._startParameters)}shutdown(t){this._startParameters={},this._api.shutdown(t)}retrieveInstallId(){return this._api.retrieveInstallId()}retrieveInstallAttribution(){return this._api.retrieveInstallAttribution()}processDeeplink(t){return this._api.processDeeplink(t)}processDeeplinkWithOverrideTimeout(t,e){return this._api.processDeeplinkWithOverrideTimeout(t,e)}registerDeeplinkWrapperDomain(t){this._api.registerDeeplinkWrapperDomain(t)}registerDefaultEventStringParameter(t,e){this._api.registerDefaultEventStringParameter(t,e)}registerDefaultEventBoolParameter(t,e){this._api.registerDefaultEventBoolParameter(t,e)}registerDefaultEventNumberParameter(t,e){this._api.registerDefaultEventNumberParameter(t,e)}registerDefaultEventUserId(t){this._api.registerDefaultEventUserId(t)}sendEvent(t){this._api.sendEvent(t)}sendEventWithString(t,e){this._api.sendEventWithString(t,e)}sendEventWithDictionary(t,e){this._api.sendEventWithDictionary(t,e)}sendEventWithEvent(t){this._api.sendEventWithEvent(t)}buildEventWithEventType(t){return new KochavaMeasurementEvent(t)}buildEventWithEventName(t){return new KochavaMeasurementEvent(t)}}
//# sourceMappingURL=/sm/704ded2f15798f4021579edd117a5b39da2a7bd2caa1c83ea5fcbeae2926fe37.map